@zernio/node 0.2.582 → 0.2.584

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 = {
@@ -25665,7 +25665,7 @@ type ListBroadcastRecipientsResponse = ({
25665
25665
  contactId?: string;
25666
25666
  channelId?: string;
25667
25667
  platformIdentifier?: string;
25668
- contactName?: string;
25668
+ contactName?: (string) | null;
25669
25669
  status?: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
25670
25670
  messageId?: string;
25671
25671
  error?: string;
@@ -26394,10 +26394,10 @@ type ListSequenceEnrollmentsResponse = ({
26394
26394
  contactName?: string;
26395
26395
  currentStepIndex?: number;
26396
26396
  status?: 'active' | 'completed' | 'exited' | 'paused';
26397
- exitReason?: string;
26398
- nextStepAt?: string;
26397
+ exitReason?: (string) | null;
26398
+ nextStepAt?: (string) | null;
26399
26399
  stepsSent?: number;
26400
- lastStepSentAt?: string;
26400
+ lastStepSentAt?: (string) | null;
26401
26401
  createdAt?: string;
26402
26402
  }>;
26403
26403
  pagination?: {
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 = {
@@ -25665,7 +25665,7 @@ type ListBroadcastRecipientsResponse = ({
25665
25665
  contactId?: string;
25666
25666
  channelId?: string;
25667
25667
  platformIdentifier?: string;
25668
- contactName?: string;
25668
+ contactName?: (string) | null;
25669
25669
  status?: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
25670
25670
  messageId?: string;
25671
25671
  error?: string;
@@ -26394,10 +26394,10 @@ type ListSequenceEnrollmentsResponse = ({
26394
26394
  contactName?: string;
26395
26395
  currentStepIndex?: number;
26396
26396
  status?: 'active' | 'completed' | 'exited' | 'paused';
26397
- exitReason?: string;
26398
- nextStepAt?: string;
26397
+ exitReason?: (string) | null;
26398
+ nextStepAt?: (string) | null;
26399
26399
  stepsSent?: number;
26400
- lastStepSentAt?: string;
26400
+ lastStepSentAt?: (string) | null;
26401
26401
  createdAt?: string;
26402
26402
  }>;
26403
26403
  pagination?: {
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.582",
39
+ version: "0.2.584",
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.582",
8
+ version: "0.2.584",
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.582",
3
+ "version": "0.2.584",
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
 
@@ -25921,7 +25921,7 @@ export type ListBroadcastRecipientsResponse = ({
25921
25921
  contactId?: string;
25922
25922
  channelId?: string;
25923
25923
  platformIdentifier?: string;
25924
- contactName?: string;
25924
+ contactName?: (string) | null;
25925
25925
  status?: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
25926
25926
  messageId?: string;
25927
25927
  error?: string;
@@ -26725,10 +26725,10 @@ export type ListSequenceEnrollmentsResponse = ({
26725
26725
  contactName?: string;
26726
26726
  currentStepIndex?: number;
26727
26727
  status?: 'active' | 'completed' | 'exited' | 'paused';
26728
- exitReason?: string;
26729
- nextStepAt?: string;
26728
+ exitReason?: (string) | null;
26729
+ nextStepAt?: (string) | null;
26730
26730
  stepsSent?: number;
26731
- lastStepSentAt?: string;
26731
+ lastStepSentAt?: (string) | null;
26732
26732
  createdAt?: string;
26733
26733
  }>;
26734
26734
  pagination?: {