Documentation / @tenancy-node/transport-webhook / WebhooksOptions
Interface: WebhooksOptions
Defined in: transport-webhook/src/webhooks.ts:18
Properties
allowPrivateNetworks?
optionalallowPrivateNetworks?:boolean
Defined in: transport-webhook/src/webhooks.ts:28
Solo para desarrollo y tests: permitir destinos en redes internas. Por defecto false (protección SSRF).
batchSize?
optionalbatchSize?:number
Defined in: transport-webhook/src/webhooks.ts:30
Entregas por lote. Por defecto 50.
circuitCooldownMs?
optionalcircuitCooldownMs?:number
Defined in: transport-webhook/src/webhooks.ts:24
Pausa del endpoint con el circuito abierto. Por defecto 10 min.
circuitThreshold?
optionalcircuitThreshold?:number
Defined in: transport-webhook/src/webhooks.ts:22
Fallos seguidos que abren el circuito de un endpoint. Por defecto 5.
forward?
optionalforward?:string
Defined in: transport-webhook/src/webhooks.ts:33
Eventos que se reenvían a los webhooks. Por defecto todos (*).
pollIntervalMs?
optionalpollIntervalMs?:number
Defined in: transport-webhook/src/webhooks.ts:31
retrySchedule?
optionalretrySchedule?: readonlynumber[]
Defined in: transport-webhook/src/webhooks.ts:20
Esperas entre reintentos. Por defecto 1 min, 5 min, 30 min, 2 h, 12 h (6 intentos en total).
timeoutMs?
optionaltimeoutMs?:number
Defined in: transport-webhook/src/webhooks.ts:26
Tiempo máximo de cada petición. Por defecto 10 s.