@emilgroup/public-api-sdk 1.38.1-beta.1 → 1.38.1-beta.10

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 +165 -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 +224 -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
@@ -91,15 +91,61 @@ export const PaymentsSetupApiAxiosParamCreator = function (configuration?: Confi
91
91
  /**
92
92
  * This will send the customer the public key to load the payment form and complete the payment setup.
93
93
  * @summary Get public key and psp
94
+ * @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.
95
+ * @param {string} [authorization] Bearer Token
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ getPublicPSPConfig: async (idempotencyKey?: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
100
+ const localVarPath = `/publicapi/v1/payment-setup/get-psp-config`;
101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103
+ let baseOptions;
104
+ let baseAccessToken;
105
+ if (configuration) {
106
+ baseOptions = configuration.baseOptions;
107
+ baseAccessToken = configuration.accessToken;
108
+ }
109
+
110
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
111
+ const localVarHeaderParameter = {} as any;
112
+ const localVarQueryParameter = {} as any;
113
+
114
+ // authentication bearer required
115
+ // http bearer authentication required
116
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
117
+
118
+ if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
119
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
120
+ }
121
+
122
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
123
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
124
+ }
125
+
126
+
127
+
128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
131
+
132
+ return {
133
+ url: toPathString(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ },
137
+ /**
138
+ * 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.
139
+ * @summary Retrieve the psp-settings
94
140
  * @param {string} productSlug
95
141
  * @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.
96
142
  * @param {string} [authorization] Bearer Token
97
143
  * @param {*} [options] Override http request option.
98
144
  * @throws {RequiredError}
99
145
  */
100
- getPublicPSPConfig: async (productSlug: string, idempotencyKey?: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
+ getPublicPSPConfigForProduct: async (productSlug: string, idempotencyKey?: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
147
  // verify required parameter 'productSlug' is not null or undefined
102
- assertParamExists('getPublicPSPConfig', 'productSlug', productSlug)
148
+ assertParamExists('getPublicPSPConfigForProduct', 'productSlug', productSlug)
103
149
  const localVarPath = `/publicapi/v1/payment-setup/get-psp-config/{productSlug}`
104
150
  .replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
105
151
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -216,14 +262,26 @@ export const PaymentsSetupApiFp = function(configuration?: Configuration) {
216
262
  /**
217
263
  * This will send the customer the public key to load the payment form and complete the payment setup.
218
264
  * @summary Get public key and psp
265
+ * @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.
266
+ * @param {string} [authorization] Bearer Token
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ async getPublicPSPConfig(idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>> {
271
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicPSPConfig(idempotencyKey, authorization, options);
272
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
273
+ },
274
+ /**
275
+ * 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.
276
+ * @summary Retrieve the psp-settings
219
277
  * @param {string} productSlug
220
278
  * @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.
221
279
  * @param {string} [authorization] Bearer Token
222
280
  * @param {*} [options] Override http request option.
223
281
  * @throws {RequiredError}
224
282
  */
225
- async getPublicPSPConfig(productSlug: string, idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>> {
226
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicPSPConfig(productSlug, idempotencyKey, authorization, options);
283
+ async getPublicPSPConfigForProduct(productSlug: string, idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>> {
284
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options);
227
285
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
228
286
  },
229
287
  /**
@@ -264,14 +322,25 @@ export const PaymentsSetupApiFactory = function (configuration?: Configuration,
264
322
  /**
265
323
  * This will send the customer the public key to load the payment form and complete the payment setup.
266
324
  * @summary Get public key and psp
325
+ * @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.
326
+ * @param {string} [authorization] Bearer Token
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ */
330
+ getPublicPSPConfig(idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass> {
331
+ return localVarFp.getPublicPSPConfig(idempotencyKey, authorization, options).then((request) => request(axios, basePath));
332
+ },
333
+ /**
334
+ * 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.
335
+ * @summary Retrieve the psp-settings
267
336
  * @param {string} productSlug
268
337
  * @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.
269
338
  * @param {string} [authorization] Bearer Token
270
339
  * @param {*} [options] Override http request option.
271
340
  * @throws {RequiredError}
272
341
  */
273
- getPublicPSPConfig(productSlug: string, idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass> {
274
- return localVarFp.getPublicPSPConfig(productSlug, idempotencyKey, authorization, options).then((request) => request(axios, basePath));
342
+ getPublicPSPConfigForProduct(productSlug: string, idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass> {
343
+ return localVarFp.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options).then((request) => request(axios, basePath));
275
344
  },
276
345
  /**
277
346
  * 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.
@@ -323,23 +392,44 @@ export interface PaymentsSetupApiCompletePaymentSetupRequest {
323
392
  */
324
393
  export interface PaymentsSetupApiGetPublicPSPConfigRequest {
325
394
  /**
326
- *
395
+ * 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.
396
+ * @type {string}
397
+ * @memberof PaymentsSetupApiGetPublicPSPConfig
398
+ */
399
+ readonly idempotencyKey?: string
400
+
401
+ /**
402
+ * Bearer Token
327
403
  * @type {string}
328
404
  * @memberof PaymentsSetupApiGetPublicPSPConfig
329
405
  */
406
+ readonly authorization?: string
407
+ }
408
+
409
+ /**
410
+ * Request parameters for getPublicPSPConfigForProduct operation in PaymentsSetupApi.
411
+ * @export
412
+ * @interface PaymentsSetupApiGetPublicPSPConfigForProductRequest
413
+ */
414
+ export interface PaymentsSetupApiGetPublicPSPConfigForProductRequest {
415
+ /**
416
+ *
417
+ * @type {string}
418
+ * @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
419
+ */
330
420
  readonly productSlug: string
331
421
 
332
422
  /**
333
423
  * 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.
334
424
  * @type {string}
335
- * @memberof PaymentsSetupApiGetPublicPSPConfig
425
+ * @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
336
426
  */
337
427
  readonly idempotencyKey?: string
338
428
 
339
429
  /**
340
430
  * Bearer Token
341
431
  * @type {string}
342
- * @memberof PaymentsSetupApiGetPublicPSPConfig
432
+ * @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
343
433
  */
344
434
  readonly authorization?: string
345
435
  }
@@ -399,8 +489,20 @@ export class PaymentsSetupApi extends BaseAPI {
399
489
  * @throws {RequiredError}
400
490
  * @memberof PaymentsSetupApi
401
491
  */
402
- public getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig) {
403
- return PaymentsSetupApiFp(this.configuration).getPublicPSPConfig(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
492
+ public getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest = {}, options?: AxiosRequestConfig) {
493
+ return PaymentsSetupApiFp(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
494
+ }
495
+
496
+ /**
497
+ * 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.
498
+ * @summary Retrieve the psp-settings
499
+ * @param {PaymentsSetupApiGetPublicPSPConfigForProductRequest} requestParameters Request parameters.
500
+ * @param {*} [options] Override http request option.
501
+ * @throws {RequiredError}
502
+ * @memberof PaymentsSetupApi
503
+ */
504
+ public getPublicPSPConfigForProduct(requestParameters: PaymentsSetupApiGetPublicPSPConfigForProductRequest, options?: AxiosRequestConfig) {
505
+ return PaymentsSetupApiFp(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
404
506
  }
405
507
 
406
508
  /**
package/api.ts CHANGED
@@ -22,11 +22,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
23
  import { AddressCompletionsValidationsApi } from './api';
24
24
  import { BookingFunnelsApi } from './api';
25
- import { DefaultApi } from './api';
26
25
  import { DocumentsApi } from './api';
26
+ import { HealthApi } from './api';
27
27
  import { LeadsApi } from './api';
28
28
  import { NamedRangesApi } from './api';
29
29
  import { NotificationsApi } from './api';
30
+ import { PartnersApi } from './api';
30
31
  import { PaymentsSetupApi } from './api';
31
32
  import { ProductVersionsApi } from './api';
32
33
  import { ProductsApi } from './api';
@@ -34,11 +35,12 @@ import { ProductsApi } from './api';
34
35
 
35
36
  export * from './api/address-completions-validations-api';
36
37
  export * from './api/booking-funnels-api';
37
- export * from './api/default-api';
38
38
  export * from './api/documents-api';
39
+ export * from './api/health-api';
39
40
  export * from './api/leads-api';
40
41
  export * from './api/named-ranges-api';
41
42
  export * from './api/notifications-api';
43
+ export * from './api/partners-api';
42
44
  export * from './api/payments-setup-api';
43
45
  export * from './api/product-versions-api';
44
46
  export * from './api/products-api';
package/base.ts CHANGED
@@ -53,6 +53,7 @@ export enum Environment {
53
53
  Staging = 'https://apiv2-staging.emil.de',
54
54
  Development = 'https://apiv2-dev.emil.de',
55
55
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
56
+ StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
56
57
  }
57
58
 
58
59
  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
@@ -160,10 +160,11 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
160
160
  * @param {string} houseNumber The house number of the address
161
161
  * @param {string} [authorization] Bearer Token
162
162
  * @param {string} [completeAddress] The complete address to validate
163
+ * @param {any} [limit]
163
164
  * @param {*} [options] Override http request option.
164
165
  * @throws {RequiredError}
165
166
  */
166
- validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, options) {
167
+ validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options) {
167
168
  if (options === void 0) { options = {}; }
168
169
  return __awaiter(_this, void 0, void 0, function () {
169
170
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -214,6 +215,9 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
214
215
  if (houseNumber !== undefined) {
215
216
  localVarQueryParameter['houseNumber'] = houseNumber;
216
217
  }
218
+ if (limit !== undefined) {
219
+ localVarQueryParameter['limit'] = limit;
220
+ }
217
221
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
218
222
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
219
223
  }
@@ -271,15 +275,16 @@ var AddressCompletionsValidationsApiFp = function (configuration) {
271
275
  * @param {string} houseNumber The house number of the address
272
276
  * @param {string} [authorization] Bearer Token
273
277
  * @param {string} [completeAddress] The complete address to validate
278
+ * @param {any} [limit]
274
279
  * @param {*} [options] Override http request option.
275
280
  * @throws {RequiredError}
276
281
  */
277
- validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, options) {
282
+ validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options) {
278
283
  return __awaiter(this, void 0, void 0, function () {
279
284
  var localVarAxiosArgs;
280
285
  return __generator(this, function (_a) {
281
286
  switch (_a.label) {
282
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.validateAddress(city, country, postalCode, street, houseNumber, authorization, completeAddress, options)];
287
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.validateAddress(city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options)];
283
288
  case 1:
284
289
  localVarAxiosArgs = _a.sent();
285
290
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -320,11 +325,12 @@ var AddressCompletionsValidationsApiFactory = function (configuration, basePath,
320
325
  * @param {string} houseNumber The house number of the address
321
326
  * @param {string} [authorization] Bearer Token
322
327
  * @param {string} [completeAddress] The complete address to validate
328
+ * @param {any} [limit]
323
329
  * @param {*} [options] Override http request option.
324
330
  * @throws {RequiredError}
325
331
  */
326
- validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, options) {
327
- return localVarFp.validateAddress(city, country, postalCode, street, houseNumber, authorization, completeAddress, options).then(function (request) { return request(axios, basePath); });
332
+ validateAddress: function (city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options) {
333
+ return localVarFp.validateAddress(city, country, postalCode, street, houseNumber, authorization, completeAddress, limit, options).then(function (request) { return request(axios, basePath); });
328
334
  },
329
335
  };
330
336
  };
@@ -362,7 +368,7 @@ var AddressCompletionsValidationsApi = /** @class */ (function (_super) {
362
368
  */
363
369
  AddressCompletionsValidationsApi.prototype.validateAddress = function (requestParameters, options) {
364
370
  var _this = this;
365
- 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); });
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); });
366
372
  };
367
373
  return AddressCompletionsValidationsApi;
368
374
  }(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.
@@ -247,7 +247,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
247
247
  * @param {string} productCode
248
248
  * @param {string} code
249
249
  * @param {string} [authorization] Bearer Token
250
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
250
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
251
251
  * @param {*} [options] Override http request option.
252
252
  * @throws {RequiredError}
253
253
  */
@@ -568,7 +568,7 @@ var DocumentsApiFp = function (configuration) {
568
568
  * @param {string} productCode
569
569
  * @param {string} code
570
570
  * @param {string} [authorization] Bearer Token
571
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
571
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
572
572
  * @param {*} [options] Override http request option.
573
573
  * @throws {RequiredError}
574
574
  */
@@ -709,7 +709,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
709
709
  * @param {string} productCode
710
710
  * @param {string} code
711
711
  * @param {string} [authorization] Bearer Token
712
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
712
+ * @param {GetProductDocumentDownloadUrlRequestRestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
713
713
  * @param {*} [options] Override http request option.
714
714
  * @throws {RequiredError}
715
715
  */
@@ -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
@@ -86,10 +86,10 @@ var common_1 = require("../common");
86
86
  // @ts-ignore
87
87
  var base_1 = require("../base");
88
88
  /**
89
- * DefaultApi - axios parameter creator
89
+ * HealthApi - axios parameter creator
90
90
  * @export
91
91
  */
92
- var DefaultApiAxiosParamCreator = function (configuration) {
92
+ var HealthApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
@@ -123,13 +123,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
123
123
  },
124
124
  };
125
125
  };
126
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
126
+ exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
127
127
  /**
128
- * DefaultApi - functional programming interface
128
+ * HealthApi - functional programming interface
129
129
  * @export
130
130
  */
131
- var DefaultApiFp = function (configuration) {
132
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
131
+ var HealthApiFp = function (configuration) {
132
+ var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
133
133
  return {
134
134
  /**
135
135
  *
@@ -151,13 +151,13 @@ var DefaultApiFp = function (configuration) {
151
151
  },
152
152
  };
153
153
  };
154
- exports.DefaultApiFp = DefaultApiFp;
154
+ exports.HealthApiFp = HealthApiFp;
155
155
  /**
156
- * DefaultApi - factory interface
156
+ * HealthApi - factory interface
157
157
  * @export
158
158
  */
159
- var DefaultApiFactory = function (configuration, basePath, axios) {
160
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
159
+ var HealthApiFactory = function (configuration, basePath, axios) {
160
+ var localVarFp = (0, exports.HealthApiFp)(configuration);
161
161
  return {
162
162
  /**
163
163
  *
@@ -169,28 +169,28 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
169
169
  },
170
170
  };
171
171
  };
172
- exports.DefaultApiFactory = DefaultApiFactory;
172
+ exports.HealthApiFactory = HealthApiFactory;
173
173
  /**
174
- * DefaultApi - object-oriented interface
174
+ * HealthApi - object-oriented interface
175
175
  * @export
176
- * @class DefaultApi
176
+ * @class HealthApi
177
177
  * @extends {BaseAPI}
178
178
  */
179
- var DefaultApi = /** @class */ (function (_super) {
180
- __extends(DefaultApi, _super);
181
- function DefaultApi() {
179
+ var HealthApi = /** @class */ (function (_super) {
180
+ __extends(HealthApi, _super);
181
+ function HealthApi() {
182
182
  return _super !== null && _super.apply(this, arguments) || this;
183
183
  }
184
184
  /**
185
185
  *
186
186
  * @param {*} [options] Override http request option.
187
187
  * @throws {RequiredError}
188
- * @memberof DefaultApi
188
+ * @memberof HealthApi
189
189
  */
190
- DefaultApi.prototype.check = function (options) {
190
+ HealthApi.prototype.check = function (options) {
191
191
  var _this = this;
192
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
192
+ return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
193
193
  };
194
- return DefaultApi;
194
+ return HealthApi;
195
195
  }(base_1.BaseAPI));
196
- exports.DefaultApi = DefaultApi;
196
+ exports.HealthApi = HealthApi;