@zernio/node 0.2.988 → 0.2.989
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 +16 -8
- package/dist/index.d.ts +16 -8
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +16 -8
package/dist/index.d.mts
CHANGED
|
@@ -38166,9 +38166,12 @@ type DuplicateAdCampaignData = {
|
|
|
38166
38166
|
*/
|
|
38167
38167
|
statusOption?: 'ACTIVE' | 'PAUSED' | 'INHERITED_FROM_SOURCE';
|
|
38168
38168
|
/**
|
|
38169
|
-
* Reschedule the copied hierarchy's start
|
|
38169
|
+
* Reschedule the copied hierarchy's start (ISO 8601). On Meta and TikTok a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone; LinkedIn ad accounts carry no timezone, so there it is read as UTC. TikTok defaults to a start a few minutes after the copy.
|
|
38170
38170
|
*/
|
|
38171
38171
|
startTime?: string;
|
|
38172
|
+
/**
|
|
38173
|
+
* Reschedule the copied hierarchy's end, read like `startTime`; a date-only end runs to 23:59:59 local. Defaults to the source's end.
|
|
38174
|
+
*/
|
|
38172
38175
|
endTime?: string;
|
|
38173
38176
|
renameStrategy?: 'DEEP_RENAME' | 'ONLY_TOP_LEVEL_RENAME' | 'NO_RENAME';
|
|
38174
38177
|
renamePrefix?: string;
|
|
@@ -38538,9 +38541,12 @@ type DuplicateAdSetData = {
|
|
|
38538
38541
|
deepCopy?: boolean;
|
|
38539
38542
|
statusOption?: 'ACTIVE' | 'PAUSED' | 'INHERITED_FROM_SOURCE';
|
|
38540
38543
|
/**
|
|
38541
|
-
* Reschedule the copy's start
|
|
38544
|
+
* Reschedule the copy's start (ISO 8601). A value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone.
|
|
38542
38545
|
*/
|
|
38543
38546
|
startTime?: string;
|
|
38547
|
+
/**
|
|
38548
|
+
* Reschedule the copy's end, read like `startTime`; a date-only end runs to 23:59:59 local.
|
|
38549
|
+
*/
|
|
38544
38550
|
endTime?: string;
|
|
38545
38551
|
renameStrategy?: 'DEEP_RENAME' | 'ONLY_TOP_LEVEL_RENAME' | 'NO_RENAME';
|
|
38546
38552
|
renamePrefix?: string;
|
|
@@ -42967,11 +42973,11 @@ type BoostPostData = {
|
|
|
42967
42973
|
*/
|
|
42968
42974
|
currency?: string;
|
|
42969
42975
|
/**
|
|
42970
|
-
* 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. On Meta and
|
|
42976
|
+
* 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. On Meta, TikTok, X and Pinterest a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone. Same field as on POST /v1/ads/create.
|
|
42971
42977
|
*/
|
|
42972
42978
|
startDate?: string;
|
|
42973
42979
|
/**
|
|
42974
|
-
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. On Meta and
|
|
42980
|
+
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. On Meta, TikTok, X and Pinterest a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone, and a date-only end runs to 23:59:59 local. Same field as on POST /v1/ads/create.
|
|
42975
42981
|
*/
|
|
42976
42982
|
endDate?: string;
|
|
42977
42983
|
/**
|
|
@@ -44110,16 +44116,18 @@ type CreateStandaloneAdData = {
|
|
|
44110
44116
|
[key: string]: (number);
|
|
44111
44117
|
};
|
|
44112
44118
|
/**
|
|
44113
|
-
* Required for lifetime budgets.
|
|
44119
|
+
* Required for lifetime budgets. Read like `startDate` (account timezone on Meta, TikTok, X, Pinterest and OpenAI; whole account-local days on Google; UTC on LinkedIn), and a date-only end runs to 23:59:59 local.
|
|
44114
44120
|
*/
|
|
44115
44121
|
endDate?: string;
|
|
44116
44122
|
/**
|
|
44117
44123
|
* Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the ad set's
|
|
44118
44124
|
* start (Meta `start_time`, TikTok ad group `schedule_start_time`, LinkedIn / Pinterest / X
|
|
44119
44125
|
* / Google campaign start). When omitted the ad starts delivering immediately. For lifetime
|
|
44120
|
-
* budgets Meta also requires `endDate`. On Meta and
|
|
44121
|
-
* (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read
|
|
44122
|
-
* timezone (Meta itself would read it as UTC).
|
|
44126
|
+
* budgets Meta also requires `endDate`. On Meta, TikTok, X, Pinterest and OpenAI a value
|
|
44127
|
+
* without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read
|
|
44128
|
+
* in the ad account timezone (Meta itself would read it as UTC). Google runs whole days in
|
|
44129
|
+
* the customer account timezone and takes the value's calendar date as written. LinkedIn
|
|
44130
|
+
* ad accounts carry no timezone, so there a value without an offset is read as UTC. The created ad's `schedule` echoes the start
|
|
44123
44131
|
* and end the platform stored, as UTC instants; when attaching to an existing ad set
|
|
44124
44132
|
* (`adSetId`) it is that ad set's start and end. Same field as on `POST /v1/ads/boost`.
|
|
44125
44133
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -38166,9 +38166,12 @@ type DuplicateAdCampaignData = {
|
|
|
38166
38166
|
*/
|
|
38167
38167
|
statusOption?: 'ACTIVE' | 'PAUSED' | 'INHERITED_FROM_SOURCE';
|
|
38168
38168
|
/**
|
|
38169
|
-
* Reschedule the copied hierarchy's start
|
|
38169
|
+
* Reschedule the copied hierarchy's start (ISO 8601). On Meta and TikTok a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone; LinkedIn ad accounts carry no timezone, so there it is read as UTC. TikTok defaults to a start a few minutes after the copy.
|
|
38170
38170
|
*/
|
|
38171
38171
|
startTime?: string;
|
|
38172
|
+
/**
|
|
38173
|
+
* Reschedule the copied hierarchy's end, read like `startTime`; a date-only end runs to 23:59:59 local. Defaults to the source's end.
|
|
38174
|
+
*/
|
|
38172
38175
|
endTime?: string;
|
|
38173
38176
|
renameStrategy?: 'DEEP_RENAME' | 'ONLY_TOP_LEVEL_RENAME' | 'NO_RENAME';
|
|
38174
38177
|
renamePrefix?: string;
|
|
@@ -38538,9 +38541,12 @@ type DuplicateAdSetData = {
|
|
|
38538
38541
|
deepCopy?: boolean;
|
|
38539
38542
|
statusOption?: 'ACTIVE' | 'PAUSED' | 'INHERITED_FROM_SOURCE';
|
|
38540
38543
|
/**
|
|
38541
|
-
* Reschedule the copy's start
|
|
38544
|
+
* Reschedule the copy's start (ISO 8601). A value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone.
|
|
38542
38545
|
*/
|
|
38543
38546
|
startTime?: string;
|
|
38547
|
+
/**
|
|
38548
|
+
* Reschedule the copy's end, read like `startTime`; a date-only end runs to 23:59:59 local.
|
|
38549
|
+
*/
|
|
38544
38550
|
endTime?: string;
|
|
38545
38551
|
renameStrategy?: 'DEEP_RENAME' | 'ONLY_TOP_LEVEL_RENAME' | 'NO_RENAME';
|
|
38546
38552
|
renamePrefix?: string;
|
|
@@ -42967,11 +42973,11 @@ type BoostPostData = {
|
|
|
42967
42973
|
*/
|
|
42968
42974
|
currency?: string;
|
|
42969
42975
|
/**
|
|
42970
|
-
* 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. On Meta and
|
|
42976
|
+
* 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. On Meta, TikTok, X and Pinterest a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone. Same field as on POST /v1/ads/create.
|
|
42971
42977
|
*/
|
|
42972
42978
|
startDate?: string;
|
|
42973
42979
|
/**
|
|
42974
|
-
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. On Meta and
|
|
42980
|
+
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. On Meta, TikTok, X and Pinterest a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone, and a date-only end runs to 23:59:59 local. Same field as on POST /v1/ads/create.
|
|
42975
42981
|
*/
|
|
42976
42982
|
endDate?: string;
|
|
42977
42983
|
/**
|
|
@@ -44110,16 +44116,18 @@ type CreateStandaloneAdData = {
|
|
|
44110
44116
|
[key: string]: (number);
|
|
44111
44117
|
};
|
|
44112
44118
|
/**
|
|
44113
|
-
* Required for lifetime budgets.
|
|
44119
|
+
* Required for lifetime budgets. Read like `startDate` (account timezone on Meta, TikTok, X, Pinterest and OpenAI; whole account-local days on Google; UTC on LinkedIn), and a date-only end runs to 23:59:59 local.
|
|
44114
44120
|
*/
|
|
44115
44121
|
endDate?: string;
|
|
44116
44122
|
/**
|
|
44117
44123
|
* Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the ad set's
|
|
44118
44124
|
* start (Meta `start_time`, TikTok ad group `schedule_start_time`, LinkedIn / Pinterest / X
|
|
44119
44125
|
* / Google campaign start). When omitted the ad starts delivering immediately. For lifetime
|
|
44120
|
-
* budgets Meta also requires `endDate`. On Meta and
|
|
44121
|
-
* (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read
|
|
44122
|
-
* timezone (Meta itself would read it as UTC).
|
|
44126
|
+
* budgets Meta also requires `endDate`. On Meta, TikTok, X, Pinterest and OpenAI a value
|
|
44127
|
+
* without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read
|
|
44128
|
+
* in the ad account timezone (Meta itself would read it as UTC). Google runs whole days in
|
|
44129
|
+
* the customer account timezone and takes the value's calendar date as written. LinkedIn
|
|
44130
|
+
* ad accounts carry no timezone, so there a value without an offset is read as UTC. The created ad's `schedule` echoes the start
|
|
44123
44131
|
* and end the platform stored, as UTC instants; when attaching to an existing ad set
|
|
44124
44132
|
* (`adSetId`) it is that ad set's start and end. Same field as on `POST /v1/ads/boost`.
|
|
44125
44133
|
*
|
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.989",
|
|
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.989",
|
|
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
|
@@ -38556,9 +38556,12 @@ export type DuplicateAdCampaignData = {
|
|
|
38556
38556
|
*/
|
|
38557
38557
|
statusOption?: 'ACTIVE' | 'PAUSED' | 'INHERITED_FROM_SOURCE';
|
|
38558
38558
|
/**
|
|
38559
|
-
* Reschedule the copied hierarchy's start
|
|
38559
|
+
* Reschedule the copied hierarchy's start (ISO 8601). On Meta and TikTok a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone; LinkedIn ad accounts carry no timezone, so there it is read as UTC. TikTok defaults to a start a few minutes after the copy.
|
|
38560
38560
|
*/
|
|
38561
38561
|
startTime?: string;
|
|
38562
|
+
/**
|
|
38563
|
+
* Reschedule the copied hierarchy's end, read like `startTime`; a date-only end runs to 23:59:59 local. Defaults to the source's end.
|
|
38564
|
+
*/
|
|
38562
38565
|
endTime?: string;
|
|
38563
38566
|
renameStrategy?: 'DEEP_RENAME' | 'ONLY_TOP_LEVEL_RENAME' | 'NO_RENAME';
|
|
38564
38567
|
renamePrefix?: string;
|
|
@@ -38943,9 +38946,12 @@ export type DuplicateAdSetData = {
|
|
|
38943
38946
|
deepCopy?: boolean;
|
|
38944
38947
|
statusOption?: 'ACTIVE' | 'PAUSED' | 'INHERITED_FROM_SOURCE';
|
|
38945
38948
|
/**
|
|
38946
|
-
* Reschedule the copy's start
|
|
38949
|
+
* Reschedule the copy's start (ISO 8601). A value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone.
|
|
38947
38950
|
*/
|
|
38948
38951
|
startTime?: string;
|
|
38952
|
+
/**
|
|
38953
|
+
* Reschedule the copy's end, read like `startTime`; a date-only end runs to 23:59:59 local.
|
|
38954
|
+
*/
|
|
38949
38955
|
endTime?: string;
|
|
38950
38956
|
renameStrategy?: 'DEEP_RENAME' | 'ONLY_TOP_LEVEL_RENAME' | 'NO_RENAME';
|
|
38951
38957
|
renamePrefix?: string;
|
|
@@ -43684,11 +43690,11 @@ export type BoostPostData = {
|
|
|
43684
43690
|
*/
|
|
43685
43691
|
currency?: string;
|
|
43686
43692
|
/**
|
|
43687
|
-
* 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. On Meta and
|
|
43693
|
+
* 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. On Meta, TikTok, X and Pinterest a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone. Same field as on POST /v1/ads/create.
|
|
43688
43694
|
*/
|
|
43689
43695
|
startDate?: string;
|
|
43690
43696
|
/**
|
|
43691
|
-
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. On Meta and
|
|
43697
|
+
* Ad-set end time (ISO 8601), mapped to the ad set's `end_time`. Required for lifetime budgets. On Meta, TikTok, X and Pinterest a value without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read in the ad account timezone, and a date-only end runs to 23:59:59 local. Same field as on POST /v1/ads/create.
|
|
43692
43698
|
*/
|
|
43693
43699
|
endDate?: string;
|
|
43694
43700
|
/**
|
|
@@ -44851,16 +44857,18 @@ export type CreateStandaloneAdData = {
|
|
|
44851
44857
|
[key: string]: (number);
|
|
44852
44858
|
};
|
|
44853
44859
|
/**
|
|
44854
|
-
* Required for lifetime budgets.
|
|
44860
|
+
* Required for lifetime budgets. Read like `startDate` (account timezone on Meta, TikTok, X, Pinterest and OpenAI; whole account-local days on Google; UTC on LinkedIn), and a date-only end runs to 23:59:59 local.
|
|
44855
44861
|
*/
|
|
44856
44862
|
endDate?: string;
|
|
44857
44863
|
/**
|
|
44858
44864
|
* Ad-set start time (ISO 8601, e.g. "2026-06-10T09:00:00Z"), mapped to the ad set's
|
|
44859
44865
|
* start (Meta `start_time`, TikTok ad group `schedule_start_time`, LinkedIn / Pinterest / X
|
|
44860
44866
|
* / Google campaign start). When omitted the ad starts delivering immediately. For lifetime
|
|
44861
|
-
* budgets Meta also requires `endDate`. On Meta and
|
|
44862
|
-
* (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read
|
|
44863
|
-
* timezone (Meta itself would read it as UTC).
|
|
44867
|
+
* budgets Meta also requires `endDate`. On Meta, TikTok, X, Pinterest and OpenAI a value
|
|
44868
|
+
* without an offset (`YYYY-MM-DD`, `YYYY-MM-DD HH:MM:SS` or `YYYY-MM-DDTHH:MM:SS`) is read
|
|
44869
|
+
* in the ad account timezone (Meta itself would read it as UTC). Google runs whole days in
|
|
44870
|
+
* the customer account timezone and takes the value's calendar date as written. LinkedIn
|
|
44871
|
+
* ad accounts carry no timezone, so there a value without an offset is read as UTC. The created ad's `schedule` echoes the start
|
|
44864
44872
|
* and end the platform stored, as UTC instants; when attaching to an existing ad set
|
|
44865
44873
|
* (`adSetId`) it is that ad set's start and end. Same field as on `POST /v1/ads/boost`.
|
|
44866
44874
|
*
|