@zernio/node 0.2.739 → 0.2.741

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.
@@ -18287,7 +18287,7 @@ export type ListInstagramStoriesResponse = ({
18287
18287
 
18288
18288
  export type ListInstagramStoriesError = (unknown | {
18289
18289
  error?: string;
18290
- });
18290
+ } | ErrorResponse);
18291
18291
 
18292
18292
  export type GetInstagramPublishingLimitData = {
18293
18293
  path: {
@@ -18315,7 +18315,7 @@ export type GetInstagramPublishingLimitResponse = ({
18315
18315
 
18316
18316
  export type GetInstagramPublishingLimitError = (unknown | {
18317
18317
  error?: string;
18318
- });
18318
+ } | ErrorResponse);
18319
18319
 
18320
18320
  export type SearchInstagramAudioData = {
18321
18321
  path: {
@@ -18425,7 +18425,7 @@ export type GetInstagramStoryInsightsResponse = ({
18425
18425
 
18426
18426
  export type GetInstagramStoryInsightsError = (unknown | {
18427
18427
  error?: string;
18428
- });
18428
+ } | ErrorResponse);
18429
18429
 
18430
18430
  export type GetPinterestBoardsData = {
18431
18431
  path: {
@@ -26401,7 +26401,7 @@ export type ListPhoneNumberCountriesResponse = ({
26401
26401
  */
26402
26402
  fulfilment?: 'instant' | 'request';
26403
26403
  /**
26404
- * Out of stock but orderable anyway. Submit KYC as usual (POST /v1/phone-numbers/kyc) and the carrier sources the number after review, usually about 3 weeks and never guaranteed. Only document tiers (3/4) qualify, and nothing is billed until the number is active.
26404
+ * Out of stock but orderable anyway. Submit KYC as usual (POST /v1/phone-numbers/kyc): we buy regular stock the moment it returns, otherwise the carrier sources the number. Usually 2 to 4 weeks, never guaranteed. Only document tiers (3/4) qualify, and nothing is billed until the number is active.
26405
26405
  */
26406
26406
  preOrderable?: boolean;
26407
26407
  }>;
@@ -26484,7 +26484,7 @@ export type CheckPhoneNumberAvailabilityResponse = ({
26484
26484
  */
26485
26485
  available?: boolean;
26486
26486
  /**
26487
- * Nothing deliverable now, but this pair can be pre-ordered: submit KYC as usual and the carrier sources the number after review (usually about 3 weeks, never guaranteed). Only document tiers (3/4) qualify.
26487
+ * Nothing deliverable now, but this pair can be pre-ordered: submit KYC as usual and we buy regular stock the moment it returns, otherwise the carrier sources the number (usually 2 to 4 weeks, never guaranteed). Only document tiers (3/4) qualify.
26488
26488
  */
26489
26489
  preOrderable?: boolean;
26490
26490
  addressConstraint?: 'geo' | 'country' | 'none';
@@ -26766,7 +26766,7 @@ export type CheckWhatsAppNumberAvailabilityResponse = ({
26766
26766
  */
26767
26767
  available?: boolean;
26768
26768
  /**
26769
- * Nothing deliverable now, but this pair can be pre-ordered: submit KYC as usual and the carrier sources the number after review (usually about 3 weeks, never guaranteed). Only document tiers (3/4) qualify.
26769
+ * Nothing deliverable now, but this pair can be pre-ordered: submit KYC as usual and we buy regular stock the moment it returns, otherwise the carrier sources the number (usually 2 to 4 weeks, never guaranteed). Only document tiers (3/4) qualify.
26770
26770
  */
26771
26771
  preOrderable?: boolean;
26772
26772
  addressConstraint?: 'geo' | 'country' | 'none';
@@ -26957,7 +26957,7 @@ export type SubmitPhoneNumberKycData = {
26957
26957
  export type SubmitPhoneNumberKycResponse = ({
26958
26958
  status?: 'kyc_submitted' | 'kyc_reused' | 'kyc_already_submitted';
26959
26959
  /**
26960
- * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until the carrier sources it (usually about 3 weeks) and is not billed until active. A pre-order is one number: `quantity` above 1 is rejected with 400.
26960
+ * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
26961
26961
  */
26962
26962
  preOrder?: boolean;
26963
26963
  /**
@@ -27774,7 +27774,7 @@ export type SubmitWhatsAppNumberKycData = {
27774
27774
  export type SubmitWhatsAppNumberKycResponse = ({
27775
27775
  status?: 'kyc_submitted' | 'kyc_reused' | 'kyc_already_submitted';
27776
27776
  /**
27777
- * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until the carrier sources it (usually about 3 weeks) and is not billed until active. A pre-order is one number: `quantity` above 1 is rejected with 400.
27777
+ * True when nothing was in stock and this submission placed a pre-order. The number stays `pending_regulatory` until we get it, from regular stock the moment it returns or sourced by the carrier (usually 2 to 4 weeks), and is not billed until active. Releasing it (DELETE /v1/phone-numbers/{id}) cancels the pre-order. A pre-order is one number: `quantity` above 1 is rejected with 400.
27778
27778
  */
27779
27779
  preOrder?: boolean;
27780
27780
  /**
@@ -32020,7 +32020,7 @@ export type CreateBidStrategyResponse = ({
32020
32020
 
32021
32021
  export type CreateBidStrategyError = (unknown | {
32022
32022
  error?: string;
32023
- });
32023
+ } | ErrorResponse);
32024
32024
 
32025
32025
  export type UpdateBidStrategyData = {
32026
32026
  body: {
@@ -32315,7 +32315,7 @@ export type RemoveAdKeywordResponse = ({
32315
32315
 
32316
32316
  export type RemoveAdKeywordError = (ErrorResponse | {
32317
32317
  error?: string;
32318
- } | unknown);
32318
+ });
32319
32319
 
32320
32320
  export type ListAdCampaignsData = {
32321
32321
  query?: {
@@ -32468,7 +32468,7 @@ export type CreateAdCampaignResponse = ({
32468
32468
 
32469
32469
  export type CreateAdCampaignError = (unknown | {
32470
32470
  error?: string;
32471
- });
32471
+ } | ErrorResponse);
32472
32472
 
32473
32473
  export type UpdateAdCampaignStatusData = {
32474
32474
  body: {
@@ -32535,7 +32535,7 @@ export type GetCampaignBiddingResponse = (({
32535
32535
 
32536
32536
  export type GetCampaignBiddingError = (unknown | {
32537
32537
  error?: string;
32538
- });
32538
+ } | ErrorResponse);
32539
32539
 
32540
32540
  export type UpdateAdCampaignData = {
32541
32541
  body: {
@@ -32620,7 +32620,7 @@ export type UpdateAdCampaignResponse = ({
32620
32620
 
32621
32621
  export type UpdateAdCampaignError = (unknown | {
32622
32622
  error?: string;
32623
- });
32623
+ } | ErrorResponse);
32624
32624
 
32625
32625
  export type DeleteAdCampaignData = {
32626
32626
  body: {
@@ -32646,7 +32646,7 @@ export type DeleteAdCampaignResponse = ({
32646
32646
  adCount?: number;
32647
32647
  });
32648
32648
 
32649
- export type DeleteAdCampaignError = ({
32649
+ export type DeleteAdCampaignError = (ErrorResponse | {
32650
32650
  error?: string;
32651
32651
  } | unknown);
32652
32652
 
@@ -33191,7 +33191,7 @@ export type GetAdSetDetailsResponse = ({
33191
33191
 
33192
33192
  export type GetAdSetDetailsError = (unknown | {
33193
33193
  error?: string;
33194
- });
33194
+ } | ErrorResponse);
33195
33195
 
33196
33196
  export type UpdateAdSetData = {
33197
33197
  body: {
@@ -34138,7 +34138,7 @@ export type GenerateAdPreviewsResponse = ({
34138
34138
 
34139
34139
  export type GenerateAdPreviewsError = (unknown | {
34140
34140
  error?: string;
34141
- });
34141
+ } | ErrorResponse);
34142
34142
 
34143
34143
  export type GetAdPreviewsData = {
34144
34144
  path: {
@@ -34271,7 +34271,7 @@ export type GenerateKeywordIdeasResponse = ({
34271
34271
 
34272
34272
  export type GenerateKeywordIdeasError = (unknown | {
34273
34273
  error?: string;
34274
- });
34274
+ } | ErrorResponse);
34275
34275
 
34276
34276
  export type GenerateKeywordHistoricalMetricsData = {
34277
34277
  body: {
@@ -34316,7 +34316,7 @@ export type GenerateKeywordHistoricalMetricsResponse = ({
34316
34316
 
34317
34317
  export type GenerateKeywordHistoricalMetricsError = (unknown | {
34318
34318
  error?: string;
34319
- });
34319
+ } | ErrorResponse);
34320
34320
 
34321
34321
  export type QueryAdInsightsData = {
34322
34322
  query: {
@@ -34429,7 +34429,7 @@ export type QueryAdInsightsResponse = ({
34429
34429
 
34430
34430
  export type QueryAdInsightsError = (unknown | {
34431
34431
  error?: string;
34432
- });
34432
+ } | ErrorResponse);
34433
34433
 
34434
34434
  export type CreateAdInsightsReportData = {
34435
34435
  body: {
@@ -34491,7 +34491,7 @@ export type CreateAdInsightsReportResponse = ({
34491
34491
 
34492
34492
  export type CreateAdInsightsReportError = (unknown | {
34493
34493
  error?: string;
34494
- });
34494
+ } | ErrorResponse);
34495
34495
 
34496
34496
  export type GetAdInsightsReportData = {
34497
34497
  path: {
@@ -34529,7 +34529,7 @@ export type GetAdInsightsReportResponse = ({
34529
34529
 
34530
34530
  export type GetAdInsightsReportError = (unknown | {
34531
34531
  error?: string;
34532
- });
34532
+ } | ErrorResponse);
34533
34533
 
34534
34534
  export type GetAdAnalyticsData = {
34535
34535
  path: {
@@ -34734,7 +34734,7 @@ export type GetAdCommentsResponse = ({
34734
34734
  */
34735
34735
  effectiveStoryId?: string;
34736
34736
  /**
34737
- * TikTok-only video item ID. Null when the ad and comments do not expose it.
34737
+ * TikTok-only video item ID from stored ad fields or returned comments. Null does not prevent listing; ad details are not fetched to populate it.
34738
34738
  */
34739
34739
  tiktokItemId?: (string) | null;
34740
34740
  /**
@@ -34959,7 +34959,7 @@ export type GetAdsActivityLogResponse = ({
34959
34959
 
34960
34960
  export type GetAdsActivityLogError = (unknown | {
34961
34961
  error?: string;
34962
- });
34962
+ } | ErrorResponse);
34963
34963
 
34964
34964
  export type CreateRfPredictionData = {
34965
34965
  body: {
@@ -35011,7 +35011,7 @@ export type CreateRfPredictionResponse = ({
35011
35011
 
35012
35012
  export type CreateRfPredictionError = (unknown | {
35013
35013
  error?: string;
35014
- });
35014
+ } | ErrorResponse);
35015
35015
 
35016
35016
  export type GetRfPredictionData = {
35017
35017
  path: {
@@ -35031,7 +35031,7 @@ export type GetRfPredictionResponse = ({
35031
35031
 
35032
35032
  export type GetRfPredictionError = (unknown | {
35033
35033
  error?: string;
35034
- });
35034
+ } | ErrorResponse);
35035
35035
 
35036
35036
  export type CancelRfReservationData = {
35037
35037
  path: {
@@ -35047,7 +35047,7 @@ export type CancelRfReservationResponse = (unknown);
35047
35047
 
35048
35048
  export type CancelRfReservationError = (unknown | {
35049
35049
  error?: string;
35050
- });
35050
+ } | ErrorResponse);
35051
35051
 
35052
35052
  export type ReserveRfPredictionData = {
35053
35053
  body: {
@@ -35066,7 +35066,7 @@ export type ReserveRfPredictionResponse = ({
35066
35066
 
35067
35067
  export type ReserveRfPredictionError = (unknown | {
35068
35068
  error?: string;
35069
- });
35069
+ } | ErrorResponse);
35070
35070
 
35071
35071
  export type ListAdStudiesData = {
35072
35072
  query: {
@@ -35108,7 +35108,7 @@ export type ListAdStudiesResponse = ({
35108
35108
 
35109
35109
  export type ListAdStudiesError = (unknown | {
35110
35110
  error?: string;
35111
- });
35111
+ } | ErrorResponse);
35112
35112
 
35113
35113
  export type ListAdsInstagramAccountsData = {
35114
35114
  query: {
@@ -35275,7 +35275,7 @@ export type ListMetaBusinessesResponse = ({
35275
35275
 
35276
35276
  export type ListMetaBusinessesError = (unknown | {
35277
35277
  error?: string;
35278
- });
35278
+ } | ErrorResponse);
35279
35279
 
35280
35280
  export type ListAdLabelsData = {
35281
35281
  query: {
@@ -35313,7 +35313,7 @@ export type ListAdLabelsResponse = ({
35313
35313
 
35314
35314
  export type ListAdLabelsError = (unknown | {
35315
35315
  error?: string;
35316
- });
35316
+ } | ErrorResponse);
35317
35317
 
35318
35318
  export type ListHighDemandPeriodsData = {
35319
35319
  query: {
@@ -35358,7 +35358,7 @@ export type ListHighDemandPeriodsResponse = ({
35358
35358
 
35359
35359
  export type ListHighDemandPeriodsError = (unknown | {
35360
35360
  error?: string;
35361
- });
35361
+ } | ErrorResponse);
35362
35362
 
35363
35363
  export type CreateHighDemandPeriodData = {
35364
35364
  body: {
@@ -35408,7 +35408,7 @@ export type CreateHighDemandPeriodResponse = ({
35408
35408
 
35409
35409
  export type CreateHighDemandPeriodError = (unknown | {
35410
35410
  error?: string;
35411
- });
35411
+ } | ErrorResponse);
35412
35412
 
35413
35413
  export type ListAdCreativesData = {
35414
35414
  query: {
@@ -35450,7 +35450,7 @@ export type ListAdCreativesResponse = ({
35450
35450
 
35451
35451
  export type ListAdCreativesError = (unknown | {
35452
35452
  error?: string;
35453
- });
35453
+ } | ErrorResponse);
35454
35454
 
35455
35455
  export type CreateAdCreativeData = {
35456
35456
  body: {
@@ -35519,7 +35519,7 @@ export type CreateAdCreativeResponse = ({
35519
35519
 
35520
35520
  export type CreateAdCreativeError = (unknown | {
35521
35521
  error?: string;
35522
- });
35522
+ } | ErrorResponse);
35523
35523
 
35524
35524
  export type GetAdCreativeData = {
35525
35525
  path: {
@@ -35551,7 +35551,7 @@ export type GetAdCreativeResponse = ({
35551
35551
 
35552
35552
  export type GetAdCreativeError = (unknown | {
35553
35553
  error?: string;
35554
- });
35554
+ } | ErrorResponse);
35555
35555
 
35556
35556
  export type UpdateAdCreativeData = {
35557
35557
  body: {
@@ -35577,7 +35577,7 @@ export type UpdateAdCreativeResponse = ({
35577
35577
 
35578
35578
  export type UpdateAdCreativeError = (unknown | {
35579
35579
  error?: string;
35580
- });
35580
+ } | ErrorResponse);
35581
35581
 
35582
35582
  export type DeleteAdCreativeData = {
35583
35583
  path: {
@@ -35601,7 +35601,7 @@ export type DeleteAdCreativeResponse = ({
35601
35601
 
35602
35602
  export type DeleteAdCreativeError = (unknown | {
35603
35603
  error?: string;
35604
- });
35604
+ } | ErrorResponse);
35605
35605
 
35606
35606
  export type ListValueRuleSetsData = {
35607
35607
  query: {
@@ -35637,7 +35637,7 @@ export type ListValueRuleSetsResponse = ({
35637
35637
 
35638
35638
  export type ListValueRuleSetsError = (unknown | {
35639
35639
  error?: string;
35640
- });
35640
+ } | ErrorResponse);
35641
35641
 
35642
35642
  export type CreateValueRuleSetData = {
35643
35643
  body: {
@@ -35667,7 +35667,7 @@ export type CreateValueRuleSetResponse = ({
35667
35667
 
35668
35668
  export type CreateValueRuleSetError = (unknown | {
35669
35669
  error?: string;
35670
- });
35670
+ } | ErrorResponse);
35671
35671
 
35672
35672
  export type GetValueRuleSetData = {
35673
35673
  path: {
@@ -35690,7 +35690,7 @@ export type GetValueRuleSetResponse = ({
35690
35690
 
35691
35691
  export type GetValueRuleSetError = (unknown | {
35692
35692
  error?: string;
35693
- });
35693
+ } | ErrorResponse);
35694
35694
 
35695
35695
  export type UpdateValueRuleSetData = {
35696
35696
  body: {
@@ -35724,7 +35724,7 @@ export type UpdateValueRuleSetResponse = ({
35724
35724
 
35725
35725
  export type UpdateValueRuleSetError = (unknown | {
35726
35726
  error?: string;
35727
- });
35727
+ } | ErrorResponse);
35728
35728
 
35729
35729
  export type DeleteValueRuleSetData = {
35730
35730
  path: {
@@ -35748,7 +35748,7 @@ export type DeleteValueRuleSetResponse = ({
35748
35748
 
35749
35749
  export type DeleteValueRuleSetError = (unknown | {
35750
35750
  error?: string;
35751
- });
35751
+ } | ErrorResponse);
35752
35752
 
35753
35753
  export type ListAdNegativeKeywordListsData = {
35754
35754
  query: {
@@ -36408,7 +36408,7 @@ export type GetAdAccountFinanceResponse = ({
36408
36408
 
36409
36409
  export type GetAdAccountFinanceError = (unknown | {
36410
36410
  error?: string;
36411
- });
36411
+ } | ErrorResponse);
36412
36412
 
36413
36413
  export type CreateAdAccountData = {
36414
36414
  body: {
@@ -36611,9 +36611,9 @@ export type ListAdAccountsResponse = ({
36611
36611
  stale?: boolean;
36612
36612
  });
36613
36613
 
36614
- export type ListAdAccountsError = ({
36614
+ export type ListAdAccountsError = (ErrorResponse | {
36615
36615
  error?: string;
36616
- } | unknown | ErrorResponse);
36616
+ } | unknown);
36617
36617
 
36618
36618
  export type UpdateAdAccountData = {
36619
36619
  body: {
@@ -36646,7 +36646,7 @@ export type UpdateAdAccountResponse = ({
36646
36646
 
36647
36647
  export type UpdateAdAccountError = (unknown | {
36648
36648
  error?: string;
36649
- });
36649
+ } | ErrorResponse);
36650
36650
 
36651
36651
  export type GetDsaDefaultsData = {
36652
36652
  query: {
@@ -36671,7 +36671,7 @@ export type GetDsaDefaultsResponse = ({
36671
36671
 
36672
36672
  export type GetDsaDefaultsError = (unknown | {
36673
36673
  error?: string;
36674
- });
36674
+ } | ErrorResponse);
36675
36675
 
36676
36676
  export type GetDsaRecommendationsData = {
36677
36677
  query: {
@@ -36693,7 +36693,7 @@ export type GetDsaRecommendationsResponse = ({
36693
36693
 
36694
36694
  export type GetDsaRecommendationsError = (unknown | {
36695
36695
  error?: string;
36696
- });
36696
+ } | ErrorResponse);
36697
36697
 
36698
36698
  export type BoostPostData = {
36699
36699
  body: {
@@ -37032,7 +37032,7 @@ export type BoostPostResponse = ({
37032
37032
 
37033
37033
  export type BoostPostError = (unknown | {
37034
37034
  error?: string;
37035
- });
37035
+ } | ErrorResponse);
37036
37036
 
37037
37037
  export type ListGoogleAssetGroupsData = {
37038
37038
  path: {
@@ -38143,7 +38143,7 @@ export type CreateStandaloneAdResponse = ({
38143
38143
 
38144
38144
  export type CreateStandaloneAdError = (unknown | {
38145
38145
  error?: string;
38146
- });
38146
+ } | ErrorResponse);
38147
38147
 
38148
38148
  export type ListLeadsData = {
38149
38149
  query?: {
@@ -38587,7 +38587,7 @@ export type UploadAdImageResponse = ({
38587
38587
 
38588
38588
  export type UploadAdImageError = (unknown | {
38589
38589
  error?: string;
38590
- });
38590
+ } | ErrorResponse);
38591
38591
 
38592
38592
  export type ListAdImagesData = {
38593
38593
  query: {
@@ -38629,7 +38629,7 @@ export type ListAdImagesResponse = ({
38629
38629
 
38630
38630
  export type ListAdImagesError = (unknown | {
38631
38631
  error?: string;
38632
- });
38632
+ } | ErrorResponse);
38633
38633
 
38634
38634
  export type UploadAdVideoData = {
38635
38635
  body: {
@@ -38672,7 +38672,7 @@ export type UploadAdVideoResponse = ({
38672
38672
 
38673
38673
  export type UploadAdVideoError = (unknown | {
38674
38674
  error?: string;
38675
- });
38675
+ } | ErrorResponse);
38676
38676
 
38677
38677
  export type ListAdVideosData = {
38678
38678
  query: {
@@ -38766,7 +38766,7 @@ export type SearchAdInterestsResponse = ({
38766
38766
  }>;
38767
38767
  });
38768
38768
 
38769
- export type SearchAdInterestsError = ({
38769
+ export type SearchAdInterestsError = (ErrorResponse | {
38770
38770
  error?: string;
38771
38771
  } | unknown);
38772
38772
 
@@ -38826,7 +38826,7 @@ export type SearchAdTargetingResponse = ({
38826
38826
 
38827
38827
  export type SearchAdTargetingError = (unknown | {
38828
38828
  error?: string;
38829
- });
38829
+ } | ErrorResponse);
38830
38830
 
38831
38831
  export type SearchAdLibraryData = {
38832
38832
  query?: {
@@ -38975,7 +38975,7 @@ export type EstimateAdReachResponse = ({
38975
38975
 
38976
38976
  export type EstimateAdReachError = (unknown | {
38977
38977
  error?: string;
38978
- });
38978
+ } | ErrorResponse);
38979
38979
 
38980
38980
  export type GetLinkedInBidPricingData = {
38981
38981
  body: {
@@ -39047,7 +39047,7 @@ export type GetLinkedInBidPricingResponse = ({
39047
39047
 
39048
39048
  export type GetLinkedInBidPricingError = (unknown | {
39049
39049
  error?: string;
39050
- });
39050
+ } | ErrorResponse);
39051
39051
 
39052
39052
  export type GetLinkedInSupplyForecastData = {
39053
39053
  body: {
@@ -39120,7 +39120,7 @@ export type GetLinkedInSupplyForecastResponse = ({
39120
39120
 
39121
39121
  export type GetLinkedInSupplyForecastError = (unknown | {
39122
39122
  error?: string;
39123
- });
39123
+ } | ErrorResponse);
39124
39124
 
39125
39125
  export type ListAdCatalogsData = {
39126
39126
  query: {
@@ -39220,7 +39220,7 @@ export type ListAdAudiencesResponse = ({
39220
39220
  }>;
39221
39221
  });
39222
39222
 
39223
- export type ListAdAudiencesError = ({
39223
+ export type ListAdAudiencesError = (ErrorResponse | {
39224
39224
  error?: string;
39225
39225
  } | unknown);
39226
39226
 
@@ -39395,7 +39395,7 @@ export type CreateAdAudienceResponse = ({
39395
39395
 
39396
39396
  export type CreateAdAudienceError = (unknown | {
39397
39397
  error?: string;
39398
- });
39398
+ } | ErrorResponse);
39399
39399
 
39400
39400
  export type GetAdAudienceData = {
39401
39401
  path: {
@@ -39625,7 +39625,7 @@ export type SendConversionsResponse = ({
39625
39625
 
39626
39626
  export type SendConversionsError = (unknown | {
39627
39627
  error?: string;
39628
- });
39628
+ } | ErrorResponse);
39629
39629
 
39630
39630
  export type AdjustConversionsData = {
39631
39631
  body: {
@@ -39701,7 +39701,7 @@ export type AdjustConversionsResponse = ({
39701
39701
 
39702
39702
  export type AdjustConversionsError = (unknown | {
39703
39703
  error?: string;
39704
- });
39704
+ } | ErrorResponse);
39705
39705
 
39706
39706
  export type ListConversionActionsData = {
39707
39707
  query: {
@@ -39815,7 +39815,7 @@ export type ListConversionDestinationsResponse = ({
39815
39815
 
39816
39816
  export type ListConversionDestinationsError = (unknown | {
39817
39817
  error?: string;
39818
- });
39818
+ } | ErrorResponse);
39819
39819
 
39820
39820
  export type CreateConversionDestinationData = {
39821
39821
  body: {
@@ -39926,7 +39926,7 @@ export type CreateConversionDestinationResponse = ({
39926
39926
 
39927
39927
  export type CreateConversionDestinationError = (unknown | {
39928
39928
  error?: string;
39929
- });
39929
+ } | ErrorResponse);
39930
39930
 
39931
39931
  export type GetConversionDestinationData = {
39932
39932
  path: {
@@ -39948,7 +39948,7 @@ export type GetConversionDestinationResponse = ({
39948
39948
 
39949
39949
  export type GetConversionDestinationError = (unknown | {
39950
39950
  error?: string;
39951
- });
39951
+ } | ErrorResponse);
39952
39952
 
39953
39953
  export type UpdateConversionDestinationData = {
39954
39954
  body: {
@@ -40001,7 +40001,7 @@ export type UpdateConversionDestinationResponse = ({
40001
40001
 
40002
40002
  export type UpdateConversionDestinationError = (unknown | {
40003
40003
  error?: string;
40004
- });
40004
+ } | ErrorResponse);
40005
40005
 
40006
40006
  export type DeleteConversionDestinationData = {
40007
40007
  path: {
@@ -40020,7 +40020,7 @@ export type DeleteConversionDestinationResponse = (void);
40020
40020
 
40021
40021
  export type DeleteConversionDestinationError = (unknown | {
40022
40022
  error?: string;
40023
- });
40023
+ } | ErrorResponse);
40024
40024
 
40025
40025
  export type ListConversionAssociationsData = {
40026
40026
  path: {
@@ -40046,7 +40046,7 @@ export type ListConversionAssociationsResponse = ({
40046
40046
 
40047
40047
  export type ListConversionAssociationsError = (unknown | {
40048
40048
  error?: string;
40049
- });
40049
+ } | ErrorResponse);
40050
40050
 
40051
40051
  export type AddConversionAssociationsData = {
40052
40052
  body: {
@@ -40073,7 +40073,7 @@ export type AddConversionAssociationsResponse = ({
40073
40073
 
40074
40074
  export type AddConversionAssociationsError = (unknown | {
40075
40075
  error?: string;
40076
- });
40076
+ } | ErrorResponse);
40077
40077
 
40078
40078
  export type RemoveConversionAssociationsData = {
40079
40079
  path: {
@@ -40103,7 +40103,7 @@ export type RemoveConversionAssociationsResponse = ({
40103
40103
 
40104
40104
  export type RemoveConversionAssociationsError = (unknown | {
40105
40105
  error?: string;
40106
- });
40106
+ } | ErrorResponse);
40107
40107
 
40108
40108
  export type GetConversionMetricsData = {
40109
40109
  path: {
@@ -40138,7 +40138,7 @@ export type GetConversionMetricsResponse = ({
40138
40138
 
40139
40139
  export type GetConversionMetricsError = (unknown | {
40140
40140
  error?: string;
40141
- });
40141
+ } | ErrorResponse);
40142
40142
 
40143
40143
  export type ListWhatsAppConversionsData = {
40144
40144
  query: {
@@ -40318,7 +40318,7 @@ export type CreateMessagingAdResponse = ((CtwaSingleResponse | CtwaMultiResponse
40318
40318
 
40319
40319
  export type CreateMessagingAdError = (unknown | {
40320
40320
  error?: string;
40321
- });
40321
+ } | ErrorResponse);
40322
40322
 
40323
40323
  export type CreateCallAdData = {
40324
40324
  body: (CtwaAdRequestBody & {
@@ -40337,7 +40337,7 @@ export type CreateCallAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
40337
40337
 
40338
40338
  export type CreateCallAdError = (unknown | {
40339
40339
  error?: string;
40340
- });
40340
+ } | ErrorResponse);
40341
40341
 
40342
40342
  export type CreateCtwaAdData = {
40343
40343
  body: CtwaAdRequestBody;
@@ -40347,7 +40347,7 @@ export type CreateCtwaAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
40347
40347
 
40348
40348
  export type CreateCtwaAdError = (unknown | {
40349
40349
  error?: string;
40350
- });
40350
+ } | ErrorResponse);
40351
40351
 
40352
40352
  export type ListCustomConversionsData = {
40353
40353
  path: {
@@ -40371,7 +40371,7 @@ export type ListCustomConversionsResponse = ({
40371
40371
 
40372
40372
  export type ListCustomConversionsError = (unknown | {
40373
40373
  error?: string;
40374
- });
40374
+ } | ErrorResponse);
40375
40375
 
40376
40376
  export type CreateCustomConversionData = {
40377
40377
  body: {
@@ -40410,7 +40410,7 @@ export type CreateCustomConversionResponse = (CustomConversionResult);
40410
40410
 
40411
40411
  export type CreateCustomConversionError = (unknown | {
40412
40412
  error?: string;
40413
- });
40413
+ } | ErrorResponse);
40414
40414
 
40415
40415
  export type GetBusinessAgentStatusData = {
40416
40416
  path: {
@@ -41492,7 +41492,7 @@ export type ListTrackingTagsResponse = ({
41492
41492
 
41493
41493
  export type ListTrackingTagsError = (unknown | {
41494
41494
  error?: string;
41495
- });
41495
+ } | ErrorResponse);
41496
41496
 
41497
41497
  export type CreateTrackingTagData = {
41498
41498
  body: {
@@ -41521,7 +41521,7 @@ export type CreateTrackingTagResponse = ({
41521
41521
 
41522
41522
  export type CreateTrackingTagError = (unknown | {
41523
41523
  error?: string;
41524
- });
41524
+ } | ErrorResponse);
41525
41525
 
41526
41526
  export type GetTrackingTagData = {
41527
41527
  path: {
@@ -41538,7 +41538,7 @@ export type GetTrackingTagResponse = ({
41538
41538
  tag?: TrackingTag;
41539
41539
  });
41540
41540
 
41541
- export type GetTrackingTagError = ({
41541
+ export type GetTrackingTagError = (ErrorResponse | {
41542
41542
  error?: string;
41543
41543
  } | unknown);
41544
41544
 
@@ -41576,7 +41576,7 @@ export type UpdateTrackingTagResponse = ({
41576
41576
 
41577
41577
  export type UpdateTrackingTagError = (unknown | {
41578
41578
  error?: string;
41579
- });
41579
+ } | ErrorResponse);
41580
41580
 
41581
41581
  export type ListTrackingTagSharedAccountsData = {
41582
41582
  path: {
@@ -41593,7 +41593,7 @@ export type ListTrackingTagSharedAccountsResponse = ({
41593
41593
  sharedAccounts?: Array<SharedAdAccount>;
41594
41594
  });
41595
41595
 
41596
- export type ListTrackingTagSharedAccountsError = ({
41596
+ export type ListTrackingTagSharedAccountsError = (ErrorResponse | {
41597
41597
  error?: string;
41598
41598
  } | unknown);
41599
41599
 
@@ -41620,7 +41620,7 @@ export type AddTrackingTagSharedAccountResponse = ({
41620
41620
 
41621
41621
  export type AddTrackingTagSharedAccountError = (unknown | {
41622
41622
  error?: string;
41623
- });
41623
+ } | ErrorResponse);
41624
41624
 
41625
41625
  export type RemoveTrackingTagSharedAccountData = {
41626
41626
  path: {
@@ -41642,7 +41642,7 @@ export type RemoveTrackingTagSharedAccountResponse = (void);
41642
41642
 
41643
41643
  export type RemoveTrackingTagSharedAccountError = (unknown | {
41644
41644
  error?: string;
41645
- });
41645
+ } | ErrorResponse);
41646
41646
 
41647
41647
  export type GetTrackingTagStatsData = {
41648
41648
  path: {
@@ -41682,7 +41682,7 @@ export type GetTrackingTagStatsResponse = ({
41682
41682
 
41683
41683
  export type GetTrackingTagStatsError = (unknown | {
41684
41684
  error?: string;
41685
- });
41685
+ } | ErrorResponse);
41686
41686
 
41687
41687
  export type ListBlogsData = {
41688
41688
  path: {
@@ -42087,4 +42087,122 @@ export type CheckVerificationResponse = ((Verification & {
42087
42087
 
42088
42088
  export type CheckVerificationError = (ErrorResponse | {
42089
42089
  error?: string;
42090
+ } | unknown);
42091
+
42092
+ export type ListTikTokAdPixelsData = {
42093
+ query: {
42094
+ /**
42095
+ * Zernio SocialAccount ID.
42096
+ */
42097
+ accountId: string;
42098
+ /**
42099
+ * Advertiser belonging to this connection.
42100
+ */
42101
+ advertiserId?: string;
42102
+ /**
42103
+ * Filter by a Pixel Code.
42104
+ */
42105
+ code?: string;
42106
+ };
42107
+ };
42108
+
42109
+ export type ListTikTokAdPixelsResponse = ({
42110
+ advertiserId?: string;
42111
+ pixels?: Array<{
42112
+ pixelId?: string;
42113
+ pixelCode?: string;
42114
+ name?: string;
42115
+ events?: Array<(string)>;
42116
+ eventDetails?: Array<{
42117
+ name?: string;
42118
+ optimizationEvent?: (string) | null;
42119
+ custom?: boolean;
42120
+ }>;
42121
+ }>;
42122
+ });
42123
+
42124
+ export type ListTikTokAdPixelsError = (ErrorResponse | {
42125
+ error?: string;
42126
+ } | unknown);
42127
+
42128
+ export type ListPartnershipAdContentData = {
42129
+ query: {
42130
+ /**
42131
+ * Zernio SocialAccount ID.
42132
+ */
42133
+ accountId: string;
42134
+ /**
42135
+ * Creator username. Required unless postUrl is supplied.
42136
+ */
42137
+ creatorUsername?: string;
42138
+ /**
42139
+ * Return only creators with account-level permission.
42140
+ */
42141
+ onlyAllowlisted?: boolean;
42142
+ /**
42143
+ * Instagram post permalink. Required unless creatorUsername is supplied.
42144
+ */
42145
+ postUrl?: string;
42146
+ };
42147
+ };
42148
+
42149
+ export type ListPartnershipAdContentResponse = ({
42150
+ media?: Array<{
42151
+ id?: string;
42152
+ permalink?: string;
42153
+ ownerId?: string;
42154
+ hasPermissionForPartnershipAd?: boolean;
42155
+ isCreatorAllowlisted?: boolean;
42156
+ eligibilityErrors?: Array<(string)>;
42157
+ recommendedCampaignObjectives?: Array<(string)>;
42158
+ }>;
42159
+ });
42160
+
42161
+ export type ListPartnershipAdContentError = (ErrorResponse | {
42162
+ error?: string;
42163
+ } | unknown);
42164
+
42165
+ export type ListPartnershipAdPermissionsData = {
42166
+ query: {
42167
+ /**
42168
+ * Zernio SocialAccount ID.
42169
+ */
42170
+ accountId: string;
42171
+ /**
42172
+ * Filter by creator username.
42173
+ */
42174
+ creatorUsername?: string;
42175
+ };
42176
+ };
42177
+
42178
+ export type ListPartnershipAdPermissionsResponse = ({
42179
+ permissions?: Array<{
42180
+ id?: string;
42181
+ permissionType?: string;
42182
+ status?: string;
42183
+ }>;
42184
+ });
42185
+
42186
+ export type ListPartnershipAdPermissionsError = (ErrorResponse | {
42187
+ error?: string;
42188
+ } | unknown);
42189
+
42190
+ export type SetPartnershipAdPermissionData = {
42191
+ body: {
42192
+ accountId: string;
42193
+ creatorUsername: string;
42194
+ revoke?: boolean;
42195
+ };
42196
+ };
42197
+
42198
+ export type SetPartnershipAdPermissionResponse = ({
42199
+ permission?: {
42200
+ id?: string;
42201
+ permissionType?: string;
42202
+ status?: string;
42203
+ };
42204
+ });
42205
+
42206
+ export type SetPartnershipAdPermissionError = (ErrorResponse | {
42207
+ error?: string;
42090
42208
  } | unknown);