@product-live/api-sdk 2.2.0-dev → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/DataFactoryFileApi.ts +38 -35
- package/apis/JobApi.ts +76 -62
- package/apis/JobExecutionApi.ts +78 -28
- package/apis/TaskApi.ts +92 -78
- package/apis/TaskExecutionApi.ts +32 -32
- package/apis/VariableApi.ts +160 -19
- package/dist/apis/DataFactoryFileApi.d.ts +20 -0
- package/dist/apis/DataFactoryFileApi.js +122 -0
- package/dist/apis/DataFactoryFileApi.js.map +1 -0
- package/dist/apis/JobApi.d.ts +32 -0
- package/dist/apis/JobApi.js +191 -0
- package/dist/apis/JobApi.js.map +1 -0
- package/dist/apis/JobExecutionApi.d.ts +20 -0
- package/dist/apis/JobExecutionApi.js +107 -0
- package/dist/apis/JobExecutionApi.js.map +1 -0
- package/dist/apis/TaskApi.d.ts +36 -0
- package/dist/apis/TaskApi.js +196 -0
- package/dist/apis/TaskApi.js.map +1 -0
- package/dist/apis/TaskExecutionApi.d.ts +15 -0
- package/dist/apis/TaskExecutionApi.js +79 -0
- package/dist/apis/TaskExecutionApi.js.map +1 -0
- package/dist/apis/VariableApi.d.ts +26 -0
- package/dist/apis/VariableApi.js +140 -0
- package/dist/apis/VariableApi.js.map +1 -0
- package/dist/apis/index.d.ts +6 -0
- package/dist/apis/index.js +23 -0
- package/dist/apis/index.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/models/CreateJobDto.d.ts +22 -0
- package/dist/models/CreateJobDto.js +63 -0
- package/dist/models/CreateJobDto.js.map +1 -0
- package/dist/models/CreateJobExecutionDto.d.ts +13 -0
- package/dist/models/CreateJobExecutionDto.js +44 -0
- package/dist/models/CreateJobExecutionDto.js.map +1 -0
- package/dist/models/CreateTaskDto.d.ts +12 -0
- package/dist/models/CreateTaskDto.js +48 -0
- package/dist/models/CreateTaskDto.js.map +1 -0
- package/dist/models/CreateVariableDto.d.ts +10 -0
- package/dist/models/CreateVariableDto.js +44 -0
- package/dist/models/CreateVariableDto.js.map +1 -0
- package/dist/models/FileControllerGetFiles200Response.d.ts +14 -0
- package/dist/models/FileControllerGetFiles200Response.js +43 -0
- package/dist/models/FileControllerGetFiles200Response.js.map +1 -0
- package/dist/models/FileDto.d.ts +12 -0
- package/dist/models/FileDto.js +50 -0
- package/dist/models/FileDto.js.map +1 -0
- package/dist/models/JobControllerList200Response.d.ts +14 -0
- package/dist/models/JobControllerList200Response.js +43 -0
- package/dist/models/JobControllerList200Response.js.map +1 -0
- package/dist/models/JobDto.d.ts +26 -0
- package/dist/models/JobDto.js +75 -0
- package/dist/models/JobDto.js.map +1 -0
- package/dist/models/JobDtoPeriodicityInner.d.ts +8 -0
- package/dist/models/JobDtoPeriodicityInner.js +37 -0
- package/dist/models/JobDtoPeriodicityInner.js.map +1 -0
- package/dist/models/JobDtoTasksInner.d.ts +14 -0
- package/dist/models/JobDtoTasksInner.js +45 -0
- package/dist/models/JobDtoTasksInner.js.map +1 -0
- package/dist/models/JobDtoTitleLocal.d.ts +8 -0
- package/dist/models/JobDtoTitleLocal.js +37 -0
- package/dist/models/JobDtoTitleLocal.js.map +1 -0
- package/dist/models/JobExecutionControllerGetOne400Response.d.ts +7 -0
- package/dist/models/JobExecutionControllerGetOne400Response.js +35 -0
- package/dist/models/JobExecutionControllerGetOne400Response.js.map +1 -0
- package/dist/models/JobExecutionControllerList200Response.d.ts +14 -0
- package/dist/models/JobExecutionControllerList200Response.js +43 -0
- package/dist/models/JobExecutionControllerList200Response.js.map +1 -0
- package/dist/models/JobExecutionDto.d.ts +23 -0
- package/dist/models/JobExecutionDto.js +68 -0
- package/dist/models/JobExecutionDto.js.map +1 -0
- package/dist/models/JobExecutionDtoInfo.d.ts +7 -0
- package/dist/models/JobExecutionDtoInfo.js +35 -0
- package/dist/models/JobExecutionDtoInfo.js.map +1 -0
- package/dist/models/PatchTaskExecutionDto.d.ts +11 -0
- package/dist/models/PatchTaskExecutionDto.js +41 -0
- package/dist/models/PatchTaskExecutionDto.js.map +1 -0
- package/dist/models/TaskControllerList200Response.d.ts +14 -0
- package/dist/models/TaskControllerList200Response.js +43 -0
- package/dist/models/TaskControllerList200Response.js.map +1 -0
- package/dist/models/TaskDto.d.ts +16 -0
- package/dist/models/TaskDto.js +60 -0
- package/dist/models/TaskDto.js.map +1 -0
- package/dist/models/TaskDtoInputKeysInner.d.ts +8 -0
- package/dist/models/TaskDtoInputKeysInner.js +37 -0
- package/dist/models/TaskDtoInputKeysInner.js.map +1 -0
- package/dist/models/TaskExecutionDto.d.ts +18 -0
- package/dist/models/TaskExecutionDto.js +56 -0
- package/dist/models/TaskExecutionDto.js.map +1 -0
- package/dist/models/UpdateJobDto.d.ts +23 -0
- package/dist/models/UpdateJobDto.js +66 -0
- package/dist/models/UpdateJobDto.js.map +1 -0
- package/dist/models/UpdateTaskDto.d.ts +13 -0
- package/dist/models/UpdateTaskDto.js +51 -0
- package/dist/models/UpdateTaskDto.js.map +1 -0
- package/dist/models/UpdateVariableDto.d.ts +11 -0
- package/dist/models/UpdateVariableDto.js +47 -0
- package/dist/models/UpdateVariableDto.js.map +1 -0
- package/dist/models/VariableControllerList200Response.d.ts +14 -0
- package/dist/models/VariableControllerList200Response.js +43 -0
- package/dist/models/VariableControllerList200Response.js.map +1 -0
- package/dist/models/VariableDto.d.ts +18 -0
- package/dist/models/VariableDto.js +59 -0
- package/dist/models/VariableDto.js.map +1 -0
- package/dist/models/index.d.ts +25 -0
- package/dist/models/index.js +42 -0
- package/dist/models/index.js.map +1 -0
- package/dist/runtime.d.ts +154 -0
- package/dist/runtime.js +306 -0
- package/dist/runtime.js.map +1 -0
- package/models/CreateJobDto.ts +169 -0
- package/models/CreateJobExecutionDto.ts +98 -0
- package/models/CreateTaskDto.ts +109 -0
- package/models/CreateVariableDto.ts +92 -0
- package/models/FileControllerGetFiles200Response.ts +98 -0
- package/models/FileDto.ts +111 -0
- package/models/JobControllerList200Response.ts +98 -0
- package/models/JobDto.ts +50 -86
- package/models/JobDtoPeriodicityInner.ts +1 -1
- package/models/JobDtoTasksInner.ts +9 -1
- package/models/JobDtoTitleLocal.ts +1 -1
- package/models/JobExecutionControllerGetOne400Response.ts +65 -0
- package/models/JobExecutionControllerList200Response.ts +98 -0
- package/models/JobExecutionDto.ts +35 -67
- package/models/JobExecutionDtoInfo.ts +65 -0
- package/models/PatchTaskExecutionDto.ts +83 -0
- package/models/TaskControllerList200Response.ts +98 -0
- package/models/TaskDto.ts +28 -28
- package/models/TaskDtoInputKeysInner.ts +1 -1
- package/models/TaskExecutionDto.ts +129 -0
- package/models/UpdateJobDto.ts +178 -0
- package/models/UpdateTaskDto.ts +118 -0
- package/models/UpdateVariableDto.ts +101 -0
- package/models/VariableControllerList200Response.ts +98 -0
- package/models/VariableDto.ts +33 -24
- package/models/index.ts +18 -11
- package/package.json +11 -5
- package/runtime.ts +19 -1
- package/.openapi-generator-ignore +0 -23
package/apis/TaskExecutionApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product-Live API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
JobExecutionControllerGetOne400Response,
|
|
19
|
+
PatchTaskExecutionDto,
|
|
20
|
+
TaskExecutionDto,
|
|
21
21
|
} from '../models';
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
JobExecutionControllerGetOne400ResponseFromJSON,
|
|
24
|
+
JobExecutionControllerGetOne400ResponseToJSON,
|
|
25
|
+
PatchTaskExecutionDtoFromJSON,
|
|
26
|
+
PatchTaskExecutionDtoToJSON,
|
|
27
|
+
TaskExecutionDtoFromJSON,
|
|
28
|
+
TaskExecutionDtoToJSON,
|
|
29
29
|
} from '../models';
|
|
30
30
|
|
|
31
|
-
export interface
|
|
31
|
+
export interface TaskExecutionControllerGetOneRequest {
|
|
32
32
|
id: string;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export interface
|
|
35
|
+
export interface TaskExecutionControllerPatchRequest {
|
|
36
36
|
id: string;
|
|
37
|
-
|
|
37
|
+
patchTaskExecutionDto: PatchTaskExecutionDto;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -43,11 +43,11 @@ export interface UpdateInstanceTaskRequest {
|
|
|
43
43
|
export class TaskExecutionApi extends runtime.BaseAPI {
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* (Experimental) -
|
|
46
|
+
* (Experimental) - Get a Task execution by id
|
|
47
47
|
*/
|
|
48
|
-
async
|
|
48
|
+
async taskExecutionControllerGetOneRaw(requestParameters: TaskExecutionControllerGetOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TaskExecutionDto>> {
|
|
49
49
|
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
50
|
-
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling
|
|
50
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling taskExecutionControllerGetOne.');
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
const queryParameters: any = {};
|
|
@@ -55,11 +55,11 @@ export class TaskExecutionApi extends runtime.BaseAPI {
|
|
|
55
55
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
56
56
|
|
|
57
57
|
if (this.configuration && this.configuration.apiKey) {
|
|
58
|
-
|
|
58
|
+
queryParameters["api_key"] = this.configuration.apiKey("api_key"); // ApiKeyAuthQuery authentication
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
if (this.configuration && this.configuration.apiKey) {
|
|
62
|
-
|
|
62
|
+
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key"); // ApiKeyAuthHeader authentication
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
const response = await this.request({
|
|
@@ -69,27 +69,27 @@ export class TaskExecutionApi extends runtime.BaseAPI {
|
|
|
69
69
|
query: queryParameters,
|
|
70
70
|
}, initOverrides);
|
|
71
71
|
|
|
72
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
72
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => TaskExecutionDtoFromJSON(jsonValue));
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* (Experimental) -
|
|
76
|
+
* (Experimental) - Get a Task execution by id
|
|
77
77
|
*/
|
|
78
|
-
async
|
|
79
|
-
const response = await this.
|
|
78
|
+
async taskExecutionControllerGetOne(requestParameters: TaskExecutionControllerGetOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TaskExecutionDto> {
|
|
79
|
+
const response = await this.taskExecutionControllerGetOneRaw(requestParameters, initOverrides);
|
|
80
80
|
return await response.value();
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* (Experimental) - Update running task instance
|
|
85
85
|
*/
|
|
86
|
-
async
|
|
86
|
+
async taskExecutionControllerPatchRaw(requestParameters: TaskExecutionControllerPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TaskExecutionDto>> {
|
|
87
87
|
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
88
|
-
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling
|
|
88
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling taskExecutionControllerPatch.');
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
if (requestParameters.
|
|
92
|
-
throw new runtime.RequiredError('
|
|
91
|
+
if (requestParameters.patchTaskExecutionDto === null || requestParameters.patchTaskExecutionDto === undefined) {
|
|
92
|
+
throw new runtime.RequiredError('patchTaskExecutionDto','Required parameter requestParameters.patchTaskExecutionDto was null or undefined when calling taskExecutionControllerPatch.');
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
const queryParameters: any = {};
|
|
@@ -99,11 +99,11 @@ export class TaskExecutionApi extends runtime.BaseAPI {
|
|
|
99
99
|
headerParameters['Content-Type'] = 'application/json';
|
|
100
100
|
|
|
101
101
|
if (this.configuration && this.configuration.apiKey) {
|
|
102
|
-
|
|
102
|
+
queryParameters["api_key"] = this.configuration.apiKey("api_key"); // ApiKeyAuthQuery authentication
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
if (this.configuration && this.configuration.apiKey) {
|
|
106
|
-
|
|
106
|
+
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key"); // ApiKeyAuthHeader authentication
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
const response = await this.request({
|
|
@@ -111,17 +111,17 @@ export class TaskExecutionApi extends runtime.BaseAPI {
|
|
|
111
111
|
method: 'PATCH',
|
|
112
112
|
headers: headerParameters,
|
|
113
113
|
query: queryParameters,
|
|
114
|
-
body:
|
|
114
|
+
body: PatchTaskExecutionDtoToJSON(requestParameters.patchTaskExecutionDto),
|
|
115
115
|
}, initOverrides);
|
|
116
116
|
|
|
117
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
117
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => TaskExecutionDtoFromJSON(jsonValue));
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* (Experimental) - Update running task instance
|
|
122
122
|
*/
|
|
123
|
-
async
|
|
124
|
-
const response = await this.
|
|
123
|
+
async taskExecutionControllerPatch(requestParameters: TaskExecutionControllerPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TaskExecutionDto> {
|
|
124
|
+
const response = await this.taskExecutionControllerPatchRaw(requestParameters, initOverrides);
|
|
125
125
|
return await response.value();
|
|
126
126
|
}
|
|
127
127
|
|
package/apis/VariableApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product-Live API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 2.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,20 +15,41 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
CreateVariableDto,
|
|
19
|
+
JobExecutionControllerGetOne400Response,
|
|
20
|
+
UpdateVariableDto,
|
|
21
|
+
VariableControllerList200Response,
|
|
19
22
|
VariableDto,
|
|
20
23
|
} from '../models';
|
|
21
24
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
CreateVariableDtoFromJSON,
|
|
26
|
+
CreateVariableDtoToJSON,
|
|
27
|
+
JobExecutionControllerGetOne400ResponseFromJSON,
|
|
28
|
+
JobExecutionControllerGetOne400ResponseToJSON,
|
|
29
|
+
UpdateVariableDtoFromJSON,
|
|
30
|
+
UpdateVariableDtoToJSON,
|
|
31
|
+
VariableControllerList200ResponseFromJSON,
|
|
32
|
+
VariableControllerList200ResponseToJSON,
|
|
24
33
|
VariableDtoFromJSON,
|
|
25
34
|
VariableDtoToJSON,
|
|
26
35
|
} from '../models';
|
|
27
36
|
|
|
28
|
-
export interface
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
37
|
+
export interface VariableControllerCreateRequest {
|
|
38
|
+
createVariableDto: CreateVariableDto;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface VariableControllerGetOneRequest {
|
|
42
|
+
id: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface VariableControllerListRequest {
|
|
46
|
+
size?: number;
|
|
47
|
+
page?: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface VariableControllerUpdateRequest {
|
|
51
|
+
id: string;
|
|
52
|
+
updateVariableDto: UpdateVariableDto;
|
|
32
53
|
}
|
|
33
54
|
|
|
34
55
|
/**
|
|
@@ -37,33 +58,108 @@ export interface GetVariablesRequest {
|
|
|
37
58
|
export class VariableApi extends runtime.BaseAPI {
|
|
38
59
|
|
|
39
60
|
/**
|
|
40
|
-
* (Experimental) -
|
|
61
|
+
* (Experimental) - Create a Variable
|
|
41
62
|
*/
|
|
42
|
-
async
|
|
63
|
+
async variableControllerCreateRaw(requestParameters: VariableControllerCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariableDto>> {
|
|
64
|
+
if (requestParameters.createVariableDto === null || requestParameters.createVariableDto === undefined) {
|
|
65
|
+
throw new runtime.RequiredError('createVariableDto','Required parameter requestParameters.createVariableDto was null or undefined when calling variableControllerCreate.');
|
|
66
|
+
}
|
|
67
|
+
|
|
43
68
|
const queryParameters: any = {};
|
|
44
69
|
|
|
45
|
-
|
|
46
|
-
|
|
70
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
71
|
+
|
|
72
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
73
|
+
|
|
74
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
75
|
+
queryParameters["api_key"] = this.configuration.apiKey("api_key"); // ApiKeyAuthQuery authentication
|
|
47
76
|
}
|
|
48
77
|
|
|
49
|
-
if (
|
|
50
|
-
|
|
78
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
79
|
+
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key"); // ApiKeyAuthHeader authentication
|
|
51
80
|
}
|
|
52
81
|
|
|
53
|
-
|
|
54
|
-
|
|
82
|
+
const response = await this.request({
|
|
83
|
+
path: `/v1/data_factory/variables`,
|
|
84
|
+
method: 'POST',
|
|
85
|
+
headers: headerParameters,
|
|
86
|
+
query: queryParameters,
|
|
87
|
+
body: CreateVariableDtoToJSON(requestParameters.createVariableDto),
|
|
88
|
+
}, initOverrides);
|
|
89
|
+
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariableDtoFromJSON(jsonValue));
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* (Experimental) - Create a Variable
|
|
95
|
+
*/
|
|
96
|
+
async variableControllerCreate(requestParameters: VariableControllerCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariableDto> {
|
|
97
|
+
const response = await this.variableControllerCreateRaw(requestParameters, initOverrides);
|
|
98
|
+
return await response.value();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* (Experimental) - Get a Variable by id
|
|
103
|
+
*/
|
|
104
|
+
async variableControllerGetOneRaw(requestParameters: VariableControllerGetOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariableDto>> {
|
|
105
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
106
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling variableControllerGetOne.');
|
|
55
107
|
}
|
|
56
108
|
|
|
109
|
+
const queryParameters: any = {};
|
|
110
|
+
|
|
57
111
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
58
112
|
|
|
113
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
114
|
+
queryParameters["api_key"] = this.configuration.apiKey("api_key"); // ApiKeyAuthQuery authentication
|
|
115
|
+
}
|
|
116
|
+
|
|
59
117
|
if (this.configuration && this.configuration.apiKey) {
|
|
60
118
|
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key"); // ApiKeyAuthHeader authentication
|
|
61
119
|
}
|
|
62
120
|
|
|
121
|
+
const response = await this.request({
|
|
122
|
+
path: `/v1/data_factory/variables/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
123
|
+
method: 'GET',
|
|
124
|
+
headers: headerParameters,
|
|
125
|
+
query: queryParameters,
|
|
126
|
+
}, initOverrides);
|
|
127
|
+
|
|
128
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariableDtoFromJSON(jsonValue));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* (Experimental) - Get a Variable by id
|
|
133
|
+
*/
|
|
134
|
+
async variableControllerGetOne(requestParameters: VariableControllerGetOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariableDto> {
|
|
135
|
+
const response = await this.variableControllerGetOneRaw(requestParameters, initOverrides);
|
|
136
|
+
return await response.value();
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* (Experimental) - Get a list of Variable
|
|
141
|
+
*/
|
|
142
|
+
async variableControllerListRaw(requestParameters: VariableControllerListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariableControllerList200Response>> {
|
|
143
|
+
const queryParameters: any = {};
|
|
144
|
+
|
|
145
|
+
if (requestParameters.size !== undefined) {
|
|
146
|
+
queryParameters['size'] = requestParameters.size;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
if (requestParameters.page !== undefined) {
|
|
150
|
+
queryParameters['page'] = requestParameters.page;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
154
|
+
|
|
63
155
|
if (this.configuration && this.configuration.apiKey) {
|
|
64
156
|
queryParameters["api_key"] = this.configuration.apiKey("api_key"); // ApiKeyAuthQuery authentication
|
|
65
157
|
}
|
|
66
158
|
|
|
159
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
160
|
+
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key"); // ApiKeyAuthHeader authentication
|
|
161
|
+
}
|
|
162
|
+
|
|
67
163
|
const response = await this.request({
|
|
68
164
|
path: `/v1/data_factory/variables`,
|
|
69
165
|
method: 'GET',
|
|
@@ -71,14 +167,59 @@ export class VariableApi extends runtime.BaseAPI {
|
|
|
71
167
|
query: queryParameters,
|
|
72
168
|
}, initOverrides);
|
|
73
169
|
|
|
170
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariableControllerList200ResponseFromJSON(jsonValue));
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* (Experimental) - Get a list of Variable
|
|
175
|
+
*/
|
|
176
|
+
async variableControllerList(requestParameters: VariableControllerListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariableControllerList200Response> {
|
|
177
|
+
const response = await this.variableControllerListRaw(requestParameters, initOverrides);
|
|
178
|
+
return await response.value();
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* (Experimental) - Update a Variable
|
|
183
|
+
*/
|
|
184
|
+
async variableControllerUpdateRaw(requestParameters: VariableControllerUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariableDto>> {
|
|
185
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
186
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling variableControllerUpdate.');
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
if (requestParameters.updateVariableDto === null || requestParameters.updateVariableDto === undefined) {
|
|
190
|
+
throw new runtime.RequiredError('updateVariableDto','Required parameter requestParameters.updateVariableDto was null or undefined when calling variableControllerUpdate.');
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
const queryParameters: any = {};
|
|
194
|
+
|
|
195
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
196
|
+
|
|
197
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
198
|
+
|
|
199
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
200
|
+
queryParameters["api_key"] = this.configuration.apiKey("api_key"); // ApiKeyAuthQuery authentication
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
204
|
+
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key"); // ApiKeyAuthHeader authentication
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
const response = await this.request({
|
|
208
|
+
path: `/v1/data_factory/variables/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
209
|
+
method: 'PUT',
|
|
210
|
+
headers: headerParameters,
|
|
211
|
+
query: queryParameters,
|
|
212
|
+
body: UpdateVariableDtoToJSON(requestParameters.updateVariableDto),
|
|
213
|
+
}, initOverrides);
|
|
214
|
+
|
|
74
215
|
return new runtime.JSONApiResponse(response, (jsonValue) => VariableDtoFromJSON(jsonValue));
|
|
75
216
|
}
|
|
76
217
|
|
|
77
218
|
/**
|
|
78
|
-
* (Experimental) -
|
|
219
|
+
* (Experimental) - Update a Variable
|
|
79
220
|
*/
|
|
80
|
-
async
|
|
81
|
-
const response = await this.
|
|
221
|
+
async variableControllerUpdate(requestParameters: VariableControllerUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariableDto> {
|
|
222
|
+
const response = await this.variableControllerUpdateRaw(requestParameters, initOverrides);
|
|
82
223
|
return await response.value();
|
|
83
224
|
}
|
|
84
225
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as runtime from '../runtime';
|
|
2
|
+
import type { FileControllerGetFiles200Response, FileDto } from '../models';
|
|
3
|
+
export interface FileControllerGetFileByIdRequest {
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface FileControllerGetFilesRequest {
|
|
7
|
+
size?: number;
|
|
8
|
+
page?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface UploadFileRequest {
|
|
11
|
+
file: Blob;
|
|
12
|
+
}
|
|
13
|
+
export declare class DataFactoryFileApi extends runtime.BaseAPI {
|
|
14
|
+
fileControllerGetFileByIdRaw(requestParameters: FileControllerGetFileByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileDto>>;
|
|
15
|
+
fileControllerGetFileById(requestParameters: FileControllerGetFileByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileDto>;
|
|
16
|
+
fileControllerGetFilesRaw(requestParameters: FileControllerGetFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileControllerGetFiles200Response>>;
|
|
17
|
+
fileControllerGetFiles(requestParameters?: FileControllerGetFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileControllerGetFiles200Response>;
|
|
18
|
+
uploadFileRaw(requestParameters: UploadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileDto>>;
|
|
19
|
+
uploadFile(requestParameters: UploadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileDto>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.DataFactoryFileApi = void 0;
|
|
13
|
+
const runtime = require("../runtime");
|
|
14
|
+
const models_1 = require("../models");
|
|
15
|
+
class DataFactoryFileApi extends runtime.BaseAPI {
|
|
16
|
+
fileControllerGetFileByIdRaw(requestParameters, initOverrides) {
|
|
17
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
19
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling fileControllerGetFileById.');
|
|
20
|
+
}
|
|
21
|
+
const queryParameters = {};
|
|
22
|
+
const headerParameters = {};
|
|
23
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
24
|
+
queryParameters["api_key"] = this.configuration.apiKey("api_key");
|
|
25
|
+
}
|
|
26
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
27
|
+
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key");
|
|
28
|
+
}
|
|
29
|
+
const response = yield this.request({
|
|
30
|
+
path: `/v1/data_factory/files/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
31
|
+
method: 'GET',
|
|
32
|
+
headers: headerParameters,
|
|
33
|
+
query: queryParameters,
|
|
34
|
+
}, initOverrides);
|
|
35
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FileDtoFromJSON)(jsonValue));
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
fileControllerGetFileById(requestParameters, initOverrides) {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
const response = yield this.fileControllerGetFileByIdRaw(requestParameters, initOverrides);
|
|
41
|
+
return yield response.value();
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
fileControllerGetFilesRaw(requestParameters, initOverrides) {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
const queryParameters = {};
|
|
47
|
+
if (requestParameters.size !== undefined) {
|
|
48
|
+
queryParameters['size'] = requestParameters.size;
|
|
49
|
+
}
|
|
50
|
+
if (requestParameters.page !== undefined) {
|
|
51
|
+
queryParameters['page'] = requestParameters.page;
|
|
52
|
+
}
|
|
53
|
+
const headerParameters = {};
|
|
54
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
55
|
+
queryParameters["api_key"] = this.configuration.apiKey("api_key");
|
|
56
|
+
}
|
|
57
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
58
|
+
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key");
|
|
59
|
+
}
|
|
60
|
+
const response = yield this.request({
|
|
61
|
+
path: `/v1/data_factory/files`,
|
|
62
|
+
method: 'GET',
|
|
63
|
+
headers: headerParameters,
|
|
64
|
+
query: queryParameters,
|
|
65
|
+
}, initOverrides);
|
|
66
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FileControllerGetFiles200ResponseFromJSON)(jsonValue));
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
fileControllerGetFiles(requestParameters = {}, initOverrides) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
const response = yield this.fileControllerGetFilesRaw(requestParameters, initOverrides);
|
|
72
|
+
return yield response.value();
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
uploadFileRaw(requestParameters, initOverrides) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
if (requestParameters.file === null || requestParameters.file === undefined) {
|
|
78
|
+
throw new runtime.RequiredError('file', 'Required parameter requestParameters.file was null or undefined when calling uploadFile.');
|
|
79
|
+
}
|
|
80
|
+
const queryParameters = {};
|
|
81
|
+
const headerParameters = {};
|
|
82
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
83
|
+
queryParameters["api_key"] = this.configuration.apiKey("api_key");
|
|
84
|
+
}
|
|
85
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
86
|
+
headerParameters["X-Api-Key"] = this.configuration.apiKey("X-Api-Key");
|
|
87
|
+
}
|
|
88
|
+
const consumes = [
|
|
89
|
+
{ contentType: 'multipart/form-data' },
|
|
90
|
+
];
|
|
91
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
92
|
+
let formParams;
|
|
93
|
+
let useForm = false;
|
|
94
|
+
useForm = canConsumeForm;
|
|
95
|
+
if (useForm) {
|
|
96
|
+
formParams = new FormData();
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
formParams = new URLSearchParams();
|
|
100
|
+
}
|
|
101
|
+
if (requestParameters.file !== undefined) {
|
|
102
|
+
formParams.append('file', requestParameters.file);
|
|
103
|
+
}
|
|
104
|
+
const response = yield this.request({
|
|
105
|
+
path: `/v1/data_factory/files`,
|
|
106
|
+
method: 'POST',
|
|
107
|
+
headers: headerParameters,
|
|
108
|
+
query: queryParameters,
|
|
109
|
+
body: formParams,
|
|
110
|
+
}, initOverrides);
|
|
111
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FileDtoFromJSON)(jsonValue));
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
uploadFile(requestParameters, initOverrides) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
const response = yield this.uploadFileRaw(requestParameters, initOverrides);
|
|
117
|
+
return yield response.value();
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.DataFactoryFileApi = DataFactoryFileApi;
|
|
122
|
+
//# sourceMappingURL=DataFactoryFileApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataFactoryFileApi.js","sourceRoot":"","sources":["../../apis/DataFactoryFileApi.ts"],"names":[],"mappings":";;;;;;;;;;;;AAeA,sCAAsC;AAMtC,sCAOmB;AAkBnB,MAAa,kBAAmB,SAAQ,OAAO,CAAC,OAAO;IAK7C,4BAA4B,CAAC,iBAAmD,EAAE,aAA0D;;YAC9I,IAAI,iBAAiB,CAAC,EAAE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M;gBACd,OAAO,EAAE,gBAAgB;gBACzB,KAAK,EAAE,eAAe;gBACtB,IAAI,EAAE,UAAU;aACnB,EAAE,aAAa,CAAC,CAAC;YAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,wBAAe,EAAC,SAAS,CAAC,CAAC,CAAC;QAC5F,CAAC;KAAA;IAKK,UAAU,CAAC,iBAAoC,EAAE,aAA0D;;YAC7G,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;YAC5E,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;QAClC,CAAC;KAAA;CAEJ;AA7ID,gDA6IC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as runtime from '../runtime';
|
|
2
|
+
import type { CreateJobDto, JobControllerList200Response, JobDto, UpdateJobDto } from '../models';
|
|
3
|
+
export interface JobControllerCreateRequest {
|
|
4
|
+
createJobDto: CreateJobDto;
|
|
5
|
+
}
|
|
6
|
+
export interface JobControllerGetOneRequest {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface JobControllerListRequest {
|
|
10
|
+
size?: number;
|
|
11
|
+
page?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface JobControllerUpdateRequest {
|
|
14
|
+
id: string;
|
|
15
|
+
updateJobDto: UpdateJobDto;
|
|
16
|
+
}
|
|
17
|
+
export interface JobControllerUpdateJobZipRequest {
|
|
18
|
+
file: Blob;
|
|
19
|
+
id: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class JobApi extends runtime.BaseAPI {
|
|
22
|
+
jobControllerCreateRaw(requestParameters: JobControllerCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JobDto>>;
|
|
23
|
+
jobControllerCreate(requestParameters: JobControllerCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JobDto>;
|
|
24
|
+
jobControllerGetOneRaw(requestParameters: JobControllerGetOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JobDto>>;
|
|
25
|
+
jobControllerGetOne(requestParameters: JobControllerGetOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JobDto>;
|
|
26
|
+
jobControllerListRaw(requestParameters: JobControllerListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JobControllerList200Response>>;
|
|
27
|
+
jobControllerList(requestParameters?: JobControllerListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JobControllerList200Response>;
|
|
28
|
+
jobControllerUpdateRaw(requestParameters: JobControllerUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JobDto>>;
|
|
29
|
+
jobControllerUpdate(requestParameters: JobControllerUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JobDto>;
|
|
30
|
+
jobControllerUpdateJobZipRaw(requestParameters: JobControllerUpdateJobZipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JobDto>>;
|
|
31
|
+
jobControllerUpdateJobZip(requestParameters: JobControllerUpdateJobZipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JobDto>;
|
|
32
|
+
}
|