@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,109 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BankTransactionEntity } from './bank-transaction-entity';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InvoiceMatchSuggestionEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface InvoiceMatchSuggestionEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
40
|
+
*/
|
|
41
|
+
'bankTransactionId': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
46
|
+
*/
|
|
47
|
+
'invoiceCode': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
52
|
+
*/
|
|
53
|
+
'invoiceNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
58
|
+
*/
|
|
59
|
+
'confidenceScore': number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {object}
|
|
63
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
64
|
+
*/
|
|
65
|
+
'matchCriteria'?: object;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
70
|
+
*/
|
|
71
|
+
'strategy': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
76
|
+
*/
|
|
77
|
+
'owner': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
82
|
+
*/
|
|
83
|
+
'tenantHierarchy': string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {BankTransactionEntity}
|
|
87
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
88
|
+
*/
|
|
89
|
+
'bankTransaction': BankTransactionEntity;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
94
|
+
*/
|
|
95
|
+
'createdAt': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
100
|
+
*/
|
|
101
|
+
'updatedAt': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof InvoiceMatchSuggestionEntity
|
|
106
|
+
*/
|
|
107
|
+
'deletedAt': string;
|
|
108
|
+
}
|
|
109
|
+
|
|
@@ -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,139 @@
|
|
|
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 { TransactionEntity } from './transaction-entity';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PaymentEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface PaymentEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PaymentEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PaymentEntity
|
|
34
|
+
*/
|
|
35
|
+
'owner': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PaymentEntity
|
|
40
|
+
*/
|
|
41
|
+
'psp': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentEntity
|
|
46
|
+
*/
|
|
47
|
+
'code': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentEntity
|
|
52
|
+
*/
|
|
53
|
+
'accountCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PaymentEntity
|
|
58
|
+
*/
|
|
59
|
+
'partnerCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentEntity
|
|
64
|
+
*/
|
|
65
|
+
'productSlug': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof PaymentEntity
|
|
70
|
+
*/
|
|
71
|
+
'amount': number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentEntity
|
|
76
|
+
*/
|
|
77
|
+
'currency': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<number>}
|
|
81
|
+
* @memberof PaymentEntity
|
|
82
|
+
*/
|
|
83
|
+
'invoiceIds': Array<number>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<TransactionEntity>}
|
|
87
|
+
* @memberof PaymentEntity
|
|
88
|
+
*/
|
|
89
|
+
'transactions': Array<TransactionEntity>;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {object}
|
|
93
|
+
* @memberof PaymentEntity
|
|
94
|
+
*/
|
|
95
|
+
'metadata': object;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PaymentEntity
|
|
100
|
+
*/
|
|
101
|
+
'tenantHierarchy': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PaymentEntity
|
|
106
|
+
*/
|
|
107
|
+
'receivedDate': string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PaymentEntity
|
|
112
|
+
*/
|
|
113
|
+
'referenceNumber'?: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PaymentEntity
|
|
118
|
+
*/
|
|
119
|
+
'comment'?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof PaymentEntity
|
|
124
|
+
*/
|
|
125
|
+
'createdAt': string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof PaymentEntity
|
|
130
|
+
*/
|
|
131
|
+
'deletedAt'?: string;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof PaymentEntity
|
|
136
|
+
*/
|
|
137
|
+
'ern': string;
|
|
138
|
+
}
|
|
139
|
+
|
|
@@ -13,108 +13,109 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BillingAddressClass } from './billing-address-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
20
|
-
* @interface
|
|
21
|
+
* @interface PayoutMethodClass
|
|
21
22
|
*/
|
|
22
|
-
export interface
|
|
23
|
+
export interface PayoutMethodClass {
|
|
23
24
|
/**
|
|
24
25
|
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
26
|
* @type {number}
|
|
26
|
-
* @memberof
|
|
27
|
+
* @memberof PayoutMethodClass
|
|
27
28
|
*/
|
|
28
29
|
'id': number;
|
|
29
30
|
/**
|
|
30
31
|
* Unique identifier for the object.
|
|
31
32
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
33
|
+
* @memberof PayoutMethodClass
|
|
33
34
|
*/
|
|
34
35
|
'code': string;
|
|
35
36
|
/**
|
|
36
|
-
*
|
|
37
|
+
* First name
|
|
37
38
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
39
|
+
* @memberof PayoutMethodClass
|
|
39
40
|
*/
|
|
40
|
-
'
|
|
41
|
+
'firstName': string;
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* Last name
|
|
43
44
|
* @type {string}
|
|
44
|
-
* @memberof
|
|
45
|
+
* @memberof PayoutMethodClass
|
|
45
46
|
*/
|
|
46
|
-
'
|
|
47
|
+
'lastName': string;
|
|
47
48
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {
|
|
50
|
-
* @memberof
|
|
49
|
+
* IBAN
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PayoutMethodClass
|
|
51
52
|
*/
|
|
52
|
-
'
|
|
53
|
+
'iban': string;
|
|
53
54
|
/**
|
|
54
|
-
*
|
|
55
|
+
* BIC
|
|
55
56
|
* @type {string}
|
|
56
|
-
* @memberof
|
|
57
|
+
* @memberof PayoutMethodClass
|
|
57
58
|
*/
|
|
58
|
-
'
|
|
59
|
+
'bic': string;
|
|
59
60
|
/**
|
|
60
|
-
*
|
|
61
|
+
* Bank name
|
|
61
62
|
* @type {string}
|
|
62
|
-
* @memberof
|
|
63
|
+
* @memberof PayoutMethodClass
|
|
63
64
|
*/
|
|
64
|
-
'
|
|
65
|
+
'bankName': string;
|
|
65
66
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {
|
|
68
|
-
* @memberof
|
|
67
|
+
* Whether the payout method is active
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PayoutMethodClass
|
|
69
70
|
*/
|
|
70
|
-
'
|
|
71
|
+
'isActive': boolean;
|
|
71
72
|
/**
|
|
72
|
-
*
|
|
73
|
+
* Billing address code
|
|
73
74
|
* @type {string}
|
|
74
|
-
* @memberof
|
|
75
|
+
* @memberof PayoutMethodClass
|
|
75
76
|
*/
|
|
76
|
-
'
|
|
77
|
+
'billingAddressCode': string;
|
|
77
78
|
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {
|
|
80
|
-
* @memberof
|
|
79
|
+
* Unique identifier of the account that this object belongs to.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PayoutMethodClass
|
|
81
82
|
*/
|
|
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;
|
|
83
96
|
/**
|
|
84
97
|
* Time at which the object was created.
|
|
85
98
|
* @type {string}
|
|
86
|
-
* @memberof
|
|
99
|
+
* @memberof PayoutMethodClass
|
|
87
100
|
*/
|
|
88
101
|
'createdAt': string;
|
|
89
102
|
/**
|
|
90
103
|
* Time at which the object was updated.
|
|
91
104
|
* @type {string}
|
|
92
|
-
* @memberof
|
|
105
|
+
* @memberof PayoutMethodClass
|
|
93
106
|
*/
|
|
94
107
|
'updatedAt': string;
|
|
95
108
|
/**
|
|
96
109
|
* Identifier of the user who created the record.
|
|
97
110
|
* @type {string}
|
|
98
|
-
* @memberof
|
|
111
|
+
* @memberof PayoutMethodClass
|
|
99
112
|
*/
|
|
100
113
|
'createdBy': string;
|
|
101
114
|
/**
|
|
102
115
|
* Identifier of the user who last updated the record.
|
|
103
116
|
* @type {string}
|
|
104
|
-
* @memberof
|
|
117
|
+
* @memberof PayoutMethodClass
|
|
105
118
|
*/
|
|
106
119
|
'updatedBy': string;
|
|
107
120
|
}
|
|
108
121
|
|
|
109
|
-
export const FinancialAccountClassTypeEnum = {
|
|
110
|
-
Asset: 'asset',
|
|
111
|
-
Liability: 'liability',
|
|
112
|
-
Equity: 'equity',
|
|
113
|
-
Revenue: 'revenue',
|
|
114
|
-
Expense: 'expense',
|
|
115
|
-
OpeningBalance: 'opening_balance'
|
|
116
|
-
} as const;
|
|
117
|
-
|
|
118
|
-
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
119
|
-
|
|
120
|
-
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BankTransactionEntity } from './bank-transaction-entity';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface SuggestionGenerationProgressEntity
|
|
22
|
+
*/
|
|
23
|
+
export interface SuggestionGenerationProgressEntity {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
34
|
+
*/
|
|
35
|
+
'bankTransactionId': number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
40
|
+
*/
|
|
41
|
+
'status': SuggestionGenerationProgressEntityStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
46
|
+
*/
|
|
47
|
+
'errorMessage'?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
52
|
+
*/
|
|
53
|
+
'owner': string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
58
|
+
*/
|
|
59
|
+
'tenantHierarchy': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {BankTransactionEntity}
|
|
63
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
64
|
+
*/
|
|
65
|
+
'bankTransaction': BankTransactionEntity;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SuggestionGenerationProgressEntity
|
|
82
|
+
*/
|
|
83
|
+
'deletedAt': string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export const SuggestionGenerationProgressEntityStatusEnum = {
|
|
87
|
+
Pending: 'pending',
|
|
88
|
+
Processing: 'processing',
|
|
89
|
+
Completed: 'completed',
|
|
90
|
+
Failed: 'failed'
|
|
91
|
+
} as const;
|
|
92
|
+
|
|
93
|
+
export type SuggestionGenerationProgressEntityStatusEnum = typeof SuggestionGenerationProgressEntityStatusEnum[keyof typeof SuggestionGenerationProgressEntityStatusEnum];
|
|
94
|
+
|
|
95
|
+
|