@emilgroup/payment-sdk 1.16.1-beta.9 → 1.16.1-beta.91
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 +12 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +16 -16
- package/api/bank-orders-api.ts +16 -16
- package/api/bank-transaction-api.ts +12 -12
- package/api/billing-addresses-api.ts +12 -12
- package/api/credit-allocation-api.ts +12 -12
- package/api/exceeding-credits-api.ts +12 -12
- package/api/ibanvalidator-api.ts +165 -0
- package/api/payment-methods-api.ts +12 -12
- package/api/payment-receipts-api.ts +676 -0
- package/api/payment-reminders-api.ts +16 -16
- package/api/payment-requests-api.ts +20 -20
- package/api/payments-api.ts +12 -12
- package/api/payout-methods-api.ts +138 -20
- package/api/refunds-api.ts +12 -12
- package/api/tenant-bank-account-api.ts +12 -12
- package/api/webhooks-api.ts +143 -19
- package/api.ts +4 -0
- package/dist/api/bank-accounts-api.d.ts +16 -16
- package/dist/api/bank-accounts-api.js +13 -13
- package/dist/api/bank-orders-api.d.ts +16 -16
- package/dist/api/bank-orders-api.js +14 -14
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +10 -10
- package/dist/api/billing-addresses-api.d.ts +12 -12
- package/dist/api/billing-addresses-api.js +10 -10
- package/dist/api/credit-allocation-api.d.ts +12 -12
- package/dist/api/credit-allocation-api.js +10 -10
- package/dist/api/exceeding-credits-api.d.ts +12 -12
- package/dist/api/exceeding-credits-api.js +10 -10
- package/dist/api/ibanvalidator-api.d.ts +97 -0
- package/dist/api/ibanvalidator-api.js +224 -0
- package/dist/api/payment-methods-api.d.ts +12 -12
- package/dist/api/payment-methods-api.js +10 -10
- package/dist/api/payment-receipts-api.d.ts +383 -0
- package/dist/api/payment-receipts-api.js +637 -0
- package/dist/api/payment-reminders-api.d.ts +16 -16
- package/dist/api/payment-reminders-api.js +13 -13
- package/dist/api/payment-requests-api.d.ts +20 -20
- package/dist/api/payment-requests-api.js +15 -15
- package/dist/api/payments-api.d.ts +12 -12
- package/dist/api/payments-api.js +10 -10
- package/dist/api/payout-methods-api.d.ts +85 -20
- package/dist/api/payout-methods-api.js +115 -16
- package/dist/api/refunds-api.d.ts +12 -12
- package/dist/api/refunds-api.js +10 -10
- package/dist/api/tenant-bank-account-api.d.ts +12 -12
- package/dist/api/tenant-bank-account-api.js +10 -10
- package/dist/api/webhooks-api.d.ts +85 -12
- package/dist/api/webhooks-api.js +107 -12
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/bank-account-class-without-expand-properties.d.ts +6 -0
- package/dist/models/bank-account-class.d.ts +6 -0
- package/dist/models/bank-data-class.d.ts +36 -0
- package/dist/models/bank-data-class.js +15 -0
- package/dist/models/create-payment-receipt-request-dto.d.ts +65 -0
- package/dist/models/create-payment-receipt-request-dto.js +20 -0
- package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/create-payment-receipt-response-class.js +15 -0
- package/dist/models/create-payment-request-request-dto.d.ts +14 -8
- package/dist/models/create-payment-request-request-dto.js +3 -5
- package/dist/models/create-payout-method-by-bank-account-request-dto.d.ts +36 -0
- package/dist/models/create-payout-method-by-bank-account-request-dto.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +8 -2
- package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/get-payment-receipt-response-class.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
- package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
- package/dist/models/list-payment-receipts-response-class.js +15 -0
- package/dist/models/list-payment-requests-response-class.d.ts +18 -6
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +18 -6
- package/dist/models/payment-receipt-class.d.ts +101 -0
- package/dist/models/payment-receipt-class.js +20 -0
- package/dist/models/payment-request-class.d.ts +17 -10
- package/dist/models/payment-request-class.js +4 -6
- package/dist/models/payout-method-class.d.ts +6 -0
- package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/update-payment-receipt-response-class.js +15 -0
- package/dist/models/update-payment-request-request-dto.d.ts +2 -2
- package/dist/models/update-payment-request-request-dto.js +1 -1
- package/dist/models/validate-iban-request-dto.d.ts +24 -0
- package/dist/models/validate-iban-request-dto.js +15 -0
- package/dist/models/validate-iban-response-class.d.ts +31 -0
- package/dist/models/validate-iban-response-class.js +15 -0
- package/models/bank-account-class-without-expand-properties.ts +6 -0
- package/models/bank-account-class.ts +6 -0
- package/models/bank-data-class.ts +42 -0
- package/models/create-payment-receipt-request-dto.ts +74 -0
- package/models/create-payment-receipt-response-class.ts +31 -0
- package/models/create-payment-request-request-dto.ts +12 -8
- package/models/create-payout-method-by-bank-account-request-dto.ts +42 -0
- package/models/create-payout-method-request-dto.ts +8 -2
- package/models/get-payment-receipt-response-class.ts +31 -0
- package/models/index.ts +10 -0
- package/models/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +18 -6
- package/models/list-payment-receipts-response-class.ts +49 -0
- package/models/list-payment-requests-response-class.ts +18 -6
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +18 -6
- package/models/payment-receipt-class.ts +110 -0
- package/models/payment-request-class.ts +15 -10
- package/models/payout-method-class.ts +6 -0
- package/models/update-payment-receipt-response-class.ts +31 -0
- package/models/update-payment-request-request-dto.ts +2 -2
- package/models/validate-iban-request-dto.ts +30 -0
- package/models/validate-iban-response-class.ts +37 -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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePaymentReceiptResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePaymentReceiptResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created payment receipt with all its details.
|
|
26
|
+
* @type {PaymentReceiptClass}
|
|
27
|
+
* @memberof CreatePaymentReceiptResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -51,7 +51,7 @@ export interface CreatePaymentRequestRequestDto {
|
|
|
51
51
|
*/
|
|
52
52
|
'financialEntityNumber': string;
|
|
53
53
|
/**
|
|
54
|
-
* Type of the financial entity (e.g.,
|
|
54
|
+
* Type of the financial entity (e.g., refund_allocation, claim_regulation).
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof CreatePaymentRequestRequestDto
|
|
57
57
|
*/
|
|
@@ -74,6 +74,12 @@ export interface CreatePaymentRequestRequestDto {
|
|
|
74
74
|
* @memberof CreatePaymentRequestRequestDto
|
|
75
75
|
*/
|
|
76
76
|
'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Code of the settlement the payment request was created for.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'settlementCode'?: string;
|
|
77
83
|
/**
|
|
78
84
|
* Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
|
|
79
85
|
* @type {string}
|
|
@@ -82,10 +88,10 @@ export interface CreatePaymentRequestRequestDto {
|
|
|
82
88
|
'paymentMethodCode'?: string;
|
|
83
89
|
/**
|
|
84
90
|
* Optional field containing extra information about the payment request.
|
|
85
|
-
* @type {object}
|
|
91
|
+
* @type {{ [key: string]: object; }}
|
|
86
92
|
* @memberof CreatePaymentRequestRequestDto
|
|
87
93
|
*/
|
|
88
|
-
'metadata'?: object;
|
|
94
|
+
'metadata'?: { [key: string]: object; };
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
export const CreatePaymentRequestRequestDtoDirectionEnum = {
|
|
@@ -95,9 +101,8 @@ export const CreatePaymentRequestRequestDtoDirectionEnum = {
|
|
|
95
101
|
|
|
96
102
|
export type CreatePaymentRequestRequestDtoDirectionEnum = typeof CreatePaymentRequestRequestDtoDirectionEnum[keyof typeof CreatePaymentRequestRequestDtoDirectionEnum];
|
|
97
103
|
export const CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
Invoice: 'invoice',
|
|
104
|
+
ClaimRegulation: 'claim_regulation',
|
|
105
|
+
RefundAllocation: 'refund_allocation',
|
|
101
106
|
Other: 'other'
|
|
102
107
|
} as const;
|
|
103
108
|
|
|
@@ -105,8 +110,7 @@ export type CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = typeof Creat
|
|
|
105
110
|
export const CreatePaymentRequestRequestDtoDomainEntityTypeEnum = {
|
|
106
111
|
Other: 'other',
|
|
107
112
|
Claim: 'claim',
|
|
108
|
-
|
|
109
|
-
Commission: 'commission'
|
|
113
|
+
Policy: 'policy'
|
|
110
114
|
} as const;
|
|
111
115
|
|
|
112
116
|
export type CreatePaymentRequestRequestDtoDomainEntityTypeEnum = typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum[keyof typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum];
|
|
@@ -0,0 +1,42 @@
|
|
|
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 CreatePayoutMethodByBankAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePayoutMethodByBankAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The code identifying the bank account that will be used to create the payout method.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'bankAccountCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* Billing address code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'billingAddressCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -31,13 +31,19 @@ export interface CreatePayoutMethodRequestDto {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreatePayoutMethodRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'firstName'
|
|
34
|
+
'firstName'?: string;
|
|
35
35
|
/**
|
|
36
36
|
* Last name
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreatePayoutMethodRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'lastName'
|
|
40
|
+
'lastName'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Account holder
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'accountHolder'?: string;
|
|
41
47
|
/**
|
|
42
48
|
* IBAN
|
|
43
49
|
* @type {string}
|
|
@@ -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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPaymentReceiptResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPaymentReceiptResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payment receipt retrieved by its code.
|
|
26
|
+
* @type {PaymentReceiptClass}
|
|
27
|
+
* @memberof GetPaymentReceiptResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './activate-policy-payment-method-request-dto';
|
|
2
2
|
export * from './bank-account-class';
|
|
3
3
|
export * from './bank-account-class-without-expand-properties';
|
|
4
|
+
export * from './bank-data-class';
|
|
4
5
|
export * from './bank-order-class';
|
|
5
6
|
export * from './bank-order-entity';
|
|
6
7
|
export * from './bank-order-xml-file-class';
|
|
@@ -33,12 +34,15 @@ export * from './create-credit-allocation-response-class';
|
|
|
33
34
|
export * from './create-payment-method-response-class';
|
|
34
35
|
export * from './create-payment-order-dto';
|
|
35
36
|
export * from './create-payment-order-request-dto';
|
|
37
|
+
export * from './create-payment-receipt-request-dto';
|
|
38
|
+
export * from './create-payment-receipt-response-class';
|
|
36
39
|
export * from './create-payment-reminder-request-dto';
|
|
37
40
|
export * from './create-payment-reminder-response-class';
|
|
38
41
|
export * from './create-payment-request-dto';
|
|
39
42
|
export * from './create-payment-request-request-dto';
|
|
40
43
|
export * from './create-payment-request-response-class';
|
|
41
44
|
export * from './create-payment-response-class';
|
|
45
|
+
export * from './create-payout-method-by-bank-account-request-dto';
|
|
42
46
|
export * from './create-payout-method-request-dto';
|
|
43
47
|
export * from './create-payout-method-response-class';
|
|
44
48
|
export * from './create-policy-payment-method-request-dto';
|
|
@@ -64,6 +68,7 @@ export * from './get-billing-address-response-class';
|
|
|
64
68
|
export * from './get-credit-allocation-response-class';
|
|
65
69
|
export * from './get-exceeding-credit-response-class';
|
|
66
70
|
export * from './get-payment-method-response-class';
|
|
71
|
+
export * from './get-payment-receipt-response-class';
|
|
67
72
|
export * from './get-payment-reminder-response-class';
|
|
68
73
|
export * from './get-payment-request-response-class';
|
|
69
74
|
export * from './get-payment-response-class';
|
|
@@ -94,6 +99,7 @@ export * from './list-billing-addresses-response-class';
|
|
|
94
99
|
export * from './list-credit-allocations-response-class';
|
|
95
100
|
export * from './list-exceeding-credits-response-class';
|
|
96
101
|
export * from './list-payment-methods-response-class';
|
|
102
|
+
export * from './list-payment-receipts-response-class';
|
|
97
103
|
export * from './list-payment-reminders-response-class';
|
|
98
104
|
export * from './list-payment-requests-response-class';
|
|
99
105
|
export * from './list-payments-response-class';
|
|
@@ -108,6 +114,7 @@ export * from './payment-class';
|
|
|
108
114
|
export * from './payment-class-without-expand-properties';
|
|
109
115
|
export * from './payment-entity';
|
|
110
116
|
export * from './payment-method-class';
|
|
117
|
+
export * from './payment-receipt-class';
|
|
111
118
|
export * from './payment-reminder-class';
|
|
112
119
|
export * from './payment-request-class';
|
|
113
120
|
export * from './payout-method-class';
|
|
@@ -134,8 +141,11 @@ export * from './update-bank-order-request-dto';
|
|
|
134
141
|
export * from './update-bank-order-response-class';
|
|
135
142
|
export * from './update-billing-address-request-dto';
|
|
136
143
|
export * from './update-billing-address-response-class';
|
|
144
|
+
export * from './update-payment-receipt-response-class';
|
|
137
145
|
export * from './update-payment-request-request-dto';
|
|
138
146
|
export * from './update-payment-request-response-class';
|
|
139
147
|
export * from './update-tenant-bank-account-response-class';
|
|
140
148
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
149
|
+
export * from './validate-iban-request-dto';
|
|
150
|
+
export * from './validate-iban-response-class';
|
|
141
151
|
export * from './validate-pspconfig-request-dto';
|
|
@@ -21,18 +21,18 @@ import { BillingAddressClass } from './billing-address-class';
|
|
|
21
21
|
* @interface ListBillingAddressesResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListBillingAddressesResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The billing addresses
|
|
26
|
-
* @type {Array<BillingAddressClass>}
|
|
27
|
-
* @memberof ListBillingAddressesResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<BillingAddressClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListBillingAddressesResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListBillingAddressesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
36
|
/**
|
|
37
37
|
* Items per page.
|
|
38
38
|
* @type {number}
|
|
@@ -40,10 +40,10 @@ export interface ListBillingAddressesResponseClass {
|
|
|
40
40
|
*/
|
|
41
41
|
'itemsPerPage': number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
* The billing addresses
|
|
44
|
+
* @type {Array<BillingAddressClass>}
|
|
45
45
|
* @memberof ListBillingAddressesResponseClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'items': Array<BillingAddressClass>;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -21,17 +21,29 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
|
|
|
21
21
|
* @interface ListExceedingCreditsResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListExceedingCreditsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The list of exceeding credits.
|
|
26
|
-
* @type {Array<ExceedingCreditClass>}
|
|
27
|
-
* @memberof ListExceedingCreditsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<ExceedingCreditClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListExceedingCreditsResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The list of exceeding credits.
|
|
44
|
+
* @type {Array<ExceedingCreditClass>}
|
|
45
|
+
* @memberof ListExceedingCreditsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<ExceedingCreditClass>;
|
|
36
48
|
}
|
|
37
49
|
|
|
@@ -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 { PaymentReceiptClass } from './payment-receipt-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPaymentReceiptsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPaymentReceiptsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The list of payment receipts.
|
|
44
|
+
* @type {Array<PaymentReceiptClass>}
|
|
45
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<PaymentReceiptClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -21,17 +21,29 @@ import { PaymentRequestClass } from './payment-request-class';
|
|
|
21
21
|
* @interface ListPaymentRequestsResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListPaymentRequestsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The list of payment requests.
|
|
26
|
-
* @type {Array<PaymentRequestClass>}
|
|
27
|
-
* @memberof ListPaymentRequestsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<PaymentRequestClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListPaymentRequestsResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The list of payment requests.
|
|
44
|
+
* @type {Array<PaymentRequestClass>}
|
|
45
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<PaymentRequestClass>;
|
|
36
48
|
}
|
|
37
49
|
|
|
@@ -21,18 +21,18 @@ import { PayoutMethodClass } from './payout-method-class';
|
|
|
21
21
|
* @interface ListPayoutMethodsResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListPayoutMethodsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The payout methods
|
|
26
|
-
* @type {Array<PayoutMethodClass>}
|
|
27
|
-
* @memberof ListPayoutMethodsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<PayoutMethodClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListPayoutMethodsResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
36
|
/**
|
|
37
37
|
* Items per page.
|
|
38
38
|
* @type {number}
|
|
@@ -40,10 +40,10 @@ export interface ListPayoutMethodsResponseClass {
|
|
|
40
40
|
*/
|
|
41
41
|
'itemsPerPage': number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {
|
|
43
|
+
* The payout methods
|
|
44
|
+
* @type {Array<PayoutMethodClass>}
|
|
45
45
|
* @memberof ListPayoutMethodsResponseClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'items': Array<PayoutMethodClass>;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -21,17 +21,29 @@ import { RefundClass } from './refund-class';
|
|
|
21
21
|
* @interface ListRefundsResponseClass
|
|
22
22
|
*/
|
|
23
23
|
export interface ListRefundsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The list of refunds.
|
|
26
|
-
* @type {Array<RefundClass>}
|
|
27
|
-
* @memberof ListRefundsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<RefundClass>;
|
|
30
24
|
/**
|
|
31
25
|
* Next page token.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof ListRefundsResponseClass
|
|
34
28
|
*/
|
|
35
29
|
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListRefundsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListRefundsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The list of refunds.
|
|
44
|
+
* @type {Array<RefundClass>}
|
|
45
|
+
* @memberof ListRefundsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<RefundClass>;
|
|
36
48
|
}
|
|
37
49
|
|
|
@@ -0,0 +1,110 @@
|
|
|
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 PaymentReceiptClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PaymentReceiptClass {
|
|
23
|
+
/**
|
|
24
|
+
* id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PaymentReceiptClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PaymentReceiptClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* amount in cents.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PaymentReceiptClass
|
|
39
|
+
*/
|
|
40
|
+
'amount': number;
|
|
41
|
+
/**
|
|
42
|
+
* currency
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PaymentReceiptClass
|
|
45
|
+
*/
|
|
46
|
+
'currency': string;
|
|
47
|
+
/**
|
|
48
|
+
* The receipt direction. Collect for incoming payments, Disburse for outgoing payments.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PaymentReceiptClass
|
|
51
|
+
*/
|
|
52
|
+
'direction': PaymentReceiptClassDirectionEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Date the payment was confirmed
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PaymentReceiptClass
|
|
57
|
+
*/
|
|
58
|
+
'dateOfPayment': string;
|
|
59
|
+
/**
|
|
60
|
+
* The code of the payment request associated with the payment receipt.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PaymentReceiptClass
|
|
63
|
+
*/
|
|
64
|
+
'paymentRequestCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The payment service provider that produced the payment receipt.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PaymentReceiptClass
|
|
69
|
+
*/
|
|
70
|
+
'psp'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* An optional comment associated with the payment receipt.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PaymentReceiptClass
|
|
75
|
+
*/
|
|
76
|
+
'comment'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was created.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PaymentReceiptClass
|
|
81
|
+
*/
|
|
82
|
+
'createdAt': string;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was updated.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PaymentReceiptClass
|
|
87
|
+
*/
|
|
88
|
+
'updatedAt': string;
|
|
89
|
+
/**
|
|
90
|
+
* Identifier of the user who created the record.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PaymentReceiptClass
|
|
93
|
+
*/
|
|
94
|
+
'createdBy': string;
|
|
95
|
+
/**
|
|
96
|
+
* Identifier of the user who last updated the record.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof PaymentReceiptClass
|
|
99
|
+
*/
|
|
100
|
+
'updatedBy': string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export const PaymentReceiptClassDirectionEnum = {
|
|
104
|
+
Collect: 'collect',
|
|
105
|
+
Disburse: 'disburse'
|
|
106
|
+
} as const;
|
|
107
|
+
|
|
108
|
+
export type PaymentReceiptClassDirectionEnum = typeof PaymentReceiptClassDirectionEnum[keyof typeof PaymentReceiptClassDirectionEnum];
|
|
109
|
+
|
|
110
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -69,7 +70,7 @@ export interface PaymentRequestClass {
|
|
|
69
70
|
*/
|
|
70
71
|
'financialEntityNumber': string;
|
|
71
72
|
/**
|
|
72
|
-
* Type of the financial entity (e.g., invoice,
|
|
73
|
+
* Type of the financial entity (e.g., invoice, claim_regulation).
|
|
73
74
|
* @type {string}
|
|
74
75
|
* @memberof PaymentRequestClass
|
|
75
76
|
*/
|
|
@@ -93,7 +94,7 @@ export interface PaymentRequestClass {
|
|
|
93
94
|
*/
|
|
94
95
|
'domainEntityType': PaymentRequestClassDomainEntityTypeEnum;
|
|
95
96
|
/**
|
|
96
|
-
* Current status of the payment request. Valid statuses: open, approved, pending,
|
|
97
|
+
* Current status of the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn.
|
|
97
98
|
* @type {string}
|
|
98
99
|
* @memberof PaymentRequestClass
|
|
99
100
|
*/
|
|
@@ -118,10 +119,16 @@ export interface PaymentRequestClass {
|
|
|
118
119
|
'paymentMethodPsp'?: string;
|
|
119
120
|
/**
|
|
120
121
|
* Optional field containing extra information about the payment request.
|
|
121
|
-
* @type {object}
|
|
122
|
+
* @type {{ [key: string]: object; }}
|
|
122
123
|
* @memberof PaymentRequestClass
|
|
123
124
|
*/
|
|
124
|
-
'metadata'?: object;
|
|
125
|
+
'metadata'?: { [key: string]: object; };
|
|
126
|
+
/**
|
|
127
|
+
* The list of payment receipts.
|
|
128
|
+
* @type {Array<PaymentReceiptClass>}
|
|
129
|
+
* @memberof PaymentRequestClass
|
|
130
|
+
*/
|
|
131
|
+
'paymentReceipts': Array<PaymentReceiptClass>;
|
|
125
132
|
}
|
|
126
133
|
|
|
127
134
|
export const PaymentRequestClassDirectionEnum = {
|
|
@@ -131,9 +138,8 @@ export const PaymentRequestClassDirectionEnum = {
|
|
|
131
138
|
|
|
132
139
|
export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirectionEnum[keyof typeof PaymentRequestClassDirectionEnum];
|
|
133
140
|
export const PaymentRequestClassFinancialEntityTypeEnum = {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
Invoice: 'invoice',
|
|
141
|
+
ClaimRegulation: 'claim_regulation',
|
|
142
|
+
RefundAllocation: 'refund_allocation',
|
|
137
143
|
Other: 'other'
|
|
138
144
|
} as const;
|
|
139
145
|
|
|
@@ -141,8 +147,7 @@ export type PaymentRequestClassFinancialEntityTypeEnum = typeof PaymentRequestCl
|
|
|
141
147
|
export const PaymentRequestClassDomainEntityTypeEnum = {
|
|
142
148
|
Other: 'other',
|
|
143
149
|
Claim: 'claim',
|
|
144
|
-
|
|
145
|
-
Commission: 'commission'
|
|
150
|
+
Policy: 'policy'
|
|
146
151
|
} as const;
|
|
147
152
|
|
|
148
153
|
export type PaymentRequestClassDomainEntityTypeEnum = typeof PaymentRequestClassDomainEntityTypeEnum[keyof typeof PaymentRequestClassDomainEntityTypeEnum];
|
|
@@ -150,7 +155,7 @@ export const PaymentRequestClassStatusEnum = {
|
|
|
150
155
|
Open: 'open',
|
|
151
156
|
Approved: 'approved',
|
|
152
157
|
Pending: 'pending',
|
|
153
|
-
|
|
158
|
+
Paid: 'paid',
|
|
154
159
|
Failed: 'failed',
|
|
155
160
|
Withdrawn: 'withdrawn'
|
|
156
161
|
} as const;
|
|
@@ -45,6 +45,12 @@ export interface PayoutMethodClass {
|
|
|
45
45
|
* @memberof PayoutMethodClass
|
|
46
46
|
*/
|
|
47
47
|
'lastName': string;
|
|
48
|
+
/**
|
|
49
|
+
* Bank account holder.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PayoutMethodClass
|
|
52
|
+
*/
|
|
53
|
+
'accountHolder': string;
|
|
48
54
|
/**
|
|
49
55
|
* IBAN
|
|
50
56
|
* @type {string}
|