@zernio/node 0.2.861 → 0.2.863
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 +29 -4
- package/dist/index.d.ts +29 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +29 -4
package/dist/index.d.mts
CHANGED
|
@@ -38870,7 +38870,16 @@ type BoostPostData = {
|
|
|
38870
38870
|
*/
|
|
38871
38871
|
identityType?: 'TT_USER' | 'CUSTOMIZED_USER' | 'BC_AUTH_TT';
|
|
38872
38872
|
/**
|
|
38873
|
-
* Required unless adSetId is set.
|
|
38873
|
+
* Budget in whole currency units, the same flat field as POST /v1/ads/create. Required unless adSetId is set. Minimum varies: TikTok=$20, Pinterest=$5, others=$1
|
|
38874
|
+
*/
|
|
38875
|
+
budgetAmount?: number;
|
|
38876
|
+
/**
|
|
38877
|
+
* Goes together with budgetAmount. lifetime requires schedule.endDate.
|
|
38878
|
+
*/
|
|
38879
|
+
budgetType?: 'daily' | 'lifetime';
|
|
38880
|
+
/**
|
|
38881
|
+
* Alias of budgetAmount + budgetType, kept for existing callers
|
|
38882
|
+
* @deprecated
|
|
38874
38883
|
*/
|
|
38875
38884
|
budget?: {
|
|
38876
38885
|
/**
|
|
@@ -38895,10 +38904,27 @@ type BoostPostData = {
|
|
|
38895
38904
|
* 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).
|
|
38896
38905
|
*/
|
|
38897
38906
|
currency?: string;
|
|
38907
|
+
/**
|
|
38908
|
+
* Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the ad set's `start_time`. When omitted the ad starts delivering immediately. Same field as on POST /v1/ads/create.
|
|
38909
|
+
*/
|
|
38910
|
+
startDate?: string;
|
|
38911
|
+
/**
|
|
38912
|
+
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. Same field as on POST /v1/ads/create.
|
|
38913
|
+
*/
|
|
38914
|
+
endDate?: string;
|
|
38915
|
+
/**
|
|
38916
|
+
* Alias of the top-level `startDate` / `endDate`, kept for existing callers. Sending both forms with differing values is a 400.
|
|
38917
|
+
* @deprecated
|
|
38918
|
+
*/
|
|
38898
38919
|
schedule?: {
|
|
38920
|
+
/**
|
|
38921
|
+
* Alias of startDate, kept for existing callers
|
|
38922
|
+
* @deprecated
|
|
38923
|
+
*/
|
|
38899
38924
|
startDate?: string;
|
|
38900
38925
|
/**
|
|
38901
|
-
*
|
|
38926
|
+
* Alias of endDate, kept for existing callers
|
|
38927
|
+
* @deprecated
|
|
38902
38928
|
*/
|
|
38903
38929
|
endDate?: string;
|
|
38904
38930
|
};
|
|
@@ -39816,8 +39842,7 @@ type CreateStandaloneAdData = {
|
|
|
39816
39842
|
/**
|
|
39817
39843
|
* Meta only. Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the
|
|
39818
39844
|
* ad set's `start_time`. When omitted the ad starts delivering immediately. For lifetime
|
|
39819
|
-
* budgets Meta also requires `endDate`.
|
|
39820
|
-
* available on `POST /v1/ads/boost`.)
|
|
39845
|
+
* budgets Meta also requires `endDate`. Same field as on `POST /v1/ads/boost`.
|
|
39821
39846
|
*
|
|
39822
39847
|
*/
|
|
39823
39848
|
startDate?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -38870,7 +38870,16 @@ type BoostPostData = {
|
|
|
38870
38870
|
*/
|
|
38871
38871
|
identityType?: 'TT_USER' | 'CUSTOMIZED_USER' | 'BC_AUTH_TT';
|
|
38872
38872
|
/**
|
|
38873
|
-
* Required unless adSetId is set.
|
|
38873
|
+
* Budget in whole currency units, the same flat field as POST /v1/ads/create. Required unless adSetId is set. Minimum varies: TikTok=$20, Pinterest=$5, others=$1
|
|
38874
|
+
*/
|
|
38875
|
+
budgetAmount?: number;
|
|
38876
|
+
/**
|
|
38877
|
+
* Goes together with budgetAmount. lifetime requires schedule.endDate.
|
|
38878
|
+
*/
|
|
38879
|
+
budgetType?: 'daily' | 'lifetime';
|
|
38880
|
+
/**
|
|
38881
|
+
* Alias of budgetAmount + budgetType, kept for existing callers
|
|
38882
|
+
* @deprecated
|
|
38874
38883
|
*/
|
|
38875
38884
|
budget?: {
|
|
38876
38885
|
/**
|
|
@@ -38895,10 +38904,27 @@ type BoostPostData = {
|
|
|
38895
38904
|
* 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).
|
|
38896
38905
|
*/
|
|
38897
38906
|
currency?: string;
|
|
38907
|
+
/**
|
|
38908
|
+
* Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the ad set's `start_time`. When omitted the ad starts delivering immediately. Same field as on POST /v1/ads/create.
|
|
38909
|
+
*/
|
|
38910
|
+
startDate?: string;
|
|
38911
|
+
/**
|
|
38912
|
+
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. Same field as on POST /v1/ads/create.
|
|
38913
|
+
*/
|
|
38914
|
+
endDate?: string;
|
|
38915
|
+
/**
|
|
38916
|
+
* Alias of the top-level `startDate` / `endDate`, kept for existing callers. Sending both forms with differing values is a 400.
|
|
38917
|
+
* @deprecated
|
|
38918
|
+
*/
|
|
38898
38919
|
schedule?: {
|
|
38920
|
+
/**
|
|
38921
|
+
* Alias of startDate, kept for existing callers
|
|
38922
|
+
* @deprecated
|
|
38923
|
+
*/
|
|
38899
38924
|
startDate?: string;
|
|
38900
38925
|
/**
|
|
38901
|
-
*
|
|
38926
|
+
* Alias of endDate, kept for existing callers
|
|
38927
|
+
* @deprecated
|
|
38902
38928
|
*/
|
|
38903
38929
|
endDate?: string;
|
|
38904
38930
|
};
|
|
@@ -39816,8 +39842,7 @@ type CreateStandaloneAdData = {
|
|
|
39816
39842
|
/**
|
|
39817
39843
|
* Meta only. Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the
|
|
39818
39844
|
* ad set's `start_time`. When omitted the ad starts delivering immediately. For lifetime
|
|
39819
|
-
* budgets Meta also requires `endDate`.
|
|
39820
|
-
* available on `POST /v1/ads/boost`.)
|
|
39845
|
+
* budgets Meta also requires `endDate`. Same field as on `POST /v1/ads/boost`.
|
|
39821
39846
|
*
|
|
39822
39847
|
*/
|
|
39823
39848
|
startDate?: string;
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.863",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.863",
|
|
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
|
@@ -39515,7 +39515,16 @@ export type BoostPostData = {
|
|
|
39515
39515
|
*/
|
|
39516
39516
|
identityType?: 'TT_USER' | 'CUSTOMIZED_USER' | 'BC_AUTH_TT';
|
|
39517
39517
|
/**
|
|
39518
|
-
* Required unless adSetId is set.
|
|
39518
|
+
* Budget in whole currency units, the same flat field as POST /v1/ads/create. Required unless adSetId is set. Minimum varies: TikTok=$20, Pinterest=$5, others=$1
|
|
39519
|
+
*/
|
|
39520
|
+
budgetAmount?: number;
|
|
39521
|
+
/**
|
|
39522
|
+
* Goes together with budgetAmount. lifetime requires schedule.endDate.
|
|
39523
|
+
*/
|
|
39524
|
+
budgetType?: 'daily' | 'lifetime';
|
|
39525
|
+
/**
|
|
39526
|
+
* Alias of budgetAmount + budgetType, kept for existing callers
|
|
39527
|
+
* @deprecated
|
|
39519
39528
|
*/
|
|
39520
39529
|
budget?: {
|
|
39521
39530
|
/**
|
|
@@ -39540,10 +39549,27 @@ export type BoostPostData = {
|
|
|
39540
39549
|
* 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).
|
|
39541
39550
|
*/
|
|
39542
39551
|
currency?: string;
|
|
39552
|
+
/**
|
|
39553
|
+
* Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the ad set's `start_time`. When omitted the ad starts delivering immediately. Same field as on POST /v1/ads/create.
|
|
39554
|
+
*/
|
|
39555
|
+
startDate?: string;
|
|
39556
|
+
/**
|
|
39557
|
+
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. Same field as on POST /v1/ads/create.
|
|
39558
|
+
*/
|
|
39559
|
+
endDate?: string;
|
|
39560
|
+
/**
|
|
39561
|
+
* Alias of the top-level `startDate` / `endDate`, kept for existing callers. Sending both forms with differing values is a 400.
|
|
39562
|
+
* @deprecated
|
|
39563
|
+
*/
|
|
39543
39564
|
schedule?: {
|
|
39565
|
+
/**
|
|
39566
|
+
* Alias of startDate, kept for existing callers
|
|
39567
|
+
* @deprecated
|
|
39568
|
+
*/
|
|
39544
39569
|
startDate?: string;
|
|
39545
39570
|
/**
|
|
39546
|
-
*
|
|
39571
|
+
* Alias of endDate, kept for existing callers
|
|
39572
|
+
* @deprecated
|
|
39547
39573
|
*/
|
|
39548
39574
|
endDate?: string;
|
|
39549
39575
|
};
|
|
@@ -40467,8 +40493,7 @@ export type CreateStandaloneAdData = {
|
|
|
40467
40493
|
/**
|
|
40468
40494
|
* Meta only. Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the
|
|
40469
40495
|
* ad set's `start_time`. When omitted the ad starts delivering immediately. For lifetime
|
|
40470
|
-
* budgets Meta also requires `endDate`.
|
|
40471
|
-
* available on `POST /v1/ads/boost`.)
|
|
40496
|
+
* budgets Meta also requires `endDate`. Same field as on `POST /v1/ads/boost`.
|
|
40472
40497
|
*
|
|
40473
40498
|
*/
|
|
40474
40499
|
startDate?: string;
|