Skip to content

DispatchJob

Defined in: packages/webhook/src/dispatcher/types.ts:40

attempts: number

Defined in: packages/webhook/src/dispatcher/types.ts:47


createdAt: Date

Defined in: packages/webhook/src/dispatcher/types.ts:45


endpoint: object

Defined in: packages/webhook/src/dispatcher/types.ts:43

active: boolean

createdAt: Date

optional description?: string

events: WebhookEventType[]

optional filters?: object

optional channelId?: string[]

optional providerId?: string[]

optional templateId?: string[]

optional headers?: Record<string, string>

id: string

optional lastTriggeredAt?: Date

optional name?: string

optional retryConfig?: object

backoffMultiplier: number

maxRetries: number

retryDelayMs: number

optional secret?: string

status: "error" | "active" | "inactive" | "suspended"

updatedAt: Date

url: string


event: WebhookEvent

Defined in: packages/webhook/src/dispatcher/types.ts:42


id: string

Defined in: packages/webhook/src/dispatcher/types.ts:41


maxAttempts: number

Defined in: packages/webhook/src/dispatcher/types.ts:48


optional nextRetryAt?: Date

Defined in: packages/webhook/src/dispatcher/types.ts:49


priority: number

Defined in: packages/webhook/src/dispatcher/types.ts:44


scheduledAt: Date

Defined in: packages/webhook/src/dispatcher/types.ts:46