@getlatedev/node 0.2.1766 → 0.2.1768

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
@@ -40006,11 +40006,15 @@ type GetAccountHealthResponse = ({
40006
40006
  */
40007
40007
  canSendMessage?: (string) | null;
40008
40008
  /**
40009
- * The health_status entities that are not `AVAILABLE`, one item per Meta error, with calling-only signals (138024, 138025) removed. `null` when the read failed.
40009
+ * The reasons on health_status entities that are not `AVAILABLE`. `null` when the read failed.
40010
+ *
40011
+ * - One item per Meta error, with calling-only signals (138024, 138025) removed.
40012
+ * - A `LIMITED` entity also gets one item per line of its `additional_info`, where Meta writes most reasons for a limit (for example a quality warning). These have `code` null.
40013
+ *
40010
40014
  */
40011
40015
  messagingBlockers?: Array<{
40012
40016
  /**
40013
- * Meta entity the error is on (for example WABA, BUSINESS)
40017
+ * Meta entity the reason is on (for example PHONE_NUMBER, WABA, BUSINESS)
40014
40018
  */
40015
40019
  entityType?: (string) | null;
40016
40020
  /**
@@ -40018,11 +40022,11 @@ type GetAccountHealthResponse = ({
40018
40022
  */
40019
40023
  canSendMessage?: string;
40020
40024
  /**
40021
- * Meta error code
40025
+ * Meta error code. `null` for an `additional_info` line.
40022
40026
  */
40023
40027
  code?: (number) | null;
40024
40028
  /**
40025
- * Meta's error description
40029
+ * Meta's error description, or the `additional_info` line as Meta wrote it
40026
40030
  */
40027
40031
  description?: string;
40028
40032
  /**
@@ -63818,7 +63822,7 @@ type CreateWorkflowData = {
63818
63822
  body: {
63819
63823
  profileId: string;
63820
63824
  accountId: string;
63821
- platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat';
63825
+ platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat' | 'sms' | 'rcs' | 'imessage';
63822
63826
  name: string;
63823
63827
  description?: string;
63824
63828
  nodes?: Array<WorkflowNode>;
@@ -64264,7 +64268,7 @@ type CreateSequenceData = {
64264
64268
  body: {
64265
64269
  profileId: string;
64266
64270
  accountId: string;
64267
- platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'imessage' | 'line' | 'wechat';
64271
+ platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'sms' | 'rcs' | 'imessage' | 'line' | 'wechat';
64268
64272
  name: string;
64269
64273
  description?: string;
64270
64274
  steps?: Array<{
package/dist/index.d.ts CHANGED
@@ -40006,11 +40006,15 @@ type GetAccountHealthResponse = ({
40006
40006
  */
40007
40007
  canSendMessage?: (string) | null;
40008
40008
  /**
40009
- * The health_status entities that are not `AVAILABLE`, one item per Meta error, with calling-only signals (138024, 138025) removed. `null` when the read failed.
40009
+ * The reasons on health_status entities that are not `AVAILABLE`. `null` when the read failed.
40010
+ *
40011
+ * - One item per Meta error, with calling-only signals (138024, 138025) removed.
40012
+ * - A `LIMITED` entity also gets one item per line of its `additional_info`, where Meta writes most reasons for a limit (for example a quality warning). These have `code` null.
40013
+ *
40010
40014
  */
40011
40015
  messagingBlockers?: Array<{
40012
40016
  /**
40013
- * Meta entity the error is on (for example WABA, BUSINESS)
40017
+ * Meta entity the reason is on (for example PHONE_NUMBER, WABA, BUSINESS)
40014
40018
  */
40015
40019
  entityType?: (string) | null;
40016
40020
  /**
@@ -40018,11 +40022,11 @@ type GetAccountHealthResponse = ({
40018
40022
  */
40019
40023
  canSendMessage?: string;
40020
40024
  /**
40021
- * Meta error code
40025
+ * Meta error code. `null` for an `additional_info` line.
40022
40026
  */
40023
40027
  code?: (number) | null;
40024
40028
  /**
40025
- * Meta's error description
40029
+ * Meta's error description, or the `additional_info` line as Meta wrote it
40026
40030
  */
40027
40031
  description?: string;
40028
40032
  /**
@@ -63818,7 +63822,7 @@ type CreateWorkflowData = {
63818
63822
  body: {
63819
63823
  profileId: string;
63820
63824
  accountId: string;
63821
- platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat';
63825
+ platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat' | 'sms' | 'rcs' | 'imessage';
63822
63826
  name: string;
63823
63827
  description?: string;
63824
63828
  nodes?: Array<WorkflowNode>;
@@ -64264,7 +64268,7 @@ type CreateSequenceData = {
64264
64268
  body: {
64265
64269
  profileId: string;
64266
64270
  accountId: string;
64267
- platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'imessage' | 'line' | 'wechat';
64271
+ platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'sms' | 'rcs' | 'imessage' | 'line' | 'wechat';
64268
64272
  name: string;
64269
64273
  description?: string;
64270
64274
  steps?: Array<{
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.1766",
39
+ version: "0.2.1768",
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.1766",
8
+ version: "0.2.1768",
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.1766",
3
+ "version": "0.2.1768",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -39183,11 +39183,15 @@ export type GetAccountHealthResponse = ({
39183
39183
  */
39184
39184
  canSendMessage?: (string) | null;
39185
39185
  /**
39186
- * The health_status entities that are not `AVAILABLE`, one item per Meta error, with calling-only signals (138024, 138025) removed. `null` when the read failed.
39186
+ * The reasons on health_status entities that are not `AVAILABLE`. `null` when the read failed.
39187
+ *
39188
+ * - One item per Meta error, with calling-only signals (138024, 138025) removed.
39189
+ * - A `LIMITED` entity also gets one item per line of its `additional_info`, where Meta writes most reasons for a limit (for example a quality warning). These have `code` null.
39190
+ *
39187
39191
  */
39188
39192
  messagingBlockers?: Array<{
39189
39193
  /**
39190
- * Meta entity the error is on (for example WABA, BUSINESS)
39194
+ * Meta entity the reason is on (for example PHONE_NUMBER, WABA, BUSINESS)
39191
39195
  */
39192
39196
  entityType?: (string) | null;
39193
39197
  /**
@@ -39195,11 +39199,11 @@ export type GetAccountHealthResponse = ({
39195
39199
  */
39196
39200
  canSendMessage?: string;
39197
39201
  /**
39198
- * Meta error code
39202
+ * Meta error code. `null` for an `additional_info` line.
39199
39203
  */
39200
39204
  code?: (number) | null;
39201
39205
  /**
39202
- * Meta's error description
39206
+ * Meta's error description, or the `additional_info` line as Meta wrote it
39203
39207
  */
39204
39208
  description?: string;
39205
39209
  /**
@@ -64851,7 +64855,7 @@ export type CreateWorkflowData = {
64851
64855
  body: {
64852
64856
  profileId: string;
64853
64857
  accountId: string;
64854
- platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat';
64858
+ platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok' | 'line' | 'wechat' | 'sms' | 'rcs' | 'imessage';
64855
64859
  name: string;
64856
64860
  description?: string;
64857
64861
  nodes?: Array<WorkflowNode>;
@@ -65345,7 +65349,7 @@ export type CreateSequenceData = {
65345
65349
  body: {
65346
65350
  profileId: string;
65347
65351
  accountId: string;
65348
- platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'imessage' | 'line' | 'wechat';
65352
+ platform: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack' | 'sms' | 'rcs' | 'imessage' | 'line' | 'wechat';
65349
65353
  name: string;
65350
65354
  description?: string;
65351
65355
  steps?: Array<{