@zernio/node 0.2.99 → 0.2.100

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 CHANGED
@@ -352,9 +352,9 @@ try {
352
352
  | `adCampaigns.listAdCampaigns()` | List campaigns |
353
353
  | `adCampaigns.bulkUpdateAdCampaignStatus()` | Pause or resume many campaigns |
354
354
  | `adCampaigns.getAdTree()` | Get campaign tree |
355
- | `adCampaigns.updateAdCampaign()` | Update a campaign (budget) |
355
+ | `adCampaigns.updateAdCampaign()` | Update a campaign (budget and/or bid strategy) |
356
356
  | `adCampaigns.updateAdCampaignStatus()` | Pause or resume a campaign |
357
- | `adCampaigns.updateAdSet()` | Update an ad set (budget and/or status) |
357
+ | `adCampaigns.updateAdSet()` | Update an ad set (budget, status, and/or bid strategy) |
358
358
  | `adCampaigns.updateAdSetStatus()` | Pause or resume a single ad set |
359
359
  | `adCampaigns.deleteAdCampaign()` | Delete a campaign |
360
360
  | `adCampaigns.duplicateAdCampaign()` | Duplicate a campaign |
package/dist/index.d.mts CHANGED
@@ -719,9 +719,39 @@ type Ad = {
719
719
  */
720
720
  optimizationGoal?: (string) | null;
721
721
  /**
722
- * Bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS). Ad set level overrides campaign level. Only present for Meta ads.
722
+ * Ad-set bid strategy (overrides campaign level on Meta). Populated for Meta and
723
+ * TikTok. TikTok's native `bid_type` is normalized to the cross-platform Meta enum:
724
+ * `BID_TYPE_NO_BID` -> `LOWEST_COST_WITHOUT_CAP`, `BID_TYPE_CUSTOM` ->
725
+ * `LOWEST_COST_WITH_BID_CAP`, deep_bid_type=MIN_ROAS or roas_bid>0 ->
726
+ * `LOWEST_COST_WITH_MIN_ROAS`, `BID_TYPE_MAX_CONVERSION` -> `LOWEST_COST_WITHOUT_CAP`.
727
+ *
728
+ */
729
+ bidStrategy?: ((BidStrategy) | null);
730
+ /**
731
+ * Bid cap in WHOLE currency units of the ad account (USD: 5 = $5.00; JPY: 100 = ¥100).
732
+ * Populated when bidStrategy is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. `null` for
733
+ * auto-bid (`LOWEST_COST_WITHOUT_CAP`).
734
+ *
735
+ * - Meta source: `bid_amount` on the ad set (smallest-denomination int, decoded here).
736
+ * - TikTok source: priority order `bid_price` -> `conversion_bid_price` -> `deep_cpa_bid`
737
+ * (whichever is set on the ad group). TikTok stores all three in whole currency units.
738
+ *
739
+ * Source: facebook-business-sdk-codegen api_specs/specs/AdSet.json (`bid_amount`).
740
+ *
741
+ */
742
+ bidAmount?: (number) | null;
743
+ /**
744
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x ROAS). Populated when bidStrategy
745
+ * is `LOWEST_COST_WITH_MIN_ROAS`.
746
+ *
747
+ * - Meta source: decoded from `bid_constraints.roas_average_floor` (Meta stores as
748
+ * fixed-point int × 10000; we return the decimal).
749
+ * - TikTok source: `roas_bid` on the ad group (already a decimal).
750
+ *
751
+ * Source: facebook-business-sdk-codegen api_specs/specs/AdCampaignBidConstraint.json.
752
+ *
723
753
  */
724
- bidStrategy?: (string) | null;
754
+ roasAverageFloor?: (number) | null;
725
755
  /**
726
756
  * Meta promoted object containing conversion event details. Structure varies by objective. Only present for Meta ads.
727
757
  */
@@ -882,9 +912,17 @@ type AdCampaign = {
882
912
  */
883
913
  optimizationGoal?: (string) | null;
884
914
  /**
885
- * Campaign-level bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS)
915
+ * Campaign-level bid strategy. Ad sets inherit this unless they override.
916
+ */
917
+ bidStrategy?: ((BidStrategy) | null);
918
+ /**
919
+ * Representative bid cap from the top-spending ad set (whole currency units). Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
920
+ */
921
+ bidAmount?: (number) | null;
922
+ /**
923
+ * Representative ROAS floor from the top-spending ad set. Decimal multiplier (2.0 = 2.0x).
886
924
  */
887
- bidStrategy?: (string) | null;
925
+ roasAverageFloor?: (number) | null;
888
926
  /**
889
927
  * Meta promoted object at campaign level (conversion event details)
890
928
  */
@@ -989,7 +1027,15 @@ type AdTreeAdSet = {
989
1027
  /**
990
1028
  * Bid strategy for this ad set (overrides campaign level when set)
991
1029
  */
992
- bidStrategy?: (string) | null;
1030
+ bidStrategy?: ((BidStrategy) | null);
1031
+ /**
1032
+ * Bid cap in whole currency units. Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
1033
+ */
1034
+ bidAmount?: (number) | null;
1035
+ /**
1036
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Populated when bidStrategy is LOWEST_COST_WITH_MIN_ROAS.
1037
+ */
1038
+ roasAverageFloor?: (number) | null;
993
1039
  /**
994
1040
  * Meta promoted object for this ad set (conversion event details)
995
1041
  */
@@ -1078,9 +1124,17 @@ type AdTreeCampaign = {
1078
1124
  */
1079
1125
  optimizationGoal?: (string) | null;
1080
1126
  /**
1081
- * Campaign-level bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS)
1127
+ * Campaign-level bid strategy. Ad sets inherit this unless they override.
1128
+ */
1129
+ bidStrategy?: ((BidStrategy) | null);
1130
+ /**
1131
+ * Representative bid cap for the campaign — bubbled up from the top-spending ad set's `bid_amount` (whole currency units). Populated when the ad-set bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
1132
+ */
1133
+ bidAmount?: (number) | null;
1134
+ /**
1135
+ * Representative ROAS floor for the campaign — bubbled up from the top-spending ad set. Decimal multiplier (2.0 = 2.0x).
1082
1136
  */
1083
- bidStrategy?: (string) | null;
1137
+ roasAverageFloor?: (number) | null;
1084
1138
  /**
1085
1139
  * Meta promoted object at campaign level (conversion event details)
1086
1140
  */
@@ -1239,6 +1293,17 @@ type scope = 'full' | 'profiles';
1239
1293
  * 'read-write' allows all operations, 'read' restricts to GET requests only
1240
1294
  */
1241
1295
  type permission = 'read-write' | 'read';
1296
+ /**
1297
+ * Meta bid strategy. Same enum applies at campaign and ad-set level; ad-set value (when set)
1298
+ * overrides campaign-level. Cross-field rules:
1299
+ * - `LOWEST_COST_WITHOUT_CAP` (default): auto-bid, forbids `bidAmount` and `roasAverageFloor`.
1300
+ * - `LOWEST_COST_WITH_BID_CAP` / `COST_CAP`: require `bidAmount` (whole currency units).
1301
+ * - `LOWEST_COST_WITH_MIN_ROAS`: requires `roasAverageFloor` (decimal multiplier, 2.0 = 2.0x).
1302
+ * Source: facebook-business-sdk-codegen api_specs/specs/enum_types.json (`AdSet_bid_strategy`,
1303
+ * `Campaign_bid_strategy`).
1304
+ *
1305
+ */
1306
+ type BidStrategy = 'LOWEST_COST_WITHOUT_CAP' | 'LOWEST_COST_WITH_BID_CAP' | 'COST_CAP' | 'LOWEST_COST_WITH_MIN_ROAS';
1242
1307
  /**
1243
1308
  * 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.
1244
1309
  *
@@ -6259,6 +6324,9 @@ type GetGoogleBusinessLocationDetailsData = {
6259
6324
  locationId?: string;
6260
6325
  /**
6261
6326
  * Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, serviceItems, profile, openInfo, metadata, moreHours.
6327
+ * `title` and `metadata` are always included in the response so the `location` summary block can be populated, even if you omit them here.
6328
+ * Note: `location` is a derived response field, not a Google readMask value, passing it returns 400.
6329
+ *
6262
6330
  */
6263
6331
  readMask?: string;
6264
6332
  };
@@ -6268,11 +6336,11 @@ type GetGoogleBusinessLocationDetailsResponse = ({
6268
6336
  accountId?: string;
6269
6337
  locationId?: string;
6270
6338
  /**
6271
- * Compact public-facing summary derived from `metadata`. Useful for
6272
- * surfacing the "leave a review" URL (e.g. behind a QR code) without
6273
- * parsing Google's raw `metadata` block. Populated when the readMask
6274
- * includes `metadata` (the default). For unverified or new locations,
6275
- * Google omits placeId/reviewUrl/mapsUri, so those return as null.
6339
+ * Compact public-facing summary derived from Google's `metadata`. Useful
6340
+ * for surfacing the "leave a review" URL (e.g. behind a QR code) without
6341
+ * parsing the raw block. Always populated regardless of readMask.
6342
+ * For unverified or new locations Google omits placeId/reviewUrl/mapsUri,
6343
+ * so those return as null and `isVerified` is false.
6276
6344
  *
6277
6345
  */
6278
6346
  location?: {
@@ -12303,13 +12371,17 @@ type UpdateAdCampaignStatusError = (unknown | {
12303
12371
  type UpdateAdCampaignData = {
12304
12372
  body: {
12305
12373
  platform: 'facebook' | 'instagram';
12306
- budget: {
12374
+ budget?: {
12307
12375
  /**
12308
12376
  * Budget amount in the ad account's currency
12309
12377
  */
12310
12378
  amount: number;
12311
12379
  type: 'daily' | 'lifetime';
12312
12380
  };
12381
+ /**
12382
+ * Campaign-level default. Ad sets inherit this unless they override.
12383
+ */
12384
+ bidStrategy?: (BidStrategy);
12313
12385
  };
12314
12386
  path: {
12315
12387
  /**
@@ -12322,6 +12394,7 @@ type UpdateAdCampaignResponse = ({
12322
12394
  updated?: number;
12323
12395
  budget?: AdBudget;
12324
12396
  budgetLevel?: 'campaign';
12397
+ bidStrategy?: BidStrategy;
12325
12398
  });
12326
12399
  type UpdateAdCampaignError = (unknown | {
12327
12400
  error?: string;
@@ -12422,16 +12495,38 @@ type UpdateAdSetData = {
12422
12495
  body: {
12423
12496
  platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter';
12424
12497
  /**
12425
- * Omit if only toggling status
12498
+ * Omit if not updating budget
12426
12499
  */
12427
12500
  budget?: {
12428
12501
  amount?: number;
12429
12502
  type?: 'daily' | 'lifetime';
12430
12503
  };
12431
12504
  /**
12432
- * Omit if only updating budget
12505
+ * Omit if not toggling delivery state
12433
12506
  */
12434
12507
  status?: 'active' | 'paused';
12508
+ /**
12509
+ * Ad-set-level bid strategy. Overrides the campaign-level default.
12510
+ * Supported on Meta (facebook, instagram) and TikTok. On TikTok the
12511
+ * Meta-style enum is mapped to bid_type / bid_price / deep_bid_type
12512
+ * automatically. Other platforms (linkedin, pinterest, google, twitter)
12513
+ * return 501 Not Implemented when bidStrategy is set.
12514
+ *
12515
+ */
12516
+ bidStrategy?: (BidStrategy);
12517
+ /**
12518
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
12519
+ * bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Internally converted to Meta's
12520
+ * smallest-denomination integer.
12521
+ *
12522
+ */
12523
+ bidAmount?: number;
12524
+ /**
12525
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Required when bidStrategy is
12526
+ * LOWEST_COST_WITH_MIN_ROAS. Sent to Meta as `bid_constraints.roas_average_floor` × 10000.
12527
+ *
12528
+ */
12529
+ roasAverageFloor?: number;
12435
12530
  };
12436
12531
  path: {
12437
12532
  /**
@@ -12446,6 +12541,9 @@ type UpdateAdSetResponse = ({
12446
12541
  status?: 'active' | 'paused';
12447
12542
  statusUpdated?: number;
12448
12543
  statusSkipped?: number;
12544
+ bidStrategy?: BidStrategy;
12545
+ bidAmount?: (number) | null;
12546
+ roasAverageFloor?: (number) | null;
12449
12547
  });
12450
12548
  type UpdateAdSetError = (unknown | {
12451
12549
  error?: string;
@@ -12755,9 +12853,25 @@ type BoostPostData = {
12755
12853
  advantage_audience?: 0 | 1;
12756
12854
  };
12757
12855
  /**
12758
- * Max bid cap (Meta only)
12856
+ * Meta bid strategy applied to the ad set. On TikTok, mapped to
12857
+ * `bid_type` / `bid_price` / `deep_bid_type` automatically.
12858
+ *
12859
+ */
12860
+ bidStrategy?: (BidStrategy);
12861
+ /**
12862
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
12863
+ * `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. Backward-compat: providing
12864
+ * `bidAmount` without `bidStrategy` is treated as `LOWEST_COST_WITH_BID_CAP`.
12865
+ *
12759
12866
  */
12760
12867
  bidAmount?: number;
12868
+ /**
12869
+ * Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when
12870
+ * `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as
12871
+ * `bid_constraints.roas_average_floor` × 10000 (Meta uses fixed-point integers).
12872
+ *
12873
+ */
12874
+ roasAverageFloor?: number;
12761
12875
  /**
12762
12876
  * Meta only. Tracking specs (pixel, URL tags).
12763
12877
  */
@@ -12769,6 +12883,24 @@ type BoostPostData = {
12769
12883
  * Meta only. Required for housing, employment, credit, or political ads.
12770
12884
  */
12771
12885
  specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS')>;
12886
+ /**
12887
+ * TikTok-only. Custom destination URL for the Spark Ad. Without this, TikTok
12888
+ * Spark Ads have no clickable destination — required for traffic / conversion
12889
+ * objectives. Maps to `landing_page_url` on the creative entry of /v2/ad/create/
12890
+ * (TikTok SDK `AdcreateCreatives.landing_page_url`). Ignored on Meta / LinkedIn /
12891
+ * Pinterest / X / Google (those infer the destination from the boosted post).
12892
+ *
12893
+ */
12894
+ linkUrl?: string;
12895
+ /**
12896
+ * TikTok-only. Call-to-action button label on the Spark Ad creative (e.g.
12897
+ * `LEARN_MORE`, `SHOP_NOW`, `DOWNLOAD_NOW`, `SIGN_UP`, `WATCH_NOW`). Maps to
12898
+ * `call_to_action` on the creative entry of /v2/ad/create/. Pass-through —
12899
+ * the platform validates the value. See TikTok's "Enumeration - Call-to-Action"
12900
+ * reference for the full list.
12901
+ *
12902
+ */
12903
+ callToAction?: string;
12772
12904
  /**
12773
12905
  * Name of the legal entity benefiting from the ad.
12774
12906
  * Required by Meta when targeting EU users (DSA Article 26).
@@ -12887,8 +13019,11 @@ type CreateStandaloneAdData = {
12887
13019
  /**
12888
13020
  * Meta-only. When present, switches to the attach shape: adds
12889
13021
  * one new ad to this existing ad set without creating a new
12890
- * campaign. Budget, targeting, goal, and schedule are inherited
12891
- * from the ad set on Meta. Mutually exclusive with `creatives[]`.
13022
+ * campaign. Budget, targeting, goal, schedule, AND bid strategy
13023
+ * are inherited from the ad set on Meta passing `bidStrategy`
13024
+ * in attach mode returns 400. To change an existing ad set's
13025
+ * bid, use `PUT /v1/ads/ad-sets/{adSetId}`. Mutually exclusive
13026
+ * with `creatives[]`.
12892
13027
  *
12893
13028
  */
12894
13029
  adSetId?: string;
@@ -12942,6 +13077,23 @@ type CreateStandaloneAdData = {
12942
13077
  * Meta only. Restrict the audience by gender. 'male' targets men only, 'female' targets women only, 'all' (default) targets everyone. Ignored by non-Meta platforms.
12943
13078
  */
12944
13079
  gender?: 'all' | 'male' | 'female';
13080
+ /**
13081
+ * Meta bid strategy applied to the ad set.
13082
+ */
13083
+ bidStrategy?: (BidStrategy);
13084
+ /**
13085
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
13086
+ * `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`.
13087
+ *
13088
+ */
13089
+ bidAmount?: number;
13090
+ /**
13091
+ * Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when
13092
+ * `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as
13093
+ * `bid_constraints.roas_average_floor` × 10000.
13094
+ *
13095
+ */
13096
+ roasAverageFloor?: number;
12945
13097
  /**
12946
13098
  * Name of the legal entity benefiting from the ad.
12947
13099
  * Required by Meta when targeting EU users (DSA Article 26).
@@ -13443,4 +13595,4 @@ type CreateCtwaAdError = (unknown | {
13443
13595
  error?: string;
13444
13596
  });
13445
13597
 
13446
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdBudget, type AdCampaign, type AdMetrics, type AdStatus, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BatchGetGoogleBusinessReviewsData, type BatchGetGoogleBusinessReviewsError, type BatchGetGoogleBusinessReviewsResponse, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUpdateAdCampaignStatusData, type BulkUpdateAdCampaignStatusError, type BulkUpdateAdCampaignStatusResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConversionEvent, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCtwaAdData, type CreateCtwaAdError, type CreateCtwaAdResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdCampaignData, type DeleteAdCampaignError, type DeleteAdCampaignResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DiscordPlatformData, type DuplicateAdCampaignData, type DuplicateAdCampaignError, type DuplicateAdCampaignResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GeoRestriction, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdCommentsData, type GetAdCommentsError, type GetAdCommentsResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetDiscordChannelsData, type GetDiscordChannelsError, type GetDiscordChannelsResponse, type GetDiscordSettingsData, type GetDiscordSettingsError, type GetDiscordSettingsResponse, type GetFacebookPageInsightsData, type GetFacebookPageInsightsError, type GetFacebookPageInsightsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetGoogleBusinessServicesData, type GetGoogleBusinessServicesError, type GetGoogleBusinessServicesResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramFollowerHistoryData, type GetInstagramFollowerHistoryError, type GetInstagramFollowerHistoryResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrgAggregateAnalyticsData, type GetLinkedInOrgAggregateAnalyticsError, type GetLinkedInOrgAggregateAnalyticsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokAccountInsightsData, type GetTikTokAccountInsightsError, type GetTikTokAccountInsightsResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeChannelInsightsData, type GetYouTubeChannelInsightsError, type GetYouTubeChannelInsightsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListConversionDestinationsData, type ListConversionDestinationsError, type ListConversionDestinationsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ReviewWebhookReview, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendConversionsData, type SendConversionsError, type SendConversionsResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppConversionData, type SendWhatsAppConversionError, type SendWhatsAppConversionResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignData, type UpdateAdCampaignError, type UpdateAdCampaignResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateAdSetData, type UpdateAdSetError, type UpdateAdSetResponse, type UpdateAdSetStatusData, type UpdateAdSetStatusError, type UpdateAdSetStatusResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateDiscordSettingsData, type UpdateDiscordSettingsError, type UpdateDiscordSettingsResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateGoogleBusinessPlaceActionData, type UpdateGoogleBusinessPlaceActionError, type UpdateGoogleBusinessPlaceActionResponse, type UpdateGoogleBusinessServicesData, type UpdateGoogleBusinessServicesError, type UpdateGoogleBusinessServicesResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountAdsInitialSyncCompleted, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadReviewNew, type WebhookPayloadReviewUpdated, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type actionSource, type adType, type aggregation, type aggregation2, type aggregation3, type autoArchiveDuration, type billingPeriod, type budgetLevel, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event11, type event12, type event13, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type interactiveType, type mediaType, type mediaType2, type metric, type metricType, type offerType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type platform5, type platform6, type replySettings, type reviewStatus, type scope, type status, type status2, type status3, type status4, type status5, type status6, type syncStatus, type syncStatus2, type timeframe, type topicType, type type, type type2, type type3, type type4, type type5, type visibility };
13598
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdBudget, type AdCampaign, type AdMetrics, type AdStatus, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BatchGetGoogleBusinessReviewsData, type BatchGetGoogleBusinessReviewsError, type BatchGetGoogleBusinessReviewsResponse, type BidStrategy, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUpdateAdCampaignStatusData, type BulkUpdateAdCampaignStatusError, type BulkUpdateAdCampaignStatusResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConversionEvent, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCtwaAdData, type CreateCtwaAdError, type CreateCtwaAdResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdCampaignData, type DeleteAdCampaignError, type DeleteAdCampaignResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DiscordPlatformData, type DuplicateAdCampaignData, type DuplicateAdCampaignError, type DuplicateAdCampaignResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GeoRestriction, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdCommentsData, type GetAdCommentsError, type GetAdCommentsResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetDiscordChannelsData, type GetDiscordChannelsError, type GetDiscordChannelsResponse, type GetDiscordSettingsData, type GetDiscordSettingsError, type GetDiscordSettingsResponse, type GetFacebookPageInsightsData, type GetFacebookPageInsightsError, type GetFacebookPageInsightsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetGoogleBusinessServicesData, type GetGoogleBusinessServicesError, type GetGoogleBusinessServicesResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramFollowerHistoryData, type GetInstagramFollowerHistoryError, type GetInstagramFollowerHistoryResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrgAggregateAnalyticsData, type GetLinkedInOrgAggregateAnalyticsError, type GetLinkedInOrgAggregateAnalyticsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokAccountInsightsData, type GetTikTokAccountInsightsError, type GetTikTokAccountInsightsResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeChannelInsightsData, type GetYouTubeChannelInsightsError, type GetYouTubeChannelInsightsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListConversionDestinationsData, type ListConversionDestinationsError, type ListConversionDestinationsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ReviewWebhookReview, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendConversionsData, type SendConversionsError, type SendConversionsResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppConversionData, type SendWhatsAppConversionError, type SendWhatsAppConversionResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignData, type UpdateAdCampaignError, type UpdateAdCampaignResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateAdSetData, type UpdateAdSetError, type UpdateAdSetResponse, type UpdateAdSetStatusData, type UpdateAdSetStatusError, type UpdateAdSetStatusResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateDiscordSettingsData, type UpdateDiscordSettingsError, type UpdateDiscordSettingsResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateGoogleBusinessPlaceActionData, type UpdateGoogleBusinessPlaceActionError, type UpdateGoogleBusinessPlaceActionResponse, type UpdateGoogleBusinessServicesData, type UpdateGoogleBusinessServicesError, type UpdateGoogleBusinessServicesResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountAdsInitialSyncCompleted, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadReviewNew, type WebhookPayloadReviewUpdated, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type actionSource, type adType, type aggregation, type aggregation2, type aggregation3, type autoArchiveDuration, type billingPeriod, type budgetLevel, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event11, type event12, type event13, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type interactiveType, type mediaType, type mediaType2, type metric, type metricType, type offerType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type platform5, type platform6, type replySettings, type reviewStatus, type scope, type status, type status2, type status3, type status4, type status5, type status6, type syncStatus, type syncStatus2, type timeframe, type topicType, type type, type type2, type type3, type type4, type type5, type visibility };
package/dist/index.d.ts CHANGED
@@ -719,9 +719,39 @@ type Ad = {
719
719
  */
720
720
  optimizationGoal?: (string) | null;
721
721
  /**
722
- * Bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS). Ad set level overrides campaign level. Only present for Meta ads.
722
+ * Ad-set bid strategy (overrides campaign level on Meta). Populated for Meta and
723
+ * TikTok. TikTok's native `bid_type` is normalized to the cross-platform Meta enum:
724
+ * `BID_TYPE_NO_BID` -> `LOWEST_COST_WITHOUT_CAP`, `BID_TYPE_CUSTOM` ->
725
+ * `LOWEST_COST_WITH_BID_CAP`, deep_bid_type=MIN_ROAS or roas_bid>0 ->
726
+ * `LOWEST_COST_WITH_MIN_ROAS`, `BID_TYPE_MAX_CONVERSION` -> `LOWEST_COST_WITHOUT_CAP`.
727
+ *
728
+ */
729
+ bidStrategy?: ((BidStrategy) | null);
730
+ /**
731
+ * Bid cap in WHOLE currency units of the ad account (USD: 5 = $5.00; JPY: 100 = ¥100).
732
+ * Populated when bidStrategy is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. `null` for
733
+ * auto-bid (`LOWEST_COST_WITHOUT_CAP`).
734
+ *
735
+ * - Meta source: `bid_amount` on the ad set (smallest-denomination int, decoded here).
736
+ * - TikTok source: priority order `bid_price` -> `conversion_bid_price` -> `deep_cpa_bid`
737
+ * (whichever is set on the ad group). TikTok stores all three in whole currency units.
738
+ *
739
+ * Source: facebook-business-sdk-codegen api_specs/specs/AdSet.json (`bid_amount`).
740
+ *
741
+ */
742
+ bidAmount?: (number) | null;
743
+ /**
744
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x ROAS). Populated when bidStrategy
745
+ * is `LOWEST_COST_WITH_MIN_ROAS`.
746
+ *
747
+ * - Meta source: decoded from `bid_constraints.roas_average_floor` (Meta stores as
748
+ * fixed-point int × 10000; we return the decimal).
749
+ * - TikTok source: `roas_bid` on the ad group (already a decimal).
750
+ *
751
+ * Source: facebook-business-sdk-codegen api_specs/specs/AdCampaignBidConstraint.json.
752
+ *
723
753
  */
724
- bidStrategy?: (string) | null;
754
+ roasAverageFloor?: (number) | null;
725
755
  /**
726
756
  * Meta promoted object containing conversion event details. Structure varies by objective. Only present for Meta ads.
727
757
  */
@@ -882,9 +912,17 @@ type AdCampaign = {
882
912
  */
883
913
  optimizationGoal?: (string) | null;
884
914
  /**
885
- * Campaign-level bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS)
915
+ * Campaign-level bid strategy. Ad sets inherit this unless they override.
916
+ */
917
+ bidStrategy?: ((BidStrategy) | null);
918
+ /**
919
+ * Representative bid cap from the top-spending ad set (whole currency units). Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
920
+ */
921
+ bidAmount?: (number) | null;
922
+ /**
923
+ * Representative ROAS floor from the top-spending ad set. Decimal multiplier (2.0 = 2.0x).
886
924
  */
887
- bidStrategy?: (string) | null;
925
+ roasAverageFloor?: (number) | null;
888
926
  /**
889
927
  * Meta promoted object at campaign level (conversion event details)
890
928
  */
@@ -989,7 +1027,15 @@ type AdTreeAdSet = {
989
1027
  /**
990
1028
  * Bid strategy for this ad set (overrides campaign level when set)
991
1029
  */
992
- bidStrategy?: (string) | null;
1030
+ bidStrategy?: ((BidStrategy) | null);
1031
+ /**
1032
+ * Bid cap in whole currency units. Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
1033
+ */
1034
+ bidAmount?: (number) | null;
1035
+ /**
1036
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Populated when bidStrategy is LOWEST_COST_WITH_MIN_ROAS.
1037
+ */
1038
+ roasAverageFloor?: (number) | null;
993
1039
  /**
994
1040
  * Meta promoted object for this ad set (conversion event details)
995
1041
  */
@@ -1078,9 +1124,17 @@ type AdTreeCampaign = {
1078
1124
  */
1079
1125
  optimizationGoal?: (string) | null;
1080
1126
  /**
1081
- * Campaign-level bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS)
1127
+ * Campaign-level bid strategy. Ad sets inherit this unless they override.
1128
+ */
1129
+ bidStrategy?: ((BidStrategy) | null);
1130
+ /**
1131
+ * Representative bid cap for the campaign — bubbled up from the top-spending ad set's `bid_amount` (whole currency units). Populated when the ad-set bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
1132
+ */
1133
+ bidAmount?: (number) | null;
1134
+ /**
1135
+ * Representative ROAS floor for the campaign — bubbled up from the top-spending ad set. Decimal multiplier (2.0 = 2.0x).
1082
1136
  */
1083
- bidStrategy?: (string) | null;
1137
+ roasAverageFloor?: (number) | null;
1084
1138
  /**
1085
1139
  * Meta promoted object at campaign level (conversion event details)
1086
1140
  */
@@ -1239,6 +1293,17 @@ type scope = 'full' | 'profiles';
1239
1293
  * 'read-write' allows all operations, 'read' restricts to GET requests only
1240
1294
  */
1241
1295
  type permission = 'read-write' | 'read';
1296
+ /**
1297
+ * Meta bid strategy. Same enum applies at campaign and ad-set level; ad-set value (when set)
1298
+ * overrides campaign-level. Cross-field rules:
1299
+ * - `LOWEST_COST_WITHOUT_CAP` (default): auto-bid, forbids `bidAmount` and `roasAverageFloor`.
1300
+ * - `LOWEST_COST_WITH_BID_CAP` / `COST_CAP`: require `bidAmount` (whole currency units).
1301
+ * - `LOWEST_COST_WITH_MIN_ROAS`: requires `roasAverageFloor` (decimal multiplier, 2.0 = 2.0x).
1302
+ * Source: facebook-business-sdk-codegen api_specs/specs/enum_types.json (`AdSet_bid_strategy`,
1303
+ * `Campaign_bid_strategy`).
1304
+ *
1305
+ */
1306
+ type BidStrategy = 'LOWEST_COST_WITHOUT_CAP' | 'LOWEST_COST_WITH_BID_CAP' | 'COST_CAP' | 'LOWEST_COST_WITH_MIN_ROAS';
1242
1307
  /**
1243
1308
  * 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.
1244
1309
  *
@@ -6259,6 +6324,9 @@ type GetGoogleBusinessLocationDetailsData = {
6259
6324
  locationId?: string;
6260
6325
  /**
6261
6326
  * Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, serviceItems, profile, openInfo, metadata, moreHours.
6327
+ * `title` and `metadata` are always included in the response so the `location` summary block can be populated, even if you omit them here.
6328
+ * Note: `location` is a derived response field, not a Google readMask value, passing it returns 400.
6329
+ *
6262
6330
  */
6263
6331
  readMask?: string;
6264
6332
  };
@@ -6268,11 +6336,11 @@ type GetGoogleBusinessLocationDetailsResponse = ({
6268
6336
  accountId?: string;
6269
6337
  locationId?: string;
6270
6338
  /**
6271
- * Compact public-facing summary derived from `metadata`. Useful for
6272
- * surfacing the "leave a review" URL (e.g. behind a QR code) without
6273
- * parsing Google's raw `metadata` block. Populated when the readMask
6274
- * includes `metadata` (the default). For unverified or new locations,
6275
- * Google omits placeId/reviewUrl/mapsUri, so those return as null.
6339
+ * Compact public-facing summary derived from Google's `metadata`. Useful
6340
+ * for surfacing the "leave a review" URL (e.g. behind a QR code) without
6341
+ * parsing the raw block. Always populated regardless of readMask.
6342
+ * For unverified or new locations Google omits placeId/reviewUrl/mapsUri,
6343
+ * so those return as null and `isVerified` is false.
6276
6344
  *
6277
6345
  */
6278
6346
  location?: {
@@ -12303,13 +12371,17 @@ type UpdateAdCampaignStatusError = (unknown | {
12303
12371
  type UpdateAdCampaignData = {
12304
12372
  body: {
12305
12373
  platform: 'facebook' | 'instagram';
12306
- budget: {
12374
+ budget?: {
12307
12375
  /**
12308
12376
  * Budget amount in the ad account's currency
12309
12377
  */
12310
12378
  amount: number;
12311
12379
  type: 'daily' | 'lifetime';
12312
12380
  };
12381
+ /**
12382
+ * Campaign-level default. Ad sets inherit this unless they override.
12383
+ */
12384
+ bidStrategy?: (BidStrategy);
12313
12385
  };
12314
12386
  path: {
12315
12387
  /**
@@ -12322,6 +12394,7 @@ type UpdateAdCampaignResponse = ({
12322
12394
  updated?: number;
12323
12395
  budget?: AdBudget;
12324
12396
  budgetLevel?: 'campaign';
12397
+ bidStrategy?: BidStrategy;
12325
12398
  });
12326
12399
  type UpdateAdCampaignError = (unknown | {
12327
12400
  error?: string;
@@ -12422,16 +12495,38 @@ type UpdateAdSetData = {
12422
12495
  body: {
12423
12496
  platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter';
12424
12497
  /**
12425
- * Omit if only toggling status
12498
+ * Omit if not updating budget
12426
12499
  */
12427
12500
  budget?: {
12428
12501
  amount?: number;
12429
12502
  type?: 'daily' | 'lifetime';
12430
12503
  };
12431
12504
  /**
12432
- * Omit if only updating budget
12505
+ * Omit if not toggling delivery state
12433
12506
  */
12434
12507
  status?: 'active' | 'paused';
12508
+ /**
12509
+ * Ad-set-level bid strategy. Overrides the campaign-level default.
12510
+ * Supported on Meta (facebook, instagram) and TikTok. On TikTok the
12511
+ * Meta-style enum is mapped to bid_type / bid_price / deep_bid_type
12512
+ * automatically. Other platforms (linkedin, pinterest, google, twitter)
12513
+ * return 501 Not Implemented when bidStrategy is set.
12514
+ *
12515
+ */
12516
+ bidStrategy?: (BidStrategy);
12517
+ /**
12518
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
12519
+ * bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Internally converted to Meta's
12520
+ * smallest-denomination integer.
12521
+ *
12522
+ */
12523
+ bidAmount?: number;
12524
+ /**
12525
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Required when bidStrategy is
12526
+ * LOWEST_COST_WITH_MIN_ROAS. Sent to Meta as `bid_constraints.roas_average_floor` × 10000.
12527
+ *
12528
+ */
12529
+ roasAverageFloor?: number;
12435
12530
  };
12436
12531
  path: {
12437
12532
  /**
@@ -12446,6 +12541,9 @@ type UpdateAdSetResponse = ({
12446
12541
  status?: 'active' | 'paused';
12447
12542
  statusUpdated?: number;
12448
12543
  statusSkipped?: number;
12544
+ bidStrategy?: BidStrategy;
12545
+ bidAmount?: (number) | null;
12546
+ roasAverageFloor?: (number) | null;
12449
12547
  });
12450
12548
  type UpdateAdSetError = (unknown | {
12451
12549
  error?: string;
@@ -12755,9 +12853,25 @@ type BoostPostData = {
12755
12853
  advantage_audience?: 0 | 1;
12756
12854
  };
12757
12855
  /**
12758
- * Max bid cap (Meta only)
12856
+ * Meta bid strategy applied to the ad set. On TikTok, mapped to
12857
+ * `bid_type` / `bid_price` / `deep_bid_type` automatically.
12858
+ *
12859
+ */
12860
+ bidStrategy?: (BidStrategy);
12861
+ /**
12862
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
12863
+ * `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. Backward-compat: providing
12864
+ * `bidAmount` without `bidStrategy` is treated as `LOWEST_COST_WITH_BID_CAP`.
12865
+ *
12759
12866
  */
12760
12867
  bidAmount?: number;
12868
+ /**
12869
+ * Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when
12870
+ * `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as
12871
+ * `bid_constraints.roas_average_floor` × 10000 (Meta uses fixed-point integers).
12872
+ *
12873
+ */
12874
+ roasAverageFloor?: number;
12761
12875
  /**
12762
12876
  * Meta only. Tracking specs (pixel, URL tags).
12763
12877
  */
@@ -12769,6 +12883,24 @@ type BoostPostData = {
12769
12883
  * Meta only. Required for housing, employment, credit, or political ads.
12770
12884
  */
12771
12885
  specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS')>;
12886
+ /**
12887
+ * TikTok-only. Custom destination URL for the Spark Ad. Without this, TikTok
12888
+ * Spark Ads have no clickable destination — required for traffic / conversion
12889
+ * objectives. Maps to `landing_page_url` on the creative entry of /v2/ad/create/
12890
+ * (TikTok SDK `AdcreateCreatives.landing_page_url`). Ignored on Meta / LinkedIn /
12891
+ * Pinterest / X / Google (those infer the destination from the boosted post).
12892
+ *
12893
+ */
12894
+ linkUrl?: string;
12895
+ /**
12896
+ * TikTok-only. Call-to-action button label on the Spark Ad creative (e.g.
12897
+ * `LEARN_MORE`, `SHOP_NOW`, `DOWNLOAD_NOW`, `SIGN_UP`, `WATCH_NOW`). Maps to
12898
+ * `call_to_action` on the creative entry of /v2/ad/create/. Pass-through —
12899
+ * the platform validates the value. See TikTok's "Enumeration - Call-to-Action"
12900
+ * reference for the full list.
12901
+ *
12902
+ */
12903
+ callToAction?: string;
12772
12904
  /**
12773
12905
  * Name of the legal entity benefiting from the ad.
12774
12906
  * Required by Meta when targeting EU users (DSA Article 26).
@@ -12887,8 +13019,11 @@ type CreateStandaloneAdData = {
12887
13019
  /**
12888
13020
  * Meta-only. When present, switches to the attach shape: adds
12889
13021
  * one new ad to this existing ad set without creating a new
12890
- * campaign. Budget, targeting, goal, and schedule are inherited
12891
- * from the ad set on Meta. Mutually exclusive with `creatives[]`.
13022
+ * campaign. Budget, targeting, goal, schedule, AND bid strategy
13023
+ * are inherited from the ad set on Meta passing `bidStrategy`
13024
+ * in attach mode returns 400. To change an existing ad set's
13025
+ * bid, use `PUT /v1/ads/ad-sets/{adSetId}`. Mutually exclusive
13026
+ * with `creatives[]`.
12892
13027
  *
12893
13028
  */
12894
13029
  adSetId?: string;
@@ -12942,6 +13077,23 @@ type CreateStandaloneAdData = {
12942
13077
  * Meta only. Restrict the audience by gender. 'male' targets men only, 'female' targets women only, 'all' (default) targets everyone. Ignored by non-Meta platforms.
12943
13078
  */
12944
13079
  gender?: 'all' | 'male' | 'female';
13080
+ /**
13081
+ * Meta bid strategy applied to the ad set.
13082
+ */
13083
+ bidStrategy?: (BidStrategy);
13084
+ /**
13085
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
13086
+ * `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`.
13087
+ *
13088
+ */
13089
+ bidAmount?: number;
13090
+ /**
13091
+ * Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when
13092
+ * `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as
13093
+ * `bid_constraints.roas_average_floor` × 10000.
13094
+ *
13095
+ */
13096
+ roasAverageFloor?: number;
12945
13097
  /**
12946
13098
  * Name of the legal entity benefiting from the ad.
12947
13099
  * Required by Meta when targeting EU users (DSA Article 26).
@@ -13443,4 +13595,4 @@ type CreateCtwaAdError = (unknown | {
13443
13595
  error?: string;
13444
13596
  });
13445
13597
 
13446
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdBudget, type AdCampaign, type AdMetrics, type AdStatus, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BatchGetGoogleBusinessReviewsData, type BatchGetGoogleBusinessReviewsError, type BatchGetGoogleBusinessReviewsResponse, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUpdateAdCampaignStatusData, type BulkUpdateAdCampaignStatusError, type BulkUpdateAdCampaignStatusResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConversionEvent, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCtwaAdData, type CreateCtwaAdError, type CreateCtwaAdResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdCampaignData, type DeleteAdCampaignError, type DeleteAdCampaignResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DiscordPlatformData, type DuplicateAdCampaignData, type DuplicateAdCampaignError, type DuplicateAdCampaignResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GeoRestriction, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdCommentsData, type GetAdCommentsError, type GetAdCommentsResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetDiscordChannelsData, type GetDiscordChannelsError, type GetDiscordChannelsResponse, type GetDiscordSettingsData, type GetDiscordSettingsError, type GetDiscordSettingsResponse, type GetFacebookPageInsightsData, type GetFacebookPageInsightsError, type GetFacebookPageInsightsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetGoogleBusinessServicesData, type GetGoogleBusinessServicesError, type GetGoogleBusinessServicesResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramFollowerHistoryData, type GetInstagramFollowerHistoryError, type GetInstagramFollowerHistoryResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrgAggregateAnalyticsData, type GetLinkedInOrgAggregateAnalyticsError, type GetLinkedInOrgAggregateAnalyticsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokAccountInsightsData, type GetTikTokAccountInsightsError, type GetTikTokAccountInsightsResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeChannelInsightsData, type GetYouTubeChannelInsightsError, type GetYouTubeChannelInsightsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListConversionDestinationsData, type ListConversionDestinationsError, type ListConversionDestinationsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ReviewWebhookReview, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendConversionsData, type SendConversionsError, type SendConversionsResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppConversionData, type SendWhatsAppConversionError, type SendWhatsAppConversionResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignData, type UpdateAdCampaignError, type UpdateAdCampaignResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateAdSetData, type UpdateAdSetError, type UpdateAdSetResponse, type UpdateAdSetStatusData, type UpdateAdSetStatusError, type UpdateAdSetStatusResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateDiscordSettingsData, type UpdateDiscordSettingsError, type UpdateDiscordSettingsResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateGoogleBusinessPlaceActionData, type UpdateGoogleBusinessPlaceActionError, type UpdateGoogleBusinessPlaceActionResponse, type UpdateGoogleBusinessServicesData, type UpdateGoogleBusinessServicesError, type UpdateGoogleBusinessServicesResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountAdsInitialSyncCompleted, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadReviewNew, type WebhookPayloadReviewUpdated, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type actionSource, type adType, type aggregation, type aggregation2, type aggregation3, type autoArchiveDuration, type billingPeriod, type budgetLevel, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event11, type event12, type event13, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type interactiveType, type mediaType, type mediaType2, type metric, type metricType, type offerType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type platform5, type platform6, type replySettings, type reviewStatus, type scope, type status, type status2, type status3, type status4, type status5, type status6, type syncStatus, type syncStatus2, type timeframe, type topicType, type type, type type2, type type3, type type4, type type5, type visibility };
13598
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdBudget, type AdCampaign, type AdMetrics, type AdStatus, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BatchGetGoogleBusinessReviewsData, type BatchGetGoogleBusinessReviewsError, type BatchGetGoogleBusinessReviewsResponse, type BidStrategy, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUpdateAdCampaignStatusData, type BulkUpdateAdCampaignStatusError, type BulkUpdateAdCampaignStatusResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConversionEvent, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCtwaAdData, type CreateCtwaAdError, type CreateCtwaAdResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdCampaignData, type DeleteAdCampaignError, type DeleteAdCampaignResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DiscordPlatformData, type DuplicateAdCampaignData, type DuplicateAdCampaignError, type DuplicateAdCampaignResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GeoRestriction, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdCommentsData, type GetAdCommentsError, type GetAdCommentsResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetDiscordChannelsData, type GetDiscordChannelsError, type GetDiscordChannelsResponse, type GetDiscordSettingsData, type GetDiscordSettingsError, type GetDiscordSettingsResponse, type GetFacebookPageInsightsData, type GetFacebookPageInsightsError, type GetFacebookPageInsightsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetGoogleBusinessServicesData, type GetGoogleBusinessServicesError, type GetGoogleBusinessServicesResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramFollowerHistoryData, type GetInstagramFollowerHistoryError, type GetInstagramFollowerHistoryResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrgAggregateAnalyticsData, type GetLinkedInOrgAggregateAnalyticsError, type GetLinkedInOrgAggregateAnalyticsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokAccountInsightsData, type GetTikTokAccountInsightsError, type GetTikTokAccountInsightsResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeChannelInsightsData, type GetYouTubeChannelInsightsError, type GetYouTubeChannelInsightsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListConversionDestinationsData, type ListConversionDestinationsError, type ListConversionDestinationsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ReviewWebhookReview, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendConversionsData, type SendConversionsError, type SendConversionsResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppConversionData, type SendWhatsAppConversionError, type SendWhatsAppConversionResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignData, type UpdateAdCampaignError, type UpdateAdCampaignResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateAdSetData, type UpdateAdSetError, type UpdateAdSetResponse, type UpdateAdSetStatusData, type UpdateAdSetStatusError, type UpdateAdSetStatusResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateDiscordSettingsData, type UpdateDiscordSettingsError, type UpdateDiscordSettingsResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateGoogleBusinessPlaceActionData, type UpdateGoogleBusinessPlaceActionError, type UpdateGoogleBusinessPlaceActionResponse, type UpdateGoogleBusinessServicesData, type UpdateGoogleBusinessServicesError, type UpdateGoogleBusinessServicesResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountAdsInitialSyncCompleted, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadReviewNew, type WebhookPayloadReviewUpdated, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type actionSource, type adType, type aggregation, type aggregation2, type aggregation3, type autoArchiveDuration, type billingPeriod, type budgetLevel, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event11, type event12, type event13, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type interactiveType, type mediaType, type mediaType2, type metric, type metricType, type offerType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type platform5, type platform6, type replySettings, type reviewStatus, type scope, type status, type status2, type status3, type status4, type status5, type status6, type syncStatus, type syncStatus2, type timeframe, type topicType, type type, type type2, type type3, type type4, type type5, type visibility };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.99",
3
+ "version": "0.2.100",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3139,9 +3139,14 @@ export const updateAdCampaignStatus = <ThrowOnError extends boolean = false>(opt
3139
3139
  };
3140
3140
 
3141
3141
  /**
3142
- * Update a campaign (budget)
3143
- * Campaign-level edits. Currently supports updating the CBO (Campaign Budget Optimization) budget.
3144
- * For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH.
3142
+ * Update a campaign (budget and/or bid strategy)
3143
+ * Campaign-level edits. At least one of `budget` or `bidStrategy` is required.
3144
+ *
3145
+ * - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns
3146
+ * (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint
3147
+ * will return 409 with code BUDGET_LEVEL_MISMATCH.
3148
+ * - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and
3149
+ * `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}.
3145
3150
  *
3146
3151
  * Meta-only for now. Other platforms return 501 Not Implemented.
3147
3152
  *
@@ -3207,9 +3212,15 @@ export const duplicateAdCampaign = <ThrowOnError extends boolean = false>(option
3207
3212
  };
3208
3213
 
3209
3214
  /**
3210
- * Update an ad set (budget and/or status)
3211
- * Ad-set-level writes. Use this for ABO budget updates and ad-set-scoped
3212
- * pause/resume. Provide `budget` and/or `status` in the body.
3215
+ * Update an ad set (budget, status, and/or bid strategy)
3216
+ * Ad-set-level writes. Use this for ABO budget updates, ad-set-scoped
3217
+ * pause/resume, and bid-strategy edits. At least one of `budget`,
3218
+ * `status`, or `bidStrategy` is required.
3219
+ *
3220
+ * Bid strategy compatibility (per Meta's spec):
3221
+ * - `LOWEST_COST_WITHOUT_CAP`: no `bidAmount`, no `roasAverageFloor`.
3222
+ * - `LOWEST_COST_WITH_BID_CAP` / `COST_CAP`: `bidAmount` REQUIRED (whole currency units).
3223
+ * - `LOWEST_COST_WITH_MIN_ROAS`: `roasAverageFloor` REQUIRED (decimal multiplier, e.g. 2.0 = 2.0x ROAS).
3213
3224
  *
3214
3225
  * When updating `budget` on an ABO campaign: if the parent campaign is
3215
3226
  * CBO, the response is 409 with code BUDGET_LEVEL_MISMATCH — route to
@@ -3328,7 +3339,15 @@ export const getAdComments = <ThrowOnError extends boolean = false>(options: Opt
3328
3339
 
3329
3340
  /**
3330
3341
  * List ad accounts
3331
- * Returns the platform ad accounts available for the given social account (e.g. Meta ad accounts, TikTok advertiser IDs, Google Ads customer IDs).
3342
+ * Returns the platform ad accounts available for the given social account (e.g. Meta ad
3343
+ * accounts, TikTok advertiser IDs, Google Ads customer IDs).
3344
+ *
3345
+ * For TikTok agencies: enumerates every advertiser under every Business Center the token
3346
+ * can read (paginated server-side), then chunks the lookup against TikTok's
3347
+ * `/advertiser/info/` endpoint (which has a per-call cap of ≤100 IDs). Solo advertisers
3348
+ * without a BC fall back to the OAuth-time `advertiser_ids` list. Cached for 1h on the
3349
+ * SocialAccount; lazy-refreshed on first call after expiry.
3350
+ *
3332
3351
  */
3333
3352
  export const listAdAccounts = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListAdAccountsData, ThrowOnError>) => {
3334
3353
  return (options?.client ?? client).get<ListAdAccountsResponse, ListAdAccountsError, ThrowOnError>({
@@ -117,9 +117,39 @@ export type Ad = {
117
117
  */
118
118
  optimizationGoal?: (string) | null;
119
119
  /**
120
- * Bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS). Ad set level overrides campaign level. Only present for Meta ads.
120
+ * Ad-set bid strategy (overrides campaign level on Meta). Populated for Meta and
121
+ * TikTok. TikTok's native `bid_type` is normalized to the cross-platform Meta enum:
122
+ * `BID_TYPE_NO_BID` -> `LOWEST_COST_WITHOUT_CAP`, `BID_TYPE_CUSTOM` ->
123
+ * `LOWEST_COST_WITH_BID_CAP`, deep_bid_type=MIN_ROAS or roas_bid>0 ->
124
+ * `LOWEST_COST_WITH_MIN_ROAS`, `BID_TYPE_MAX_CONVERSION` -> `LOWEST_COST_WITHOUT_CAP`.
125
+ *
121
126
  */
122
- bidStrategy?: (string) | null;
127
+ bidStrategy?: ((BidStrategy) | null);
128
+ /**
129
+ * Bid cap in WHOLE currency units of the ad account (USD: 5 = $5.00; JPY: 100 = ¥100).
130
+ * Populated when bidStrategy is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. `null` for
131
+ * auto-bid (`LOWEST_COST_WITHOUT_CAP`).
132
+ *
133
+ * - Meta source: `bid_amount` on the ad set (smallest-denomination int, decoded here).
134
+ * - TikTok source: priority order `bid_price` -> `conversion_bid_price` -> `deep_cpa_bid`
135
+ * (whichever is set on the ad group). TikTok stores all three in whole currency units.
136
+ *
137
+ * Source: facebook-business-sdk-codegen api_specs/specs/AdSet.json (`bid_amount`).
138
+ *
139
+ */
140
+ bidAmount?: (number) | null;
141
+ /**
142
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x ROAS). Populated when bidStrategy
143
+ * is `LOWEST_COST_WITH_MIN_ROAS`.
144
+ *
145
+ * - Meta source: decoded from `bid_constraints.roas_average_floor` (Meta stores as
146
+ * fixed-point int × 10000; we return the decimal).
147
+ * - TikTok source: `roas_bid` on the ad group (already a decimal).
148
+ *
149
+ * Source: facebook-business-sdk-codegen api_specs/specs/AdCampaignBidConstraint.json.
150
+ *
151
+ */
152
+ roasAverageFloor?: (number) | null;
123
153
  /**
124
154
  * Meta promoted object containing conversion event details. Structure varies by objective. Only present for Meta ads.
125
155
  */
@@ -286,9 +316,17 @@ export type AdCampaign = {
286
316
  */
287
317
  optimizationGoal?: (string) | null;
288
318
  /**
289
- * Campaign-level bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS)
319
+ * Campaign-level bid strategy. Ad sets inherit this unless they override.
320
+ */
321
+ bidStrategy?: ((BidStrategy) | null);
322
+ /**
323
+ * Representative bid cap from the top-spending ad set (whole currency units). Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
290
324
  */
291
- bidStrategy?: (string) | null;
325
+ bidAmount?: (number) | null;
326
+ /**
327
+ * Representative ROAS floor from the top-spending ad set. Decimal multiplier (2.0 = 2.0x).
328
+ */
329
+ roasAverageFloor?: (number) | null;
292
330
  /**
293
331
  * Meta promoted object at campaign level (conversion event details)
294
332
  */
@@ -398,7 +436,15 @@ export type AdTreeAdSet = {
398
436
  /**
399
437
  * Bid strategy for this ad set (overrides campaign level when set)
400
438
  */
401
- bidStrategy?: (string) | null;
439
+ bidStrategy?: ((BidStrategy) | null);
440
+ /**
441
+ * Bid cap in whole currency units. Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
442
+ */
443
+ bidAmount?: (number) | null;
444
+ /**
445
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Populated when bidStrategy is LOWEST_COST_WITH_MIN_ROAS.
446
+ */
447
+ roasAverageFloor?: (number) | null;
402
448
  /**
403
449
  * Meta promoted object for this ad set (conversion event details)
404
450
  */
@@ -488,9 +534,17 @@ export type AdTreeCampaign = {
488
534
  */
489
535
  optimizationGoal?: (string) | null;
490
536
  /**
491
- * Campaign-level bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS)
537
+ * Campaign-level bid strategy. Ad sets inherit this unless they override.
538
+ */
539
+ bidStrategy?: ((BidStrategy) | null);
540
+ /**
541
+ * Representative bid cap for the campaign — bubbled up from the top-spending ad set's `bid_amount` (whole currency units). Populated when the ad-set bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
492
542
  */
493
- bidStrategy?: (string) | null;
543
+ bidAmount?: (number) | null;
544
+ /**
545
+ * Representative ROAS floor for the campaign — bubbled up from the top-spending ad set. Decimal multiplier (2.0 = 2.0x).
546
+ */
547
+ roasAverageFloor?: (number) | null;
494
548
  /**
495
549
  * Meta promoted object at campaign level (conversion event details)
496
550
  */
@@ -659,6 +713,18 @@ export type scope = 'full' | 'profiles';
659
713
  */
660
714
  export type permission = 'read-write' | 'read';
661
715
 
716
+ /**
717
+ * Meta bid strategy. Same enum applies at campaign and ad-set level; ad-set value (when set)
718
+ * overrides campaign-level. Cross-field rules:
719
+ * - `LOWEST_COST_WITHOUT_CAP` (default): auto-bid, forbids `bidAmount` and `roasAverageFloor`.
720
+ * - `LOWEST_COST_WITH_BID_CAP` / `COST_CAP`: require `bidAmount` (whole currency units).
721
+ * - `LOWEST_COST_WITH_MIN_ROAS`: requires `roasAverageFloor` (decimal multiplier, 2.0 = 2.0x).
722
+ * Source: facebook-business-sdk-codegen api_specs/specs/enum_types.json (`AdSet_bid_strategy`,
723
+ * `Campaign_bid_strategy`).
724
+ *
725
+ */
726
+ export type BidStrategy = 'LOWEST_COST_WITHOUT_CAP' | 'LOWEST_COST_WITH_BID_CAP' | 'COST_CAP' | 'LOWEST_COST_WITH_MIN_ROAS';
727
+
662
728
  /**
663
729
  * 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.
664
730
  *
@@ -6026,6 +6092,9 @@ export type GetGoogleBusinessLocationDetailsData = {
6026
6092
  locationId?: string;
6027
6093
  /**
6028
6094
  * Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, serviceItems, profile, openInfo, metadata, moreHours.
6095
+ * `title` and `metadata` are always included in the response so the `location` summary block can be populated, even if you omit them here.
6096
+ * Note: `location` is a derived response field, not a Google readMask value, passing it returns 400.
6097
+ *
6029
6098
  */
6030
6099
  readMask?: string;
6031
6100
  };
@@ -6036,11 +6105,11 @@ export type GetGoogleBusinessLocationDetailsResponse = ({
6036
6105
  accountId?: string;
6037
6106
  locationId?: string;
6038
6107
  /**
6039
- * Compact public-facing summary derived from `metadata`. Useful for
6040
- * surfacing the "leave a review" URL (e.g. behind a QR code) without
6041
- * parsing Google's raw `metadata` block. Populated when the readMask
6042
- * includes `metadata` (the default). For unverified or new locations,
6043
- * Google omits placeId/reviewUrl/mapsUri, so those return as null.
6108
+ * Compact public-facing summary derived from Google's `metadata`. Useful
6109
+ * for surfacing the "leave a review" URL (e.g. behind a QR code) without
6110
+ * parsing the raw block. Always populated regardless of readMask.
6111
+ * For unverified or new locations Google omits placeId/reviewUrl/mapsUri,
6112
+ * so those return as null and `isVerified` is false.
6044
6113
  *
6045
6114
  */
6046
6115
  location?: {
@@ -12591,13 +12660,17 @@ export type UpdateAdCampaignStatusError = (unknown | {
12591
12660
  export type UpdateAdCampaignData = {
12592
12661
  body: {
12593
12662
  platform: 'facebook' | 'instagram';
12594
- budget: {
12663
+ budget?: {
12595
12664
  /**
12596
12665
  * Budget amount in the ad account's currency
12597
12666
  */
12598
12667
  amount: number;
12599
12668
  type: 'daily' | 'lifetime';
12600
12669
  };
12670
+ /**
12671
+ * Campaign-level default. Ad sets inherit this unless they override.
12672
+ */
12673
+ bidStrategy?: (BidStrategy);
12601
12674
  };
12602
12675
  path: {
12603
12676
  /**
@@ -12611,6 +12684,7 @@ export type UpdateAdCampaignResponse = ({
12611
12684
  updated?: number;
12612
12685
  budget?: AdBudget;
12613
12686
  budgetLevel?: 'campaign';
12687
+ bidStrategy?: BidStrategy;
12614
12688
  });
12615
12689
 
12616
12690
  export type UpdateAdCampaignError = (unknown | {
@@ -12722,16 +12796,38 @@ export type UpdateAdSetData = {
12722
12796
  body: {
12723
12797
  platform: 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter';
12724
12798
  /**
12725
- * Omit if only toggling status
12799
+ * Omit if not updating budget
12726
12800
  */
12727
12801
  budget?: {
12728
12802
  amount?: number;
12729
12803
  type?: 'daily' | 'lifetime';
12730
12804
  };
12731
12805
  /**
12732
- * Omit if only updating budget
12806
+ * Omit if not toggling delivery state
12733
12807
  */
12734
12808
  status?: 'active' | 'paused';
12809
+ /**
12810
+ * Ad-set-level bid strategy. Overrides the campaign-level default.
12811
+ * Supported on Meta (facebook, instagram) and TikTok. On TikTok the
12812
+ * Meta-style enum is mapped to bid_type / bid_price / deep_bid_type
12813
+ * automatically. Other platforms (linkedin, pinterest, google, twitter)
12814
+ * return 501 Not Implemented when bidStrategy is set.
12815
+ *
12816
+ */
12817
+ bidStrategy?: (BidStrategy);
12818
+ /**
12819
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
12820
+ * bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Internally converted to Meta's
12821
+ * smallest-denomination integer.
12822
+ *
12823
+ */
12824
+ bidAmount?: number;
12825
+ /**
12826
+ * Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Required when bidStrategy is
12827
+ * LOWEST_COST_WITH_MIN_ROAS. Sent to Meta as `bid_constraints.roas_average_floor` × 10000.
12828
+ *
12829
+ */
12830
+ roasAverageFloor?: number;
12735
12831
  };
12736
12832
  path: {
12737
12833
  /**
@@ -12747,6 +12843,9 @@ export type UpdateAdSetResponse = ({
12747
12843
  status?: 'active' | 'paused';
12748
12844
  statusUpdated?: number;
12749
12845
  statusSkipped?: number;
12846
+ bidStrategy?: BidStrategy;
12847
+ bidAmount?: (number) | null;
12848
+ roasAverageFloor?: (number) | null;
12750
12849
  });
12751
12850
 
12752
12851
  export type UpdateAdSetError = (unknown | {
@@ -13082,9 +13181,25 @@ export type BoostPostData = {
13082
13181
  advantage_audience?: 0 | 1;
13083
13182
  };
13084
13183
  /**
13085
- * Max bid cap (Meta only)
13184
+ * Meta bid strategy applied to the ad set. On TikTok, mapped to
13185
+ * `bid_type` / `bid_price` / `deep_bid_type` automatically.
13186
+ *
13187
+ */
13188
+ bidStrategy?: (BidStrategy);
13189
+ /**
13190
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
13191
+ * `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. Backward-compat: providing
13192
+ * `bidAmount` without `bidStrategy` is treated as `LOWEST_COST_WITH_BID_CAP`.
13193
+ *
13086
13194
  */
13087
13195
  bidAmount?: number;
13196
+ /**
13197
+ * Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when
13198
+ * `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as
13199
+ * `bid_constraints.roas_average_floor` × 10000 (Meta uses fixed-point integers).
13200
+ *
13201
+ */
13202
+ roasAverageFloor?: number;
13088
13203
  /**
13089
13204
  * Meta only. Tracking specs (pixel, URL tags).
13090
13205
  */
@@ -13096,6 +13211,24 @@ export type BoostPostData = {
13096
13211
  * Meta only. Required for housing, employment, credit, or political ads.
13097
13212
  */
13098
13213
  specialAdCategories?: Array<('HOUSING' | 'EMPLOYMENT' | 'CREDIT' | 'ISSUES_ELECTIONS_POLITICS')>;
13214
+ /**
13215
+ * TikTok-only. Custom destination URL for the Spark Ad. Without this, TikTok
13216
+ * Spark Ads have no clickable destination — required for traffic / conversion
13217
+ * objectives. Maps to `landing_page_url` on the creative entry of /v2/ad/create/
13218
+ * (TikTok SDK `AdcreateCreatives.landing_page_url`). Ignored on Meta / LinkedIn /
13219
+ * Pinterest / X / Google (those infer the destination from the boosted post).
13220
+ *
13221
+ */
13222
+ linkUrl?: string;
13223
+ /**
13224
+ * TikTok-only. Call-to-action button label on the Spark Ad creative (e.g.
13225
+ * `LEARN_MORE`, `SHOP_NOW`, `DOWNLOAD_NOW`, `SIGN_UP`, `WATCH_NOW`). Maps to
13226
+ * `call_to_action` on the creative entry of /v2/ad/create/. Pass-through —
13227
+ * the platform validates the value. See TikTok's "Enumeration - Call-to-Action"
13228
+ * reference for the full list.
13229
+ *
13230
+ */
13231
+ callToAction?: string;
13099
13232
  /**
13100
13233
  * Name of the legal entity benefiting from the ad.
13101
13234
  * Required by Meta when targeting EU users (DSA Article 26).
@@ -13217,8 +13350,11 @@ export type CreateStandaloneAdData = {
13217
13350
  /**
13218
13351
  * Meta-only. When present, switches to the attach shape: adds
13219
13352
  * one new ad to this existing ad set without creating a new
13220
- * campaign. Budget, targeting, goal, and schedule are inherited
13221
- * from the ad set on Meta. Mutually exclusive with `creatives[]`.
13353
+ * campaign. Budget, targeting, goal, schedule, AND bid strategy
13354
+ * are inherited from the ad set on Meta passing `bidStrategy`
13355
+ * in attach mode returns 400. To change an existing ad set's
13356
+ * bid, use `PUT /v1/ads/ad-sets/{adSetId}`. Mutually exclusive
13357
+ * with `creatives[]`.
13222
13358
  *
13223
13359
  */
13224
13360
  adSetId?: string;
@@ -13272,6 +13408,23 @@ export type CreateStandaloneAdData = {
13272
13408
  * Meta only. Restrict the audience by gender. 'male' targets men only, 'female' targets women only, 'all' (default) targets everyone. Ignored by non-Meta platforms.
13273
13409
  */
13274
13410
  gender?: 'all' | 'male' | 'female';
13411
+ /**
13412
+ * Meta bid strategy applied to the ad set.
13413
+ */
13414
+ bidStrategy?: (BidStrategy);
13415
+ /**
13416
+ * Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
13417
+ * `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`.
13418
+ *
13419
+ */
13420
+ bidAmount?: number;
13421
+ /**
13422
+ * Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when
13423
+ * `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as
13424
+ * `bid_constraints.roas_average_floor` × 10000.
13425
+ *
13426
+ */
13427
+ roasAverageFloor?: number;
13275
13428
  /**
13276
13429
  * Name of the legal entity benefiting from the ad.
13277
13430
  * Required by Meta when targeting EU users (DSA Article 26).