@getlatedev/node 0.2.401 → 0.2.403

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
@@ -4830,7 +4830,7 @@ type SocialAccount = {
4830
4830
  /**
4831
4831
  * Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
4832
4832
  * - qualityRating: Phone number quality rating from Meta (GREEN, YELLOW, RED, or UNKNOWN)
4833
- * - nameStatus: Display name review status (APPROVED, PENDING_REVIEW, DECLINED, or NONE). Messages cannot be sent until the display name is approved by Meta.
4833
+ * - nameStatus: Display name review status (APPROVED, PENDING_REVIEW, DECLINED, or NONE). A declined or pending display name does not by itself block sending; sendability is reported separately via health_status (can_send_message).
4834
4834
  * - messagingLimitTier: Maximum unique business-initiated conversations per 24h rolling window (TIER_250, TIER_1K, TIER_10K, TIER_100K, or TIER_UNLIMITED). Scales automatically as quality rating improves.
4835
4835
  * - verifiedName: Meta-verified business display name
4836
4836
  * - displayPhoneNumber: Formatted phone number (e.g., "+1 555-123-4567")
@@ -23248,7 +23248,7 @@ type ListAdsResponse = ({
23248
23248
  backfillPending?: boolean;
23249
23249
  pagination?: Pagination;
23250
23250
  } | unknown);
23251
- type ListAdsError = ({
23251
+ type ListAdsError = (ErrorResponse | {
23252
23252
  error?: string;
23253
23253
  } | unknown);
23254
23254
  type ListAdCampaignsData = {
@@ -26828,7 +26828,7 @@ type ListAdCatalogsResponse = ({
26828
26828
  productCount?: number;
26829
26829
  }>;
26830
26830
  });
26831
- type ListAdCatalogsError = ({
26831
+ type ListAdCatalogsError = (ErrorResponse | {
26832
26832
  error?: string;
26833
26833
  } | unknown);
26834
26834
  type ListAdCatalogProductSetsData = {
@@ -26852,7 +26852,7 @@ type ListAdCatalogProductSetsResponse = ({
26852
26852
  productCount?: number;
26853
26853
  }>;
26854
26854
  });
26855
- type ListAdCatalogProductSetsError = ({
26855
+ type ListAdCatalogProductSetsError = (ErrorResponse | {
26856
26856
  error?: string;
26857
26857
  } | unknown);
26858
26858
  type ListAdAudiencesData = {
@@ -27138,7 +27138,7 @@ type GetConversionsQualityResponse = ({
27138
27138
  eventCoveragePercentage?: number;
27139
27139
  }>;
27140
27140
  });
27141
- type GetConversionsQualityError = ({
27141
+ type GetConversionsQualityError = (ErrorResponse | {
27142
27142
  error?: string;
27143
27143
  } | unknown);
27144
27144
  type SendConversionsData = {
package/dist/index.d.ts CHANGED
@@ -4830,7 +4830,7 @@ type SocialAccount = {
4830
4830
  /**
4831
4831
  * Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
4832
4832
  * - qualityRating: Phone number quality rating from Meta (GREEN, YELLOW, RED, or UNKNOWN)
4833
- * - nameStatus: Display name review status (APPROVED, PENDING_REVIEW, DECLINED, or NONE). Messages cannot be sent until the display name is approved by Meta.
4833
+ * - nameStatus: Display name review status (APPROVED, PENDING_REVIEW, DECLINED, or NONE). A declined or pending display name does not by itself block sending; sendability is reported separately via health_status (can_send_message).
4834
4834
  * - messagingLimitTier: Maximum unique business-initiated conversations per 24h rolling window (TIER_250, TIER_1K, TIER_10K, TIER_100K, or TIER_UNLIMITED). Scales automatically as quality rating improves.
4835
4835
  * - verifiedName: Meta-verified business display name
4836
4836
  * - displayPhoneNumber: Formatted phone number (e.g., "+1 555-123-4567")
@@ -23248,7 +23248,7 @@ type ListAdsResponse = ({
23248
23248
  backfillPending?: boolean;
23249
23249
  pagination?: Pagination;
23250
23250
  } | unknown);
23251
- type ListAdsError = ({
23251
+ type ListAdsError = (ErrorResponse | {
23252
23252
  error?: string;
23253
23253
  } | unknown);
23254
23254
  type ListAdCampaignsData = {
@@ -26828,7 +26828,7 @@ type ListAdCatalogsResponse = ({
26828
26828
  productCount?: number;
26829
26829
  }>;
26830
26830
  });
26831
- type ListAdCatalogsError = ({
26831
+ type ListAdCatalogsError = (ErrorResponse | {
26832
26832
  error?: string;
26833
26833
  } | unknown);
26834
26834
  type ListAdCatalogProductSetsData = {
@@ -26852,7 +26852,7 @@ type ListAdCatalogProductSetsResponse = ({
26852
26852
  productCount?: number;
26853
26853
  }>;
26854
26854
  });
26855
- type ListAdCatalogProductSetsError = ({
26855
+ type ListAdCatalogProductSetsError = (ErrorResponse | {
26856
26856
  error?: string;
26857
26857
  } | unknown);
26858
26858
  type ListAdAudiencesData = {
@@ -27138,7 +27138,7 @@ type GetConversionsQualityResponse = ({
27138
27138
  eventCoveragePercentage?: number;
27139
27139
  }>;
27140
27140
  });
27141
- type GetConversionsQualityError = ({
27141
+ type GetConversionsQualityError = (ErrorResponse | {
27142
27142
  error?: string;
27143
27143
  } | unknown);
27144
27144
  type SendConversionsData = {
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.401",
39
+ version: "0.2.403",
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.401",
8
+ version: "0.2.403",
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.401",
3
+ "version": "0.2.403",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4064,7 +4064,7 @@ export type SocialAccount = {
4064
4064
  /**
4065
4065
  * Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
4066
4066
  * - qualityRating: Phone number quality rating from Meta (GREEN, YELLOW, RED, or UNKNOWN)
4067
- * - nameStatus: Display name review status (APPROVED, PENDING_REVIEW, DECLINED, or NONE). Messages cannot be sent until the display name is approved by Meta.
4067
+ * - nameStatus: Display name review status (APPROVED, PENDING_REVIEW, DECLINED, or NONE). A declined or pending display name does not by itself block sending; sendability is reported separately via health_status (can_send_message).
4068
4068
  * - messagingLimitTier: Maximum unique business-initiated conversations per 24h rolling window (TIER_250, TIER_1K, TIER_10K, TIER_100K, or TIER_UNLIMITED). Scales automatically as quality rating improves.
4069
4069
  * - verifiedName: Meta-verified business display name
4070
4070
  * - displayPhoneNumber: Formatted phone number (e.g., "+1 555-123-4567")
@@ -23830,7 +23830,7 @@ export type ListAdsResponse = ({
23830
23830
  pagination?: Pagination;
23831
23831
  } | unknown);
23832
23832
 
23833
- export type ListAdsError = ({
23833
+ export type ListAdsError = (ErrorResponse | {
23834
23834
  error?: string;
23835
23835
  } | unknown);
23836
23836
 
@@ -27605,7 +27605,7 @@ export type ListAdCatalogsResponse = ({
27605
27605
  }>;
27606
27606
  });
27607
27607
 
27608
- export type ListAdCatalogsError = ({
27608
+ export type ListAdCatalogsError = (ErrorResponse | {
27609
27609
  error?: string;
27610
27610
  } | unknown);
27611
27611
 
@@ -27632,7 +27632,7 @@ export type ListAdCatalogProductSetsResponse = ({
27632
27632
  }>;
27633
27633
  });
27634
27634
 
27635
- export type ListAdCatalogProductSetsError = ({
27635
+ export type ListAdCatalogProductSetsError = (ErrorResponse | {
27636
27636
  error?: string;
27637
27637
  } | unknown);
27638
27638
 
@@ -27939,7 +27939,7 @@ export type GetConversionsQualityResponse = ({
27939
27939
  }>;
27940
27940
  });
27941
27941
 
27942
- export type GetConversionsQualityError = ({
27942
+ export type GetConversionsQualityError = (ErrorResponse | {
27943
27943
  error?: string;
27944
27944
  } | unknown);
27945
27945