@emilgroup/accounting-sdk-node 1.27.1-beta.16 → 1.27.1-beta.19
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 +17 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +1144 -0
- package/api.ts +2 -0
- package/dist/api/accounting-configs-api.d.ts +624 -0
- package/dist/api/accounting-configs-api.js +1038 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/accounting-config-class.d.ts +61 -0
- package/dist/models/accounting-config-class.js +15 -0
- package/dist/models/accounting-config-data-class.d.ts +45 -0
- package/dist/models/accounting-config-data-class.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/chart-of-accounts-config-class.d.ts +25 -0
- package/dist/models/chart-of-accounts-config-class.js +15 -0
- package/dist/models/chart-of-accounts-item-class.d.ts +71 -0
- package/dist/models/chart-of-accounts-item-class.js +38 -0
- package/dist/models/create-accounting-config-data-dto.d.ts +42 -0
- package/dist/models/create-accounting-config-data-dto.js +15 -0
- package/dist/models/create-accounting-config-request-dto.d.ts +25 -0
- package/dist/models/create-accounting-config-request-dto.js +15 -0
- package/dist/models/create-accounting-config-response-class.d.ts +25 -0
- package/dist/models/create-accounting-config-response-class.js +15 -0
- package/dist/models/get-accounting-config-response-class.d.ts +25 -0
- package/dist/models/get-accounting-config-response-class.js +15 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/dist/models/inline-object2.d.ts +24 -0
- package/dist/models/inline-object2.js +15 -0
- package/dist/models/list-accounting-configs-response-class.d.ts +43 -0
- package/dist/models/list-accounting-configs-response-class.js +15 -0
- package/dist/models/opening-balance-class.d.ts +65 -0
- package/dist/models/opening-balance-class.js +38 -0
- package/dist/models/opening-balances-class.d.ts +25 -0
- package/dist/models/opening-balances-class.js +15 -0
- package/dist/models/update-chart-of-accounts-response-class.d.ts +25 -0
- package/dist/models/update-chart-of-accounts-response-class.js +15 -0
- 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/accounting-config-class.ts +67 -0
- package/models/accounting-config-data-class.ts +51 -0
- package/models/accounting-configuration-class.ts +42 -0
- package/models/chart-of-accounts-config-class.ts +31 -0
- package/models/chart-of-accounts-item-class.ts +80 -0
- package/models/create-accounting-config-data-dto.ts +48 -0
- package/models/create-accounting-config-request-dto.ts +31 -0
- package/models/create-accounting-config-response-class.ts +31 -0
- package/models/get-accounting-config-response-class.ts +31 -0
- package/models/index.ts +16 -0
- package/models/inline-object2.ts +30 -0
- package/models/list-accounting-configs-response-class.ts +49 -0
- package/models/opening-balance-class.ts +74 -0
- package/models/opening-balances-class.ts +31 -0
- package/models/update-chart-of-accounts-response-class.ts +31 -0
- 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,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,43 @@
|
|
|
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 ListAccountingConfigsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListAccountingConfigsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of accounting configurations
|
|
21
|
+
* @type {Array<AccountingConfigClass>}
|
|
22
|
+
* @memberof ListAccountingConfigsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<AccountingConfigClass>;
|
|
25
|
+
/**
|
|
26
|
+
* The next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListAccountingConfigsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The number of items per page
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListAccountingConfigsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage'?: number;
|
|
37
|
+
/**
|
|
38
|
+
* The total number of items
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListAccountingConfigsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems'?: number;
|
|
43
|
+
}
|
|
@@ -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,65 @@
|
|
|
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 OpeningBalanceClass
|
|
16
|
+
*/
|
|
17
|
+
export interface OpeningBalanceClass {
|
|
18
|
+
/**
|
|
19
|
+
* The category of the opening balance
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OpeningBalanceClass
|
|
22
|
+
*/
|
|
23
|
+
'category': OpeningBalanceClassCategoryEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The financial account number of the opening balance
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OpeningBalanceClass
|
|
28
|
+
*/
|
|
29
|
+
'financialAccountNumber': string;
|
|
30
|
+
/**
|
|
31
|
+
* The credit amount of the opening balance
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof OpeningBalanceClass
|
|
34
|
+
*/
|
|
35
|
+
'creditAmountInCents': number;
|
|
36
|
+
/**
|
|
37
|
+
* The debit amount of the opening balance
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof OpeningBalanceClass
|
|
40
|
+
*/
|
|
41
|
+
'debitAmountInCents': number;
|
|
42
|
+
}
|
|
43
|
+
export declare const OpeningBalanceClassCategoryEnum: {
|
|
44
|
+
readonly BankAcc: "bank_acc";
|
|
45
|
+
readonly TaxPendingAcc: "tax_pending_acc";
|
|
46
|
+
readonly TaxForwardedAcc: "tax_forwarded_acc";
|
|
47
|
+
readonly TaxDueAcc: "tax_due_acc";
|
|
48
|
+
readonly VatPendingAcc: "vat_pending_acc";
|
|
49
|
+
readonly VatDueAcc: "vat_due_acc";
|
|
50
|
+
readonly RevenueBufferAcc: "revenue_buffer_acc";
|
|
51
|
+
readonly RevenueFinalAcc: "revenue_final_acc";
|
|
52
|
+
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
53
|
+
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
54
|
+
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
55
|
+
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
56
|
+
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
57
|
+
readonly FeeRevenueAccAcc: "fee_revenue_acc_acc";
|
|
58
|
+
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
59
|
+
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
60
|
+
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
61
|
+
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
62
|
+
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
63
|
+
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
64
|
+
};
|
|
65
|
+
export type OpeningBalanceClassCategoryEnum = typeof OpeningBalanceClassCategoryEnum[keyof typeof OpeningBalanceClassCategoryEnum];
|
|
@@ -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.OpeningBalanceClassCategoryEnum = void 0;
|
|
17
|
+
exports.OpeningBalanceClassCategoryEnum = {
|
|
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
|
+
FeeRevenueAccAcc: 'fee_revenue_acc_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,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 { OpeningBalanceClass } from './opening-balance-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OpeningBalancesClass
|
|
17
|
+
*/
|
|
18
|
+
export interface OpeningBalancesClass {
|
|
19
|
+
/**
|
|
20
|
+
* The opening balances details
|
|
21
|
+
* @type {Array<OpeningBalanceClass>}
|
|
22
|
+
* @memberof OpeningBalancesClass
|
|
23
|
+
*/
|
|
24
|
+
'openingBalances'?: Array<OpeningBalanceClass>;
|
|
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 { ChartOfAccountsConfigClass } from './chart-of-accounts-config-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateChartOfAccountsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateChartOfAccountsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The updated chart of accounts configuration
|
|
21
|
+
* @type {ChartOfAccountsConfigClass}
|
|
22
|
+
* @memberof UpdateChartOfAccountsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'chartOfAccountsConfig'?: ChartOfAccountsConfigClass;
|
|
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 { CreateAccountingConfigDataDto } from './create-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 {CreateAccountingConfigDataDto}
|
|
22
|
+
* @memberof ValidateAccountingConfigRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'accountingConfigData': CreateAccountingConfigDataDto;
|
|
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,67 @@
|
|
|
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
|
+
* Identifier of the user who created the record.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountingConfigClass
|
|
46
|
+
*/
|
|
47
|
+
'createdBy': string;
|
|
48
|
+
/**
|
|
49
|
+
* Identifier of the user who last updated the record.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AccountingConfigClass
|
|
52
|
+
*/
|
|
53
|
+
'updatedBy': string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was created.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AccountingConfigClass
|
|
58
|
+
*/
|
|
59
|
+
'createdAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was updated.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AccountingConfigClass
|
|
64
|
+
*/
|
|
65
|
+
'updatedAt': string;
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { AccountingConfigurationClass } from './accounting-configuration-class';
|
|
17
|
+
import { ChartOfAccountsConfigClass } from './chart-of-accounts-config-class';
|
|
18
|
+
import { OpeningBalancesClass } from './opening-balances-class';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AccountingConfigDataClass
|
|
24
|
+
*/
|
|
25
|
+
export interface AccountingConfigDataClass {
|
|
26
|
+
/**
|
|
27
|
+
* The activation date of the accounting configuration
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AccountingConfigDataClass
|
|
30
|
+
*/
|
|
31
|
+
'activationDate'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of the chart of accounts
|
|
34
|
+
* @type {ChartOfAccountsConfigClass}
|
|
35
|
+
* @memberof AccountingConfigDataClass
|
|
36
|
+
*/
|
|
37
|
+
'chartOfAccountsConfig'?: ChartOfAccountsConfigClass;
|
|
38
|
+
/**
|
|
39
|
+
* The accounting configuration details
|
|
40
|
+
* @type {AccountingConfigurationClass}
|
|
41
|
+
* @memberof AccountingConfigDataClass
|
|
42
|
+
*/
|
|
43
|
+
'accountingConfiguration'?: AccountingConfigurationClass;
|
|
44
|
+
/**
|
|
45
|
+
* The opening balances details
|
|
46
|
+
* @type {OpeningBalancesClass}
|
|
47
|
+
* @memberof AccountingConfigDataClass
|
|
48
|
+
*/
|
|
49
|
+
'openingBalances'?: OpeningBalancesClass;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -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 { ChartOfAccountsItemClass } from './chart-of-accounts-item-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ChartOfAccountsConfigClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ChartOfAccountsConfigClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of chart of accounts items
|
|
26
|
+
* @type {Array<ChartOfAccountsItemClass>}
|
|
27
|
+
* @memberof ChartOfAccountsConfigClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ChartOfAccountsItemClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 ChartOfAccountsItemClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ChartOfAccountsItemClass {
|
|
23
|
+
/**
|
|
24
|
+
* The category of the chart of accounts that will be mapped to a financial account
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ChartOfAccountsItemClass
|
|
27
|
+
*/
|
|
28
|
+
'category': ChartOfAccountsItemClassCategoryEnum;
|
|
29
|
+
/**
|
|
30
|
+
* A label of for the account mapping
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ChartOfAccountsItemClass
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
* The financial account number that will be mapped to the category
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ChartOfAccountsItemClass
|
|
39
|
+
*/
|
|
40
|
+
'financialAccountNumber': string;
|
|
41
|
+
/**
|
|
42
|
+
* Indicates if the account mapping is the one used as the default for the category
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof ChartOfAccountsItemClass
|
|
45
|
+
*/
|
|
46
|
+
'isStandard': boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates if this mapping is locked and cannot be changed
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof ChartOfAccountsItemClass
|
|
51
|
+
*/
|
|
52
|
+
'isLocked': boolean;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const ChartOfAccountsItemClassCategoryEnum = {
|
|
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
|
+
FeeRevenueAccAcc: 'fee_revenue_acc_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 ChartOfAccountsItemClassCategoryEnum = typeof ChartOfAccountsItemClassCategoryEnum[keyof typeof ChartOfAccountsItemClassCategoryEnum];
|
|
79
|
+
|
|
80
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 CreateAccountingConfigDataDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAccountingConfigDataDto {
|
|
23
|
+
/**
|
|
24
|
+
* The activation date of the accounting configuration
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateAccountingConfigDataDto
|
|
27
|
+
*/
|
|
28
|
+
'activationDate'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The chart of accounts configuration
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof CreateAccountingConfigDataDto
|
|
33
|
+
*/
|
|
34
|
+
'chartOfAccountsConfig'?: object;
|
|
35
|
+
/**
|
|
36
|
+
* The accounting configuration
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof CreateAccountingConfigDataDto
|
|
39
|
+
*/
|
|
40
|
+
'accountingConfiguration'?: object;
|
|
41
|
+
/**
|
|
42
|
+
* The opening balances
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof CreateAccountingConfigDataDto
|
|
45
|
+
*/
|
|
46
|
+
'openingBalances'?: object;
|
|
47
|
+
}
|
|
48
|
+
|