@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,172 +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.DefaultApiResponseProcessor = exports.DefaultApiRequestFactory = 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 DefaultApiRequestFactory = (function (_super) {
61
- __extends(DefaultApiRequestFactory, _super);
62
- function DefaultApiRequestFactory() {
63
- return _super !== null && _super.apply(this, arguments) || this;
64
- }
65
- DefaultApiRequestFactory.prototype.liveness = function (_options) {
66
- var _a, _b, _c;
67
- return __awaiter(this, void 0, void 0, function () {
68
- var _config, localVarPath, requestContext, defaultAuth;
69
- return __generator(this, function (_d) {
70
- switch (_d.label) {
71
- case 0:
72
- _config = _options || this.configuration;
73
- localVarPath = '/probe/liveness';
74
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
75
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
76
- 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);
77
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 2];
78
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
79
- case 1:
80
- _d.sent();
81
- _d.label = 2;
82
- case 2: return [2, requestContext];
83
- }
84
- });
85
- });
86
- };
87
- DefaultApiRequestFactory.prototype.readiness = function (_options) {
88
- var _a, _b, _c;
89
- return __awaiter(this, void 0, void 0, function () {
90
- var _config, localVarPath, requestContext, defaultAuth;
91
- return __generator(this, function (_d) {
92
- switch (_d.label) {
93
- case 0:
94
- _config = _options || this.configuration;
95
- localVarPath = '/probe/readiness';
96
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
97
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
98
- 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);
99
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 2];
100
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
101
- case 1:
102
- _d.sent();
103
- _d.label = 2;
104
- case 2: return [2, requestContext];
105
- }
106
- });
107
- });
108
- };
109
- return DefaultApiRequestFactory;
110
- }(baseapi_1.BaseAPIRequestFactory));
111
- exports.DefaultApiRequestFactory = DefaultApiRequestFactory;
112
- var DefaultApiResponseProcessor = (function () {
113
- function DefaultApiResponseProcessor() {
114
- }
115
- DefaultApiResponseProcessor.prototype.liveness = function (response) {
116
- return __awaiter(this, void 0, void 0, function () {
117
- var contentType, body, _a, _b, _c, _d, _e, _f;
118
- return __generator(this, function (_g) {
119
- switch (_g.label) {
120
- case 0:
121
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
122
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
123
- return [2];
124
- }
125
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 2];
126
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
127
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
128
- return [4, response.body.text()];
129
- case 1:
130
- body = _b.apply(_a, [_d.apply(_c, [_g.sent(), contentType]),
131
- "void", ""]);
132
- return [2, body];
133
- case 2:
134
- _e = exception_1.ApiException.bind;
135
- _f = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
136
- return [4, response.getBodyAsAny()];
137
- case 3: throw new (_e.apply(exception_1.ApiException, _f.concat([_g.sent(), response.headers])))();
138
- }
139
- });
140
- });
141
- };
142
- DefaultApiResponseProcessor.prototype.readiness = function (response) {
143
- return __awaiter(this, void 0, void 0, function () {
144
- var contentType, body, _a, _b, _c, _d, _e, _f;
145
- return __generator(this, function (_g) {
146
- switch (_g.label) {
147
- case 0:
148
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
149
- if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
150
- return [2];
151
- }
152
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 2];
153
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
154
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
155
- return [4, response.body.text()];
156
- case 1:
157
- body = _b.apply(_a, [_d.apply(_c, [_g.sent(), contentType]),
158
- "void", ""]);
159
- return [2, body];
160
- case 2:
161
- _e = exception_1.ApiException.bind;
162
- _f = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
163
- return [4, response.getBodyAsAny()];
164
- case 3: throw new (_e.apply(exception_1.ApiException, _f.concat([_g.sent(), response.headers])))();
165
- }
166
- });
167
- });
168
- };
169
- return DefaultApiResponseProcessor;
170
- }());
171
- exports.DefaultApiResponseProcessor = DefaultApiResponseProcessor;
172
- //# sourceMappingURL=DefaultApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DefaultApi.js","sourceRoot":"","sources":["../../apis/DefaultApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qCAAmF;AAEnF,qCAAmF;AAGnF,+DAA4D;AAC5D,yCAAyC;AACzC,gCAAsD;AAQtD;IAA8C,4CAAqB;IAAnE;;IA8CA,CAAC;IA1CgB,2CAAQ,GAArB,UAAsB,QAAwB;;;;;;;wBACtC,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;wBAGvC,YAAY,GAAG,iBAAiB,CAAC;wBAGjC,cAA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AG,IAAI,QAAQ,CAAC,cAAc,IAAI,GAAG,CAAA,EAAhE,cAAgE;wBAC7C,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,WAAW,CAAA;wBAC3C,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,KAAK,CAAA;wBAAC,WAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAA;;wBAD/C,IAAI,GAAS,cACf,cAAuB,SAA0B,EAAE,WAAW,EAAC;4BAC/D,MAAM,EAAE,EAAE,EACL;wBACT,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,kCAAC;AAAD,CAAC,AApDD,IAoDC;AApDY,kEAA2B"}
@@ -1,13 +0,0 @@
1
- import { BaseAPIRequestFactory } from './baseapi';
2
- import { Configuration } from '../configuration';
3
- import { RequestContext, ResponseContext } from '../http/http';
4
- import { GetItems200Response } from '../models/GetItems200Response';
5
- import { ItemDto } from '../models/ItemDto';
6
- export declare class ItemApiRequestFactory extends BaseAPIRequestFactory {
7
- getItemById(id: string, _options?: Configuration): Promise<RequestContext>;
8
- getItems(size?: number, page?: number, _options?: Configuration): Promise<RequestContext>;
9
- }
10
- export declare class ItemApiResponseProcessor {
11
- getItemById(response: ResponseContext): Promise<ItemDto>;
12
- getItems(response: ResponseContext): Promise<GetItems200Response>;
13
- }
@@ -1,249 +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.ItemApiResponseProcessor = exports.ItemApiRequestFactory = 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 ItemApiRequestFactory = (function (_super) {
61
- __extends(ItemApiRequestFactory, _super);
62
- function ItemApiRequestFactory() {
63
- return _super !== null && _super.apply(this, arguments) || this;
64
- }
65
- ItemApiRequestFactory.prototype.getItemById = function (id, _options) {
66
- var _a, _b, _c;
67
- return __awaiter(this, void 0, void 0, function () {
68
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
69
- return __generator(this, function (_d) {
70
- switch (_d.label) {
71
- case 0:
72
- _config = _options || this.configuration;
73
- if (id === null || id === undefined) {
74
- throw new baseapi_1.RequiredError("ItemApi", "getItemById", "id");
75
- }
76
- localVarPath = '/v1/items/{id}'
77
- .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
78
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
79
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
80
- authMethod = _config.authMethods["ApiKeyAuthQuery"];
81
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
82
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
83
- case 1:
84
- _d.sent();
85
- _d.label = 2;
86
- case 2:
87
- authMethod = _config.authMethods["ApiKeyAuthHeader"];
88
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
89
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
90
- case 3:
91
- _d.sent();
92
- _d.label = 4;
93
- case 4:
94
- 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);
95
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
96
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
97
- case 5:
98
- _d.sent();
99
- _d.label = 6;
100
- case 6: return [2, requestContext];
101
- }
102
- });
103
- });
104
- };
105
- ItemApiRequestFactory.prototype.getItems = function (size, page, _options) {
106
- var _a, _b, _c;
107
- return __awaiter(this, void 0, void 0, function () {
108
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
109
- return __generator(this, function (_d) {
110
- switch (_d.label) {
111
- case 0:
112
- _config = _options || this.configuration;
113
- localVarPath = '/v1/items';
114
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
115
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
116
- if (size !== undefined) {
117
- requestContext.setQueryParam("size", ObjectSerializer_1.ObjectSerializer.serialize(size, "number", ""));
118
- }
119
- if (page !== undefined) {
120
- requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", ""));
121
- }
122
- authMethod = _config.authMethods["ApiKeyAuthQuery"];
123
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
124
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
125
- case 1:
126
- _d.sent();
127
- _d.label = 2;
128
- case 2:
129
- authMethod = _config.authMethods["ApiKeyAuthHeader"];
130
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
131
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
132
- case 3:
133
- _d.sent();
134
- _d.label = 4;
135
- case 4:
136
- 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);
137
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
138
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
139
- case 5:
140
- _d.sent();
141
- _d.label = 6;
142
- case 6: return [2, requestContext];
143
- }
144
- });
145
- });
146
- };
147
- return ItemApiRequestFactory;
148
- }(baseapi_1.BaseAPIRequestFactory));
149
- exports.ItemApiRequestFactory = ItemApiRequestFactory;
150
- var ItemApiResponseProcessor = (function () {
151
- function ItemApiResponseProcessor() {
152
- }
153
- ItemApiResponseProcessor.prototype.getItemById = function (response) {
154
- return __awaiter(this, void 0, void 0, function () {
155
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
156
- return __generator(this, function (_q) {
157
- switch (_q.label) {
158
- case 0:
159
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
160
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
161
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
162
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
163
- return [4, response.body.text()];
164
- case 1:
165
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
166
- "ItemDto", ""]);
167
- return [2, body];
168
- case 2:
169
- if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
170
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
171
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
172
- return [4, response.body.text()];
173
- case 3:
174
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
175
- "GetJobExecutionById400Response", ""]);
176
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
177
- case 4:
178
- if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
179
- throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
180
- }
181
- if ((0, util_1.isCodeInRange)("404", response.httpStatusCode)) {
182
- throw new exception_1.ApiException(response.httpStatusCode, "Not found", undefined, response.headers);
183
- }
184
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
185
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
186
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
187
- return [4, response.body.text()];
188
- case 5:
189
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
190
- "ItemDto", ""]);
191
- return [2, body];
192
- case 6:
193
- _o = exception_1.ApiException.bind;
194
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
195
- return [4, response.getBodyAsAny()];
196
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
197
- }
198
- });
199
- });
200
- };
201
- ItemApiResponseProcessor.prototype.getItems = function (response) {
202
- return __awaiter(this, void 0, void 0, function () {
203
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
204
- return __generator(this, function (_q) {
205
- switch (_q.label) {
206
- case 0:
207
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
208
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
209
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
210
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
211
- return [4, response.body.text()];
212
- case 1:
213
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
214
- "GetItems200Response", ""]);
215
- return [2, body];
216
- case 2:
217
- if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
218
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
219
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
220
- return [4, response.body.text()];
221
- case 3:
222
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
223
- "GetJobExecutionById400Response", ""]);
224
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
225
- case 4:
226
- if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
227
- throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
228
- }
229
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
230
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
231
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
232
- return [4, response.body.text()];
233
- case 5:
234
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
235
- "GetItems200Response", ""]);
236
- return [2, body];
237
- case 6:
238
- _o = exception_1.ApiException.bind;
239
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
240
- return [4, response.getBodyAsAny()];
241
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
242
- }
243
- });
244
- });
245
- };
246
- return ItemApiResponseProcessor;
247
- }());
248
- exports.ItemApiResponseProcessor = ItemApiResponseProcessor;
249
- //# sourceMappingURL=ItemApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ItemApi.js","sourceRoot":"","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A0B,EAAE,WAAW,EAAC;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;wBAC9B,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,WAAW,CAAA;wBAC1D,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,KAAK,CAAA;wBAAC,WAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAA;;wBAD/C,IAAI,GAAwB,cAC9B,cAAuB,SAA0B,EAAE,WAAW,EAAC;4BAC/D,qBAAqB,EAAE,EAAE,EACL;wBACxB,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,+BAAC;AAAD,CAAC,AAnFD,IAmFC;AAnFY,4DAAwB"}
@@ -1,21 +0,0 @@
1
- import { BaseAPIRequestFactory } from './baseapi';
2
- import { Configuration } from '../configuration';
3
- import { RequestContext, ResponseContext, HttpFile } from '../http/http';
4
- import { CreateJobDto } from '../models/CreateJobDto';
5
- import { GetJobs200Response } from '../models/GetJobs200Response';
6
- import { JobDto } from '../models/JobDto';
7
- import { UpdateJobDto } from '../models/UpdateJobDto';
8
- export declare class JobApiRequestFactory extends BaseAPIRequestFactory {
9
- createJob(createJobDto: CreateJobDto, _options?: Configuration): Promise<RequestContext>;
10
- getJobById(id: string, _options?: Configuration): Promise<RequestContext>;
11
- getJobs(size?: number, page?: number, _options?: Configuration): Promise<RequestContext>;
12
- updateJob(id: string, updateJobDto: UpdateJobDto, _options?: Configuration): Promise<RequestContext>;
13
- updateJobZip(id: string, file: HttpFile, _options?: Configuration): Promise<RequestContext>;
14
- }
15
- export declare class JobApiResponseProcessor {
16
- createJob(response: ResponseContext): Promise<JobDto>;
17
- getJobById(response: ResponseContext): Promise<JobDto>;
18
- getJobs(response: ResponseContext): Promise<GetJobs200Response>;
19
- updateJob(response: ResponseContext): Promise<JobDto>;
20
- updateJobZip(response: ResponseContext): Promise<JobDto>;
21
- }