@emilgroup/payment-sdk 1.16.1-beta.8 → 1.16.1-beta.80
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 +125 -14
- package/api.ts +4 -0
- package/base.ts +1 -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 +73 -9
- package/dist/api/webhooks-api.js +100 -11
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -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 +20 -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/credit-allocation-class.d.ts +6 -0
- package/dist/models/credit-allocation-entity.d.ts +6 -0
- 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-payment-receipts-response-class.d.ts +43 -0
- package/dist/models/list-payment-receipts-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-entity.d.ts +1 -1
- 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 +35 -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 +18 -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/credit-allocation-class.ts +6 -0
- package/models/credit-allocation-entity.ts +6 -0
- package/models/get-payment-receipt-response-class.ts +31 -0
- package/models/index.ts +10 -0
- package/models/list-payment-receipts-response-class.ts +49 -0
- package/models/payment-class-without-expand-properties.ts +1 -1
- package/models/payment-class.ts +1 -1
- package/models/payment-entity.ts +1 -1
- package/models/payment-receipt-class.ts +110 -0
- package/models/payment-request-class.ts +33 -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,101 @@
|
|
|
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 PaymentReceiptClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentReceiptClass {
|
|
18
|
+
/**
|
|
19
|
+
* id
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PaymentReceiptClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PaymentReceiptClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* amount in cents.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PaymentReceiptClass
|
|
34
|
+
*/
|
|
35
|
+
'amount': number;
|
|
36
|
+
/**
|
|
37
|
+
* currency
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PaymentReceiptClass
|
|
40
|
+
*/
|
|
41
|
+
'currency': string;
|
|
42
|
+
/**
|
|
43
|
+
* The receipt direction. Collect for incoming payments, Disburse for outgoing payments.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentReceiptClass
|
|
46
|
+
*/
|
|
47
|
+
'direction': PaymentReceiptClassDirectionEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Date the payment was confirmed
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentReceiptClass
|
|
52
|
+
*/
|
|
53
|
+
'dateOfPayment': string;
|
|
54
|
+
/**
|
|
55
|
+
* The code of the payment request associated with the payment receipt.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PaymentReceiptClass
|
|
58
|
+
*/
|
|
59
|
+
'paymentRequestCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The payment service provider that produced the payment receipt.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentReceiptClass
|
|
64
|
+
*/
|
|
65
|
+
'psp'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* An optional comment associated with the payment receipt.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentReceiptClass
|
|
70
|
+
*/
|
|
71
|
+
'comment'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was created.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentReceiptClass
|
|
76
|
+
*/
|
|
77
|
+
'createdAt': string;
|
|
78
|
+
/**
|
|
79
|
+
* Time at which the object was updated.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PaymentReceiptClass
|
|
82
|
+
*/
|
|
83
|
+
'updatedAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Identifier of the user who created the record.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PaymentReceiptClass
|
|
88
|
+
*/
|
|
89
|
+
'createdBy': string;
|
|
90
|
+
/**
|
|
91
|
+
* Identifier of the user who last updated the record.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PaymentReceiptClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedBy': string;
|
|
96
|
+
}
|
|
97
|
+
export declare const PaymentReceiptClassDirectionEnum: {
|
|
98
|
+
readonly Collect: "collect";
|
|
99
|
+
readonly Disburse: "disburse";
|
|
100
|
+
};
|
|
101
|
+
export type PaymentReceiptClassDirectionEnum = typeof PaymentReceiptClassDirectionEnum[keyof typeof PaymentReceiptClassDirectionEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PaymentReceiptClassDirectionEnum = void 0;
|
|
17
|
+
exports.PaymentReceiptClassDirectionEnum = {
|
|
18
|
+
Collect: 'collect',
|
|
19
|
+
Disburse: 'disburse'
|
|
20
|
+
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,6 +28,12 @@ export interface PaymentRequestClass {
|
|
|
27
28
|
* @memberof PaymentRequestClass
|
|
28
29
|
*/
|
|
29
30
|
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* Payment request number.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaymentRequestClass
|
|
35
|
+
*/
|
|
36
|
+
'paymentRequestNumber': string;
|
|
30
37
|
/**
|
|
31
38
|
* Payment amount in cents. 100 represents 1€.
|
|
32
39
|
* @type {number}
|
|
@@ -58,7 +65,7 @@ export interface PaymentRequestClass {
|
|
|
58
65
|
*/
|
|
59
66
|
'financialEntityNumber': string;
|
|
60
67
|
/**
|
|
61
|
-
* Type of the financial entity (e.g., invoice,
|
|
68
|
+
* Type of the financial entity (e.g., invoice, claim_regulation).
|
|
62
69
|
* @type {string}
|
|
63
70
|
* @memberof PaymentRequestClass
|
|
64
71
|
*/
|
|
@@ -82,11 +89,23 @@ export interface PaymentRequestClass {
|
|
|
82
89
|
*/
|
|
83
90
|
'domainEntityType': PaymentRequestClassDomainEntityTypeEnum;
|
|
84
91
|
/**
|
|
85
|
-
* Current status of the payment request. Valid statuses: open, approved, pending,
|
|
92
|
+
* Current status of the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn.
|
|
86
93
|
* @type {string}
|
|
87
94
|
* @memberof PaymentRequestClass
|
|
88
95
|
*/
|
|
89
96
|
'status': PaymentRequestClassStatusEnum;
|
|
97
|
+
/**
|
|
98
|
+
* Code of the settlement the payment request was created for.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof PaymentRequestClass
|
|
101
|
+
*/
|
|
102
|
+
'settlementCode'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Code of the partner the payment request was created for.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof PaymentRequestClass
|
|
107
|
+
*/
|
|
108
|
+
'partnerCode': string;
|
|
90
109
|
/**
|
|
91
110
|
* Code of the payment method used for this payment request.
|
|
92
111
|
* @type {string}
|
|
@@ -107,10 +126,18 @@ export interface PaymentRequestClass {
|
|
|
107
126
|
'paymentMethodPsp'?: string;
|
|
108
127
|
/**
|
|
109
128
|
* Optional field containing extra information about the payment request.
|
|
110
|
-
* @type {object}
|
|
129
|
+
* @type {{ [key: string]: object; }}
|
|
130
|
+
* @memberof PaymentRequestClass
|
|
131
|
+
*/
|
|
132
|
+
'metadata'?: {
|
|
133
|
+
[key: string]: object;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* The list of payment receipts.
|
|
137
|
+
* @type {Array<PaymentReceiptClass>}
|
|
111
138
|
* @memberof PaymentRequestClass
|
|
112
139
|
*/
|
|
113
|
-
'
|
|
140
|
+
'paymentReceipts': Array<PaymentReceiptClass>;
|
|
114
141
|
}
|
|
115
142
|
export declare const PaymentRequestClassDirectionEnum: {
|
|
116
143
|
readonly Collect: "collect";
|
|
@@ -118,24 +145,22 @@ export declare const PaymentRequestClassDirectionEnum: {
|
|
|
118
145
|
};
|
|
119
146
|
export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirectionEnum[keyof typeof PaymentRequestClassDirectionEnum];
|
|
120
147
|
export declare const PaymentRequestClassFinancialEntityTypeEnum: {
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly Invoice: "invoice";
|
|
148
|
+
readonly ClaimRegulation: "claim_regulation";
|
|
149
|
+
readonly RefundAllocation: "refund_allocation";
|
|
124
150
|
readonly Other: "other";
|
|
125
151
|
};
|
|
126
152
|
export type PaymentRequestClassFinancialEntityTypeEnum = typeof PaymentRequestClassFinancialEntityTypeEnum[keyof typeof PaymentRequestClassFinancialEntityTypeEnum];
|
|
127
153
|
export declare const PaymentRequestClassDomainEntityTypeEnum: {
|
|
128
154
|
readonly Other: "other";
|
|
129
155
|
readonly Claim: "claim";
|
|
130
|
-
readonly
|
|
131
|
-
readonly Commission: "commission";
|
|
156
|
+
readonly Policy: "policy";
|
|
132
157
|
};
|
|
133
158
|
export type PaymentRequestClassDomainEntityTypeEnum = typeof PaymentRequestClassDomainEntityTypeEnum[keyof typeof PaymentRequestClassDomainEntityTypeEnum];
|
|
134
159
|
export declare const PaymentRequestClassStatusEnum: {
|
|
135
160
|
readonly Open: "open";
|
|
136
161
|
readonly Approved: "approved";
|
|
137
162
|
readonly Pending: "pending";
|
|
138
|
-
readonly
|
|
163
|
+
readonly Paid: "paid";
|
|
139
164
|
readonly Failed: "failed";
|
|
140
165
|
readonly Withdrawn: "withdrawn";
|
|
141
166
|
};
|
|
@@ -19,22 +19,20 @@ exports.PaymentRequestClassDirectionEnum = {
|
|
|
19
19
|
Disburse: 'disburse'
|
|
20
20
|
};
|
|
21
21
|
exports.PaymentRequestClassFinancialEntityTypeEnum = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
Invoice: 'invoice',
|
|
22
|
+
ClaimRegulation: 'claim_regulation',
|
|
23
|
+
RefundAllocation: 'refund_allocation',
|
|
25
24
|
Other: 'other'
|
|
26
25
|
};
|
|
27
26
|
exports.PaymentRequestClassDomainEntityTypeEnum = {
|
|
28
27
|
Other: 'other',
|
|
29
28
|
Claim: 'claim',
|
|
30
|
-
|
|
31
|
-
Commission: 'commission'
|
|
29
|
+
Policy: 'policy'
|
|
32
30
|
};
|
|
33
31
|
exports.PaymentRequestClassStatusEnum = {
|
|
34
32
|
Open: 'open',
|
|
35
33
|
Approved: 'approved',
|
|
36
34
|
Pending: 'pending',
|
|
37
|
-
|
|
35
|
+
Paid: 'paid',
|
|
38
36
|
Failed: 'failed',
|
|
39
37
|
Withdrawn: 'withdrawn'
|
|
40
38
|
};
|
|
@@ -40,6 +40,12 @@ export interface PayoutMethodClass {
|
|
|
40
40
|
* @memberof PayoutMethodClass
|
|
41
41
|
*/
|
|
42
42
|
'lastName': string;
|
|
43
|
+
/**
|
|
44
|
+
* Bank account holder.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PayoutMethodClass
|
|
47
|
+
*/
|
|
48
|
+
'accountHolder': string;
|
|
43
49
|
/**
|
|
44
50
|
* IBAN
|
|
45
51
|
* @type {string}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdatePaymentReceiptResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdatePaymentReceiptResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The updated payment receipt.
|
|
21
|
+
* @type {PaymentReceiptClass}
|
|
22
|
+
* @memberof UpdatePaymentReceiptResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -22,7 +22,7 @@ export interface UpdatePaymentRequestRequestDto {
|
|
|
22
22
|
*/
|
|
23
23
|
'code': string;
|
|
24
24
|
/**
|
|
25
|
-
* New status for the payment request. Valid statuses: open, approved, pending,
|
|
25
|
+
* New status for the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdatePaymentRequestRequestDto
|
|
28
28
|
*/
|
|
@@ -32,7 +32,7 @@ export declare const UpdatePaymentRequestRequestDtoStatusEnum: {
|
|
|
32
32
|
readonly Open: "open";
|
|
33
33
|
readonly Approved: "approved";
|
|
34
34
|
readonly Pending: "pending";
|
|
35
|
-
readonly
|
|
35
|
+
readonly Paid: "paid";
|
|
36
36
|
readonly Failed: "failed";
|
|
37
37
|
readonly Withdrawn: "withdrawn";
|
|
38
38
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
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 ValidateIbanRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidateIbanRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* iban
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ValidateIbanRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'iban': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil 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,31 @@
|
|
|
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 { BankDataClass } from './bank-data-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ValidateIbanResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ValidateIbanResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* valid
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ValidateIbanResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'valid': boolean;
|
|
25
|
+
/**
|
|
26
|
+
* bankData
|
|
27
|
+
* @type {BankDataClass}
|
|
28
|
+
* @memberof ValidateIbanResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'bankData'?: BankDataClass;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil 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 });
|
|
@@ -50,6 +50,12 @@ export interface BankAccountClassWithoutExpandProperties {
|
|
|
50
50
|
* @memberof BankAccountClassWithoutExpandProperties
|
|
51
51
|
*/
|
|
52
52
|
'bic': string;
|
|
53
|
+
/**
|
|
54
|
+
* Bank name.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BankAccountClassWithoutExpandProperties
|
|
57
|
+
*/
|
|
58
|
+
'bankName': string;
|
|
53
59
|
/**
|
|
54
60
|
* Bank account holder.
|
|
55
61
|
* @type {string}
|
|
@@ -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 BankDataClass
|
|
21
|
+
*/
|
|
22
|
+
export interface BankDataClass {
|
|
23
|
+
/**
|
|
24
|
+
* BIC
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BankDataClass
|
|
27
|
+
*/
|
|
28
|
+
'bic': string;
|
|
29
|
+
/**
|
|
30
|
+
* Bank name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BankDataClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Bank code
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BankDataClass
|
|
39
|
+
*/
|
|
40
|
+
'code': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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 CreatePaymentReceiptRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePaymentReceiptRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* amount
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'amount': number;
|
|
29
|
+
/**
|
|
30
|
+
* currency
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'currency': string;
|
|
35
|
+
/**
|
|
36
|
+
* The flow of the payment: disburse or collect
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Date the payment was confirmed
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'dateOfPayment': string;
|
|
47
|
+
/**
|
|
48
|
+
* paymentRequestCode
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'paymentRequestCode'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* psp
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'psp'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* comment
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreatePaymentReceiptRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'comment'?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const CreatePaymentReceiptRequestDtoDirectionEnum = {
|
|
68
|
+
Collect: 'collect',
|
|
69
|
+
Disburse: 'disburse'
|
|
70
|
+
} as const;
|
|
71
|
+
|
|
72
|
+
export type CreatePaymentReceiptRequestDtoDirectionEnum = typeof CreatePaymentReceiptRequestDtoDirectionEnum[keyof typeof CreatePaymentReceiptRequestDtoDirectionEnum];
|
|
73
|
+
|
|
74
|
+
|
|
@@ -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,18 @@ 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;
|
|
83
|
+
/**
|
|
84
|
+
* Code of the partner the payment request was created for.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'partnerCode': string;
|
|
77
89
|
/**
|
|
78
90
|
* Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
|
|
79
91
|
* @type {string}
|
|
@@ -82,10 +94,10 @@ export interface CreatePaymentRequestRequestDto {
|
|
|
82
94
|
'paymentMethodCode'?: string;
|
|
83
95
|
/**
|
|
84
96
|
* Optional field containing extra information about the payment request.
|
|
85
|
-
* @type {object}
|
|
97
|
+
* @type {{ [key: string]: object; }}
|
|
86
98
|
* @memberof CreatePaymentRequestRequestDto
|
|
87
99
|
*/
|
|
88
|
-
'metadata'?: object;
|
|
100
|
+
'metadata'?: { [key: string]: object; };
|
|
89
101
|
}
|
|
90
102
|
|
|
91
103
|
export const CreatePaymentRequestRequestDtoDirectionEnum = {
|
|
@@ -95,9 +107,8 @@ export const CreatePaymentRequestRequestDtoDirectionEnum = {
|
|
|
95
107
|
|
|
96
108
|
export type CreatePaymentRequestRequestDtoDirectionEnum = typeof CreatePaymentRequestRequestDtoDirectionEnum[keyof typeof CreatePaymentRequestRequestDtoDirectionEnum];
|
|
97
109
|
export const CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
Invoice: 'invoice',
|
|
110
|
+
ClaimRegulation: 'claim_regulation',
|
|
111
|
+
RefundAllocation: 'refund_allocation',
|
|
101
112
|
Other: 'other'
|
|
102
113
|
} as const;
|
|
103
114
|
|
|
@@ -105,8 +116,7 @@ export type CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = typeof Creat
|
|
|
105
116
|
export const CreatePaymentRequestRequestDtoDomainEntityTypeEnum = {
|
|
106
117
|
Other: 'other',
|
|
107
118
|
Claim: 'claim',
|
|
108
|
-
|
|
109
|
-
Commission: 'commission'
|
|
119
|
+
Policy: 'policy'
|
|
110
120
|
} as const;
|
|
111
121
|
|
|
112
122
|
export type CreatePaymentRequestRequestDtoDomainEntityTypeEnum = typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum[keyof typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum];
|