Context for connector dispatch record operations.
Provides CRUD and query functions for durable outbound connector dispatch records used by the delivery, replay, and reconciliation flows.
Summary
Functions
Creates a new dispatch record.
Creates multiple dispatch records in a single transaction.
Finds connector-eligible events in a time window that are missing dispatches for the given connector type. Used by the reconciliation flow.
Finds connector-eligible built-in events and mapped custom events missing dispatches.
Gets a dispatch by connector type and connector event ID.
Gets a dispatch by ID.
Checks if a workspace+connector_type has credential errors.
Lists dispatches for a source event.
Lists dispatches for a workspace and connector type.
Lists pending/retryable dispatches for a connector type.
Updates a dispatch with delivery result metadata.
Functions
Creates a new dispatch record.
Creates multiple dispatch records in a single transaction.
Finds connector-eligible events in a time window that are missing dispatches for the given connector type. Used by the reconciliation flow.
Finds connector-eligible built-in events and mapped custom events missing dispatches.
Gets a dispatch by connector type and connector event ID.
Gets a dispatch by ID.
Checks if a workspace+connector_type has credential errors.
Lists dispatches for a source event.
Lists dispatches for a workspace and connector type.
Lists pending/retryable dispatches for a connector type.
Updates a dispatch with delivery result metadata.