@emilgroup/payment-sdk 1.16.1-beta.6 → 1.16.1-beta.61
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 +12 -12
- 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.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 +12 -12
- package/dist/api/payment-reminders-api.js +10 -10
- 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.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 +48 -11
- package/dist/models/create-payment-request-request-dto.js +8 -4
- 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-payment-receipts-response-class.d.ts +43 -0
- package/dist/models/list-payment-receipts-response-class.js +15 -0
- 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 +56 -12
- package/dist/models/payment-request-class.js +9 -5
- 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 +47 -11
- 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-payment-receipts-response-class.ts +49 -0
- package/models/payment-receipt-class.ts +110 -0
- package/models/payment-request-class.ts +55 -12
- 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,36 @@
|
|
|
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 CreatePayoutMethodByBankAccountRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePayoutMethodByBankAccountRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The code identifying the bank account that will be used to create the payout method.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'bankAccountCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Billing address code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'billingAddressCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode': string;
|
|
36
|
+
}
|
|
@@ -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 });
|
|
@@ -26,13 +26,19 @@ export interface CreatePayoutMethodRequestDto {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreatePayoutMethodRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'firstName'
|
|
29
|
+
'firstName'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Last name
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePayoutMethodRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'lastName'
|
|
35
|
+
'lastName'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Account holder
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'accountHolder'?: string;
|
|
36
42
|
/**
|
|
37
43
|
* IBAN
|
|
38
44
|
* @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 GetPaymentReceiptResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPaymentReceiptResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The payment receipt retrieved by its code.
|
|
21
|
+
* @type {PaymentReceiptClass}
|
|
22
|
+
* @memberof GetPaymentReceiptResponseClass
|
|
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 });
|
package/dist/models/index.d.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';
|
package/dist/models/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./activate-policy-payment-method-request-dto"), exports);
|
|
18
18
|
__exportStar(require("./bank-account-class"), exports);
|
|
19
19
|
__exportStar(require("./bank-account-class-without-expand-properties"), exports);
|
|
20
|
+
__exportStar(require("./bank-data-class"), exports);
|
|
20
21
|
__exportStar(require("./bank-order-class"), exports);
|
|
21
22
|
__exportStar(require("./bank-order-entity"), exports);
|
|
22
23
|
__exportStar(require("./bank-order-xml-file-class"), exports);
|
|
@@ -49,12 +50,15 @@ __exportStar(require("./create-credit-allocation-response-class"), exports);
|
|
|
49
50
|
__exportStar(require("./create-payment-method-response-class"), exports);
|
|
50
51
|
__exportStar(require("./create-payment-order-dto"), exports);
|
|
51
52
|
__exportStar(require("./create-payment-order-request-dto"), exports);
|
|
53
|
+
__exportStar(require("./create-payment-receipt-request-dto"), exports);
|
|
54
|
+
__exportStar(require("./create-payment-receipt-response-class"), exports);
|
|
52
55
|
__exportStar(require("./create-payment-reminder-request-dto"), exports);
|
|
53
56
|
__exportStar(require("./create-payment-reminder-response-class"), exports);
|
|
54
57
|
__exportStar(require("./create-payment-request-dto"), exports);
|
|
55
58
|
__exportStar(require("./create-payment-request-request-dto"), exports);
|
|
56
59
|
__exportStar(require("./create-payment-request-response-class"), exports);
|
|
57
60
|
__exportStar(require("./create-payment-response-class"), exports);
|
|
61
|
+
__exportStar(require("./create-payout-method-by-bank-account-request-dto"), exports);
|
|
58
62
|
__exportStar(require("./create-payout-method-request-dto"), exports);
|
|
59
63
|
__exportStar(require("./create-payout-method-response-class"), exports);
|
|
60
64
|
__exportStar(require("./create-policy-payment-method-request-dto"), exports);
|
|
@@ -80,6 +84,7 @@ __exportStar(require("./get-billing-address-response-class"), exports);
|
|
|
80
84
|
__exportStar(require("./get-credit-allocation-response-class"), exports);
|
|
81
85
|
__exportStar(require("./get-exceeding-credit-response-class"), exports);
|
|
82
86
|
__exportStar(require("./get-payment-method-response-class"), exports);
|
|
87
|
+
__exportStar(require("./get-payment-receipt-response-class"), exports);
|
|
83
88
|
__exportStar(require("./get-payment-reminder-response-class"), exports);
|
|
84
89
|
__exportStar(require("./get-payment-request-response-class"), exports);
|
|
85
90
|
__exportStar(require("./get-payment-response-class"), exports);
|
|
@@ -110,6 +115,7 @@ __exportStar(require("./list-billing-addresses-response-class"), exports);
|
|
|
110
115
|
__exportStar(require("./list-credit-allocations-response-class"), exports);
|
|
111
116
|
__exportStar(require("./list-exceeding-credits-response-class"), exports);
|
|
112
117
|
__exportStar(require("./list-payment-methods-response-class"), exports);
|
|
118
|
+
__exportStar(require("./list-payment-receipts-response-class"), exports);
|
|
113
119
|
__exportStar(require("./list-payment-reminders-response-class"), exports);
|
|
114
120
|
__exportStar(require("./list-payment-requests-response-class"), exports);
|
|
115
121
|
__exportStar(require("./list-payments-response-class"), exports);
|
|
@@ -124,6 +130,7 @@ __exportStar(require("./payment-class"), exports);
|
|
|
124
130
|
__exportStar(require("./payment-class-without-expand-properties"), exports);
|
|
125
131
|
__exportStar(require("./payment-entity"), exports);
|
|
126
132
|
__exportStar(require("./payment-method-class"), exports);
|
|
133
|
+
__exportStar(require("./payment-receipt-class"), exports);
|
|
127
134
|
__exportStar(require("./payment-reminder-class"), exports);
|
|
128
135
|
__exportStar(require("./payment-request-class"), exports);
|
|
129
136
|
__exportStar(require("./payout-method-class"), exports);
|
|
@@ -150,8 +157,11 @@ __exportStar(require("./update-bank-order-request-dto"), exports);
|
|
|
150
157
|
__exportStar(require("./update-bank-order-response-class"), exports);
|
|
151
158
|
__exportStar(require("./update-billing-address-request-dto"), exports);
|
|
152
159
|
__exportStar(require("./update-billing-address-response-class"), exports);
|
|
160
|
+
__exportStar(require("./update-payment-receipt-response-class"), exports);
|
|
153
161
|
__exportStar(require("./update-payment-request-request-dto"), exports);
|
|
154
162
|
__exportStar(require("./update-payment-request-response-class"), exports);
|
|
155
163
|
__exportStar(require("./update-tenant-bank-account-response-class"), exports);
|
|
156
164
|
__exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
|
|
165
|
+
__exportStar(require("./validate-iban-request-dto"), exports);
|
|
166
|
+
__exportStar(require("./validate-iban-response-class"), exports);
|
|
157
167
|
__exportStar(require("./validate-pspconfig-request-dto"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPaymentReceiptsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPaymentReceiptsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of payment receipts.
|
|
21
|
+
* @type {Array<PaymentReceiptClass>}
|
|
22
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PaymentReceiptClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListPaymentReceiptsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,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}
|
|
@@ -46,19 +53,43 @@ export interface PaymentRequestClass {
|
|
|
46
53
|
*/
|
|
47
54
|
'direction': PaymentRequestClassDirectionEnum;
|
|
48
55
|
/**
|
|
49
|
-
* Code of the
|
|
56
|
+
* Code of the financial entity (e.g., invoice code, claim adjustment code) that this payment request is associated with.
|
|
50
57
|
* @type {string}
|
|
51
58
|
* @memberof PaymentRequestClass
|
|
52
59
|
*/
|
|
53
|
-
'
|
|
60
|
+
'financialEntityCode': string;
|
|
54
61
|
/**
|
|
55
|
-
*
|
|
62
|
+
* Number of the financial entity (e.g., invoice number, claim adjustment number).
|
|
56
63
|
* @type {string}
|
|
57
64
|
* @memberof PaymentRequestClass
|
|
58
65
|
*/
|
|
59
|
-
'
|
|
66
|
+
'financialEntityNumber': string;
|
|
60
67
|
/**
|
|
61
|
-
*
|
|
68
|
+
* Type of the financial entity (e.g., invoice, claim_regulation).
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof PaymentRequestClass
|
|
71
|
+
*/
|
|
72
|
+
'financialEntityType': PaymentRequestClassFinancialEntityTypeEnum;
|
|
73
|
+
/**
|
|
74
|
+
* Code of the domain entity (e.g., policy code, claim code) that this payment request is associated with.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof PaymentRequestClass
|
|
77
|
+
*/
|
|
78
|
+
'domainEntityCode': string;
|
|
79
|
+
/**
|
|
80
|
+
* Number of the domain entity (e.g., policy number, claim number).
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof PaymentRequestClass
|
|
83
|
+
*/
|
|
84
|
+
'domainEntityNumber': string;
|
|
85
|
+
/**
|
|
86
|
+
* Type of the domain entity (e.g., policy, claim).
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof PaymentRequestClass
|
|
89
|
+
*/
|
|
90
|
+
'domainEntityType': PaymentRequestClassDomainEntityTypeEnum;
|
|
91
|
+
/**
|
|
92
|
+
* Current status of the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn.
|
|
62
93
|
* @type {string}
|
|
63
94
|
* @memberof PaymentRequestClass
|
|
64
95
|
*/
|
|
@@ -83,28 +114,41 @@ export interface PaymentRequestClass {
|
|
|
83
114
|
'paymentMethodPsp'?: string;
|
|
84
115
|
/**
|
|
85
116
|
* Optional field containing extra information about the payment request.
|
|
86
|
-
* @type {object}
|
|
117
|
+
* @type {{ [key: string]: object; }}
|
|
118
|
+
* @memberof PaymentRequestClass
|
|
119
|
+
*/
|
|
120
|
+
'metadata'?: {
|
|
121
|
+
[key: string]: object;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* The list of payment receipts.
|
|
125
|
+
* @type {Array<PaymentReceiptClass>}
|
|
87
126
|
* @memberof PaymentRequestClass
|
|
88
127
|
*/
|
|
89
|
-
'
|
|
128
|
+
'paymentReceipts': Array<PaymentReceiptClass>;
|
|
90
129
|
}
|
|
91
130
|
export declare const PaymentRequestClassDirectionEnum: {
|
|
92
131
|
readonly Collect: "collect";
|
|
93
132
|
readonly Disburse: "disburse";
|
|
94
133
|
};
|
|
95
134
|
export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirectionEnum[keyof typeof PaymentRequestClassDirectionEnum];
|
|
96
|
-
export declare const
|
|
135
|
+
export declare const PaymentRequestClassFinancialEntityTypeEnum: {
|
|
136
|
+
readonly ClaimRegulation: "claim_regulation";
|
|
137
|
+
readonly RefundAllocation: "refund_allocation";
|
|
138
|
+
readonly Other: "other";
|
|
139
|
+
};
|
|
140
|
+
export type PaymentRequestClassFinancialEntityTypeEnum = typeof PaymentRequestClassFinancialEntityTypeEnum[keyof typeof PaymentRequestClassFinancialEntityTypeEnum];
|
|
141
|
+
export declare const PaymentRequestClassDomainEntityTypeEnum: {
|
|
97
142
|
readonly Other: "other";
|
|
98
143
|
readonly Claim: "claim";
|
|
99
|
-
readonly
|
|
100
|
-
readonly Commission: "commission";
|
|
144
|
+
readonly Policy: "policy";
|
|
101
145
|
};
|
|
102
|
-
export type
|
|
146
|
+
export type PaymentRequestClassDomainEntityTypeEnum = typeof PaymentRequestClassDomainEntityTypeEnum[keyof typeof PaymentRequestClassDomainEntityTypeEnum];
|
|
103
147
|
export declare const PaymentRequestClassStatusEnum: {
|
|
104
148
|
readonly Open: "open";
|
|
105
149
|
readonly Approved: "approved";
|
|
106
150
|
readonly Pending: "pending";
|
|
107
|
-
readonly
|
|
151
|
+
readonly Paid: "paid";
|
|
108
152
|
readonly Failed: "failed";
|
|
109
153
|
readonly Withdrawn: "withdrawn";
|
|
110
154
|
};
|
|
@@ -13,22 +13,26 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PaymentRequestClassStatusEnum = exports.
|
|
16
|
+
exports.PaymentRequestClassStatusEnum = exports.PaymentRequestClassDomainEntityTypeEnum = exports.PaymentRequestClassFinancialEntityTypeEnum = exports.PaymentRequestClassDirectionEnum = void 0;
|
|
17
17
|
exports.PaymentRequestClassDirectionEnum = {
|
|
18
18
|
Collect: 'collect',
|
|
19
19
|
Disburse: 'disburse'
|
|
20
20
|
};
|
|
21
|
-
exports.
|
|
21
|
+
exports.PaymentRequestClassFinancialEntityTypeEnum = {
|
|
22
|
+
ClaimRegulation: 'claim_regulation',
|
|
23
|
+
RefundAllocation: 'refund_allocation',
|
|
24
|
+
Other: 'other'
|
|
25
|
+
};
|
|
26
|
+
exports.PaymentRequestClassDomainEntityTypeEnum = {
|
|
22
27
|
Other: 'other',
|
|
23
28
|
Claim: 'claim',
|
|
24
|
-
|
|
25
|
-
Commission: 'commission'
|
|
29
|
+
Policy: 'policy'
|
|
26
30
|
};
|
|
27
31
|
exports.PaymentRequestClassStatusEnum = {
|
|
28
32
|
Open: 'open',
|
|
29
33
|
Approved: 'approved',
|
|
30
34
|
Pending: 'pending',
|
|
31
|
-
|
|
35
|
+
Paid: 'paid',
|
|
32
36
|
Failed: 'failed',
|
|
33
37
|
Withdrawn: 'withdrawn'
|
|
34
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
|
};
|