@zernio/node 0.2.862 → 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 +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +19 -3
package/dist/index.d.mts
CHANGED
|
@@ -38904,10 +38904,27 @@ type BoostPostData = {
|
|
|
38904
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).
|
|
38905
38905
|
*/
|
|
38906
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
|
+
*/
|
|
38907
38919
|
schedule?: {
|
|
38920
|
+
/**
|
|
38921
|
+
* Alias of startDate, kept for existing callers
|
|
38922
|
+
* @deprecated
|
|
38923
|
+
*/
|
|
38908
38924
|
startDate?: string;
|
|
38909
38925
|
/**
|
|
38910
|
-
*
|
|
38926
|
+
* Alias of endDate, kept for existing callers
|
|
38927
|
+
* @deprecated
|
|
38911
38928
|
*/
|
|
38912
38929
|
endDate?: string;
|
|
38913
38930
|
};
|
|
@@ -39825,8 +39842,7 @@ type CreateStandaloneAdData = {
|
|
|
39825
39842
|
/**
|
|
39826
39843
|
* Meta only. Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the
|
|
39827
39844
|
* ad set's `start_time`. When omitted the ad starts delivering immediately. For lifetime
|
|
39828
|
-
* budgets Meta also requires `endDate`.
|
|
39829
|
-
* available on `POST /v1/ads/boost`.)
|
|
39845
|
+
* budgets Meta also requires `endDate`. Same field as on `POST /v1/ads/boost`.
|
|
39830
39846
|
*
|
|
39831
39847
|
*/
|
|
39832
39848
|
startDate?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -38904,10 +38904,27 @@ type BoostPostData = {
|
|
|
38904
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).
|
|
38905
38905
|
*/
|
|
38906
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
|
+
*/
|
|
38907
38919
|
schedule?: {
|
|
38920
|
+
/**
|
|
38921
|
+
* Alias of startDate, kept for existing callers
|
|
38922
|
+
* @deprecated
|
|
38923
|
+
*/
|
|
38908
38924
|
startDate?: string;
|
|
38909
38925
|
/**
|
|
38910
|
-
*
|
|
38926
|
+
* Alias of endDate, kept for existing callers
|
|
38927
|
+
* @deprecated
|
|
38911
38928
|
*/
|
|
38912
38929
|
endDate?: string;
|
|
38913
38930
|
};
|
|
@@ -39825,8 +39842,7 @@ type CreateStandaloneAdData = {
|
|
|
39825
39842
|
/**
|
|
39826
39843
|
* Meta only. Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the
|
|
39827
39844
|
* ad set's `start_time`. When omitted the ad starts delivering immediately. For lifetime
|
|
39828
|
-
* budgets Meta also requires `endDate`.
|
|
39829
|
-
* available on `POST /v1/ads/boost`.)
|
|
39845
|
+
* budgets Meta also requires `endDate`. Same field as on `POST /v1/ads/boost`.
|
|
39830
39846
|
*
|
|
39831
39847
|
*/
|
|
39832
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
|
@@ -39549,10 +39549,27 @@ export type BoostPostData = {
|
|
|
39549
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).
|
|
39550
39550
|
*/
|
|
39551
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
|
+
*/
|
|
39552
39564
|
schedule?: {
|
|
39565
|
+
/**
|
|
39566
|
+
* Alias of startDate, kept for existing callers
|
|
39567
|
+
* @deprecated
|
|
39568
|
+
*/
|
|
39553
39569
|
startDate?: string;
|
|
39554
39570
|
/**
|
|
39555
|
-
*
|
|
39571
|
+
* Alias of endDate, kept for existing callers
|
|
39572
|
+
* @deprecated
|
|
39556
39573
|
*/
|
|
39557
39574
|
endDate?: string;
|
|
39558
39575
|
};
|
|
@@ -40476,8 +40493,7 @@ export type CreateStandaloneAdData = {
|
|
|
40476
40493
|
/**
|
|
40477
40494
|
* Meta only. Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the
|
|
40478
40495
|
* ad set's `start_time`. When omitted the ad starts delivering immediately. For lifetime
|
|
40479
|
-
* budgets Meta also requires `endDate`.
|
|
40480
|
-
* available on `POST /v1/ads/boost`.)
|
|
40496
|
+
* budgets Meta also requires `endDate`. Same field as on `POST /v1/ads/boost`.
|
|
40481
40497
|
*
|
|
40482
40498
|
*/
|
|
40483
40499
|
startDate?: string;
|