@emilgroup/public-api-sdk-node 1.41.0 → 1.41.1-beta.1

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 (48) hide show
  1. package/.openapi-generator/FILES +9 -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/ibanvalidator-api.ts +169 -0
  7. package/api/leads-api.ts +98 -10
  8. package/api/partners-api.ts +169 -0
  9. package/api/payments-setup-api.ts +113 -11
  10. package/api.ts +6 -2
  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/ibanvalidator-api.d.ts +97 -0
  18. package/dist/api/ibanvalidator-api.js +228 -0
  19. package/dist/api/leads-api.d.ts +52 -6
  20. package/dist/api/leads-api.js +94 -7
  21. package/dist/api/partners-api.d.ts +97 -0
  22. package/dist/api/partners-api.js +228 -0
  23. package/dist/api/payments-setup-api.d.ts +62 -7
  24. package/dist/api/payments-setup-api.js +100 -7
  25. package/dist/api.d.ts +3 -1
  26. package/dist/api.js +3 -1
  27. package/dist/models/bank-data-class.d.ts +36 -0
  28. package/dist/models/bank-data-class.js +15 -0
  29. package/dist/models/get-product-document-download-url-request-rest-dto.d.ts +29 -0
  30. package/dist/models/get-product-document-download-url-request-rest-dto.js +20 -0
  31. package/dist/models/index.d.ts +6 -0
  32. package/dist/models/index.js +6 -0
  33. package/dist/models/validate-iban-request-dto.d.ts +24 -0
  34. package/dist/models/validate-iban-request-dto.js +15 -0
  35. package/dist/models/validate-iban-response-class.d.ts +31 -0
  36. package/dist/models/validate-iban-response-class.js +15 -0
  37. package/dist/models/validate-partner-request-dto.d.ts +30 -0
  38. package/dist/models/validate-partner-request-dto.js +15 -0
  39. package/dist/models/validate-partner-response-class.d.ts +30 -0
  40. package/dist/models/validate-partner-response-class.js +15 -0
  41. package/models/bank-data-class.ts +42 -0
  42. package/models/get-product-document-download-url-request-rest-dto.ts +38 -0
  43. package/models/index.ts +6 -0
  44. package/models/validate-iban-request-dto.ts +30 -0
  45. package/models/validate-iban-response-class.ts +37 -0
  46. package/models/validate-partner-request-dto.ts +36 -0
  47. package/models/validate-partner-response-class.ts +36 -0
  48. package/package.json +2 -2
@@ -152,13 +152,61 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
152
152
  /**
153
153
  * This will send the customer the public key to load the payment form and complete the payment setup.
154
154
  * @summary Get public key and psp
155
+ * @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.
156
+ * @param {string} [authorization] Bearer Token
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ getPublicPSPConfig: function (idempotencyKey, authorization, options) {
161
+ if (options === void 0) { options = {}; }
162
+ return __awaiter(_this, void 0, void 0, function () {
163
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
164
+ return __generator(this, function (_a) {
165
+ switch (_a.label) {
166
+ case 0:
167
+ localVarPath = "/publicapi/v1/payment-setup/get-psp-config";
168
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
169
+ if (configuration) {
170
+ baseOptions = configuration.baseOptions;
171
+ baseAccessToken = configuration.accessToken;
172
+ }
173
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
174
+ localVarHeaderParameter = {};
175
+ localVarQueryParameter = {};
176
+ // authentication bearer required
177
+ // http bearer authentication required
178
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
179
+ case 1:
180
+ // authentication bearer required
181
+ // http bearer authentication required
182
+ _a.sent();
183
+ if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
184
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
185
+ }
186
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
187
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
188
+ }
189
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
190
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
191
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
192
+ return [2 /*return*/, {
193
+ url: (0, common_1.toPathString)(localVarUrlObj),
194
+ options: localVarRequestOptions,
195
+ }];
196
+ }
197
+ });
198
+ });
199
+ },
200
+ /**
201
+ * 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.
202
+ * @summary Retrieve the psp-settings
155
203
  * @param {string} productSlug
156
204
  * @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.
157
205
  * @param {string} [authorization] Bearer Token
158
206
  * @param {*} [options] Override http request option.
159
207
  * @throws {RequiredError}
160
208
  */
