@getlatedev/node 0.2.1251 → 0.2.1252

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
@@ -6524,9 +6524,13 @@ type ConversionEvent = {
6524
6524
  */
6525
6525
  ctwaClid?: string;
6526
6526
  /**
6527
- * Messenger and Instagram Direct. Facebook Page id, sent as `page_id`.
6527
+ * Messenger: Facebook Page id, sent as `page_id`. Instagram Direct: when `instagramBusinessAccountId` is absent, Zernio reads the Instagram professional account linked to this Page and sends its id as `instagram_business_account_id`; if none is linked or the lookup fails, `page_id` is sent instead.
6528
6528
  */
6529
6529
  pageId?: string;
6530
+ /**
6531
+ * Instagram Direct only. Instagram professional account id (`instagram_business_account` on the Page), sent as `instagram_business_account_id` next to `ig_sid`.
6532
+ */
6533
+ instagramBusinessAccountId?: string;
6530
6534
  /**
6531
6535
  * Messenger only. The page-scoped user id (PSID) your Messenger webhook gives for the person, sent as `page_scoped_user_id` next to `page_id`.
6532
6536
  */
@@ -51774,6 +51778,16 @@ type SendConversionsResponse = ({
51774
51778
  eventId?: string;
51775
51779
  message?: string;
51776
51780
  code?: (string | number);
51781
+ /**
51782
+ * Meta only. Meta's own error for the rejected chunk, with credentials
51783
+ * redacted: `message`, `type`, `code`, `error_subcode`, `error_user_title`,
51784
+ * `error_user_msg` and `fbtrace_id` when Meta sends them. `message` above
51785
+ * already ends with `error_user_msg`. Absent when Meta returned no error body.
51786
+ *
51787
+ */
51788
+ platformError?: {
51789
+ [key: string]: unknown;
51790
+ };
51777
51791
  }>;
51778
51792
  /**
51779
51793
  * Platform trace ID for debugging. fbtrace_id for Meta,
@@ -52711,6 +52725,16 @@ type SendWhatsAppConversionResponse = ({
52711
52725
  eventId?: string;
52712
52726
  message?: string;
52713
52727
  code?: (string | number);
52728
+ /**
52729
+ * Meta's own error for the rejected event, with credentials redacted:
52730
+ * `message`, `type`, `code`, `error_subcode`, `error_user_title`,
52731
+ * `error_user_msg` and `fbtrace_id` when Meta sends them. `message` above
52732
+ * already ends with `error_user_msg`. Absent when Meta returned no error body.
52733
+ *
52734
+ */
52735
+ platformError?: {
52736
+ [key: string]: unknown;
52737
+ };
52714
52738
  }>;
52715
52739
  /**
52716
52740
  * Meta `fbtrace_id` for debugging. Surface in support
package/dist/index.d.ts CHANGED
@@ -6524,9 +6524,13 @@ type ConversionEvent = {
6524
6524
  */
6525
6525
  ctwaClid?: string;
6526
6526
  /**
6527
- * Messenger and Instagram Direct. Facebook Page id, sent as `page_id`.
6527
+ * Messenger: Facebook Page id, sent as `page_id`. Instagram Direct: when `instagramBusinessAccountId` is absent, Zernio reads the Instagram professional account linked to this Page and sends its id as `instagram_business_account_id`; if none is linked or the lookup fails, `page_id` is sent instead.
6528
6528
  */
6529
6529
  pageId?: string;
6530
+ /**
6531
+ * Instagram Direct only. Instagram professional account id (`instagram_business_account` on the Page), sent as `instagram_business_account_id` next to `ig_sid`.
6532
+ */
6533
+ instagramBusinessAccountId?: string;
6530
6534
  /**
6531
6535
  * Messenger only. The page-scoped user id (PSID) your Messenger webhook gives for the person, sent as `page_scoped_user_id` next to `page_id`.
6532
6536
  */
@@ -51774,6 +51778,16 @@ type SendConversionsResponse = ({
51774
51778
  eventId?: string;
51775
51779
  message?: string;
51776
51780
  code?: (string | number);
51781
+ /**
51782
+ * Meta only. Meta's own error for the rejected chunk, with credentials
51783
+ * redacted: `message`, `type`, `code`, `error_subcode`, `error_user_title`,
51784
+ * `error_user_msg` and `fbtrace_id` when Meta sends them. `message` above
51785
+ * already ends with `error_user_msg`. Absent when Meta returned no error body.
51786
+ *
51787
+ */
51788
+ platformError?: {
51789
+ [key: string]: unknown;
51790
+ };
51777
51791
  }>;
51778
51792
  /**
51779
51793
  * Platform trace ID for debugging. fbtrace_id for Meta,
@@ -52711,6 +52725,16 @@ type SendWhatsAppConversionResponse = ({
52711
52725
  eventId?: string;
52712
52726
  message?: string;
52713
52727
  code?: (string | number);
52728
+ /**
52729
+ * Meta's own error for the rejected event, with credentials redacted:
52730
+ * `message`, `type`, `code`, `error_subcode`, `error_user_title`,
52731
+ * `error_user_msg` and `fbtrace_id` when Meta sends them. `message` above
52732
+ * already ends with `error_user_msg`. Absent when Meta returned no error body.
52733
+ *
52734
+ */
52735
+ platformError?: {
52736
+ [key: string]: unknown;
52737
+ };
52714
52738
  }>;
52715
52739
  /**
52716
52740
  * Meta `fbtrace_id` for debugging. Surface in support
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.1251",
39
+ version: "0.2.1252",
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.1251",
8
+ version: "0.2.1252",
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.1251",
3
+ "version": "0.2.1252",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4681,9 +4681,13 @@ export type ConversionEvent = {
4681
4681
  */
4682
4682
  ctwaClid?: string;
4683
4683
  /**
4684
- * Messenger and Instagram Direct. Facebook Page id, sent as `page_id`.
4684
+ * Messenger: Facebook Page id, sent as `page_id`. Instagram Direct: when `instagramBusinessAccountId` is absent, Zernio reads the Instagram professional account linked to this Page and sends its id as `instagram_business_account_id`; if none is linked or the lookup fails, `page_id` is sent instead.
4685
4685
  */
4686
4686
  pageId?: string;
4687
+ /**
4688
+ * Instagram Direct only. Instagram professional account id (`instagram_business_account` on the Page), sent as `instagram_business_account_id` next to `ig_sid`.
4689
+ */
4690
+ instagramBusinessAccountId?: string;
4687
4691
  /**
4688
4692
  * Messenger only. The page-scoped user id (PSID) your Messenger webhook gives for the person, sent as `page_scoped_user_id` next to `page_id`.
4689
4693
  */
@@ -52782,6 +52786,16 @@ export type SendConversionsResponse = ({
52782
52786
  eventId?: string;
52783
52787
  message?: string;
52784
52788
  code?: (string | number);
52789
+ /**
52790
+ * Meta only. Meta's own error for the rejected chunk, with credentials
52791
+ * redacted: `message`, `type`, `code`, `error_subcode`, `error_user_title`,
52792
+ * `error_user_msg` and `fbtrace_id` when Meta sends them. `message` above
52793
+ * already ends with `error_user_msg`. Absent when Meta returned no error body.
52794
+ *
52795
+ */
52796
+ platformError?: {
52797
+ [key: string]: unknown;
52798
+ };
52785
52799
  }>;
52786
52800
  /**
52787
52801
  * Platform trace ID for debugging. fbtrace_id for Meta,
@@ -53788,6 +53802,16 @@ export type SendWhatsAppConversionResponse = ({
53788
53802
  eventId?: string;
53789
53803
  message?: string;
53790
53804
  code?: (string | number);
53805
+ /**
53806
+ * Meta's own error for the rejected event, with credentials redacted:
53807
+ * `message`, `type`, `code`, `error_subcode`, `error_user_title`,
53808
+ * `error_user_msg` and `fbtrace_id` when Meta sends them. `message` above
53809
+ * already ends with `error_user_msg`. Absent when Meta returned no error body.
53810
+ *
53811
+ */
53812
+ platformError?: {
53813
+ [key: string]: unknown;
53814
+ };
53791
53815
  }>;
53792
53816
  /**
53793
53817
  * Meta `fbtrace_id` for debugging. Surface in support