@emilgroup/accounting-sdk-node 1.27.1-beta.17 → 1.27.1-beta.21
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 +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.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 +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 +24 -1
- package/dist/models/create-financial-account-request-dto.js +23 -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 +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 +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.ts +48 -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 +25 -1
- 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 +2 -2
|
@@ -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
|
+
|
|
@@ -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
|
+
|
|
@@ -79,7 +79,7 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof CreateFinancialAccountRequestDto
|
|
81
81
|
*/
|
|
82
|
-
'functionalCategory':
|
|
82
|
+
'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export const CreateFinancialAccountRequestDtoTypeEnum = {
|
|
@@ -92,5 +92,29 @@ export const CreateFinancialAccountRequestDtoTypeEnum = {
|
|
|
92
92
|
} as const;
|
|
93
93
|
|
|
94
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];
|
|
95
119
|
|
|
96
120
|
|
|
@@ -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 GetAccountingConfigResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetAccountingConfigResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The accounting configuration details
|
|
26
|
+
* @type {AccountingConfigClass}
|
|
27
|
+
* @memberof GetAccountingConfigResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
export * from './accounting-config-class';
|
|
2
|
+
export * from './accounting-config-data-class';
|
|
3
|
+
export * from './accounting-configuration-class';
|
|
1
4
|
export * from './booking-entry-class';
|
|
5
|
+
export * from './chart-of-accounts-config-class';
|
|
6
|
+
export * from './chart-of-accounts-item-class';
|
|
7
|
+
export * from './create-accounting-config-data-dto';
|
|
8
|
+
export * from './create-accounting-config-request-dto';
|
|
9
|
+
export * from './create-accounting-config-response-class';
|
|
2
10
|
export * from './create-booking-entry-request-dto';
|
|
3
11
|
export * from './create-booking-entry-response-class';
|
|
4
12
|
export * from './create-financial-account-request-dto';
|
|
@@ -10,17 +18,25 @@ export * from './create-personal-account-response-class';
|
|
|
10
18
|
export * from './financial-account-class';
|
|
11
19
|
export * from './financial-transaction-class';
|
|
12
20
|
export * from './financial-transaction-data-dto';
|
|
21
|
+
export * from './get-accounting-config-response-class';
|
|
13
22
|
export * from './get-booking-entry-response-class';
|
|
14
23
|
export * from './get-financial-account-response-class';
|
|
15
24
|
export * from './get-financial-transaction-response-class';
|
|
16
25
|
export * from './get-number-range-response-class';
|
|
17
26
|
export * from './get-personal-account-response-class';
|
|
27
|
+
export * from './inline-object2';
|
|
18
28
|
export * from './inline-response200';
|
|
19
29
|
export * from './inline-response503';
|
|
30
|
+
export * from './list-accounting-configs-response-class';
|
|
20
31
|
export * from './list-booking-entries-response-class';
|
|
21
32
|
export * from './list-financial-accounts-response-class';
|
|
22
33
|
export * from './list-financial-transactions-response-class';
|
|
23
34
|
export * from './list-number-range-response-class';
|
|
24
35
|
export * from './list-personal-accounts-response-class';
|
|
25
36
|
export * from './number-range-class';
|
|
37
|
+
export * from './opening-balance-class';
|
|
38
|
+
export * from './opening-balances-class';
|
|
26
39
|
export * from './personal-account-class';
|
|
40
|
+
export * from './update-chart-of-accounts-response-class';
|
|
41
|
+
export * from './validate-accounting-config-request-dto';
|
|
42
|
+
export * from './validate-accounting-config-response-class';
|
|
@@ -0,0 +1,30 @@
|
|
|
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 InlineObject2
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineObject2 {
|
|
23
|
+
/**
|
|
24
|
+
* The updated chart of accounts configuration
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof InlineObject2
|
|
27
|
+
*/
|
|
28
|
+
'chartOfAccountsConfig': object;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 ListAccountingConfigsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListAccountingConfigsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of accounting configurations
|
|
26
|
+
* @type {Array<AccountingConfigClass>}
|
|
27
|
+
* @memberof ListAccountingConfigsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<AccountingConfigClass>;
|
|
30
|
+
/**
|
|
31
|
+
* The next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListAccountingConfigsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The number of items per page
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListAccountingConfigsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage'?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The total number of items
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListAccountingConfigsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems'?: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -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 OpeningBalanceClass
|
|
21
|
+
*/
|
|
22
|
+
export interface OpeningBalanceClass {
|
|
23
|
+
/**
|
|
24
|
+
* The category of the opening balance
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof OpeningBalanceClass
|
|
27
|
+
*/
|
|
28
|
+
'category': OpeningBalanceClassCategoryEnum;
|
|
29
|
+
/**
|
|
30
|
+
* The financial account number of the opening balance
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof OpeningBalanceClass
|
|
33
|
+
*/
|
|
34
|
+
'financialAccountNumber': string;
|
|
35
|
+
/**
|
|
36
|
+
* The credit amount of the opening balance
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof OpeningBalanceClass
|
|
39
|
+
*/
|
|
40
|
+
'creditAmountInCents': number;
|
|
41
|
+
/**
|
|
42
|
+
* The debit amount of the opening balance
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof OpeningBalanceClass
|
|
45
|
+
*/
|
|
46
|
+
'debitAmountInCents': number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const OpeningBalanceClassCategoryEnum = {
|
|
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 OpeningBalanceClassCategoryEnum = typeof OpeningBalanceClassCategoryEnum[keyof typeof OpeningBalanceClassCategoryEnum];
|
|
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 { OpeningBalanceClass } from './opening-balance-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface OpeningBalancesClass
|
|
22
|
+
*/
|
|
23
|
+
export interface OpeningBalancesClass {
|
|
24
|
+
/**
|
|
25
|
+
* The opening balances details
|
|
26
|
+
* @type {Array<OpeningBalanceClass>}
|
|
27
|
+
* @memberof OpeningBalancesClass
|
|
28
|
+
*/
|
|
29
|
+
'openingBalances'?: Array<OpeningBalanceClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { ChartOfAccountsConfigClass } from './chart-of-accounts-config-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateChartOfAccountsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateChartOfAccountsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The updated chart of accounts configuration
|
|
26
|
+
* @type {ChartOfAccountsConfigClass}
|
|
27
|
+
* @memberof UpdateChartOfAccountsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'chartOfAccountsConfig'?: ChartOfAccountsConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { CreateAccountingConfigDataDto } from './create-accounting-config-data-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ValidateAccountingConfigRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface ValidateAccountingConfigRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* The accounting config data to validate
|
|
26
|
+
* @type {CreateAccountingConfigDataDto}
|
|
27
|
+
* @memberof ValidateAccountingConfigRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfigData': CreateAccountingConfigDataDto;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ValidateAccountingConfigResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ValidateAccountingConfigResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Whether the accounting config is valid
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof ValidateAccountingConfigResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'isValid': boolean;
|
|
29
|
+
/**
|
|
30
|
+
* When isValid is false, a human-readable explanation of why the config is invalid
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ValidateAccountingConfigResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'validationMessage'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/accounting-sdk-node",
|
|
3
|
-
"version": "1.27.1-beta.
|
|
3
|
+
"version": "1.27.1-beta.21",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/accounting-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "1.
|
|
21
|
+
"axios": "1.18.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|