@emilgroup/accounting-sdk-node 1.32.0 → 1.32.1-beta.1
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
package/dist/models/index.js
CHANGED
|
@@ -14,7 +14,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./account-mapping-class"), exports);
|
|
18
|
+
__exportStar(require("./accounting-category-class"), exports);
|
|
19
|
+
__exportStar(require("./accounting-config-class"), exports);
|
|
20
|
+
__exportStar(require("./accounting-config-data-class"), exports);
|
|
21
|
+
__exportStar(require("./accounting-config-data-dto"), exports);
|
|
22
|
+
__exportStar(require("./accounting-config-data-dto-accounting-configuration"), exports);
|
|
23
|
+
__exportStar(require("./accounting-config-data-dto-default-account-mappings"), exports);
|
|
24
|
+
__exportStar(require("./accounting-configuration-class"), exports);
|
|
17
25
|
__exportStar(require("./booking-entry-class"), exports);
|
|
26
|
+
__exportStar(require("./create-and-enable-subledger-request-dto"), exports);
|
|
27
|
+
__exportStar(require("./create-and-enable-subledger-response-class"), exports);
|
|
18
28
|
__exportStar(require("./create-booking-entry-request-dto"), exports);
|
|
19
29
|
__exportStar(require("./create-booking-entry-response-class"), exports);
|
|
20
30
|
__exportStar(require("./create-financial-account-request-dto"), exports);
|
|
@@ -23,9 +33,11 @@ __exportStar(require("./create-number-range-request-dto"), exports);
|
|
|
23
33
|
__exportStar(require("./create-number-range-response-class"), exports);
|
|
24
34
|
__exportStar(require("./create-personal-account-request-dto"), exports);
|
|
25
35
|
__exportStar(require("./create-personal-account-response-class"), exports);
|
|
36
|
+
__exportStar(require("./export-accounting-config-response-class"), exports);
|
|
26
37
|
__exportStar(require("./financial-account-class"), exports);
|
|
27
38
|
__exportStar(require("./financial-transaction-class"), exports);
|
|
28
39
|
__exportStar(require("./financial-transaction-data-dto"), exports);
|
|
40
|
+
__exportStar(require("./get-accounting-categories-response-class"), exports);
|
|
29
41
|
__exportStar(require("./get-booking-entry-response-class"), exports);
|
|
30
42
|
__exportStar(require("./get-financial-account-response-class"), exports);
|
|
31
43
|
__exportStar(require("./get-financial-transaction-response-class"), exports);
|
|
@@ -40,3 +52,5 @@ __exportStar(require("./list-number-range-response-class"), exports);
|
|
|
40
52
|
__exportStar(require("./list-personal-accounts-response-class"), exports);
|
|
41
53
|
__exportStar(require("./number-range-class"), exports);
|
|
42
54
|
__exportStar(require("./personal-account-class"), exports);
|
|
55
|
+
__exportStar(require("./validate-accounting-config-request-dto"), exports);
|
|
56
|
+
__exportStar(require("./validate-accounting-config-response-class"), exports);
|
|
@@ -51,6 +51,12 @@ export interface PersonalAccountClass {
|
|
|
51
51
|
* @memberof PersonalAccountClass
|
|
52
52
|
*/
|
|
53
53
|
'partnerNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* The partner code of the account
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PersonalAccountClass
|
|
58
|
+
*/
|
|
59
|
+
'partnerCode': string;
|
|
54
60
|
/**
|
|
55
61
|
* The entity code of the account (account code, bank account code, etc...).
|
|
56
62
|
* @type {string}
|
|
@@ -58,7 +64,7 @@ export interface PersonalAccountClass {
|
|
|
58
64
|
*/
|
|
59
65
|
'entityCode'?: string;
|
|
60
66
|
/**
|
|
61
|
-
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"
|
|
67
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
|
|
62
68
|
* @type {string}
|
|
63
69
|
* @memberof PersonalAccountClass
|
|
64
70
|
*/
|
|
@@ -98,7 +104,7 @@ export declare const PersonalAccountClassTypeEnum: {
|
|
|
98
104
|
readonly Asset: "asset";
|
|
99
105
|
readonly Liability: "liability";
|
|
100
106
|
readonly Equity: "equity";
|
|
101
|
-
readonly
|
|
107
|
+
readonly Income: "income";
|
|
102
108
|
readonly Expense: "expense";
|
|
103
109
|
readonly OpeningBalance: "opening_balance";
|
|
104
110
|
};
|
|
@@ -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 ValidateAccountingConfigRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface ValidateAccountingConfigRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* The accounting config data to validate
|
|
21
|
+
* @type {AccountingConfigDataDto}
|
|
22
|
+
* @memberof ValidateAccountingConfigRequestDto
|
|
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,30 @@
|
|
|
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 ValidateAccountingConfigResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidateAccountingConfigResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the accounting config is valid
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ValidateAccountingConfigResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'isValid': boolean;
|
|
24
|
+
/**
|
|
25
|
+
* When isValid is false, a human-readable explanation of why the config is invalid
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ValidateAccountingConfigResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'validationMessage'?: string;
|
|
30
|
+
}
|
|
@@ -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,80 @@
|
|
|
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 AccountMappingClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountMappingClass {
|
|
23
|
+
/**
|
|
24
|
+
* The category of the chart of accounts that will be mapped to a financial account
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountMappingClass
|
|
27
|
+
*/
|
|
28
|
+
'functionalCategory': AccountMappingClassFunctionalCategoryEnum;
|
|
29
|
+
/**
|
|
30
|
+
* A label of for the account mapping
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountMappingClass
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
* The financial account number that will be mapped to the category
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AccountMappingClass
|
|
39
|
+
*/
|
|
40
|
+
'financialAccountNumber': string;
|
|
41
|
+
/**
|
|
42
|
+
* The credit amount in cents
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AccountMappingClass
|
|
45
|
+
*/
|
|
46
|
+
'creditOpeningAmountInCents': number;
|
|
47
|
+
/**
|
|
48
|
+
* The debit amount in cents
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof AccountMappingClass
|
|
51
|
+
*/
|
|
52
|
+
'debitOpeningAmountInCents': number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const AccountMappingClassFunctionalCategoryEnum = {
|
|
56
|
+
BankAcc: 'bank_acc',
|
|
57
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
58
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
59
|
+
TaxDueAcc: 'tax_due_acc',
|
|
60
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
61
|
+
VatDueAcc: 'vat_due_acc',
|
|
62
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
63
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
64
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
65
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
66
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
67
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
68
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
69
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
70
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
71
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
72
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
73
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
74
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
75
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
76
|
+
} as const;
|
|
77
|
+
|
|
78
|
+
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
79
|
+
|
|
80
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 AccountingCategoryClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingCategoryClass {
|
|
23
|
+
/**
|
|
24
|
+
* The functional category
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingCategoryClass
|
|
27
|
+
*/
|
|
28
|
+
'category': string;
|
|
29
|
+
/**
|
|
30
|
+
* True if the category allows multiple defined accounts, like revenue and expense categories that may have one for each product.
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof AccountingCategoryClass
|
|
33
|
+
*/
|
|
34
|
+
'isPoolCategory': boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The accounttype of the category
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AccountingCategoryClass
|
|
39
|
+
*/
|
|
40
|
+
'type': AccountingCategoryClassTypeEnum;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const AccountingCategoryClassTypeEnum = {
|
|
44
|
+
Asset: 'asset',
|
|
45
|
+
Liability: 'liability',
|
|
46
|
+
Equity: 'equity',
|
|
47
|
+
Income: 'income',
|
|
48
|
+
Expense: 'expense',
|
|
49
|
+
OpeningBalance: 'opening_balance'
|
|
50
|
+
} as const;
|
|
51
|
+
|
|
52
|
+
export type AccountingCategoryClassTypeEnum = typeof AccountingCategoryClassTypeEnum[keyof typeof AccountingCategoryClassTypeEnum];
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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 { AccountingConfigDataClass } from './accounting-config-data-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AccountingConfigClass
|
|
22
|
+
*/
|
|
23
|
+
export interface AccountingConfigClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AccountingConfigClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AccountingConfigClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* The configuration details
|
|
38
|
+
* @type {AccountingConfigDataClass}
|
|
39
|
+
* @memberof AccountingConfigClass
|
|
40
|
+
*/
|
|
41
|
+
'config'?: AccountingConfigDataClass;
|
|
42
|
+
/**
|
|
43
|
+
* Product slug this config is scoped to; absent for the tenant default config.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountingConfigClass
|
|
46
|
+
*/
|
|
47
|
+
'productSlug'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Identifier of the user who created the record.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AccountingConfigClass
|
|
52
|
+
*/
|
|
53
|
+
'createdBy': string;
|
|
54
|
+
/**
|
|
55
|
+
* Identifier of the user who last updated the record.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AccountingConfigClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedBy': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was created.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AccountingConfigClass
|
|
64
|
+
*/
|
|
65
|
+
'createdAt': string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was updated.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AccountingConfigClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedAt': string;
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { AccountMappingClass } from './account-mapping-class';
|
|
17
|
+
import { AccountingConfigurationClass } from './accounting-configuration-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface AccountingConfigDataClass
|
|
23
|
+
*/
|
|
24
|
+
export interface AccountingConfigDataClass {
|
|
25
|
+
/**
|
|
26
|
+
* The activation date of the accounting configuration
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AccountingConfigDataClass
|
|
29
|
+
*/
|
|
30
|
+
'activationDate'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Configuration of the chart of accounts
|
|
33
|
+
* @type {Array<AccountMappingClass>}
|
|
34
|
+
* @memberof AccountingConfigDataClass
|
|
35
|
+
*/
|
|
36
|
+
'defaultAccountMappings'?: Array<AccountMappingClass>;
|
|
37
|
+
/**
|
|
38
|
+
* The accounting configuration details
|
|
39
|
+
* @type {AccountingConfigurationClass}
|
|
40
|
+
* @memberof AccountingConfigDataClass
|
|
41
|
+
*/
|
|
42
|
+
'accountingConfiguration'?: AccountingConfigurationClass;
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* The accounting configuration
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AccountingConfigDataDtoAccountingConfiguration
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingConfigDataDtoAccountingConfiguration {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingConfigDataDtoAccountingConfiguration
|
|
27
|
+
*/
|
|
28
|
+
'settlementRecognitionMode': AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountingConfigDataDtoAccountingConfiguration
|
|
33
|
+
*/
|
|
34
|
+
'defaultTaxHandling': AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof AccountingConfigDataDtoAccountingConfiguration
|
|
39
|
+
*/
|
|
40
|
+
'toleranceAmountInCents': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
|
|
44
|
+
Soll: 'SOLL',
|
|
45
|
+
Ist: 'IST'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
|
|
49
|
+
export const AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
|
|
50
|
+
CarrierPays: 'CARRIER_PAYS',
|
|
51
|
+
MgaPays: 'MGA_PAYS'
|
|
52
|
+
} as const;
|
|
53
|
+
|
|
54
|
+
export type AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
|
|
55
|
+
|
|
56
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
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 AccountingConfigDataDtoDefaultAccountMappings
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingConfigDataDtoDefaultAccountMappings {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
27
|
+
*/
|
|
28
|
+
'functionalCategory': AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
39
|
+
*/
|
|
40
|
+
'financialAccountNumber': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
45
|
+
*/
|
|
46
|
+
'creditOpeningAmountInCents': number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
51
|
+
*/
|
|
52
|
+
'debitOpeningAmountInCents': number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
|
|
56
|
+
BankAcc: 'bank_acc',
|
|
57
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
58
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
59
|
+
TaxDueAcc: 'tax_due_acc',
|
|
60
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
61
|
+
VatDueAcc: 'vat_due_acc',
|
|
62
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
63
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
64
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
65
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
66
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
67
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
68
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
69
|
+
FeeRevenueAcc: 'fee_revenue_acc',
|
|
70
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
71
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
72
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
73
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
74
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
75
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
76
|
+
} as const;
|
|
77
|
+
|
|
78
|
+
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
79
|
+
|
|
80
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
|
|
17
|
+
import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface AccountingConfigDataDto
|
|
23
|
+
*/
|
|
24
|
+
export interface AccountingConfigDataDto {
|
|
25
|
+
/**
|
|
26
|
+
* The activation date of the accounting configuration
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AccountingConfigDataDto
|
|
29
|
+
*/
|
|
30
|
+
'activationDate'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The chart of accounts configuration
|
|
33
|
+
* @type {Array<AccountingConfigDataDtoDefaultAccountMappings>}
|
|
34
|
+
* @memberof AccountingConfigDataDto
|
|
35
|
+
*/
|
|
36
|
+
'defaultAccountMappings': Array<AccountingConfigDataDtoDefaultAccountMappings>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {AccountingConfigDataDtoAccountingConfiguration}
|
|
40
|
+
* @memberof AccountingConfigDataDto
|
|
41
|
+
*/
|
|
42
|
+
'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 AccountingConfigurationClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountingConfigurationClass {
|
|
23
|
+
/**
|
|
24
|
+
* The mode of settlement recognition, can be \"SOLL\" or \"IST\"
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountingConfigurationClass
|
|
27
|
+
*/
|
|
28
|
+
'settlementRecognitionMode': string;
|
|
29
|
+
/**
|
|
30
|
+
* The default tax handling, can be \"CARRIER_PAYS\" or \"MGA_PAYS\"
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountingConfigurationClass
|
|
33
|
+
*/
|
|
34
|
+
'defaultTaxHandling': string;
|
|
35
|
+
/**
|
|
36
|
+
* The tolerance amount in cents
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof AccountingConfigurationClass
|
|
39
|
+
*/
|
|
40
|
+
'toleranceAmountInCents': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -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 CreateAndEnableSubledgerRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateAndEnableSubledgerRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Configuration for the accounting system.
|
|
26
|
+
* @type {AccountingConfigDataDto}
|
|
27
|
+
* @memberof CreateAndEnableSubledgerRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfigData': AccountingConfigDataDto;
|
|
30
|
+
}
|
|
31
|
+
|