@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,43 @@
|
|
|
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 { MandateHashDataDto } from './mandate-hash-data-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MandateDto
|
|
17
|
+
*/
|
|
18
|
+
export interface MandateDto {
|
|
19
|
+
/**
|
|
20
|
+
* Creditor identifier for SEPA debit
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MandateDto
|
|
23
|
+
*/
|
|
24
|
+
'creditorId': string;
|
|
25
|
+
/**
|
|
26
|
+
* Unique mandate reference
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MandateDto
|
|
29
|
+
*/
|
|
30
|
+
'mandateReference': string;
|
|
31
|
+
/**
|
|
32
|
+
* Date when mandate was created
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MandateDto
|
|
35
|
+
*/
|
|
36
|
+
'mandateCreatedAt': string;
|
|
37
|
+
/**
|
|
38
|
+
* Optional mandate hash data containing signature details
|
|
39
|
+
* @type {MandateHashDataDto}
|
|
40
|
+
* @memberof MandateDto
|
|
41
|
+
*/
|
|
42
|
+
'mandateHashData'?: MandateHashDataDto;
|
|
43
|
+
}
|
|
@@ -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,42 @@
|
|
|
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 MandateHashDataDto
|
|
16
|
+
*/
|
|
17
|
+
export interface MandateHashDataDto {
|
|
18
|
+
/**
|
|
19
|
+
* Date when mandate was signed
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MandateHashDataDto
|
|
22
|
+
*/
|
|
23
|
+
'date': string;
|
|
24
|
+
/**
|
|
25
|
+
* Location where mandate was signed
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MandateHashDataDto
|
|
28
|
+
*/
|
|
29
|
+
'location': string;
|
|
30
|
+
/**
|
|
31
|
+
* First name of mandate signer
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MandateHashDataDto
|
|
34
|
+
*/
|
|
35
|
+
'firstName': string;
|
|
36
|
+
/**
|
|
37
|
+
* Last name of mandate signer
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MandateHashDataDto
|
|
40
|
+
*/
|
|
41
|
+
'lastName': string;
|
|
42
|
+
}
|
|
@@ -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,90 @@
|
|
|
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 MandateReferenceClass
|
|
16
|
+
*/
|
|
17
|
+
export interface MandateReferenceClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MandateReferenceClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MandateReferenceClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* SEPA mandate reference identifier
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MandateReferenceClass
|
|
34
|
+
*/
|
|
35
|
+
'mandateReference': string;
|
|
36
|
+
/**
|
|
37
|
+
* Date when mandate was created
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MandateReferenceClass
|
|
40
|
+
*/
|
|
41
|
+
'mandateCreatedAt': string;
|
|
42
|
+
/**
|
|
43
|
+
* SEPA creditor identifier
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof MandateReferenceClass
|
|
46
|
+
*/
|
|
47
|
+
'creditorId': string;
|
|
48
|
+
/**
|
|
49
|
+
* Optional hash of mandate document
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof MandateReferenceClass
|
|
52
|
+
*/
|
|
53
|
+
'hash'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Optional mandate hash data containing signature details
|
|
56
|
+
* @type {object}
|
|
57
|
+
* @memberof MandateReferenceClass
|
|
58
|
+
*/
|
|
59
|
+
'hashData'?: object;
|
|
60
|
+
/**
|
|
61
|
+
* Payment method code associated with this mandate
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof MandateReferenceClass
|
|
64
|
+
*/
|
|
65
|
+
'paymentMethodCode': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who created the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof MandateReferenceClass
|
|
70
|
+
*/
|
|
71
|
+
'createdBy': string;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier of the user who last updated the record.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof MandateReferenceClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedBy': string;
|
|
78
|
+
/**
|
|
79
|
+
* Time at which the object was created.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof MandateReferenceClass
|
|
82
|
+
*/
|
|
83
|
+
'createdAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was updated.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof MandateReferenceClass
|
|
88
|
+
*/
|
|
89
|
+
'updatedAt': string;
|
|
90
|
+
}
|
|
@@ -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 });
|
|
@@ -38,7 +38,13 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaymentClassWithoutExpandProperties
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Partner code associated to that payment.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentClassWithoutExpandProperties
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
44
50
|
* @type {number}
|
|
@@ -39,7 +39,13 @@ export interface PaymentClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PaymentClass
|
|
41
41
|
*/
|
|
42
|
-
'accountCode'
|
|
42
|
+
'accountCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Partner code associated to that payment.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PaymentClass
|
|
47
|
+
*/
|
|
48
|
+
'partnerCode'?: string;
|
|
43
49
|
/**
|
|
44
50
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
45
51
|
* @type {number}
|
|
@@ -75,6 +75,12 @@ export interface PaymentMethodClass {
|
|
|
75
75
|
* @memberof PaymentMethodClass
|
|
76
76
|
*/
|
|
77
77
|
'details'?: object;
|
|
78
|
+
/**
|
|
79
|
+
* The account PSP customer associated to this payment method.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof PaymentMethodClass
|
|
82
|
+
*/
|
|
83
|
+
'accountPspCustomer'?: object;
|
|
78
84
|
/**
|
|
79
85
|
* Optional field contain extra information
|
|
80
86
|
* @type {object}
|
|
@@ -38,7 +38,13 @@ export interface PaymentReminderClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaymentReminderClass
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of related partner.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentReminderClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Type of the invoice
|
|
44
50
|
* @type {string}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { MandateReferenceClass } from './mandate-reference-class';
|
|
13
|
+
import { PaymentMethodClass } from './payment-method-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PolicyPaymentMethodClass
|
|
18
|
+
*/
|
|
19
|
+
export interface PolicyPaymentMethodClass {
|
|
20
|
+
/**
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof PolicyPaymentMethodClass
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier for the object.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PolicyPaymentMethodClass
|
|
30
|
+
*/
|
|
31
|
+
'code': string;
|
|
32
|
+
/**
|
|
33
|
+
* The unique identifier of the policy.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PolicyPaymentMethodClass
|
|
36
|
+
*/
|
|
37
|
+
'policyCode': string;
|
|
38
|
+
/**
|
|
39
|
+
* The active status of the policy payment method.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof PolicyPaymentMethodClass
|
|
42
|
+
*/
|
|
43
|
+
'isActive': boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Time at which the object was created.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PolicyPaymentMethodClass
|
|
48
|
+
*/
|
|
49
|
+
'createdAt': string;
|
|
50
|
+
/**
|
|
51
|
+
* Time at which the object was updated.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof PolicyPaymentMethodClass
|
|
54
|
+
*/
|
|
55
|
+
'updatedAt': string;
|
|
56
|
+
/**
|
|
57
|
+
* Identifier of the user who created the record.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof PolicyPaymentMethodClass
|
|
60
|
+
*/
|
|
61
|
+
'createdBy': string;
|
|
62
|
+
/**
|
|
63
|
+
* Identifier of the user who last updated the record.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof PolicyPaymentMethodClass
|
|
66
|
+
*/
|
|
67
|
+
'updatedBy': string;
|
|
68
|
+
/**
|
|
69
|
+
* The payment method associated with the policy payment method.
|
|
70
|
+
* @type {PaymentMethodClass}
|
|
71
|
+
* @memberof PolicyPaymentMethodClass
|
|
72
|
+
*/
|
|
73
|
+
'paymentMethod': PaymentMethodClass;
|
|
74
|
+
/**
|
|
75
|
+
* Mandate reference ID for sepa debit payment methods
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof PolicyPaymentMethodClass
|
|
78
|
+
*/
|
|
79
|
+
'mandateReferenceId'?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Mandate reference details for sepa debit payment methods
|
|
82
|
+
* @type {MandateReferenceClass}
|
|
83
|
+
* @memberof PolicyPaymentMethodClass
|
|
84
|
+
*/
|
|
85
|
+
'mandateReference'?: MandateReferenceClass;
|
|
86
|
+
}
|
|
@@ -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 });
|
|
@@ -39,7 +39,13 @@ export interface RefundClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof RefundClass
|
|
41
41
|
*/
|
|
42
|
-
'accountCode'
|
|
42
|
+
'accountCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Partner code associated with the payment.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RefundClass
|
|
47
|
+
*/
|
|
48
|
+
'partnerCode'?: string;
|
|
43
49
|
/**
|
|
44
50
|
* Amount that was refunded in cents. 100 to refund 1€.
|
|
45
51
|
* @type {number}
|
|
@@ -75,4 +75,34 @@ export interface TenantBankAccountClassWithoutExpandProperties {
|
|
|
75
75
|
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
76
76
|
*/
|
|
77
77
|
'updatedBy': string;
|
|
78
|
+
/**
|
|
79
|
+
* Street address of the bank
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
82
|
+
*/
|
|
83
|
+
'street'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* House number of the bank
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
88
|
+
*/
|
|
89
|
+
'houseNumber'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* ZIP code of the bank
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
94
|
+
*/
|
|
95
|
+
'zipCode'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* City of the bank
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
100
|
+
*/
|
|
101
|
+
'city'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Country of the bank
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
106
|
+
*/
|
|
107
|
+
'country'?: string;
|
|
78
108
|
}
|
|
@@ -82,4 +82,34 @@ export interface TenantBankAccountClass {
|
|
|
82
82
|
* @memberof TenantBankAccountClass
|
|
83
83
|
*/
|
|
84
84
|
'updatedBy': string;
|
|
85
|
+
/**
|
|
86
|
+
* Street address of the bank
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof TenantBankAccountClass
|
|
89
|
+
*/
|
|
90
|
+
'street'?: string;
|
|
91
|
+
/**
|
|
92
|
+
* House number of the bank
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof TenantBankAccountClass
|
|
95
|
+
*/
|
|
96
|
+
'houseNumber'?: string;
|
|
97
|
+
/**
|
|
98
|
+
* ZIP code of the bank
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof TenantBankAccountClass
|
|
101
|
+
*/
|
|
102
|
+
'zipCode'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* City of the bank
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof TenantBankAccountClass
|
|
107
|
+
*/
|
|
108
|
+
'city'?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Country of the bank
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof TenantBankAccountClass
|
|
113
|
+
*/
|
|
114
|
+
'country'?: string;
|
|
85
115
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BankOrderClass } from './bank-order-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -45,6 +46,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
45
46
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
46
47
|
*/
|
|
47
48
|
'messageReference'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Label of the transaction
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
53
|
+
*/
|
|
54
|
+
'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
|
|
48
55
|
/**
|
|
49
56
|
* Currency of the transaction.
|
|
50
57
|
* @type {string}
|
|
@@ -87,6 +94,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
87
94
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
88
95
|
*/
|
|
89
96
|
'isLinked': boolean;
|
|
97
|
+
/**
|
|
98
|
+
* The linked bank order object
|
|
99
|
+
* @type {BankOrderClass}
|
|
100
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
101
|
+
*/
|
|
102
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
90
103
|
/**
|
|
91
104
|
* The file format of the bank transaction
|
|
92
105
|
* @type {string}
|
|
@@ -112,3 +125,8 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
112
125
|
*/
|
|
113
126
|
'updatedBy': string;
|
|
114
127
|
}
|
|
128
|
+
export declare const UnlinkedBankTransactionResponseClassLabelEnum: {
|
|
129
|
+
readonly Automated: "automated";
|
|
130
|
+
readonly Manual: "manual";
|
|
131
|
+
};
|
|
132
|
+
export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UnlinkedBankTransactionResponseClassLabelEnum = void 0;
|
|
17
|
+
exports.UnlinkedBankTransactionResponseClassLabelEnum = {
|
|
18
|
+
Automated: 'automated',
|
|
19
|
+
Manual: 'manual'
|
|
20
|
+
};
|
|
@@ -15,18 +15,6 @@
|
|
|
15
15
|
* @interface UpdateBankOrderRequestDto
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateBankOrderRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Unique identifier for the object.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateBankOrderRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'code': string;
|
|
24
|
-
/**
|
|
25
|
-
* Amount for the bank order
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof UpdateBankOrderRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'amount': number;
|
|
30
18
|
/**
|
|
31
19
|
* Bank order status
|
|
32
20
|
* @type {string}
|
|
@@ -39,6 +27,12 @@ export interface UpdateBankOrderRequestDto {
|
|
|
39
27
|
* @memberof UpdateBankOrderRequestDto
|
|
40
28
|
*/
|
|
41
29
|
'description'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Financial account code associated with the bank order.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateBankOrderRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'financialAccountCode': string;
|
|
42
36
|
/**
|
|
43
37
|
* List of invoice IDs associated with bank order.
|
|
44
38
|
* @type {Array<number>}
|
|
@@ -51,6 +45,12 @@ export interface UpdateBankOrderRequestDto {
|
|
|
51
45
|
* @memberof UpdateBankOrderRequestDto
|
|
52
46
|
*/
|
|
53
47
|
'executionDate': string;
|
|
48
|
+
/**
|
|
49
|
+
* Latest due date.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateBankOrderRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'dueDate': string;
|
|
54
54
|
}
|
|
55
55
|
export declare const UpdateBankOrderRequestDtoStatusEnum: {
|
|
56
56
|
readonly Open: "open";
|
|
@@ -33,4 +33,34 @@ export interface UpdateTenantBankAccountRestRequestDto {
|
|
|
33
33
|
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'bookingAccount': string;
|
|
36
|
+
/**
|
|
37
|
+
* Street address
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'street'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* House number
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'houseNumber'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* ZIP code
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'zipCode': string;
|
|
54
|
+
/**
|
|
55
|
+
* City
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'city': string;
|
|
60
|
+
/**
|
|
61
|
+
* Country
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'country': string;
|
|
36
66
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* 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.
|
|
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 ActivatePolicyPaymentMethodRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ActivatePolicyPaymentMethodRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Whether to trigger the Policy Payment Method Activated workflow event.
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof ActivatePolicyPaymentMethodRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'shouldTriggerWorkflow'?: boolean;
|
|
29
|
+
}
|
|
30
|
+
|