@emilgroup/payment-sdk 1.13.1-beta.8 → 1.13.1-beta.81
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 +20 -1
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +177 -63
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +188 -21
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +2 -0
- package/base.ts +52 -3
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- 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 +110 -46
- package/dist/api/bank-transaction-api.js +141 -44
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +112 -16
- package/dist/api/payments-api.js +141 -18
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +30 -11
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +47 -14
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/bank-transaction-invoice-class.d.ts +54 -0
- package/dist/models/bank-transaction-invoice-class.js +15 -0
- package/dist/models/bank-transfer-dto.d.ts +25 -0
- package/dist/models/bank-transfer-dto.js +15 -0
- package/dist/models/billing-address-dto.d.ts +48 -0
- package/dist/models/billing-address-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
- 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-order-dto.d.ts +48 -0
- package/dist/models/create-payment-order-dto.js +15 -0
- package/dist/models/create-payment-order-request-dto.d.ts +48 -0
- package/dist/models/create-payment-order-request-dto.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 +22 -1
- package/dist/models/create-psp-payment-method-request-dto.js +3 -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 +19 -1
- package/dist/models/index.js +19 -1
- 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-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
- package/dist/models/invoice-allocation-dto.js +15 -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/link-bank-transaction-request-dto-rest.d.ts +4 -3
- 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-method-class.d.ts +6 -0
- 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 +33 -2
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +62 -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 +33 -11
- package/models/bank-transaction-class.ts +50 -14
- package/models/bank-transaction-invoice-class.ts +60 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +54 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/create-payment-order-dto.ts +54 -0
- package/models/create-payment-order-request-dto.ts +54 -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 +23 -2
- 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 +19 -1
- 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-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
- package/models/invoice-match-suggestion-class.ts +66 -0
- package/models/link-bank-transaction-request-dto-rest.ts +4 -3
- 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-method-class.ts +6 -0
- 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 +36 -2
- package/models/update-bank-order-request-dto.ts +71 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BankOrderClass } from './bank-order-class';
|
|
13
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -40,11 +42,17 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
40
42
|
*/
|
|
41
43
|
'bankAccountNumber': string;
|
|
42
44
|
/**
|
|
43
|
-
* Reference number derived from the MT940
|
|
45
|
+
* Reference number derived from the MT940 or CAMT file
|
|
44
46
|
* @type {string}
|
|
45
47
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
46
48
|
*/
|
|
47
|
-
'
|
|
49
|
+
'messageReference'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Label of the transaction
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
54
|
+
*/
|
|
55
|
+
'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
|
|
48
56
|
/**
|
|
49
57
|
* Currency of the transaction.
|
|
50
58
|
* @type {string}
|
|
@@ -87,6 +95,24 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
87
95
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
88
96
|
*/
|
|
89
97
|
'isLinked': boolean;
|
|
98
|
+
/**
|
|
99
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
100
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
101
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
102
|
+
*/
|
|
103
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
104
|
+
/**
|
|
105
|
+
* The linked bank order object
|
|
106
|
+
* @type {BankOrderClass}
|
|
107
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
108
|
+
*/
|
|
109
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
110
|
+
/**
|
|
111
|
+
* The file format of the bank transaction
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
114
|
+
*/
|
|
115
|
+
'importedFrom': string;
|
|
90
116
|
/**
|
|
91
117
|
* Time at which the object was created.
|
|
92
118
|
* @type {string}
|
|
@@ -106,3 +132,8 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
106
132
|
*/
|
|
107
133
|
'updatedBy': string;
|
|
108
134
|
}
|
|
135
|
+
export declare const UnlinkedBankTransactionResponseClassLabelEnum: {
|
|
136
|
+
readonly Automated: "automated";
|
|
137
|
+
readonly Manual: "manual";
|
|
138
|
+
};
|
|
139
|
+
export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UnlinkedBankTransactionResponseClassLabelEnum = void 0;
|
|
17
|
+
exports.UnlinkedBankTransactionResponseClassLabelEnum = {
|
|
18
|
+
Automated: 'automated',
|
|
19
|
+
Manual: 'manual'
|
|
20
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
* Financial account code associated with the bank order.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateBankOrderRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'financialAccountCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* List of invoice IDs associated with bank order.
|
|
38
|
+
* @type {Array<number>}
|
|
39
|
+
* @memberof UpdateBankOrderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'invoiceIds': Array<number>;
|
|
42
|
+
/**
|
|
43
|
+
* Day of execution of bank order.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateBankOrderRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'executionDate': string;
|
|
48
|
+
/**
|
|
49
|
+
* Latest due date.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateBankOrderRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'dueDate': string;
|
|
54
|
+
}
|
|
55
|
+
export declare const UpdateBankOrderRequestDtoStatusEnum: {
|
|
56
|
+
readonly Open: "open";
|
|
57
|
+
readonly Draft: "draft";
|
|
58
|
+
readonly Closed: "closed";
|
|
59
|
+
readonly Accepted: "accepted";
|
|
60
|
+
readonly Processing: "processing";
|
|
61
|
+
};
|
|
62
|
+
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
|
+
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BankOrderClass } from './bank-order-class';
|
|
17
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
*
|
|
@@ -45,11 +47,17 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
45
47
|
*/
|
|
46
48
|
'bankAccountNumber': string;
|
|
47
49
|
/**
|
|
48
|
-
* Reference number derived from the MT940
|
|
50
|
+
* Reference number derived from the MT940 or CAMT file
|
|
49
51
|
* @type {string}
|
|
50
52
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
51
53
|
*/
|
|
52
|
-
'
|
|
54
|
+
'messageReference'?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Label of the transaction
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
59
|
+
*/
|
|
60
|
+
'label'?: BankTransactionClassWithoutExpandPropertiesLabelEnum;
|
|
53
61
|
/**
|
|
54
62
|
* Currency of the transaction.
|
|
55
63
|
* @type {string}
|
|
@@ -93,23 +101,29 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
93
101
|
*/
|
|
94
102
|
'linkedTransactionId'?: number;
|
|
95
103
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {
|
|
104
|
+
* Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
|
|
105
|
+
* @type {boolean}
|
|
98
106
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
99
107
|
*/
|
|
100
|
-
'
|
|
108
|
+
'isLinked': boolean;
|
|
101
109
|
/**
|
|
102
|
-
* The
|
|
103
|
-
* @type {
|
|
110
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
111
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
104
112
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
105
113
|
*/
|
|
106
|
-
'
|
|
114
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
107
115
|
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {
|
|
116
|
+
* The linked bank order object
|
|
117
|
+
* @type {BankOrderClass}
|
|
110
118
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
111
119
|
*/
|
|
112
|
-
'
|
|
120
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
121
|
+
/**
|
|
122
|
+
* The file format of the bank transaction
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
125
|
+
*/
|
|
126
|
+
'importedFrom': string;
|
|
113
127
|
/**
|
|
114
128
|
* Time at which the object was created.
|
|
115
129
|
* @type {string}
|
|
@@ -130,3 +144,11 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
130
144
|
'updatedBy': string;
|
|
131
145
|
}
|
|
132
146
|
|
|
147
|
+
export const BankTransactionClassWithoutExpandPropertiesLabelEnum = {
|
|
148
|
+
Automated: 'automated',
|
|
149
|
+
Manual: 'manual'
|
|
150
|
+
} as const;
|
|
151
|
+
|
|
152
|
+
export type BankTransactionClassWithoutExpandPropertiesLabelEnum = typeof BankTransactionClassWithoutExpandPropertiesLabelEnum[keyof typeof BankTransactionClassWithoutExpandPropertiesLabelEnum];
|
|
153
|
+
|
|
154
|
+
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BankOrderClass } from './bank-order-class';
|
|
17
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
18
|
+
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
16
19
|
import { SharedTransactionClass } from './shared-transaction-class';
|
|
20
|
+
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
17
21
|
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
18
22
|
|
|
19
23
|
/**
|
|
@@ -47,11 +51,17 @@ export interface BankTransactionClass {
|
|
|
47
51
|
*/
|
|
48
52
|
'bankAccountNumber': string;
|
|
49
53
|
/**
|
|
50
|
-
* Reference number derived from the MT940
|
|
54
|
+
* Reference number derived from the MT940 or CAMT file
|
|
51
55
|
* @type {string}
|
|
52
56
|
* @memberof BankTransactionClass
|
|
53
57
|
*/
|
|
54
|
-
'
|
|
58
|
+
'messageReference'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Label of the transaction
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof BankTransactionClass
|
|
63
|
+
*/
|
|
64
|
+
'label'?: BankTransactionClassLabelEnum;
|
|
55
65
|
/**
|
|
56
66
|
* Currency of the transaction.
|
|
57
67
|
* @type {string}
|
|
@@ -94,24 +104,18 @@ export interface BankTransactionClass {
|
|
|
94
104
|
* @memberof BankTransactionClass
|
|
95
105
|
*/
|
|
96
106
|
'linkedTransactionId'?: number;
|
|
97
|
-
/**
|
|
98
|
-
* The code of the invoice that this bank transaction is linked to
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof BankTransactionClass
|
|
101
|
-
*/
|
|
102
|
-
'linkedInvoiceCode'?: string;
|
|
103
|
-
/**
|
|
104
|
-
* The identifying invoice number that this bank transaction is linked to
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof BankTransactionClass
|
|
107
|
-
*/
|
|
108
|
-
'linkedInvoiceNumber'?: string;
|
|
109
107
|
/**
|
|
110
108
|
* Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
|
|
111
109
|
* @type {boolean}
|
|
112
110
|
* @memberof BankTransactionClass
|
|
113
111
|
*/
|
|
114
112
|
'isLinked': boolean;
|
|
113
|
+
/**
|
|
114
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
115
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
116
|
+
* @memberof BankTransactionClass
|
|
117
|
+
*/
|
|
118
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
115
119
|
/**
|
|
116
120
|
* The bank account object that this transaction is belongs to
|
|
117
121
|
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
@@ -124,6 +128,18 @@ export interface BankTransactionClass {
|
|
|
124
128
|
* @memberof BankTransactionClass
|
|
125
129
|
*/
|
|
126
130
|
'linkedTransaction'?: SharedTransactionClass;
|
|
131
|
+
/**
|
|
132
|
+
* The linked bank order object
|
|
133
|
+
* @type {BankOrderClass}
|
|
134
|
+
* @memberof BankTransactionClass
|
|
135
|
+
*/
|
|
136
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
137
|
+
/**
|
|
138
|
+
* The file format of the bank transaction
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof BankTransactionClass
|
|
141
|
+
*/
|
|
142
|
+
'importedFrom': string;
|
|
127
143
|
/**
|
|
128
144
|
* Time at which the object was created.
|
|
129
145
|
* @type {string}
|
|
@@ -142,5 +158,25 @@ export interface BankTransactionClass {
|
|
|
142
158
|
* @memberof BankTransactionClass
|
|
143
159
|
*/
|
|
144
160
|
'updatedBy': string;
|
|
161
|
+
/**
|
|
162
|
+
* The match suggestions for invoices
|
|
163
|
+
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
164
|
+
* @memberof BankTransactionClass
|
|
165
|
+
*/
|
|
166
|
+
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
167
|
+
/**
|
|
168
|
+
* The progress of the suggestion generation
|
|
169
|
+
* @type {SuggestionGenerationProgressClass}
|
|
170
|
+
* @memberof BankTransactionClass
|
|
171
|
+
*/
|
|
172
|
+
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
145
173
|
}
|
|
146
174
|
|
|
175
|
+
export const BankTransactionClassLabelEnum = {
|
|
176
|
+
Automated: 'automated',
|
|
177
|
+
Manual: 'manual'
|
|
178
|
+
} as const;
|
|
179
|
+
|
|
180
|
+
export type BankTransactionClassLabelEnum = typeof BankTransactionClassLabelEnum[keyof typeof BankTransactionClassLabelEnum];
|
|
181
|
+
|
|
182
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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 BankTransactionInvoiceClass
|
|
21
|
+
*/
|
|
22
|
+
export interface BankTransactionInvoiceClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof BankTransactionInvoiceClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BankTransactionInvoiceClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Bank transaction id
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof BankTransactionInvoiceClass
|
|
39
|
+
*/
|
|
40
|
+
'bankTransactionId': number;
|
|
41
|
+
/**
|
|
42
|
+
* Invoice code of the bank transaction invoice
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BankTransactionInvoiceClass
|
|
45
|
+
*/
|
|
46
|
+
'invoiceCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Invoice number of the bank transaction invoice
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BankTransactionInvoiceClass
|
|
51
|
+
*/
|
|
52
|
+
'invoiceNumber': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was created.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BankTransactionInvoiceClass
|
|
57
|
+
*/
|
|
58
|
+
'createdAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -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 { BillingAddressDto } from './billing-address-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface BankTransferDto
|
|
22
|
+
*/
|
|
23
|
+
export interface BankTransferDto {
|
|
24
|
+
/**
|
|
25
|
+
* Billing address for the bank transfer payment method
|
|
26
|
+
* @type {BillingAddressDto}
|
|
27
|
+
* @memberof BankTransferDto
|
|
28
|
+
*/
|
|
29
|
+
'billingAddress': BillingAddressDto;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 BillingAddressDto
|
|
21
|
+
*/
|
|
22
|
+
export interface BillingAddressDto {
|
|
23
|
+
/**
|
|
24
|
+
* Full name for billing address
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BillingAddressDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* Street name for billing address
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BillingAddressDto
|
|
33
|
+
*/
|
|
34
|
+
'street': string;
|
|
35
|
+
/**
|
|
36
|
+
* House number for billing address
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BillingAddressDto
|
|
39
|
+
*/
|
|
40
|
+
'houseNumber': string;
|
|
41
|
+
/**
|
|
42
|
+
* ZIP/Postal code for billing address
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BillingAddressDto
|
|
45
|
+
*/
|
|
46
|
+
'zipCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* City name for billing address
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BillingAddressDto
|
|
51
|
+
*/
|
|
52
|
+
'city': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -98,7 +98,9 @@ export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
|
|
98
98
|
SamsungPay: 'samsung_pay',
|
|
99
99
|
Venmo: 'venmo',
|
|
100
100
|
Masterpass: 'masterpass',
|
|
101
|
-
B4u: 'b4u'
|
|
101
|
+
B4u: 'b4u',
|
|
102
|
+
Invoice: 'invoice',
|
|
103
|
+
BankTransfer: 'bank_transfer'
|
|
102
104
|
} as const;
|
|
103
105
|
|
|
104
106
|
export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
|