@emilgroup/payment-sdk 1.13.1-beta.60 → 1.13.1-beta.62
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 +7 -0
- package/README.md +2 -2
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +8 -8
- package/api.ts +2 -0
- 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 +8 -8
- package/dist/api/bank-transaction-api.js +6 -6
- 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 +18 -0
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +18 -0
- package/dist/models/bank-transaction-class.js +5 -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/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -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 +6 -0
- package/dist/models/index.js +6 -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/unlinked-bank-transaction-response-class.d.ts +18 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -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 +21 -0
- package/models/bank-transaction-class.ts +21 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/financial-account-class.ts +120 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/index.ts +6 -0
- package/models/list-bank-orders-response-class.ts +37 -0
- package/models/unlinked-bank-transaction-response-class.ts +21 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './bank-account-class';
|
|
2
2
|
export * from './bank-account-class-without-expand-properties';
|
|
3
|
+
export * from './bank-order-class';
|
|
3
4
|
export * from './bank-transaction-class';
|
|
4
5
|
export * from './bank-transaction-class-without-expand-properties';
|
|
5
6
|
export * from './billing-profile-dto';
|
|
@@ -14,6 +15,7 @@ export * from './complete-stripe-payment-setup-request-dto';
|
|
|
14
15
|
export * from './create-bank-account-request-dto';
|
|
15
16
|
export * from './create-bank-account-response-class';
|
|
16
17
|
export * from './create-bank-order-request-dto';
|
|
18
|
+
export * from './create-bank-order-response-class';
|
|
17
19
|
export * from './create-payment-method-response-class';
|
|
18
20
|
export * from './create-payment-reminder-request-dto';
|
|
19
21
|
export * from './create-payment-reminder-response-class';
|
|
@@ -27,8 +29,10 @@ export * from './create-tenant-bank-account-response-class';
|
|
|
27
29
|
export * from './deactivate-payment-reminder-request-dto';
|
|
28
30
|
export * from './deactivate-payment-reminder-response-class';
|
|
29
31
|
export * from './deactivated-payment-reminder-class';
|
|
32
|
+
export * from './financial-account-class';
|
|
30
33
|
export * from './generate-invoice-match-suggestions-response-class';
|
|
31
34
|
export * from './get-bank-account-response-class';
|
|
35
|
+
export * from './get-bank-order-response-class';
|
|
32
36
|
export * from './get-bank-transactions-response-class';
|
|
33
37
|
export * from './get-payment-method-response-class';
|
|
34
38
|
export * from './get-payment-reminder-response-class';
|
|
@@ -51,6 +55,7 @@ export * from './invoice-match-suggestion-class';
|
|
|
51
55
|
export * from './link-bank-transaction-request-dto-rest';
|
|
52
56
|
export * from './link-bank-transactions-response-class';
|
|
53
57
|
export * from './list-bank-accounts-response-class';
|
|
58
|
+
export * from './list-bank-orders-response-class';
|
|
54
59
|
export * from './list-bank-transactions-response-class';
|
|
55
60
|
export * from './list-payment-methods-response-class';
|
|
56
61
|
export * from './list-payment-reminders-response-class';
|
|
@@ -78,6 +83,7 @@ export * from './update-bank-account-request-dto';
|
|
|
78
83
|
export * from './update-bank-account-request-dto-rest';
|
|
79
84
|
export * from './update-bank-account-response-class';
|
|
80
85
|
export * from './update-bank-order-request-dto';
|
|
86
|
+
export * from './update-bank-order-response-class';
|
|
81
87
|
export * from './update-tenant-bank-account-response-class';
|
|
82
88
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
83
89
|
export * from './validate-pspconfig-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./bank-account-class"), exports);
|
|
18
18
|
__exportStar(require("./bank-account-class-without-expand-properties"), exports);
|
|
19
|
+
__exportStar(require("./bank-order-class"), exports);
|
|
19
20
|
__exportStar(require("./bank-transaction-class"), exports);
|
|
20
21
|
__exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
|
|
21
22
|
__exportStar(require("./billing-profile-dto"), exports);
|
|
@@ -30,6 +31,7 @@ __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
|
|
|
30
31
|
__exportStar(require("./create-bank-account-request-dto"), exports);
|
|
31
32
|
__exportStar(require("./create-bank-account-response-class"), exports);
|
|
32
33
|
__exportStar(require("./create-bank-order-request-dto"), exports);
|
|
34
|
+
__exportStar(require("./create-bank-order-response-class"), exports);
|
|
33
35
|
__exportStar(require("./create-payment-method-response-class"), exports);
|
|
34
36
|
__exportStar(require("./create-payment-reminder-request-dto"), exports);
|
|
35
37
|
__exportStar(require("./create-payment-reminder-response-class"), exports);
|
|
@@ -43,8 +45,10 @@ __exportStar(require("./create-tenant-bank-account-response-class"), exports);
|
|
|
43
45
|
__exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
|
|
44
46
|
__exportStar(require("./deactivate-payment-reminder-response-class"), exports);
|
|
45
47
|
__exportStar(require("./deactivated-payment-reminder-class"), exports);
|
|
48
|
+
__exportStar(require("./financial-account-class"), exports);
|
|
46
49
|
__exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
|
|
47
50
|
__exportStar(require("./get-bank-account-response-class"), exports);
|
|
51
|
+
__exportStar(require("./get-bank-order-response-class"), exports);
|
|
48
52
|
__exportStar(require("./get-bank-transactions-response-class"), exports);
|
|
49
53
|
__exportStar(require("./get-payment-method-response-class"), exports);
|
|
50
54
|
__exportStar(require("./get-payment-reminder-response-class"), exports);
|
|
@@ -67,6 +71,7 @@ __exportStar(require("./invoice-match-suggestion-class"), exports);
|
|
|
67
71
|
__exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
|
|
68
72
|
__exportStar(require("./link-bank-transactions-response-class"), exports);
|
|
69
73
|
__exportStar(require("./list-bank-accounts-response-class"), exports);
|
|
74
|
+
__exportStar(require("./list-bank-orders-response-class"), exports);
|
|
70
75
|
__exportStar(require("./list-bank-transactions-response-class"), exports);
|
|
71
76
|
__exportStar(require("./list-payment-methods-response-class"), exports);
|
|
72
77
|
__exportStar(require("./list-payment-reminders-response-class"), exports);
|
|
@@ -94,6 +99,7 @@ __exportStar(require("./update-bank-account-request-dto"), exports);
|
|
|
94
99
|
__exportStar(require("./update-bank-account-request-dto-rest"), exports);
|
|
95
100
|
__exportStar(require("./update-bank-account-response-class"), exports);
|
|
96
101
|
__exportStar(require("./update-bank-order-request-dto"), exports);
|
|
102
|
+
__exportStar(require("./update-bank-order-response-class"), exports);
|
|
97
103
|
__exportStar(require("./update-tenant-bank-account-response-class"), exports);
|
|
98
104
|
__exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
|
|
99
105
|
__exportStar(require("./validate-pspconfig-request-dto"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ListBankOrdersResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListBankOrdersResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of bank orders.
|
|
21
|
+
* @type {Array<BankOrderClass>}
|
|
22
|
+
* @memberof ListBankOrdersResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<BankOrderClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListBankOrdersResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BankOrderClass } from './bank-order-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -45,6 +46,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
45
46
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
46
47
|
*/
|
|
47
48
|
'messageReference'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Label of the transaction
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
53
|
+
*/
|
|
54
|
+
'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
|
|
48
55
|
/**
|
|
49
56
|
* Currency of the transaction.
|
|
50
57
|
* @type {string}
|
|
@@ -87,6 +94,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
87
94
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
88
95
|
*/
|
|
89
96
|
'isLinked': boolean;
|
|
97
|
+
/**
|
|
98
|
+
* The linked bank order object
|
|
99
|
+
* @type {BankOrderClass}
|
|
100
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
101
|
+
*/
|
|
102
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
90
103
|
/**
|
|
91
104
|
* The file format of the bank transaction
|
|
92
105
|
* @type {string}
|
|
@@ -112,3 +125,8 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
112
125
|
*/
|
|
113
126
|
'updatedBy': string;
|
|
114
127
|
}
|
|
128
|
+
export declare const UnlinkedBankTransactionResponseClassLabelEnum: {
|
|
129
|
+
readonly Automated: "automated";
|
|
130
|
+
readonly Manual: "manual";
|
|
131
|
+
};
|
|
132
|
+
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,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,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BankOrderClass } from './bank-order-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -50,6 +51,12 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
50
51
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
51
52
|
*/
|
|
52
53
|
'messageReference'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Label of the transaction
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
58
|
+
*/
|
|
59
|
+
'label'?: BankTransactionClassWithoutExpandPropertiesLabelEnum;
|
|
53
60
|
/**
|
|
54
61
|
* Currency of the transaction.
|
|
55
62
|
* @type {string}
|
|
@@ -110,6 +117,12 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
110
117
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
111
118
|
*/
|
|
112
119
|
'isLinked': boolean;
|
|
120
|
+
/**
|
|
121
|
+
* The linked bank order object
|
|
122
|
+
* @type {BankOrderClass}
|
|
123
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
124
|
+
*/
|
|
125
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
113
126
|
/**
|
|
114
127
|
* The file format of the bank transaction
|
|
115
128
|
* @type {string}
|
|
@@ -136,3 +149,11 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
136
149
|
'updatedBy': string;
|
|
137
150
|
}
|
|
138
151
|
|
|
152
|
+
export const BankTransactionClassWithoutExpandPropertiesLabelEnum = {
|
|
153
|
+
Automated: 'automated',
|
|
154
|
+
Manual: 'manual'
|
|
155
|
+
} as const;
|
|
156
|
+
|
|
157
|
+
export type BankTransactionClassWithoutExpandPropertiesLabelEnum = typeof BankTransactionClassWithoutExpandPropertiesLabelEnum[keyof typeof BankTransactionClassWithoutExpandPropertiesLabelEnum];
|
|
158
|
+
|
|
159
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BankOrderClass } from './bank-order-class';
|
|
16
17
|
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
17
18
|
import { SharedTransactionClass } from './shared-transaction-class';
|
|
18
19
|
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
@@ -54,6 +55,12 @@ export interface BankTransactionClass {
|
|
|
54
55
|
* @memberof BankTransactionClass
|
|
55
56
|
*/
|
|
56
57
|
'messageReference'?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Label of the transaction
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof BankTransactionClass
|
|
62
|
+
*/
|
|
63
|
+
'label'?: BankTransactionClassLabelEnum;
|
|
57
64
|
/**
|
|
58
65
|
* Currency of the transaction.
|
|
59
66
|
* @type {string}
|
|
@@ -126,6 +133,12 @@ export interface BankTransactionClass {
|
|
|
126
133
|
* @memberof BankTransactionClass
|
|
127
134
|
*/
|
|
128
135
|
'linkedTransaction'?: SharedTransactionClass;
|
|
136
|
+
/**
|
|
137
|
+
* The linked bank order object
|
|
138
|
+
* @type {BankOrderClass}
|
|
139
|
+
* @memberof BankTransactionClass
|
|
140
|
+
*/
|
|
141
|
+
'linkedBankOrder'?: BankOrderClass;
|
|
129
142
|
/**
|
|
130
143
|
* The file format of the bank transaction
|
|
131
144
|
* @type {string}
|
|
@@ -164,3 +177,11 @@ export interface BankTransactionClass {
|
|
|
164
177
|
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
165
178
|
}
|
|
166
179
|
|
|
180
|
+
export const BankTransactionClassLabelEnum = {
|
|
181
|
+
Automated: 'automated',
|
|
182
|
+
Manual: 'manual'
|
|
183
|
+
} as const;
|
|
184
|
+
|
|
185
|
+
export type BankTransactionClassLabelEnum = typeof BankTransactionClassLabelEnum[keyof typeof BankTransactionClassLabelEnum];
|
|
186
|
+
|
|
187
|
+
|
|
@@ -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
|
+
|
|
@@ -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 { 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
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './bank-account-class';
|
|
2
2
|
export * from './bank-account-class-without-expand-properties';
|
|
3
|
+
export * from './bank-order-class';
|
|
3
4
|
export * from './bank-transaction-class';
|
|
4
5
|
export * from './bank-transaction-class-without-expand-properties';
|
|
5
6
|
export * from './billing-profile-dto';
|
|
@@ -14,6 +15,7 @@ export * from './complete-stripe-payment-setup-request-dto';
|
|
|
14
15
|
export * from './create-bank-account-request-dto';
|
|
15
16
|
export * from './create-bank-account-response-class';
|
|
16
17
|
export * from './create-bank-order-request-dto';
|
|
18
|
+
export * from './create-bank-order-response-class';
|
|
17
19
|
export * from './create-payment-method-response-class';
|
|
18
20
|
export * from './create-payment-reminder-request-dto';
|
|
19
21
|
export * from './create-payment-reminder-response-class';
|
|
@@ -27,8 +29,10 @@ export * from './create-tenant-bank-account-response-class';
|
|
|
27
29
|
export * from './deactivate-payment-reminder-request-dto';
|
|
28
30
|
export * from './deactivate-payment-reminder-response-class';
|
|
29
31
|
export * from './deactivated-payment-reminder-class';
|
|
32
|
+
export * from './financial-account-class';
|
|
30
33
|
export * from './generate-invoice-match-suggestions-response-class';
|
|
31
34
|
export * from './get-bank-account-response-class';
|
|
35
|
+
export * from './get-bank-order-response-class';
|
|
32
36
|
export * from './get-bank-transactions-response-class';
|
|
33
37
|
export * from './get-payment-method-response-class';
|
|
34
38
|
export * from './get-payment-reminder-response-class';
|
|
@@ -51,6 +55,7 @@ export * from './invoice-match-suggestion-class';
|
|
|
51
55
|
export * from './link-bank-transaction-request-dto-rest';
|
|
52
56
|
export * from './link-bank-transactions-response-class';
|
|
53
57
|
export * from './list-bank-accounts-response-class';
|
|
58
|
+
export * from './list-bank-orders-response-class';
|
|
54
59
|
export * from './list-bank-transactions-response-class';
|
|
55
60
|
export * from './list-payment-methods-response-class';
|
|
56
61
|
export * from './list-payment-reminders-response-class';
|
|
@@ -78,6 +83,7 @@ export * from './update-bank-account-request-dto';
|
|
|
78
83
|
export * from './update-bank-account-request-dto-rest';
|
|
79
84
|
export * from './update-bank-account-response-class';
|
|
80
85
|
export * from './update-bank-order-request-dto';
|
|
86
|
+
export * from './update-bank-order-response-class';
|
|
81
87
|
export * from './update-tenant-bank-account-response-class';
|
|
82
88
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
83
89
|
export * from './validate-pspconfig-request-dto';
|