@zernio/node 0.2.1494 → 0.2.1495

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -24651,7 +24651,16 @@ type GetAnalyticsError = ({
24651
24651
  code?: string;
24652
24652
  } | {
24653
24653
  error?: string;
24654
- } | AnalyticsSinglePostResponse);
24654
+ } | AnalyticsSinglePostResponse | {
24655
+ error?: string;
24656
+ details?: {
24657
+ currentCount?: number;
24658
+ limit?: number;
24659
+ retryAfterSeconds?: number;
24660
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24661
+ window?: string;
24662
+ };
24663
+ });
24655
24664
  type GetAnalyticsDeltaData = {
24656
24665
  query?: {
24657
24666
  /**
@@ -24681,6 +24690,15 @@ type GetAnalyticsDeltaError = (ErrorResponse | {
24681
24690
  code?: string;
24682
24691
  } | {
24683
24692
  error?: string;
24693
+ } | {
24694
+ error?: string;
24695
+ details?: {
24696
+ currentCount?: number;
24697
+ limit?: number;
24698
+ retryAfterSeconds?: number;
24699
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24700
+ window?: string;
24701
+ };
24684
24702
  });
24685
24703
  type GetYouTubeChannelInsightsData = {
24686
24704
  query: {
@@ -25497,6 +25515,15 @@ type GetDailyMetricsResponse = ({
25497
25515
  type GetDailyMetricsError = (ErrorResponse | {
25498
25516
  error?: string;
25499
25517
  code?: string;
25518
+ } | {
25519
+ error?: string;
25520
+ details?: {
25521
+ currentCount?: number;
25522
+ limit?: number;
25523
+ retryAfterSeconds?: number;
25524
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25525
+ window?: string;
25526
+ };
25500
25527
  });
25501
25528
  type GetAnalyticsDashboardData = {
25502
25529
  query: {
@@ -25563,7 +25590,16 @@ type GetAnalyticsDashboardResponse = ({
25563
25590
  */
25564
25591
  dataAsOf: (string) | null;
25565
25592
  });
