taxtank-core 0.33.51 → 0.33.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/esm2022/src/lib/collections/depreciation.collection.mjs +2 -2
  2. package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +2 -2
  3. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
  4. package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +2 -2
  5. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +4 -1
  6. package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +6 -6
  7. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  8. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +6 -6
  9. package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +3 -3
  10. package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +2 -2
  11. package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +2 -2
  12. package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +11 -11
  13. package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +3 -3
  14. package/esm2022/src/lib/forms/transaction/work/work-income.form.mjs +6 -4
  15. package/esm2022/src/lib/models/bank/allocation-group.mjs +2 -2
  16. package/esm2022/src/lib/models/bank/bank-account.mjs +1 -12
  17. package/esm2022/src/lib/models/bank/bank-transaction.mjs +3 -2
  18. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +2 -2
  19. package/esm2022/src/lib/models/transaction/allocation-rule.mjs +4 -4
  20. package/esm2022/src/lib/models/transaction/transaction.mjs +3 -4
  21. package/esm2022/src/lib/models/user/user.mjs +5 -5
  22. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +2 -2
  23. package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +3 -3
  24. package/fesm2022/taxtank-core.mjs +53 -59
  25. package/fesm2022/taxtank-core.mjs.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.d.ts +3 -0
  28. package/src/lib/db/Enums/tank-type.enum.d.ts +5 -5
  29. package/src/lib/db/Models/bank/bank-account.d.ts +2 -0
  30. package/src/lib/models/bank/bank-account.d.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.51",
3
+ "version": "0.33.52",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -1,3 +1,6 @@
1
+ /**
2
+ * list of child transactions included in parent amount
3
+ */
1
4
  export declare enum ChartAccountsAdjustmentIncludedListEnum {
2
5
  ALLOWANCE = 4,
3
6
  TIPS = 5,
@@ -1,8 +1,8 @@
1
1
  export declare enum TankTypeEnum {
2
- PROPERTY = 1,
3
- WORK = 2,
4
- OTHER = 3,
5
- SOLE = 4,
6
- HOLDING = 5,
2
+ PROPERTY_TANK = 1,
3
+ WORK_TANK = 2,
4
+ OTHER_TANK = 3,
5
+ SOLE_TANK = 4,
6
+ HOLDING_TANK = 5,
7
7
  PERSONAL = 6
8
8
  }
@@ -6,11 +6,13 @@ import { BankAccountBalance } from './bank-account-balance';
6
6
  import { Loan } from '../loan/loan';
7
7
  import { SoleBusinessAllocation } from '../sole/sole-business-allocation';
8
8
  import { ObservableModel } from '../observable-model';
9
+ import { TankTypeEnum } from '../../Enums/tank-type.enum';
9
10
  export declare class BankAccount extends ObservableModel {
10
11
  static className: string;
11
12
  status?: BankAccountStatusEnum;
12
13
  accountId?: string;
13
14
  type?: BankAccountTypeEnum;
15
+ tankType?: TankTypeEnum;
14
16
  accountName?: string;
15
17
  nickname?: string;
16
18
  accountNumber?: string;
@@ -1,7 +1,6 @@
1
1
  import { BankAccount as BankAccountBase } from '../../db/Models/bank/bank-account';
2
2
  import { BankAccountTypeEnum } from '../../db/Enums';
3
3
  import { Loan } from '../loan';
4
- import { TankTypeEnum } from '../../db/Enums/tank-type.enum';
5
4
  import { BankAccountBalance } from '../../db/Models';
6
5
  import { BankAccountProperty } from './bank-account-property';
7
6
  import { BankConnection } from './bank-connection';
@@ -54,7 +53,6 @@ export declare class BankAccount extends BankAccountBase {
54
53
  * check if bank account related to sole tank
55
54
  */
56
55
  isSoleTank(): boolean;
57
- get tankType(): TankTypeEnum;
58
56
  /**
59
57
  * Get Bank account property by id
60
58
  * @param id Id of property