@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/TaskApi.md
DELETED
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
# .TaskApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**createTask**](TaskApi.md#createTask) | **POST** /v1/data_factory/tasks | (Experimental) - Create a Task
|
|
8
|
-
[**deleteTask**](TaskApi.md#deleteTask) | **DELETE** /v1/data_factory/tasks/{id} | (Experimental) - Delete a Task by id
|
|
9
|
-
[**getTaskById**](TaskApi.md#getTaskById) | **GET** /v1/data_factory/tasks/{id} | (Experimental) - Get a Task by id
|
|
10
|
-
[**getTasks**](TaskApi.md#getTasks) | **GET** /v1/data_factory/tasks | (Experimental) - Get a list of Task
|
|
11
|
-
[**pollTaskExecution**](TaskApi.md#pollTaskExecution) | **GET** /v1/data_factory/tasks/{id}/poll | (Experimental) - Poll a task if there is not task to poll, the API returns a `404 Not Found` error
|
|
12
|
-
[**updateTask**](TaskApi.md#updateTask) | **PUT** /v1/data_factory/tasks/{id} | (Experimental) - Update a Task
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
# **createTask**
|
|
16
|
-
> TaskDto createTask(createTaskDto)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
### Example
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { } from '';
|
|
24
|
-
import * as fs from 'fs';
|
|
25
|
-
|
|
26
|
-
const configuration = .createConfiguration();
|
|
27
|
-
const apiInstance = new .TaskApi(configuration);
|
|
28
|
-
|
|
29
|
-
let body:.TaskApiCreateTaskRequest = {
|
|
30
|
-
// CreateTaskDto
|
|
31
|
-
createTaskDto: {
|
|
32
|
-
key: "key_example",
|
|
33
|
-
description: "description_example",
|
|
34
|
-
retryCount: 3.14,
|
|
35
|
-
inputKeys: [
|
|
36
|
-
{},
|
|
37
|
-
],
|
|
38
|
-
outputKeys: [
|
|
39
|
-
{},
|
|
40
|
-
],
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
apiInstance.createTask(body).then((data:any) => {
|
|
45
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
46
|
-
}).catch((error:any) => console.error(error));
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
### Parameters
|
|
51
|
-
|
|
52
|
-
Name | Type | Description | Notes
|
|
53
|
-
------------- | ------------- | ------------- | -------------
|
|
54
|
-
**createTaskDto** | **CreateTaskDto**| |
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
### Return type
|
|
58
|
-
|
|
59
|
-
**TaskDto**
|
|
60
|
-
|
|
61
|
-
### Authorization
|
|
62
|
-
|
|
63
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
64
|
-
|
|
65
|
-
### HTTP request headers
|
|
66
|
-
|
|
67
|
-
- **Content-Type**: application/json
|
|
68
|
-
- **Accept**: application/json
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### HTTP response details
|
|
72
|
-
| Status code | Description | Response headers |
|
|
73
|
-
|-------------|-------------|------------------|
|
|
74
|
-
**201** | Task successfully created | - |
|
|
75
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
76
|
-
**401** | Unauthorized | - |
|
|
77
|
-
|
|
78
|
-
[[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)
|
|
79
|
-
|
|
80
|
-
# **deleteTask**
|
|
81
|
-
> TaskDto deleteTask()
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
### Example
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
```typescript
|
|
88
|
-
import { } from '';
|
|
89
|
-
import * as fs from 'fs';
|
|
90
|
-
|
|
91
|
-
const configuration = .createConfiguration();
|
|
92
|
-
const apiInstance = new .TaskApi(configuration);
|
|
93
|
-
|
|
94
|
-
let body:.TaskApiDeleteTaskRequest = {
|
|
95
|
-
// string
|
|
96
|
-
id: "id_example",
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
apiInstance.deleteTask(body).then((data:any) => {
|
|
100
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
101
|
-
}).catch((error:any) => console.error(error));
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
### Parameters
|
|
106
|
-
|
|
107
|
-
Name | Type | Description | Notes
|
|
108
|
-
------------- | ------------- | ------------- | -------------
|
|
109
|
-
**id** | [**string**] | | defaults to undefined
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### Return type
|
|
113
|
-
|
|
114
|
-
**TaskDto**
|
|
115
|
-
|
|
116
|
-
### Authorization
|
|
117
|
-
|
|
118
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
119
|
-
|
|
120
|
-
### HTTP request headers
|
|
121
|
-
|
|
122
|
-
- **Content-Type**: Not defined
|
|
123
|
-
- **Accept**: application/json
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
### HTTP response details
|
|
127
|
-
| Status code | Description | Response headers |
|
|
128
|
-
|-------------|-------------|------------------|
|
|
129
|
-
**201** | Task with request id successfully deleted | - |
|
|
130
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
131
|
-
**401** | Unauthorized | - |
|
|
132
|
-
**404** | Not found | - |
|
|
133
|
-
|
|
134
|
-
[[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)
|
|
135
|
-
|
|
136
|
-
# **getTaskById**
|
|
137
|
-
> TaskDto getTaskById()
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### Example
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
```typescript
|
|
144
|
-
import { } from '';
|
|
145
|
-
import * as fs from 'fs';
|
|
146
|
-
|
|
147
|
-
const configuration = .createConfiguration();
|
|
148
|
-
const apiInstance = new .TaskApi(configuration);
|
|
149
|
-
|
|
150
|
-
let body:.TaskApiGetTaskByIdRequest = {
|
|
151
|
-
// string
|
|
152
|
-
id: "id_example",
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
apiInstance.getTaskById(body).then((data:any) => {
|
|
156
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
157
|
-
}).catch((error:any) => console.error(error));
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
### Parameters
|
|
162
|
-
|
|
163
|
-
Name | Type | Description | Notes
|
|
164
|
-
------------- | ------------- | ------------- | -------------
|
|
165
|
-
**id** | [**string**] | | defaults to undefined
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
### Return type
|
|
169
|
-
|
|
170
|
-
**TaskDto**
|
|
171
|
-
|
|
172
|
-
### Authorization
|
|
173
|
-
|
|
174
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
175
|
-
|
|
176
|
-
### HTTP request headers
|
|
177
|
-
|
|
178
|
-
- **Content-Type**: Not defined
|
|
179
|
-
- **Accept**: application/json
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### HTTP response details
|
|
183
|
-
| Status code | Description | Response headers |
|
|
184
|
-
|-------------|-------------|------------------|
|
|
185
|
-
**200** | Task with request id successfully retrieved | - |
|
|
186
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
187
|
-
**401** | Unauthorized | - |
|
|
188
|
-
**404** | Not found | - |
|
|
189
|
-
|
|
190
|
-
[[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)
|
|
191
|
-
|
|
192
|
-
# **getTasks**
|
|
193
|
-
> GetTasks200Response getTasks()
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
### Example
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
```typescript
|
|
200
|
-
import { } from '';
|
|
201
|
-
import * as fs from 'fs';
|
|
202
|
-
|
|
203
|
-
const configuration = .createConfiguration();
|
|
204
|
-
const apiInstance = new .TaskApi(configuration);
|
|
205
|
-
|
|
206
|
-
let body:.TaskApiGetTasksRequest = {
|
|
207
|
-
// number (optional)
|
|
208
|
-
size: 10,
|
|
209
|
-
// number (optional)
|
|
210
|
-
page: 0,
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
apiInstance.getTasks(body).then((data:any) => {
|
|
214
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
215
|
-
}).catch((error:any) => console.error(error));
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
### Parameters
|
|
220
|
-
|
|
221
|
-
Name | Type | Description | Notes
|
|
222
|
-
------------- | ------------- | ------------- | -------------
|
|
223
|
-
**size** | [**number**] | | (optional) defaults to 10
|
|
224
|
-
**page** | [**number**] | | (optional) defaults to 0
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
### Return type
|
|
228
|
-
|
|
229
|
-
**GetTasks200Response**
|
|
230
|
-
|
|
231
|
-
### Authorization
|
|
232
|
-
|
|
233
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
234
|
-
|
|
235
|
-
### HTTP request headers
|
|
236
|
-
|
|
237
|
-
- **Content-Type**: Not defined
|
|
238
|
-
- **Accept**: application/json
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
### HTTP response details
|
|
242
|
-
| Status code | Description | Response headers |
|
|
243
|
-
|-------------|-------------|------------------|
|
|
244
|
-
**200** | Get a list of Task | - |
|
|
245
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
246
|
-
**401** | Unauthorized | - |
|
|
247
|
-
|
|
248
|
-
[[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)
|
|
249
|
-
|
|
250
|
-
# **pollTaskExecution**
|
|
251
|
-
> TaskExecutionDto pollTaskExecution()
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
### Example
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
```typescript
|
|
258
|
-
import { } from '';
|
|
259
|
-
import * as fs from 'fs';
|
|
260
|
-
|
|
261
|
-
const configuration = .createConfiguration();
|
|
262
|
-
const apiInstance = new .TaskApi(configuration);
|
|
263
|
-
|
|
264
|
-
let body:.TaskApiPollTaskExecutionRequest = {
|
|
265
|
-
// string
|
|
266
|
-
id: "id_example",
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
apiInstance.pollTaskExecution(body).then((data:any) => {
|
|
270
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
271
|
-
}).catch((error:any) => console.error(error));
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
### Parameters
|
|
276
|
-
|
|
277
|
-
Name | Type | Description | Notes
|
|
278
|
-
------------- | ------------- | ------------- | -------------
|
|
279
|
-
**id** | [**string**] | | defaults to undefined
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
### Return type
|
|
283
|
-
|
|
284
|
-
**TaskExecutionDto**
|
|
285
|
-
|
|
286
|
-
### Authorization
|
|
287
|
-
|
|
288
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
289
|
-
|
|
290
|
-
### HTTP request headers
|
|
291
|
-
|
|
292
|
-
- **Content-Type**: Not defined
|
|
293
|
-
- **Accept**: application/json
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
### HTTP response details
|
|
297
|
-
| Status code | Description | Response headers |
|
|
298
|
-
|-------------|-------------|------------------|
|
|
299
|
-
**200** | A task is polled return a task execution | - |
|
|
300
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
301
|
-
**401** | Unauthorized | - |
|
|
302
|
-
**404** | Not found | - |
|
|
303
|
-
|
|
304
|
-
[[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)
|
|
305
|
-
|
|
306
|
-
# **updateTask**
|
|
307
|
-
> TaskDto updateTask(updateTaskDto)
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
### Example
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
```typescript
|
|
314
|
-
import { } from '';
|
|
315
|
-
import * as fs from 'fs';
|
|
316
|
-
|
|
317
|
-
const configuration = .createConfiguration();
|
|
318
|
-
const apiInstance = new .TaskApi(configuration);
|
|
319
|
-
|
|
320
|
-
let body:.TaskApiUpdateTaskRequest = {
|
|
321
|
-
// string
|
|
322
|
-
id: "id_example",
|
|
323
|
-
// UpdateTaskDto
|
|
324
|
-
updateTaskDto: {
|
|
325
|
-
key: "key_example",
|
|
326
|
-
description: "description_example",
|
|
327
|
-
retryCount: 3.14,
|
|
328
|
-
inputKeys: [
|
|
329
|
-
{},
|
|
330
|
-
],
|
|
331
|
-
outputKeys: [
|
|
332
|
-
{},
|
|
333
|
-
],
|
|
334
|
-
id: "id_example",
|
|
335
|
-
},
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
apiInstance.updateTask(body).then((data:any) => {
|
|
339
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
340
|
-
}).catch((error:any) => console.error(error));
|
|
341
|
-
```
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
### Parameters
|
|
345
|
-
|
|
346
|
-
Name | Type | Description | Notes
|
|
347
|
-
------------- | ------------- | ------------- | -------------
|
|
348
|
-
**updateTaskDto** | **UpdateTaskDto**| |
|
|
349
|
-
**id** | [**string**] | | defaults to undefined
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
### Return type
|
|
353
|
-
|
|
354
|
-
**TaskDto**
|
|
355
|
-
|
|
356
|
-
### Authorization
|
|
357
|
-
|
|
358
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
359
|
-
|
|
360
|
-
### HTTP request headers
|
|
361
|
-
|
|
362
|
-
- **Content-Type**: application/json
|
|
363
|
-
- **Accept**: application/json
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
### HTTP response details
|
|
367
|
-
| Status code | Description | Response headers |
|
|
368
|
-
|-------------|-------------|------------------|
|
|
369
|
-
**201** | Task successfully updated | - |
|
|
370
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
371
|
-
**401** | Unauthorized | - |
|
|
372
|
-
|
|
373
|
-
[[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)
|
|
374
|
-
|
|
375
|
-
|
package/TaskExecutionApi.md
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
# .TaskExecutionApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**getTaskExecutionById**](TaskExecutionApi.md#getTaskExecutionById) | **GET** /v1/data_factory/task_executions/{id} | (Experimental) - Get a Task execution by id
|
|
8
|
-
[**patchTaskExecution**](TaskExecutionApi.md#patchTaskExecution) | **PATCH** /v1/data_factory/task_executions/{id} | (Experimental) - Update running task instance
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
# **getTaskExecutionById**
|
|
12
|
-
> TaskExecutionDto getTaskExecutionById()
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Example
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { } from '';
|
|
20
|
-
import * as fs from 'fs';
|
|
21
|
-
|
|
22
|
-
const configuration = .createConfiguration();
|
|
23
|
-
const apiInstance = new .TaskExecutionApi(configuration);
|
|
24
|
-
|
|
25
|
-
let body:.TaskExecutionApiGetTaskExecutionByIdRequest = {
|
|
26
|
-
// string
|
|
27
|
-
id: "id_example",
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
apiInstance.getTaskExecutionById(body).then((data:any) => {
|
|
31
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
32
|
-
}).catch((error:any) => console.error(error));
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### Parameters
|
|
37
|
-
|
|
38
|
-
Name | Type | Description | Notes
|
|
39
|
-
------------- | ------------- | ------------- | -------------
|
|
40
|
-
**id** | [**string**] | | defaults to undefined
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Return type
|
|
44
|
-
|
|
45
|
-
**TaskExecutionDto**
|
|
46
|
-
|
|
47
|
-
### Authorization
|
|
48
|
-
|
|
49
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
50
|
-
|
|
51
|
-
### HTTP request headers
|
|
52
|
-
|
|
53
|
-
- **Content-Type**: Not defined
|
|
54
|
-
- **Accept**: application/json
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
### HTTP response details
|
|
58
|
-
| Status code | Description | Response headers |
|
|
59
|
-
|-------------|-------------|------------------|
|
|
60
|
-
**200** | Task execution with request id successfully retrieved | - |
|
|
61
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
62
|
-
**401** | Unauthorized | - |
|
|
63
|
-
**404** | Not found | - |
|
|
64
|
-
|
|
65
|
-
[[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)
|
|
66
|
-
|
|
67
|
-
# **patchTaskExecution**
|
|
68
|
-
> TaskExecutionDto patchTaskExecution(patchTaskExecutionDto)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### Example
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
```typescript
|
|
75
|
-
import { } from '';
|
|
76
|
-
import * as fs from 'fs';
|
|
77
|
-
|
|
78
|
-
const configuration = .createConfiguration();
|
|
79
|
-
const apiInstance = new .TaskExecutionApi(configuration);
|
|
80
|
-
|
|
81
|
-
let body:.TaskExecutionApiPatchTaskExecutionRequest = {
|
|
82
|
-
// string
|
|
83
|
-
id: "id_example",
|
|
84
|
-
// PatchTaskExecutionDto
|
|
85
|
-
patchTaskExecutionDto: {
|
|
86
|
-
id: "id_example",
|
|
87
|
-
status: "FAILED",
|
|
88
|
-
output: {},
|
|
89
|
-
},
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
apiInstance.patchTaskExecution(body).then((data:any) => {
|
|
93
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
94
|
-
}).catch((error:any) => console.error(error));
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
### Parameters
|
|
99
|
-
|
|
100
|
-
Name | Type | Description | Notes
|
|
101
|
-
------------- | ------------- | ------------- | -------------
|
|
102
|
-
**patchTaskExecutionDto** | **PatchTaskExecutionDto**| |
|
|
103
|
-
**id** | [**string**] | | defaults to undefined
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
### Return type
|
|
107
|
-
|
|
108
|
-
**TaskExecutionDto**
|
|
109
|
-
|
|
110
|
-
### Authorization
|
|
111
|
-
|
|
112
|
-
[ApiKeyAuthQuery](README.md#ApiKeyAuthQuery), [ApiKeyAuthHeader](README.md#ApiKeyAuthHeader)
|
|
113
|
-
|
|
114
|
-
### HTTP request headers
|
|
115
|
-
|
|
116
|
-
- **Content-Type**: application/json
|
|
117
|
-
- **Accept**: application/json
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
### HTTP response details
|
|
121
|
-
| Status code | Description | Response headers |
|
|
122
|
-
|-------------|-------------|------------------|
|
|
123
|
-
**200** | Task execution updated successfully | - |
|
|
124
|
-
**400** | Bad Request - Malformed syntax | - |
|
|
125
|
-
**401** | Unauthorized | - |
|
|
126
|
-
**404** | Not Found | - |
|
|
127
|
-
|
|
128
|
-
[[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)
|
|
129
|
-
|
|
130
|
-
|