@product-live/api-sdk 2.3.1 → 2.4.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 +1 -1
- package/apis/JobApi.ts +12 -7
- package/apis/JobExecutionApi.ts +1 -1
- package/apis/TaskApi.ts +1 -1
- package/apis/TaskExecutionApi.ts +1 -1
- package/apis/VariableApi.ts +1 -1
- package/dist/apis/JobApi.d.ts +2 -1
- package/dist/apis/JobApi.js +8 -5
- package/dist/apis/JobApi.js.map +1 -1
- package/dist/models/CreateJobDto.d.ts +13 -8
- package/dist/models/CreateJobDto.js +16 -12
- package/dist/models/CreateJobDto.js.map +1 -1
- package/dist/models/CreateJobExecutionDto.d.ts +1 -2
- package/dist/models/CreateJobExecutionDto.js +2 -3
- package/dist/models/CreateJobExecutionDto.js.map +1 -1
- package/dist/models/CreateTaskDto.d.ts +3 -4
- package/dist/models/CreateTaskDto.js +7 -8
- package/dist/models/CreateTaskDto.js.map +1 -1
- package/dist/models/CreateVariableDto.d.ts +8 -1
- package/dist/models/CreateVariableDto.js +8 -1
- package/dist/models/CreateVariableDto.js.map +1 -1
- package/dist/models/JobDto.d.ts +13 -8
- package/dist/models/JobDto.js +16 -12
- package/dist/models/JobDto.js.map +1 -1
- package/dist/models/JobExecutionDto.d.ts +18 -3
- package/dist/models/JobExecutionDto.js +18 -4
- package/dist/models/JobExecutionDto.js.map +1 -1
- package/dist/models/PatchTaskExecutionDto.d.ts +6 -1
- package/dist/models/PatchTaskExecutionDto.js +5 -1
- package/dist/models/PatchTaskExecutionDto.js.map +1 -1
- package/dist/models/TaskDto.d.ts +3 -4
- package/dist/models/TaskDto.js +7 -8
- package/dist/models/TaskDto.js.map +1 -1
- package/dist/models/TaskExecutionDto.d.ts +9 -1
- package/dist/models/TaskExecutionDto.js +8 -1
- package/dist/models/TaskExecutionDto.js.map +1 -1
- package/dist/models/UpdateJobDto.d.ts +13 -8
- package/dist/models/UpdateJobDto.js +16 -12
- package/dist/models/UpdateJobDto.js.map +1 -1
- package/dist/models/UpdateTaskDto.d.ts +3 -4
- package/dist/models/UpdateTaskDto.js +7 -8
- package/dist/models/UpdateTaskDto.js.map +1 -1
- package/dist/models/UpdateVariableDto.d.ts +8 -1
- package/dist/models/UpdateVariableDto.js +8 -1
- package/dist/models/UpdateVariableDto.js.map +1 -1
- package/dist/models/VariableDto.d.ts +8 -5
- package/dist/models/VariableDto.js +7 -3
- package/dist/models/VariableDto.js.map +1 -1
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/dist/models/index.js.map +1 -1
- package/models/CreateJobDto.ts +33 -38
- package/models/CreateJobExecutionDto.ts +5 -12
- package/models/CreateTaskDto.ts +13 -20
- package/models/CreateVariableDto.ts +23 -3
- package/models/FileControllerGetFiles200Response.ts +1 -1
- package/models/FileDto.ts +1 -1
- package/models/JobControllerList200Response.ts +1 -1
- package/models/JobDto.ts +33 -38
- package/models/JobExecutionControllerGetOne400Response.ts +1 -1
- package/models/JobExecutionControllerList200Response.ts +1 -1
- package/models/JobExecutionDto.ts +29 -14
- package/models/PatchTaskExecutionDto.ts +13 -2
- package/models/TaskControllerList200Response.ts +1 -1
- package/models/TaskDto.ts +13 -20
- package/models/TaskExecutionDto.ts +16 -2
- package/models/UpdateJobDto.ts +33 -38
- package/models/UpdateTaskDto.ts +13 -20
- package/models/UpdateVariableDto.ts +23 -3
- package/models/VariableControllerList200Response.ts +1 -1
- package/models/VariableDto.ts +18 -8
- package/models/index.ts +0 -5
- package/package.json +2 -2
- package/runtime.ts +1 -1
|
@@ -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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ export interface PatchTaskExecutionDto {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof PatchTaskExecutionDto
|
|
32
32
|
*/
|
|
33
|
-
status:
|
|
33
|
+
status: PatchTaskExecutionDtoStatusEnum;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {{ [key: string]: any; }}
|
|
@@ -39,6 +39,17 @@ export interface PatchTaskExecutionDto {
|
|
|
39
39
|
output?: { [key: string]: any; };
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const PatchTaskExecutionDtoStatusEnum = {
|
|
47
|
+
Failed: 'FAILED',
|
|
48
|
+
Completed: 'COMPLETED'
|
|
49
|
+
} as const;
|
|
50
|
+
export type PatchTaskExecutionDtoStatusEnum = typeof PatchTaskExecutionDtoStatusEnum[keyof typeof PatchTaskExecutionDtoStatusEnum];
|
|
51
|
+
|
|
52
|
+
|
|
42
53
|
/**
|
|
43
54
|
* Check if a given object implements the PatchTaskExecutionDto interface.
|
|
44
55
|
*/
|
|
@@ -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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
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
16
|
/**
|
|
24
17
|
*
|
|
25
18
|
* @export
|
|
@@ -31,7 +24,7 @@ export interface TaskDto {
|
|
|
31
24
|
* @type {string}
|
|
32
25
|
* @memberof TaskDto
|
|
33
26
|
*/
|
|
34
|
-
|
|
27
|
+
key: string;
|
|
35
28
|
/**
|
|
36
29
|
*
|
|
37
30
|
* @type {string}
|
|
@@ -46,16 +39,16 @@ export interface TaskDto {
|
|
|
46
39
|
retryCount: number;
|
|
47
40
|
/**
|
|
48
41
|
*
|
|
49
|
-
* @type {Array<
|
|
42
|
+
* @type {Array<object>}
|
|
50
43
|
* @memberof TaskDto
|
|
51
44
|
*/
|
|
52
|
-
inputKeys: Array<
|
|
45
|
+
inputKeys: Array<object>;
|
|
53
46
|
/**
|
|
54
47
|
*
|
|
55
|
-
* @type {Array<
|
|
48
|
+
* @type {Array<object>}
|
|
56
49
|
* @memberof TaskDto
|
|
57
50
|
*/
|
|
58
|
-
outputKeys: Array<
|
|
51
|
+
outputKeys: Array<object>;
|
|
59
52
|
/**
|
|
60
53
|
*
|
|
61
54
|
* @type {string}
|
|
@@ -87,7 +80,7 @@ export interface TaskDto {
|
|
|
87
80
|
*/
|
|
88
81
|
export function instanceOfTaskDto(value: object): boolean {
|
|
89
82
|
let isInstance = true;
|
|
90
|
-
isInstance = isInstance && "
|
|
83
|
+
isInstance = isInstance && "key" in value;
|
|
91
84
|
isInstance = isInstance && "description" in value;
|
|
92
85
|
isInstance = isInstance && "retryCount" in value;
|
|
93
86
|
isInstance = isInstance && "inputKeys" in value;
|
|
@@ -110,11 +103,11 @@ export function TaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): T
|
|
|
110
103
|
}
|
|
111
104
|
return {
|
|
112
105
|
|
|
113
|
-
'
|
|
106
|
+
'key': json['key'],
|
|
114
107
|
'description': json['description'],
|
|
115
108
|
'retryCount': json['retryCount'],
|
|
116
|
-
'inputKeys':
|
|
117
|
-
'outputKeys':
|
|
109
|
+
'inputKeys': json['inputKeys'],
|
|
110
|
+
'outputKeys': json['outputKeys'],
|
|
118
111
|
'id': json['id'],
|
|
119
112
|
'object': json['object'],
|
|
120
113
|
'createdAt': json['createdAt'],
|
|
@@ -131,11 +124,11 @@ export function TaskDtoToJSON(value?: TaskDto | null): any {
|
|
|
131
124
|
}
|
|
132
125
|
return {
|
|
133
126
|
|
|
134
|
-
'
|
|
127
|
+
'key': value.key,
|
|
135
128
|
'description': value.description,
|
|
136
129
|
'retryCount': value.retryCount,
|
|
137
|
-
'inputKeys':
|
|
138
|
-
'outputKeys':
|
|
130
|
+
'inputKeys': value.inputKeys,
|
|
131
|
+
'outputKeys': value.outputKeys,
|
|
139
132
|
'id': value.id,
|
|
140
133
|
'object': value.object,
|
|
141
134
|
'createdAt': value.createdAt,
|
|
@@ -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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -60,7 +60,7 @@ export interface TaskExecutionDto {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof TaskExecutionDto
|
|
62
62
|
*/
|
|
63
|
-
status:
|
|
63
|
+
status: TaskExecutionDtoStatusEnum;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
@@ -69,6 +69,20 @@ export interface TaskExecutionDto {
|
|
|
69
69
|
taskId: string;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export const TaskExecutionDtoStatusEnum = {
|
|
77
|
+
Scheduled: 'SCHEDULED',
|
|
78
|
+
InProgress: 'IN_PROGRESS',
|
|
79
|
+
Cancelled: 'CANCELLED',
|
|
80
|
+
Failed: 'FAILED',
|
|
81
|
+
Completed: 'COMPLETED'
|
|
82
|
+
} as const;
|
|
83
|
+
export type TaskExecutionDtoStatusEnum = typeof TaskExecutionDtoStatusEnum[keyof typeof TaskExecutionDtoStatusEnum];
|
|
84
|
+
|
|
85
|
+
|
|
72
86
|
/**
|
|
73
87
|
* Check if a given object implements the TaskExecutionDto interface.
|
|
74
88
|
*/
|
package/models/UpdateJobDto.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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,25 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
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
16
|
/**
|
|
36
17
|
*
|
|
37
18
|
* @export
|
|
@@ -46,10 +27,10 @@ export interface UpdateJobDto {
|
|
|
46
27
|
key: string;
|
|
47
28
|
/**
|
|
48
29
|
*
|
|
49
|
-
* @type {Array<
|
|
30
|
+
* @type {Array<object>}
|
|
50
31
|
* @memberof UpdateJobDto
|
|
51
32
|
*/
|
|
52
|
-
periodicity?: Array<
|
|
33
|
+
periodicity?: Array<object>;
|
|
53
34
|
/**
|
|
54
35
|
*
|
|
55
36
|
* @type {string}
|
|
@@ -64,10 +45,10 @@ export interface UpdateJobDto {
|
|
|
64
45
|
projectId: string;
|
|
65
46
|
/**
|
|
66
47
|
*
|
|
67
|
-
* @type {
|
|
48
|
+
* @type {string}
|
|
68
49
|
* @memberof UpdateJobDto
|
|
69
50
|
*/
|
|
70
|
-
status:
|
|
51
|
+
status: UpdateJobDtoStatusEnum;
|
|
71
52
|
/**
|
|
72
53
|
*
|
|
73
54
|
* @type {string}
|
|
@@ -76,10 +57,10 @@ export interface UpdateJobDto {
|
|
|
76
57
|
title: string;
|
|
77
58
|
/**
|
|
78
59
|
*
|
|
79
|
-
* @type {
|
|
60
|
+
* @type {object}
|
|
80
61
|
* @memberof UpdateJobDto
|
|
81
62
|
*/
|
|
82
|
-
titleLocal?:
|
|
63
|
+
titleLocal?: object;
|
|
83
64
|
/**
|
|
84
65
|
*
|
|
85
66
|
* @type {string}
|
|
@@ -88,10 +69,10 @@ export interface UpdateJobDto {
|
|
|
88
69
|
description?: string;
|
|
89
70
|
/**
|
|
90
71
|
*
|
|
91
|
-
* @type {
|
|
72
|
+
* @type {object}
|
|
92
73
|
* @memberof UpdateJobDto
|
|
93
74
|
*/
|
|
94
|
-
descriptionLocal?:
|
|
75
|
+
descriptionLocal?: object;
|
|
95
76
|
/**
|
|
96
77
|
*
|
|
97
78
|
* @type {{ [key: string]: any; }}
|
|
@@ -100,10 +81,10 @@ export interface UpdateJobDto {
|
|
|
100
81
|
output?: { [key: string]: any; };
|
|
101
82
|
/**
|
|
102
83
|
*
|
|
103
|
-
* @type {Array<
|
|
84
|
+
* @type {Array<object>}
|
|
104
85
|
* @memberof UpdateJobDto
|
|
105
86
|
*/
|
|
106
|
-
tasks?: Array<
|
|
87
|
+
tasks?: Array<object>;
|
|
107
88
|
/**
|
|
108
89
|
*
|
|
109
90
|
* @type {string}
|
|
@@ -112,6 +93,20 @@ export interface UpdateJobDto {
|
|
|
112
93
|
id: string;
|
|
113
94
|
}
|
|
114
95
|
|
|
96
|
+
|
|
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
|
+
|
|
109
|
+
|
|
115
110
|
/**
|
|
116
111
|
* Check if a given object implements the UpdateJobDto interface.
|
|
117
112
|
*/
|
|
@@ -138,16 +133,16 @@ export function UpdateJobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
138
133
|
return {
|
|
139
134
|
|
|
140
135
|
'key': json['key'],
|
|
141
|
-
'periodicity': !exists(json, 'periodicity') ? undefined :
|
|
136
|
+
'periodicity': !exists(json, 'periodicity') ? undefined : json['periodicity'],
|
|
142
137
|
'pipelineId': json['pipelineId'],
|
|
143
138
|
'projectId': json['projectId'],
|
|
144
139
|
'status': json['status'],
|
|
145
140
|
'title': json['title'],
|
|
146
|
-
'titleLocal': !exists(json, 'titleLocal') ? undefined :
|
|
141
|
+
'titleLocal': !exists(json, 'titleLocal') ? undefined : json['titleLocal'],
|
|
147
142
|
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
148
|
-
'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined :
|
|
143
|
+
'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : json['descriptionLocal'],
|
|
149
144
|
'output': !exists(json, 'output') ? undefined : json['output'],
|
|
150
|
-
'tasks': !exists(json, 'tasks') ? undefined :
|
|
145
|
+
'tasks': !exists(json, 'tasks') ? undefined : json['tasks'],
|
|
151
146
|
'id': json['id'],
|
|
152
147
|
};
|
|
153
148
|
}
|
|
@@ -162,16 +157,16 @@ export function UpdateJobDtoToJSON(value?: UpdateJobDto | null): any {
|
|
|
162
157
|
return {
|
|
163
158
|
|
|
164
159
|
'key': value.key,
|
|
165
|
-
'periodicity': value.periodicity
|
|
160
|
+
'periodicity': value.periodicity,
|
|
166
161
|
'pipelineId': value.pipelineId,
|
|
167
162
|
'projectId': value.projectId,
|
|
168
163
|
'status': value.status,
|
|
169
164
|
'title': value.title,
|
|
170
|
-
'titleLocal':
|
|
165
|
+
'titleLocal': value.titleLocal,
|
|
171
166
|
'description': value.description,
|
|
172
|
-
'descriptionLocal':
|
|
167
|
+
'descriptionLocal': value.descriptionLocal,
|
|
173
168
|
'output': value.output,
|
|
174
|
-
'tasks': value.tasks
|
|
169
|
+
'tasks': value.tasks,
|
|
175
170
|
'id': value.id,
|
|
176
171
|
};
|
|
177
172
|
}
|
package/models/UpdateTaskDto.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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
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
16
|
/**
|
|
24
17
|
*
|
|
25
18
|
* @export
|
|
@@ -31,7 +24,7 @@ export interface UpdateTaskDto {
|
|
|
31
24
|
* @type {string}
|
|
32
25
|
* @memberof UpdateTaskDto
|
|
33
26
|
*/
|
|
34
|
-
|
|
27
|
+
key: string;
|
|
35
28
|
/**
|
|
36
29
|
*
|
|
37
30
|
* @type {string}
|
|
@@ -46,16 +39,16 @@ export interface UpdateTaskDto {
|
|
|
46
39
|
retryCount: number;
|
|
47
40
|
/**
|
|
48
41
|
*
|
|
49
|
-
* @type {Array<
|
|
42
|
+
* @type {Array<object>}
|
|
50
43
|
* @memberof UpdateTaskDto
|
|
51
44
|
*/
|
|
52
|
-
inputKeys: Array<
|
|
45
|
+
inputKeys: Array<object>;
|
|
53
46
|
/**
|
|
54
47
|
*
|
|
55
|
-
* @type {Array<
|
|
48
|
+
* @type {Array<object>}
|
|
56
49
|
* @memberof UpdateTaskDto
|
|
57
50
|
*/
|
|
58
|
-
outputKeys: Array<
|
|
51
|
+
outputKeys: Array<object>;
|
|
59
52
|
/**
|
|
60
53
|
*
|
|
61
54
|
* @type {string}
|
|
@@ -69,7 +62,7 @@ export interface UpdateTaskDto {
|
|
|
69
62
|
*/
|
|
70
63
|
export function instanceOfUpdateTaskDto(value: object): boolean {
|
|
71
64
|
let isInstance = true;
|
|
72
|
-
isInstance = isInstance && "
|
|
65
|
+
isInstance = isInstance && "key" in value;
|
|
73
66
|
isInstance = isInstance && "description" in value;
|
|
74
67
|
isInstance = isInstance && "retryCount" in value;
|
|
75
68
|
isInstance = isInstance && "inputKeys" in value;
|
|
@@ -89,11 +82,11 @@ export function UpdateTaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
89
82
|
}
|
|
90
83
|
return {
|
|
91
84
|
|
|
92
|
-
'
|
|
85
|
+
'key': json['key'],
|
|
93
86
|
'description': json['description'],
|
|
94
87
|
'retryCount': json['retryCount'],
|
|
95
|
-
'inputKeys':
|
|
96
|
-
'outputKeys':
|
|
88
|
+
'inputKeys': json['inputKeys'],
|
|
89
|
+
'outputKeys': json['outputKeys'],
|
|
97
90
|
'id': json['id'],
|
|
98
91
|
};
|
|
99
92
|
}
|
|
@@ -107,11 +100,11 @@ export function UpdateTaskDtoToJSON(value?: UpdateTaskDto | null): any {
|
|
|
107
100
|
}
|
|
108
101
|
return {
|
|
109
102
|
|
|
110
|
-
'
|
|
103
|
+
'key': value.key,
|
|
111
104
|
'description': value.description,
|
|
112
105
|
'retryCount': value.retryCount,
|
|
113
|
-
'inputKeys':
|
|
114
|
-
'outputKeys':
|
|
106
|
+
'inputKeys': value.inputKeys,
|
|
107
|
+
'outputKeys': value.outputKeys,
|
|
115
108
|
'id': value.id,
|
|
116
109
|
};
|
|
117
110
|
}
|
|
@@ -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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,16 +33,22 @@ export interface UpdateVariableDto {
|
|
|
33
33
|
name: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {string}
|
|
37
37
|
* @memberof UpdateVariableDto
|
|
38
38
|
*/
|
|
39
|
-
status?:
|
|
39
|
+
status?: UpdateVariableDtoStatusEnum;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof UpdateVariableDto
|
|
44
44
|
*/
|
|
45
45
|
value: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof UpdateVariableDto
|
|
50
|
+
*/
|
|
51
|
+
secret?: boolean;
|
|
46
52
|
/**
|
|
47
53
|
*
|
|
48
54
|
* @type {string}
|
|
@@ -51,6 +57,18 @@ export interface UpdateVariableDto {
|
|
|
51
57
|
id: string;
|
|
52
58
|
}
|
|
53
59
|
|
|
60
|
+
|
|
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
|
+
|
|
71
|
+
|
|
54
72
|
/**
|
|
55
73
|
* Check if a given object implements the UpdateVariableDto interface.
|
|
56
74
|
*/
|
|
@@ -78,6 +96,7 @@ export function UpdateVariableDtoFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
78
96
|
'name': json['name'],
|
|
79
97
|
'status': !exists(json, 'status') ? undefined : json['status'],
|
|
80
98
|
'value': json['value'],
|
|
99
|
+
'secret': !exists(json, 'secret') ? undefined : json['secret'],
|
|
81
100
|
'id': json['id'],
|
|
82
101
|
};
|
|
83
102
|
}
|
|
@@ -95,6 +114,7 @@ export function UpdateVariableDtoToJSON(value?: UpdateVariableDto | null): any {
|
|
|
95
114
|
'name': value.name,
|
|
96
115
|
'status': value.status,
|
|
97
116
|
'value': value.value,
|
|
117
|
+
'secret': value.secret,
|
|
98
118
|
'id': value.id,
|
|
99
119
|
};
|
|
100
120
|
}
|
|
@@ -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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/models/VariableDto.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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,16 +33,22 @@ export interface VariableDto {
|
|
|
33
33
|
name: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {string}
|
|
37
37
|
* @memberof VariableDto
|
|
38
38
|
*/
|
|
39
|
-
status?:
|
|
39
|
+
status?: VariableDtoStatusEnum;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof VariableDto
|
|
44
44
|
*/
|
|
45
45
|
value: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof VariableDto
|
|
50
|
+
*/
|
|
51
|
+
secret?: boolean;
|
|
46
52
|
/**
|
|
47
53
|
*
|
|
48
54
|
* @type {string}
|
|
@@ -51,10 +57,10 @@ export interface VariableDto {
|
|
|
51
57
|
id: string;
|
|
52
58
|
/**
|
|
53
59
|
*
|
|
54
|
-
* @type {
|
|
60
|
+
* @type {object}
|
|
55
61
|
* @memberof VariableDto
|
|
56
62
|
*/
|
|
57
|
-
object:
|
|
63
|
+
object: object;
|
|
58
64
|
/**
|
|
59
65
|
*
|
|
60
66
|
* @type {string}
|
|
@@ -73,10 +79,12 @@ export interface VariableDto {
|
|
|
73
79
|
/**
|
|
74
80
|
* @export
|
|
75
81
|
*/
|
|
76
|
-
export const
|
|
77
|
-
|
|
82
|
+
export const VariableDtoStatusEnum = {
|
|
83
|
+
Active: 'ACTIVE',
|
|
84
|
+
Archived: 'ARCHIVED',
|
|
85
|
+
Deleted: 'DELETED'
|
|
78
86
|
} as const;
|
|
79
|
-
export type
|
|
87
|
+
export type VariableDtoStatusEnum = typeof VariableDtoStatusEnum[keyof typeof VariableDtoStatusEnum];
|
|
80
88
|
|
|
81
89
|
|
|
82
90
|
/**
|
|
@@ -109,6 +117,7 @@ export function VariableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
109
117
|
'name': json['name'],
|
|
110
118
|
'status': !exists(json, 'status') ? undefined : json['status'],
|
|
111
119
|
'value': json['value'],
|
|
120
|
+
'secret': !exists(json, 'secret') ? undefined : json['secret'],
|
|
112
121
|
'id': json['id'],
|
|
113
122
|
'object': json['object'],
|
|
114
123
|
'createdAt': json['createdAt'],
|
|
@@ -129,6 +138,7 @@ export function VariableDtoToJSON(value?: VariableDto | null): any {
|
|
|
129
138
|
'name': value.name,
|
|
130
139
|
'status': value.status,
|
|
131
140
|
'value': value.value,
|
|
141
|
+
'secret': value.secret,
|
|
132
142
|
'id': value.id,
|
|
133
143
|
'object': value.object,
|
|
134
144
|
'createdAt': value.createdAt,
|
package/models/index.ts
CHANGED
|
@@ -8,17 +8,12 @@ export * from './FileControllerGetFiles200Response';
|
|
|
8
8
|
export * from './FileDto';
|
|
9
9
|
export * from './JobControllerList200Response';
|
|
10
10
|
export * from './JobDto';
|
|
11
|
-
export * from './JobDtoPeriodicityInner';
|
|
12
|
-
export * from './JobDtoTasksInner';
|
|
13
|
-
export * from './JobDtoTitleLocal';
|
|
14
11
|
export * from './JobExecutionControllerGetOne400Response';
|
|
15
12
|
export * from './JobExecutionControllerList200Response';
|
|
16
13
|
export * from './JobExecutionDto';
|
|
17
|
-
export * from './JobExecutionDtoInfo';
|
|
18
14
|
export * from './PatchTaskExecutionDto';
|
|
19
15
|
export * from './TaskControllerList200Response';
|
|
20
16
|
export * from './TaskDto';
|
|
21
|
-
export * from './TaskDtoInputKeysInner';
|
|
22
17
|
export * from './TaskExecutionDto';
|
|
23
18
|
export * from './UpdateJobDto';
|
|
24
19
|
export * from './UpdateTaskDto';
|
package/package.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"main": "./dist/index.js",
|
|
4
4
|
"author": "product-live",
|
|
5
5
|
"license": "ISC",
|
|
6
|
-
"version": "2.
|
|
7
|
-
"hash": "
|
|
6
|
+
"version": "2.4.1",
|
|
7
|
+
"hash": "c3b7273586a046c27234ad49ae6f93e2c6e04e6d0583354bdfa04f6202053615",
|
|
8
8
|
"homepage": "https://api-next.product-live.com/-json",
|
|
9
9
|
"name": "@product-live/api-sdk",
|
|
10
10
|
"scripts": {
|
package/runtime.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: 2.1
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|