@getlatedev/node 0.2.574 → 0.2.575
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 +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +11 -2
package/dist/index.d.mts
CHANGED
|
@@ -3348,8 +3348,11 @@ type CtwaAdRequestBody = {
|
|
|
3348
3348
|
budgetType?: 'daily' | 'lifetime';
|
|
3349
3349
|
/**
|
|
3350
3350
|
* ISO 4217 currency code matching the ad account's currency
|
|
3351
|
-
* (e.g. `USD`). Optional
|
|
3352
|
-
* when omitted.
|
|
3351
|
+
* (e.g. `USD`). Optional: Zernio resolves it from the ad account
|
|
3352
|
+
* when omitted. The value selects the minor-unit exponent Zernio
|
|
3353
|
+
* converts budget/bid amounts by before calling Meta (most
|
|
3354
|
+
* currencies are cents; zero-decimal currencies like JPY/KRW are
|
|
3355
|
+
* sent as-is).
|
|
3353
3356
|
*
|
|
3354
3357
|
*/
|
|
3355
3358
|
currency?: string;
|
|
@@ -29558,6 +29561,9 @@ type BoostPostData = {
|
|
|
29558
29561
|
* Meta only. Ad-set destination_type — where the click LANDS, as opposed to instagramAccountId which is who the ad runs as. Lead ads force ON_AD and ignore this.
|
|
29559
29562
|
*/
|
|
29560
29563
|
destinationType?: 'INSTAGRAM_PROFILE' | 'WEBSITE' | 'ON_AD' | 'MESSENGER' | 'WHATSAPP';
|
|
29564
|
+
/**
|
|
29565
|
+
* ISO 4217 currency code matching the ad account's currency. Meta only. Optional: Zernio resolves it from the ad account when omitted. The value selects the minor-unit exponent Zernio converts budget/bid amounts by before calling Meta (most currencies are cents; zero-decimal currencies like JPY/KRW are sent as-is).
|
|
29566
|
+
*/
|
|
29561
29567
|
currency?: string;
|
|
29562
29568
|
schedule?: {
|
|
29563
29569
|
startDate?: string;
|
|
@@ -29929,6 +29935,9 @@ type CreateStandaloneAdData = {
|
|
|
29929
29935
|
*
|
|
29930
29936
|
*/
|
|
29931
29937
|
budgetLevel?: 'adset' | 'campaign';
|
|
29938
|
+
/**
|
|
29939
|
+
* ISO 4217 currency code matching the ad account's currency (e.g. `USD`). Meta only. Optional: Zernio resolves it from the ad account when omitted. The value selects the minor-unit exponent Zernio converts budget/bid amounts by before calling Meta (most currencies are cents; zero-decimal currencies like JPY/KRW are sent as-is).
|
|
29940
|
+
*/
|
|
29932
29941
|
currency?: string;
|
|
29933
29942
|
/**
|
|
29934
29943
|
* Required for Meta, Google, Pinterest, LinkedIn, and OpenAI Ads on legacy + attach shapes (skip for multi-creative — use `creatives[].headline`). Ignored for TikTok and X/Twitter. Max: Meta=255, Google=30, Pinterest=100, LinkedIn=400, OpenAI=50 (min 3). On LinkedIn this is the ad's headline (the bold text on the creative); for traffic ads it's the link card title. On OpenAI Ads this is the chat card's title.
|
package/dist/index.d.ts
CHANGED
|
@@ -3348,8 +3348,11 @@ type CtwaAdRequestBody = {
|
|
|
3348
3348
|
budgetType?: 'daily' | 'lifetime';
|
|
3349
3349
|
/**
|
|
3350
3350
|
* ISO 4217 currency code matching the ad account's currency
|
|
3351
|
-
* (e.g. `USD`). Optional
|
|
3352
|
-
* when omitted.
|
|
3351
|
+
* (e.g. `USD`). Optional: Zernio resolves it from the ad account
|
|
3352
|
+
* when omitted. The value selects the minor-unit exponent Zernio
|
|
3353
|
+
* converts budget/bid amounts by before calling Meta (most
|
|
3354
|
+
* currencies are cents; zero-decimal currencies like JPY/KRW are
|
|
3355
|
+
* sent as-is).
|
|
3353
3356
|
*
|
|
3354
3357
|
*/
|
|
3355
3358
|
currency?: string;
|
|
@@ -29558,6 +29561,9 @@ type BoostPostData = {
|
|
|
29558
29561
|
* Meta only. Ad-set destination_type — where the click LANDS, as opposed to instagramAccountId which is who the ad runs as. Lead ads force ON_AD and ignore this.
|
|
29559
29562
|
*/
|
|
29560
29563
|
destinationType?: 'INSTAGRAM_PROFILE' | 'WEBSITE' | 'ON_AD' | 'MESSENGER' | 'WHATSAPP';
|
|
29564
|
+
/**
|
|
29565
|
+
* ISO 4217 currency code matching the ad account's currency. Meta only. Optional: Zernio resolves it from the ad account when omitted. The value selects the minor-unit exponent Zernio converts budget/bid amounts by before calling Meta (most currencies are cents; zero-decimal currencies like JPY/KRW are sent as-is).
|
|
29566
|
+
*/
|
|
29561
29567
|
currency?: string;
|
|
29562
29568
|
schedule?: {
|
|
29563
29569
|
startDate?: string;
|
|
@@ -29929,6 +29935,9 @@ type CreateStandaloneAdData = {
|
|
|
29929
29935
|
*
|
|
29930
29936
|
*/
|
|
29931
29937
|
budgetLevel?: 'adset' | 'campaign';
|
|
29938
|
+
/**
|
|
29939
|
+
* ISO 4217 currency code matching the ad account's currency (e.g. `USD`). Meta only. Optional: Zernio resolves it from the ad account when omitted. The value selects the minor-unit exponent Zernio converts budget/bid amounts by before calling Meta (most currencies are cents; zero-decimal currencies like JPY/KRW are sent as-is).
|
|
29940
|
+
*/
|
|
29932
29941
|
currency?: string;
|
|
29933
29942
|
/**
|
|
29934
29943
|
* Required for Meta, Google, Pinterest, LinkedIn, and OpenAI Ads on legacy + attach shapes (skip for multi-creative — use `creatives[].headline`). Ignored for TikTok and X/Twitter. Max: Meta=255, Google=30, Pinterest=100, LinkedIn=400, OpenAI=50 (min 3). On LinkedIn this is the ad's headline (the bold text on the creative); for traffic ads it's the link card title. On OpenAI Ads this is the chat card's title.
|
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.575",
|
|
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.575",
|
|
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
|
@@ -2122,8 +2122,11 @@ export type CtwaAdRequestBody = {
|
|
|
2122
2122
|
budgetType?: 'daily' | 'lifetime';
|
|
2123
2123
|
/**
|
|
2124
2124
|
* ISO 4217 currency code matching the ad account's currency
|
|
2125
|
-
* (e.g. `USD`). Optional
|
|
2126
|
-
* when omitted.
|
|
2125
|
+
* (e.g. `USD`). Optional: Zernio resolves it from the ad account
|
|
2126
|
+
* when omitted. The value selects the minor-unit exponent Zernio
|
|
2127
|
+
* converts budget/bid amounts by before calling Meta (most
|
|
2128
|
+
* currencies are cents; zero-decimal currencies like JPY/KRW are
|
|
2129
|
+
* sent as-is).
|
|
2127
2130
|
*
|
|
2128
2131
|
*/
|
|
2129
2132
|
currency?: string;
|
|
@@ -30086,6 +30089,9 @@ export type BoostPostData = {
|
|
|
30086
30089
|
* Meta only. Ad-set destination_type — where the click LANDS, as opposed to instagramAccountId which is who the ad runs as. Lead ads force ON_AD and ignore this.
|
|
30087
30090
|
*/
|
|
30088
30091
|
destinationType?: 'INSTAGRAM_PROFILE' | 'WEBSITE' | 'ON_AD' | 'MESSENGER' | 'WHATSAPP';
|
|
30092
|
+
/**
|
|
30093
|
+
* ISO 4217 currency code matching the ad account's currency. Meta only. Optional: Zernio resolves it from the ad account when omitted. The value selects the minor-unit exponent Zernio converts budget/bid amounts by before calling Meta (most currencies are cents; zero-decimal currencies like JPY/KRW are sent as-is).
|
|
30094
|
+
*/
|
|
30089
30095
|
currency?: string;
|
|
30090
30096
|
schedule?: {
|
|
30091
30097
|
startDate?: string;
|
|
@@ -30460,6 +30466,9 @@ export type CreateStandaloneAdData = {
|
|
|
30460
30466
|
*
|
|
30461
30467
|
*/
|
|
30462
30468
|
budgetLevel?: 'adset' | 'campaign';
|
|
30469
|
+
/**
|
|
30470
|
+
* ISO 4217 currency code matching the ad account's currency (e.g. `USD`). Meta only. Optional: Zernio resolves it from the ad account when omitted. The value selects the minor-unit exponent Zernio converts budget/bid amounts by before calling Meta (most currencies are cents; zero-decimal currencies like JPY/KRW are sent as-is).
|
|
30471
|
+
*/
|
|
30463
30472
|
currency?: string;
|
|
30464
30473
|
/**
|
|
30465
30474
|
* Required for Meta, Google, Pinterest, LinkedIn, and OpenAI Ads on legacy + attach shapes (skip for multi-creative — use `creatives[].headline`). Ignored for TikTok and X/Twitter. Max: Meta=255, Google=30, Pinterest=100, LinkedIn=400, OpenAI=50 (min 3). On LinkedIn this is the ad's headline (the bold text on the creative); for traffic ads it's the link card title. On OpenAI Ads this is the chat card's title.
|