@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
@@ -1,339 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
18
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
19
- return new (P || (P = Promise))(function (resolve, reject) {
20
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
21
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
22
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
23
- step((generator = generator.apply(thisArg, _arguments || [])).next());
24
- });
25
- };
26
- var __generator = (this && this.__generator) || function (thisArg, body) {
27
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
28
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
29
- function verb(n) { return function (v) { return step([n, v]); }; }
30
- function step(op) {
31
- if (f) throw new TypeError("Generator is already executing.");
32
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
33
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
- if (y = 0, t) op = [op[0] & 2, t.value];
35
- switch (op[0]) {
36
- case 0: case 1: t = op; break;
37
- case 4: _.label++; return { value: op[1], done: false };
38
- case 5: _.label++; y = op[1]; op = [0]; continue;
39
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
40
- default:
41
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
42
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
43
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
44
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
45
- if (t[2]) _.ops.pop();
46
- _.trys.pop(); continue;
47
- }
48
- op = body.call(thisArg, _);
49
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
50
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
51
- }
52
- };
53
- Object.defineProperty(exports, "__esModule", { value: true });
54
- exports.JobExecutionApiResponseProcessor = exports.JobExecutionApiRequestFactory = void 0;
55
- var baseapi_1 = require("./baseapi");
56
- var http_1 = require("../http/http");
57
- var ObjectSerializer_1 = require("../models/ObjectSerializer");
58
- var exception_1 = require("./exception");
59
- var util_1 = require("../util");
60
- var JobExecutionApiRequestFactory = (function (_super) {
61
- __extends(JobExecutionApiRequestFactory, _super);
62
- function JobExecutionApiRequestFactory() {
63
- return _super !== null && _super.apply(this, arguments) || this;
64
- }
65
- JobExecutionApiRequestFactory.prototype.createJobExecution = function (createJobExecutionDto, _options) {
66
- var _a, _b, _c;
67
- return __awaiter(this, void 0, void 0, function () {
68
- var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
69
- return __generator(this, function (_d) {
70
- switch (_d.label) {
71
- case 0:
72
- _config = _options || this.configuration;
73
- if (createJobExecutionDto === null || createJobExecutionDto === undefined) {
74
- throw new baseapi_1.RequiredError("JobExecutionApi", "createJobExecution", "createJobExecutionDto");
75
- }
76
- localVarPath = '/v1/data_factory/job_executions';
77
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
78
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
79
- contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
80
- "application/json"
81
- ]);
82
- requestContext.setHeaderParam("Content-Type", contentType);
83
- serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(createJobExecutionDto, "CreateJobExecutionDto", ""), contentType);
84
- requestContext.setBody(serializedBody);
85
- authMethod = _config.authMethods["ApiKeyAuthQuery"];
86
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
87
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
88
- case 1:
89
- _d.sent();
90
- _d.label = 2;
91
- case 2:
92
- authMethod = _config.authMethods["ApiKeyAuthHeader"];
93
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
94
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
95
- case 3:
96
- _d.sent();
97
- _d.label = 4;
98
- case 4:
99
- defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
100
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
101
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
102
- case 5:
103
- _d.sent();
104
- _d.label = 6;
105
- case 6: return [2, requestContext];
106
- }
107
- });
108
- });
109
- };
110
- JobExecutionApiRequestFactory.prototype.getJobExecutionById = function (id, _options) {
111
- var _a, _b, _c;
112
- return __awaiter(this, void 0, void 0, function () {
113
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
114
- return __generator(this, function (_d) {
115
- switch (_d.label) {
116
- case 0:
117
- _config = _options || this.configuration;
118
- if (id === null || id === undefined) {
119
- throw new baseapi_1.RequiredError("JobExecutionApi", "getJobExecutionById", "id");
120
- }
121
- localVarPath = '/v1/data_factory/job_executions/{id}'
122
- .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
123
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
124
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
125
- authMethod = _config.authMethods["ApiKeyAuthQuery"];
126
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
127
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
128
- case 1:
129
- _d.sent();
130
- _d.label = 2;
131
- case 2:
132
- authMethod = _config.authMethods["ApiKeyAuthHeader"];
133
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
134
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
135
- case 3:
136
- _d.sent();
137
- _d.label = 4;
138
- case 4:
139
- defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
140
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
141
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
142
- case 5:
143
- _d.sent();
144
- _d.label = 6;
145
- case 6: return [2, requestContext];
146
- }
147
- });
148
- });
149
- };
150
- JobExecutionApiRequestFactory.prototype.getJobExecutions = function (size, page, _options) {
151
- var _a, _b, _c;
152
- return __awaiter(this, void 0, void 0, function () {
153
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
154
- return __generator(this, function (_d) {
155
- switch (_d.label) {
156
- case 0:
157
- _config = _options || this.configuration;
158
- localVarPath = '/v1/data_factory/job_executions';
159
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
160
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
161
- if (size !== undefined) {
162
- requestContext.setQueryParam("size", ObjectSerializer_1.ObjectSerializer.serialize(size, "number", ""));
163
- }
164
- if (page !== undefined) {
165
- requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", ""));
166
- }
167
- authMethod = _config.authMethods["ApiKeyAuthQuery"];
168
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
169
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
170
- case 1:
171
- _d.sent();
172
- _d.label = 2;
173
- case 2:
174
- authMethod = _config.authMethods["ApiKeyAuthHeader"];
175
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
176
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
177
- case 3:
178
- _d.sent();
179
- _d.label = 4;
180
- case 4:
181
- defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
182
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
183
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
184
- case 5:
185
- _d.sent();
186
- _d.label = 6;
187
- case 6: return [2, requestContext];
188
- }
189
- });
190
- });
191
- };
192
- return JobExecutionApiRequestFactory;
193
- }(baseapi_1.BaseAPIRequestFactory));
194
- exports.JobExecutionApiRequestFactory = JobExecutionApiRequestFactory;
195
- var JobExecutionApiResponseProcessor = (function () {
196
- function JobExecutionApiResponseProcessor() {
197
- }
198
- JobExecutionApiResponseProcessor.prototype.createJobExecution = function (response) {
199
- return __awaiter(this, void 0, void 0, function () {
200
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
201
- return __generator(this, function (_q) {
202
- switch (_q.label) {
203
- case 0:
204
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
205
- if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
206
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
207
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
208
- return [4, response.body.text()];
209
- case 1:
210
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
211
- "JobExecutionDto", ""]);
212
- return [2, body];
213
- case 2:
214
- if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
215
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
216
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
217
- return [4, response.body.text()];
218
- case 3:
219
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
220
- "GetJobExecutionById400Response", ""]);
221
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
222
- case 4:
223
- if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
224
- throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
225
- }
226
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
227
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
228
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
229
- return [4, response.body.text()];
230
- case 5:
231
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
232
- "JobExecutionDto", ""]);
233
- return [2, body];
234
- case 6:
235
- _o = exception_1.ApiException.bind;
236
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
237
- return [4, response.getBodyAsAny()];
238
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
239
- }
240
- });
241
- });
242
- };
243
- JobExecutionApiResponseProcessor.prototype.getJobExecutionById = function (response) {
244
- return __awaiter(this, void 0, void 0, function () {
245
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
246
- return __generator(this, function (_q) {
247
- switch (_q.label) {
248
- case 0:
249
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
250
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
251
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
252
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
253
- return [4, response.body.text()];
254
- case 1:
255
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
256
- "JobExecutionDto", ""]);
257
- return [2, body];
258
- case 2:
259
- if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
260
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
261
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
262
- return [4, response.body.text()];
263
- case 3:
264
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
265
- "GetJobExecutionById400Response", ""]);
266
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
267
- case 4:
268
- if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
269
- throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
270
- }
271
- if ((0, util_1.isCodeInRange)("404", response.httpStatusCode)) {
272
- throw new exception_1.ApiException(response.httpStatusCode, "Not found", undefined, response.headers);
273
- }
274
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
275
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
276
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
277
- return [4, response.body.text()];
278
- case 5:
279
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
280
- "JobExecutionDto", ""]);
281
- return [2, body];
282
- case 6:
283
- _o = exception_1.ApiException.bind;
284
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
285
- return [4, response.getBodyAsAny()];
286
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
287
- }
288
- });
289
- });
290
- };
291
- JobExecutionApiResponseProcessor.prototype.getJobExecutions = function (response) {
292
- return __awaiter(this, void 0, void 0, function () {
293
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
294
- return __generator(this, function (_q) {
295
- switch (_q.label) {
296
- case 0:
297
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
298
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
299
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
300
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
301
- return [4, response.body.text()];
302
- case 1:
303
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
304
- "GetJobExecutions200Response", ""]);
305
- return [2, body];
306
- case 2:
307
- if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
308
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
309
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
310
- return [4, response.body.text()];
311
- case 3:
312
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
313
- "GetJobExecutionById400Response", ""]);
314
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
315
- case 4:
316
- if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
317
- throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
318
- }
319
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
320
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
321
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
322
- return [4, response.body.text()];
323
- case 5:
324
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
325
- "GetJobExecutions200Response", ""]);
326
- return [2, body];
327
- case 6:
328
- _o = exception_1.ApiException.bind;
329
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
330
- return [4, response.getBodyAsAny()];
331
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
332
- }
333
- });
334
- });
335
- };
336
- return JobExecutionApiResponseProcessor;
337
- }());
338
- exports.JobExecutionApiResponseProcessor = JobExecutionApiResponseProcessor;
339
- //# sourceMappingURL=JobExecutionApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JobExecutionApi.js","sourceRoot":"","sources":["../../apis/JobExecutionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qCAAmF;AAEnF,qCAAmF;AAGnF,+DAA4D;AAC5D,yCAAyC;AACzC,gCAAsD;AAYtD;IAAmD,iDAAqB;IAAxE;;IAgJA,CAAC;IA1IgB,0DAAkB,GAA/B,UAAgC,qBAA4C,EAAE,QAAwB;;;;;;;wBAC9F,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;wBAG7C,IAAI,qBAAqB,KAAK,IAAI,IAAI,qBAAqB,KAAK,SAAS,EAAE;4BACvE,MAAM,IAAI,uBAAa,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,uBAAuB,CAAC,CAAC;yBAC7F;wBAIK,YAAY,GAAG,iCAAiC,CAAC;wBAGjD,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,YAAY,EAAE,iBAAU,CAAC,IAAI,CAAC,CAAC;wBAC5F,cAAc,CAAC,cAAc,CAAC,QAAQ,EAAE,6BAA6B,CAAC,CAAA;wBAIhE,WAAW,GAAG,mCAAgB,CAAC,qBAAqB,CAAC;4BACvD,kBAAkB;yBACrB,CAAC,CAAC;wBACH,cAAc,CAAC,cAAc,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;wBACrD,cAAc,GAAG,mCAAgB,CAAC,SAAS,CAC7C,mCAAgB,CAAC,SAAS,CAAC,qBAAqB,EAAE,uBAAuB,EAAE,EAAE,CAAC,EAC9E,WAAW,CACd,CAAC;wBACF,cAAc,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;wBAIvC,UAAU,GAAG,OAAO,CAAC,WAAW,CAAC,iBAAi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C;4BAC/D,gCAAgC,EAAE,EAAE,EACL;wBACnC,MAAM,IAAI,wBAAY,CAAiC,QAAQ,CAAC,cAAc,EAAE,gCAAgC,EAAE,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;;wBAE9I,IAAI,IAAA,oBAAa,EAAC,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC,EAAE;4BAC/C,MAAM,IAAI,wBAAY,CAAY,QAAQ,CAAC,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;yBAC3G;6BAGG,CAAA,QAAQ,CAAC,cAAc,IAAI,GAAG,IAAI,QAAQ,CAAC,cAAc,IAAI,GAAG,CAAA,EAAhE,cAAgE;wBACtB,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,WAAW,CAAA;wBAClE,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,KAAK,CAAA;wBAAC,WAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAA;;wBAD/C,IAAI,GAAgC,cACtC,cAAuB,SAA0B,EAAE,WAAW,EAAC;4BAC/D,6BAA6B,EAAE,EAAE,EACL;wBAChC,WAAO,IAAI,EAAC;;6BAGN,wBAAY;sCAA8B,QAAQ,CAAC,cAAc,EAAE,0BAA0B;wBAAE,WAAM,QAAQ,CAAC,YAAY,EAAE,EAAA;4BAAtI,MAAM,cAAI,wBAAY,aAAmF,SAA6B,EAAE,QAAQ,CAAC,OAAO,MAAC,CAAC;;;;KAC7J;IAEL,uCAAC;AAAD,CAAC,AA1HD,IA0HC;AA1HY,4EAAgC"}
@@ -1,24 +0,0 @@
1
- import { BaseAPIRequestFactory } from './baseapi';
2
- import { Configuration } from '../configuration';
3
- import { RequestContext, ResponseContext } from '../http/http';
4
- import { CreateTaskDto } from '../models/CreateTaskDto';
5
- import { GetTasks200Response } from '../models/GetTasks200Response';
6
- import { TaskDto } from '../models/TaskDto';
7
- import { TaskExecutionDto } from '../models/TaskExecutionDto';
8
- import { UpdateTaskDto } from '../models/UpdateTaskDto';
9
- export declare class TaskApiRequestFactory extends BaseAPIRequestFactory {
10
- createTask(createTaskDto: CreateTaskDto, _options?: Configuration): Promise<RequestContext>;
11
- deleteTask(id: string, _options?: Configuration): Promise<RequestContext>;
12
- getTaskById(id: string, _options?: Configuration): Promise<RequestContext>;
13
- getTasks(size?: number, page?: number, _options?: Configuration): Promise<RequestContext>;
14
- pollTaskExecution(id: string, _options?: Configuration): Promise<RequestContext>;
15
- updateTask(id: string, updateTaskDto: UpdateTaskDto, _options?: Configuration): Promise<RequestContext>;
16
- }
17
- export declare class TaskApiResponseProcessor {
18
- createTask(response: ResponseContext): Promise<TaskDto>;
19
- deleteTask(response: ResponseContext): Promise<TaskDto>;
20
- getTaskById(response: ResponseContext): Promise<TaskDto>;
21
- getTasks(response: ResponseContext): Promise<GetTasks200Response>;
22
- pollTaskExecution(response: ResponseContext): Promise<TaskExecutionDto>;
23
- updateTask(response: ResponseContext): Promise<TaskDto>;
24
- }