@emilgroup/public-api-sdk 1.40.1-beta.21 → 1.40.1-beta.23

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 (72) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/address-completions-validations-api.ts +16 -6
  4. package/api/booking-funnels-api.ts +8 -3
  5. package/api/documents-api.ts +56 -21
  6. package/api/health-api.ts +1 -1
  7. package/api/ibanvalidator-api.ts +8 -3
  8. package/api/leads-api.ts +64 -24
  9. package/api/named-ranges-api.ts +8 -3
  10. package/api/notifications-api.ts +24 -9
  11. package/api/partners-api.ts +8 -3
  12. package/api/payments-setup-api.ts +60 -20
  13. package/api/product-versions-api.ts +32 -12
  14. package/api/products-api.ts +72 -27
  15. package/api/withdrawal-requests-api.ts +176 -0
  16. package/api.ts +2 -0
  17. package/base.ts +239 -43
  18. package/common.ts +3 -2
  19. package/configuration.ts +20 -0
  20. package/dist/api/address-completions-validations-api.d.ts +2 -2
  21. package/dist/api/address-completions-validations-api.js +22 -14
  22. package/dist/api/booking-funnels-api.d.ts +1 -1
  23. package/dist/api/booking-funnels-api.js +11 -7
  24. package/dist/api/documents-api.d.ts +7 -7
  25. package/dist/api/documents-api.js +93 -53
  26. package/dist/api/health-api.d.ts +1 -1
  27. package/dist/api/health-api.js +1 -1
  28. package/dist/api/ibanvalidator-api.d.ts +1 -1
  29. package/dist/api/ibanvalidator-api.js +15 -8
  30. package/dist/api/leads-api.d.ts +8 -8
  31. package/dist/api/leads-api.js +120 -64
  32. package/dist/api/named-ranges-api.d.ts +1 -1
  33. package/dist/api/named-ranges-api.js +11 -7
  34. package/dist/api/notifications-api.d.ts +3 -3
  35. package/dist/api/notifications-api.js +45 -24
  36. package/dist/api/partners-api.d.ts +1 -1
  37. package/dist/api/partners-api.js +15 -8
  38. package/dist/api/payments-setup-api.d.ts +4 -4
  39. package/dist/api/payments-setup-api.js +80 -40
  40. package/dist/api/product-versions-api.d.ts +4 -4
  41. package/dist/api/product-versions-api.js +56 -31
  42. package/dist/api/products-api.d.ts +9 -9
  43. package/dist/api/products-api.js +119 -68
  44. package/dist/api/withdrawal-requests-api.d.ts +97 -0
  45. package/dist/api/withdrawal-requests-api.js +231 -0
  46. package/dist/api.d.ts +1 -0
  47. package/dist/api.js +1 -0
  48. package/dist/base.d.ts +26 -0
  49. package/dist/base.js +243 -60
  50. package/dist/common.d.ts +1 -1
  51. package/dist/common.js +1 -0
  52. package/dist/configuration.d.ts +17 -0
  53. package/dist/configuration.js +2 -0
  54. package/dist/models/index.d.ts +5 -0
  55. package/dist/models/index.js +5 -0
  56. package/dist/models/inline-response400.d.ts +36 -0
  57. package/dist/models/inline-response400.js +15 -0
  58. package/dist/models/inline-response401.d.ts +30 -0
  59. package/dist/models/inline-response401.js +15 -0
  60. package/dist/models/submit-withdrawal-request-dto.d.ts +30 -0
  61. package/dist/models/submit-withdrawal-request-dto.js +15 -0
  62. package/dist/models/submit-withdrawal-request-response-class.d.ts +24 -0
  63. package/dist/models/submit-withdrawal-request-response-class.js +15 -0
  64. package/dist/models/withdrawal-request-error-response-class.d.ts +43 -0
  65. package/dist/models/withdrawal-request-error-response-class.js +22 -0
  66. package/models/index.ts +5 -0
  67. package/models/inline-response400.ts +42 -0
  68. package/models/inline-response401.ts +36 -0
  69. package/models/submit-withdrawal-request-dto.ts +36 -0
  70. package/models/submit-withdrawal-request-response-class.ts +30 -0
  71. package/models/withdrawal-request-error-response-class.ts +52 -0
  72. package/package.json +2 -2
