@sendly/node 3.27.0 → 3.27.2

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
@@ -608,21 +608,29 @@ interface BatchMessageRequest {
608
608
  */
609
609
  interface BatchMessageResult {
610
610
  /**
611
- * Message ID (if successful)
611
+ * Message ID
612
612
  */
613
- id?: string;
613
+ id: string;
614
614
  /**
615
615
  * Destination phone number
616
616
  */
617
617
  to: string;
618
618
  /**
619
- * Status of this message
619
+ * Current message status
620
620
  */
621
- status: "queued" | "failed";
621
+ status: string;
622
622
  /**
623
623
  * Error message (if failed)
624
624
  */
625
- error?: string;
625
+ error?: string | null;
626
+ /**
627
+ * When the message was created
628
+ */
629
+ createdAt?: string;
630
+ /**
631
+ * When the message was delivered (if applicable)
632
+ */
633
+ deliveredAt?: string | null;
626
634
  }
627
635
  /**
628
636
  * Batch status values
package/dist/index.d.ts CHANGED
@@ -608,21 +608,29 @@ interface BatchMessageRequest {
608
608
  */
609
609
  interface BatchMessageResult {
610
610
  /**
611
- * Message ID (if successful)
611
+ * Message ID
612
612
  */
613
- id?: string;
613
+ id: string;
614
614
  /**
615
615
  * Destination phone number
616
616
  */
617
617
  to: string;
618
618
  /**
619
- * Status of this message
619
+ * Current message status
620
620
  */
621
- status: "queued" | "failed";
621
+ status: string;
622
622
  /**
623
623
  * Error message (if failed)
624
624
  */
625
- error?: string;
625
+ error?: string | null;
626
+ /**
627
+ * When the message was created
628
+ */
629
+ createdAt?: string;
630
+ /**
631
+ * When the message was delivered (if applicable)
632
+ */
633
+ deliveredAt?: string | null;
626
634
  }
627
635
  /**
628
636
  * Batch status values
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendly/node",
3
- "version": "3.27.0",
3
+ "version": "3.27.2",
4
4
  "description": "Official Sendly Node.js SDK for SMS messaging",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -27,10 +27,20 @@
27
27
  "keywords": [
28
28
  "sendly",
29
29
  "sms",
30
+ "sms-api",
30
31
  "messaging",
31
- "api",
32
- "text",
33
- "notifications"
32
+ "text-message",
33
+ "notifications",
34
+ "otp",
35
+ "phone-verification",
36
+ "bulk-sms",
37
+ "sms-gateway",
38
+ "twilio-alternative",
39
+ "mms",
40
+ "campaigns",
41
+ "webhooks",
42
+ "typescript",
43
+ "nodejs"
34
44
  ],
35
45
  "author": "Sendly <support@sendly.live>",
36
46
  "license": "MIT",