@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
|
@@ -80,5 +80,64 @@ export interface TenantBankAccountClassWithoutExpandProperties {
|
|
|
80
80
|
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
81
81
|
*/
|
|
82
82
|
'updatedBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Street address of the bank
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
87
|
+
*/
|
|
88
|
+
'street'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* House number of the bank
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
93
|
+
*/
|
|
94
|
+
'houseNumber'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* ZIP code of the bank
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
99
|
+
*/
|
|
100
|
+
'zipCode'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* City of the bank
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
105
|
+
*/
|
|
106
|
+
'city'?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Country of the bank
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
111
|
+
*/
|
|
112
|
+
'country'?: string;
|
|
113
|
+
/**
|
|
114
|
+
* SEPA Pain version
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
117
|
+
*/
|
|
118
|
+
'sepaPainVersion': TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum;
|
|
119
|
+
/**
|
|
120
|
+
* Creditor ID
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
123
|
+
*/
|
|
124
|
+
'creditorId': string;
|
|
125
|
+
/**
|
|
126
|
+
* Indicates whether this is the default bank account for the tenant
|
|
127
|
+
* @type {boolean}
|
|
128
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
129
|
+
*/
|
|
130
|
+
'isDefault': boolean;
|
|
83
131
|
}
|
|
84
132
|
|
|
133
|
+
export const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = {
|
|
134
|
+
_00302: 'pain.008.003.02',
|
|
135
|
+
_00802: 'pain.008.008.02',
|
|
136
|
+
_00109: 'pain.008.001.09',
|
|
137
|
+
_00110: 'pain.008.001.10',
|
|
138
|
+
_00111: 'pain.008.001.11'
|
|
139
|
+
} as const;
|
|
140
|
+
|
|
141
|
+
export type TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum];
|
|
142
|
+
|
|
143
|
+
|
|
@@ -87,5 +87,64 @@ export interface TenantBankAccountClass {
|
|
|
87
87
|
* @memberof TenantBankAccountClass
|
|
88
88
|
*/
|
|
89
89
|
'updatedBy': string;
|
|
90
|
+
/**
|
|
91
|
+
* Street address of the bank
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof TenantBankAccountClass
|
|
94
|
+
*/
|
|
95
|
+
'street'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* House number of the bank
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof TenantBankAccountClass
|
|
100
|
+
*/
|
|
101
|
+
'houseNumber'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* ZIP code of the bank
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof TenantBankAccountClass
|
|
106
|
+
*/
|
|
107
|
+
'zipCode'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* City of the bank
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof TenantBankAccountClass
|
|
112
|
+
*/
|
|
113
|
+
'city'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Country of the bank
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof TenantBankAccountClass
|
|
118
|
+
*/
|
|
119
|
+
'country'?: string;
|
|
120
|
+
/**
|
|
121
|
+
* SEPA Pain version
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof TenantBankAccountClass
|
|
124
|
+
*/
|
|
125
|
+
'sepaPainVersion': TenantBankAccountClassSepaPainVersionEnum;
|
|
126
|
+
/**
|
|
127
|
+
* Creditor ID
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof TenantBankAccountClass
|
|
130
|
+
*/
|
|
131
|
+
'creditorId': string;
|
|
132
|
+
/**
|
|
133
|
+
* Indicates whether this is the default bank account for the tenant
|
|
134
|
+
* @type {boolean}
|
|
135
|
+
* @memberof TenantBankAccountClass
|
|
136
|
+
*/
|
|
137
|
+
'isDefault': boolean;
|
|
90
138
|
}
|
|
91
139
|
|
|
140
|
+
export const TenantBankAccountClassSepaPainVersionEnum = {
|
|
141
|
+
_00302: 'pain.008.003.02',
|
|
142
|
+
_00802: 'pain.008.008.02',
|
|
143
|
+
_00109: 'pain.008.001.09',
|
|
144
|
+
_00110: 'pain.008.001.10',
|
|
145
|
+
_00111: 'pain.008.001.11'
|
|
146
|
+
} as const;
|
|
147
|
+
|
|
148
|
+
export type TenantBankAccountClassSepaPainVersionEnum = typeof TenantBankAccountClassSepaPainVersionEnum[keyof typeof TenantBankAccountClassSepaPainVersionEnum];
|
|
149
|
+
|
|
150
|
+
|
|
@@ -0,0 +1,162 @@
|
|
|
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
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface TenantBankAccountEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface TenantBankAccountEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TenantBankAccountEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TenantBankAccountEntity
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TenantBankAccountEntity
|
|
40
|
+
*/
|
|
41
|
+
'owner': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TenantBankAccountEntity
|
|
46
|
+
*/
|
|
47
|
+
'bankName': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TenantBankAccountEntity
|
|
52
|
+
*/
|
|
53
|
+
'iban': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof TenantBankAccountEntity
|
|
58
|
+
*/
|
|
59
|
+
'accountNumber': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof TenantBankAccountEntity
|
|
64
|
+
*/
|
|
65
|
+
'accountName': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof TenantBankAccountEntity
|
|
70
|
+
*/
|
|
71
|
+
'bookingAccount': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof TenantBankAccountEntity
|
|
76
|
+
*/
|
|
77
|
+
'street'?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof TenantBankAccountEntity
|
|
82
|
+
*/
|
|
83
|
+
'houseNumber'?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof TenantBankAccountEntity
|
|
88
|
+
*/
|
|
89
|
+
'zipCode'?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof TenantBankAccountEntity
|
|
94
|
+
*/
|
|
95
|
+
'city'?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof TenantBankAccountEntity
|
|
100
|
+
*/
|
|
101
|
+
'country'?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof TenantBankAccountEntity
|
|
106
|
+
*/
|
|
107
|
+
'isDefault': boolean;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof TenantBankAccountEntity
|
|
112
|
+
*/
|
|
113
|
+
'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof TenantBankAccountEntity
|
|
118
|
+
*/
|
|
119
|
+
'creditorId'?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof TenantBankAccountEntity
|
|
124
|
+
*/
|
|
125
|
+
'tenantHierarchy': string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {Array<BankTransactionEntity>}
|
|
129
|
+
* @memberof TenantBankAccountEntity
|
|
130
|
+
*/
|
|
131
|
+
'bankTransactions': Array<BankTransactionEntity>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof TenantBankAccountEntity
|
|
136
|
+
*/
|
|
137
|
+
'createdAt'?: string;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof TenantBankAccountEntity
|
|
142
|
+
*/
|
|
143
|
+
'updatedAt'?: string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof TenantBankAccountEntity
|
|
148
|
+
*/
|
|
149
|
+
'deletedAt'?: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export const TenantBankAccountEntitySepaPainVersionEnum = {
|
|
153
|
+
_00302: 'pain.008.003.02',
|
|
154
|
+
_00802: 'pain.008.008.02',
|
|
155
|
+
_00109: 'pain.008.001.09',
|
|
156
|
+
_00110: 'pain.008.001.10',
|
|
157
|
+
_00111: 'pain.008.001.11'
|
|
158
|
+
} as const;
|
|
159
|
+
|
|
160
|
+
export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
|
|
161
|
+
|
|
162
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
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 { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
|
|
17
|
+
import { PaymentEntity } from './payment-entity';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface TransactionEntity
|
|
23
|
+
*/
|
|
24
|
+
export interface TransactionEntity {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof TransactionEntity
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TransactionEntity
|
|
35
|
+
*/
|
|
36
|
+
'owner': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TransactionEntity
|
|
41
|
+
*/
|
|
42
|
+
'code': string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof TransactionEntity
|
|
47
|
+
*/
|
|
48
|
+
'paymentId': number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof TransactionEntity
|
|
53
|
+
*/
|
|
54
|
+
'webhookId'?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TransactionEntity
|
|
59
|
+
*/
|
|
60
|
+
'timestamp': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TransactionEntity
|
|
65
|
+
*/
|
|
66
|
+
'status': TransactionEntityStatusEnum;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof TransactionEntity
|
|
71
|
+
*/
|
|
72
|
+
'rawStatus': string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof TransactionEntity
|
|
77
|
+
*/
|
|
78
|
+
'bankTransactionId'?: number;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof TransactionEntity
|
|
83
|
+
*/
|
|
84
|
+
'createdAt': string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof TransactionEntity
|
|
89
|
+
*/
|
|
90
|
+
'deletedAt'?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof TransactionEntity
|
|
95
|
+
*/
|
|
96
|
+
'tenantHierarchy': string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {PaymentEntity}
|
|
100
|
+
* @memberof TransactionEntity
|
|
101
|
+
*/
|
|
102
|
+
'payment': PaymentEntity;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {BankTransactionInvoiceEntity}
|
|
106
|
+
* @memberof TransactionEntity
|
|
107
|
+
*/
|
|
108
|
+
'bankTransactionInvoice'?: BankTransactionInvoiceEntity;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export const TransactionEntityStatusEnum = {
|
|
112
|
+
Succeeded: 'succeeded',
|
|
113
|
+
Pending: 'pending',
|
|
114
|
+
Failed: 'failed',
|
|
115
|
+
Disputed: 'disputed',
|
|
116
|
+
Refunded: 'refunded'
|
|
117
|
+
} as const;
|
|
118
|
+
|
|
119
|
+
export type TransactionEntityStatusEnum = typeof TransactionEntityStatusEnum[keyof typeof TransactionEntityStatusEnum];
|
|
120
|
+
|
|
121
|
+
|
|
@@ -33,17 +33,17 @@ export interface UpdateBankOrderRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'description'?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Tenant bank account code associated with the bank order.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof UpdateBankOrderRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'tenantBankAccountCode': string;
|
|
41
41
|
/**
|
|
42
|
-
* List of
|
|
43
|
-
* @type {Array<
|
|
42
|
+
* List of entity codes associated with bank order.
|
|
43
|
+
* @type {Array<string>}
|
|
44
44
|
* @memberof UpdateBankOrderRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'entityCodes': Array<string>;
|
|
47
47
|
/**
|
|
48
48
|
* Day of execution of bank order.
|
|
49
49
|
* @type {string}
|
|
@@ -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 UpdateBillingAddressRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateBillingAddressRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* First name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'firstName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Last name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'lastName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Street name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'street': string;
|
|
41
|
+
/**
|
|
42
|
+
* House number
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'houseNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* ZIP code
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'zipCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* City
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'city': string;
|
|
59
|
+
/**
|
|
60
|
+
* Country code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'countryCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the partner that this object belongs to.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateBillingAddressRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'partnerCode': 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 { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateBillingAddressResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateBillingAddressResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The updated billing address
|
|
26
|
+
* @type {BillingAddressClass}
|
|
27
|
+
* @memberof UpdateBillingAddressResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'billingAddress': BillingAddressClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -33,10 +33,69 @@ export interface UpdateTenantBankAccountRestRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'bankName': string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Number of the booking account this bank account belongs to
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'bookingAccount': string;
|
|
41
|
+
/**
|
|
42
|
+
* Street address
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'street'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* House number
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'houseNumber'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* ZIP code
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'zipCode': string;
|
|
59
|
+
/**
|
|
60
|
+
* City
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'city': string;
|
|
65
|
+
/**
|
|
66
|
+
* Country
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'country': string;
|
|
71
|
+
/**
|
|
72
|
+
* SEPA Pain version
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'sepaPainVersion': UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Creditor ID
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'creditorId': string;
|
|
83
|
+
/**
|
|
84
|
+
* Indicates whether this is the default bank account for the tenant
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'isDefault': boolean;
|
|
41
89
|
}
|
|
42
90
|
|
|
91
|
+
export const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
|
|
92
|
+
_00302: 'pain.008.003.02',
|
|
93
|
+
_00802: 'pain.008.008.02',
|
|
94
|
+
_00109: 'pain.008.001.09',
|
|
95
|
+
_00110: 'pain.008.001.10',
|
|
96
|
+
_00111: 'pain.008.001.11'
|
|
97
|
+
} as const;
|
|
98
|
+
|
|
99
|
+
export type UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum];
|
|
100
|
+
|
|
101
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/payment-sdk",
|
|
3
|
-
"version": "1.14.1-beta.
|
|
3
|
+
"version": "1.14.1-beta.70",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/payment-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"typescript": "^4.0"
|