@getlatedev/node 0.2.1772 → 0.2.1774
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 +1 -0
- package/dist/index.d.mts +159 -22
- package/dist/index.d.ts +159 -22
- package/dist/index.js +8 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
- package/src/client.ts +2 -0
- package/src/generated/sdk.gen.ts +21 -1
- package/src/generated/types.gen.ts +163 -21
|
@@ -5046,6 +5046,49 @@ export type AutomationControls = {
|
|
|
5046
5046
|
*/
|
|
5047
5047
|
export type AutomationDefinition = AdRuleAutomationDefinition | EventAutomationDefinition | ScheduledAutomationDefinition | SequenceAutomationDefinition | CommentAutomationDefinition | FlowAutomationDefinition;
|
|
5048
5048
|
|
|
5049
|
+
/**
|
|
5050
|
+
* A step of an event automation that acts on its own. `messages.send`, `contacts.tag` and `sequences.enroll` need an event about a conversation or a call: they act on that person.
|
|
5051
|
+
*
|
|
5052
|
+
* `workflows.start` also takes an order event, reaching its customer by the phone the store holds. A step that does not fit its event is refused at its `type`.
|
|
5053
|
+
*
|
|
5054
|
+
* Only `webhook.call` and `notify.send` run on `message.sent` and `message.failed`, which an automation's own messages fire.
|
|
5055
|
+
*
|
|
5056
|
+
*/
|
|
5057
|
+
export type AutomationEventActionStep = {
|
|
5058
|
+
id?: string;
|
|
5059
|
+
type: "messages.send";
|
|
5060
|
+
text: string;
|
|
5061
|
+
} | {
|
|
5062
|
+
id?: string;
|
|
5063
|
+
type: "workflows.start";
|
|
5064
|
+
workflowId: string;
|
|
5065
|
+
} | {
|
|
5066
|
+
id?: string;
|
|
5067
|
+
type: "sequences.enroll";
|
|
5068
|
+
sequenceId: string;
|
|
5069
|
+
} | {
|
|
5070
|
+
id?: string;
|
|
5071
|
+
type: "webhook.call";
|
|
5072
|
+
url: string;
|
|
5073
|
+
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
5074
|
+
headers?: {
|
|
5075
|
+
[key: string]: (string);
|
|
5076
|
+
};
|
|
5077
|
+
/**
|
|
5078
|
+
* May read `{{event.<fact>}}`.
|
|
5079
|
+
*/
|
|
5080
|
+
body?: string;
|
|
5081
|
+
} | {
|
|
5082
|
+
id?: string;
|
|
5083
|
+
type: "contacts.tag";
|
|
5084
|
+
action: 'add' | 'remove';
|
|
5085
|
+
tag: string;
|
|
5086
|
+
};
|
|
5087
|
+
|
|
5088
|
+
export type method2 = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
5089
|
+
|
|
5090
|
+
export type action = 'add' | 'remove';
|
|
5091
|
+
|
|
5049
5092
|
/**
|
|
5050
5093
|
* The limits of an event or scheduled automation.
|
|
5051
5094
|
*/
|
|
@@ -5383,7 +5426,7 @@ export type AutomationRunDetail = AutomationRun & {
|
|
|
5383
5426
|
};
|
|
5384
5427
|
|
|
5385
5428
|
export type AutomationRunResult = {
|
|
5386
|
-
type: 'notify.send' | 'ads.boost_post';
|
|
5429
|
+
type: 'notify.send' | 'ads.boost_post' | 'messages.send' | 'workflows.start' | 'sequences.enroll' | 'webhook.call' | 'contacts.tag';
|
|
5387
5430
|
/**
|
|
5388
5431
|
* `unknown` when the platform never answered, so the outcome is not known.
|
|
5389
5432
|
*/
|
|
@@ -5391,7 +5434,7 @@ export type AutomationRunResult = {
|
|
|
5391
5434
|
reason: (string) | null;
|
|
5392
5435
|
};
|
|
5393
5436
|
|
|
5394
|
-
export type type7 = 'notify.send' | 'ads.boost_post';
|
|
5437
|
+
export type type7 = 'notify.send' | 'ads.boost_post' | 'messages.send' | 'workflows.start' | 'sequences.enroll' | 'webhook.call' | 'contacts.tag';
|
|
5395
5438
|
|
|
5396
5439
|
/**
|
|
5397
5440
|
* When an ad rule runs: `every` an interval or at set weekly `times` (send one), optionally only between `startsAt` and `endsAt` and never inside `quietHours`. Times and quiet hours are in the ad account timezone.
|
|
@@ -8544,7 +8587,7 @@ export type CommerceDiscount = {
|
|
|
8544
8587
|
|
|
8545
8588
|
export type platform7 = 'shopify';
|
|
8546
8589
|
|
|
8547
|
-
export type
|
|
8590
|
+
export type method3 = 'code' | 'automatic';
|
|
8548
8591
|
|
|
8549
8592
|
export type type14 = 'percentage' | 'fixed_amount' | 'free_shipping' | 'buy_x_get_y' | 'app';
|
|
8550
8593
|
|
|
@@ -10111,6 +10154,10 @@ export type ConversionEvent = {
|
|
|
10111
10154
|
* Taboola click ID (the `tblci` URL param Taboola adds to ad clicks with its `{click_id}` macro). Sent to Taboola as `click-id`, not hashed.
|
|
10112
10155
|
*/
|
|
10113
10156
|
tblci?: string;
|
|
10157
|
+
/**
|
|
10158
|
+
* Outbrain click ID (the `ob_click_id` URL param, filled by the `{{ob_click_id}}` macro you add to the campaign's Track box). Sent to Outbrain as `ob_click_id`, not hashed.
|
|
10159
|
+
*/
|
|
10160
|
+
ob_click_id?: string;
|
|
10114
10161
|
/**
|
|
10115
10162
|
* Impact partner click id (the `irclickid` URL param Impact adds to partner links). Sent to Impact as `ClickId`.
|
|
10116
10163
|
*/
|
|
@@ -13322,12 +13369,15 @@ export type EventAutomationCheck = {
|
|
|
13322
13369
|
[key: string]: unknown;
|
|
13323
13370
|
} | null;
|
|
13324
13371
|
filter: Array<AutomationFactResult>;
|
|
13372
|
+
/**
|
|
13373
|
+
* One per step, in order, with what it did. A step refused for good, such as a closed WhatsApp window, is `skipped` with its reason.
|
|
13374
|
+
*/
|
|
13325
13375
|
actions: Array<AutomationRunResult>;
|
|
13326
13376
|
error: (string) | null;
|
|
13327
13377
|
};
|
|
13328
13378
|
|
|
13329
13379
|
/**
|
|
13330
|
-
* Runs when something happens in Zernio, such as a post failing, and
|
|
13380
|
+
* Runs when something happens in Zernio, such as a post failing or a call missed: it notifies, messages the person, starts a flow, and more. Unknown fields are refused.
|
|
13331
13381
|
*/
|
|
13332
13382
|
export type EventAutomationDefinition = {
|
|
13333
13383
|
name: string;
|
|
@@ -13339,7 +13389,7 @@ export type EventAutomationDefinition = {
|
|
|
13339
13389
|
/**
|
|
13340
13390
|
* May be empty: an automation with no steps only records each event it matches as a check with outcome `triggered` and no action. `limits.cooldown` and `limits.maxChangesPerDay` count actions, so they do nothing for it.
|
|
13341
13391
|
*/
|
|
13342
|
-
steps: Array<AutomationNotifyStep>;
|
|
13392
|
+
steps: Array<(AutomationNotifyStep | AutomationEventActionStep)>;
|
|
13343
13393
|
limits?: AutomationEventLimits;
|
|
13344
13394
|
};
|
|
13345
13395
|
|
|
@@ -19373,7 +19423,7 @@ export type PayoutBatch = {
|
|
|
19373
19423
|
*/
|
|
19374
19424
|
export type status50 = 'awaiting_payment' | 'paying' | 'paid' | 'partially_failed' | 'failed' | 'expired';
|
|
19375
19425
|
|
|
19376
|
-
export type
|
|
19426
|
+
export type method4 = 'card';
|
|
19377
19427
|
|
|
19378
19428
|
export type PayoutBatchItem = {
|
|
19379
19429
|
id: string;
|
|
@@ -21850,7 +21900,7 @@ export type contentType3 = 'story' | 'saved_story' | 'spotlight';
|
|
|
21850
21900
|
|
|
21851
21901
|
export type SocialAccount = {
|
|
21852
21902
|
_id: string;
|
|
21853
|
-
platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'google' | 'microsoft' | 'imap' | 'hubspot' | 'salesforce' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads' | 'line' | 'wechat' | 'googletagmanager' | 'stripe' | 'googlesearchconsole' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads' | 'gohighlevel';
|
|
21903
|
+
platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'google' | 'microsoft' | 'imap' | 'hubspot' | 'salesforce' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads' | 'line' | 'wechat' | 'googletagmanager' | 'stripe' | 'googlesearchconsole' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads' | 'gohighlevel';
|
|
21854
21904
|
profileId: (string | Profile);
|
|
21855
21905
|
username?: string;
|
|
21856
21906
|
displayName?: string;
|
|
@@ -21996,7 +22046,7 @@ export type SocialAccount = {
|
|
|
21996
22046
|
};
|
|
21997
22047
|
};
|
|
21998
22048
|
|
|
21999
|
-
export type platform18 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'google' | 'microsoft' | 'imap' | 'hubspot' | 'salesforce' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads' | 'line' | 'wechat' | 'googletagmanager' | 'stripe' | 'googlesearchconsole' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads' | 'gohighlevel';
|
|
22049
|
+
export type platform18 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'google' | 'microsoft' | 'imap' | 'hubspot' | 'salesforce' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads' | 'line' | 'wechat' | 'googletagmanager' | 'stripe' | 'googlesearchconsole' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads' | 'gohighlevel';
|
|
22000
22050
|
|
|
22001
22051
|
/**
|
|
22002
22052
|
* TikTok accounts only. The account type TikTok reported when the account was connected.
|
|
@@ -22182,7 +22232,7 @@ export type StorePixelInstall = {
|
|
|
22182
22232
|
/**
|
|
22183
22233
|
* WordPress only.
|
|
22184
22234
|
*/
|
|
22185
|
-
export type
|
|
22235
|
+
export type method5 = 'wordpress_widget';
|
|
22186
22236
|
|
|
22187
22237
|
export type StripeSettings = {
|
|
22188
22238
|
/**
|
|
@@ -23235,7 +23285,7 @@ export type status60 = 'active' | 'paused' | 'removing';
|
|
|
23235
23285
|
/**
|
|
23236
23286
|
* How the tag is installed. `snippet` means you paste it.
|
|
23237
23287
|
*/
|
|
23238
|
-
export type
|
|
23288
|
+
export type method6 = 'shopify' | 'wordpress' | 'wix' | 'webflow' | 'snippet';
|
|
23239
23289
|
|
|
23240
23290
|
export type type32 = 'CNAME';
|
|
23241
23291
|
|
|
@@ -23633,7 +23683,7 @@ export type TreasuryTopup = {
|
|
|
23633
23683
|
bonusCents?: (number) | null;
|
|
23634
23684
|
};
|
|
23635
23685
|
|
|
23636
|
-
export type
|
|
23686
|
+
export type method7 = 'card' | 'bank_transfer';
|
|
23637
23687
|
|
|
23638
23688
|
/**
|
|
23639
23689
|
* `balance` funds your balance; `payout_batch` is the card payment of one payout batch, which pays its creators directly.
|
|
@@ -30165,7 +30215,7 @@ export type WebhookPayloadReaction = {
|
|
|
30165
30215
|
|
|
30166
30216
|
export type event81 = 'reaction.received';
|
|
30167
30217
|
|
|
30168
|
-
export type
|
|
30218
|
+
export type action2 = 'added' | 'removed';
|
|
30169
30219
|
|
|
30170
30220
|
/**
|
|
30171
30221
|
* Webhook payload for referral received events (Instagram, Facebook Messenger)
|
|
@@ -31438,7 +31488,7 @@ export type WorkflowExecutionEvent = {
|
|
|
31438
31488
|
at?: string;
|
|
31439
31489
|
};
|
|
31440
31490
|
|
|
31441
|
-
export type
|
|
31491
|
+
export type action3 = 'execution_started' | 'execution_completed' | 'execution_exited' | 'execution_paused' | 'execution_resumed' | 'node_started' | 'node_completed' | 'node_failed' | 'node_skipped';
|
|
31442
31492
|
|
|
31443
31493
|
export type status76 = 'success' | 'failed' | 'pending';
|
|
31444
31494
|
|
|
@@ -38791,7 +38841,7 @@ export type GetAllAccountsHealthData = {
|
|
|
38791
38841
|
/**
|
|
38792
38842
|
* Filter by platform
|
|
38793
38843
|
*/
|
|
38794
|
-
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'microsoftads' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'hubspot' | 'salesforce' | 'gohighlevel' | 'webflow' | 'googleanalytics' | 'line' | 'wechat' | 'googletagmanager' | 'googlesearchconsole' | 'stripe' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads';
|
|
38844
|
+
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'microsoftads' | 'whopads' | 'applovinads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'hubspot' | 'salesforce' | 'gohighlevel' | 'webflow' | 'googleanalytics' | 'line' | 'wechat' | 'googletagmanager' | 'googlesearchconsole' | 'stripe' | 'campaignmanager360' | 'tradedeskads' | 'tradedeskdsp' | 'amazonads';
|
|
38795
38845
|
/**
|
|
38796
38846
|
* Filter by profile ID
|
|
38797
38847
|
*/
|
|
@@ -45821,6 +45871,95 @@ export type ConnectTaboolaAdsCredentialsError = (ErrorResponse | {
|
|
|
45821
45871
|
};
|
|
45822
45872
|
} | unknown);
|
|
45823
45873
|
|
|
45874
|
+
export type ConnectOutbrainAdsCredentialsData = {
|
|
45875
|
+
body: {
|
|
45876
|
+
/**
|
|
45877
|
+
* Outbrain marketer id from Amplify, letters and digits.
|
|
45878
|
+
*/
|
|
45879
|
+
outbrainMarketerId: string;
|
|
45880
|
+
/**
|
|
45881
|
+
* Optional display name for the marketer.
|
|
45882
|
+
*/
|
|
45883
|
+
name?: string;
|
|
45884
|
+
/**
|
|
45885
|
+
* Your Zernio profile ID
|
|
45886
|
+
*/
|
|
45887
|
+
profileId: string;
|
|
45888
|
+
/**
|
|
45889
|
+
* Optional state passthrough for the connect flow.
|
|
45890
|
+
*/
|
|
45891
|
+
state?: string;
|
|
45892
|
+
/**
|
|
45893
|
+
* Optional URL to redirect to after a successful connection, echoed back as redirectUrl.
|
|
45894
|
+
*/
|
|
45895
|
+
redirect_url?: string;
|
|
45896
|
+
};
|
|
45897
|
+
};
|
|
45898
|
+
|
|
45899
|
+
export type ConnectOutbrainAdsCredentialsResponse = ({
|
|
45900
|
+
accountId?: string;
|
|
45901
|
+
outbrainMarketerId?: string;
|
|
45902
|
+
accountName?: string;
|
|
45903
|
+
redirectUrl?: string;
|
|
45904
|
+
});
|
|
45905
|
+
|
|
45906
|
+
export type ConnectOutbrainAdsCredentialsError = (ErrorResponse | {
|
|
45907
|
+
/**
|
|
45908
|
+
* Human-readable error message suitable for end-user display.
|
|
45909
|
+
*/
|
|
45910
|
+
error: string;
|
|
45911
|
+
/**
|
|
45912
|
+
* Machine-readable error code. Stable across versions.
|
|
45913
|
+
*/
|
|
45914
|
+
code: 'PAYMENT_REQUIRED';
|
|
45915
|
+
/**
|
|
45916
|
+
* Discriminator for which gate fired.
|
|
45917
|
+
*/
|
|
45918
|
+
reason: 'free_tier_exceeded' | 'twitter_passthrough' | 'enterprise_required' | 'card_verification_required';
|
|
45919
|
+
/**
|
|
45920
|
+
* Link to the relevant documentation page.
|
|
45921
|
+
*/
|
|
45922
|
+
documentation_url?: string;
|
|
45923
|
+
/**
|
|
45924
|
+
* Deep-link to send the end-user to. For
|
|
45925
|
+
* `free_tier_exceeded` and `twitter_passthrough` this opens
|
|
45926
|
+
* the add-payment-method drawer on the Zernio billing page.
|
|
45927
|
+
* For `enterprise_required` this is the Zernio enterprise
|
|
45928
|
+
* contact page.
|
|
45929
|
+
*
|
|
45930
|
+
*/
|
|
45931
|
+
dashboard_url?: string;
|
|
45932
|
+
/**
|
|
45933
|
+
* Structured context for SDK clients that want to render their own UX. Keys vary by `reason`.
|
|
45934
|
+
*/
|
|
45935
|
+
details?: {
|
|
45936
|
+
/**
|
|
45937
|
+
* How many accounts the free tier allows. Only set when reason=free_tier_exceeded.
|
|
45938
|
+
*/
|
|
45939
|
+
free_tier_account_limit?: number;
|
|
45940
|
+
/**
|
|
45941
|
+
* How many accounts the team currently has connected. Set when reason=free_tier_exceeded or reason=enterprise_required.
|
|
45942
|
+
*/
|
|
45943
|
+
current_account_count?: number;
|
|
45944
|
+
/**
|
|
45945
|
+
* Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
|
|
45946
|
+
*/
|
|
45947
|
+
has_payment_method?: boolean;
|
|
45948
|
+
/**
|
|
45949
|
+
* One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
|
|
45950
|
+
*/
|
|
45951
|
+
verification_amount_cents?: number;
|
|
45952
|
+
/**
|
|
45953
|
+
* The negotiated connected-account cap from the
|
|
45954
|
+
* team's enterprise contract. Self-service teams
|
|
45955
|
+
* have no cap and never receive this reason. Only
|
|
45956
|
+
* set when reason=enterprise_required.
|
|
45957
|
+
*
|
|
45958
|
+
*/
|
|
45959
|
+
effective_account_limit?: number;
|
|
45960
|
+
};
|
|
45961
|
+
} | unknown);
|
|
45962
|
+
|
|
45824
45963
|
export type ConnectWhopAdsCredentialsData = {
|
|
45825
45964
|
body: {
|
|
45826
45965
|
/**
|
|
@@ -67256,6 +67395,9 @@ export type GetAutomationCatalogResponse = ({
|
|
|
67256
67395
|
[key: string]: unknown;
|
|
67257
67396
|
};
|
|
67258
67397
|
filterOperators?: Array<(string)>;
|
|
67398
|
+
/**
|
|
67399
|
+
* The step types the trigger takes. For an event, only those its subject can reach.
|
|
67400
|
+
*/
|
|
67259
67401
|
steps?: Array<(string)>;
|
|
67260
67402
|
/**
|
|
67261
67403
|
* Scheduled trigger only: the platforms, goals, most days and most boosts a day of `ads.boost_post`.
|
|
@@ -81290,7 +81432,7 @@ export type SendConversionsData = {
|
|
|
81290
81432
|
};
|
|
81291
81433
|
|
|
81292
81434
|
export type SendConversionsResponse = ({
|
|
81293
|
-
platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
|
|
81435
|
+
platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
|
|
81294
81436
|
/**
|
|
81295
81437
|
* Events accepted by the platform.
|
|
81296
81438
|
*/
|
|
@@ -81919,7 +82061,7 @@ export type SendEventsResponse = ({
|
|
|
81919
82061
|
destinations?: Array<{
|
|
81920
82062
|
accountId?: string;
|
|
81921
82063
|
destinationId?: string;
|
|
81922
|
-
platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
|
|
82064
|
+
platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
|
|
81923
82065
|
/**
|
|
81924
82066
|
* Events the platform accepted.
|
|
81925
82067
|
*/
|
|
@@ -82673,7 +82815,7 @@ export type GetEventResponse = ({
|
|
|
82673
82815
|
deliveries?: Array<{
|
|
82674
82816
|
accountId?: string;
|
|
82675
82817
|
destinationId?: string;
|
|
82676
|
-
platform?: ('metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads') | null;
|
|
82818
|
+
platform?: ('metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads') | null;
|
|
82677
82819
|
/**
|
|
82678
82820
|
* `dropped`: not sent because the visitor did not consent; `errorCode` says why (`consent_denied` or `consent_missing`).
|
|
82679
82821
|
*/
|
|
@@ -83293,7 +83435,7 @@ export type ListAdConversionDestinationsData = {
|
|
|
83293
83435
|
};
|
|
83294
83436
|
|
|
83295
83437
|
export type ListAdConversionDestinationsResponse = ({
|
|
83296
|
-
platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
|
|
83438
|
+
platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
|
|
83297
83439
|
destinations?: Array<{
|
|
83298
83440
|
/**
|
|
83299
83441
|
* Destination identifier. Meta: pixel ID. Google:
|
|
@@ -83304,7 +83446,7 @@ export type ListAdConversionDestinationsResponse = ({
|
|
|
83304
83446
|
* or `accounts/{id}/uetTags/{id}`.
|
|
83305
83447
|
* X Ads: pixel event id (`tw-...`). Snapchat:
|
|
83306
83448
|
* Snap Pixel ID (a UUID). Taboola: numeric
|
|
83307
|
-
* Account ID.
|
|
83449
|
+
* Account ID. Outbrain: marketer id.
|
|
83308
83450
|
*
|
|
83309
83451
|
*/
|
|
83310
83452
|
id?: string;
|
|
@@ -83735,7 +83877,7 @@ export type ListConversionDestinationsData = {
|
|
|
83735
83877
|
};
|
|
83736
83878
|
|
|
83737
83879
|
export type ListConversionDestinationsResponse = ({
|
|
83738
|
-
platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
|
|
83880
|
+
platform?: 'metaads' | 'googleads' | 'linkedinads' | 'tiktokads' | 'openaiads' | 'pinterestads' | 'redditads' | 'applovinads' | 'microsoftads' | 'xads' | 'snapchatads' | 'taboolaads' | 'outbrainads' | 'googleanalytics' | 'klaviyo' | 'attentive' | 'impact' | 'awin' | 'campaignmanager360' | 'tradedeskads' | 'amazonads';
|
|
83739
83881
|
destinations?: Array<{
|
|
83740
83882
|
/**
|
|
83741
83883
|
* Destination identifier. Meta: pixel ID. Google:
|
|
@@ -83746,7 +83888,7 @@ export type ListConversionDestinationsResponse = ({
|
|
|
83746
83888
|
* or `accounts/{id}/uetTags/{id}`.
|
|
83747
83889
|
* X Ads: pixel event id (`tw-...`). Snapchat:
|
|
83748
83890
|
* Snap Pixel ID (a UUID). Taboola: numeric
|
|
83749
|
-
* Account ID.
|
|
83891
|
+
* Account ID. Outbrain: marketer id.
|
|
83750
83892
|
*
|
|
83751
83893
|
*/
|
|
83752
83894
|
id?: string;
|