taxtank-core 0.32.70 → 0.32.72
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/db/Enums/user-event-type-type.enum.mjs +4 -2
- package/esm2022/lib/db/Models/transaction/transaction.mjs +1 -1
- package/esm2022/lib/forms/transaction/allocation-rule.form.mjs +28 -1
- package/esm2022/lib/forms/transaction/transaction.form.mjs +1 -1
- package/esm2022/lib/models/transaction/allocation-rule-transaction.mjs +16 -12
- package/esm2022/lib/models/transaction/allocation-rule.mjs +2 -1
- package/esm2022/lib/models/transaction/transaction.mjs +4 -2
- package/esm2022/lib/services/http/bank/bank-connection/bank-connection.service.mjs +2 -2
- package/esm2022/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +8 -3
- package/esm2022/lib/services/http/transaction/transaction.service.mjs +11 -3
- package/fesm2022/taxtank-core.mjs +70 -22
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/db/Enums/user-event-type-type.enum.d.ts +3 -1
- package/lib/db/Models/transaction/transaction.d.ts +3 -0
- package/lib/forms/transaction/allocation-rule.form.d.ts +9 -0
- package/lib/models/transaction/allocation-rule.d.ts +1 -0
- package/lib/models/transaction/transaction.d.ts +3 -0
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +0 -1
- package/package.json +1 -1
|
@@ -26,7 +26,9 @@ export declare enum UserEventTypeTypeEnum {
|
|
|
26
26
|
BASIQ_FIRST_IMPORT_COMPLETE = 2031,
|
|
27
27
|
BASIQ_AUTHORIZATION_FAIL = 2032,
|
|
28
28
|
TRANSACTION_ALLOCATE_REMINDER = 2033,
|
|
29
|
-
|
|
29
|
+
INVOICE_AUTO_ALLOCATED = 2035,
|
|
30
|
+
INVOICE_AUTO_PART_ALLOCATED = 2036,
|
|
31
|
+
RULES_AUTO_ALLOCATED = 2037,
|
|
30
32
|
REGISTRATION_INVITE = 2040,
|
|
31
33
|
REGISTRATION_INVITE_ACCEPTED = 2041,
|
|
32
34
|
CLIENT_EMAIL_CONFIRMED = 2050,
|
|
@@ -31,6 +31,9 @@ export declare class Transaction extends TransactionBase {
|
|
|
31
31
|
chartAccounts?: ChartAccounts;
|
|
32
32
|
incomeSource?: IncomeSource;
|
|
33
33
|
parentTransaction?: Transaction;
|
|
34
|
+
/**
|
|
35
|
+
* list of child transactions (fees)
|
|
36
|
+
*/
|
|
34
37
|
childTransactions?: Transaction[];
|
|
35
38
|
property?: Property;
|
|
36
39
|
metaFields?: TransactionMetaField[];
|
|
@@ -30,4 +30,13 @@ export declare class AllocationRuleForm extends AbstractForm<AllocationRule> imp
|
|
|
30
30
|
get tankTypeLabel(): string;
|
|
31
31
|
private setupFieldsByType;
|
|
32
32
|
private setupFieldsByTankType;
|
|
33
|
+
isIncome(): boolean;
|
|
34
|
+
isExpense(): boolean;
|
|
35
|
+
isTransfer(): boolean;
|
|
36
|
+
isPropertyTank(): boolean;
|
|
37
|
+
isWorkTank(): boolean;
|
|
38
|
+
isSoleTank(): boolean;
|
|
39
|
+
isPropertyIncome(): boolean;
|
|
40
|
+
isWorkIncome(): boolean;
|
|
41
|
+
isSoleIncome(): boolean;
|
|
33
42
|
}
|
|
@@ -11,6 +11,7 @@ export declare class AllocationRule extends AllocationRuleBase {
|
|
|
11
11
|
transferBankAccount?: BankAccount;
|
|
12
12
|
type: AllocationRuleTypeEnum;
|
|
13
13
|
conditionOperator: AllocationRuleConditionOperatorEnum;
|
|
14
|
+
autoAllocate: boolean;
|
|
14
15
|
get typeLabel(): string;
|
|
15
16
|
isIncome(): boolean;
|
|
16
17
|
isExpense(): boolean;
|
|
@@ -13,6 +13,9 @@ import { Expense } from '../../interfaces';
|
|
|
13
13
|
import { SoleInvoiceItem } from '../sole';
|
|
14
14
|
export declare class Transaction extends TransactionBase implements Expense {
|
|
15
15
|
static className: string;
|
|
16
|
+
/**
|
|
17
|
+
* @TODO rename to childTransactions
|
|
18
|
+
*/
|
|
16
19
|
transactions: Transaction[];
|
|
17
20
|
property: Property;
|
|
18
21
|
chartAccounts: ChartAccounts;
|
|
@@ -15,7 +15,6 @@ export declare class BankConnectionService extends RestService<BankConnectionBas
|
|
|
15
15
|
collectionClass: typeof Collection;
|
|
16
16
|
endpointUri: string;
|
|
17
17
|
disabledMethods: RestMethod[];
|
|
18
|
-
mercureTopic: string;
|
|
19
18
|
constructor(environment: any);
|
|
20
19
|
listenEvents(): void;
|
|
21
20
|
/**
|