@getlatedev/node 0.2.1753 → 0.2.1754

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
@@ -5628,6 +5628,10 @@ type AdsTimelineResponse = {
5628
5628
  * An account whose ad accounts bill in different currencies gets one row per currency for that day, never a sum across currencies.
5629
5629
  */
5630
5630
  currency?: (string) | null;
5631
+ /**
5632
+ * Only with `breakdown=adAccount`. The platform ad account of this row (e.g. Meta `act_…`); null for rows ingested before 2026-05-13. Added 2026-11-23.
5633
+ */
5634
+ adAccountId?: (string) | null;
5631
5635
  /**
5632
5636
  * Native currency units (matches /ads/tree convention), in `currency`.
5633
5637
  */
@@ -69276,6 +69280,10 @@ type GetAdsTimelineData = {
69276
69280
  * Optional platform-native ad account ID (e.g. Meta `act_…`, TikTok advertiser ID). Use when the connection wraps multiple platform ad accounts and the chart should show one only. Note: rows ingested before 2026-05-13 don't carry this column; the recurring 7-day re-sync repopulates them naturally.
69277
69281
  */
69278
69282
  adAccountId?: string;
69283
+ /**
69284
+ * Set to `adAccount` to keep one row per day and platform ad account, each carrying its `adAccountId`, instead of one row per day and currency. Two connections that reach the same ad account both return it: add their timelines per `adAccountId` to count it once.
69285
+ */
69286
+ breakdown?: 'adAccount';
69279
69287
  /**
69280
69288
  * Set to `previous` to also return `previousRows` for the period of the same length that ends the day before `fromDate`, with that period as `previousRange`. Needs a `fromDate` (sent or defaulted); `toDate` alone answers 400.
69281
69289
  */
package/dist/index.d.ts CHANGED
@@ -5628,6 +5628,10 @@ type AdsTimelineResponse = {
5628
5628
  * An account whose ad accounts bill in different currencies gets one row per currency for that day, never a sum across currencies.
5629
5629
  */
5630
5630
  currency?: (string) | null;
5631
+ /**
5632
+ * Only with `breakdown=adAccount`. The platform ad account of this row (e.g. Meta `act_…`); null for rows ingested before 2026-05-13. Added 2026-11-23.
5633
+ */
5634
+ adAccountId?: (string) | null;
5631
5635
  /**
5632
5636
  * Native currency units (matches /ads/tree convention), in `currency`.
5633
5637
  */
@@ -69276,6 +69280,10 @@ type GetAdsTimelineData = {
69276
69280
  * Optional platform-native ad account ID (e.g. Meta `act_…`, TikTok advertiser ID). Use when the connection wraps multiple platform ad accounts and the chart should show one only. Note: rows ingested before 2026-05-13 don't carry this column; the recurring 7-day re-sync repopulates them naturally.
69277
69281
  */
69278
69282
  adAccountId?: string;
69283
+ /**
69284
+ * Set to `adAccount` to keep one row per day and platform ad account, each carrying its `adAccountId`, instead of one row per day and currency. Two connections that reach the same ad account both return it: add their timelines per `adAccountId` to count it once.
69285
+ */
69286
+ breakdown?: 'adAccount';
69279
69287
  /**
69280
69288
  * Set to `previous` to also return `previousRows` for the period of the same length that ends the day before `fromDate`, with that period as `previousRange`. Needs a `fromDate` (sent or defaulted); `toDate` alone answers 400.
69281
69289
  */
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.1753",
39
+ version: "0.2.1754",
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.1753",
8
+ version: "0.2.1754",
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.1753",
3
+ "version": "0.2.1754",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3099,6 +3099,10 @@ export type AdsTimelineResponse = {
3099
3099
  * An account whose ad accounts bill in different currencies gets one row per currency for that day, never a sum across currencies.
3100
3100
  */
3101
3101
  currency?: (string) | null;
3102
+ /**
3103
+ * Only with `breakdown=adAccount`. The platform ad account of this row (e.g. Meta `act_…`); null for rows ingested before 2026-05-13. Added 2026-11-23.
3104
+ */
3105
+ adAccountId?: (string) | null;
3102
3106
  /**
3103
3107
  * Native currency units (matches /ads/tree convention), in `currency`.
3104
3108
  */
@@ -70693,6 +70697,10 @@ export type GetAdsTimelineData = {
70693
70697
  * Optional platform-native ad account ID (e.g. Meta `act_…`, TikTok advertiser ID). Use when the connection wraps multiple platform ad accounts and the chart should show one only. Note: rows ingested before 2026-05-13 don't carry this column; the recurring 7-day re-sync repopulates them naturally.
70694
70698
  */
70695
70699
  adAccountId?: string;
70700
+ /**
70701
+ * Set to `adAccount` to keep one row per day and platform ad account, each carrying its `adAccountId`, instead of one row per day and currency. Two connections that reach the same ad account both return it: add their timelines per `adAccountId` to count it once.
70702
+ */
70703
+ breakdown?: 'adAccount';
70696
70704
  /**
70697
70705
  * Set to `previous` to also return `previousRows` for the period of the same length that ends the day before `fromDate`, with that period as `previousRange`. Needs a `fromDate` (sent or defaulted); `toDate` alone answers 400.
70698
70706
  */