@emilgroup/payment-sdk-node 1.22.1-beta.6 → 1.22.1-beta.61
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 +21 -0
- package/README.md +2 -2
- package/api/billing-addresses-api.ts +695 -0
- package/api/credit-allocation-api.ts +460 -0
- package/api/payout-methods-api.ts +676 -0
- package/api/policy-payment-methods-api.ts +118 -0
- package/api.ts +6 -0
- package/base.ts +0 -1
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-transaction-api.d.ts +6 -6
- package/dist/api/billing-addresses-api.d.ts +393 -0
- package/dist/api/billing-addresses-api.js +646 -0
- package/dist/api/credit-allocation-api.d.ts +263 -0
- package/dist/api/credit-allocation-api.js +449 -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 +639 -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 +5 -5
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- 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 +3 -3
- 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 +3 -3
- 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 +30 -0
- package/dist/models/credit-allocation-class.d.ts +115 -0
- package/dist/models/credit-allocation-class.js +21 -0
- package/dist/models/exceeding-credit-class.d.ts +6 -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 +18 -0
- package/dist/models/index.js +18 -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/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
- package/dist/models/tenant-bank-account-class.d.ts +30 -0
- 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-tenant-bank-account-rest-request-dto.d.ts +30 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +3 -3
- package/models/billing-address-class.ts +114 -0
- package/models/billing-address-dto.ts +6 -0
- package/models/create-bank-order-request-dto.ts +3 -3
- 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 +30 -0
- package/models/credit-allocation-class.ts +124 -0
- package/models/exceeding-credit-class.ts +6 -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 +18 -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/payout-method-class.ts +121 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
- package/models/tenant-bank-account-class.ts +30 -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-tenant-bank-account-rest-request-dto.ts +30 -0
- package/package.json +2 -2
|
@@ -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
|
+
|
|
@@ -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,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,3 +1,4 @@
|
|
|
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';
|
|
@@ -6,6 +7,7 @@ export * from './bank-transaction-class';
|
|
|
6
7
|
export * from './bank-transaction-class-without-expand-properties';
|
|
7
8
|
export * from './bank-transaction-invoice-class';
|
|
8
9
|
export * from './bank-transfer-dto';
|
|
10
|
+
export * from './billing-address-class';
|
|
9
11
|
export * from './billing-address-dto';
|
|
10
12
|
export * from './billing-profile-dto';
|
|
11
13
|
export * from './billing-profile-limited-response-dto';
|
|
@@ -20,6 +22,10 @@ export * from './create-bank-account-request-dto';
|
|
|
20
22
|
export * from './create-bank-account-response-class';
|
|
21
23
|
export * from './create-bank-order-request-dto';
|
|
22
24
|
export * from './create-bank-order-response-class';
|
|
25
|
+
export * from './create-billing-address-request-dto';
|
|
26
|
+
export * from './create-billing-address-response-class';
|
|
27
|
+
export * from './create-credit-allocation-request-dto';
|
|
28
|
+
export * from './create-credit-allocation-response-class';
|
|
23
29
|
export * from './create-payment-method-response-class';
|
|
24
30
|
export * from './create-payment-order-dto';
|
|
25
31
|
export * from './create-payment-order-request-dto';
|
|
@@ -27,6 +33,8 @@ export * from './create-payment-reminder-request-dto';
|
|
|
27
33
|
export * from './create-payment-reminder-response-class';
|
|
28
34
|
export * from './create-payment-request-dto';
|
|
29
35
|
export * from './create-payment-response-class';
|
|
36
|
+
export * from './create-payout-method-request-dto';
|
|
37
|
+
export * from './create-payout-method-response-class';
|
|
30
38
|
export * from './create-policy-payment-method-request-dto';
|
|
31
39
|
export * from './create-policy-payment-method-response-class';
|
|
32
40
|
export * from './create-psp-payment-method-request-dto';
|
|
@@ -34,6 +42,7 @@ export * from './create-refund-request-dto';
|
|
|
34
42
|
export * from './create-refund-response-class';
|
|
35
43
|
export * from './create-tenant-bank-account-request-dto';
|
|
36
44
|
export * from './create-tenant-bank-account-response-class';
|
|
45
|
+
export * from './credit-allocation-class';
|
|
37
46
|
export * from './deactivate-payment-reminder-request-dto';
|
|
38
47
|
export * from './deactivate-payment-reminder-response-class';
|
|
39
48
|
export * from './deactivated-payment-reminder-class';
|
|
@@ -44,10 +53,13 @@ export * from './generate-invoice-match-suggestions-response-class';
|
|
|
44
53
|
export * from './get-bank-account-response-class';
|
|
45
54
|
export * from './get-bank-order-response-class';
|
|
46
55
|
export * from './get-bank-transactions-response-class';
|
|
56
|
+
export * from './get-billing-address-response-class';
|
|
57
|
+
export * from './get-credit-allocation-response-class';
|
|
47
58
|
export * from './get-exceeding-credit-response-class';
|
|
48
59
|
export * from './get-payment-method-response-class';
|
|
49
60
|
export * from './get-payment-reminder-response-class';
|
|
50
61
|
export * from './get-payment-response-class';
|
|
62
|
+
export * from './get-payout-method-response-class';
|
|
51
63
|
export * from './get-refund-response-class';
|
|
52
64
|
export * from './get-tenant-bank-account-response-class';
|
|
53
65
|
export * from './import-bank-transactions-response-class';
|
|
@@ -69,10 +81,13 @@ export * from './link-bank-transactions-response-class';
|
|
|
69
81
|
export * from './list-bank-accounts-response-class';
|
|
70
82
|
export * from './list-bank-orders-response-class';
|
|
71
83
|
export * from './list-bank-transactions-response-class';
|
|
84
|
+
export * from './list-billing-addresses-response-class';
|
|
85
|
+
export * from './list-credit-allocations-response-class';
|
|
72
86
|
export * from './list-exceeding-credits-response-class';
|
|
73
87
|
export * from './list-payment-methods-response-class';
|
|
74
88
|
export * from './list-payment-reminders-response-class';
|
|
75
89
|
export * from './list-payments-response-class';
|
|
90
|
+
export * from './list-payout-methods-response-class';
|
|
76
91
|
export * from './list-policy-payment-methods-response-class';
|
|
77
92
|
export * from './list-refunds-response-class';
|
|
78
93
|
export * from './list-tenant-bank-account-response-class';
|
|
@@ -83,6 +98,7 @@ export * from './payment-class';
|
|
|
83
98
|
export * from './payment-class-without-expand-properties';
|
|
84
99
|
export * from './payment-method-class';
|
|
85
100
|
export * from './payment-reminder-class';
|
|
101
|
+
export * from './payout-method-class';
|
|
86
102
|
export * from './policy-payment-method-class';
|
|
87
103
|
export * from './primary-bank-account-response-class';
|
|
88
104
|
export * from './refund-class';
|
|
@@ -101,6 +117,8 @@ export * from './update-bank-account-request-dto-rest';
|
|
|
101
117
|
export * from './update-bank-account-response-class';
|
|
102
118
|
export * from './update-bank-order-request-dto';
|
|
103
119
|
export * from './update-bank-order-response-class';
|
|
120
|
+
export * from './update-billing-address-request-dto';
|
|
121
|
+
export * from './update-billing-address-response-class';
|
|
104
122
|
export * from './update-tenant-bank-account-response-class';
|
|
105
123
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
106
124
|
export * from './validate-pspconfig-request-dto';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListBillingAddressesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListBillingAddressesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The billing addresses
|
|
26
|
+
* @type {Array<BillingAddressClass>}
|
|
27
|
+
* @memberof ListBillingAddressesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<BillingAddressClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListBillingAddressesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListBillingAddressesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListBillingAddressesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { CreditAllocationClass } from './credit-allocation-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCreditAllocationsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCreditAllocationsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of credit allocation entries.
|
|
26
|
+
* @type {Array<CreditAllocationClass>}
|
|
27
|
+
* @memberof ListCreditAllocationsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CreditAllocationClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token for pagination.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListCreditAllocationsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Number of items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCreditAllocationsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListCreditAllocationsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PayoutMethodClass } from './payout-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPayoutMethodsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPayoutMethodsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payout methods
|
|
26
|
+
* @type {Array<PayoutMethodClass>}
|
|
27
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PayoutMethodClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListPayoutMethodsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -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 { BillingAddressClass } from './billing-address-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PayoutMethodClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PayoutMethodClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PayoutMethodClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PayoutMethodClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* First name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PayoutMethodClass
|
|
40
|
+
*/
|
|
41
|
+
'firstName': string;
|
|
42
|
+
/**
|
|
43
|
+
* Last name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PayoutMethodClass
|
|
46
|
+
*/
|
|
47
|
+
'lastName': string;
|
|
48
|
+
/**
|
|
49
|
+
* IBAN
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PayoutMethodClass
|
|
52
|
+
*/
|
|
53
|
+
'iban': string;
|
|
54
|
+
/**
|
|
55
|
+
* BIC
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PayoutMethodClass
|
|
58
|
+
*/
|
|
59
|
+
'bic': string;
|
|
60
|
+
/**
|
|
61
|
+
* Bank name
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PayoutMethodClass
|
|
64
|
+
*/
|
|
65
|
+
'bankName': string;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the payout method is active
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PayoutMethodClass
|
|
70
|
+
*/
|
|
71
|
+
'isActive': boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Billing address code
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PayoutMethodClass
|
|
76
|
+
*/
|
|
77
|
+
'billingAddressCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* Unique identifier of the account that this object belongs to.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PayoutMethodClass
|
|
82
|
+
*/
|
|
83
|
+
'accountCode': string;
|
|
84
|
+
/**
|
|
85
|
+
* Unique identifier of the partner that this object belongs to.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PayoutMethodClass
|
|
88
|
+
*/
|
|
89
|
+
'partnerCode': string;
|
|
90
|
+
/**
|
|
91
|
+
* Billing address
|
|
92
|
+
* @type {BillingAddressClass}
|
|
93
|
+
* @memberof PayoutMethodClass
|
|
94
|
+
*/
|
|
95
|
+
'billingAddress'?: BillingAddressClass;
|
|
96
|
+
/**
|
|
97
|
+
* Time at which the object was created.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PayoutMethodClass
|
|
100
|
+
*/
|
|
101
|
+
'createdAt': string;
|
|
102
|
+
/**
|
|
103
|
+
* Time at which the object was updated.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PayoutMethodClass
|
|
106
|
+
*/
|
|
107
|
+
'updatedAt': string;
|
|
108
|
+
/**
|
|
109
|
+
* Identifier of the user who created the record.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PayoutMethodClass
|
|
112
|
+
*/
|
|
113
|
+
'createdBy': string;
|
|
114
|
+
/**
|
|
115
|
+
* Identifier of the user who last updated the record.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PayoutMethodClass
|
|
118
|
+
*/
|
|
119
|
+
'updatedBy': string;
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -80,5 +80,35 @@ 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;
|
|
83
113
|
}
|
|
84
114
|
|
|
@@ -87,5 +87,35 @@ 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;
|
|
90
120
|
}
|
|
91
121
|
|
|
@@ -39,11 +39,11 @@ export interface UpdateBankOrderRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'financialAccountCode': 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}
|