@getlatedev/node 0.2.1769 → 0.2.1771
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 +99 -2
- package/dist/index.d.ts +99 -2
- 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 +36 -1
- package/src/generated/types.gen.ts +103 -1
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.1771",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -5358,6 +5358,18 @@ var getAutomationRun = (options) => {
|
|
|
5358
5358
|
url: "/v1/automations/{automationId}/runs/{runId}"
|
|
5359
5359
|
});
|
|
5360
5360
|
};
|
|
5361
|
+
var testAutomation = (options) => {
|
|
5362
|
+
return (options?.client ?? client).post({
|
|
5363
|
+
...options,
|
|
5364
|
+
url: "/v1/automations/{automationId}/test"
|
|
5365
|
+
});
|
|
5366
|
+
};
|
|
5367
|
+
var getAutomationTestSample = (options) => {
|
|
5368
|
+
return (options?.client ?? client).get({
|
|
5369
|
+
...options,
|
|
5370
|
+
url: "/v1/automations/{automationId}/test/sample"
|
|
5371
|
+
});
|
|
5372
|
+
};
|
|
5361
5373
|
var previewAutomationDraft = (options) => {
|
|
5362
5374
|
return (options?.client ?? client).post({
|
|
5363
5375
|
...options,
|
|
@@ -10066,6 +10078,8 @@ var Zernio = class _Zernio {
|
|
|
10066
10078
|
listAutomationChecks: this._bind(listAutomationChecks),
|
|
10067
10079
|
listAutomationRuns: this._bind(listAutomationRuns),
|
|
10068
10080
|
getAutomationRun: this._bind(getAutomationRun),
|
|
10081
|
+
testAutomation: this._bind(testAutomation),
|
|
10082
|
+
getAutomationTestSample: this._bind(getAutomationTestSample),
|
|
10069
10083
|
previewAutomationDraft: this._bind(previewAutomationDraft),
|
|
10070
10084
|
getAutomation: this._bind(getAutomation),
|
|
10071
10085
|
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.1771",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -5327,6 +5327,18 @@ var getAutomationRun = (options) => {
|
|
|
5327
5327
|
url: "/v1/automations/{automationId}/runs/{runId}"
|
|
5328
5328
|
});
|
|
5329
5329
|
};
|
|
5330
|
+
var testAutomation = (options) => {
|
|
5331
|
+
return (options?.client ?? client).post({
|
|
5332
|
+
...options,
|
|
5333
|
+
url: "/v1/automations/{automationId}/test"
|
|
5334
|
+
});
|
|
5335
|
+
};
|
|
5336
|
+
var getAutomationTestSample = (options) => {
|
|
5337
|
+
return (options?.client ?? client).get({
|
|
5338
|
+
...options,
|
|
5339
|
+
url: "/v1/automations/{automationId}/test/sample"
|
|
5340
|
+
});
|
|
5341
|
+
};
|
|
5330
5342
|
var previewAutomationDraft = (options) => {
|
|
5331
5343
|
return (options?.client ?? client).post({
|
|
5332
5344
|
...options,
|
|
@@ -10035,6 +10047,8 @@ var Zernio = class _Zernio {
|
|
|
10035
10047
|
listAutomationChecks: this._bind(listAutomationChecks),
|
|
10036
10048
|
listAutomationRuns: this._bind(listAutomationRuns),
|
|
10037
10049
|
getAutomationRun: this._bind(getAutomationRun),
|
|
10050
|
+
testAutomation: this._bind(testAutomation),
|
|
10051
|
+
getAutomationTestSample: this._bind(getAutomationTestSample),
|
|
10038
10052
|
previewAutomationDraft: this._bind(previewAutomationDraft),
|
|
10039
10053
|
getAutomation: this._bind(getAutomation),
|
|
10040
10054
|
updateAutomation: this._bind(updateAutomation),
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -441,6 +441,7 @@ import {
|
|
|
441
441
|
getAutomationControls,
|
|
442
442
|
getAutomationRun,
|
|
443
443
|
getAutomationTemplate,
|
|
444
|
+
getAutomationTestSample,
|
|
444
445
|
getBalance,
|
|
445
446
|
getBestTimeToPost,
|
|
446
447
|
getBilling,
|
|
@@ -1212,6 +1213,7 @@ import {
|
|
|
1212
1213
|
syncExternalPosts,
|
|
1213
1214
|
takeOverAutomation,
|
|
1214
1215
|
takeOverWorkflow,
|
|
1216
|
+
testAutomation,
|
|
1215
1217
|
testOAuthApp,
|
|
1216
1218
|
testWebhook,
|
|
1217
1219
|
transferVoiceCall,
|
|
@@ -2868,6 +2870,8 @@ export class Zernio {
|
|
|
2868
2870
|
listAutomationChecks: this._bind(listAutomationChecks),
|
|
2869
2871
|
listAutomationRuns: this._bind(listAutomationRuns),
|
|
2870
2872
|
getAutomationRun: this._bind(getAutomationRun),
|
|
2873
|
+
testAutomation: this._bind(testAutomation),
|
|
2874
|
+
getAutomationTestSample: this._bind(getAutomationTestSample),
|
|
2871
2875
|
previewAutomationDraft: this._bind(previewAutomationDraft),
|
|
2872
2876
|
getAutomation: this._bind(getAutomation),
|
|
2873
2877
|
updateAutomation: this._bind(updateAutomation),
|