parseur.event

Classes

ParseurEvent

Enumeration of supported Parseur webhook event types.

Module Contents

class parseur.event.ParseurEvent[source]

Bases: str, enum.Enum

Enumeration of supported Parseur webhook event types.

Use these values when registering webhooks to specify which event to listen for.

Members:

  • DOCUMENT_PROCESSED: Document processed successfully.

  • DOCUMENT_PROCESSED_FLATTENED: Document processed as flat data.

  • DOCUMENT_TEMPLATE_NEEDED: Document processing failed (template needed).

  • DOCUMENT_EXPORT_FAILED: Export of the document failed.

  • TABLE_PROCESSED: A table field row was processed.

  • TABLE_PROCESSED_FLATTENED: A table field row (flattened) was processed.

DOCUMENT_PROCESSED = 'document.processed'[source]
DOCUMENT_PROCESSED_FLATTENED = 'document.processed.flattened'[source]
DOCUMENT_TEMPLATE_NEEDED = 'document.template_needed'[source]
DOCUMENT_EXPORT_FAILED = 'document.export_failed'[source]
TABLE_PROCESSED = 'table.processed'[source]
TABLE_PROCESSED_FLATTENED = 'table.processed.flattened'[source]
is_table_event() bool[source]