@getlatedev/node 0.2.307 → 0.2.308

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
@@ -2574,6 +2574,10 @@ type InboxWebhookAccount = {
2574
2574
  * Social account ID
2575
2575
  */
2576
2576
  id: string;
2577
+ /**
2578
+ * Social account ID (same value as id). Canonical field so consumers can filter every webhook event on one field (e.g. route staging vs production by account). id is kept for backward compatibility.
2579
+ */
2580
+ accountId?: string;
2577
2581
  platform: string;
2578
2582
  username: string;
2579
2583
  displayName?: string;
@@ -5040,6 +5044,10 @@ type WebhookPayloadComment = {
5040
5044
  * Social account ID
5041
5045
  */
5042
5046
  id: string;
5047
+ /**
5048
+ * Social account ID (same as id); canonical field for account filtering.
5049
+ */
5050
+ accountId?: string;
5043
5051
  platform: string;
5044
5052
  username: string;
5045
5053
  };
@@ -5115,6 +5123,10 @@ type WebhookPayloadExternalPost = {
5115
5123
  post: ExternalPostWebhookPost;
5116
5124
  account: {
5117
5125
  id: string;
5126
+ /**
5127
+ * Social account ID (same as id); canonical field for account filtering.
5128
+ */
5129
+ accountId?: string;
5118
5130
  platform: string;
5119
5131
  username: string;
5120
5132
  };
@@ -5174,6 +5186,10 @@ type WebhookPayloadLead = {
5174
5186
  * Social account ID (the facebook account owning the Page)
5175
5187
  */
5176
5188
  id: string;
5189
+ /**
5190
+ * Social account ID (same as id); canonical field for account filtering.
5191
+ */
5192
+ accountId?: string;
5177
5193
  platform: 'facebook';
5178
5194
  };
5179
5195
  timestamp: string;
@@ -5794,6 +5810,10 @@ type WebhookPayloadReviewNew = {
5794
5810
  review: ReviewWebhookReview;
5795
5811
  account: {
5796
5812
  id: string;
5813
+ /**
5814
+ * Social account ID (same as id); canonical field for account filtering.
5815
+ */
5816
+ accountId?: string;
5797
5817
  platform: string;
5798
5818
  username: string;
5799
5819
  };
@@ -5816,6 +5836,10 @@ type WebhookPayloadReviewUpdated = {
5816
5836
  review: ReviewWebhookReview;
5817
5837
  account: {
5818
5838
  id: string;
5839
+ /**
5840
+ * Social account ID (same as id); canonical field for account filtering.
5841
+ */
5842
+ accountId?: string;
5819
5843
  platform: string;
5820
5844
  username: string;
5821
5845
  };
package/dist/index.d.ts CHANGED
@@ -2574,6 +2574,10 @@ type InboxWebhookAccount = {
2574
2574
  * Social account ID
2575
2575
  */
2576
2576
  id: string;
2577
+ /**
2578
+ * Social account ID (same value as id). Canonical field so consumers can filter every webhook event on one field (e.g. route staging vs production by account). id is kept for backward compatibility.
2579
+ */
2580
+ accountId?: string;
2577
2581
  platform: string;
2578
2582
  username: string;
2579
2583
  displayName?: string;
@@ -5040,6 +5044,10 @@ type WebhookPayloadComment = {
5040
5044
  * Social account ID
5041
5045
  */
5042
5046
  id: string;
5047
+ /**
5048
+ * Social account ID (same as id); canonical field for account filtering.
5049
+ */
5050
+ accountId?: string;
5043
5051
  platform: string;
5044
5052
  username: string;
5045
5053
  };
@@ -5115,6 +5123,10 @@ type WebhookPayloadExternalPost = {
5115
5123
  post: ExternalPostWebhookPost;
5116
5124
  account: {
5117
5125
  id: string;
5126
+ /**
5127
+ * Social account ID (same as id); canonical field for account filtering.
5128
+ */
5129
+ accountId?: string;
5118
5130
  platform: string;
5119
5131
  username: string;
5120
5132
  };
@@ -5174,6 +5186,10 @@ type WebhookPayloadLead = {
5174
5186
  * Social account ID (the facebook account owning the Page)
5175
5187
  */
5176
5188
  id: string;
5189
+ /**
5190
+ * Social account ID (same as id); canonical field for account filtering.
5191
+ */
5192
+ accountId?: string;
5177
5193
  platform: 'facebook';
5178
5194
  };
5179
5195
  timestamp: string;
@@ -5794,6 +5810,10 @@ type WebhookPayloadReviewNew = {
5794
5810
  review: ReviewWebhookReview;
5795
5811
  account: {
5796
5812
  id: string;
5813
+ /**
5814
+ * Social account ID (same as id); canonical field for account filtering.
5815
+ */
5816
+ accountId?: string;
5797
5817
  platform: string;
5798
5818
  username: string;
5799
5819
  };
@@ -5816,6 +5836,10 @@ type WebhookPayloadReviewUpdated = {
5816
5836
  review: ReviewWebhookReview;
5817
5837
  account: {
5818
5838
  id: string;
5839
+ /**
5840
+ * Social account ID (same as id); canonical field for account filtering.
5841
+ */
5842
+ accountId?: string;
5819
5843
  platform: string;
5820
5844
  username: string;
5821
5845
  };
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.307",
39
+ version: "0.2.308",
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.307",
8
+ version: "0.2.308",
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.307",
3
+ "version": "0.2.308",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1864,6 +1864,10 @@ export type InboxWebhookAccount = {
1864
1864
  * Social account ID
1865
1865
  */
1866
1866
  id: string;
1867
+ /**
1868
+ * Social account ID (same value as id). Canonical field so consumers can filter every webhook event on one field (e.g. route staging vs production by account). id is kept for backward compatibility.
1869
+ */
1870
+ accountId?: string;
1867
1871
  platform: string;
1868
1872
  username: string;
1869
1873
  displayName?: string;
@@ -4451,6 +4455,10 @@ export type WebhookPayloadComment = {
4451
4455
  * Social account ID
4452
4456
  */
4453
4457
  id: string;
4458
+ /**
4459
+ * Social account ID (same as id); canonical field for account filtering.
4460
+ */
4461
+ accountId?: string;
4454
4462
  platform: string;
4455
4463
  username: string;
4456
4464
  };
@@ -4532,6 +4540,10 @@ export type WebhookPayloadExternalPost = {
4532
4540
  post: ExternalPostWebhookPost;
4533
4541
  account: {
4534
4542
  id: string;
4543
+ /**
4544
+ * Social account ID (same as id); canonical field for account filtering.
4545
+ */
4546
+ accountId?: string;
4535
4547
  platform: string;
4536
4548
  username: string;
4537
4549
  };
@@ -4593,6 +4605,10 @@ export type WebhookPayloadLead = {
4593
4605
  * Social account ID (the facebook account owning the Page)
4594
4606
  */
4595
4607
  id: string;
4608
+ /**
4609
+ * Social account ID (same as id); canonical field for account filtering.
4610
+ */
4611
+ accountId?: string;
4596
4612
  platform: 'facebook';
4597
4613
  };
4598
4614
  timestamp: string;
@@ -5234,6 +5250,10 @@ export type WebhookPayloadReviewNew = {
5234
5250
  review: ReviewWebhookReview;
5235
5251
  account: {
5236
5252
  id: string;
5253
+ /**
5254
+ * Social account ID (same as id); canonical field for account filtering.
5255
+ */
5256
+ accountId?: string;
5237
5257
  platform: string;
5238
5258
  username: string;
5239
5259
  };
@@ -5258,6 +5278,10 @@ export type WebhookPayloadReviewUpdated = {
5258
5278
  review: ReviewWebhookReview;
5259
5279
  account: {
5260
5280
  id: string;
5281
+ /**
5282
+ * Social account ID (same as id); canonical field for account filtering.
5283
+ */
5284
+ accountId?: string;
5261
5285
  platform: string;
5262
5286
  username: string;
5263
5287
  };