@product-live/api-sdk 2.5.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 +414 -201
- package/apis/JobExecutionApi.ts +237 -121
- package/apis/TaskApi.ts +458 -213
- package/apis/TaskExecutionApi.ts +174 -90
- package/apis/VariableApi.ts +406 -195
- 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 -30
- package/dist/apis/JobApi.js +524 -165
- 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 -31
- package/dist/apis/VariableApi.js +506 -153
- 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 -8
- package/dist/models/CreateJobExecutionDto.js +29 -36
- 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 -15
- package/dist/models/FileDto.js +47 -48
- package/dist/models/FileDto.js.map +1 -1
- package/dist/models/FindVariablesRequest.d.ts +24 -7
- package/dist/models/FindVariablesRequest.js +42 -33
- package/dist/models/FindVariablesRequest.js.map +1 -1
- package/dist/models/GetFiles200Response.d.ts +20 -13
- package/dist/models/GetFiles200Response.js +29 -38
- package/dist/models/GetFiles200Response.js.map +1 -1
- package/dist/models/GetJobExecutionById400Response.d.ts +16 -6
- package/dist/models/GetJobExecutionById400Response.js +17 -30
- package/dist/models/GetJobExecutionById400Response.js.map +1 -1
- package/dist/models/GetJobExecutions200Response.d.ts +20 -13
- package/dist/models/GetJobExecutions200Response.js +29 -38
- package/dist/models/GetJobExecutions200Response.js.map +1 -1
- package/dist/models/GetJobs200Response.d.ts +20 -13
- package/dist/models/GetJobs200Response.js +29 -38
- package/dist/models/GetJobs200Response.js.map +1 -1
- package/dist/models/GetTasks200Response.d.ts +20 -13
- package/dist/models/GetTasks200Response.js +29 -38
- package/dist/models/GetTasks200Response.js.map +1 -1
- package/dist/models/GetVariables200Response.d.ts +20 -13
- package/dist/models/GetVariables200Response.js +29 -38
- package/dist/models/GetVariables200Response.js.map +1 -1
- package/dist/models/HighOrderQuery.d.ts +19 -13
- package/dist/models/HighOrderQuery.js +23 -37
- package/dist/models/HighOrderQuery.js.map +1 -1
- package/dist/models/JobDto.d.ts +32 -32
- package/dist/models/JobDto.js +101 -77
- package/dist/models/JobDto.js.map +1 -1
- package/dist/models/JobExecutionDto.d.ts +28 -21
- package/dist/models/JobExecutionDto.js +83 -66
- package/dist/models/JobExecutionDto.js.map +1 -1
- package/dist/models/LowOrderQuery.d.ts +21 -22
- package/dist/models/LowOrderQuery.js +35 -49
- package/dist/models/LowOrderQuery.js.map +1 -1
- 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 +17 -20
- package/dist/models/Query.js +17 -43
- package/dist/models/Query.js.map +1 -1
- package/dist/models/TaskDto.d.ts +25 -18
- package/dist/models/TaskDto.js +65 -57
- package/dist/models/TaskDto.js.map +1 -1
- package/dist/models/TaskExecutionDto.d.ts +25 -25
- package/dist/models/TaskExecutionDto.js +59 -61
- 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 -24
- package/dist/models/VariableDto.js +65 -61
- 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 -63
- package/models/CreateTaskDto.ts +43 -82
- package/models/CreateVariableDto.ts +46 -92
- package/models/FileDto.ts +53 -101
- package/models/FindVariablesRequest.ts +50 -55
- package/models/GetFiles200Response.ts +37 -82
- package/models/GetJobExecutionById400Response.ts +15 -45
- package/models/GetJobExecutions200Response.ts +37 -82
- package/models/GetJobs200Response.ts +37 -82
- package/models/GetTasks200Response.ts +37 -82
- package/models/GetVariables200Response.ts +37 -82
- package/models/HighOrderQuery.ts +30 -75
- package/models/JobDto.ts +117 -188
- package/models/JobExecutionDto.ts +95 -154
- package/models/LowOrderQuery.ts +44 -99
- package/models/LowOrderQueryValue.ts +29 -0
- package/models/ObjectSerializer.ts +324 -0
- package/models/PatchTaskExecutionDto.ts +36 -78
- package/models/Query.ts +18 -65
- package/models/TaskDto.ts +74 -128
- package/models/TaskExecutionDto.ts +68 -131
- package/models/UpdateJobDto.ts +95 -153
- package/models/UpdateTaskDto.ts +50 -91
- package/models/UpdateVariableDto.ts +53 -101
- package/models/VariableDto.ts +75 -136
- 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 -24
- package/dist/models/index.js +0 -41
- 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 -26
- package/runtime.ts +0 -425
package/models/UpdateJobDto.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
1
|
/**
|
|
4
2
|
* Product-Live API
|
|
5
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
4
|
*
|
|
7
|
-
*
|
|
5
|
+
* OpenAPI spec version: 2.8.1
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,162 +10,106 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UpdateJobDto
|
|
20
|
-
*/
|
|
21
|
-
export interface UpdateJobDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UpdateJobDto
|
|
26
|
-
*/
|
|
27
|
-
key: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Array<object>}
|
|
31
|
-
* @memberof UpdateJobDto
|
|
32
|
-
*/
|
|
33
|
-
periodicity?: Array<object>;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof UpdateJobDto
|
|
38
|
-
*/
|
|
39
|
-
pipelineId: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof UpdateJobDto
|
|
44
|
-
*/
|
|
45
|
-
projectId: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof UpdateJobDto
|
|
50
|
-
*/
|
|
51
|
-
status: UpdateJobDtoStatusEnum;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof UpdateJobDto
|
|
56
|
-
*/
|
|
57
|
-
title: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {object}
|
|
61
|
-
* @memberof UpdateJobDto
|
|
62
|
-
*/
|
|
63
|
-
titleLocal?: object;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof UpdateJobDto
|
|
68
|
-
*/
|
|
69
|
-
description?: string;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {object}
|
|
73
|
-
* @memberof UpdateJobDto
|
|
74
|
-
*/
|
|
75
|
-
descriptionLocal?: object;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {{ [key: string]: any; }}
|
|
79
|
-
* @memberof UpdateJobDto
|
|
80
|
-
*/
|
|
81
|
-
output?: { [key: string]: any; };
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {Array<object>}
|
|
85
|
-
* @memberof UpdateJobDto
|
|
86
|
-
*/
|
|
87
|
-
tasks?: Array<object>;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof UpdateJobDto
|
|
92
|
-
*/
|
|
93
|
-
id: string;
|
|
94
|
-
}
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
95
14
|
|
|
15
|
+
export class UpdateJobDto {
|
|
16
|
+
'key': string;
|
|
17
|
+
'periodicity'?: Array<any>;
|
|
18
|
+
'pipelineId': string;
|
|
19
|
+
'projectId': string;
|
|
20
|
+
'status': UpdateJobDtoStatusEnum;
|
|
21
|
+
'title': string;
|
|
22
|
+
'titleLocal'?: any;
|
|
23
|
+
'description'?: string;
|
|
24
|
+
'descriptionLocal'?: any;
|
|
25
|
+
'output'?: { [key: string]: any; };
|
|
26
|
+
'tasks'?: Array<any>;
|
|
27
|
+
'id': string;
|
|
96
28
|
|
|
97
|
-
|
|
98
|
-
* @export
|
|
99
|
-
*/
|
|
100
|
-
export const UpdateJobDtoStatusEnum = {
|
|
101
|
-
Draft: 'DRAFT',
|
|
102
|
-
Production: 'PRODUCTION',
|
|
103
|
-
Deprecated: 'DEPRECATED',
|
|
104
|
-
Archived: 'ARCHIVED',
|
|
105
|
-
Removed: 'REMOVED'
|
|
106
|
-
} as const;
|
|
107
|
-
export type UpdateJobDtoStatusEnum = typeof UpdateJobDtoStatusEnum[keyof typeof UpdateJobDtoStatusEnum];
|
|
108
|
-
|
|
29
|
+
static readonly discriminator: string | undefined = undefined;
|
|
109
30
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
31
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
32
|
+
{
|
|
33
|
+
"name": "key",
|
|
34
|
+
"baseName": "key",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "periodicity",
|
|
40
|
+
"baseName": "periodicity",
|
|
41
|
+
"type": "Array<any>",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "pipelineId",
|
|
46
|
+
"baseName": "pipelineId",
|
|
47
|
+
"type": "string",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "projectId",
|
|
52
|
+
"baseName": "projectId",
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "status",
|
|
58
|
+
"baseName": "status",
|
|
59
|
+
"type": "UpdateJobDtoStatusEnum",
|
|
60
|
+
"format": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "title",
|
|
64
|
+
"baseName": "title",
|
|
65
|
+
"type": "string",
|
|
66
|
+
"format": ""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "titleLocal",
|
|
70
|
+
"baseName": "titleLocal",
|
|
71
|
+
"type": "any",
|
|
72
|
+
"format": ""
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "description",
|
|
76
|
+
"baseName": "description",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"format": ""
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "descriptionLocal",
|
|
82
|
+
"baseName": "descriptionLocal",
|
|
83
|
+
"type": "any",
|
|
84
|
+
"format": ""
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "output",
|
|
88
|
+
"baseName": "output",
|
|
89
|
+
"type": "{ [key: string]: any; }",
|
|
90
|
+
"format": ""
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "tasks",
|
|
94
|
+
"baseName": "tasks",
|
|
95
|
+
"type": "Array<any>",
|
|
96
|
+
"format": ""
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "id",
|
|
100
|
+
"baseName": "id",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"format": ""
|
|
103
|
+
} ];
|
|
121
104
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export function UpdateJobDtoFromJSON(json: any): UpdateJobDto {
|
|
126
|
-
return UpdateJobDtoFromJSONTyped(json, false);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export function UpdateJobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateJobDto {
|
|
130
|
-
if ((json === undefined) || (json === null)) {
|
|
131
|
-
return json;
|
|
105
|
+
static getAttributeTypeMap() {
|
|
106
|
+
return UpdateJobDto.attributeTypeMap;
|
|
132
107
|
}
|
|
133
|
-
return {
|
|
134
|
-
|
|
135
|
-
'key': json['key'],
|
|
136
|
-
'periodicity': !exists(json, 'periodicity') ? undefined : json['periodicity'],
|
|
137
|
-
'pipelineId': json['pipelineId'],
|
|
138
|
-
'projectId': json['projectId'],
|
|
139
|
-
'status': json['status'],
|
|
140
|
-
'title': json['title'],
|
|
141
|
-
'titleLocal': !exists(json, 'titleLocal') ? undefined : json['titleLocal'],
|
|
142
|
-
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
143
|
-
'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : json['descriptionLocal'],
|
|
144
|
-
'output': !exists(json, 'output') ? undefined : json['output'],
|
|
145
|
-
'tasks': !exists(json, 'tasks') ? undefined : json['tasks'],
|
|
146
|
-
'id': json['id'],
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
108
|
|
|
150
|
-
|
|
151
|
-
if (value === undefined) {
|
|
152
|
-
return undefined;
|
|
153
|
-
}
|
|
154
|
-
if (value === null) {
|
|
155
|
-
return null;
|
|
109
|
+
public constructor() {
|
|
156
110
|
}
|
|
157
|
-
return {
|
|
158
|
-
|
|
159
|
-
'key': value.key,
|
|
160
|
-
'periodicity': value.periodicity,
|
|
161
|
-
'pipelineId': value.pipelineId,
|
|
162
|
-
'projectId': value.projectId,
|
|
163
|
-
'status': value.status,
|
|
164
|
-
'title': value.title,
|
|
165
|
-
'titleLocal': value.titleLocal,
|
|
166
|
-
'description': value.description,
|
|
167
|
-
'descriptionLocal': value.descriptionLocal,
|
|
168
|
-
'output': value.output,
|
|
169
|
-
'tasks': value.tasks,
|
|
170
|
-
'id': value.id,
|
|
171
|
-
};
|
|
172
111
|
}
|
|
173
112
|
|
|
113
|
+
|
|
114
|
+
export type UpdateJobDtoStatusEnum = "DRAFT" | "PRODUCTION" | "DEPRECATED" | "ARCHIVED" | "REMOVED" ;
|
|
115
|
+
|
package/models/UpdateTaskDto.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
1
|
/**
|
|
4
2
|
* Product-Live API
|
|
5
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
4
|
*
|
|
7
|
-
*
|
|
5
|
+
* OpenAPI spec version: 2.8.1
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,100 +10,61 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UpdateTaskDto
|
|
20
|
-
*/
|
|
21
|
-
export interface UpdateTaskDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UpdateTaskDto
|
|
26
|
-
*/
|
|
27
|
-
key: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UpdateTaskDto
|
|
32
|
-
*/
|
|
33
|
-
description: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof UpdateTaskDto
|
|
38
|
-
*/
|
|
39
|
-
retryCount: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Array<object>}
|
|
43
|
-
* @memberof UpdateTaskDto
|
|
44
|
-
*/
|
|
45
|
-
inputKeys: Array<object>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Array<object>}
|
|
49
|
-
* @memberof UpdateTaskDto
|
|
50
|
-
*/
|
|
51
|
-
outputKeys: Array<object>;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof UpdateTaskDto
|
|
56
|
-
*/
|
|
57
|
-
id: string;
|
|
58
|
-
}
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
59
14
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
isInstance = isInstance && "retryCount" in value;
|
|
68
|
-
isInstance = isInstance && "inputKeys" in value;
|
|
69
|
-
isInstance = isInstance && "outputKeys" in value;
|
|
70
|
-
isInstance = isInstance && "id" in value;
|
|
15
|
+
export class UpdateTaskDto {
|
|
16
|
+
'key': string;
|
|
17
|
+
'description': string;
|
|
18
|
+
'retryCount': number;
|
|
19
|
+
'inputKeys': Array<any>;
|
|
20
|
+
'outputKeys': Array<any>;
|
|
21
|
+
'id': string;
|
|
71
22
|
|
|
72
|
-
|
|
73
|
-
}
|
|
23
|
+
static readonly discriminator: string | undefined = undefined;
|
|
74
24
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
25
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
26
|
+
{
|
|
27
|
+
"name": "key",
|
|
28
|
+
"baseName": "key",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "description",
|
|
34
|
+
"baseName": "description",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "retryCount",
|
|
40
|
+
"baseName": "retryCount",
|
|
41
|
+
"type": "number",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "inputKeys",
|
|
46
|
+
"baseName": "inputKeys",
|
|
47
|
+
"type": "Array<any>",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "outputKeys",
|
|
52
|
+
"baseName": "outputKeys",
|
|
53
|
+
"type": "Array<any>",
|
|
54
|
+
"format": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "id",
|
|
58
|
+
"baseName": "id",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"format": ""
|
|
61
|
+
} ];
|
|
78
62
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
return json;
|
|
63
|
+
static getAttributeTypeMap() {
|
|
64
|
+
return UpdateTaskDto.attributeTypeMap;
|
|
82
65
|
}
|
|
83
|
-
return {
|
|
84
|
-
|
|
85
|
-
'key': json['key'],
|
|
86
|
-
'description': json['description'],
|
|
87
|
-
'retryCount': json['retryCount'],
|
|
88
|
-
'inputKeys': json['inputKeys'],
|
|
89
|
-
'outputKeys': json['outputKeys'],
|
|
90
|
-
'id': json['id'],
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
66
|
|
|
94
|
-
|
|
95
|
-
if (value === undefined) {
|
|
96
|
-
return undefined;
|
|
97
|
-
}
|
|
98
|
-
if (value === null) {
|
|
99
|
-
return null;
|
|
67
|
+
public constructor() {
|
|
100
68
|
}
|
|
101
|
-
return {
|
|
102
|
-
|
|
103
|
-
'key': value.key,
|
|
104
|
-
'description': value.description,
|
|
105
|
-
'retryCount': value.retryCount,
|
|
106
|
-
'inputKeys': value.inputKeys,
|
|
107
|
-
'outputKeys': value.outputKeys,
|
|
108
|
-
'id': value.id,
|
|
109
|
-
};
|
|
110
69
|
}
|
|
111
70
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
1
|
/**
|
|
4
2
|
* Product-Live API
|
|
5
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
4
|
*
|
|
7
|
-
*
|
|
5
|
+
* OpenAPI spec version: 2.8.1
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,110 +10,64 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UpdateVariableDto
|
|
20
|
-
*/
|
|
21
|
-
export interface UpdateVariableDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UpdateVariableDto
|
|
26
|
-
*/
|
|
27
|
-
key: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UpdateVariableDto
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof UpdateVariableDto
|
|
38
|
-
*/
|
|
39
|
-
status?: UpdateVariableDtoStatusEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof UpdateVariableDto
|
|
44
|
-
*/
|
|
45
|
-
value: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @memberof UpdateVariableDto
|
|
50
|
-
*/
|
|
51
|
-
secret?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof UpdateVariableDto
|
|
56
|
-
*/
|
|
57
|
-
id: string;
|
|
58
|
-
}
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
59
14
|
|
|
15
|
+
export class UpdateVariableDto {
|
|
16
|
+
'key': string;
|
|
17
|
+
'name': string;
|
|
18
|
+
'status'?: UpdateVariableDtoStatusEnum;
|
|
19
|
+
'value': string;
|
|
20
|
+
'secret'?: boolean;
|
|
21
|
+
'id': string;
|
|
60
22
|
|
|
61
|
-
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export const UpdateVariableDtoStatusEnum = {
|
|
65
|
-
Active: 'ACTIVE',
|
|
66
|
-
Archived: 'ARCHIVED',
|
|
67
|
-
Deleted: 'DELETED'
|
|
68
|
-
} as const;
|
|
69
|
-
export type UpdateVariableDtoStatusEnum = typeof UpdateVariableDtoStatusEnum[keyof typeof UpdateVariableDtoStatusEnum];
|
|
70
|
-
|
|
23
|
+
static readonly discriminator: string | undefined = undefined;
|
|
71
24
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
25
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
26
|
+
{
|
|
27
|
+
"name": "key",
|
|
28
|
+
"baseName": "key",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "name",
|
|
34
|
+
"baseName": "name",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "status",
|
|
40
|
+
"baseName": "status",
|
|
41
|
+
"type": "UpdateVariableDtoStatusEnum",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "value",
|
|
46
|
+
"baseName": "value",
|
|
47
|
+
"type": "string",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "secret",
|
|
52
|
+
"baseName": "secret",
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"format": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "id",
|
|
58
|
+
"baseName": "id",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"format": ""
|
|
61
|
+
} ];
|
|
81
62
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
export function UpdateVariableDtoFromJSON(json: any): UpdateVariableDto {
|
|
86
|
-
return UpdateVariableDtoFromJSONTyped(json, false);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export function UpdateVariableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateVariableDto {
|
|
90
|
-
if ((json === undefined) || (json === null)) {
|
|
91
|
-
return json;
|
|
63
|
+
static getAttributeTypeMap() {
|
|
64
|
+
return UpdateVariableDto.attributeTypeMap;
|
|
92
65
|
}
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'key': json['key'],
|
|
96
|
-
'name': json['name'],
|
|
97
|
-
'status': !exists(json, 'status') ? undefined : json['status'],
|
|
98
|
-
'value': json['value'],
|
|
99
|
-
'secret': !exists(json, 'secret') ? undefined : json['secret'],
|
|
100
|
-
'id': json['id'],
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
66
|
|
|
104
|
-
|
|
105
|
-
if (value === undefined) {
|
|
106
|
-
return undefined;
|
|
107
|
-
}
|
|
108
|
-
if (value === null) {
|
|
109
|
-
return null;
|
|
67
|
+
public constructor() {
|
|
110
68
|
}
|
|
111
|
-
return {
|
|
112
|
-
|
|
113
|
-
'key': value.key,
|
|
114
|
-
'name': value.name,
|
|
115
|
-
'status': value.status,
|
|
116
|
-
'value': value.value,
|
|
117
|
-
'secret': value.secret,
|
|
118
|
-
'id': value.id,
|
|
119
|
-
};
|
|
120
69
|
}
|
|
121
70
|
|
|
71
|
+
|
|
72
|
+
export type UpdateVariableDtoStatusEnum = "ACTIVE" | "ARCHIVED" | "DELETED" ;
|
|
73
|
+
|