@zernio/node 0.2.769 → 0.2.771

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
@@ -10808,10 +10808,19 @@ type WebhookPayloadMessageDeliveryStatus = {
10808
10808
  code?: number;
10809
10809
  title?: string;
10810
10810
  message?: string;
10811
+ /**
10812
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
10813
+ */
10814
+ details?: string;
10815
+ /**
10816
+ * Link to the platform's documentation for `code`, when the platform sent one.
10817
+ */
10818
+ href?: string;
10811
10819
  /**
10812
10820
  * Plain-language translation of `code` (e.g. for 131026, that the
10813
10821
  * recipient has likely opted out of marketing messages while utility
10814
- * templates are unaffected). Null for unmapped codes; fall back to
10822
+ * templates are unaffected, or for 131031, that Meta restricted the
10823
+ * WhatsApp Business Account). Null for unmapped codes; fall back to
10815
10824
  * title/message.
10816
10825
  *
10817
10826
  */
@@ -22026,6 +22035,14 @@ type GetInboxConversationMessagesResponse = ({
22026
22035
  code?: number;
22027
22036
  title?: string;
22028
22037
  message?: string;
22038
+ /**
22039
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
22040
+ */
22041
+ details?: string;
22042
+ /**
22043
+ * Link to the platform's documentation for `code`, when the platform sent one.
22044
+ */
22045
+ href?: string;
22029
22046
  } | null;
22030
22047
  /**
22031
22048
  * Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
package/dist/index.d.ts CHANGED
@@ -10808,10 +10808,19 @@ type WebhookPayloadMessageDeliveryStatus = {
10808
10808
  code?: number;
10809
10809
  title?: string;
10810
10810
  message?: string;
10811
+ /**
10812
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
10813
+ */
10814
+ details?: string;
10815
+ /**
10816
+ * Link to the platform's documentation for `code`, when the platform sent one.
10817
+ */
10818
+ href?: string;
10811
10819
  /**
10812
10820
  * Plain-language translation of `code` (e.g. for 131026, that the
10813
10821
  * recipient has likely opted out of marketing messages while utility
10814
- * templates are unaffected). Null for unmapped codes; fall back to
10822
+ * templates are unaffected, or for 131031, that Meta restricted the
10823
+ * WhatsApp Business Account). Null for unmapped codes; fall back to
10815
10824
  * title/message.
10816
10825
  *
10817
10826
  */
@@ -22026,6 +22035,14 @@ type GetInboxConversationMessagesResponse = ({
22026
22035
  code?: number;
22027
22036
  title?: string;
22028
22037
  message?: string;
22038
+ /**
22039
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
22040
+ */
22041
+ details?: string;
22042
+ /**
22043
+ * Link to the platform's documentation for `code`, when the platform sent one.
22044
+ */
22045
+ href?: string;
22029
22046
  } | null;
22030
22047
  /**
22031
22048
  * Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.769",
39
+ version: "0.2.771",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.769",
8
+ version: "0.2.771",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.769",
3
+ "version": "0.2.771",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7062,7 +7062,7 @@ export const deleteWhatsAppGroupChat = <ThrowOnError extends boolean = false>(op
7062
7062
 
7063
7063
  /**
7064
7064
  * Add participants
7065
- * Add participants to a WhatsApp group. Maximum 8 participants per request.
7065
+ * Add participants to a WhatsApp group. Maximum 8 participants per request. A group holds at most 8 participants in total (a Meta limit), so later requests cannot grow a group past 8. Meta documents groups as invite-only, so people normally join through the group's invite link.
7066
7066
  *
7067
7067
  * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
7068
7068
  *
@@ -9584,10 +9584,19 @@ export type WebhookPayloadMessageDeliveryStatus = {
9584
9584
  code?: number;
9585
9585
  title?: string;
9586
9586
  message?: string;
9587
+ /**
9588
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
9589
+ */
9590
+ details?: string;
9591
+ /**
9592
+ * Link to the platform's documentation for `code`, when the platform sent one.
9593
+ */
9594
+ href?: string;
9587
9595
  /**
9588
9596
  * Plain-language translation of `code` (e.g. for 131026, that the
9589
9597
  * recipient has likely opted out of marketing messages while utility
9590
- * templates are unaffected). Null for unmapped codes; fall back to
9598
+ * templates are unaffected, or for 131031, that Meta restricted the
9599
+ * WhatsApp Business Account). Null for unmapped codes; fall back to
9591
9600
  * title/message.
9592
9601
  *
9593
9602
  */
@@ -21532,6 +21541,14 @@ export type GetInboxConversationMessagesResponse = ({
21532
21541
  code?: number;
21533
21542
  title?: string;
21534
21543
  message?: string;
21544
+ /**
21545
+ * Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
21546
+ */
21547
+ details?: string;
21548
+ /**
21549
+ * Link to the platform's documentation for `code`, when the platform sent one.
21550
+ */
21551
+ href?: string;
21535
21552
  } | null;
21536
21553
  /**
21537
21554
  * Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.