@emilgroup/payment-sdk 1.13.1-beta.13 → 1.13.1-beta.131
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 +24 -1
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +130 -57
- package/api/bank-transaction-api.ts +59 -48
- package/api/exceeding-credits-api.ts +349 -0
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +180 -17
- package/api/policy-payment-methods-api.ts +471 -0
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +4 -0
- package/base.ts +10 -32
- package/common.ts +2 -2
- package/configuration.ts +0 -9
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- package/dist/api/bank-orders-api.d.ts +92 -46
- package/dist/api/bank-orders-api.js +83 -52
- package/dist/api/bank-transaction-api.d.ts +39 -31
- package/dist/api/bank-transaction-api.js +36 -31
- package/dist/api/exceeding-credits-api.d.ts +206 -0
- package/dist/api/exceeding-credits-api.js +352 -0
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +104 -12
- package/dist/api/payments-api.js +133 -14
- package/dist/api/policy-payment-methods-api.d.ts +272 -0
- package/dist/api/policy-payment-methods-api.js +452 -0
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +2 -4
- package/dist/base.js +21 -40
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +0 -6
- package/dist/configuration.js +0 -8
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/bank-order-class.d.ts +23 -3
- package/dist/models/bank-order-xml-file-class.d.ts +72 -0
- package/dist/models/bank-order-xml-file-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +22 -22
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
- package/dist/models/bank-transaction-invoice-class.js +15 -0
- package/dist/models/bank-transfer-dto.d.ts +25 -0
- package/dist/models/bank-transfer-dto.js +15 -0
- package/dist/models/billing-address-dto.d.ts +60 -0
- package/dist/models/billing-address-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
- package/dist/models/create-bank-order-request-dto.d.ts +9 -9
- package/dist/models/create-payment-order-dto.d.ts +48 -0
- package/dist/models/create-payment-order-dto.js +15 -0
- package/dist/models/create-payment-order-request-dto.d.ts +48 -0
- package/dist/models/create-payment-order-request-dto.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
- package/dist/models/create-policy-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-policy-payment-method-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
- package/dist/models/create-psp-payment-method-request-dto.js +3 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +30 -0
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
- package/dist/models/eis-sepa-debit-dto.js +15 -0
- package/dist/models/exceeding-credit-class.d.ts +116 -0
- package/dist/models/exceeding-credit-class.js +29 -0
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
- package/dist/models/get-exceeding-credit-response-class.js +15 -0
- package/dist/models/index.d.ts +22 -1
- package/dist/models/index.js +22 -1
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
- package/dist/models/invoice-allocation-dto.js +15 -0
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
- package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
- package/dist/models/list-exceeding-credits-response-class.js +15 -0
- package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-policy-payment-methods-response-class.js +15 -0
- package/dist/models/mandate-dto.d.ts +43 -0
- package/dist/models/mandate-dto.js +15 -0
- package/dist/models/mandate-hash-data-dto.d.ts +42 -0
- package/dist/models/mandate-hash-data-dto.js +15 -0
- package/dist/models/mandate-reference-class.d.ts +90 -0
- package/dist/models/mandate-reference-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/policy-payment-method-class.d.ts +86 -0
- package/dist/models/policy-payment-method-class.js +15 -0
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
- package/dist/models/tenant-bank-account-class.d.ts +30 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +12 -12
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +30 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +23 -3
- package/models/bank-order-xml-file-class.ts +78 -0
- package/models/bank-transaction-class-without-expand-properties.ts +21 -18
- package/models/bank-transaction-class.ts +25 -22
- package/models/bank-transaction-invoice-class.ts +66 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +66 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
- package/models/create-bank-order-request-dto.ts +9 -9
- package/models/create-payment-order-dto.ts +54 -0
- package/models/create-payment-order-request-dto.ts +54 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-policy-payment-method-request-dto.ts +36 -0
- package/models/create-policy-payment-method-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +30 -2
- package/models/create-tenant-bank-account-request-dto.ts +30 -0
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/eis-sepa-debit-dto.ts +61 -0
- package/models/exceeding-credit-class.ts +125 -0
- package/models/financial-account-class.ts +120 -0
- package/models/get-exceeding-credit-response-class.ts +31 -0
- package/models/index.ts +22 -1
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
- package/models/link-bank-transaction-request-dto-rest.ts +4 -3
- package/models/list-exceeding-credits-response-class.ts +37 -0
- package/models/list-policy-payment-methods-response-class.ts +37 -0
- package/models/mandate-dto.ts +49 -0
- package/models/mandate-hash-data-dto.ts +48 -0
- package/models/mandate-reference-class.ts +96 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-method-class.ts +6 -0
- package/models/payment-reminder-class.ts +7 -1
- package/models/policy-payment-method-class.ts +92 -0
- package/models/refund-class.ts +7 -1
- package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
- package/models/tenant-bank-account-class.ts +30 -0
- package/models/unlinked-bank-transaction-response-class.ts +21 -0
- package/models/update-bank-order-request-dto.ts +12 -12
- package/models/update-tenant-bank-account-rest-request-dto.ts +30 -0
- package/package.json +1 -1
- package/tsconfig.json +0 -1
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → activate-policy-payment-method-request-dto.js} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 CreatePaymentOrderDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentOrderDto {
|
|
18
|
+
/**
|
|
19
|
+
* Invoice referenced in this payment order.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentOrderDto
|
|
22
|
+
*/
|
|
23
|
+
'invoiceId': number;
|
|
24
|
+
/**
|
|
25
|
+
* Optional comment.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentOrderDto
|
|
28
|
+
*/
|
|
29
|
+
'comment'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional payment date.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentOrderDto
|
|
34
|
+
*/
|
|
35
|
+
'receivedDate'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Optional reference number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentOrderDto
|
|
40
|
+
*/
|
|
41
|
+
'referenceNumber'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Optional field contain extra information.
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof CreatePaymentOrderDto
|
|
46
|
+
*/
|
|
47
|
+
'metadata': object;
|
|
48
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 CreatePaymentOrderRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentOrderRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'invoiceId': number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'comment'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'receivedDate'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'referenceNumber'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof CreatePaymentOrderRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'metadata': object;
|
|
48
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 });
|
|
@@ -32,7 +32,13 @@ export interface CreatePaymentReminderRequestDto {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePaymentReminderRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'accountCode'
|
|
35
|
+
'accountCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Code referencing the partner for which this reminder is created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'partnerCode'?: string;
|
|
36
42
|
/**
|
|
37
43
|
* The type of invoice is used to determine the proper workflow.
|
|
38
44
|
* @type {string}
|
|
@@ -20,7 +20,13 @@ export interface CreatePaymentRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreatePaymentRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'accountCode'
|
|
23
|
+
'accountCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Partner code associated to that payment.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode'?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
26
32
|
* @type {number}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 CreatePolicyPaymentMethodRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePolicyPaymentMethodRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The policy code.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePolicyPaymentMethodRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'policyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* The payment method code.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePolicyPaymentMethodRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'paymentMethodCode': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PolicyPaymentMethodClass } from './policy-payment-method-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePolicyPaymentMethodResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePolicyPaymentMethodResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The policy payment method.
|
|
21
|
+
* @type {PolicyPaymentMethodClass}
|
|
22
|
+
* @memberof CreatePolicyPaymentMethodResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'policyPaymentMethod': PolicyPaymentMethodClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 });
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BankTransferDto } from './bank-transfer-dto';
|
|
12
13
|
import { BillingProfileDto } from './billing-profile-dto';
|
|
14
|
+
import { EisSepaDebitDto } from './eis-sepa-debit-dto';
|
|
13
15
|
import { SepaDirectDto } from './sepa-direct-dto';
|
|
14
16
|
/**
|
|
15
17
|
*
|
|
@@ -28,7 +30,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
28
30
|
* @type {string}
|
|
29
31
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
30
32
|
*/
|
|
31
|
-
'accountCode'
|
|
33
|
+
'accountCode'?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
38
|
+
*/
|
|
39
|
+
'partnerCode'?: string;
|
|
32
40
|
/**
|
|
33
41
|
*
|
|
34
42
|
* @type {SepaDirectDto}
|
|
@@ -41,12 +49,30 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
41
49
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
42
50
|
*/
|
|
43
51
|
'billingProfile'?: BillingProfileDto;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {BankTransferDto}
|
|
55
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
56
|
+
*/
|
|
57
|
+
'bankTransfer'?: BankTransferDto;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {EisSepaDebitDto}
|
|
61
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
62
|
+
*/
|
|
63
|
+
'eisSepaDebit'?: EisSepaDebitDto;
|
|
44
64
|
/**
|
|
45
65
|
*
|
|
46
66
|
* @type {string}
|
|
47
67
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
48
68
|
*/
|
|
49
69
|
'productSlug'?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
74
|
+
*/
|
|
75
|
+
'leadCode'?: string;
|
|
50
76
|
}
|
|
51
77
|
export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
|
|
52
78
|
readonly Paypal: "paypal";
|
|
@@ -63,5 +89,7 @@ export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
|
|
|
63
89
|
readonly Venmo: "venmo";
|
|
64
90
|
readonly Masterpass: "masterpass";
|
|
65
91
|
readonly B4u: "b4u";
|
|
92
|
+
readonly Invoice: "invoice";
|
|
93
|
+
readonly BankTransfer: "bank_transfer";
|
|
66
94
|
};
|
|
67
95
|
export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
|
|
@@ -39,4 +39,34 @@ export interface CreateTenantBankAccountRequestDto {
|
|
|
39
39
|
* @memberof CreateTenantBankAccountRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'bookingAccount': string;
|
|
42
|
+
/**
|
|
43
|
+
* Street address
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'street'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* House number
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'houseNumber'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* ZIP code
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'zipCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* City
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'city': string;
|
|
66
|
+
/**
|
|
67
|
+
* Country
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'country': string;
|
|
42
72
|
}
|
|
@@ -38,7 +38,13 @@ export interface DeactivatedPaymentReminderClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof DeactivatedPaymentReminderClass
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of related partner.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DeactivatedPaymentReminderClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Type of the invoice
|
|
44
50
|
* @type {string}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { MandateDto } from './mandate-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EisSepaDebitDto
|
|
17
|
+
*/
|
|
18
|
+
export interface EisSepaDebitDto {
|
|
19
|
+
/**
|
|
20
|
+
* First name of account holder
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EisSepaDebitDto
|
|
23
|
+
*/
|
|
24
|
+
'firstName': string;
|
|
25
|
+
/**
|
|
26
|
+
* Last name of account holder
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EisSepaDebitDto
|
|
29
|
+
*/
|
|
30
|
+
'lastName': string;
|
|
31
|
+
/**
|
|
32
|
+
* International Bank Account Number
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof EisSepaDebitDto
|
|
35
|
+
*/
|
|
36
|
+
'iban': string;
|
|
37
|
+
/**
|
|
38
|
+
* Bank Identifier Code
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof EisSepaDebitDto
|
|
41
|
+
*/
|
|
42
|
+
'bic': string;
|
|
43
|
+
/**
|
|
44
|
+
* Bank name
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof EisSepaDebitDto
|
|
47
|
+
*/
|
|
48
|
+
'bankName': string;
|
|
49
|
+
/**
|
|
50
|
+
* SEPA mandate details
|
|
51
|
+
* @type {MandateDto}
|
|
52
|
+
* @memberof EisSepaDebitDto
|
|
53
|
+
*/
|
|
54
|
+
'mandate': MandateDto;
|
|
55
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 ExceedingCreditClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ExceedingCreditClass {
|
|
18
|
+
/**
|
|
19
|
+
* The amount of the credit
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ExceedingCreditClass
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* The currency of the credit
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExceedingCreditClass
|
|
28
|
+
*/
|
|
29
|
+
'currency'?: ExceedingCreditClassCurrencyEnum;
|
|
30
|
+
/**
|
|
31
|
+
* The bank transaction code of the credit
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ExceedingCreditClass
|
|
34
|
+
*/
|
|
35
|
+
'bankTransactionCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the credit
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ExceedingCreditClass
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* The invoice code of the credit
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ExceedingCreditClass
|
|
46
|
+
*/
|
|
47
|
+
'invoiceCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* The invoice number of the credit
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ExceedingCreditClass
|
|
52
|
+
*/
|
|
53
|
+
'invoiceNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* The policy number of the credit
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ExceedingCreditClass
|
|
58
|
+
*/
|
|
59
|
+
'policyNumber': string;
|
|
60
|
+
/**
|
|
61
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ExceedingCreditClass
|
|
64
|
+
*/
|
|
65
|
+
'id': number;
|
|
66
|
+
/**
|
|
67
|
+
* The code of the credit
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ExceedingCreditClass
|
|
70
|
+
*/
|
|
71
|
+
'code': string;
|
|
72
|
+
/**
|
|
73
|
+
* The policy code of the credit
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ExceedingCreditClass
|
|
76
|
+
*/
|
|
77
|
+
'policyCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* Time at which the object was created.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ExceedingCreditClass
|
|
82
|
+
*/
|
|
83
|
+
'createdAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was updated.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ExceedingCreditClass
|
|
88
|
+
*/
|
|
89
|
+
'updatedAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Identifier of the user who created the record.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ExceedingCreditClass
|
|
94
|
+
*/
|
|
95
|
+
'createdBy': string;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the user who last updated the record.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ExceedingCreditClass
|
|
100
|
+
*/
|
|
101
|
+
'updatedBy': string;
|
|
102
|
+
}
|
|
103
|
+
export declare const ExceedingCreditClassCurrencyEnum: {
|
|
104
|
+
readonly Eur: "EUR";
|
|
105
|
+
readonly Usd: "USD";
|
|
106
|
+
readonly Gbp: "GBP";
|
|
107
|
+
readonly Chf: "CHF";
|
|
108
|
+
readonly Pln: "PLN";
|
|
109
|
+
readonly Aud: "AUD";
|
|
110
|
+
readonly Cad: "CAD";
|
|
111
|
+
readonly Ddk: "DDK";
|
|
112
|
+
readonly Huf: "HUF";
|
|
113
|
+
readonly Nok: "NOK";
|
|
114
|
+
readonly Sek: "SEK";
|
|
115
|
+
};
|
|
116
|
+
export type ExceedingCreditClassCurrencyEnum = typeof ExceedingCreditClassCurrencyEnum[keyof typeof ExceedingCreditClassCurrencyEnum];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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.ExceedingCreditClassCurrencyEnum = void 0;
|
|
17
|
+
exports.ExceedingCreditClassCurrencyEnum = {
|
|
18
|
+
Eur: 'EUR',
|
|
19
|
+
Usd: 'USD',
|
|
20
|
+
Gbp: 'GBP',
|
|
21
|
+
Chf: 'CHF',
|
|
22
|
+
Pln: 'PLN',
|
|
23
|
+
Aud: 'AUD',
|
|
24
|
+
Cad: 'CAD',
|
|
25
|
+
Ddk: 'DDK',
|
|
26
|
+
Huf: 'HUF',
|
|
27
|
+
Nok: 'NOK',
|
|
28
|
+
Sek: 'SEK'
|
|
29
|
+
};
|