@product-live/api-sdk 2.23.0 → 2.26.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/package.json +4 -39
- package/.openapi-generator/FILES +0 -74
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/DataFactoryFileApi.md +0 -182
- package/DefaultApi.md +0 -105
- package/ItemApi.md +0 -125
- package/JobApi.md +0 -333
- package/JobExecutionApi.md +0 -185
- package/README.md +0 -80
- package/TaskApi.md +0 -375
- package/TaskExecutionApi.md +0 -130
- package/VariableApi.md +0 -315
- package/apis/DataFactoryFileApi.ts +0 -307
- package/apis/DefaultApi.ts +0 -117
- package/apis/ItemApi.ts +0 -197
- package/apis/JobApi.ts +0 -507
- package/apis/JobExecutionApi.ts +0 -289
- package/apis/TaskApi.ts +0 -558
- package/apis/TaskExecutionApi.ts +0 -212
- package/apis/VariableApi.ts +0 -495
- package/apis/baseapi.ts +0 -37
- package/apis/exception.ts +0 -15
- package/auth/auth.ts +0 -107
- package/configuration.ts +0 -82
- package/dist/apis/DataFactoryFileApi.d.ts +0 -15
- package/dist/apis/DataFactoryFileApi.js +0 -359
- package/dist/apis/DataFactoryFileApi.js.map +0 -1
- package/dist/apis/DefaultApi.d.ts +0 -11
- package/dist/apis/DefaultApi.js +0 -172
- package/dist/apis/DefaultApi.js.map +0 -1
- package/dist/apis/ItemApi.d.ts +0 -13
- package/dist/apis/ItemApi.js +0 -249
- package/dist/apis/ItemApi.js.map +0 -1
- package/dist/apis/JobApi.d.ts +0 -21
- package/dist/apis/JobApi.js +0 -547
- package/dist/apis/JobApi.js.map +0 -1
- package/dist/apis/JobExecutionApi.d.ts +0 -16
- package/dist/apis/JobExecutionApi.js +0 -339
- package/dist/apis/JobExecutionApi.js.map +0 -1
- package/dist/apis/TaskApi.d.ts +0 -24
- package/dist/apis/TaskApi.js +0 -609
- package/dist/apis/TaskApi.js.map +0 -1
- package/dist/apis/TaskExecutionApi.d.ts +0 -13
- package/dist/apis/TaskExecutionApi.js +0 -259
- package/dist/apis/TaskExecutionApi.js.map +0 -1
- package/dist/apis/VariableApi.d.ts +0 -22
- package/dist/apis/VariableApi.js +0 -529
- package/dist/apis/VariableApi.js.map +0 -1
- package/dist/apis/baseapi.d.ts +0 -18
- package/dist/apis/baseapi.js +0 -46
- package/dist/apis/baseapi.js.map +0 -1
- package/dist/apis/exception.d.ts +0 -10
- package/dist/apis/exception.js +0 -32
- package/dist/apis/exception.js.map +0 -1
- package/dist/auth/auth.d.ts +0 -42
- package/dist/auth/auth.js +0 -45
- package/dist/auth/auth.js.map +0 -1
- package/dist/configuration.d.ts +0 -18
- package/dist/configuration.js +0 -22
- package/dist/configuration.js.map +0 -1
- package/dist/http/http.d.ts +0 -82
- package/dist/http/http.js +0 -229
- package/dist/http/http.js.map +0 -1
- package/dist/http/isomorphic-fetch.d.ts +0 -5
- package/dist/http/isomorphic-fetch.js +0 -34
- package/dist/http/isomorphic-fetch.js.map +0 -1
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -36
- package/dist/index.js.map +0 -1
- package/dist/middleware.d.ts +0 -16
- package/dist/middleware.js +0 -18
- package/dist/middleware.js.map +0 -1
- package/dist/models/CreateJobDto.d.ts +0 -30
- package/dist/models/CreateJobDto.js +0 -82
- package/dist/models/CreateJobDto.js.map +0 -1
- package/dist/models/CreateJobExecutionDto.d.ts +0 -21
- package/dist/models/CreateJobExecutionDto.js +0 -34
- package/dist/models/CreateJobExecutionDto.js.map +0 -1
- package/dist/models/CreateTaskDto.d.ts +0 -21
- package/dist/models/CreateTaskDto.js +0 -46
- package/dist/models/CreateTaskDto.js.map +0 -1
- package/dist/models/CreateVariableDto.d.ts +0 -22
- package/dist/models/CreateVariableDto.js +0 -46
- package/dist/models/CreateVariableDto.js.map +0 -1
- package/dist/models/FileDto.d.ts +0 -23
- package/dist/models/FileDto.js +0 -52
- package/dist/models/FileDto.js.map +0 -1
- package/dist/models/FindVariablesRequest.d.ts +0 -23
- package/dist/models/FindVariablesRequest.js +0 -46
- package/dist/models/FindVariablesRequest.js.map +0 -1
- package/dist/models/GetFiles200Response.d.ts +0 -21
- package/dist/models/GetFiles200Response.js +0 -34
- package/dist/models/GetFiles200Response.js.map +0 -1
- package/dist/models/GetItems200Response.d.ts +0 -21
- package/dist/models/GetItems200Response.js +0 -34
- package/dist/models/GetItems200Response.js.map +0 -1
- package/dist/models/GetJobExecutionById400Response.d.ts +0 -17
- package/dist/models/GetJobExecutionById400Response.js +0 -22
- package/dist/models/GetJobExecutionById400Response.js.map +0 -1
- package/dist/models/GetJobExecutions200Response.d.ts +0 -21
- package/dist/models/GetJobExecutions200Response.js +0 -34
- package/dist/models/GetJobExecutions200Response.js.map +0 -1
- package/dist/models/GetJobs200Response.d.ts +0 -21
- package/dist/models/GetJobs200Response.js +0 -34
- package/dist/models/GetJobs200Response.js.map +0 -1
- package/dist/models/GetTasks200Response.d.ts +0 -21
- package/dist/models/GetTasks200Response.js +0 -34
- package/dist/models/GetTasks200Response.js.map +0 -1
- package/dist/models/GetVariables200Response.d.ts +0 -21
- package/dist/models/GetVariables200Response.js +0 -34
- package/dist/models/GetVariables200Response.js.map +0 -1
- package/dist/models/HighOrderQuery.d.ts +0 -19
- package/dist/models/HighOrderQuery.js +0 -28
- package/dist/models/HighOrderQuery.js.map +0 -1
- package/dist/models/ItemDto.d.ts +0 -28
- package/dist/models/ItemDto.js +0 -64
- package/dist/models/ItemDto.js.map +0 -1
- package/dist/models/ItemFieldDTO.d.ts +0 -19
- package/dist/models/ItemFieldDTO.js +0 -34
- package/dist/models/ItemFieldDTO.js.map +0 -1
- package/dist/models/ItemFieldFile.d.ts +0 -18
- package/dist/models/ItemFieldFile.js +0 -22
- package/dist/models/ItemFieldFile.js.map +0 -1
- package/dist/models/ItemFieldFileData.d.ts +0 -18
- package/dist/models/ItemFieldFileData.js +0 -28
- package/dist/models/ItemFieldFileData.js.map +0 -1
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.d.ts +0 -18
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js +0 -22
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js.map +0 -1
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.d.ts +0 -19
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js +0 -34
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js.map +0 -1
- package/dist/models/ItemFieldSimpleNumber.d.ts +0 -18
- package/dist/models/ItemFieldSimpleNumber.js +0 -28
- package/dist/models/ItemFieldSimpleNumber.js.map +0 -1
- package/dist/models/ItemFieldSimpleString.d.ts +0 -17
- package/dist/models/ItemFieldSimpleString.js +0 -22
- package/dist/models/ItemFieldSimpleString.js.map +0 -1
- package/dist/models/ItemFieldSimpleStringArray.d.ts +0 -17
- package/dist/models/ItemFieldSimpleStringArray.js +0 -22
- package/dist/models/ItemFieldSimpleStringArray.js.map +0 -1
- package/dist/models/ItemMetadataDTO.d.ts +0 -23
- package/dist/models/ItemMetadataDTO.js +0 -58
- package/dist/models/ItemMetadataDTO.js.map +0 -1
- package/dist/models/JobDto.d.ts +0 -35
- package/dist/models/JobDto.js +0 -106
- package/dist/models/JobDto.js.map +0 -1
- package/dist/models/JobExecutionDto.d.ts +0 -33
- package/dist/models/JobExecutionDto.js +0 -88
- package/dist/models/JobExecutionDto.js.map +0 -1
- package/dist/models/LowOrderQuery.d.ts +0 -22
- package/dist/models/LowOrderQuery.js +0 -40
- package/dist/models/LowOrderQuery.js.map +0 -1
- package/dist/models/LowOrderQueryValue.d.ts +0 -16
- package/dist/models/LowOrderQueryValue.js +0 -15
- package/dist/models/LowOrderQueryValue.js.map +0 -1
- package/dist/models/ObjectSerializer.d.ts +0 -45
- package/dist/models/ObjectSerializer.js +0 -347
- package/dist/models/ObjectSerializer.js.map +0 -1
- package/dist/models/PatchTaskExecutionDto.d.ts +0 -22
- package/dist/models/PatchTaskExecutionDto.js +0 -34
- package/dist/models/PatchTaskExecutionDto.js.map +0 -1
- package/dist/models/Query1.d.ts +0 -23
- package/dist/models/Query1.js +0 -46
- package/dist/models/Query1.js.map +0 -1
- package/dist/models/TaskDto.d.ts +0 -26
- package/dist/models/TaskDto.js +0 -70
- package/dist/models/TaskDto.js.map +0 -1
- package/dist/models/TaskExecutionDto.d.ts +0 -30
- package/dist/models/TaskExecutionDto.js +0 -64
- package/dist/models/TaskExecutionDto.js.map +0 -1
- package/dist/models/UpdateJobDto.d.ts +0 -31
- package/dist/models/UpdateJobDto.js +0 -88
- package/dist/models/UpdateJobDto.js.map +0 -1
- package/dist/models/UpdateTaskDto.d.ts +0 -22
- package/dist/models/UpdateTaskDto.js +0 -52
- package/dist/models/UpdateTaskDto.js.map +0 -1
- package/dist/models/UpdateVariableDto.d.ts +0 -23
- package/dist/models/UpdateVariableDto.js +0 -52
- package/dist/models/UpdateVariableDto.js.map +0 -1
- package/dist/models/VariableDto.d.ts +0 -27
- package/dist/models/VariableDto.js +0 -70
- package/dist/models/VariableDto.js.map +0 -1
- package/dist/models/all.d.ts +0 -36
- package/dist/models/all.js +0 -53
- package/dist/models/all.js.map +0 -1
- package/dist/rxjsStub.d.ts +0 -10
- package/dist/rxjsStub.js +0 -33
- package/dist/rxjsStub.js.map +0 -1
- package/dist/servers.d.ts +0 -17
- package/dist/servers.js +0 -32
- package/dist/servers.js.map +0 -1
- package/dist/types/ObjectParamAPI.d.ts +0 -187
- package/dist/types/ObjectParamAPI.js +0 -160
- package/dist/types/ObjectParamAPI.js.map +0 -1
- package/dist/types/ObservableAPI.d.ts +0 -109
- package/dist/types/ObservableAPI.js +0 -758
- package/dist/types/ObservableAPI.js.map +0 -1
- package/dist/types/PromiseAPI.d.ts +0 -92
- package/dist/types/PromiseAPI.js +0 -180
- package/dist/types/PromiseAPI.js.map +0 -1
- package/dist/util.d.ts +0 -2
- package/dist/util.js +0 -29
- package/dist/util.js.map +0 -1
- package/git_push.sh +0 -51
- package/http/http.ts +0 -229
- package/http/isomorphic-fetch.ts +0 -32
- package/index.ts +0 -12
- package/middleware.ts +0 -66
- package/models/CreateJobDto.ts +0 -108
- package/models/CreateJobExecutionDto.ts +0 -49
- package/models/CreateTaskDto.ts +0 -63
- package/models/CreateVariableDto.ts +0 -66
- package/models/FileDto.ts +0 -73
- package/models/FindVariablesRequest.ts +0 -68
- package/models/GetFiles200Response.ts +0 -53
- package/models/GetItems200Response.ts +0 -53
- package/models/GetJobExecutionById400Response.ts +0 -35
- package/models/GetJobExecutions200Response.ts +0 -53
- package/models/GetJobs200Response.ts +0 -53
- package/models/GetTasks200Response.ts +0 -53
- package/models/GetVariables200Response.ts +0 -53
- package/models/HighOrderQuery.ts +0 -45
- package/models/ItemDto.ts +0 -86
- package/models/ItemFieldDTO.ts +0 -49
- package/models/ItemFieldFile.ts +0 -36
- package/models/ItemFieldFileData.ts +0 -42
- package/models/ItemFieldMultipleSelectWithCommentAndQuantity.ts +0 -36
- package/models/ItemFieldMultipleSelectWithCommentAndQuantityData.ts +0 -49
- package/models/ItemFieldSimpleNumber.ts +0 -42
- package/models/ItemFieldSimpleString.ts +0 -35
- package/models/ItemFieldSimpleStringArray.ts +0 -35
- package/models/ItemMetadataDTO.ts +0 -77
- package/models/JobDto.ts +0 -137
- package/models/JobExecutionDto.ts +0 -115
- package/models/LowOrderQuery.ts +0 -60
- package/models/LowOrderQueryValue.ts +0 -29
- package/models/ObjectSerializer.ts +0 -358
- package/models/PatchTaskExecutionDto.ts +0 -52
- package/models/Query1.ts +0 -69
- package/models/TaskDto.ts +0 -94
- package/models/TaskExecutionDto.ts +0 -88
- package/models/UpdateJobDto.ts +0 -115
- package/models/UpdateTaskDto.ts +0 -70
- package/models/UpdateVariableDto.ts +0 -73
- package/models/VariableDto.ts +0 -95
- package/models/all.ts +0 -36
- package/rxjsStub.ts +0 -27
- package/servers.ts +0 -55
- package/tsconfig.json +0 -28
- package/types/ObjectParamAPI.ts +0 -675
- package/types/ObservableAPI.ts +0 -837
- package/types/PromiseAPI.ts +0 -452
- package/util.ts +0 -37
package/JobApi.md
DELETED
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
# .JobApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**createJob**](JobApi.md#createJob) | **POST** /v1/data_factory/jobs | (Experimental) - Create a Job
|
|
8
|
-
[**getJobById**](JobApi.md#getJobById) | **GET** /v1/data_factory/jobs/{id} | (Experimental) - Get a Job by id
|
|
9
|
-
[**getJobs**](JobApi.md#getJobs) | **GET** /v1/data_factory/jobs | (Experimental) - Get a list of Job
|
|
10
|
-
[**updateJob**](JobApi.md#updateJob) | **PUT** /v1/data_factory/jobs/{id} | (Experimental) - Update a Job
|
|
11
|
-
[**updateJobZip**](JobApi.md#updateJobZip) | **PUT** /v1/data_factory/jobs/{id}/zip | (Experimental) - Upload a zip to update a job
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# **createJob**
|
|
15
|
-
> JobDto createJob(createJobDto)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Example
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import { } from '';
|
|
23
|
-
import * as fs from 'fs';
|
|
24
|
-
|
|
25
|
-
const configuration = .createConfiguration();
|
|
26
|
-
const apiInstance = new .JobApi(configuration);
|
|
27
|
-
|
|
28
|
-
let body:.JobApiCreateJobRequest = {
|
|
29
|
-
// CreateJobDto
|
|
30
|
-
createJobDto: {
|
|
31
|
-
key: "key_example",
|
|
32
|
-
periodicity: [
|
|
33
|
-
{},
|
|
34
|
-
],
|
|
35
|
-
pipelineId: "pipelineId_example",
|
|
36
|
-
projectId: "projectId_example",
|
|
37
|
-
status: "DRAFT",
|
|
38
|
-
title: "title_example",
|
|
39
|
-
titleLocal: {},
|
|
40
|
-
description: "description_example",
|
|
41
|
-
descriptionLocal: {},
|
|
42
|
-
output: {},
|
|
43
|
-
tasks: [
|
|
44
|
-
{},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
apiInstance.createJob(body).then((data:any) => {
|
|
50
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
51
|
-
}).catch((error:any) => console.error(error));
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Parameters
|
|
56
|
-
|
|
57
|
-
Name | Type | Description | Notes
|
|
58
|
-
------------- | ------------- | ------------- | -------------
|
|
59
|
-
**createJobDto** | **CreateJobDto**| |
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
### Return type
|
|
63
|
-
|
|
64
|
-
**JobDto**
|
|
65
|
-
|
|
66
|
-
### Authorization
|
|
67
|
-
|
|
68
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
69
|
-
|
|
70
|
-
### HTTP request headers
|
|
71
|
-
|
|
72
|
-
- **Content-Type**: application/json
|
|
73
|
-
- **Accept**: application/json
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### HTTP response details
|
|
77
|
-
| Status code | Description | Response headers |
|
|
78
|
-
|-------------|-------------|------------------|
|
|
79
|
-
**201** | Job successfully created | - |
|
|
80
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
81
|
-
**401** | Unauthorized | - |
|
|
82
|
-
|
|
83
|
-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
84
|
-
|
|
85
|
-
# **getJobById**
|
|
86
|
-
> JobDto getJobById()
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
### Example
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
```typescript
|
|
93
|
-
import { } from '';
|
|
94
|
-
import * as fs from 'fs';
|
|
95
|
-
|
|
96
|
-
const configuration = .createConfiguration();
|
|
97
|
-
const apiInstance = new .JobApi(configuration);
|
|
98
|
-
|
|
99
|
-
let body:.JobApiGetJobByIdRequest = {
|
|
100
|
-
// string
|
|
101
|
-
id: "id_example",
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
apiInstance.getJobById(body).then((data:any) => {
|
|
105
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
106
|
-
}).catch((error:any) => console.error(error));
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
### Parameters
|
|
111
|
-
|
|
112
|
-
Name | Type | Description | Notes
|
|
113
|
-
------------- | ------------- | ------------- | -------------
|
|
114
|
-
**id** | [**string**] | | defaults to undefined
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
### Return type
|
|
118
|
-
|
|
119
|
-
**JobDto**
|
|
120
|
-
|
|
121
|
-
### Authorization
|
|
122
|
-
|
|
123
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
124
|
-
|
|
125
|
-
### HTTP request headers
|
|
126
|
-
|
|
127
|
-
- **Content-Type**: Not defined
|
|
128
|
-
- **Accept**: application/json
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
### HTTP response details
|
|
132
|
-
| Status code | Description | Response headers |
|
|
133
|
-
|-------------|-------------|------------------|
|
|
134
|
-
**200** | Job with request id successfully retrieved | - |
|
|
135
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
136
|
-
**401** | Unauthorized | - |
|
|
137
|
-
**404** | Not found | - |
|
|
138
|
-
|
|
139
|
-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
140
|
-
|
|
141
|
-
# **getJobs**
|
|
142
|
-
> GetJobs200Response getJobs()
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
### Example
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
```typescript
|
|
149
|
-
import { } from '';
|
|
150
|
-
import * as fs from 'fs';
|
|
151
|
-
|
|
152
|
-
const configuration = .createConfiguration();
|
|
153
|
-
const apiInstance = new .JobApi(configuration);
|
|
154
|
-
|
|
155
|
-
let body:.JobApiGetJobsRequest = {
|
|
156
|
-
// number (optional)
|
|
157
|
-
size: 10,
|
|
158
|
-
// number (optional)
|
|
159
|
-
page: 0,
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
apiInstance.getJobs(body).then((data:any) => {
|
|
163
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
164
|
-
}).catch((error:any) => console.error(error));
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
### Parameters
|
|
169
|
-
|
|
170
|
-
Name | Type | Description | Notes
|
|
171
|
-
------------- | ------------- | ------------- | -------------
|
|
172
|
-
**size** | [**number**] | | (optional) defaults to 10
|
|
173
|
-
**page** | [**number**] | | (optional) defaults to 0
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
### Return type
|
|
177
|
-
|
|
178
|
-
**GetJobs200Response**
|
|
179
|
-
|
|
180
|
-
### Authorization
|
|
181
|
-
|
|
182
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
183
|
-
|
|
184
|
-
### HTTP request headers
|
|
185
|
-
|
|
186
|
-
- **Content-Type**: Not defined
|
|
187
|
-
- **Accept**: application/json
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
### HTTP response details
|
|
191
|
-
| Status code | Description | Response headers |
|
|
192
|
-
|-------------|-------------|------------------|
|
|
193
|
-
**200** | Get a list of Job | - |
|
|
194
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
195
|
-
**401** | Unauthorized | - |
|
|
196
|
-
|
|
197
|
-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
198
|
-
|
|
199
|
-
# **updateJob**
|
|
200
|
-
> JobDto updateJob(updateJobDto)
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
### Example
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
```typescript
|
|
207
|
-
import { } from '';
|
|
208
|
-
import * as fs from 'fs';
|
|
209
|
-
|
|
210
|
-
const configuration = .createConfiguration();
|
|
211
|
-
const apiInstance = new .JobApi(configuration);
|
|
212
|
-
|
|
213
|
-
let body:.JobApiUpdateJobRequest = {
|
|
214
|
-
// string
|
|
215
|
-
id: "id_example",
|
|
216
|
-
// UpdateJobDto
|
|
217
|
-
updateJobDto: {
|
|
218
|
-
key: "key_example",
|
|
219
|
-
periodicity: [
|
|
220
|
-
{},
|
|
221
|
-
],
|
|
222
|
-
pipelineId: "pipelineId_example",
|
|
223
|
-
projectId: "projectId_example",
|
|
224
|
-
status: "DRAFT",
|
|
225
|
-
title: "title_example",
|
|
226
|
-
titleLocal: {},
|
|
227
|
-
description: "description_example",
|
|
228
|
-
descriptionLocal: {},
|
|
229
|
-
output: {},
|
|
230
|
-
tasks: [
|
|
231
|
-
{},
|
|
232
|
-
],
|
|
233
|
-
id: "id_example",
|
|
234
|
-
},
|
|
235
|
-
};
|
|
236
|
-
|
|
237
|
-
apiInstance.updateJob(body).then((data:any) => {
|
|
238
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
239
|
-
}).catch((error:any) => console.error(error));
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
### Parameters
|
|
244
|
-
|
|
245
|
-
Name | Type | Description | Notes
|
|
246
|
-
------------- | ------------- | ------------- | -------------
|
|
247
|
-
**updateJobDto** | **UpdateJobDto**| |
|
|
248
|
-
**id** | [**string**] | | defaults to undefined
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
### Return type
|
|
252
|
-
|
|
253
|
-
**JobDto**
|
|
254
|
-
|
|
255
|
-
### Authorization
|
|
256
|
-
|
|
257
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
258
|
-
|
|
259
|
-
### HTTP request headers
|
|
260
|
-
|
|
261
|
-
- **Content-Type**: application/json
|
|
262
|
-
- **Accept**: application/json
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
### HTTP response details
|
|
266
|
-
| Status code | Description | Response headers |
|
|
267
|
-
|-------------|-------------|------------------|
|
|
268
|
-
**201** | Job successfully updated | - |
|
|
269
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
270
|
-
**401** | Unauthorized | - |
|
|
271
|
-
|
|
272
|
-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
273
|
-
|
|
274
|
-
# **updateJobZip**
|
|
275
|
-
> JobDto updateJobZip()
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
### Example
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
```typescript
|
|
282
|
-
import { } from '';
|
|
283
|
-
import * as fs from 'fs';
|
|
284
|
-
|
|
285
|
-
const configuration = .createConfiguration();
|
|
286
|
-
const apiInstance = new .JobApi(configuration);
|
|
287
|
-
|
|
288
|
-
let body:.JobApiUpdateJobZipRequest = {
|
|
289
|
-
// string
|
|
290
|
-
id: "id_example",
|
|
291
|
-
// HttpFile
|
|
292
|
-
file: { data: Buffer.from(fs.readFileSync('/path/to/file', 'utf-8')), name: '/path/to/file' },
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
apiInstance.updateJobZip(body).then((data:any) => {
|
|
296
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
297
|
-
}).catch((error:any) => console.error(error));
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
### Parameters
|
|
302
|
-
|
|
303
|
-
Name | Type | Description | Notes
|
|
304
|
-
------------- | ------------- | ------------- | -------------
|
|
305
|
-
**id** | [**string**] | | defaults to undefined
|
|
306
|
-
**file** | [**HttpFile**] | | defaults to undefined
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
### Return type
|
|
310
|
-
|
|
311
|
-
**JobDto**
|
|
312
|
-
|
|
313
|
-
### Authorization
|
|
314
|
-
|
|
315
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
316
|
-
|
|
317
|
-
### HTTP request headers
|
|
318
|
-
|
|
319
|
-
- **Content-Type**: multipart/form-data
|
|
320
|
-
- **Accept**: application/json
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
### HTTP response details
|
|
324
|
-
| Status code | Description | Response headers |
|
|
325
|
-
|-------------|-------------|------------------|
|
|
326
|
-
**201** | Zip successfully updated job | - |
|
|
327
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
328
|
-
**401** | Unauthorized | - |
|
|
329
|
-
**413** | Request Entity Too Large | - |
|
|
330
|
-
|
|
331
|
-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
332
|
-
|
|
333
|
-
|
package/JobExecutionApi.md
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
# .JobExecutionApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**createJobExecution**](JobExecutionApi.md#createJobExecution) | **POST** /v1/data_factory/job_executions | (Experimental) - Create a Job execution
|
|
8
|
-
[**getJobExecutionById**](JobExecutionApi.md#getJobExecutionById) | **GET** /v1/data_factory/job_executions/{id} | (Experimental) - Get a Job execution by id
|
|
9
|
-
[**getJobExecutions**](JobExecutionApi.md#getJobExecutions) | **GET** /v1/data_factory/job_executions | (Experimental) - Get a list of Job execution
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
# **createJobExecution**
|
|
13
|
-
> JobExecutionDto createJobExecution(createJobExecutionDto)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
### Example
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { } from '';
|
|
21
|
-
import * as fs from 'fs';
|
|
22
|
-
|
|
23
|
-
const configuration = .createConfiguration();
|
|
24
|
-
const apiInstance = new .JobExecutionApi(configuration);
|
|
25
|
-
|
|
26
|
-
let body:.JobExecutionApiCreateJobExecutionRequest = {
|
|
27
|
-
// CreateJobExecutionDto
|
|
28
|
-
createJobExecutionDto: {
|
|
29
|
-
jobId: "jobId_example",
|
|
30
|
-
info: {},
|
|
31
|
-
input: {},
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
apiInstance.createJobExecution(body).then((data:any) => {
|
|
36
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
37
|
-
}).catch((error:any) => console.error(error));
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### Parameters
|
|
42
|
-
|
|
43
|
-
Name | Type | Description | Notes
|
|
44
|
-
------------- | ------------- | ------------- | -------------
|
|
45
|
-
**createJobExecutionDto** | **CreateJobExecutionDto**| |
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### Return type
|
|
49
|
-
|
|
50
|
-
**JobExecutionDto**
|
|
51
|
-
|
|
52
|
-
### Authorization
|
|
53
|
-
|
|
54
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
55
|
-
|
|
56
|
-
### HTTP request headers
|
|
57
|
-
|
|
58
|
-
- **Content-Type**: application/json
|
|
59
|
-
- **Accept**: application/json
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
### HTTP response details
|
|
63
|
-
| Status code | Description | Response headers |
|
|
64
|
-
|-------------|-------------|------------------|
|
|
65
|
-
**201** | Job execution successfully created | - |
|
|
66
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
67
|
-
**401** | Unauthorized | - |
|
|
68
|
-
|
|
69
|
-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
70
|
-
|
|
71
|
-
# **getJobExecutionById**
|
|
72
|
-
> JobExecutionDto getJobExecutionById()
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
### Example
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
```typescript
|
|
79
|
-
import { } from '';
|
|
80
|
-
import * as fs from 'fs';
|
|
81
|
-
|
|
82
|
-
const configuration = .createConfiguration();
|
|
83
|
-
const apiInstance = new .JobExecutionApi(configuration);
|
|
84
|
-
|
|
85
|
-
let body:.JobExecutionApiGetJobExecutionByIdRequest = {
|
|
86
|
-
// string
|
|
87
|
-
id: "id_example",
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
apiInstance.getJobExecutionById(body).then((data:any) => {
|
|
91
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
92
|
-
}).catch((error:any) => console.error(error));
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Parameters
|
|
97
|
-
|
|
98
|
-
Name | Type | Description | Notes
|
|
99
|
-
------------- | ------------- | ------------- | -------------
|
|
100
|
-
**id** | [**string**] | | defaults to undefined
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
### Return type
|
|
104
|
-
|
|
105
|
-
**JobExecutionDto**
|
|
106
|
-
|
|
107
|
-
### Authorization
|
|
108
|
-
|
|
109
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
110
|
-
|
|
111
|
-
### HTTP request headers
|
|
112
|
-
|
|
113
|
-
- **Content-Type**: Not defined
|
|
114
|
-
- **Accept**: application/json
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
### HTTP response details
|
|
118
|
-
| Status code | Description | Response headers |
|
|
119
|
-
|-------------|-------------|------------------|
|
|
120
|
-
**200** | Job execution with request id successfully retrieved | - |
|
|
121
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
122
|
-
**401** | Unauthorized | - |
|
|
123
|
-
**404** | Not found | - |
|
|
124
|
-
|
|
125
|
-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
126
|
-
|
|
127
|
-
# **getJobExecutions**
|
|
128
|
-
> GetJobExecutions200Response getJobExecutions()
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
### Example
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
```typescript
|
|
135
|
-
import { } from '';
|
|
136
|
-
import * as fs from 'fs';
|
|
137
|
-
|
|
138
|
-
const configuration = .createConfiguration();
|
|
139
|
-
const apiInstance = new .JobExecutionApi(configuration);
|
|
140
|
-
|
|
141
|
-
let body:.JobExecutionApiGetJobExecutionsRequest = {
|
|
142
|
-
// number (optional)
|
|
143
|
-
size: 10,
|
|
144
|
-
// number (optional)
|
|
145
|
-
page: 0,
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
apiInstance.getJobExecutions(body).then((data:any) => {
|
|
149
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
150
|
-
}).catch((error:any) => console.error(error));
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
### Parameters
|
|
155
|
-
|
|
156
|
-
Name | Type | Description | Notes
|
|
157
|
-
------------- | ------------- | ------------- | -------------
|
|
158
|
-
**size** | [**number**] | | (optional) defaults to 10
|
|
159
|
-
**page** | [**number**] | | (optional) defaults to 0
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
### Return type
|
|
163
|
-
|
|
164
|
-
**GetJobExecutions200Response**
|
|
165
|
-
|
|
166
|
-
### Authorization
|
|
167
|
-
|
|
168
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
169
|
-
|
|
170
|
-
### HTTP request headers
|
|
171
|
-
|
|
172
|
-
- **Content-Type**: Not defined
|
|
173
|
-
- **Accept**: application/json
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
### HTTP response details
|
|
177
|
-
| Status code | Description | Response headers |
|
|
178
|
-
|-------------|-------------|------------------|
|
|
179
|
-
**200** | Get a list of Job execution | - |
|
|
180
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
181
|
-
**401** | Unauthorized | - |
|
|
182
|
-
|
|
183
|
-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
|
|
184
|
-
|
|
185
|
-
|
package/README.md
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
## @
|
|
2
|
-
|
|
3
|
-
This generator creates TypeScript/JavaScript client that utilizes fetch-api.
|
|
4
|
-
|
|
5
|
-
### Building
|
|
6
|
-
|
|
7
|
-
To build and compile the typescript sources to javascript use:
|
|
8
|
-
```
|
|
9
|
-
npm install
|
|
10
|
-
npm run build
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### Publishing
|
|
14
|
-
|
|
15
|
-
First build the package then run ```npm publish```
|
|
16
|
-
|
|
17
|
-
### Consuming
|
|
18
|
-
|
|
19
|
-
Navigate to the folder of your consuming project and run one of the following commands.
|
|
20
|
-
|
|
21
|
-
_published:_
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
npm install @ --save
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
_unPublished (not recommended):_
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Usage
|
|
34
|
-
|
|
35
|
-
Below code snippet shows exemplary usage of the configuration and the API based
|
|
36
|
-
on the typical `PetStore` example used for OpenAPI.
|
|
37
|
-
|
|
38
|
-
```
|
|
39
|
-
import * as your_api from 'your_api_package'
|
|
40
|
-
|
|
41
|
-
// Covers all auth methods included in your OpenAPI yaml definition
|
|
42
|
-
const authConfig: your_api.AuthMethodsConfiguration = {
|
|
43
|
-
"api_key": "YOUR_API_KEY"
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Implements a simple middleware to modify requests before (`pre`) they are sent
|
|
47
|
-
// and after (`post`) they have been received
|
|
48
|
-
class Test implements your_api.Middleware {
|
|
49
|
-
pre(context: your_api.RequestContext): Promise<your_api.RequestContext> {
|
|
50
|
-
// Modify context here and return
|
|
51
|
-
return Promise.resolve(context);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
post(context: your_api.ResponseContext): Promise<your_api.ResponseContext> {
|
|
55
|
-
return Promise.resolve(context);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Create configuration parameter object
|
|
61
|
-
const configurationParameters = {
|
|
62
|
-
httpApi: new your_api.JQueryHttpLibrary(), // Can also be ignored - default is usually fine
|
|
63
|
-
baseServer: your_api.servers[0], // First server is default
|
|
64
|
-
authMethods: authConfig, // No auth is default
|
|
65
|
-
promiseMiddleware: [new Test()],
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Convert to actual configuration
|
|
69
|
-
const config = your_api.createConfiguration(configurationParameters);
|
|
70
|
-
|
|
71
|
-
// Use configuration with your_api
|
|
72
|
-
const api = new your_api.PetApi(config);
|
|
73
|
-
your_api.Pet p = new your_api.Pet();
|
|
74
|
-
p.name = "My new pet";
|
|
75
|
-
p.photoUrls = [];
|
|
76
|
-
p.tags = [];
|
|
77
|
-
p.status = "available";
|
|
78
|
-
Promise<your_api.Pet> createdPet = api.addPet(p);
|
|
79
|
-
|
|
80
|
-
```
|