taxtank-core 0.30.18 → 0.30.20

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.
Files changed (80) hide show
  1. package/esm2020/lib/collections/allocation-rule.collection.mjs +14 -1
  2. package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +3 -1
  3. package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +3 -1
  4. package/esm2020/lib/db/Enums/holding/holding-type-category.enum.mjs +10 -0
  5. package/esm2020/lib/db/Enums/subscription/service-product-id.enum.mjs +2 -1
  6. package/esm2020/lib/db/Enums/tank-type.enum.mjs +2 -1
  7. package/esm2020/lib/db/Enums/user-roles.enum.mjs +2 -1
  8. package/esm2020/lib/db/Models/holding/holding-sale.mjs +3 -0
  9. package/esm2020/lib/db/Models/holding/holding-type.mjs +3 -0
  10. package/esm2020/lib/db/Models/holding/holding.mjs +3 -0
  11. package/esm2020/lib/db/Models/holding/index.mjs +4 -0
  12. package/esm2020/lib/db/Models/index.mjs +2 -1
  13. package/esm2020/lib/db/Models/transaction/transaction-base.mjs +14 -1
  14. package/esm2020/lib/forms/client/client-income-types.form.mjs +2 -2
  15. package/esm2020/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +17 -1
  16. package/esm2020/lib/models/account-setup/account-setup-item.mjs +2 -2
  17. package/esm2020/lib/models/account-setup/account-setup-items.const.mjs +14 -4
  18. package/esm2020/lib/models/account-setup/account-setup-items.enum.mjs +2 -1
  19. package/esm2020/lib/models/chart-accounts/chart-accounts-categories.const.mjs +16 -2
  20. package/esm2020/lib/models/chart-accounts/chart-accounts.mjs +4 -1
  21. package/esm2020/lib/models/client/client-income-types.mjs +1 -15
  22. package/esm2020/lib/models/holding/holding-sale.mjs +10 -0
  23. package/esm2020/lib/models/holding/holding-type.mjs +10 -0
  24. package/esm2020/lib/models/holding/holding.mjs +27 -0
  25. package/esm2020/lib/models/holding/index.mjs +4 -0
  26. package/esm2020/lib/models/index.mjs +2 -1
  27. package/esm2020/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +10 -1
  28. package/esm2020/lib/models/service-subscription/service-product.mjs +4 -1
  29. package/esm2020/lib/models/transaction/allocation-rule-condition.mjs +32 -1
  30. package/esm2020/lib/models/transaction/allocation-rule-transaction.mjs +48 -9
  31. package/esm2020/lib/models/transaction/allocation-rule.mjs +64 -3
  32. package/esm2020/lib/models/transaction/transaction.mjs +5 -2
  33. package/esm2020/lib/models/user/user-roles.const.mjs +3 -1
  34. package/esm2020/lib/services/account-setup/account-setup.service.mjs +19 -14
  35. package/esm2020/lib/services/http/holding/holding-sale.service.mjs +27 -0
  36. package/esm2020/lib/services/http/holding/holding-type.service.mjs +27 -0
  37. package/esm2020/lib/services/http/holding/holding.service.mjs +27 -0
  38. package/esm2020/lib/services/http/holding/index.mjs +4 -0
  39. package/esm2020/lib/services/http/index.mjs +2 -1
  40. package/esm2020/lib/services/http/rest/rest.service.mjs +1 -1
  41. package/fesm2015/taxtank-core.mjs +363 -46
  42. package/fesm2015/taxtank-core.mjs.map +1 -1
  43. package/fesm2020/taxtank-core.mjs +362 -46
  44. package/fesm2020/taxtank-core.mjs.map +1 -1
  45. package/lib/collections/allocation-rule.collection.d.ts +8 -0
  46. package/lib/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts +3 -1
  47. package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +3 -1
  48. package/lib/db/Enums/holding/holding-type-category.enum.d.ts +8 -0
  49. package/lib/db/Enums/subscription/service-product-id.enum.d.ts +2 -1
  50. package/lib/db/Enums/tank-type.enum.d.ts +2 -1
  51. package/lib/db/Enums/user-roles.enum.d.ts +1 -0
  52. package/lib/db/Models/holding/holding-sale.d.ts +12 -0
  53. package/lib/db/Models/holding/holding-type.d.ts +12 -0
  54. package/lib/db/Models/holding/holding.d.ts +16 -0
  55. package/lib/db/Models/holding/index.d.ts +3 -0
  56. package/lib/db/Models/index.d.ts +1 -0
  57. package/lib/db/Models/transaction/transaction-base.d.ts +1 -0
  58. package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts +2 -2
  59. package/lib/models/account-setup/account-setup-item.d.ts +1 -1
  60. package/lib/models/account-setup/account-setup-items.enum.d.ts +2 -1
  61. package/lib/models/chart-accounts/chart-accounts.d.ts +1 -0
  62. package/lib/models/client/client-income-types.d.ts +0 -9
  63. package/lib/models/holding/holding-sale.d.ts +12 -0
  64. package/lib/models/holding/holding-type.d.ts +12 -0
  65. package/lib/models/holding/holding.d.ts +17 -0
  66. package/lib/models/holding/index.d.ts +3 -0
  67. package/lib/models/index.d.ts +1 -0
  68. package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts +4 -0
  69. package/lib/models/service-subscription/service-product.d.ts +1 -0
  70. package/lib/models/transaction/allocation-rule-condition.d.ts +4 -0
  71. package/lib/models/transaction/allocation-rule-transaction.d.ts +5 -1
  72. package/lib/models/transaction/allocation-rule.d.ts +19 -1
  73. package/lib/services/account-setup/account-setup.service.d.ts +3 -2
  74. package/lib/services/http/holding/holding-sale.service.d.ts +17 -0
  75. package/lib/services/http/holding/holding-type.service.d.ts +17 -0
  76. package/lib/services/http/holding/holding.service.d.ts +17 -0
  77. package/lib/services/http/holding/index.d.ts +3 -0
  78. package/lib/services/http/index.d.ts +1 -0
  79. package/lib/services/http/rest/rest.service.d.ts +1 -1
  80. package/package.json +1 -1
