@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
|
@@ -116,6 +116,12 @@ export interface TenantBankAccountClassWithoutExpandProperties {
|
|
|
116
116
|
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
117
117
|
*/
|
|
118
118
|
'sepaPainVersion': TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum;
|
|
119
|
+
/**
|
|
120
|
+
* Payout Pain version
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
123
|
+
*/
|
|
124
|
+
'payoutPainVersion': TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum;
|
|
119
125
|
}
|
|
120
126
|
|
|
121
127
|
export const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = {
|
|
@@ -129,5 +135,17 @@ export const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum =
|
|
|
129
135
|
} as const;
|
|
130
136
|
|
|
131
137
|
export type TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum];
|
|
138
|
+
export const TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = {
|
|
139
|
+
_00302: 'pain.001.003.02',
|
|
140
|
+
_00108: 'pain.001.001.08',
|
|
141
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
142
|
+
_00802: 'pain.001.008.02',
|
|
143
|
+
_00109: 'pain.001.001.09',
|
|
144
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
145
|
+
_00110: 'pain.001.001.10',
|
|
146
|
+
_00111: 'pain.001.001.11'
|
|
147
|
+
} as const;
|
|
148
|
+
|
|
149
|
+
export type TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum];
|
|
132
150
|
|
|
133
151
|
|
|
@@ -123,6 +123,12 @@ export interface TenantBankAccountClass {
|
|
|
123
123
|
* @memberof TenantBankAccountClass
|
|
124
124
|
*/
|
|
125
125
|
'sepaPainVersion': TenantBankAccountClassSepaPainVersionEnum;
|
|
126
|
+
/**
|
|
127
|
+
* Payout Pain version
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof TenantBankAccountClass
|
|
130
|
+
*/
|
|
131
|
+
'payoutPainVersion': TenantBankAccountClassPayoutPainVersionEnum;
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
export const TenantBankAccountClassSepaPainVersionEnum = {
|
|
@@ -136,5 +142,17 @@ export const TenantBankAccountClassSepaPainVersionEnum = {
|
|
|
136
142
|
} as const;
|
|
137
143
|
|
|
138
144
|
export type TenantBankAccountClassSepaPainVersionEnum = typeof TenantBankAccountClassSepaPainVersionEnum[keyof typeof TenantBankAccountClassSepaPainVersionEnum];
|
|
145
|
+
export const TenantBankAccountClassPayoutPainVersionEnum = {
|
|
146
|
+
_00302: 'pain.001.003.02',
|
|
147
|
+
_00108: 'pain.001.001.08',
|
|
148
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
149
|
+
_00802: 'pain.001.008.02',
|
|
150
|
+
_00109: 'pain.001.001.09',
|
|
151
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
152
|
+
_00110: 'pain.001.001.10',
|
|
153
|
+
_00111: 'pain.001.001.11'
|
|
154
|
+
} as const;
|
|
155
|
+
|
|
156
|
+
export type TenantBankAccountClassPayoutPainVersionEnum = typeof TenantBankAccountClassPayoutPainVersionEnum[keyof typeof TenantBankAccountClassPayoutPainVersionEnum];
|
|
139
157
|
|
|
140
158
|
|
|
@@ -105,6 +105,12 @@ export interface TenantBankAccountEntity {
|
|
|
105
105
|
* @memberof TenantBankAccountEntity
|
|
106
106
|
*/
|
|
107
107
|
'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof TenantBankAccountEntity
|
|
112
|
+
*/
|
|
113
|
+
'payoutPainVersion'?: TenantBankAccountEntityPayoutPainVersionEnum;
|
|
108
114
|
/**
|
|
109
115
|
*
|
|
110
116
|
* @type {string}
|
|
@@ -148,5 +154,17 @@ export const TenantBankAccountEntitySepaPainVersionEnum = {
|
|
|
148
154
|
} as const;
|
|
149
155
|
|
|
150
156
|
export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
|
|
157
|
+
export const TenantBankAccountEntityPayoutPainVersionEnum = {
|
|
158
|
+
_00302: 'pain.001.003.02',
|
|
159
|
+
_00108: 'pain.001.001.08',
|
|
160
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
161
|
+
_00802: 'pain.001.008.02',
|
|
162
|
+
_00109: 'pain.001.001.09',
|
|
163
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
164
|
+
_00110: 'pain.001.001.10',
|
|
165
|
+
_00111: 'pain.001.001.11'
|
|
166
|
+
} as const;
|
|
167
|
+
|
|
168
|
+
export type TenantBankAccountEntityPayoutPainVersionEnum = typeof TenantBankAccountEntityPayoutPainVersionEnum[keyof typeof TenantBankAccountEntityPayoutPainVersionEnum];
|
|
151
169
|
|
|
152
170
|
|
|
@@ -39,11 +39,11 @@ export interface 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
|
+
|
|
@@ -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 UpdatePaymentReceiptResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdatePaymentReceiptResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The updated payment receipt.
|
|
26
|
+
* @type {PaymentReceiptClass}
|
|
27
|
+
* @memberof UpdatePaymentReceiptResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentReceipt'?: PaymentReceiptClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 UpdatePaymentRequestRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePaymentRequestRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the object.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdatePaymentRequestRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* New status for the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdatePaymentRequestRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'status': UpdatePaymentRequestRequestDtoStatusEnum;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const UpdatePaymentRequestRequestDtoStatusEnum = {
|
|
38
|
+
Open: 'open',
|
|
39
|
+
Approved: 'approved',
|
|
40
|
+
Pending: 'pending',
|
|
41
|
+
Paid: 'paid',
|
|
42
|
+
Failed: 'failed',
|
|
43
|
+
Withdrawn: 'withdrawn'
|
|
44
|
+
} as const;
|
|
45
|
+
|
|
46
|
+
export type UpdatePaymentRequestRequestDtoStatusEnum = typeof UpdatePaymentRequestRequestDtoStatusEnum[keyof typeof UpdatePaymentRequestRequestDtoStatusEnum];
|
|
47
|
+
|
|
48
|
+
|
|
@@ -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 UpdatePaymentRequestResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdatePaymentRequestResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The updated payment request with the new status.
|
|
26
|
+
* @type {PaymentRequestClass}
|
|
27
|
+
* @memberof UpdatePaymentRequestResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'paymentRequest': PaymentRequestClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -74,6 +74,12 @@ export interface UpdateTenantBankAccountRestRequestDto {
|
|
|
74
74
|
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
75
75
|
*/
|
|
76
76
|
'sepaPainVersion': UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Payout Pain version
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof UpdateTenantBankAccountRestRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'payoutPainVersion': UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum;
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
export const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
|
|
@@ -87,5 +93,17 @@ export const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
|
|
|
87
93
|
} as const;
|
|
88
94
|
|
|
89
95
|
export type UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum];
|
|
96
|
+
export const UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = {
|
|
97
|
+
_00302: 'pain.001.003.02',
|
|
98
|
+
_00108: 'pain.001.001.08',
|
|
99
|
+
_00108Gbic5: 'pain.001.001.08_GBIC_5',
|
|
100
|
+
_00802: 'pain.001.008.02',
|
|
101
|
+
_00109: 'pain.001.001.09',
|
|
102
|
+
_00109Gbic5: 'pain.001.001.09_GBIC_5',
|
|
103
|
+
_00110: 'pain.001.001.10',
|
|
104
|
+
_00111: 'pain.001.001.11'
|
|
105
|
+
} as const;
|
|
106
|
+
|
|
107
|
+
export type UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum];
|
|
90
108
|
|
|
91
109
|
|
|
@@ -0,0 +1,30 @@
|
|
|
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 ValidateIbanRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ValidateIbanRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* iban
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ValidateIbanRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'iban': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { BankDataClass } from './bank-data-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ValidateIbanResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ValidateIbanResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* valid
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ValidateIbanResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'valid': boolean;
|
|
30
|
+
/**
|
|
31
|
+
* bankData
|
|
32
|
+
* @type {BankDataClass}
|
|
33
|
+
* @memberof ValidateIbanResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'bankData'?: BankDataClass;
|
|
36
|
+
}
|
|
37
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/payment-sdk-node",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.1-beta.100",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/payment-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "
|
|
21
|
+
"axios": "1.18.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|