@emilgroup/payment-sdk-node 1.23.0 → 1.23.1-beta.100
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 +34 -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 +681 -0
- package/api/credit-allocation-api.ts +12 -12
- package/api/exceeding-credits-api.ts +12 -12
- package/api/ibanvalidator-api.ts +169 -0
- package/api/payment-methods-api.ts +12 -12
- package/api/payment-receipts-api.ts +680 -0
- package/api/payment-reminders-api.ts +16 -16
- package/api/payment-requests-api.ts +697 -0
- package/api/payments-api.ts +12 -12
- package/api/payout-methods-api.ts +794 -0
- package/api/refunds-api.ts +12 -12
- package/api/tenant-bank-account-api.ts +16 -16
- package/api/webhooks-api.ts +125 -14
- package/api.ts +10 -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 +384 -0
- package/dist/api/billing-addresses-api.js +640 -0
- 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 +228 -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 +641 -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 +393 -0
- package/dist/api/payment-requests-api.js +648 -0
- 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 +447 -0
- package/dist/api/payout-methods-api.js +738 -0
- 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 +16 -16
- package/dist/api/tenant-bank-account-api.js +13 -13
- package/dist/api/webhooks-api.d.ts +73 -9
- package/dist/api/webhooks-api.js +100 -11
- package/dist/api.d.ts +5 -0
- package/dist/api.js +5 -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/bank-order-class.d.ts +3 -3
- package/dist/models/bank-order-entity.d.ts +3 -2
- package/dist/models/bank-order-entity.js +2 -1
- package/dist/models/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/create-bank-order-request-dto.d.ts +4 -3
- package/dist/models/create-bank-order-request-dto.js +2 -1
- package/dist/models/create-billing-address-request-dto.d.ts +66 -0
- package/dist/models/create-billing-address-request-dto.js +15 -0
- package/dist/models/create-billing-address-response-class.d.ts +25 -0
- package/dist/models/create-billing-address-response-class.js +15 -0
- package/dist/models/create-payment-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 +109 -0
- package/dist/models/create-payment-request-request-dto.js +30 -0
- package/dist/models/create-payment-request-response-class.d.ts +25 -0
- package/dist/models/create-payment-request-response-class.js +15 -0
- package/dist/models/create-payout-method-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 +66 -0
- package/dist/models/create-payout-method-request-dto.js +15 -0
- package/dist/models/create-payout-method-response-class.d.ts +25 -0
- package/dist/models/create-payout-method-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +17 -0
- package/dist/models/create-tenant-bank-account-request-dto.js +11 -1
- package/dist/models/get-billing-address-response-class.d.ts +25 -0
- package/dist/models/get-billing-address-response-class.js +15 -0
- package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
- package/dist/models/get-payment-receipt-response-class.js +15 -0
- package/dist/models/get-payment-request-response-class.d.ts +25 -0
- package/dist/models/get-payment-request-response-class.js +15 -0
- package/dist/models/get-payout-method-response-class.d.ts +25 -0
- package/dist/models/get-payout-method-response-class.js +15 -0
- package/dist/models/index.d.ts +29 -0
- package/dist/models/index.js +29 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
- package/dist/models/list-billing-addresses-response-class.js +15 -0
- package/dist/models/list-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 +43 -0
- package/dist/models/list-payment-requests-response-class.js +15 -0
- package/dist/models/list-payout-methods-response-class.d.ts +43 -0
- package/dist/models/list-payout-methods-response-class.js +15 -0
- package/dist/models/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 +155 -0
- package/dist/models/payment-request-class.js +38 -0
- package/dist/models/payout-method-class.d.ts +121 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +17 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +11 -1
- package/dist/models/tenant-bank-account-class.d.ts +17 -0
- package/dist/models/tenant-bank-account-class.js +11 -1
- package/dist/models/tenant-bank-account-entity.d.ts +17 -0
- package/dist/models/tenant-bank-account-entity.js +11 -1
- package/dist/models/update-bank-order-request-dto.d.ts +3 -3
- package/dist/models/update-billing-address-request-dto.d.ts +66 -0
- package/dist/models/update-billing-address-request-dto.js +15 -0
- package/dist/models/update-billing-address-response-class.d.ts +25 -0
- package/dist/models/update-billing-address-response-class.js +15 -0
- package/dist/models/update-payment-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 +39 -0
- package/dist/models/update-payment-request-request-dto.js +24 -0
- package/dist/models/update-payment-request-response-class.d.ts +25 -0
- package/dist/models/update-payment-request-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +17 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +11 -1
- package/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/bank-order-class.ts +3 -3
- package/models/bank-order-entity.ts +4 -3
- package/models/billing-address-class.ts +114 -0
- package/models/create-bank-order-request-dto.ts +5 -4
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-payment-receipt-request-dto.ts +74 -0
- package/models/create-payment-receipt-response-class.ts +31 -0
- package/models/create-payment-request-request-dto.ts +118 -0
- package/models/create-payment-request-response-class.ts +31 -0
- package/models/create-payout-method-by-bank-account-request-dto.ts +42 -0
- package/models/create-payout-method-request-dto.ts +72 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +18 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-payment-receipt-response-class.ts +31 -0
- package/models/get-payment-request-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +29 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- 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 +49 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/list-refunds-response-class.ts +18 -6
- package/models/payment-receipt-class.ts +110 -0
- package/models/payment-request-class.ts +165 -0
- package/models/payout-method-class.ts +127 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +18 -0
- package/models/tenant-bank-account-class.ts +18 -0
- package/models/tenant-bank-account-entity.ts +18 -0
- package/models/update-bank-order-request-dto.ts +3 -3
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-payment-receipt-response-class.ts +31 -0
- package/models/update-payment-request-request-dto.ts +48 -0
- package/models/update-payment-request-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +18 -0
- package/models/validate-iban-request-dto.ts +30 -0
- package/models/validate-iban-response-class.ts +37 -0
- package/package.json +3 -3
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListBillingAddressesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListBillingAddressesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListBillingAddressesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListBillingAddressesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListBillingAddressesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The billing addresses
|
|
44
|
+
* @type {Array<BillingAddressClass>}
|
|
45
|
+
* @memberof ListBillingAddressesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<BillingAddressClass>;
|
|
48
|
+
}
|
|
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
|
+
|
|
@@ -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 { PaymentRequestClass } from './payment-request-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPaymentRequestsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPaymentRequestsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListPaymentRequestsResponseClass
|
|
28
|
+
*/
|
|
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>;
|
|
48
|
+
}
|
|
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 { PayoutMethodClass } from './payout-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPayoutMethodsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPayoutMethodsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* The payout methods
|
|
44
|
+
* @type {Array<PayoutMethodClass>}
|
|
45
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<PayoutMethodClass>;
|
|
48
|
+
}
|
|
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
|
+
|
|
@@ -0,0 +1,165 @@
|
|
|
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 PaymentRequestClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PaymentRequestClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PaymentRequestClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PaymentRequestClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* Payment request number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PaymentRequestClass
|
|
40
|
+
*/
|
|
41
|
+
'paymentRequestNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Payment amount in cents. 100 represents 1€.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PaymentRequestClass
|
|
46
|
+
*/
|
|
47
|
+
'amount': number;
|
|
48
|
+
/**
|
|
49
|
+
* Currency code for the payment request.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentRequestClass
|
|
52
|
+
*/
|
|
53
|
+
'currency': string;
|
|
54
|
+
/**
|
|
55
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PaymentRequestClass
|
|
58
|
+
*/
|
|
59
|
+
'direction': PaymentRequestClassDirectionEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Code of the financial entity (e.g., invoice code, claim adjustment code) that this payment request is associated with.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentRequestClass
|
|
64
|
+
*/
|
|
65
|
+
'financialEntityCode': string;
|
|
66
|
+
/**
|
|
67
|
+
* Number of the financial entity (e.g., invoice number, claim adjustment number).
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentRequestClass
|
|
70
|
+
*/
|
|
71
|
+
'financialEntityNumber': string;
|
|
72
|
+
/**
|
|
73
|
+
* Type of the financial entity (e.g., invoice, claim_regulation).
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentRequestClass
|
|
76
|
+
*/
|
|
77
|
+
'financialEntityType': PaymentRequestClassFinancialEntityTypeEnum;
|
|
78
|
+
/**
|
|
79
|
+
* Code of the domain entity (e.g., policy code, claim code) that this payment request is associated with.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PaymentRequestClass
|
|
82
|
+
*/
|
|
83
|
+
'domainEntityCode': string;
|
|
84
|
+
/**
|
|
85
|
+
* Number of the domain entity (e.g., policy number, claim number).
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PaymentRequestClass
|
|
88
|
+
*/
|
|
89
|
+
'domainEntityNumber': string;
|
|
90
|
+
/**
|
|
91
|
+
* Type of the domain entity (e.g., policy, claim).
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PaymentRequestClass
|
|
94
|
+
*/
|
|
95
|
+
'domainEntityType': PaymentRequestClassDomainEntityTypeEnum;
|
|
96
|
+
/**
|
|
97
|
+
* Current status of the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PaymentRequestClass
|
|
100
|
+
*/
|
|
101
|
+
'status': PaymentRequestClassStatusEnum;
|
|
102
|
+
/**
|
|
103
|
+
* Code of the payment method used for this payment request.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PaymentRequestClass
|
|
106
|
+
*/
|
|
107
|
+
'paymentMethodCode'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Type of the payment method (e.g., sepa_debit, credit_card, bank_transfer).
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PaymentRequestClass
|
|
112
|
+
*/
|
|
113
|
+
'paymentMethodType'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Payment Service Provider (PSP) used for processing the payment (e.g., stripe, braintree, adyen, eis).
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PaymentRequestClass
|
|
118
|
+
*/
|
|
119
|
+
'paymentMethodPsp'?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Optional field containing extra information about the payment request.
|
|
122
|
+
* @type {{ [key: string]: object; }}
|
|
123
|
+
* @memberof PaymentRequestClass
|
|
124
|
+
*/
|
|
125
|
+
'metadata'?: { [key: string]: object; };
|
|
126
|
+
/**
|
|
127
|
+
* The list of payment receipts.
|
|
128
|
+
* @type {Array<PaymentReceiptClass>}
|
|
129
|
+
* @memberof PaymentRequestClass
|
|
130
|
+
*/
|
|
131
|
+
'paymentReceipts': Array<PaymentReceiptClass>;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export const PaymentRequestClassDirectionEnum = {
|
|
135
|
+
Collect: 'collect',
|
|
136
|
+
Disburse: 'disburse'
|
|
137
|
+
} as const;
|
|
138
|
+
|
|
139
|
+
export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirectionEnum[keyof typeof PaymentRequestClassDirectionEnum];
|
|
140
|
+
export const PaymentRequestClassFinancialEntityTypeEnum = {
|
|
141
|
+
ClaimRegulation: 'claim_regulation',
|
|
142
|
+
RefundAllocation: 'refund_allocation',
|
|
143
|
+
Other: 'other'
|
|
144
|
+
} as const;
|
|
145
|
+
|
|
146
|
+
export type PaymentRequestClassFinancialEntityTypeEnum = typeof PaymentRequestClassFinancialEntityTypeEnum[keyof typeof PaymentRequestClassFinancialEntityTypeEnum];
|
|
147
|
+
export const PaymentRequestClassDomainEntityTypeEnum = {
|
|
148
|
+
Other: 'other',
|
|
149
|
+
Claim: 'claim',
|
|
150
|
+
Policy: 'policy'
|
|
151
|
+
} as const;
|
|
152
|
+
|
|
153
|
+
export type PaymentRequestClassDomainEntityTypeEnum = typeof PaymentRequestClassDomainEntityTypeEnum[keyof typeof PaymentRequestClassDomainEntityTypeEnum];
|
|
154
|
+
export const PaymentRequestClassStatusEnum = {
|
|
155
|
+
Open: 'open',
|
|
156
|
+
Approved: 'approved',
|
|
157
|
+
Pending: 'pending',
|
|
158
|
+
Paid: 'paid',
|
|
159
|
+
Failed: 'failed',
|
|
160
|
+
Withdrawn: 'withdrawn'
|
|
161
|
+
} as const;
|
|
162
|
+
|
|
163
|
+
export type PaymentRequestClassStatusEnum = typeof PaymentRequestClassStatusEnum[keyof typeof PaymentRequestClassStatusEnum];
|
|
164
|
+
|
|
165
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PayoutMethodClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PayoutMethodClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PayoutMethodClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PayoutMethodClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* First name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PayoutMethodClass
|
|
40
|
+
*/
|
|
41
|
+
'firstName': string;
|
|
42
|
+
/**
|
|
43
|
+
* Last name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PayoutMethodClass
|
|
46
|
+
*/
|
|
47
|
+
'lastName': string;
|
|
48
|
+
/**
|
|
49
|
+
* Bank account holder.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PayoutMethodClass
|
|
52
|
+
*/
|
|
53
|
+
'accountHolder': string;
|
|
54
|
+
/**
|
|
55
|
+
* IBAN
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PayoutMethodClass
|
|
58
|
+
*/
|
|
59
|
+
'iban': string;
|
|
60
|
+
/**
|
|
61
|
+
* BIC
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PayoutMethodClass
|
|
64
|
+
*/
|
|
65
|
+
'bic': string;
|
|
66
|
+
/**
|
|
67
|
+
* Bank name
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PayoutMethodClass
|
|
70
|
+
*/
|
|
71
|
+
'bankName': string;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the payout method is active
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof PayoutMethodClass
|
|
76
|
+
*/
|
|
77
|
+
'isActive': boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Billing address code
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PayoutMethodClass
|
|
82
|
+
*/
|
|
83
|
+
'billingAddressCode': string;
|
|
84
|
+
/**
|
|
85
|
+
* Unique identifier of the account that this object belongs to.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PayoutMethodClass
|
|
88
|
+
*/
|
|
89
|
+
'accountCode': string;
|
|
90
|
+
/**
|
|
91
|
+
* Unique identifier of the partner that this object belongs to.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PayoutMethodClass
|
|
94
|
+
*/
|
|
95
|
+
'partnerCode': string;
|
|
96
|
+
/**
|
|
97
|
+
* Billing address
|
|
98
|
+
* @type {BillingAddressClass}
|
|
99
|
+
* @memberof PayoutMethodClass
|
|
100
|
+
*/
|
|
101
|
+
'billingAddress'?: BillingAddressClass;
|
|
102
|
+
/**
|
|
103
|
+
* Time at which the object was created.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PayoutMethodClass
|
|
106
|
+
*/
|
|
107
|
+
'createdAt': string;
|
|
108
|
+
/**
|
|
109
|
+
* Time at which the object was updated.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PayoutMethodClass
|
|
112
|
+
*/
|
|
113
|
+
'updatedAt': string;
|
|
114
|
+
/**
|
|
115
|
+
* Identifier of the user who created the record.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PayoutMethodClass
|
|
118
|
+
*/
|
|
119
|
+
'createdBy': string;
|
|
120
|
+
/**
|
|
121
|
+
* Identifier of the user who last updated the record.
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof PayoutMethodClass
|
|
124
|
+
*/
|
|
125
|
+
'updatedBy': string;
|
|
126
|
+
}
|
|
127
|
+
|