@emilgroup/accounting-sdk 1.28.1-beta.3 → 1.28.1-beta.30
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 +22 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +1137 -0
- package/api/financial-accounts-api.ts +12 -12
- package/api.ts +2 -0
- package/base.ts +1 -0
- package/dist/api/accounting-configs-api.d.ts +624 -0
- package/dist/api/accounting-configs-api.js +1031 -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/base.d.ts +2 -1
- package/dist/base.js +1 -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 +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-accounting-configuration.d.ts +46 -0
- package/dist/models/create-accounting-config-data-dto-accounting-configuration.js +24 -0
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.d.ts +59 -0
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.js +38 -0
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.d.ts +25 -0
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.js +15 -0
- package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.d.ts +65 -0
- package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.js +38 -0
- package/dist/models/create-accounting-config-data-dto-opening-balances.d.ts +25 -0
- package/dist/models/create-accounting-config-data-dto-opening-balances.js +15 -0
- package/dist/models/create-accounting-config-data-dto.d.ts +45 -0
- package/dist/models/create-accounting-config-data-dto.js +15 -0
- package/dist/models/create-accounting-config-request-dto.d.ts +31 -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/create-financial-account-request-dto.d.ts +36 -1
- 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 +10 -4
- package/dist/models/create-personal-account-request-dto.js +3 -3
- package/dist/models/financial-account-class.d.ts +20 -2
- package/dist/models/financial-account-class.js +1 -1
- 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 +21 -0
- package/dist/models/index.js +21 -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/personal-account-class.d.ts +8 -2
- package/dist/models/personal-account-class.js +1 -1
- 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 +73 -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-accounting-configuration.ts +56 -0
- package/models/create-accounting-config-data-dto-chart-of-accounts-config-items.ts +68 -0
- package/models/create-accounting-config-data-dto-chart-of-accounts-config.ts +31 -0
- package/models/create-accounting-config-data-dto-opening-balances-opening-balances.ts +74 -0
- package/models/create-accounting-config-data-dto-opening-balances.ts +31 -0
- package/models/create-accounting-config-data-dto.ts +51 -0
- package/models/create-accounting-config-request-dto.ts +37 -0
- package/models/create-accounting-config-response-class.ts +31 -0
- package/models/create-financial-account-request-dto.ts +37 -1
- package/models/create-number-range-request-dto.ts +4 -4
- package/models/create-personal-account-request-dto.ts +10 -4
- package/models/financial-account-class.ts +20 -2
- package/models/get-accounting-config-response-class.ts +31 -0
- package/models/index.ts +21 -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/personal-account-class.ts +8 -2
- 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 +2 -2
|
@@ -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,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 CreateAccountingConfigDataDtoAccountingConfiguration
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAccountingConfigDataDtoAccountingConfiguration {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateAccountingConfigDataDtoAccountingConfiguration
|
|
27
|
+
*/
|
|
28
|
+
'settlementRecognitionMode': CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateAccountingConfigDataDtoAccountingConfiguration
|
|
33
|
+
*/
|
|
34
|
+
'defaultTaxHandling': CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CreateAccountingConfigDataDtoAccountingConfiguration
|
|
39
|
+
*/
|
|
40
|
+
'toleranceAmountInCents': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
|
|
44
|
+
Soll: 'SOLL',
|
|
45
|
+
Ist: 'IST'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
|
|
49
|
+
export const CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
|
|
50
|
+
CarrierPays: 'CARRIER_PAYS',
|
|
51
|
+
MgaPays: 'MGA_PAYS'
|
|
52
|
+
} as const;
|
|
53
|
+
|
|
54
|
+
export type CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
|
|
55
|
+
|
|
56
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
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 CreateAccountingConfigDataDtoChartOfAccountsConfigItems
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAccountingConfigDataDtoChartOfAccountsConfigItems {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
|
|
27
|
+
*/
|
|
28
|
+
'category': CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateAccountingConfigDataDtoChartOfAccountsConfigItems
|
|
39
|
+
*/
|
|
40
|
+
'financialAccountNumber': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum = {
|
|
44
|
+
BankAcc: 'bank_acc',
|
|
45
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
46
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
47
|
+
TaxDueAcc: 'tax_due_acc',
|
|
48
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
49
|
+
VatDueAcc: 'vat_due_acc',
|
|
50
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
51
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
52
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
53
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
54
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
55
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
56
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
57
|
+
FeeRevenueAccAcc: 'fee_revenue_acc_acc',
|
|
58
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
59
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
60
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
61
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
62
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
63
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
64
|
+
} as const;
|
|
65
|
+
|
|
66
|
+
export type CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum = typeof CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum[keyof typeof CreateAccountingConfigDataDtoChartOfAccountsConfigItemsCategoryEnum];
|
|
67
|
+
|
|
68
|
+
|
|
@@ -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 { CreateAccountingConfigDataDtoChartOfAccountsConfigItems } from './create-accounting-config-data-dto-chart-of-accounts-config-items';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The chart of accounts configuration
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateAccountingConfigDataDtoChartOfAccountsConfig
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateAccountingConfigDataDtoChartOfAccountsConfig {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<CreateAccountingConfigDataDtoChartOfAccountsConfigItems>}
|
|
27
|
+
* @memberof CreateAccountingConfigDataDtoChartOfAccountsConfig
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CreateAccountingConfigDataDtoChartOfAccountsConfigItems>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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 CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
|
|
27
|
+
*/
|
|
28
|
+
'category': CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
|
|
33
|
+
*/
|
|
34
|
+
'financialAccountNumber': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
|
|
39
|
+
*/
|
|
40
|
+
'creditAmountInCents': number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances
|
|
45
|
+
*/
|
|
46
|
+
'debitAmountInCents': number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum = {
|
|
50
|
+
BankAcc: 'bank_acc',
|
|
51
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
52
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
53
|
+
TaxDueAcc: 'tax_due_acc',
|
|
54
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
55
|
+
VatDueAcc: 'vat_due_acc',
|
|
56
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
57
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
58
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
59
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
60
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
61
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
62
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
63
|
+
FeeRevenueAccAcc: 'fee_revenue_acc_acc',
|
|
64
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
65
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
66
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
67
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
68
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
69
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
70
|
+
} as const;
|
|
71
|
+
|
|
72
|
+
export type CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum = typeof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum[keyof typeof CreateAccountingConfigDataDtoOpeningBalancesOpeningBalancesCategoryEnum];
|
|
73
|
+
|
|
74
|
+
|
|
@@ -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 { CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances } from './create-accounting-config-data-dto-opening-balances-opening-balances';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The opening balances
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateAccountingConfigDataDtoOpeningBalances
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateAccountingConfigDataDtoOpeningBalances {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances>}
|
|
27
|
+
* @memberof CreateAccountingConfigDataDtoOpeningBalances
|
|
28
|
+
*/
|
|
29
|
+
'openingBalances': Array<CreateAccountingConfigDataDtoOpeningBalancesOpeningBalances>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { CreateAccountingConfigDataDtoAccountingConfiguration } from './create-accounting-config-data-dto-accounting-configuration';
|
|
17
|
+
import { CreateAccountingConfigDataDtoChartOfAccountsConfig } from './create-accounting-config-data-dto-chart-of-accounts-config';
|
|
18
|
+
import { CreateAccountingConfigDataDtoOpeningBalances } from './create-accounting-config-data-dto-opening-balances';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CreateAccountingConfigDataDto
|
|
24
|
+
*/
|
|
25
|
+
export interface CreateAccountingConfigDataDto {
|
|
26
|
+
/**
|
|
27
|
+
* The activation date of the accounting configuration
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreateAccountingConfigDataDto
|
|
30
|
+
*/
|
|
31
|
+
'activationDate'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {CreateAccountingConfigDataDtoChartOfAccountsConfig}
|
|
35
|
+
* @memberof CreateAccountingConfigDataDto
|
|
36
|
+
*/
|
|
37
|
+
'chartOfAccountsConfig'?: CreateAccountingConfigDataDtoChartOfAccountsConfig;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {CreateAccountingConfigDataDtoAccountingConfiguration}
|
|
41
|
+
* @memberof CreateAccountingConfigDataDto
|
|
42
|
+
*/
|
|
43
|
+
'accountingConfiguration'?: CreateAccountingConfigDataDtoAccountingConfiguration;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {CreateAccountingConfigDataDtoOpeningBalances}
|
|
47
|
+
* @memberof CreateAccountingConfigDataDto
|
|
48
|
+
*/
|
|
49
|
+
'openingBalances'?: CreateAccountingConfigDataDtoOpeningBalances;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { CreateAccountingConfigDataDto } from './create-accounting-config-data-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateAccountingConfigRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateAccountingConfigRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Configuration for the accounting system.
|
|
26
|
+
* @type {CreateAccountingConfigDataDto}
|
|
27
|
+
* @memberof CreateAccountingConfigRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfigData': CreateAccountingConfigDataDto;
|
|
30
|
+
/**
|
|
31
|
+
* Product slug to scope this config to. Omit to create the tenant default config. A tenant may have at most one config per product and one default.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateAccountingConfigRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'productSlug'?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -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 CreateAccountingConfigResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateAccountingConfigResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The accounting configuration created
|
|
26
|
+
* @type {AccountingConfigClass}
|
|
27
|
+
* @memberof CreateAccountingConfigResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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
|
+
FeeRevenueAccAcc: 'fee_revenue_acc_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
|
|