@emilgroup/payment-sdk 1.14.1-beta.7 → 1.14.1-beta.70
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 +32 -1
- package/README.md +2 -2
- package/api/bank-orders-api.ts +24 -24
- package/api/billing-addresses-api.ts +677 -0
- package/api/credit-allocation-api.ts +456 -0
- package/api/payout-methods-api.ts +672 -0
- package/api/policy-payment-methods-api.ts +118 -0
- package/api/tenant-bank-account-api.ts +8 -8
- package/api.ts +6 -0
- package/base.ts +4 -0
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-orders-api.d.ts +29 -29
- package/dist/api/bank-orders-api.js +18 -18
- package/dist/api/bank-transaction-api.d.ts +6 -6
- package/dist/api/billing-addresses-api.d.ts +384 -0
- package/dist/api/billing-addresses-api.js +636 -0
- package/dist/api/credit-allocation-api.d.ts +263 -0
- package/dist/api/credit-allocation-api.js +445 -0
- package/dist/api/exceeding-credits-api.d.ts +2 -2
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payout-methods-api.d.ts +382 -0
- package/dist/api/payout-methods-api.js +635 -0
- package/dist/api/policy-payment-methods-api.d.ts +67 -2
- package/dist/api/policy-payment-methods-api.js +99 -0
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +13 -13
- package/dist/api/tenant-bank-account-api.js +6 -6
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.js +3 -1
- package/dist/common.d.ts +1 -1
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
- package/dist/models/bank-order-class.d.ts +9 -9
- package/dist/models/bank-order-entity.d.ts +156 -0
- package/dist/models/bank-order-entity.js +29 -0
- package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
- package/dist/models/bank-order-xml-file-entity.js +15 -0
- package/dist/models/bank-transaction-entity.d.ts +179 -0
- package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
- package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
- package/dist/models/bank-transaction-invoice-entity.js +15 -0
- package/dist/models/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/billing-address-dto.d.ts +6 -0
- package/dist/models/create-bank-order-request-dto.d.ts +6 -5
- 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-credit-allocation-request-dto.d.ts +54 -0
- package/dist/models/create-credit-allocation-request-dto.js +21 -0
- package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/create-credit-allocation-response-class.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +60 -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 +57 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
- package/dist/models/credit-allocation-class.d.ts +115 -0
- package/dist/models/credit-allocation-class.js +21 -0
- package/dist/models/credit-allocation-entity.d.ts +135 -0
- package/dist/models/credit-allocation-entity.js +34 -0
- package/dist/models/exceeding-credit-class.d.ts +6 -0
- package/dist/models/exceeding-credit-entity.d.ts +148 -0
- package/dist/models/exceeding-credit-entity.js +29 -0
- 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-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/get-credit-allocation-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 -1
- package/dist/models/index.js +29 -1
- package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
- package/dist/models/invoice-match-suggestion-entity.js +15 -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-credit-allocations-response-class.d.ts +43 -0
- package/dist/models/list-credit-allocations-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/payment-entity.d.ts +133 -0
- package/dist/models/payment-entity.js +15 -0
- package/dist/models/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
- package/dist/models/suggestion-generation-progress-entity.js +22 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +56 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
- package/dist/models/tenant-bank-account-class.d.ts +56 -0
- package/dist/models/tenant-bank-account-class.js +8 -0
- package/dist/models/tenant-bank-account-entity.d.ts +153 -0
- package/dist/models/tenant-bank-account-entity.js +23 -0
- package/dist/models/transaction-entity.d.ts +112 -0
- package/dist/models/transaction-entity.js +23 -0
- package/dist/models/update-bank-order-request-dto.d.ts +5 -5
- 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-tenant-bank-account-rest-request-dto.d.ts +57 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +9 -9
- package/models/bank-order-entity.ts +166 -0
- package/models/bank-order-xml-file-entity.ts +91 -0
- package/models/bank-transaction-entity.ts +188 -0
- package/models/bank-transaction-invoice-entity.ts +104 -0
- package/models/billing-address-class.ts +114 -0
- package/models/billing-address-dto.ts +6 -0
- package/models/create-bank-order-request-dto.ts +7 -6
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-credit-allocation-request-dto.ts +63 -0
- package/models/create-credit-allocation-response-class.ts +31 -0
- package/models/create-payout-method-request-dto.ts +66 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +60 -1
- package/models/credit-allocation-class.ts +124 -0
- package/models/credit-allocation-entity.ts +145 -0
- package/models/exceeding-credit-class.ts +6 -0
- package/models/exceeding-credit-entity.ts +157 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-credit-allocation-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +29 -1
- package/models/invoice-match-suggestion-entity.ts +109 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- package/models/list-credit-allocations-response-class.ts +49 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/payment-entity.ts +139 -0
- package/models/{financial-account-class.ts → payout-method-class.ts} +48 -47
- package/models/suggestion-generation-progress-entity.ts +95 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +59 -0
- package/models/tenant-bank-account-class.ts +59 -0
- package/models/tenant-bank-account-entity.ts +162 -0
- package/models/transaction-entity.ts +121 -0
- package/models/update-bank-order-request-dto.ts +5 -5
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +60 -1
- package/package.json +2 -2
- package/dist/models/financial-account-class.d.ts +0 -111
|
@@ -0,0 +1,124 @@
|
|
|
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 { ExceedingCreditClass } from './exceeding-credit-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreditAllocationClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreditAllocationClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CreditAllocationClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Code of the credit allocation.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreditAllocationClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* Codes of the exceeding credits that were allocated.
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof CreditAllocationClass
|
|
40
|
+
*/
|
|
41
|
+
'exceedingCreditCodes': Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Policy code associated with the credit.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreditAllocationClass
|
|
46
|
+
*/
|
|
47
|
+
'policyCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* Policy number associated with the credit.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreditAllocationClass
|
|
52
|
+
*/
|
|
53
|
+
'policyNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* Amount of the credit allocation in cents.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CreditAllocationClass
|
|
58
|
+
*/
|
|
59
|
+
'allocationAmount': number;
|
|
60
|
+
/**
|
|
61
|
+
* Currency of the credit allocation.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreditAllocationClass
|
|
64
|
+
*/
|
|
65
|
+
'allocationCurrency': string;
|
|
66
|
+
/**
|
|
67
|
+
* Type of credit allocation.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreditAllocationClass
|
|
70
|
+
*/
|
|
71
|
+
'allocationType': CreditAllocationClassAllocationTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Financial account code used for the allocation.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreditAllocationClass
|
|
76
|
+
*/
|
|
77
|
+
'financialAccountCode'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Booking date of the credit allocation.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreditAllocationClass
|
|
82
|
+
*/
|
|
83
|
+
'bookingDate'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was created.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreditAllocationClass
|
|
88
|
+
*/
|
|
89
|
+
'createdAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was updated.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CreditAllocationClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the user who created the record.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof CreditAllocationClass
|
|
100
|
+
*/
|
|
101
|
+
'createdBy': string;
|
|
102
|
+
/**
|
|
103
|
+
* Identifier of the user who last updated the record.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof CreditAllocationClass
|
|
106
|
+
*/
|
|
107
|
+
'updatedBy': string;
|
|
108
|
+
/**
|
|
109
|
+
* List of exceeding credits associated with this allocation.
|
|
110
|
+
* @type {Array<ExceedingCreditClass>}
|
|
111
|
+
* @memberof CreditAllocationClass
|
|
112
|
+
*/
|
|
113
|
+
'exceedingCredits'?: Array<ExceedingCreditClass>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export const CreditAllocationClassAllocationTypeEnum = {
|
|
117
|
+
NextInvoice: 'next_invoice',
|
|
118
|
+
LastInvoice: 'last_invoice',
|
|
119
|
+
SeparateRefund: 'separate_refund'
|
|
120
|
+
} as const;
|
|
121
|
+
|
|
122
|
+
export type CreditAllocationClassAllocationTypeEnum = typeof CreditAllocationClassAllocationTypeEnum[keyof typeof CreditAllocationClassAllocationTypeEnum];
|
|
123
|
+
|
|
124
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
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 { ExceedingCreditEntity } from './exceeding-credit-entity';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreditAllocationEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface CreditAllocationEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CreditAllocationEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreditAllocationEntity
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreditAllocationEntity
|
|
40
|
+
*/
|
|
41
|
+
'policyCode': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreditAllocationEntity
|
|
46
|
+
*/
|
|
47
|
+
'policyNumber': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CreditAllocationEntity
|
|
52
|
+
*/
|
|
53
|
+
'allocationAmount': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof CreditAllocationEntity
|
|
58
|
+
*/
|
|
59
|
+
'exceedingCreditCodes': Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<ExceedingCreditEntity>}
|
|
63
|
+
* @memberof CreditAllocationEntity
|
|
64
|
+
*/
|
|
65
|
+
'exceedingCredits': Array<ExceedingCreditEntity>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreditAllocationEntity
|
|
70
|
+
*/
|
|
71
|
+
'allocationCurrency': CreditAllocationEntityAllocationCurrencyEnum;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreditAllocationEntity
|
|
76
|
+
*/
|
|
77
|
+
'allocationType': CreditAllocationEntityAllocationTypeEnum;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreditAllocationEntity
|
|
82
|
+
*/
|
|
83
|
+
'financialAccountCode'?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreditAllocationEntity
|
|
88
|
+
*/
|
|
89
|
+
'bookingDate': string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CreditAllocationEntity
|
|
94
|
+
*/
|
|
95
|
+
'createdAt': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof CreditAllocationEntity
|
|
100
|
+
*/
|
|
101
|
+
'updatedAt': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof CreditAllocationEntity
|
|
106
|
+
*/
|
|
107
|
+
'deletedAt'?: string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof CreditAllocationEntity
|
|
112
|
+
*/
|
|
113
|
+
'owner': string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof CreditAllocationEntity
|
|
118
|
+
*/
|
|
119
|
+
'tenantHierarchy': string;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export const CreditAllocationEntityAllocationCurrencyEnum = {
|
|
123
|
+
Eur: 'EUR',
|
|
124
|
+
Usd: 'USD',
|
|
125
|
+
Gbp: 'GBP',
|
|
126
|
+
Chf: 'CHF',
|
|
127
|
+
Pln: 'PLN',
|
|
128
|
+
Aud: 'AUD',
|
|
129
|
+
Cad: 'CAD',
|
|
130
|
+
Ddk: 'DDK',
|
|
131
|
+
Huf: 'HUF',
|
|
132
|
+
Nok: 'NOK',
|
|
133
|
+
Sek: 'SEK'
|
|
134
|
+
} as const;
|
|
135
|
+
|
|
136
|
+
export type CreditAllocationEntityAllocationCurrencyEnum = typeof CreditAllocationEntityAllocationCurrencyEnum[keyof typeof CreditAllocationEntityAllocationCurrencyEnum];
|
|
137
|
+
export const CreditAllocationEntityAllocationTypeEnum = {
|
|
138
|
+
NextInvoice: 'next_invoice',
|
|
139
|
+
LastInvoice: 'last_invoice',
|
|
140
|
+
SeparateRefund: 'separate_refund'
|
|
141
|
+
} as const;
|
|
142
|
+
|
|
143
|
+
export type CreditAllocationEntityAllocationTypeEnum = typeof CreditAllocationEntityAllocationTypeEnum[keyof typeof CreditAllocationEntityAllocationTypeEnum];
|
|
144
|
+
|
|
145
|
+
|
|
@@ -80,6 +80,12 @@ export interface ExceedingCreditClass {
|
|
|
80
80
|
* @memberof ExceedingCreditClass
|
|
81
81
|
*/
|
|
82
82
|
'policyCode': string;
|
|
83
|
+
/**
|
|
84
|
+
* The allocation ID if this credit has been allocated.
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof ExceedingCreditClass
|
|
87
|
+
*/
|
|
88
|
+
'allocationId'?: number;
|
|
83
89
|
/**
|
|
84
90
|
* Time at which the object was created.
|
|
85
91
|
* @type {string}
|
|
@@ -0,0 +1,157 @@
|
|
|
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 { BankTransactionEntity } from './bank-transaction-entity';
|
|
17
|
+
import { CreditAllocationEntity } from './credit-allocation-entity';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ExceedingCreditEntity
|
|
23
|
+
*/
|
|
24
|
+
export interface ExceedingCreditEntity {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ExceedingCreditEntity
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ExceedingCreditEntity
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ExceedingCreditEntity
|
|
41
|
+
*/
|
|
42
|
+
'description'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ExceedingCreditEntity
|
|
47
|
+
*/
|
|
48
|
+
'currency': ExceedingCreditEntityCurrencyEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ExceedingCreditEntity
|
|
53
|
+
*/
|
|
54
|
+
'policyCode': string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ExceedingCreditEntity
|
|
59
|
+
*/
|
|
60
|
+
'policyNumber': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof ExceedingCreditEntity
|
|
65
|
+
*/
|
|
66
|
+
'bankTransactionId': number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {BankTransactionEntity}
|
|
70
|
+
* @memberof ExceedingCreditEntity
|
|
71
|
+
*/
|
|
72
|
+
'bankTransaction': BankTransactionEntity;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ExceedingCreditEntity
|
|
77
|
+
*/
|
|
78
|
+
'bankTransactionCode': string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof ExceedingCreditEntity
|
|
83
|
+
*/
|
|
84
|
+
'invoiceCode': string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof ExceedingCreditEntity
|
|
89
|
+
*/
|
|
90
|
+
'invoiceNumber': string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof ExceedingCreditEntity
|
|
95
|
+
*/
|
|
96
|
+
'amount': number;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {number}
|
|
100
|
+
* @memberof ExceedingCreditEntity
|
|
101
|
+
*/
|
|
102
|
+
'allocationId'?: number;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {CreditAllocationEntity}
|
|
106
|
+
* @memberof ExceedingCreditEntity
|
|
107
|
+
*/
|
|
108
|
+
'creditAllocation'?: CreditAllocationEntity;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof ExceedingCreditEntity
|
|
113
|
+
*/
|
|
114
|
+
'createdAt': string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof ExceedingCreditEntity
|
|
119
|
+
*/
|
|
120
|
+
'updatedAt': string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof ExceedingCreditEntity
|
|
125
|
+
*/
|
|
126
|
+
'deletedAt'?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof ExceedingCreditEntity
|
|
131
|
+
*/
|
|
132
|
+
'owner': string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof ExceedingCreditEntity
|
|
137
|
+
*/
|
|
138
|
+
'tenantHierarchy': string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export const ExceedingCreditEntityCurrencyEnum = {
|
|
142
|
+
Eur: 'EUR',
|
|
143
|
+
Usd: 'USD',
|
|
144
|
+
Gbp: 'GBP',
|
|
145
|
+
Chf: 'CHF',
|
|
146
|
+
Pln: 'PLN',
|
|
147
|
+
Aud: 'AUD',
|
|
148
|
+
Cad: 'CAD',
|
|
149
|
+
Ddk: 'DDK',
|
|
150
|
+
Huf: 'HUF',
|
|
151
|
+
Nok: 'NOK',
|
|
152
|
+
Sek: 'SEK'
|
|
153
|
+
} as const;
|
|
154
|
+
|
|
155
|
+
export type ExceedingCreditEntityCurrencyEnum = typeof ExceedingCreditEntityCurrencyEnum[keyof typeof ExceedingCreditEntityCurrencyEnum];
|
|
156
|
+
|
|
157
|
+
|
|
@@ -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 { CreditAllocationClass } from './credit-allocation-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetCreditAllocationResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetCreditAllocationResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Credit allocation entry.
|
|
26
|
+
* @type {CreditAllocationClass}
|
|
27
|
+
* @memberof GetCreditAllocationResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'creditAllocation': CreditAllocationClass;
|
|
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,11 +1,17 @@
|
|
|
1
|
+
export * from './activate-policy-payment-method-request-dto';
|
|
1
2
|
export * from './bank-account-class';
|
|
2
3
|
export * from './bank-account-class-without-expand-properties';
|
|
3
4
|
export * from './bank-order-class';
|
|
5
|
+
export * from './bank-order-entity';
|
|
4
6
|
export * from './bank-order-xml-file-class';
|
|
7
|
+
export * from './bank-order-xml-file-entity';
|
|
5
8
|
export * from './bank-transaction-class';
|
|
6
9
|
export * from './bank-transaction-class-without-expand-properties';
|
|
10
|
+
export * from './bank-transaction-entity';
|
|
7
11
|
export * from './bank-transaction-invoice-class';
|
|
12
|
+
export * from './bank-transaction-invoice-entity';
|
|
8
13
|
export * from './bank-transfer-dto';
|
|
14
|
+
export * from './billing-address-class';
|
|
9
15
|
export * from './billing-address-dto';
|
|
10
16
|
export * from './billing-profile-dto';
|
|
11
17
|
export * from './billing-profile-limited-response-dto';
|
|
@@ -20,6 +26,10 @@ export * from './create-bank-account-request-dto';
|
|
|
20
26
|
export * from './create-bank-account-response-class';
|
|
21
27
|
export * from './create-bank-order-request-dto';
|
|
22
28
|
export * from './create-bank-order-response-class';
|
|
29
|
+
export * from './create-billing-address-request-dto';
|
|
30
|
+
export * from './create-billing-address-response-class';
|
|
31
|
+
export * from './create-credit-allocation-request-dto';
|
|
32
|
+
export * from './create-credit-allocation-response-class';
|
|
23
33
|
export * from './create-payment-method-response-class';
|
|
24
34
|
export * from './create-payment-order-dto';
|
|
25
35
|
export * from './create-payment-order-request-dto';
|
|
@@ -27,6 +37,8 @@ export * from './create-payment-reminder-request-dto';
|
|
|
27
37
|
export * from './create-payment-reminder-response-class';
|
|
28
38
|
export * from './create-payment-request-dto';
|
|
29
39
|
export * from './create-payment-response-class';
|
|
40
|
+
export * from './create-payout-method-request-dto';
|
|
41
|
+
export * from './create-payout-method-response-class';
|
|
30
42
|
export * from './create-policy-payment-method-request-dto';
|
|
31
43
|
export * from './create-policy-payment-method-response-class';
|
|
32
44
|
export * from './create-psp-payment-method-request-dto';
|
|
@@ -34,20 +46,25 @@ export * from './create-refund-request-dto';
|
|
|
34
46
|
export * from './create-refund-response-class';
|
|
35
47
|
export * from './create-tenant-bank-account-request-dto';
|
|
36
48
|
export * from './create-tenant-bank-account-response-class';
|
|
49
|
+
export * from './credit-allocation-class';
|
|
50
|
+
export * from './credit-allocation-entity';
|
|
37
51
|
export * from './deactivate-payment-reminder-request-dto';
|
|
38
52
|
export * from './deactivate-payment-reminder-response-class';
|
|
39
53
|
export * from './deactivated-payment-reminder-class';
|
|
40
54
|
export * from './eis-sepa-debit-dto';
|
|
41
55
|
export * from './exceeding-credit-class';
|
|
42
|
-
export * from './
|
|
56
|
+
export * from './exceeding-credit-entity';
|
|
43
57
|
export * from './generate-invoice-match-suggestions-response-class';
|
|
44
58
|
export * from './get-bank-account-response-class';
|
|
45
59
|
export * from './get-bank-order-response-class';
|
|
46
60
|
export * from './get-bank-transactions-response-class';
|
|
61
|
+
export * from './get-billing-address-response-class';
|
|
62
|
+
export * from './get-credit-allocation-response-class';
|
|
47
63
|
export * from './get-exceeding-credit-response-class';
|
|
48
64
|
export * from './get-payment-method-response-class';
|
|
49
65
|
export * from './get-payment-reminder-response-class';
|
|
50
66
|
export * from './get-payment-response-class';
|
|
67
|
+
export * from './get-payout-method-response-class';
|
|
51
68
|
export * from './get-refund-response-class';
|
|
52
69
|
export * from './get-tenant-bank-account-response-class';
|
|
53
70
|
export * from './import-bank-transactions-response-class';
|
|
@@ -64,15 +81,19 @@ export * from './inline-response200';
|
|
|
64
81
|
export * from './inline-response503';
|
|
65
82
|
export * from './invoice-allocation-dto';
|
|
66
83
|
export * from './invoice-match-suggestion-class';
|
|
84
|
+
export * from './invoice-match-suggestion-entity';
|
|
67
85
|
export * from './link-bank-transaction-request-dto-rest';
|
|
68
86
|
export * from './link-bank-transactions-response-class';
|
|
69
87
|
export * from './list-bank-accounts-response-class';
|
|
70
88
|
export * from './list-bank-orders-response-class';
|
|
71
89
|
export * from './list-bank-transactions-response-class';
|
|
90
|
+
export * from './list-billing-addresses-response-class';
|
|
91
|
+
export * from './list-credit-allocations-response-class';
|
|
72
92
|
export * from './list-exceeding-credits-response-class';
|
|
73
93
|
export * from './list-payment-methods-response-class';
|
|
74
94
|
export * from './list-payment-reminders-response-class';
|
|
75
95
|
export * from './list-payments-response-class';
|
|
96
|
+
export * from './list-payout-methods-response-class';
|
|
76
97
|
export * from './list-policy-payment-methods-response-class';
|
|
77
98
|
export * from './list-refunds-response-class';
|
|
78
99
|
export * from './list-tenant-bank-account-response-class';
|
|
@@ -81,8 +102,10 @@ export * from './mandate-hash-data-dto';
|
|
|
81
102
|
export * from './mandate-reference-class';
|
|
82
103
|
export * from './payment-class';
|
|
83
104
|
export * from './payment-class-without-expand-properties';
|
|
105
|
+
export * from './payment-entity';
|
|
84
106
|
export * from './payment-method-class';
|
|
85
107
|
export * from './payment-reminder-class';
|
|
108
|
+
export * from './payout-method-class';
|
|
86
109
|
export * from './policy-payment-method-class';
|
|
87
110
|
export * from './primary-bank-account-response-class';
|
|
88
111
|
export * from './refund-class';
|
|
@@ -91,9 +114,12 @@ export * from './sepa-direct-dto';
|
|
|
91
114
|
export * from './set-primary-bank-account-request-dto-rest';
|
|
92
115
|
export * from './shared-transaction-class';
|
|
93
116
|
export * from './suggestion-generation-progress-class';
|
|
117
|
+
export * from './suggestion-generation-progress-entity';
|
|
94
118
|
export * from './symphony-profile-limited-response-dto';
|
|
95
119
|
export * from './tenant-bank-account-class';
|
|
96
120
|
export * from './tenant-bank-account-class-without-expand-properties';
|
|
121
|
+
export * from './tenant-bank-account-entity';
|
|
122
|
+
export * from './transaction-entity';
|
|
97
123
|
export * from './unlink-bank-transactions-response-class';
|
|
98
124
|
export * from './unlinked-bank-transaction-response-class';
|
|
99
125
|
export * from './update-bank-account-request-dto';
|
|
@@ -101,6 +127,8 @@ export * from './update-bank-account-request-dto-rest';
|
|
|
101
127
|
export * from './update-bank-account-response-class';
|
|
102
128
|
export * from './update-bank-order-request-dto';
|
|
103
129
|
export * from './update-bank-order-response-class';
|
|
130
|
+
export * from './update-billing-address-request-dto';
|
|
131
|
+
export * from './update-billing-address-response-class';
|
|
104
132
|
export * from './update-tenant-bank-account-response-class';
|
|
105
133
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
106
134
|
export * from './validate-pspconfig-request-dto';
|