@getlatedev/node 0.2.1141 → 0.2.1143
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 +180 -0
- package/dist/index.d.ts +180 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +14 -0
- package/src/generated/types.gen.ts +180 -0
|
@@ -12145,6 +12145,10 @@ export type WebhookLog = {
|
|
|
12145
12145
|
* Event type that triggered the delivery (e.g. post.published)
|
|
12146
12146
|
*/
|
|
12147
12147
|
event?: string;
|
|
12148
|
+
/**
|
|
12149
|
+
* true when the delivery was a sample fired by POST /v1/webhooks/test with an event, not a real event. Absent otherwise.
|
|
12150
|
+
*/
|
|
12151
|
+
test?: boolean;
|
|
12148
12152
|
/**
|
|
12149
12153
|
* Destination URL the webhook was delivered to
|
|
12150
12154
|
*/
|
|
@@ -12201,6 +12205,10 @@ export type WebhookPayloadAccountAdsInitialSyncCompleted = {
|
|
|
12201
12205
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12202
12206
|
*/
|
|
12203
12207
|
id: string;
|
|
12208
|
+
/**
|
|
12209
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12210
|
+
*/
|
|
12211
|
+
test?: boolean;
|
|
12204
12212
|
event: 'account.ads.initial_sync_completed';
|
|
12205
12213
|
account: {
|
|
12206
12214
|
/**
|
|
@@ -12330,6 +12338,10 @@ export type WebhookPayloadAccountAdsSyncFailed = {
|
|
|
12330
12338
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
|
|
12331
12339
|
*/
|
|
12332
12340
|
id: string;
|
|
12341
|
+
/**
|
|
12342
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12343
|
+
*/
|
|
12344
|
+
test?: boolean;
|
|
12333
12345
|
event: 'account.ads.sync_failed';
|
|
12334
12346
|
account: WebhookAdsSyncAccount;
|
|
12335
12347
|
adAccount: WebhookAdsSyncAdAccount;
|
|
@@ -12379,6 +12391,10 @@ export type WebhookPayloadAccountAdsSyncRecovered = {
|
|
|
12379
12391
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
|
|
12380
12392
|
*/
|
|
12381
12393
|
id: string;
|
|
12394
|
+
/**
|
|
12395
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12396
|
+
*/
|
|
12397
|
+
test?: boolean;
|
|
12382
12398
|
event: 'account.ads.sync_recovered';
|
|
12383
12399
|
account: WebhookAdsSyncAccount;
|
|
12384
12400
|
adAccount: WebhookAdsSyncAdAccount;
|
|
@@ -12405,6 +12421,10 @@ export type WebhookPayloadAccountConnected = {
|
|
|
12405
12421
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12406
12422
|
*/
|
|
12407
12423
|
id: string;
|
|
12424
|
+
/**
|
|
12425
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12426
|
+
*/
|
|
12427
|
+
test?: boolean;
|
|
12408
12428
|
event: 'account.connected';
|
|
12409
12429
|
account: {
|
|
12410
12430
|
/**
|
|
@@ -12435,6 +12455,10 @@ export type WebhookPayloadAccountDisconnected = {
|
|
|
12435
12455
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12436
12456
|
*/
|
|
12437
12457
|
id: string;
|
|
12458
|
+
/**
|
|
12459
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12460
|
+
*/
|
|
12461
|
+
test?: boolean;
|
|
12438
12462
|
event: 'account.disconnected';
|
|
12439
12463
|
account: {
|
|
12440
12464
|
/**
|
|
@@ -12493,6 +12517,10 @@ export type WebhookPayloadAdStatusChanged = {
|
|
|
12493
12517
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12494
12518
|
*/
|
|
12495
12519
|
id: string;
|
|
12520
|
+
/**
|
|
12521
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12522
|
+
*/
|
|
12523
|
+
test?: boolean;
|
|
12496
12524
|
event: 'ad.status_changed';
|
|
12497
12525
|
/**
|
|
12498
12526
|
* The connected ad-platform account that owns the ad object.
|
|
@@ -12608,6 +12636,10 @@ export type WebhookPayloadAdVideoProcessed = {
|
|
|
12608
12636
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
|
|
12609
12637
|
*/
|
|
12610
12638
|
id: string;
|
|
12639
|
+
/**
|
|
12640
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12641
|
+
*/
|
|
12642
|
+
test?: boolean;
|
|
12611
12643
|
event: 'ad.video.processed';
|
|
12612
12644
|
/**
|
|
12613
12645
|
* The connected ads account the video was uploaded with.
|
|
@@ -12695,6 +12727,10 @@ export type WebhookPayloadAnalyticsSynced = {
|
|
|
12695
12727
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12696
12728
|
*/
|
|
12697
12729
|
id: string;
|
|
12730
|
+
/**
|
|
12731
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12732
|
+
*/
|
|
12733
|
+
test?: boolean;
|
|
12698
12734
|
event: 'analytics.synced';
|
|
12699
12735
|
account: {
|
|
12700
12736
|
/**
|
|
@@ -12741,6 +12777,10 @@ export type WebhookPayloadApiChangelogPublished = {
|
|
|
12741
12777
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12742
12778
|
*/
|
|
12743
12779
|
id: string;
|
|
12780
|
+
/**
|
|
12781
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12782
|
+
*/
|
|
12783
|
+
test?: boolean;
|
|
12744
12784
|
event: 'api.changelog.published';
|
|
12745
12785
|
entry: ApiChangelogEntry;
|
|
12746
12786
|
/**
|
|
@@ -12757,6 +12797,10 @@ export type event9 = 'api.changelog.published';
|
|
|
12757
12797
|
*
|
|
12758
12798
|
*/
|
|
12759
12799
|
export type WebhookPayloadCallEnded = {
|
|
12800
|
+
/**
|
|
12801
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12802
|
+
*/
|
|
12803
|
+
test?: boolean;
|
|
12760
12804
|
/**
|
|
12761
12805
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12762
12806
|
*/
|
|
@@ -12827,6 +12871,10 @@ export type event10 = 'call.ended';
|
|
|
12827
12871
|
*
|
|
12828
12872
|
*/
|
|
12829
12873
|
export type WebhookPayloadCallFailed = {
|
|
12874
|
+
/**
|
|
12875
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12876
|
+
*/
|
|
12877
|
+
test?: boolean;
|
|
12830
12878
|
/**
|
|
12831
12879
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12832
12880
|
*/
|
|
@@ -12862,6 +12910,10 @@ export type event11 = 'call.failed';
|
|
|
12862
12910
|
*
|
|
12863
12911
|
*/
|
|
12864
12912
|
export type WebhookPayloadCallPermissionRequest = {
|
|
12913
|
+
/**
|
|
12914
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12915
|
+
*/
|
|
12916
|
+
test?: boolean;
|
|
12865
12917
|
/**
|
|
12866
12918
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12867
12919
|
*/
|
|
@@ -12901,6 +12953,10 @@ export type response = 'accept' | 'reject';
|
|
|
12901
12953
|
*
|
|
12902
12954
|
*/
|
|
12903
12955
|
export type WebhookPayloadCallReceived = {
|
|
12956
|
+
/**
|
|
12957
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
12958
|
+
*/
|
|
12959
|
+
test?: boolean;
|
|
12904
12960
|
/**
|
|
12905
12961
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12906
12962
|
*/
|
|
@@ -12954,6 +13010,10 @@ export type WebhookPayloadComment = {
|
|
|
12954
13010
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
12955
13011
|
*/
|
|
12956
13012
|
id: string;
|
|
13013
|
+
/**
|
|
13014
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13015
|
+
*/
|
|
13016
|
+
test?: boolean;
|
|
12957
13017
|
event: 'comment.received';
|
|
12958
13018
|
comment: {
|
|
12959
13019
|
/**
|
|
@@ -13113,6 +13173,10 @@ export type event14 = 'comment.received';
|
|
|
13113
13173
|
export type platform13 = 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
|
|
13114
13174
|
|
|
13115
13175
|
export type WebhookPayloadCommerceProduct = {
|
|
13176
|
+
/**
|
|
13177
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13178
|
+
*/
|
|
13179
|
+
test?: boolean;
|
|
13116
13180
|
id?: string;
|
|
13117
13181
|
event?: 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted';
|
|
13118
13182
|
/**
|
|
@@ -13152,6 +13216,10 @@ export type event15 = 'commerce.product.created' | 'commerce.product.updated' |
|
|
|
13152
13216
|
export type type17 = 'product';
|
|
13153
13217
|
|
|
13154
13218
|
export type WebhookPayloadContactFieldChanged = {
|
|
13219
|
+
/**
|
|
13220
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13221
|
+
*/
|
|
13222
|
+
test?: boolean;
|
|
13155
13223
|
/**
|
|
13156
13224
|
* Event id, the dedupe key.
|
|
13157
13225
|
*/
|
|
@@ -13190,6 +13258,10 @@ export type event16 = 'contact.field_changed';
|
|
|
13190
13258
|
export type source4 = 'api' | 'workflow' | 'automation';
|
|
13191
13259
|
|
|
13192
13260
|
export type WebhookPayloadContactTag = {
|
|
13261
|
+
/**
|
|
13262
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13263
|
+
*/
|
|
13264
|
+
test?: boolean;
|
|
13193
13265
|
/**
|
|
13194
13266
|
* Event id, the dedupe key.
|
|
13195
13267
|
*/
|
|
@@ -13218,6 +13290,10 @@ export type event17 = 'contact.tag_added' | 'contact.tag_removed';
|
|
|
13218
13290
|
*
|
|
13219
13291
|
*/
|
|
13220
13292
|
export type WebhookPayloadConversationControlChanged = {
|
|
13293
|
+
/**
|
|
13294
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13295
|
+
*/
|
|
13296
|
+
test?: boolean;
|
|
13221
13297
|
/**
|
|
13222
13298
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
13223
13299
|
*/
|
|
@@ -13270,6 +13346,10 @@ export type previousOwner = 'app' | 'ai_agent' | 'other';
|
|
|
13270
13346
|
*
|
|
13271
13347
|
*/
|
|
13272
13348
|
export type WebhookPayloadConversationStarted = {
|
|
13349
|
+
/**
|
|
13350
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13351
|
+
*/
|
|
13352
|
+
test?: boolean;
|
|
13273
13353
|
/**
|
|
13274
13354
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
13275
13355
|
*/
|
|
@@ -13302,6 +13382,10 @@ export type WebhookPayloadExternalPost = {
|
|
|
13302
13382
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
13303
13383
|
*/
|
|
13304
13384
|
id: string;
|
|
13385
|
+
/**
|
|
13386
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13387
|
+
*/
|
|
13388
|
+
test?: boolean;
|
|
13305
13389
|
event: 'post.external.created' | 'post.external.updated' | 'post.external.deleted';
|
|
13306
13390
|
post: ExternalPostWebhookPost;
|
|
13307
13391
|
account: {
|
|
@@ -13329,6 +13413,10 @@ export type WebhookPayloadLead = {
|
|
|
13329
13413
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
13330
13414
|
*/
|
|
13331
13415
|
id: string;
|
|
13416
|
+
/**
|
|
13417
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13418
|
+
*/
|
|
13419
|
+
test?: boolean;
|
|
13332
13420
|
event: 'lead.received';
|
|
13333
13421
|
lead: {
|
|
13334
13422
|
/**
|
|
@@ -13402,6 +13490,10 @@ export type WebhookPayloadMessage = {
|
|
|
13402
13490
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
13403
13491
|
*/
|
|
13404
13492
|
id: string;
|
|
13493
|
+
/**
|
|
13494
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
13495
|
+
*/
|
|
13496
|
+
test?: boolean;
|
|
13405
13497
|
event: 'message.received';
|
|
13406
13498
|
message: {
|
|
13407
13499
|
/**
|
|
@@ -14022,6 +14114,10 @@ export type contactsOrigin = 'contact_request' | 'other';
|
|
|
14022
14114
|
*
|
|
14023
14115
|
*/
|
|
14024
14116
|
export type WebhookPayloadMessageDeleted = {
|
|
14117
|
+
/**
|
|
14118
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14119
|
+
*/
|
|
14120
|
+
test?: boolean;
|
|
14025
14121
|
/**
|
|
14026
14122
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14027
14123
|
*/
|
|
@@ -14055,6 +14151,10 @@ export type event23 = 'message.deleted';
|
|
|
14055
14151
|
*
|
|
14056
14152
|
*/
|
|
14057
14153
|
export type WebhookPayloadMessageDeliveryStatus = {
|
|
14154
|
+
/**
|
|
14155
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14156
|
+
*/
|
|
14157
|
+
test?: boolean;
|
|
14058
14158
|
/**
|
|
14059
14159
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14060
14160
|
*/
|
|
@@ -14112,6 +14212,10 @@ export type event24 = 'message.delivered' | 'message.read' | 'message.played' |
|
|
|
14112
14212
|
*
|
|
14113
14213
|
*/
|
|
14114
14214
|
export type WebhookPayloadMessageEdited = {
|
|
14215
|
+
/**
|
|
14216
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14217
|
+
*/
|
|
14218
|
+
test?: boolean;
|
|
14115
14219
|
/**
|
|
14116
14220
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14117
14221
|
*/
|
|
@@ -14148,6 +14252,10 @@ export type WebhookPayloadMessageSent = {
|
|
|
14148
14252
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14149
14253
|
*/
|
|
14150
14254
|
id: string;
|
|
14255
|
+
/**
|
|
14256
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14257
|
+
*/
|
|
14258
|
+
test?: boolean;
|
|
14151
14259
|
event: 'message.sent';
|
|
14152
14260
|
message: {
|
|
14153
14261
|
/**
|
|
@@ -14396,6 +14504,10 @@ export type WebhookPayloadPhoneNumberStockAvailable = {
|
|
|
14396
14504
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14397
14505
|
*/
|
|
14398
14506
|
id: string;
|
|
14507
|
+
/**
|
|
14508
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14509
|
+
*/
|
|
14510
|
+
test?: boolean;
|
|
14399
14511
|
event: 'phone_number.stock_available';
|
|
14400
14512
|
stock: {
|
|
14401
14513
|
/**
|
|
@@ -14440,6 +14552,10 @@ export type WebhookPayloadPost = {
|
|
|
14440
14552
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14441
14553
|
*/
|
|
14442
14554
|
id: string;
|
|
14555
|
+
/**
|
|
14556
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14557
|
+
*/
|
|
14558
|
+
test?: boolean;
|
|
14443
14559
|
event: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled';
|
|
14444
14560
|
post: {
|
|
14445
14561
|
id: string;
|
|
@@ -14507,6 +14623,10 @@ export type WebhookPayloadPostPlatform = {
|
|
|
14507
14623
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14508
14624
|
*/
|
|
14509
14625
|
id: string;
|
|
14626
|
+
/**
|
|
14627
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14628
|
+
*/
|
|
14629
|
+
test?: boolean;
|
|
14510
14630
|
event: 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved';
|
|
14511
14631
|
post: {
|
|
14512
14632
|
id: string;
|
|
@@ -14614,6 +14734,10 @@ export type WebhookPayloadReaction = {
|
|
|
14614
14734
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14615
14735
|
*/
|
|
14616
14736
|
id: string;
|
|
14737
|
+
/**
|
|
14738
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14739
|
+
*/
|
|
14740
|
+
test?: boolean;
|
|
14617
14741
|
event: 'reaction.received';
|
|
14618
14742
|
reaction: {
|
|
14619
14743
|
/**
|
|
@@ -14671,6 +14795,10 @@ export type WebhookPayloadReferral = {
|
|
|
14671
14795
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14672
14796
|
*/
|
|
14673
14797
|
id: string;
|
|
14798
|
+
/**
|
|
14799
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14800
|
+
*/
|
|
14801
|
+
test?: boolean;
|
|
14674
14802
|
event: 'referral.received';
|
|
14675
14803
|
/**
|
|
14676
14804
|
* Meta's referral object, forwarded verbatim. Same shape as
|
|
@@ -14743,6 +14871,10 @@ export type WebhookPayloadReviewNew = {
|
|
|
14743
14871
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14744
14872
|
*/
|
|
14745
14873
|
id: string;
|
|
14874
|
+
/**
|
|
14875
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14876
|
+
*/
|
|
14877
|
+
test?: boolean;
|
|
14746
14878
|
event: 'review.new';
|
|
14747
14879
|
review: ReviewWebhookReview;
|
|
14748
14880
|
account: {
|
|
@@ -14776,6 +14908,10 @@ export type WebhookPayloadReviewUpdated = {
|
|
|
14776
14908
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14777
14909
|
*/
|
|
14778
14910
|
id: string;
|
|
14911
|
+
/**
|
|
14912
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14913
|
+
*/
|
|
14914
|
+
test?: boolean;
|
|
14779
14915
|
event: 'review.updated';
|
|
14780
14916
|
review: ReviewWebhookReview;
|
|
14781
14917
|
account: {
|
|
@@ -14796,6 +14932,10 @@ export type WebhookPayloadReviewUpdated = {
|
|
|
14796
14932
|
export type event33 = 'review.updated';
|
|
14797
14933
|
|
|
14798
14934
|
export type WebhookPayloadSequenceEnrollment = {
|
|
14935
|
+
/**
|
|
14936
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14937
|
+
*/
|
|
14938
|
+
test?: boolean;
|
|
14799
14939
|
/**
|
|
14800
14940
|
* Event id, the dedupe key.
|
|
14801
14941
|
*/
|
|
@@ -14829,6 +14969,10 @@ export type event34 = 'sequence.enrolled' | 'sequence.exited';
|
|
|
14829
14969
|
export type exitReason = 'completed' | 'replied' | 'manual' | 'failed' | 'unsubscribed';
|
|
14830
14970
|
|
|
14831
14971
|
export type WebhookPayloadSupportRun = {
|
|
14972
|
+
/**
|
|
14973
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
14974
|
+
*/
|
|
14975
|
+
test?: boolean;
|
|
14832
14976
|
/**
|
|
14833
14977
|
* Event id, the dedupe key.
|
|
14834
14978
|
*/
|
|
@@ -14872,6 +15016,10 @@ export type WebhookPayloadWhatsAppAccountAlertReceived = {
|
|
|
14872
15016
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14873
15017
|
*/
|
|
14874
15018
|
id: string;
|
|
15019
|
+
/**
|
|
15020
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
15021
|
+
*/
|
|
15022
|
+
test?: boolean;
|
|
14875
15023
|
event: 'whatsapp.account.alert_received';
|
|
14876
15024
|
account: {
|
|
14877
15025
|
accountId: string;
|
|
@@ -14925,6 +15073,10 @@ export type WebhookPayloadWhatsAppAccountNameStatusUpdated = {
|
|
|
14925
15073
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14926
15074
|
*/
|
|
14927
15075
|
id: string;
|
|
15076
|
+
/**
|
|
15077
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
15078
|
+
*/
|
|
15079
|
+
test?: boolean;
|
|
14928
15080
|
event: 'whatsapp.account.name_status_updated';
|
|
14929
15081
|
account: {
|
|
14930
15082
|
accountId: string;
|
|
@@ -14975,6 +15127,10 @@ export type WebhookPayloadWhatsAppAccountQualityUpdated = {
|
|
|
14975
15127
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14976
15128
|
*/
|
|
14977
15129
|
id: string;
|
|
15130
|
+
/**
|
|
15131
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
15132
|
+
*/
|
|
15133
|
+
test?: boolean;
|
|
14978
15134
|
event: 'whatsapp.account.quality_updated';
|
|
14979
15135
|
account: {
|
|
14980
15136
|
accountId: string;
|
|
@@ -15028,6 +15184,10 @@ export type WebhookPayloadWhatsAppAccountStatusUpdated = {
|
|
|
15028
15184
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
15029
15185
|
*/
|
|
15030
15186
|
id: string;
|
|
15187
|
+
/**
|
|
15188
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
15189
|
+
*/
|
|
15190
|
+
test?: boolean;
|
|
15031
15191
|
event: 'whatsapp.account.status_updated';
|
|
15032
15192
|
account: {
|
|
15033
15193
|
accountId: string;
|
|
@@ -15101,6 +15261,10 @@ export type WebhookPayloadWhatsAppContactIdentityChanged = {
|
|
|
15101
15261
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
15102
15262
|
*/
|
|
15103
15263
|
id: string;
|
|
15264
|
+
/**
|
|
15265
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
15266
|
+
*/
|
|
15267
|
+
test?: boolean;
|
|
15104
15268
|
event: 'whatsapp.contact.identity_changed';
|
|
15105
15269
|
account: {
|
|
15106
15270
|
accountId: string;
|
|
@@ -15152,6 +15316,10 @@ export type WebhookPayloadWhatsAppTemplateCategoryUpdated = {
|
|
|
15152
15316
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
15153
15317
|
*/
|
|
15154
15318
|
id: string;
|
|
15319
|
+
/**
|
|
15320
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
15321
|
+
*/
|
|
15322
|
+
test?: boolean;
|
|
15155
15323
|
event: 'whatsapp.template.category_updated';
|
|
15156
15324
|
account: {
|
|
15157
15325
|
accountId: string;
|
|
@@ -15238,6 +15406,10 @@ export type WebhookPayloadWhatsAppTemplateStatusUpdated = {
|
|
|
15238
15406
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
15239
15407
|
*/
|
|
15240
15408
|
id: string;
|
|
15409
|
+
/**
|
|
15410
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
15411
|
+
*/
|
|
15412
|
+
test?: boolean;
|
|
15241
15413
|
event: 'whatsapp.template.status_updated';
|
|
15242
15414
|
account: {
|
|
15243
15415
|
accountId: string;
|
|
@@ -15290,6 +15462,10 @@ export type event43 = 'whatsapp.template.status_updated';
|
|
|
15290
15462
|
export type status38 = 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL' | 'PENDING_DELETION';
|
|
15291
15463
|
|
|
15292
15464
|
export type WebhookPayloadWorkflowRun = {
|
|
15465
|
+
/**
|
|
15466
|
+
* Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
|
|
15467
|
+
*/
|
|
15468
|
+
test?: boolean;
|
|
15293
15469
|
/**
|
|
15294
15470
|
* Event id, the dedupe key.
|
|
15295
15471
|
*/
|
|
@@ -26644,6 +26820,10 @@ export type TestWebhookData = {
|
|
|
26644
26820
|
* ID of the webhook to test
|
|
26645
26821
|
*/
|
|
26646
26822
|
webhookId: string;
|
|
26823
|
+
/**
|
|
26824
|
+
* Send a sample payload of this event instead of `webhook.test`. The sample is marked with `test: true`.
|
|
26825
|
+
*/
|
|
26826
|
+
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.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' | 'api.changelog.published';
|
|
26647
26827
|
};
|
|
26648
26828
|
};
|
|
26649
26829
|
|