25566
- type GetAnalyticsDashboardError = (ErrorResponse | unknown);
25593
+ type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
25594
+ error?: string;
25595
+ details?: {
25596
+ currentCount?: number;
25597
+ limit?: number;
25598
+ retryAfterSeconds?: number;
25599
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25600
+ window?: string;
25601
+ };
25602
+ });
25567
25603
  type GetBestTimeToPostData = {
25568
25604
  query?: {
25569
25605
  /**
@@ -25607,6 +25643,15 @@ type GetBestTimeToPostResponse = ({
25607
25643
  type GetBestTimeToPostError = (ErrorResponse | {
25608
25644
  error?: string;
25609
25645
  requiresAddon?: boolean;
25646
+ } | {
25647
+ error?: string;
25648
+ details?: {
25649
+ currentCount?: number;
25650
+ limit?: number;
25651
+ retryAfterSeconds?: number;
25652
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25653
+ window?: string;
25654
+ };
25610
25655
  });
25611
25656
  type GetContentDecayData = {
25612
25657
  query?: {
@@ -25651,6 +25696,15 @@ type GetContentDecayResponse = ({
25651
25696
  type GetContentDecayError = (unknown | ErrorResponse | {
25652
25697
  error?: string;
25653
25698
  requiresAddon?: boolean;
25699
+ } | {
25700
+ error?: string;
25701
+ details?: {
25702
+ currentCount?: number;
25703
+ limit?: number;
25704
+ retryAfterSeconds?: number;
25705
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25706
+ window?: string;
25707
+ };
25654
25708
  });
25655
25709
  type GetPostingFrequencyData = {
25656
25710
  query?: {
@@ -25696,6 +25750,15 @@ type GetPostingFrequencyResponse = ({
25696
25750
  type GetPostingFrequencyError = (ErrorResponse | {
25697
25751
  error?: string;
25698
25752
  requiresAddon?: boolean;
25753
+ } | {
25754
+ error?: string;
25755
+ details?: {
25756
+ currentCount?: number;
25757
+ limit?: number;
25758
+ retryAfterSeconds?: number;
25759
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25760
+ window?: string;
25761
+ };
25699
25762
  });
25700
25763
  type GetLedgerBalancesData = {
25701
25764
  query: {
@@ -26951,6 +27014,15 @@ type GetPostTimelineError = ({
26951
27014
  } | ErrorResponse | {
26952
27015
  error?: string;
26953
27016
  code?: string;
27017
+ } | {
27018
+ error?: string;
27019
+ details?: {
27020
+ currentCount?: number;
27021
+ limit?: number;
27022
+ retryAfterSeconds?: number;
27023
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27024
+ window?: string;
27025
+ };
26954
27026
  });
26955
27027
  type RunGoogleAnalyticsReportData = {
26956
27028
  body: (GoogleAnalyticsReportFields & {
@@ -27081,6 +27153,15 @@ type ListTrackingWindowsResponse = ({
27081
27153
  type ListTrackingWindowsError = (ErrorResponse | {
27082
27154
  error?: string;
27083
27155
  code?: string;
27156
+ } | {
27157
+ error?: string;
27158
+ details?: {
27159
+ currentCount?: number;
27160
+ limit?: number;
27161
+ retryAfterSeconds?: number;
27162
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27163
+ window?: string;
27164
+ };
27084
27165
  });
27085
27166
  type GetTrackingWindowData = {
27086
27167
  path: {
@@ -27091,6 +27172,15 @@ type GetTrackingWindowResponse = (TrackingWindowResponse);
27091
27172
  type GetTrackingWindowError = (ErrorResponse | {
27092
27173
  error?: string;
27093
27174
  code?: string;
27175
+ } | {
27176
+ error?: string;
27177
+ details?: {
27178
+ currentCount?: number;
27179
+ limit?: number;
27180
+ retryAfterSeconds?: number;
27181
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27182
+ window?: string;
27183
+ };
27094
27184
  });
27095
27185
  type CancelTrackingWindowData = {
27096
27186
  path: {
@@ -27132,6 +27222,15 @@ type GetPostSamplesResponse = ({
27132
27222
  type GetPostSamplesError = (ErrorResponse | {
27133
27223
  error?: string;
27134
27224
  code?: string;
27225
+ } | {
27226
+ error?: string;
27227
+ details?: {
27228
+ currentCount?: number;
27229
+ limit?: number;
27230
+ retryAfterSeconds?: number;
27231
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27232
+ window?: string;
27233
+ };
27135
27234
  });
27136
27235
  type GetPostAuthenticityData = {
27137
27236
  path: {
@@ -27358,7 +27457,16 @@ type GetInboxVolumeError = ({
27358
27457
  details?: {
27359
27458
  [key: string]: unknown;
27360
27459
  };
27361
- } | ErrorResponse);
27460
+ } | ErrorResponse | {
27461
+ error?: string;
27462
+ details?: {
27463
+ currentCount?: number;
27464
+ limit?: number;
27465
+ retryAfterSeconds?: number;
27466
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27467
+ window?: string;
27468
+ };
27469
+ });
27362
27470
  type GetInboxHeatmapData = {
27363
27471
  query: {
27364
27472
  accountId?: string;
@@ -27393,7 +27501,16 @@ type GetInboxHeatmapError = ({
27393
27501
  details?: {
27394
27502
  [key: string]: unknown;
27395
27503
  };
27396
- } | ErrorResponse);
27504
+ } | ErrorResponse | {
27505
+ error?: string;
27506
+ details?: {
27507
+ currentCount?: number;
27508
+ limit?: number;
27509
+ retryAfterSeconds?: number;
27510
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27511
+ window?: string;
27512
+ };
27513
+ });
27397
27514
  type GetInboxSourceBreakdownData = {
27398
27515
  query: {
27399
27516
  accountId?: string;
@@ -27425,7 +27542,16 @@ type GetInboxSourceBreakdownError = ({
27425
27542
  details?: {
27426
27543
  [key: string]: unknown;
27427
27544
  };
27428
- } | ErrorResponse);
27545
+ } | ErrorResponse | {
27546
+ error?: string;
27547
+ details?: {
27548
+ currentCount?: number;
27549
+ limit?: number;
27550
+ retryAfterSeconds?: number;
27551
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27552
+ window?: string;
27553
+ };
27554
+ });
27429
27555
  type GetInboxResponseTimeData = {
27430
27556
  query: {
27431
27557
  accountId?: string;
@@ -27466,7 +27592,16 @@ type GetInboxResponseTimeError = ({
27466
27592
  details?: {
27467
27593
  [key: string]: unknown;
27468
27594
  };
27469
- } | ErrorResponse);
27595
+ } | ErrorResponse | {
27596
+ error?: string;
27597
+ details?: {
27598
+ currentCount?: number;
27599
+ limit?: number;
27600
+ retryAfterSeconds?: number;
27601
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27602
+ window?: string;
27603
+ };
27604
+ });
27470
27605
  type GetInboxTopAccountsData = {
27471
27606
  query: {
27472
27607
  fromDate: string;
@@ -27508,7 +27643,16 @@ type GetInboxTopAccountsError = ({
27508
27643
  details?: {
27509
27644
  [key: string]: unknown;
27510
27645
  };
27511
- } | ErrorResponse);
27646
+ } | ErrorResponse | {
27647
+ error?: string;
27648
+ details?: {
27649
+ currentCount?: number;
27650
+ limit?: number;
27651
+ retryAfterSeconds?: number;
27652
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27653
+ window?: string;
27654
+ };
27655
+ });
27512
27656
  type ListInboxConversationAnalyticsData = {
27513
27657
  query: {
27514
27658
  accountId?: string;
@@ -27566,7 +27710,16 @@ type ListInboxConversationAnalyticsError = ({
27566
27710
  details?: {
27567
27711
  [key: string]: unknown;
27568
27712
  };
27569
- } | ErrorResponse);
27713
+ } | ErrorResponse | {
27714
+ error?: string;
27715
+ details?: {
27716
+ currentCount?: number;
27717
+ limit?: number;
27718
+ retryAfterSeconds?: number;
27719
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27720
+ window?: string;
27721
+ };
27722
+ });
27570
27723
  type GetInboxConversationAnalyticsData = {
27571
27724
  path: {
27572
27725
  /**
@@ -27621,6 +27774,15 @@ type GetInboxConversationAnalyticsError = ({
27621
27774
  } | ErrorResponse | {
27622
27775
  error?: string;
27623
27776
  code?: string;
27777
+ } | {
27778
+ error?: string;
27779
+ details?: {
27780
+ currentCount?: number;
27781
+ limit?: number;
27782
+ retryAfterSeconds?: number;
27783
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27784
+ window?: string;
27785
+ };
27624
27786
  });
27625
27787
  type ListAccountGroupsResponse = ({
27626
27788
  groups?: Array<{
@@ -50437,7 +50599,16 @@ type ListAdsResponse = (AdsListResponse | (AdsListResponse & {
50437
50599
  */
50438
50600
  backfillPending: boolean;
50439
50601
  }));
50440
- type ListAdsError = (ErrorResponse | unknown);
50602
+ type ListAdsError = (ErrorResponse | unknown | {
50603
+ error?: string;
50604
+ details?: {
50605
+ currentCount?: number;
50606
+ limit?: number;
50607
+ retryAfterSeconds?: number;
50608
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
50609
+ window?: string;
50610
+ };
50611
+ });
50441
50612
  type GetAdsSearchTermsData = {
50442
50613
  query: {
50443
50614
  /**
@@ -51536,7 +51707,16 @@ type ListAdCampaignsResponse = ({
51536
51707
  campaigns?: Array<AdCampaign>;
51537
51708
  pagination?: Pagination;
51538
51709
  });
51539
- type ListAdCampaignsError = (ErrorResponse | unknown);
51710
+ type ListAdCampaignsError = (ErrorResponse | unknown | {
51711
+ error?: string;
51712
+ details?: {
51713
+ currentCount?: number;
51714
+ limit?: number;
51715
+ retryAfterSeconds?: number;
51716
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
51717
+ window?: string;
51718
+ };
51719
+ });
51540
51720
  type CreateAdCampaignData = {
51541
51721
  body: {
51542
51722
  /**
@@ -53456,7 +53636,16 @@ type GetAdTreeResponse = (AdTreeResponse | (AdTreeResponse & {
53456
53636
  */
53457
53637
  backfillPending: boolean;
53458
53638
  }));
