@emilgroup/document-sdk-node 1.39.0 → 1.39.1-beta.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.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/document-sdk-node@1.39.0 --save
20
+ npm install @emilgroup/document-sdk-node@1.39.1-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/document-sdk-node@1.39.0
24
+ yarn add @emilgroup/document-sdk-node@1.39.1-beta.0
25
25
  ```
26
26
 
27
27
  And then you can import `DocumentsApi`.
package/base.ts CHANGED
@@ -278,7 +278,7 @@ export class BaseAPI {
278
278
  * @extends {Error}
279
279
  */
280
280
  export class RequiredError extends Error {
281
- name: "RequiredError" = "RequiredError";
281
+ override name: "RequiredError" = "RequiredError";
282
282
  constructor(public field: string, msg?: string) {
283
283
  super(msg);
284
284
  }
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -102,10 +111,14 @@ var DefaultApiAxiosParamCreator = function (configuration) {
102
111
  * @param {*} [options] Override http request option.
103
112
  * @throws {RequiredError}
104
113
  */
105
- check: function (options) {
106
- if (options === void 0) { options = {}; }
107
- return __awaiter(_this, void 0, void 0, function () {
114
+ check: function () {
115
+ var args_1 = [];
116
+ for (var _i = 0; _i < arguments.length; _i++) {
117
+ args_1[_i] = arguments[_i];
118
+ }
119
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
108
120
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
121
+ if (options === void 0) { options = {}; }
109
122
  return __generator(this, function (_a) {
110
123
  localVarPath = "/documentservice/health";
111
124
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -104,10 +113,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
104
113
  * @param {*} [options] Override http request option.
105
114
  * @throws {RequiredError}
106
115
  */
107
- createDocTemplate: function (createDocTemplateRequestDto, authorization, options) {
108
- if (options === void 0) { options = {}; }
109
- return __awaiter(_this, void 0, void 0, function () {
116
+ createDocTemplate: function (createDocTemplateRequestDto_1, authorization_1) {
117
+ var args_1 = [];
118
+ for (var _i = 2; _i < arguments.length; _i++) {
119
+ args_1[_i - 2] = arguments[_i];
120
+ }
121
+ return __awaiter(_this, __spreadArray([createDocTemplateRequestDto_1, authorization_1], args_1, true), void 0, function (createDocTemplateRequestDto, authorization, options) {
110
122
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
+ if (options === void 0) { options = {}; }
111
124
  return __generator(this, function (_a) {
112
125
  switch (_a.label) {
113
126
  case 0:
@@ -153,10 +166,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
153
166
  * @param {*} [options] Override http request option.
154
167
  * @throws {RequiredError}
155
168
  */
156
- deleteDocTemplate: function (id, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
169
+ deleteDocTemplate: function (id_1, authorization_1) {
170
+ var args_1 = [];
171
+ for (var _i = 2; _i < arguments.length; _i++) {
172
+ args_1[_i - 2] = arguments[_i];
173
+ }
174
+ return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
159
175
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
+ if (options === void 0) { options = {}; }
160
177
  return __generator(this, function (_a) {
161
178
  switch (_a.label) {
162
179
  case 0:
@@ -202,10 +219,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
202
219
  * @param {*} [options] Override http request option.
203
220
  * @throws {RequiredError}
204
221
  */
205
- getDocTemplate: function (id, authorization, expand, options) {
206
- if (options === void 0) { options = {}; }
207
- return __awaiter(_this, void 0, void 0, function () {
222
+ getDocTemplate: function (id_1, authorization_1, expand_1) {
223
+ var args_1 = [];
224
+ for (var _i = 3; _i < arguments.length; _i++) {
225
+ args_1[_i - 3] = arguments[_i];
226
+ }
227
+ return __awaiter(_this, __spreadArray([id_1, authorization_1, expand_1], args_1, true), void 0, function (id, authorization, expand, options) {
208
228
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
+ if (options === void 0) { options = {}; }
209
230
  return __generator(this, function (_a) {
210
231
  switch (_a.label) {
211
232
  case 0:
@@ -258,10 +279,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
258
279
  * @param {*} [options] Override http request option.
259
280
  * @throws {RequiredError}
260
281
  */
261
- listDocTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
262
- if (options === void 0) { options = {}; }
263
- return __awaiter(_this, void 0, void 0, function () {
282
+ listDocTemplates: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1) {
283
+ var args_1 = [];
284
+ for (var _i = 7; _i < arguments.length; _i++) {
285
+ args_1[_i - 7] = arguments[_i];
286
+ }
287
+ return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
264
288
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
289
+ if (options === void 0) { options = {}; }
265
290
  return __generator(this, function (_a) {
266
291
  switch (_a.label) {
267
292
  case 0:
@@ -322,10 +347,14 @@ var DocumentTemplatesApiAxiosParamCreator = function (configuration) {
322
347
  * @param {*} [options] Override http request option.
323
348
  * @throws {RequiredError}
324
349
  */
325
- updateDocTemplate: function (id, updateDocTemplateRequestDto, authorization, options) {
326
- if (options === void 0) { options = {}; }
327
- return __awaiter(_this, void 0, void 0, function () {
350
+ updateDocTemplate: function (id_1, updateDocTemplateRequestDto_1, authorization_1) {
351
+ var args_1 = [];
352
+ for (var _i = 3; _i < arguments.length; _i++) {
353
+ args_1[_i - 3] = arguments[_i];
354
+ }
355
+ return __awaiter(_this, __spreadArray([id_1, updateDocTemplateRequestDto_1, authorization_1], args_1, true), void 0, function (id, updateDocTemplateRequestDto, authorization, options) {
328
356
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
357
+ if (options === void 0) { options = {}; }
329
358
  return __generator(this, function (_a) {
330
359
  switch (_a.label) {
331
360
  case 0:
@@ -63,7 +63,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
63
63
  * @param {*} [options] Override http request option.
64
64
  * @throws {RequiredError}
65
65
  */
66
- getDocumentDownloadUrl: (code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ getDocumentDownloadUrl: (code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
67
  /**
68
68
  * This will return a presigned URL for a random S3 key
69
69
  * @summary Fetches a presigned URL for a S3 key
@@ -73,7 +73,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
73
73
  * @param {*} [options] Override http request option.
74
74
  * @throws {RequiredError}
75
75
  */
76
- getSignedS3keyUrl: (s3Key: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ getSignedS3keyUrl: (s3Key: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
77
  /**
78
78
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
79
79
  * @summary List documents
@@ -150,7 +150,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
150
150
  * @param {*} [options] Override http request option.
151
151
  * @throws {RequiredError}
152
152
  */
153
- getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocumentDownloadUrlResponseClass>>;
153
+ getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocumentDownloadUrlResponseClass>>;
154
154
  /**
155
155
  * This will return a presigned URL for a random S3 key
156
156
  * @summary Fetches a presigned URL for a S3 key
@@ -160,7 +160,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
160
160
  * @param {*} [options] Override http request option.
161
161
  * @throws {RequiredError}
162
162
  */
163
- getSignedS3keyUrl(s3Key: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSignedS3KeyUrlResponseClass>>;
163
+ getSignedS3keyUrl(s3Key: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSignedS3KeyUrlResponseClass>>;
164
164
  /**
165
165
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
166
166
  * @summary List documents
@@ -237,7 +237,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
237
237
  * @param {*} [options] Override http request option.
238
238
  * @throws {RequiredError}
239
239
  */
240
- getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: any): AxiosPromise<GetDocumentDownloadUrlResponseClass>;
240
+ getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: any): AxiosPromise<GetDocumentDownloadUrlResponseClass>;
241
241
  /**
242
242
  * This will return a presigned URL for a random S3 key
243
243
  * @summary Fetches a presigned URL for a S3 key
@@ -247,7 +247,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
247
247
  * @param {*} [options] Override http request option.
248
248
  * @throws {RequiredError}
249
249
  */
250
- getSignedS3keyUrl(s3Key: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: any): AxiosPromise<GetSignedS3KeyUrlResponseClass>;
250
+ getSignedS3keyUrl(s3Key: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: any): AxiosPromise<GetSignedS3KeyUrlResponseClass>;
251
251
  /**
252
252
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
253
253
  * @summary List documents
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -104,10 +113,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
104
113
  * @param {*} [options] Override http request option.
105
114
  * @throws {RequiredError}
106
115
  */
107
- createDocument: function (createDocumentRequestDto, authorization, options) {
108
- if (options === void 0) { options = {}; }
109
- return __awaiter(_this, void 0, void 0, function () {
116
+ createDocument: function (createDocumentRequestDto_1, authorization_1) {
117
+ var args_1 = [];
118
+ for (var _i = 2; _i < arguments.length; _i++) {
119
+ args_1[_i - 2] = arguments[_i];
120
+ }
121
+ return __awaiter(_this, __spreadArray([createDocumentRequestDto_1, authorization_1], args_1, true), void 0, function (createDocumentRequestDto, authorization, options) {
110
122
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
+ if (options === void 0) { options = {}; }
111
124
  return __generator(this, function (_a) {
112
125
  switch (_a.label) {
113
126
  case 0:
@@ -153,10 +166,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
153
166
  * @param {*} [options] Override http request option.
154
167
  * @throws {RequiredError}
155
168
  */
156
- createPresignedPost: function (createPresignedPostRequestDto, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
169
+ createPresignedPost: function (createPresignedPostRequestDto_1, authorization_1) {
170
+ var args_1 = [];
171
+ for (var _i = 2; _i < arguments.length; _i++) {
172
+ args_1[_i - 2] = arguments[_i];
173
+ }
174
+ return __awaiter(_this, __spreadArray([createPresignedPostRequestDto_1, authorization_1], args_1, true), void 0, function (createPresignedPostRequestDto, authorization, options) {
159
175
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
+ if (options === void 0) { options = {}; }
160
177
  return __generator(this, function (_a) {
161
178
  switch (_a.label) {
162
179
  case 0:
@@ -202,10 +219,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
202
219
  * @param {*} [options] Override http request option.
203
220
  * @throws {RequiredError}
204
221
  */
205
- deleteDocument: function (code, authorization, options) {
206
- if (options === void 0) { options = {}; }
207
- return __awaiter(_this, void 0, void 0, function () {
222
+ deleteDocument: function (code_1, authorization_1) {
223
+ var args_1 = [];
224
+ for (var _i = 2; _i < arguments.length; _i++) {
225
+ args_1[_i - 2] = arguments[_i];
226
+ }
227
+ return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
208
228
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
+ if (options === void 0) { options = {}; }
209
230
  return __generator(this, function (_a) {
210
231
  switch (_a.label) {
211
232
  case 0:
@@ -251,10 +272,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
251
272
  * @param {*} [options] Override http request option.
252
273
  * @throws {RequiredError}
253
274
  */
254
- getDocumentDownloadUrl: function (code, authorization, contentDisposition, options) {
255
- if (options === void 0) { options = {}; }
256
- return __awaiter(_this, void 0, void 0, function () {
275
+ getDocumentDownloadUrl: function (code_1, authorization_1, contentDisposition_1) {
276
+ var args_1 = [];
277
+ for (var _i = 3; _i < arguments.length; _i++) {
278
+ args_1[_i - 3] = arguments[_i];
279
+ }
280
+ return __awaiter(_this, __spreadArray([code_1, authorization_1, contentDisposition_1], args_1, true), void 0, function (code, authorization, contentDisposition, options) {
257
281
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
282
+ if (options === void 0) { options = {}; }
258
283
  return __generator(this, function (_a) {
259
284
  switch (_a.label) {
260
285
  case 0:
@@ -303,10 +328,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
303
328
  * @param {*} [options] Override http request option.
304
329
  * @throws {RequiredError}
305
330
  */
306
- getSignedS3keyUrl: function (s3Key, authorization, contentDisposition, options) {
307
- if (options === void 0) { options = {}; }
308
- return __awaiter(_this, void 0, void 0, function () {
331
+ getSignedS3keyUrl: function (s3Key_1, authorization_1, contentDisposition_1) {
332
+ var args_1 = [];
333
+ for (var _i = 3; _i < arguments.length; _i++) {
334
+ args_1[_i - 3] = arguments[_i];
335
+ }
336
+ return __awaiter(_this, __spreadArray([s3Key_1, authorization_1, contentDisposition_1], args_1, true), void 0, function (s3Key, authorization, contentDisposition, options) {
309
337
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
338
+ if (options === void 0) { options = {}; }
310
339
  return __generator(this, function (_a) {
311
340
  switch (_a.label) {
312
341
  case 0:
@@ -362,10 +391,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
362
391
  * @param {*} [options] Override http request option.
363
392
  * @throws {RequiredError}
364
393
  */
365
- listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
366
- if (options === void 0) { options = {}; }
367
- return __awaiter(_this, void 0, void 0, function () {
394
+ listDocuments: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
395
+ var args_1 = [];
396
+ for (var _i = 8; _i < arguments.length; _i++) {
397
+ args_1[_i - 8] = arguments[_i];
398
+ }
399
+ return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
368
400
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
401
+ if (options === void 0) { options = {}; }
369
402
  return __generator(this, function (_a) {
370
403
  switch (_a.label) {
371
404
  case 0:
@@ -428,10 +461,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
428
461
  * @param {*} [options] Override http request option.
429
462
  * @throws {RequiredError}
430
463
  */
431
- saveExternalDocument: function (saveExternalDocumentRequestDto, authorization, options) {
432
- if (options === void 0) { options = {}; }
433
- return __awaiter(_this, void 0, void 0, function () {
464
+ saveExternalDocument: function (saveExternalDocumentRequestDto_1, authorization_1) {
465
+ var args_1 = [];
466
+ for (var _i = 2; _i < arguments.length; _i++) {
467
+ args_1[_i - 2] = arguments[_i];
468
+ }
469
+ return __awaiter(_this, __spreadArray([saveExternalDocumentRequestDto_1, authorization_1], args_1, true), void 0, function (saveExternalDocumentRequestDto, authorization, options) {
434
470
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
471
+ if (options === void 0) { options = {}; }
435
472
  return __generator(this, function (_a) {
436
473
  switch (_a.label) {
437
474
  case 0:
@@ -478,10 +515,14 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
478
515
  * @param {*} [options] Override http request option.
479
516
  * @throws {RequiredError}
480
517
  */
481
- updateDocument: function (code, updateDocumentRequestDto, authorization, options) {
482
- if (options === void 0) { options = {}; }
483
- return __awaiter(_this, void 0, void 0, function () {
518
+ updateDocument: function (code_1, updateDocumentRequestDto_1, authorization_1) {
519
+ var args_1 = [];
520
+ for (var _i = 3; _i < arguments.length; _i++) {
521
+ args_1[_i - 3] = arguments[_i];
522
+ }
523
+ return __awaiter(_this, __spreadArray([code_1, updateDocumentRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateDocumentRequestDto, authorization, options) {
484
524
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
525
+ if (options === void 0) { options = {}; }
485
526
  return __generator(this, function (_a) {
486
527
  switch (_a.label) {
487
528
  case 0:
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -104,10 +113,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
104
113
  * @param {*} [options] Override http request option.
105
114
  * @throws {RequiredError}
106
115
  */
107
- deleteDocxTemplate: function (code, authorization, options) {
108
- if (options === void 0) { options = {}; }
109
- return __awaiter(_this, void 0, void 0, function () {
116
+ deleteDocxTemplate: function (code_1, authorization_1) {
117
+ var args_1 = [];
118
+ for (var _i = 2; _i < arguments.length; _i++) {
119
+ args_1[_i - 2] = arguments[_i];
120
+ }
121
+ return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
110
122
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
+ if (options === void 0) { options = {}; }
111
124
  return __generator(this, function (_a) {
112
125
  switch (_a.label) {
113
126
  case 0:
@@ -152,10 +165,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
152
165
  * @param {*} [options] Override http request option.
153
166
  * @throws {RequiredError}
154
167
  */
155
- downloadDocxTemplate: function (code, authorization, options) {
156
- if (options === void 0) { options = {}; }
157
- return __awaiter(_this, void 0, void 0, function () {
168
+ downloadDocxTemplate: function (code_1, authorization_1) {
169
+ var args_1 = [];
170
+ for (var _i = 2; _i < arguments.length; _i++) {
171
+ args_1[_i - 2] = arguments[_i];
172
+ }
173
+ return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
158
174
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
175
+ if (options === void 0) { options = {}; }
159
176
  return __generator(this, function (_a) {
160
177
  switch (_a.label) {
161
178
  case 0:
@@ -200,10 +217,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
200
217
  * @param {*} [options] Override http request option.
201
218
  * @throws {RequiredError}
202
219
  */
203
- getDocxTemplate: function (code, authorization, options) {
204
- if (options === void 0) { options = {}; }
205
- return __awaiter(_this, void 0, void 0, function () {
220
+ getDocxTemplate: function (code_1, authorization_1) {
221
+ var args_1 = [];
222
+ for (var _i = 2; _i < arguments.length; _i++) {
223
+ args_1[_i - 2] = arguments[_i];
224
+ }
225
+ return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
206
226
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
227
+ if (options === void 0) { options = {}; }
207
228
  return __generator(this, function (_a) {
208
229
  switch (_a.label) {
209
230
  case 0:
@@ -254,10 +275,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
254
275
  * @param {*} [options] Override http request option.
255
276
  * @throws {RequiredError}
256
277
  */
257
- listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
- if (options === void 0) { options = {}; }
259
- return __awaiter(_this, void 0, void 0, function () {
278
+ listDocxTemplates: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
279
+ var args_1 = [];
280
+ for (var _i = 8; _i < arguments.length; _i++) {
281
+ args_1[_i - 8] = arguments[_i];
282
+ }
283
+ return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
260
284
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
285
+ if (options === void 0) { options = {}; }
261
286
  return __generator(this, function (_a) {
262
287
  switch (_a.label) {
263
288
  case 0:
@@ -321,10 +346,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
321
346
  * @param {*} [options] Override http request option.
322
347
  * @throws {RequiredError}
323
348
  */
324
- updateDocxTemplate: function (code, sharedUpdateDocxTemplateRequestDto, authorization, options) {
325
- if (options === void 0) { options = {}; }
326
- return __awaiter(_this, void 0, void 0, function () {
349
+ updateDocxTemplate: function (code_1, sharedUpdateDocxTemplateRequestDto_1, authorization_1) {
350
+ var args_1 = [];
351
+ for (var _i = 3; _i < arguments.length; _i++) {
352
+ args_1[_i - 3] = arguments[_i];
353
+ }
354
+ return __awaiter(_this, __spreadArray([code_1, sharedUpdateDocxTemplateRequestDto_1, authorization_1], args_1, true), void 0, function (code, sharedUpdateDocxTemplateRequestDto, authorization, options) {
327
355
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
356
+ if (options === void 0) { options = {}; }
328
357
  return __generator(this, function (_a) {
329
358
  switch (_a.label) {
330
359
  case 0:
@@ -373,10 +402,14 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
373
402
  * @param {*} [options] Override http request option.
374
403
  * @throws {RequiredError}
375
404
  */
376
- uploadDocxTemplate: function (uploadDocxTemplateRequestDto, authorization, options) {
377
- if (options === void 0) { options = {}; }
378
- return __awaiter(_this, void 0, void 0, function () {
405
+ uploadDocxTemplate: function (uploadDocxTemplateRequestDto_1, authorization_1) {
406
+ var args_1 = [];
407
+ for (var _i = 2; _i < arguments.length; _i++) {
408
+ args_1[_i - 2] = arguments[_i];
409
+ }
410
+ return __awaiter(_this, __spreadArray([uploadDocxTemplateRequestDto_1, authorization_1], args_1, true), void 0, function (uploadDocxTemplateRequestDto, authorization, options) {
379
411
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
412
+ if (options === void 0) { options = {}; }
380
413
  return __generator(this, function (_a) {
381
414
  switch (_a.label) {
382
415
  case 0:
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -104,10 +113,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
104
113
  * @param {*} [options] Override http request option.
105
114
  * @throws {RequiredError}
106
115
  */
107
- createLayout: function (createLayoutRequestDto, authorization, options) {
108
- if (options === void 0) { options = {}; }
109
- return __awaiter(_this, void 0, void 0, function () {
116
+ createLayout: function (createLayoutRequestDto_1, authorization_1) {
117
+ var args_1 = [];
118
+ for (var _i = 2; _i < arguments.length; _i++) {
119
+ args_1[_i - 2] = arguments[_i];
120
+ }
121
+ return __awaiter(_this, __spreadArray([createLayoutRequestDto_1, authorization_1], args_1, true), void 0, function (createLayoutRequestDto, authorization, options) {
110
122
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
+ if (options === void 0) { options = {}; }
111
124
  return __generator(this, function (_a) {
112
125
  switch (_a.label) {
113
126
  case 0:
@@ -153,10 +166,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
153
166
  * @param {*} [options] Override http request option.
154
167
  * @throws {RequiredError}
155
168
  */
156
- deleteLayout: function (id, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
169
+ deleteLayout: function (id_1, authorization_1) {
170
+ var args_1 = [];
171
+ for (var _i = 2; _i < arguments.length; _i++) {
172
+ args_1[_i - 2] = arguments[_i];
173
+ }
174
+ return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
159
175
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
+ if (options === void 0) { options = {}; }
160
177
  return __generator(this, function (_a) {
161
178
  switch (_a.label) {
162
179
  case 0:
@@ -202,10 +219,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
202
219
  * @param {*} [options] Override http request option.
203
220
  * @throws {RequiredError}
204
221
  */
205
- getLayout: function (id, id2, authorization, options) {
206
- if (options === void 0) { options = {}; }
207
- return __awaiter(_this, void 0, void 0, function () {
222
+ getLayout: function (id_1, id2_1, authorization_1) {
223
+ var args_1 = [];
224
+ for (var _i = 3; _i < arguments.length; _i++) {
225
+ args_1[_i - 3] = arguments[_i];
226
+ }
227
+ return __awaiter(_this, __spreadArray([id_1, id2_1, authorization_1], args_1, true), void 0, function (id, id2, authorization, options) {
208
228
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
+ if (options === void 0) { options = {}; }
209
230
  return __generator(this, function (_a) {
210
231
  switch (_a.label) {
211
232
  case 0:
@@ -261,10 +282,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
261
282
  * @param {*} [options] Override http request option.
262
283
  * @throws {RequiredError}
263
284
  */
264
- listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
265
- if (options === void 0) { options = {}; }
266
- return __awaiter(_this, void 0, void 0, function () {
285
+ listLayouts: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
286
+ var args_1 = [];
287
+ for (var _i = 8; _i < arguments.length; _i++) {
288
+ args_1[_i - 8] = arguments[_i];
289
+ }
290
+ return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
267
291
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
292
+ if (options === void 0) { options = {}; }
268
293
  return __generator(this, function (_a) {
269
294
  switch (_a.label) {
270
295
  case 0:
@@ -328,10 +353,14 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
328
353
  * @param {*} [options] Override http request option.
329
354
  * @throws {RequiredError}
330
355
  */
331
- updateLayout: function (id, updateLayoutRequestDto, authorization, options) {
332
- if (options === void 0) { options = {}; }
333
- return __awaiter(_this, void 0, void 0, function () {
356
+ updateLayout: function (id_1, updateLayoutRequestDto_1, authorization_1) {
357
+ var args_1 = [];
358
+ for (var _i = 3; _i < arguments.length; _i++) {
359
+ args_1[_i - 3] = arguments[_i];
360
+ }
361
+ return __awaiter(_this, __spreadArray([id_1, updateLayoutRequestDto_1, authorization_1], args_1, true), void 0, function (id, updateLayoutRequestDto, authorization, options) {
334
362
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
363
+ if (options === void 0) { options = {}; }
335
364
  return __generator(this, function (_a) {
336
365
  switch (_a.label) {
337
366
  case 0:
@@ -42,7 +42,7 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
42
42
  * @param {*} [options] Override http request option.
43
43
  * @throws {RequiredError}
44
44
  */
45
- downloadProductDocument: (productSlug: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
+ downloadProductDocument: (productSlug: string, code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
46
  /**
47
47
  * Get a product document. **Required Permissions** \"document-management.documents.view\"
48
48
  * @summary Retrieve the product document
@@ -105,7 +105,7 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
105
105
  * @param {*} [options] Override http request option.
106
106
  * @throws {RequiredError}
107
107
  */
108
- downloadProductDocument(productSlug: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentDownloadUrlResponseClass>>;
108
+ downloadProductDocument(productSlug: string, code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentDownloadUrlResponseClass>>;
109
109
  /**
110
110
  * Get a product document. **Required Permissions** \"document-management.documents.view\"
111
111
  * @summary Retrieve the product document
@@ -168,7 +168,7 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
168
168
  * @param {*} [options] Override http request option.
169
169
  * @throws {RequiredError}
170
170
  */
171
- downloadProductDocument(productSlug: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: any): AxiosPromise<GetProductDocumentDownloadUrlResponseClass>;
171
+ downloadProductDocument(productSlug: string, code: string, authorization?: string, contentDisposition?: "attachment" | "inline", options?: any): AxiosPromise<GetProductDocumentDownloadUrlResponseClass>;
172
172
  /**
173
173
  * Get a product document. **Required Permissions** \"document-management.documents.view\"
174
174
  * @summary Retrieve the product document
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -105,10 +114,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
105
114
  * @param {*} [options] Override http request option.
106
115
  * @throws {RequiredError}
107
116
  */
108
- deleteProductDocument: function (code, productSlug, authorization, options) {
109
- if (options === void 0) { options = {}; }
110
- return __awaiter(_this, void 0, void 0, function () {
117
+ deleteProductDocument: function (code_1, productSlug_1, authorization_1) {
118
+ var args_1 = [];
119
+ for (var _i = 3; _i < arguments.length; _i++) {
120
+ args_1[_i - 3] = arguments[_i];
121
+ }
122
+ return __awaiter(_this, __spreadArray([code_1, productSlug_1, authorization_1], args_1, true), void 0, function (code, productSlug, authorization, options) {
111
123
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
124
+ if (options === void 0) { options = {}; }
112
125
  return __generator(this, function (_a) {
113
126
  switch (_a.label) {
114
127
  case 0:
@@ -158,10 +171,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
158
171
  * @param {*} [options] Override http request option.
159
172
  * @throws {RequiredError}
160
173
  */
161
- downloadProductDocument: function (productSlug, code, authorization, contentDisposition, options) {
162
- if (options === void 0) { options = {}; }
163
- return __awaiter(_this, void 0, void 0, function () {
174
+ downloadProductDocument: function (productSlug_1, code_1, authorization_1, contentDisposition_1) {
175
+ var args_1 = [];
176
+ for (var _i = 4; _i < arguments.length; _i++) {
177
+ args_1[_i - 4] = arguments[_i];
178
+ }
179
+ return __awaiter(_this, __spreadArray([productSlug_1, code_1, authorization_1, contentDisposition_1], args_1, true), void 0, function (productSlug, code, authorization, contentDisposition, options) {
164
180
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
181
+ if (options === void 0) { options = {}; }
165
182
  return __generator(this, function (_a) {
166
183
  switch (_a.label) {
167
184
  case 0:
@@ -213,10 +230,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
213
230
  * @param {*} [options] Override http request option.
214
231
  * @throws {RequiredError}
215
232
  */
216
- getProductDocument: function (productSlug, code, authorization, options) {
217
- if (options === void 0) { options = {}; }
218
- return __awaiter(_this, void 0, void 0, function () {
233
+ getProductDocument: function (productSlug_1, code_1, authorization_1) {
234
+ var args_1 = [];
235
+ for (var _i = 3; _i < arguments.length; _i++) {
236
+ args_1[_i - 3] = arguments[_i];
237
+ }
238
+ return __awaiter(_this, __spreadArray([productSlug_1, code_1, authorization_1], args_1, true), void 0, function (productSlug, code, authorization, options) {
219
239
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
240
+ if (options === void 0) { options = {}; }
220
241
  return __generator(this, function (_a) {
221
242
  switch (_a.label) {
222
243
  case 0:
@@ -271,10 +292,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
271
292
  * @param {*} [options] Override http request option.
272
293
  * @throws {RequiredError}
273
294
  */
274
- listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
275
- if (options === void 0) { options = {}; }
276
- return __awaiter(_this, void 0, void 0, function () {
295
+ listProductDocuments: function (productSlug_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
296
+ var args_1 = [];
297
+ for (var _i = 9; _i < arguments.length; _i++) {
298
+ args_1[_i - 9] = arguments[_i];
299
+ }
300
+ return __awaiter(_this, __spreadArray([productSlug_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
277
301
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
302
+ if (options === void 0) { options = {}; }
278
303
  return __generator(this, function (_a) {
279
304
  switch (_a.label) {
280
305
  case 0:
@@ -341,10 +366,14 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
341
366
  * @param {*} [options] Override http request option.
342
367
  * @throws {RequiredError}
343
368
  */
344
- uploadProductDocument: function (productSlug, uploadProductDocumentRequestDto, authorization, options) {
345
- if (options === void 0) { options = {}; }
346
- return __awaiter(_this, void 0, void 0, function () {
369
+ uploadProductDocument: function (productSlug_1, uploadProductDocumentRequestDto_1, authorization_1) {
370
+ var args_1 = [];
371
+ for (var _i = 3; _i < arguments.length; _i++) {
372
+ args_1[_i - 3] = arguments[_i];
373
+ }
374
+ return __awaiter(_this, __spreadArray([productSlug_1, uploadProductDocumentRequestDto_1, authorization_1], args_1, true), void 0, function (productSlug, uploadProductDocumentRequestDto, authorization, options) {
347
375
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
376
+ if (options === void 0) { options = {}; }
348
377
  return __generator(this, function (_a) {
349
378
  switch (_a.label) {
350
379
  case 0:
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -104,10 +113,14 @@ var SearchKeywordsApiAxiosParamCreator = function (configuration) {
104
113
  * @param {*} [options] Override http request option.
105
114
  * @throws {RequiredError}
106
115
  */
107
- listSearchKeywords: function (searchText, authorization, options) {
108
- if (options === void 0) { options = {}; }
109
- return __awaiter(_this, void 0, void 0, function () {
116
+ listSearchKeywords: function (searchText_1, authorization_1) {
117
+ var args_1 = [];
118
+ for (var _i = 2; _i < arguments.length; _i++) {
119
+ args_1[_i - 2] = arguments[_i];
120
+ }
121
+ return __awaiter(_this, __spreadArray([searchText_1, authorization_1], args_1, true), void 0, function (searchText, authorization, options) {
110
122
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
+ if (options === void 0) { options = {}; }
111
124
  return __generator(this, function (_a) {
112
125
  switch (_a.label) {
113
126
  case 0:
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -110,10 +119,14 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
110
119
  * @param {*} [options] Override http request option.
111
120
  * @throws {RequiredError}
112
121
  */
113
- listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
114
- if (options === void 0) { options = {}; }
115
- return __awaiter(_this, void 0, void 0, function () {
122
+ listSearchableDocumentOwners: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
123
+ var args_1 = [];
124
+ for (var _i = 8; _i < arguments.length; _i++) {
125
+ args_1[_i - 8] = arguments[_i];
126
+ }
127
+ return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
116
128
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
129
+ if (options === void 0) { options = {}; }
117
130
  return __generator(this, function (_a) {
118
131
  switch (_a.label) {
119
132
  case 0:
@@ -28,7 +28,7 @@ export declare const SearchableDocumentsApiAxiosParamCreator: (configuration?: C
28
28
  * @param {*} [options] Override http request option.
29
29
  * @throws {RequiredError}
30
30
  */
31
- listSearchableDocuments: (searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
+ listSearchableDocuments: (searchText: string, ownerIds: string, authorization?: string, product?: "car" | "homeowner" | "household" | "privateLiability", options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
32
  };
33
33
  /**
34
34
  * SearchableDocumentsApi - functional programming interface
@@ -45,7 +45,7 @@ export declare const SearchableDocumentsApiFp: (configuration?: Configuration) =
45
45
  * @param {*} [options] Override http request option.
46
46
  * @throws {RequiredError}
47
47
  */
48
- listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>>;
48
+ listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: "car" | "homeowner" | "household" | "privateLiability", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>>;
49
49
  };
50
50
  /**
51
51
  * SearchableDocumentsApi - factory interface
@@ -62,7 +62,7 @@ export declare const SearchableDocumentsApiFactory: (configuration?: Configurati
62
62
  * @param {*} [options] Override http request option.
63
63
  * @throws {RequiredError}
64
64
  */
65
- listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: any): AxiosPromise<ListSearchableDocumentsResponseClass>;
65
+ listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: "car" | "homeowner" | "household" | "privateLiability", options?: any): AxiosPromise<ListSearchableDocumentsResponseClass>;
66
66
  };
67
67
  /**
68
68
  * Request parameters for listSearchableDocuments operation in SearchableDocumentsApi.
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -106,10 +115,14 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
106
115
  * @param {*} [options] Override http request option.
107
116
  * @throws {RequiredError}
108
117
  */
109
- listSearchableDocuments: function (searchText, ownerIds, authorization, product, options) {
110
- if (options === void 0) { options = {}; }
111
- return __awaiter(_this, void 0, void 0, function () {
118
+ listSearchableDocuments: function (searchText_1, ownerIds_1, authorization_1, product_1) {
119
+ var args_1 = [];
120
+ for (var _i = 4; _i < arguments.length; _i++) {
121
+ args_1[_i - 4] = arguments[_i];
122
+ }
123
+ return __awaiter(_this, __spreadArray([searchText_1, ownerIds_1, authorization_1, product_1], args_1, true), void 0, function (searchText, ownerIds, authorization, product, options) {
112
124
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
125
+ if (options === void 0) { options = {}; }
113
126
  return __generator(this, function (_a) {
114
127
  switch (_a.label) {
115
128
  case 0:
package/dist/base.js CHANGED
@@ -54,13 +54,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
54
54
  }) : function(o, v) {
55
55
  o["default"] = v;
56
56
  });
57
- var __importStar = (this && this.__importStar) || function (mod) {
58
- if (mod && mod.__esModule) return mod;
59
- var result = {};
60
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
61
- __setModuleDefault(result, mod);
62
- return result;
63
- };
57
+ var __importStar = (this && this.__importStar) || (function () {
58
+ var ownKeys = function(o) {
59
+ ownKeys = Object.getOwnPropertyNames || function (o) {
60
+ var ar = [];
61
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
62
+ return ar;
63
+ };
64
+ return ownKeys(o);
65
+ };
66
+ return function (mod) {
67
+ if (mod && mod.__esModule) return mod;
68
+ var result = {};
69
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
70
+ __setModuleDefault(result, mod);
71
+ return result;
72
+ };
73
+ })();
64
74
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
65
75
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
66
76
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -71,8 +81,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
71
81
  });
72
82
  };
73
83
  var __generator = (this && this.__generator) || function (thisArg, body) {
74
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
75
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
84
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
85
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
76
86
  function verb(n) { return function (v) { return step([n, v]); }; }
77
87
  function step(op) {
78
88
  if (f) throw new TypeError("Generator is already executing.");
@@ -101,7 +111,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
101
111
  return (mod && mod.__esModule) ? mod : { "default": mod };
102
112
  };
103
113
  Object.defineProperty(exports, "__esModule", { value: true });
104
- exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
114
+ exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
115
+ exports.resetRetry = resetRetry;
105
116
  var configuration_1 = require("./configuration");
106
117
  // Some imports not used depending on template conditions
107
118
  // @ts-ignore
@@ -132,13 +143,12 @@ var Environment;
132
143
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
144
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
145
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
- })(Environment = exports.Environment || (exports.Environment = {}));
146
+ })(Environment || (exports.Environment = Environment = {}));
136
147
  var _retry_count = 0;
137
148
  var _retry = null;
138
149
  function resetRetry() {
139
150
  _retry_count = 0;
140
151
  }
141
- exports.resetRetry = resetRetry;
142
152
  var NETWORK_ERROR_MESSAGE = "Network Error";
143
153
  /**
144
154
  *
@@ -162,9 +172,9 @@ var BaseAPI = /** @class */ (function () {
162
172
  }
163
173
  this.attachInterceptor(axios);
164
174
  }
165
- BaseAPI.prototype.initialize = function (env) {
166
- if (env === void 0) { env = Environment.Production; }
167
- return __awaiter(this, void 0, void 0, function () {
175
+ BaseAPI.prototype.initialize = function () {
176
+ return __awaiter(this, arguments, void 0, function (env) {
177
+ if (env === void 0) { env = Environment.Production; }
168
178
  return __generator(this, function (_a) {
169
179
  switch (_a.label) {
170
180
  case 0:
package/dist/common.d.ts CHANGED
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
63
63
  *
64
64
  * @export
65
65
  */
66
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
67
67
  /**
68
68
  * EMIL DocumentService
69
69
  * The EMIL DocumentService API description
package/dist/common.js CHANGED
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33
33
  });
34
34
  };
35
35
  var __generator = (this && this.__generator) || function (thisArg, body) {
36
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
37
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
36
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
37
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
38
38
  function verb(n) { return function (v) { return step([n, v]); }; }
39
39
  function step(op) {
40
40
  if (f) throw new TypeError("Generator is already executing.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk-node",
3
- "version": "1.39.0",
3
+ "version": "1.39.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,12 +18,12 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^0.27.2",
21
+ "axios": "^1.9.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
27
- "typescript": "^4.0"
26
+ "@types/node": "^22.15.18",
27
+ "typescript": "^5.8"
28
28
  }
29
29
  }
package/tsconfig.json CHANGED
@@ -5,6 +5,7 @@
5
5
  "module": "CommonJS",
6
6
  "noImplicitAny": true,
7
7
  "esModuleInterop": true,
8
+ "noImplicitOverride": true,
8
9
  "outDir": "dist",
9
10
  "rootDir": ".",
10
11
  "lib": [