@getlatedev/node 0.2.1762 → 0.2.1764
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 +2 -0
- package/dist/index.d.mts +187 -67
- package/dist/index.d.ts +187 -67
- package/dist/index.js +15 -1
- package/dist/index.mjs +15 -1
- package/package.json +1 -1
- package/src/client.ts +4 -0
- package/src/generated/sdk.gen.ts +25 -1
- package/src/generated/types.gen.ts +193 -66
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.1764",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -5346,6 +5346,18 @@ var listAutomationChecks = (options) => {
|
|
|
5346
5346
|
url: "/v1/automations/{automationId}/checks"
|
|
5347
5347
|
});
|
|
5348
5348
|
};
|
|
5349
|
+
var listAutomationRuns = (options) => {
|
|
5350
|
+
return (options?.client ?? client).get({
|
|
5351
|
+
...options,
|
|
5352
|
+
url: "/v1/automations/{automationId}/runs"
|
|
5353
|
+
});
|
|
5354
|
+
};
|
|
5355
|
+
var getAutomationRun = (options) => {
|
|
5356
|
+
return (options?.client ?? client).get({
|
|
5357
|
+
...options,
|
|
5358
|
+
url: "/v1/automations/{automationId}/runs/{runId}"
|
|
5359
|
+
});
|
|
5360
|
+
};
|
|
5349
5361
|
var previewAutomationDraft = (options) => {
|
|
5350
5362
|
return (options?.client ?? client).post({
|
|
5351
5363
|
...options,
|
|
@@ -10052,6 +10064,8 @@ var Zernio = class _Zernio {
|
|
|
10052
10064
|
getAutomationCatalog: this._bind(getAutomationCatalog),
|
|
10053
10065
|
listAutomationActions: this._bind(listAutomationActions),
|
|
10054
10066
|
listAutomationChecks: this._bind(listAutomationChecks),
|
|
10067
|
+
listAutomationRuns: this._bind(listAutomationRuns),
|
|
10068
|
+
getAutomationRun: this._bind(getAutomationRun),
|
|
10055
10069
|
previewAutomationDraft: this._bind(previewAutomationDraft),
|
|
10056
10070
|
getAutomation: this._bind(getAutomation),
|
|
10057
10071
|
updateAutomation: this._bind(updateAutomation),
|
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.1764",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -5315,6 +5315,18 @@ var listAutomationChecks = (options) => {
|
|
|
5315
5315
|
url: "/v1/automations/{automationId}/checks"
|
|
5316
5316
|
});
|
|
5317
5317
|
};
|
|
5318
|
+
var listAutomationRuns = (options) => {
|
|
5319
|
+
return (options?.client ?? client).get({
|
|
5320
|
+
...options,
|
|
5321
|
+
url: "/v1/automations/{automationId}/runs"
|
|
5322
|
+
});
|
|
5323
|
+
};
|
|
5324
|
+
var getAutomationRun = (options) => {
|
|
5325
|
+
return (options?.client ?? client).get({
|
|
5326
|
+
...options,
|
|
5327
|
+
url: "/v1/automations/{automationId}/runs/{runId}"
|
|
5328
|
+
});
|
|
5329
|
+
};
|
|
5318
5330
|
var previewAutomationDraft = (options) => {
|
|
5319
5331
|
return (options?.client ?? client).post({
|
|
5320
5332
|
...options,
|
|
@@ -10021,6 +10033,8 @@ var Zernio = class _Zernio {
|
|
|
10021
10033
|
getAutomationCatalog: this._bind(getAutomationCatalog),
|
|
10022
10034
|
listAutomationActions: this._bind(listAutomationActions),
|
|
10023
10035
|
listAutomationChecks: this._bind(listAutomationChecks),
|
|
10036
|
+
listAutomationRuns: this._bind(listAutomationRuns),
|
|
10037
|
+
getAutomationRun: this._bind(getAutomationRun),
|
|
10024
10038
|
previewAutomationDraft: this._bind(previewAutomationDraft),
|
|
10025
10039
|
getAutomation: this._bind(getAutomation),
|
|
10026
10040
|
updateAutomation: this._bind(updateAutomation),
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -439,6 +439,7 @@ import {
|
|
|
439
439
|
getAutomationApproval,
|
|
440
440
|
getAutomationCatalog,
|
|
441
441
|
getAutomationControls,
|
|
442
|
+
getAutomationRun,
|
|
442
443
|
getAutomationTemplate,
|
|
443
444
|
getBalance,
|
|
444
445
|
getBestTimeToPost,
|
|
@@ -794,6 +795,7 @@ import {
|
|
|
794
795
|
listAutomationActions,
|
|
795
796
|
listAutomationApprovals,
|
|
796
797
|
listAutomationChecks,
|
|
798
|
+
listAutomationRuns,
|
|
797
799
|
listAutomationTemplates,
|
|
798
800
|
listAutomations,
|
|
799
801
|
listBidStrategies,
|
|
@@ -2864,6 +2866,8 @@ export class Zernio {
|
|
|
2864
2866
|
getAutomationCatalog: this._bind(getAutomationCatalog),
|
|
2865
2867
|
listAutomationActions: this._bind(listAutomationActions),
|
|
2866
2868
|
listAutomationChecks: this._bind(listAutomationChecks),
|
|
2869
|
+
listAutomationRuns: this._bind(listAutomationRuns),
|
|
2870
|
+
getAutomationRun: this._bind(getAutomationRun),
|
|
2867
2871
|
previewAutomationDraft: this._bind(previewAutomationDraft),
|
|
2868
2872
|
getAutomation: this._bind(getAutomation),
|
|
2869
2873
|
updateAutomation: this._bind(updateAutomation),
|