53459
- type GetAdTreeError = (ErrorResponse | unknown);
53639
+ type GetAdTreeError = (ErrorResponse | unknown | {
53640
+ error?: string;
53641
+ details?: {
53642
+ currentCount?: number;
53643
+ limit?: number;
53644
+ retryAfterSeconds?: number;
53645
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
53646
+ window?: string;
53647
+ };
53648
+ });
53460
53649
  type ListAdsByPerformanceData = {
53461
53650
  query: {
53462
53651
  /**
@@ -53495,7 +53684,16 @@ type ListAdsByPerformanceResponse = (AdsPerformanceResponse | (AdsPerformanceRes
53495
53684
  */
53496
53685
  backfillPending: boolean;
53497
53686
  }));
53498
- type ListAdsByPerformanceError = (ErrorResponse | unknown);
53687
+ type ListAdsByPerformanceError = (ErrorResponse | unknown | {
53688
+ error?: string;
53689
+ details?: {
53690
+ currentCount?: number;
53691
+ limit?: number;
53692
+ retryAfterSeconds?: number;
53693
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
53694
+ window?: string;
53695
+ };
53696
+ });
53499
53697
  type GetAdsTimelineData = {
53500
53698
  query: {
53501
53699
  /**
@@ -53530,7 +53728,16 @@ type GetAdsTimelineResponse = (AdsTimelineResponse | (AdsTimelineResponse & {
53530
53728
  */
53531
53729
  backfillPending: boolean;
53532
53730
  }));
53533
- type GetAdsTimelineError = (ErrorResponse | unknown);
53731
+ type GetAdsTimelineError = (ErrorResponse | unknown | {
53732
+ error?: string;
53733
+ details?: {
53734
+ currentCount?: number;
53735
+ limit?: number;
53736
+ retryAfterSeconds?: number;
53737
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
53738
+ window?: string;
53739
+ };
53740
+ });
53534
53741
  type GetAdData = {
53535
53742
  path: {
53536
53743
  /**
@@ -54972,6 +55179,15 @@ type GetAdAnalyticsResponse = (AdAnalyticsResponse | (AdAnalyticsResponse & {
54972
55179
  }));
54973
55180
  type GetAdAnalyticsError = (ErrorResponse | unknown | {
54974
55181
  error?: string;
55182
+ } | {
55183
+ error?: string;
55184
+ details?: {
55185
+ currentCount?: number;
55186
+ limit?: number;
55187
+ retryAfterSeconds?: number;
55188
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
55189
+ window?: string;
55190
+ };
54975
55191
  });
54976
55192
  type GetAdTrackingTagsData = {
54977
55193
  path: {
@@ -55306,7 +55522,16 @@ type ListAdsAlertsResponse = ({
55306
55522
  info?: number;
55307
55523
  };
55308
55524
  });
55309
- type ListAdsAlertsError = (ErrorResponse | unknown);
55525
+ type ListAdsAlertsError = (ErrorResponse | unknown | {
55526
+ error?: string;
55527
+ details?: {
55528
+ currentCount?: number;
55529
+ limit?: number;
55530
+ retryAfterSeconds?: number;
55531
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
55532
+ window?: string;
55533
+ };
55534
+ });
55310
55535
  type DismissAdsAlertData = {
55311
55536
  path: {
55312
55537
  /**
package/dist/index.d.ts CHANGED
@@ -24651,7 +24651,16 @@ type GetAnalyticsError = ({
24651
24651
  code?: string;
24652
24652
  } | {
24653
24653
  error?: string;
24654
- } | AnalyticsSinglePostResponse);
24654
+ } | AnalyticsSinglePostResponse | {
24655
+ error?: string;
24656
+ details?: {
24657
+ currentCount?: number;
24658
+ limit?: number;
24659
+ retryAfterSeconds?: number;
24660
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24661
+ window?: string;
24662
+ };
24663
+ });
24655
24664
  type GetAnalyticsDeltaData = {
24656
24665
  query?: {
24657
24666
  /**
@@ -24681,6 +24690,15 @@ type GetAnalyticsDeltaError = (ErrorResponse | {
24681
24690
  code?: string;
24682
24691
  } | {
24683
24692
  error?: string;
24693
+ } | {
24694
+ error?: string;
24695
+ details?: {
24696
+ currentCount?: number;
24697
+ limit?: number;
24698
+ retryAfterSeconds?: number;
24699
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24700
+ window?: string;
24701
+ };
24684
24702
  });
24685
24703
  type GetYouTubeChannelInsightsData = {
24686
24704
  query: {
@@ -25497,6 +25515,15 @@ type GetDailyMetricsResponse = ({
25497
25515
  type GetDailyMetricsError = (ErrorResponse | {
25498
25516
  error?: string;
25499
25517
  code?: string;
25518
+ } | {
25519
+ error?: string;
25520
+ details?: {
25521
+ currentCount?: number;
25522
+ limit?: number;
25523
+ retryAfterSeconds?: number;
25524
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25525
+ window?: string;
25526
+ };
25500
25527
  });
25501
25528
  type GetAnalyticsDashboardData = {
25502
25529
  query: {
@@ -25563,7 +25590,16 @@ type GetAnalyticsDashboardResponse = ({
25563
25590
  */
25564
25591
  dataAsOf: (string) | null;
25565
25592
  });
