@getlatedev/node 0.2.1761 → 0.2.1763
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 +2 -0
- package/dist/index.d.mts +172 -69
- package/dist/index.d.ts +172 -69
- package/dist/index.js +15 -1
- package/dist/index.mjs +15 -1
- package/package.json +1 -1
- package/src/client.ts +4 -0
- package/src/generated/sdk.gen.ts +25 -1
- package/src/generated/types.gen.ts +178 -68
|
@@ -5068,7 +5068,7 @@ export type AutomationEventTrigger = {
|
|
|
5068
5068
|
/**
|
|
5069
5069
|
* The Zernio event that starts it.
|
|
5070
5070
|
*/
|
|
5071
|
-
type: 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'lead.received';
|
|
5071
|
+
type: 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.sent' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'mention.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'call.recording_ready' | 'lead.received' | 'email.opened' | 'email.link_clicked' | 'email.thread_replied';
|
|
5072
5072
|
/**
|
|
5073
5073
|
* The profile whose events start it, from `GET /v1/profiles`.
|
|
5074
5074
|
*/
|
|
@@ -5083,7 +5083,7 @@ export type AutomationEventTrigger = {
|
|
|
5083
5083
|
/**
|
|
5084
5084
|
* The Zernio event that starts it.
|
|
5085
5085
|
*/
|
|
5086
|
-
export type type6 = 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'lead.received';
|
|
5086
|
+
export type type6 = 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.sent' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'mention.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'call.recording_ready' | 'lead.received' | 'email.opened' | 'email.link_clicked' | 'email.thread_replied';
|
|
5087
5087
|
|
|
5088
5088
|
/**
|
|
5089
5089
|
* Narrows by the facts of the event or post, such as `platform` or `likes`: one comparison, or a group where `all` must hold or `any` is enough. Groups nest.
|
|
@@ -5317,6 +5317,71 @@ export type kind3 = 'ad_rule' | 'event' | 'scheduled' | 'sequence' | 'comment' |
|
|
|
5317
5317
|
*/
|
|
5318
5318
|
export type status9 = 'draft' | 'active' | 'paused';
|
|
5319
5319
|
|
|
5320
|
+
/**
|
|
5321
|
+
* One subject going through an automation, the same shape for every kind. A flow, sequence or comment to DM run is one conversation, contact or comment; an ad rule, event or scheduled automation run is one check that acted or tried to.
|
|
5322
|
+
*/
|
|
5323
|
+
export type AutomationRun = {
|
|
5324
|
+
id: string;
|
|
5325
|
+
automationId: string;
|
|
5326
|
+
kind: 'ad_rule' | 'event' | 'scheduled' | 'sequence' | 'comment' | 'workflow';
|
|
5327
|
+
/**
|
|
5328
|
+
* `live` while it runs or waits (a comment to DM run waiting for its follow gate is live).
|
|
5329
|
+
*/
|
|
5330
|
+
status: 'live' | 'paused' | 'completed' | 'exited' | 'failed';
|
|
5331
|
+
/**
|
|
5332
|
+
* What the run is about. Null for a scheduled check, which judges many subjects.
|
|
5333
|
+
*/
|
|
5334
|
+
subject: {
|
|
5335
|
+
/**
|
|
5336
|
+
* For example `conversation`, `contact`, `comment`, `message` or `post`.
|
|
5337
|
+
*/
|
|
5338
|
+
type?: string;
|
|
5339
|
+
id?: string;
|
|
5340
|
+
} | null;
|
|
5341
|
+
startedAt: string;
|
|
5342
|
+
endedAt: (string) | null;
|
|
5343
|
+
/**
|
|
5344
|
+
* Why an exited or failed run stopped, for example `replied`, `unsubscribed` or `skipped`.
|
|
5345
|
+
*/
|
|
5346
|
+
exitReason: (string) | null;
|
|
5347
|
+
error: (string) | null;
|
|
5348
|
+
steps: {
|
|
5349
|
+
/**
|
|
5350
|
+
* Steps the run has taken.
|
|
5351
|
+
*/
|
|
5352
|
+
done: number;
|
|
5353
|
+
/**
|
|
5354
|
+
* The graph node the run is at, where its kind has one.
|
|
5355
|
+
*/
|
|
5356
|
+
currentNodeId: (string) | null;
|
|
5357
|
+
};
|
|
5358
|
+
};
|
|
5359
|
+
|
|
5360
|
+
/**
|
|
5361
|
+
* `live` while it runs or waits (a comment to DM run waiting for its follow gate is live).
|
|
5362
|
+
*/
|
|
5363
|
+
export type status10 = 'live' | 'paused' | 'completed' | 'exited' | 'failed';
|
|
5364
|
+
|
|
5365
|
+
export type AutomationRunDetail = AutomationRun & {
|
|
5366
|
+
/**
|
|
5367
|
+
* Each step in order. Null where the run's store keeps no step by step record (runs on the automation engine keep where they are and how many steps they took).
|
|
5368
|
+
*/
|
|
5369
|
+
trace: Array<{
|
|
5370
|
+
type: string;
|
|
5371
|
+
nodeId: (string) | null;
|
|
5372
|
+
/**
|
|
5373
|
+
* The object an ad rule, event or scheduled automation acted on.
|
|
5374
|
+
*/
|
|
5375
|
+
subjectId: (string) | null;
|
|
5376
|
+
status: (string) | null;
|
|
5377
|
+
at: (string) | null;
|
|
5378
|
+
/**
|
|
5379
|
+
* Which branch a condition took, or why a step failed or was skipped.
|
|
5380
|
+
*/
|
|
5381
|
+
note: (string) | null;
|
|
5382
|
+
}> | null;
|
|
5383
|
+
};
|
|
5384
|
+
|
|
5320
5385
|
export type AutomationRunResult = {
|
|
5321
5386
|
type: 'notify.send' | 'ads.boost_post';
|
|
5322
5387
|
/**
|
|
@@ -5764,7 +5829,7 @@ export type AutomationTemplateTargetResult = {
|
|
|
5764
5829
|
};
|
|
5765
5830
|
};
|
|
5766
5831
|
|
|
5767
|
-
export type
|
|
5832
|
+
export type status11 = 'created' | 'failed';
|
|
5768
5833
|
|
|
5769
5834
|
/**
|
|
5770
5835
|
* When the automation runs. Its shape decides the kind:
|
|
@@ -6016,7 +6081,7 @@ export type BlogArticle = {
|
|
|
6016
6081
|
/**
|
|
6017
6082
|
* WordPress and Wix. Post status (`future` = scheduled, `pending` = in review on Wix); omitted for Shopify.
|
|
6018
6083
|
*/
|
|
6019
|
-
export type
|
|
6084
|
+
export type status12 = 'publish' | 'future' | 'draft' | 'pending' | 'private';
|
|
6020
6085
|
|
|
6021
6086
|
/**
|
|
6022
6087
|
* Bluesky post settings. Supports text posts with up to 4 images or a single video. threadItems creates a reply chain (Bluesky thread). Images exceeding 1MB are automatically compressed. Alt text supported via mediaItem properties. Use langs to tag post language for feed-generator filtering.
|
|
@@ -6190,7 +6255,7 @@ export type BrandedCallingIdentity = {
|
|
|
6190
6255
|
* - permanently_rejected: terminal
|
|
6191
6256
|
*
|
|
6192
6257
|
*/
|
|
6193
|
-
export type
|
|
6258
|
+
export type status13 = 'requested' | 'changes_requested' | 'rejected' | 'pending_email_verification' | 'in_review' | 'verified' | 'suspended' | 'expired' | 'permanently_rejected';
|
|
6194
6259
|
|
|
6195
6260
|
export type BrandedCallingIdentityNumber = {
|
|
6196
6261
|
phoneNumberId?: string;
|
|
@@ -6212,7 +6277,7 @@ export type BrandedCallingIdentityNumber = {
|
|
|
6212
6277
|
/**
|
|
6213
6278
|
* verified = the identity shows on calls from this number. permanently_rejected cannot be attached again anywhere.
|
|
6214
6279
|
*/
|
|
6215
|
-
export type
|
|
6280
|
+
export type status14 = 'submitted' | 'in_review' | 'verified' | 'unsuccessful' | 'suspended' | 'expired' | 'permanently_rejected';
|
|
6216
6281
|
|
|
6217
6282
|
/**
|
|
6218
6283
|
* A person the carrier vetting team phones to confirm the business. Business references are senior contacts at a vendor, partner or client; the financial reference is a CPA or a bank contact. Calls are placed in the reference's local 8am-9pm window.
|
|
@@ -6444,7 +6509,7 @@ export type BusinessAgentEventStatus = {
|
|
|
6444
6509
|
updated_at: string;
|
|
6445
6510
|
};
|
|
6446
6511
|
|
|
6447
|
-
export type
|
|
6512
|
+
export type status15 = 'request_received' | 'processing' | 'sent' | 'failed' | 'skipped' | 'success';
|
|
6448
6513
|
|
|
6449
6514
|
export type BusinessAgentFaq = BusinessAgentFaqInput & {
|
|
6450
6515
|
id: string;
|
|
@@ -6541,7 +6606,7 @@ export type BusinessAgentSkill = BusinessAgentSkillInput & {
|
|
|
6541
6606
|
/**
|
|
6542
6607
|
* pending_review right after a write; blocked means Meta content review rejected it and the agent never applies it.
|
|
6543
6608
|
*/
|
|
6544
|
-
export type
|
|
6609
|
+
export type status16 = 'active' | 'pending_review' | 'blocked';
|
|
6545
6610
|
|
|
6546
6611
|
export type BusinessAgentSkillInput = {
|
|
6547
6612
|
/**
|
|
@@ -6643,7 +6708,7 @@ export type BusinessAgentUiSkillInput = {
|
|
|
6643
6708
|
|
|
6644
6709
|
export type component_type = 'carousel_quick_reply' | 'carousel_url' | 'cta_url' | 'flow' | 'image' | 'interactive_list' | 'interactive_reply_buttons' | 'location' | 'location_request';
|
|
6645
6710
|
|
|
6646
|
-
export type
|
|
6711
|
+
export type status17 = 'enabled' | 'disabled';
|
|
6647
6712
|
|
|
6648
6713
|
export type BusinessAgentWebsite = BusinessAgentWebsiteInput & {
|
|
6649
6714
|
id: string;
|
|
@@ -6793,7 +6858,7 @@ export type CalendarEvent = {
|
|
|
6793
6858
|
|
|
6794
6859
|
export type visibility2 = 'default' | 'public' | 'private';
|
|
6795
6860
|
|
|
6796
|
-
export type
|
|
6861
|
+
export type status18 = 'confirmed' | 'tentative' | 'cancelled';
|
|
6797
6862
|
|
|
6798
6863
|
/**
|
|
6799
6864
|
* `series` is a recurring master, `occurrence` one of its instances, and `exception` an instance changed on its own. Google flags an instance as an exception only when it was moved off its slot.
|
|
@@ -7010,7 +7075,7 @@ export type channel = 'whatsapp' | 'pstn';
|
|
|
7010
7075
|
|
|
7011
7076
|
export type direction2 = 'inbound' | 'outbound';
|
|
7012
7077
|
|
|
7013
|
-
export type
|
|
7078
|
+
export type status19 = 'ringing' | 'answered' | 'ended' | 'failed';
|
|
7014
7079
|
|
|
7015
7080
|
/**
|
|
7016
7081
|
* Caller ID presented on the forwarded leg.
|
|
@@ -7274,7 +7339,7 @@ export type mediaType2 = 'video' | 'image';
|
|
|
7274
7339
|
/**
|
|
7275
7340
|
* submitted: waits for review. approved: the creator may publish it. revision_requested: the creator should upload a new version. rejected: final.
|
|
7276
7341
|
*/
|
|
7277
|
-
export type
|
|
7342
|
+
export type status20 = 'submitted' | 'approved' | 'revision_requested' | 'rejected';
|
|
7278
7343
|
|
|
7279
7344
|
/**
|
|
7280
7345
|
* Drafts by the status of their latest version.
|
|
@@ -7409,7 +7474,7 @@ export type CampaignParticipant = {
|
|
|
7409
7474
|
};
|
|
7410
7475
|
};
|
|
7411
7476
|
|
|
7412
|
-
export type
|
|
7477
|
+
export type status21 = 'invited' | 'pending' | 'active' | 'suspended' | 'removed' | 'denied';
|
|
7413
7478
|
|
|
7414
7479
|
/**
|
|
7415
7480
|
* USD cents in each state. accruing: earned on posts not yet approved. owed: approved and on hold. payable: past the hold, ready to pay. settling: a treasury payout in progress, no longer payable and not reversible by a reject. settled: paid out.
|
|
@@ -7580,7 +7645,7 @@ export type CampaignSample = {
|
|
|
7580
7645
|
/**
|
|
7581
7646
|
* pending: waits for review. approved: a discount code was created. shipped: you recorded that you sent it. declined: final for this request.
|
|
7582
7647
|
*/
|
|
7583
|
-
export type
|
|
7648
|
+
export type status22 = 'pending' | 'approved' | 'shipped' | 'declined';
|
|
7584
7649
|
|
|
7585
7650
|
/**
|
|
7586
7651
|
* Sample requests by status.
|
|
@@ -7759,7 +7824,7 @@ export type CampaignSubmission = {
|
|
|
7759
7824
|
|
|
7760
7825
|
export type platform5 = 'tiktok' | 'instagram' | 'youtube' | 'threads' | 'pinterest' | 'facebook' | 'twitter';
|
|
7761
7826
|
|
|
7762
|
-
export type
|
|
7827
|
+
export type status23 = 'received' | 'tracking' | 'pending_review' | 'approved' | 'rejected' | 'expired' | 'withdrawn';
|
|
7763
7828
|
|
|
7764
7829
|
/**
|
|
7765
7830
|
* Number of submissions in each status.
|
|
@@ -8145,7 +8210,7 @@ export type source = 'comment' | 'live_comment' | 'story_reply' | 'story_mention
|
|
|
8145
8210
|
* - 'gated': the follow-gate confirmation DM went out and we are waiting for the tap. It flips to 'sent' or 'skipped' when they tap.
|
|
8146
8211
|
* - 'skipped': also covers repeatPolicy, cooldown and dedupeSameTextHours suppressions, with the reason in error.
|
|
8147
8212
|
*/
|
|
8148
|
-
export type
|
|
8213
|
+
export type status24 = 'pending' | 'sent' | 'failed' | 'skipped' | 'gated';
|
|
8149
8214
|
|
|
8150
8215
|
/**
|
|
8151
8216
|
* How the audience rule resolved. Null on automations without one.
|
|
@@ -8454,7 +8519,7 @@ export type method2 = 'code' | 'automatic';
|
|
|
8454
8519
|
|
|
8455
8520
|
export type type14 = 'percentage' | 'fixed_amount' | 'free_shipping' | 'buy_x_get_y' | 'app';
|
|
8456
8521
|
|
|
8457
|
-
export type
|
|
8522
|
+
export type status25 = 'active' | 'scheduled' | 'expired';
|
|
8458
8523
|
|
|
8459
8524
|
export type CommerceDraftOrder = {
|
|
8460
8525
|
id?: string;
|
|
@@ -8504,7 +8569,7 @@ export type CommerceDraftOrder = {
|
|
|
8504
8569
|
completedAt?: (string) | null;
|
|
8505
8570
|
};
|
|
8506
8571
|
|
|
8507
|
-
export type
|
|
8572
|
+
export type status26 = 'open' | 'invoice_sent' | 'completed';
|
|
8508
8573
|
|
|
8509
8574
|
export type CommerceImage = {
|
|
8510
8575
|
/**
|
|
@@ -8559,7 +8624,7 @@ export type CommerceMarket = {
|
|
|
8559
8624
|
type?: string;
|
|
8560
8625
|
};
|
|
8561
8626
|
|
|
8562
|
-
export type
|
|
8627
|
+
export type status27 = 'active' | 'draft';
|
|
8563
8628
|
|
|
8564
8629
|
export type CommerceMenu = {
|
|
8565
8630
|
id?: string;
|
|
@@ -9203,7 +9268,7 @@ export type ConnectHandoff = {
|
|
|
9203
9268
|
} | null;
|
|
9204
9269
|
};
|
|
9205
9270
|
|
|
9206
|
-
export type
|
|
9271
|
+
export type status28 = 'waiting' | 'opened' | 'connected' | 'failed' | 'expired';
|
|
9207
9272
|
|
|
9208
9273
|
/**
|
|
9209
9274
|
* Only with `handoff=true`: the link to show as a QR code.
|
|
@@ -9772,7 +9837,7 @@ export type visibility3 = 'full' | 'limited' | 'none';
|
|
|
9772
9837
|
*/
|
|
9773
9838
|
export type scanMode = 'static' | 'rendered';
|
|
9774
9839
|
|
|
9775
|
-
export type
|
|
9840
|
+
export type status29 = 'detected' | 'likely' | 'not-visible';
|
|
9776
9841
|
|
|
9777
9842
|
export type googleConsentMode = 'v2' | 'v1' | 'not-seen';
|
|
9778
9843
|
|
|
@@ -9816,7 +9881,7 @@ export type ConversionDestination = {
|
|
|
9816
9881
|
* For LinkedIn, `inactive` means the rule is soft-deleted (`enabled: false`).
|
|
9817
9882
|
*
|
|
9818
9883
|
*/
|
|
9819
|
-
export type
|
|
9884
|
+
export type status30 = 'active' | 'inactive';
|
|
9820
9885
|
|
|
9821
9886
|
/**
|
|
9822
9887
|
* A single conversion event to relay to the ad platform. All PII fields
|
|
@@ -10569,7 +10634,7 @@ export type CreatorCampaign = {
|
|
|
10569
10634
|
/**
|
|
10570
10635
|
* draft until activated; active accepts submissions and accrues; paused stops new submissions; closed is final.
|
|
10571
10636
|
*/
|
|
10572
|
-
export type
|
|
10637
|
+
export type status31 = 'draft' | 'active' | 'paused' | 'closed';
|
|
10573
10638
|
|
|
10574
10639
|
/**
|
|
10575
10640
|
* Same as economics.type.
|
|
@@ -11145,7 +11210,7 @@ export type CreatorPortalPayoutSetup = {
|
|
|
11145
11210
|
*/
|
|
11146
11211
|
export type mode5 = 'none' | 'external' | 'treasury';
|
|
11147
11212
|
|
|
11148
|
-
export type
|
|
11213
|
+
export type status32 = 'not_started' | 'pending' | 'enabled' | 'not_applicable';
|
|
11149
11214
|
|
|
11150
11215
|
export type CreatorPortalReferral = {
|
|
11151
11216
|
/**
|
|
@@ -12099,7 +12164,7 @@ export type objective = 'OUTCOME_ENGAGEMENT' | 'OUTCOME_SALES' | 'OUTCOME_LEADS'
|
|
|
12099
12164
|
* `adSetId`, the new ads themselves.
|
|
12100
12165
|
*
|
|
12101
12166
|
*/
|
|
12102
|
-
export type
|
|
12167
|
+
export type status33 = 'ACTIVE' | 'PAUSED';
|
|
12103
12168
|
|
|
12104
12169
|
/**
|
|
12105
12170
|
* Campaign-level status, same semantics as `POST /v1/ads/create`. Defaults to `status`.
|
|
@@ -12513,7 +12578,7 @@ export type privacy_level = 2;
|
|
|
12513
12578
|
/**
|
|
12514
12579
|
* 1=SCHEDULED, 2=ACTIVE, 3=COMPLETED, 4=CANCELED
|
|
12515
12580
|
*/
|
|
12516
|
-
export type
|
|
12581
|
+
export type status34 = 1 | 2 | 3 | 4;
|
|
12517
12582
|
|
|
12518
12583
|
/**
|
|
12519
12584
|
* 1=STAGE_INSTANCE, 2=VOICE, 3=EXTERNAL
|
|
@@ -12687,7 +12752,7 @@ export type EmailClean = {
|
|
|
12687
12752
|
} | null;
|
|
12688
12753
|
};
|
|
12689
12754
|
|
|
12690
|
-
export type
|
|
12755
|
+
export type status35 = 'stripped' | 'unchanged' | 'fallback';
|
|
12691
12756
|
|
|
12692
12757
|
/**
|
|
12693
12758
|
* A draft in the mailbox. Carries the message fields; `id` is the draft id the drafts endpoints take. Store `id`, not `messageId`.
|
|
@@ -13311,7 +13376,7 @@ export type EventCorrection = {
|
|
|
13311
13376
|
/**
|
|
13312
13377
|
* `corrected`: the platform changed its count. `not_supported`: the platform has no API to change a conversion it already counted. `failed`: see `error`.
|
|
13313
13378
|
*/
|
|
13314
|
-
export type
|
|
13379
|
+
export type status36 = 'corrected' | 'not_supported' | 'failed';
|
|
13315
13380
|
|
|
13316
13381
|
export type EventDestination = {
|
|
13317
13382
|
/**
|
|
@@ -13838,7 +13903,7 @@ export type FeedbackReceipt = {
|
|
|
13838
13903
|
duplicate?: boolean;
|
|
13839
13904
|
};
|
|
13840
13905
|
|
|
13841
|
-
export type
|
|
13906
|
+
export type status37 = 'received';
|
|
13842
13907
|
|
|
13843
13908
|
/**
|
|
13844
13909
|
* A file or folder in a connected Google Drive or OneDrive. Ids are the provider's own.
|
|
@@ -14203,7 +14268,7 @@ export type GohighlevelAudienceSync = {
|
|
|
14203
14268
|
}>;
|
|
14204
14269
|
};
|
|
14205
14270
|
|
|
14206
|
-
export type
|
|
14271
|
+
export type status38 = 'syncing' | 'ready' | 'error';
|
|
14207
14272
|
|
|
14208
14273
|
export type GohighlevelAudienceSyncOverview = {
|
|
14209
14274
|
/**
|
|
@@ -14339,7 +14404,7 @@ export type GoogleAdLabel = {
|
|
|
14339
14404
|
description?: (string) | null;
|
|
14340
14405
|
};
|
|
14341
14406
|
|
|
14342
|
-
export type
|
|
14407
|
+
export type status39 = 'ENABLED' | 'REMOVED' | 'UNKNOWN';
|
|
14343
14408
|
|
|
14344
14409
|
/**
|
|
14345
14410
|
* At least one id across the four target lists. Up to 1000 ids per list.
|
|
@@ -14442,7 +14507,7 @@ export type GoogleAdsManagerLink = {
|
|
|
14442
14507
|
/**
|
|
14443
14508
|
* Status the link has after this call.
|
|
14444
14509
|
*/
|
|
14445
|
-
export type
|
|
14510
|
+
export type status40 = 'PENDING' | 'ACTIVE' | 'REFUSED' | 'CANCELED' | 'INACTIVE';
|
|
14446
14511
|
|
|
14447
14512
|
export type GoogleAdsPlatformQueryBody = {
|
|
14448
14513
|
/**
|
|
@@ -14476,7 +14541,7 @@ export type GoogleAdsUserAccessInvitation = {
|
|
|
14476
14541
|
|
|
14477
14542
|
export type accessRole = 'ADMIN' | 'STANDARD' | 'READ_ONLY' | 'EMAIL_ONLY' | 'UNKNOWN';
|
|
14478
14543
|
|
|
14479
|
-
export type
|
|
14544
|
+
export type status41 = 'PENDING' | 'DECLINED' | 'EXPIRED' | 'UNKNOWN';
|
|
14480
14545
|
|
|
14481
14546
|
export type GoogleAdsUserAccessInvitationResult = {
|
|
14482
14547
|
customerId?: string;
|
|
@@ -14500,7 +14565,7 @@ export type GoogleAdsUserAccessInvitationResult = {
|
|
|
14500
14565
|
/**
|
|
14501
14566
|
* PENDING once the email is sent; PENDING_APPROVAL while Google waits for a second admin's multi-party approval.
|
|
14502
14567
|
*/
|
|
14503
|
-
export type
|
|
14568
|
+
export type status42 = 'PENDING' | 'PENDING_APPROVAL';
|
|
14504
14569
|
|
|
14505
14570
|
export type GoogleAdsUserInvitationApproval = {
|
|
14506
14571
|
/**
|
|
@@ -15499,7 +15564,7 @@ export type GoogleRecommendationResult = {
|
|
|
15499
15564
|
error?: string;
|
|
15500
15565
|
};
|
|
15501
15566
|
|
|
15502
|
-
export type
|
|
15567
|
+
export type status43 = 'applied' | 'dismissed' | 'failed';
|
|
15503
15568
|
|
|
15504
15569
|
export type GoogleRsaDescription = {
|
|
15505
15570
|
text: string;
|
|
@@ -15865,7 +15930,7 @@ export type ImessageSandboxContact = {
|
|
|
15865
15930
|
createdAt?: string;
|
|
15866
15931
|
};
|
|
15867
15932
|
|
|
15868
|
-
export type
|
|
15933
|
+
export type status44 = 'pending' | 'active';
|
|
15869
15934
|
|
|
15870
15935
|
/**
|
|
15871
15936
|
* An iMessage sender registered as an account on a profile.
|
|
@@ -15940,7 +16005,7 @@ export type region = 'US' | 'GB';
|
|
|
15940
16005
|
/**
|
|
15941
16006
|
* `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.
|
|
15942
16007
|
*/
|
|
15943
|
-
export type
|
|
16008
|
+
export type status45 = 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
|
|
15944
16009
|
|
|
15945
16010
|
/**
|
|
15946
16011
|
* 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.
|
|
@@ -16239,7 +16304,7 @@ export type InboxWebhookConversation = {
|
|
|
16239
16304
|
contactId?: string;
|
|
16240
16305
|
};
|
|
16241
16306
|
|
|
16242
|
-
export type
|
|
16307
|
+
export type status46 = 'active' | 'archived';
|
|
16243
16308
|
|
|
16244
16309
|
/**
|
|
16245
16310
|
* The conversation object included in conversation lifecycle webhook payloads (conversation.started, conversation.control_changed).
|
|
@@ -18837,7 +18902,7 @@ export type OAuthApp = {
|
|
|
18837
18902
|
/**
|
|
18838
18903
|
* `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.
|
|
18839
18904
|
*/
|
|
18840
|
-
export type
|
|
18905
|
+
export type status47 = 'ok' | 'unchecked' | 'invalid';
|
|
18841
18906
|
|
|
18842
18907
|
export type OAuthAppSetup = {
|
|
18843
18908
|
platform: string;
|
|
@@ -18913,7 +18978,7 @@ export type OrgConnection = {
|
|
|
18913
18978
|
};
|
|
18914
18979
|
};
|
|
18915
18980
|
|
|
18916
|
-
export type
|
|
18981
|
+
export type status48 = 'pending' | 'active' | 'revoked';
|
|
18917
18982
|
|
|
18918
18983
|
export type type28 = 'google_domain_wide_delegation' | 'microsoft_admin_consent';
|
|
18919
18984
|
|
|
@@ -19104,7 +19169,7 @@ export type OwnedPhoneNumber = {
|
|
|
19104
19169
|
}>;
|
|
19105
19170
|
};
|
|
19106
19171
|
|
|
19107
|
-
export type
|
|
19172
|
+
export type status49 = 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
19108
19173
|
|
|
19109
19174
|
export type metaVerificationStatus = 'pending' | 'code_requested' | 'verified' | 'expired';
|
|
19110
19175
|
|
|
@@ -19277,7 +19342,7 @@ export type PayoutBatch = {
|
|
|
19277
19342
|
/**
|
|
19278
19343
|
* `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).
|
|
19279
19344
|
*/
|
|
19280
|
-
export type
|
|
19345
|
+
export type status50 = 'awaiting_payment' | 'paying' | 'paid' | 'partially_failed' | 'failed' | 'expired';
|
|
19281
19346
|
|
|
19282
19347
|
export type method3 = 'card';
|
|
19283
19348
|
|
|
@@ -19320,7 +19385,7 @@ export type PayoutBatchItem = {
|
|
|
19320
19385
|
/**
|
|
19321
19386
|
* `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.
|
|
19322
19387
|
*/
|
|
19323
|
-
export type
|
|
19388
|
+
export type status51 = 'pending' | 'paid' | 'failed' | 'skipped' | 'refunded';
|
|
19324
19389
|
|
|
19325
19390
|
export type PhoneNumberStockWatch = {
|
|
19326
19391
|
id: string;
|
|
@@ -19438,7 +19503,7 @@ export type PlatformAnalytics = {
|
|
|
19438
19503
|
isOwner?: (boolean) | null;
|
|
19439
19504
|
};
|
|
19440
19505
|
|
|
19441
|
-
export type
|
|
19506
|
+
export type status52 = 'published' | 'failed';
|
|
19442
19507
|
|
|
19443
19508
|
/**
|
|
19444
19509
|
* Sync state of analytics for this platform
|
|
@@ -19736,7 +19801,7 @@ export type Post = {
|
|
|
19736
19801
|
/**
|
|
19737
19802
|
* `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.
|
|
19738
19803
|
*/
|
|
19739
|
-
export type
|
|
19804
|
+
export type status53 = 'draft' | 'pending_approval' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
|
|
19740
19805
|
|
|
19741
19806
|
export type visibility5 = 'public' | 'private' | 'unlisted';
|
|
19742
19807
|
|
|
@@ -20426,7 +20491,7 @@ export type Product = {
|
|
|
20426
20491
|
publishedAt?: (string) | null;
|
|
20427
20492
|
};
|
|
20428
20493
|
|
|
20429
|
-
export type
|
|
20494
|
+
export type status54 = 'active' | 'draft' | 'archived';
|
|
20430
20495
|
|
|
20431
20496
|
export type ProductImage = {
|
|
20432
20497
|
url?: string;
|
|
@@ -20726,7 +20791,7 @@ export type RcsAgent = {
|
|
|
20726
20791
|
createdAt?: string;
|
|
20727
20792
|
};
|
|
20728
20793
|
|
|
20729
|
-
export type
|
|
20794
|
+
export type status55 = 'requested' | 'changes_requested' | 'brand_vetting' | 'agent_review' | 'testing' | 'launch_review' | 'launching' | 'live' | 'rejected' | 'deactivated';
|
|
20730
20795
|
|
|
20731
20796
|
export type useCase = 'MULTI_USE' | 'PROMOTIONAL' | 'TRANSACTIONAL' | 'OTP';
|
|
20732
20797
|
|
|
@@ -20778,7 +20843,7 @@ export type RcsBrand = RcsBrandInput & {
|
|
|
20778
20843
|
/**
|
|
20779
20844
|
* draft = not filed yet (still editable).
|
|
20780
20845
|
*/
|
|
20781
|
-
export type
|
|
20846
|
+
export type status56 = 'draft' | 'vetting' | 'verified' | 'rejected';
|
|
20782
20847
|
|
|
20783
20848
|
export type RcsBrandInput = {
|
|
20784
20849
|
displayName: string;
|
|
@@ -20865,7 +20930,7 @@ export type RcsCarrierApproval = {
|
|
|
20865
20930
|
|
|
20866
20931
|
export type scope3 = 'carrier' | 'hub' | 'bot';
|
|
20867
20932
|
|
|
20868
|
-
export type
|
|
20933
|
+
export type status57 = 'PENDING' | 'SUBMITTED' | 'APPROVED' | 'REJECTED';
|
|
20869
20934
|
|
|
20870
20935
|
/**
|
|
20871
20936
|
* Message content. `suggestions` (max 11) render as chips under the message.
|
|
@@ -21548,7 +21613,7 @@ export type ScheduledEmail = {
|
|
|
21548
21613
|
createdAt?: string;
|
|
21549
21614
|
};
|
|
21550
21615
|
|
|
21551
|
-
export type
|
|
21616
|
+
export type status58 = 'scheduled' | 'sending' | 'sent' | 'failed' | 'cancelled';
|
|
21552
21617
|
|
|
21553
21618
|
export type SendEmailRequest = {
|
|
21554
21619
|
accountId: string;
|
|
@@ -22168,7 +22233,7 @@ export type SupportRun = {
|
|
|
22168
22233
|
/**
|
|
22169
22234
|
* 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.
|
|
22170
22235
|
*/
|
|
22171
|
-
export type
|
|
22236
|
+
export type status59 = 'queued' | 'running' | 'completed' | 'needs_human' | 'failed';
|
|
22172
22237
|
|
|
22173
22238
|
/**
|
|
22174
22239
|
* Why the run stopped. Null while it is in progress.
|
|
@@ -23136,7 +23201,7 @@ export type TrackingSite = {
|
|
|
23136
23201
|
updatedAt?: string;
|
|
23137
23202
|
};
|
|
23138
23203
|
|
|
23139
|
-
export type
|
|
23204
|
+
export type status60 = 'active' | 'paused' | 'removing';
|
|
23140
23205
|
|
|
23141
23206
|
/**
|
|
23142
23207
|
* How the tag is installed. `snippet` means you paste it.
|
|
@@ -23455,7 +23520,7 @@ export type TrackingWindow = {
|
|
|
23455
23520
|
} | null;
|
|
23456
23521
|
};
|
|
23457
23522
|
|
|
23458
|
-
export type
|
|
23523
|
+
export type status61 = 'open' | 'completing' | 'completed' | 'cancelled';
|
|
23459
23524
|
|
|
23460
23525
|
/**
|
|
23461
23526
|
* How the window closed. Null while it is open.
|
|
@@ -23549,7 +23614,7 @@ export type purpose = 'balance' | 'payout_batch';
|
|
|
23549
23614
|
/**
|
|
23550
23615
|
* `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.
|
|
23551
23616
|
*/
|
|
23552
|
-
export type
|
|
23617
|
+
export type status62 = 'pending' | 'succeeded' | 'failed' | 'expired';
|
|
23553
23618
|
|
|
23554
23619
|
export type TreasuryTransfer = {
|
|
23555
23620
|
id?: string;
|
|
@@ -23590,7 +23655,7 @@ export type TreasuryTransfer = {
|
|
|
23590
23655
|
|
|
23591
23656
|
export type destinationType = 'creator' | 'ad_account';
|
|
23592
23657
|
|
|
23593
|
-
export type
|
|
23658
|
+
export type status63 = 'pending' | 'paid' | 'failed' | 'reversed';
|
|
23594
23659
|
|
|
23595
23660
|
/**
|
|
23596
23661
|
* 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.
|
|
@@ -23781,7 +23846,7 @@ export type UploadTokenResponse = {
|
|
|
23781
23846
|
status?: 'pending' | 'completed' | 'expired';
|
|
23782
23847
|
};
|
|
23783
23848
|
|
|
23784
|
-
export type
|
|
23849
|
+
export type status64 = 'pending' | 'completed' | 'expired';
|
|
23785
23850
|
|
|
23786
23851
|
export type UploadTokenStatusResponse = {
|
|
23787
23852
|
token?: string;
|
|
@@ -24327,7 +24392,7 @@ export type Verification = {
|
|
|
24327
24392
|
resend?: boolean;
|
|
24328
24393
|
};
|
|
24329
24394
|
|
|
24330
|
-
export type
|
|
24395
|
+
export type status65 = 'pending' | 'approved' | 'expired' | 'max_attempts_reached' | 'canceled' | 'delivery_failed';
|
|
24331
24396
|
|
|
24332
24397
|
export type channel6 = 'sms' | 'whatsapp';
|
|
24333
24398
|
|
|
@@ -24586,7 +24651,7 @@ export type WebhookLog = {
|
|
|
24586
24651
|
/**
|
|
24587
24652
|
* Delivery outcome
|
|
24588
24653
|
*/
|
|
24589
|
-
export type
|
|
24654
|
+
export type status66 = 'success' | 'failed';
|
|
24590
24655
|
|
|
24591
24656
|
/**
|
|
24592
24657
|
* Webhook payload for `account.ads.initial_sync_completed` events.
|
|
@@ -24700,7 +24765,7 @@ export type event = 'account.ads.initial_sync_completed';
|
|
|
24700
24765
|
/**
|
|
24701
24766
|
* Overall outcome of the initial sync.
|
|
24702
24767
|
*/
|
|
24703
|
-
export type
|
|
24768
|
+
export type status67 = 'success' | 'failure';
|
|
24704
24769
|
|
|
24705
24770
|
/**
|
|
24706
24771
|
* Stable category for UX branching. New values may be added; existing ones are stable.
|
|
@@ -25383,7 +25448,7 @@ export type WebhookPayloadAdReview = {
|
|
|
25383
25448
|
|
|
25384
25449
|
export type event14 = 'ad.review.approved' | 'ad.review.rejected';
|
|
25385
25450
|
|
|
25386
|
-
export type
|
|
25451
|
+
export type status68 = 'approved' | 'rejected';
|
|
25387
25452
|
|
|
25388
25453
|
/**
|
|
25389
25454
|
* Webhook payload for the `ad_rule.triggered` event.
|
|
@@ -25954,7 +26019,7 @@ export type event20 = 'ad.video.processed';
|
|
|
25954
26019
|
/**
|
|
25955
26020
|
* `ready`: usable as `video.id` on the create endpoints. `error`: Meta could not process it; upload again.
|
|
25956
26021
|
*/
|
|
25957
|
-
export type
|
|
26022
|
+
export type status69 = 'ready' | 'error';
|
|
25958
26023
|
|
|
25959
26024
|
/**
|
|
25960
26025
|
* 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.
|
|
@@ -26095,7 +26160,7 @@ export type WebhookPayloadAutomationAction = {
|
|
|
26095
26160
|
|
|
26096
26161
|
export type event23 = 'automation.action.applied' | 'automation.action.failed' | 'automation.action.unknown';
|
|
26097
26162
|
|
|
26098
|
-
export type
|
|
26163
|
+
export type status70 = 'applied' | 'skipped' | 'failed' | 'unknown';
|
|
26099
26164
|
|
|
26100
26165
|
/**
|
|
26101
26166
|
* 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`).
|
|
@@ -29939,7 +30004,7 @@ export type event79 = 'post.platform.published' | 'post.platform.failed' | 'post
|
|
|
29939
30004
|
/**
|
|
29940
30005
|
* Terminal status this event fires on. Matches the event suffix.
|
|
29941
30006
|
*/
|
|
29942
|
-
export type
|
|
30007
|
+
export type status71 = 'published' | 'failed' | 'deleted';
|
|
29943
30008
|
|
|
29944
30009
|
/**
|
|
29945
30010
|
* Webhook payload for `post.tracking_completed`. Fired once when a post's tracking window ends and its final analytics read has run.
|
|
@@ -30529,7 +30594,7 @@ export type event92 = 'whatsapp.account.name_status_updated';
|
|
|
30529
30594
|
/**
|
|
30530
30595
|
* Normalized from Meta's `decision` (REJECTED -> DECLINED, DEFERRED -> PENDING_REVIEW; the review is still open on DEFERRED, not a rejection).
|
|
30531
30596
|
*/
|
|
30532
|
-
export type
|
|
30597
|
+
export type status72 = 'APPROVED' | 'DECLINED' | 'PENDING_REVIEW';
|
|
30533
30598
|
|
|
30534
30599
|
/**
|
|
30535
30600
|
* Webhook payload for `whatsapp.account.quality_updated`. Fired when a connected
|
|
@@ -30663,7 +30728,7 @@ export type event94 = 'whatsapp.account.status_updated';
|
|
|
30663
30728
|
/**
|
|
30664
30729
|
* `active` only on a reinstatement (DISABLED_UPDATE with ban state REINSTATE).
|
|
30665
30730
|
*/
|
|
30666
|
-
export type
|
|
30731
|
+
export type status73 = 'restricted' | 'active';
|
|
30667
30732
|
|
|
30668
30733
|
/**
|
|
30669
30734
|
* Webhook payload for the `whatsapp.contact.identity_changed` event. Fired when
|
|
@@ -30879,7 +30944,7 @@ export type event97 = 'whatsapp.template.status_updated';
|
|
|
30879
30944
|
* request before the template is actually removed.
|
|
30880
30945
|
*
|
|
30881
30946
|
*/
|
|
30882
|
-
export type
|
|
30947
|
+
export type status74 = 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL' | 'PENDING_DELETION';
|
|
30883
30948
|
|
|
30884
30949
|
export type WebhookPayloadWorkflowRun = {
|
|
30885
30950
|
/**
|
|
@@ -30943,7 +31008,7 @@ export type event98 = 'workflow.run.started' | 'workflow.run.completed' | 'workf
|
|
|
30943
31008
|
/**
|
|
30944
31009
|
* 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.
|
|
30945
31010
|
*/
|
|
30946
|
-
export type
|
|
31011
|
+
export type status75 = 'running' | 'waiting' | 'completed' | 'exited' | 'failed';
|
|
30947
31012
|
|
|
30948
31013
|
/**
|
|
30949
31014
|
* 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.
|
|
@@ -31345,7 +31410,7 @@ export type WorkflowExecutionEvent = {
|
|
|
31345
31410
|
|
|
31346
31411
|
export type action2 = 'execution_started' | 'execution_completed' | 'execution_exited' | 'execution_paused' | 'execution_resumed' | 'node_started' | 'node_completed' | 'node_failed' | 'node_skipped';
|
|
31347
31412
|
|
|
31348
|
-
export type
|
|
31413
|
+
export type status76 = 'success' | 'failed' | 'pending';
|
|
31349
31414
|
|
|
31350
31415
|
/**
|
|
31351
31416
|
* A node in a workflow graph. `config` shape depends on `type`.
|
|
@@ -67211,6 +67276,51 @@ export type ListAutomationChecksError = (ErrorResponse | {
|
|
|
67211
67276
|
error?: string;
|
|
67212
67277
|
});
|
|
67213
67278
|
|
|
67279
|
+
export type ListAutomationRunsData = {
|
|
67280
|
+
path: {
|
|
67281
|
+
automationId: string;
|
|
67282
|
+
};
|
|
67283
|
+
query?: {
|
|
67284
|
+
/**
|
|
67285
|
+
* `nextCursor` from the previous page.
|
|
67286
|
+
*/
|
|
67287
|
+
cursor?: string;
|
|
67288
|
+
limit?: number;
|
|
67289
|
+
/**
|
|
67290
|
+
* Only runs started at or after this time.
|
|
67291
|
+
*/
|
|
67292
|
+
since?: string;
|
|
67293
|
+
status?: 'live' | 'paused' | 'completed' | 'exited' | 'failed';
|
|
67294
|
+
};
|
|
67295
|
+
};
|
|
67296
|
+
|
|
67297
|
+
export type ListAutomationRunsResponse = ({
|
|
67298
|
+
runs: Array<AutomationRun>;
|
|
67299
|
+
/**
|
|
67300
|
+
* Null on the last page.
|
|
67301
|
+
*/
|
|
67302
|
+
nextCursor: (string) | null;
|
|
67303
|
+
});
|
|
67304
|
+
|
|
67305
|
+
export type ListAutomationRunsError = (ErrorResponse | {
|
|
67306
|
+
error?: string;
|
|
67307
|
+
});
|
|
67308
|
+
|
|
67309
|
+
export type GetAutomationRunData = {
|
|
67310
|
+
path: {
|
|
67311
|
+
automationId: string;
|
|
67312
|
+
runId: string;
|
|
67313
|
+
};
|
|
67314
|
+
};
|
|
67315
|
+
|
|
67316
|
+
export type GetAutomationRunResponse = ({
|
|
67317
|
+
run: AutomationRunDetail;
|
|
67318
|
+
});
|
|
67319
|
+
|
|
67320
|
+
export type GetAutomationRunError = (ErrorResponse | {
|
|
67321
|
+
error?: string;
|
|
67322
|
+
});
|
|
67323
|
+
|
|
67214
67324
|
export type PreviewAutomationDraftData = {
|
|
67215
67325
|
body: AutomationDefinition;
|
|
67216
67326
|
query?: {
|