@product-live/api-sdk 2.23.0 → 2.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/package.json +4 -39
  2. package/.openapi-generator/FILES +0 -74
  3. package/.openapi-generator/VERSION +0 -1
  4. package/.openapi-generator-ignore +0 -23
  5. package/DataFactoryFileApi.md +0 -182
  6. package/DefaultApi.md +0 -105
  7. package/ItemApi.md +0 -125
  8. package/JobApi.md +0 -333
  9. package/JobExecutionApi.md +0 -185
  10. package/README.md +0 -80
  11. package/TaskApi.md +0 -375
  12. package/TaskExecutionApi.md +0 -130
  13. package/VariableApi.md +0 -315
  14. package/apis/DataFactoryFileApi.ts +0 -307
  15. package/apis/DefaultApi.ts +0 -117
  16. package/apis/ItemApi.ts +0 -197
  17. package/apis/JobApi.ts +0 -507
  18. package/apis/JobExecutionApi.ts +0 -289
  19. package/apis/TaskApi.ts +0 -558
  20. package/apis/TaskExecutionApi.ts +0 -212
  21. package/apis/VariableApi.ts +0 -495
  22. package/apis/baseapi.ts +0 -37
  23. package/apis/exception.ts +0 -15
  24. package/auth/auth.ts +0 -107
  25. package/configuration.ts +0 -82
  26. package/dist/apis/DataFactoryFileApi.d.ts +0 -15
  27. package/dist/apis/DataFactoryFileApi.js +0 -359
  28. package/dist/apis/DataFactoryFileApi.js.map +0 -1
  29. package/dist/apis/DefaultApi.d.ts +0 -11
  30. package/dist/apis/DefaultApi.js +0 -172
  31. package/dist/apis/DefaultApi.js.map +0 -1
  32. package/dist/apis/ItemApi.d.ts +0 -13
  33. package/dist/apis/ItemApi.js +0 -249
  34. package/dist/apis/ItemApi.js.map +0 -1
  35. package/dist/apis/JobApi.d.ts +0 -21
  36. package/dist/apis/JobApi.js +0 -547
  37. package/dist/apis/JobApi.js.map +0 -1
  38. package/dist/apis/JobExecutionApi.d.ts +0 -16
  39. package/dist/apis/JobExecutionApi.js +0 -339
  40. package/dist/apis/JobExecutionApi.js.map +0 -1
  41. package/dist/apis/TaskApi.d.ts +0 -24
  42. package/dist/apis/TaskApi.js +0 -609
  43. package/dist/apis/TaskApi.js.map +0 -1
  44. package/dist/apis/TaskExecutionApi.d.ts +0 -13
  45. package/dist/apis/TaskExecutionApi.js +0 -259
  46. package/dist/apis/TaskExecutionApi.js.map +0 -1
  47. package/dist/apis/VariableApi.d.ts +0 -22
  48. package/dist/apis/VariableApi.js +0 -529
  49. package/dist/apis/VariableApi.js.map +0 -1
  50. package/dist/apis/baseapi.d.ts +0 -18
  51. package/dist/apis/baseapi.js +0 -46
  52. package/dist/apis/baseapi.js.map +0 -1
  53. package/dist/apis/exception.d.ts +0 -10
  54. package/dist/apis/exception.js +0 -32
  55. package/dist/apis/exception.js.map +0 -1
  56. package/dist/auth/auth.d.ts +0 -42
  57. package/dist/auth/auth.js +0 -45
  58. package/dist/auth/auth.js.map +0 -1
  59. package/dist/configuration.d.ts +0 -18
  60. package/dist/configuration.js +0 -22
  61. package/dist/configuration.js.map +0 -1
  62. package/dist/http/http.d.ts +0 -82
  63. package/dist/http/http.js +0 -229
  64. package/dist/http/http.js.map +0 -1
  65. package/dist/http/isomorphic-fetch.d.ts +0 -5
  66. package/dist/http/isomorphic-fetch.js +0 -34
  67. package/dist/http/isomorphic-fetch.js.map +0 -1
  68. package/dist/index.d.ts +0 -10
  69. package/dist/index.js +0 -36
  70. package/dist/index.js.map +0 -1
  71. package/dist/middleware.d.ts +0 -16
  72. package/dist/middleware.js +0 -18
  73. package/dist/middleware.js.map +0 -1
  74. package/dist/models/CreateJobDto.d.ts +0 -30
  75. package/dist/models/CreateJobDto.js +0 -82
  76. package/dist/models/CreateJobDto.js.map +0 -1
  77. package/dist/models/CreateJobExecutionDto.d.ts +0 -21
  78. package/dist/models/CreateJobExecutionDto.js +0 -34
  79. package/dist/models/CreateJobExecutionDto.js.map +0 -1
  80. package/dist/models/CreateTaskDto.d.ts +0 -21
  81. package/dist/models/CreateTaskDto.js +0 -46
  82. package/dist/models/CreateTaskDto.js.map +0 -1
  83. package/dist/models/CreateVariableDto.d.ts +0 -22
  84. package/dist/models/CreateVariableDto.js +0 -46
  85. package/dist/models/CreateVariableDto.js.map +0 -1
  86. package/dist/models/FileDto.d.ts +0 -23
  87. package/dist/models/FileDto.js +0 -52
  88. package/dist/models/FileDto.js.map +0 -1
  89. package/dist/models/FindVariablesRequest.d.ts +0 -23
  90. package/dist/models/FindVariablesRequest.js +0 -46
  91. package/dist/models/FindVariablesRequest.js.map +0 -1
  92. package/dist/models/GetFiles200Response.d.ts +0 -21
  93. package/dist/models/GetFiles200Response.js +0 -34
  94. package/dist/models/GetFiles200Response.js.map +0 -1
  95. package/dist/models/GetItems200Response.d.ts +0 -21
  96. package/dist/models/GetItems200Response.js +0 -34
  97. package/dist/models/GetItems200Response.js.map +0 -1
  98. package/dist/models/GetJobExecutionById400Response.d.ts +0 -17
  99. package/dist/models/GetJobExecutionById400Response.js +0 -22
  100. package/dist/models/GetJobExecutionById400Response.js.map +0 -1
  101. package/dist/models/GetJobExecutions200Response.d.ts +0 -21
  102. package/dist/models/GetJobExecutions200Response.js +0 -34
  103. package/dist/models/GetJobExecutions200Response.js.map +0 -1
  104. package/dist/models/GetJobs200Response.d.ts +0 -21
  105. package/dist/models/GetJobs200Response.js +0 -34
  106. package/dist/models/GetJobs200Response.js.map +0 -1
  107. package/dist/models/GetTasks200Response.d.ts +0 -21
  108. package/dist/models/GetTasks200Response.js +0 -34
  109. package/dist/models/GetTasks200Response.js.map +0 -1
  110. package/dist/models/GetVariables200Response.d.ts +0 -21
  111. package/dist/models/GetVariables200Response.js +0 -34
  112. package/dist/models/GetVariables200Response.js.map +0 -1
  113. package/dist/models/HighOrderQuery.d.ts +0 -19
  114. package/dist/models/HighOrderQuery.js +0 -28
  115. package/dist/models/HighOrderQuery.js.map +0 -1
  116. package/dist/models/ItemDto.d.ts +0 -28
  117. package/dist/models/ItemDto.js +0 -64
  118. package/dist/models/ItemDto.js.map +0 -1
  119. package/dist/models/ItemFieldDTO.d.ts +0 -19
  120. package/dist/models/ItemFieldDTO.js +0 -34
  121. package/dist/models/ItemFieldDTO.js.map +0 -1
  122. package/dist/models/ItemFieldFile.d.ts +0 -18
  123. package/dist/models/ItemFieldFile.js +0 -22
  124. package/dist/models/ItemFieldFile.js.map +0 -1
  125. package/dist/models/ItemFieldFileData.d.ts +0 -18
  126. package/dist/models/ItemFieldFileData.js +0 -28
  127. package/dist/models/ItemFieldFileData.js.map +0 -1
  128. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.d.ts +0 -18
  129. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js +0 -22
  130. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js.map +0 -1
  131. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.d.ts +0 -19
  132. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js +0 -34
  133. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js.map +0 -1
  134. package/dist/models/ItemFieldSimpleNumber.d.ts +0 -18
  135. package/dist/models/ItemFieldSimpleNumber.js +0 -28
  136. package/dist/models/ItemFieldSimpleNumber.js.map +0 -1
  137. package/dist/models/ItemFieldSimpleString.d.ts +0 -17
  138. package/dist/models/ItemFieldSimpleString.js +0 -22
  139. package/dist/models/ItemFieldSimpleString.js.map +0 -1
  140. package/dist/models/ItemFieldSimpleStringArray.d.ts +0 -17
  141. package/dist/models/ItemFieldSimpleStringArray.js +0 -22
  142. package/dist/models/ItemFieldSimpleStringArray.js.map +0 -1
  143. package/dist/models/ItemMetadataDTO.d.ts +0 -23
  144. package/dist/models/ItemMetadataDTO.js +0 -58
  145. package/dist/models/ItemMetadataDTO.js.map +0 -1
  146. package/dist/models/JobDto.d.ts +0 -35
  147. package/dist/models/JobDto.js +0 -106
  148. package/dist/models/JobDto.js.map +0 -1
  149. package/dist/models/JobExecutionDto.d.ts +0 -33
  150. package/dist/models/JobExecutionDto.js +0 -88
  151. package/dist/models/JobExecutionDto.js.map +0 -1
  152. package/dist/models/LowOrderQuery.d.ts +0 -22
  153. package/dist/models/LowOrderQuery.js +0 -40
  154. package/dist/models/LowOrderQuery.js.map +0 -1
  155. package/dist/models/LowOrderQueryValue.d.ts +0 -16
  156. package/dist/models/LowOrderQueryValue.js +0 -15
  157. package/dist/models/LowOrderQueryValue.js.map +0 -1
  158. package/dist/models/ObjectSerializer.d.ts +0 -45
  159. package/dist/models/ObjectSerializer.js +0 -347
  160. package/dist/models/ObjectSerializer.js.map +0 -1
  161. package/dist/models/PatchTaskExecutionDto.d.ts +0 -22
  162. package/dist/models/PatchTaskExecutionDto.js +0 -34
  163. package/dist/models/PatchTaskExecutionDto.js.map +0 -1
  164. package/dist/models/Query1.d.ts +0 -23
  165. package/dist/models/Query1.js +0 -46
  166. package/dist/models/Query1.js.map +0 -1
  167. package/dist/models/TaskDto.d.ts +0 -26
  168. package/dist/models/TaskDto.js +0 -70
  169. package/dist/models/TaskDto.js.map +0 -1
  170. package/dist/models/TaskExecutionDto.d.ts +0 -30
  171. package/dist/models/TaskExecutionDto.js +0 -64
  172. package/dist/models/TaskExecutionDto.js.map +0 -1
  173. package/dist/models/UpdateJobDto.d.ts +0 -31
  174. package/dist/models/UpdateJobDto.js +0 -88
  175. package/dist/models/UpdateJobDto.js.map +0 -1
  176. package/dist/models/UpdateTaskDto.d.ts +0 -22
  177. package/dist/models/UpdateTaskDto.js +0 -52
  178. package/dist/models/UpdateTaskDto.js.map +0 -1
  179. package/dist/models/UpdateVariableDto.d.ts +0 -23
  180. package/dist/models/UpdateVariableDto.js +0 -52
  181. package/dist/models/UpdateVariableDto.js.map +0 -1
  182. package/dist/models/VariableDto.d.ts +0 -27
  183. package/dist/models/VariableDto.js +0 -70
  184. package/dist/models/VariableDto.js.map +0 -1
  185. package/dist/models/all.d.ts +0 -36
  186. package/dist/models/all.js +0 -53
  187. package/dist/models/all.js.map +0 -1
  188. package/dist/rxjsStub.d.ts +0 -10
  189. package/dist/rxjsStub.js +0 -33
  190. package/dist/rxjsStub.js.map +0 -1
  191. package/dist/servers.d.ts +0 -17
  192. package/dist/servers.js +0 -32
  193. package/dist/servers.js.map +0 -1
  194. package/dist/types/ObjectParamAPI.d.ts +0 -187
  195. package/dist/types/ObjectParamAPI.js +0 -160
  196. package/dist/types/ObjectParamAPI.js.map +0 -1
  197. package/dist/types/ObservableAPI.d.ts +0 -109
  198. package/dist/types/ObservableAPI.js +0 -758
  199. package/dist/types/ObservableAPI.js.map +0 -1
  200. package/dist/types/PromiseAPI.d.ts +0 -92
  201. package/dist/types/PromiseAPI.js +0 -180
  202. package/dist/types/PromiseAPI.js.map +0 -1
  203. package/dist/util.d.ts +0 -2
  204. package/dist/util.js +0 -29
  205. package/dist/util.js.map +0 -1
  206. package/git_push.sh +0 -51
  207. package/http/http.ts +0 -229
  208. package/http/isomorphic-fetch.ts +0 -32
  209. package/index.ts +0 -12
  210. package/middleware.ts +0 -66
  211. package/models/CreateJobDto.ts +0 -108
  212. package/models/CreateJobExecutionDto.ts +0 -49
  213. package/models/CreateTaskDto.ts +0 -63
  214. package/models/CreateVariableDto.ts +0 -66
  215. package/models/FileDto.ts +0 -73
  216. package/models/FindVariablesRequest.ts +0 -68
  217. package/models/GetFiles200Response.ts +0 -53
  218. package/models/GetItems200Response.ts +0 -53
  219. package/models/GetJobExecutionById400Response.ts +0 -35
  220. package/models/GetJobExecutions200Response.ts +0 -53
  221. package/models/GetJobs200Response.ts +0 -53
  222. package/models/GetTasks200Response.ts +0 -53
  223. package/models/GetVariables200Response.ts +0 -53
  224. package/models/HighOrderQuery.ts +0 -45
  225. package/models/ItemDto.ts +0 -86
  226. package/models/ItemFieldDTO.ts +0 -49
  227. package/models/ItemFieldFile.ts +0 -36
  228. package/models/ItemFieldFileData.ts +0 -42
  229. package/models/ItemFieldMultipleSelectWithCommentAndQuantity.ts +0 -36
  230. package/models/ItemFieldMultipleSelectWithCommentAndQuantityData.ts +0 -49
  231. package/models/ItemFieldSimpleNumber.ts +0 -42
  232. package/models/ItemFieldSimpleString.ts +0 -35
  233. package/models/ItemFieldSimpleStringArray.ts +0 -35
  234. package/models/ItemMetadataDTO.ts +0 -77
  235. package/models/JobDto.ts +0 -137
  236. package/models/JobExecutionDto.ts +0 -115
  237. package/models/LowOrderQuery.ts +0 -60
  238. package/models/LowOrderQueryValue.ts +0 -29
  239. package/models/ObjectSerializer.ts +0 -358
  240. package/models/PatchTaskExecutionDto.ts +0 -52
  241. package/models/Query1.ts +0 -69
  242. package/models/TaskDto.ts +0 -94
  243. package/models/TaskExecutionDto.ts +0 -88
  244. package/models/UpdateJobDto.ts +0 -115
  245. package/models/UpdateTaskDto.ts +0 -70
  246. package/models/UpdateVariableDto.ts +0 -73
  247. package/models/VariableDto.ts +0 -95
  248. package/models/all.ts +0 -36
  249. package/rxjsStub.ts +0 -27
  250. package/servers.ts +0 -55
  251. package/tsconfig.json +0 -28
  252. package/types/ObjectParamAPI.ts +0 -675
  253. package/types/ObservableAPI.ts +0 -837
  254. package/types/PromiseAPI.ts +0 -452
  255. package/util.ts +0 -37