25566
- type GetAnalyticsDashboardError = (ErrorResponse | unknown);
25593
+ type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
25594
+ error?: string;
25595
+ details?: {
25596
+ currentCount?: number;
25597
+ limit?: number;
25598
+ retryAfterSeconds?: number;
25599
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25600
+ window?: string;
25601
+ };
25602
+ });
25567
25603
  type GetBestTimeToPostData = {
25568
25604
  query?: {
25569
25605
  /**
@@ -25607,6 +25643,15 @@ type GetBestTimeToPostResponse = ({
25607
25643
  type GetBestTimeToPostError = (ErrorResponse | {
25608
25644
  error?: string;
25609
25645
  requiresAddon?: boolean;
25646
+ } | {
25647
+ error?: string;
25648
+ details?: {
25649
+ currentCount?: number;
25650
+ limit?: number;
25651
+ retryAfterSeconds?: number;
25652
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25653
+ window?: string;
25654
+ };
25610
25655
  });
25611
25656
  type GetContentDecayData = {
25612
25657
  query?: {
@@ -25651,6 +25696,15 @@ type GetContentDecayResponse = ({
25651
25696
  type GetContentDecayError = (unknown | ErrorResponse | {
25652
25697
  error?: string;
25653
25698
  requiresAddon?: boolean;
25699
+ } | {
25700
+ error?: string;
25701
+ details?: {
25702
+ currentCount?: number;
25703
+ limit?: number;
25704
+ retryAfterSeconds?: number;
25705
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25706
+ window?: string;
25707
+ };
25654
25708
  });
25655
25709
  type GetPostingFrequencyData = {
25656
25710
  query?: {
@@ -25696,6 +25750,15 @@ type GetPostingFrequencyResponse = ({
25696
25750
  type GetPostingFrequencyError = (ErrorResponse | {
25697
25751
  error?: string;
25698
25752
  requiresAddon?: boolean;
25753
+ } | {
25754
+ error?: string;
25755
+ details?: {
25756
+ currentCount?: number;
25757
+ limit?: number;
25758
+ retryAfterSeconds?: number;
25759
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25760
+ window?: string;
25761
+ };
25699
25762
  });
25700
25763
  type GetLedgerBalancesData = {
25701
25764
  query: {
@@ -26951,6 +27014,15 @@ type GetPostTimelineError = ({
26951
27014
  } | ErrorResponse | {
26952
27015
  error?: string;
26953
27016
  code?: string;
27017
+ } | {
27018
+ error?: string;
27019
+ details?: {
27020
+ currentCount?: number;
27021
+ limit?: number;
27022
+ retryAfterSeconds?: number;
27023
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27024
+ window?: string;
27025
+ };
26954
27026
  });
26955
27027
  type RunGoogleAnalyticsReportData = {
26956
27028
  body: (GoogleAnalyticsReportFields & {
@@ -27081,6 +27153,15 @@ type ListTrackingWindowsResponse = ({
27081
27153
  type ListTrackingWindowsError = (ErrorResponse | {
27082
27154
  error?: string;
27083
27155
  code?: string;
27156
+ } | {
27157
+ error?: string;
27158
+ details?: {
27159
+ currentCount?: number;
27160
+ limit?: number;
27161
+ retryAfterSeconds?: number;
27162
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27163
+ window?: string;
27164
+ };
27084
27165
  });
27085
27166
  type GetTrackingWindowData = {
27086
27167
  path: {
@@ -27091,6 +27172,15 @@ type GetTrackingWindowResponse = (TrackingWindowResponse);
27091
27172
  type GetTrackingWindowError = (ErrorResponse | {
27092
27173
  error?: string;
27093
27174
  code?: string;
27175
+ } | {
27176
+ error?: string;
27177
+ details?: {
27178
+ currentCount?: number;
27179
+ limit?: number;
27180
+ retryAfterSeconds?: number;
27181
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27182
+ window?: string;
27183
+ };
27094
27184
  });
27095
27185
  type CancelTrackingWindowData = {
27096
27186
  path: {
@@ -27132,6 +27222,15 @@ type GetPostSamplesResponse = ({
27132
27222
  type GetPostSamplesError = (ErrorResponse | {
27133
27223
  error?: string;
27134
27224
  code?: string;
27225
+ } | {
27226
+ error?: string;
27227
+ details?: {
27228
+ currentCount?: number;
27229
+ limit?: number;
27230
+ retryAfterSeconds?: number;
27231
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27232
+ window?: string;
27233
+ };
27135
27234
  });
27136
27235
  type GetPostAuthenticityData = {
27137
27236
  path: {
@@ -27358,7 +27457,16 @@ type GetInboxVolumeError = ({
27358
27457
  details?: {
27359
27458
  [key: string]: unknown;
27360
27459
  };
27361
- } | ErrorResponse);
27460
+ } | ErrorResponse | {
27461
+ error?: string;
27462
+ details?: {
27463
+ currentCount?: number;
27464
+ limit?: number;
27465
+ retryAfterSeconds?: number;
27466
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27467
+ window?: string;
27468
+ };
27469
+ });
27362
27470
  type GetInboxHeatmapData = {
27363
27471
  query: {
27364
27472
  accountId?: string;
@@ -27393,7 +27501,16 @@ type GetInboxHeatmapError = ({
27393
27501
  details?: {
27394
27502
  [key: string]: unknown;
27395
27503
  };
27396
- } | ErrorResponse);
27504
+ } | ErrorResponse | {
27505
+ error?: string;
27506
+ details?: {
27507
+ currentCount?: number;
27508
+ limit?: number;
27509
+ retryAfterSeconds?: number;
27510
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27511
+ window?: string;
27512
+ };
27513
+ });
27397
27514
  type GetInboxSourceBreakdownData = {
27398
27515
  query: {
27399
27516
  accountId?: string;
@@ -27425,7 +27542,16 @@ type GetInboxSourceBreakdownError = ({
27425
27542
  details?: {
27426
27543
  [key: string]: unknown;
27427
27544
  };
27428
- } | ErrorResponse);
27545
+ } | ErrorResponse | {
27546
+ error?: string;
27547
+ details?: {
27548
+ currentCount?: number;
27549
+ limit?: number;
27550
+ retryAfterSeconds?: number;
27551
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27552
+ window?: string;
27553
+ };
27554
+ });
27429
27555
  type GetInboxResponseTimeData = {
27430
27556
  query: {
27431
27557
  accountId?: string;
@@ -27466,7 +27592,16 @@ type GetInboxResponseTimeError = ({
27466
27592
  details?: {
27467
27593
  [key: string]: unknown;
27468
27594
  };
27469
- } | ErrorResponse);
27595
+ } | ErrorResponse | {
27596
+ error?: string;
27597
+ details?: {
27598
+ currentCount?: number;
27599
+ limit?: number;
27600
+ retryAfterSeconds?: number;
27601
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27602
+ window?: string;
27603
+ };
27604
+ });
27470
27605
  type GetInboxTopAccountsData = {
27471
27606
  query: {
27472
27607
  fromDate: string;
@@ -27508,7 +27643,16 @@ type GetInboxTopAccountsError = ({
27508
27643
  details?: {
27509
27644
  [key: string]: unknown;
27510
27645
  };
27511
- } | ErrorResponse);
27646
+ } | ErrorResponse | {
27647
+ error?: string;
27648
+ details?: {
27649
+ currentCount?: number;
27650
+ limit?: number;
27651
+ retryAfterSeconds?: number;
27652
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27653
+ window?: string;
27654
+ };
27655
+ });
27512
27656
  type ListInboxConversationAnalyticsData = {
27513
27657
  query: {
27514
27658
  accountId?: string;
@@ -27566,7 +27710,16 @@ type ListInboxConversationAnalyticsError = ({
27566
27710
  details?: {
27567
27711
  [key: string]: unknown;
27568
27712
  };
27569
- } | ErrorResponse);
27713
+ } | ErrorResponse | {
27714
+ error?: string;
27715
+ details?: {
27716
+ currentCount?: number;
27717
+ limit?: number;
27718
+ retryAfterSeconds?: number;
27719
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27720
+ window?: string;
27721
+ };
27722
+ });
27570
27723
  type GetInboxConversationAnalyticsData = {
27571
27724
  path: {
27572
27725
  /**
@@ -27621,6 +27774,15 @@ type GetInboxConversationAnalyticsError = ({
27621
27774
  } | ErrorResponse | {
27622
27775
  error?: string;
27623
27776
  code?: string;
27777
+ } | {
27778
+ error?: string;
27779
+ details?: {
27780
+ currentCount?: number;
27781
+ limit?: number;
27782
+ retryAfterSeconds?: number;
27783
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
27784
+ window?: string;
27785
+ };
27624
27786
  });
27625
27787
  type ListAccountGroupsResponse = ({
27626
27788
  groups?: Array<{
@@ -50437,7 +50599,16 @@ type ListAdsResponse = (AdsListResponse | (AdsListResponse & {
50437
50599
  */
50438
50600
  backfillPending: boolean;
50439
50601
  }));