@@ -211,7 +211,7 @@ export declare class AddressCompletionsValidationsApi extends BaseAPI {
211
211
  * @throws {RequiredError}
212
212
  * @memberof AddressCompletionsValidationsApi
213
213
  */
214
- listAddressCompletions(requestParameters: AddressCompletionsValidationsApiListAddressCompletionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddressCompletionResponseClass, any, {}>>;
214
+ listAddressCompletions(requestParameters: AddressCompletionsValidationsApiListAddressCompletionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddressCompletionResponseClass, any, {}, any>>;
215
215
  /**
216
216
  * This will return a response whether the provided address is valid or not.
217
217
  * @summary Retrieve the Address validation
@@ -220,5 +220,5 @@ export declare class AddressCompletionsValidationsApi extends BaseAPI {
220
220
  * @throws {RequiredError}
221
221
  * @memberof AddressCompletionsValidationsApi
222
222
  */
223
- validateAddress(requestParameters: AddressCompletionsValidationsApiValidateAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAddressResponseClass, any, {}>>;
223
+ validateAddress(requestParameters: AddressCompletionsValidationsApiValidateAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAddressResponseClass, any, {}, any>>;
224
224
  }
@@ -105,9 +105,10 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
105
105
  listAddressCompletions: function (partialAddress, authorization, country, limit, options) {
106
106
  if (options === void 0) { options = {}; }
107
107
  return __awaiter(_this, void 0, void 0, function () {
108
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
109
- return __generator(this, function (_a) {
110
- switch (_a.label) {
108
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
109
+ var _a;
110
+ return __generator(this, function (_b) {
111
+ switch (_b.label) {
111
112
  case 0:
112
113
  // verify required parameter 'partialAddress' is not null or undefined
113
114
  (0, common_1.assertParamExists)('listAddressCompletions', 'partialAddress', partialAddress);
@@ -126,7 +127,7 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
126
127
  case 1:
127
128
  // authentication bearer required
128
129
  // http bearer authentication required
129
- _a.sent();
130
+ _b.sent();
130
131
  if (partialAddress !== undefined) {
131
132
  localVarQueryParameter['partialAddress'] = partialAddress;
132
133
  }
@@ -136,8 +137,11 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
136
137
  if (limit !== undefined) {
137
138
  localVarQueryParameter['limit'] = limit;
138
139
  }
139
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
140
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
140
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
141
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
142
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
143
+ if (authorizationValue || authorizationKeepEmpty) {
144
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
141
145
  }
142
146
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
143
147
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -167,9 +171,10 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
167
171
  validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options) {
168
172
  if (options === void 0) { options = {}; }
169
173
  return __awaiter(_this, void 0, void 0, function () {
170
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
171
- return __generator(this, function (_a) {
172
- switch (_a.label) {
174
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
175
+ var _a;
176
+ return __generator(this, function (_b) {
177
+ switch (_b.label) {
173
178
  case 0:
174
179
  // verify required parameter 'city' is not null or undefined
175
180
  (0, common_1.assertParamExists)('validateAddress', 'city', city);
@@ -196,7 +201,7 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
196
201
  case 1:
197
202
  // authentication bearer required
198
203
  // http bearer authentication required
199
- _a.sent();
204
+ _b.sent();
200
205
  if (completeAddress !== undefined) {
201
206
  localVarQueryParameter['completeAddress'] = completeAddress;
202
207
  }
@@ -218,8 +223,11 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
218
223
  if (limit !== undefined) {
219
224
  localVarQueryParameter['limit'] = limit;
220
225
  }
221
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
222
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
226
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
227
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
228
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
229
+ if (authorizationValue || authorizationKeepEmpty) {
230
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
223
231
  }
224
232
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
225
233
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -356,7 +364,7 @@ var AddressCompletionsValidationsApi = /** @class */ (function (_super) {
356
364
  */
357
365
  AddressCompletionsValidationsApi.prototype.listAddressCompletions = function (requestParameters, options) {
358
366
  var _this = this;
359
- return (0, exports.AddressCompletionsValidationsApiFp)(this.configuration).listAddressCompletions(requestParameters.partialAddress, requestParameters.authorization, requestParameters.country, requestParameters.limit, options).then(function (request) { return request(_this.axios, _this.basePath); });
367
+ return (0, exports.AddressCompletionsValidationsApiFp)(this.configuration).listAddressCompletions(requestParameters.partialAddress, requestParameters.authorization, requestParameters.country, requestParameters.limit, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
360
368
  };
361
369
  /**
362
370
  * This will return a response whether the provided address is valid or not.
@@ -368,7 +376,7 @@ var AddressCompletionsValidationsApi = /** @class */ (function (_super) {
368
376
  */
369
377
  AddressCompletionsValidationsApi.prototype.validateAddress = function (requestParameters, options) {
370
378
  var _this = this;
371
- return (0, exports.AddressCompletionsValidationsApiFp)(this.configuration).validateAddress(requestParameters.city, requestParameters.country, requestParameters.postalCode, requestParameters.street, requestParameters.houseNumber, requestParameters.authorization, requestParameters.completeAddress, requestParameters.limit, options).then(function (request) { return request(_this.axios, _this.basePath); });
379
+ return (0, exports.AddressCompletionsValidationsApiFp)(this.configuration).validateAddress(requestParameters.city, requestParameters.country, requestParameters.postalCode, requestParameters.street, requestParameters.houseNumber, requestParameters.authorization, requestParameters.completeAddress, requestParameters.limit, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
372
380
  };
373
381
  return AddressCompletionsValidationsApi;
374
382
  }(base_1.BaseAPI));
@@ -101,5 +101,5 @@ export declare class BookingFunnelsApi extends BaseAPI {
101
101
  * @throws {RequiredError}
102
102
  * @memberof BookingFunnelsApi
103
103
  */
104
- getBookingFunnel(requestParameters: BookingFunnelsApiGetBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingFunnelResponseClass, any, {}>>;
104
+ getBookingFunnel(requestParameters: BookingFunnelsApiGetBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingFunnelResponseClass, any, {}, any>>;
105
105
  }
@@ -104,9 +104,10 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
104
104
  getBookingFunnel: function (code, authorization, language, options) {
105
105
  if (options === void 0) { options = {}; }
106
106
  return __awaiter(_this, void 0, void 0, function () {
107
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
108
- return __generator(this, function (_a) {
109
- switch (_a.label) {
107
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
108
+ var _a;
109
+ return __generator(this, function (_b) {
110
+ switch (_b.label) {
110
111
  case 0:
111
112
  // verify required parameter 'code' is not null or undefined
112
113
  (0, common_1.assertParamExists)('getBookingFunnel', 'code', code);
@@ -126,12 +127,15 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
126
127
  case 1:
127
128
  // authentication bearer required
128
129
  // http bearer authentication required
129
- _a.sent();
130
+ _b.sent();
130
131
  if (language !== undefined) {
131
132
  localVarQueryParameter['language'] = language;
132
133
  }
133
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
134
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
135
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
136
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
137
+ if (authorizationValue || authorizationKeepEmpty) {
138
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
135
139
  }
136
140
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
141
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -222,7 +226,7 @@ var BookingFunnelsApi = /** @class */ (function (_super) {
222
226
  */
223
227
  BookingFunnelsApi.prototype.getBookingFunnel = function (requestParameters, options) {
224
228
  var _this = this;
225
- return (0, exports.BookingFunnelsApiFp)(this.configuration).getBookingFunnel(requestParameters.code, requestParameters.authorization, requestParameters.language, options).then(function (request) { return request(_this.axios, _this.basePath); });
229
+ return (0, exports.BookingFunnelsApiFp)(this.configuration).getBookingFunnel(requestParameters.code, requestParameters.authorization, requestParameters.language, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
226
230
  };
227
231
  return BookingFunnelsApi;
228
232
  }(base_1.BaseAPI));
@@ -500,7 +500,7 @@ export declare class DocumentsApi extends BaseAPI {
500
500
  * @throws {RequiredError}
501
501
  * @memberof DocumentsApi
502
502
  */
503
- createTemporaryDocument(requestParameters: DocumentsApiCreateTemporaryDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
503
+ createTemporaryDocument(requestParameters: DocumentsApiCreateTemporaryDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
504
504
  /**
505
505
  * This will delete a document for a lead by lead code and document code.Documents which were created within last 24 hours can be deleted.
506
506
  * @summary Delete a document
@@ -509,7 +509,7 @@ export declare class DocumentsApi extends BaseAPI {
509
509
  * @throws {RequiredError}
510
510
  * @memberof DocumentsApi
511
511
  */
512
- deleteDocuments(requestParameters: DocumentsApiDeleteDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
512
+ deleteDocuments(requestParameters: DocumentsApiDeleteDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
513
513
  /**
514
514
  * Retrieves the details of the specific document that was previously created. Supply the unique document code that was returned when you created it and Emil Api will return the corresponding document file to download.
515
515
  * @summary Download a document
@@ -518,7 +518,7 @@ export declare class DocumentsApi extends BaseAPI {
518
518
  * @throws {RequiredError}
519
519
  * @memberof DocumentsApi
520
520
  */
521
- downloadDocument(requestParameters: DocumentsApiDownloadDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
521
+ downloadDocument(requestParameters: DocumentsApiDownloadDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
522
522
  /**
523
523
  *
524
524
  * @summary Get pre-signed url for downloading product document
@@ -527,7 +527,7 @@ export declare class DocumentsApi extends BaseAPI {
527
527
  * @throws {RequiredError}
528
528
  * @memberof DocumentsApi
529
529
  */
530
- downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any, {}>>;
530
+ downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any, {}, any>>;
531
531
  /**
532
532
  * 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.
533
533
  * @summary List documents
@@ -536,7 +536,7 @@ export declare class DocumentsApi extends BaseAPI {
536
536
  * @throws {RequiredError}
537
537
  * @memberof DocumentsApi
538
538
  */
539
- listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any, {}>>;
539
+ listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any, {}, any>>;
540
540
  /**
541
541
  * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
542
542
  * @summary List product documents
@@ -545,7 +545,7 @@ export declare class DocumentsApi extends BaseAPI {
545
545
  * @throws {RequiredError}
546
546
  * @memberof DocumentsApi
547
547
  */
548
- listProductDocuments(requestParameters: DocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}>>;
548
+ listProductDocuments(requestParameters: DocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}, any>>;
549
549
  /**
550
550
  * This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days.
551
551
  * @summary Upload documents using pre-signed URL
@@ -554,5 +554,5 @@ export declare class DocumentsApi extends BaseAPI {
554
554
  * @throws {RequiredError}
555
555
  * @memberof DocumentsApi
556
556
  */
557
- preSignedPost(requestParameters: DocumentsApiPreSignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
557
+ preSignedPost(requestParameters: DocumentsApiPreSignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}, any>>;
558
558
  }
@@ -103,9 +103,10 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
103
103
  createTemporaryDocument: function (createDocumentRequestDto, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
+ var _a;
108
+ return __generator(this, function (_b) {
109
+ switch (_b.label) {
109
110
  case 0:
110
111
  // verify required parameter 'createDocumentRequestDto' is not null or undefined
111
112
  (0, common_1.assertParamExists)('createTemporaryDocument', 'createDocumentRequestDto', createDocumentRequestDto);
@@ -120,13 +121,19 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
120
121
  localVarQueryParameter = {};
121
122
  // authentication bearer required
122
123
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
126
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
127
+ ];
124
128
  case 1:
125
129
  // authentication bearer required
126
130
  // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
+ _b.sent();
132
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
133
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
134
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
135
+ if (authorizationValue || authorizationKeepEmpty) {
136
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
130
137
  }
131
138
  localVarHeaderParameter['Content-Type'] = 'application/json';
132
139
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -153,9 +160,10 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
153
160
  deleteDocuments: function (leadCode, code, authorization, options) {
154
161
  if (options === void 0) { options = {}; }
155
162
  return __awaiter(_this, void 0, void 0, function () {
156
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
157
- return __generator(this, function (_a) {
158
- switch (_a.label) {
163
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
164
+ var _a;
165
+ return __generator(this, function (_b) {
166
+ switch (_b.label) {
159
167
  case 0:
160
168
  // verify required parameter 'leadCode' is not null or undefined
161
169
  (0, common_1.assertParamExists)('deleteDocuments', 'leadCode', leadCode);
@@ -174,13 +182,19 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
174
182
  localVarQueryParameter = {};
175
183
  // authentication bearer required
176
184
  // http bearer authentication required
177
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
185
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
186
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
187
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
188
+ ];
178
189
  case 1:
179
190
  // authentication bearer required
180
191
  // http bearer authentication required
181
- _a.sent();
182
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
192
+ _b.sent();
193
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
194
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
195
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
196
+ if (authorizationValue || authorizationKeepEmpty) {
197
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
184
198
  }
185
199
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
200
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -204,9 +218,10 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
204
218
  downloadDocument: function (code, authorization, options) {
205
219
  if (options === void 0) { options = {}; }
206
220
  return __awaiter(_this, void 0, void 0, function () {
207
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
208
- return __generator(this, function (_a) {
209
- switch (_a.label) {
221
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
222
+ var _a;
223
+ return __generator(this, function (_b) {
224
+ switch (_b.label) {
210
225
  case 0:
211
226
  // verify required parameter 'code' is not null or undefined
212
227
  (0, common_1.assertParamExists)('downloadDocument', 'code', code);
@@ -222,13 +237,19 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
222
237
  localVarQueryParameter = {};
223
238
  // authentication bearer required
224
239
  // http bearer authentication required
225
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
240
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
241
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
242
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
243
+ ];
226
244
  case 1:
227
245
  // authentication bearer required
228
246
  // http bearer authentication required
229
- _a.sent();
230
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
231
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
247
+ _b.sent();
248
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
249
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
250
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
251
+ if (authorizationValue || authorizationKeepEmpty) {
252
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
232
253
  }
233
254
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
234
255
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -254,9 +275,10 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
254
275
  downloadProductDocumentUrl: function (productCode, code, authorization, contentDisposition, options) {
255
276
  if (options === void 0) { options = {}; }
256
277
  return __awaiter(_this, void 0, void 0, function () {
257
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
258
- return __generator(this, function (_a) {
259
- switch (_a.label) {
278
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
279
+ var _a;
280
+ return __generator(this, function (_b) {
281
+ switch (_b.label) {
260
282
  case 0:
261
283
  // verify required parameter 'productCode' is not null or undefined
262
284
  (0, common_1.assertParamExists)('downloadProductDocumentUrl', 'productCode', productCode);
@@ -279,12 +301,15 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
279
301
  case 1:
280
302
  // authentication bearer required
281
303
  // http bearer authentication required
282
- _a.sent();
304
+ _b.sent();
283
305
  if (contentDisposition !== undefined) {
284
306
  localVarQueryParameter['contentDisposition'] = contentDisposition;
285
307
  }
286
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
287
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
308
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
309
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
310
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
311
+ if (authorizationValue || authorizationKeepEmpty) {
312
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
288
313
  }
289
314
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
290
315
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -312,9 +337,10 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
312
337
  listDocuments: function (filter, authorization, pageSize, pageToken, order, expand, options) {
313
338
  if (options === void 0) { options = {}; }
314
339
  return __awaiter(_this, void 0, void 0, function () {
315
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
316
- return __generator(this, function (_a) {
317
- switch (_a.label) {
340
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
341
+ var _a;
342
+ return __generator(this, function (_b) {
343
+ switch (_b.label) {
318
344
  case 0:
319
345
  // verify required parameter 'filter' is not null or undefined
320
346
  (0, common_1.assertParamExists)('listDocuments', 'filter', filter);
@@ -333,7 +359,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
333
359
  case 1:
334
360
  // authentication bearer required
335
361
  // http bearer authentication required
336
- _a.sent();
362
+ _b.sent();
337
363
  if (pageSize !== undefined) {
338
364
  localVarQueryParameter['pageSize'] = pageSize;
339
365
  }
@@ -349,8 +375,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
349
375
  if (expand !== undefined) {
350
376
  localVarQueryParameter['expand'] = expand;
351
377
  }
352
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
353
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
378
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
379
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
380
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
381
+ if (authorizationValue || authorizationKeepEmpty) {
382
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
354
383
  }
355
384
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
385
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -381,9 +410,10 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
381
410
  listProductDocuments: function (productCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
382
411
  if (options === void 0) { options = {}; }
383
412
  return __awaiter(_this, void 0, void 0, function () {
384
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
385
- return __generator(this, function (_a) {
386
- switch (_a.label) {
413
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
414
+ var _a;
415
+ return __generator(this, function (_b) {
416
+ switch (_b.label) {
387
417
  case 0:
388
418
  // verify required parameter 'productCode' is not null or undefined
389
419
  (0, common_1.assertParamExists)('listProductDocuments', 'productCode', productCode);
@@ -403,7 +433,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
403
433
  case 1:
404
434
  // authentication bearer required
405
435
  // http bearer authentication required
406
- _a.sent();
436
+ _b.sent();
407
437
  if (pageSize !== undefined) {
408
438
  localVarQueryParameter['pageSize'] = pageSize;
409
439
  }
@@ -425,8 +455,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
425
455
  if (filters !== undefined) {
426
456
  localVarQueryParameter['filters'] = filters;
427
457
  }
428
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
429
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
458
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
459
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
460
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
461
+ if (authorizationValue || authorizationKeepEmpty) {
462
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
430
463
  }
431
464
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
432
465
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -450,9 +483,10 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
450
483
  preSignedPost: function (createPresignedPostRequestDto, authorization, options) {
451
484
  if (options === void 0) { options = {}; }
452
485
  return __awaiter(_this, void 0, void 0, function () {
453
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
454
- return __generator(this, function (_a) {
455
- switch (_a.label) {
486
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
487
+ var _a;
488
+ return __generator(this, function (_b) {
489
+ switch (_b.label) {
456
490
  case 0:
457
491
  // verify required parameter 'createPresignedPostRequestDto' is not null or undefined
458
492
  (0, common_1.assertParamExists)('preSignedPost', 'createPresignedPostRequestDto', createPresignedPostRequestDto);
@@ -467,13 +501,19 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
467
501
  localVarQueryParameter = {};
468
502
  // authentication bearer required
469
503
  // http bearer authentication required
470
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
504
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
505
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
506
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
507
+ ];
471
508
  case 1:
472
509
  // authentication bearer required
473
510
  // http bearer authentication required
474
- _a.sent();
475
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
476
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
511
+ _b.sent();
512
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
513
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
514
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
515
+ if (authorizationValue || authorizationKeepEmpty) {
516
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
477
517
  }
478
518
  localVarHeaderParameter['Content-Type'] = 'application/json';
479
519
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -784,7 +824,7 @@ var DocumentsApi = /** @class */ (function (_super) {
784
824
  */
785
825
  DocumentsApi.prototype.createTemporaryDocument = function (requestParameters, options) {
786
826
  var _this = this;
787
- return (0, exports.DocumentsApiFp)(this.configuration).createTemporaryDocument(requestParameters.createDocumentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
827
+ return (0, exports.DocumentsApiFp)(this.configuration).createTemporaryDocument(requestParameters.createDocumentRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
788
828
  };
789
829
  /**
790
830
  * This will delete a document for a lead by lead code and document code.Documents which were created within last 24 hours can be deleted.
@@ -796,7 +836,7 @@ var DocumentsApi = /** @class */ (function (_super) {
796
836
  */
797
837
  DocumentsApi.prototype.deleteDocuments = function (requestParameters, options) {
798
838
  var _this = this;
799
- return (0, exports.DocumentsApiFp)(this.configuration).deleteDocuments(requestParameters.leadCode, requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
839
+ return (0, exports.DocumentsApiFp)(this.configuration).deleteDocuments(requestParameters.leadCode, requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
800
840
  };
801
841
  /**
802
842
  * Retrieves the details of the specific document that was previously created. Supply the unique document code that was returned when you created it and Emil Api will return the corresponding document file to download.
@@ -808,7 +848,7 @@ var DocumentsApi = /** @class */ (function (_super) {
808
848
  */
809
849
  DocumentsApi.prototype.downloadDocument = function (requestParameters, options) {
810
850
  var _this = this;
811
- return (0, exports.DocumentsApiFp)(this.configuration).downloadDocument(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
851
+ return (0, exports.DocumentsApiFp)(this.configuration).downloadDocument(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
812
852
  };
813
853
  /**
814
854
  *
@@ -820,7 +860,7 @@ var DocumentsApi = /** @class */ (function (_super) {
820
860
  */
821
861
  DocumentsApi.prototype.downloadProductDocumentUrl = function (requestParameters, options) {
822
862
  var _this = this;
823
- return (0, exports.DocumentsApiFp)(this.configuration).downloadProductDocumentUrl(requestParameters.productCode, requestParameters.code, requestParameters.authorization, requestParameters.contentDisposition, options).then(function (request) { return request(_this.axios, _this.basePath); });
863
+ return (0, exports.DocumentsApiFp)(this.configuration).downloadProductDocumentUrl(requestParameters.productCode, requestParameters.code, requestParameters.authorization, requestParameters.contentDisposition, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
824
864
  };
825
865
  /**
826
866
  * 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.
@@ -832,7 +872,7 @@ var DocumentsApi = /** @class */ (function (_super) {
832
872
  */
833
873
  DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
834
874
  var _this = this;
835
- return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.filter, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
875
+ return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.filter, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.order, requestParameters.expand, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
836
876
  };
837
877
  /**
838
878
  * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -844,7 +884,7 @@ var DocumentsApi = /** @class */ (function (_super) {
844
884
  */
845
885
  DocumentsApi.prototype.listProductDocuments = function (requestParameters, options) {
846
886
  var _this = this;
847
- return (0, exports.DocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
887
+ return (0, exports.DocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
848
888
  };
849
889
  /**
850
890
  * This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days.
@@ -856,7 +896,7 @@ var DocumentsApi = /** @class */ (function (_super) {
856
896
  */
857
897
  DocumentsApi.prototype.preSignedPost = function (requestParameters, options) {
858
898
  var _this = this;
859
- return (0, exports.DocumentsApiFp)(this.configuration).preSignedPost(requestParameters.createPresignedPostRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
899
+ return (0, exports.DocumentsApiFp)(this.configuration).preSignedPost(requestParameters.createPresignedPostRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
860
900
  };
861
901
  return DocumentsApi;
862
902
  }(base_1.BaseAPI));
@@ -62,5 +62,5 @@ export declare class HealthApi extends BaseAPI {
62
62
  * @throws {RequiredError}
63
63
  * @memberof HealthApi
64
64
  */
65
- check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
65
+ check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}, any>>;
66
66
  }
@@ -189,7 +189,7 @@ var HealthApi = /** @class */ (function (_super) {
189
189
  */
190
190
  HealthApi.prototype.check = function (options) {
191
191
  var _this = this;
192
- return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
192
+ return (0, exports.HealthApiFp)(this.configuration).check(this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
193
193
  };
194
194
  return HealthApi;
195
195
  }(base_1.BaseAPI));
@@ -93,5 +93,5 @@ export declare class IBANValidatorApi extends BaseAPI {
93
93
  * @throws {RequiredError}
94
94
  * @memberof IBANValidatorApi
95
95
  */
96
- validateIban(requestParameters: IBANValidatorApiValidateIbanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateIbanResponseClass, any, {}>>;
96
+ validateIban(requestParameters: IBANValidatorApiValidateIbanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateIbanResponseClass, any, {}, any>>;
97
97
  }