package/configuration.ts DELETED
@@ -1,82 +0,0 @@
1
- import { HttpLibrary } from "./http/http";
2
- import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware";
3
- import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch";
4
- import { BaseServerConfiguration, server1 } from "./servers";
5
- import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth";
6
-
7
- export interface Configuration {
8
- readonly baseServer: BaseServerConfiguration;
9
- readonly httpApi: HttpLibrary;
10
- readonly middleware: Middleware[];
11
- readonly authMethods: AuthMethods;
12
- }
13
-
14
-
15
- /**
16
- * Interface with which a configuration object can be configured.
17
- */
18
- export interface ConfigurationParameters {
19
- /**
20
- * Default server to use - a list of available servers (according to the
21
- * OpenAPI yaml definition) is included in the `servers` const in `./servers`. You can also
22
- * create your own server with the `ServerConfiguration` class from the same
23
- * file.
24
- */
25
- baseServer?: BaseServerConfiguration;
26
- /**
27
- * HTTP library to use e.g. IsomorphicFetch. This can usually be skipped as
28
- * all generators come with a default library.
29
- * If available, additional libraries can be imported from `./http/*`
30
- */
31
- httpApi?: HttpLibrary;
32
-
33
- /**
34
- * The middlewares which will be applied to requests and responses. You can
35
- * add any number of middleware components to modify requests before they
36
- * are sent or before they are deserialized by implementing the `Middleware`
37
- * interface defined in `./middleware`
38
- */
39
- middleware?: Middleware[];
40
- /**
41
- * Configures middleware functions that return promises instead of
42
- * Observables (which are used by `middleware`). Otherwise allows for the
43
- * same functionality as `middleware`, i.e., modifying requests before they
44
- * are sent and before they are deserialized.
45
- */
46
- promiseMiddleware?: PromiseMiddleware[];
47
- /**
48
- * Configuration for the available authentication methods (e.g., api keys)
49
- * according to the OpenAPI yaml definition. For the definition, please refer to
50
- * `./auth/auth`
51
- */
52
- authMethods?: AuthMethodsConfiguration
53
- }
54
-
55
- /**
56
- * Provide your `ConfigurationParameters` to this function to get a `Configuration`
57
- * object that can be used to configure your APIs (in the constructor or
58
- * for each request individually).
59
- *
60
- * If a property is not included in conf, a default is used:
61
- * - baseServer: server1
62
- * - httpApi: IsomorphicFetchHttpLibrary
63
- * - middleware: []
64
- * - promiseMiddleware: []
65
- * - authMethods: {}
66
- *
67
- * @param conf partial configuration
68
- */
69
- export function createConfiguration(conf: ConfigurationParameters = {}): Configuration {
70
- const configuration: Configuration = {
71
- baseServer: conf.baseServer !== undefined ? conf.baseServer : server1,
72
- httpApi: conf.httpApi || new DefaultHttpLibrary(),
73
- middleware: conf.middleware || [],
74
- authMethods: configureAuthMethods(conf.authMethods)
75
- };
76
- if (conf.promiseMiddleware) {
77
- conf.promiseMiddleware.forEach(
78
- m => configuration.middleware.push(new PromiseMiddlewareWrapper(m))
79
- );
80
- }
81
- return configuration;
82
- }
@@ -1,15 +0,0 @@
1
- import { BaseAPIRequestFactory } from './baseapi';
2
- import { Configuration } from '../configuration';
3
- import { RequestContext, ResponseContext, HttpFile } from '../http/http';
4
- import { FileDto } from '../models/FileDto';
5
- import { GetFiles200Response } from '../models/GetFiles200Response';
6
- export declare class DataFactoryFileApiRequestFactory extends BaseAPIRequestFactory {
7
- getFileById(id: string, _options?: Configuration): Promise<RequestContext>;
8
- getFiles(size?: number, page?: number, _options?: Configuration): Promise<RequestContext>;
9
- uploadFile(file: HttpFile, _options?: Configuration): Promise<RequestContext>;
10
- }
11
- export declare class DataFactoryFileApiResponseProcessor {
12
- getFileById(response: ResponseContext): Promise<FileDto>;
13
- getFiles(response: ResponseContext): Promise<GetFiles200Response>;
14
- uploadFile(response: ResponseContext): Promise<FileDto>;
15
- }
@@ -1,359 +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.DataFactoryFileApiResponseProcessor = exports.DataFactoryFileApiRequestFactory = void 0;
55
- var baseapi_1 = require("./baseapi");
56
- var http_1 = require("../http/http");
57
- var FormData = require("form-data");
58
- var url_1 = require("url");
59
- var ObjectSerializer_1 = require("../models/ObjectSerializer");
60
- var exception_1 = require("./exception");
61
- var util_1 = require("../util");
62
- var DataFactoryFileApiRequestFactory = (function (_super) {
63
- __extends(DataFactoryFileApiRequestFactory, _super);
64
- function DataFactoryFileApiRequestFactory() {
65
- return _super !== null && _super.apply(this, arguments) || this;
66
- }
67
- DataFactoryFileApiRequestFactory.prototype.getFileById = function (id, _options) {
68
- var _a, _b, _c;
69
- return __awaiter(this, void 0, void 0, function () {
70
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
71
- return __generator(this, function (_d) {
72
- switch (_d.label) {
73
- case 0:
74
- _config = _options || this.configuration;
75
- if (id === null || id === undefined) {
76
- throw new baseapi_1.RequiredError("DataFactoryFileApi", "getFileById", "id");
77
- }
78
- localVarPath = '/v1/data_factory/files/{id}'
79
- .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
80
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
81
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
82
- authMethod = _config.authMethods["ApiKeyAuthQuery"];
83
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
84
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
85
- case 1:
86
- _d.sent();
87
- _d.label = 2;
88
- case 2:
89
- authMethod = _config.authMethods["ApiKeyAuthHeader"];
90
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
91
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
92
- case 3:
93
- _d.sent();
94
- _d.label = 4;
95
- case 4:
96
- 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);
97
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
98
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
99
- case 5:
100
- _d.sent();
101
- _d.label = 6;
102
- case 6: return [2, requestContext];
103
- }
104
- });
105
- });
106
- };
107
- DataFactoryFileApiRequestFactory.prototype.getFiles = function (size, page, _options) {
108
- var _a, _b, _c;
109
- return __awaiter(this, void 0, void 0, function () {
110
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
111
- return __generator(this, function (_d) {
112
- switch (_d.label) {
113
- case 0:
114
- _config = _options || this.configuration;
115
- localVarPath = '/v1/data_factory/files';
116
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
117
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
118
- if (size !== undefined) {
119
- requestContext.setQueryParam("size", ObjectSerializer_1.ObjectSerializer.serialize(size, "number", ""));
120
- }
121
- if (page !== undefined) {
122
- requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", ""));
123
- }
124
- authMethod = _config.authMethods["ApiKeyAuthQuery"];
125
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
126
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
127
- case 1:
128
- _d.sent();
129
- _d.label = 2;
130
- case 2:
131
- authMethod = _config.authMethods["ApiKeyAuthHeader"];
132
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
133
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
134
- case 3:
135
- _d.sent();
136
- _d.label = 4;
137
- case 4:
138
- 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);
139
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
140
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
141
- case 5:
142
- _d.sent();
143
- _d.label = 6;
144
- case 6: return [2, requestContext];
145
- }
146
- });
147
- });
148
- };
149
- DataFactoryFileApiRequestFactory.prototype.uploadFile = function (file, _options) {
150
- var _a, _b, _c;
151
- return __awaiter(this, void 0, void 0, function () {
152
- var _config, localVarPath, requestContext, useForm, localVarFormParams, contentType, authMethod, defaultAuth;
153
- return __generator(this, function (_d) {
154
- switch (_d.label) {
155
- case 0:
156
- _config = _options || this.configuration;
157
- if (file === null || file === undefined) {
158
- throw new baseapi_1.RequiredError("DataFactoryFileApi", "uploadFile", "file");
159
- }
160
- localVarPath = '/v1/data_factory/files';
161
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
162
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
163
- useForm = (0, util_1.canConsumeForm)([
164
- 'multipart/form-data',
165
- ]);
166
- if (useForm) {
167
- localVarFormParams = new FormData();
168
- }
169
- else {
170
- localVarFormParams = new url_1.URLSearchParams();
171
- }
172
- if (file !== undefined) {
173
- if (localVarFormParams instanceof FormData) {
174
- localVarFormParams.append('file', file.data, file.name);
175
- }
176
- }
177
- requestContext.setBody(localVarFormParams);
178
- if (!useForm) {
179
- contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
180
- "multipart/form-data"
181
- ]);
182
- requestContext.setHeaderParam("Content-Type", contentType);
183
- }
184
- authMethod = _config.authMethods["ApiKeyAuthQuery"];
185
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
186
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
187
- case 1:
188
- _d.sent();
189
- _d.label = 2;
190
- case 2:
191
- authMethod = _config.authMethods["ApiKeyAuthHeader"];
192
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
193
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
194
- case 3:
195
- _d.sent();
196
- _d.label = 4;
197
- case 4:
198
- 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);
199
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
200
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
201
- case 5:
202
- _d.sent();
203
- _d.label = 6;
204
- case 6: return [2, requestContext];
205
- }
206
- });
207
- });
208
- };
209
- return DataFactoryFileApiRequestFactory;
210
- }(baseapi_1.BaseAPIRequestFactory));
211
- exports.DataFactoryFileApiRequestFactory = DataFactoryFileApiRequestFactory;
212
- var DataFactoryFileApiResponseProcessor = (function () {
213
- function DataFactoryFileApiResponseProcessor() {
214
- }
215
- DataFactoryFileApiResponseProcessor.prototype.getFileById = function (response) {
216
- return __awaiter(this, void 0, void 0, function () {
217
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
218
- return __generator(this, function (_q) {
219
- switch (_q.label) {
220
- case 0:
221
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
222
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
223
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
224
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
225
- return [4, response.body.text()];
226
- case 1:
227
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
228
- "FileDto", ""]);
229
- return [2, body];
230
- case 2:
231
- if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
232
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
233
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
234
- return [4, response.body.text()];
235
- case 3:
236
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
237
- "GetJobExecutionById400Response", ""]);
238
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
239
- case 4:
240
- if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
241
- throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
242
- }
243
- if ((0, util_1.isCodeInRange)("404", response.httpStatusCode)) {
244
- throw new exception_1.ApiException(response.httpStatusCode, "Not found", undefined, response.headers);
245
- }
246
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
247
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
248
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
249
- return [4, response.body.text()];
250
- case 5:
251
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
252
- "FileDto", ""]);
253
- return [2, body];
254
- case 6:
255
- _o = exception_1.ApiException.bind;
256
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
257
- return [4, response.getBodyAsAny()];
258
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
259
- }
260
- });
261
- });
262
- };
263
- DataFactoryFileApiResponseProcessor.prototype.getFiles = function (response) {
264
- return __awaiter(this, void 0, void 0, function () {
265
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
266
- return __generator(this, function (_q) {
267
- switch (_q.label) {
268
- case 0:
269
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
270
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
271
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
272
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
273
- return [4, response.body.text()];
274
- case 1:
275
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
276
- "GetFiles200Response", ""]);
277
- return [2, body];
278
- case 2:
279
- if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
280
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
281
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
282
- return [4, response.body.text()];
283
- case 3:
284
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
285
- "GetJobExecutionById400Response", ""]);
286
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
287
- case 4:
288
- if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
289
- throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
290
- }
291
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
292
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
293
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
294
- return [4, response.body.text()];
295
- case 5:
296
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
297
- "GetFiles200Response", ""]);
298
- return [2, body];
299
- case 6:
300
- _o = exception_1.ApiException.bind;
301
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
302
- return [4, response.getBodyAsAny()];
303
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
304
- }
305
- });
306
- });
307
- };
308
- DataFactoryFileApiResponseProcessor.prototype.uploadFile = function (response) {
309
- return __awaiter(this, void 0, void 0, function () {
310
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
311
- return __generator(this, function (_q) {
312
- switch (_q.label) {
313
- case 0:
314
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
315
- if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
316
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
317
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
318
- return [4, response.body.text()];
319
- case 1:
320
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
321
- "FileDto", ""]);
322
- return [2, body];
323
- case 2:
324
- if ((0, util_1.isCodeInRange)("400", response.httpStatusCode)) {
325
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", undefined, response.headers);
326
- }
327
- if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
328
- throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
329
- }
330
- if (!(0, util_1.isCodeInRange)("413", response.httpStatusCode)) return [3, 4];
331
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
332
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
333
- return [4, response.body.text()];
334
- case 3:
335
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
336
- "GetJobExecutionById400Response", ""]);
337
- throw new exception_1.ApiException(response.httpStatusCode, "Request Entity Too Large", body, response.headers);
338
- case 4:
339
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
340
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
341
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
342
- return [4, response.body.text()];
343
- case 5:
344
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
345
- "FileDto", ""]);
346
- return [2, body];
347
- case 6:
348
- _o = exception_1.ApiException.bind;
349
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
350
- return [4, response.getBodyAsAny()];
351
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
352
- }
353
- });
354
- });
355
- };
356
- return DataFactoryFileApiResponseProcessor;
357
- }());
358
- exports.DataFactoryFileApiResponseProcessor = DataFactoryFileApiResponseProcessor;
359
- //# sourceMappingURL=DataFactoryFileApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DataFactoryFileApi.js","sourceRoot":"","sources":["../../apis/DataFactoryFileApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qCAAmF;AAEnF,qCAAmF;AACnF,oCAAsC;AACtC,2BAAsC;AACtC,+DAA4D;AAC5D,yCAAyC;AACzC,gCAAsD;AAWtD;IAAsD,oDAAqB;IAA3E;;IAgKA,CAAC;IA1JgB,sDAAW,GAAxB,UAAyB,EAAU,EAAE,QAAwB;;;;;;;wBACrD,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;wBAG7C,IAAI,EAAE,KAAK,IAAI,IAAI,EAAE,KAAK,SAAS,EAAE;4BACjC,MAAM,IAAI,uBAAa,CAAC,oBAAoB,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC;yBACtE;wBAIK,YAAY,GAAG,6BAA6B;6BAC7C,OAAO,CAAC,GAAG,GAAG,IAAI,GAAG,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;wBAGzD,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,YAAY,EAAE,iBAAU,CAAC,GAAG,CAAC,CAAC;wBAC3F,cAAc,CAAC,cAAc,CAAC,QAAQ,EAAE,6BAA6B,CAAC,CAAA;wBAKtE,UAAU,GAAG,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAA;6BAC/C,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,2BAA2B,CAAA,EAAvC,cAAuC;wBACvC,WAAM,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,2BAA2B,CAAC,cAAc,CAAC,CAAA,EAAA;;wBAA7D,SAA6D,CAAC;;;wBAGlE,UAAU,GA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AGN,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,0CAAC;AAAD,CAAC,AA7HD,IA6HC;AA7HY,kFAAmC"}
@@ -1,11 +0,0 @@
1
- import { BaseAPIRequestFactory } from './baseapi';
2
- import { Configuration } from '../configuration';
3
- import { RequestContext, ResponseContext } from '../http/http';
4
- export declare class DefaultApiRequestFactory extends BaseAPIRequestFactory {
5
- liveness(_options?: Configuration): Promise<RequestContext>;
6
- readiness(_options?: Configuration): Promise<RequestContext>;
7
- }
8
- export declare class DefaultApiResponseProcessor {
9
- liveness(response: ResponseContext): Promise<void>;
10
- readiness(response: ResponseContext): Promise<void>;
11
- }