Skip to content

Documentation / @tenancy-node/transport-webhook / WebhooksOptions

Interface: WebhooksOptions ​

Defined in: transport-webhook/src/webhooks.ts:18

Properties ​

allowPrivateNetworks? ​

optional allowPrivateNetworks?: 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? ​

optional batchSize?: number

Defined in: transport-webhook/src/webhooks.ts:30

Entregas por lote. Por defecto 50.


circuitCooldownMs? ​

optional circuitCooldownMs?: number

Defined in: transport-webhook/src/webhooks.ts:24

Pausa del endpoint con el circuito abierto. Por defecto 10 min.


circuitThreshold? ​

optional circuitThreshold?: number

Defined in: transport-webhook/src/webhooks.ts:22

Fallos seguidos que abren el circuito de un endpoint. Por defecto 5.


forward? ​

optional forward?: string

Defined in: transport-webhook/src/webhooks.ts:33

Eventos que se reenvían a los webhooks. Por defecto todos (*).


pollIntervalMs? ​

optional pollIntervalMs?: number

Defined in: transport-webhook/src/webhooks.ts:31


retrySchedule? ​

optional retrySchedule?: readonly number[]

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? ​

optional timeoutMs?: number

Defined in: transport-webhook/src/webhooks.ts:26

Tiempo máximo de cada petición. Por defecto 10 s.

Publicado bajo la licencia MIT.