Detects document type using consistent logic across the extension. Works with SDK model instances that have a 'type' property.
The document to analyze (SDK model instance)
Document type information with boolean flags and type string
Detects document type using consistent logic across the extension. Works with SDK model instances that have a 'type' property.