@getlatedev/node 0.2.1799 → 0.2.1801
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/README.md +1 -0
- package/dist/index.d.mts +64 -1
- package/dist/index.d.ts +64 -1
- package/dist/index.js +8 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
- package/src/client.ts +2 -0
- package/src/generated/sdk.gen.ts +16 -1
- package/src/generated/types.gen.ts +66 -0
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.1801",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -5574,6 +5574,12 @@ var undoAdRuleActivity = (options) => {
|
|
|
5574
5574
|
url: "/v1/ads/rules/activity/{activityId}/undo"
|
|
5575
5575
|
});
|
|
5576
5576
|
};
|
|
5577
|
+
var listAdChanges = (options) => {
|
|
5578
|
+
return (options?.client ?? client).get({
|
|
5579
|
+
...options,
|
|
5580
|
+
url: "/v1/ads/changes"
|
|
5581
|
+
});
|
|
5582
|
+
};
|
|
5577
5583
|
var getAdChange = (options) => {
|
|
5578
5584
|
return (options?.client ?? client).get({
|
|
5579
5585
|
...options,
|
|
@@ -10155,6 +10161,7 @@ var Zernio = class _Zernio {
|
|
|
10155
10161
|
* adchanges API
|
|
10156
10162
|
*/
|
|
10157
10163
|
this.adchanges = {
|
|
10164
|
+
listAdChanges: this._bind(listAdChanges),
|
|
10158
10165
|
getAdChange: this._bind(getAdChange),
|
|
10159
10166
|
discardAdChange: this._bind(discardAdChange),
|
|
10160
10167
|
confirmAdChange: this._bind(confirmAdChange)
|
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.1801",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -5543,6 +5543,12 @@ var undoAdRuleActivity = (options) => {
|
|
|
5543
5543
|
url: "/v1/ads/rules/activity/{activityId}/undo"
|
|
5544
5544
|
});
|
|
5545
5545
|
};
|
|
5546
|
+
var listAdChanges = (options) => {
|
|
5547
|
+
return (options?.client ?? client).get({
|
|
5548
|
+
...options,
|
|
5549
|
+
url: "/v1/ads/changes"
|
|
5550
|
+
});
|
|
5551
|
+
};
|
|
5546
5552
|
var getAdChange = (options) => {
|
|
5547
5553
|
return (options?.client ?? client).get({
|
|
5548
5554
|
...options,
|
|
@@ -10124,6 +10130,7 @@ var Zernio = class _Zernio {
|
|
|
10124
10130
|
* adchanges API
|
|
10125
10131
|
*/
|
|
10126
10132
|
this.adchanges = {
|
|
10133
|
+
listAdChanges: this._bind(listAdChanges),
|
|
10127
10134
|
getAdChange: this._bind(getAdChange),
|
|
10128
10135
|
discardAdChange: this._bind(discardAdChange),
|
|
10129
10136
|
confirmAdChange: this._bind(confirmAdChange)
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -770,6 +770,7 @@ import {
|
|
|
770
770
|
listAdCatalogProductSets,
|
|
771
771
|
listAdCatalogProducts,
|
|
772
772
|
listAdCatalogs,
|
|
773
|
+
listAdChanges,
|
|
773
774
|
listAdConversionAssociations,
|
|
774
775
|
listAdConversionDestinations,
|
|
775
776
|
listAdConversionGoals,
|
|
@@ -2929,6 +2930,7 @@ export class Zernio {
|
|
|
2929
2930
|
* adchanges API
|
|
2930
2931
|
*/
|
|
2931
2932
|
adchanges = {
|
|
2933
|
+
listAdChanges: this._bind(listAdChanges),
|
|
2932
2934
|
getAdChange: this._bind(getAdChange),
|
|
2933
2935
|
discardAdChange: this._bind(discardAdChange),
|
|
2934
2936
|
confirmAdChange: this._bind(confirmAdChange),
|