@getlatedev/node 0.2.1292 → 0.2.1293
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 +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -1
- package/src/generated/types.gen.ts +5 -1
package/dist/index.d.mts
CHANGED
|
@@ -3516,7 +3516,11 @@ type AdsTimelineResponse = {
|
|
|
3516
3516
|
rows?: Array<{
|
|
3517
3517
|
date?: string;
|
|
3518
3518
|
/**
|
|
3519
|
-
*
|
|
3519
|
+
* ISO 4217 currency of every money field in this row (spend, cpc, cpm, costPerConversion, purchaseValue, actionValues). An account whose ad accounts bill in different currencies gets one row per currency for that day, never a sum across currencies. Null when the currency of the ad accounts in this row is unknown. Added 2026-10-23.
|
|
3520
|
+
*/
|
|
3521
|
+
currency?: (string) | null;
|
|
3522
|
+
/**
|
|
3523
|
+
* Native currency units (matches /ads/tree convention), in `currency`.
|
|
3520
3524
|
*/
|
|
3521
3525
|
spend?: number;
|
|
3522
3526
|
impressions?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -3516,7 +3516,11 @@ type AdsTimelineResponse = {
|
|
|
3516
3516
|
rows?: Array<{
|
|
3517
3517
|
date?: string;
|
|
3518
3518
|
/**
|
|
3519
|
-
*
|
|
3519
|
+
* ISO 4217 currency of every money field in this row (spend, cpc, cpm, costPerConversion, purchaseValue, actionValues). An account whose ad accounts bill in different currencies gets one row per currency for that day, never a sum across currencies. Null when the currency of the ad accounts in this row is unknown. Added 2026-10-23.
|
|
3520
|
+
*/
|
|
3521
|
+
currency?: (string) | null;
|
|
3522
|
+
/**
|
|
3523
|
+
* Native currency units (matches /ads/tree convention), in `currency`.
|
|
3520
3524
|
*/
|
|
3521
3525
|
spend?: number;
|
|
3522
3526
|
impressions?: number;
|
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.
|
|
39
|
+
version: "0.2.1293",
|
|
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.
|
|
8
|
+
version: "0.2.1293",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -10980,7 +10980,8 @@ export const getAdTree = <ThrowOnError extends boolean = false>(options?: Option
|
|
|
10980
10980
|
* Returns an ads account's spend, results and other metrics day by day, ready for a daily performance chart.
|
|
10981
10981
|
*
|
|
10982
10982
|
* Returns daily aggregate metrics across all ads in a SocialAccount as a single
|
|
10983
|
-
* time series, one row per calendar day in the requested range
|
|
10983
|
+
* time series, one row per calendar day and currency in the requested range (one row
|
|
10984
|
+
* per day unless the account's ad accounts bill in different currencies). Use this for
|
|
10984
10985
|
* dashboards that draw a daily-spend or daily-conversions chart, instead of
|
|
10985
10986
|
* calling `/v1/ads/tree` once per day.
|
|
10986
10987
|
*
|
|
@@ -1500,7 +1500,11 @@ export type AdsTimelineResponse = {
|
|
|
1500
1500
|
rows?: Array<{
|
|
1501
1501
|
date?: string;
|
|
1502
1502
|
/**
|
|
1503
|
-
*
|
|
1503
|
+
* ISO 4217 currency of every money field in this row (spend, cpc, cpm, costPerConversion, purchaseValue, actionValues). An account whose ad accounts bill in different currencies gets one row per currency for that day, never a sum across currencies. Null when the currency of the ad accounts in this row is unknown. Added 2026-10-23.
|
|
1504
|
+
*/
|
|
1505
|
+
currency?: (string) | null;
|
|
1506
|
+
/**
|
|
1507
|
+
* Native currency units (matches /ads/tree convention), in `currency`.
|
|
1504
1508
|
*/
|
|
1505
1509
|
spend?: number;
|
|
1506
1510
|
impressions?: number;
|