@product-live/api-sdk 1.87.0-dev
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/.openapi-generator-ignore +23 -0
- package/apis/DataFactoryFileApi.ts +185 -0
- package/apis/JobApi.ts +284 -0
- package/apis/JobExecutionApi.ts +123 -0
- package/apis/TaskApi.ts +299 -0
- package/apis/TaskExecutionApi.ts +128 -0
- package/apis/VariableApi.ts +85 -0
- package/apis/index.ts +8 -0
- package/index.ts +5 -0
- package/models/ExecuteJob400Response.ts +65 -0
- package/models/ExecuteJobDto.ts +97 -0
- package/models/ExecuteJobDtoInfo.ts +65 -0
- package/models/ExecuteJobDtoJob.ts +81 -0
- package/models/FileCreatedDto.ts +111 -0
- package/models/JobDto.ts +241 -0
- package/models/JobDtoPeriodicityInner.ts +73 -0
- package/models/JobDtoProject.ts +73 -0
- package/models/JobDtoTasksInner.ts +97 -0
- package/models/JobDtoTitleLocal.ts +73 -0
- package/models/JobExecutionDto.ts +202 -0
- package/models/JobExecutionDtoEventsInner.ts +89 -0
- package/models/TaskDto.ts +145 -0
- package/models/TaskDtoInputKeysInner.ts +73 -0
- package/models/TaskInstanceDto.ts +143 -0
- package/models/TaskInstanceUpdateDto.ts +107 -0
- package/models/VariableDto.ts +129 -0
- package/models/index.ts +19 -0
- package/package.json +10 -0
- package/runtime.ts +407 -0
|
@@ -0,0 +1,65 @@
|
|
|
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: 1.87.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 ExecuteJobDtoInfo
|
|
20
|
+
*/
|
|
21
|
+
export interface ExecuteJobDtoInfo {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ExecuteJobDtoInfo
|
|
26
|
+
*/
|
|
27
|
+
title?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ExecuteJobDtoInfo interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfExecuteJobDtoInfo(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function ExecuteJobDtoInfoFromJSON(json: any): ExecuteJobDtoInfo {
|
|
40
|
+
return ExecuteJobDtoInfoFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ExecuteJobDtoInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecuteJobDtoInfo {
|
|
44
|
+
if ((json === undefined) || (json === null)) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'title': !exists(json, 'title') ? undefined : json['title'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ExecuteJobDtoInfoToJSON(value?: ExecuteJobDtoInfo | null): any {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'title': value.title,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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: 1.87.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 ExecuteJobDtoJob
|
|
20
|
+
*/
|
|
21
|
+
export interface ExecuteJobDtoJob {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ExecuteJobDtoJob
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ExecuteJobDtoJob
|
|
32
|
+
*/
|
|
33
|
+
key?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ExecuteJobDtoJob
|
|
38
|
+
*/
|
|
39
|
+
name?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ExecuteJobDtoJob interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfExecuteJobDtoJob(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function ExecuteJobDtoJobFromJSON(json: any): ExecuteJobDtoJob {
|
|
52
|
+
return ExecuteJobDtoJobFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ExecuteJobDtoJobFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecuteJobDtoJob {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
62
|
+
'key': !exists(json, 'key') ? undefined : json['key'],
|
|
63
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ExecuteJobDtoJobToJSON(value?: ExecuteJobDtoJob | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'id': value.id,
|
|
77
|
+
'key': value.key,
|
|
78
|
+
'name': value.name,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -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: 1.87.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 FileCreatedDto
|
|
20
|
+
*/
|
|
21
|
+
export interface FileCreatedDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof FileCreatedDto
|
|
26
|
+
*/
|
|
27
|
+
object: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof FileCreatedDto
|
|
32
|
+
*/
|
|
33
|
+
id: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof FileCreatedDto
|
|
38
|
+
*/
|
|
39
|
+
createdAt: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof FileCreatedDto
|
|
44
|
+
*/
|
|
45
|
+
updatedAt: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof FileCreatedDto
|
|
50
|
+
*/
|
|
51
|
+
url: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof FileCreatedDto
|
|
56
|
+
*/
|
|
57
|
+
filename: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the FileCreatedDto interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfFileCreatedDto(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 FileCreatedDtoFromJSON(json: any): FileCreatedDto {
|
|
76
|
+
return FileCreatedDtoFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function FileCreatedDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileCreatedDto {
|
|
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 FileCreatedDtoToJSON(value?: FileCreatedDto | 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
|
+
|
package/models/JobDto.ts
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
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: 1.87.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 { ExecuteJobDtoJob } from './ExecuteJobDtoJob';
|
|
17
|
+
import {
|
|
18
|
+
ExecuteJobDtoJobFromJSON,
|
|
19
|
+
ExecuteJobDtoJobFromJSONTyped,
|
|
20
|
+
ExecuteJobDtoJobToJSON,
|
|
21
|
+
} from './ExecuteJobDtoJob';
|
|
22
|
+
import type { JobDtoPeriodicityInner } from './JobDtoPeriodicityInner';
|
|
23
|
+
import {
|
|
24
|
+
JobDtoPeriodicityInnerFromJSON,
|
|
25
|
+
JobDtoPeriodicityInnerFromJSONTyped,
|
|
26
|
+
JobDtoPeriodicityInnerToJSON,
|
|
27
|
+
} from './JobDtoPeriodicityInner';
|
|
28
|
+
import type { JobDtoProject } from './JobDtoProject';
|
|
29
|
+
import {
|
|
30
|
+
JobDtoProjectFromJSON,
|
|
31
|
+
JobDtoProjectFromJSONTyped,
|
|
32
|
+
JobDtoProjectToJSON,
|
|
33
|
+
} from './JobDtoProject';
|
|
34
|
+
import type { JobDtoTasksInner } from './JobDtoTasksInner';
|
|
35
|
+
import {
|
|
36
|
+
JobDtoTasksInnerFromJSON,
|
|
37
|
+
JobDtoTasksInnerFromJSONTyped,
|
|
38
|
+
JobDtoTasksInnerToJSON,
|
|
39
|
+
} from './JobDtoTasksInner';
|
|
40
|
+
import type { JobDtoTitleLocal } from './JobDtoTitleLocal';
|
|
41
|
+
import {
|
|
42
|
+
JobDtoTitleLocalFromJSON,
|
|
43
|
+
JobDtoTitleLocalFromJSONTyped,
|
|
44
|
+
JobDtoTitleLocalToJSON,
|
|
45
|
+
} from './JobDtoTitleLocal';
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @export
|
|
50
|
+
* @interface JobDto
|
|
51
|
+
*/
|
|
52
|
+
export interface JobDto {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof JobDto
|
|
57
|
+
*/
|
|
58
|
+
id: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof JobDto
|
|
63
|
+
*/
|
|
64
|
+
object: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof JobDto
|
|
69
|
+
*/
|
|
70
|
+
key: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof JobDto
|
|
75
|
+
*/
|
|
76
|
+
createdAt: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof JobDto
|
|
81
|
+
*/
|
|
82
|
+
updatedAt: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof JobDto
|
|
87
|
+
*/
|
|
88
|
+
pipelineId: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof JobDto
|
|
93
|
+
*/
|
|
94
|
+
projectId: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Array<JobDtoPeriodicityInner>}
|
|
98
|
+
* @memberof JobDto
|
|
99
|
+
*/
|
|
100
|
+
periodicity: Array<JobDtoPeriodicityInner>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {ExecuteJobDtoJob}
|
|
104
|
+
* @memberof JobDto
|
|
105
|
+
*/
|
|
106
|
+
pipeline: ExecuteJobDtoJob;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {JobDtoProject}
|
|
110
|
+
* @memberof JobDto
|
|
111
|
+
*/
|
|
112
|
+
project: JobDtoProject;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof JobDto
|
|
117
|
+
*/
|
|
118
|
+
status: string;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof JobDto
|
|
123
|
+
*/
|
|
124
|
+
title: string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {JobDtoTitleLocal}
|
|
128
|
+
* @memberof JobDto
|
|
129
|
+
*/
|
|
130
|
+
titleLocal: JobDtoTitleLocal;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof JobDto
|
|
135
|
+
*/
|
|
136
|
+
description: string;
|
|
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; };
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {Array<JobDtoTasksInner>}
|
|
152
|
+
* @memberof JobDto
|
|
153
|
+
*/
|
|
154
|
+
tasks: Array<JobDtoTasksInner>;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Check if a given object implements the JobDto interface.
|
|
159
|
+
*/
|
|
160
|
+
export function instanceOfJobDto(value: object): boolean {
|
|
161
|
+
let isInstance = true;
|
|
162
|
+
isInstance = isInstance && "id" in value;
|
|
163
|
+
isInstance = isInstance && "object" in value;
|
|
164
|
+
isInstance = isInstance && "key" in value;
|
|
165
|
+
isInstance = isInstance && "createdAt" in value;
|
|
166
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
167
|
+
isInstance = isInstance && "pipelineId" in value;
|
|
168
|
+
isInstance = isInstance && "projectId" in value;
|
|
169
|
+
isInstance = isInstance && "periodicity" in value;
|
|
170
|
+
isInstance = isInstance && "pipeline" in value;
|
|
171
|
+
isInstance = isInstance && "project" in value;
|
|
172
|
+
isInstance = isInstance && "status" in value;
|
|
173
|
+
isInstance = isInstance && "title" in value;
|
|
174
|
+
isInstance = isInstance && "titleLocal" in value;
|
|
175
|
+
isInstance = isInstance && "description" in value;
|
|
176
|
+
isInstance = isInstance && "descriptionLocal" in value;
|
|
177
|
+
isInstance = isInstance && "output" in value;
|
|
178
|
+
isInstance = isInstance && "tasks" in value;
|
|
179
|
+
|
|
180
|
+
return isInstance;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export function JobDtoFromJSON(json: any): JobDto {
|
|
184
|
+
return JobDtoFromJSONTyped(json, false);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export function JobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobDto {
|
|
188
|
+
if ((json === undefined) || (json === null)) {
|
|
189
|
+
return json;
|
|
190
|
+
}
|
|
191
|
+
return {
|
|
192
|
+
|
|
193
|
+
'id': json['id'],
|
|
194
|
+
'object': json['object'],
|
|
195
|
+
'key': json['key'],
|
|
196
|
+
'createdAt': json['createdAt'],
|
|
197
|
+
'updatedAt': json['updatedAt'],
|
|
198
|
+
'pipelineId': json['pipelineId'],
|
|
199
|
+
'projectId': json['projectId'],
|
|
200
|
+
'periodicity': ((json['periodicity'] as Array<any>).map(JobDtoPeriodicityInnerFromJSON)),
|
|
201
|
+
'pipeline': ExecuteJobDtoJobFromJSON(json['pipeline']),
|
|
202
|
+
'project': JobDtoProjectFromJSON(json['project']),
|
|
203
|
+
'status': json['status'],
|
|
204
|
+
'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)),
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export function JobDtoToJSON(value?: JobDto | null): any {
|
|
214
|
+
if (value === undefined) {
|
|
215
|
+
return undefined;
|
|
216
|
+
}
|
|
217
|
+
if (value === null) {
|
|
218
|
+
return null;
|
|
219
|
+
}
|
|
220
|
+
return {
|
|
221
|
+
|
|
222
|
+
'id': value.id,
|
|
223
|
+
'object': value.object,
|
|
224
|
+
'key': value.key,
|
|
225
|
+
'createdAt': value.createdAt,
|
|
226
|
+
'updatedAt': value.updatedAt,
|
|
227
|
+
'pipelineId': value.pipelineId,
|
|
228
|
+
'projectId': value.projectId,
|
|
229
|
+
'periodicity': ((value.periodicity as Array<any>).map(JobDtoPeriodicityInnerToJSON)),
|
|
230
|
+
'pipeline': ExecuteJobDtoJobToJSON(value.pipeline),
|
|
231
|
+
'project': JobDtoProjectToJSON(value.project),
|
|
232
|
+
'status': value.status,
|
|
233
|
+
'title': value.title,
|
|
234
|
+
'titleLocal': JobDtoTitleLocalToJSON(value.titleLocal),
|
|
235
|
+
'description': value.description,
|
|
236
|
+
'descriptionLocal': JobDtoTitleLocalToJSON(value.descriptionLocal),
|
|
237
|
+
'output': value.output,
|
|
238
|
+
'tasks': ((value.tasks as Array<any>).map(JobDtoTasksInnerToJSON)),
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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: 1.87.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 JobDtoPeriodicityInner
|
|
20
|
+
*/
|
|
21
|
+
export interface JobDtoPeriodicityInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof JobDtoPeriodicityInner
|
|
26
|
+
*/
|
|
27
|
+
isEnabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof JobDtoPeriodicityInner
|
|
32
|
+
*/
|
|
33
|
+
cronExpression?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the JobDtoPeriodicityInner interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfJobDtoPeriodicityInner(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function JobDtoPeriodicityInnerFromJSON(json: any): JobDtoPeriodicityInner {
|
|
46
|
+
return JobDtoPeriodicityInnerFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function JobDtoPeriodicityInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobDtoPeriodicityInner {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'isEnabled': !exists(json, 'isEnabled') ? undefined : json['isEnabled'],
|
|
56
|
+
'cronExpression': !exists(json, 'cronExpression') ? undefined : json['cronExpression'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function JobDtoPeriodicityInnerToJSON(value?: JobDtoPeriodicityInner | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'isEnabled': value.isEnabled,
|
|
70
|
+
'cronExpression': value.cronExpression,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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: 1.87.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 JobDtoProject
|
|
20
|
+
*/
|
|
21
|
+
export interface JobDtoProject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof JobDtoProject
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof JobDtoProject
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the JobDtoProject interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfJobDtoProject(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function JobDtoProjectFromJSON(json: any): JobDtoProject {
|
|
46
|
+
return JobDtoProjectFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function JobDtoProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobDtoProject {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
56
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function JobDtoProjectToJSON(value?: JobDtoProject | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'id': value.id,
|
|
70
|
+
'name': value.name,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|