@getlatedev/node 0.2.253 → 0.2.255
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 +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +20 -0
package/dist/index.d.mts
CHANGED
|
@@ -1110,6 +1110,10 @@ type AdCampaign = {
|
|
|
1110
1110
|
platformAdAccountName?: (string) | null;
|
|
1111
1111
|
accountId?: string;
|
|
1112
1112
|
profileId?: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Google-only. Raw campaign.advertising_channel_type. See AdTreeCampaign.advertisingChannelType.
|
|
1115
|
+
*/
|
|
1116
|
+
advertisingChannelType?: (string) | null;
|
|
1113
1117
|
/**
|
|
1114
1118
|
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
|
|
1115
1119
|
*/
|
|
@@ -1326,6 +1330,10 @@ type AdTreeCampaign = {
|
|
|
1326
1330
|
platformAdAccountName?: (string) | null;
|
|
1327
1331
|
accountId?: string;
|
|
1328
1332
|
profileId?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Google-only. Raw campaign.advertising_channel_type (SEARCH, PERFORMANCE_MAX, VIDEO, DEMAND_GEN, DISPLAY, SHOPPING, ...). Serving surface, distinct from platformObjective (advertiser intent). Null/absent for non-Google platforms.
|
|
1335
|
+
*/
|
|
1336
|
+
advertisingChannelType?: (string) | null;
|
|
1329
1337
|
/**
|
|
1330
1338
|
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
|
|
1331
1339
|
*/
|
|
@@ -5246,6 +5254,14 @@ type WebhookPayloadMessageDeliveryStatus = {
|
|
|
5246
5254
|
code?: number;
|
|
5247
5255
|
title?: string;
|
|
5248
5256
|
message?: string;
|
|
5257
|
+
/**
|
|
5258
|
+
* Plain-language translation of `code` (e.g. for 131026, that the
|
|
5259
|
+
* recipient has likely opted out of marketing messages while utility
|
|
5260
|
+
* templates are unaffected). Null for unmapped codes; fall back to
|
|
5261
|
+
* title/message.
|
|
5262
|
+
*
|
|
5263
|
+
*/
|
|
5264
|
+
explanation?: (string) | null;
|
|
5249
5265
|
} | null;
|
|
5250
5266
|
conversation: InboxWebhookConversation;
|
|
5251
5267
|
account: InboxWebhookAccount;
|
|
@@ -17003,6 +17019,10 @@ type ListBroadcastRecipientsResponse = ({
|
|
|
17003
17019
|
* Meta WhatsApp error code (e.g. 131049 for antispam, 131021 for invalid phone, 131026 for re-engagement required). Only populated for status=failed.
|
|
17004
17020
|
*/
|
|
17005
17021
|
errorCode?: (number) | null;
|
|
17022
|
+
/**
|
|
17023
|
+
* Plain-language translation of errorCode (e.g. for 131026, that the recipient has likely opted out of marketing messages). Null for unmapped codes; fall back to error.
|
|
17024
|
+
*/
|
|
17025
|
+
errorExplanation?: (string) | null;
|
|
17006
17026
|
sentAt?: string;
|
|
17007
17027
|
deliveredAt?: string;
|
|
17008
17028
|
readAt?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1110,6 +1110,10 @@ type AdCampaign = {
|
|
|
1110
1110
|
platformAdAccountName?: (string) | null;
|
|
1111
1111
|
accountId?: string;
|
|
1112
1112
|
profileId?: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Google-only. Raw campaign.advertising_channel_type. See AdTreeCampaign.advertisingChannelType.
|
|
1115
|
+
*/
|
|
1116
|
+
advertisingChannelType?: (string) | null;
|
|
1113
1117
|
/**
|
|
1114
1118
|
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
|
|
1115
1119
|
*/
|
|
@@ -1326,6 +1330,10 @@ type AdTreeCampaign = {
|
|
|
1326
1330
|
platformAdAccountName?: (string) | null;
|
|
1327
1331
|
accountId?: string;
|
|
1328
1332
|
profileId?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Google-only. Raw campaign.advertising_channel_type (SEARCH, PERFORMANCE_MAX, VIDEO, DEMAND_GEN, DISPLAY, SHOPPING, ...). Serving surface, distinct from platformObjective (advertiser intent). Null/absent for non-Google platforms.
|
|
1335
|
+
*/
|
|
1336
|
+
advertisingChannelType?: (string) | null;
|
|
1329
1337
|
/**
|
|
1330
1338
|
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
|
|
1331
1339
|
*/
|
|
@@ -5246,6 +5254,14 @@ type WebhookPayloadMessageDeliveryStatus = {
|
|
|
5246
5254
|
code?: number;
|
|
5247
5255
|
title?: string;
|
|
5248
5256
|
message?: string;
|
|
5257
|
+
/**
|
|
5258
|
+
* Plain-language translation of `code` (e.g. for 131026, that the
|
|
5259
|
+
* recipient has likely opted out of marketing messages while utility
|
|
5260
|
+
* templates are unaffected). Null for unmapped codes; fall back to
|
|
5261
|
+
* title/message.
|
|
5262
|
+
*
|
|
5263
|
+
*/
|
|
5264
|
+
explanation?: (string) | null;
|
|
5249
5265
|
} | null;
|
|
5250
5266
|
conversation: InboxWebhookConversation;
|
|
5251
5267
|
account: InboxWebhookAccount;
|
|
@@ -17003,6 +17019,10 @@ type ListBroadcastRecipientsResponse = ({
|
|
|
17003
17019
|
* Meta WhatsApp error code (e.g. 131049 for antispam, 131021 for invalid phone, 131026 for re-engagement required). Only populated for status=failed.
|
|
17004
17020
|
*/
|
|
17005
17021
|
errorCode?: (number) | null;
|
|
17022
|
+
/**
|
|
17023
|
+
* Plain-language translation of errorCode (e.g. for 131026, that the recipient has likely opted out of marketing messages). Null for unmapped codes; fall back to error.
|
|
17024
|
+
*/
|
|
17025
|
+
errorExplanation?: (string) | null;
|
|
17006
17026
|
sentAt?: string;
|
|
17007
17027
|
deliveredAt?: string;
|
|
17008
17028
|
readAt?: string;
|
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.
|
|
39
|
+
version: "0.2.255",
|
|
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.
|
|
8
|
+
version: "0.2.255",
|
|
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
|
@@ -357,6 +357,10 @@ export type AdCampaign = {
|
|
|
357
357
|
platformAdAccountName?: (string) | null;
|
|
358
358
|
accountId?: string;
|
|
359
359
|
profileId?: string;
|
|
360
|
+
/**
|
|
361
|
+
* Google-only. Raw campaign.advertising_channel_type. See AdTreeCampaign.advertisingChannelType.
|
|
362
|
+
*/
|
|
363
|
+
advertisingChannelType?: (string) | null;
|
|
360
364
|
/**
|
|
361
365
|
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
|
|
362
366
|
*/
|
|
@@ -579,6 +583,10 @@ export type AdTreeCampaign = {
|
|
|
579
583
|
platformAdAccountName?: (string) | null;
|
|
580
584
|
accountId?: string;
|
|
581
585
|
profileId?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Google-only. Raw campaign.advertising_channel_type (SEARCH, PERFORMANCE_MAX, VIDEO, DEMAND_GEN, DISPLAY, SHOPPING, ...). Serving surface, distinct from platformObjective (advertiser intent). Null/absent for non-Google platforms.
|
|
588
|
+
*/
|
|
589
|
+
advertisingChannelType?: (string) | null;
|
|
582
590
|
/**
|
|
583
591
|
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
|
|
584
592
|
*/
|
|
@@ -4684,6 +4692,14 @@ export type WebhookPayloadMessageDeliveryStatus = {
|
|
|
4684
4692
|
code?: number;
|
|
4685
4693
|
title?: string;
|
|
4686
4694
|
message?: string;
|
|
4695
|
+
/**
|
|
4696
|
+
* Plain-language translation of `code` (e.g. for 131026, that the
|
|
4697
|
+
* recipient has likely opted out of marketing messages while utility
|
|
4698
|
+
* templates are unaffected). Null for unmapped codes; fall back to
|
|
4699
|
+
* title/message.
|
|
4700
|
+
*
|
|
4701
|
+
*/
|
|
4702
|
+
explanation?: (string) | null;
|
|
4687
4703
|
} | null;
|
|
4688
4704
|
conversation: InboxWebhookConversation;
|
|
4689
4705
|
account: InboxWebhookAccount;
|
|
@@ -17349,6 +17365,10 @@ export type ListBroadcastRecipientsResponse = ({
|
|
|
17349
17365
|
* Meta WhatsApp error code (e.g. 131049 for antispam, 131021 for invalid phone, 131026 for re-engagement required). Only populated for status=failed.
|
|
17350
17366
|
*/
|
|
17351
17367
|
errorCode?: (number) | null;
|
|
17368
|
+
/**
|
|
17369
|
+
* Plain-language translation of errorCode (e.g. for 131026, that the recipient has likely opted out of marketing messages). Null for unmapped codes; fall back to error.
|
|
17370
|
+
*/
|
|
17371
|
+
errorExplanation?: (string) | null;
|
|
17352
17372
|
sentAt?: string;
|
|
17353
17373
|
deliveredAt?: string;
|
|
17354
17374
|
readAt?: string;
|