@@ -1,7 +1,15 @@
1
1
  import { Collection } from './collection';
2
2
  import { AllocationRule } from '../models';
3
+ import { CollectionDictionary } from './collection-dictionary';
4
+ import { BankTransactionCollection } from './bank-transaction.collection';
3
5
  export declare class AllocationRuleCollection extends Collection<AllocationRule> {
4
6
  getExpense(): this;
5
7
  getIncome(): this;
6
8
  getTransfer(): this;
9
+ /**
10
+ * Get dictionary where key is bank transaction id and value is collection of matched rules.
11
+ * Group by this way for better performance
12
+ * @TODO Alex: break bank transactions by pagination in case of bad performance
13
+ */
14
+ groupByBankTransaction(bankTransactions: BankTransactionCollection): CollectionDictionary<AllocationRuleCollection>;
7
15
  }
@@ -12,5 +12,7 @@ export declare enum ChartAccountsCategoryEnum {
12
12
  PERSONAL_EXPENSE = 11,
13
13
  SOLE_INCOME = 12,
14
14
  SOLE_EXPENSE = 13,
15
- SOLE_DEPRECIATION = 14
15
+ SOLE_DEPRECIATION = 14,
16
+ HOLDING_EXPENSE = 15,
17
+ HOLDING_INCOME = 16
16
18
  }
@@ -88,5 +88,7 @@ export declare enum ChartAccountsListEnum {
88
88
  PLATFORM_FEES = 857,
89
89
  PSI_OTHER = 858,
90
90
  PSI_DEDUCTION_ASSOCIATES = 859,
91
- PSI_DEDUCTION_OTHER = 860
91
+ PSI_DEDUCTION_OTHER = 860,
92
+ AUSTRALIAN_GOVERNMENT_SPECIAL_PAYMENTS = 871,
93
+ FHSS = 872
92
94
  }
