@masters-union/outbound-sdk 0.2.12 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -458,14 +458,18 @@ type AnyIncomingWebhookPayload = IncomingWebhookPayload | IncomingWebhookPayload
458
458
  interface CreateWebhookParams {
459
459
  url: string;
460
460
  events: WebhookEvent[];
461
+ /** Seconds between retry attempts. Min 30, max 86400 (24 hours). Defaults to 300 (5 minutes). */
461
462
  retryInterval?: number;
463
+ /** Number of retry attempts on delivery failure. Between 0 and 10. Defaults to 3. */
462
464
  maxRetries?: number;
463
465
  }
464
466
  interface UpdateWebhookParams {
465
467
  url?: string;
466
468
  events?: WebhookEvent[];
467
469
  active?: boolean;
470
+ /** Seconds between retry attempts. Min 30, max 86400 (24 hours). */
468
471
  retryInterval?: number;
472
+ /** Number of retry attempts on delivery failure. Between 0 and 10. */
469
473
  maxRetries?: number;
470
474
  }
471
475
  interface Webhook {
package/dist/index.d.ts CHANGED
@@ -458,14 +458,18 @@ type AnyIncomingWebhookPayload = IncomingWebhookPayload | IncomingWebhookPayload
458
458
  interface CreateWebhookParams {
459
459
  url: string;
460
460
  events: WebhookEvent[];
461
+ /** Seconds between retry attempts. Min 30, max 86400 (24 hours). Defaults to 300 (5 minutes). */
461
462
  retryInterval?: number;
463
+ /** Number of retry attempts on delivery failure. Between 0 and 10. Defaults to 3. */
462
464
  maxRetries?: number;
463
465
  }
464
466
  interface UpdateWebhookParams {
465
467
  url?: string;
466
468
  events?: WebhookEvent[];
467
469
  active?: boolean;
470
+ /** Seconds between retry attempts. Min 30, max 86400 (24 hours). */
468
471
  retryInterval?: number;
472
+ /** Number of retry attempts on delivery failure. Between 0 and 10. */
469
473
  maxRetries?: number;
470
474
  }
471
475
  interface Webhook {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masters-union/outbound-sdk",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "Official Node.js SDK for the Outbound Email SaaS platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",