@emilgroup/payment-sdk 1.13.1-beta.2 → 1.13.1-beta.21
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 +12 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +79 -37
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +187 -56
- package/api/payment-methods-api.ts +67 -25
- package/api/payment-reminders-api.ts +85 -43
- package/api/payment-setup-api.ts +8 -8
- package/api/payments-api.ts +67 -25
- package/api/refunds-api.ts +57 -29
- package/api/tenant-bank-account-api.ts +45 -17
- package/api/webhooks-api.ts +4 -4
- package/api.ts +2 -0
- package/base.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +59 -32
- package/dist/api/bank-accounts-api.js +53 -35
- package/dist/api/bank-orders-api.d.ts +393 -0
- package/dist/api/bank-orders-api.js +642 -0
- package/dist/api/bank-transaction-api.d.ts +123 -49
- package/dist/api/bank-transaction-api.js +151 -47
- package/dist/api/payment-methods-api.d.ts +47 -20
- package/dist/api/payment-methods-api.js +41 -23
- package/dist/api/payment-reminders-api.d.ts +61 -34
- package/dist/api/payment-reminders-api.js +54 -36
- package/dist/api/payment-setup-api.d.ts +8 -8
- package/dist/api/payment-setup-api.js +8 -8
- package/dist/api/payments-api.d.ts +47 -20
- package/dist/api/payments-api.js +41 -23
- package/dist/api/refunds-api.d.ts +40 -22
- package/dist/api/refunds-api.js +36 -24
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api/webhooks-api.d.ts +4 -4
- package/dist/api/webhooks-api.js +4 -4
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-order-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +8 -2
- package/dist/models/bank-transaction-class.d.ts +22 -2
- package/dist/models/create-bank-order-request-dto.d.ts +74 -0
- package/dist/models/create-bank-order-request-dto.js +28 -0
- package/dist/models/create-bank-order-response-class.d.ts +25 -0
- package/dist/models/create-bank-order-response-class.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-psp-payment-method-request-dto.d.ts +7 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
- package/dist/models/get-bank-order-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-response-class.js +15 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
- package/dist/models/invoice-match-suggestion-class.js +15 -0
- package/dist/models/list-bank-orders-response-class.d.ts +31 -0
- package/dist/models/list-bank-orders-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
- package/dist/models/suggestion-generation-progress-class.js +22 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +8 -2
- package/dist/models/update-bank-order-request-dto.d.ts +56 -0
- package/dist/models/update-bank-order-request-dto.js +23 -0
- package/dist/models/update-bank-order-response-class.d.ts +25 -0
- package/dist/models/update-bank-order-response-class.js +15 -0
- package/models/bank-order-class.ts +121 -0
- package/models/bank-transaction-class-without-expand-properties.ts +8 -2
- package/models/bank-transaction-class.ts +22 -2
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-psp-payment-method-request-dto.ts +7 -1
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/financial-account-class.ts +120 -0
- package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/index.ts +11 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/invoice-match-suggestion-class.ts +66 -0
- package/models/list-bank-orders-response-class.ts +37 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-reminder-class.ts +7 -1
- package/models/refund-class.ts +7 -1
- package/models/suggestion-generation-progress-class.ts +52 -0
- package/models/unlinked-bank-transaction-response-class.ts +8 -2
- package/models/update-bank-order-request-dto.ts +65 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateBankOrderRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateBankOrderRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Bank order status
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateBankOrderRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'status': UpdateBankOrderRequestDtoStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Bank order description.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateBankOrderRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'description'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* List of invoice IDs associated with bank order.
|
|
32
|
+
* @type {Array<number>}
|
|
33
|
+
* @memberof UpdateBankOrderRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'invoiceIds': Array<number>;
|
|
36
|
+
/**
|
|
37
|
+
* Day of execution of bank order.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateBankOrderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'executionDate': string;
|
|
42
|
+
/**
|
|
43
|
+
* Latest due date.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateBankOrderRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'dueDate': string;
|
|
48
|
+
}
|
|
49
|
+
export declare const UpdateBankOrderRequestDtoStatusEnum: {
|
|
50
|
+
readonly Open: "open";
|
|
51
|
+
readonly Draft: "draft";
|
|
52
|
+
readonly Closed: "closed";
|
|
53
|
+
readonly Accepted: "accepted";
|
|
54
|
+
readonly Processing: "processing";
|
|
55
|
+
};
|
|
56
|
+
export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateBankOrderRequestDtoStatusEnum = void 0;
|
|
17
|
+
exports.UpdateBankOrderRequestDtoStatusEnum = {
|
|
18
|
+
Open: 'open',
|
|
19
|
+
Draft: 'draft',
|
|
20
|
+
Closed: 'closed',
|
|
21
|
+
Accepted: 'accepted',
|
|
22
|
+
Processing: 'processing'
|
|
23
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { BankOrderClass } from './bank-order-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateBankOrderResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateBankOrderResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Bank order
|
|
21
|
+
* @type {BankOrderClass}
|
|
22
|
+
* @memberof UpdateBankOrderResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'bankOrder': BankOrderClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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 { FinancialAccountClass } from './financial-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface BankOrderClass
|
|
22
|
+
*/
|
|
23
|
+
export interface BankOrderClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BankOrderClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BankOrderClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* Bank order type.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BankOrderClass
|
|
40
|
+
*/
|
|
41
|
+
'type': string;
|
|
42
|
+
/**
|
|
43
|
+
* Amount associated with bank order.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof BankOrderClass
|
|
46
|
+
*/
|
|
47
|
+
'amount': number;
|
|
48
|
+
/**
|
|
49
|
+
* Status associated with bank order.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BankOrderClass
|
|
52
|
+
*/
|
|
53
|
+
'status': string;
|
|
54
|
+
/**
|
|
55
|
+
* Number associated with bank order.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BankOrderClass
|
|
58
|
+
*/
|
|
59
|
+
'orderNumber': string;
|
|
60
|
+
/**
|
|
61
|
+
* Bank order description.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BankOrderClass
|
|
64
|
+
*/
|
|
65
|
+
'description'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Financial account code associated with the bank order.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof BankOrderClass
|
|
70
|
+
*/
|
|
71
|
+
'financialAccountCode': string;
|
|
72
|
+
/**
|
|
73
|
+
* List of invoice IDs associated with bank order.
|
|
74
|
+
* @type {Array<number>}
|
|
75
|
+
* @memberof BankOrderClass
|
|
76
|
+
*/
|
|
77
|
+
'invoiceIds': Array<number>;
|
|
78
|
+
/**
|
|
79
|
+
* Day of execution of bank order.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof BankOrderClass
|
|
82
|
+
*/
|
|
83
|
+
'executionDate': string;
|
|
84
|
+
/**
|
|
85
|
+
* Latest due date.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BankOrderClass
|
|
88
|
+
*/
|
|
89
|
+
'dueDate': string;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was created.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BankOrderClass
|
|
94
|
+
*/
|
|
95
|
+
'createdAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* Time at which the object was updated.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BankOrderClass
|
|
100
|
+
*/
|
|
101
|
+
'updatedAt': string;
|
|
102
|
+
/**
|
|
103
|
+
* Identifier of the user who created the record.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BankOrderClass
|
|
106
|
+
*/
|
|
107
|
+
'createdBy': string;
|
|
108
|
+
/**
|
|
109
|
+
* Identifier of the user who last updated the record.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof BankOrderClass
|
|
112
|
+
*/
|
|
113
|
+
'updatedBy': string;
|
|
114
|
+
/**
|
|
115
|
+
* The financial account object that this bank order is belongs to
|
|
116
|
+
* @type {FinancialAccountClass}
|
|
117
|
+
* @memberof BankOrderClass
|
|
118
|
+
*/
|
|
119
|
+
'financialAccount'?: FinancialAccountClass;
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -45,11 +45,11 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
45
45
|
*/
|
|
46
46
|
'bankAccountNumber': string;
|
|
47
47
|
/**
|
|
48
|
-
* Reference number derived from the MT940
|
|
48
|
+
* Reference number derived from the MT940 or CAMT file
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'messageReference'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Currency of the transaction.
|
|
55
55
|
* @type {string}
|
|
@@ -110,6 +110,12 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
110
110
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
111
111
|
*/
|
|
112
112
|
'isLinked': boolean;
|
|
113
|
+
/**
|
|
114
|
+
* The file format of the bank transaction
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
117
|
+
*/
|
|
118
|
+
'importedFrom': string;
|
|
113
119
|
/**
|
|
114
120
|
* Time at which the object was created.
|
|
115
121
|
* @type {string}
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
16
17
|
import { SharedTransactionClass } from './shared-transaction-class';
|
|
18
|
+
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
17
19
|
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
18
20
|
|
|
19
21
|
/**
|
|
@@ -47,11 +49,11 @@ export interface BankTransactionClass {
|
|
|
47
49
|
*/
|
|
48
50
|
'bankAccountNumber': string;
|
|
49
51
|
/**
|
|
50
|
-
* Reference number derived from the MT940
|
|
52
|
+
* Reference number derived from the MT940 or CAMT file
|
|
51
53
|
* @type {string}
|
|
52
54
|
* @memberof BankTransactionClass
|
|
53
55
|
*/
|
|
54
|
-
'
|
|
56
|
+
'messageReference'?: string;
|
|
55
57
|
/**
|
|
56
58
|
* Currency of the transaction.
|
|
57
59
|
* @type {string}
|
|
@@ -124,6 +126,12 @@ export interface BankTransactionClass {
|
|
|
124
126
|
* @memberof BankTransactionClass
|
|
125
127
|
*/
|
|
126
128
|
'linkedTransaction'?: SharedTransactionClass;
|
|
129
|
+
/**
|
|
130
|
+
* The file format of the bank transaction
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof BankTransactionClass
|
|
133
|
+
*/
|
|
134
|
+
'importedFrom': string;
|
|
127
135
|
/**
|
|
128
136
|
* Time at which the object was created.
|
|
129
137
|
* @type {string}
|
|
@@ -142,5 +150,17 @@ export interface BankTransactionClass {
|
|
|
142
150
|
* @memberof BankTransactionClass
|
|
143
151
|
*/
|
|
144
152
|
'updatedBy': string;
|
|
153
|
+
/**
|
|
154
|
+
* The match suggestions for invoices
|
|
155
|
+
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
156
|
+
* @memberof BankTransactionClass
|
|
157
|
+
*/
|
|
158
|
+
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
159
|
+
/**
|
|
160
|
+
* The progress of the suggestion generation
|
|
161
|
+
* @type {SuggestionGenerationProgressClass}
|
|
162
|
+
* @memberof BankTransactionClass
|
|
163
|
+
*/
|
|
164
|
+
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
145
165
|
}
|
|
146
166
|
|
|
@@ -0,0 +1,84 @@
|
|
|
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 CreateBankOrderRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBankOrderRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Bank order type.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateBankOrderRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'type': CreateBankOrderRequestDtoTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Status associated with bank order.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateBankOrderRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'status': CreateBankOrderRequestDtoStatusEnum;
|
|
35
|
+
/**
|
|
36
|
+
* Bank order description.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateBankOrderRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Financial account code associated with the bank order.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateBankOrderRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'financialAccountCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* List of invoice IDs associated with bank order.
|
|
49
|
+
* @type {Array<number>}
|
|
50
|
+
* @memberof CreateBankOrderRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'invoiceIds': Array<number>;
|
|
53
|
+
/**
|
|
54
|
+
* Day of execution of bank order.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateBankOrderRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'executionDate': string;
|
|
59
|
+
/**
|
|
60
|
+
* Latest due date.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateBankOrderRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'dueDate': string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const CreateBankOrderRequestDtoTypeEnum = {
|
|
68
|
+
DirectDebit: 'direct_debit',
|
|
69
|
+
PremiumPayment: 'premium_payment',
|
|
70
|
+
ClaimPayment: 'claim_payment'
|
|
71
|
+
} as const;
|
|
72
|
+
|
|
73
|
+
export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
|
|
74
|
+
export const CreateBankOrderRequestDtoStatusEnum = {
|
|
75
|
+
Open: 'open',
|
|
76
|
+
Draft: 'draft',
|
|
77
|
+
Closed: 'closed',
|
|
78
|
+
Accepted: 'accepted',
|
|
79
|
+
Processing: 'processing'
|
|
80
|
+
} as const;
|
|
81
|
+
|
|
82
|
+
export type CreateBankOrderRequestDtoStatusEnum = typeof CreateBankOrderRequestDtoStatusEnum[keyof typeof CreateBankOrderRequestDtoStatusEnum];
|
|
83
|
+
|
|
84
|
+
|
|
@@ -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 { BankOrderClass } from './bank-order-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateBankOrderResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateBankOrderResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Bank order
|
|
26
|
+
* @type {BankOrderClass}
|
|
27
|
+
* @memberof CreateBankOrderResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bankOrder': BankOrderClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -37,7 +37,13 @@ export interface CreatePaymentReminderRequestDto {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreatePaymentReminderRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'accountCode'
|
|
40
|
+
'accountCode'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Code referencing the partner for which this reminder is created.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'partnerCode'?: string;
|
|
41
47
|
/**
|
|
42
48
|
* The type of invoice is used to determine the proper workflow.
|
|
43
49
|
* @type {string}
|
|
@@ -25,7 +25,13 @@ export interface CreatePaymentRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreatePaymentRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'accountCode'
|
|
28
|
+
'accountCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Partner code associated to that payment.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partnerCode'?: string;
|
|
29
35
|
/**
|
|
30
36
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
31
37
|
* @type {number}
|
|
@@ -33,7 +33,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
35
35
|
*/
|
|
36
|
-
'accountCode'
|
|
36
|
+
'accountCode'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'partnerCode'?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {SepaDirectDto}
|
|
@@ -43,7 +43,13 @@ export interface DeactivatedPaymentReminderClass {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof DeactivatedPaymentReminderClass
|
|
45
45
|
*/
|
|
46
|
-
'accountCode'
|
|
46
|
+
'accountCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of related partner.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DeactivatedPaymentReminderClass
|
|
51
|
+
*/
|
|
52
|
+
'partnerCode'?: string;
|
|
47
53
|
/**
|
|
48
54
|
* Type of the invoice
|
|
49
55
|
* @type {string}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 FinancialAccountClass
|
|
21
|
+
*/
|
|
22
|
+
export interface FinancialAccountClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof FinancialAccountClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FinancialAccountClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the account.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FinancialAccountClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* The financial account number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FinancialAccountClass
|
|
45
|
+
*/
|
|
46
|
+
'financialAccountNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the parent account, if any.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof FinancialAccountClass
|
|
51
|
+
*/
|
|
52
|
+
'parentId': number;
|
|
53
|
+
/**
|
|
54
|
+
* The partner number of the account.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof FinancialAccountClass
|
|
57
|
+
*/
|
|
58
|
+
'partnerNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof FinancialAccountClass
|
|
63
|
+
*/
|
|
64
|
+
'type': FinancialAccountClassTypeEnum;
|
|
65
|
+
/**
|
|
66
|
+
* Metadata about the object.
|
|
67
|
+
* @type {object}
|
|
68
|
+
* @memberof FinancialAccountClass
|
|
69
|
+
*/
|
|
70
|
+
'customFields': object;
|
|
71
|
+
/**
|
|
72
|
+
* The description of the account.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof FinancialAccountClass
|
|
75
|
+
*/
|
|
76
|
+
'description': string;
|
|
77
|
+
/**
|
|
78
|
+
* Whether the account is clearable.
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof FinancialAccountClass
|
|
81
|
+
*/
|
|
82
|
+
'clearable': boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was created.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof FinancialAccountClass
|
|
87
|
+
*/
|
|
88
|
+
'createdAt': string;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was updated.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof FinancialAccountClass
|
|
93
|
+
*/
|
|
94
|
+
'updatedAt': string;
|
|
95
|
+
/**
|
|
96
|
+
* Identifier of the user who created the record.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof FinancialAccountClass
|
|
99
|
+
*/
|
|
100
|
+
'createdBy': string;
|
|
101
|
+
/**
|
|
102
|
+
* Identifier of the user who last updated the record.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof FinancialAccountClass
|
|
105
|
+
*/
|
|
106
|
+
'updatedBy': string;
|
|
107
|
+
}
|
|
108
|
+
|
|
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,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 { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GenerateInvoiceMatchSuggestionsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GenerateInvoiceMatchSuggestionsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of invoice match suggestions
|
|
26
|
+
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
27
|
+
* @memberof GenerateInvoiceMatchSuggestionsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
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 { BankOrderClass } from './bank-order-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetBankOrderResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBankOrderResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Bank order
|
|
26
|
+
* @type {BankOrderClass}
|
|
27
|
+
* @memberof GetBankOrderResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bankOrder': BankOrderClass;
|
|
30
|
+
}
|
|
31
|
+
|