@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
|
@@ -0,0 +1,92 @@
|
|
|
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 CreateVariableDto
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateVariableDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateVariableDto
|
|
26
|
+
*/
|
|
27
|
+
key: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateVariableDto
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof CreateVariableDto
|
|
38
|
+
*/
|
|
39
|
+
status?: object;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CreateVariableDto
|
|
44
|
+
*/
|
|
45
|
+
value: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the CreateVariableDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfCreateVariableDto(value: object): boolean {
|
|
52
|
+
let isInstance = true;
|
|
53
|
+
isInstance = isInstance && "key" in value;
|
|
54
|
+
isInstance = isInstance && "name" in value;
|
|
55
|
+
isInstance = isInstance && "value" in value;
|
|
56
|
+
|
|
57
|
+
return isInstance;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CreateVariableDtoFromJSON(json: any): CreateVariableDto {
|
|
61
|
+
return CreateVariableDtoFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CreateVariableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVariableDto {
|
|
65
|
+
if ((json === undefined) || (json === null)) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'key': json['key'],
|
|
71
|
+
'name': json['name'],
|
|
72
|
+
'status': !exists(json, 'status') ? undefined : json['status'],
|
|
73
|
+
'value': json['value'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function CreateVariableDtoToJSON(value?: CreateVariableDto | null): any {
|
|
78
|
+
if (value === undefined) {
|
|
79
|
+
return undefined;
|
|
80
|
+
}
|
|
81
|
+
if (value === null) {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'key': value.key,
|
|
87
|
+
'name': value.name,
|
|
88
|
+
'status': value.status,
|
|
89
|
+
'value': value.value,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { FileDto } from './FileDto';
|
|
17
|
+
import {
|
|
18
|
+
FileDtoFromJSON,
|
|
19
|
+
FileDtoFromJSONTyped,
|
|
20
|
+
FileDtoToJSON,
|
|
21
|
+
} from './FileDto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface FileControllerGetFiles200Response
|
|
27
|
+
*/
|
|
28
|
+
export interface FileControllerGetFiles200Response {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FileControllerGetFiles200Response
|
|
33
|
+
*/
|
|
34
|
+
object?: FileControllerGetFiles200ResponseObjectEnum;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof FileControllerGetFiles200Response
|
|
39
|
+
*/
|
|
40
|
+
totalElements?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<FileDto>}
|
|
44
|
+
* @memberof FileControllerGetFiles200Response
|
|
45
|
+
*/
|
|
46
|
+
data?: Array<FileDto>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export const FileControllerGetFiles200ResponseObjectEnum = {
|
|
54
|
+
List: 'list'
|
|
55
|
+
} as const;
|
|
56
|
+
export type FileControllerGetFiles200ResponseObjectEnum = typeof FileControllerGetFiles200ResponseObjectEnum[keyof typeof FileControllerGetFiles200ResponseObjectEnum];
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the FileControllerGetFiles200Response interface.
|
|
61
|
+
*/
|
|
62
|
+
export function instanceOfFileControllerGetFiles200Response(value: object): boolean {
|
|
63
|
+
let isInstance = true;
|
|
64
|
+
|
|
65
|
+
return isInstance;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function FileControllerGetFiles200ResponseFromJSON(json: any): FileControllerGetFiles200Response {
|
|
69
|
+
return FileControllerGetFiles200ResponseFromJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function FileControllerGetFiles200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileControllerGetFiles200Response {
|
|
73
|
+
if ((json === undefined) || (json === null)) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'object': !exists(json, 'object') ? undefined : json['object'],
|
|
79
|
+
'totalElements': !exists(json, 'totalElements') ? undefined : json['totalElements'],
|
|
80
|
+
'data': !exists(json, 'data') ? undefined : ((json['data'] as Array<any>).map(FileDtoFromJSON)),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function FileControllerGetFiles200ResponseToJSON(value?: FileControllerGetFiles200Response | null): any {
|
|
85
|
+
if (value === undefined) {
|
|
86
|
+
return undefined;
|
|
87
|
+
}
|
|
88
|
+
if (value === null) {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'object': value.object,
|
|
94
|
+
'totalElements': value.totalElements,
|
|
95
|
+
'data': value.data === undefined ? undefined : ((value.data as Array<any>).map(FileDtoToJSON)),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
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 FileDto
|
|
20
|
+
*/
|
|
21
|
+
export interface FileDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof FileDto
|
|
26
|
+
*/
|
|
27
|
+
object: object;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof FileDto
|
|
32
|
+
*/
|
|
33
|
+
id: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof FileDto
|
|
38
|
+
*/
|
|
39
|
+
createdAt: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof FileDto
|
|
44
|
+
*/
|
|
45
|
+
updatedAt: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof FileDto
|
|
50
|
+
*/
|
|
51
|
+
url: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof FileDto
|
|
56
|
+
*/
|
|
57
|
+
filename: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the FileDto interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfFileDto(value: object): boolean {
|
|
64
|
+
let isInstance = true;
|
|
65
|
+
isInstance = isInstance && "object" in value;
|
|
66
|
+
isInstance = isInstance && "id" in value;
|
|
67
|
+
isInstance = isInstance && "createdAt" in value;
|
|
68
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
69
|
+
isInstance = isInstance && "url" in value;
|
|
70
|
+
isInstance = isInstance && "filename" in value;
|
|
71
|
+
|
|
72
|
+
return isInstance;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function FileDtoFromJSON(json: any): FileDto {
|
|
76
|
+
return FileDtoFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function FileDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileDto {
|
|
80
|
+
if ((json === undefined) || (json === null)) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'object': json['object'],
|
|
86
|
+
'id': json['id'],
|
|
87
|
+
'createdAt': json['createdAt'],
|
|
88
|
+
'updatedAt': json['updatedAt'],
|
|
89
|
+
'url': json['url'],
|
|
90
|
+
'filename': json['filename'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function FileDtoToJSON(value?: FileDto | null): any {
|
|
95
|
+
if (value === undefined) {
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
if (value === null) {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'object': value.object,
|
|
104
|
+
'id': value.id,
|
|
105
|
+
'createdAt': value.createdAt,
|
|
106
|
+
'updatedAt': value.updatedAt,
|
|
107
|
+
'url': value.url,
|
|
108
|
+
'filename': value.filename,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { JobDto } from './JobDto';
|
|
17
|
+
import {
|
|
18
|
+
JobDtoFromJSON,
|
|
19
|
+
JobDtoFromJSONTyped,
|
|
20
|
+
JobDtoToJSON,
|
|
21
|
+
} from './JobDto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface JobControllerList200Response
|
|
27
|
+
*/
|
|
28
|
+
export interface JobControllerList200Response {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof JobControllerList200Response
|
|
33
|
+
*/
|
|
34
|
+
object?: JobControllerList200ResponseObjectEnum;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof JobControllerList200Response
|
|
39
|
+
*/
|
|
40
|
+
totalElements?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<JobDto>}
|
|
44
|
+
* @memberof JobControllerList200Response
|
|
45
|
+
*/
|
|
46
|
+
data?: Array<JobDto>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export const JobControllerList200ResponseObjectEnum = {
|
|
54
|
+
List: 'list'
|
|
55
|
+
} as const;
|
|
56
|
+
export type JobControllerList200ResponseObjectEnum = typeof JobControllerList200ResponseObjectEnum[keyof typeof JobControllerList200ResponseObjectEnum];
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the JobControllerList200Response interface.
|
|
61
|
+
*/
|
|
62
|
+
export function instanceOfJobControllerList200Response(value: object): boolean {
|
|
63
|
+
let isInstance = true;
|
|
64
|
+
|
|
65
|
+
return isInstance;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function JobControllerList200ResponseFromJSON(json: any): JobControllerList200Response {
|
|
69
|
+
return JobControllerList200ResponseFromJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function JobControllerList200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobControllerList200Response {
|
|
73
|
+
if ((json === undefined) || (json === null)) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'object': !exists(json, 'object') ? undefined : json['object'],
|
|
79
|
+
'totalElements': !exists(json, 'totalElements') ? undefined : json['totalElements'],
|
|
80
|
+
'data': !exists(json, 'data') ? undefined : ((json['data'] as Array<any>).map(JobDtoFromJSON)),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function JobControllerList200ResponseToJSON(value?: JobControllerList200Response | null): any {
|
|
85
|
+
if (value === undefined) {
|
|
86
|
+
return undefined;
|
|
87
|
+
}
|
|
88
|
+
if (value === null) {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'object': value.object,
|
|
94
|
+
'totalElements': value.totalElements,
|
|
95
|
+
'data': value.data === undefined ? undefined : ((value.data as Array<any>).map(JobDtoToJSON)),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
package/models/JobDto.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).
|
|
@@ -13,18 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { JobDtoPeriodicityInner } from './JobDtoPeriodicityInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
22
|
-
import type { JobDtoProject } from './JobDtoProject';
|
|
23
|
-
import {
|
|
24
|
-
JobDtoProjectFromJSON,
|
|
25
|
-
JobDtoProjectFromJSONTyped,
|
|
26
|
-
JobDtoProjectToJSON,
|
|
27
|
-
} from './JobDtoProject';
|
|
18
|
+
JobDtoPeriodicityInnerFromJSON,
|
|
19
|
+
JobDtoPeriodicityInnerFromJSONTyped,
|
|
20
|
+
JobDtoPeriodicityInnerToJSON,
|
|
21
|
+
} from './JobDtoPeriodicityInner';
|
|
28
22
|
import type { JobDtoTasksInner } from './JobDtoTasksInner';
|
|
29
23
|
import {
|
|
30
24
|
JobDtoTasksInnerFromJSON,
|
|
@@ -37,12 +31,6 @@ import {
|
|
|
37
31
|
JobDtoTitleLocalFromJSONTyped,
|
|
38
32
|
JobDtoTitleLocalToJSON,
|
|
39
33
|
} from './JobDtoTitleLocal';
|
|
40
|
-
import type { JobExecutionDtoJob } from './JobExecutionDtoJob';
|
|
41
|
-
import {
|
|
42
|
-
JobExecutionDtoJobFromJSON,
|
|
43
|
-
JobExecutionDtoJobFromJSONTyped,
|
|
44
|
-
JobExecutionDtoJobToJSON,
|
|
45
|
-
} from './JobExecutionDtoJob';
|
|
46
34
|
|
|
47
35
|
/**
|
|
48
36
|
*
|
|
@@ -55,103 +43,91 @@ export interface JobDto {
|
|
|
55
43
|
* @type {string}
|
|
56
44
|
* @memberof JobDto
|
|
57
45
|
*/
|
|
58
|
-
|
|
46
|
+
key: string;
|
|
59
47
|
/**
|
|
60
48
|
*
|
|
61
|
-
* @type {
|
|
49
|
+
* @type {Array<JobDtoPeriodicityInner>}
|
|
62
50
|
* @memberof JobDto
|
|
63
51
|
*/
|
|
64
|
-
|
|
52
|
+
periodicity?: Array<JobDtoPeriodicityInner>;
|
|
65
53
|
/**
|
|
66
54
|
*
|
|
67
55
|
* @type {string}
|
|
68
56
|
* @memberof JobDto
|
|
69
57
|
*/
|
|
70
|
-
|
|
58
|
+
pipelineId: string;
|
|
71
59
|
/**
|
|
72
60
|
*
|
|
73
61
|
* @type {string}
|
|
74
62
|
* @memberof JobDto
|
|
75
63
|
*/
|
|
76
|
-
|
|
64
|
+
projectId: string;
|
|
77
65
|
/**
|
|
78
66
|
*
|
|
79
|
-
* @type {
|
|
67
|
+
* @type {object}
|
|
80
68
|
* @memberof JobDto
|
|
81
69
|
*/
|
|
82
|
-
|
|
70
|
+
status: object;
|
|
83
71
|
/**
|
|
84
72
|
*
|
|
85
73
|
* @type {string}
|
|
86
74
|
* @memberof JobDto
|
|
87
75
|
*/
|
|
88
|
-
|
|
76
|
+
title: string;
|
|
89
77
|
/**
|
|
90
78
|
*
|
|
91
|
-
* @type {
|
|
79
|
+
* @type {JobDtoTitleLocal}
|
|
92
80
|
* @memberof JobDto
|
|
93
81
|
*/
|
|
94
|
-
|
|
82
|
+
titleLocal?: JobDtoTitleLocal;
|
|
95
83
|
/**
|
|
96
84
|
*
|
|
97
|
-
* @type {
|
|
85
|
+
* @type {string}
|
|
98
86
|
* @memberof JobDto
|
|
99
87
|
*/
|
|
100
|
-
|
|
88
|
+
description?: string;
|
|
101
89
|
/**
|
|
102
90
|
*
|
|
103
|
-
* @type {
|
|
91
|
+
* @type {JobDtoTitleLocal}
|
|
104
92
|
* @memberof JobDto
|
|
105
93
|
*/
|
|
106
|
-
|
|
94
|
+
descriptionLocal?: JobDtoTitleLocal;
|
|
107
95
|
/**
|
|
108
96
|
*
|
|
109
|
-
* @type {
|
|
97
|
+
* @type {{ [key: string]: any; }}
|
|
110
98
|
* @memberof JobDto
|
|
111
99
|
*/
|
|
112
|
-
|
|
100
|
+
output?: { [key: string]: any; };
|
|
113
101
|
/**
|
|
114
102
|
*
|
|
115
|
-
* @type {
|
|
103
|
+
* @type {Array<JobDtoTasksInner>}
|
|
116
104
|
* @memberof JobDto
|
|
117
105
|
*/
|
|
118
|
-
|
|
106
|
+
tasks?: Array<JobDtoTasksInner>;
|
|
119
107
|
/**
|
|
120
108
|
*
|
|
121
109
|
* @type {string}
|
|
122
110
|
* @memberof JobDto
|
|
123
111
|
*/
|
|
124
|
-
|
|
112
|
+
id: string;
|
|
125
113
|
/**
|
|
126
114
|
*
|
|
127
|
-
* @type {
|
|
115
|
+
* @type {object}
|
|
128
116
|
* @memberof JobDto
|
|
129
117
|
*/
|
|
130
|
-
|
|
118
|
+
object: object;
|
|
131
119
|
/**
|
|
132
120
|
*
|
|
133
121
|
* @type {string}
|
|
134
122
|
* @memberof JobDto
|
|
135
123
|
*/
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
139
|
-
* @type {JobDtoTitleLocal}
|
|
140
|
-
* @memberof JobDto
|
|
141
|
-
*/
|
|
142
|
-
descriptionLocal: JobDtoTitleLocal;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @type {{ [key: string]: any; }}
|
|
146
|
-
* @memberof JobDto
|
|
147
|
-
*/
|
|
148
|
-
output: { [key: string]: any; };
|
|
124
|
+
createdAt: string;
|
|
149
125
|
/**
|
|
150
126
|
*
|
|
151
|
-
* @type {
|
|
127
|
+
* @type {string}
|
|
152
128
|
* @memberof JobDto
|
|
153
129
|
*/
|
|
154
|
-
|
|
130
|
+
updatedAt: string;
|
|
155
131
|
}
|
|
156
132
|
|
|
157
133
|
/**
|
|
@@ -159,23 +135,15 @@ export interface JobDto {
|
|
|
159
135
|
*/
|
|
160
136
|
export function instanceOfJobDto(value: object): boolean {
|
|
161
137
|
let isInstance = true;
|
|
162
|
-
isInstance = isInstance && "id" in value;
|
|
163
|
-
isInstance = isInstance && "object" in value;
|
|
164
138
|
isInstance = isInstance && "key" in value;
|
|
165
|
-
isInstance = isInstance && "createdAt" in value;
|
|
166
|
-
isInstance = isInstance && "updatedAt" in value;
|
|
167
139
|
isInstance = isInstance && "pipelineId" in value;
|
|
168
140
|
isInstance = isInstance && "projectId" in value;
|
|
169
|
-
isInstance = isInstance && "periodicities" in value;
|
|
170
|
-
isInstance = isInstance && "pipeline" in value;
|
|
171
|
-
isInstance = isInstance && "project" in value;
|
|
172
141
|
isInstance = isInstance && "status" in value;
|
|
173
142
|
isInstance = isInstance && "title" in value;
|
|
174
|
-
isInstance = isInstance && "
|
|
175
|
-
isInstance = isInstance && "
|
|
176
|
-
isInstance = isInstance && "
|
|
177
|
-
isInstance = isInstance && "
|
|
178
|
-
isInstance = isInstance && "tasks" in value;
|
|
143
|
+
isInstance = isInstance && "id" in value;
|
|
144
|
+
isInstance = isInstance && "object" in value;
|
|
145
|
+
isInstance = isInstance && "createdAt" in value;
|
|
146
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
179
147
|
|
|
180
148
|
return isInstance;
|
|
181
149
|
}
|
|
@@ -190,23 +158,21 @@ export function JobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Jo
|
|
|
190
158
|
}
|
|
191
159
|
return {
|
|
192
160
|
|
|
193
|
-
'id': json['id'],
|
|
194
|
-
'object': json['object'],
|
|
195
161
|
'key': json['key'],
|
|
196
|
-
'
|
|
197
|
-
'updatedAt': json['updatedAt'],
|
|
162
|
+
'periodicity': !exists(json, 'periodicity') ? undefined : ((json['periodicity'] as Array<any>).map(JobDtoPeriodicityInnerFromJSON)),
|
|
198
163
|
'pipelineId': json['pipelineId'],
|
|
199
164
|
'projectId': json['projectId'],
|
|
200
|
-
'periodicities': ((json['periodicities'] as Array<any>).map(JobDtoPeriodicitiesInnerFromJSON)),
|
|
201
|
-
'pipeline': JobExecutionDtoJobFromJSON(json['pipeline']),
|
|
202
|
-
'project': JobDtoProjectFromJSON(json['project']),
|
|
203
165
|
'status': json['status'],
|
|
204
166
|
'title': json['title'],
|
|
205
|
-
'titleLocal': JobDtoTitleLocalFromJSON(json['titleLocal']),
|
|
206
|
-
'description': json['description'],
|
|
207
|
-
'descriptionLocal': JobDtoTitleLocalFromJSON(json['descriptionLocal']),
|
|
208
|
-
'output': json['output'],
|
|
209
|
-
'tasks': ((json['tasks'] as Array<any>).map(JobDtoTasksInnerFromJSON)),
|
|
167
|
+
'titleLocal': !exists(json, 'titleLocal') ? undefined : JobDtoTitleLocalFromJSON(json['titleLocal']),
|
|
168
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
169
|
+
'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : JobDtoTitleLocalFromJSON(json['descriptionLocal']),
|
|
170
|
+
'output': !exists(json, 'output') ? undefined : json['output'],
|
|
171
|
+
'tasks': !exists(json, 'tasks') ? undefined : ((json['tasks'] as Array<any>).map(JobDtoTasksInnerFromJSON)),
|
|
172
|
+
'id': json['id'],
|
|
173
|
+
'object': json['object'],
|
|
174
|
+
'createdAt': json['createdAt'],
|
|
175
|
+
'updatedAt': json['updatedAt'],
|
|
210
176
|
};
|
|
211
177
|
}
|
|
212
178
|
|
|
@@ -219,23 +185,21 @@ export function JobDtoToJSON(value?: JobDto | null): any {
|
|
|
219
185
|
}
|
|
220
186
|
return {
|
|
221
187
|
|
|
222
|
-
'id': value.id,
|
|
223
|
-
'object': value.object,
|
|
224
188
|
'key': value.key,
|
|
225
|
-
'
|
|
226
|
-
'updatedAt': value.updatedAt,
|
|
189
|
+
'periodicity': value.periodicity === undefined ? undefined : ((value.periodicity as Array<any>).map(JobDtoPeriodicityInnerToJSON)),
|
|
227
190
|
'pipelineId': value.pipelineId,
|
|
228
191
|
'projectId': value.projectId,
|
|
229
|
-
'periodicities': ((value.periodicities as Array<any>).map(JobDtoPeriodicitiesInnerToJSON)),
|
|
230
|
-
'pipeline': JobExecutionDtoJobToJSON(value.pipeline),
|
|
231
|
-
'project': JobDtoProjectToJSON(value.project),
|
|
232
192
|
'status': value.status,
|
|
233
193
|
'title': value.title,
|
|
234
194
|
'titleLocal': JobDtoTitleLocalToJSON(value.titleLocal),
|
|
235
195
|
'description': value.description,
|
|
236
196
|
'descriptionLocal': JobDtoTitleLocalToJSON(value.descriptionLocal),
|
|
237
197
|
'output': value.output,
|
|
238
|
-
'tasks': ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
|
|
198
|
+
'tasks': value.tasks === undefined ? undefined : ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
|
|
199
|
+
'id': value.id,
|
|
200
|
+
'object': value.object,
|
|
201
|
+
'createdAt': value.createdAt,
|
|
202
|
+
'updatedAt': value.updatedAt,
|
|
239
203
|
};
|
|
240
204
|
}
|
|
241
205
|
|
|
@@ -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).
|