@emilgroup/accounting-sdk 1.28.1-beta.20 → 1.28.1-beta.22
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/README.md +2 -2
- package/dist/models/accounting-config-class.d.ts +6 -0
- package/dist/models/create-accounting-config-request-dto.d.ts +6 -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/models/accounting-config-class.ts +6 -0
- package/models/create-accounting-config-request-dto.ts +6 -0
- package/models/create-financial-account-request-dto.ts +25 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/accounting-sdk@1.28.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.28.1-beta.22 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.28.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.28.1-beta.22
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -34,6 +34,12 @@ export interface AccountingConfigClass {
|
|
|
34
34
|
* @memberof AccountingConfigClass
|
|
35
35
|
*/
|
|
36
36
|
'config'?: AccountingConfigDataClass;
|
|
37
|
+
/**
|
|
38
|
+
* Product slug this config is scoped to; absent for the tenant default config.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AccountingConfigClass
|
|
41
|
+
*/
|
|
42
|
+
'productSlug'?: string;
|
|
37
43
|
/**
|
|
38
44
|
* Identifier of the user who created the record.
|
|
39
45
|
* @type {string}
|
|
@@ -22,4 +22,10 @@ export interface CreateAccountingConfigRequestDto {
|
|
|
22
22
|
* @memberof CreateAccountingConfigRequestDto
|
|
23
23
|
*/
|
|
24
24
|
'accountingConfigData': CreateAccountingConfigDataDto;
|
|
25
|
+
/**
|
|
26
|
+
* 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.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateAccountingConfigRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'productSlug'?: string;
|
|
25
31
|
}
|
|
@@ -74,7 +74,7 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof CreateFinancialAccountRequestDto
|
|
76
76
|
*/
|
|
77
|
-
'functionalCategory':
|
|
77
|
+
'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
|
|
78
78
|
}
|
|
79
79
|
export declare const CreateFinancialAccountRequestDtoTypeEnum: {
|
|
80
80
|
readonly Asset: "asset";
|
|
@@ -85,3 +85,26 @@ export declare const CreateFinancialAccountRequestDtoTypeEnum: {
|
|
|
85
85
|
readonly OpeningBalance: "opening_balance";
|
|
86
86
|
};
|
|
87
87
|
export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
|
|
88
|
+
export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
|
|
89
|
+
readonly BankAcc: "bank_acc";
|
|
90
|
+
readonly TaxPendingAcc: "tax_pending_acc";
|
|
91
|
+
readonly TaxForwardedAcc: "tax_forwarded_acc";
|
|
92
|
+
readonly TaxDueAcc: "tax_due_acc";
|
|
93
|
+
readonly VatPendingAcc: "vat_pending_acc";
|
|
94
|
+
readonly VatDueAcc: "vat_due_acc";
|
|
95
|
+
readonly RevenueBufferAcc: "revenue_buffer_acc";
|
|
96
|
+
readonly RevenueFinalAcc: "revenue_final_acc";
|
|
97
|
+
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
98
|
+
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
99
|
+
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
100
|
+
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
101
|
+
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
102
|
+
readonly FeeRevenueAccAcc: "fee_revenue_acc_acc";
|
|
103
|
+
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
104
|
+
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
105
|
+
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
106
|
+
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
107
|
+
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
108
|
+
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
109
|
+
};
|
|
110
|
+
export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
|
|
16
|
+
exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
|
|
17
17
|
exports.CreateFinancialAccountRequestDtoTypeEnum = {
|
|
18
18
|
Asset: 'asset',
|
|
19
19
|
Liability: 'liability',
|
|
@@ -22,3 +22,25 @@ exports.CreateFinancialAccountRequestDtoTypeEnum = {
|
|
|
22
22
|
Expense: 'expense',
|
|
23
23
|
OpeningBalance: 'opening_balance'
|
|
24
24
|
};
|
|
25
|
+
exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
26
|
+
BankAcc: 'bank_acc',
|
|
27
|
+
TaxPendingAcc: 'tax_pending_acc',
|
|
28
|
+
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
29
|
+
TaxDueAcc: 'tax_due_acc',
|
|
30
|
+
VatPendingAcc: 'vat_pending_acc',
|
|
31
|
+
VatDueAcc: 'vat_due_acc',
|
|
32
|
+
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
33
|
+
RevenueFinalAcc: 'revenue_final_acc',
|
|
34
|
+
ClaimExpenseAcc: 'claim_expense_acc',
|
|
35
|
+
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
36
|
+
WriteOffExpAcc: 'write_off_exp_acc',
|
|
37
|
+
RoundingDiffAcc: 'rounding_diff_acc',
|
|
38
|
+
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
39
|
+
FeeRevenueAccAcc: 'fee_revenue_acc_acc',
|
|
40
|
+
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
41
|
+
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
42
|
+
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
43
|
+
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
44
|
+
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
45
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
46
|
+
};
|
|
@@ -39,6 +39,12 @@ export interface AccountingConfigClass {
|
|
|
39
39
|
* @memberof AccountingConfigClass
|
|
40
40
|
*/
|
|
41
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;
|
|
42
48
|
/**
|
|
43
49
|
* Identifier of the user who created the record.
|
|
44
50
|
* @type {string}
|
|
@@ -27,5 +27,11 @@ export interface CreateAccountingConfigRequestDto {
|
|
|
27
27
|
* @memberof CreateAccountingConfigRequestDto
|
|
28
28
|
*/
|
|
29
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;
|
|
30
36
|
}
|
|
31
37
|
|
|
@@ -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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/accounting-sdk",
|
|
3
|
-
"version": "1.28.1-beta.
|
|
3
|
+
"version": "1.28.1-beta.22",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/accounting-sdk",
|
|
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
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|