@getlatedev/node 0.2.318 → 0.2.320

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
@@ -698,12 +698,12 @@ declare class Zernio {
698
698
  * ads API
699
699
  */
700
700
  ads: {
701
- listAds: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListAdsResponse, unknown, ThrowOnError>;
701
+ listAds: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
702
702
  getAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdResponse, GetAdError, ThrowOnError>;
703
703
  updateAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdResponse, unknown, ThrowOnError>;
704
704
  deleteAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAdResponse, DeleteAdError, ThrowOnError>;
705
- getCampaignAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetCampaignAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetCampaignAnalyticsResponse, unknown, ThrowOnError>;
706
- getAdAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdAnalyticsResponse, unknown, ThrowOnError>;
705
+ getCampaignAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetCampaignAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
706
+ getAdAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
707
707
  getAdTrackingTags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdTrackingTagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdTrackingTagsResponse, unknown, ThrowOnError>;
708
708
  updateAdTrackingTags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdTrackingTagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
709
709
  getAdComments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdCommentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdCommentsResponse, unknown, ThrowOnError>;
@@ -749,8 +749,8 @@ declare class Zernio {
749
749
  duplicateAdCampaign: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DuplicateAdCampaignData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DuplicateAdCampaignResponse, unknown, ThrowOnError>;
750
750
  updateAdSet: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdSetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdSetResponse, unknown, ThrowOnError>;
751
751
  updateAdSetStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdSetStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdSetStatusResponse, unknown, ThrowOnError>;
752
- getAdTree: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdTreeResponse, unknown, ThrowOnError>;
753
- getAdsTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdsTimelineResponse, unknown, ThrowOnError>;
752
+ getAdTree: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
753
+ getAdsTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
754
754
  };
755
755
  /**
756
756
  * adaudiences API
@@ -8499,6 +8499,12 @@ type CreatePostData = {
8499
8499
  type CreatePostResponse = (PostCreateResponse);
8500
8500
  type CreatePostError = ({
8501
8501
  error?: string;
8502
+ } | {
8503
+ error?: string;
8504
+ /**
8505
+ * Stable machine-readable cause. Absent for ownership failures.
8506
+ */
8507
+ code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
8502
8508
  } | {
8503
8509
  error?: string;
8504
8510
  details?: {
@@ -21034,8 +21040,12 @@ type ListAdsData = {
21034
21040
  };
21035
21041
  type ListAdsResponse = ({
21036
21042
  ads?: Array<Ad>;
21043
+ /**
21044
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21045
+ */
21046
+ backfillPending?: boolean;
21037
21047
  pagination?: Pagination;
21038
- });
21048
+ } | unknown);
21039
21049
  type ListAdsError = ({
21040
21050
  error?: string;
21041
21051
  } | unknown);
@@ -21380,8 +21390,12 @@ type GetAdTreeData = {
21380
21390
  };
21381
21391
  type GetAdTreeResponse = ({
21382
21392
  campaigns?: Array<AdTreeCampaign>;
21393
+ /**
21394
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21395
+ */
21396
+ backfillPending?: boolean;
21383
21397
  pagination?: Pagination;
21384
- });
21398
+ } | unknown);
21385
21399
  type GetAdTreeError = ({
21386
21400
  error?: string;
21387
21401
  } | unknown);
@@ -21458,7 +21472,11 @@ type GetAdsTimelineResponse = ({
21458
21472
  */
21459
21473
  roas?: number;
21460
21474
  }>;
21461
- });
21475
+ /**
21476
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21477
+ */
21478
+ backfillPending?: boolean;
21479
+ } | unknown);
21462
21480
  type GetAdsTimelineError = ({
21463
21481
  error?: string;
21464
21482
  } | unknown);
@@ -21596,6 +21614,10 @@ type GetCampaignAnalyticsResponse = ({
21596
21614
  */
21597
21615
  currency?: (string) | null;
21598
21616
  };
21617
+ /**
21618
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21619
+ */
21620
+ backfillPending?: boolean;
21599
21621
  analytics?: {
21600
21622
  summary?: AdMetrics;
21601
21623
  daily?: Array<(AdMetrics & {
@@ -21607,7 +21629,7 @@ type GetCampaignAnalyticsResponse = ({
21607
21629
  }>;
21608
21630
  };
21609
21631
  };
21610
- });
21632
+ } | unknown);
21611
21633
  type GetCampaignAnalyticsError = ({
21612
21634
  error?: string;
21613
21635
  } | unknown);
@@ -21642,6 +21664,10 @@ type GetAdAnalyticsResponse = ({
21642
21664
  */
21643
21665
  currency?: (string) | null;
21644
21666
  };
21667
+ /**
21668
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21669
+ */
21670
+ backfillPending?: boolean;
21645
21671
  analytics?: {
21646
21672
  summary?: AdMetrics;
21647
21673
  daily?: Array<(AdMetrics & {
@@ -21653,7 +21679,7 @@ type GetAdAnalyticsResponse = ({
21653
21679
  }>;
21654
21680
  };
21655
21681
  };
21656
- });
21682
+ } | unknown);
21657
21683
  type GetAdAnalyticsError = ({
21658
21684
  error?: string;
21659
21685
  } | unknown);