50440
- type ListAdsError = (ErrorResponse | unknown);
50602
+ type ListAdsError = (ErrorResponse | unknown | {
50603
+ error?: string;
50604
+ details?: {
50605
+ currentCount?: number;
50606
+ limit?: number;
50607
+ retryAfterSeconds?: number;
50608
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
50609
+ window?: string;
50610
+ };
50611
+ });
50441
50612
  type GetAdsSearchTermsData = {
50442
50613
  query: {
50443
50614
  /**
@@ -51536,7 +51707,16 @@ type ListAdCampaignsResponse = ({
51536
51707
  campaigns?: Array<AdCampaign>;
51537
51708
  pagination?: Pagination;
51538
51709
  });
51539
- type ListAdCampaignsError = (ErrorResponse | unknown);
51710
+ type ListAdCampaignsError = (ErrorResponse | unknown | {
51711
+ error?: string;
51712
+ details?: {
51713
+ currentCount?: number;
51714
+ limit?: number;
51715
+ retryAfterSeconds?: number;
51716
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
51717
+ window?: string;
51718
+ };
51719
+ });
51540
51720
  type CreateAdCampaignData = {
51541
51721
  body: {
51542
51722
  /**
@@ -53456,7 +53636,16 @@ type GetAdTreeResponse = (AdTreeResponse | (AdTreeResponse & {
53456
53636
  */
53457
53637
  backfillPending: boolean;
53458
53638
  }));
53459
- type GetAdTreeError = (ErrorResponse | unknown);
53639
+ type GetAdTreeError = (ErrorResponse | unknown | {
53640
+ error?: string;
53641
+ details?: {
53642
+ currentCount?: number;
53643
+ limit?: number;
53644
+ retryAfterSeconds?: number;
53645
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
53646
+ window?: string;
53647
+ };
53648
+ });
53460
53649
  type ListAdsByPerformanceData = {
53461
53650
  query: {
53462
53651
  /**
@@ -53495,7 +53684,16 @@ type ListAdsByPerformanceResponse = (AdsPerformanceResponse | (AdsPerformanceRes
53495
53684
  */
53496
53685
  backfillPending: boolean;
53497
53686
  }));
53498
- type ListAdsByPerformanceError = (ErrorResponse | unknown);
53687
+ type ListAdsByPerformanceError = (ErrorResponse | unknown | {
53688
+ error?: string;
53689
+ details?: {
53690
+ currentCount?: number;
53691
+ limit?: number;
53692
+ retryAfterSeconds?: number;
53693
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
53694
+ window?: string;
53695
+ };
53696
+ });
53499
53697
  type GetAdsTimelineData = {
53500
53698
  query: {
53501
53699
  /**
@@ -53530,7 +53728,16 @@ type GetAdsTimelineResponse = (AdsTimelineResponse | (AdsTimelineResponse & {
53530
53728
  */
53531
53729
  backfillPending: boolean;
53532
53730
  }));
