@getlatedev/node 0.2.1816 → 0.2.1818
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 +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +12 -0
package/dist/index.d.mts
CHANGED
|
@@ -55169,6 +55169,9 @@ type ListInboxCommentsData = {
|
|
|
55169
55169
|
*
|
|
55170
55170
|
*/
|
|
55171
55171
|
accountId?: string;
|
|
55172
|
+
/**
|
|
55173
|
+
* Pass back `pagination.nextCursor` of the previous page unchanged, with the same `sortBy` and `sortOrder`.
|
|
55174
|
+
*/
|
|
55172
55175
|
cursor?: string;
|
|
55173
55176
|
limit?: number;
|
|
55174
55177
|
/**
|
|
@@ -69869,6 +69872,15 @@ type UpdateAdSetData = {
|
|
|
69869
69872
|
platformSpecificData?: {
|
|
69870
69873
|
/**
|
|
69871
69874
|
* Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
|
|
69875
|
+
*
|
|
69876
|
+
* Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
|
|
69877
|
+
*
|
|
69878
|
+
* - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
|
|
69879
|
+
* - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
|
|
69880
|
+
* - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
|
|
69881
|
+
*
|
|
69882
|
+
* `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
|
|
69883
|
+
*
|
|
69872
69884
|
*/
|
|
69873
69885
|
optimizationGoal?: string;
|
|
69874
69886
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -55169,6 +55169,9 @@ type ListInboxCommentsData = {
|
|
|
55169
55169
|
*
|
|
55170
55170
|
*/
|
|
55171
55171
|
accountId?: string;
|
|
55172
|
+
/**
|
|
55173
|
+
* Pass back `pagination.nextCursor` of the previous page unchanged, with the same `sortBy` and `sortOrder`.
|
|
55174
|
+
*/
|
|
55172
55175
|
cursor?: string;
|
|
55173
55176
|
limit?: number;
|
|
55174
55177
|
/**
|
|
@@ -69869,6 +69872,15 @@ type UpdateAdSetData = {
|
|
|
69869
69872
|
platformSpecificData?: {
|
|
69870
69873
|
/**
|
|
69871
69874
|
* Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
|
|
69875
|
+
*
|
|
69876
|
+
* Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
|
|
69877
|
+
*
|
|
69878
|
+
* - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
|
|
69879
|
+
* - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
|
|
69880
|
+
* - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
|
|
69881
|
+
*
|
|
69882
|
+
* `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
|
|
69883
|
+
*
|
|
69872
69884
|
*/
|
|
69873
69885
|
optimizationGoal?: string;
|
|
69874
69886
|
/**
|
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.1818",
|
|
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.1818",
|
|
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
|
@@ -9340,7 +9340,7 @@ export const getMessageAttachment = <ThrowOnError extends boolean = false>(optio
|
|
|
9340
9340
|
*
|
|
9341
9341
|
* Pagination walks each account's platform listing. Following `nextCursor` reaches past the first page on Facebook, Instagram, Threads, LinkedIn and YouTube, the platforms that support a server-side date window. On the others the listing stops at its first page.
|
|
9342
9342
|
*
|
|
9343
|
-
*
|
|
9343
|
+
* With `sortOrder=asc` or `sortBy=comments`, the pages cover the newest posts of each account that the first page is drawn from, in the requested order; following `nextCursor` does not reach older posts.
|
|
9344
9344
|
*
|
|
9345
9345
|
* `minComments` is applied to each page after pagination. A page can hold fewer than `limit` posts, even none, while `hasMore` is true; keep following `nextCursor`.
|
|
9346
9346
|
*
|
|
@@ -55401,6 +55401,9 @@ export type ListInboxCommentsData = {
|
|
|
55401
55401
|
*
|
|
55402
55402
|
*/
|
|
55403
55403
|
accountId?: string;
|
|
55404
|
+
/**
|
|
55405
|
+
* Pass back `pagination.nextCursor` of the previous page unchanged, with the same `sortBy` and `sortOrder`.
|
|
55406
|
+
*/
|
|
55404
55407
|
cursor?: string;
|
|
55405
55408
|
limit?: number;
|
|
55406
55409
|
/**
|
|
@@ -71315,6 +71318,15 @@ export type UpdateAdSetData = {
|
|
|
71315
71318
|
platformSpecificData?: {
|
|
71316
71319
|
/**
|
|
71317
71320
|
* Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
|
|
71321
|
+
*
|
|
71322
|
+
* Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
|
|
71323
|
+
*
|
|
71324
|
+
* - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
|
|
71325
|
+
* - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
|
|
71326
|
+
* - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
|
|
71327
|
+
*
|
|
71328
|
+
* `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
|
|
71329
|
+
*
|
|
71318
71330
|
*/
|
|
71319
71331
|
optimizationGoal?: string;
|
|
71320
71332
|
/**
|