@sendly/node 3.21.0 → 3.21.1

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
@@ -675,7 +675,7 @@ declare const ALL_SUPPORTED_COUNTRIES: string[];
675
675
  /**
676
676
  * Webhook event types
677
677
  */
678
- type WebhookEventType = "message.sent" | "message.delivered" | "message.failed" | "message.bounced" | "message.retrying" | "message.queued";
678
+ type WebhookEventType = "message.sent" | "message.delivered" | "message.failed" | "message.bounced" | "message.retrying" | "message.queued" | "message.received" | "message.opt_out" | "message.opt_in" | "verification.created" | "verification.delivered" | "verification.verified" | "verification.expired" | "verification.failed" | "verification.resent" | "verification.delivery_failed";
679
679
  /**
680
680
  * Webhook mode - filters which events are delivered
681
681
  * - "all": Receives all events (sandbox + production)
@@ -3947,6 +3947,8 @@ interface WebhookMessageObject {
3947
3947
  error?: string;
3948
3948
  /** Custom metadata attached to the message */
3949
3949
  metadata?: Record<string, unknown>;
3950
+ organization_id?: string | null;
3951
+ retry_count?: number;
3950
3952
  }
3951
3953
  /**
3952
3954
  * Webhook event payload from Sendly
package/dist/index.d.ts CHANGED
@@ -675,7 +675,7 @@ declare const ALL_SUPPORTED_COUNTRIES: string[];
675
675
  /**
676
676
  * Webhook event types
677
677
  */
678
- type WebhookEventType = "message.sent" | "message.delivered" | "message.failed" | "message.bounced" | "message.retrying" | "message.queued";
678
+ type WebhookEventType = "message.sent" | "message.delivered" | "message.failed" | "message.bounced" | "message.retrying" | "message.queued" | "message.received" | "message.opt_out" | "message.opt_in" | "verification.created" | "verification.delivered" | "verification.verified" | "verification.expired" | "verification.failed" | "verification.resent" | "verification.delivery_failed";
679
679
  /**
680
680
  * Webhook mode - filters which events are delivered
681
681
  * - "all": Receives all events (sandbox + production)
@@ -3947,6 +3947,8 @@ interface WebhookMessageObject {
3947
3947
  error?: string;
3948
3948
  /** Custom metadata attached to the message */
3949
3949
  metadata?: Record<string, unknown>;
3950
+ organization_id?: string | null;
3951
+ retry_count?: number;
3950
3952
  }
3951
3953
  /**
3952
3954
  * Webhook event payload from Sendly
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendly/node",
3
- "version": "3.21.0",
3
+ "version": "3.21.1",
4
4
  "description": "Official Sendly Node.js SDK for SMS messaging",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",