@getlatedev/node 0.2.227 → 0.2.229
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 +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +6 -1
package/dist/index.d.mts
CHANGED
|
@@ -7939,6 +7939,11 @@ type ListAccountsData = {
|
|
|
7939
7939
|
* Filter accounts by profile ID
|
|
7940
7940
|
*/
|
|
7941
7941
|
profileId?: string;
|
|
7942
|
+
/**
|
|
7943
|
+
* Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
|
|
7944
|
+
*
|
|
7945
|
+
*/
|
|
7946
|
+
status?: 'connected' | 'disconnected';
|
|
7942
7947
|
};
|
|
7943
7948
|
};
|
|
7944
7949
|
type ListAccountsResponse = ({
|
|
@@ -18473,7 +18478,7 @@ type CreateStandaloneAdData = {
|
|
|
18473
18478
|
*/
|
|
18474
18479
|
linkUrl?: string;
|
|
18475
18480
|
/**
|
|
18476
|
-
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal.
|
|
18481
|
+
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. `placementAssets` (per-placement creative) IS supported on instant-form lead ads — the form is attached for you. NOT compatible with `dynamicCreative` (the auto-optimizing multi-asset pool), which Meta requires a dedicated Dynamic Creative ad set for; that combination is rejected with INVALID_FIELD_VALUE (use `placementAssets`, a single creative, or run `dynamicCreative` on a `traffic`/`conversions` goal).
|
|
18477
18482
|
*/
|
|
18478
18483
|
leadGenFormId?: string;
|
|
18479
18484
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -7939,6 +7939,11 @@ type ListAccountsData = {
|
|
|
7939
7939
|
* Filter accounts by profile ID
|
|
7940
7940
|
*/
|
|
7941
7941
|
profileId?: string;
|
|
7942
|
+
/**
|
|
7943
|
+
* Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
|
|
7944
|
+
*
|
|
7945
|
+
*/
|
|
7946
|
+
status?: 'connected' | 'disconnected';
|
|
7942
7947
|
};
|
|
7943
7948
|
};
|
|
7944
7949
|
type ListAccountsResponse = ({
|
|
@@ -18473,7 +18478,7 @@ type CreateStandaloneAdData = {
|
|
|
18473
18478
|
*/
|
|
18474
18479
|
linkUrl?: string;
|
|
18475
18480
|
/**
|
|
18476
|
-
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal.
|
|
18481
|
+
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. `placementAssets` (per-placement creative) IS supported on instant-form lead ads — the form is attached for you. NOT compatible with `dynamicCreative` (the auto-optimizing multi-asset pool), which Meta requires a dedicated Dynamic Creative ad set for; that combination is rejected with INVALID_FIELD_VALUE (use `placementAssets`, a single creative, or run `dynamicCreative` on a `traffic`/`conversions` goal).
|
|
18477
18482
|
*/
|
|
18478
18483
|
leadGenFormId?: string;
|
|
18479
18484
|
/**
|
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.229",
|
|
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.229",
|
|
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
|
@@ -7589,6 +7589,11 @@ export type ListAccountsData = {
|
|
|
7589
7589
|
* Filter accounts by profile ID
|
|
7590
7590
|
*/
|
|
7591
7591
|
profileId?: string;
|
|
7592
|
+
/**
|
|
7593
|
+
* Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
|
|
7594
|
+
*
|
|
7595
|
+
*/
|
|
7596
|
+
status?: 'connected' | 'disconnected';
|
|
7592
7597
|
};
|
|
7593
7598
|
};
|
|
7594
7599
|
|
|
@@ -18962,7 +18967,7 @@ export type CreateStandaloneAdData = {
|
|
|
18962
18967
|
*/
|
|
18963
18968
|
linkUrl?: string;
|
|
18964
18969
|
/**
|
|
18965
|
-
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization are derived automatically from the goal.
|
|
18970
|
+
* Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. `placementAssets` (per-placement creative) IS supported on instant-form lead ads — the form is attached for you. NOT compatible with `dynamicCreative` (the auto-optimizing multi-asset pool), which Meta requires a dedicated Dynamic Creative ad set for; that combination is rejected with INVALID_FIELD_VALUE (use `placementAssets`, a single creative, or run `dynamicCreative` on a `traffic`/`conversions` goal).
|
|
18966
18971
|
*/
|
|
18967
18972
|
leadGenFormId?: string;
|
|
18968
18973
|
/**
|