@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.
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
@@ -1,675 +0,0 @@
1
- import { ResponseContext, RequestContext, HttpFile } from '../http/http';
2
- import { Configuration} from '../configuration'
3
-
4
- import { CreateJobDto } from '../models/CreateJobDto';
5
- import { CreateJobExecutionDto } from '../models/CreateJobExecutionDto';
6
- import { CreateTaskDto } from '../models/CreateTaskDto';
7
- import { CreateVariableDto } from '../models/CreateVariableDto';
8
- import { FileDto } from '../models/FileDto';
9
- import { FindVariablesRequest } from '../models/FindVariablesRequest';
10
- import { GetFiles200Response } from '../models/GetFiles200Response';
11
- import { GetItems200Response } from '../models/GetItems200Response';
12
- import { GetJobExecutionById400Response } from '../models/GetJobExecutionById400Response';
13
- import { GetJobExecutions200Response } from '../models/GetJobExecutions200Response';
14
- import { GetJobs200Response } from '../models/GetJobs200Response';
15
- import { GetTasks200Response } from '../models/GetTasks200Response';
16
- import { GetVariables200Response } from '../models/GetVariables200Response';
17
- import { HighOrderQuery } from '../models/HighOrderQuery';
18
- import { ItemDto } from '../models/ItemDto';
19
- import { ItemFieldDTO } from '../models/ItemFieldDTO';
20
- import { ItemFieldFile } from '../models/ItemFieldFile';
21
- import { ItemFieldFileData } from '../models/ItemFieldFileData';
22
- import { ItemFieldMultipleSelectWithCommentAndQuantity } from '../models/ItemFieldMultipleSelectWithCommentAndQuantity';
23
- import { ItemFieldMultipleSelectWithCommentAndQuantityData } from '../models/ItemFieldMultipleSelectWithCommentAndQuantityData';
24
- import { ItemFieldSimpleNumber } from '../models/ItemFieldSimpleNumber';
25
- import { ItemFieldSimpleString } from '../models/ItemFieldSimpleString';
26
- import { ItemFieldSimpleStringArray } from '../models/ItemFieldSimpleStringArray';
27
- import { ItemMetadataDTO } from '../models/ItemMetadataDTO';
28
- import { JobDto } from '../models/JobDto';
29
- import { JobExecutionDto } from '../models/JobExecutionDto';
30
- import { LowOrderQuery } from '../models/LowOrderQuery';
31
- import { LowOrderQueryValue } from '../models/LowOrderQueryValue';
32
- import { PatchTaskExecutionDto } from '../models/PatchTaskExecutionDto';
33
- import { Query1 } from '../models/Query1';
34
- import { TaskDto } from '../models/TaskDto';
35
- import { TaskExecutionDto } from '../models/TaskExecutionDto';
36
- import { UpdateJobDto } from '../models/UpdateJobDto';
37
- import { UpdateTaskDto } from '../models/UpdateTaskDto';
38
- import { UpdateVariableDto } from '../models/UpdateVariableDto';
39
- import { VariableDto } from '../models/VariableDto';
40
-
41
- import { ObservableDataFactoryFileApi } from "./ObservableAPI";
42
- import { DataFactoryFileApiRequestFactory, DataFactoryFileApiResponseProcessor} from "../apis/DataFactoryFileApi";
43
-
44
- export interface DataFactoryFileApiGetFileByIdRequest {
45
- /**
46
- *
47
- * @type string
48
- * @memberof DataFactoryFileApigetFileById
49
- */
50
- id: string
51
- }
52
-
53
- export interface DataFactoryFileApiGetFilesRequest {
54
- /**
55
- *
56
- * @type number
57
- * @memberof DataFactoryFileApigetFiles
58
- */
59
- size?: number
60
- /**
61
- *
62
- * @type number
63
- * @memberof DataFactoryFileApigetFiles
64
- */
65
- page?: number
66
- }
67
-
68
- export interface DataFactoryFileApiUploadFileRequest {
69
- /**
70
- *
71
- * @type HttpFile
72
- * @memberof DataFactoryFileApiuploadFile
73
- */
74
- file: HttpFile
75
- }
76
-
77
- export class ObjectDataFactoryFileApi {
78
- private api: ObservableDataFactoryFileApi
79
-
80
- public constructor(configuration: Configuration, requestFactory?: DataFactoryFileApiRequestFactory, responseProcessor?: DataFactoryFileApiResponseProcessor) {
81
- this.api = new ObservableDataFactoryFileApi(configuration, requestFactory, responseProcessor);
82
- }
83
-
84
- /**
85
- * (Experimental) - Get a Data Factory File by id
86
- * @param param the request object
87
- */
88
- public getFileById(param: DataFactoryFileApiGetFileByIdRequest, options?: Configuration): Promise<FileDto> {
89
- return this.api.getFileById(param.id, options).toPromise();
90
- }
91
-
92
- /**
93
- * (Experimental) - Get a list of Data Factory File
94
- * @param param the request object
95
- */
96
- public getFiles(param: DataFactoryFileApiGetFilesRequest = {}, options?: Configuration): Promise<GetFiles200Response> {
97
- return this.api.getFiles(param.size, param.page, options).toPromise();
98
- }
99
-
100
- /**
101
- * Post a file so it can be consume by a Data Factory job
102
- * @param param the request object
103
- */
104
- public uploadFile(param: DataFactoryFileApiUploadFileRequest, options?: Configuration): Promise<FileDto> {
105
- return this.api.uploadFile(param.file, options).toPromise();
106
- }
107
-
108
- }
109
-
110
- import { ObservableDefaultApi } from "./ObservableAPI";
111
- import { DefaultApiRequestFactory, DefaultApiResponseProcessor} from "../apis/DefaultApi";
112
-
113
- export interface DefaultApiLivenessRequest {
114
- }
115
-
116
- export interface DefaultApiReadinessRequest {
117
- }
118
-
119
- export class ObjectDefaultApi {
120
- private api: ObservableDefaultApi
121
-
122
- public constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor) {
123
- this.api = new ObservableDefaultApi(configuration, requestFactory, responseProcessor);
124
- }
125
-
126
- /**
127
- * @param param the request object
128
- */
129
- public liveness(param: DefaultApiLivenessRequest = {}, options?: Configuration): Promise<void> {
130
- return this.api.liveness( options).toPromise();
131
- }
132
-
133
- /**
134
- * @param param the request object
135
- */
136
- public readiness(param: DefaultApiReadinessRequest = {}, options?: Configuration): Promise<void> {
137
- return this.api.readiness( options).toPromise();
138
- }
139
-
140
- }
141
-
142
- import { ObservableItemApi } from "./ObservableAPI";
143
- import { ItemApiRequestFactory, ItemApiResponseProcessor} from "../apis/ItemApi";
144
-
145
- export interface ItemApiGetItemByIdRequest {
146
- /**
147
- *
148
- * @type string
149
- * @memberof ItemApigetItemById
150
- */
151
- id: string
152
- }
153
-
154
- export interface ItemApiGetItemsRequest {
155
- /**
156
- *
157
- * @type number
158
- * @memberof ItemApigetItems
159
- */
160
- size?: number
161
- /**
162
- *
163
- * @type number
164
- * @memberof ItemApigetItems
165
- */
166
- page?: number
167
- }
168
-
169
- export class ObjectItemApi {
170
- private api: ObservableItemApi
171
-
172
- public constructor(configuration: Configuration, requestFactory?: ItemApiRequestFactory, responseProcessor?: ItemApiResponseProcessor) {
173
- this.api = new ObservableItemApi(configuration, requestFactory, responseProcessor);
174
- }
175
-
176
- /**
177
- * (Experimental) - Get a Item by id
178
- * @param param the request object
179
- */
180
- public getItemById(param: ItemApiGetItemByIdRequest, options?: Configuration): Promise<ItemDto> {
181
- return this.api.getItemById(param.id, options).toPromise();
182
- }
183
-
184
- /**
185
- * (Experimental) - Get a list of Item
186
- * @param param the request object
187
- */
188
- public getItems(param: ItemApiGetItemsRequest = {}, options?: Configuration): Promise<GetItems200Response> {
189
- return this.api.getItems(param.size, param.page, options).toPromise();
190
- }
191
-
192
- }
193
-
194
- import { ObservableJobApi } from "./ObservableAPI";
195
- import { JobApiRequestFactory, JobApiResponseProcessor} from "../apis/JobApi";
196
-
197
- export interface JobApiCreateJobRequest {
198
- /**
199
- *
200
- * @type CreateJobDto
201
- * @memberof JobApicreateJob
202
- */
203
- createJobDto: CreateJobDto
204
- }
205
-
206
- export interface JobApiGetJobByIdRequest {
207
- /**
208
- *
209
- * @type string
210
- * @memberof JobApigetJobById
211
- */
212
- id: string
213
- }
214
-
215
- export interface JobApiGetJobsRequest {
216
- /**
217
- *
218
- * @type number
219
- * @memberof JobApigetJobs
220
- */
221
- size?: number
222
- /**
223
- *
224
- * @type number
225
- * @memberof JobApigetJobs
226
- */
227
- page?: number
228
- }
229
-
230
- export interface JobApiUpdateJobRequest {
231
- /**
232
- *
233
- * @type string
234
- * @memberof JobApiupdateJob
235
- */
236
- id: string
237
- /**
238
- *
239
- * @type UpdateJobDto
240
- * @memberof JobApiupdateJob
241
- */
242
- updateJobDto: UpdateJobDto
243
- }
244
-
245
- export interface JobApiUpdateJobZipRequest {
246
- /**
247
- *
248
- * @type string
249
- * @memberof JobApiupdateJobZip
250
- */
251
- id: string
252
- /**
253
- *
254
- * @type HttpFile
255
- * @memberof JobApiupdateJobZip
256
- */
257
- file: HttpFile
258
- }
259
-
260
- export class ObjectJobApi {
261
- private api: ObservableJobApi
262
-
263
- public constructor(configuration: Configuration, requestFactory?: JobApiRequestFactory, responseProcessor?: JobApiResponseProcessor) {
264
- this.api = new ObservableJobApi(configuration, requestFactory, responseProcessor);
265
- }
266
-
267
- /**
268
- * (Experimental) - Create a Job
269
- * @param param the request object
270
- */
271
- public createJob(param: JobApiCreateJobRequest, options?: Configuration): Promise<JobDto> {
272
- return this.api.createJob(param.createJobDto, options).toPromise();
273
- }
274
-
275
- /**
276
- * (Experimental) - Get a Job by id
277
- * @param param the request object
278
- */
279
- public getJobById(param: JobApiGetJobByIdRequest, options?: Configuration): Promise<JobDto> {
280
- return this.api.getJobById(param.id, options).toPromise();
281
- }
282
-
283
- /**
284
- * (Experimental) - Get a list of Job
285
- * @param param the request object
286
- */
287
- public getJobs(param: JobApiGetJobsRequest = {}, options?: Configuration): Promise<GetJobs200Response> {
288
- return this.api.getJobs(param.size, param.page, options).toPromise();
289
- }
290
-
291
- /**
292
- * (Experimental) - Update a Job
293
- * @param param the request object
294
- */
295
- public updateJob(param: JobApiUpdateJobRequest, options?: Configuration): Promise<JobDto> {
296
- return this.api.updateJob(param.id, param.updateJobDto, options).toPromise();
297
- }
298
-
299
- /**
300
- * (Experimental) - Upload a zip to update a job
301
- * @param param the request object
302
- */
303
- public updateJobZip(param: JobApiUpdateJobZipRequest, options?: Configuration): Promise<JobDto> {
304
- return this.api.updateJobZip(param.id, param.file, options).toPromise();
305
- }
306
-
307
- }
308
-
309
- import { ObservableJobExecutionApi } from "./ObservableAPI";
310
- import { JobExecutionApiRequestFactory, JobExecutionApiResponseProcessor} from "../apis/JobExecutionApi";
311
-
312
- export interface JobExecutionApiCreateJobExecutionRequest {
313
- /**
314
- *
315
- * @type CreateJobExecutionDto
316
- * @memberof JobExecutionApicreateJobExecution
317
- */
318
- createJobExecutionDto: CreateJobExecutionDto
319
- }
320
-
321
- export interface JobExecutionApiGetJobExecutionByIdRequest {
322
- /**
323
- *
324
- * @type string
325
- * @memberof JobExecutionApigetJobExecutionById
326
- */
327
- id: string
328
- }
329
-
330
- export interface JobExecutionApiGetJobExecutionsRequest {
331
- /**
332
- *
333
- * @type number
334
- * @memberof JobExecutionApigetJobExecutions
335
- */
336
- size?: number
337
- /**
338
- *
339
- * @type number
340
- * @memberof JobExecutionApigetJobExecutions
341
- */
342
- page?: number
343
- }
344
-
345
- export class ObjectJobExecutionApi {
346
- private api: ObservableJobExecutionApi
347
-
348
- public constructor(configuration: Configuration, requestFactory?: JobExecutionApiRequestFactory, responseProcessor?: JobExecutionApiResponseProcessor) {
349
- this.api = new ObservableJobExecutionApi(configuration, requestFactory, responseProcessor);
350
- }
351
-
352
- /**
353
- * (Experimental) - Create a Job execution
354
- * @param param the request object
355
- */
356
- public createJobExecution(param: JobExecutionApiCreateJobExecutionRequest, options?: Configuration): Promise<JobExecutionDto> {
357
- return this.api.createJobExecution(param.createJobExecutionDto, options).toPromise();
358
- }
359
-
360
- /**
361
- * (Experimental) - Get a Job execution by id
362
- * @param param the request object
363
- */
364
- public getJobExecutionById(param: JobExecutionApiGetJobExecutionByIdRequest, options?: Configuration): Promise<JobExecutionDto> {
365
- return this.api.getJobExecutionById(param.id, options).toPromise();
366
- }
367
-
368
- /**
369
- * (Experimental) - Get a list of Job execution
370
- * @param param the request object
371
- */
372
- public getJobExecutions(param: JobExecutionApiGetJobExecutionsRequest = {}, options?: Configuration): Promise<GetJobExecutions200Response> {
373
- return this.api.getJobExecutions(param.size, param.page, options).toPromise();
374
- }
375
-
376
- }
377
-
378
- import { ObservableTaskApi } from "./ObservableAPI";
379
- import { TaskApiRequestFactory, TaskApiResponseProcessor} from "../apis/TaskApi";
380
-
381
- export interface TaskApiCreateTaskRequest {
382
- /**
383
- *
384
- * @type CreateTaskDto
385
- * @memberof TaskApicreateTask
386
- */
387
- createTaskDto: CreateTaskDto
388
- }
389
-
390
- export interface TaskApiDeleteTaskRequest {
391
- /**
392
- *
393
- * @type string
394
- * @memberof TaskApideleteTask
395
- */
396
- id: string
397
- }
398
-
399
- export interface TaskApiGetTaskByIdRequest {
400
- /**
401
- *
402
- * @type string
403
- * @memberof TaskApigetTaskById
404
- */
405
- id: string
406
- }
407
-
408
- export interface TaskApiGetTasksRequest {
409
- /**
410
- *
411
- * @type number
412
- * @memberof TaskApigetTasks
413
- */
414
- size?: number
415
- /**
416
- *
417
- * @type number
418
- * @memberof TaskApigetTasks
419
- */
420
- page?: number
421
- }
422
-
423
- export interface TaskApiPollTaskExecutionRequest {
424
- /**
425
- *
426
- * @type string
427
- * @memberof TaskApipollTaskExecution
428
- */
429
- id: string
430
- }
431
-
432
- export interface TaskApiUpdateTaskRequest {
433
- /**
434
- *
435
- * @type string
436
- * @memberof TaskApiupdateTask
437
- */
438
- id: string
439
- /**
440
- *
441
- * @type UpdateTaskDto
442
- * @memberof TaskApiupdateTask
443
- */
444
- updateTaskDto: UpdateTaskDto
445
- }
446
-
447
- export class ObjectTaskApi {
448
- private api: ObservableTaskApi
449
-
450
- public constructor(configuration: Configuration, requestFactory?: TaskApiRequestFactory, responseProcessor?: TaskApiResponseProcessor) {
451
- this.api = new ObservableTaskApi(configuration, requestFactory, responseProcessor);
452
- }
453
-
454
- /**
455
- * (Experimental) - Create a Task
456
- * @param param the request object
457
- */
458
- public createTask(param: TaskApiCreateTaskRequest, options?: Configuration): Promise<TaskDto> {
459
- return this.api.createTask(param.createTaskDto, options).toPromise();
460
- }
461
-
462
- /**
463
- * (Experimental) - Delete a Task by id
464
- * @param param the request object
465
- */
466
- public deleteTask(param: TaskApiDeleteTaskRequest, options?: Configuration): Promise<TaskDto> {
467
- return this.api.deleteTask(param.id, options).toPromise();
468
- }
469
-
470
- /**
471
- * (Experimental) - Get a Task by id
472
- * @param param the request object
473
- */
474
- public getTaskById(param: TaskApiGetTaskByIdRequest, options?: Configuration): Promise<TaskDto> {
475
- return this.api.getTaskById(param.id, options).toPromise();
476
- }
477
-
478
- /**
479
- * (Experimental) - Get a list of Task
480
- * @param param the request object
481
- */
482
- public getTasks(param: TaskApiGetTasksRequest = {}, options?: Configuration): Promise<GetTasks200Response> {
483
- return this.api.getTasks(param.size, param.page, options).toPromise();
484
- }
485
-
486
- /**
487
- * (Experimental) - Poll a task if there is not task to poll, the API returns a `404 Not Found` error
488
- * @param param the request object
489
- */
490
- public pollTaskExecution(param: TaskApiPollTaskExecutionRequest, options?: Configuration): Promise<TaskExecutionDto> {
491
- return this.api.pollTaskExecution(param.id, options).toPromise();
492
- }
493
-
494
- /**
495
- * (Experimental) - Update a Task
496
- * @param param the request object
497
- */
498
- public updateTask(param: TaskApiUpdateTaskRequest, options?: Configuration): Promise<TaskDto> {
499
- return this.api.updateTask(param.id, param.updateTaskDto, options).toPromise();
500
- }
501
-
502
- }
503
-
504
- import { ObservableTaskExecutionApi } from "./ObservableAPI";
505
- import { TaskExecutionApiRequestFactory, TaskExecutionApiResponseProcessor} from "../apis/TaskExecutionApi";
506
-
507
- export interface TaskExecutionApiGetTaskExecutionByIdRequest {
508
- /**
509
- *
510
- * @type string
511
- * @memberof TaskExecutionApigetTaskExecutionById
512
- */
513
- id: string
514
- }
515
-
516
- export interface TaskExecutionApiPatchTaskExecutionRequest {
517
- /**
518
- *
519
- * @type string
520
- * @memberof TaskExecutionApipatchTaskExecution
521
- */
522
- id: string
523
- /**
524
- *
525
- * @type PatchTaskExecutionDto
526
- * @memberof TaskExecutionApipatchTaskExecution
527
- */
528
- patchTaskExecutionDto: PatchTaskExecutionDto
529
- }
530
-
531
- export class ObjectTaskExecutionApi {
532
- private api: ObservableTaskExecutionApi
533
-
534
- public constructor(configuration: Configuration, requestFactory?: TaskExecutionApiRequestFactory, responseProcessor?: TaskExecutionApiResponseProcessor) {
535
- this.api = new ObservableTaskExecutionApi(configuration, requestFactory, responseProcessor);
536
- }
537
-
538
- /**
539
- * (Experimental) - Get a Task execution by id
540
- * @param param the request object
541
- */
542
- public getTaskExecutionById(param: TaskExecutionApiGetTaskExecutionByIdRequest, options?: Configuration): Promise<TaskExecutionDto> {
543
- return this.api.getTaskExecutionById(param.id, options).toPromise();
544
- }
545
-
546
- /**
547
- * (Experimental) - Update running task instance
548
- * @param param the request object
549
- */
550
- public patchTaskExecution(param: TaskExecutionApiPatchTaskExecutionRequest, options?: Configuration): Promise<TaskExecutionDto> {
551
- return this.api.patchTaskExecution(param.id, param.patchTaskExecutionDto, options).toPromise();
552
- }
553
-
554
- }
555
-
556
- import { ObservableVariableApi } from "./ObservableAPI";
557
- import { VariableApiRequestFactory, VariableApiResponseProcessor} from "../apis/VariableApi";
558
-
559
- export interface VariableApiCreateVariableRequest {
560
- /**
561
- *
562
- * @type CreateVariableDto
563
- * @memberof VariableApicreateVariable
564
- */
565
- createVariableDto: CreateVariableDto
566
- }
567
-
568
- export interface VariableApiFindVariablesRequest {
569
- /**
570
- *
571
- * @type FindVariablesRequest
572
- * @memberof VariableApifindVariables
573
- */
574
- findVariablesRequest: FindVariablesRequest
575
- /**
576
- *
577
- * @type number
578
- * @memberof VariableApifindVariables
579
- */
580
- size?: number
581
- /**
582
- *
583
- * @type number
584
- * @memberof VariableApifindVariables
585
- */
586
- page?: number
587
- }
588
-
589
- export interface VariableApiGetVariableByIdRequest {
590
- /**
591
- *
592
- * @type string
593
- * @memberof VariableApigetVariableById
594
- */
595
- id: string
596
- }
597
-
598
- export interface VariableApiGetVariablesRequest {
599
- /**
600
- *
601
- * @type number
602
- * @memberof VariableApigetVariables
603
- */
604
- size?: number
605
- /**
606
- *
607
- * @type number
608
- * @memberof VariableApigetVariables
609
- */
610
- page?: number
611
- }
612
-
613
- export interface VariableApiUpdateVariableRequest {
614
- /**
615
- *
616
- * @type string
617
- * @memberof VariableApiupdateVariable
618
- */
619
- id: string
620
- /**
621
- *
622
- * @type UpdateVariableDto
623
- * @memberof VariableApiupdateVariable
624
- */
625
- updateVariableDto: UpdateVariableDto
626
- }
627
-
628
- export class ObjectVariableApi {
629
- private api: ObservableVariableApi
630
-
631
- public constructor(configuration: Configuration, requestFactory?: VariableApiRequestFactory, responseProcessor?: VariableApiResponseProcessor) {
632
- this.api = new ObservableVariableApi(configuration, requestFactory, responseProcessor);
633
- }
634
-
635
- /**
636
- * (Experimental) - Create a Variable
637
- * @param param the request object
638
- */
639
- public createVariable(param: VariableApiCreateVariableRequest, options?: Configuration): Promise<VariableDto> {
640
- return this.api.createVariable(param.createVariableDto, options).toPromise();
641
- }
642
-
643
- /**
644
- * (Experimental) - Find a list of Variable
645
- * @param param the request object
646
- */
647
- public findVariables(param: VariableApiFindVariablesRequest, options?: Configuration): Promise<GetVariables200Response> {
648
- return this.api.findVariables(param.findVariablesRequest, param.size, param.page, options).toPromise();
649
- }
650
-
651
- /**
652
- * (Experimental) - Get a Variable by id
653
- * @param param the request object
654
- */
655
- public getVariableById(param: VariableApiGetVariableByIdRequest, options?: Configuration): Promise<VariableDto> {
656
- return this.api.getVariableById(param.id, options).toPromise();
657
- }
658
-
659
- /**
660
- * (Experimental) - Get a list of Variable
661
- * @param param the request object
662
- */
663
- public getVariables(param: VariableApiGetVariablesRequest = {}, options?: Configuration): Promise<GetVariables200Response> {
664
- return this.api.getVariables(param.size, param.page, options).toPromise();
665
- }
666
-
667
- /**
668
- * (Experimental) - Update a Variable
669
- * @param param the request object
670
- */
671
- public updateVariable(param: VariableApiUpdateVariableRequest, options?: Configuration): Promise<VariableDto> {
672
- return this.api.updateVariable(param.id, param.updateVariableDto, options).toPromise();
673
- }
674
-
675
- }