@product-live/api-sdk 2.23.0 → 2.38.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.
Files changed (255) hide show
  1. package/package.json +4 -39
  2. package/.openapi-generator/FILES +0 -74
  3. package/.openapi-generator/VERSION +0 -1
  4. package/.openapi-generator-ignore +0 -23
  5. package/DataFactoryFileApi.md +0 -182
  6. package/DefaultApi.md +0 -105
  7. package/ItemApi.md +0 -125
  8. package/JobApi.md +0 -333
  9. package/JobExecutionApi.md +0 -185
  10. package/README.md +0 -80
  11. package/TaskApi.md +0 -375
  12. package/TaskExecutionApi.md +0 -130
  13. package/VariableApi.md +0 -315
  14. package/apis/DataFactoryFileApi.ts +0 -307
  15. package/apis/DefaultApi.ts +0 -117
  16. package/apis/ItemApi.ts +0 -197
  17. package/apis/JobApi.ts +0 -507
  18. package/apis/JobExecutionApi.ts +0 -289
  19. package/apis/TaskApi.ts +0 -558
  20. package/apis/TaskExecutionApi.ts +0 -212
  21. package/apis/VariableApi.ts +0 -495
  22. package/apis/baseapi.ts +0 -37
  23. package/apis/exception.ts +0 -15
  24. package/auth/auth.ts +0 -107
  25. package/configuration.ts +0 -82
  26. package/dist/apis/DataFactoryFileApi.d.ts +0 -15
  27. package/dist/apis/DataFactoryFileApi.js +0 -359
  28. package/dist/apis/DataFactoryFileApi.js.map +0 -1
  29. package/dist/apis/DefaultApi.d.ts +0 -11
  30. package/dist/apis/DefaultApi.js +0 -172
  31. package/dist/apis/DefaultApi.js.map +0 -1
  32. package/dist/apis/ItemApi.d.ts +0 -13
  33. package/dist/apis/ItemApi.js +0 -249
  34. package/dist/apis/ItemApi.js.map +0 -1
  35. package/dist/apis/JobApi.d.ts +0 -21
  36. package/dist/apis/JobApi.js +0 -547
  37. package/dist/apis/JobApi.js.map +0 -1
  38. package/dist/apis/JobExecutionApi.d.ts +0 -16
  39. package/dist/apis/JobExecutionApi.js +0 -339
  40. package/dist/apis/JobExecutionApi.js.map +0 -1
  41. package/dist/apis/TaskApi.d.ts +0 -24
  42. package/dist/apis/TaskApi.js +0 -609
  43. package/dist/apis/TaskApi.js.map +0 -1
  44. package/dist/apis/TaskExecutionApi.d.ts +0 -13
  45. package/dist/apis/TaskExecutionApi.js +0 -259
  46. package/dist/apis/TaskExecutionApi.js.map +0 -1
  47. package/dist/apis/VariableApi.d.ts +0 -22
  48. package/dist/apis/VariableApi.js +0 -529
  49. package/dist/apis/VariableApi.js.map +0 -1
  50. package/dist/apis/baseapi.d.ts +0 -18
  51. package/dist/apis/baseapi.js +0 -46
  52. package/dist/apis/baseapi.js.map +0 -1
  53. package/dist/apis/exception.d.ts +0 -10
  54. package/dist/apis/exception.js +0 -32
  55. package/dist/apis/exception.js.map +0 -1
  56. package/dist/auth/auth.d.ts +0 -42
  57. package/dist/auth/auth.js +0 -45
  58. package/dist/auth/auth.js.map +0 -1
  59. package/dist/configuration.d.ts +0 -18
  60. package/dist/configuration.js +0 -22
  61. package/dist/configuration.js.map +0 -1
  62. package/dist/http/http.d.ts +0 -82
  63. package/dist/http/http.js +0 -229
  64. package/dist/http/http.js.map +0 -1
  65. package/dist/http/isomorphic-fetch.d.ts +0 -5
  66. package/dist/http/isomorphic-fetch.js +0 -34
  67. package/dist/http/isomorphic-fetch.js.map +0 -1
  68. package/dist/index.d.ts +0 -10
  69. package/dist/index.js +0 -36
  70. package/dist/index.js.map +0 -1
  71. package/dist/middleware.d.ts +0 -16
  72. package/dist/middleware.js +0 -18
  73. package/dist/middleware.js.map +0 -1
  74. package/dist/models/CreateJobDto.d.ts +0 -30
  75. package/dist/models/CreateJobDto.js +0 -82
  76. package/dist/models/CreateJobDto.js.map +0 -1
  77. package/dist/models/CreateJobExecutionDto.d.ts +0 -21
  78. package/dist/models/CreateJobExecutionDto.js +0 -34
  79. package/dist/models/CreateJobExecutionDto.js.map +0 -1
  80. package/dist/models/CreateTaskDto.d.ts +0 -21
  81. package/dist/models/CreateTaskDto.js +0 -46
  82. package/dist/models/CreateTaskDto.js.map +0 -1
  83. package/dist/models/CreateVariableDto.d.ts +0 -22
  84. package/dist/models/CreateVariableDto.js +0 -46
  85. package/dist/models/CreateVariableDto.js.map +0 -1
  86. package/dist/models/FileDto.d.ts +0 -23
  87. package/dist/models/FileDto.js +0 -52
  88. package/dist/models/FileDto.js.map +0 -1
  89. package/dist/models/FindVariablesRequest.d.ts +0 -23
  90. package/dist/models/FindVariablesRequest.js +0 -46
  91. package/dist/models/FindVariablesRequest.js.map +0 -1
  92. package/dist/models/GetFiles200Response.d.ts +0 -21
  93. package/dist/models/GetFiles200Response.js +0 -34
  94. package/dist/models/GetFiles200Response.js.map +0 -1
  95. package/dist/models/GetItems200Response.d.ts +0 -21
  96. package/dist/models/GetItems200Response.js +0 -34
  97. package/dist/models/GetItems200Response.js.map +0 -1
  98. package/dist/models/GetJobExecutionById400Response.d.ts +0 -17
  99. package/dist/models/GetJobExecutionById400Response.js +0 -22
  100. package/dist/models/GetJobExecutionById400Response.js.map +0 -1
  101. package/dist/models/GetJobExecutions200Response.d.ts +0 -21
  102. package/dist/models/GetJobExecutions200Response.js +0 -34
  103. package/dist/models/GetJobExecutions200Response.js.map +0 -1
  104. package/dist/models/GetJobs200Response.d.ts +0 -21
  105. package/dist/models/GetJobs200Response.js +0 -34
  106. package/dist/models/GetJobs200Response.js.map +0 -1
  107. package/dist/models/GetTasks200Response.d.ts +0 -21
  108. package/dist/models/GetTasks200Response.js +0 -34
  109. package/dist/models/GetTasks200Response.js.map +0 -1
  110. package/dist/models/GetVariables200Response.d.ts +0 -21
  111. package/dist/models/GetVariables200Response.js +0 -34
  112. package/dist/models/GetVariables200Response.js.map +0 -1
  113. package/dist/models/HighOrderQuery.d.ts +0 -19
  114. package/dist/models/HighOrderQuery.js +0 -28
  115. package/dist/models/HighOrderQuery.js.map +0 -1
  116. package/dist/models/ItemDto.d.ts +0 -28
  117. package/dist/models/ItemDto.js +0 -64
  118. package/dist/models/ItemDto.js.map +0 -1
  119. package/dist/models/ItemFieldDTO.d.ts +0 -19
  120. package/dist/models/ItemFieldDTO.js +0 -34
  121. package/dist/models/ItemFieldDTO.js.map +0 -1
  122. package/dist/models/ItemFieldFile.d.ts +0 -18
  123. package/dist/models/ItemFieldFile.js +0 -22
  124. package/dist/models/ItemFieldFile.js.map +0 -1
  125. package/dist/models/ItemFieldFileData.d.ts +0 -18
  126. package/dist/models/ItemFieldFileData.js +0 -28
  127. package/dist/models/ItemFieldFileData.js.map +0 -1
  128. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.d.ts +0 -18
  129. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js +0 -22
  130. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js.map +0 -1
  131. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.d.ts +0 -19
  132. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js +0 -34
  133. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js.map +0 -1
  134. package/dist/models/ItemFieldSimpleNumber.d.ts +0 -18
  135. package/dist/models/ItemFieldSimpleNumber.js +0 -28
  136. package/dist/models/ItemFieldSimpleNumber.js.map +0 -1
  137. package/dist/models/ItemFieldSimpleString.d.ts +0 -17
  138. package/dist/models/ItemFieldSimpleString.js +0 -22
  139. package/dist/models/ItemFieldSimpleString.js.map +0 -1
  140. package/dist/models/ItemFieldSimpleStringArray.d.ts +0 -17
  141. package/dist/models/ItemFieldSimpleStringArray.js +0 -22
  142. package/dist/models/ItemFieldSimpleStringArray.js.map +0 -1
  143. package/dist/models/ItemMetadataDTO.d.ts +0 -23
  144. package/dist/models/ItemMetadataDTO.js +0 -58
  145. package/dist/models/ItemMetadataDTO.js.map +0 -1
  146. package/dist/models/JobDto.d.ts +0 -35
  147. package/dist/models/JobDto.js +0 -106
  148. package/dist/models/JobDto.js.map +0 -1
  149. package/dist/models/JobExecutionDto.d.ts +0 -33
  150. package/dist/models/JobExecutionDto.js +0 -88
  151. package/dist/models/JobExecutionDto.js.map +0 -1
  152. package/dist/models/LowOrderQuery.d.ts +0 -22
  153. package/dist/models/LowOrderQuery.js +0 -40
  154. package/dist/models/LowOrderQuery.js.map +0 -1
  155. package/dist/models/LowOrderQueryValue.d.ts +0 -16
  156. package/dist/models/LowOrderQueryValue.js +0 -15
  157. package/dist/models/LowOrderQueryValue.js.map +0 -1
  158. package/dist/models/ObjectSerializer.d.ts +0 -45
  159. package/dist/models/ObjectSerializer.js +0 -347
  160. package/dist/models/ObjectSerializer.js.map +0 -1
  161. package/dist/models/PatchTaskExecutionDto.d.ts +0 -22
  162. package/dist/models/PatchTaskExecutionDto.js +0 -34
  163. package/dist/models/PatchTaskExecutionDto.js.map +0 -1
  164. package/dist/models/Query1.d.ts +0 -23
  165. package/dist/models/Query1.js +0 -46
  166. package/dist/models/Query1.js.map +0 -1
  167. package/dist/models/TaskDto.d.ts +0 -26
  168. package/dist/models/TaskDto.js +0 -70
  169. package/dist/models/TaskDto.js.map +0 -1
  170. package/dist/models/TaskExecutionDto.d.ts +0 -30
  171. package/dist/models/TaskExecutionDto.js +0 -64
  172. package/dist/models/TaskExecutionDto.js.map +0 -1
  173. package/dist/models/UpdateJobDto.d.ts +0 -31
  174. package/dist/models/UpdateJobDto.js +0 -88
  175. package/dist/models/UpdateJobDto.js.map +0 -1
  176. package/dist/models/UpdateTaskDto.d.ts +0 -22
  177. package/dist/models/UpdateTaskDto.js +0 -52
  178. package/dist/models/UpdateTaskDto.js.map +0 -1
  179. package/dist/models/UpdateVariableDto.d.ts +0 -23
  180. package/dist/models/UpdateVariableDto.js +0 -52
  181. package/dist/models/UpdateVariableDto.js.map +0 -1
  182. package/dist/models/VariableDto.d.ts +0 -27
  183. package/dist/models/VariableDto.js +0 -70
  184. package/dist/models/VariableDto.js.map +0 -1
  185. package/dist/models/all.d.ts +0 -36
  186. package/dist/models/all.js +0 -53
  187. package/dist/models/all.js.map +0 -1
  188. package/dist/rxjsStub.d.ts +0 -10
  189. package/dist/rxjsStub.js +0 -33
  190. package/dist/rxjsStub.js.map +0 -1
  191. package/dist/servers.d.ts +0 -17
  192. package/dist/servers.js +0 -32
  193. package/dist/servers.js.map +0 -1
  194. package/dist/types/ObjectParamAPI.d.ts +0 -187
  195. package/dist/types/ObjectParamAPI.js +0 -160
  196. package/dist/types/ObjectParamAPI.js.map +0 -1
  197. package/dist/types/ObservableAPI.d.ts +0 -109
  198. package/dist/types/ObservableAPI.js +0 -758
  199. package/dist/types/ObservableAPI.js.map +0 -1
  200. package/dist/types/PromiseAPI.d.ts +0 -92
  201. package/dist/types/PromiseAPI.js +0 -180
  202. package/dist/types/PromiseAPI.js.map +0 -1
  203. package/dist/util.d.ts +0 -2
  204. package/dist/util.js +0 -29
  205. package/dist/util.js.map +0 -1
  206. package/git_push.sh +0 -51
  207. package/http/http.ts +0 -229
  208. package/http/isomorphic-fetch.ts +0 -32
  209. package/index.ts +0 -12
  210. package/middleware.ts +0 -66
  211. package/models/CreateJobDto.ts +0 -108
  212. package/models/CreateJobExecutionDto.ts +0 -49
  213. package/models/CreateTaskDto.ts +0 -63
  214. package/models/CreateVariableDto.ts +0 -66
  215. package/models/FileDto.ts +0 -73
  216. package/models/FindVariablesRequest.ts +0 -68
  217. package/models/GetFiles200Response.ts +0 -53
  218. package/models/GetItems200Response.ts +0 -53
  219. package/models/GetJobExecutionById400Response.ts +0 -35
  220. package/models/GetJobExecutions200Response.ts +0 -53
  221. package/models/GetJobs200Response.ts +0 -53
  222. package/models/GetTasks200Response.ts +0 -53
  223. package/models/GetVariables200Response.ts +0 -53
  224. package/models/HighOrderQuery.ts +0 -45
  225. package/models/ItemDto.ts +0 -86
  226. package/models/ItemFieldDTO.ts +0 -49
  227. package/models/ItemFieldFile.ts +0 -36
  228. package/models/ItemFieldFileData.ts +0 -42
  229. package/models/ItemFieldMultipleSelectWithCommentAndQuantity.ts +0 -36
  230. package/models/ItemFieldMultipleSelectWithCommentAndQuantityData.ts +0 -49
  231. package/models/ItemFieldSimpleNumber.ts +0 -42
  232. package/models/ItemFieldSimpleString.ts +0 -35
  233. package/models/ItemFieldSimpleStringArray.ts +0 -35
  234. package/models/ItemMetadataDTO.ts +0 -77
  235. package/models/JobDto.ts +0 -137
  236. package/models/JobExecutionDto.ts +0 -115
  237. package/models/LowOrderQuery.ts +0 -60
  238. package/models/LowOrderQueryValue.ts +0 -29
  239. package/models/ObjectSerializer.ts +0 -358
  240. package/models/PatchTaskExecutionDto.ts +0 -52
  241. package/models/Query1.ts +0 -69
  242. package/models/TaskDto.ts +0 -94
  243. package/models/TaskExecutionDto.ts +0 -88
  244. package/models/UpdateJobDto.ts +0 -115
  245. package/models/UpdateTaskDto.ts +0 -70
  246. package/models/UpdateVariableDto.ts +0 -73
  247. package/models/VariableDto.ts +0 -95
  248. package/models/all.ts +0 -36
  249. package/rxjsStub.ts +0 -27
  250. package/servers.ts +0 -55
  251. package/tsconfig.json +0 -28
  252. package/types/ObjectParamAPI.ts +0 -675
  253. package/types/ObservableAPI.ts +0 -837
  254. package/types/PromiseAPI.ts +0 -452
  255. 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
-
@@ -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
- ```