@emilgroup/public-api-sdk-node 1.40.1-beta.1 → 1.40.1-beta.11

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 (43) hide show
  1. package/.openapi-generator/FILES +5 -1
  2. package/README.md +2 -2
  3. package/api/address-completions-validations-api.ts +20 -6
  4. package/api/documents-api.ts +10 -8
  5. package/api/{default-api.ts → health-api.ts} +13 -13
  6. package/api/leads-api.ts +98 -10
  7. package/api/partners-api.ts +169 -0
  8. package/api/payments-setup-api.ts +113 -11
  9. package/api.ts +4 -2
  10. package/base.ts +1 -0
  11. package/dist/api/address-completions-validations-api.d.ts +12 -3
  12. package/dist/api/address-completions-validations-api.js +12 -6
  13. package/dist/api/documents-api.d.ts +9 -8
  14. package/dist/api/documents-api.js +3 -3
  15. package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
  16. package/dist/api/{default-api.js → health-api.js} +22 -22
  17. package/dist/api/leads-api.d.ts +52 -6
  18. package/dist/api/leads-api.js +94 -7
  19. package/dist/api/partners-api.d.ts +97 -0
  20. package/dist/api/partners-api.js +228 -0
  21. package/dist/api/payments-setup-api.d.ts +62 -7
  22. package/dist/api/payments-setup-api.js +100 -7
  23. package/dist/api.d.ts +2 -1
  24. package/dist/api.js +2 -1
  25. package/dist/base.d.ts +2 -1
  26. package/dist/base.js +1 -0
  27. package/dist/models/deductible-class.d.ts +6 -0
  28. package/dist/models/get-product-document-download-url-request-rest-dto.d.ts +29 -0
  29. package/dist/models/get-product-document-download-url-request-rest-dto.js +20 -0
  30. package/dist/models/index.d.ts +3 -0
  31. package/dist/models/index.js +3 -0
  32. package/dist/models/tariff-category-summary-class.d.ts +0 -7
  33. package/dist/models/validate-partner-request-dto.d.ts +30 -0
  34. package/dist/models/validate-partner-request-dto.js +15 -0
  35. package/dist/models/validate-partner-response-class.d.ts +30 -0
  36. package/dist/models/validate-partner-response-class.js +15 -0
  37. package/models/deductible-class.ts +6 -0
  38. package/models/get-product-document-download-url-request-rest-dto.ts +38 -0
  39. package/models/index.ts +3 -0
  40. package/models/tariff-category-summary-class.ts +0 -7
  41. package/models/validate-partner-request-dto.ts +36 -0
  42. package/models/validate-partner-response-class.ts +36 -0
  43. package/package.json +1 -1
