@emilgroup/payment-sdk-node 1.23.0 → 1.23.1-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +22 -0
- package/README.md +2 -2
- package/api/billing-addresses-api.ts +681 -0
- package/api/payment-requests-api.ts +697 -0
- package/api/payout-methods-api.ts +676 -0
- package/api/tenant-bank-account-api.ts +12 -12
- package/api.ts +6 -0
- package/dist/api/billing-addresses-api.d.ts +384 -0
- package/dist/api/billing-addresses-api.js +640 -0
- package/dist/api/payment-requests-api.d.ts +393 -0
- package/dist/api/payment-requests-api.js +648 -0
- package/dist/api/payout-methods-api.d.ts +382 -0
- package/dist/api/payout-methods-api.js +639 -0
- package/dist/api/tenant-bank-account-api.d.ts +12 -12
- package/dist/api/tenant-bank-account-api.js +9 -9
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/models/bank-order-class.d.ts +3 -3
- package/dist/models/bank-order-entity.d.ts +3 -2
- package/dist/models/bank-order-entity.js +2 -1
- package/dist/models/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/create-bank-order-request-dto.d.ts +4 -3
- package/dist/models/create-bank-order-request-dto.js +2 -1
- package/dist/models/create-billing-address-request-dto.d.ts +66 -0
- package/dist/models/create-billing-address-request-dto.js +15 -0
- package/dist/models/create-billing-address-response-class.d.ts +25 -0
- package/dist/models/create-billing-address-response-class.js +15 -0
- package/dist/models/create-payment-request-request-dto.d.ts +72 -0
- package/dist/models/create-payment-request-request-dto.js +26 -0
- package/dist/models/create-payment-request-response-class.d.ts +25 -0
- package/dist/models/create-payment-request-response-class.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +60 -0
- package/dist/models/create-payout-method-request-dto.js +15 -0
- package/dist/models/create-payout-method-response-class.d.ts +25 -0
- package/dist/models/create-payout-method-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +17 -0
- package/dist/models/create-tenant-bank-account-request-dto.js +11 -1
- package/dist/models/get-billing-address-response-class.d.ts +25 -0
- package/dist/models/get-billing-address-response-class.js +15 -0
- package/dist/models/get-payment-request-response-class.d.ts +25 -0
- package/dist/models/get-payment-request-response-class.js +15 -0
- package/dist/models/get-payout-method-response-class.d.ts +25 -0
- package/dist/models/get-payout-method-response-class.js +15 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
- package/dist/models/list-billing-addresses-response-class.js +15 -0
- package/dist/models/list-payment-requests-response-class.d.ts +31 -0
- package/dist/models/list-payment-requests-response-class.js +15 -0
- package/dist/models/list-payout-methods-response-class.d.ts +43 -0
- package/dist/models/list-payout-methods-response-class.js +15 -0
- package/dist/models/payment-request-class.d.ts +111 -0
- package/dist/models/payment-request-class.js +34 -0
- package/dist/models/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +17 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +11 -1
- package/dist/models/tenant-bank-account-class.d.ts +17 -0
- package/dist/models/tenant-bank-account-class.js +11 -1
- package/dist/models/tenant-bank-account-entity.d.ts +17 -0
- package/dist/models/tenant-bank-account-entity.js +11 -1
- package/dist/models/update-bank-order-request-dto.d.ts +3 -3
- package/dist/models/update-billing-address-request-dto.d.ts +66 -0
- package/dist/models/update-billing-address-request-dto.js +15 -0
- package/dist/models/update-billing-address-response-class.d.ts +25 -0
- package/dist/models/update-billing-address-response-class.js +15 -0
- package/dist/models/update-payment-request-request-dto.d.ts +39 -0
- package/dist/models/update-payment-request-request-dto.js +24 -0
- package/dist/models/update-payment-request-response-class.d.ts +25 -0
- package/dist/models/update-payment-request-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +17 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +11 -1
- package/models/bank-order-class.ts +3 -3
- package/models/bank-order-entity.ts +4 -3
- package/models/billing-address-class.ts +114 -0
- package/models/create-bank-order-request-dto.ts +5 -4
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-payment-request-request-dto.ts +82 -0
- package/models/create-payment-request-response-class.ts +31 -0
- package/models/create-payout-method-request-dto.ts +66 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +18 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-payment-request-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +19 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- package/models/list-payment-requests-response-class.ts +37 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/payment-request-class.ts +122 -0
- package/models/payout-method-class.ts +121 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +18 -0
- package/models/tenant-bank-account-class.ts +18 -0
- package/models/tenant-bank-account-entity.ts +18 -0
- package/models/update-bank-order-request-dto.ts +3 -3
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-payment-request-request-dto.ts +48 -0
- package/models/update-payment-request-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +18 -0
- package/package.json +2 -2
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { PayoutMethodClass } from './payout-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPayoutMethodResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPayoutMethodResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payout method
|
|
26
|
+
* @type {PayoutMethodClass}
|
|
27
|
+
* @memberof GetPayoutMethodResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'payoutMethod': PayoutMethodClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './bank-transaction-entity';
|
|
|
11
11
|
export * from './bank-transaction-invoice-class';
|
|
12
12
|
export * from './bank-transaction-invoice-entity';
|
|
13
13
|
export * from './bank-transfer-dto';
|
|
14
|
+
export * from './billing-address-class';
|
|
14
15
|
export * from './billing-address-dto';
|
|
15
16
|
export * from './billing-profile-dto';
|
|
16
17
|
export * from './billing-profile-limited-response-dto';
|
|
@@ -25,6 +26,8 @@ export * from './create-bank-account-request-dto';
|
|
|
25
26
|
export * from './create-bank-account-response-class';
|
|
26
27
|
export * from './create-bank-order-request-dto';
|
|
27
28
|
export * from './create-bank-order-response-class';
|
|
29
|
+
export * from './create-billing-address-request-dto';
|
|
30
|
+
export * from './create-billing-address-response-class';
|
|
28
31
|
export * from './create-credit-allocation-request-dto';
|
|
29
32
|
export * from './create-credit-allocation-response-class';
|
|
30
33
|
export * from './create-payment-method-response-class';
|
|
@@ -33,7 +36,11 @@ export * from './create-payment-order-request-dto';
|
|
|
33
36
|
export * from './create-payment-reminder-request-dto';
|
|
34
37
|
export * from './create-payment-reminder-response-class';
|
|
35
38
|
export * from './create-payment-request-dto';
|
|
39
|
+
export * from './create-payment-request-request-dto';
|
|
40
|
+
export * from './create-payment-request-response-class';
|
|
36
41
|
export * from './create-payment-response-class';
|
|
42
|
+
export * from './create-payout-method-request-dto';
|
|
43
|
+
export * from './create-payout-method-response-class';
|
|
37
44
|
export * from './create-policy-payment-method-request-dto';
|
|
38
45
|
export * from './create-policy-payment-method-response-class';
|
|
39
46
|
export * from './create-psp-payment-method-request-dto';
|
|
@@ -53,11 +60,14 @@ export * from './generate-invoice-match-suggestions-response-class';
|
|
|
53
60
|
export * from './get-bank-account-response-class';
|
|
54
61
|
export * from './get-bank-order-response-class';
|
|
55
62
|
export * from './get-bank-transactions-response-class';
|
|
63
|
+
export * from './get-billing-address-response-class';
|
|
56
64
|
export * from './get-credit-allocation-response-class';
|
|
57
65
|
export * from './get-exceeding-credit-response-class';
|
|
58
66
|
export * from './get-payment-method-response-class';
|
|
59
67
|
export * from './get-payment-reminder-response-class';
|
|
68
|
+
export * from './get-payment-request-response-class';
|
|
60
69
|
export * from './get-payment-response-class';
|
|
70
|
+
export * from './get-payout-method-response-class';
|
|
61
71
|
export * from './get-refund-response-class';
|
|
62
72
|
export * from './get-tenant-bank-account-response-class';
|
|
63
73
|
export * from './import-bank-transactions-response-class';
|
|
@@ -80,11 +90,14 @@ export * from './link-bank-transactions-response-class';
|
|
|
80
90
|
export * from './list-bank-accounts-response-class';
|
|
81
91
|
export * from './list-bank-orders-response-class';
|
|
82
92
|
export * from './list-bank-transactions-response-class';
|
|
93
|
+
export * from './list-billing-addresses-response-class';
|
|
83
94
|
export * from './list-credit-allocations-response-class';
|
|
84
95
|
export * from './list-exceeding-credits-response-class';
|
|
85
96
|
export * from './list-payment-methods-response-class';
|
|
86
97
|
export * from './list-payment-reminders-response-class';
|
|
98
|
+
export * from './list-payment-requests-response-class';
|
|
87
99
|
export * from './list-payments-response-class';
|
|
100
|
+
export * from './list-payout-methods-response-class';
|
|
88
101
|
export * from './list-policy-payment-methods-response-class';
|
|
89
102
|
export * from './list-refunds-response-class';
|
|
90
103
|
export * from './list-tenant-bank-account-response-class';
|
|
@@ -96,6 +109,8 @@ export * from './payment-class-without-expand-properties';
|
|
|
96
109
|
export * from './payment-entity';
|
|
97
110
|
export * from './payment-method-class';
|
|
98
111
|
export * from './payment-reminder-class';
|
|
112
|
+
export * from './payment-request-class';
|
|
113
|
+
export * from './payout-method-class';
|
|
99
114
|
export * from './policy-payment-method-class';
|
|
100
115
|
export * from './primary-bank-account-response-class';
|
|
101
116
|
export * from './refund-class';
|
|
@@ -117,6 +132,10 @@ export * from './update-bank-account-request-dto-rest';
|
|
|
117
132
|
export * from './update-bank-account-response-class';
|
|
118
133
|
export * from './update-bank-order-request-dto';
|
|
119
134
|
export * from './update-bank-order-response-class';
|
|
135
|
+
export * from './update-billing-address-request-dto';
|
|
136
|
+
export * from './update-billing-address-response-class';
|
|
137
|
+
export * from './update-payment-request-request-dto';
|
|
138
|
+
export * from './update-payment-request-response-class';
|
|
120
139
|
export * from './update-tenant-bank-account-response-class';
|
|
121
140
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
122
141
|
export * from './validate-pspconfig-request-dto';
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListBillingAddressesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListBillingAddressesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The billing addresses
|
|
26
|
+
* @type {Array<BillingAddressClass>}
|
|
27
|
+
* @memberof ListBillingAddressesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<BillingAddressClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListBillingAddressesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListBillingAddressesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListBillingAddressesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
import { PaymentRequestClass } from './payment-request-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPaymentRequestsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPaymentRequestsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of payment requests.
|
|
26
|
+
* @type {Array<PaymentRequestClass>}
|
|
27
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PaymentRequestClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import { PayoutMethodClass } from './payout-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPayoutMethodsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPayoutMethodsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payout methods
|
|
26
|
+
* @type {Array<PayoutMethodClass>}
|
|
27
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PayoutMethodClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
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 PaymentRequestClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PaymentRequestClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PaymentRequestClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PaymentRequestClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Payment amount in cents. 100 represents 1€.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PaymentRequestClass
|
|
39
|
+
*/
|
|
40
|
+
'amount': number;
|
|
41
|
+
/**
|
|
42
|
+
* Currency code for the payment request.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PaymentRequestClass
|
|
45
|
+
*/
|
|
46
|
+
'currency': string;
|
|
47
|
+
/**
|
|
48
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PaymentRequestClass
|
|
51
|
+
*/
|
|
52
|
+
'direction': PaymentRequestClassDirectionEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Code of the source entity (e.g., invoice code, claim code) that this payment request is associated with.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PaymentRequestClass
|
|
57
|
+
*/
|
|
58
|
+
'sourceEntityCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Type of the payment request. Defines the business context or purpose of the payment.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PaymentRequestClass
|
|
63
|
+
*/
|
|
64
|
+
'type': PaymentRequestClassTypeEnum;
|
|
65
|
+
/**
|
|
66
|
+
* Current status of the payment request. Valid statuses: open, approved, pending, succeeded, failed, withdrawn.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PaymentRequestClass
|
|
69
|
+
*/
|
|
70
|
+
'status': PaymentRequestClassStatusEnum;
|
|
71
|
+
/**
|
|
72
|
+
* Code of the payment method used for this payment request.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PaymentRequestClass
|
|
75
|
+
*/
|
|
76
|
+
'paymentMethodCode'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Type of the payment method (e.g., sepa_debit, credit_card, bank_transfer).
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PaymentRequestClass
|
|
81
|
+
*/
|
|
82
|
+
'paymentMethodType'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Payment Service Provider (PSP) used for processing the payment (e.g., stripe, braintree, adyen, eis).
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PaymentRequestClass
|
|
87
|
+
*/
|
|
88
|
+
'paymentMethodPsp'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Optional field containing extra information about the payment request.
|
|
91
|
+
* @type {object}
|
|
92
|
+
* @memberof PaymentRequestClass
|
|
93
|
+
*/
|
|
94
|
+
'metadata'?: object;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export const PaymentRequestClassDirectionEnum = {
|
|
98
|
+
Collect: 'collect',
|
|
99
|
+
Disburse: 'disburse'
|
|
100
|
+
} as const;
|
|
101
|
+
|
|
102
|
+
export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirectionEnum[keyof typeof PaymentRequestClassDirectionEnum];
|
|
103
|
+
export const PaymentRequestClassTypeEnum = {
|
|
104
|
+
Other: 'other',
|
|
105
|
+
Claim: 'claim',
|
|
106
|
+
Premium: 'premium',
|
|
107
|
+
Commission: 'commission'
|
|
108
|
+
} as const;
|
|
109
|
+
|
|
110
|
+
export type PaymentRequestClassTypeEnum = typeof PaymentRequestClassTypeEnum[keyof typeof PaymentRequestClassTypeEnum];
|
|
111
|
+
export const PaymentRequestClassStatusEnum = {
|
|
112
|
+
Open: 'open',
|
|
113
|
+
Approved: 'approved',
|
|
114
|
+
Pending: 'pending',
|
|
115
|
+
Succeeded: 'succeeded',
|
|
116
|
+
Failed: 'failed',
|
|
117
|
+
Withdrawn: 'withdrawn'
|
|
118
|
+
} as const;
|
|
119
|
+
|
|
120
|
+
export type PaymentRequestClassStatusEnum = typeof PaymentRequestClassStatusEnum[keyof typeof PaymentRequestClassStatusEnum];
|
|
121
|
+
|
|
122
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
import { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PayoutMethodClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PayoutMethodClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PayoutMethodClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PayoutMethodClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* First name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PayoutMethodClass
|
|
40
|
+
*/
|
|
41
|
+
'firstName': string;
|
|
42
|
+
/**
|
|
43
|
+
* Last name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PayoutMethodClass
|
|
46
|
+
*/
|
|
47
|
+
'lastName': string;
|
|
48
|
+
/**
|
|
49
|
+
* IBAN
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PayoutMethodClass
|
|
52
|
+
*/
|
|
53
|
+
'iban': string;
|
|
54
|
+
/**
|
|
55
|
+
* BIC
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PayoutMethodClass
|
|
58
|
+
*/
|
|
59
|
+
'bic': string;
|
|
60
|
+
/**
|
|
61
|
+
* Bank name
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PayoutMethodClass
|
|
64
|
+
*/
|
|
65
|
+
'bankName': string;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the payout method is active
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PayoutMethodClass
|
|
70
|
+
*/
|
|
71
|
+
'isActive': boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Billing address code
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PayoutMethodClass
|
|
76
|
+
*/
|
|
77
|
+
'billingAddressCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* Unique identifier of the account that this object belongs to.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PayoutMethodClass
|
|
82
|
+
*/
|
|
83
|
+
'accountCode': string;
|
|
84
|
+
/**
|
|
85
|
+
* Unique identifier of the partner that this object belongs to.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PayoutMethodClass
|
|
88
|
+
*/
|
|
89
|
+
'partnerCode': string;
|
|
90
|
+
/**
|
|
91
|
+
* Billing address
|
|
92
|
+
* @type {BillingAddressClass}
|
|
93
|
+
* @memberof PayoutMethodClass
|
|
94
|
+
*/
|
|
95
|
+
'billingAddress'?: BillingAddressClass;
|
|
96
|
+
/**
|
|
97
|
+
* Time at which the object was created.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PayoutMethodClass
|
|
100
|
+
*/
|
|
101
|
+
'createdAt': string;
|
|
102
|
+
/**
|
|
103
|
+
* Time at which the object was updated.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PayoutMethodClass
|
|
106
|
+
*/
|
|
107
|
+
'updatedAt': string;
|
|
108
|
+
/**
|
|
109
|
+
* Identifier of the user who created the record.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PayoutMethodClass
|
|
112
|
+
*/
|
|
113
|
+
'createdBy': string;
|
|
114
|
+
/**
|
|
115
|
+
* Identifier of the user who last updated the record.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PayoutMethodClass
|
|
118
|
+
*/
|
|
119
|
+
'updatedBy': string;
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -116,6 +116,12 @@ export interface TenantBankAccountClassWithoutExpandProperties {
|
|
|
116
116
|
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
117
117
|
*/
|
|
118
118
|
'sepaPainVersion': TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum;
|
|
119
|
+
/**
|
|
120
|
+
* Payout Pain version
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
123
|
+
*/
|
|
124
|
+
'payoutPainVersion': TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum;
|
|
119
125
|
}
|
|
120
126
|
|
|
121
127
|
export const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = {
|
|
@@ -129,5 +135,17 @@ export const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum =
|
|
|
129
135
|
} as const;
|
|
130
136
|
|
|
131
137
|
export type TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum];
|
|
138
|
+
export const TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = {
|
|
139
|
+
_00302: 'pain.001.003.02',
|
|
140
|
+
_00108: 'pain.001.001.08',
|
|
141
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
142
|
+
_00802: 'pain.001.008.02',
|
|
143
|
+
_00109: 'pain.001.001.09',
|
|
144
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
145
|
+
_00110: 'pain.001.001.10',
|
|
146
|
+
_00111: 'pain.001.001.11'
|
|
147
|
+
} as const;
|
|
148
|
+
|
|
149
|
+
export type TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum];
|
|
132
150
|
|
|
133
151
|
|
|
@@ -123,6 +123,12 @@ export interface TenantBankAccountClass {
|
|
|
123
123
|
* @memberof TenantBankAccountClass
|
|
124
124
|
*/
|
|
125
125
|
'sepaPainVersion': TenantBankAccountClassSepaPainVersionEnum;
|
|
126
|
+
/**
|
|
127
|
+
* Payout Pain version
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof TenantBankAccountClass
|
|
130
|
+
*/
|
|
131
|
+
'payoutPainVersion': TenantBankAccountClassPayoutPainVersionEnum;
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
export const TenantBankAccountClassSepaPainVersionEnum = {
|
|
@@ -136,5 +142,17 @@ export const TenantBankAccountClassSepaPainVersionEnum = {
|
|
|
136
142
|
} as const;
|
|
137
143
|
|
|
138
144
|
export type TenantBankAccountClassSepaPainVersionEnum = typeof TenantBankAccountClassSepaPainVersionEnum[keyof typeof TenantBankAccountClassSepaPainVersionEnum];
|
|
145
|
+
export const TenantBankAccountClassPayoutPainVersionEnum = {
|
|
146
|
+
_00302: 'pain.001.003.02',
|
|
147
|
+
_00108: 'pain.001.001.08',
|
|
148
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
149
|
+
_00802: 'pain.001.008.02',
|
|
150
|
+
_00109: 'pain.001.001.09',
|
|
151
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
152
|
+
_00110: 'pain.001.001.10',
|
|
153
|
+
_00111: 'pain.001.001.11'
|
|
154
|
+
} as const;
|
|
155
|
+
|
|
156
|
+
export type TenantBankAccountClassPayoutPainVersionEnum = typeof TenantBankAccountClassPayoutPainVersionEnum[keyof typeof TenantBankAccountClassPayoutPainVersionEnum];
|
|
139
157
|
|
|
140
158
|
|
|
@@ -105,6 +105,12 @@ export interface TenantBankAccountEntity {
|
|
|
105
105
|
* @memberof TenantBankAccountEntity
|
|
106
106
|
*/
|
|
107
107
|
'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof TenantBankAccountEntity
|
|
112
|
+
*/
|
|
113
|
+
'payoutPainVersion'?: TenantBankAccountEntityPayoutPainVersionEnum;
|
|
108
114
|
/**
|
|
109
115
|
*
|
|
110
116
|
* @type {string}
|
|
@@ -148,5 +154,17 @@ export const TenantBankAccountEntitySepaPainVersionEnum = {
|
|
|
148
154
|
} as const;
|
|
149
155
|
|
|
150
156
|
export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
|
|
157
|
+
export const TenantBankAccountEntityPayoutPainVersionEnum = {
|
|
158
|
+
_00302: 'pain.001.003.02',
|
|
159
|
+
_00108: 'pain.001.001.08',
|
|
160
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
161
|
+
_00802: 'pain.001.008.02',
|
|
162
|
+
_00109: 'pain.001.001.09',
|
|
163
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
164
|
+
_00110: 'pain.001.001.10',
|
|
165
|
+
_00111: 'pain.001.001.11'
|
|
166
|
+
} as const;
|
|
167
|
+
|
|
168
|
+
export type TenantBankAccountEntityPayoutPainVersionEnum = typeof TenantBankAccountEntityPayoutPainVersionEnum[keyof typeof TenantBankAccountEntityPayoutPainVersionEnum];
|
|
151
169
|
|
|
152
170
|
|
|
@@ -39,11 +39,11 @@ export interface UpdateBankOrderRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'tenantBankAccountCode': string;
|
|
41
41
|
/**
|
|
42
|
-
* List of
|
|
43
|
-
* @type {Array<
|
|
42
|
+
* List of entity codes associated with bank order.
|
|
43
|
+
* @type {Array<string>}
|
|
44
44
|
* @memberof UpdateBankOrderRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'entityCodes': Array<string>;
|
|
47
47
|
/**
|
|
48
48
|
* Day of execution of bank order.
|
|
49
49
|
* @type {string}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 UpdateBillingAddressRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateBillingAddressRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* First name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'firstName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Last name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'lastName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Street name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'street': string;
|
|
41
|
+
/**
|
|
42
|
+
* House number
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'houseNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* ZIP code
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'zipCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* City
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'city': string;
|
|
59
|
+
/**
|
|
60
|
+
* Country code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'countryCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the partner that this object belongs to.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'partnerCode': string;
|
|
71
|
+
}
|
|
72
|
+
|