@getlatedev/node 0.2.1814 → 0.2.1816
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/README.md +7 -1
- package/dist/index.d.mts +176 -52
- package/dist/index.d.ts +176 -52
- package/dist/index.js +43 -1
- package/dist/index.mjs +43 -1
- package/package.json +1 -1
- package/src/client.ts +12 -0
- package/src/generated/sdk.gen.ts +76 -2
- package/src/generated/types.gen.ts +188 -51
|
@@ -4423,7 +4423,7 @@ export type scope = 'full' | 'profiles';
|
|
|
4423
4423
|
export type permission = 'read-write' | 'read';
|
|
4424
4424
|
|
|
4425
4425
|
/**
|
|
4426
|
-
* AppLovin options in platformSpecificData. Campaign fields apply to a new campaign; assets, languages and brandInfo to the creative set (the ad).
|
|
4426
|
+
* Not available yet: an AppLovin create answers 403 `platform_not_available_yet`. AppLovin options in platformSpecificData. Campaign fields apply to a new campaign; assets, languages and brandInfo to the creative set (the ad).
|
|
4427
4427
|
*/
|
|
4428
4428
|
export type AppLovinAdsPlatformData = {
|
|
4429
4429
|
/**
|
|
@@ -9338,6 +9338,52 @@ export type CommerceVariant = {
|
|
|
9338
9338
|
}>;
|
|
9339
9339
|
};
|
|
9340
9340
|
|
|
9341
|
+
export type ConnectCustomDomain = {
|
|
9342
|
+
id: string;
|
|
9343
|
+
/**
|
|
9344
|
+
* The subdomain, such as `connect.yourbrand.com`.
|
|
9345
|
+
*/
|
|
9346
|
+
hostname: string;
|
|
9347
|
+
/**
|
|
9348
|
+
* The registered domain the records live in, such as `yourbrand.com`.
|
|
9349
|
+
*/
|
|
9350
|
+
zone: string;
|
|
9351
|
+
/**
|
|
9352
|
+
* `pending` until the TXT record is found and the certificate is issued, `active` once the domain serves the connect screens, `failed` when it stopped pointing at Zernio (remove it and add it again).
|
|
9353
|
+
*/
|
|
9354
|
+
status: 'pending' | 'active' | 'failed';
|
|
9355
|
+
/**
|
|
9356
|
+
* Whether new connect links open on this domain while it is active.
|
|
9357
|
+
*/
|
|
9358
|
+
connectEnabled: boolean;
|
|
9359
|
+
/**
|
|
9360
|
+
* True once the TXT record was found.
|
|
9361
|
+
*/
|
|
9362
|
+
ownershipVerified: boolean;
|
|
9363
|
+
/**
|
|
9364
|
+
* The DNS records to add at your DNS provider.
|
|
9365
|
+
*/
|
|
9366
|
+
records: Array<{
|
|
9367
|
+
type: 'CNAME' | 'TXT';
|
|
9368
|
+
/**
|
|
9369
|
+
* The full record name.
|
|
9370
|
+
*/
|
|
9371
|
+
name: string;
|
|
9372
|
+
/**
|
|
9373
|
+
* The name relative to `zone`, what most DNS providers ask for.
|
|
9374
|
+
*/
|
|
9375
|
+
host: string;
|
|
9376
|
+
value: string;
|
|
9377
|
+
}>;
|
|
9378
|
+
activatedAt: (string) | null;
|
|
9379
|
+
createdAt: string;
|
|
9380
|
+
};
|
|
9381
|
+
|
|
9382
|
+
/**
|
|
9383
|
+
* `pending` until the TXT record is found and the certificate is issued, `active` once the domain serves the connect screens, `failed` when it stopped pointing at Zernio (remove it and add it again).
|
|
9384
|
+
*/
|
|
9385
|
+
export type status29 = 'pending' | 'active' | 'failed';
|
|
9386
|
+
|
|
9341
9387
|
/**
|
|
9342
9388
|
* An OAuth client (AI assistant / MCP connector) authorized by the user and still
|
|
9343
9389
|
* holding at least one live token.
|
|
@@ -9424,7 +9470,7 @@ export type ConnectHandoff = {
|
|
|
9424
9470
|
} | null;
|
|
9425
9471
|
};
|
|
9426
9472
|
|
|
9427
|
-
export type
|
|
9473
|
+
export type status30 = 'waiting' | 'opened' | 'connected' | 'failed' | 'expired';
|
|
9428
9474
|
|
|
9429
9475
|
/**
|
|
9430
9476
|
* Only with `handoff=true`: the link to show as a QR code.
|
|
@@ -9993,7 +10039,7 @@ export type visibility3 = 'full' | 'limited' | 'none';
|
|
|
9993
10039
|
*/
|
|
9994
10040
|
export type scanMode = 'static' | 'rendered';
|
|
9995
10041
|
|
|
9996
|
-
export type
|
|
10042
|
+
export type status31 = 'detected' | 'likely' | 'not-visible';
|
|
9997
10043
|
|
|
9998
10044
|
export type googleConsentMode = 'v2' | 'v1' | 'not-seen';
|
|
9999
10045
|
|
|
@@ -10037,7 +10083,7 @@ export type ConversionDestination = {
|
|
|
10037
10083
|
* For LinkedIn, `inactive` means the rule is soft-deleted (`enabled: false`).
|
|
10038
10084
|
*
|
|
10039
10085
|
*/
|
|
10040
|
-
export type
|
|
10086
|
+
export type status32 = 'active' | 'inactive';
|
|
10041
10087
|
|
|
10042
10088
|
/**
|
|
10043
10089
|
* A single conversion event to relay to the ad platform. All PII fields
|
|
@@ -10802,7 +10848,7 @@ export type CreatorCampaign = {
|
|
|
10802
10848
|
/**
|
|
10803
10849
|
* draft until activated; active accepts submissions and accrues; paused stops new submissions; closed is final.
|
|
10804
10850
|
*/
|
|
10805
|
-
export type
|
|
10851
|
+
export type status33 = 'draft' | 'active' | 'paused' | 'closed';
|
|
10806
10852
|
|
|
10807
10853
|
/**
|
|
10808
10854
|
* Same as economics.type.
|
|
@@ -11378,7 +11424,7 @@ export type CreatorPortalPayoutSetup = {
|
|
|
11378
11424
|
*/
|
|
11379
11425
|
export type mode5 = 'none' | 'external' | 'treasury';
|
|
11380
11426
|
|
|
11381
|
-
export type
|
|
11427
|
+
export type status34 = 'not_started' | 'pending' | 'enabled' | 'not_applicable';
|
|
11382
11428
|
|
|
11383
11429
|
export type CreatorPortalReferral = {
|
|
11384
11430
|
/**
|
|
@@ -12339,7 +12385,7 @@ export type objective = 'OUTCOME_ENGAGEMENT' | 'OUTCOME_SALES' | 'OUTCOME_LEADS'
|
|
|
12339
12385
|
* `adSetId`, the new ads themselves.
|
|
12340
12386
|
*
|
|
12341
12387
|
*/
|
|
12342
|
-
export type
|
|
12388
|
+
export type status35 = 'ACTIVE' | 'PAUSED';
|
|
12343
12389
|
|
|
12344
12390
|
/**
|
|
12345
12391
|
* Campaign-level status, same semantics as `POST /v1/ads/create`. Defaults to `status`.
|
|
@@ -12754,7 +12800,7 @@ export type privacy_level = 2;
|
|
|
12754
12800
|
/**
|
|
12755
12801
|
* 1=SCHEDULED, 2=ACTIVE, 3=COMPLETED, 4=CANCELED
|
|
12756
12802
|
*/
|
|
12757
|
-
export type
|
|
12803
|
+
export type status36 = 1 | 2 | 3 | 4;
|
|
12758
12804
|
|
|
12759
12805
|
/**
|
|
12760
12806
|
* 1=STAGE_INSTANCE, 2=VOICE, 3=EXTERNAL
|
|
@@ -12928,7 +12974,7 @@ export type EmailClean = {
|
|
|
12928
12974
|
} | null;
|
|
12929
12975
|
};
|
|
12930
12976
|
|
|
12931
|
-
export type
|
|
12977
|
+
export type status37 = 'stripped' | 'unchanged' | 'fallback';
|
|
12932
12978
|
|
|
12933
12979
|
/**
|
|
12934
12980
|
* A draft in the mailbox. Carries the message fields; `id` is the draft id the drafts endpoints take. Store `id`, not `messageId`.
|
|
@@ -13555,7 +13601,7 @@ export type EventCorrection = {
|
|
|
13555
13601
|
/**
|
|
13556
13602
|
* `corrected`: the platform changed its count. `not_supported`: the platform has no API to change a conversion it already counted. `failed`: see `error`.
|
|
13557
13603
|
*/
|
|
13558
|
-
export type
|
|
13604
|
+
export type status38 = 'corrected' | 'not_supported' | 'failed';
|
|
13559
13605
|
|
|
13560
13606
|
export type EventDestination = {
|
|
13561
13607
|
/**
|
|
@@ -14082,7 +14128,7 @@ export type FeedbackReceipt = {
|
|
|
14082
14128
|
duplicate?: boolean;
|
|
14083
14129
|
};
|
|
14084
14130
|
|
|
14085
|
-
export type
|
|
14131
|
+
export type status39 = 'received';
|
|
14086
14132
|
|
|
14087
14133
|
/**
|
|
14088
14134
|
* A file or folder in a connected Google Drive or OneDrive. Ids are the provider's own.
|
|
@@ -14477,7 +14523,7 @@ export type GohighlevelAudienceSync = {
|
|
|
14477
14523
|
}>;
|
|
14478
14524
|
};
|
|
14479
14525
|
|
|
14480
|
-
export type
|
|
14526
|
+
export type status40 = 'syncing' | 'ready' | 'error';
|
|
14481
14527
|
|
|
14482
14528
|
export type GohighlevelAudienceSyncOverview = {
|
|
14483
14529
|
/**
|
|
@@ -14613,7 +14659,7 @@ export type GoogleAdLabel = {
|
|
|
14613
14659
|
description?: (string) | null;
|
|
14614
14660
|
};
|
|
14615
14661
|
|
|
14616
|
-
export type
|
|
14662
|
+
export type status41 = 'ENABLED' | 'REMOVED' | 'UNKNOWN';
|
|
14617
14663
|
|
|
14618
14664
|
/**
|
|
14619
14665
|
* At least one id across the four target lists. Up to 1000 ids per list.
|
|
@@ -14716,7 +14762,7 @@ export type GoogleAdsManagerLink = {
|
|
|
14716
14762
|
/**
|
|
14717
14763
|
* Status the link has after this call.
|
|
14718
14764
|
*/
|
|
14719
|
-
export type
|
|
14765
|
+
export type status42 = 'PENDING' | 'ACTIVE' | 'REFUSED' | 'CANCELED' | 'INACTIVE';
|
|
14720
14766
|
|
|
14721
14767
|
export type GoogleAdsPlatformQueryBody = {
|
|
14722
14768
|
/**
|
|
@@ -14750,7 +14796,7 @@ export type GoogleAdsUserAccessInvitation = {
|
|
|
14750
14796
|
|
|
14751
14797
|
export type accessRole = 'ADMIN' | 'STANDARD' | 'READ_ONLY' | 'EMAIL_ONLY' | 'UNKNOWN';
|
|
14752
14798
|
|
|
14753
|
-
export type
|
|
14799
|
+
export type status43 = 'PENDING' | 'DECLINED' | 'EXPIRED' | 'UNKNOWN';
|
|
14754
14800
|
|
|
14755
14801
|
export type GoogleAdsUserAccessInvitationResult = {
|
|
14756
14802
|
customerId?: string;
|
|
@@ -14774,7 +14820,7 @@ export type GoogleAdsUserAccessInvitationResult = {
|
|
|
14774
14820
|
/**
|
|
14775
14821
|
* PENDING once the email is sent; PENDING_APPROVAL while Google waits for a second admin's multi-party approval.
|
|
14776
14822
|
*/
|
|
14777
|
-
export type
|
|
14823
|
+
export type status44 = 'PENDING' | 'PENDING_APPROVAL';
|
|
14778
14824
|
|
|
14779
14825
|
export type GoogleAdsUserInvitationApproval = {
|
|
14780
14826
|
/**
|
|
@@ -15773,7 +15819,7 @@ export type GoogleRecommendationResult = {
|
|
|
15773
15819
|
error?: string;
|
|
15774
15820
|
};
|
|
15775
15821
|
|
|
15776
|
-
export type
|
|
15822
|
+
export type status45 = 'applied' | 'dismissed' | 'failed';
|
|
15777
15823
|
|
|
15778
15824
|
export type GoogleRsaDescription = {
|
|
15779
15825
|
text: string;
|
|
@@ -16139,7 +16185,7 @@ export type ImessageSandboxContact = {
|
|
|
16139
16185
|
createdAt?: string;
|
|
16140
16186
|
};
|
|
16141
16187
|
|
|
16142
|
-
export type
|
|
16188
|
+
export type status46 = 'pending' | 'active';
|
|
16143
16189
|
|
|
16144
16190
|
/**
|
|
16145
16191
|
* An iMessage sender registered as an account on a profile.
|
|
@@ -16214,7 +16260,7 @@ export type region = 'US' | 'GB';
|
|
|
16214
16260
|
/**
|
|
16215
16261
|
* `awaiting_payment`: the first-month charge is still being confirmed by the card; the number is ordered automatically once it is paid (usually under 5 minutes), or the order fails with `failureReason` when the card declines or nothing confirms within 30 minutes.
|
|
16216
16262
|
*/
|
|
16217
|
-
export type
|
|
16263
|
+
export type status47 = 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
|
|
16218
16264
|
|
|
16219
16265
|
/**
|
|
16220
16266
|
* When inbound messages and comments were first and last seen for the account. Only events matched to this account count. WhatsApp delivery statuses for outbound messages do not count, so the stamps of a number that only sends stay null. The stamps reset on every connect.
|
|
@@ -16513,7 +16559,7 @@ export type InboxWebhookConversation = {
|
|
|
16513
16559
|
contactId?: string;
|
|
16514
16560
|
};
|
|
16515
16561
|
|
|
16516
|
-
export type
|
|
16562
|
+
export type status48 = 'active' | 'archived';
|
|
16517
16563
|
|
|
16518
16564
|
/**
|
|
16519
16565
|
* The conversation object included in conversation lifecycle webhook payloads (conversation.started, conversation.control_changed).
|
|
@@ -19111,7 +19157,7 @@ export type OAuthApp = {
|
|
|
19111
19157
|
/**
|
|
19112
19158
|
* `ok`: the platform accepted the keys at the last check. `unchecked`: the check could not reach a verdict (see lastError). `invalid`: the platform rejected the keys; connects and token refreshes through this app will fail until the secret is rotated.
|
|
19113
19159
|
*/
|
|
19114
|
-
export type
|
|
19160
|
+
export type status49 = 'ok' | 'unchecked' | 'invalid';
|
|
19115
19161
|
|
|
19116
19162
|
export type OAuthAppSetup = {
|
|
19117
19163
|
platform: string;
|
|
@@ -19187,7 +19233,7 @@ export type OrgConnection = {
|
|
|
19187
19233
|
};
|
|
19188
19234
|
};
|
|
19189
19235
|
|
|
19190
|
-
export type
|
|
19236
|
+
export type status50 = 'pending' | 'active' | 'revoked';
|
|
19191
19237
|
|
|
19192
19238
|
export type type28 = 'google_domain_wide_delegation' | 'microsoft_admin_consent';
|
|
19193
19239
|
|
|
@@ -19378,7 +19424,7 @@ export type OwnedPhoneNumber = {
|
|
|
19378
19424
|
}>;
|
|
19379
19425
|
};
|
|
19380
19426
|
|
|
19381
|
-
export type
|
|
19427
|
+
export type status51 = 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
19382
19428
|
|
|
19383
19429
|
export type metaVerificationStatus = 'pending' | 'code_requested' | 'verified' | 'expired';
|
|
19384
19430
|
|
|
@@ -19551,7 +19597,7 @@ export type PayoutBatch = {
|
|
|
19551
19597
|
/**
|
|
19552
19598
|
* `awaiting_payment` until the card charge succeeds (3D Secure included); `paying` during the 7-day card hold and while transfers go out; then `paid`, `partially_failed` (some items failed or were skipped), `failed` (the card was declined, or none paid) or `expired` (the payment was cancelled unpaid, every amount is payable again).
|
|
19553
19599
|
*/
|
|
19554
|
-
export type
|
|
19600
|
+
export type status52 = 'awaiting_payment' | 'paying' | 'paid' | 'partially_failed' | 'failed' | 'expired';
|
|
19555
19601
|
|
|
19556
19602
|
export type method4 = 'card';
|
|
19557
19603
|
|
|
@@ -19594,7 +19640,7 @@ export type PayoutBatchItem = {
|
|
|
19594
19640
|
/**
|
|
19595
19641
|
* `skipped`: payout setup not finished, or the card payment never completed. `failed`: Stripe refused the transfer. `refunded`: failed or skipped after the card hold; its payout, fee and VAT on the fee went back to the card through a credit note. The amount is payable again in every case.
|
|
19596
19642
|
*/
|
|
19597
|
-
export type
|
|
19643
|
+
export type status53 = 'pending' | 'paid' | 'failed' | 'skipped' | 'refunded';
|
|
19598
19644
|
|
|
19599
19645
|
export type PhoneNumberStockWatch = {
|
|
19600
19646
|
id: string;
|
|
@@ -19712,7 +19758,7 @@ export type PlatformAnalytics = {
|
|
|
19712
19758
|
isOwner?: (boolean) | null;
|
|
19713
19759
|
};
|
|
19714
19760
|
|
|
19715
|
-
export type
|
|
19761
|
+
export type status54 = 'published' | 'failed';
|
|
19716
19762
|
|
|
19717
19763
|
/**
|
|
19718
19764
|
* Sync state of analytics for this platform
|
|
@@ -20010,7 +20056,7 @@ export type Post = {
|
|
|
20010
20056
|
/**
|
|
20011
20057
|
* `cancelled` is set by POST /v1/posts/{postId}/unpublish once every platform entry has been removed from its platform (a post with published entries left becomes `partial`); cancelled posts can be edited and rescheduled like drafts. `pending_approval` (set by `requiresApproval: true`) never publishes until POST /v1/posts/{postId}/review approves it.
|
|
20012
20058
|
*/
|
|
20013
|
-
export type
|
|
20059
|
+
export type status55 = 'draft' | 'pending_approval' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
|
|
20014
20060
|
|
|
20015
20061
|
export type visibility5 = 'public' | 'private' | 'unlisted';
|
|
20016
20062
|
|
|
@@ -20704,7 +20750,7 @@ export type Product = {
|
|
|
20704
20750
|
publishedAt?: (string) | null;
|
|
20705
20751
|
};
|
|
20706
20752
|
|
|
20707
|
-
export type
|
|
20753
|
+
export type status56 = 'active' | 'draft' | 'archived';
|
|
20708
20754
|
|
|
20709
20755
|
export type ProductImage = {
|
|
20710
20756
|
url?: string;
|
|
@@ -21004,7 +21050,7 @@ export type RcsAgent = {
|
|
|
21004
21050
|
createdAt?: string;
|
|
21005
21051
|
};
|
|
21006
21052
|
|
|
21007
|
-
export type
|
|
21053
|
+
export type status57 = 'requested' | 'changes_requested' | 'brand_vetting' | 'agent_review' | 'testing' | 'launch_review' | 'launching' | 'live' | 'rejected' | 'deactivated';
|
|
21008
21054
|
|
|
21009
21055
|
export type useCase = 'MULTI_USE' | 'PROMOTIONAL' | 'TRANSACTIONAL' | 'OTP';
|
|
21010
21056
|
|
|
@@ -21056,7 +21102,7 @@ export type RcsBrand = RcsBrandInput & {
|
|
|
21056
21102
|
/**
|
|
21057
21103
|
* draft = not filed yet (still editable).
|
|
21058
21104
|
*/
|
|
21059
|
-
export type
|
|
21105
|
+
export type status58 = 'draft' | 'vetting' | 'verified' | 'rejected';
|
|
21060
21106
|
|
|
21061
21107
|
export type RcsBrandInput = {
|
|
21062
21108
|
displayName: string;
|
|
@@ -21143,7 +21189,7 @@ export type RcsCarrierApproval = {
|
|
|
21143
21189
|
|
|
21144
21190
|
export type scope3 = 'carrier' | 'hub' | 'bot';
|
|
21145
21191
|
|
|
21146
|
-
export type
|
|
21192
|
+
export type status59 = 'PENDING' | 'SUBMITTED' | 'APPROVED' | 'REJECTED';
|
|
21147
21193
|
|
|
21148
21194
|
/**
|
|
21149
21195
|
* Message content. `suggestions` (max 11) render as chips under the message.
|
|
@@ -21835,7 +21881,7 @@ export type ScheduledEmail = {
|
|
|
21835
21881
|
createdAt?: string;
|
|
21836
21882
|
};
|
|
21837
21883
|
|
|
21838
|
-
export type
|
|
21884
|
+
export type status60 = 'scheduled' | 'sending' | 'sent' | 'failed' | 'cancelled';
|
|
21839
21885
|
|
|
21840
21886
|
export type SendEmailRequest = {
|
|
21841
21887
|
accountId: string;
|
|
@@ -22322,7 +22368,7 @@ export type type32 = 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campai
|
|
|
22322
22368
|
* - `failed`: not applied. `error` says why.
|
|
22323
22369
|
*
|
|
22324
22370
|
*/
|
|
22325
|
-
export type
|
|
22371
|
+
export type status61 = 'staged' | 'confirming' | 'confirmed' | 'failed';
|
|
22326
22372
|
|
|
22327
22373
|
/**
|
|
22328
22374
|
* A staged ad change as the list returns it: what it targets and who staged it, without the diff.
|
|
@@ -22621,7 +22667,7 @@ export type SupportRun = {
|
|
|
22621
22667
|
/**
|
|
22622
22668
|
* queued and running are in progress. needs_human means the assistant handed the question to a person instead of answering; when `supportTicket` is set, a Zernio teammate has been notified and will follow up by email.
|
|
22623
22669
|
*/
|
|
22624
|
-
export type
|
|
22670
|
+
export type status62 = 'queued' | 'running' | 'completed' | 'needs_human' | 'failed';
|
|
22625
22671
|
|
|
22626
22672
|
/**
|
|
22627
22673
|
* Why the run stopped. Null while it is in progress.
|
|
@@ -23589,7 +23635,7 @@ export type TrackingSite = {
|
|
|
23589
23635
|
updatedAt?: string;
|
|
23590
23636
|
};
|
|
23591
23637
|
|
|
23592
|
-
export type
|
|
23638
|
+
export type status63 = 'active' | 'paused' | 'removing';
|
|
23593
23639
|
|
|
23594
23640
|
/**
|
|
23595
23641
|
* How the tag is installed. `snippet` means you paste it.
|
|
@@ -23916,7 +23962,7 @@ export type TrackingWindow = {
|
|
|
23916
23962
|
} | null;
|
|
23917
23963
|
};
|
|
23918
23964
|
|
|
23919
|
-
export type
|
|
23965
|
+
export type status64 = 'open' | 'completing' | 'completed' | 'cancelled';
|
|
23920
23966
|
|
|
23921
23967
|
/**
|
|
23922
23968
|
* How the window closed. Null while it is open.
|
|
@@ -24010,7 +24056,7 @@ export type purpose = 'balance' | 'payout_batch';
|
|
|
24010
24056
|
/**
|
|
24011
24057
|
* `pending` until the card is charged (or 3D Secure is finished) and credited. `expired` means it ended unpaid: cancelled, or 3D Secure left unfinished for 30 minutes. Only `pending` counts toward pendingTopupCents.
|
|
24012
24058
|
*/
|
|
24013
|
-
export type
|
|
24059
|
+
export type status65 = 'pending' | 'succeeded' | 'failed' | 'expired';
|
|
24014
24060
|
|
|
24015
24061
|
export type TreasuryTransfer = {
|
|
24016
24062
|
id?: string;
|
|
@@ -24051,7 +24097,7 @@ export type TreasuryTransfer = {
|
|
|
24051
24097
|
|
|
24052
24098
|
export type destinationType = 'creator' | 'ad_account';
|
|
24053
24099
|
|
|
24054
|
-
export type
|
|
24100
|
+
export type status66 = 'pending' | 'paid' | 'failed' | 'reversed';
|
|
24055
24101
|
|
|
24056
24102
|
/**
|
|
24057
24103
|
* X-specific post options. The article field creates a long-form X Article and is mutually exclusive with tweet media and tweet-only options. Geo-restriction applies at the media level: media is hidden outside the specified countries while tweet text remains visible.
|
|
@@ -24242,7 +24288,7 @@ export type UploadTokenResponse = {
|
|
|
24242
24288
|
status?: 'pending' | 'completed' | 'expired';
|
|
24243
24289
|
};
|
|
24244
24290
|
|
|
24245
|
-
export type
|
|
24291
|
+
export type status67 = 'pending' | 'completed' | 'expired';
|
|
24246
24292
|
|
|
24247
24293
|
export type UploadTokenStatusResponse = {
|
|
24248
24294
|
token?: string;
|
|
@@ -24810,7 +24856,7 @@ export type Verification = {
|
|
|
24810
24856
|
resend?: boolean;
|
|
24811
24857
|
};
|
|
24812
24858
|
|
|
24813
|
-
export type
|
|
24859
|
+
export type status68 = 'pending' | 'approved' | 'expired' | 'max_attempts_reached' | 'canceled' | 'delivery_failed';
|
|
24814
24860
|
|
|
24815
24861
|
export type channel6 = 'sms' | 'whatsapp';
|
|
24816
24862
|
|
|
@@ -25069,7 +25115,7 @@ export type WebhookLog = {
|
|
|
25069
25115
|
/**
|
|
25070
25116
|
* Delivery outcome
|
|
25071
25117
|
*/
|
|
25072
|
-
export type
|
|
25118
|
+
export type status69 = 'success' | 'failed';
|
|
25073
25119
|
|
|
25074
25120
|
/**
|
|
25075
25121
|
* Webhook payload for `account.ads.initial_sync_completed` events.
|
|
@@ -25183,7 +25229,7 @@ export type event = 'account.ads.initial_sync_completed';
|
|
|
25183
25229
|
/**
|
|
25184
25230
|
* Overall outcome of the initial sync.
|
|
25185
25231
|
*/
|
|
25186
|
-
export type
|
|
25232
|
+
export type status70 = 'success' | 'failure';
|
|
25187
25233
|
|
|
25188
25234
|
/**
|
|
25189
25235
|
* Stable category for UX branching. New values may be added; existing ones are stable.
|
|
@@ -25866,7 +25912,7 @@ export type WebhookPayloadAdReview = {
|
|
|
25866
25912
|
|
|
25867
25913
|
export type event14 = 'ad.review.approved' | 'ad.review.rejected';
|
|
25868
25914
|
|
|
25869
|
-
export type
|
|
25915
|
+
export type status71 = 'approved' | 'rejected';
|
|
25870
25916
|
|
|
25871
25917
|
/**
|
|
25872
25918
|
* Webhook payload for the `ad_rule.triggered` event.
|
|
@@ -26437,7 +26483,7 @@ export type event20 = 'ad.video.processed';
|
|
|
26437
26483
|
/**
|
|
26438
26484
|
* `ready`: usable as `video.id` on the create endpoints. `error`: Meta could not process it; upload again.
|
|
26439
26485
|
*/
|
|
26440
|
-
export type
|
|
26486
|
+
export type status72 = 'ready' | 'error';
|
|
26441
26487
|
|
|
26442
26488
|
/**
|
|
26443
26489
|
* Webhook payload for `analytics.synced`. Fired once per connected account each time its analytics sync cycle completes successfully. Poll-driven (roughly hourly per account), not real-time, and never fired for a skipped or failed cycle.
|
|
@@ -26578,7 +26624,7 @@ export type WebhookPayloadAutomationAction = {
|
|
|
26578
26624
|
|
|
26579
26625
|
export type event23 = 'automation.action.applied' | 'automation.action.failed' | 'automation.action.unknown';
|
|
26580
26626
|
|
|
26581
|
-
export type
|
|
26627
|
+
export type status73 = 'applied' | 'skipped' | 'failed' | 'unknown';
|
|
26582
26628
|
|
|
26583
26629
|
/**
|
|
26584
26630
|
* Webhook payload for `automation.alert.opened`, `automation.alert.escalated` and `automation.alert.resolved`: an alert episode of an automation with a lifecycle (an ad rule's `lifecycle`).
|
|
@@ -30423,7 +30469,7 @@ export type event79 = 'post.platform.published' | 'post.platform.failed' | 'post
|
|
|
30423
30469
|
/**
|
|
30424
30470
|
* Terminal status this event fires on. Matches the event suffix.
|
|
30425
30471
|
*/
|
|
30426
|
-
export type
|
|
30472
|
+
export type status74 = 'published' | 'failed' | 'deleted';
|
|
30427
30473
|
|
|
30428
30474
|
/**
|
|
30429
30475
|
* Webhook payload for `post.tracking_completed`. Fired once when a post's tracking window ends and its final analytics read has run.
|
|
@@ -31017,7 +31063,7 @@ export type event92 = 'whatsapp.account.name_status_updated';
|
|
|
31017
31063
|
/**
|
|
31018
31064
|
* Normalized from Meta's `decision` (REJECTED -> DECLINED, DEFERRED -> PENDING_REVIEW; the review is still open on DEFERRED, not a rejection).
|
|
31019
31065
|
*/
|
|
31020
|
-
export type
|
|
31066
|
+
export type status75 = 'APPROVED' | 'DECLINED' | 'PENDING_REVIEW';
|
|
31021
31067
|
|
|
31022
31068
|
/**
|
|
31023
31069
|
* Webhook payload for `whatsapp.account.quality_updated`. Fired when a connected
|
|
@@ -31151,7 +31197,7 @@ export type event94 = 'whatsapp.account.status_updated';
|
|
|
31151
31197
|
/**
|
|
31152
31198
|
* `active` only on a reinstatement (DISABLED_UPDATE with ban state REINSTATE).
|
|
31153
31199
|
*/
|
|
31154
|
-
export type
|
|
31200
|
+
export type status76 = 'restricted' | 'active';
|
|
31155
31201
|
|
|
31156
31202
|
/**
|
|
31157
31203
|
* Webhook payload for the `whatsapp.contact.identity_changed` event. Fired when
|
|
@@ -31367,7 +31413,7 @@ export type event97 = 'whatsapp.template.status_updated';
|
|
|
31367
31413
|
* request before the template is actually removed.
|
|
31368
31414
|
*
|
|
31369
31415
|
*/
|
|
31370
|
-
export type
|
|
31416
|
+
export type status77 = 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL' | 'PENDING_DELETION';
|
|
31371
31417
|
|
|
31372
31418
|
export type WebhookPayloadWorkflowRun = {
|
|
31373
31419
|
/**
|
|
@@ -31431,7 +31477,7 @@ export type event98 = 'workflow.run.started' | 'workflow.run.completed' | 'workf
|
|
|
31431
31477
|
/**
|
|
31432
31478
|
* 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.
|
|
31433
31479
|
*/
|
|
31434
|
-
export type
|
|
31480
|
+
export type status78 = 'running' | 'waiting' | 'completed' | 'exited' | 'failed';
|
|
31435
31481
|
|
|
31436
31482
|
/**
|
|
31437
31483
|
* The profiles this event belongs to, each with the externalId you set on it (null when none is set). Use it to route the event to your tenant without storing Zernio profile ids.
|
|
@@ -31835,7 +31881,7 @@ export type WorkflowExecutionEvent = {
|
|
|
31835
31881
|
|
|
31836
31882
|
export type action3 = 'execution_started' | 'execution_completed' | 'execution_exited' | 'execution_paused' | 'execution_resumed' | 'node_started' | 'node_completed' | 'node_failed' | 'node_skipped';
|
|
31837
31883
|
|
|
31838
|
-
export type
|
|
31884
|
+
export type status79 = 'success' | 'failed' | 'pending';
|
|
31839
31885
|
|
|
31840
31886
|
/**
|
|
31841
31887
|
* A node in a workflow graph. `config` shape depends on `type`.
|
|
@@ -44699,6 +44745,96 @@ export type UpdateConnectWelcomeScreenResponse = (ConnectWelcomeScreen);
|
|
|
44699
44745
|
|
|
44700
44746
|
export type UpdateConnectWelcomeScreenError = (ErrorResponse | unknown);
|
|
44701
44747
|
|
|
44748
|
+
export type ListConnectCustomDomainsResponse = ({
|
|
44749
|
+
customDomains: Array<ConnectCustomDomain>;
|
|
44750
|
+
});
|
|
44751
|
+
|
|
44752
|
+
export type ListConnectCustomDomainsError = (ErrorResponse);
|
|
44753
|
+
|
|
44754
|
+
export type CreateConnectCustomDomainData = {
|
|
44755
|
+
body: {
|
|
44756
|
+
/**
|
|
44757
|
+
* A subdomain, never the domain itself: `connect.yourbrand.com`.
|
|
44758
|
+
*/
|
|
44759
|
+
hostname: string;
|
|
44760
|
+
};
|
|
44761
|
+
};
|
|
44762
|
+
|
|
44763
|
+
export type CreateConnectCustomDomainResponse = ({
|
|
44764
|
+
customDomain: ConnectCustomDomain;
|
|
44765
|
+
});
|
|
44766
|
+
|
|
44767
|
+
export type CreateConnectCustomDomainError = (ErrorResponse | unknown);
|
|
44768
|
+
|
|
44769
|
+
export type GetConnectCustomDomainData = {
|
|
44770
|
+
path: {
|
|
44771
|
+
/**
|
|
44772
|
+
* The custom domain's id.
|
|
44773
|
+
*/
|
|
44774
|
+
domainId: string;
|
|
44775
|
+
};
|
|
44776
|
+
};
|
|
44777
|
+
|
|
44778
|
+
export type GetConnectCustomDomainResponse = ({
|
|
44779
|
+
customDomain: ConnectCustomDomain;
|
|
44780
|
+
});
|
|
44781
|
+
|
|
44782
|
+
export type GetConnectCustomDomainError = (ErrorResponse | {
|
|
44783
|
+
error?: string;
|
|
44784
|
+
});
|
|
44785
|
+
|
|
44786
|
+
export type UpdateConnectCustomDomainData = {
|
|
44787
|
+
body: {
|
|
44788
|
+
connectEnabled: boolean;
|
|
44789
|
+
};
|
|
44790
|
+
path: {
|
|
44791
|
+
/**
|
|
44792
|
+
* The custom domain's id.
|
|
44793
|
+
*/
|
|
44794
|
+
domainId: string;
|
|
44795
|
+
};
|
|
44796
|
+
};
|
|
44797
|
+
|
|
44798
|
+
export type UpdateConnectCustomDomainResponse = ({
|
|
44799
|
+
customDomain: ConnectCustomDomain;
|
|
44800
|
+
});
|
|
44801
|
+
|
|
44802
|
+
export type UpdateConnectCustomDomainError = (ErrorResponse | unknown | {
|
|
44803
|
+
error?: string;
|
|
44804
|
+
});
|
|
44805
|
+
|
|
44806
|
+
export type DeleteConnectCustomDomainData = {
|
|
44807
|
+
path: {
|
|
44808
|
+
/**
|
|
44809
|
+
* The custom domain's id.
|
|
44810
|
+
*/
|
|
44811
|
+
domainId: string;
|
|
44812
|
+
};
|
|
44813
|
+
};
|
|
44814
|
+
|
|
44815
|
+
export type DeleteConnectCustomDomainResponse = (void);
|
|
44816
|
+
|
|
44817
|
+
export type DeleteConnectCustomDomainError = (ErrorResponse | unknown | {
|
|
44818
|
+
error?: string;
|
|
44819
|
+
});
|
|
44820
|
+
|
|
44821
|
+
export type VerifyConnectCustomDomainData = {
|
|
44822
|
+
path: {
|
|
44823
|
+
/**
|
|
44824
|
+
* The custom domain's id.
|
|
44825
|
+
*/
|
|
44826
|
+
domainId: string;
|
|
44827
|
+
};
|
|
44828
|
+
};
|
|
44829
|
+
|
|
44830
|
+
export type VerifyConnectCustomDomainResponse = ({
|
|
44831
|
+
customDomain: ConnectCustomDomain;
|
|
44832
|
+
});
|
|
44833
|
+
|
|
44834
|
+
export type VerifyConnectCustomDomainError = (ErrorResponse | {
|
|
44835
|
+
error?: string;
|
|
44836
|
+
});
|
|
44837
|
+
|
|
44702
44838
|
export type ListOAuthAppsData = {
|
|
44703
44839
|
query?: {
|
|
44704
44840
|
/**
|
|
@@ -79356,6 +79492,7 @@ export type CreateStandaloneAdData = {
|
|
|
79356
79492
|
*
|
|
79357
79493
|
* **AppLovin**
|
|
79358
79494
|
*
|
|
79495
|
+
* - Not available yet: AppLovin has not given Zernio access to its Campaign Management API, so an AppLovin create or change answers 403 `platform_not_available_yet`.
|
|
79359
79496
|
* - A new campaign needs `campaignType` (`APP` or `WEB`), the goal and, for an app, `os`, `packageName` and `tracking`. With `existingCampaignId`, only the creative set fields (`assets`, `languages`, `brandInfo`) apply.
|
|
79360
79497
|
* - Zernio checks every documented AppLovin rule (goal value limits, ROAS day targets, US-only regions and metros, the asset combination, brand info lengths) before calling AppLovin, because 100 refused calls in five minutes lock the AppLovin account for a day. `validateOnly` runs those checks and calls nothing.
|
|
79361
79498
|
*
|