@getlatedev/node 0.2.1753 → 0.2.1755
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 +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +17 -2
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
|
*/
|
|
@@ -54788,11 +54792,18 @@ type ReplyToInboxPostData = {
|
|
|
54788
54792
|
*/
|
|
54789
54793
|
message: string;
|
|
54790
54794
|
/**
|
|
54791
|
-
* (Facebook, Bluesky and
|
|
54795
|
+
* (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
|
|
54792
54796
|
*/
|
|
54793
54797
|
attachmentUrl?: string;
|
|
54794
54798
|
/**
|
|
54795
|
-
* (Facebook
|
|
54799
|
+
* (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
|
|
54800
|
+
*
|
|
54801
|
+
* - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
|
|
54802
|
+
* - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
|
|
54803
|
+
* - `gif`: forces an animated GIF.
|
|
54804
|
+
* - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
|
|
54805
|
+
* - Facebook gets a GIPHY link as its direct GIF.
|
|
54806
|
+
*
|
|
54796
54807
|
*/
|
|
54797
54808
|
attachmentType?: 'image' | 'gif';
|
|
54798
54809
|
/**
|
|
@@ -69276,6 +69287,10 @@ type GetAdsTimelineData = {
|
|
|
69276
69287
|
* 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
69288
|
*/
|
|
69278
69289
|
adAccountId?: string;
|
|
69290
|
+
/**
|
|
69291
|
+
* 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.
|
|
69292
|
+
*/
|
|
69293
|
+
breakdown?: 'adAccount';
|
|
69279
69294
|
/**
|
|
69280
69295
|
* 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
69296
|
*/
|
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
|
*/
|
|
@@ -54788,11 +54792,18 @@ type ReplyToInboxPostData = {
|
|
|
54788
54792
|
*/
|
|
54789
54793
|
message: string;
|
|
54790
54794
|
/**
|
|
54791
|
-
* (Facebook, Bluesky and
|
|
54795
|
+
* (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
|
|
54792
54796
|
*/
|
|
54793
54797
|
attachmentUrl?: string;
|
|
54794
54798
|
/**
|
|
54795
|
-
* (Facebook
|
|
54799
|
+
* (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
|
|
54800
|
+
*
|
|
54801
|
+
* - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
|
|
54802
|
+
* - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
|
|
54803
|
+
* - `gif`: forces an animated GIF.
|
|
54804
|
+
* - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
|
|
54805
|
+
* - Facebook gets a GIPHY link as its direct GIF.
|
|
54806
|
+
*
|
|
54796
54807
|
*/
|
|
54797
54808
|
attachmentType?: 'image' | 'gif';
|
|
54798
54809
|
/**
|
|
@@ -69276,6 +69287,10 @@ type GetAdsTimelineData = {
|
|
|
69276
69287
|
* 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
69288
|
*/
|
|
69278
69289
|
adAccountId?: string;
|
|
69290
|
+
/**
|
|
69291
|
+
* 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.
|
|
69292
|
+
*/
|
|
69293
|
+
breakdown?: 'adAccount';
|
|
69279
69294
|
/**
|
|
69280
69295
|
* 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
69296
|
*/
|
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.1755",
|
|
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.1755",
|
|
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
|
@@ -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
|
*/
|
|
@@ -55003,11 +55007,18 @@ export type ReplyToInboxPostData = {
|
|
|
55003
55007
|
*/
|
|
55004
55008
|
message: string;
|
|
55005
55009
|
/**
|
|
55006
|
-
* (Facebook, Bluesky and
|
|
55010
|
+
* (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
|
|
55007
55011
|
*/
|
|
55008
55012
|
attachmentUrl?: string;
|
|
55009
55013
|
/**
|
|
55010
|
-
* (Facebook
|
|
55014
|
+
* (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
|
|
55015
|
+
*
|
|
55016
|
+
* - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
|
|
55017
|
+
* - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
|
|
55018
|
+
* - `gif`: forces an animated GIF.
|
|
55019
|
+
* - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
|
|
55020
|
+
* - Facebook gets a GIPHY link as its direct GIF.
|
|
55021
|
+
*
|
|
55011
55022
|
*/
|
|
55012
55023
|
attachmentType?: 'image' | 'gif';
|
|
55013
55024
|
/**
|
|
@@ -70693,6 +70704,10 @@ export type GetAdsTimelineData = {
|
|
|
70693
70704
|
* 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
70705
|
*/
|
|
70695
70706
|
adAccountId?: string;
|
|
70707
|
+
/**
|
|
70708
|
+
* 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.
|
|
70709
|
+
*/
|
|
70710
|
+
breakdown?: 'adAccount';
|
|
70696
70711
|
/**
|
|
70697
70712
|
* 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
70713
|
*/
|