@zernio/node 0.2.1841 → 0.2.1842
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 +15 -3
- package/dist/index.d.ts +15 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +15 -3
package/dist/index.d.mts
CHANGED
|
@@ -24028,7 +24028,7 @@ type StagedAdChange = {
|
|
|
24028
24028
|
*/
|
|
24029
24029
|
id: string;
|
|
24030
24030
|
/**
|
|
24031
|
-
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the
|
|
24031
|
+
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the sent values only.
|
|
24032
24032
|
*/
|
|
24033
24033
|
type: 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campaign_update' | 'ad_set_update' | 'ad_update' | 'campaign_targeting' | 'ad_create' | 'campaign_create' | 'ad_set_create' | 'operation';
|
|
24034
24034
|
/**
|
|
@@ -24044,6 +24044,18 @@ type StagedAdChange = {
|
|
|
24044
24044
|
* The path of the write, for example /v1/ads/keywords.
|
|
24045
24045
|
*/
|
|
24046
24046
|
path: string;
|
|
24047
|
+
/**
|
|
24048
|
+
* The path values of the staged request, by the names in `path`.
|
|
24049
|
+
*/
|
|
24050
|
+
params?: {
|
|
24051
|
+
[key: string]: (string);
|
|
24052
|
+
};
|
|
24053
|
+
/**
|
|
24054
|
+
* The query values of the staged request, without `stage`.
|
|
24055
|
+
*/
|
|
24056
|
+
query?: {
|
|
24057
|
+
[key: string]: (string);
|
|
24058
|
+
};
|
|
24047
24059
|
};
|
|
24048
24060
|
/**
|
|
24049
24061
|
* The ad platform of the object, as the write route names it.
|
|
@@ -24058,7 +24070,7 @@ type StagedAdChange = {
|
|
|
24058
24070
|
*/
|
|
24059
24071
|
adAccountId: string;
|
|
24060
24072
|
/**
|
|
24061
|
-
* The object the change applies to: the platform campaign id, the platform ad set id, or the Zernio ad id.
|
|
24073
|
+
* The object the change applies to: the platform campaign id, the platform ad set id, or the Zernio ad id. A write staged as its request with no such object carries the last id of its path. Null when there is none, as for a create.
|
|
24062
24074
|
*/
|
|
24063
24075
|
targetId: (string) | null;
|
|
24064
24076
|
/**
|
|
@@ -24153,7 +24165,7 @@ type StagedAdChange = {
|
|
|
24153
24165
|
};
|
|
24154
24166
|
};
|
|
24155
24167
|
/**
|
|
24156
|
-
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the
|
|
24168
|
+
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the sent values only.
|
|
24157
24169
|
*/
|
|
24158
24170
|
type type32 = 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campaign_update' | 'ad_set_update' | 'ad_update' | 'campaign_targeting' | 'ad_create' | 'campaign_create' | 'ad_set_create' | 'operation';
|
|
24159
24171
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -24028,7 +24028,7 @@ type StagedAdChange = {
|
|
|
24028
24028
|
*/
|
|
24029
24029
|
id: string;
|
|
24030
24030
|
/**
|
|
24031
|
-
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the
|
|
24031
|
+
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the sent values only.
|
|
24032
24032
|
*/
|
|
24033
24033
|
type: 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campaign_update' | 'ad_set_update' | 'ad_update' | 'campaign_targeting' | 'ad_create' | 'campaign_create' | 'ad_set_create' | 'operation';
|
|
24034
24034
|
/**
|
|
@@ -24044,6 +24044,18 @@ type StagedAdChange = {
|
|
|
24044
24044
|
* The path of the write, for example /v1/ads/keywords.
|
|
24045
24045
|
*/
|
|
24046
24046
|
path: string;
|
|
24047
|
+
/**
|
|
24048
|
+
* The path values of the staged request, by the names in `path`.
|
|
24049
|
+
*/
|
|
24050
|
+
params?: {
|
|
24051
|
+
[key: string]: (string);
|
|
24052
|
+
};
|
|
24053
|
+
/**
|
|
24054
|
+
* The query values of the staged request, without `stage`.
|
|
24055
|
+
*/
|
|
24056
|
+
query?: {
|
|
24057
|
+
[key: string]: (string);
|
|
24058
|
+
};
|
|
24047
24059
|
};
|
|
24048
24060
|
/**
|
|
24049
24061
|
* The ad platform of the object, as the write route names it.
|
|
@@ -24058,7 +24070,7 @@ type StagedAdChange = {
|
|
|
24058
24070
|
*/
|
|
24059
24071
|
adAccountId: string;
|
|
24060
24072
|
/**
|
|
24061
|
-
* The object the change applies to: the platform campaign id, the platform ad set id, or the Zernio ad id.
|
|
24073
|
+
* The object the change applies to: the platform campaign id, the platform ad set id, or the Zernio ad id. A write staged as its request with no such object carries the last id of its path. Null when there is none, as for a create.
|
|
24062
24074
|
*/
|
|
24063
24075
|
targetId: (string) | null;
|
|
24064
24076
|
/**
|
|
@@ -24153,7 +24165,7 @@ type StagedAdChange = {
|
|
|
24153
24165
|
};
|
|
24154
24166
|
};
|
|
24155
24167
|
/**
|
|
24156
|
-
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the
|
|
24168
|
+
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the sent values only.
|
|
24157
24169
|
*/
|
|
24158
24170
|
type type32 = 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campaign_update' | 'ad_set_update' | 'ad_update' | 'campaign_targeting' | 'ad_create' | 'campaign_create' | 'ad_set_create' | 'operation';
|
|
24159
24171
|
/**
|
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.1842",
|
|
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.1842",
|
|
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
|
@@ -22351,7 +22351,7 @@ export type StagedAdChange = {
|
|
|
22351
22351
|
*/
|
|
22352
22352
|
id: string;
|
|
22353
22353
|
/**
|
|
22354
|
-
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the
|
|
22354
|
+
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the sent values only.
|
|
22355
22355
|
*/
|
|
22356
22356
|
type: 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campaign_update' | 'ad_set_update' | 'ad_update' | 'campaign_targeting' | 'ad_create' | 'campaign_create' | 'ad_set_create' | 'operation';
|
|
22357
22357
|
/**
|
|
@@ -22367,6 +22367,18 @@ export type StagedAdChange = {
|
|
|
22367
22367
|
* The path of the write, for example /v1/ads/keywords.
|
|
22368
22368
|
*/
|
|
22369
22369
|
path: string;
|
|
22370
|
+
/**
|
|
22371
|
+
* The path values of the staged request, by the names in `path`.
|
|
22372
|
+
*/
|
|
22373
|
+
params?: {
|
|
22374
|
+
[key: string]: (string);
|
|
22375
|
+
};
|
|
22376
|
+
/**
|
|
22377
|
+
* The query values of the staged request, without `stage`.
|
|
22378
|
+
*/
|
|
22379
|
+
query?: {
|
|
22380
|
+
[key: string]: (string);
|
|
22381
|
+
};
|
|
22370
22382
|
};
|
|
22371
22383
|
/**
|
|
22372
22384
|
* The ad platform of the object, as the write route names it.
|
|
@@ -22381,7 +22393,7 @@ export type StagedAdChange = {
|
|
|
22381
22393
|
*/
|
|
22382
22394
|
adAccountId: string;
|
|
22383
22395
|
/**
|
|
22384
|
-
* The object the change applies to: the platform campaign id, the platform ad set id, or the Zernio ad id.
|
|
22396
|
+
* The object the change applies to: the platform campaign id, the platform ad set id, or the Zernio ad id. A write staged as its request with no such object carries the last id of its path. Null when there is none, as for a create.
|
|
22385
22397
|
*/
|
|
22386
22398
|
targetId: (string) | null;
|
|
22387
22399
|
/**
|
|
@@ -22477,7 +22489,7 @@ export type StagedAdChange = {
|
|
|
22477
22489
|
};
|
|
22478
22490
|
|
|
22479
22491
|
/**
|
|
22480
|
-
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the
|
|
22492
|
+
* Which write was staged: a status route, an update route (campaign, ad set, ad), the campaign targeting route or a create route. `operation` is any other ads write, staged as its request and named by `request`. It has no live read, so its diff shows the sent values only.
|
|
22481
22493
|
*/
|
|
22482
22494
|
export type type32 = 'campaign_status' | 'ad_set_status' | 'ad_status' | 'campaign_update' | 'ad_set_update' | 'ad_update' | 'campaign_targeting' | 'ad_create' | 'campaign_create' | 'ad_set_create' | 'operation';
|
|
22483
22495
|
|