taxtank-core 0.32.7 → 0.32.8
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/esm2022/lib/collections/collection.mjs +1 -1
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +1 -3
- package/esm2022/lib/forms/transaction/allocation-rule.form.mjs +2 -2
- package/esm2022/lib/models/chart-accounts/chart-accounts.mjs +6 -21
- package/esm2022/lib/services/http/rest/rest-old.service.mjs +8 -1
- package/esm2022/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +1 -1
- package/fesm2022/taxtank-core.mjs +12 -22
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +1 -3
- package/lib/models/chart-accounts/chart-accounts.d.ts +1 -7
- package/lib/services/http/rest/rest-old.service.d.ts +5 -0
- package/package.json +1 -1
|
@@ -62,8 +62,6 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
62
62
|
isIncome(): boolean;
|
|
63
63
|
isExpense(): boolean;
|
|
64
64
|
isProperty(): boolean;
|
|
65
|
-
isWork(): boolean;
|
|
66
|
-
isSole(): boolean;
|
|
67
65
|
isWorkExpense(): boolean;
|
|
68
66
|
isSoleExpense(): boolean;
|
|
69
67
|
/**
|
|
@@ -80,6 +78,7 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
80
78
|
* Check if chart accounts category is depreciation
|
|
81
79
|
*/
|
|
82
80
|
isDepreciation(): boolean;
|
|
81
|
+
isSoleIncome(): boolean;
|
|
83
82
|
/**
|
|
84
83
|
* Check if transaction chart account is work related car expenses
|
|
85
84
|
*/
|
|
@@ -112,13 +111,8 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
112
111
|
*/
|
|
113
112
|
isSalaryIncluded(): boolean;
|
|
114
113
|
isPropertyCapitalWorks(): boolean;
|
|
115
|
-
hasTaxField(): boolean;
|
|
116
114
|
isTaxable(): boolean;
|
|
117
115
|
isTransfer(): boolean;
|
|
118
116
|
isDividends(): boolean;
|
|
119
117
|
isHomeOfficeWorkHours(): boolean;
|
|
120
|
-
/**
|
|
121
|
-
* income requiring extra data like adjustments/payer/etc
|
|
122
|
-
*/
|
|
123
|
-
isIncomeWithMeta(): boolean;
|
|
124
118
|
}
|
|
@@ -88,10 +88,15 @@ export declare abstract class RestService<BaseModel, Model extends BaseModel> im
|
|
|
88
88
|
*/
|
|
89
89
|
delete(model: Model): Observable<void>;
|
|
90
90
|
/**
|
|
91
|
+
* @deprecated use removeBatch
|
|
91
92
|
* delete multiple instances of class
|
|
92
93
|
* @param models Class instances array for deleting
|
|
93
94
|
*/
|
|
94
95
|
deleteBatch(models: Model[]): Observable<void>;
|
|
96
|
+
/**
|
|
97
|
+
* collect array of redo transactions requests observable
|
|
98
|
+
*/
|
|
99
|
+
removeBatch(models: Model[]): Observable<void>[];
|
|
95
100
|
/**
|
|
96
101
|
* clear service cache
|
|
97
102
|
*/
|