@product-live/api-sdk 2.5.1 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DataFactoryFileApi.md +182 -0
- package/JobApi.md +333 -0
- package/JobExecutionApi.md +185 -0
- package/README.md +80 -0
- package/TaskApi.md +375 -0
- package/TaskExecutionApi.md +130 -0
- package/VariableApi.md +315 -0
- package/apis/DataFactoryFileApi.ts +252 -133
- package/apis/JobApi.ts +414 -201
- package/apis/JobExecutionApi.ts +237 -121
- package/apis/TaskApi.ts +458 -213
- package/apis/TaskExecutionApi.ts +174 -90
- package/apis/VariableApi.ts +406 -195
- package/apis/baseapi.ts +37 -0
- package/apis/exception.ts +15 -0
- package/auth/auth.ts +107 -0
- package/configuration.ts +82 -0
- package/dist/apis/DataFactoryFileApi.d.ts +14 -19
- package/dist/apis/DataFactoryFileApi.js +340 -103
- package/dist/apis/DataFactoryFileApi.js.map +1 -1
- package/dist/apis/JobApi.d.ts +19 -30
- package/dist/apis/JobApi.js +524 -165
- package/dist/apis/JobApi.js.map +1 -1
- package/dist/apis/JobExecutionApi.d.ts +14 -18
- package/dist/apis/JobExecutionApi.js +320 -88
- package/dist/apis/JobExecutionApi.js.map +1 -1
- package/dist/apis/TaskApi.d.ts +22 -34
- package/dist/apis/TaskApi.js +584 -171
- package/dist/apis/TaskApi.js.map +1 -1
- package/dist/apis/TaskExecutionApi.d.ts +11 -13
- package/dist/apis/TaskExecutionApi.js +242 -62
- package/dist/apis/TaskExecutionApi.js.map +1 -1
- package/dist/apis/VariableApi.d.ts +20 -31
- package/dist/apis/VariableApi.js +506 -153
- package/dist/apis/VariableApi.js.map +1 -1
- package/dist/apis/baseapi.d.ts +18 -0
- package/dist/apis/baseapi.js +46 -0
- package/dist/apis/baseapi.js.map +1 -0
- package/dist/apis/exception.d.ts +10 -0
- package/dist/apis/exception.js +32 -0
- package/dist/apis/exception.js.map +1 -0
- package/dist/auth/auth.d.ts +42 -0
- package/dist/auth/auth.js +45 -0
- package/dist/auth/auth.js.map +1 -0
- package/dist/configuration.d.ts +18 -0
- package/dist/configuration.js +22 -0
- package/dist/configuration.js.map +1 -0
- package/dist/http/http.d.ts +82 -0
- package/dist/http/http.js +229 -0
- package/dist/http/http.js.map +1 -0
- package/dist/http/isomorphic-fetch.d.ts +5 -0
- package/dist/http/isomorphic-fetch.js +34 -0
- package/dist/http/isomorphic-fetch.js.map +1 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/middleware.d.ts +16 -0
- package/dist/middleware.js +18 -0
- package/dist/middleware.js.map +1 -0
- package/dist/models/CreateJobDto.d.ts +27 -24
- package/dist/models/CreateJobDto.js +77 -62
- package/dist/models/CreateJobDto.js.map +1 -1
- package/dist/models/CreateJobExecutionDto.d.ts +18 -8
- package/dist/models/CreateJobExecutionDto.js +29 -36
- package/dist/models/CreateJobExecutionDto.js.map +1 -1
- package/dist/models/CreateTaskDto.d.ts +20 -10
- package/dist/models/CreateTaskDto.js +41 -42
- package/dist/models/CreateTaskDto.js.map +1 -1
- package/dist/models/CreateVariableDto.d.ts +21 -16
- package/dist/models/CreateVariableDto.js +41 -46
- package/dist/models/CreateVariableDto.js.map +1 -1
- package/dist/models/FileDto.d.ts +22 -15
- package/dist/models/FileDto.js +47 -48
- package/dist/models/FileDto.js.map +1 -1
- package/dist/models/FindVariablesRequest.d.ts +24 -7
- package/dist/models/FindVariablesRequest.js +42 -33
- package/dist/models/FindVariablesRequest.js.map +1 -1
- package/dist/models/GetFiles200Response.d.ts +20 -13
- package/dist/models/GetFiles200Response.js +29 -38
- package/dist/models/GetFiles200Response.js.map +1 -1
- package/dist/models/GetJobExecutionById400Response.d.ts +16 -6
- package/dist/models/GetJobExecutionById400Response.js +17 -30
- package/dist/models/GetJobExecutionById400Response.js.map +1 -1
- package/dist/models/GetJobExecutions200Response.d.ts +20 -13
- package/dist/models/GetJobExecutions200Response.js +29 -38
- package/dist/models/GetJobExecutions200Response.js.map +1 -1
- package/dist/models/GetJobs200Response.d.ts +20 -13
- package/dist/models/GetJobs200Response.js +29 -38
- package/dist/models/GetJobs200Response.js.map +1 -1
- package/dist/models/GetTasks200Response.d.ts +20 -13
- package/dist/models/GetTasks200Response.js +29 -38
- package/dist/models/GetTasks200Response.js.map +1 -1
- package/dist/models/GetVariables200Response.d.ts +20 -13
- package/dist/models/GetVariables200Response.js +29 -38
- package/dist/models/GetVariables200Response.js.map +1 -1
- package/dist/models/HighOrderQuery.d.ts +19 -13
- package/dist/models/HighOrderQuery.js +23 -37
- package/dist/models/HighOrderQuery.js.map +1 -1
- package/dist/models/JobDto.d.ts +32 -32
- package/dist/models/JobDto.js +101 -77
- package/dist/models/JobDto.js.map +1 -1
- package/dist/models/JobExecutionDto.d.ts +28 -21
- package/dist/models/JobExecutionDto.js +83 -66
- package/dist/models/JobExecutionDto.js.map +1 -1
- package/dist/models/LowOrderQuery.d.ts +21 -22
- package/dist/models/LowOrderQuery.js +35 -49
- package/dist/models/LowOrderQuery.js.map +1 -1
- package/dist/models/LowOrderQueryValue.d.ts +16 -0
- package/dist/models/LowOrderQueryValue.js +15 -0
- package/dist/models/LowOrderQueryValue.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +34 -0
- package/dist/models/ObjectSerializer.js +313 -0
- package/dist/models/ObjectSerializer.js.map +1 -0
- package/dist/models/PatchTaskExecutionDto.d.ts +19 -13
- package/dist/models/PatchTaskExecutionDto.js +29 -40
- package/dist/models/PatchTaskExecutionDto.js.map +1 -1
- package/dist/models/Query.d.ts +17 -20
- package/dist/models/Query.js +17 -43
- package/dist/models/Query.js.map +1 -1
- package/dist/models/TaskDto.d.ts +25 -18
- package/dist/models/TaskDto.js +65 -57
- package/dist/models/TaskDto.js.map +1 -1
- package/dist/models/TaskExecutionDto.d.ts +25 -25
- package/dist/models/TaskExecutionDto.js +59 -61
- package/dist/models/TaskExecutionDto.js.map +1 -1
- package/dist/models/UpdateJobDto.d.ts +28 -25
- package/dist/models/UpdateJobDto.js +83 -65
- package/dist/models/UpdateJobDto.js.map +1 -1
- package/dist/models/UpdateTaskDto.d.ts +21 -11
- package/dist/models/UpdateTaskDto.js +47 -45
- package/dist/models/UpdateTaskDto.js.map +1 -1
- package/dist/models/UpdateVariableDto.d.ts +22 -17
- package/dist/models/UpdateVariableDto.js +47 -49
- package/dist/models/UpdateVariableDto.js.map +1 -1
- package/dist/models/VariableDto.d.ts +26 -24
- package/dist/models/VariableDto.js +65 -61
- package/dist/models/VariableDto.js.map +1 -1
- package/dist/models/all.d.ts +25 -0
- package/dist/models/all.js +42 -0
- package/dist/models/all.js.map +1 -0
- package/dist/rxjsStub.d.ts +10 -0
- package/dist/rxjsStub.js +33 -0
- package/dist/rxjsStub.js.map +1 -0
- package/dist/servers.d.ts +17 -0
- package/dist/servers.js +32 -0
- package/dist/servers.js.map +1 -0
- package/dist/types/ObjectParamAPI.d.ts +160 -0
- package/dist/types/ObjectParamAPI.js +129 -0
- package/dist/types/ObjectParamAPI.js.map +1 -0
- package/dist/types/ObservableAPI.d.ts +89 -0
- package/dist/types/ObservableAPI.js +642 -0
- package/dist/types/ObservableAPI.js.map +1 -0
- package/dist/types/PromiseAPI.d.ts +76 -0
- package/dist/types/PromiseAPI.js +148 -0
- package/dist/types/PromiseAPI.js.map +1 -0
- package/dist/util.d.ts +2 -0
- package/dist/util.js +29 -0
- package/dist/util.js.map +1 -0
- package/git_push.sh +51 -0
- package/http/http.ts +229 -0
- package/http/isomorphic-fetch.ts +32 -0
- package/index.ts +12 -5
- package/middleware.ts +66 -0
- package/models/CreateJobDto.ts +88 -144
- package/models/CreateJobExecutionDto.ts +29 -63
- package/models/CreateTaskDto.ts +43 -82
- package/models/CreateVariableDto.ts +46 -92
- package/models/FileDto.ts +53 -101
- package/models/FindVariablesRequest.ts +50 -55
- package/models/GetFiles200Response.ts +37 -82
- package/models/GetJobExecutionById400Response.ts +15 -45
- package/models/GetJobExecutions200Response.ts +37 -82
- package/models/GetJobs200Response.ts +37 -82
- package/models/GetTasks200Response.ts +37 -82
- package/models/GetVariables200Response.ts +37 -82
- package/models/HighOrderQuery.ts +30 -75
- package/models/JobDto.ts +117 -188
- package/models/JobExecutionDto.ts +95 -154
- package/models/LowOrderQuery.ts +44 -99
- package/models/LowOrderQueryValue.ts +29 -0
- package/models/ObjectSerializer.ts +324 -0
- package/models/PatchTaskExecutionDto.ts +36 -78
- package/models/Query.ts +18 -65
- package/models/TaskDto.ts +74 -128
- package/models/TaskExecutionDto.ts +68 -131
- package/models/UpdateJobDto.ts +95 -153
- package/models/UpdateTaskDto.ts +50 -91
- package/models/UpdateVariableDto.ts +53 -101
- package/models/VariableDto.ts +75 -136
- package/models/all.ts +25 -0
- package/package.json +35 -10
- package/rxjsStub.ts +27 -0
- package/servers.ts +55 -0
- package/types/ObjectParamAPI.ts +580 -0
- package/types/ObservableAPI.ts +701 -0
- package/types/PromiseAPI.ts +370 -0
- package/util.ts +37 -0
- package/apis/index.ts +0 -8
- package/dist/apis/index.d.ts +0 -6
- package/dist/apis/index.js +0 -23
- package/dist/apis/index.js.map +0 -1
- package/dist/models/FileControllerGetFiles200Response.d.ts +0 -14
- package/dist/models/FileControllerGetFiles200Response.js +0 -43
- package/dist/models/FileControllerGetFiles200Response.js.map +0 -1
- package/dist/models/JobControllerList200Response.d.ts +0 -14
- package/dist/models/JobControllerList200Response.js +0 -43
- package/dist/models/JobControllerList200Response.js.map +0 -1
- package/dist/models/JobDtoPeriodicityInner.d.ts +0 -8
- package/dist/models/JobDtoPeriodicityInner.js +0 -37
- package/dist/models/JobDtoPeriodicityInner.js.map +0 -1
- package/dist/models/JobDtoTasksInner.d.ts +0 -14
- package/dist/models/JobDtoTasksInner.js +0 -45
- package/dist/models/JobDtoTasksInner.js.map +0 -1
- package/dist/models/JobDtoTitleLocal.d.ts +0 -8
- package/dist/models/JobDtoTitleLocal.js +0 -37
- package/dist/models/JobDtoTitleLocal.js.map +0 -1
- package/dist/models/JobExecutionControllerGetOne400Response.d.ts +0 -7
- package/dist/models/JobExecutionControllerGetOne400Response.js +0 -35
- package/dist/models/JobExecutionControllerGetOne400Response.js.map +0 -1
- package/dist/models/JobExecutionControllerList200Response.d.ts +0 -14
- package/dist/models/JobExecutionControllerList200Response.js +0 -43
- package/dist/models/JobExecutionControllerList200Response.js.map +0 -1
- package/dist/models/JobExecutionDtoInfo.d.ts +0 -7
- package/dist/models/JobExecutionDtoInfo.js +0 -35
- package/dist/models/JobExecutionDtoInfo.js.map +0 -1
- package/dist/models/TaskControllerList200Response.d.ts +0 -14
- package/dist/models/TaskControllerList200Response.js +0 -43
- package/dist/models/TaskControllerList200Response.js.map +0 -1
- package/dist/models/TaskDtoInputKeysInner.d.ts +0 -8
- package/dist/models/TaskDtoInputKeysInner.js +0 -37
- package/dist/models/TaskDtoInputKeysInner.js.map +0 -1
- package/dist/models/VariableControllerList200Response.d.ts +0 -14
- package/dist/models/VariableControllerList200Response.js +0 -43
- package/dist/models/VariableControllerList200Response.js.map +0 -1
- package/dist/models/index.d.ts +0 -24
- package/dist/models/index.js +0 -41
- package/dist/models/index.js.map +0 -1
- package/dist/runtime.d.ts +0 -154
- package/dist/runtime.js +0 -306
- package/dist/runtime.js.map +0 -1
- package/models/ExecuteJob400Response.ts +0 -65
- package/models/ExecuteJobDto.ts +0 -97
- package/models/ExecuteJobDtoInfo.ts +0 -65
- package/models/ExecuteJobDtoJob.ts +0 -81
- package/models/FileControllerGetFiles200Response.ts +0 -98
- package/models/FileCreatedDto.ts +0 -111
- package/models/JobControllerList200Response.ts +0 -98
- package/models/JobDtoPeriodicitiesInner.ts +0 -73
- package/models/JobDtoPeriodicityInner.ts +0 -73
- package/models/JobDtoProject.ts +0 -73
- package/models/JobDtoTasksInner.ts +0 -105
- package/models/JobDtoTitleLocal.ts +0 -73
- package/models/JobExecutionControllerGetOne400Response.ts +0 -65
- package/models/JobExecutionControllerList200Response.ts +0 -98
- package/models/JobExecutionDtoEventsInner.ts +0 -89
- package/models/JobExecutionDtoInfo.ts +0 -65
- package/models/JobExecutionDtoJob.ts +0 -81
- package/models/TaskControllerList200Response.ts +0 -98
- package/models/TaskDtoInputKeysInner.ts +0 -73
- package/models/TaskInstanceDto.ts +0 -143
- package/models/TaskInstanceUpdateDto.ts +0 -107
- package/models/VariableControllerList200Response.ts +0 -98
- package/models/index.ts +0 -26
- package/runtime.ts +0 -425
package/models/Query.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
1
|
/**
|
|
4
2
|
* Product-Live API
|
|
5
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
4
|
*
|
|
7
|
-
*
|
|
5
|
+
* OpenAPI spec version: 2.8.1
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,74 +10,29 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface Query
|
|
20
|
-
*/
|
|
21
|
-
export interface Query {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Query
|
|
26
|
-
*/
|
|
27
|
-
type?: QueryTypeEnum;
|
|
28
|
-
}
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
29
14
|
|
|
15
|
+
export class Query {
|
|
16
|
+
'type'?: QueryTypeEnum;
|
|
30
17
|
|
|
31
|
-
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export const QueryTypeEnum = {
|
|
35
|
-
Eq: 'eq',
|
|
36
|
-
Search: 'search',
|
|
37
|
-
And: 'and',
|
|
38
|
-
Or: 'or',
|
|
39
|
-
In: 'in',
|
|
40
|
-
True: 'true',
|
|
41
|
-
False: 'false',
|
|
42
|
-
Greater: 'greater',
|
|
43
|
-
GreaterOrEqual: 'greaterOrEqual',
|
|
44
|
-
Lower: 'lower',
|
|
45
|
-
LowerOrEqual: 'lowerOrEqual'
|
|
46
|
-
} as const;
|
|
47
|
-
export type QueryTypeEnum = typeof QueryTypeEnum[keyof typeof QueryTypeEnum];
|
|
48
|
-
|
|
18
|
+
static readonly discriminator: string | undefined = undefined;
|
|
49
19
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
20
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
21
|
+
{
|
|
22
|
+
"name": "type",
|
|
23
|
+
"baseName": "type",
|
|
24
|
+
"type": "QueryTypeEnum",
|
|
25
|
+
"format": ""
|
|
26
|
+
} ];
|
|
55
27
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
export function QueryFromJSON(json: any): Query {
|
|
60
|
-
return QueryFromJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function QueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): Query {
|
|
64
|
-
if ((json === undefined) || (json === null)) {
|
|
65
|
-
return json;
|
|
28
|
+
static getAttributeTypeMap() {
|
|
29
|
+
return Query.attributeTypeMap;
|
|
66
30
|
}
|
|
67
|
-
return {
|
|
68
|
-
|
|
69
|
-
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
31
|
|
|
73
|
-
|
|
74
|
-
if (value === undefined) {
|
|
75
|
-
return undefined;
|
|
76
|
-
}
|
|
77
|
-
if (value === null) {
|
|
78
|
-
return null;
|
|
32
|
+
public constructor() {
|
|
79
33
|
}
|
|
80
|
-
return {
|
|
81
|
-
|
|
82
|
-
'type': value.type,
|
|
83
|
-
};
|
|
84
34
|
}
|
|
85
35
|
|
|
36
|
+
|
|
37
|
+
export type QueryTypeEnum = "eq" | "search" | "and" | "or" | "in" | "true" | "false" | "greater" | "greaterOrEqual" | "lower" | "lowerOrEqual" ;
|
|
38
|
+
|
package/models/TaskDto.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
1
|
/**
|
|
4
2
|
* Product-Live API
|
|
5
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
4
|
*
|
|
7
|
-
*
|
|
5
|
+
* OpenAPI spec version: 2.8.1
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,137 +10,85 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface TaskDto
|
|
20
|
-
*/
|
|
21
|
-
export interface TaskDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof TaskDto
|
|
26
|
-
*/
|
|
27
|
-
key: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof TaskDto
|
|
32
|
-
*/
|
|
33
|
-
description: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof TaskDto
|
|
38
|
-
*/
|
|
39
|
-
retryCount: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Array<object>}
|
|
43
|
-
* @memberof TaskDto
|
|
44
|
-
*/
|
|
45
|
-
inputKeys: Array<object>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Array<object>}
|
|
49
|
-
* @memberof TaskDto
|
|
50
|
-
*/
|
|
51
|
-
outputKeys: Array<object>;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof TaskDto
|
|
56
|
-
*/
|
|
57
|
-
id: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof TaskDto
|
|
62
|
-
*/
|
|
63
|
-
object: TaskDtoObjectEnum;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof TaskDto
|
|
68
|
-
*/
|
|
69
|
-
createdAt: string;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof TaskDto
|
|
74
|
-
*/
|
|
75
|
-
updatedAt: string;
|
|
76
|
-
}
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
77
14
|
|
|
15
|
+
export class TaskDto {
|
|
16
|
+
'key': string;
|
|
17
|
+
'description': string;
|
|
18
|
+
'retryCount': number;
|
|
19
|
+
'inputKeys': Array<any>;
|
|
20
|
+
'outputKeys': Array<any>;
|
|
21
|
+
'id': string;
|
|
22
|
+
'object': TaskDtoObjectEnum;
|
|
23
|
+
'createdAt': string;
|
|
24
|
+
'updatedAt': string;
|
|
78
25
|
|
|
79
|
-
|
|
80
|
-
* @export
|
|
81
|
-
*/
|
|
82
|
-
export const TaskDtoObjectEnum = {
|
|
83
|
-
Task: 'task'
|
|
84
|
-
} as const;
|
|
85
|
-
export type TaskDtoObjectEnum = typeof TaskDtoObjectEnum[keyof typeof TaskDtoObjectEnum];
|
|
86
|
-
|
|
26
|
+
static readonly discriminator: string | undefined = undefined;
|
|
87
27
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
28
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
29
|
+
{
|
|
30
|
+
"name": "key",
|
|
31
|
+
"baseName": "key",
|
|
32
|
+
"type": "string",
|
|
33
|
+
"format": ""
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "description",
|
|
37
|
+
"baseName": "description",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"format": ""
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "retryCount",
|
|
43
|
+
"baseName": "retryCount",
|
|
44
|
+
"type": "number",
|
|
45
|
+
"format": ""
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "inputKeys",
|
|
49
|
+
"baseName": "inputKeys",
|
|
50
|
+
"type": "Array<any>",
|
|
51
|
+
"format": ""
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "outputKeys",
|
|
55
|
+
"baseName": "outputKeys",
|
|
56
|
+
"type": "Array<any>",
|
|
57
|
+
"format": ""
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "id",
|
|
61
|
+
"baseName": "id",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"format": ""
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "object",
|
|
67
|
+
"baseName": "object",
|
|
68
|
+
"type": "TaskDtoObjectEnum",
|
|
69
|
+
"format": ""
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "createdAt",
|
|
73
|
+
"baseName": "createdAt",
|
|
74
|
+
"type": "string",
|
|
75
|
+
"format": ""
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "updatedAt",
|
|
79
|
+
"baseName": "updatedAt",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"format": ""
|
|
82
|
+
} ];
|
|
102
83
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export function TaskDtoFromJSON(json: any): TaskDto {
|
|
107
|
-
return TaskDtoFromJSONTyped(json, false);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function TaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskDto {
|
|
111
|
-
if ((json === undefined) || (json === null)) {
|
|
112
|
-
return json;
|
|
84
|
+
static getAttributeTypeMap() {
|
|
85
|
+
return TaskDto.attributeTypeMap;
|
|
113
86
|
}
|
|
114
|
-
return {
|
|
115
|
-
|
|
116
|
-
'key': json['key'],
|
|
117
|
-
'description': json['description'],
|
|
118
|
-
'retryCount': json['retryCount'],
|
|
119
|
-
'inputKeys': json['inputKeys'],
|
|
120
|
-
'outputKeys': json['outputKeys'],
|
|
121
|
-
'id': json['id'],
|
|
122
|
-
'object': json['object'],
|
|
123
|
-
'createdAt': json['createdAt'],
|
|
124
|
-
'updatedAt': json['updatedAt'],
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
87
|
|
|
128
|
-
|
|
129
|
-
if (value === undefined) {
|
|
130
|
-
return undefined;
|
|
131
|
-
}
|
|
132
|
-
if (value === null) {
|
|
133
|
-
return null;
|
|
88
|
+
public constructor() {
|
|
134
89
|
}
|
|
135
|
-
return {
|
|
136
|
-
|
|
137
|
-
'key': value.key,
|
|
138
|
-
'description': value.description,
|
|
139
|
-
'retryCount': value.retryCount,
|
|
140
|
-
'inputKeys': value.inputKeys,
|
|
141
|
-
'outputKeys': value.outputKeys,
|
|
142
|
-
'id': value.id,
|
|
143
|
-
'object': value.object,
|
|
144
|
-
'createdAt': value.createdAt,
|
|
145
|
-
'updatedAt': value.updatedAt,
|
|
146
|
-
};
|
|
147
90
|
}
|
|
148
91
|
|
|
92
|
+
|
|
93
|
+
export type TaskDtoObjectEnum = "task" ;
|
|
94
|
+
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
1
|
/**
|
|
4
2
|
* Product-Live API
|
|
5
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
4
|
*
|
|
7
|
-
*
|
|
5
|
+
* OpenAPI spec version: 2.8.1
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,140 +10,79 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
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 {string}
|
|
31
|
-
* @memberof TaskExecutionDto
|
|
32
|
-
*/
|
|
33
|
-
object: TaskExecutionDtoObjectEnum;
|
|
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: TaskExecutionDtoStatusEnum;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof TaskExecutionDto
|
|
68
|
-
*/
|
|
69
|
-
taskId: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @export
|
|
75
|
-
*/
|
|
76
|
-
export const TaskExecutionDtoObjectEnum = {
|
|
77
|
-
TaskExecution: 'task_execution'
|
|
78
|
-
} as const;
|
|
79
|
-
export type TaskExecutionDtoObjectEnum = typeof TaskExecutionDtoObjectEnum[keyof typeof TaskExecutionDtoObjectEnum];
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @export
|
|
83
|
-
*/
|
|
84
|
-
export const TaskExecutionDtoStatusEnum = {
|
|
85
|
-
Scheduled: 'SCHEDULED',
|
|
86
|
-
InProgress: 'IN_PROGRESS',
|
|
87
|
-
Cancelled: 'CANCELLED',
|
|
88
|
-
Failed: 'FAILED',
|
|
89
|
-
Completed: 'COMPLETED'
|
|
90
|
-
} as const;
|
|
91
|
-
export type TaskExecutionDtoStatusEnum = typeof TaskExecutionDtoStatusEnum[keyof typeof TaskExecutionDtoStatusEnum];
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
92
14
|
|
|
15
|
+
export class TaskExecutionDto {
|
|
16
|
+
'id': string;
|
|
17
|
+
'object': TaskExecutionDtoObjectEnum;
|
|
18
|
+
'createdAt': string;
|
|
19
|
+
'updatedAt': string;
|
|
20
|
+
'input': { [key: string]: any; };
|
|
21
|
+
'output': { [key: string]: any; };
|
|
22
|
+
'status': TaskExecutionDtoStatusEnum;
|
|
23
|
+
'taskId': string;
|
|
93
24
|
|
|
94
|
-
|
|
95
|
-
* Check if a given object implements the TaskExecutionDto interface.
|
|
96
|
-
*/
|
|
97
|
-
export function instanceOfTaskExecutionDto(value: object): boolean {
|
|
98
|
-
let isInstance = true;
|
|
99
|
-
isInstance = isInstance && "id" in value;
|
|
100
|
-
isInstance = isInstance && "object" in value;
|
|
101
|
-
isInstance = isInstance && "createdAt" in value;
|
|
102
|
-
isInstance = isInstance && "updatedAt" in value;
|
|
103
|
-
isInstance = isInstance && "input" in value;
|
|
104
|
-
isInstance = isInstance && "output" in value;
|
|
105
|
-
isInstance = isInstance && "status" in value;
|
|
106
|
-
isInstance = isInstance && "taskId" in value;
|
|
107
|
-
|
|
108
|
-
return isInstance;
|
|
109
|
-
}
|
|
25
|
+
static readonly discriminator: string | undefined = undefined;
|
|
110
26
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
27
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
28
|
+
{
|
|
29
|
+
"name": "id",
|
|
30
|
+
"baseName": "id",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"format": ""
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "object",
|
|
36
|
+
"baseName": "object",
|
|
37
|
+
"type": "TaskExecutionDtoObjectEnum",
|
|
38
|
+
"format": ""
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "createdAt",
|
|
42
|
+
"baseName": "createdAt",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": ""
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "updatedAt",
|
|
48
|
+
"baseName": "updatedAt",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"format": ""
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "input",
|
|
54
|
+
"baseName": "input",
|
|
55
|
+
"type": "{ [key: string]: any; }",
|
|
56
|
+
"format": ""
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "output",
|
|
60
|
+
"baseName": "output",
|
|
61
|
+
"type": "{ [key: string]: any; }",
|
|
62
|
+
"format": ""
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "status",
|
|
66
|
+
"baseName": "status",
|
|
67
|
+
"type": "TaskExecutionDtoStatusEnum",
|
|
68
|
+
"format": ""
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "taskId",
|
|
72
|
+
"baseName": "taskId",
|
|
73
|
+
"type": "string",
|
|
74
|
+
"format": ""
|
|
75
|
+
} ];
|
|
114
76
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
return json;
|
|
77
|
+
static getAttributeTypeMap() {
|
|
78
|
+
return TaskExecutionDto.attributeTypeMap;
|
|
118
79
|
}
|
|
119
|
-
return {
|
|
120
|
-
|
|
121
|
-
'id': json['id'],
|
|
122
|
-
'object': json['object'],
|
|
123
|
-
'createdAt': json['createdAt'],
|
|
124
|
-
'updatedAt': json['updatedAt'],
|
|
125
|
-
'input': json['input'],
|
|
126
|
-
'output': json['output'],
|
|
127
|
-
'status': json['status'],
|
|
128
|
-
'taskId': json['taskId'],
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
80
|
|
|
132
|
-
|
|
133
|
-
if (value === undefined) {
|
|
134
|
-
return undefined;
|
|
135
|
-
}
|
|
136
|
-
if (value === null) {
|
|
137
|
-
return null;
|
|
81
|
+
public constructor() {
|
|
138
82
|
}
|
|
139
|
-
return {
|
|
140
|
-
|
|
141
|
-
'id': value.id,
|
|
142
|
-
'object': value.object,
|
|
143
|
-
'createdAt': value.createdAt,
|
|
144
|
-
'updatedAt': value.updatedAt,
|
|
145
|
-
'input': value.input,
|
|
146
|
-
'output': value.output,
|
|
147
|
-
'status': value.status,
|
|
148
|
-
'taskId': value.taskId,
|
|
149
|
-
};
|
|
150
83
|
}
|
|
151
84
|
|
|
85
|
+
|
|
86
|
+
export type TaskExecutionDtoObjectEnum = "task_execution" ;
|
|
87
|
+
export type TaskExecutionDtoStatusEnum = "SCHEDULED" | "IN_PROGRESS" | "CANCELLED" | "FAILED" | "COMPLETED" ;
|
|
88
|
+
|