@@ -0,0 +1,8 @@
1
+ export declare enum HoldingTypeCategoryEnum {
2
+ CRYPTO = 1,
3
+ STOCK = 2,
4
+ UNLISTED_STOCK = 3,
5
+ UNLISTED_UNIT = 4,
6
+ COLLECTIBLE = 5,
7
+ OTHER = 6
8
+ }
@@ -4,5 +4,6 @@ export declare enum ServiceProductIdEnum {
4
4
  PROPERTY_TANK = 3,
5
5
  WORK_TANK = 4,
6
6
  PROPERTIES = 5,
7
- SOLE_TANK = 6
7
+ SOLE_TANK = 6,
8
+ HOLDINGS_TANK = 7
8
9
  }
@@ -2,5 +2,6 @@ export declare enum TankTypeEnum {
2
2
  PROPERTY = 1,
3
3
  WORK = 2,
4
4
  OTHER = 3,
5
- SOLE = 4
5
+ SOLE = 4,
6
+ HOLDING = 5
6
7
  }
@@ -10,5 +10,6 @@ export declare enum UserRolesEnum {
10
10
  WORK_TANK = "ROLE_USER_WORK",
11
11
  PROPERTY_TANK = "ROLE_USER_PROPERTY",
12
12
  SOLE_TANK = "ROLE_USER_SOLE",
13
+ HOLDING_TANK = "ROLE_USER_HOLDING",
13
14
  SWITCH_USER = "ROLE_PREVIOUS_ADMIN"
14
15
  }
