@emilgroup/accounting-sdk-node 1.32.1-beta.105 → 1.32.1-beta.107
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/account-mapping-class.d.ts +3 -2
- package/dist/models/account-mapping-class.js +4 -3
- package/dist/models/accounting-category-class.d.ts +12 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +3 -2
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +4 -3
- package/dist/models/create-financial-account-request-dto.d.ts +3 -2
- package/dist/models/create-financial-account-request-dto.js +4 -3
- package/models/account-mapping-class.ts +4 -3
- package/models/accounting-category-class.ts +12 -0
- package/models/accounting-config-data-dto-default-account-mappings.ts +4 -3
- package/models/create-financial-account-request-dto.ts +4 -3
- package/package.json +1 -1
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-node@1.32.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.32.1-beta.107 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.107
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -58,16 +58,17 @@ export declare const AccountMappingClassFunctionalCategoryEnum: {
|
|
|
58
58
|
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
59
59
|
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
60
60
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
61
|
-
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
62
61
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
63
62
|
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
64
63
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
65
|
-
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
66
64
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
67
65
|
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
68
66
|
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
69
67
|
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
70
68
|
readonly ClaimsPayableAcc: "claims_payable_acc";
|
|
71
69
|
readonly CarrierReceivableAcc: "carrier_receivable_acc";
|
|
70
|
+
readonly BankTransitAcc: "bank_transit_acc";
|
|
71
|
+
readonly CarrierPendingAcc: "carrier_pending_acc";
|
|
72
|
+
readonly CommissionExpenseAcc: "commission_expense_acc";
|
|
72
73
|
};
|
|
73
74
|
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
@@ -26,15 +26,16 @@ exports.AccountMappingClassFunctionalCategoryEnum = {
|
|
|
26
26
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
27
27
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
28
28
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
29
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
30
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
31
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
32
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
35
33
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
36
34
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
37
35
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
38
36
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
39
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
37
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
38
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
39
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
40
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
40
41
|
};
|
|
@@ -33,6 +33,18 @@ export interface AccountingCategoryClass {
|
|
|
33
33
|
* @memberof AccountingCategoryClass
|
|
34
34
|
*/
|
|
35
35
|
'type': AccountingCategoryClassTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* The account number this category is given when the default chart of accounts is provisioned. Categories are returned in ascending order of this number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AccountingCategoryClass
|
|
40
|
+
*/
|
|
41
|
+
'defaultAccountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* True if an account of this category can carry an opening balance.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof AccountingCategoryClass
|
|
46
|
+
*/
|
|
47
|
+
'canCarryOpeningBalance': boolean;
|
|
36
48
|
}
|
|
37
49
|
export declare const AccountingCategoryClassTypeEnum: {
|
|
38
50
|
readonly Asset: "asset";
|
|
@@ -64,16 +64,17 @@ export declare const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCate
|
|
|
64
64
|
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
65
65
|
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
66
66
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
67
|
-
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
68
67
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
69
68
|
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
70
69
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
71
|
-
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
72
70
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
73
71
|
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
74
72
|
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
75
73
|
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
76
74
|
readonly ClaimsPayableAcc: "claims_payable_acc";
|
|
77
75
|
readonly CarrierReceivableAcc: "carrier_receivable_acc";
|
|
76
|
+
readonly BankTransitAcc: "bank_transit_acc";
|
|
77
|
+
readonly CarrierPendingAcc: "carrier_pending_acc";
|
|
78
|
+
readonly CommissionExpenseAcc: "commission_expense_acc";
|
|
78
79
|
};
|
|
79
80
|
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
@@ -26,15 +26,16 @@ exports.AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
|
|
|
26
26
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
27
27
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
28
28
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
29
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
30
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
31
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
32
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
35
33
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
36
34
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
37
35
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
38
36
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
39
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
37
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
38
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
39
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
40
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
40
41
|
};
|
|
@@ -111,16 +111,17 @@ export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
|
|
|
111
111
|
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
112
112
|
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
113
113
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
114
|
-
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
115
114
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
116
115
|
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
117
116
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
118
|
-
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
119
117
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
120
118
|
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
121
119
|
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
122
120
|
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
123
121
|
readonly ClaimsPayableAcc: "claims_payable_acc";
|
|
124
122
|
readonly CarrierReceivableAcc: "carrier_receivable_acc";
|
|
123
|
+
readonly BankTransitAcc: "bank_transit_acc";
|
|
124
|
+
readonly CarrierPendingAcc: "carrier_pending_acc";
|
|
125
|
+
readonly CommissionExpenseAcc: "commission_expense_acc";
|
|
125
126
|
};
|
|
126
127
|
export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
|
|
@@ -34,15 +34,16 @@ exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
|
34
34
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
35
35
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
36
36
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
37
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
38
37
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
39
38
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
40
39
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
41
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
42
40
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
43
41
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
44
42
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
45
43
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
46
44
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
47
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
45
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
46
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
47
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
48
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
48
49
|
};
|
|
@@ -64,17 +64,18 @@ export const AccountMappingClassFunctionalCategoryEnum = {
|
|
|
64
64
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
65
65
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
66
66
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
67
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
68
67
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
69
68
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
70
69
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
71
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
72
70
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
73
71
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
74
72
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
75
73
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
76
74
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
77
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
75
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
76
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
77
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
78
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
78
79
|
} as const;
|
|
79
80
|
|
|
80
81
|
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
@@ -38,6 +38,18 @@ export interface AccountingCategoryClass {
|
|
|
38
38
|
* @memberof AccountingCategoryClass
|
|
39
39
|
*/
|
|
40
40
|
'type': AccountingCategoryClassTypeEnum;
|
|
41
|
+
/**
|
|
42
|
+
* The account number this category is given when the default chart of accounts is provisioned. Categories are returned in ascending order of this number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof AccountingCategoryClass
|
|
45
|
+
*/
|
|
46
|
+
'defaultAccountNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* True if an account of this category can carry an opening balance.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof AccountingCategoryClass
|
|
51
|
+
*/
|
|
52
|
+
'canCarryOpeningBalance': boolean;
|
|
41
53
|
}
|
|
42
54
|
|
|
43
55
|
export const AccountingCategoryClassTypeEnum = {
|
|
@@ -70,17 +70,18 @@ export const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum
|
|
|
70
70
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
71
71
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
72
72
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
73
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
74
73
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
75
74
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
76
75
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
77
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
78
76
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
79
77
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
80
78
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
81
79
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
82
80
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
83
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
81
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
82
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
83
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
84
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
84
85
|
} as const;
|
|
85
86
|
|
|
86
87
|
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
@@ -116,17 +116,18 @@ export const CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
|
116
116
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
117
117
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
118
118
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
119
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
120
119
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
121
120
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
122
121
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
123
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
124
122
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
125
123
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
126
124
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
127
125
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
128
126
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
129
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
127
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
128
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
129
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
130
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
130
131
|
} as const;
|
|
131
132
|
|
|
132
133
|
export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
|
package/package.json
CHANGED