@getlatedev/node 0.2.1300 → 0.2.1302
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 +52 -160
- package/dist/index.d.ts +52 -160
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +51 -162
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.1302",
|
|
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.1302",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -11992,7 +11992,7 @@ export const listAdsTikTokIdentities = <ThrowOnError extends boolean = false>(op
|
|
|
11992
11992
|
|
|
11993
11993
|
/**
|
|
11994
11994
|
* Per-creative performance inside TikTok Smart+ ads
|
|
11995
|
-
* Breaks a Smart+ ad (or ad group) down by creative material, one row per Spark post, video or image, from TikTok's Smart+ material report. For a Spark post `tiktokItemId` is the TikTok post id. Conversion metrics are TikTok web (pixel) events. `purchases`, `purchaseValue` and `roas` come from Complete Payment, or from Place an Order (legacy ON_WEB_ORDER pixels) when that reports more; the two are never summed. TikTok allows two dimensions per report, so rows are keyed by the Smart+ ad (`level=ad`) or by the ad group (`level=adGroup`), not both. A row is identified by `smartPlusAdId` + `materialId` at `level=ad` and by `adGroupId` + `materialId` at `level=adGroup`; each appears once across all pages. Rows are sorted by `spend` descending, then the Smart+ ad or ad group id, then `materialId`, and the full result is cached for 10 minutes per account, advertiser and query, so pages read within that window are consistent and `totalRows` counts distinct rows.
|
|
11995
|
+
* Breaks a Smart+ ad (or ad group) down by creative material, one row per Spark post, video or image, from TikTok's Smart+ material report. For a Spark post `tiktokItemId` is the TikTok post id. Conversion metrics are TikTok web (pixel) events. `purchases`, `purchaseValue` and `roas` come from Complete Payment, or from Place an Order (legacy ON_WEB_ORDER pixels) when that reports more; the two are never summed. TikTok allows two dimensions per report, so rows are keyed by the Smart+ ad (`level=ad`) or by the ad group (`level=adGroup`), not both. A row is identified by `smartPlusAdId` + `materialId` at `level=ad` and by `adGroupId` + `materialId` at `level=adGroup`; each appears once across all pages. Rows are sorted by `spend` descending, then the Smart+ ad or ad group id, then `materialId`, and the full result is cached for 10 minutes per account, advertiser and query, so pages read within that window are consistent and `totalRows` counts distinct rows. When the result spans more than one TikTok page it is read per Smart+ ad (or ad group) listed on the advertiser, every status included, and those reads can return more rows than TikTok's unfiltered report declares, so `totalRows` can be larger than that count; when the unfiltered report fits one page (100 rows or fewer) it is served as is. Each TikTok read is checked against the row count it declares itself, and a short read is retried once. A shortfall of at most 2 rows (or 1% of the rows, whichever is more) is served with `missingRows` set to that number; a larger one answers 502 instead of a short result. Metrics TikTok returns empty come back as null.
|
|
11996
11996
|
*/
|
|
11997
11997
|
export const getTikTokSmartPlusMaterialReport = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTikTokSmartPlusMaterialReportData, ThrowOnError>) => {
|
|
11998
11998
|
return (options?.client ?? client).get<GetTikTokSmartPlusMaterialReportResponse, GetTikTokSmartPlusMaterialReportError, ThrowOnError>({
|
|
@@ -13553,7 +13553,7 @@ export type Webhook = {
|
|
|
13553
13553
|
/**
|
|
13554
13554
|
* Events subscribed to
|
|
13555
13555
|
*/
|
|
13556
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'ad.review.approved' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'ad.video.processed' | '
|
|
13556
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'ad.review.approved' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'ad.video.processed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'api.changelog.published' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'contact.tag_added' | 'contact.tag_removed' | 'contact.field_changed' | 'sequence.enrolled' | 'sequence.exited' | 'workflow.run.started' | 'workflow.run.completed' | 'workflow.run.failed' | 'support.run.completed' | 'support.run.failed')>;
|
|
13557
13557
|
/**
|
|
13558
13558
|
* Whether webhook delivery is enabled
|
|
13559
13559
|
*/
|
|
@@ -14197,121 +14197,6 @@ export type event8 = 'ad.review.approved' | 'ad.review.rejected';
|
|
|
14197
14197
|
|
|
14198
14198
|
export type status39 = 'approved' | 'rejected';
|
|
14199
14199
|
|
|
14200
|
-
/**
|
|
14201
|
-
* Webhook payload for the `ad_rule.triggered` event. Ad rules are in closed beta:
|
|
14202
|
-
* the event only fires for accounts in the ad rules pilot.
|
|
14203
|
-
*
|
|
14204
|
-
* Fires when a scheduled ad rule run finds campaigns or ad sets that meet every
|
|
14205
|
-
* condition of the rule. Each object is announced at most once per rule cooldown,
|
|
14206
|
-
* so `objects` lists only the objects the run acted on, never the ones still in
|
|
14207
|
-
* cooldown. A run where every matching object is still in cooldown sends nothing.
|
|
14208
|
-
*
|
|
14209
|
-
*/
|
|
14210
|
-
export type WebhookPayloadAdRuleTriggered = {
|
|
14211
|
-
/**
|
|
14212
|
-
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
|
|
14213
|
-
*/
|
|
14214
|
-
id: string;
|
|
14215
|
-
profiles?: WebhookProfiles;
|
|
14216
|
-
/**
|
|
14217
|
-
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14218
|
-
*/
|
|
14219
|
-
test?: boolean;
|
|
14220
|
-
event: 'ad_rule.triggered';
|
|
14221
|
-
account: WebhookAdsAccount;
|
|
14222
|
-
rule: {
|
|
14223
|
-
/**
|
|
14224
|
-
* Zernio ad rule ID.
|
|
14225
|
-
*/
|
|
14226
|
-
id: string;
|
|
14227
|
-
name: string;
|
|
14228
|
-
/**
|
|
14229
|
-
* Whether the rule evaluates campaigns or ad sets.
|
|
14230
|
-
*/
|
|
14231
|
-
level: 'campaign' | 'adset';
|
|
14232
|
-
/**
|
|
14233
|
-
* Platform-native ad account ID the rule watches.
|
|
14234
|
-
*/
|
|
14235
|
-
platformAdAccountId: string;
|
|
14236
|
-
};
|
|
14237
|
-
run: {
|
|
14238
|
-
/**
|
|
14239
|
-
* ID of the rule run that triggered.
|
|
14240
|
-
*/
|
|
14241
|
-
id: string;
|
|
14242
|
-
/**
|
|
14243
|
-
* Scheduled time of the run (UTC).
|
|
14244
|
-
*/
|
|
14245
|
-
ranAt: string;
|
|
14246
|
-
/**
|
|
14247
|
-
* The ad account's calendar date (YYYY-MM-DD) the condition windows were resolved against, so `today` and `last_7d` mean the account's days, not UTC days.
|
|
14248
|
-
*/
|
|
14249
|
-
today: string;
|
|
14250
|
-
/**
|
|
14251
|
-
* IANA timezone used for `today`, for example `Europe/Madrid`.
|
|
14252
|
-
*/
|
|
14253
|
-
timezone: string;
|
|
14254
|
-
/**
|
|
14255
|
-
* True when the ad account has no known timezone and UTC was assumed.
|
|
14256
|
-
*/
|
|
14257
|
-
timezoneAssumed: boolean;
|
|
14258
|
-
/**
|
|
14259
|
-
* ISO 4217 currency of the ad account, which money metrics (`spend`, `cpc`, `cpm`, `cpa`) and condition values are in. Null when unknown.
|
|
14260
|
-
*/
|
|
14261
|
-
currency: (string) | null;
|
|
14262
|
-
};
|
|
14263
|
-
/**
|
|
14264
|
-
* The campaigns or ad sets this run acted on, at the rule's `level`. Objects still in cooldown are left out.
|
|
14265
|
-
*/
|
|
14266
|
-
objects: Array<{
|
|
14267
|
-
/**
|
|
14268
|
-
* Platform-native ID of the campaign or ad set.
|
|
14269
|
-
*/
|
|
14270
|
-
platformId: string;
|
|
14271
|
-
/**
|
|
14272
|
-
* Name on the platform. Falls back to `platformId` when the platform reports none.
|
|
14273
|
-
*/
|
|
14274
|
-
name: string;
|
|
14275
|
-
/**
|
|
14276
|
-
* Platform-native ID of the campaign the object belongs to (on a campaign-level rule, the campaign's own ID). Null when unknown.
|
|
14277
|
-
*/
|
|
14278
|
-
platformCampaignId: (string) | null;
|
|
14279
|
-
/**
|
|
14280
|
-
* Every condition of the rule, with the value the object reached.
|
|
14281
|
-
*/
|
|
14282
|
-
conditions: Array<{
|
|
14283
|
-
/**
|
|
14284
|
-
* `spend`, `impressions`, `clicks`, `conversions`, `ctr`, `cpc`, `cpm`, `cpa` or `roas`. New values may be added.
|
|
14285
|
-
*/
|
|
14286
|
-
metric: string;
|
|
14287
|
-
/**
|
|
14288
|
-
* `today`, `yesterday`, `last_3d`, `last_7d`, `last_14d` or `last_30d`, in the account's calendar (see `run.today`). New values may be added.
|
|
14289
|
-
*/
|
|
14290
|
-
window: string;
|
|
14291
|
-
op: '>' | '>=' | '<' | '<=';
|
|
14292
|
-
/**
|
|
14293
|
-
* The threshold set on the rule.
|
|
14294
|
-
*/
|
|
14295
|
-
value: number;
|
|
14296
|
-
/**
|
|
14297
|
-
* The object's value for the metric over the window. Null when it cannot be computed, for example a cost per action with no actions.
|
|
14298
|
-
*/
|
|
14299
|
-
actual: (number) | null;
|
|
14300
|
-
}>;
|
|
14301
|
-
}>;
|
|
14302
|
-
/**
|
|
14303
|
-
* UTC time at which Zernio generated this event.
|
|
14304
|
-
*/
|
|
14305
|
-
timestamp: string;
|
|
14306
|
-
};
|
|
14307
|
-
|
|
14308
|
-
export type event9 = 'ad_rule.triggered';
|
|
14309
|
-
|
|
14310
|
-
/**
|
|
14311
|
-
* Whether the rule evaluates campaigns or ad sets.
|
|
14312
|
-
*/
|
|
14313
|
-
export type level3 = 'campaign' | 'adset';
|
|
14314
|
-
|
|
14315
14200
|
/**
|
|
14316
14201
|
* Webhook payload for the `ad.status_changed` event. Currently emitted
|
|
14317
14202
|
* only for Meta (`metaads`).
|
|
@@ -14437,12 +14322,12 @@ export type WebhookPayloadAdStatusChanged = {
|
|
|
14437
14322
|
timestamp: string;
|
|
14438
14323
|
};
|
|
14439
14324
|
|
|
14440
|
-
export type
|
|
14325
|
+
export type event9 = 'ad.status_changed';
|
|
14441
14326
|
|
|
14442
14327
|
/**
|
|
14443
14328
|
* Hierarchy level the status applies to. Mirrors Meta's `level`. Creative-level events are not forwarded.
|
|
14444
14329
|
*/
|
|
14445
|
-
export type
|
|
14330
|
+
export type level3 = 'CAMPAIGN' | 'AD_SET' | 'AD';
|
|
14446
14331
|
|
|
14447
14332
|
/**
|
|
14448
14333
|
* Webhook payload for the `ad.video.processed` event. Fires once per
|
|
@@ -14508,7 +14393,7 @@ export type WebhookPayloadAdVideoProcessed = {
|
|
|
14508
14393
|
timestamp: string;
|
|
14509
14394
|
};
|
|
14510
14395
|
|
|
14511
|
-
export type
|
|
14396
|
+
export type event10 = 'ad.video.processed';
|
|
14512
14397
|
|
|
14513
14398
|
/**
|
|
14514
14399
|
* `ready`: usable as `video.id` on the create endpoints. `error`: Meta could not process it; upload again.
|
|
@@ -14591,7 +14476,7 @@ export type WebhookPayloadAnalyticsSynced = {
|
|
|
14591
14476
|
timestamp: string;
|
|
14592
14477
|
};
|
|
14593
14478
|
|
|
14594
|
-
export type
|
|
14479
|
+
export type event11 = 'analytics.synced';
|
|
14595
14480
|
|
|
14596
14481
|
export type WebhookPayloadApiChangelogPublished = {
|
|
14597
14482
|
/**
|
|
@@ -14610,7 +14495,7 @@ export type WebhookPayloadApiChangelogPublished = {
|
|
|
14610
14495
|
timestamp: string;
|
|
14611
14496
|
};
|
|
14612
14497
|
|
|
14613
|
-
export type
|
|
14498
|
+
export type event12 = 'api.changelog.published';
|
|
14614
14499
|
|
|
14615
14500
|
/**
|
|
14616
14501
|
* Webhook payload for the `call.ended` event. Fires on call hangup
|
|
@@ -14685,7 +14570,7 @@ export type WebhookPayloadCallEnded = {
|
|
|
14685
14570
|
timestamp: string;
|
|
14686
14571
|
};
|
|
14687
14572
|
|
|
14688
|
-
export type
|
|
14573
|
+
export type event13 = 'call.ended';
|
|
14689
14574
|
|
|
14690
14575
|
/**
|
|
14691
14576
|
* Webhook payload for the `call.failed` event. Fired when a call
|
|
@@ -14724,7 +14609,7 @@ export type WebhookPayloadCallFailed = {
|
|
|
14724
14609
|
timestamp: string;
|
|
14725
14610
|
};
|
|
14726
14611
|
|
|
14727
|
-
export type
|
|
14612
|
+
export type event14 = 'call.failed';
|
|
14728
14613
|
|
|
14729
14614
|
/**
|
|
14730
14615
|
* Webhook payload for the `call.permission_request` event. Fires
|
|
@@ -14766,7 +14651,7 @@ export type WebhookPayloadCallPermissionRequest = {
|
|
|
14766
14651
|
timestamp: string;
|
|
14767
14652
|
};
|
|
14768
14653
|
|
|
14769
|
-
export type
|
|
14654
|
+
export type event15 = 'call.permission_request';
|
|
14770
14655
|
|
|
14771
14656
|
export type response = 'accept' | 'reject';
|
|
14772
14657
|
|
|
@@ -14825,7 +14710,7 @@ export type WebhookPayloadCallReceived = {
|
|
|
14825
14710
|
timestamp: string;
|
|
14826
14711
|
};
|
|
14827
14712
|
|
|
14828
|
-
export type
|
|
14713
|
+
export type event16 = 'call.received';
|
|
14829
14714
|
|
|
14830
14715
|
/**
|
|
14831
14716
|
* Webhook payload for the `campaign.budget.depleted` event. Fires when a campaign
|
|
@@ -14876,12 +14761,12 @@ export type WebhookPayloadCampaignBudgetDepleted = {
|
|
|
14876
14761
|
timestamp: string;
|
|
14877
14762
|
};
|
|
14878
14763
|
|
|
14879
|
-
export type
|
|
14764
|
+
export type event17 = 'campaign.budget.depleted';
|
|
14880
14765
|
|
|
14881
14766
|
/**
|
|
14882
14767
|
* Always `CAMPAIGN`.
|
|
14883
14768
|
*/
|
|
14884
|
-
export type
|
|
14769
|
+
export type level4 = 'CAMPAIGN';
|
|
14885
14770
|
|
|
14886
14771
|
/**
|
|
14887
14772
|
* Webhook payload for comment received events (Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Reddit, TikTok). X/Twitter does NOT fire this event. TikTok events carry only the author id: the comment.update webhook has no username, picture or owner flag.
|
|
@@ -15058,7 +14943,7 @@ export type WebhookPayloadComment = {
|
|
|
15058
14943
|
timestamp: string;
|
|
15059
14944
|
};
|
|
15060
14945
|
|
|
15061
|
-
export type
|
|
14946
|
+
export type event18 = 'comment.received';
|
|
15062
14947
|
|
|
15063
14948
|
export type platform15 = 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
|
|
15064
14949
|
|
|
@@ -15104,7 +14989,7 @@ export type WebhookPayloadCommerceOrder = {
|
|
|
15104
14989
|
};
|
|
15105
14990
|
};
|
|
15106
14991
|
|
|
15107
|
-
export type
|
|
14992
|
+
export type event19 = 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded';
|
|
15108
14993
|
|
|
15109
14994
|
export type type17 = 'order';
|
|
15110
14995
|
|
|
@@ -15147,7 +15032,7 @@ export type WebhookPayloadCommerceProduct = {
|
|
|
15147
15032
|
};
|
|
15148
15033
|
};
|
|
15149
15034
|
|
|
15150
|
-
export type
|
|
15035
|
+
export type event20 = 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted';
|
|
15151
15036
|
|
|
15152
15037
|
export type type18 = 'product';
|
|
15153
15038
|
|
|
@@ -15187,7 +15072,7 @@ export type WebhookPayloadContactFieldChanged = {
|
|
|
15187
15072
|
source: 'api' | 'workflow' | 'automation';
|
|
15188
15073
|
};
|
|
15189
15074
|
|
|
15190
|
-
export type
|
|
15075
|
+
export type event21 = 'contact.field_changed';
|
|
15191
15076
|
|
|
15192
15077
|
/**
|
|
15193
15078
|
* Who wrote the field: the API or dashboard, a workflow set_field node, or an automation.
|
|
@@ -15219,7 +15104,7 @@ export type WebhookPayloadContactTag = {
|
|
|
15219
15104
|
source: 'api' | 'workflow' | 'automation';
|
|
15220
15105
|
};
|
|
15221
15106
|
|
|
15222
|
-
export type
|
|
15107
|
+
export type event22 = 'contact.tag_added' | 'contact.tag_removed';
|
|
15223
15108
|
|
|
15224
15109
|
/**
|
|
15225
15110
|
* Who answers a conversation changed under Meta's handover protocol. WhatsApp: Meta
|
|
@@ -15265,7 +15150,7 @@ export type WebhookPayloadConversationControlChanged = {
|
|
|
15265
15150
|
timestamp: string;
|
|
15266
15151
|
};
|
|
15267
15152
|
|
|
15268
|
-
export type
|
|
15153
|
+
export type event23 = 'conversation.control_changed';
|
|
15269
15154
|
|
|
15270
15155
|
/**
|
|
15271
15156
|
* Who answers now. ai_agent: Meta Business Agent (WhatsApp); app: you; other: another app (a WhatsApp partner, or a Messenger / Instagram receiver such as Page Inbox).
|
|
@@ -15324,7 +15209,7 @@ export type WebhookPayloadConversationStarted = {
|
|
|
15324
15209
|
timestamp: string;
|
|
15325
15210
|
};
|
|
15326
15211
|
|
|
15327
|
-
export type
|
|
15212
|
+
export type event24 = 'conversation.started';
|
|
15328
15213
|
|
|
15329
15214
|
/**
|
|
15330
15215
|
* Webhook payload for post.external.created / post.external.updated /
|
|
@@ -15361,7 +15246,7 @@ export type WebhookPayloadExternalPost = {
|
|
|
15361
15246
|
timestamp: string;
|
|
15362
15247
|
};
|
|
15363
15248
|
|
|
15364
|
-
export type
|
|
15249
|
+
export type event25 = 'post.external.created' | 'post.external.updated' | 'post.external.deleted';
|
|
15365
15250
|
|
|
15366
15251
|
/**
|
|
15367
15252
|
* Webhook payload for lead.received events (Meta Lead Gen / Instant Forms).
|
|
@@ -15437,7 +15322,7 @@ export type WebhookPayloadLead = {
|
|
|
15437
15322
|
timestamp: string;
|
|
15438
15323
|
};
|
|
15439
15324
|
|
|
15440
|
-
export type
|
|
15325
|
+
export type event26 = 'lead.received';
|
|
15441
15326
|
|
|
15442
15327
|
export type platform16 = 'facebook';
|
|
15443
15328
|
|
|
@@ -16040,7 +15925,7 @@ export type WebhookPayloadMessage = {
|
|
|
16040
15925
|
timestamp: string;
|
|
16041
15926
|
};
|
|
16042
15927
|
|
|
16043
|
-
export type
|
|
15928
|
+
export type event27 = 'message.received';
|
|
16044
15929
|
|
|
16045
15930
|
/**
|
|
16046
15931
|
* Which Zernio surface produced the message. Always present and
|
|
@@ -16106,7 +15991,7 @@ export type WebhookPayloadMessageDeleted = {
|
|
|
16106
15991
|
timestamp: string;
|
|
16107
15992
|
};
|
|
16108
15993
|
|
|
16109
|
-
export type
|
|
15994
|
+
export type event28 = 'message.deleted';
|
|
16110
15995
|
|
|
16111
15996
|
/**
|
|
16112
15997
|
* Shared payload for message.delivered, message.read, message.played and
|
|
@@ -16174,7 +16059,7 @@ export type WebhookPayloadMessageDeliveryStatus = {
|
|
|
16174
16059
|
timestamp: string;
|
|
16175
16060
|
};
|
|
16176
16061
|
|
|
16177
|
-
export type
|
|
16062
|
+
export type event29 = 'message.delivered' | 'message.read' | 'message.played' | 'message.failed';
|
|
16178
16063
|
|
|
16179
16064
|
/**
|
|
16180
16065
|
* Webhook payload for message.edited events. Fires when the sender
|
|
@@ -16217,7 +16102,7 @@ export type WebhookPayloadMessageEdited = {
|
|
|
16217
16102
|
timestamp: string;
|
|
16218
16103
|
};
|
|
16219
16104
|
|
|
16220
|
-
export type
|
|
16105
|
+
export type event30 = 'message.edited';
|
|
16221
16106
|
|
|
16222
16107
|
/**
|
|
16223
16108
|
* Webhook payload for message sent events (fired when a message is sent via the API, or from the WhatsApp Business app on Coexistence numbers)
|
|
@@ -16463,7 +16348,7 @@ export type WebhookPayloadMessageSent = {
|
|
|
16463
16348
|
timestamp: string;
|
|
16464
16349
|
};
|
|
16465
16350
|
|
|
16466
|
-
export type
|
|
16351
|
+
export type event31 = 'message.sent';
|
|
16467
16352
|
|
|
16468
16353
|
/**
|
|
16469
16354
|
* Every platform whose outgoing messages Zernio observes. sms is absent on purpose: its carrier receipts update delivery status and never raise message.sent.
|
|
@@ -16521,7 +16406,7 @@ export type WebhookPayloadPhoneNumberStockAvailable = {
|
|
|
16521
16406
|
timestamp: string;
|
|
16522
16407
|
};
|
|
16523
16408
|
|
|
16524
|
-
export type
|
|
16409
|
+
export type event32 = 'phone_number.stock_available';
|
|
16525
16410
|
|
|
16526
16411
|
/**
|
|
16527
16412
|
* Webhook payload for post events
|
|
@@ -16576,7 +16461,7 @@ export type WebhookPayloadPost = {
|
|
|
16576
16461
|
timestamp: string;
|
|
16577
16462
|
};
|
|
16578
16463
|
|
|
16579
|
-
export type
|
|
16464
|
+
export type event33 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled';
|
|
16580
16465
|
|
|
16581
16466
|
/**
|
|
16582
16467
|
* Webhook payload for the per-platform terminal events
|
|
@@ -16700,7 +16585,7 @@ export type WebhookPayloadPostPlatform = {
|
|
|
16700
16585
|
timestamp: string;
|
|
16701
16586
|
};
|
|
16702
16587
|
|
|
16703
|
-
export type
|
|
16588
|
+
export type event34 = 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved';
|
|
16704
16589
|
|
|
16705
16590
|
/**
|
|
16706
16591
|
* Terminal status this event fires on. Matches the event suffix.
|
|
@@ -16765,7 +16650,7 @@ export type WebhookPayloadReaction = {
|
|
|
16765
16650
|
timestamp: string;
|
|
16766
16651
|
};
|
|
16767
16652
|
|
|
16768
|
-
export type
|
|
16653
|
+
export type event35 = 'reaction.received';
|
|
16769
16654
|
|
|
16770
16655
|
export type action = 'added' | 'removed';
|
|
16771
16656
|
|
|
@@ -16844,7 +16729,7 @@ export type WebhookPayloadReferral = {
|
|
|
16844
16729
|
timestamp: string;
|
|
16845
16730
|
};
|
|
16846
16731
|
|
|
16847
|
-
export type
|
|
16732
|
+
export type event36 = 'referral.received';
|
|
16848
16733
|
|
|
16849
16734
|
/**
|
|
16850
16735
|
* Webhook payload for the review.new event (new review posted on a connected account).
|
|
@@ -16876,7 +16761,7 @@ export type WebhookPayloadReviewNew = {
|
|
|
16876
16761
|
timestamp: string;
|
|
16877
16762
|
};
|
|
16878
16763
|
|
|
16879
|
-
export type
|
|
16764
|
+
export type event37 = 'review.new';
|
|
16880
16765
|
|
|
16881
16766
|
/**
|
|
16882
16767
|
* Webhook payload for the review.updated event. Fired when the reviewer edits their
|
|
@@ -16914,7 +16799,7 @@ export type WebhookPayloadReviewUpdated = {
|
|
|
16914
16799
|
timestamp: string;
|
|
16915
16800
|
};
|
|
16916
16801
|
|
|
16917
|
-
export type
|
|
16802
|
+
export type event38 = 'review.updated';
|
|
16918
16803
|
|
|
16919
16804
|
export type WebhookPayloadSequenceEnrollment = {
|
|
16920
16805
|
/**
|
|
@@ -16947,7 +16832,7 @@ export type WebhookPayloadSequenceEnrollment = {
|
|
|
16947
16832
|
exitReason?: 'completed' | 'replied' | 'manual' | 'failed' | 'unsubscribed';
|
|
16948
16833
|
};
|
|
16949
16834
|
|
|
16950
|
-
export type
|
|
16835
|
+
export type event39 = 'sequence.enrolled' | 'sequence.exited';
|
|
16951
16836
|
|
|
16952
16837
|
/**
|
|
16953
16838
|
* sequence.exited only. completed: the last step was sent; replied: the contact replied and the sequence exits on reply; manual: unenrolled through the API; failed: the step kept failing to send; unsubscribed: the contact opted out.
|
|
@@ -16968,7 +16853,7 @@ export type WebhookPayloadSupportRun = {
|
|
|
16968
16853
|
run: SupportRun;
|
|
16969
16854
|
};
|
|
16970
16855
|
|
|
16971
|
-
export type
|
|
16856
|
+
export type event40 = 'support.run.completed' | 'support.run.failed';
|
|
16972
16857
|
|
|
16973
16858
|
/**
|
|
16974
16859
|
* Webhook payload for test deliveries
|
|
@@ -16989,7 +16874,7 @@ export type WebhookPayloadTest = {
|
|
|
16989
16874
|
timestamp: string;
|
|
16990
16875
|
};
|
|
16991
16876
|
|
|
16992
|
-
export type
|
|
16877
|
+
export type event41 = 'webhook.test';
|
|
16993
16878
|
|
|
16994
16879
|
/**
|
|
16995
16880
|
* Webhook payload for `whatsapp.account.alert_received`, forwarded from Meta's
|
|
@@ -17041,7 +16926,7 @@ export type WebhookPayloadWhatsAppAccountAlertReceived = {
|
|
|
17041
16926
|
timestamp: string;
|
|
17042
16927
|
};
|
|
17043
16928
|
|
|
17044
|
-
export type
|
|
16929
|
+
export type event42 = 'whatsapp.account.alert_received';
|
|
17045
16930
|
|
|
17046
16931
|
export type platform18 = 'whatsapp';
|
|
17047
16932
|
|
|
@@ -17097,7 +16982,7 @@ export type WebhookPayloadWhatsAppAccountNameStatusUpdated = {
|
|
|
17097
16982
|
timestamp: string;
|
|
17098
16983
|
};
|
|
17099
16984
|
|
|
17100
|
-
export type
|
|
16985
|
+
export type event43 = 'whatsapp.account.name_status_updated';
|
|
17101
16986
|
|
|
17102
16987
|
/**
|
|
17103
16988
|
* Normalized from Meta's `decision` (REJECTED -> DECLINED, DEFERRED -> PENDING_REVIEW; the review is still open on DEFERRED, not a rejection).
|
|
@@ -17155,7 +17040,7 @@ export type WebhookPayloadWhatsAppAccountQualityUpdated = {
|
|
|
17155
17040
|
timestamp: string;
|
|
17156
17041
|
};
|
|
17157
17042
|
|
|
17158
|
-
export type
|
|
17043
|
+
export type event44 = 'whatsapp.account.quality_updated';
|
|
17159
17044
|
|
|
17160
17045
|
/**
|
|
17161
17046
|
* The Meta webhook field that reported the change.
|
|
@@ -17231,7 +17116,7 @@ export type WebhookPayloadWhatsAppAccountStatusUpdated = {
|
|
|
17231
17116
|
timestamp: string;
|
|
17232
17117
|
};
|
|
17233
17118
|
|
|
17234
|
-
export type
|
|
17119
|
+
export type event45 = 'whatsapp.account.status_updated';
|
|
17235
17120
|
|
|
17236
17121
|
/**
|
|
17237
17122
|
* `active` only on a reinstatement (DISABLED_UPDATE with ban state REINSTATE).
|
|
@@ -17288,7 +17173,7 @@ export type WebhookPayloadWhatsAppContactIdentityChanged = {
|
|
|
17288
17173
|
timestamp: string;
|
|
17289
17174
|
};
|
|
17290
17175
|
|
|
17291
|
-
export type
|
|
17176
|
+
export type event46 = 'whatsapp.contact.identity_changed';
|
|
17292
17177
|
|
|
17293
17178
|
/**
|
|
17294
17179
|
* Which Meta signal reported the change. `user_changed_number`: new phone number. `user_changed_user_id` and `user_id_update`: new BSUID.
|
|
@@ -17362,7 +17247,7 @@ export type WebhookPayloadWhatsAppTemplateCategoryUpdated = {
|
|
|
17362
17247
|
timestamp: string;
|
|
17363
17248
|
};
|
|
17364
17249
|
|
|
17365
|
-
export type
|
|
17250
|
+
export type event47 = 'whatsapp.template.category_updated';
|
|
17366
17251
|
|
|
17367
17252
|
/**
|
|
17368
17253
|
* `scheduled` is Meta's 24h advance notice of an upcoming
|
|
@@ -17444,7 +17329,7 @@ export type WebhookPayloadWhatsAppTemplateStatusUpdated = {
|
|
|
17444
17329
|
timestamp: string;
|
|
17445
17330
|
};
|
|
17446
17331
|
|
|
17447
|
-
export type
|
|
17332
|
+
export type event48 = 'whatsapp.template.status_updated';
|
|
17448
17333
|
|
|
17449
17334
|
/**
|
|
17450
17335
|
* New status. Forwarded verbatim from Meta's `event` field.
|
|
@@ -17511,7 +17396,7 @@ export type WebhookPayloadWorkflowRun = {
|
|
|
17511
17396
|
error?: string;
|
|
17512
17397
|
};
|
|
17513
17398
|
|
|
17514
|
-
export type
|
|
17399
|
+
export type event49 = 'workflow.run.started' | 'workflow.run.completed' | 'workflow.run.failed';
|
|
17515
17400
|
|
|
17516
17401
|
/**
|
|
17517
17402
|
* running on workflow.run.started; completed or exited (ended on purpose before the last node, e.g. a handoff) on workflow.run.completed; failed on workflow.run.failed.
|
|
@@ -29289,7 +29174,7 @@ export type CreateWebhookSettingsData = {
|
|
|
29289
29174
|
/**
|
|
29290
29175
|
* Events to subscribe to (at least one required)
|
|
29291
29176
|
*/
|
|
29292
|
-
events: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'ad.review.approved' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'ad.video.processed' | '
|
|
29177
|
+
events: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'ad.review.approved' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'ad.video.processed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'api.changelog.published' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'contact.tag_added' | 'contact.tag_removed' | 'contact.field_changed' | 'sequence.enrolled' | 'sequence.exited' | 'workflow.run.started' | 'workflow.run.completed' | 'workflow.run.failed' | 'support.run.completed' | 'support.run.failed')>;
|
|
29293
29178
|
/**
|
|
29294
29179
|
* Enable or disable webhook delivery. Defaults to `true` when omitted.
|
|
29295
29180
|
*/
|
|
@@ -29355,7 +29240,7 @@ export type UpdateWebhookSettingsData = {
|
|
|
29355
29240
|
/**
|
|
29356
29241
|
* Events to subscribe to. Must contain at least one event if provided.
|
|
29357
29242
|
*/
|
|
29358
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'ad.review.approved' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'ad.video.processed' | '
|
|
29243
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'ad.review.approved' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'ad.video.processed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'api.changelog.published' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'contact.tag_added' | 'contact.tag_removed' | 'contact.field_changed' | 'sequence.enrolled' | 'sequence.exited' | 'workflow.run.started' | 'workflow.run.completed' | 'workflow.run.failed' | 'support.run.completed' | 'support.run.failed')>;
|
|
29359
29244
|
/**
|
|
29360
29245
|
* Enable or disable webhook delivery
|
|
29361
29246
|
*/
|
|
@@ -29525,7 +29410,7 @@ export type TestWebhookData = {
|
|
|
29525
29410
|
/**
|
|
29526
29411
|
* Send a sample payload of this event instead of `webhook.test`. The sample is marked with `test: true`.
|
|
29527
29412
|
*/
|
|
29528
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'conversation.started' | 'conversation.control_changed' | 'contact.tag_added' | 'contact.tag_removed' | 'contact.field_changed' | 'sequence.enrolled' | 'sequence.exited' | 'workflow.run.started' | 'workflow.run.completed' | 'workflow.run.failed' | 'support.run.completed' | 'support.run.failed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'comment.received' | 'review.new' | 'review.updated' | 'ad.status_changed' | 'ad.review.approved' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'ad.video.processed' | '
|
|
29413
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'conversation.started' | 'conversation.control_changed' | 'contact.tag_added' | 'contact.tag_removed' | 'contact.field_changed' | 'sequence.enrolled' | 'sequence.exited' | 'workflow.run.started' | 'workflow.run.completed' | 'workflow.run.failed' | 'support.run.completed' | 'support.run.failed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'comment.received' | 'review.new' | 'review.updated' | 'ad.status_changed' | 'ad.review.approved' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'ad.video.processed' | 'lead.received' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.automatic_event' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'verification.approved' | 'verification.failed' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'api.changelog.published';
|
|
29529
29414
|
};
|
|
29530
29415
|
};
|
|
29531
29416
|
|
|
@@ -47215,6 +47100,10 @@ export type GetTikTokSmartPlusMaterialReportResponse = ({
|
|
|
47215
47100
|
pageSize?: number;
|
|
47216
47101
|
totalRows?: number;
|
|
47217
47102
|
totalPages?: number;
|
|
47103
|
+
/**
|
|
47104
|
+
* Rows TikTok declared that a read and its retry could not return. 0 when the result is complete.
|
|
47105
|
+
*/
|
|
47106
|
+
missingRows?: number;
|
|
47218
47107
|
rows?: Array<{
|
|
47219
47108
|
/**
|
|
47220
47109
|
* TikTok main material id
|