@@ -95,15 +95,61 @@ export const PaymentsSetupApiAxiosParamCreator = function (configuration?: Confi
95
95
  /**
96
96
  * This will send the customer the public key to load the payment form and complete the payment setup.
97
97
  * @summary Get public key and psp
98
+ * @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
99
+ * @param {string} [authorization] Bearer Token
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ getPublicPSPConfig: async (idempotencyKey?: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
104
+ const localVarPath = `/publicapi/v1/payment-setup/get-psp-config`;
105
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
107
+ let baseOptions;
108
+ let baseAccessToken;
109
+ if (configuration) {
110
+ baseOptions = configuration.baseOptions;
111
+ baseAccessToken = configuration.accessToken;
112
+ }
113
+
114
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
115
+ const localVarHeaderParameter = {} as any;
116
+ const localVarQueryParameter = {} as any;
117
+
118
+ // authentication bearer required
119
+ // http bearer authentication required
120
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
121
+
122
+ if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
123
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
124
+ }
125
+
126
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
127
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
128
+ }
129
+
130
+
131
+
132
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
133
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
135
+
136
+ return {
137
+ url: toPathString(localVarUrlObj),
138
+ options: localVarRequestOptions,
139
+ };
140
+ },
141
+ /**
142
+ * Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
143
+ * @summary Retrieve the psp-settings
98
144
  * @param {string} productSlug
99
145
  * @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
100
146
  * @param {string} [authorization] Bearer Token
101
147
  * @param {*} [options] Override http request option.
102
148
  * @throws {RequiredError}
103
149
  */
104
- getPublicPSPConfig: async (productSlug: string, idempotencyKey?: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
150
+ getPublicPSPConfigForProduct: async (productSlug: string, idempotencyKey?: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
105
151
  // verify required parameter 'productSlug' is not null or undefined
106
- assertParamExists('getPublicPSPConfig', 'productSlug', productSlug)
152
+ assertParamExists('getPublicPSPConfigForProduct', 'productSlug', productSlug)
107
153
  const localVarPath = `/publicapi/v1/payment-setup/get-psp-config/{productSlug}`
108
154
  .replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
109
155
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -220,14 +266,26 @@ export const PaymentsSetupApiFp = function(configuration?: Configuration) {
220
266
  /**
221
267
  * This will send the customer the public key to load the payment form and complete the payment setup.
222
268
  * @summary Get public key and psp
269
+ * @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
270
+ * @param {string} [authorization] Bearer Token
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ async getPublicPSPConfig(idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>> {
275
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicPSPConfig(idempotencyKey, authorization, options);
276
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
277
+ },
278
+ /**
279
+ * Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
280
+ * @summary Retrieve the psp-settings
223
281
  * @param {string} productSlug
224
282
  * @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
225
283
  * @param {string} [authorization] Bearer Token
226
284
  * @param {*} [options] Override http request option.
227
285
  * @throws {RequiredError}
228
286
  */
229
- async getPublicPSPConfig(productSlug: string, idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>> {
230
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicPSPConfig(productSlug, idempotencyKey, authorization, options);
287
+ async getPublicPSPConfigForProduct(productSlug: string, idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>> {
288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options);
231
289
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
232
290
  },
233
291
  /**
@@ -268,14 +326,25 @@ export const PaymentsSetupApiFactory = function (configuration?: Configuration,
268
326
  /**
269
327
  * This will send the customer the public key to load the payment form and complete the payment setup.
270
328
  * @summary Get public key and psp
329
+ * @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
330
+ * @param {string} [authorization] Bearer Token
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ getPublicPSPConfig(idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass> {
335
+ return localVarFp.getPublicPSPConfig(idempotencyKey, authorization, options).then((request) => request(axios, basePath));
336
+ },
337
+ /**
338
+ * Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
339
+ * @summary Retrieve the psp-settings
271
340
  * @param {string} productSlug
272
341
  * @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
273
342
  * @param {string} [authorization] Bearer Token
274
343
  * @param {*} [options] Override http request option.
275
344
  * @throws {RequiredError}
276
345
  */
277
- getPublicPSPConfig(productSlug: string, idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass> {
278
- return localVarFp.getPublicPSPConfig(productSlug, idempotencyKey, authorization, options).then((request) => request(axios, basePath));
346
+ getPublicPSPConfigForProduct(productSlug: string, idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass> {
347
+ return localVarFp.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options).then((request) => request(axios, basePath));
279
348
  },
280
349
  /**
281
350
  * This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
@@ -327,23 +396,44 @@ export interface PaymentsSetupApiCompletePaymentSetupRequest {
327
396
  */
328
397
  export interface PaymentsSetupApiGetPublicPSPConfigRequest {
329
398
  /**
330
- *
399
+ * An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
400
+ * @type {string}
401
+ * @memberof PaymentsSetupApiGetPublicPSPConfig
402
+ */
403
+ readonly idempotencyKey?: string
404
+
405
+ /**
406
+ * Bearer Token
331
407
  * @type {string}
332
408
  * @memberof PaymentsSetupApiGetPublicPSPConfig
333
409
  */
410
+ readonly authorization?: string
411
+ }
412
+
413
+ /**
414
+ * Request parameters for getPublicPSPConfigForProduct operation in PaymentsSetupApi.
415
+ * @export
416
+ * @interface PaymentsSetupApiGetPublicPSPConfigForProductRequest
417
+ */
418
+ export interface PaymentsSetupApiGetPublicPSPConfigForProductRequest {
419
+ /**
420
+ *
421
+ * @type {string}
422
+ * @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
423
+ */
334
424
  readonly productSlug: string
335
425
 
336
426
  /**
337
427
  * An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
338
428
  * @type {string}
339
- * @memberof PaymentsSetupApiGetPublicPSPConfig
429
+ * @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
340
430
  */
341
431
  readonly idempotencyKey?: string
342
432
 
343
433
  /**
344
434
  * Bearer Token
345
435
  * @type {string}
346
- * @memberof PaymentsSetupApiGetPublicPSPConfig
436
+ * @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
347
437
  */
348
438
  readonly authorization?: string
349
439
  }
@@ -403,8 +493,20 @@ export class PaymentsSetupApi extends BaseAPI {
403
493
  * @throws {RequiredError}
404
494
  * @memberof PaymentsSetupApi
405
495
  */
406
- public getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig) {
407
- return PaymentsSetupApiFp(this.configuration).getPublicPSPConfig(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
496
+ public getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest = {}, options?: AxiosRequestConfig) {
497
+ return PaymentsSetupApiFp(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
498
+ }
499
+
500
+ /**
501
+ * Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
502
+ * @summary Retrieve the psp-settings
503
+ * @param {PaymentsSetupApiGetPublicPSPConfigForProductRequest} requestParameters Request parameters.
504
+ * @param {*} [options] Override http request option.
505
+ * @throws {RequiredError}
506
+ * @memberof PaymentsSetupApi
507
+ */
508
+ public getPublicPSPConfigForProduct(requestParameters: PaymentsSetupApiGetPublicPSPConfigForProductRequest, options?: AxiosRequestConfig) {
509
+ return PaymentsSetupApiFp(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
408
510
  }
409
511
 
410
512
  /**
package/api.ts CHANGED
@@ -26,11 +26,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { AddressCompletionsValidationsApi } from './api';
28
28
  import { BookingFunnelsApi } from './api';
29
- import { DefaultApi } from './api';
30
29
  import { DocumentsApi } from './api';
30
+ import { HealthApi } from './api';
31
31
  import { LeadsApi } from './api';
32
32
  import { NamedRangesApi } from './api';
33
33
  import { NotificationsApi } from './api';
34
+ import { PartnersApi } from './api';
34
35
  import { PaymentsSetupApi } from './api';
35
36
  import { ProductVersionsApi } from './api';
36
37
  import { ProductsApi } from './api';
@@ -38,11 +39,12 @@ import { ProductsApi } from './api';
38
39
 
39
40
  export * from './api/address-completions-validations-api';
40
41
  export * from './api/booking-funnels-api';
41
- export * from './api/default-api';
42
42
  export * from './api/documents-api';
43
+ export * from './api/health-api';
43
44
  export * from './api/leads-api';
44
45
  export * from './api/named-ranges-api';
45
46
  export * from './api/notifications-api';
47
+ export * from './api/partners-api';
46
48
  export * from './api/payments-setup-api';
47
49
  export * from './api/product-versions-api';
48
50
  export * from './api/products-api';
package/base.ts CHANGED
@@ -60,6 +60,7 @@ export enum Environment {
60
60
  Staging = 'https://apiv2-staging.emil.de',
61
61
  Development = 'https://apiv2-dev.emil.de',
62
62
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
63
+ StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
63
64
  }
64
65
 
65
66
  let _retry_count = 0
@@ -40,10 +40,11 @@ export declare const AddressCompletionsValidationsApiAxiosParamCreator: (configu
40
40
  * @param {string} houseNumber The house number of the address
41
41
  * @param {string} [authorization] Bearer Token
42
42
  * @param {string} [completeAddress] The complete address to validate
43
+ * @param {any} [limit]
43
44
  * @param {*} [options] Override http request option.
44
45
  * @throws {RequiredError}
45
46
  */
46
- validateAddress: (city: string, country: string, postalCode: string, street: string, houseNumber: string, authorization?: string, completeAddress?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ validateAddress: (city: string, country: string, postalCode: string, street: string, houseNumber: string, authorization?: string, completeAddress?: string, limit?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
48
  };
48
49
  /**
49
50
  * AddressCompletionsValidationsApi - functional programming interface
@@ -71,10 +72,11 @@ export declare const AddressCompletionsValidationsApiFp: (configuration?: Config
71
72
  * @param {string} houseNumber The house number of the address
72
73
  * @param {string} [authorization] Bearer Token
73
74
  * @param {string} [completeAddress] The complete address to validate
75
+ * @param {any} [limit]
74
76
  * @param {*} [options] Override http request option.
75
77
  * @throws {RequiredError}
76
78
  */
77
- validateAddress(city: string, country: string, postalCode: string, street: string, houseNumber: string, authorization?: string, completeAddress?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAddressResponseClass>>;
79
+ validateAddress(city: string, country: string, postalCode: string, street: string, houseNumber: string, authorization?: string, completeAddress?: string, limit?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAddressResponseClass>>;
78
80
  };
79
81
  /**
80
82
  * AddressCompletionsValidationsApi - factory interface
@@ -102,10 +104,11 @@ export declare const AddressCompletionsValidationsApiFactory: (configuration?: C
102
104
  * @param {string} houseNumber The house number of the address
103
105
  * @param {string} [authorization] Bearer Token
104
106
  * @param {string} [completeAddress] The complete address to validate
107
+ * @param {any} [limit]
105
108
  * @param {*} [options] Override http request option.
106
109
  * @throws {RequiredError}
107
110
  */
108
- validateAddress(city: string, country: string, postalCode: string, street: string, houseNumber: string, authorization?: string, completeAddress?: string, options?: any): AxiosPromise<ValidateAddressResponseClass>;
111
+ validateAddress(city: string, country: string, postalCode: string, street: string, houseNumber: string, authorization?: string, completeAddress?: string, limit?: any, options?: any): AxiosPromise<ValidateAddressResponseClass>;
109
112
  };
110
113
  /**
111
114
  * Request parameters for listAddressCompletions operation in AddressCompletionsValidationsApi.
@@ -186,6 +189,12 @@ export interface AddressCompletionsValidationsApiValidateAddressRequest {
186
189
  * @memberof AddressCompletionsValidationsApiValidateAddress
187
190
  */
188
191
  readonly completeAddress?: string;
192
+ /**
193
+ *
194
+ * @type {any}
195
+ * @memberof AddressCompletionsValidationsApiValidateAddress
196
+ */
197
+ readonly limit?: any;
189
198
  }
190
199
  /**
191
200
  * AddressCompletionsValidationsApi - object-oriented interface
@@ -164,10 +164,11 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
164
164
  * @param {string} houseNumber The house number of the address
165
165
  * @param {string} [authorization] Bearer Token
166
166
  * @param {string} [completeAddress] The complete address to validate
167
+ * @param {any} [limit]
167
168
  * @param {*} [options] Override http request option.
168
169
  * @throws {RequiredError}
169
170
  */
170
- validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, options) {
171
+ validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options) {
171
172
  if (options === void 0) { options = {}; }
172
173
  return __awaiter(_this, void 0, void 0, function () {
173
174
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -218,6 +219,9 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
218
219
  if (houseNumber !== undefined) {
219
220
  localVarQueryParameter['houseNumber'] = houseNumber;
220
221
  }
222
+ if (limit !== undefined) {
223
+ localVarQueryParameter['limit'] = limit;
224
+ }
221
225
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
222
226
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
223
227
  }
@@ -275,15 +279,16 @@ var AddressCompletionsValidationsApiFp = function (configuration) {
275
279
  * @param {string} houseNumber The house number of the address
276
280
  * @param {string} [authorization] Bearer Token
277
281
  * @param {string} [completeAddress] The complete address to validate
282
+ * @param {any} [limit]
278
283
  * @param {*} [options] Override http request option.
279
284
  * @throws {RequiredError}
280
285
  */
281
- validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, options) {
286
+ validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options) {
282
287
  return __awaiter(this, void 0, void 0, function () {
283
288
  var localVarAxiosArgs;
284
289
  return __generator(this, function (_a) {
285
290
  switch (_a.label) {
286
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.validateAddress(city, country, postalCode, street, houseNumber, authorization, completeAddress, options)];
291
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.validateAddress(city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options)];
287
292
  case 1:
288
293
  localVarAxiosArgs = _a.sent();
289
294
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -324,11 +329,12 @@ var AddressCompletionsValidationsApiFactory = function (configuration, basePath,
324
329
  * @param {string} houseNumber The house number of the address
325
330
  * @param {string} [authorization] Bearer Token
326
331
  * @param {string} [completeAddress] The complete address to validate
332
+ * @param {any} [limit]
327
333
  * @param {*} [options] Override http request option.
328
334
  * @throws {RequiredError}
329
335
  */
330
- validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, options) {
331
- return localVarFp.validateAddress(city, country, postalCode, street, houseNumber, authorization, completeAddress, options).then(function (request) { return request(axios, basePath); });
336
+ validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options) {
337
+ return localVarFp.validateAddress(city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options).then(function (request) { return request(axios, basePath); });
332
338
  },
333
339
  };
334
340
  };
@@ -366,7 +372,7 @@ var AddressCompletionsValidationsApi = /** @class */ (function (_super) {
366
372
  */
367
373
  AddressCompletionsValidationsApi.prototype.validateAddress = function (requestParameters, options) {
368
374
  var _this = this;
369
- return (0, exports.AddressCompletionsValidationsApiFp)(this.configuration).validateAddress(requestParameters.city, requestParameters.country, requestParameters.postalCode, requestParameters.street, requestParameters.houseNumber, requestParameters.authorization, requestParameters.completeAddress, options).then(function (request) { return request(_this.axios, _this.basePath); });
375
+ 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); });
370
376
  };
371
377
  return AddressCompletionsValidationsApi;
372
378
  }(base_1.BaseAPI));
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateDocumentRequestDto } from '../models';
16
16
  import { CreatePresignedPostRequestDto } from '../models';
17
17
  import { CreatePresignedPostResponseClass } from '../models';
18
+ import { GetProductDocumentDownloadUrlRequestRestDto } from '../models';
18
19
  import { GetProductDocumentDownloadUrlResponseClass } from '../models';
19
20
  import { ListDocumentsResponseClass } from '../models';
20
21
  import { ListProductDocumentsResponseClass } from '../models';
@@ -57,11 +58,11 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
57
58
  * @param {string} productCode
58
59
  * @param {string} code
59
60
  * @param {string} [authorization] Bearer Token
60
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
61
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
61
62
  * @param {*} [options] Override http request option.
62
63
  * @throws {RequiredError}
63
64
  */
64
- downloadProductDocumentUrl: (productCode: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ downloadProductDocumentUrl: (productCode: string, code: string, authorization?: string, contentDisposition?: GetProductDocumentDownloadUrlRequestRestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
66
  /**
66
67
  * 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.
67
68
  * @summary List documents
@@ -140,11 +141,11 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
140
141
  * @param {string} productCode
141
142
  * @param {string} code
142
143
  * @param {string} [authorization] Bearer Token
143
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
144
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
144
145
  * @param {*} [options] Override http request option.
145
146
  * @throws {RequiredError}
146
147
  */
147
- downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentDownloadUrlResponseClass>>;
148
+ downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, contentDisposition?: GetProductDocumentDownloadUrlRequestRestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentDownloadUrlResponseClass>>;
148
149
  /**
149
150
  * 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.
150
151
  * @summary List documents
@@ -223,11 +224,11 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
223
224
  * @param {string} productCode
224
225
  * @param {string} code
225
226
  * @param {string} [authorization] Bearer Token
226
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
227
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
227
228
  * @param {*} [options] Override http request option.
228
229
  * @throws {RequiredError}
229
230
  */
230
- downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: any): AxiosPromise<GetProductDocumentDownloadUrlResponseClass>;
231
+ downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, contentDisposition?: GetProductDocumentDownloadUrlRequestRestDto, options?: any): AxiosPromise<GetProductDocumentDownloadUrlResponseClass>;
231
232
  /**
232
233
  * 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.
233
234
  * @summary List documents
@@ -356,10 +357,10 @@ export interface DocumentsApiDownloadProductDocumentUrlRequest {
356
357
  readonly authorization?: string;
357
358
  /**
358
359
  * Content disposition override. Default will be depending on the document type.
359
- * @type {'attachment' | 'inline'}
360
+ * @type {GetProductDocumentDownloadUrlRequestRestDto}
360
361
  * @memberof DocumentsApiDownloadProductDocumentUrl
361
362
  */
362
- readonly contentDisposition?: 'attachment' | 'inline';
363
+ readonly contentDisposition?: GetProductDocumentDownloadUrlRequestRestDto;
363
364
  }
364
365
  /**
365
366
  * Request parameters for listDocuments operation in DocumentsApi.
@@ -251,7 +251,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
251
251
  * @param {string} productCode
252
252
  * @param {string} code
253
253
  * @param {string} [authorization] Bearer Token
254
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
254
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
@@ -572,7 +572,7 @@ var DocumentsApiFp = function (configuration) {
572
572
  * @param {string} productCode
573
573
  * @param {string} code
574
574
  * @param {string} [authorization] Bearer Token
575
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
575
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
576
576
  * @param {*} [options] Override http request option.
577
577
  * @throws {RequiredError}
578
578
  */
@@ -713,7 +713,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
713
713
  * @param {string} productCode
714
714
  * @param {string} code
715
715
  * @param {string} [authorization] Bearer Token
716
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
716
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
717
717
  * @param {*} [options] Override http request option.
718
718
  * @throws {RequiredError}
719
719
  */
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { InlineResponse200 } from '../models';
16
16
  /**
17
- * DefaultApi - axios parameter creator
17
+ * HealthApi - axios parameter creator
18
18
  * @export
19
19
  */
20
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  *
23
23
  * @param {*} [options] Override http request option.
@@ -26,10 +26,10 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
26
26
  check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
27
  };
28
28
  /**
29
- * DefaultApi - functional programming interface
29
+ * HealthApi - functional programming interface
30
30
  * @export
31
31
  */
32
- export declare const DefaultApiFp: (configuration?: Configuration) => {
32
+ export declare const HealthApiFp: (configuration?: Configuration) => {
33
33
  /**
34
34
  *
35
35
  * @param {*} [options] Override http request option.
@@ -38,10 +38,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
38
38
  check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
39
39
  };
40
40
  /**
41
- * DefaultApi - factory interface
41
+ * HealthApi - factory interface
42
42
  * @export
43
43
  */
44
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
44
+ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
45
45
  /**
46
46
  *
47
47
  * @param {*} [options] Override http request option.
@@ -50,17 +50,17 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
50
50
  check(options?: any): AxiosPromise<InlineResponse200>;
51
51
  };
52
52
  /**
53
- * DefaultApi - object-oriented interface
53
+ * HealthApi - object-oriented interface
54
54
  * @export
55
- * @class DefaultApi
55
+ * @class HealthApi
56
56
  * @extends {BaseAPI}
57
57
  */
58
- export declare class DefaultApi extends BaseAPI {
58
+ export declare class HealthApi extends BaseAPI {
59
59
  /**
60
60
  *
61
61
  * @param {*} [options] Override http request option.
62
62
  * @throws {RequiredError}
63
- * @memberof DefaultApi
63
+ * @memberof HealthApi
64
64
  */
65
65
  check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
66
66
  }
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
81
+ exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,10 +90,10 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * DefaultApi - axios parameter creator
93
+ * HealthApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var DefaultApiAxiosParamCreator = function (configuration) {
96
+ var HealthApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
@@ -127,13 +127,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
127
127
  },
128
128
  };
129
129
  };
130
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
130
+ exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
131
131
  /**
132
- * DefaultApi - functional programming interface
132
+ * HealthApi - functional programming interface
133
133
  * @export
134
134
  */
135
- var DefaultApiFp = function (configuration) {
136
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
135
+ var HealthApiFp = function (configuration) {
136
+ var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
137
137
  return {
138
138
  /**
139
139
  *
@@ -155,13 +155,13 @@ var DefaultApiFp = function (configuration) {
155
155
  },
156
156
  };
157
157
  };
158
- exports.DefaultApiFp = DefaultApiFp;
158
+ exports.HealthApiFp = HealthApiFp;
159
159
  /**
160
- * DefaultApi - factory interface
160
+ * HealthApi - factory interface
161
161
  * @export
162
162
  */
163
- var DefaultApiFactory = function (configuration, basePath, axios) {
164
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
163
+ var HealthApiFactory = function (configuration, basePath, axios) {
164
+ var localVarFp = (0, exports.HealthApiFp)(configuration);
165
165
  return {
166
166
  /**
167
167
  *
@@ -173,28 +173,28 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
173
173
  },
174
174
  };
175
175
  };
176
- exports.DefaultApiFactory = DefaultApiFactory;
176
+ exports.HealthApiFactory = HealthApiFactory;
177
177
  /**
178
- * DefaultApi - object-oriented interface
178
+ * HealthApi - object-oriented interface
179
179
  * @export
180
- * @class DefaultApi
180
+ * @class HealthApi
181
181
  * @extends {BaseAPI}
182
182
  */
183
- var DefaultApi = /** @class */ (function (_super) {
184
- __extends(DefaultApi, _super);
185
- function DefaultApi() {
183
+ var HealthApi = /** @class */ (function (_super) {
184
+ __extends(HealthApi, _super);
185
+ function HealthApi() {
186
186
  return _super !== null && _super.apply(this, arguments) || this;
187
187
  }
188
188
  /**
189
189
  *
190
190
  * @param {*} [options] Override http request option.
191
191
  * @throws {RequiredError}
192
- * @memberof DefaultApi
192
+ * @memberof HealthApi
193
193
  */
194
- DefaultApi.prototype.check = function (options) {
194
+ HealthApi.prototype.check = function (options) {
195
195
  var _this = this;
196
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
196
+ return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
197
197
  };
198
- return DefaultApi;
198
+ return HealthApi;
199
199
  }(base_1.BaseAPI));
200
- exports.DefaultApi = DefaultApi;
200
+ exports.HealthApi = HealthApi;