@@ -0,0 +1,12 @@
1
+ import { Holding } from './holding';
2
+ import { File } from '../file';
3
+ export declare class HoldingSale {
4
+ quantity?: number;
5
+ price?: number;
6
+ fee?: number;
7
+ total?: number;
8
+ profit?: number;
9
+ id?: number;
10
+ holding?: Holding;
11
+ file?: File;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { HoldingTypeCategoryEnum } from '../../Enums/holding/holding-type-category.enum';
2
+ import { User } from '../user/user';
3
+ export declare class HoldingType {
4
+ category?: HoldingTypeCategoryEnum;
5
+ name?: string;
6
+ ticker?: string;
7
+ description?: string;
8
+ price?: number;
9
+ dividendPercent?: number;
10
+ id?: number;
11
+ user?: User;
12
+ }
@@ -0,0 +1,16 @@
1
+ import { User } from '../user/user';
2
+ import { HoldingType } from './holding-type';
3
+ import { File } from '../file';
4
+ import { HoldingSale } from './holding-sale';
5
+ export declare class Holding {
6
+ isTaxFree?: boolean;
7
+ date?: Date;
8
+ quantity?: number;
9
+ price?: number;
10
+ fee?: number;
11
+ id?: number;
12
+ user?: User;
13
+ type?: HoldingType;
14
+ file?: File;
15
+ sales?: HoldingSale[];
16
+ }
@@ -0,0 +1,3 @@
1
+ export * from './holding';
2
+ export * from './holding-type';
3
+ export * from './holding-sale';
@@ -99,3 +99,4 @@ export * from './observable-model';
99
99
  export * from './phone';
100
100
  export * from './service-notification';
101
101
  export * from './tax-calculation';
102
+ export * from './holding';
@@ -39,6 +39,7 @@ export declare class TransactionBase extends ObservableModel {
39
39
  * Check if current tank is Sole
40
40
  */
41
41
  isSoleTank(): boolean;
42
+ isHoldingTank(): boolean;
42
43
  get amountWithGst(): number;
43
44
  get gstAmount(): number;
44
45
  get gstClaimAmount(): number;
@@ -1,6 +1,6 @@
1
1
  import { AbstractForm } from '../../abstract.form';
2
- import { MyTaxIncomeStatements } from '../../../models/report/my-tax/my-tax-income-statements/my-tax-income-statements';
3
- import { User } from '../../../models/user/user';
2
+ import { MyTaxIncomeStatements } from '../../../models/report';
3
+ import { User } from '../../../models';
4
4
  export declare class MyTaxIncomeStatementsForm extends AbstractForm<MyTaxIncomeStatements> {
5
5
  private incomeStatements;
6
6
  constructor(incomeStatements: MyTaxIncomeStatements, user: User);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Account setup item instance is using for account setup checklist
3
3
  */
4
- import { AbstractModel } from '../../db/Models/abstract-model';
4
+ import { AbstractModel } from '../../db/Models';
5
5
  export declare class AccountSetupItem extends AbstractModel {
6
6
  title: string;
7
7
  description: string;
@@ -8,5 +8,6 @@ export declare enum AccountSetupItemsEnum {
8
8
  BANK_FEEDS = 3,
9
9
  WORK_LOGBOOK = 4,
10
10
  TRANSACTION = 5,
11
- SOLE_BUSINESS = 6
11
+ SOLE_BUSINESS = 6,
12
+ HOLDINGS = 7
12
13
  }
@@ -112,4 +112,5 @@ export declare class ChartAccounts extends ChartAccountsBase {
112
112
  isSalaryIncluded(): boolean;
113
113
  isPropertyCapitalWorks(): boolean;
114
114
  isTaxable(): boolean;
115
+ isTransfer(): boolean;
115
116
  }
@@ -1,12 +1,3 @@
1
1
  import { ClientIncomeTypes as ClientIncomeTypesBase } from '../../db/Models/user/client-income-types';
2
2
  export declare class ClientIncomeTypes extends ClientIncomeTypesBase {
3
- salary: boolean;
4
- property: boolean;
5
- sole: boolean;
6
- dividends: boolean;
7
- other: boolean;
8
- /**
9
- * Get count of selected income types
10
- */
11
- get length(): number;
12
3
  }
@@ -0,0 +1,12 @@
1
+ import { Holding } from './holding';
2
+ import { AppFile } from '../file';
3
+ import { AbstractModel } from '../../db/Models';
4
+ export declare class HoldingSale extends AbstractModel {
5
+ quantity: number;
6
+ price: number;
7
+ fee: number;
8
+ total: number;
9
+ profit: number;
10
+ holding?: Holding;
11
+ file: AppFile;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { HoldingTypeCategoryEnum } from '../../db/Enums/holding/holding-type-category.enum';
2
+ import { User } from '../user';
3
+ import { AbstractModel } from '../../db/Models';
4
+ export declare class HoldingType extends AbstractModel {
5
+ category: HoldingTypeCategoryEnum;
6
+ name: string;
7
+ ticker: string;
8
+ description: string;
9
+ price: number;
10
+ dividendPercent: number;
11
+ user: User;
12
+ }
@@ -0,0 +1,17 @@
1
+ import { User } from '../user';
2
+ import { HoldingType } from './holding-type';
3
+ import { AppFile } from '../file';
4
+ import { HoldingSale } from './holding-sale';
5
+ import { Collection } from '../../collections';
6
+ import { AbstractModel } from '../../db/Models';
7
+ export declare class Holding extends AbstractModel {
8
+ isTaxFree: boolean;
9
+ date: Date;
10
+ quantity: number;
11
+ price: number;
12
+ fee: number;
13
+ user: User;
14
+ type: HoldingType;
15
+ file: AppFile;
16
+ sales: Collection<HoldingSale>;
17
+ }
@@ -0,0 +1,3 @@
1
+ export * from './holding';
2
+ export * from './holding-type';
3
+ export * from './holding-sale';
@@ -17,3 +17,4 @@ export * from './document';
17
17
  export * from './property';
18
18
  export * from './transaction';
19
19
  export * from './user';
20
+ export * from './holding';
@@ -26,5 +26,9 @@ export declare class MyTaxIncomeStatements {
26
26
  superannuationIncomeStreamsTotalUntaxed: number;
27
27
  attributablePsiTransactionsTotalAmount: number;
28
28
  attributablePsiTransactionsTotalTax: number;
29
+ fhssTransactionsTotalAmount: number;
30
+ fhssTransactionsTotalTax: number;
31
+ australianSpecialPaymentsTotalAmount: number;
32
+ australianSpecialPaymentsTotalTax: number;
29
33
  constructor(transactions: TransactionCollection);
30
34
  }
@@ -4,5 +4,6 @@ export declare class ServiceProduct extends BaseServiceProduct {
4
4
  isProperties(): boolean;
5
5
  isWorkTank(): boolean;
6
6
  isSoleTank(): boolean;
7
+ isHoldingsTank(): boolean;
7
8
  isArchived(): boolean;
8
9
  }
@@ -1,3 +1,7 @@
1
1
  import { AllocationRuleCondition as AllocationRuleConditionBase } from '../../db/Models/transaction/allocation-rule-condition';
2
+ import { BankTransaction } from '../bank';
2
3
  export declare class AllocationRuleCondition extends AllocationRuleConditionBase {
4
+ matchBankTransaction(bankTransaction: BankTransaction): boolean;
5
+ matchBankTransactionByAmount(bankTransaction: BankTransaction): boolean;
6
+ matchBankTransactionByDescription(bankTransaction: BankTransaction): boolean;
3
7
  }
@@ -1,7 +1,7 @@
1
1
  import { AllocationRuleTransaction as AllocationRuleTransactionBase } from '../../db/Models/transaction/allocation-rule-transaction';
2
2
  import { ChartAccounts } from '../chart-accounts';
3
3
  import { AllocationRuleTransactionMetaField } from './allocation-rule-transaction-meta-field';
4
- import { Loan, Property, SoleBusiness } from '../../models';
4
+ import { BankTransaction, Loan, Property, SoleBusiness, Transaction } from '../../models';
5
5
  import { IncomeSource } from '../income-source/income-source';
6
6
  export declare class AllocationRuleTransaction extends AllocationRuleTransactionBase {
7
7
  chartAccounts: ChartAccounts;
@@ -14,4 +14,8 @@ export declare class AllocationRuleTransaction extends AllocationRuleTransaction
14
14
  childTransactions: AllocationRuleTransaction[];
15
15
  claimPercent: number;
16
16
  calculateClaimPercent(): number;
17
+ /**
18
+ * Create Transaction instance based on passed bank transaction and rule transaction
19
+ */
20
+ toTransaction(bankTransaction: BankTransaction): Transaction;
17
21
  }
@@ -1,8 +1,9 @@
1
1
  import { AllocationRule as AllocationRuleBase } from '../../db/Models/transaction/allocation-rule';
2
- import { BankAccount } from '../bank';
2
+ import { BankAccount, BankTransaction } from '../bank';
3
3
  import { AllocationRuleCondition } from './allocation-rule-condition';
4
4
  import { AllocationRuleTransaction } from './allocation-rule-transaction';
5
5
  import { AllocationRuleConditionOperatorEnum, AllocationRuleTypeEnum } from '../../db/Enums';
6
+ import { Transaction } from './transaction';
6
7
  export declare class AllocationRule extends AllocationRuleBase {
7
8
  bankAccount?: BankAccount;
8
9
  conditions?: AllocationRuleCondition[];
@@ -21,4 +22,21 @@ export declare class AllocationRule extends AllocationRuleBase {
21
22
  isPropertyIncome(): boolean;
22
23
  isWorkIncome(): boolean;
23
24
  isSoleIncome(): boolean;
25
+ /**
26
+ * @TODO Alex: move to collection
27
+ */
28
+ matchBankTransaction(bankTransaction: BankTransaction): boolean;
29
+ createTransaction(bankTransaction: BankTransaction): Transaction;
30
+ /**
31
+ * Rule is matched when all conditions matched
32
+ */
33
+ private checkAnd;
34
+ /**
35
+ * Rule is matched when at least one condition matched
36
+ */
37
+ private checkOr;
38
+ /**
39
+ * Create allocation rule based on bank transaction (just prefill rule fields with bank transaction values)
40
+ */
41
+ static fromBankTransaction(bankTransaction: BankTransaction): AllocationRule;
24
42
  }
@@ -9,7 +9,7 @@ import { Observable, ReplaySubject } from 'rxjs';
9
9
  import { AccountSetupItemCollection } from '../../collections/account-setup-item.collection';
10
10
  import { VehicleClaimService } from '../http/vehicle/vehicle-claim.service';
11
11
  import { TransactionService } from '../http/transaction/transaction.service';
12
- import { SoleBusinessService } from '../http';
12
+ import { HoldingService, SoleBusinessService } from '../http';
13
13
  import * as i0 from "@angular/core";
14
14
  /**
15
15
  * Service handling user's account setup process.
@@ -24,10 +24,11 @@ export declare class AccountSetupService {
24
24
  private vehicleClaimService;
25
25
  private transactionService;
26
26
  private soleBusinessService;
27
+ private holdingService;
27
28
  cache: AccountSetupItemCollection;
28
29
  cacheSubject: ReplaySubject<AccountSetupItemCollection>;
29
30
  clientIncomeTypesId: number;
30
- constructor(clientIncomeTypesService: ClientIncomeTypesService, propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankAccountsService: BankAccountService, transactionAllocationService: TransactionAllocationService, vehicleClaimService: VehicleClaimService, transactionService: TransactionService, soleBusinessService: SoleBusinessService);
31
+ constructor(clientIncomeTypesService: ClientIncomeTypesService, propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankAccountsService: BankAccountService, transactionAllocationService: TransactionAllocationService, vehicleClaimService: VehicleClaimService, transactionService: TransactionService, soleBusinessService: SoleBusinessService, holdingService: HoldingService);
31
32
  /**
32
33
  * Get list of account setup items for current user
33
34
  */
@@ -0,0 +1,17 @@
1
+ import { HoldingSale as HoldingSaleBase } from '../../../db/Models';
2
+ import { HoldingSale } from '../../../models';
3
+ import { RestService, RestMethod } from '../rest';
4
+ import { Collection } from '../../../collections';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Service that handling banks logic
8
+ */
9
+ export declare class HoldingSaleService extends RestService<HoldingSaleBase, HoldingSale, Collection<HoldingSale>> {
10
+ modelClass: typeof HoldingSale;
11
+ collectionClass: typeof Collection;
12
+ endpointUri: string;
13
+ isApiPlatform: boolean;
14
+ disabledMethods: RestMethod[];
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<HoldingSaleService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<HoldingSaleService>;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { HoldingType as HoldingTypeBase } from '../../../db/Models';
2
+ import { HoldingType } from '../../../models';
3
+ import { RestService, RestMethod } from '../rest';
4
+ import { Collection } from '../../../collections';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Service that handling banks logic
8
+ */
9
+ export declare class HoldingTypeService extends RestService<HoldingTypeBase, HoldingType, Collection<HoldingType>> {
10
+ modelClass: typeof HoldingType;
11
+ collectionClass: typeof Collection;
12
+ endpointUri: string;
13
+ isApiPlatform: boolean;
14
+ disabledMethods: RestMethod[];
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<HoldingTypeService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<HoldingTypeService>;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Holding as HoldingBase } from '../../../db/Models';
2
+ import { Holding } from '../../../models';
3
+ import { RestService, RestMethod } from '../rest';
4
+ import { Collection } from '../../../collections';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Service that handling banks logic
8
+ */
9
+ export declare class HoldingService extends RestService<HoldingBase, Holding, Collection<Holding>> {
10
+ modelClass: typeof Holding;
11
+ collectionClass: typeof Collection;
12
+ endpointUri: string;
13
+ isApiPlatform: boolean;
14
+ disabledMethods: RestMethod[];
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<HoldingService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<HoldingService>;
17
+ }
@@ -0,0 +1,3 @@
1
+ export * from './holding.service';
2
+ export * from './holding-type.service';
3
+ export * from './holding-sale.service';
@@ -23,3 +23,4 @@ export * from './tutorial-video';
23
23
  export * from './vehicle';
24
24
  export * from './user';
25
25
  export * from './document';
26
+ export * from './holding';
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
14
14
  * BaseModel - base entity model that extends by Model
15
15
  * CollectionModel - entity collection class
16
16
  */
17
- export declare abstract class RestService<BaseModel extends AbstractModel, Model extends BaseModel, CollectionModel extends Collection<Model>> implements IEventListener {
17
+ export declare abstract class RestService<BaseModel, Model extends AbstractModel, CollectionModel extends Collection<Model>> implements IEventListener {
18
18
  protected http: HttpClient;
19
19
  protected eventDispatcherService: EventDispatcherService;
20
20
  protected environment: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.30.18",
3
+ "version": "0.30.20",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",