@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,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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.AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = void 0;
|
|
17
|
+
exports.AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
|
|
18
|
+
BankAcc: 'bank_acc',
|
|
19
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
20
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
21
|
+
TaxDueAcc: 'tax_due_acc',
|
|
22
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
23
|
+
VatDueAcc: 'vat_due_acc',
|
|
24
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
25
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
26
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
27
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
28
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
35
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
36
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
37
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
|
|
13
|
+
import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AccountingConfigDataDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AccountingConfigDataDto {
|
|
20
|
+
/**
|
|
21
|
+
* The activation date of the accounting configuration
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AccountingConfigDataDto
|
|
24
|
+
*/
|
|
25
|
+
'activationDate'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The chart of accounts configuration
|
|
28
|
+
* @type {Array<AccountingConfigDataDtoDefaultAccountMappings>}
|
|
29
|
+
* @memberof AccountingConfigDataDto
|
|
30
|
+
*/
|
|
31
|
+
'defaultAccountMappings': Array<AccountingConfigDataDtoDefaultAccountMappings>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AccountingConfigDataDtoAccountingConfiguration}
|
|
35
|
+
* @memberof AccountingConfigDataDto
|
|
36
|
+
*/
|
|
37
|
+
'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 AccountingConfigurationClass
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountingConfigurationClass {
|
|
18
|
+
/**
|
|
19
|
+
* The mode of settlement recognition, can be \"SOLL\" or \"IST\"
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccountingConfigurationClass
|
|
22
|
+
*/
|
|
23
|
+
'settlementRecognitionMode': string;
|
|
24
|
+
/**
|
|
25
|
+
* The default tax handling, can be \"CARRIER_PAYS\" or \"MGA_PAYS\"
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AccountingConfigurationClass
|
|
28
|
+
*/
|
|
29
|
+
'defaultTaxHandling': string;
|
|
30
|
+
/**
|
|
31
|
+
* The tolerance amount in cents
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AccountingConfigurationClass
|
|
34
|
+
*/
|
|
35
|
+
'toleranceAmountInCents': number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingConfigDataDto } from './accounting-config-data-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateAndEnableSubledgerRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateAndEnableSubledgerRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Configuration for the accounting system.
|
|
21
|
+
* @type {AccountingConfigDataDto}
|
|
22
|
+
* @memberof CreateAndEnableSubledgerRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'accountingConfigData': AccountingConfigDataDto;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingConfigClass } from './accounting-config-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateAndEnableSubledgerResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateAndEnableSubledgerResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The accounting configuration created
|
|
21
|
+
* @type {AccountingConfigClass}
|
|
22
|
+
* @memberof CreateAndEnableSubledgerResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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 });
|
|
@@ -48,10 +48,12 @@ export interface CreateBookingEntryRequestDto {
|
|
|
48
48
|
'description': string;
|
|
49
49
|
/**
|
|
50
50
|
* Optional key-value pairs containing additional custom information for the booking entry. These fields may include document numbers, reasons, or other contextual metadata.
|
|
51
|
-
* @type {object}
|
|
51
|
+
* @type {{ [key: string]: object; }}
|
|
52
52
|
* @memberof CreateBookingEntryRequestDto
|
|
53
53
|
*/
|
|
54
|
-
'customFields'?:
|
|
54
|
+
'customFields'?: {
|
|
55
|
+
[key: string]: object;
|
|
56
|
+
};
|
|
55
57
|
/**
|
|
56
58
|
* An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
|
|
57
59
|
* @type {Array<FinancialTransactionDataDto>}
|
|
@@ -47,10 +47,12 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
47
47
|
'parentId'?: number;
|
|
48
48
|
/**
|
|
49
49
|
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
50
|
-
* @type {object}
|
|
50
|
+
* @type {{ [key: string]: object; }}
|
|
51
51
|
* @memberof CreateFinancialAccountRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'customFields'
|
|
53
|
+
'customFields'?: {
|
|
54
|
+
[key: string]: object;
|
|
55
|
+
};
|
|
54
56
|
/**
|
|
55
57
|
* A detailed description of the financial account
|
|
56
58
|
* @type {string}
|
|
@@ -63,13 +65,48 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
63
65
|
* @memberof CreateFinancialAccountRequestDto
|
|
64
66
|
*/
|
|
65
67
|
'clearable': boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Whether the financial account is a control account
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
72
|
+
*/
|
|
73
|
+
'isControlAccount': boolean;
|
|
74
|
+
/**
|
|
75
|
+
* The functional category of the account. Empty string means unset.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
78
|
+
*/
|
|
79
|
+
'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
|
|
66
80
|
}
|
|
67
81
|
export declare const CreateFinancialAccountRequestDtoTypeEnum: {
|
|
68
82
|
readonly Asset: "asset";
|
|
69
83
|
readonly Liability: "liability";
|
|
70
84
|
readonly Equity: "equity";
|
|
71
|
-
readonly
|
|
85
|
+
readonly Income: "income";
|
|
72
86
|
readonly Expense: "expense";
|
|
73
87
|
readonly OpeningBalance: "opening_balance";
|
|
74
88
|
};
|
|
75
89
|
export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
|
|
90
|
+
export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
|
|
91
|
+
readonly BankAcc: "bank_acc";
|
|
92
|
+
readonly TaxPendingAcc: "tax_pending_acc";
|
|
93
|
+
readonly TaxForwardedAcc: "tax_forwarded_acc";
|
|
94
|
+
readonly TaxDueAcc: "tax_due_acc";
|
|
95
|
+
readonly VatPendingAcc: "vat_pending_acc";
|
|
96
|
+
readonly VatDueAcc: "vat_due_acc";
|
|
97
|
+
readonly RevenueBufferAcc: "revenue_buffer_acc";
|
|
98
|
+
readonly RevenueFinalAcc: "revenue_final_acc";
|
|
99
|
+
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
100
|
+
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
101
|
+
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
102
|
+
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
103
|
+
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
104
|
+
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
105
|
+
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
106
|
+
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
107
|
+
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
108
|
+
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
109
|
+
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
110
|
+
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
111
|
+
};
|
|
112
|
+
export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
|
|
@@ -13,12 +13,34 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
|
|
16
|
+
exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
|
|
17
17
|
exports.CreateFinancialAccountRequestDtoTypeEnum = {
|
|
18
18
|
Asset: 'asset',
|
|
19
19
|
Liability: 'liability',
|
|
20
20
|
Equity: 'equity',
|
|
21
|
-
|
|
21
|
+
Income: 'income',
|
|
22
22
|
Expense: 'expense',
|
|
23
23
|
OpeningBalance: 'opening_balance'
|
|
24
24
|
};
|
|
25
|
+
exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
26
|
+
BankAcc: 'bank_acc',
|
|
27
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
28
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
29
|
+
TaxDueAcc: 'tax_due_acc',
|
|
30
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
31
|
+
VatDueAcc: 'vat_due_acc',
|
|
32
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
33
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
34
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
35
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
36
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
37
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
38
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
39
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
40
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
41
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
42
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
43
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
44
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
45
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
46
|
+
};
|
|
@@ -41,13 +41,13 @@ export interface CreateNumberRangeRequestDto {
|
|
|
41
41
|
'accountType': CreateNumberRangeRequestDtoAccountTypeEnum;
|
|
42
42
|
}
|
|
43
43
|
export declare const CreateNumberRangeRequestDtoAccountTypeEnum: {
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
44
|
+
readonly Policyholder: "policyholder";
|
|
45
|
+
readonly RiskCarrier: "risk_carrier";
|
|
46
|
+
readonly Broker: "broker";
|
|
47
47
|
readonly Asset: "asset";
|
|
48
48
|
readonly Liability: "liability";
|
|
49
49
|
readonly Equity: "equity";
|
|
50
|
-
readonly
|
|
50
|
+
readonly Income: "income";
|
|
51
51
|
readonly Expense: "expense";
|
|
52
52
|
};
|
|
53
53
|
export type CreateNumberRangeRequestDtoAccountTypeEnum = typeof CreateNumberRangeRequestDtoAccountTypeEnum[keyof typeof CreateNumberRangeRequestDtoAccountTypeEnum];
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateNumberRangeRequestDtoAccountTypeEnum = void 0;
|
|
17
17
|
exports.CreateNumberRangeRequestDtoAccountTypeEnum = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
Policyholder: 'policyholder',
|
|
19
|
+
RiskCarrier: 'risk_carrier',
|
|
20
|
+
Broker: 'broker',
|
|
21
21
|
Asset: 'asset',
|
|
22
22
|
Liability: 'liability',
|
|
23
23
|
Equity: 'equity',
|
|
24
|
-
|
|
24
|
+
Income: 'income',
|
|
25
25
|
Expense: 'expense'
|
|
26
26
|
};
|
|
@@ -40,21 +40,29 @@ export interface CreatePersonalAccountRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'partnerNumber': string;
|
|
42
42
|
/**
|
|
43
|
-
* The
|
|
43
|
+
* The partner code of the account
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePersonalAccountRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
|
|
44
50
|
* @type {string}
|
|
45
51
|
* @memberof CreatePersonalAccountRequestDto
|
|
46
52
|
*/
|
|
47
53
|
'type': CreatePersonalAccountRequestDtoTypeEnum;
|
|
48
54
|
/**
|
|
49
55
|
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
50
|
-
* @type {object}
|
|
56
|
+
* @type {{ [key: string]: object; }}
|
|
51
57
|
* @memberof CreatePersonalAccountRequestDto
|
|
52
58
|
*/
|
|
53
|
-
'customFields'?:
|
|
59
|
+
'customFields'?: {
|
|
60
|
+
[key: string]: object;
|
|
61
|
+
};
|
|
54
62
|
}
|
|
55
63
|
export declare const CreatePersonalAccountRequestDtoTypeEnum: {
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
64
|
+
readonly Policyholder: "policyholder";
|
|
65
|
+
readonly RiskCarrier: "risk_carrier";
|
|
66
|
+
readonly Broker: "broker";
|
|
59
67
|
};
|
|
60
68
|
export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreatePersonalAccountRequestDtoTypeEnum = void 0;
|
|
17
17
|
exports.CreatePersonalAccountRequestDtoTypeEnum = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
Policyholder: 'policyholder',
|
|
19
|
+
RiskCarrier: 'risk_carrier',
|
|
20
|
+
Broker: 'broker'
|
|
21
21
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingConfigClass } from './accounting-config-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExportAccountingConfigResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ExportAccountingConfigResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The accounting configuration used to enable andactivate the subledger
|
|
21
|
+
* @type {AccountingConfigClass}
|
|
22
|
+
* @memberof ExportAccountingConfigResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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 });
|
|
@@ -52,7 +52,7 @@ export interface FinancialAccountClass {
|
|
|
52
52
|
*/
|
|
53
53
|
'partnerNumber': string;
|
|
54
54
|
/**
|
|
55
|
-
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"
|
|
55
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof FinancialAccountClass
|
|
58
58
|
*/
|
|
@@ -75,6 +75,24 @@ export interface FinancialAccountClass {
|
|
|
75
75
|
* @memberof FinancialAccountClass
|
|
76
76
|
*/
|
|
77
77
|
'clearable': boolean;
|
|
78
|
+
/**
|
|
79
|
+
* The status of the account, either \'active\' or \'inactive\'.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof FinancialAccountClass
|
|
82
|
+
*/
|
|
83
|
+
'status': string;
|
|
84
|
+
/**
|
|
85
|
+
* Whether the account is a control account.
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof FinancialAccountClass
|
|
88
|
+
*/
|
|
89
|
+
'isControlAccount': boolean;
|
|
90
|
+
/**
|
|
91
|
+
* The functional category of the account. Empty string means unset.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof FinancialAccountClass
|
|
94
|
+
*/
|
|
95
|
+
'functionalCategory': string;
|
|
78
96
|
/**
|
|
79
97
|
* Time at which the object was created.
|
|
80
98
|
* @type {string}
|
|
@@ -104,7 +122,7 @@ export declare const FinancialAccountClassTypeEnum: {
|
|
|
104
122
|
readonly Asset: "asset";
|
|
105
123
|
readonly Liability: "liability";
|
|
106
124
|
readonly Equity: "equity";
|
|
107
|
-
readonly
|
|
125
|
+
readonly Income: "income";
|
|
108
126
|
readonly Expense: "expense";
|
|
109
127
|
readonly OpeningBalance: "opening_balance";
|
|
110
128
|
};
|
|
@@ -47,10 +47,12 @@ export interface FinancialTransactionDataDto {
|
|
|
47
47
|
'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
|
|
48
48
|
/**
|
|
49
49
|
* Optional additional information related to the transaction, structured as key-value pairs. These fields may include metadata, identifiers, or contextual details for custom processing.
|
|
50
|
-
* @type {object}
|
|
50
|
+
* @type {{ [key: string]: object; }}
|
|
51
51
|
* @memberof FinancialTransactionDataDto
|
|
52
52
|
*/
|
|
53
|
-
'customFields'
|
|
53
|
+
'customFields'?: {
|
|
54
|
+
[key: string]: object;
|
|
55
|
+
};
|
|
54
56
|
/**
|
|
55
57
|
* Specifies the type of the transaction. This can be used to categorize transactions for reporting, analysis, or filtering purposes.
|
|
56
58
|
* @type {string}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
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 { AccountingCategoryClass } from './accounting-category-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetAccountingCategoriesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetAccountingCategoriesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of functional categories
|
|
21
|
+
* @type {Array<AccountingCategoryClass>}
|
|
22
|
+
* @memberof GetAccountingCategoriesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<AccountingCategoryClass>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
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 });
|
package/dist/models/index.d.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';
|