@getlatedev/node 0.2.1328 → 0.2.1330

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1328",
39
+ version: "0.2.1330",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1328",
8
+ version: "0.2.1330",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1328",
3
+ "version": "0.2.1330",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -11778,8 +11778,9 @@ export const getAdReview = <ThrowOnError extends boolean = false>(options: Optio
11778
11778
  * can be up to 10 minutes old; an older one is read again. Read reviews when you need
11779
11779
  * them instead of sweeping every ad on a loop. When TikTok answers over quota, Zernio returns 429
11780
11780
  * and answers 429 for that advertiser and connection without calling TikTok for about 60 seconds, then
11781
- * 120, then 240 while TikTok keeps refusing (one step down after a successful call, each with up to 10%
11782
- * of random jitter), with the time left as `Retry-After`; reviews read in the last 10 minutes are still served.
11781
+ * 120, 240, 480 and up to 960 while TikTok keeps refusing, and after an overage each successful call holds
11782
+ * the next one for one step less (480, 240, 120, then 60 seconds) until a success at 60 seconds ends it, each
11783
+ * with up to 10% of random jitter, with the time left as `Retry-After`; reviews read in the last 10 minutes are still served.
11783
11784
  */
11784
11785
  export const getTikTokSmartPlusAdReview = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTikTokSmartPlusAdReviewData, ThrowOnError>) => {
11785
11786
  return (options?.client ?? client).get<GetTikTokSmartPlusAdReviewResponse, GetTikTokSmartPlusAdReviewError, ThrowOnError>({
@@ -12309,7 +12310,7 @@ export const getTikTokSmartPlusMaterialReport = <ThrowOnError extends boolean =
12309
12310
  *
12310
12311
  * The listing is stored with the time it was read (`listing.readAt`) and listed again when it is older than `maxAgeSeconds`, so it can be up to `maxAgeSeconds` old: a Smart+ ad created on TikTok appears after at most that long (one hour by default). If that relisting fails, Zernio serves the stored listing with `listing.source: fallback` and the relist error in `listing.error`, instead of failing the request; `listing.source: fresh` means the listing was read within `maxAgeSeconds`. Only when no listing was ever stored does the listing error fail the request.
12311
12312
  *
12312
- * TikTok's review endpoint has a strict quota of its own (TikTok documents neither the quota nor its scope). When it is over quota (or Zernio is holding review reads for this advertiser and connection after an overage: about 60 seconds, then 120, then 240 while TikTok keeps refusing, one step down after a successful call, each with up to 10% of random jitter), Zernio stops calling TikTok and answers 200 with the reviews it has: stale reviews in `items`, the Smart+ ads never read in `pendingSmartPlusAdIds` and, when any are pending, `incomplete: true` with `retryAfterSeconds` (also in the `Retry-After` header). Every Smart+ ad of the page is in `items`, `failedSmartPlusAds` or `pendingSmartPlusAdIds`. Wait `retryAfterSeconds` and read the same page again: only the stale and pending ads reach TikTok.
12313
+ * TikTok's review endpoint has a strict quota of its own (TikTok documents neither the quota nor its scope). When it is over quota (or Zernio is holding review reads for this advertiser and connection after an overage: about 60 seconds, then 120, 240, 480 and up to 960 while TikTok keeps refusing, and after each successful call one step less, 480 down to 60 seconds, until a success at 60 seconds ends it, each with up to 10% of random jitter), Zernio stops calling TikTok and answers 200 with the reviews it has: stale reviews in `items`, the Smart+ ads never read in `pendingSmartPlusAdIds` and, when any are pending, `incomplete: true` with `retryAfterSeconds` (also in the `Retry-After` header). Every Smart+ ad of the page is in `items`, `failedSmartPlusAds` or `pendingSmartPlusAdIds`. Wait `retryAfterSeconds` and read the same page again: only the stale and pending ads reach TikTok.
12313
12314
  *
12314
12315
  * A Smart+ ad whose review TikTok refuses on its own (for example one deleted on TikTok since the listing was read) is returned in `failedSmartPlusAds` with TikTok's error and `refusedAt`, and the rest of the page is still read. Zernio finds it by splitting the refused batch in halves, at most 16 extra TikTok calls per page; ads still unresolved after that keep their stored review, or stay in `pendingSmartPlusAdIds` when they have none, and are read first by the next request. A refusal of a single ad is stored for 24 hours and read again once it is older than `maxAgeSeconds`; when an ad has both a stored review and a stored refusal, the more recent one is returned. When both halves of a refused batch are refused with the same TikTok error (for example a permission error), Zernio stops calling TikTok for that page: when every Smart+ ad of the page has a stored review or refusal, it serves them and returns the refusal in `reviewError`; when some ad was never read, the whole request fails with that error.
12315
12316
  *
@@ -1648,6 +1648,16 @@ export type AdRuleRun = {
1648
1648
  previousDailyBudget?: number;
1649
1649
  newDailyBudget?: number;
1650
1650
  }>;
1651
+ /**
1652
+ * Set when a run of a rule with a `notify` action matched objects and tried to send the webhook. A notify-only rule whose webhook fails ends with outcome `failed`. `done` once the `ad_rule.triggered` webhook is queued for the webhooks subscribed to it (with none subscribed it is still `done`, but nothing is delivered), `failed` when it could not be queued.
1653
+ */
1654
+ notification?: {
1655
+ status: 'done' | 'failed';
1656
+ /**
1657
+ * Why the webhook could not be queued.
1658
+ */
1659
+ reason?: string;
1660
+ };
1651
1661
  } | null;
1652
1662
  error: (string) | null;
1653
1663
  };
@@ -1657,6 +1667,8 @@ export type AdRuleRun = {
1657
1667
  */
1658
1668
  export type outcome = 'triggered' | 'cooldown' | 'no_match' | 'failed';
1659
1669
 
1670
+ export type status3 = 'done' | 'failed';
1671
+
1660
1672
  export type AdRuleSchedule = {
1661
1673
  /**
1662
1674
  * How often the rule runs, in minutes.
@@ -2379,7 +2391,7 @@ export type AnalyticsSinglePostResponse = {
2379
2391
  /**
2380
2392
  * Overall post status. "partial" when some platforms published and others failed. While any platform is still pending or processing, the post's own status is returned instead (usually scheduled or publishing), even if another platform already published. A post with no published or failed platform (for example every platform cancelled) returns its own status with syncStatus unavailable and no platformAnalytics.
2381
2393
  */
2382
- export type status3 = 'published' | 'failed' | 'partial' | 'scheduled' | 'publishing' | 'draft' | 'cancelled';
2394
+ export type status4 = 'published' | 'failed' | 'partial' | 'scheduled' | 'publishing' | 'draft' | 'cancelled';
2383
2395
 
2384
2396
  /**
2385
2397
  * Overall sync state across all platforms
@@ -2691,7 +2703,7 @@ export type BlogArticle = {
2691
2703
  /**
2692
2704
  * WordPress and Wix. Post status (`future` = scheduled, `pending` = in review on Wix); omitted for Shopify.
2693
2705
  */
2694
- export type status4 = 'publish' | 'future' | 'draft' | 'pending' | 'private';
2706
+ export type status5 = 'publish' | 'future' | 'draft' | 'pending' | 'private';
2695
2707
 
2696
2708
  /**
2697
2709
  * 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.
@@ -2839,7 +2851,7 @@ export type BrandedCallingIdentity = {
2839
2851
  /**
2840
2852
  * requested = in Zernio review; changes_requested = answer the review (PATCH); pending_email_verification = confirm the code emailed to the authorizer; in_review = with the carrier vetting team; verified = attach numbers; rejected = fix and PATCH to resubmit; suspended = an infringement claim is open; expired = the yearly verification lapsed; permanently_rejected = terminal.
2841
2853
  */
2842
- export type status5 = 'requested' | 'changes_requested' | 'rejected' | 'pending_email_verification' | 'in_review' | 'verified' | 'suspended' | 'expired' | 'permanently_rejected';
2854
+ export type status6 = 'requested' | 'changes_requested' | 'rejected' | 'pending_email_verification' | 'in_review' | 'verified' | 'suspended' | 'expired' | 'permanently_rejected';
2843
2855
 
2844
2856
  export type BrandedCallingIdentityNumber = {
2845
2857
  phoneNumberId?: string;
@@ -2861,7 +2873,7 @@ export type BrandedCallingIdentityNumber = {
2861
2873
  /**
2862
2874
  * verified = the identity shows on calls from this number. permanently_rejected cannot be attached again anywhere.
2863
2875
  */
2864
- export type status6 = 'submitted' | 'in_review' | 'verified' | 'unsuccessful' | 'suspended' | 'expired' | 'permanently_rejected';
2876
+ export type status7 = 'submitted' | 'in_review' | 'verified' | 'unsuccessful' | 'suspended' | 'expired' | 'permanently_rejected';
2865
2877
 
2866
2878
  /**
2867
2879
  * 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.
@@ -3093,7 +3105,7 @@ export type BusinessAgentEventStatus = {
3093
3105
  updated_at: string;
3094
3106
  };
3095
3107
 
3096
- export type status7 = 'request_received' | 'processing' | 'sent' | 'failed' | 'skipped' | 'success';
3108
+ export type status8 = 'request_received' | 'processing' | 'sent' | 'failed' | 'skipped' | 'success';
3097
3109
 
3098
3110
  export type BusinessAgentFaq = BusinessAgentFaqInput & {
3099
3111
  id: string;
@@ -3190,7 +3202,7 @@ export type BusinessAgentSkill = BusinessAgentSkillInput & {
3190
3202
  /**
3191
3203
  * pending_review right after a write; blocked means Meta content review rejected it and the agent never applies it.
3192
3204
  */
3193
- export type status8 = 'active' | 'pending_review' | 'blocked';
3205
+ export type status9 = 'active' | 'pending_review' | 'blocked';
3194
3206
 
3195
3207
  export type BusinessAgentSkillInput = {
3196
3208
  /**
@@ -3292,7 +3304,7 @@ export type BusinessAgentUiSkillInput = {
3292
3304
 
3293
3305
  export type component_type = 'carousel_quick_reply' | 'carousel_url' | 'cta_url' | 'flow' | 'image' | 'interactive_list' | 'interactive_reply_buttons' | 'location' | 'location_request';
3294
3306
 
3295
- export type status9 = 'enabled' | 'disabled';
3307
+ export type status10 = 'enabled' | 'disabled';
3296
3308
 
3297
3309
  export type BusinessAgentWebsite = BusinessAgentWebsiteInput & {
3298
3310
  id: string;
@@ -3483,7 +3495,7 @@ export type channel = 'whatsapp' | 'pstn';
3483
3495
 
3484
3496
  export type direction2 = 'inbound' | 'outbound';
3485
3497
 
3486
- export type status10 = 'ringing' | 'answered' | 'ended' | 'failed';
3498
+ export type status11 = 'ringing' | 'answered' | 'ended' | 'failed';
3487
3499
 
3488
3500
  /**
3489
3501
  * Caller ID presented on the forwarded leg.
@@ -3873,7 +3885,7 @@ export type source = 'comment' | 'live_comment' | 'story_reply' | 'story_mention
3873
3885
  /**
3874
3886
  * DM outcome. 'pending' = the automation has a dmDelaySeconds and the response is queued but not sent yet. 'gated' = the follow-gate confirmation DM went out and we are waiting for the tap; it flips to 'sent' or 'skipped' when they tap. 'skipped' also covers repeatPolicy, cooldown and dedupeSameTextHours suppressions, with the reason in error.
3875
3887
  */
3876
- export type status11 = 'pending' | 'sent' | 'failed' | 'skipped' | 'gated';
3888
+ export type status12 = 'pending' | 'sent' | 'failed' | 'skipped' | 'gated';
3877
3889
 
3878
3890
  /**
3879
3891
  * How the audience rule resolved. Null on automations without one.
@@ -4167,7 +4179,7 @@ export type method = 'code' | 'automatic';
4167
4179
 
4168
4180
  export type type6 = 'percentage' | 'fixed_amount' | 'free_shipping' | 'buy_x_get_y' | 'app';
4169
4181
 
4170
- export type status12 = 'active' | 'scheduled' | 'expired';
4182
+ export type status13 = 'active' | 'scheduled' | 'expired';
4171
4183
 
4172
4184
  export type CommerceImage = {
4173
4185
  /**
@@ -4222,7 +4234,7 @@ export type CommerceMarket = {
4222
4234
  type?: string;
4223
4235
  };
4224
4236
 
4225
- export type status13 = 'active' | 'draft';
4237
+ export type status14 = 'active' | 'draft';
4226
4238
 
4227
4239
  export type CommerceMenu = {
4228
4240
  id?: string;
@@ -4737,7 +4749,7 @@ export type ConnectHandoff = {
4737
4749
  } | null;
4738
4750
  };
4739
4751
 
4740
- export type status14 = 'waiting' | 'opened' | 'connected' | 'failed' | 'expired';
4752
+ export type status15 = 'waiting' | 'opened' | 'connected' | 'failed' | 'expired';
4741
4753
 
4742
4754
  /**
4743
4755
  * Only with `handoff=true`: the link to show as a QR code.
@@ -4958,7 +4970,7 @@ export type ConversionDestination = {
4958
4970
  * For LinkedIn, `inactive` means the rule is soft-deleted (`enabled: false`).
4959
4971
  *
4960
4972
  */
4961
- export type status15 = 'active' | 'inactive';
4973
+ export type status16 = 'active' | 'inactive';
4962
4974
 
4963
4975
  /**
4964
4976
  * A single conversion event to relay to the ad platform. All PII fields
@@ -6095,7 +6107,7 @@ export type objective = 'OUTCOME_ENGAGEMENT' | 'OUTCOME_SALES' | 'OUTCOME_LEADS'
6095
6107
  * `adSetId`, the new ads themselves.
6096
6108
  *
6097
6109
  */
6098
- export type status16 = 'ACTIVE' | 'PAUSED';
6110
+ export type status17 = 'ACTIVE' | 'PAUSED';
6099
6111
 
6100
6112
  /**
6101
6113
  * Campaign-level status, same semantics as `POST /v1/ads/create`. Defaults
@@ -6487,7 +6499,7 @@ export type privacy_level = 2;
6487
6499
  /**
6488
6500
  * 1=SCHEDULED, 2=ACTIVE, 3=COMPLETED, 4=CANCELED
6489
6501
  */
6490
- export type status17 = 1 | 2 | 3 | 4;
6502
+ export type status18 = 1 | 2 | 3 | 4;
6491
6503
 
6492
6504
  /**
6493
6505
  * 1=STAGE_INSTANCE, 2=VOICE, 3=EXTERNAL
@@ -7132,7 +7144,7 @@ export type FeedbackReceipt = {
7132
7144
  duplicate?: boolean;
7133
7145
  };
7134
7146
 
7135
- export type status18 = 'received';
7147
+ export type status19 = 'received';
7136
7148
 
7137
7149
  export type FollowerStatsResponse = {
7138
7150
  accounts?: Array<AccountWithFollowerStats>;
@@ -7261,7 +7273,7 @@ export type GoogleAdLabel = {
7261
7273
  description?: (string) | null;
7262
7274
  };
7263
7275
 
7264
- export type status19 = 'ENABLED' | 'REMOVED' | 'UNKNOWN';
7276
+ export type status20 = 'ENABLED' | 'REMOVED' | 'UNKNOWN';
7265
7277
 
7266
7278
  /**
7267
7279
  * At least one id across the four target lists. Up to 1000 ids per list.
@@ -7364,7 +7376,7 @@ export type GoogleAdsManagerLink = {
7364
7376
  /**
7365
7377
  * Status the link has after this call.
7366
7378
  */
7367
- export type status20 = 'PENDING' | 'ACTIVE' | 'REFUSED' | 'CANCELED' | 'INACTIVE';
7379
+ export type status21 = 'PENDING' | 'ACTIVE' | 'REFUSED' | 'CANCELED' | 'INACTIVE';
7368
7380
 
7369
7381
  export type GoogleAdsUserAccessInvitation = {
7370
7382
  invitationId?: string;
@@ -7379,7 +7391,7 @@ export type GoogleAdsUserAccessInvitation = {
7379
7391
 
7380
7392
  export type accessRole = 'ADMIN' | 'STANDARD' | 'READ_ONLY' | 'EMAIL_ONLY' | 'UNKNOWN';
7381
7393
 
7382
- export type status21 = 'PENDING' | 'DECLINED' | 'EXPIRED' | 'UNKNOWN';
7394
+ export type status22 = 'PENDING' | 'DECLINED' | 'EXPIRED' | 'UNKNOWN';
7383
7395
 
7384
7396
  export type GoogleAdsUserAccessInvitationResult = {
7385
7397
  customerId?: string;
@@ -7403,7 +7415,7 @@ export type GoogleAdsUserAccessInvitationResult = {
7403
7415
  /**
7404
7416
  * PENDING once the email is sent; PENDING_APPROVAL while Google waits for a second admin's multi-party approval.
7405
7417
  */
7406
- export type status22 = 'PENDING' | 'PENDING_APPROVAL';
7418
+ export type status23 = 'PENDING' | 'PENDING_APPROVAL';
7407
7419
 
7408
7420
  export type GoogleAdsUserInvitationApproval = {
7409
7421
  /**
@@ -8168,7 +8180,7 @@ export type GoogleRecommendationResult = {
8168
8180
  error?: string;
8169
8181
  };
8170
8182
 
8171
- export type status23 = 'applied' | 'dismissed' | 'failed';
8183
+ export type status24 = 'applied' | 'dismissed' | 'failed';
8172
8184
 
8173
8185
  export type GoogleRsaDescription = {
8174
8186
  text: string;
@@ -8303,7 +8315,7 @@ export type ImessageSandboxContact = {
8303
8315
  createdAt?: string;
8304
8316
  };
8305
8317
 
8306
- export type status24 = 'pending' | 'active';
8318
+ export type status25 = 'pending' | 'active';
8307
8319
 
8308
8320
  /**
8309
8321
  * An iMessage sender registered as an account on a profile.
@@ -8378,7 +8390,7 @@ export type region = 'US' | 'GB';
8378
8390
  /**
8379
8391
  * `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.
8380
8392
  */
8381
- export type status25 = 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8393
+ export type status26 = 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8382
8394
 
8383
8395
  /**
8384
8396
  * Click attribution for a conversation that started from a Meta ad or
@@ -8581,7 +8593,7 @@ export type InboxWebhookConversation = {
8581
8593
  contactId?: string;
8582
8594
  };
8583
8595
 
8584
- export type status26 = 'active' | 'archived';
8596
+ export type status27 = 'active' | 'archived';
8585
8597
 
8586
8598
  /**
8587
8599
  * The conversation object included in conversation lifecycle webhook payloads (conversation.started, conversation.control_changed).
@@ -10621,7 +10633,7 @@ export type OwnedPhoneNumber = {
10621
10633
  }>;
10622
10634
  };
10623
10635
 
10624
- export type status27 = 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
10636
+ export type status28 = 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
10625
10637
 
10626
10638
  export type metaVerificationStatus = 'pending' | 'code_requested' | 'verified' | 'expired';
10627
10639
 
@@ -10783,7 +10795,7 @@ export type PlatformAnalytics = {
10783
10795
  isOwner?: (boolean) | null;
10784
10796
  };
10785
10797
 
10786
- export type status28 = 'published' | 'failed';
10798
+ export type status29 = 'published' | 'failed';
10787
10799
 
10788
10800
  /**
10789
10801
  * Sync state of analytics for this platform
@@ -10986,7 +10998,7 @@ export type Post = {
10986
10998
  /**
10987
10999
  * `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.
10988
11000
  */
10989
- export type status29 = 'draft' | 'pending_approval' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
11001
+ export type status30 = 'draft' | 'pending_approval' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
10990
11002
 
10991
11003
  export type visibility2 = 'public' | 'private' | 'unlisted';
10992
11004
 
@@ -11223,7 +11235,7 @@ export type Product = {
11223
11235
  publishedAt?: (string) | null;
11224
11236
  };
11225
11237
 
11226
- export type status30 = 'active' | 'draft' | 'archived';
11238
+ export type status31 = 'active' | 'draft' | 'archived';
11227
11239
 
11228
11240
  export type ProductImage = {
11229
11241
  url?: string;
@@ -11442,7 +11454,7 @@ export type RcsAgent = {
11442
11454
  createdAt?: string;
11443
11455
  };
11444
11456
 
11445
- export type status31 = 'requested' | 'changes_requested' | 'brand_vetting' | 'agent_review' | 'testing' | 'launch_review' | 'launching' | 'live' | 'rejected' | 'deactivated';
11457
+ export type status32 = 'requested' | 'changes_requested' | 'brand_vetting' | 'agent_review' | 'testing' | 'launch_review' | 'launching' | 'live' | 'rejected' | 'deactivated';
11446
11458
 
11447
11459
  export type useCase = 'MULTI_USE' | 'PROMOTIONAL' | 'TRANSACTIONAL' | 'OTP';
11448
11460
 
@@ -11494,7 +11506,7 @@ export type RcsBrand = RcsBrandInput & {
11494
11506
  /**
11495
11507
  * draft = not filed yet (still editable).
11496
11508
  */
11497
- export type status32 = 'draft' | 'vetting' | 'verified' | 'rejected';
11509
+ export type status33 = 'draft' | 'vetting' | 'verified' | 'rejected';
11498
11510
 
11499
11511
  export type RcsBrandInput = {
11500
11512
  displayName: string;
@@ -11581,7 +11593,7 @@ export type RcsCarrierApproval = {
11581
11593
 
11582
11594
  export type scope2 = 'carrier' | 'hub' | 'bot';
11583
11595
 
11584
- export type status33 = 'PENDING' | 'SUBMITTED' | 'APPROVED' | 'REJECTED';
11596
+ export type status34 = 'PENDING' | 'SUBMITTED' | 'APPROVED' | 'REJECTED';
11585
11597
 
11586
11598
  /**
11587
11599
  * Message content. `suggestions` (max 11) render as chips under the message.
@@ -12413,7 +12425,7 @@ export type SupportRun = {
12413
12425
  /**
12414
12426
  * 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.
12415
12427
  */
12416
- export type status34 = 'queued' | 'running' | 'completed' | 'needs_human' | 'failed';
12428
+ export type status35 = 'queued' | 'running' | 'completed' | 'needs_human' | 'failed';
12417
12429
 
12418
12430
  /**
12419
12431
  * Why the run stopped. Null while it is in progress.
@@ -13380,7 +13392,7 @@ export type UploadTokenResponse = {
13380
13392
  status?: 'pending' | 'completed' | 'expired';
13381
13393
  };
13382
13394
 
13383
- export type status35 = 'pending' | 'completed' | 'expired';
13395
+ export type status36 = 'pending' | 'completed' | 'expired';
13384
13396
 
13385
13397
  export type UploadTokenStatusResponse = {
13386
13398
  token?: string;
@@ -13891,7 +13903,7 @@ export type Verification = {
13891
13903
  resend?: boolean;
13892
13904
  };
13893
13905
 
13894
- export type status36 = 'pending' | 'approved' | 'expired' | 'max_attempts_reached' | 'canceled' | 'delivery_failed';
13906
+ export type status37 = 'pending' | 'approved' | 'expired' | 'max_attempts_reached' | 'canceled' | 'delivery_failed';
13895
13907
 
13896
13908
  export type channel5 = 'sms' | 'whatsapp';
13897
13909
 
@@ -14069,7 +14081,7 @@ export type WebhookLog = {
14069
14081
  /**
14070
14082
  * Delivery outcome
14071
14083
  */
14072
- export type status37 = 'success' | 'failed';
14084
+ export type status38 = 'success' | 'failed';
14073
14085
 
14074
14086
  /**
14075
14087
  * Webhook payload for `account.ads.initial_sync_completed` events.
@@ -14186,7 +14198,7 @@ export type event = 'account.ads.initial_sync_completed';
14186
14198
  /**
14187
14199
  * Overall outcome of the initial sync.
14188
14200
  */
14189
- export type status38 = 'success' | 'failure';
14201
+ export type status39 = 'success' | 'failure';
14190
14202
 
14191
14203
  /**
14192
14204
  * Stable category for UX branching. New values may be added; existing ones are
@@ -14565,7 +14577,7 @@ export type WebhookPayloadAdReview = {
14565
14577
 
14566
14578
  export type event8 = 'ad.review.approved' | 'ad.review.rejected';
14567
14579
 
14568
- export type status39 = 'approved' | 'rejected';
14580
+ export type status40 = 'approved' | 'rejected';
14569
14581
 
14570
14582
  /**
14571
14583
  * Webhook payload for the `ad_rule.triggered` event.
@@ -14905,7 +14917,7 @@ export type event11 = 'ad.video.processed';
14905
14917
  /**
14906
14918
  * `ready`: usable as `video.id` on the create endpoints. `error`: Meta could not process it; upload again.
14907
14919
  */
14908
- export type status40 = 'ready' | 'error';
14920
+ export type status41 = 'ready' | 'error';
14909
14921
 
14910
14922
  /**
14911
14923
  * Webhook payload for `analytics.synced`. Fired once per connected account each
@@ -17097,7 +17109,7 @@ export type event35 = 'post.platform.published' | 'post.platform.failed' | 'post
17097
17109
  /**
17098
17110
  * Terminal status this event fires on. Matches the event suffix.
17099
17111
  */
17100
- export type status41 = 'published' | 'failed' | 'deleted';
17112
+ export type status42 = 'published' | 'failed' | 'deleted';
17101
17113
 
17102
17114
  /**
17103
17115
  * Webhook payload for reaction received events (WhatsApp, Telegram, Slack, Instagram, Facebook Messenger, TikTok)
@@ -17494,7 +17506,7 @@ export type event44 = 'whatsapp.account.name_status_updated';
17494
17506
  /**
17495
17507
  * Normalized from Meta's `decision` (REJECTED -> DECLINED, DEFERRED -> PENDING_REVIEW; the review is still open on DEFERRED, not a rejection).
17496
17508
  */
17497
- export type status42 = 'APPROVED' | 'DECLINED' | 'PENDING_REVIEW';
17509
+ export type status43 = 'APPROVED' | 'DECLINED' | 'PENDING_REVIEW';
17498
17510
 
17499
17511
  /**
17500
17512
  * Webhook payload for `whatsapp.account.quality_updated`. Fired when a connected
@@ -17628,7 +17640,7 @@ export type event46 = 'whatsapp.account.status_updated';
17628
17640
  /**
17629
17641
  * `active` only on a reinstatement (DISABLED_UPDATE with ban state REINSTATE).
17630
17642
  */
17631
- export type status43 = 'restricted' | 'active';
17643
+ export type status44 = 'restricted' | 'active';
17632
17644
 
17633
17645
  /**
17634
17646
  * Webhook payload for the `whatsapp.contact.identity_changed` event. Fired when
@@ -17844,7 +17856,7 @@ export type event49 = 'whatsapp.template.status_updated';
17844
17856
  * request before the template is actually removed.
17845
17857
  *
17846
17858
  */
17847
- export type status44 = 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL' | 'PENDING_DELETION';
17859
+ export type status45 = 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL' | 'PENDING_DELETION';
17848
17860
 
17849
17861
  export type WebhookPayloadWorkflowRun = {
17850
17862
  /**
@@ -17908,7 +17920,7 @@ export type event50 = 'workflow.run.started' | 'workflow.run.completed' | 'workf
17908
17920
  /**
17909
17921
  * 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.
17910
17922
  */
17911
- export type status45 = 'running' | 'waiting' | 'completed' | 'exited' | 'failed';
17923
+ export type status46 = 'running' | 'waiting' | 'completed' | 'exited' | 'failed';
17912
17924
 
17913
17925
  /**
17914
17926
  * The profiles this event belongs to, each with the externalId you set on it (null when none is set). Present on every event tied to a profile and absent on events that belong to none. Events spanning several profiles (a post published to accounts of different profiles) list each once. Use it to route the event to your tenant without storing Zernio profile ids.
@@ -18306,7 +18318,7 @@ export type WorkflowExecutionEvent = {
18306
18318
 
18307
18319
  export type action2 = 'execution_started' | 'execution_completed' | 'execution_exited' | 'execution_paused' | 'execution_resumed' | 'node_started' | 'node_completed' | 'node_failed' | 'node_skipped';
18308
18320
 
18309
- export type status46 = 'success' | 'failed' | 'pending';
18321
+ export type status47 = 'success' | 'failed' | 'pending';
18310
18322
 
18311
18323
  /**
18312
18324
  * A node in a workflow graph. `config` shape depends on `type`.