@emilgroup/public-api-sdk 1.39.0 → 1.39.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +9 -1
- package/README.md +2 -2
- package/api/address-completions-validations-api.ts +20 -6
- package/api/documents-api.ts +10 -8
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api/ibanvalidator-api.ts +165 -0
- package/api/leads-api.ts +98 -10
- package/api/partners-api.ts +165 -0
- package/api/payments-setup-api.ts +113 -11
- package/api.ts +6 -2
- package/dist/api/address-completions-validations-api.d.ts +12 -3
- package/dist/api/address-completions-validations-api.js +12 -6
- package/dist/api/documents-api.d.ts +9 -8
- package/dist/api/documents-api.js +3 -3
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api/ibanvalidator-api.d.ts +97 -0
- package/dist/api/ibanvalidator-api.js +224 -0
- package/dist/api/leads-api.d.ts +52 -6
- package/dist/api/leads-api.js +94 -7
- package/dist/api/partners-api.d.ts +97 -0
- package/dist/api/partners-api.js +224 -0
- package/dist/api/payments-setup-api.d.ts +62 -7
- package/dist/api/payments-setup-api.js +100 -7
- package/dist/api.d.ts +3 -1
- package/dist/api.js +3 -1
- package/dist/models/bank-data-class.d.ts +36 -0
- package/dist/models/bank-data-class.js +15 -0
- package/dist/models/get-product-document-download-url-request-rest-dto.d.ts +29 -0
- package/dist/models/get-product-document-download-url-request-rest-dto.js +20 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/validate-iban-request-dto.d.ts +24 -0
- package/dist/models/validate-iban-request-dto.js +15 -0
- package/dist/models/validate-iban-response-class.d.ts +31 -0
- package/dist/models/validate-iban-response-class.js +15 -0
- package/dist/models/validate-partner-request-dto.d.ts +30 -0
- package/dist/models/validate-partner-request-dto.js +15 -0
- package/dist/models/validate-partner-response-class.d.ts +30 -0
- package/dist/models/validate-partner-response-class.js +15 -0
- package/models/bank-data-class.ts +42 -0
- package/models/get-product-document-download-url-request-rest-dto.ts +38 -0
- package/models/index.ts +6 -0
- package/models/validate-iban-request-dto.ts +30 -0
- package/models/validate-iban-response-class.ts +37 -0
- package/models/validate-partner-request-dto.ts +36 -0
- package/models/validate-partner-response-class.ts +36 -0
- package/package.json +1 -1
|
@@ -148,13 +148,61 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
/**
|
|
149
149
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
150
150
|
* @summary Get public key and psp
|
|
151
|
+
* @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.
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
localVarPath = "/publicapi/v1/payment-setup/get-psp-config";
|
|
164
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
165
|
+
if (configuration) {
|
|
166
|
+
baseOptions = configuration.baseOptions;
|
|
167
|
+
baseAccessToken = configuration.accessToken;
|
|
168
|
+
}
|
|
169
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
170
|
+
localVarHeaderParameter = {};
|
|
171
|
+
localVarQueryParameter = {};
|
|
172
|
+
// authentication bearer required
|
|
173
|
+
// http bearer authentication required
|
|
174
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
175
|
+
case 1:
|
|
176
|
+
// authentication bearer required
|
|
177
|
+
// http bearer authentication required
|
|
178
|
+
_a.sent();
|
|
179
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
180
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
181
|
+
}
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
|
+
}
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
return [2 /*return*/, {
|
|
189
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
}];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* 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.
|
|
198
|
+
* @summary Retrieve the psp-settings
|
|
151
199
|
* @param {string} productSlug
|
|
152
200
|
* @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.
|
|
153
201
|
* @param {string} [authorization] Bearer Token
|
|
154
202
|
* @param {*} [options] Override http request option.
|
|
155
203
|
* @throws {RequiredError}
|
|
156
204
|
*/
|
|
157
|
-
|
|
205
|
+
getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
|
|
158
206
|
if (options === void 0) { options = {}; }
|
|
159
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
160
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -162,7 +210,7 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
162
210
|
switch (_a.label) {
|
|
163
211
|
case 0:
|
|
164
212
|
// verify required parameter 'productSlug' is not null or undefined
|
|
165
|
-
(0, common_1.assertParamExists)('
|
|
213
|
+
(0, common_1.assertParamExists)('getPublicPSPConfigForProduct', 'productSlug', productSlug);
|
|
166
214
|
localVarPath = "/publicapi/v1/payment-setup/get-psp-config/{productSlug}"
|
|
167
215
|
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
168
216
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -285,18 +333,39 @@ var PaymentsSetupApiFp = function (configuration) {
|
|
|
285
333
|
/**
|
|
286
334
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
287
335
|
* @summary Get public key and psp
|
|
336
|
+
* @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.
|
|
337
|
+
* @param {string} [authorization] Bearer Token
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
342
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
343
|
+
var localVarAxiosArgs;
|
|
344
|
+
return __generator(this, function (_a) {
|
|
345
|
+
switch (_a.label) {
|
|
346
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicPSPConfig(idempotencyKey, authorization, options)];
|
|
347
|
+
case 1:
|
|
348
|
+
localVarAxiosArgs = _a.sent();
|
|
349
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
},
|
|
354
|
+
/**
|
|
355
|
+
* 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.
|
|
356
|
+
* @summary Retrieve the psp-settings
|
|
288
357
|
* @param {string} productSlug
|
|
289
358
|
* @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.
|
|
290
359
|
* @param {string} [authorization] Bearer Token
|
|
291
360
|
* @param {*} [options] Override http request option.
|
|
292
361
|
* @throws {RequiredError}
|
|
293
362
|
*/
|
|
294
|
-
|
|
363
|
+
getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
|
|
295
364
|
return __awaiter(this, void 0, void 0, function () {
|
|
296
365
|
var localVarAxiosArgs;
|
|
297
366
|
return __generator(this, function (_a) {
|
|
298
367
|
switch (_a.label) {
|
|
299
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
368
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options)];
|
|
300
369
|
case 1:
|
|
301
370
|
localVarAxiosArgs = _a.sent();
|
|
302
371
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -351,14 +420,25 @@ var PaymentsSetupApiFactory = function (configuration, basePath, axios) {
|
|
|
351
420
|
/**
|
|
352
421
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
353
422
|
* @summary Get public key and psp
|
|
423
|
+
* @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.
|
|
424
|
+
* @param {string} [authorization] Bearer Token
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
429
|
+
return localVarFp.getPublicPSPConfig(idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
430
|
+
},
|
|
431
|
+
/**
|
|
432
|
+
* 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.
|
|
433
|
+
* @summary Retrieve the psp-settings
|
|
354
434
|
* @param {string} productSlug
|
|
355
435
|
* @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.
|
|
356
436
|
* @param {string} [authorization] Bearer Token
|
|
357
437
|
* @param {*} [options] Override http request option.
|
|
358
438
|
* @throws {RequiredError}
|
|
359
439
|
*/
|
|
360
|
-
|
|
361
|
-
return localVarFp.
|
|
440
|
+
getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
|
|
441
|
+
return localVarFp.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
362
442
|
},
|
|
363
443
|
/**
|
|
364
444
|
* 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.
|
|
@@ -408,7 +488,20 @@ var PaymentsSetupApi = /** @class */ (function (_super) {
|
|
|
408
488
|
*/
|
|
409
489
|
PaymentsSetupApi.prototype.getPublicPSPConfig = function (requestParameters, options) {
|
|
410
490
|
var _this = this;
|
|
411
|
-
|
|
491
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
492
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
493
|
+
};
|
|
494
|
+
/**
|
|
495
|
+
* 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.
|
|
496
|
+
* @summary Retrieve the psp-settings
|
|
497
|
+
* @param {PaymentsSetupApiGetPublicPSPConfigForProductRequest} requestParameters Request parameters.
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
* @memberof PaymentsSetupApi
|
|
501
|
+
*/
|
|
502
|
+
PaymentsSetupApi.prototype.getPublicPSPConfigForProduct = function (requestParameters, options) {
|
|
503
|
+
var _this = this;
|
|
504
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
412
505
|
};
|
|
413
506
|
/**
|
|
414
507
|
* 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
|
+
};
|
package/dist/models/index.d.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';
|
package/dist/models/index.js
CHANGED
|
@@ -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';
|