콘텐츠로 이동

WebhookDeliveryListOptions

Defined in: packages/webhook/src/runtime/types.ts:11

optional before?: object

Defined in: packages/webhook/src/runtime/types.ts:22

Returns only deliveries that come after this one in the newest-first order: older, or equally old with a smaller id. Pass the last delivery of a page to read the next one.

createdAt: Date

id: string


optional endpointId?: string

Defined in: packages/webhook/src/runtime/types.ts:12


optional eventType?: MESSAGE_SENT | MESSAGE_DELIVERED | MESSAGE_FAILED | MESSAGE_CLICKED | MESSAGE_READ | MESSAGE_CANCELLED | MESSAGE_UNKNOWN | TEMPLATE_CREATED | TEMPLATE_APPROVED | TEMPLATE_REJECTED | TEMPLATE_UPDATED | TEMPLATE_DELETED | CHANNEL_CREATED | CHANNEL_VERIFIED | SENDER_NUMBER_ADDED | SENDER_NUMBER_VERIFIED | QUOTA_WARNING | QUOTA_EXCEEDED | PROVIDER_ERROR | SYSTEM_MAINTENANCE | ANOMALY_DETECTED | THRESHOLD_EXCEEDED

Defined in: packages/webhook/src/runtime/types.ts:13


optional limit?: number

Defined in: packages/webhook/src/runtime/types.ts:16

Caps the deliveries returned; the built-in stores return 100 when unset.


optional status?: "failed" | "success" | "pending" | "exhausted"

Defined in: packages/webhook/src/runtime/types.ts:14