@product-live/api-sdk 2.4.1 → 2.8.1
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/DataFactoryFileApi.md +182 -0
- package/JobApi.md +333 -0
- package/JobExecutionApi.md +185 -0
- package/README.md +80 -0
- package/TaskApi.md +375 -0
- package/TaskExecutionApi.md +130 -0
- package/VariableApi.md +315 -0
- package/apis/DataFactoryFileApi.ts +252 -133
- package/apis/JobApi.ts +412 -208
- package/apis/JobExecutionApi.ts +237 -121
- package/apis/TaskApi.ts +458 -213
- package/apis/TaskExecutionApi.ts +174 -90
- package/apis/VariableApi.ts +418 -149
- package/apis/baseapi.ts +37 -0
- package/apis/exception.ts +15 -0
- package/auth/auth.ts +107 -0
- package/configuration.ts +82 -0
- package/dist/apis/DataFactoryFileApi.d.ts +14 -19
- package/dist/apis/DataFactoryFileApi.js +340 -103
- package/dist/apis/DataFactoryFileApi.js.map +1 -1
- package/dist/apis/JobApi.d.ts +19 -31
- package/dist/apis/JobApi.js +524 -171
- package/dist/apis/JobApi.js.map +1 -1
- package/dist/apis/JobExecutionApi.d.ts +14 -18
- package/dist/apis/JobExecutionApi.js +320 -88
- package/dist/apis/JobExecutionApi.js.map +1 -1
- package/dist/apis/TaskApi.d.ts +22 -34
- package/dist/apis/TaskApi.js +584 -171
- package/dist/apis/TaskApi.js.map +1 -1
- package/dist/apis/TaskExecutionApi.d.ts +11 -13
- package/dist/apis/TaskExecutionApi.js +242 -62
- package/dist/apis/TaskExecutionApi.js.map +1 -1
- package/dist/apis/VariableApi.d.ts +20 -24
- package/dist/apis/VariableApi.js +508 -119
- package/dist/apis/VariableApi.js.map +1 -1
- package/dist/apis/baseapi.d.ts +18 -0
- package/dist/apis/baseapi.js +46 -0
- package/dist/apis/baseapi.js.map +1 -0
- package/dist/apis/exception.d.ts +10 -0
- package/dist/apis/exception.js +32 -0
- package/dist/apis/exception.js.map +1 -0
- package/dist/auth/auth.d.ts +42 -0
- package/dist/auth/auth.js +45 -0
- package/dist/auth/auth.js.map +1 -0
- package/dist/configuration.d.ts +18 -0
- package/dist/configuration.js +22 -0
- package/dist/configuration.js.map +1 -0
- package/dist/http/http.d.ts +82 -0
- package/dist/http/http.js +229 -0
- package/dist/http/http.js.map +1 -0
- package/dist/http/isomorphic-fetch.d.ts +5 -0
- package/dist/http/isomorphic-fetch.js +34 -0
- package/dist/http/isomorphic-fetch.js.map +1 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/middleware.d.ts +16 -0
- package/dist/middleware.js +18 -0
- package/dist/middleware.js.map +1 -0
- package/dist/models/CreateJobDto.d.ts +27 -24
- package/dist/models/CreateJobDto.js +77 -62
- package/dist/models/CreateJobDto.js.map +1 -1
- package/dist/models/CreateJobExecutionDto.d.ts +18 -9
- package/dist/models/CreateJobExecutionDto.js +29 -38
- package/dist/models/CreateJobExecutionDto.js.map +1 -1
- package/dist/models/CreateTaskDto.d.ts +20 -10
- package/dist/models/CreateTaskDto.js +41 -42
- package/dist/models/CreateTaskDto.js.map +1 -1
- package/dist/models/CreateVariableDto.d.ts +21 -16
- package/dist/models/CreateVariableDto.js +41 -46
- package/dist/models/CreateVariableDto.js.map +1 -1
- package/dist/models/FileDto.d.ts +22 -11
- package/dist/models/FileDto.js +47 -45
- package/dist/models/FileDto.js.map +1 -1
- package/dist/models/FindVariablesRequest.d.ts +24 -0
- package/dist/models/FindVariablesRequest.js +46 -0
- package/dist/models/FindVariablesRequest.js.map +1 -0
- package/dist/models/GetFiles200Response.d.ts +21 -0
- package/dist/models/GetFiles200Response.js +34 -0
- package/dist/models/GetFiles200Response.js.map +1 -0
- package/dist/models/GetJobExecutionById400Response.d.ts +17 -0
- package/dist/models/GetJobExecutionById400Response.js +22 -0
- package/dist/models/GetJobExecutionById400Response.js.map +1 -0
- package/dist/models/GetJobExecutions200Response.d.ts +21 -0
- package/dist/models/GetJobExecutions200Response.js +34 -0
- package/dist/models/GetJobExecutions200Response.js.map +1 -0
- package/dist/models/GetJobs200Response.d.ts +21 -0
- package/dist/models/GetJobs200Response.js +34 -0
- package/dist/models/GetJobs200Response.js.map +1 -0
- package/dist/models/GetTasks200Response.d.ts +21 -0
- package/dist/models/GetTasks200Response.js +34 -0
- package/dist/models/GetTasks200Response.js.map +1 -0
- package/dist/models/GetVariables200Response.d.ts +21 -0
- package/dist/models/GetVariables200Response.js +34 -0
- package/dist/models/GetVariables200Response.js.map +1 -0
- package/dist/models/HighOrderQuery.d.ts +20 -0
- package/dist/models/HighOrderQuery.js +28 -0
- package/dist/models/HighOrderQuery.js.map +1 -0
- package/dist/models/JobDto.d.ts +32 -28
- package/dist/models/JobDto.js +101 -74
- package/dist/models/JobDto.js.map +1 -1
- package/dist/models/JobExecutionDto.d.ts +28 -33
- package/dist/models/JobExecutionDto.js +83 -77
- package/dist/models/JobExecutionDto.js.map +1 -1
- package/dist/models/LowOrderQuery.d.ts +22 -0
- package/dist/models/LowOrderQuery.js +40 -0
- package/dist/models/LowOrderQuery.js.map +1 -0
- package/dist/models/LowOrderQueryValue.d.ts +16 -0
- package/dist/models/LowOrderQueryValue.js +15 -0
- package/dist/models/LowOrderQueryValue.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +34 -0
- package/dist/models/ObjectSerializer.js +313 -0
- package/dist/models/ObjectSerializer.js.map +1 -0
- package/dist/models/PatchTaskExecutionDto.d.ts +19 -13
- package/dist/models/PatchTaskExecutionDto.js +29 -40
- package/dist/models/PatchTaskExecutionDto.js.map +1 -1
- package/dist/models/Query.d.ts +18 -0
- package/dist/models/Query.js +22 -0
- package/dist/models/Query.js.map +1 -0
- package/dist/models/TaskDto.d.ts +25 -14
- package/dist/models/TaskDto.js +65 -54
- package/dist/models/TaskDto.js.map +1 -1
- package/dist/models/TaskExecutionDto.d.ts +25 -21
- package/dist/models/TaskExecutionDto.js +59 -58
- package/dist/models/TaskExecutionDto.js.map +1 -1
- package/dist/models/UpdateJobDto.d.ts +28 -25
- package/dist/models/UpdateJobDto.js +83 -65
- package/dist/models/UpdateJobDto.js.map +1 -1
- package/dist/models/UpdateTaskDto.d.ts +21 -11
- package/dist/models/UpdateTaskDto.js +47 -45
- package/dist/models/UpdateTaskDto.js.map +1 -1
- package/dist/models/UpdateVariableDto.d.ts +22 -17
- package/dist/models/UpdateVariableDto.js +47 -49
- package/dist/models/UpdateVariableDto.js.map +1 -1
- package/dist/models/VariableDto.d.ts +26 -20
- package/dist/models/VariableDto.js +65 -58
- package/dist/models/VariableDto.js.map +1 -1
- package/dist/models/all.d.ts +25 -0
- package/dist/models/all.js +42 -0
- package/dist/models/all.js.map +1 -0
- package/dist/rxjsStub.d.ts +10 -0
- package/dist/rxjsStub.js +33 -0
- package/dist/rxjsStub.js.map +1 -0
- package/dist/servers.d.ts +17 -0
- package/dist/servers.js +32 -0
- package/dist/servers.js.map +1 -0
- package/dist/types/ObjectParamAPI.d.ts +160 -0
- package/dist/types/ObjectParamAPI.js +129 -0
- package/dist/types/ObjectParamAPI.js.map +1 -0
- package/dist/types/ObservableAPI.d.ts +89 -0
- package/dist/types/ObservableAPI.js +642 -0
- package/dist/types/ObservableAPI.js.map +1 -0
- package/dist/types/PromiseAPI.d.ts +76 -0
- package/dist/types/PromiseAPI.js +148 -0
- package/dist/types/PromiseAPI.js.map +1 -0
- package/dist/util.d.ts +2 -0
- package/dist/util.js +29 -0
- package/dist/util.js.map +1 -0
- package/git_push.sh +51 -0
- package/http/http.ts +229 -0
- package/http/isomorphic-fetch.ts +32 -0
- package/index.ts +12 -5
- package/middleware.ts +66 -0
- package/models/CreateJobDto.ts +88 -144
- package/models/CreateJobExecutionDto.ts +29 -71
- package/models/CreateTaskDto.ts +43 -82
- package/models/CreateVariableDto.ts +46 -92
- package/models/FileDto.ts +53 -91
- package/models/FindVariablesRequest.ts +70 -0
- package/models/GetFiles200Response.ts +53 -0
- package/models/GetJobExecutionById400Response.ts +35 -0
- package/models/GetJobExecutions200Response.ts +53 -0
- package/models/GetJobs200Response.ts +53 -0
- package/models/GetTasks200Response.ts +53 -0
- package/models/GetVariables200Response.ts +53 -0
- package/models/HighOrderQuery.ts +46 -0
- package/models/JobDto.ts +117 -180
- package/models/JobExecutionDto.ts +95 -165
- package/models/LowOrderQuery.ts +60 -0
- package/models/LowOrderQueryValue.ts +29 -0
- package/models/ObjectSerializer.ts +324 -0
- package/models/PatchTaskExecutionDto.ts +36 -78
- package/models/Query.ts +38 -0
- package/models/TaskDto.ts +74 -118
- package/models/TaskExecutionDto.ts +68 -123
- package/models/UpdateJobDto.ts +95 -153
- package/models/UpdateTaskDto.ts +50 -91
- package/models/UpdateVariableDto.ts +53 -101
- package/models/VariableDto.ts +75 -128
- package/models/all.ts +25 -0
- package/package.json +35 -10
- package/rxjsStub.ts +27 -0
- package/servers.ts +55 -0
- package/types/ObjectParamAPI.ts +580 -0
- package/types/ObservableAPI.ts +701 -0
- package/types/PromiseAPI.ts +370 -0
- package/util.ts +37 -0
- package/apis/index.ts +0 -8
- package/dist/apis/index.d.ts +0 -6
- package/dist/apis/index.js +0 -23
- package/dist/apis/index.js.map +0 -1
- package/dist/models/FileControllerGetFiles200Response.d.ts +0 -14
- package/dist/models/FileControllerGetFiles200Response.js +0 -43
- package/dist/models/FileControllerGetFiles200Response.js.map +0 -1
- package/dist/models/JobControllerList200Response.d.ts +0 -14
- package/dist/models/JobControllerList200Response.js +0 -43
- package/dist/models/JobControllerList200Response.js.map +0 -1
- package/dist/models/JobDtoPeriodicityInner.d.ts +0 -8
- package/dist/models/JobDtoPeriodicityInner.js +0 -37
- package/dist/models/JobDtoPeriodicityInner.js.map +0 -1
- package/dist/models/JobDtoTasksInner.d.ts +0 -14
- package/dist/models/JobDtoTasksInner.js +0 -45
- package/dist/models/JobDtoTasksInner.js.map +0 -1
- package/dist/models/JobDtoTitleLocal.d.ts +0 -8
- package/dist/models/JobDtoTitleLocal.js +0 -37
- package/dist/models/JobDtoTitleLocal.js.map +0 -1
- package/dist/models/JobExecutionControllerGetOne400Response.d.ts +0 -7
- package/dist/models/JobExecutionControllerGetOne400Response.js +0 -35
- package/dist/models/JobExecutionControllerGetOne400Response.js.map +0 -1
- package/dist/models/JobExecutionControllerList200Response.d.ts +0 -14
- package/dist/models/JobExecutionControllerList200Response.js +0 -43
- package/dist/models/JobExecutionControllerList200Response.js.map +0 -1
- package/dist/models/JobExecutionDtoInfo.d.ts +0 -7
- package/dist/models/JobExecutionDtoInfo.js +0 -35
- package/dist/models/JobExecutionDtoInfo.js.map +0 -1
- package/dist/models/TaskControllerList200Response.d.ts +0 -14
- package/dist/models/TaskControllerList200Response.js +0 -43
- package/dist/models/TaskControllerList200Response.js.map +0 -1
- package/dist/models/TaskDtoInputKeysInner.d.ts +0 -8
- package/dist/models/TaskDtoInputKeysInner.js +0 -37
- package/dist/models/TaskDtoInputKeysInner.js.map +0 -1
- package/dist/models/VariableControllerList200Response.d.ts +0 -14
- package/dist/models/VariableControllerList200Response.js +0 -43
- package/dist/models/VariableControllerList200Response.js.map +0 -1
- package/dist/models/index.d.ts +0 -20
- package/dist/models/index.js +0 -37
- package/dist/models/index.js.map +0 -1
- package/dist/runtime.d.ts +0 -154
- package/dist/runtime.js +0 -306
- package/dist/runtime.js.map +0 -1
- package/models/ExecuteJob400Response.ts +0 -65
- package/models/ExecuteJobDto.ts +0 -97
- package/models/ExecuteJobDtoInfo.ts +0 -65
- package/models/ExecuteJobDtoJob.ts +0 -81
- package/models/FileControllerGetFiles200Response.ts +0 -98
- package/models/FileCreatedDto.ts +0 -111
- package/models/JobControllerList200Response.ts +0 -98
- package/models/JobDtoPeriodicitiesInner.ts +0 -73
- package/models/JobDtoPeriodicityInner.ts +0 -73
- package/models/JobDtoProject.ts +0 -73
- package/models/JobDtoTasksInner.ts +0 -105
- package/models/JobDtoTitleLocal.ts +0 -73
- package/models/JobExecutionControllerGetOne400Response.ts +0 -65
- package/models/JobExecutionControllerList200Response.ts +0 -98
- package/models/JobExecutionDtoEventsInner.ts +0 -89
- package/models/JobExecutionDtoInfo.ts +0 -65
- package/models/JobExecutionDtoJob.ts +0 -81
- package/models/TaskControllerList200Response.ts +0 -98
- package/models/TaskDtoInputKeysInner.ts +0 -73
- package/models/TaskInstanceDto.ts +0 -143
- package/models/TaskInstanceUpdateDto.ts +0 -107
- package/models/VariableControllerList200Response.ts +0 -98
- package/models/index.ts +0 -22
- package/runtime.ts +0 -425
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IsomorphicFetchHttpLibrary = void 0;
|
|
4
|
+
var http_1 = require("./http");
|
|
5
|
+
var rxjsStub_1 = require("../rxjsStub");
|
|
6
|
+
var node_fetch_1 = require("node-fetch");
|
|
7
|
+
var IsomorphicFetchHttpLibrary = (function () {
|
|
8
|
+
function IsomorphicFetchHttpLibrary() {
|
|
9
|
+
}
|
|
10
|
+
IsomorphicFetchHttpLibrary.prototype.send = function (request) {
|
|
11
|
+
var method = request.getHttpMethod().toString();
|
|
12
|
+
var body = request.getBody();
|
|
13
|
+
var resultPromise = (0, node_fetch_1.default)(request.getUrl(), {
|
|
14
|
+
method: method,
|
|
15
|
+
body: body,
|
|
16
|
+
headers: request.getHeaders(),
|
|
17
|
+
agent: request.getAgent(),
|
|
18
|
+
}).then(function (resp) {
|
|
19
|
+
var headers = {};
|
|
20
|
+
resp.headers.forEach(function (value, name) {
|
|
21
|
+
headers[name] = value;
|
|
22
|
+
});
|
|
23
|
+
var body = {
|
|
24
|
+
text: function () { return resp.text(); },
|
|
25
|
+
binary: function () { return resp.buffer(); }
|
|
26
|
+
};
|
|
27
|
+
return new http_1.ResponseContext(resp.status, headers, body);
|
|
28
|
+
});
|
|
29
|
+
return (0, rxjsStub_1.from)(resultPromise);
|
|
30
|
+
};
|
|
31
|
+
return IsomorphicFetchHttpLibrary;
|
|
32
|
+
}());
|
|
33
|
+
exports.IsomorphicFetchHttpLibrary = IsomorphicFetchHttpLibrary;
|
|
34
|
+
//# sourceMappingURL=isomorphic-fetch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isomorphic-fetch.js","sourceRoot":"","sources":["../../http/isomorphic-fetch.ts"],"names":[],"mappings":";;;AAAA,+BAAoE;AACpE,wCAA+C;AAC/C,yCAA+B;AAE/B;IAAA;IA2BA,CAAC;IAzBU,yCAAI,GAAX,UAAY,OAAuB;QAC/B,IAAI,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,QAAQ,EAAE,CAAC;QAChD,IAAI,IAAI,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;QAE7B,IAAM,aAAa,GAAG,IAAA,oBAAK,EAAC,OAAO,CAAC,MAAM,EAAE,EAAE;YAC1C,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAW;YACjB,OAAO,EAAE,OAAO,CAAC,UAAU,EAAE;YAC7B,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE;SAC5B,CAAC,CAAC,IAAI,CAAC,UAAC,IAAS;YACd,IAAM,OAAO,GAA+B,EAAE,CAAC;YAC/C,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,UAAC,KAAa,EAAE,IAAY;gBAC/C,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;YACxB,CAAC,CAAC,CAAC;YAEH,IAAM,IAAI,GAAG;gBACX,IAAI,EAAE,cAAM,OAAA,IAAI,CAAC,IAAI,EAAE,EAAX,CAAW;gBACvB,MAAM,EAAE,cAAM,OAAA,IAAI,CAAC,MAAM,EAAE,EAAb,CAAa;aAC5B,CAAC;YACF,OAAO,IAAI,sBAAe,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QAC3D,CAAC,CAAC,CAAC;QAEH,OAAO,IAAA,eAAI,EAA2B,aAAa,CAAC,CAAC;IAEzD,CAAC;IACL,iCAAC;AAAD,CAAC,AA3BD,IA2BC;AA3BY,gEAA0B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from "./http/http";
|
|
2
|
+
export * from "./auth/auth";
|
|
3
|
+
export * from "./models/all";
|
|
4
|
+
export { createConfiguration } from "./configuration";
|
|
5
|
+
export { Configuration } from "./configuration";
|
|
6
|
+
export * from "./apis/exception";
|
|
7
|
+
export * from "./servers";
|
|
8
|
+
export { RequiredError } from "./apis/baseapi";
|
|
9
|
+
export { PromiseMiddleware as Middleware } from './middleware';
|
|
10
|
+
export { PromiseDataFactoryFileApi as DataFactoryFileApi, PromiseJobApi as JobApi, PromiseJobExecutionApi as JobExecutionApi, PromiseTaskApi as TaskApi, PromiseTaskExecutionApi as TaskExecutionApi, PromiseVariableApi as VariableApi } from './types/PromiseAPI';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
17
|
+
exports.VariableApi = exports.TaskExecutionApi = exports.TaskApi = exports.JobExecutionApi = exports.JobApi = exports.DataFactoryFileApi = exports.RequiredError = exports.createConfiguration = void 0;
|
|
18
|
+
__exportStar(require("./http/http"), exports);
|
|
19
|
+
__exportStar(require("./auth/auth"), exports);
|
|
20
|
+
__exportStar(require("./models/all"), exports);
|
|
21
|
+
var configuration_1 = require("./configuration");
|
|
22
|
+
Object.defineProperty(exports, "createConfiguration", { enumerable: true, get: function () { return configuration_1.createConfiguration; } });
|
|
23
|
+
__exportStar(require("./apis/exception"), exports);
|
|
24
|
+
__exportStar(require("./servers"), exports);
|
|
25
|
+
var baseapi_1 = require("./apis/baseapi");
|
|
26
|
+
Object.defineProperty(exports, "RequiredError", { enumerable: true, get: function () { return baseapi_1.RequiredError; } });
|
|
27
|
+
var PromiseAPI_1 = require("./types/PromiseAPI");
|
|
28
|
+
Object.defineProperty(exports, "DataFactoryFileApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseDataFactoryFileApi; } });
|
|
29
|
+
Object.defineProperty(exports, "JobApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseJobApi; } });
|
|
30
|
+
Object.defineProperty(exports, "JobExecutionApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseJobExecutionApi; } });
|
|
31
|
+
Object.defineProperty(exports, "TaskApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseTaskApi; } });
|
|
32
|
+
Object.defineProperty(exports, "TaskExecutionApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseTaskExecutionApi; } });
|
|
33
|
+
Object.defineProperty(exports, "VariableApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseVariableApi; } });
|
|
20
34
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,iDAAyQ;AAAhQ,gHAAA,yBAAyB,OAAsB;AAAG,oGAAA,aAAa,OAAU;AAAG,6GAAA,sBAAsB,OAAmB;AAAG,qGAAA,cAAc,OAAW;AAAG,8GAAA,uBAAuB,OAAoB;AAAG,yGAAA,kBAAkB,OAAe"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RequestContext, ResponseContext } from './http/http';
|
|
2
|
+
import { Observable } from './rxjsStub';
|
|
3
|
+
export interface Middleware {
|
|
4
|
+
pre(context: RequestContext): Observable<RequestContext>;
|
|
5
|
+
post(context: ResponseContext): Observable<ResponseContext>;
|
|
6
|
+
}
|
|
7
|
+
export declare class PromiseMiddlewareWrapper implements Middleware {
|
|
8
|
+
private middleware;
|
|
9
|
+
constructor(middleware: PromiseMiddleware);
|
|
10
|
+
pre(context: RequestContext): Observable<RequestContext>;
|
|
11
|
+
post(context: ResponseContext): Observable<ResponseContext>;
|
|
12
|
+
}
|
|
13
|
+
export interface PromiseMiddleware {
|
|
14
|
+
pre(context: RequestContext): Promise<RequestContext>;
|
|
15
|
+
post(context: ResponseContext): Promise<ResponseContext>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PromiseMiddlewareWrapper = void 0;
|
|
4
|
+
var rxjsStub_1 = require("./rxjsStub");
|
|
5
|
+
var PromiseMiddlewareWrapper = (function () {
|
|
6
|
+
function PromiseMiddlewareWrapper(middleware) {
|
|
7
|
+
this.middleware = middleware;
|
|
8
|
+
}
|
|
9
|
+
PromiseMiddlewareWrapper.prototype.pre = function (context) {
|
|
10
|
+
return (0, rxjsStub_1.from)(this.middleware.pre(context));
|
|
11
|
+
};
|
|
12
|
+
PromiseMiddlewareWrapper.prototype.post = function (context) {
|
|
13
|
+
return (0, rxjsStub_1.from)(this.middleware.post(context));
|
|
14
|
+
};
|
|
15
|
+
return PromiseMiddlewareWrapper;
|
|
16
|
+
}());
|
|
17
|
+
exports.PromiseMiddlewareWrapper = PromiseMiddlewareWrapper;
|
|
18
|
+
//# sourceMappingURL=middleware.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"middleware.js","sourceRoot":"","sources":["../middleware.ts"],"names":[],"mappings":";;;AACA,uCAA8C;AA0B9C;IAEI,kCAA2B,UAA6B;QAA7B,eAAU,GAAV,UAAU,CAAmB;IAExD,CAAC;IAED,sCAAG,GAAH,UAAI,OAAuB;QACvB,OAAO,IAAA,eAAI,EAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9C,CAAC;IAED,uCAAI,GAAJ,UAAK,OAAwB;QACzB,OAAO,IAAA,eAAI,EAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/C,CAAC;IAEL,+BAAC;AAAD,CAAC,AAdD,IAcC;AAdY,4DAAwB"}
|
|
@@ -1,27 +1,30 @@
|
|
|
1
|
-
export
|
|
2
|
-
key: string;
|
|
3
|
-
periodicity?: Array<
|
|
4
|
-
pipelineId: string;
|
|
5
|
-
projectId: string;
|
|
6
|
-
status: CreateJobDtoStatusEnum;
|
|
7
|
-
title: string;
|
|
8
|
-
titleLocal?:
|
|
9
|
-
description?: string;
|
|
10
|
-
descriptionLocal?:
|
|
11
|
-
output?: {
|
|
1
|
+
export declare class CreateJobDto {
|
|
2
|
+
'key': string;
|
|
3
|
+
'periodicity'?: Array<any>;
|
|
4
|
+
'pipelineId': string;
|
|
5
|
+
'projectId': string;
|
|
6
|
+
'status': CreateJobDtoStatusEnum;
|
|
7
|
+
'title': string;
|
|
8
|
+
'titleLocal'?: any;
|
|
9
|
+
'description'?: string;
|
|
10
|
+
'descriptionLocal'?: any;
|
|
11
|
+
'output'?: {
|
|
12
12
|
[key: string]: any;
|
|
13
13
|
};
|
|
14
|
-
tasks?: Array<
|
|
14
|
+
'tasks'?: Array<any>;
|
|
15
|
+
static readonly discriminator: string | undefined;
|
|
16
|
+
static readonly attributeTypeMap: Array<{
|
|
17
|
+
name: string;
|
|
18
|
+
baseName: string;
|
|
19
|
+
type: string;
|
|
20
|
+
format: string;
|
|
21
|
+
}>;
|
|
22
|
+
static getAttributeTypeMap(): {
|
|
23
|
+
name: string;
|
|
24
|
+
baseName: string;
|
|
25
|
+
type: string;
|
|
26
|
+
format: string;
|
|
27
|
+
}[];
|
|
28
|
+
constructor();
|
|
15
29
|
}
|
|
16
|
-
export
|
|
17
|
-
readonly Draft: "DRAFT";
|
|
18
|
-
readonly Production: "PRODUCTION";
|
|
19
|
-
readonly Deprecated: "DEPRECATED";
|
|
20
|
-
readonly Archived: "ARCHIVED";
|
|
21
|
-
readonly Removed: "REMOVED";
|
|
22
|
-
};
|
|
23
|
-
export type CreateJobDtoStatusEnum = typeof CreateJobDtoStatusEnum[keyof typeof CreateJobDtoStatusEnum];
|
|
24
|
-
export declare function instanceOfCreateJobDto(value: object): boolean;
|
|
25
|
-
export declare function CreateJobDtoFromJSON(json: any): CreateJobDto;
|
|
26
|
-
export declare function CreateJobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateJobDto;
|
|
27
|
-
export declare function CreateJobDtoToJSON(value?: CreateJobDto | null): any;
|
|
30
|
+
export type CreateJobDtoStatusEnum = "DRAFT" | "PRODUCTION" | "DEPRECATED" | "ARCHIVED" | "REMOVED";
|
|
@@ -1,67 +1,82 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Draft: 'DRAFT',
|
|
7
|
-
Production: 'PRODUCTION',
|
|
8
|
-
Deprecated: 'DEPRECATED',
|
|
9
|
-
Archived: 'ARCHIVED',
|
|
10
|
-
Removed: 'REMOVED'
|
|
11
|
-
};
|
|
12
|
-
function instanceOfCreateJobDto(value) {
|
|
13
|
-
let isInstance = true;
|
|
14
|
-
isInstance = isInstance && "key" in value;
|
|
15
|
-
isInstance = isInstance && "pipelineId" in value;
|
|
16
|
-
isInstance = isInstance && "projectId" in value;
|
|
17
|
-
isInstance = isInstance && "status" in value;
|
|
18
|
-
isInstance = isInstance && "title" in value;
|
|
19
|
-
return isInstance;
|
|
20
|
-
}
|
|
21
|
-
exports.instanceOfCreateJobDto = instanceOfCreateJobDto;
|
|
22
|
-
function CreateJobDtoFromJSON(json) {
|
|
23
|
-
return CreateJobDtoFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
exports.CreateJobDtoFromJSON = CreateJobDtoFromJSON;
|
|
26
|
-
function CreateJobDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if ((json === undefined) || (json === null)) {
|
|
28
|
-
return json;
|
|
3
|
+
exports.CreateJobDto = void 0;
|
|
4
|
+
var CreateJobDto = (function () {
|
|
5
|
+
function CreateJobDto() {
|
|
29
6
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
'periodicity': !(0, runtime_1.exists)(json, 'periodicity') ? undefined : json['periodicity'],
|
|
33
|
-
'pipelineId': json['pipelineId'],
|
|
34
|
-
'projectId': json['projectId'],
|
|
35
|
-
'status': json['status'],
|
|
36
|
-
'title': json['title'],
|
|
37
|
-
'titleLocal': !(0, runtime_1.exists)(json, 'titleLocal') ? undefined : json['titleLocal'],
|
|
38
|
-
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
39
|
-
'descriptionLocal': !(0, runtime_1.exists)(json, 'descriptionLocal') ? undefined : json['descriptionLocal'],
|
|
40
|
-
'output': !(0, runtime_1.exists)(json, 'output') ? undefined : json['output'],
|
|
41
|
-
'tasks': !(0, runtime_1.exists)(json, 'tasks') ? undefined : json['tasks'],
|
|
7
|
+
CreateJobDto.getAttributeTypeMap = function () {
|
|
8
|
+
return CreateJobDto.attributeTypeMap;
|
|
42
9
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
10
|
+
CreateJobDto.discriminator = undefined;
|
|
11
|
+
CreateJobDto.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "key",
|
|
14
|
+
"baseName": "key",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": ""
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "periodicity",
|
|
20
|
+
"baseName": "periodicity",
|
|
21
|
+
"type": "Array<any>",
|
|
22
|
+
"format": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "pipelineId",
|
|
26
|
+
"baseName": "pipelineId",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"format": ""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "projectId",
|
|
32
|
+
"baseName": "projectId",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": ""
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "status",
|
|
38
|
+
"baseName": "status",
|
|
39
|
+
"type": "CreateJobDtoStatusEnum",
|
|
40
|
+
"format": ""
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "title",
|
|
44
|
+
"baseName": "title",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"format": ""
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "titleLocal",
|
|
50
|
+
"baseName": "titleLocal",
|
|
51
|
+
"type": "any",
|
|
52
|
+
"format": ""
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "description",
|
|
56
|
+
"baseName": "description",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"format": ""
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "descriptionLocal",
|
|
62
|
+
"baseName": "descriptionLocal",
|
|
63
|
+
"type": "any",
|
|
64
|
+
"format": ""
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "output",
|
|
68
|
+
"baseName": "output",
|
|
69
|
+
"type": "{ [key: string]: any; }",
|
|
70
|
+
"format": ""
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "tasks",
|
|
74
|
+
"baseName": "tasks",
|
|
75
|
+
"type": "Array<any>",
|
|
76
|
+
"format": ""
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
return CreateJobDto;
|
|
80
|
+
}());
|
|
81
|
+
exports.CreateJobDto = CreateJobDto;
|
|
67
82
|
//# sourceMappingURL=CreateJobDto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateJobDto.js","sourceRoot":"","sources":["../../models/CreateJobDto.ts"],"names":[],"mappings":";;;AAcA,
|
|
1
|
+
{"version":3,"file":"CreateJobDto.js","sourceRoot":"","sources":["../../models/CreateJobDto.ts"],"names":[],"mappings":";;;AAcA;IAuFI;IACA,CAAC;IALM,gCAAmB,GAA1B;QACI,OAAO,YAAY,CAAC,gBAAgB,CAAC;IACzC,CAAC;IAxEe,0BAAa,GAAuB,SAAS,CAAC;IAE9C,6BAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,KAAK;YACb,UAAU,EAAE,KAAK;YACjB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,aAAa;YACzB,MAAM,EAAE,YAAY;YACpB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,WAAW;YACvB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,wBAAwB;YAChC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,aAAa;YACzB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,kBAAkB;YAC1B,UAAU,EAAE,kBAAkB;YAC9B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,YAAY;YACpB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,mBAAC;CAAA,AAzFD,IAyFC;AAzFY,oCAAY"}
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
export
|
|
2
|
-
jobId: string;
|
|
3
|
-
info:
|
|
4
|
-
|
|
5
|
-
input?: {
|
|
1
|
+
export declare class CreateJobExecutionDto {
|
|
2
|
+
'jobId': string;
|
|
3
|
+
'info': any;
|
|
4
|
+
'input'?: {
|
|
6
5
|
[key: string]: any;
|
|
7
6
|
};
|
|
7
|
+
static readonly discriminator: string | undefined;
|
|
8
|
+
static readonly attributeTypeMap: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
baseName: string;
|
|
11
|
+
type: string;
|
|
12
|
+
format: string;
|
|
13
|
+
}>;
|
|
14
|
+
static getAttributeTypeMap(): {
|
|
15
|
+
name: string;
|
|
16
|
+
baseName: string;
|
|
17
|
+
type: string;
|
|
18
|
+
format: string;
|
|
19
|
+
}[];
|
|
20
|
+
constructor();
|
|
8
21
|
}
|
|
9
|
-
export declare function instanceOfCreateJobExecutionDto(value: object): boolean;
|
|
10
|
-
export declare function CreateJobExecutionDtoFromJSON(json: any): CreateJobExecutionDto;
|
|
11
|
-
export declare function CreateJobExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateJobExecutionDto;
|
|
12
|
-
export declare function CreateJobExecutionDtoToJSON(value?: CreateJobExecutionDto | null): any;
|
|
@@ -1,43 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
let isInstance = true;
|
|
7
|
-
isInstance = isInstance && "jobId" in value;
|
|
8
|
-
isInstance = isInstance && "info" in value;
|
|
9
|
-
return isInstance;
|
|
10
|
-
}
|
|
11
|
-
exports.instanceOfCreateJobExecutionDto = instanceOfCreateJobExecutionDto;
|
|
12
|
-
function CreateJobExecutionDtoFromJSON(json) {
|
|
13
|
-
return CreateJobExecutionDtoFromJSONTyped(json, false);
|
|
14
|
-
}
|
|
15
|
-
exports.CreateJobExecutionDtoFromJSON = CreateJobExecutionDtoFromJSON;
|
|
16
|
-
function CreateJobExecutionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
-
if ((json === undefined) || (json === null)) {
|
|
18
|
-
return json;
|
|
3
|
+
exports.CreateJobExecutionDto = void 0;
|
|
4
|
+
var CreateJobExecutionDto = (function () {
|
|
5
|
+
function CreateJobExecutionDto() {
|
|
19
6
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
'info': json['info'],
|
|
23
|
-
'pipelineId': !(0, runtime_1.exists)(json, 'pipelineId') ? undefined : json['pipelineId'],
|
|
24
|
-
'input': !(0, runtime_1.exists)(json, 'input') ? undefined : json['input'],
|
|
7
|
+
CreateJobExecutionDto.getAttributeTypeMap = function () {
|
|
8
|
+
return CreateJobExecutionDto.attributeTypeMap;
|
|
25
9
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
10
|
+
CreateJobExecutionDto.discriminator = undefined;
|
|
11
|
+
CreateJobExecutionDto.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "jobId",
|
|
14
|
+
"baseName": "jobId",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": ""
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "info",
|
|
20
|
+
"baseName": "info",
|
|
21
|
+
"type": "any",
|
|
22
|
+
"format": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "input",
|
|
26
|
+
"baseName": "input",
|
|
27
|
+
"type": "{ [key: string]: any; }",
|
|
28
|
+
"format": ""
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
return CreateJobExecutionDto;
|
|
32
|
+
}());
|
|
33
|
+
exports.CreateJobExecutionDto = CreateJobExecutionDto;
|
|
43
34
|
//# sourceMappingURL=CreateJobExecutionDto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateJobExecutionDto.js","sourceRoot":"","sources":["../../models/CreateJobExecutionDto.ts"],"names":[],"mappings":";;;AAcA
|
|
1
|
+
{"version":3,"file":"CreateJobExecutionDto.js","sourceRoot":"","sources":["../../models/CreateJobExecutionDto.ts"],"names":[],"mappings":";;;AAcA;IA+BI;IACA,CAAC;IALM,yCAAmB,GAA1B;QACI,OAAO,qBAAqB,CAAC,gBAAgB,CAAC;IAClD,CAAC;IAxBe,mCAAa,GAAuB,SAAS,CAAC;IAE9C,sCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,4BAAC;CAAA,AAjCD,IAiCC;AAjCY,sDAAqB"}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
export
|
|
2
|
-
key: string;
|
|
3
|
-
description: string;
|
|
4
|
-
retryCount: number;
|
|
5
|
-
inputKeys: Array<
|
|
6
|
-
outputKeys: Array<
|
|
1
|
+
export declare class CreateTaskDto {
|
|
2
|
+
'key': string;
|
|
3
|
+
'description': string;
|
|
4
|
+
'retryCount': number;
|
|
5
|
+
'inputKeys': Array<any>;
|
|
6
|
+
'outputKeys': Array<any>;
|
|
7
|
+
static readonly discriminator: string | undefined;
|
|
8
|
+
static readonly attributeTypeMap: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
baseName: string;
|
|
11
|
+
type: string;
|
|
12
|
+
format: string;
|
|
13
|
+
}>;
|
|
14
|
+
static getAttributeTypeMap(): {
|
|
15
|
+
name: string;
|
|
16
|
+
baseName: string;
|
|
17
|
+
type: string;
|
|
18
|
+
format: string;
|
|
19
|
+
}[];
|
|
20
|
+
constructor();
|
|
7
21
|
}
|
|
8
|
-
export declare function instanceOfCreateTaskDto(value: object): boolean;
|
|
9
|
-
export declare function CreateTaskDtoFromJSON(json: any): CreateTaskDto;
|
|
10
|
-
export declare function CreateTaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTaskDto;
|
|
11
|
-
export declare function CreateTaskDtoToJSON(value?: CreateTaskDto | null): any;
|
|
@@ -1,47 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
isInstance = isInstance && "key" in value;
|
|
7
|
-
isInstance = isInstance && "description" in value;
|
|
8
|
-
isInstance = isInstance && "retryCount" in value;
|
|
9
|
-
isInstance = isInstance && "inputKeys" in value;
|
|
10
|
-
isInstance = isInstance && "outputKeys" in value;
|
|
11
|
-
return isInstance;
|
|
12
|
-
}
|
|
13
|
-
exports.instanceOfCreateTaskDto = instanceOfCreateTaskDto;
|
|
14
|
-
function CreateTaskDtoFromJSON(json) {
|
|
15
|
-
return CreateTaskDtoFromJSONTyped(json, false);
|
|
16
|
-
}
|
|
17
|
-
exports.CreateTaskDtoFromJSON = CreateTaskDtoFromJSON;
|
|
18
|
-
function CreateTaskDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
-
if ((json === undefined) || (json === null)) {
|
|
20
|
-
return json;
|
|
3
|
+
exports.CreateTaskDto = void 0;
|
|
4
|
+
var CreateTaskDto = (function () {
|
|
5
|
+
function CreateTaskDto() {
|
|
21
6
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
'description': json['description'],
|
|
25
|
-
'retryCount': json['retryCount'],
|
|
26
|
-
'inputKeys': json['inputKeys'],
|
|
27
|
-
'outputKeys': json['outputKeys'],
|
|
7
|
+
CreateTaskDto.getAttributeTypeMap = function () {
|
|
8
|
+
return CreateTaskDto.attributeTypeMap;
|
|
28
9
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
10
|
+
CreateTaskDto.discriminator = undefined;
|
|
11
|
+
CreateTaskDto.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "key",
|
|
14
|
+
"baseName": "key",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": ""
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "description",
|
|
20
|
+
"baseName": "description",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "retryCount",
|
|
26
|
+
"baseName": "retryCount",
|
|
27
|
+
"type": "number",
|
|
28
|
+
"format": ""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "inputKeys",
|
|
32
|
+
"baseName": "inputKeys",
|
|
33
|
+
"type": "Array<any>",
|
|
34
|
+
"format": ""
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "outputKeys",
|
|
38
|
+
"baseName": "outputKeys",
|
|
39
|
+
"type": "Array<any>",
|
|
40
|
+
"format": ""
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
return CreateTaskDto;
|
|
44
|
+
}());
|
|
45
|
+
exports.CreateTaskDto = CreateTaskDto;
|
|
47
46
|
//# sourceMappingURL=CreateTaskDto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTaskDto.js","sourceRoot":"","sources":["../../models/CreateTaskDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateTaskDto.js","sourceRoot":"","sources":["../../models/CreateTaskDto.ts"],"names":[],"mappings":";;;AAcA;IA6CI;IACA,CAAC;IALM,iCAAmB,GAA1B;QACI,OAAO,aAAa,CAAC,gBAAgB,CAAC;IAC1C,CAAC;IApCe,2BAAa,GAAuB,SAAS,CAAC;IAE9C,8BAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,KAAK;YACb,UAAU,EAAE,KAAK;YACjB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,aAAa;YACzB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,WAAW;YACvB,MAAM,EAAE,YAAY;YACpB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,YAAY;YACpB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,oBAAC;CAAA,AA/CD,IA+CC;AA/CY,sCAAa"}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
export
|
|
2
|
-
key: string;
|
|
3
|
-
name: string;
|
|
4
|
-
status?: CreateVariableDtoStatusEnum;
|
|
5
|
-
value: string;
|
|
6
|
-
secret?: boolean;
|
|
1
|
+
export declare class CreateVariableDto {
|
|
2
|
+
'key': string;
|
|
3
|
+
'name': string;
|
|
4
|
+
'status'?: CreateVariableDtoStatusEnum;
|
|
5
|
+
'value': string;
|
|
6
|
+
'secret'?: boolean;
|
|
7
|
+
static readonly discriminator: string | undefined;
|
|
8
|
+
static readonly attributeTypeMap: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
baseName: string;
|
|
11
|
+
type: string;
|
|
12
|
+
format: string;
|
|
13
|
+
}>;
|
|
14
|
+
static getAttributeTypeMap(): {
|
|
15
|
+
name: string;
|
|
16
|
+
baseName: string;
|
|
17
|
+
type: string;
|
|
18
|
+
format: string;
|
|
19
|
+
}[];
|
|
20
|
+
constructor();
|
|
7
21
|
}
|
|
8
|
-
export
|
|
9
|
-
readonly Active: "ACTIVE";
|
|
10
|
-
readonly Archived: "ARCHIVED";
|
|
11
|
-
readonly Deleted: "DELETED";
|
|
12
|
-
};
|
|
13
|
-
export type CreateVariableDtoStatusEnum = typeof CreateVariableDtoStatusEnum[keyof typeof CreateVariableDtoStatusEnum];
|
|
14
|
-
export declare function instanceOfCreateVariableDto(value: object): boolean;
|
|
15
|
-
export declare function CreateVariableDtoFromJSON(json: any): CreateVariableDto;
|
|
16
|
-
export declare function CreateVariableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVariableDto;
|
|
17
|
-
export declare function CreateVariableDtoToJSON(value?: CreateVariableDto | null): any;
|
|
22
|
+
export type CreateVariableDtoStatusEnum = "ACTIVE" | "ARCHIVED" | "DELETED";
|