@emilgroup/payment-sdk 1.14.1-beta.7 → 1.14.1-beta.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +32 -1
- package/README.md +2 -2
- package/api/bank-orders-api.ts +24 -24
- package/api/billing-addresses-api.ts +677 -0
- package/api/credit-allocation-api.ts +456 -0
- package/api/payout-methods-api.ts +672 -0
- package/api/policy-payment-methods-api.ts +118 -0
- package/api/tenant-bank-account-api.ts +8 -8
- package/api.ts +6 -0
- package/base.ts +4 -0
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-orders-api.d.ts +29 -29
- package/dist/api/bank-orders-api.js +18 -18
- package/dist/api/bank-transaction-api.d.ts +6 -6
- package/dist/api/billing-addresses-api.d.ts +384 -0
- package/dist/api/billing-addresses-api.js +636 -0
- package/dist/api/credit-allocation-api.d.ts +263 -0
- package/dist/api/credit-allocation-api.js +445 -0
- package/dist/api/exceeding-credits-api.d.ts +2 -2
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payout-methods-api.d.ts +382 -0
- package/dist/api/payout-methods-api.js +635 -0
- package/dist/api/policy-payment-methods-api.d.ts +67 -2
- package/dist/api/policy-payment-methods-api.js +99 -0
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +13 -13
- package/dist/api/tenant-bank-account-api.js +6 -6
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.js +3 -1
- package/dist/common.d.ts +1 -1
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
- package/dist/models/bank-order-class.d.ts +9 -9
- package/dist/models/bank-order-entity.d.ts +156 -0
- package/dist/models/bank-order-entity.js +29 -0
- package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
- package/dist/models/bank-order-xml-file-entity.js +15 -0
- package/dist/models/bank-transaction-entity.d.ts +179 -0
- package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
- package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
- package/dist/models/bank-transaction-invoice-entity.js +15 -0
- package/dist/models/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/billing-address-dto.d.ts +6 -0
- package/dist/models/create-bank-order-request-dto.d.ts +6 -5
- package/dist/models/create-bank-order-request-dto.js +2 -1
- package/dist/models/create-billing-address-request-dto.d.ts +66 -0
- package/dist/models/create-billing-address-request-dto.js +15 -0
- package/dist/models/create-billing-address-response-class.d.ts +25 -0
- package/dist/models/create-billing-address-response-class.js +15 -0
- package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
- package/dist/models/create-credit-allocation-request-dto.js +21 -0
- package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/create-credit-allocation-response-class.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +60 -0
- package/dist/models/create-payout-method-request-dto.js +15 -0
- package/dist/models/create-payout-method-response-class.d.ts +25 -0
- package/dist/models/create-payout-method-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +57 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
- package/dist/models/credit-allocation-class.d.ts +115 -0
- package/dist/models/credit-allocation-class.js +21 -0
- package/dist/models/credit-allocation-entity.d.ts +135 -0
- package/dist/models/credit-allocation-entity.js +34 -0
- package/dist/models/exceeding-credit-class.d.ts +6 -0
- package/dist/models/exceeding-credit-entity.d.ts +148 -0
- package/dist/models/exceeding-credit-entity.js +29 -0
- package/dist/models/get-billing-address-response-class.d.ts +25 -0
- package/dist/models/get-billing-address-response-class.js +15 -0
- package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/get-credit-allocation-response-class.js +15 -0
- package/dist/models/get-payout-method-response-class.d.ts +25 -0
- package/dist/models/get-payout-method-response-class.js +15 -0
- package/dist/models/index.d.ts +29 -1
- package/dist/models/index.js +29 -1
- package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
- package/dist/models/invoice-match-suggestion-entity.js +15 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
- package/dist/models/list-billing-addresses-response-class.js +15 -0
- package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
- package/dist/models/list-credit-allocations-response-class.js +15 -0
- package/dist/models/list-payout-methods-response-class.d.ts +43 -0
- package/dist/models/list-payout-methods-response-class.js +15 -0
- package/dist/models/payment-entity.d.ts +133 -0
- package/dist/models/payment-entity.js +15 -0
- package/dist/models/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
- package/dist/models/suggestion-generation-progress-entity.js +22 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +56 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
- package/dist/models/tenant-bank-account-class.d.ts +56 -0
- package/dist/models/tenant-bank-account-class.js +8 -0
- package/dist/models/tenant-bank-account-entity.d.ts +153 -0
- package/dist/models/tenant-bank-account-entity.js +23 -0
- package/dist/models/transaction-entity.d.ts +112 -0
- package/dist/models/transaction-entity.js +23 -0
- package/dist/models/update-bank-order-request-dto.d.ts +5 -5
- package/dist/models/update-billing-address-request-dto.d.ts +66 -0
- package/dist/models/update-billing-address-request-dto.js +15 -0
- package/dist/models/update-billing-address-response-class.d.ts +25 -0
- package/dist/models/update-billing-address-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +57 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +9 -9
- package/models/bank-order-entity.ts +166 -0
- package/models/bank-order-xml-file-entity.ts +91 -0
- package/models/bank-transaction-entity.ts +188 -0
- package/models/bank-transaction-invoice-entity.ts +104 -0
- package/models/billing-address-class.ts +114 -0
- package/models/billing-address-dto.ts +6 -0
- package/models/create-bank-order-request-dto.ts +7 -6
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-credit-allocation-request-dto.ts +63 -0
- package/models/create-credit-allocation-response-class.ts +31 -0
- package/models/create-payout-method-request-dto.ts +66 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +60 -1
- package/models/credit-allocation-class.ts +124 -0
- package/models/credit-allocation-entity.ts +145 -0
- package/models/exceeding-credit-class.ts +6 -0
- package/models/exceeding-credit-entity.ts +157 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-credit-allocation-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +29 -1
- package/models/invoice-match-suggestion-entity.ts +109 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- package/models/list-credit-allocations-response-class.ts +49 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/payment-entity.ts +139 -0
- package/models/{financial-account-class.ts → payout-method-class.ts} +48 -47
- package/models/suggestion-generation-progress-entity.ts +95 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +59 -0
- package/models/tenant-bank-account-class.ts +59 -0
- package/models/tenant-bank-account-entity.ts +162 -0
- package/models/transaction-entity.ts +121 -0
- package/models/update-bank-order-request-dto.ts +5 -5
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +60 -1
- package/package.json +2 -2
- package/dist/models/financial-account-class.d.ts +0 -111
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BankTransactionEntity } from './bank-transaction-entity';
|
|
17
|
+
import { TransactionEntity } from './transaction-entity';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface BankTransactionInvoiceEntity
|
|
23
|
+
*/
|
|
24
|
+
export interface BankTransactionInvoiceEntity {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof BankTransactionInvoiceEntity
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BankTransactionInvoiceEntity
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof BankTransactionInvoiceEntity
|
|
41
|
+
*/
|
|
42
|
+
'bankTransactionId': number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BankTransactionInvoiceEntity
|
|
47
|
+
*/
|
|
48
|
+
'invoiceCode': string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof BankTransactionInvoiceEntity
|
|
53
|
+
*/
|
|
54
|
+
'invoiceNumber': string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof BankTransactionInvoiceEntity
|
|
59
|
+
*/
|
|
60
|
+
'owner': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof BankTransactionInvoiceEntity
|
|
65
|
+
*/
|
|
66
|
+
'tenantHierarchy': string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof BankTransactionInvoiceEntity
|
|
71
|
+
*/
|
|
72
|
+
'linkedTransactionId'?: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {TransactionEntity}
|
|
76
|
+
* @memberof BankTransactionInvoiceEntity
|
|
77
|
+
*/
|
|
78
|
+
'linkedTransaction'?: TransactionEntity;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {BankTransactionEntity}
|
|
82
|
+
* @memberof BankTransactionInvoiceEntity
|
|
83
|
+
*/
|
|
84
|
+
'bankTransaction': BankTransactionEntity;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof BankTransactionInvoiceEntity
|
|
89
|
+
*/
|
|
90
|
+
'createdAt': string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof BankTransactionInvoiceEntity
|
|
95
|
+
*/
|
|
96
|
+
'updatedAt': string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof BankTransactionInvoiceEntity
|
|
101
|
+
*/
|
|
102
|
+
'deletedAt': string;
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
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 BillingAddressClass
|
|
21
|
+
*/
|
|
22
|
+
export interface BillingAddressClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof BillingAddressClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BillingAddressClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* First name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BillingAddressClass
|
|
39
|
+
*/
|
|
40
|
+
'firstName': string;
|
|
41
|
+
/**
|
|
42
|
+
* Last name
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BillingAddressClass
|
|
45
|
+
*/
|
|
46
|
+
'lastName': string;
|
|
47
|
+
/**
|
|
48
|
+
* Street name
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BillingAddressClass
|
|
51
|
+
*/
|
|
52
|
+
'street': string;
|
|
53
|
+
/**
|
|
54
|
+
* House number
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BillingAddressClass
|
|
57
|
+
*/
|
|
58
|
+
'houseNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* ZIP code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof BillingAddressClass
|
|
63
|
+
*/
|
|
64
|
+
'zipCode': string;
|
|
65
|
+
/**
|
|
66
|
+
* City
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof BillingAddressClass
|
|
69
|
+
*/
|
|
70
|
+
'city': string;
|
|
71
|
+
/**
|
|
72
|
+
* Country code
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof BillingAddressClass
|
|
75
|
+
*/
|
|
76
|
+
'countryCode'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Unique identifier of the account that this object belongs to.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof BillingAddressClass
|
|
81
|
+
*/
|
|
82
|
+
'accountCode': string;
|
|
83
|
+
/**
|
|
84
|
+
* Unique identifier of the partner that this object belongs to.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof BillingAddressClass
|
|
87
|
+
*/
|
|
88
|
+
'partnerCode': string;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was created.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof BillingAddressClass
|
|
93
|
+
*/
|
|
94
|
+
'createdAt': string;
|
|
95
|
+
/**
|
|
96
|
+
* Time at which the object was updated.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof BillingAddressClass
|
|
99
|
+
*/
|
|
100
|
+
'updatedAt': string;
|
|
101
|
+
/**
|
|
102
|
+
* Identifier of the user who created the record.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof BillingAddressClass
|
|
105
|
+
*/
|
|
106
|
+
'createdBy': string;
|
|
107
|
+
/**
|
|
108
|
+
* Identifier of the user who last updated the record.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof BillingAddressClass
|
|
111
|
+
*/
|
|
112
|
+
'updatedBy': string;
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -39,17 +39,17 @@ export interface CreateBankOrderRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'description'?: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Tenant bank account code associated with the bank order.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateBankOrderRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'tenantBankAccountCode': string;
|
|
47
47
|
/**
|
|
48
|
-
* List of
|
|
49
|
-
* @type {Array<
|
|
48
|
+
* List of entity codes associated with bank order.
|
|
49
|
+
* @type {Array<string>}
|
|
50
50
|
* @memberof CreateBankOrderRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'entityCodes': Array<string>;
|
|
53
53
|
/**
|
|
54
54
|
* Day of execution of bank order.
|
|
55
55
|
* @type {string}
|
|
@@ -67,7 +67,8 @@ export interface CreateBankOrderRequestDto {
|
|
|
67
67
|
export const CreateBankOrderRequestDtoTypeEnum = {
|
|
68
68
|
DirectDebit: 'direct_debit',
|
|
69
69
|
PremiumPayment: 'premium_payment',
|
|
70
|
-
ClaimPayment: 'claim_payment'
|
|
70
|
+
ClaimPayment: 'claim_payment',
|
|
71
|
+
CommissionPayment: 'commission_payment'
|
|
71
72
|
} as const;
|
|
72
73
|
|
|
73
74
|
export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
|
|
@@ -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 CreateBillingAddressRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBillingAddressRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* First name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateBillingAddressRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'firstName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Last name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateBillingAddressRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'lastName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Street name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateBillingAddressRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'street': string;
|
|
41
|
+
/**
|
|
42
|
+
* House number
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateBillingAddressRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'houseNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* ZIP code
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateBillingAddressRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'zipCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* City
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateBillingAddressRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'city': string;
|
|
59
|
+
/**
|
|
60
|
+
* Country code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateBillingAddressRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'countryCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the partner that this object belongs to.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateBillingAddressRequestDto
|
|
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 CreateBillingAddressResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateBillingAddressResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created billing address
|
|
26
|
+
* @type {BillingAddressClass}
|
|
27
|
+
* @memberof CreateBillingAddressResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'billingAddress': BillingAddressClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
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 CreateCreditAllocationRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCreditAllocationRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Codes of the exceeding credits to allocate.
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'exceedingCreditCodes': Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Financial account code to use for the refund. Required only when allocationType is \"separate_refund\".
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'financialAccountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Type of credit allocation.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'allocationType': CreateCreditAllocationRequestDtoAllocationTypeEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Amount of the credit allocation in cents.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'allocationAmount': number;
|
|
47
|
+
/**
|
|
48
|
+
* Booking date of the credit allocation.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateCreditAllocationRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'bookingDate'?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const CreateCreditAllocationRequestDtoAllocationTypeEnum = {
|
|
56
|
+
NextInvoice: 'next_invoice',
|
|
57
|
+
LastInvoice: 'last_invoice',
|
|
58
|
+
SeparateRefund: 'separate_refund'
|
|
59
|
+
} as const;
|
|
60
|
+
|
|
61
|
+
export type CreateCreditAllocationRequestDtoAllocationTypeEnum = typeof CreateCreditAllocationRequestDtoAllocationTypeEnum[keyof typeof CreateCreditAllocationRequestDtoAllocationTypeEnum];
|
|
62
|
+
|
|
63
|
+
|
|
@@ -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 CreateCreditAllocationResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateCreditAllocationResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Credit allocation created.
|
|
26
|
+
* @type {CreditAllocationClass}
|
|
27
|
+
* @memberof CreateCreditAllocationResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'creditAllocation'?: CreditAllocationClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreatePayoutMethodRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePayoutMethodRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the partner that this object belongs to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'partnerCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* First name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'firstName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Last name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'lastName': string;
|
|
41
|
+
/**
|
|
42
|
+
* IBAN
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'iban': string;
|
|
47
|
+
/**
|
|
48
|
+
* BIC
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'bic': string;
|
|
53
|
+
/**
|
|
54
|
+
* Bank name
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'bankName': string;
|
|
59
|
+
/**
|
|
60
|
+
* Billing address code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreatePayoutMethodRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'billingAddressCode': string;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PayoutMethodClass } from './payout-method-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePayoutMethodResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePayoutMethodResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created payout method
|
|
26
|
+
* @type {PayoutMethodClass}
|
|
27
|
+
* @memberof CreatePayoutMethodResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'payoutMethod': PayoutMethodClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -39,10 +39,69 @@ export interface CreateTenantBankAccountRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'iban': string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Number of the booking account this bank account belongs to
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateTenantBankAccountRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'bookingAccount': string;
|
|
47
|
+
/**
|
|
48
|
+
* Street address
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'street'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* House number
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'houseNumber'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* ZIP code
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'zipCode': string;
|
|
65
|
+
/**
|
|
66
|
+
* City
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'city': string;
|
|
71
|
+
/**
|
|
72
|
+
* Country
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'country': string;
|
|
77
|
+
/**
|
|
78
|
+
* SEPA Pain version
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'sepaPainVersion': CreateTenantBankAccountRequestDtoSepaPainVersionEnum;
|
|
83
|
+
/**
|
|
84
|
+
* Creditor ID
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'creditorId': string;
|
|
89
|
+
/**
|
|
90
|
+
* Indicates whether this is the default bank account for the tenant
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof CreateTenantBankAccountRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'isDefault': boolean;
|
|
47
95
|
}
|
|
48
96
|
|
|
97
|
+
export const CreateTenantBankAccountRequestDtoSepaPainVersionEnum = {
|
|
98
|
+
_00302: 'pain.008.003.02',
|
|
99
|
+
_00802: 'pain.008.008.02',
|
|
100
|
+
_00109: 'pain.008.001.09',
|
|
101
|
+
_00110: 'pain.008.001.10',
|
|
102
|
+
_00111: 'pain.008.001.11'
|
|
103
|
+
} as const;
|
|
104
|
+
|
|
105
|
+
export type CreateTenantBankAccountRequestDtoSepaPainVersionEnum = typeof CreateTenantBankAccountRequestDtoSepaPainVersionEnum[keyof typeof CreateTenantBankAccountRequestDtoSepaPainVersionEnum];
|
|
106
|
+
|
|
107
|
+
|