@getlatedev/node 0.2.583 → 0.2.585

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
@@ -17868,7 +17868,7 @@ type GetInboxConversationMessagesData = {
17868
17868
  */
17869
17869
  accountId: string;
17870
17870
  /**
17871
- * Opaque pagination cursor. Pass `pagination.nextCursor` from a prior response.
17871
+ * Opaque pagination cursor. Pass `pagination.nextCursor` from a prior response verbatim: a cursor we cannot parse returns 400 rather than silently restarting from the first page.
17872
17872
  */
17873
17873
  cursor?: string;
17874
17874
  /**
@@ -18009,7 +18009,7 @@ type GetInboxConversationMessagesResponse = ({
18009
18009
  }>;
18010
18010
  lastUpdated?: string;
18011
18011
  });
18012
- type GetInboxConversationMessagesError = ({
18012
+ type GetInboxConversationMessagesError = (ErrorResponse | {
18013
18013
  error?: string;
18014
18014
  } | unknown);
18015
18015
  type SendInboxMessageData = {
@@ -25698,7 +25698,7 @@ type ListBroadcastRecipientsError = (unknown | {
25698
25698
  type AddBroadcastRecipientsData = {
25699
25699
  body: {
25700
25700
  /**
25701
- * Specific contact IDs to add
25701
+ * Specific contact IDs to add. Zernio contact ids (24-character hex), as returned by the list-contacts endpoint. A platform identifier such as a WhatsApp wa_id is rejected with 400; use phones for raw numbers.
25702
25702
  */
25703
25703
  contactIds?: Array<(string)>;
25704
25704
  /**
package/dist/index.d.ts CHANGED
@@ -17868,7 +17868,7 @@ type GetInboxConversationMessagesData = {
17868
17868
  */
17869
17869
  accountId: string;
17870
17870
  /**
17871
- * Opaque pagination cursor. Pass `pagination.nextCursor` from a prior response.
17871
+ * Opaque pagination cursor. Pass `pagination.nextCursor` from a prior response verbatim: a cursor we cannot parse returns 400 rather than silently restarting from the first page.
17872
17872
  */
17873
17873
  cursor?: string;
17874
17874
  /**
@@ -18009,7 +18009,7 @@ type GetInboxConversationMessagesResponse = ({
18009
18009
  }>;
18010
18010
  lastUpdated?: string;
18011
18011
  });
18012
- type GetInboxConversationMessagesError = ({
18012
+ type GetInboxConversationMessagesError = (ErrorResponse | {
18013
18013
  error?: string;
18014
18014
  } | unknown);
18015
18015
  type SendInboxMessageData = {
@@ -25698,7 +25698,7 @@ type ListBroadcastRecipientsError = (unknown | {
25698
25698
  type AddBroadcastRecipientsData = {
25699
25699
  body: {
25700
25700
  /**
25701
- * Specific contact IDs to add
25701
+ * Specific contact IDs to add. Zernio contact ids (24-character hex), as returned by the list-contacts endpoint. A platform identifier such as a WhatsApp wa_id is rejected with 400; use phones for raw numbers.
25702
25702
  */
25703
25703
  contactIds?: Array<(string)>;
25704
25704
  /**
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: "@getlatedev/node",
39
- version: "0.2.583",
39
+ version: "0.2.585",
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: "@getlatedev/node",
8
- version: "0.2.583",
8
+ version: "0.2.585",
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": "@getlatedev/node",
3
- "version": "0.2.583",
3
+ "version": "0.2.585",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -17505,7 +17505,7 @@ export type GetInboxConversationMessagesData = {
17505
17505
  */
17506
17506
  accountId: string;
17507
17507
  /**
17508
- * Opaque pagination cursor. Pass `pagination.nextCursor` from a prior response.
17508
+ * Opaque pagination cursor. Pass `pagination.nextCursor` from a prior response verbatim: a cursor we cannot parse returns 400 rather than silently restarting from the first page.
17509
17509
  */
17510
17510
  cursor?: string;
17511
17511
  /**
@@ -17648,7 +17648,7 @@ export type GetInboxConversationMessagesResponse = ({
17648
17648
  lastUpdated?: string;
17649
17649
  });
17650
17650
 
17651
- export type GetInboxConversationMessagesError = ({
17651
+ export type GetInboxConversationMessagesError = (ErrorResponse | {
17652
17652
  error?: string;
17653
17653
  } | unknown);
17654
17654
 
@@ -25956,7 +25956,7 @@ export type ListBroadcastRecipientsError = (unknown | {
25956
25956
  export type AddBroadcastRecipientsData = {
25957
25957
  body: {
25958
25958
  /**
25959
- * Specific contact IDs to add
25959
+ * Specific contact IDs to add. Zernio contact ids (24-character hex), as returned by the list-contacts endpoint. A platform identifier such as a WhatsApp wa_id is rejected with 400; use phones for raw numbers.
25960
25960
  */
25961
25961
  contactIds?: Array<(string)>;
25962
25962
  /**