package/dist/index.d.ts CHANGED
@@ -698,12 +698,12 @@ declare class Zernio {
698
698
  * ads API
699
699
  */
700
700
  ads: {
701
- listAds: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListAdsResponse, unknown, ThrowOnError>;
701
+ listAds: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
702
702
  getAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdResponse, GetAdError, ThrowOnError>;
703
703
  updateAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdResponse, unknown, ThrowOnError>;
704
704
  deleteAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAdResponse, DeleteAdError, ThrowOnError>;
705
- getCampaignAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetCampaignAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetCampaignAnalyticsResponse, unknown, ThrowOnError>;
706
- getAdAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdAnalyticsResponse, unknown, ThrowOnError>;
705
+ getCampaignAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetCampaignAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
706
+ getAdAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
707
707
  getAdTrackingTags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdTrackingTagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdTrackingTagsResponse, unknown, ThrowOnError>;
708
708
  updateAdTrackingTags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdTrackingTagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
709
709
  getAdComments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdCommentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdCommentsResponse, unknown, ThrowOnError>;
@@ -749,8 +749,8 @@ declare class Zernio {
749
749
  duplicateAdCampaign: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DuplicateAdCampaignData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DuplicateAdCampaignResponse, unknown, ThrowOnError>;
750
750
  updateAdSet: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdSetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdSetResponse, unknown, ThrowOnError>;
751
751
  updateAdSetStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdSetStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdSetStatusResponse, unknown, ThrowOnError>;
752
- getAdTree: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdTreeResponse, unknown, ThrowOnError>;
753
- getAdsTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdsTimelineResponse, unknown, ThrowOnError>;
752
+ getAdTree: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
753
+ getAdsTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
754
754
  };
755
755
  /**
756
756
  * adaudiences API
@@ -8499,6 +8499,12 @@ type CreatePostData = {
8499
8499
  type CreatePostResponse = (PostCreateResponse);
8500
8500
  type CreatePostError = ({
8501
8501
  error?: string;
8502
+ } | {
8503
+ error?: string;
8504
+ /**
8505
+ * Stable machine-readable cause. Absent for ownership failures.
8506
+ */
8507
+ code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
8502
8508
  } | {
8503
8509
  error?: string;
8504
8510
  details?: {
@@ -21034,8 +21040,12 @@ type ListAdsData = {
21034
21040
  };
21035
21041
  type ListAdsResponse = ({
21036
21042
  ads?: Array<Ad>;
21043
+ /**
21044
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21045
+ */
21046
+ backfillPending?: boolean;
21037
21047
  pagination?: Pagination;
21038
- });
21048
+ } | unknown);
21039
21049
  type ListAdsError = ({
21040
21050
  error?: string;
21041
21051
  } | unknown);
@@ -21380,8 +21390,12 @@ type GetAdTreeData = {
21380
21390
  };
21381
21391
  type GetAdTreeResponse = ({
21382
21392
  campaigns?: Array<AdTreeCampaign>;
21393
+ /**
21394
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21395
+ */
21396
+ backfillPending?: boolean;
21383
21397
  pagination?: Pagination;
21384
- });
21398
+ } | unknown);
21385
21399
  type GetAdTreeError = ({
21386
21400
  error?: string;
21387
21401
  } | unknown);
@@ -21458,7 +21472,11 @@ type GetAdsTimelineResponse = ({
21458
21472
  */
21459
21473
  roas?: number;
21460
21474
  }>;
21461
- });
21475
+ /**
21476
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21477
+ */
21478
+ backfillPending?: boolean;
21479
+ } | unknown);
21462
21480
  type GetAdsTimelineError = ({
21463
21481
  error?: string;
21464
21482
  } | unknown);
@@ -21596,6 +21614,10 @@ type GetCampaignAnalyticsResponse = ({
21596
21614
  */
21597
21615
  currency?: (string) | null;
21598
21616
  };
21617
+ /**
21618
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21619
+ */
21620
+ backfillPending?: boolean;
21599
21621
  analytics?: {
21600
21622
  summary?: AdMetrics;
21601
21623
  daily?: Array<(AdMetrics & {
@@ -21607,7 +21629,7 @@ type GetCampaignAnalyticsResponse = ({
21607
21629
  }>;
21608
21630
  };
21609
21631
  };
21610
- });
21632
+ } | unknown);
21611
21633
  type GetCampaignAnalyticsError = ({
21612
21634
  error?: string;
21613
21635
  } | unknown);