161
- getPublicPSPConfig: function (productSlug, idempotencyKey, authorization, options) {
209
+ getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
162
210
  if (options === void 0) { options = {}; }
163
211
  return __awaiter(_this, void 0, void 0, function () {
164
212
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -166,7 +214,7 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
166
214
  switch (_a.label) {
167
215
  case 0:
168
216
  // verify required parameter 'productSlug' is not null or undefined
169
- (0, common_1.assertParamExists)('getPublicPSPConfig', 'productSlug', productSlug);
217
+ (0, common_1.assertParamExists)('getPublicPSPConfigForProduct', 'productSlug', productSlug);
170
218
  localVarPath = "/publicapi/v1/payment-setup/get-psp-config/{productSlug}"
171
219
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
172
220
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -289,18 +337,39 @@ var PaymentsSetupApiFp = function (configuration) {
289
337
  /**
290
338
  * This will send the customer the public key to load the payment form and complete the payment setup.
291
339
  * @summary Get public key and psp
340
+ * @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.
341
+ * @param {string} [authorization] Bearer Token
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ */
345
+ getPublicPSPConfig: function (idempotencyKey, authorization, options) {
346
+ return __awaiter(this, void 0, void 0, function () {
347
+ var localVarAxiosArgs;
348
+ return __generator(this, function (_a) {
349
+ switch (_a.label) {
350
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicPSPConfig(idempotencyKey, authorization, options)];
351
+ case 1:
352
+ localVarAxiosArgs = _a.sent();
353
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
354
+ }
355
+ });
356
+ });
357
+ },
358
+ /**
359
+ * 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.
360
+ * @summary Retrieve the psp-settings
292
361
  * @param {string} productSlug
293
362
  * @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.
294
363
  * @param {string} [authorization] Bearer Token
295
364
  * @param {*} [options] Override http request option.
296
365
  * @throws {RequiredError}
297
366
  */
298
- getPublicPSPConfig: function (productSlug, idempotencyKey, authorization, options) {
367
+ getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
299
368
  return __awaiter(this, void 0, void 0, function () {
300
369
  var localVarAxiosArgs;
301
370
  return __generator(this, function (_a) {
302
371
  switch (_a.label) {
303
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicPSPConfig(productSlug, idempotencyKey, authorization, options)];
372
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options)];
304
373
  case 1:
305
374
  localVarAxiosArgs = _a.sent();
306
375
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -355,14 +424,25 @@ var PaymentsSetupApiFactory = function (configuration, basePath, axios) {
355
424
  /**
356
425
  * This will send the customer the public key to load the payment form and complete the payment setup.
357
426
  * @summary Get public key and psp
427
+ * @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.
428
+ * @param {string} [authorization] Bearer Token
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ getPublicPSPConfig: function (idempotencyKey, authorization, options) {
433
+ return localVarFp.getPublicPSPConfig(idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
434
+ },
435
+ /**
436
+ * 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.
437
+ * @summary Retrieve the psp-settings
358
438
  * @param {string} productSlug
359
439
  * @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.
360
440
  * @param {string} [authorization] Bearer Token
361
441
  * @param {*} [options] Override http request option.
362
442
  * @throws {RequiredError}
363
443
  */
364
- getPublicPSPConfig: function (productSlug, idempotencyKey, authorization, options) {
365
- return localVarFp.getPublicPSPConfig(productSlug, idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
444
+ getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
445
+ return localVarFp.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
366
446
  },
367
447
  /**
368
448
  * 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.
@@ -412,7 +492,20 @@ var PaymentsSetupApi = /** @class */ (function (_super) {
412
492
  */
413
493
  PaymentsSetupApi.prototype.getPublicPSPConfig = function (requestParameters, options) {
414
494
  var _this = this;
415
- return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfig(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
495
+ if (requestParameters === void 0) { requestParameters = {}; }
496
+ return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
497
+ };
498
+ /**
499
+ * 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.
500
+ * @summary Retrieve the psp-settings
501
+ * @param {PaymentsSetupApiGetPublicPSPConfigForProductRequest} requestParameters Request parameters.
502
+ * @param {*} [options] Override http request option.
503
+ * @throws {RequiredError}
504
+ * @memberof PaymentsSetupApi
505
+ */
506
+ PaymentsSetupApi.prototype.getPublicPSPConfigForProduct = function (requestParameters, options) {
507
+ var _this = this;
508
+ return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
416
509
  };
417
510
  /**
418
511
  * 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.
package/dist/api.d.ts CHANGED
@@ -11,11 +11,13 @@
11
11
  */
12
12
  export * from './api/address-completions-validations-api';
13
13
  export * from './api/booking-funnels-api';
14
- export * from './api/default-api';
15
14
  export * from './api/documents-api';
15
+ export * from './api/health-api';
16
+ export * from './api/ibanvalidator-api';
16
17
  export * from './api/leads-api';
17
18
  export * from './api/named-ranges-api';
18
19
  export * from './api/notifications-api';
20
+ export * from './api/partners-api';
19
21
  export * from './api/payments-setup-api';
20
22
  export * from './api/product-versions-api';
21
23
  export * from './api/products-api';
package/dist/api.js CHANGED
@@ -29,11 +29,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/address-completions-validations-api"), exports);
31
31
  __exportStar(require("./api/booking-funnels-api"), exports);
32
- __exportStar(require("./api/default-api"), exports);
33
32
  __exportStar(require("./api/documents-api"), exports);
33
+ __exportStar(require("./api/health-api"), exports);
34
+ __exportStar(require("./api/ibanvalidator-api"), exports);
34
35
  __exportStar(require("./api/leads-api"), exports);
35
36
  __exportStar(require("./api/named-ranges-api"), exports);
36
37
  __exportStar(require("./api/notifications-api"), exports);
38
+ __exportStar(require("./api/partners-api"), exports);
37
39
  __exportStar(require("./api/payments-setup-api"), exports);
38
40
  __exportStar(require("./api/product-versions-api"), exports);
39
41
  __exportStar(require("./api/products-api"), exports);
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BankDataClass
16
+ */
17
+ export interface BankDataClass {
18
+ /**
19
+ * BIC/SWIFT code
20
+ * @type {string}
21
+ * @memberof BankDataClass
22
+ */
23
+ 'bic': string;
24
+ /**
25
+ * Bank name
26
+ * @type {string}
27
+ * @memberof BankDataClass
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Bank code
32
+ * @type {string}
33
+ * @memberof BankDataClass
34
+ */
35
+ 'code': string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetProductDocumentDownloadUrlRequestRestDto
16
+ */
17
+ export interface GetProductDocumentDownloadUrlRequestRestDto {
18
+ /**
19
+ * Content disposition override. Default will be depending on the document type.
20
+ * @type {string}
21
+ * @memberof GetProductDocumentDownloadUrlRequestRestDto
22
+ */
23
+ 'contentDisposition'?: GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum;
24
+ }
25
+ export declare const GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum: {
26
+ readonly Attachment: "attachment";
27
+ readonly Inline: "inline";
28
+ };
29
+ export type GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum[keyof typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = void 0;
17
+ exports.GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = {
18
+ Attachment: 'attachment',
19
+ Inline: 'inline'
20
+ };
@@ -2,6 +2,7 @@ export * from './address-completion-item-class';
2
2
  export * from './address-completion-response-class';
3
3
  export * from './address-field-score-class';
4
4
  export * from './amount-with-limit-class';
5
+ export * from './bank-data-class';
5
6
  export * from './bank-transfer-dto';
6
7
  export * from './bank-transfer-response-class';
7
8
  export * from './billing-address-dto';
@@ -48,6 +49,7 @@ export * from './get-booking-funnel-response-class';
48
49
  export * from './get-custom-css-response-class';
49
50
  export * from './get-lead-response-class';
50
51
  export * from './get-product-config-tariffs-response-class';
52
+ export * from './get-product-document-download-url-request-rest-dto';
51
53
  export * from './get-product-document-download-url-response-class';
52
54
  export * from './get-public-psp-settings-response-class';
53
55
  export * from './initiate-adyen-payment-setup-request-dto';
@@ -114,3 +116,7 @@ export * from './update-lead-request-dto';
114
116
  export * from './update-lead-response-class';
115
117
  export * from './uploaded-document-dto';
116
118
  export * from './validate-address-response-class';
119
+ export * from './validate-iban-request-dto';
120
+ export * from './validate-iban-response-class';
121
+ export * from './validate-partner-request-dto';
122
+ export * from './validate-partner-response-class';
@@ -18,6 +18,7 @@ __exportStar(require("./address-completion-item-class"), exports);
18
18
  __exportStar(require("./address-completion-response-class"), exports);
19
19
  __exportStar(require("./address-field-score-class"), exports);
20
20
  __exportStar(require("./amount-with-limit-class"), exports);
21
+ __exportStar(require("./bank-data-class"), exports);
21
22
  __exportStar(require("./bank-transfer-dto"), exports);
22
23
  __exportStar(require("./bank-transfer-response-class"), exports);
23
24
  __exportStar(require("./billing-address-dto"), exports);
@@ -64,6 +65,7 @@ __exportStar(require("./get-booking-funnel-response-class"), exports);
64
65
  __exportStar(require("./get-custom-css-response-class"), exports);
65
66
  __exportStar(require("./get-lead-response-class"), exports);
66
67
  __exportStar(require("./get-product-config-tariffs-response-class"), exports);
68
+ __exportStar(require("./get-product-document-download-url-request-rest-dto"), exports);
67
69
  __exportStar(require("./get-product-document-download-url-response-class"), exports);
68
70
  __exportStar(require("./get-public-psp-settings-response-class"), exports);
69
71
  __exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
@@ -130,3 +132,7 @@ __exportStar(require("./update-lead-request-dto"), exports);
130
132
  __exportStar(require("./update-lead-response-class"), exports);
131
133
  __exportStar(require("./uploaded-document-dto"), exports);
132
134
  __exportStar(require("./validate-address-response-class"), exports);
135
+ __exportStar(require("./validate-iban-request-dto"), exports);
136
+ __exportStar(require("./validate-iban-response-class"), exports);
137
+ __exportStar(require("./validate-partner-request-dto"), exports);
138
+ __exportStar(require("./validate-partner-response-class"), exports);
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ValidateIbanRequestDto
16
+ */
17
+ export interface ValidateIbanRequestDto {
18
+ /**
19
+ * IBAN to validate
20
+ * @type {string}
21
+ * @memberof ValidateIbanRequestDto
22
+ */
23
+ 'iban': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BankDataClass } from './bank-data-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ValidateIbanResponseClass
17
+ */
18
+ export interface ValidateIbanResponseClass {
19
+ /**
20
+ * Whether the IBAN is valid
21
+ * @type {boolean}
22
+ * @memberof ValidateIbanResponseClass
23
+ */
24
+ 'valid': boolean;
25
+ /**
26
+ * Bank data associated with the IBAN
27
+ * @type {BankDataClass}
28
+ * @memberof ValidateIbanResponseClass
29
+ */
30
+ 'bankData'?: BankDataClass;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ValidatePartnerRequestDto
16
+ */
17
+ export interface ValidatePartnerRequestDto {
18
+ /**
19
+ * Unique number assigned to the partner.
20
+ * @type {string}
21
+ * @memberof ValidatePartnerRequestDto
22
+ */
23
+ 'partnerNumber': string;
24
+ /**
25
+ * Dynamic key-value pairs matched against partner custom fields (top-level or one level deep). All provided fields must match — AND logic. If omitted or empty, validation passes without checking custom fields.
26
+ * @type {object}
27
+ * @memberof ValidatePartnerRequestDto
28
+ */
29
+ 'validationFields'?: object;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ValidatePartnerResponseClass
16
+ */
17
+ export interface ValidatePartnerResponseClass {
18
+ /**
19
+ * True when the partner was found and all provided validationFields matched. Also true when validationFields is absent or empty.
20
+ * @type {boolean}
21
+ * @memberof ValidatePartnerResponseClass
22
+ */
23
+ 'isValid': boolean;
24
+ /**
25
+ * Describes why validation failed. Possible values: \"Partner not found with partnerNumber: [partnerNumber]\" | \"Validation failed: field \\\"[name]\\\" was not found in partner data\" | \"Validation failed: value for field \\\"[name]\\\" does not match\". Only present when isValid is false.
26
+ * @type {string}
27
+ * @memberof ValidatePartnerResponseClass
28
+ */
29
+ 'errorMessage'?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface BankDataClass
21
+ */
22
+ export interface BankDataClass {
23
+ /**
24
+ * BIC/SWIFT code
25
+ * @type {string}
26
+ * @memberof BankDataClass
27
+ */
28
+ 'bic': string;
29
+ /**
30
+ * Bank name
31
+ * @type {string}
32
+ * @memberof BankDataClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * Bank code
37
+ * @type {string}
38
+ * @memberof BankDataClass
39
+ */
40
+ 'code': string;
41
+ }
42
+
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface GetProductDocumentDownloadUrlRequestRestDto
21
+ */
22
+ export interface GetProductDocumentDownloadUrlRequestRestDto {
23
+ /**
24
+ * Content disposition override. Default will be depending on the document type.
25
+ * @type {string}
26
+ * @memberof GetProductDocumentDownloadUrlRequestRestDto
27
+ */
28
+ 'contentDisposition'?: GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum;
29
+ }
30
+
31
+ export const GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = {
32
+ Attachment: 'attachment',
33
+ Inline: 'inline'
34
+ } as const;
35
+
36
+ export type GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum[keyof typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum];
37
+
38
+
package/models/index.ts CHANGED
@@ -2,6 +2,7 @@ export * from './address-completion-item-class';
2
2
  export * from './address-completion-response-class';
3
3
  export * from './address-field-score-class';
4
4
  export * from './amount-with-limit-class';
5
+ export * from './bank-data-class';
5
6
  export * from './bank-transfer-dto';
6
7
  export * from './bank-transfer-response-class';
7
8
  export * from './billing-address-dto';
@@ -48,6 +49,7 @@ export * from './get-booking-funnel-response-class';
48
49
  export * from './get-custom-css-response-class';
49
50
  export * from './get-lead-response-class';
50
51
  export * from './get-product-config-tariffs-response-class';
52
+ export * from './get-product-document-download-url-request-rest-dto';
51
53
  export * from './get-product-document-download-url-response-class';
52
54
  export * from './get-public-psp-settings-response-class';
53
55
  export * from './initiate-adyen-payment-setup-request-dto';
@@ -114,3 +116,7 @@ export * from './update-lead-request-dto';
114
116
  export * from './update-lead-response-class';
115
117
  export * from './uploaded-document-dto';
116
118
  export * from './validate-address-response-class';
119
+ export * from './validate-iban-request-dto';
120
+ export * from './validate-iban-response-class';
121
+ export * from './validate-partner-request-dto';
122
+ export * from './validate-partner-response-class';