WebhookDelivery
Defined in: packages/webhook/src/types/webhook.types.ts:105
Properties
Section titled “Properties”attempts
Section titled “attempts”attempts:
WebhookAttempt[]
Defined in: packages/webhook/src/types/webhook.types.ts:118
completedAt?
Section titled “completedAt?”
optionalcompletedAt:Date
Defined in: packages/webhook/src/types/webhook.types.ts:121
createdAt
Section titled “createdAt”createdAt:
Date
Defined in: packages/webhook/src/types/webhook.types.ts:120
endpointId
Section titled “endpointId”endpointId:
string
Defined in: packages/webhook/src/types/webhook.types.ts:107
eventId
Section titled “eventId”eventId:
string
Defined in: packages/webhook/src/types/webhook.types.ts:108
eventType?
Section titled “eventType?”
optionaleventType:WebhookEventType
Defined in: packages/webhook/src/types/webhook.types.ts:113
Optional event type for filtering/stats.
(Helpful because payload is a JSON string and timestamps need revival when parsed.)
headers
Section titled “headers”headers:
Record<string,string>
Defined in: packages/webhook/src/types/webhook.types.ts:116
httpMethod
Section titled “httpMethod”httpMethod:
"POST"|"PUT"|"PATCH"
Defined in: packages/webhook/src/types/webhook.types.ts:115
id:
string
Defined in: packages/webhook/src/types/webhook.types.ts:106
nextRetryAt?
Section titled “nextRetryAt?”
optionalnextRetryAt:Date
Defined in: packages/webhook/src/types/webhook.types.ts:122
payload
Section titled “payload”payload:
string
Defined in: packages/webhook/src/types/webhook.types.ts:117
status
Section titled “status”status:
"failed"|"success"|"pending"|"exhausted"
Defined in: packages/webhook/src/types/webhook.types.ts:119
url:
string
Defined in: packages/webhook/src/types/webhook.types.ts:114