@@ -21642,6 +21664,10 @@ type GetAdAnalyticsResponse = ({
21642
21664
  */
21643
21665
  currency?: (string) | null;
21644
21666
  };
21667
+ /**
21668
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21669
+ */
21670
+ backfillPending?: boolean;
21645
21671
  analytics?: {
21646
21672
  summary?: AdMetrics;
21647
21673
  daily?: Array<(AdMetrics & {
@@ -21653,7 +21679,7 @@ type GetAdAnalyticsResponse = ({
21653
21679
  }>;
21654
21680
  };
21655
21681
  };
21656
- });
21682
+ } | unknown);
21657
21683
  type GetAdAnalyticsError = ({
21658
21684
  error?: string;
21659
21685
  } | unknown);
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.318",
39
+ version: "0.2.320",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.318",
8
+ version: "0.2.320",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.318",
3
+ "version": "0.2.320",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5936,8 +5936,9 @@ export const getAdTree = <ThrowOnError extends boolean = false>(options?: Option
5936
5936
  * (and vice-versa) — same convention as `/v1/ads/tree` and `/v1/ads`.
5937
5937
  *
5938
5938
  * Date range defaults to the last 90 days. Capped at 730 days. Ranges older
5939
- * than the 90-day cache window trigger an on-demand backfill from the platform
5940
- * before returning.
5939
+ * than the ingested history return a `202` immediately with the covered part
5940
+ * and `backfillPending: true` while the rest is backfilled in the background;
5941
+ * repeat the request shortly until it returns 200 with full data.
5941
5942
  *
5942
5943
  */
5943
5944
  export const getAdsTimeline = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => {
@@ -8029,6 +8029,12 @@ export type CreatePostResponse = (PostCreateResponse);
8029
8029
 
8030
8030
  export type CreatePostError = ({
8031
8031
  error?: string;
8032
+ } | {
8033
+ error?: string;
8034
+ /**
8035
+ * Stable machine-readable cause. Absent for ownership failures.
8036
+ */
8037
+ code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
8032
8038
  } | {
8033
8039
  error?: string;
8034
8040
  details?: {
@@ -21577,8 +21583,12 @@ export type ListAdsData = {
21577
21583
 
21578
21584
  export type ListAdsResponse = ({
21579
21585
  ads?: Array<Ad>;
21586
+ /**
21587
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21588
+ */
21589
+ backfillPending?: boolean;
21580
21590
  pagination?: Pagination;
21581
- });
21591
+ } | unknown);
21582
21592
 
21583
21593
  export type ListAdsError = ({
21584
21594
  error?: string;
@@ -21950,8 +21960,12 @@ export type GetAdTreeData = {
21950
21960
 
21951
21961
  export type GetAdTreeResponse = ({
21952
21962
  campaigns?: Array<AdTreeCampaign>;
21963
+ /**
21964
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
21965
+ */
21966
+ backfillPending?: boolean;
21953
21967
  pagination?: Pagination;
21954
- });
21968
+ } | unknown);
21955
21969
 
21956
21970
  export type GetAdTreeError = ({
21957
21971
  error?: string;
@@ -22031,7 +22045,11 @@ export type GetAdsTimelineResponse = ({
22031
22045
  */
22032
22046
  roas?: number;
22033
22047
  }>;
22034
- });
22048
+ /**
22049
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
22050
+ */
22051
+ backfillPending?: boolean;
22052
+ } | unknown);
22035
22053
 
22036
22054
  export type GetAdsTimelineError = ({
22037
22055
  error?: string;
@@ -22181,6 +22199,10 @@ export type GetCampaignAnalyticsResponse = ({
22181
22199
  */
22182
22200
  currency?: (string) | null;
22183
22201
  };
22202
+ /**
22203
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
22204
+ */
22205
+ backfillPending?: boolean;
22184
22206
  analytics?: {
22185
22207
  summary?: AdMetrics;
22186
22208
  daily?: Array<(AdMetrics & {
@@ -22192,7 +22214,7 @@ export type GetCampaignAnalyticsResponse = ({
22192
22214
  }>;
22193
22215
  };
22194
22216
  };
22195
- });
22217
+ } | unknown);
22196
22218
 
22197
22219
  export type GetCampaignAnalyticsError = ({
22198
22220
  error?: string;
@@ -22230,6 +22252,10 @@ export type GetAdAnalyticsResponse = ({
22230
22252
  */
22231
22253
  currency?: (string) | null;
22232
22254
  };
22255
+ /**
22256
+ * Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
22257
+ */
22258
+ backfillPending?: boolean;
22233
22259
  analytics?: {
22234
22260
  summary?: AdMetrics;
22235
22261
  daily?: Array<(AdMetrics & {
@@ -22241,7 +22267,7 @@ export type GetAdAnalyticsResponse = ({
22241
22267
  }>;
22242
22268
  };
22243
22269
  };
22244
- });
22270
+ } | unknown);
22245
22271
 
22246
22272
  export type GetAdAnalyticsError = ({
22247
22273
  error?: string;