@zernio/node 0.2.119 → 0.2.121

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
@@ -13004,7 +13004,7 @@ type ListAdsData = {
13004
13004
  source?: 'zernio' | 'all';
13005
13005
  status?: AdStatus;
13006
13006
  /**
13007
- * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13007
+ * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13008
13008
  */
13009
13009
  toDate?: string;
13010
13010
  };
@@ -13318,7 +13318,7 @@ type GetAdTreeData = {
13318
13318
  */
13319
13319
  status?: AdStatus;
13320
13320
  /**
13321
- * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13321
+ * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13322
13322
  */
13323
13323
  toDate?: string;
13324
13324
  };
@@ -13431,7 +13431,7 @@ type GetAdAnalyticsData = {
13431
13431
  */
13432
13432
  fromDate?: string;
13433
13433
  /**
13434
- * End of date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13434
+ * End of date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13435
13435
  */
13436
13436
  toDate?: string;
13437
13437
  };
package/dist/index.d.ts CHANGED
@@ -13004,7 +13004,7 @@ type ListAdsData = {
13004
13004
  source?: 'zernio' | 'all';
13005
13005
  status?: AdStatus;
13006
13006
  /**
13007
- * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13007
+ * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13008
13008
  */
13009
13009
  toDate?: string;
13010
13010
  };
@@ -13318,7 +13318,7 @@ type GetAdTreeData = {
13318
13318
  */
13319
13319
  status?: AdStatus;
13320
13320
  /**
13321
- * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13321
+ * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13322
13322
  */
13323
13323
  toDate?: string;
13324
13324
  };
@@ -13431,7 +13431,7 @@ type GetAdAnalyticsData = {
13431
13431
  */
13432
13432
  fromDate?: string;
13433
13433
  /**
13434
- * End of date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13434
+ * End of date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13435
13435
  */
13436
13436
  toDate?: string;
13437
13437
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.119",
3
+ "version": "0.2.121",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3228,7 +3228,7 @@ export const listCommentAutomationLogs = <ThrowOnError extends boolean = false>(
3228
3228
  * List ads
3229
3229
  * Returns a paginated list of ads with metrics computed over an optional date range.
3230
3230
  * Use source=all to include externally-synced ads from platform ad managers.
3231
- * If no date range is provided, defaults to the last 90 days. Date range is capped at 90 days max.
3231
+ * If no date range is provided, defaults to the last 90 days. Date range is capped at 730 days max.
3232
3232
  *
3233
3233
  */
3234
3234
  export const listAds = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListAdsData, ThrowOnError>) => {
@@ -3390,7 +3390,7 @@ export const updateAdSetStatus = <ThrowOnError extends boolean = false>(options:
3390
3390
  * Metrics are computed over an optional date range, then rolled up from ad level to ad set
3391
3391
  * and campaign levels. Pagination is at the campaign level. Ads without a campaign or ad set
3392
3392
  * ID are grouped into synthetic "Ungrouped" buckets.
3393
- * If no date range is provided, defaults to the last 90 days. Date range is capped at 90 days max.
3393
+ * If no date range is provided, defaults to the last 90 days. Date range is capped at 730 days max.
3394
3394
  *
3395
3395
  */
3396
3396
  export const getAdTree = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => {
@@ -3446,7 +3446,7 @@ export const deleteAd = <ThrowOnError extends boolean = false>(options: OptionsL
3446
3446
  * Get ad analytics
3447
3447
  * Returns detailed performance analytics for an ad. Includes summary metrics, a daily timeline
3448
3448
  * over the requested date range, and optional demographic breakdowns (Meta and TikTok only).
3449
- * If no date range is provided, defaults to the last 90 days. Date range is capped at 90 days max.
3449
+ * If no date range is provided, defaults to the last 90 days. Date range is capped at 730 days max.
3450
3450
  *
3451
3451
  */
3452
3452
  export const getAdAnalytics = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => {
@@ -13295,7 +13295,7 @@ export type ListAdsData = {
13295
13295
  source?: 'zernio' | 'all';
13296
13296
  status?: AdStatus;
13297
13297
  /**
13298
- * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13298
+ * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13299
13299
  */
13300
13300
  toDate?: string;
13301
13301
  };
@@ -13636,7 +13636,7 @@ export type GetAdTreeData = {
13636
13636
  */
13637
13637
  status?: AdStatus;
13638
13638
  /**
13639
- * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13639
+ * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13640
13640
  */
13641
13641
  toDate?: string;
13642
13642
  };
@@ -13761,7 +13761,7 @@ export type GetAdAnalyticsData = {
13761
13761
  */
13762
13762
  fromDate?: string;
13763
13763
  /**
13764
- * End of date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
13764
+ * End of date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13765
13765
  */
13766
13766
  toDate?: string;
13767
13767
  };