@product-live/api-sdk 2.2.0-dev → 2.3.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/apis/DataFactoryFileApi.ts +38 -35
- package/apis/JobApi.ts +76 -62
- package/apis/JobExecutionApi.ts +78 -28
- package/apis/TaskApi.ts +92 -78
- package/apis/TaskExecutionApi.ts +32 -32
- package/apis/VariableApi.ts +160 -19
- package/dist/apis/DataFactoryFileApi.d.ts +20 -0
- package/dist/apis/DataFactoryFileApi.js +122 -0
- package/dist/apis/DataFactoryFileApi.js.map +1 -0
- package/dist/apis/JobApi.d.ts +32 -0
- package/dist/apis/JobApi.js +191 -0
- package/dist/apis/JobApi.js.map +1 -0
- package/dist/apis/JobExecutionApi.d.ts +20 -0
- package/dist/apis/JobExecutionApi.js +107 -0
- package/dist/apis/JobExecutionApi.js.map +1 -0
- package/dist/apis/TaskApi.d.ts +36 -0
- package/dist/apis/TaskApi.js +196 -0
- package/dist/apis/TaskApi.js.map +1 -0
- package/dist/apis/TaskExecutionApi.d.ts +15 -0
- package/dist/apis/TaskExecutionApi.js +79 -0
- package/dist/apis/TaskExecutionApi.js.map +1 -0
- package/dist/apis/VariableApi.d.ts +26 -0
- package/dist/apis/VariableApi.js +140 -0
- package/dist/apis/VariableApi.js.map +1 -0
- package/dist/apis/index.d.ts +6 -0
- package/dist/apis/index.js +23 -0
- package/dist/apis/index.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/models/CreateJobDto.d.ts +22 -0
- package/dist/models/CreateJobDto.js +63 -0
- package/dist/models/CreateJobDto.js.map +1 -0
- package/dist/models/CreateJobExecutionDto.d.ts +13 -0
- package/dist/models/CreateJobExecutionDto.js +44 -0
- package/dist/models/CreateJobExecutionDto.js.map +1 -0
- package/dist/models/CreateTaskDto.d.ts +12 -0
- package/dist/models/CreateTaskDto.js +48 -0
- package/dist/models/CreateTaskDto.js.map +1 -0
- package/dist/models/CreateVariableDto.d.ts +10 -0
- package/dist/models/CreateVariableDto.js +44 -0
- package/dist/models/CreateVariableDto.js.map +1 -0
- package/dist/models/FileControllerGetFiles200Response.d.ts +14 -0
- package/dist/models/FileControllerGetFiles200Response.js +43 -0
- package/dist/models/FileControllerGetFiles200Response.js.map +1 -0
- package/dist/models/FileDto.d.ts +12 -0
- package/dist/models/FileDto.js +50 -0
- package/dist/models/FileDto.js.map +1 -0
- package/dist/models/JobControllerList200Response.d.ts +14 -0
- package/dist/models/JobControllerList200Response.js +43 -0
- package/dist/models/JobControllerList200Response.js.map +1 -0
- package/dist/models/JobDto.d.ts +26 -0
- package/dist/models/JobDto.js +75 -0
- package/dist/models/JobDto.js.map +1 -0
- package/dist/models/JobDtoPeriodicityInner.d.ts +8 -0
- package/dist/models/JobDtoPeriodicityInner.js +37 -0
- package/dist/models/JobDtoPeriodicityInner.js.map +1 -0
- package/dist/models/JobDtoTasksInner.d.ts +14 -0
- package/dist/models/JobDtoTasksInner.js +45 -0
- package/dist/models/JobDtoTasksInner.js.map +1 -0
- package/dist/models/JobDtoTitleLocal.d.ts +8 -0
- package/dist/models/JobDtoTitleLocal.js +37 -0
- package/dist/models/JobDtoTitleLocal.js.map +1 -0
- package/dist/models/JobExecutionControllerGetOne400Response.d.ts +7 -0
- package/dist/models/JobExecutionControllerGetOne400Response.js +35 -0
- package/dist/models/JobExecutionControllerGetOne400Response.js.map +1 -0
- package/dist/models/JobExecutionControllerList200Response.d.ts +14 -0
- package/dist/models/JobExecutionControllerList200Response.js +43 -0
- package/dist/models/JobExecutionControllerList200Response.js.map +1 -0
- package/dist/models/JobExecutionDto.d.ts +23 -0
- package/dist/models/JobExecutionDto.js +68 -0
- package/dist/models/JobExecutionDto.js.map +1 -0
- package/dist/models/JobExecutionDtoInfo.d.ts +7 -0
- package/dist/models/JobExecutionDtoInfo.js +35 -0
- package/dist/models/JobExecutionDtoInfo.js.map +1 -0
- package/dist/models/PatchTaskExecutionDto.d.ts +11 -0
- package/dist/models/PatchTaskExecutionDto.js +41 -0
- package/dist/models/PatchTaskExecutionDto.js.map +1 -0
- package/dist/models/TaskControllerList200Response.d.ts +14 -0
- package/dist/models/TaskControllerList200Response.js +43 -0
- package/dist/models/TaskControllerList200Response.js.map +1 -0
- package/dist/models/TaskDto.d.ts +16 -0
- package/dist/models/TaskDto.js +60 -0
- package/dist/models/TaskDto.js.map +1 -0
- package/dist/models/TaskDtoInputKeysInner.d.ts +8 -0
- package/dist/models/TaskDtoInputKeysInner.js +37 -0
- package/dist/models/TaskDtoInputKeysInner.js.map +1 -0
- package/dist/models/TaskExecutionDto.d.ts +18 -0
- package/dist/models/TaskExecutionDto.js +56 -0
- package/dist/models/TaskExecutionDto.js.map +1 -0
- package/dist/models/UpdateJobDto.d.ts +23 -0
- package/dist/models/UpdateJobDto.js +66 -0
- package/dist/models/UpdateJobDto.js.map +1 -0
- package/dist/models/UpdateTaskDto.d.ts +13 -0
- package/dist/models/UpdateTaskDto.js +51 -0
- package/dist/models/UpdateTaskDto.js.map +1 -0
- package/dist/models/UpdateVariableDto.d.ts +11 -0
- package/dist/models/UpdateVariableDto.js +47 -0
- package/dist/models/UpdateVariableDto.js.map +1 -0
- package/dist/models/VariableControllerList200Response.d.ts +14 -0
- package/dist/models/VariableControllerList200Response.js +43 -0
- package/dist/models/VariableControllerList200Response.js.map +1 -0
- package/dist/models/VariableDto.d.ts +18 -0
- package/dist/models/VariableDto.js +59 -0
- package/dist/models/VariableDto.js.map +1 -0
- package/dist/models/index.d.ts +25 -0
- package/dist/models/index.js +42 -0
- package/dist/models/index.js.map +1 -0
- package/dist/runtime.d.ts +154 -0
- package/dist/runtime.js +306 -0
- package/dist/runtime.js.map +1 -0
- package/models/CreateJobDto.ts +169 -0
- package/models/CreateJobExecutionDto.ts +98 -0
- package/models/CreateTaskDto.ts +109 -0
- package/models/CreateVariableDto.ts +92 -0
- package/models/FileControllerGetFiles200Response.ts +98 -0
- package/models/FileDto.ts +111 -0
- package/models/JobControllerList200Response.ts +98 -0
- package/models/JobDto.ts +50 -86
- package/models/JobDtoPeriodicityInner.ts +1 -1
- package/models/JobDtoTasksInner.ts +9 -1
- package/models/JobDtoTitleLocal.ts +1 -1
- package/models/JobExecutionControllerGetOne400Response.ts +65 -0
- package/models/JobExecutionControllerList200Response.ts +98 -0
- package/models/JobExecutionDto.ts +35 -67
- package/models/JobExecutionDtoInfo.ts +65 -0
- package/models/PatchTaskExecutionDto.ts +83 -0
- package/models/TaskControllerList200Response.ts +98 -0
- package/models/TaskDto.ts +28 -28
- package/models/TaskDtoInputKeysInner.ts +1 -1
- package/models/TaskExecutionDto.ts +129 -0
- package/models/UpdateJobDto.ts +178 -0
- package/models/UpdateTaskDto.ts +118 -0
- package/models/UpdateVariableDto.ts +101 -0
- package/models/VariableControllerList200Response.ts +98 -0
- package/models/VariableDto.ts +33 -24
- package/models/index.ts +18 -11
- package/package.json +11 -5
- package/runtime.ts +19 -1
- package/.openapi-generator-ignore +0 -23
package/models/TaskDto.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product-Live API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,55 +31,55 @@ export interface TaskDto {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof TaskDto
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
name: string;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof TaskDto
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
description: string;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {
|
|
43
|
+
* @type {number}
|
|
44
44
|
* @memberof TaskDto
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
retryCount: number;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type {Array<TaskDtoInputKeysInner>}
|
|
50
50
|
* @memberof TaskDto
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
inputKeys: Array<TaskDtoInputKeysInner>;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
|
-
* @type {
|
|
55
|
+
* @type {Array<TaskDtoInputKeysInner>}
|
|
56
56
|
* @memberof TaskDto
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
outputKeys: Array<TaskDtoInputKeysInner>;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof TaskDto
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
id: string;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
* @type {
|
|
67
|
+
* @type {object}
|
|
68
68
|
* @memberof TaskDto
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
object: object;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
|
-
* @type {
|
|
73
|
+
* @type {string}
|
|
74
74
|
* @memberof TaskDto
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
createdAt: string;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
|
-
* @type {
|
|
79
|
+
* @type {string}
|
|
80
80
|
* @memberof TaskDto
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
updatedAt: string;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -87,15 +87,15 @@ export interface TaskDto {
|
|
|
87
87
|
*/
|
|
88
88
|
export function instanceOfTaskDto(value: object): boolean {
|
|
89
89
|
let isInstance = true;
|
|
90
|
-
isInstance = isInstance && "id" in value;
|
|
91
|
-
isInstance = isInstance && "object" in value;
|
|
92
|
-
isInstance = isInstance && "createdAt" in value;
|
|
93
|
-
isInstance = isInstance && "updatedAt" in value;
|
|
94
90
|
isInstance = isInstance && "name" in value;
|
|
95
91
|
isInstance = isInstance && "description" in value;
|
|
96
92
|
isInstance = isInstance && "retryCount" in value;
|
|
97
93
|
isInstance = isInstance && "inputKeys" in value;
|
|
98
94
|
isInstance = isInstance && "outputKeys" in value;
|
|
95
|
+
isInstance = isInstance && "id" in value;
|
|
96
|
+
isInstance = isInstance && "object" in value;
|
|
97
|
+
isInstance = isInstance && "createdAt" in value;
|
|
98
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
99
99
|
|
|
100
100
|
return isInstance;
|
|
101
101
|
}
|
|
@@ -110,15 +110,15 @@ export function TaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): T
|
|
|
110
110
|
}
|
|
111
111
|
return {
|
|
112
112
|
|
|
113
|
-
'id': json['id'],
|
|
114
|
-
'object': json['object'],
|
|
115
|
-
'createdAt': json['createdAt'],
|
|
116
|
-
'updatedAt': json['updatedAt'],
|
|
117
113
|
'name': json['name'],
|
|
118
114
|
'description': json['description'],
|
|
119
115
|
'retryCount': json['retryCount'],
|
|
120
116
|
'inputKeys': ((json['inputKeys'] as Array<any>).map(TaskDtoInputKeysInnerFromJSON)),
|
|
121
117
|
'outputKeys': ((json['outputKeys'] as Array<any>).map(TaskDtoInputKeysInnerFromJSON)),
|
|
118
|
+
'id': json['id'],
|
|
119
|
+
'object': json['object'],
|
|
120
|
+
'createdAt': json['createdAt'],
|
|
121
|
+
'updatedAt': json['updatedAt'],
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -131,15 +131,15 @@ export function TaskDtoToJSON(value?: TaskDto | null): any {
|
|
|
131
131
|
}
|
|
132
132
|
return {
|
|
133
133
|
|
|
134
|
-
'id': value.id,
|
|
135
|
-
'object': value.object,
|
|
136
|
-
'createdAt': value.createdAt,
|
|
137
|
-
'updatedAt': value.updatedAt,
|
|
138
134
|
'name': value.name,
|
|
139
135
|
'description': value.description,
|
|
140
136
|
'retryCount': value.retryCount,
|
|
141
137
|
'inputKeys': ((value.inputKeys as Array<any>).map(TaskDtoInputKeysInnerToJSON)),
|
|
142
138
|
'outputKeys': ((value.outputKeys as Array<any>).map(TaskDtoInputKeysInnerToJSON)),
|
|
139
|
+
'id': value.id,
|
|
140
|
+
'object': value.object,
|
|
141
|
+
'createdAt': value.createdAt,
|
|
142
|
+
'updatedAt': value.updatedAt,
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product-Live API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Product-Live API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface TaskExecutionDto
|
|
20
|
+
*/
|
|
21
|
+
export interface TaskExecutionDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof TaskExecutionDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {object}
|
|
31
|
+
* @memberof TaskExecutionDto
|
|
32
|
+
*/
|
|
33
|
+
object: object;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof TaskExecutionDto
|
|
38
|
+
*/
|
|
39
|
+
createdAt: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof TaskExecutionDto
|
|
44
|
+
*/
|
|
45
|
+
updatedAt: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {{ [key: string]: any; }}
|
|
49
|
+
* @memberof TaskExecutionDto
|
|
50
|
+
*/
|
|
51
|
+
input: { [key: string]: any; };
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {{ [key: string]: any; }}
|
|
55
|
+
* @memberof TaskExecutionDto
|
|
56
|
+
*/
|
|
57
|
+
output: { [key: string]: any; };
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof TaskExecutionDto
|
|
62
|
+
*/
|
|
63
|
+
status: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof TaskExecutionDto
|
|
68
|
+
*/
|
|
69
|
+
taskId: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the TaskExecutionDto interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfTaskExecutionDto(value: object): boolean {
|
|
76
|
+
let isInstance = true;
|
|
77
|
+
isInstance = isInstance && "id" in value;
|
|
78
|
+
isInstance = isInstance && "object" in value;
|
|
79
|
+
isInstance = isInstance && "createdAt" in value;
|
|
80
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
81
|
+
isInstance = isInstance && "input" in value;
|
|
82
|
+
isInstance = isInstance && "output" in value;
|
|
83
|
+
isInstance = isInstance && "status" in value;
|
|
84
|
+
isInstance = isInstance && "taskId" in value;
|
|
85
|
+
|
|
86
|
+
return isInstance;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function TaskExecutionDtoFromJSON(json: any): TaskExecutionDto {
|
|
90
|
+
return TaskExecutionDtoFromJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function TaskExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskExecutionDto {
|
|
94
|
+
if ((json === undefined) || (json === null)) {
|
|
95
|
+
return json;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'id': json['id'],
|
|
100
|
+
'object': json['object'],
|
|
101
|
+
'createdAt': json['createdAt'],
|
|
102
|
+
'updatedAt': json['updatedAt'],
|
|
103
|
+
'input': json['input'],
|
|
104
|
+
'output': json['output'],
|
|
105
|
+
'status': json['status'],
|
|
106
|
+
'taskId': json['taskId'],
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function TaskExecutionDtoToJSON(value?: TaskExecutionDto | null): any {
|
|
111
|
+
if (value === undefined) {
|
|
112
|
+
return undefined;
|
|
113
|
+
}
|
|
114
|
+
if (value === null) {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'id': value.id,
|
|
120
|
+
'object': value.object,
|
|
121
|
+
'createdAt': value.createdAt,
|
|
122
|
+
'updatedAt': value.updatedAt,
|
|
123
|
+
'input': value.input,
|
|
124
|
+
'output': value.output,
|
|
125
|
+
'status': value.status,
|
|
126
|
+
'taskId': value.taskId,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Product-Live API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { JobDtoPeriodicityInner } from './JobDtoPeriodicityInner';
|
|
17
|
+
import {
|
|
18
|
+
JobDtoPeriodicityInnerFromJSON,
|
|
19
|
+
JobDtoPeriodicityInnerFromJSONTyped,
|
|
20
|
+
JobDtoPeriodicityInnerToJSON,
|
|
21
|
+
} from './JobDtoPeriodicityInner';
|
|
22
|
+
import type { JobDtoTasksInner } from './JobDtoTasksInner';
|
|
23
|
+
import {
|
|
24
|
+
JobDtoTasksInnerFromJSON,
|
|
25
|
+
JobDtoTasksInnerFromJSONTyped,
|
|
26
|
+
JobDtoTasksInnerToJSON,
|
|
27
|
+
} from './JobDtoTasksInner';
|
|
28
|
+
import type { JobDtoTitleLocal } from './JobDtoTitleLocal';
|
|
29
|
+
import {
|
|
30
|
+
JobDtoTitleLocalFromJSON,
|
|
31
|
+
JobDtoTitleLocalFromJSONTyped,
|
|
32
|
+
JobDtoTitleLocalToJSON,
|
|
33
|
+
} from './JobDtoTitleLocal';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface UpdateJobDto
|
|
39
|
+
*/
|
|
40
|
+
export interface UpdateJobDto {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateJobDto
|
|
45
|
+
*/
|
|
46
|
+
key: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<JobDtoPeriodicityInner>}
|
|
50
|
+
* @memberof UpdateJobDto
|
|
51
|
+
*/
|
|
52
|
+
periodicity?: Array<JobDtoPeriodicityInner>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateJobDto
|
|
57
|
+
*/
|
|
58
|
+
pipelineId: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateJobDto
|
|
63
|
+
*/
|
|
64
|
+
projectId: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {object}
|
|
68
|
+
* @memberof UpdateJobDto
|
|
69
|
+
*/
|
|
70
|
+
status: object;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof UpdateJobDto
|
|
75
|
+
*/
|
|
76
|
+
title: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {JobDtoTitleLocal}
|
|
80
|
+
* @memberof UpdateJobDto
|
|
81
|
+
*/
|
|
82
|
+
titleLocal?: JobDtoTitleLocal;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof UpdateJobDto
|
|
87
|
+
*/
|
|
88
|
+
description?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {JobDtoTitleLocal}
|
|
92
|
+
* @memberof UpdateJobDto
|
|
93
|
+
*/
|
|
94
|
+
descriptionLocal?: JobDtoTitleLocal;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {{ [key: string]: any; }}
|
|
98
|
+
* @memberof UpdateJobDto
|
|
99
|
+
*/
|
|
100
|
+
output?: { [key: string]: any; };
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {Array<JobDtoTasksInner>}
|
|
104
|
+
* @memberof UpdateJobDto
|
|
105
|
+
*/
|
|
106
|
+
tasks?: Array<JobDtoTasksInner>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof UpdateJobDto
|
|
111
|
+
*/
|
|
112
|
+
id: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the UpdateJobDto interface.
|
|
117
|
+
*/
|
|
118
|
+
export function instanceOfUpdateJobDto(value: object): boolean {
|
|
119
|
+
let isInstance = true;
|
|
120
|
+
isInstance = isInstance && "key" in value;
|
|
121
|
+
isInstance = isInstance && "pipelineId" in value;
|
|
122
|
+
isInstance = isInstance && "projectId" in value;
|
|
123
|
+
isInstance = isInstance && "status" in value;
|
|
124
|
+
isInstance = isInstance && "title" in value;
|
|
125
|
+
isInstance = isInstance && "id" in value;
|
|
126
|
+
|
|
127
|
+
return isInstance;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function UpdateJobDtoFromJSON(json: any): UpdateJobDto {
|
|
131
|
+
return UpdateJobDtoFromJSONTyped(json, false);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export function UpdateJobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateJobDto {
|
|
135
|
+
if ((json === undefined) || (json === null)) {
|
|
136
|
+
return json;
|
|
137
|
+
}
|
|
138
|
+
return {
|
|
139
|
+
|
|
140
|
+
'key': json['key'],
|
|
141
|
+
'periodicity': !exists(json, 'periodicity') ? undefined : ((json['periodicity'] as Array<any>).map(JobDtoPeriodicityInnerFromJSON)),
|
|
142
|
+
'pipelineId': json['pipelineId'],
|
|
143
|
+
'projectId': json['projectId'],
|
|
144
|
+
'status': json['status'],
|
|
145
|
+
'title': json['title'],
|
|
146
|
+
'titleLocal': !exists(json, 'titleLocal') ? undefined : JobDtoTitleLocalFromJSON(json['titleLocal']),
|
|
147
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
148
|
+
'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : JobDtoTitleLocalFromJSON(json['descriptionLocal']),
|
|
149
|
+
'output': !exists(json, 'output') ? undefined : json['output'],
|
|
150
|
+
'tasks': !exists(json, 'tasks') ? undefined : ((json['tasks'] as Array<any>).map(JobDtoTasksInnerFromJSON)),
|
|
151
|
+
'id': json['id'],
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function UpdateJobDtoToJSON(value?: UpdateJobDto | null): any {
|
|
156
|
+
if (value === undefined) {
|
|
157
|
+
return undefined;
|
|
158
|
+
}
|
|
159
|
+
if (value === null) {
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
return {
|
|
163
|
+
|
|
164
|
+
'key': value.key,
|
|
165
|
+
'periodicity': value.periodicity === undefined ? undefined : ((value.periodicity as Array<any>).map(JobDtoPeriodicityInnerToJSON)),
|
|
166
|
+
'pipelineId': value.pipelineId,
|
|
167
|
+
'projectId': value.projectId,
|
|
168
|
+
'status': value.status,
|
|
169
|
+
'title': value.title,
|
|
170
|
+
'titleLocal': JobDtoTitleLocalToJSON(value.titleLocal),
|
|
171
|
+
'description': value.description,
|
|
172
|
+
'descriptionLocal': JobDtoTitleLocalToJSON(value.descriptionLocal),
|
|
173
|
+
'output': value.output,
|
|
174
|
+
'tasks': value.tasks === undefined ? undefined : ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
|
|
175
|
+
'id': value.id,
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Product-Live API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { TaskDtoInputKeysInner } from './TaskDtoInputKeysInner';
|
|
17
|
+
import {
|
|
18
|
+
TaskDtoInputKeysInnerFromJSON,
|
|
19
|
+
TaskDtoInputKeysInnerFromJSONTyped,
|
|
20
|
+
TaskDtoInputKeysInnerToJSON,
|
|
21
|
+
} from './TaskDtoInputKeysInner';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface UpdateTaskDto
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdateTaskDto {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateTaskDto
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateTaskDto
|
|
39
|
+
*/
|
|
40
|
+
description: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof UpdateTaskDto
|
|
45
|
+
*/
|
|
46
|
+
retryCount: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<TaskDtoInputKeysInner>}
|
|
50
|
+
* @memberof UpdateTaskDto
|
|
51
|
+
*/
|
|
52
|
+
inputKeys: Array<TaskDtoInputKeysInner>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<TaskDtoInputKeysInner>}
|
|
56
|
+
* @memberof UpdateTaskDto
|
|
57
|
+
*/
|
|
58
|
+
outputKeys: Array<TaskDtoInputKeysInner>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateTaskDto
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the UpdateTaskDto interface.
|
|
69
|
+
*/
|
|
70
|
+
export function instanceOfUpdateTaskDto(value: object): boolean {
|
|
71
|
+
let isInstance = true;
|
|
72
|
+
isInstance = isInstance && "name" in value;
|
|
73
|
+
isInstance = isInstance && "description" in value;
|
|
74
|
+
isInstance = isInstance && "retryCount" in value;
|
|
75
|
+
isInstance = isInstance && "inputKeys" in value;
|
|
76
|
+
isInstance = isInstance && "outputKeys" in value;
|
|
77
|
+
isInstance = isInstance && "id" in value;
|
|
78
|
+
|
|
79
|
+
return isInstance;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function UpdateTaskDtoFromJSON(json: any): UpdateTaskDto {
|
|
83
|
+
return UpdateTaskDtoFromJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function UpdateTaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateTaskDto {
|
|
87
|
+
if ((json === undefined) || (json === null)) {
|
|
88
|
+
return json;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
|
|
92
|
+
'name': json['name'],
|
|
93
|
+
'description': json['description'],
|
|
94
|
+
'retryCount': json['retryCount'],
|
|
95
|
+
'inputKeys': ((json['inputKeys'] as Array<any>).map(TaskDtoInputKeysInnerFromJSON)),
|
|
96
|
+
'outputKeys': ((json['outputKeys'] as Array<any>).map(TaskDtoInputKeysInnerFromJSON)),
|
|
97
|
+
'id': json['id'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function UpdateTaskDtoToJSON(value?: UpdateTaskDto | null): any {
|
|
102
|
+
if (value === undefined) {
|
|
103
|
+
return undefined;
|
|
104
|
+
}
|
|
105
|
+
if (value === null) {
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
|
+
return {
|
|
109
|
+
|
|
110
|
+
'name': value.name,
|
|
111
|
+
'description': value.description,
|
|
112
|
+
'retryCount': value.retryCount,
|
|
113
|
+
'inputKeys': ((value.inputKeys as Array<any>).map(TaskDtoInputKeysInnerToJSON)),
|
|
114
|
+
'outputKeys': ((value.outputKeys as Array<any>).map(TaskDtoInputKeysInnerToJSON)),
|
|
115
|
+
'id': value.id,
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Product-Live API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
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 {object}
|
|
37
|
+
* @memberof UpdateVariableDto
|
|
38
|
+
*/
|
|
39
|
+
status?: object;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateVariableDto
|
|
44
|
+
*/
|
|
45
|
+
value: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UpdateVariableDto
|
|
50
|
+
*/
|
|
51
|
+
id: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the UpdateVariableDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfUpdateVariableDto(value: object): boolean {
|
|
58
|
+
let isInstance = true;
|
|
59
|
+
isInstance = isInstance && "key" in value;
|
|
60
|
+
isInstance = isInstance && "name" in value;
|
|
61
|
+
isInstance = isInstance && "value" in value;
|
|
62
|
+
isInstance = isInstance && "id" in value;
|
|
63
|
+
|
|
64
|
+
return isInstance;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function UpdateVariableDtoFromJSON(json: any): UpdateVariableDto {
|
|
68
|
+
return UpdateVariableDtoFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function UpdateVariableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateVariableDto {
|
|
72
|
+
if ((json === undefined) || (json === null)) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'key': json['key'],
|
|
78
|
+
'name': json['name'],
|
|
79
|
+
'status': !exists(json, 'status') ? undefined : json['status'],
|
|
80
|
+
'value': json['value'],
|
|
81
|
+
'id': json['id'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function UpdateVariableDtoToJSON(value?: UpdateVariableDto | null): any {
|
|
86
|
+
if (value === undefined) {
|
|
87
|
+
return undefined;
|
|
88
|
+
}
|
|
89
|
+
if (value === null) {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'key': value.key,
|
|
95
|
+
'name': value.name,
|
|
96
|
+
'status': value.status,
|
|
97
|
+
'value': value.value,
|
|
98
|
+
'id': value.id,
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|