@product-live/api-sdk 2.5.1 → 2.8.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/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/index.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export * from
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export * from "./http/http";
|
|
2
|
+
export * from "./auth/auth";
|
|
3
|
+
export * from "./models/all";
|
|
4
|
+
export { createConfiguration } from "./configuration"
|
|
5
|
+
export { Configuration } from "./configuration"
|
|
6
|
+
export * from "./apis/exception";
|
|
7
|
+
export * from "./servers";
|
|
8
|
+
export { RequiredError } from "./apis/baseapi";
|
|
9
|
+
|
|
10
|
+
export { PromiseMiddleware as Middleware } from './middleware';
|
|
11
|
+
export { PromiseDataFactoryFileApi as DataFactoryFileApi, PromiseJobApi as JobApi, PromiseJobExecutionApi as JobExecutionApi, PromiseTaskApi as TaskApi, PromiseTaskExecutionApi as TaskExecutionApi, PromiseVariableApi as VariableApi } from './types/PromiseAPI';
|
|
12
|
+
|
package/middleware.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import {RequestContext, ResponseContext} from './http/http';
|
|
2
|
+
import { Observable, from } from './rxjsStub';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Defines the contract for a middleware intercepting requests before
|
|
6
|
+
* they are sent (but after the RequestContext was created)
|
|
7
|
+
* and before the ResponseContext is unwrapped.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export interface Middleware {
|
|
11
|
+
/**
|
|
12
|
+
* Modifies the request before the request is sent.
|
|
13
|
+
*
|
|
14
|
+
* @param context RequestContext of a request which is about to be sent to the server
|
|
15
|
+
* @returns an observable of the updated request context
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
pre(context: RequestContext): Observable<RequestContext>;
|
|
19
|
+
/**
|
|
20
|
+
* Modifies the returned response before it is deserialized.
|
|
21
|
+
*
|
|
22
|
+
* @param context ResponseContext of a sent request
|
|
23
|
+
* @returns an observable of the modified response context
|
|
24
|
+
*/
|
|
25
|
+
post(context: ResponseContext): Observable<ResponseContext>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export class PromiseMiddlewareWrapper implements Middleware {
|
|
29
|
+
|
|
30
|
+
public constructor(private middleware: PromiseMiddleware) {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
pre(context: RequestContext): Observable<RequestContext> {
|
|
35
|
+
return from(this.middleware.pre(context));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
post(context: ResponseContext): Observable<ResponseContext> {
|
|
39
|
+
return from(this.middleware.post(context));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Defines the contract for a middleware intercepting requests before
|
|
46
|
+
* they are sent (but after the RequestContext was created)
|
|
47
|
+
* and before the ResponseContext is unwrapped.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export interface PromiseMiddleware {
|
|
51
|
+
/**
|
|
52
|
+
* Modifies the request before the request is sent.
|
|
53
|
+
*
|
|
54
|
+
* @param context RequestContext of a request which is about to be sent to the server
|
|
55
|
+
* @returns an observable of the updated request context
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
pre(context: RequestContext): Promise<RequestContext>;
|
|
59
|
+
/**
|
|
60
|
+
* Modifies the returned response before it is deserialized.
|
|
61
|
+
*
|
|
62
|
+
* @param context ResponseContext of a sent request
|
|
63
|
+
* @returns an observable of the modified response context
|
|
64
|
+
*/
|
|
65
|
+
post(context: ResponseContext): Promise<ResponseContext>;
|
|
66
|
+
}
|
package/models/CreateJobDto.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,153 +10,99 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface CreateJobDto
|
|
20
|
-
*/
|
|
21
|
-
export interface CreateJobDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateJobDto
|
|
26
|
-
*/
|
|
27
|
-
key: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Array<object>}
|
|
31
|
-
* @memberof CreateJobDto
|
|
32
|
-
*/
|
|
33
|
-
periodicity?: Array<object>;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CreateJobDto
|
|
38
|
-
*/
|
|
39
|
-
pipelineId: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof CreateJobDto
|
|
44
|
-
*/
|
|
45
|
-
projectId: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof CreateJobDto
|
|
50
|
-
*/
|
|
51
|
-
status: CreateJobDtoStatusEnum;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof CreateJobDto
|
|
56
|
-
*/
|
|
57
|
-
title: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {object}
|
|
61
|
-
* @memberof CreateJobDto
|
|
62
|
-
*/
|
|
63
|
-
titleLocal?: object;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof CreateJobDto
|
|
68
|
-
*/
|
|
69
|
-
description?: string;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {object}
|
|
73
|
-
* @memberof CreateJobDto
|
|
74
|
-
*/
|
|
75
|
-
descriptionLocal?: object;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {{ [key: string]: any; }}
|
|
79
|
-
* @memberof CreateJobDto
|
|
80
|
-
*/
|
|
81
|
-
output?: { [key: string]: any; };
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {Array<object>}
|
|
85
|
-
* @memberof CreateJobDto
|
|
86
|
-
*/
|
|
87
|
-
tasks?: Array<object>;
|
|
88
|
-
}
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
89
14
|
|
|
15
|
+
export class CreateJobDto {
|
|
16
|
+
'key': string;
|
|
17
|
+
'periodicity'?: Array<any>;
|
|
18
|
+
'pipelineId': string;
|
|
19
|
+
'projectId': string;
|
|
20
|
+
'status': CreateJobDtoStatusEnum;
|
|
21
|
+
'title': string;
|
|
22
|
+
'titleLocal'?: any;
|
|
23
|
+
'description'?: string;
|
|
24
|
+
'descriptionLocal'?: any;
|
|
25
|
+
'output'?: { [key: string]: any; };
|
|
26
|
+
'tasks'?: Array<any>;
|
|
90
27
|
|
|
91
|
-
|
|
92
|
-
* @export
|
|
93
|
-
*/
|
|
94
|
-
export const CreateJobDtoStatusEnum = {
|
|
95
|
-
Draft: 'DRAFT',
|
|
96
|
-
Production: 'PRODUCTION',
|
|
97
|
-
Deprecated: 'DEPRECATED',
|
|
98
|
-
Archived: 'ARCHIVED',
|
|
99
|
-
Removed: 'REMOVED'
|
|
100
|
-
} as const;
|
|
101
|
-
export type CreateJobDtoStatusEnum = typeof CreateJobDtoStatusEnum[keyof typeof CreateJobDtoStatusEnum];
|
|
102
|
-
|
|
28
|
+
static readonly discriminator: string | undefined = undefined;
|
|
103
29
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
30
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
31
|
+
{
|
|
32
|
+
"name": "key",
|
|
33
|
+
"baseName": "key",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": ""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "periodicity",
|
|
39
|
+
"baseName": "periodicity",
|
|
40
|
+
"type": "Array<any>",
|
|
41
|
+
"format": ""
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "pipelineId",
|
|
45
|
+
"baseName": "pipelineId",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"format": ""
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "projectId",
|
|
51
|
+
"baseName": "projectId",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"format": ""
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "status",
|
|
57
|
+
"baseName": "status",
|
|
58
|
+
"type": "CreateJobDtoStatusEnum",
|
|
59
|
+
"format": ""
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "title",
|
|
63
|
+
"baseName": "title",
|
|
64
|
+
"type": "string",
|
|
65
|
+
"format": ""
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "titleLocal",
|
|
69
|
+
"baseName": "titleLocal",
|
|
70
|
+
"type": "any",
|
|
71
|
+
"format": ""
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "description",
|
|
75
|
+
"baseName": "description",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"format": ""
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "descriptionLocal",
|
|
81
|
+
"baseName": "descriptionLocal",
|
|
82
|
+
"type": "any",
|
|
83
|
+
"format": ""
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "output",
|
|
87
|
+
"baseName": "output",
|
|
88
|
+
"type": "{ [key: string]: any; }",
|
|
89
|
+
"format": ""
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "tasks",
|
|
93
|
+
"baseName": "tasks",
|
|
94
|
+
"type": "Array<any>",
|
|
95
|
+
"format": ""
|
|
96
|
+
} ];
|
|
114
97
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
export function CreateJobDtoFromJSON(json: any): CreateJobDto {
|
|
119
|
-
return CreateJobDtoFromJSONTyped(json, false);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export function CreateJobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateJobDto {
|
|
123
|
-
if ((json === undefined) || (json === null)) {
|
|
124
|
-
return json;
|
|
98
|
+
static getAttributeTypeMap() {
|
|
99
|
+
return CreateJobDto.attributeTypeMap;
|
|
125
100
|
}
|
|
126
|
-
return {
|
|
127
|
-
|
|
128
|
-
'key': json['key'],
|
|
129
|
-
'periodicity': !exists(json, 'periodicity') ? undefined : json['periodicity'],
|
|
130
|
-
'pipelineId': json['pipelineId'],
|
|
131
|
-
'projectId': json['projectId'],
|
|
132
|
-
'status': json['status'],
|
|
133
|
-
'title': json['title'],
|
|
134
|
-
'titleLocal': !exists(json, 'titleLocal') ? undefined : json['titleLocal'],
|
|
135
|
-
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
136
|
-
'descriptionLocal': !exists(json, 'descriptionLocal') ? undefined : json['descriptionLocal'],
|
|
137
|
-
'output': !exists(json, 'output') ? undefined : json['output'],
|
|
138
|
-
'tasks': !exists(json, 'tasks') ? undefined : json['tasks'],
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
101
|
|
|
142
|
-
|
|
143
|
-
if (value === undefined) {
|
|
144
|
-
return undefined;
|
|
145
|
-
}
|
|
146
|
-
if (value === null) {
|
|
147
|
-
return null;
|
|
102
|
+
public constructor() {
|
|
148
103
|
}
|
|
149
|
-
return {
|
|
150
|
-
|
|
151
|
-
'key': value.key,
|
|
152
|
-
'periodicity': value.periodicity,
|
|
153
|
-
'pipelineId': value.pipelineId,
|
|
154
|
-
'projectId': value.projectId,
|
|
155
|
-
'status': value.status,
|
|
156
|
-
'title': value.title,
|
|
157
|
-
'titleLocal': value.titleLocal,
|
|
158
|
-
'description': value.description,
|
|
159
|
-
'descriptionLocal': value.descriptionLocal,
|
|
160
|
-
'output': value.output,
|
|
161
|
-
'tasks': value.tasks,
|
|
162
|
-
};
|
|
163
104
|
}
|
|
164
105
|
|
|
106
|
+
|
|
107
|
+
export type CreateJobDtoStatusEnum = "DRAFT" | "PRODUCTION" | "DEPRECATED" | "ARCHIVED" | "REMOVED" ;
|
|
108
|
+
|
|
@@ -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,72 +10,40 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface CreateJobExecutionDto
|
|
20
|
-
*/
|
|
21
|
-
export interface CreateJobExecutionDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateJobExecutionDto
|
|
26
|
-
*/
|
|
27
|
-
jobId: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {object}
|
|
31
|
-
* @memberof CreateJobExecutionDto
|
|
32
|
-
*/
|
|
33
|
-
info: object;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {{ [key: string]: any; }}
|
|
37
|
-
* @memberof CreateJobExecutionDto
|
|
38
|
-
*/
|
|
39
|
-
input?: { [key: string]: any; };
|
|
40
|
-
}
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
41
14
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
let isInstance = true;
|
|
47
|
-
isInstance = isInstance && "jobId" in value;
|
|
48
|
-
isInstance = isInstance && "info" in value;
|
|
15
|
+
export class CreateJobExecutionDto {
|
|
16
|
+
'jobId': string;
|
|
17
|
+
'info': any;
|
|
18
|
+
'input'?: { [key: string]: any; };
|
|
49
19
|
|
|
50
|
-
|
|
51
|
-
}
|
|
20
|
+
static readonly discriminator: string | undefined = undefined;
|
|
52
21
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
22
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
23
|
+
{
|
|
24
|
+
"name": "jobId",
|
|
25
|
+
"baseName": "jobId",
|
|
26
|
+
"type": "string",
|
|
27
|
+
"format": ""
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "info",
|
|
31
|
+
"baseName": "info",
|
|
32
|
+
"type": "any",
|
|
33
|
+
"format": ""
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "input",
|
|
37
|
+
"baseName": "input",
|
|
38
|
+
"type": "{ [key: string]: any; }",
|
|
39
|
+
"format": ""
|
|
40
|
+
} ];
|
|
56
41
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
return json;
|
|
42
|
+
static getAttributeTypeMap() {
|
|
43
|
+
return CreateJobExecutionDto.attributeTypeMap;
|
|
60
44
|
}
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'jobId': json['jobId'],
|
|
64
|
-
'info': json['info'],
|
|
65
|
-
'input': !exists(json, 'input') ? undefined : json['input'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
45
|
|
|
69
|
-
|
|
70
|
-
if (value === undefined) {
|
|
71
|
-
return undefined;
|
|
72
|
-
}
|
|
73
|
-
if (value === null) {
|
|
74
|
-
return null;
|
|
46
|
+
public constructor() {
|
|
75
47
|
}
|
|
76
|
-
return {
|
|
77
|
-
|
|
78
|
-
'jobId': value.jobId,
|
|
79
|
-
'info': value.info,
|
|
80
|
-
'input': value.input,
|
|
81
|
-
};
|
|
82
48
|
}
|
|
83
49
|
|
package/models/CreateTaskDto.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,91 +10,54 @@
|
|
|
12
10
|
* Do not edit the class manually.
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
|
-
import {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface CreateTaskDto
|
|
20
|
-
*/
|
|
21
|
-
export interface CreateTaskDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateTaskDto
|
|
26
|
-
*/
|
|
27
|
-
key: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CreateTaskDto
|
|
32
|
-
*/
|
|
33
|
-
description: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof CreateTaskDto
|
|
38
|
-
*/
|
|
39
|
-
retryCount: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Array<object>}
|
|
43
|
-
* @memberof CreateTaskDto
|
|
44
|
-
*/
|
|
45
|
-
inputKeys: Array<object>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Array<object>}
|
|
49
|
-
* @memberof CreateTaskDto
|
|
50
|
-
*/
|
|
51
|
-
outputKeys: Array<object>;
|
|
52
|
-
}
|
|
13
|
+
import { HttpFile } from '../http/http';
|
|
53
14
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
isInstance = isInstance && "description" in value;
|
|
61
|
-
isInstance = isInstance && "retryCount" in value;
|
|
62
|
-
isInstance = isInstance && "inputKeys" in value;
|
|
63
|
-
isInstance = isInstance && "outputKeys" in value;
|
|
15
|
+
export class CreateTaskDto {
|
|
16
|
+
'key': string;
|
|
17
|
+
'description': string;
|
|
18
|
+
'retryCount': number;
|
|
19
|
+
'inputKeys': Array<any>;
|
|
20
|
+
'outputKeys': Array<any>;
|
|
64
21
|
|
|
65
|
-
|
|
66
|
-
}
|
|
22
|
+
static readonly discriminator: string | undefined = undefined;
|
|
67
23
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
24
|
+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
|
|
25
|
+
{
|
|
26
|
+
"name": "key",
|
|
27
|
+
"baseName": "key",
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": ""
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "description",
|
|
33
|
+
"baseName": "description",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": ""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "retryCount",
|
|
39
|
+
"baseName": "retryCount",
|
|
40
|
+
"type": "number",
|
|
41
|
+
"format": ""
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "inputKeys",
|
|
45
|
+
"baseName": "inputKeys",
|
|
46
|
+
"type": "Array<any>",
|
|
47
|
+
"format": ""
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "outputKeys",
|
|
51
|
+
"baseName": "outputKeys",
|
|
52
|
+
"type": "Array<any>",
|
|
53
|
+
"format": ""
|
|
54
|
+
} ];
|
|
71
55
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
return json;
|
|
56
|
+
static getAttributeTypeMap() {
|
|
57
|
+
return CreateTaskDto.attributeTypeMap;
|
|
75
58
|
}
|
|
76
|
-
return {
|
|
77
|
-
|
|
78
|
-
'key': json['key'],
|
|
79
|
-
'description': json['description'],
|
|
80
|
-
'retryCount': json['retryCount'],
|
|
81
|
-
'inputKeys': json['inputKeys'],
|
|
82
|
-
'outputKeys': json['outputKeys'],
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
59
|
|
|
86
|
-
|
|
87
|
-
if (value === undefined) {
|
|
88
|
-
return undefined;
|
|
89
|
-
}
|
|
90
|
-
if (value === null) {
|
|
91
|
-
return null;
|
|
60
|
+
public constructor() {
|
|
92
61
|
}
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'key': value.key,
|
|
96
|
-
'description': value.description,
|
|
97
|
-
'retryCount': value.retryCount,
|
|
98
|
-
'inputKeys': value.inputKeys,
|
|
99
|
-
'outputKeys': value.outputKeys,
|
|
100
|
-
};
|
|
101
62
|
}
|
|
102
63
|
|