53533
- type GetAdsTimelineError = (ErrorResponse | unknown);
53731
+ type GetAdsTimelineError = (ErrorResponse | unknown | {
53732
+ error?: string;
53733
+ details?: {
53734
+ currentCount?: number;
53735
+ limit?: number;
53736
+ retryAfterSeconds?: number;
53737
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
53738
+ window?: string;
53739
+ };
53740
+ });
53534
53741
  type GetAdData = {
53535
53742
  path: {
53536
53743
  /**
@@ -54972,6 +55179,15 @@ type GetAdAnalyticsResponse = (AdAnalyticsResponse | (AdAnalyticsResponse & {
54972
55179
  }));
54973
55180
  type GetAdAnalyticsError = (ErrorResponse | unknown | {
54974
55181
  error?: string;
55182
+ } | {
55183
+ error?: string;
55184
+ details?: {
55185
+ currentCount?: number;
55186
+ limit?: number;
55187
+ retryAfterSeconds?: number;
55188
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
55189
+ window?: string;
55190
+ };
54975
55191
  });
54976
55192
  type GetAdTrackingTagsData = {
54977
55193
  path: {
@@ -55306,7 +55522,16 @@ type ListAdsAlertsResponse = ({
55306
55522
  info?: number;
55307
55523
  };
55308
55524
  });
55309
- type ListAdsAlertsError = (ErrorResponse | unknown);
55525
+ type ListAdsAlertsError = (ErrorResponse | unknown | {
55526
+ error?: string;
55527
+ details?: {
55528
+ currentCount?: number;
55529
+ limit?: number;
55530
+ retryAfterSeconds?: number;
55531
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
55532
+ window?: string;
55533
+ };
55534
+ });
55310
55535
  type DismissAdsAlertData = {
55311
55536
  path: {
55312
55537
  /**
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.1494",
39
+ version: "0.2.1495",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.1494",
8
+ version: "0.2.1495",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1494",
3
+ "version": "0.2.1495",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -23354,7 +23354,16 @@ export type GetAnalyticsError = ({
23354
23354
  code?: string;
23355
23355
  } | {
23356
23356
  error?: string;
23357
- } | AnalyticsSinglePostResponse);
23357
+ } | AnalyticsSinglePostResponse | {
23358
+ error?: string;
23359
+ details?: {
23360
+ currentCount?: number;
23361
+ limit?: number;
23362
+ retryAfterSeconds?: number;
23363
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
23364
+ window?: string;
23365
+ };
23366
+ });
23358
23367
 
23359
23368
  export type GetAnalyticsDeltaData = {
23360
23369
  query?: {
@@ -23387,6 +23396,15 @@ export type GetAnalyticsDeltaError = (ErrorResponse | {
23387
23396
  code?: string;
23388
23397
  } | {
23389
23398
  error?: string;
23399
+ } | {
23400
+ error?: string;
23401
+ details?: {
23402
+ currentCount?: number;
23403
+ limit?: number;
23404
+ retryAfterSeconds?: number;
23405
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
23406
+ window?: string;
23407
+ };
23390
23408
  });
23391
23409
 
23392
23410
  export type GetYouTubeChannelInsightsData = {
@@ -24251,6 +24269,15 @@ export type GetDailyMetricsResponse = ({
24251
24269
  export type GetDailyMetricsError = (ErrorResponse | {
24252
24270
  error?: string;
24253
24271
  code?: string;
24272
+ } | {
24273
+ error?: string;
24274
+ details?: {
24275
+ currentCount?: number;
24276
+ limit?: number;
24277
+ retryAfterSeconds?: number;
24278
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24279
+ window?: string;
24280
+ };
24254
24281
  });
24255
24282
 
24256
24283
  export type GetAnalyticsDashboardData = {
@@ -24320,7 +24347,16 @@ export type GetAnalyticsDashboardResponse = ({
24320
24347
  dataAsOf: (string) | null;
24321
24348
  });
24322
24349
 
24323
- export type GetAnalyticsDashboardError = (ErrorResponse | unknown);
24350
+ export type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
24351
+ error?: string;
24352
+ details?: {
24353
+ currentCount?: number;
24354
+ limit?: number;
24355
+ retryAfterSeconds?: number;
24356
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24357
+ window?: string;
24358
+ };
24359
+ });
24324
24360
 
24325
24361
  export type GetBestTimeToPostData = {
24326
24362
  query?: {
@@ -24367,6 +24403,15 @@ export type GetBestTimeToPostResponse = ({
24367
24403
  export type GetBestTimeToPostError = (ErrorResponse | {
24368
24404
  error?: string;
24369
24405
  requiresAddon?: boolean;
24406
+ } | {
24407
+ error?: string;
24408
+ details?: {
24409
+ currentCount?: number;
24410
+ limit?: number;
24411
+ retryAfterSeconds?: number;
24412
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24413
+ window?: string;
24414
+ };
24370
24415
  });
24371
24416
 
24372
24417
  export type GetContentDecayData = {
@@ -24414,6 +24459,15 @@ export type GetContentDecayResponse = ({
24414
24459
  export type GetContentDecayError = (unknown | ErrorResponse | {
24415
24460
  error?: string;
24416
24461
  requiresAddon?: boolean;
24462
+ } | {
24463
+ error?: string;
24464
+ details?: {
24465
+ currentCount?: number;
24466
+ limit?: number;
24467
+ retryAfterSeconds?: number;
24468
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24469
+ window?: string;
24470
+ };
24417
24471
  });
24418
24472
 
24419
24473
  export type GetPostingFrequencyData = {
@@ -24462,6 +24516,15 @@ export type GetPostingFrequencyResponse = ({
24462
24516
  export type GetPostingFrequencyError = (ErrorResponse | {
24463
24517
  error?: string;
24464
24518
  requiresAddon?: boolean;
24519
+ } | {
24520
+ error?: string;
24521
+ details?: {
24522
+ currentCount?: number;
24523
+ limit?: number;
24524
+ retryAfterSeconds?: number;
24525
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
24526
+ window?: string;
24527
+ };
24465
24528
  });
24466
24529
 
24467
24530
  export type GetLedgerBalancesData = {
@@ -25799,6 +25862,15 @@ export type GetPostTimelineError = ({
25799
25862
  } | ErrorResponse | {
25800
25863
  error?: string;
25801
25864
  code?: string;
25865
+ } | {
25866
+ error?: string;
25867
+ details?: {
25868
+ currentCount?: number;
25869
+ limit?: number;
25870
+ retryAfterSeconds?: number;
25871
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
25872
+ window?: string;
25873
+ };
25802
25874
  });
25803
25875
 
25804
25876
  export type RunGoogleAnalyticsReportData = {
@@ -25944,6 +26016,15 @@ export type ListTrackingWindowsResponse = ({
25944
26016
  export type ListTrackingWindowsError = (ErrorResponse | {
25945
26017
  error?: string;
25946
26018
  code?: string;
26019
+ } | {
26020
+ error?: string;
26021
+ details?: {
26022
+ currentCount?: number;
26023
+ limit?: number;
26024
+ retryAfterSeconds?: number;
26025
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26026
+ window?: string;
26027
+ };
25947
26028
  });
25948
26029
 
25949
26030
  export type GetTrackingWindowData = {
@@ -25957,6 +26038,15 @@ export type GetTrackingWindowResponse = (TrackingWindowResponse);
25957
26038
  export type GetTrackingWindowError = (ErrorResponse | {
25958
26039
  error?: string;
25959
26040
  code?: string;
26041
+ } | {
26042
+ error?: string;
26043
+ details?: {
26044
+ currentCount?: number;
26045
+ limit?: number;
26046
+ retryAfterSeconds?: number;
26047
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26048
+ window?: string;
26049
+ };
25960
26050
  });
25961
26051
 
25962
26052
  export type CancelTrackingWindowData = {
@@ -26004,6 +26094,15 @@ export type GetPostSamplesResponse = ({
26004
26094
  export type GetPostSamplesError = (ErrorResponse | {
26005
26095
  error?: string;
26006
26096
  code?: string;
26097
+ } | {
26098
+ error?: string;
26099
+ details?: {
26100
+ currentCount?: number;
26101
+ limit?: number;
26102
+ retryAfterSeconds?: number;
26103
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26104
+ window?: string;
26105
+ };
26007
26106
  });
26008
26107
 
26009
26108
  export type GetPostAuthenticityData = {
@@ -26245,7 +26344,16 @@ export type GetInboxVolumeError = ({
26245
26344
  details?: {
26246
26345
  [key: string]: unknown;
26247
26346
  };
26248
- } | ErrorResponse);
26347
+ } | ErrorResponse | {
26348
+ error?: string;
26349
+ details?: {
26350
+ currentCount?: number;
26351
+ limit?: number;
26352
+ retryAfterSeconds?: number;
26353
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26354
+ window?: string;
26355
+ };
26356
+ });
26249
26357
 
26250
26358
  export type GetInboxHeatmapData = {
26251
26359
  query: {
@@ -26283,7 +26391,16 @@ export type GetInboxHeatmapError = ({
26283
26391
  details?: {
26284
26392
  [key: string]: unknown;
26285
26393
  };
26286
- } | ErrorResponse);
26394
+ } | ErrorResponse | {
26395
+ error?: string;
26396
+ details?: {
26397
+ currentCount?: number;
26398
+ limit?: number;
26399
+ retryAfterSeconds?: number;
26400
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26401
+ window?: string;
26402
+ };
26403
+ });
26287
26404
 
26288
26405
  export type GetInboxSourceBreakdownData = {
26289
26406
  query: {
@@ -26318,7 +26435,16 @@ export type GetInboxSourceBreakdownError = ({
26318
26435
  details?: {
26319
26436
  [key: string]: unknown;
26320
26437
  };
26321
- } | ErrorResponse);
26438
+ } | ErrorResponse | {
26439
+ error?: string;
26440
+ details?: {
26441
+ currentCount?: number;
26442
+ limit?: number;
26443
+ retryAfterSeconds?: number;
26444
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26445
+ window?: string;
26446
+ };
26447
+ });
26322
26448
 
26323
26449
  export type GetInboxResponseTimeData = {
26324
26450
  query: {
@@ -26362,7 +26488,16 @@ export type GetInboxResponseTimeError = ({
26362
26488
  details?: {
26363
26489
  [key: string]: unknown;
26364
26490
  };
26365
- } | ErrorResponse);
26491
+ } | ErrorResponse | {
26492
+ error?: string;
26493
+ details?: {
26494
+ currentCount?: number;
26495
+ limit?: number;
26496
+ retryAfterSeconds?: number;
26497
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26498
+ window?: string;
26499
+ };
26500
+ });
26366
26501
 
26367
26502
  export type GetInboxTopAccountsData = {
26368
26503
  query: {
@@ -26407,7 +26542,16 @@ export type GetInboxTopAccountsError = ({
26407
26542
  details?: {
26408
26543
  [key: string]: unknown;
26409
26544
  };
26410
- } | ErrorResponse);
26545
+ } | ErrorResponse | {
26546
+ error?: string;
26547
+ details?: {
26548
+ currentCount?: number;
26549
+ limit?: number;
26550
+ retryAfterSeconds?: number;
26551
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26552
+ window?: string;
26553
+ };
26554
+ });
26411
26555
 
26412
26556
  export type ListInboxConversationAnalyticsData = {
26413
26557
  query: {
@@ -26468,7 +26612,16 @@ export type ListInboxConversationAnalyticsError = ({
26468
26612
  details?: {
26469
26613
  [key: string]: unknown;
26470
26614
  };
26471
- } | ErrorResponse);
26615
+ } | ErrorResponse | {
26616
+ error?: string;
26617
+ details?: {
26618
+ currentCount?: number;
26619
+ limit?: number;
26620
+ retryAfterSeconds?: number;
26621
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26622
+ window?: string;
26623
+ };
26624
+ });
26472
26625
 
26473
26626
  export type GetInboxConversationAnalyticsData = {
26474
26627
  path: {
@@ -26526,6 +26679,15 @@ export type GetInboxConversationAnalyticsError = ({
26526
26679
  } | ErrorResponse | {
26527
26680
  error?: string;
26528
26681
  code?: string;
26682
+ } | {
26683
+ error?: string;
26684
+ details?: {
26685
+ currentCount?: number;
26686
+ limit?: number;
26687
+ retryAfterSeconds?: number;
26688
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
26689
+ window?: string;
26690
+ };
26529
26691
  });
26530
26692
 
26531
26693
  export type ListAccountGroupsResponse = ({
@@ -51129,7 +51291,16 @@ export type ListAdsResponse = (AdsListResponse | (AdsListResponse & {
51129
51291
  backfillPending: boolean;
51130
51292
  }));
51131
51293
 
51132
- export type ListAdsError = (ErrorResponse | unknown);
51294
+ export type ListAdsError = (ErrorResponse | unknown | {
51295
+ error?: string;
51296
+ details?: {
51297
+ currentCount?: number;
51298
+ limit?: number;
51299
+ retryAfterSeconds?: number;
51300
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
51301
+ window?: string;
51302
+ };
51303
+ });
51133
51304
 
51134
51305
  export type GetAdsSearchTermsData = {
51135
51306
  query: {
@@ -52325,7 +52496,16 @@ export type ListAdCampaignsResponse = ({
52325
52496
  pagination?: Pagination;
52326
52497
  });
52327
52498
 
52328
- export type ListAdCampaignsError = (ErrorResponse | unknown);
52499
+ export type ListAdCampaignsError = (ErrorResponse | unknown | {
52500
+ error?: string;
52501
+ details?: {
52502
+ currentCount?: number;
52503
+ limit?: number;
52504
+ retryAfterSeconds?: number;
52505
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
52506
+ window?: string;
52507
+ };
52508
+ });
52329
52509
 
52330
52510
  export type CreateAdCampaignData = {
52331
52511
  body: {
@@ -54317,7 +54497,16 @@ export type GetAdTreeResponse = (AdTreeResponse | (AdTreeResponse & {
54317
54497
  backfillPending: boolean;
54318
54498
  }));
54319
54499
 
54320
- export type GetAdTreeError = (ErrorResponse | unknown);
54500
+ export type GetAdTreeError = (ErrorResponse | unknown | {
54501
+ error?: string;
54502
+ details?: {
54503
+ currentCount?: number;
54504
+ limit?: number;
54505
+ retryAfterSeconds?: number;
54506
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
54507
+ window?: string;
54508
+ };
54509
+ });
54321
54510
 
54322
54511
  export type ListAdsByPerformanceData = {
54323
54512
  query: {
@@ -54359,7 +54548,16 @@ export type ListAdsByPerformanceResponse = (AdsPerformanceResponse | (AdsPerform
54359
54548
  backfillPending: boolean;
54360
54549
  }));
54361
54550
 
54362
- export type ListAdsByPerformanceError = (ErrorResponse | unknown);
54551
+ export type ListAdsByPerformanceError = (ErrorResponse | unknown | {
54552
+ error?: string;
54553
+ details?: {
54554
+ currentCount?: number;
54555
+ limit?: number;
54556
+ retryAfterSeconds?: number;
54557
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
54558
+ window?: string;
54559
+ };
54560
+ });
54363
54561
 
54364
54562
  export type GetAdsTimelineData = {
54365
54563
  query: {
@@ -54397,7 +54595,16 @@ export type GetAdsTimelineResponse = (AdsTimelineResponse | (AdsTimelineResponse
54397
54595
  backfillPending: boolean;
54398
54596
  }));
54399
54597
 
54400
- export type GetAdsTimelineError = (ErrorResponse | unknown);
54598
+ export type GetAdsTimelineError = (ErrorResponse | unknown | {
54599
+ error?: string;
54600
+ details?: {
54601
+ currentCount?: number;
54602
+ limit?: number;
54603
+ retryAfterSeconds?: number;
54604
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
54605
+ window?: string;
54606
+ };
54607
+ });
54401
54608
 
54402
54609
  export type GetAdData = {
54403
54610
  path: {
@@ -55911,6 +56118,15 @@ export type GetAdAnalyticsResponse = (AdAnalyticsResponse | (AdAnalyticsResponse
55911
56118
 
55912
56119
  export type GetAdAnalyticsError = (ErrorResponse | unknown | {
55913
56120
  error?: string;
56121
+ } | {
56122
+ error?: string;
56123
+ details?: {
56124
+ currentCount?: number;
56125
+ limit?: number;
56126
+ retryAfterSeconds?: number;
56127
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
56128
+ window?: string;
56129
+ };
55914
56130
  });
55915
56131
 
55916
56132
  export type GetAdTrackingTagsData = {
@@ -56269,7 +56485,16 @@ export type ListAdsAlertsResponse = ({
56269
56485
  };
56270
56486
  });
56271
56487
 
56272
- export type ListAdsAlertsError = (ErrorResponse | unknown);
56488
+ export type ListAdsAlertsError = (ErrorResponse | unknown | {
56489
+ error?: string;
56490
+ details?: {
56491
+ currentCount?: number;
56492
+ limit?: number;
56493
+ retryAfterSeconds?: number;
56494
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
56495
+ window?: string;
56496
+ };
56497
+ });
56273
56498
 
56274
56499
  export type DismissAdsAlertData = {
56275
56500
  path: {