@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,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
|
+
|
|
@@ -0,0 +1,118 @@
|
|
|
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 CreatePaymentRequestRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePaymentRequestRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Payment amount in cents. 100 to charge 1€.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'amount': number;
|
|
29
|
+
/**
|
|
30
|
+
* Currency code for the payment request (ISO 4217 format).
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'currency': string;
|
|
35
|
+
/**
|
|
36
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'direction': CreatePaymentRequestRequestDtoDirectionEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Code of the financial entity (e.g., invoice code, claim adjustment code) that this payment request is associated with.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'financialEntityCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Number of the financial entity (e.g., invoice number, claim adjustment number).
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'financialEntityNumber': string;
|
|
53
|
+
/**
|
|
54
|
+
* Type of the financial entity (e.g., refund_allocation, claim_regulation).
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'financialEntityType': CreatePaymentRequestRequestDtoFinancialEntityTypeEnum;
|
|
59
|
+
/**
|
|
60
|
+
* Code of the domain entity (e.g., policy code, claim code) that this payment request is associated with.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'domainEntityCode': string;
|
|
65
|
+
/**
|
|
66
|
+
* Number of the domain entity (e.g., policy number, claim number).
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'domainEntityNumber': string;
|
|
71
|
+
/**
|
|
72
|
+
* Type of the domain entity (e.g., policy, claim).
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
75
|
+
*/
|
|
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 payment method to be used for this payment request. If not provided, a default payment method may be selected.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'paymentMethodCode'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Optional field containing extra information about the payment request.
|
|
91
|
+
* @type {{ [key: string]: object; }}
|
|
92
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'metadata'?: { [key: string]: object; };
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export const CreatePaymentRequestRequestDtoDirectionEnum = {
|
|
98
|
+
Collect: 'collect',
|
|
99
|
+
Disburse: 'disburse'
|
|
100
|
+
} as const;
|
|
101
|
+
|
|
102
|
+
export type CreatePaymentRequestRequestDtoDirectionEnum = typeof CreatePaymentRequestRequestDtoDirectionEnum[keyof typeof CreatePaymentRequestRequestDtoDirectionEnum];
|
|
103
|
+
export const CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = {
|
|
104
|
+
ClaimRegulation: 'claim_regulation',
|
|
105
|
+
RefundAllocation: 'refund_allocation',
|
|
106
|
+
Other: 'other'
|
|
107
|
+
} as const;
|
|
108
|
+
|
|
109
|
+
export type CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = typeof CreatePaymentRequestRequestDtoFinancialEntityTypeEnum[keyof typeof CreatePaymentRequestRequestDtoFinancialEntityTypeEnum];
|
|
110
|
+
export const CreatePaymentRequestRequestDtoDomainEntityTypeEnum = {
|
|
111
|
+
Other: 'other',
|
|
112
|
+
Claim: 'claim',
|
|
113
|
+
Policy: 'policy'
|
|
114
|
+
} as const;
|
|
115
|
+
|
|
116
|
+
export type CreatePaymentRequestRequestDtoDomainEntityTypeEnum = typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum[keyof typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum];
|
|
117
|
+
|
|
118
|
+
|
|
@@ -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 { PaymentRequestClass } from './payment-request-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePaymentRequestResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePaymentRequestResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created payment request with all its details.
|
|
26
|
+
* @type {PaymentRequestClass}
|
|
27
|
+
* @memberof CreatePaymentRequestResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentRequest': PaymentRequestClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreatePayoutMethodByBankAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePayoutMethodByBankAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The code identifying the bank account that will be used to create the payout method.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'bankAccountCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* Billing address code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'billingAddressCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePayoutMethodByBankAccountRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreatePayoutMethodRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePayoutMethodRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the partner that this object belongs to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'partnerCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* First name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'firstName'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Last name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'lastName'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Account holder
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'accountHolder'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* IBAN
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'iban': string;
|
|
53
|
+
/**
|
|
54
|
+
* BIC
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'bic': string;
|
|
59
|
+
/**
|
|
60
|
+
* Bank name
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'bankName': string;
|
|
65
|
+
/**
|
|
66
|
+
* Billing address code
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'billingAddressCode': string;
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PayoutMethodClass } from './payout-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePayoutMethodResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePayoutMethodResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created payout method
|
|
26
|
+
* @type {PayoutMethodClass}
|
|
27
|
+
* @memberof CreatePayoutMethodResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'payoutMethod': PayoutMethodClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -80,6 +80,12 @@ export interface CreateTenantBankAccountRequestDto {
|
|
|
80
80
|
* @memberof CreateTenantBankAccountRequestDto
|
|
81
81
|
*/
|
|
82
82
|
'sepaPainVersion': CreateTenantBankAccountRequestDtoSepaPainVersionEnum;
|
|
83
|
+
/**
|
|
84
|
+
* Payout Pain version
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'payoutPainVersion': CreateTenantBankAccountRequestDtoPayoutPainVersionEnum;
|
|
83
89
|
}
|
|
84
90
|
|
|
85
91
|
export const CreateTenantBankAccountRequestDtoSepaPainVersionEnum = {
|
|
@@ -93,5 +99,17 @@ export const CreateTenantBankAccountRequestDtoSepaPainVersionEnum = {
|
|
|
93
99
|
} as const;
|
|
94
100
|
|
|
95
101
|
export type CreateTenantBankAccountRequestDtoSepaPainVersionEnum = typeof CreateTenantBankAccountRequestDtoSepaPainVersionEnum[keyof typeof CreateTenantBankAccountRequestDtoSepaPainVersionEnum];
|
|
102
|
+
export const CreateTenantBankAccountRequestDtoPayoutPainVersionEnum = {
|
|
103
|
+
_00302: 'pain.001.003.02',
|
|
104
|
+
_00108: 'pain.001.001.08',
|
|
105
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
106
|
+
_00802: 'pain.001.008.02',
|
|
107
|
+
_00109: 'pain.001.001.09',
|
|
108
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
109
|
+
_00110: 'pain.001.001.10',
|
|
110
|
+
_00111: 'pain.001.001.11'
|
|
111
|
+
} as const;
|
|
112
|
+
|
|
113
|
+
export type CreateTenantBankAccountRequestDtoPayoutPainVersionEnum = typeof CreateTenantBankAccountRequestDtoPayoutPainVersionEnum[keyof typeof CreateTenantBankAccountRequestDtoPayoutPainVersionEnum];
|
|
96
114
|
|
|
97
115
|
|
|
@@ -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 { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetBillingAddressResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBillingAddressResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The billing address
|
|
26
|
+
* @type {BillingAddressClass}
|
|
27
|
+
* @memberof GetBillingAddressResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'billingAddress': BillingAddressClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PaymentReceiptClass } from './payment-receipt-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPaymentReceiptResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPaymentReceiptResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payment receipt retrieved by its code.
|
|
26
|
+
* @type {PaymentReceiptClass}
|
|
27
|
+
* @memberof GetPaymentReceiptResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { PaymentRequestClass } from './payment-request-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPaymentRequestResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPaymentRequestResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payment request retrieved by its code.
|
|
26
|
+
* @type {PaymentRequestClass}
|
|
27
|
+
* @memberof GetPaymentRequestResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentRequest': PaymentRequestClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PayoutMethodClass } from './payout-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPayoutMethodResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPayoutMethodResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payout method
|
|
26
|
+
* @type {PayoutMethodClass}
|
|
27
|
+
* @memberof GetPayoutMethodResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'payoutMethod': PayoutMethodClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -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';
|
|
@@ -11,6 +12,7 @@ export * from './bank-transaction-entity';
|
|
|
11
12
|
export * from './bank-transaction-invoice-class';
|
|
12
13
|
export * from './bank-transaction-invoice-entity';
|
|
13
14
|
export * from './bank-transfer-dto';
|
|
15
|
+
export * from './billing-address-class';
|
|
14
16
|
export * from './billing-address-dto';
|
|
15
17
|
export * from './billing-profile-dto';
|
|
16
18
|
export * from './billing-profile-limited-response-dto';
|
|
@@ -25,15 +27,24 @@ export * from './create-bank-account-request-dto';
|
|
|
25
27
|
export * from './create-bank-account-response-class';
|
|
26
28
|
export * from './create-bank-order-request-dto';
|
|
27
29
|
export * from './create-bank-order-response-class';
|
|
30
|
+
export * from './create-billing-address-request-dto';
|
|
31
|
+
export * from './create-billing-address-response-class';
|
|
28
32
|
export * from './create-credit-allocation-request-dto';
|
|
29
33
|
export * from './create-credit-allocation-response-class';
|
|
30
34
|
export * from './create-payment-method-response-class';
|
|
31
35
|
export * from './create-payment-order-dto';
|
|
32
36
|
export * from './create-payment-order-request-dto';
|
|
37
|
+
export * from './create-payment-receipt-request-dto';
|
|
38
|
+
export * from './create-payment-receipt-response-class';
|
|
33
39
|
export * from './create-payment-reminder-request-dto';
|
|
34
40
|
export * from './create-payment-reminder-response-class';
|
|
35
41
|
export * from './create-payment-request-dto';
|
|
42
|
+
export * from './create-payment-request-request-dto';
|
|
43
|
+
export * from './create-payment-request-response-class';
|
|
36
44
|
export * from './create-payment-response-class';
|
|
45
|
+
export * from './create-payout-method-by-bank-account-request-dto';
|
|
46
|
+
export * from './create-payout-method-request-dto';
|
|
47
|
+
export * from './create-payout-method-response-class';
|
|
37
48
|
export * from './create-policy-payment-method-request-dto';
|
|
38
49
|
export * from './create-policy-payment-method-response-class';
|
|
39
50
|
export * from './create-psp-payment-method-request-dto';
|
|
@@ -53,11 +64,15 @@ export * from './generate-invoice-match-suggestions-response-class';
|
|
|
53
64
|
export * from './get-bank-account-response-class';
|
|
54
65
|
export * from './get-bank-order-response-class';
|
|
55
66
|
export * from './get-bank-transactions-response-class';
|
|
67
|
+
export * from './get-billing-address-response-class';
|
|
56
68
|
export * from './get-credit-allocation-response-class';
|
|
57
69
|
export * from './get-exceeding-credit-response-class';
|
|
58
70
|
export * from './get-payment-method-response-class';
|
|
71
|
+
export * from './get-payment-receipt-response-class';
|
|
59
72
|
export * from './get-payment-reminder-response-class';
|
|
73
|
+
export * from './get-payment-request-response-class';
|
|
60
74
|
export * from './get-payment-response-class';
|
|
75
|
+
export * from './get-payout-method-response-class';
|
|
61
76
|
export * from './get-refund-response-class';
|
|
62
77
|
export * from './get-tenant-bank-account-response-class';
|
|
63
78
|
export * from './import-bank-transactions-response-class';
|
|
@@ -80,11 +95,15 @@ export * from './link-bank-transactions-response-class';
|
|
|
80
95
|
export * from './list-bank-accounts-response-class';
|
|
81
96
|
export * from './list-bank-orders-response-class';
|
|
82
97
|
export * from './list-bank-transactions-response-class';
|
|
98
|
+
export * from './list-billing-addresses-response-class';
|
|
83
99
|
export * from './list-credit-allocations-response-class';
|
|
84
100
|
export * from './list-exceeding-credits-response-class';
|
|
85
101
|
export * from './list-payment-methods-response-class';
|
|
102
|
+
export * from './list-payment-receipts-response-class';
|
|
86
103
|
export * from './list-payment-reminders-response-class';
|
|
104
|
+
export * from './list-payment-requests-response-class';
|
|
87
105
|
export * from './list-payments-response-class';
|
|
106
|
+
export * from './list-payout-methods-response-class';
|
|
88
107
|
export * from './list-policy-payment-methods-response-class';
|
|
89
108
|
export * from './list-refunds-response-class';
|
|
90
109
|
export * from './list-tenant-bank-account-response-class';
|
|
@@ -95,7 +114,10 @@ export * from './payment-class';
|
|
|
95
114
|
export * from './payment-class-without-expand-properties';
|
|
96
115
|
export * from './payment-entity';
|
|
97
116
|
export * from './payment-method-class';
|
|
117
|
+
export * from './payment-receipt-class';
|
|
98
118
|
export * from './payment-reminder-class';
|
|
119
|
+
export * from './payment-request-class';
|
|
120
|
+
export * from './payout-method-class';
|
|
99
121
|
export * from './policy-payment-method-class';
|
|
100
122
|
export * from './primary-bank-account-response-class';
|
|
101
123
|
export * from './refund-class';
|
|
@@ -117,6 +139,13 @@ export * from './update-bank-account-request-dto-rest';
|
|
|
117
139
|
export * from './update-bank-account-response-class';
|
|
118
140
|
export * from './update-bank-order-request-dto';
|
|
119
141
|
export * from './update-bank-order-response-class';
|
|
142
|
+
export * from './update-billing-address-request-dto';
|
|
143
|
+
export * from './update-billing-address-response-class';
|
|
144
|
+
export * from './update-payment-receipt-response-class';
|
|
145
|
+
export * from './update-payment-request-request-dto';
|
|
146
|
+
export * from './update-payment-request-response-class';
|
|
120
147
|
export * from './update-tenant-bank-account-response-class';
|
|
121
148
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
149
|
+
export * from './validate-iban-request-dto';
|
|
150
|
+
export * from './validate-iban-response-class';
|
|
122
151
|
export * from './validate-pspconfig-request-dto';
|