@emilgroup/accounting-sdk-node 1.32.0 → 1.32.1-beta.0
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 +15 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +762 -0
- package/api/financial-accounts-api.ts +12 -12
- package/api.ts +2 -0
- package/dist/api/accounting-configs-api.d.ts +404 -0
- package/dist/api/accounting-configs-api.js +776 -0
- package/dist/api/financial-accounts-api.d.ts +12 -12
- package/dist/api/financial-accounts-api.js +9 -9
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/account-mapping-class.d.ts +71 -0
- package/dist/models/account-mapping-class.js +38 -0
- package/dist/models/accounting-category-class.d.ts +45 -0
- package/dist/models/accounting-category-class.js +24 -0
- package/dist/models/accounting-config-class.d.ts +67 -0
- package/dist/models/accounting-config-class.js +15 -0
- package/dist/models/accounting-config-data-class.d.ts +38 -0
- package/dist/models/accounting-config-data-class.js +15 -0
- package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +46 -0
- package/dist/models/accounting-config-data-dto-accounting-configuration.js +24 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +71 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +38 -0
- package/dist/models/accounting-config-data-dto.d.ts +38 -0
- package/dist/models/accounting-config-data-dto.js +15 -0
- package/dist/models/accounting-configuration-class.d.ts +36 -0
- package/dist/models/accounting-configuration-class.js +15 -0
- package/dist/models/create-and-enable-subledger-request-dto.d.ts +25 -0
- package/dist/models/create-and-enable-subledger-request-dto.js +15 -0
- package/dist/models/create-and-enable-subledger-response-class.d.ts +25 -0
- package/dist/models/create-and-enable-subledger-response-class.js +15 -0
- package/dist/models/create-booking-entry-request-dto.d.ts +4 -2
- package/dist/models/create-financial-account-request-dto.d.ts +40 -3
- package/dist/models/create-financial-account-request-dto.js +24 -2
- package/dist/models/create-number-range-request-dto.d.ts +4 -4
- package/dist/models/create-number-range-request-dto.js +4 -4
- package/dist/models/create-personal-account-request-dto.d.ts +14 -6
- package/dist/models/create-personal-account-request-dto.js +3 -3
- package/dist/models/export-accounting-config-response-class.d.ts +25 -0
- package/dist/models/export-accounting-config-response-class.js +15 -0
- package/dist/models/financial-account-class.d.ts +20 -2
- package/dist/models/financial-account-class.js +1 -1
- package/dist/models/financial-transaction-data-dto.d.ts +4 -2
- package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
- package/dist/models/get-accounting-categories-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/personal-account-class.d.ts +8 -2
- package/dist/models/personal-account-class.js +1 -1
- package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
- package/dist/models/validate-accounting-config-request-dto.js +15 -0
- package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
- package/dist/models/validate-accounting-config-response-class.js +15 -0
- package/models/account-mapping-class.ts +80 -0
- package/models/accounting-category-class.ts +54 -0
- package/models/accounting-config-class.ts +73 -0
- package/models/accounting-config-data-class.ts +44 -0
- package/models/accounting-config-data-dto-accounting-configuration.ts +56 -0
- package/models/accounting-config-data-dto-default-account-mappings.ts +80 -0
- package/models/accounting-config-data-dto.ts +44 -0
- package/models/accounting-configuration-class.ts +42 -0
- package/models/create-and-enable-subledger-request-dto.ts +31 -0
- package/models/create-and-enable-subledger-response-class.ts +31 -0
- package/models/create-booking-entry-request-dto.ts +2 -2
- package/models/create-financial-account-request-dto.ts +39 -3
- package/models/create-number-range-request-dto.ts +4 -4
- package/models/create-personal-account-request-dto.ts +12 -6
- package/models/export-accounting-config-response-class.ts +31 -0
- package/models/financial-account-class.ts +20 -2
- package/models/financial-transaction-data-dto.ts +2 -2
- package/models/get-accounting-categories-response-class.ts +31 -0
- package/models/index.ts +14 -0
- package/models/personal-account-class.ts +8 -2
- package/models/validate-accounting-config-request-dto.ts +31 -0
- package/models/validate-accounting-config-response-class.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingConfigClass } from './accounting-config-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateAndEnableSubledgerResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateAndEnableSubledgerResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The accounting configuration created
|
|
26
|
+
* @type {AccountingConfigClass}
|
|
27
|
+
* @memberof CreateAndEnableSubledgerResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -53,10 +53,10 @@ export interface CreateBookingEntryRequestDto {
|
|
|
53
53
|
'description': string;
|
|
54
54
|
/**
|
|
55
55
|
* Optional key-value pairs containing additional custom information for the booking entry. These fields may include document numbers, reasons, or other contextual metadata.
|
|
56
|
-
* @type {object}
|
|
56
|
+
* @type {{ [key: string]: object; }}
|
|
57
57
|
* @memberof CreateBookingEntryRequestDto
|
|
58
58
|
*/
|
|
59
|
-
'customFields'?: object;
|
|
59
|
+
'customFields'?: { [key: string]: object; };
|
|
60
60
|
/**
|
|
61
61
|
* An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
|
|
62
62
|
* @type {Array<FinancialTransactionDataDto>}
|
|
@@ -52,10 +52,10 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
52
52
|
'parentId'?: number;
|
|
53
53
|
/**
|
|
54
54
|
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
55
|
-
* @type {object}
|
|
55
|
+
* @type {{ [key: string]: object; }}
|
|
56
56
|
* @memberof CreateFinancialAccountRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'customFields': object;
|
|
58
|
+
'customFields'?: { [key: string]: object; };
|
|
59
59
|
/**
|
|
60
60
|
* A detailed description of the financial account
|
|
61
61
|
* @type {string}
|
|
@@ -68,17 +68,53 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
68
68
|
* @memberof CreateFinancialAccountRequestDto
|
|
69
69
|
*/
|
|
70
70
|
'clearable': boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the financial account is a control account
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'isControlAccount': boolean;
|
|
77
|
+
/**
|
|
78
|
+
* The functional category of the account. Empty string means unset.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
|
|
71
83
|
}
|
|
72
84
|
|
|
73
85
|
export const CreateFinancialAccountRequestDtoTypeEnum = {
|
|
74
86
|
Asset: 'asset',
|
|
75
87
|
Liability: 'liability',
|
|
76
88
|
Equity: 'equity',
|
|
77
|
-
|
|
89
|
+
Income: 'income',
|
|
78
90
|
Expense: 'expense',
|
|
79
91
|
OpeningBalance: 'opening_balance'
|
|
80
92
|
} as const;
|
|
81
93
|
|
|
82
94
|
export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
|
|
95
|
+
export const CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
96
|
+
BankAcc: 'bank_acc',
|
|
97
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
98
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
99
|
+
TaxDueAcc: 'tax_due_acc',
|
|
100
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
101
|
+
VatDueAcc: 'vat_due_acc',
|
|
102
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
103
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
104
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
105
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
106
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
107
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
108
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
109
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
110
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
111
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
112
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
113
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
114
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
115
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
116
|
+
} as const;
|
|
117
|
+
|
|
118
|
+
export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
|
|
83
119
|
|
|
84
120
|
|
|
@@ -47,13 +47,13 @@ export interface CreateNumberRangeRequestDto {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export const CreateNumberRangeRequestDtoAccountTypeEnum = {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
Policyholder: 'policyholder',
|
|
51
|
+
RiskCarrier: 'risk_carrier',
|
|
52
|
+
Broker: 'broker',
|
|
53
53
|
Asset: 'asset',
|
|
54
54
|
Liability: 'liability',
|
|
55
55
|
Equity: 'equity',
|
|
56
|
-
|
|
56
|
+
Income: 'income',
|
|
57
57
|
Expense: 'expense'
|
|
58
58
|
} as const;
|
|
59
59
|
|
|
@@ -45,23 +45,29 @@ export interface CreatePersonalAccountRequestDto {
|
|
|
45
45
|
*/
|
|
46
46
|
'partnerNumber': string;
|
|
47
47
|
/**
|
|
48
|
-
* The
|
|
48
|
+
* The partner code of the account
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePersonalAccountRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'partnerCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
|
|
49
55
|
* @type {string}
|
|
50
56
|
* @memberof CreatePersonalAccountRequestDto
|
|
51
57
|
*/
|
|
52
58
|
'type': CreatePersonalAccountRequestDtoTypeEnum;
|
|
53
59
|
/**
|
|
54
60
|
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
55
|
-
* @type {object}
|
|
61
|
+
* @type {{ [key: string]: object; }}
|
|
56
62
|
* @memberof CreatePersonalAccountRequestDto
|
|
57
63
|
*/
|
|
58
|
-
'customFields'?: object;
|
|
64
|
+
'customFields'?: { [key: string]: object; };
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
export const CreatePersonalAccountRequestDtoTypeEnum = {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
Policyholder: 'policyholder',
|
|
69
|
+
RiskCarrier: 'risk_carrier',
|
|
70
|
+
Broker: 'broker'
|
|
65
71
|
} as const;
|
|
66
72
|
|
|
67
73
|
export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingConfigClass } from './accounting-config-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ExportAccountingConfigResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ExportAccountingConfigResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The accounting configuration used to enable andactivate the subledger
|
|
26
|
+
* @type {AccountingConfigClass}
|
|
27
|
+
* @memberof ExportAccountingConfigResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -57,7 +57,7 @@ export interface FinancialAccountClass {
|
|
|
57
57
|
*/
|
|
58
58
|
'partnerNumber': string;
|
|
59
59
|
/**
|
|
60
|
-
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"
|
|
60
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof FinancialAccountClass
|
|
63
63
|
*/
|
|
@@ -80,6 +80,24 @@ export interface FinancialAccountClass {
|
|
|
80
80
|
* @memberof FinancialAccountClass
|
|
81
81
|
*/
|
|
82
82
|
'clearable': boolean;
|
|
83
|
+
/**
|
|
84
|
+
* The status of the account, either \'active\' or \'inactive\'.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof FinancialAccountClass
|
|
87
|
+
*/
|
|
88
|
+
'status': string;
|
|
89
|
+
/**
|
|
90
|
+
* Whether the account is a control account.
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof FinancialAccountClass
|
|
93
|
+
*/
|
|
94
|
+
'isControlAccount': boolean;
|
|
95
|
+
/**
|
|
96
|
+
* The functional category of the account. Empty string means unset.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof FinancialAccountClass
|
|
99
|
+
*/
|
|
100
|
+
'functionalCategory': string;
|
|
83
101
|
/**
|
|
84
102
|
* Time at which the object was created.
|
|
85
103
|
* @type {string}
|
|
@@ -110,7 +128,7 @@ export const FinancialAccountClassTypeEnum = {
|
|
|
110
128
|
Asset: 'asset',
|
|
111
129
|
Liability: 'liability',
|
|
112
130
|
Equity: 'equity',
|
|
113
|
-
|
|
131
|
+
Income: 'income',
|
|
114
132
|
Expense: 'expense',
|
|
115
133
|
OpeningBalance: 'opening_balance'
|
|
116
134
|
} as const;
|
|
@@ -52,10 +52,10 @@ export interface FinancialTransactionDataDto {
|
|
|
52
52
|
'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
|
|
53
53
|
/**
|
|
54
54
|
* Optional additional information related to the transaction, structured as key-value pairs. These fields may include metadata, identifiers, or contextual details for custom processing.
|
|
55
|
-
* @type {object}
|
|
55
|
+
* @type {{ [key: string]: object; }}
|
|
56
56
|
* @memberof FinancialTransactionDataDto
|
|
57
57
|
*/
|
|
58
|
-
'customFields': object;
|
|
58
|
+
'customFields'?: { [key: string]: object; };
|
|
59
59
|
/**
|
|
60
60
|
* Specifies the type of the transaction. This can be used to categorize transactions for reporting, analysis, or filtering purposes.
|
|
61
61
|
* @type {string}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingCategoryClass } from './accounting-category-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetAccountingCategoriesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetAccountingCategoriesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of functional categories
|
|
26
|
+
* @type {Array<AccountingCategoryClass>}
|
|
27
|
+
* @memberof GetAccountingCategoriesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<AccountingCategoryClass>;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
+
export * from './account-mapping-class';
|
|
2
|
+
export * from './accounting-category-class';
|
|
3
|
+
export * from './accounting-config-class';
|
|
4
|
+
export * from './accounting-config-data-class';
|
|
5
|
+
export * from './accounting-config-data-dto';
|
|
6
|
+
export * from './accounting-config-data-dto-accounting-configuration';
|
|
7
|
+
export * from './accounting-config-data-dto-default-account-mappings';
|
|
8
|
+
export * from './accounting-configuration-class';
|
|
1
9
|
export * from './booking-entry-class';
|
|
10
|
+
export * from './create-and-enable-subledger-request-dto';
|
|
11
|
+
export * from './create-and-enable-subledger-response-class';
|
|
2
12
|
export * from './create-booking-entry-request-dto';
|
|
3
13
|
export * from './create-booking-entry-response-class';
|
|
4
14
|
export * from './create-financial-account-request-dto';
|
|
@@ -7,9 +17,11 @@ export * from './create-number-range-request-dto';
|
|
|
7
17
|
export * from './create-number-range-response-class';
|
|
8
18
|
export * from './create-personal-account-request-dto';
|
|
9
19
|
export * from './create-personal-account-response-class';
|
|
20
|
+
export * from './export-accounting-config-response-class';
|
|
10
21
|
export * from './financial-account-class';
|
|
11
22
|
export * from './financial-transaction-class';
|
|
12
23
|
export * from './financial-transaction-data-dto';
|
|
24
|
+
export * from './get-accounting-categories-response-class';
|
|
13
25
|
export * from './get-booking-entry-response-class';
|
|
14
26
|
export * from './get-financial-account-response-class';
|
|
15
27
|
export * from './get-financial-transaction-response-class';
|
|
@@ -24,3 +36,5 @@ export * from './list-number-range-response-class';
|
|
|
24
36
|
export * from './list-personal-accounts-response-class';
|
|
25
37
|
export * from './number-range-class';
|
|
26
38
|
export * from './personal-account-class';
|
|
39
|
+
export * from './validate-accounting-config-request-dto';
|
|
40
|
+
export * from './validate-accounting-config-response-class';
|
|
@@ -56,6 +56,12 @@ export interface PersonalAccountClass {
|
|
|
56
56
|
* @memberof PersonalAccountClass
|
|
57
57
|
*/
|
|
58
58
|
'partnerNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* The partner code of the account
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PersonalAccountClass
|
|
63
|
+
*/
|
|
64
|
+
'partnerCode': string;
|
|
59
65
|
/**
|
|
60
66
|
* The entity code of the account (account code, bank account code, etc...).
|
|
61
67
|
* @type {string}
|
|
@@ -63,7 +69,7 @@ export interface PersonalAccountClass {
|
|
|
63
69
|
*/
|
|
64
70
|
'entityCode'?: string;
|
|
65
71
|
/**
|
|
66
|
-
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"
|
|
72
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
|
|
67
73
|
* @type {string}
|
|
68
74
|
* @memberof PersonalAccountClass
|
|
69
75
|
*/
|
|
@@ -104,7 +110,7 @@ export const PersonalAccountClassTypeEnum = {
|
|
|
104
110
|
Asset: 'asset',
|
|
105
111
|
Liability: 'liability',
|
|
106
112
|
Equity: 'equity',
|
|
107
|
-
|
|
113
|
+
Income: 'income',
|
|
108
114
|
Expense: 'expense',
|
|
109
115
|
OpeningBalance: 'opening_balance'
|
|
110
116
|
} as const;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingConfigDataDto } from './accounting-config-data-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ValidateAccountingConfigRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface ValidateAccountingConfigRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* The accounting config data to validate
|
|
26
|
+
* @type {AccountingConfigDataDto}
|
|
27
|
+
* @memberof ValidateAccountingConfigRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfigData': AccountingConfigDataDto;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
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 ValidateAccountingConfigResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ValidateAccountingConfigResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Whether the accounting config is valid
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof ValidateAccountingConfigResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'isValid': boolean;
|
|
29
|
+
/**
|
|
30
|
+
* When isValid is false, a human-readable explanation of why the config is invalid
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ValidateAccountingConfigResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'validationMessage'?: string;
|
|
35
|
+
}
|
|
36
|
+
|