taxtank-core 0.10.5 → 0.11.0

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 (70) hide show
  1. package/bundles/taxtank-core.umd.js +3775 -3166
  2. package/bundles/taxtank-core.umd.js.map +1 -1
  3. package/esm2015/lib/collections/account-setup-item.collection.js +11 -0
  4. package/esm2015/lib/collections/bank-transaction.collection.js +2 -2
  5. package/esm2015/lib/collections/collection-dictionary.js +8 -8
  6. package/esm2015/lib/collections/collection.js +8 -1
  7. package/esm2015/lib/collections/report/property/property-report-item-depreciation.collection.js +22 -0
  8. package/esm2015/lib/collections/report/property/property-report-item-transaction.collection.js +22 -0
  9. package/esm2015/lib/collections/report/property/property-report-item.collection.js +13 -0
  10. package/esm2015/lib/collections/transaction-allocation.collection.js +2 -2
  11. package/esm2015/lib/db/Enums/property/property-category-list.enum.js +2 -1
  12. package/esm2015/lib/db/Enums/user-status.enum.js +1 -2
  13. package/esm2015/lib/db/Models/client-details.js +1 -1
  14. package/esm2015/lib/db/Models/client-income-types.js +3 -0
  15. package/esm2015/lib/forms/client/client-income-types.form.js +22 -0
  16. package/esm2015/lib/forms/index.js +2 -1
  17. package/esm2015/lib/models/account-setup/account-setup-item.js +6 -0
  18. package/esm2015/lib/models/account-setup/account-setup-items.const.js +44 -0
  19. package/esm2015/lib/models/account-setup/account-setup-items.enum.js +14 -0
  20. package/esm2015/lib/models/client/client-income-types.js +10 -0
  21. package/esm2015/lib/models/depreciation/depreciation.js +3 -3
  22. package/esm2015/lib/models/export/export-data-table.js +6 -0
  23. package/esm2015/lib/models/pdf/pdf-config.js +2 -2
  24. package/esm2015/lib/models/pdf/pdf-orientation.enum.js +6 -0
  25. package/esm2015/lib/models/report/property/property-report-item-depreciation.js +19 -0
  26. package/esm2015/lib/models/report/property/property-report-item-transaction.js +12 -0
  27. package/esm2015/lib/models/report/property/property-report-item.js +27 -0
  28. package/esm2015/lib/services/account-setup/account-setup.service.js +124 -0
  29. package/esm2015/lib/services/http/firm/client-income/client-income-types.service.js +50 -0
  30. package/esm2015/lib/services/http/transaction/transaction.service.js +11 -1
  31. package/esm2015/lib/services/pdf/pdf.service.js +51 -26
  32. package/esm2015/lib/services/property/property-holding-costs/property-holding-costs.service.js +53 -0
  33. package/esm2015/lib/services/report/property/property-transaction-report.service.js +76 -0
  34. package/esm2015/lib/validators/at-least-one.validator.js +11 -0
  35. package/esm2015/lib/validators/index.js +2 -0
  36. package/esm2015/public-api.js +16 -1
  37. package/fesm2015/taxtank-core.js +3333 -2805
  38. package/fesm2015/taxtank-core.js.map +1 -1
  39. package/lib/collections/account-setup-item.collection.d.ts +6 -0
  40. package/lib/collections/collection-dictionary.d.ts +1 -1
  41. package/lib/collections/collection.d.ts +4 -0
  42. package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts +12 -0
  43. package/lib/collections/report/property/property-report-item-transaction.collection.d.ts +12 -0
  44. package/lib/collections/report/property/property-report-item.collection.d.ts +9 -0
  45. package/lib/db/Enums/property/property-category-list.enum.d.ts +2 -1
  46. package/lib/db/Enums/user-status.enum.d.ts +1 -2
  47. package/lib/db/Models/client-details.d.ts +5 -1
  48. package/lib/db/Models/client-income-types.d.ts +11 -0
  49. package/lib/forms/client/client-income-types.form.d.ts +7 -0
  50. package/lib/forms/index.d.ts +1 -0
  51. package/lib/models/account-setup/account-setup-item.d.ts +9 -0
  52. package/lib/models/account-setup/account-setup-items.const.d.ts +7 -0
  53. package/lib/models/account-setup/account-setup-items.enum.d.ts +12 -0
  54. package/lib/models/client/client-income-types.d.ts +7 -0
  55. package/lib/models/depreciation/depreciation.d.ts +1 -1
  56. package/lib/models/export/export-data-table.d.ts +9 -0
  57. package/lib/models/pdf/pdf-orientation.enum.d.ts +4 -0
  58. package/lib/models/report/property/property-report-item-depreciation.d.ts +10 -0
  59. package/lib/models/report/property/property-report-item-transaction.d.ts +10 -0
  60. package/lib/models/report/property/property-report-item.d.ts +22 -0
  61. package/lib/services/account-setup/account-setup.service.d.ts +47 -0
  62. package/lib/services/http/firm/client-income/client-income-types.service.d.ts +18 -0
  63. package/lib/services/http/transaction/transaction.service.d.ts +4 -0
  64. package/lib/services/pdf/pdf.service.d.ts +16 -2
  65. package/lib/services/property/property-holding-costs/property-holding-costs.service.d.ts +24 -0
  66. package/lib/services/report/property/property-transaction-report.service.d.ts +42 -0
  67. package/lib/validators/at-least-one.validator.d.ts +6 -0
  68. package/lib/validators/index.d.ts +1 -0
  69. package/package.json +1 -1
  70. package/public-api.d.ts +15 -0
@@ -0,0 +1,6 @@
1
+ import { AccountSetupItem } from '../models/account-setup/account-setup-item';
2
+ import { Collection } from './collection';
3
+ export declare class AccountSetupItemCollection extends Collection<AccountSetupItem> {
4
+ constructor(items: AccountSetupItem[]);
5
+ isCompleted(): boolean;
6
+ }
@@ -18,7 +18,7 @@ export declare class CollectionDictionary<Collection extends BaseCollection<obje
18
18
  * @param path Path to the property to be grouped (Examples: 'transaction', 'property.category')
19
19
  * @param prop Optional: Field to group by (Default 'id', Examples: 'id', 'amount', 'date')
20
20
  */
21
- constructor(collection: Collection, path?: string, prop?: string);
21
+ constructor(collection: Collection, path?: string);
22
22
  /**
23
23
  * List of collections keys
24
24
  */
@@ -36,6 +36,10 @@ export declare class Collection<Model extends object> implements Iterable<Model>
36
36
  * Filter items by specific provided callback
37
37
  */
38
38
  filter(callback: (item: Model) => boolean): Collection<Model>;
39
+ /**
40
+ * Sort collection items by provided field
41
+ */
42
+ sortBy(filed?: string, isDesc?: boolean): void;
39
43
  get first(): Model;
40
44
  get last(): Model;
41
45
  }
@@ -0,0 +1,12 @@
1
+ import { Collection } from '../../collection';
2
+ import { ChartAccounts } from '../../../models/chart-accounts/chart-accounts';
3
+ import { DepreciationCollection } from '../../depreciation.collection';
4
+ import { PropertyReportItemCollection } from './property-report-item.collection';
5
+ import { PropertyCollection } from '../../property/property.collection';
6
+ /**
7
+ * Collection to work with depreciation-based property report items
8
+ */
9
+ export declare class PropertyReportItemDepreciationCollection extends PropertyReportItemCollection {
10
+ constructor(depreciations: DepreciationCollection, properties: PropertyCollection, chartAccounts: Collection<ChartAccounts>);
11
+ private setItems;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { Collection } from '../../collection';
2
+ import { TransactionCollection } from '../../transaction.collection';
3
+ import { ChartAccounts } from '../../../models/chart-accounts/chart-accounts';
4
+ import { PropertyReportItemCollection } from './property-report-item.collection';
5
+ import { PropertyCollection } from '../../property/property.collection';
6
+ /**
7
+ * Collection to work with transaction-based property report items
8
+ */
9
+ export declare class PropertyReportItemTransactionCollection extends PropertyReportItemCollection {
10
+ constructor(transactions: TransactionCollection, properties: PropertyCollection, chartAccounts: Collection<ChartAccounts>);
11
+ private setItems;
12
+ }
@@ -0,0 +1,9 @@
1
+ import { Collection } from '../../collection';
2
+ import { PropertyReportItem } from '../../../models/report/property/property-report-item';
3
+ /**
4
+ * Base collection to work with property report items
5
+ */
6
+ export declare class PropertyReportItemCollection extends Collection<PropertyReportItem> {
7
+ getIncomes(): this;
8
+ getExpenses(): this;
9
+ }
@@ -1,3 +1,4 @@
1
1
  export declare enum PropertyCategoryListEnum {
2
- OWNER_OCCUPIED = 3
2
+ OWNER_OCCUPIED = 3,
3
+ VACANT_LAND = 5
3
4
  }
@@ -1,6 +1,5 @@
1
1
  export declare enum UserStatusEnum {
2
2
  INACTIVE = 0,
3
3
  ON_BOARDING = 1,
4
- ACTIVE = 2,
5
- TRIAL = 3
4
+ ACTIVE = 2
6
5
  }
@@ -5,8 +5,8 @@ import { User } from './user';
5
5
  import { Occupation } from './occupation';
6
6
  import { Address } from './address';
7
7
  import { Phone } from './phone';
8
+ import { ClientIncomeTypes } from './client-income-types';
8
9
  export declare class ClientDetails {
9
- id?: number;
10
10
  isAustralianResident?: boolean;
11
11
  taxFileNumber?: string;
12
12
  workDepreciationCalculation?: ClientDetailsWorkDepreciationCalculationEnum;
@@ -19,7 +19,10 @@ export declare class ClientDetails {
19
19
  pensionersTax?: boolean;
20
20
  workingHolidayMaker?: ClientDetailsWorkingHolidayMakerEnum;
21
21
  dateOfBirth?: Date;
22
+ abn?: number;
23
+ isGST?: boolean;
22
24
  capitalLoss?: number;
25
+ id?: number;
23
26
  deletedAt?: Date;
24
27
  createdAt?: Date;
25
28
  updatedAt?: Date;
@@ -27,4 +30,5 @@ export declare class ClientDetails {
27
30
  occupation?: Occupation;
28
31
  addresses?: Address[];
29
32
  phones?: Phone[];
33
+ incomeTypes?: ClientIncomeTypes;
30
34
  }
@@ -0,0 +1,11 @@
1
+ import { ClientDetails } from './client-details';
2
+ export declare class ClientIncomeTypes {
3
+ salary?: boolean;
4
+ rental?: boolean;
5
+ soleTrader?: boolean;
6
+ dividends?: boolean;
7
+ other?: boolean;
8
+ id?: number;
9
+ deletedAt?: Date;
10
+ clientDetails?: ClientDetails;
11
+ }
@@ -0,0 +1,7 @@
1
+ import { AbstractForm } from '../abstract.form';
2
+ import { ClientIncomeTypes } from '../../models/client/client-income-types';
3
+ export declare class ClientIncomeTypesForm extends AbstractForm {
4
+ private clientIncomeTypes;
5
+ constructor(clientIncomeTypes: ClientIncomeTypes);
6
+ submit(): object;
7
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './abstract.form';
2
+ export * from './client/client-income-types.form';
2
3
  export * from './login/login.form';
3
4
  export * from './register/register-client.form';
4
5
  export * from './register/register-firm.form';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Account setup item instance is using for account setup checklist
3
+ */
4
+ export declare class AccountSetupItem {
5
+ title: string;
6
+ description: string;
7
+ url: string;
8
+ isCompleted: boolean;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { AccountSetupItem } from './account-setup-item';
2
+ /**
3
+ * List of all possible account setup steps
4
+ */
5
+ export declare const ACCOUNT_SETUP_ITEMS: {
6
+ [key: number]: AccountSetupItem;
7
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Enum list of all possible account setup items. Using with [ACCOUNT_SETUP_ITEMS]{@link ACCOUNT_SETUP_ITEMS}
3
+ */
4
+ export declare enum AccountSetupItemsEnum {
5
+ SALARY = 0,
6
+ OTHER_INCOME = 1,
7
+ PROPERTY = 2,
8
+ BANK_FEEDS = 3,
9
+ WORK_LOGBOOK = 4,
10
+ SOLE_INCOME = 5,
11
+ TRANSACTION = 6
12
+ }
@@ -0,0 +1,7 @@
1
+ import { ClientIncomeTypes as ClientIncomeTypesBase } from '../../db/Models/client-income-types';
2
+ export declare class ClientIncomeTypes extends ClientIncomeTypesBase {
3
+ /**
4
+ * Get count of selected income types
5
+ */
6
+ get length(): number;
7
+ }
@@ -62,6 +62,6 @@ export declare class Depreciation extends DepreciationBase implements ITank, IRe
62
62
  /**
63
63
  * Create a new transaction from current depreciation
64
64
  */
65
- toTransaction(): Transaction;
65
+ toTransaction(params?: {}): Transaction;
66
66
  get claimAmount(): number;
67
67
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Data table structure suitable for export
3
+ */
4
+ export declare class ExportDataTable {
5
+ caption?: string;
6
+ header: string[];
7
+ rows: string[][];
8
+ footer: string[];
9
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum PdfOrientationEnum {
2
+ PORTRAIT = "portrait",
3
+ LANDSCAPE = "landscape"
4
+ }
@@ -0,0 +1,10 @@
1
+ import { PropertyReportItem } from './property-report-item';
2
+ import { Property } from '../../property/property';
3
+ import { ChartAccounts } from '../../chart-accounts/chart-accounts';
4
+ import { DepreciationCollection } from '../../../collections/depreciation.collection';
5
+ /**
6
+ * Class with depreciation-based property transactions report entities
7
+ */
8
+ export declare class PropertyReportItemDepreciation extends PropertyReportItem {
9
+ constructor(depreciations: DepreciationCollection, property: Property, chartAccounts: ChartAccounts);
10
+ }
@@ -0,0 +1,10 @@
1
+ import { PropertyReportItem } from './property-report-item';
2
+ import { TransactionCollection } from '../../../collections/transaction.collection';
3
+ import { Property } from '../../property/property';
4
+ import { ChartAccounts } from '../../chart-accounts/chart-accounts';
5
+ /**
6
+ * Class with transaction-based property transactions report entities
7
+ */
8
+ export declare class PropertyReportItemTransaction extends PropertyReportItem {
9
+ constructor(transactions: TransactionCollection, property: Property, chartAccounts: ChartAccounts);
10
+ }
@@ -0,0 +1,22 @@
1
+ import { Property } from '../../property/property';
2
+ import { ChartAccounts } from '../../chart-accounts/chart-accounts';
3
+ /**
4
+ * Class with property transactions report entities
5
+ */
6
+ export declare class PropertyReportItem {
7
+ amount: number;
8
+ description: string;
9
+ /**
10
+ * Tax return item sub-code
11
+ */
12
+ subCode: string;
13
+ sharePercent: number;
14
+ claimPercent: number;
15
+ propertyId: number;
16
+ chartAccounts: ChartAccounts;
17
+ constructor(property: Property, chartAccounts: ChartAccounts);
18
+ get claimAmount(): number;
19
+ get shareClaimAmount(): number;
20
+ isIncome(): boolean;
21
+ isExpense(): boolean;
22
+ }
@@ -0,0 +1,47 @@
1
+ import { BankAccountService } from '../http/bank/bank-account/bank-account.service';
2
+ import { ClientIncomeTypesService } from '../http/firm/client-income/client-income-types.service';
3
+ import { IncomeSourceService } from '../http/income-source/income-source.service';
4
+ import { PropertyService } from '../http/property/property.service';
5
+ import { TransactionAllocationService } from '../http/transaction/transaction-allocation/transaction-allocation.service';
6
+ import { VehicleService } from '../http/vehicle/vehicle.service';
7
+ import { Observable, ReplaySubject } from 'rxjs';
8
+ import { AccountSetupItemCollection } from '../../collections/account-setup-item.collection';
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * Service handling user's account setup process.
12
+ * Checks required steps and their completion
13
+ */
14
+ export declare class AccountSetupService {
15
+ private clientIncomeTypesService;
16
+ private propertyService;
17
+ private incomeSourceService;
18
+ private bankAccountsService;
19
+ private transactionAllocationService;
20
+ private vehicleService;
21
+ cache: AccountSetupItemCollection;
22
+ cacheSubject: ReplaySubject<AccountSetupItemCollection>;
23
+ constructor(clientIncomeTypesService: ClientIncomeTypesService, propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankAccountsService: BankAccountService, transactionAllocationService: TransactionAllocationService, vehicleService: VehicleService);
24
+ /**
25
+ * Get list of account setup items for current user
26
+ */
27
+ get(): Observable<AccountSetupItemCollection>;
28
+ /**
29
+ * Get a single AccountSetupItem and check it's completion
30
+ */
31
+ private create;
32
+ /**
33
+ * Get batch of requests to get list of required AccountSetupItem's.
34
+ * Some items are optional and depends of user's client income types
35
+ */
36
+ private createBatch;
37
+ /**
38
+ * @TODO Temp solution: Refactor with new logbook system (waiting for PR finish). Use this.getItem() instead after refactoring
39
+ */
40
+ private getLogbookItem;
41
+ /**
42
+ * @TODO work with collection when services refactored
43
+ */
44
+ private getIncomeSourcesByType;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccountSetupService, never>;
46
+ static ɵprov: i0.ɵɵInjectableDeclaration<AccountSetupService>;
47
+ }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable, ReplaySubject } from 'rxjs';
3
+ import { ClientIncomeTypes } from '../../../../models/client/client-income-types';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * @TODO extend rest service when it could work with single objects, not only arrays
7
+ */
8
+ export declare class ClientIncomeTypesService {
9
+ private http;
10
+ private environment;
11
+ cache: ClientIncomeTypes;
12
+ cacheSubject: ReplaySubject<ClientIncomeTypes>;
13
+ constructor(http: HttpClient, environment: any);
14
+ get(): Observable<ClientIncomeTypes>;
15
+ update(incomeTypes: ClientIncomeTypes): Observable<ClientIncomeTypes>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClientIncomeTypesService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<ClientIncomeTypesService>;
18
+ }
@@ -42,6 +42,10 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
42
42
  * get list of transactions with tank type 'Work'
43
43
  */
44
44
  getWorkTransactions(): Observable<Transaction[]>;
45
+ /**
46
+ * Get list of property holding costs (transactions related to vacant land property)
47
+ */
48
+ getPropertyHoldingCosts(propertyId: number): Observable<Transaction[]>;
45
49
  /**
46
50
  * get list of taxable transactions with tank type 'Work'
47
51
  */
@@ -1,10 +1,24 @@
1
+ import { ExportDataTable } from '../../models/export/export-data-table';
2
+ import { PdfOrientationEnum } from '../../models/pdf/pdf-orientation.enum';
1
3
  import * as i0 from "@angular/core";
2
4
  export declare class PdfService {
3
5
  /**
4
- * Export file form provided HTML tables
6
+ * Export file from provided HTML tables
5
7
  */
6
- exportTables(tables: NodeListOf<HTMLTableElement>, title: string, fileName: string): void;
8
+ exportTables(tables: NodeListOf<HTMLTableElement>, title: string, fileName: string, orientation: PdfOrientationEnum): void;
9
+ /**
10
+ * Export file from provided array-like table data
11
+ */
12
+ exportFromDataTables(dataTables: ExportDataTable[], title: string, fileName: string): void;
13
+ /**
14
+ * Generate file from array-like table data
15
+ */
16
+ private generateFromDataTables;
7
17
  private generateFromTables;
18
+ /**
19
+ * Set basic options for PDF table
20
+ */
21
+ private setTableOptions;
8
22
  private setDocumentTitle;
9
23
  private setDocumentLogo;
10
24
  static ɵfac: i0.ɵɵFactoryDeclaration<PdfService, never>;
@@ -0,0 +1,24 @@
1
+ import { Transaction } from '../../../models/transaction/transaction';
2
+ import { ExportDataTable } from '../../../models/export/export-data-table';
3
+ import { PdfService } from '../../pdf/pdf.service';
4
+ import { TransactionCollection } from '../../../collections/transaction.collection';
5
+ import { CurrencyPipe, DatePipe } from '@angular/common';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Service to work with holding costs (transactions related to vacant land property)
9
+ */
10
+ export declare class PropertyHoldingCostsService {
11
+ private pdfService;
12
+ private currencyPipe;
13
+ private datePipe;
14
+ url: string;
15
+ modelClass: typeof Transaction;
16
+ constructor(pdfService: PdfService, currencyPipe: CurrencyPipe, datePipe: DatePipe);
17
+ initDataTable(holdingCosts: TransactionCollection): ExportDataTable;
18
+ /**
19
+ * Get data for the exporting table rows
20
+ */
21
+ private getDataTableRows;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyHoldingCostsService, never>;
23
+ static ɵprov: i0.ɵɵInjectableDeclaration<PropertyHoldingCostsService>;
24
+ }
@@ -0,0 +1,42 @@
1
+ import { PropertyService } from '../../http/property/property.service';
2
+ import { TransactionService } from '../../http/transaction/transaction.service';
3
+ import { DepreciationService } from '../../http/depreciation/depreciation.service';
4
+ import { ChartAccountsService } from '../../http/chart-accounts/chart-accounts.service';
5
+ import { Observable } from 'rxjs';
6
+ import { Property } from '../../../models/property/property';
7
+ import { ChartAccounts } from '../../../models/chart-accounts/chart-accounts';
8
+ import { DepreciationCollection } from '../../../collections/depreciation.collection';
9
+ import { Collection } from '../../../collections/collection';
10
+ import { CollectionDictionary } from '../../../collections/collection-dictionary';
11
+ import { TransactionCollection } from '../../../collections/transaction.collection';
12
+ import { PropertyReportItemCollection } from '../../../collections/report/property/property-report-item.collection';
13
+ import * as i0 from "@angular/core";
14
+ /**
15
+ * Service to handle Property transactions report items data (get income / expense report items, e.t.c.)
16
+ */
17
+ export declare class PropertyTransactionReportService {
18
+ private propertyService;
19
+ private transactionService;
20
+ private depreciationService;
21
+ private chartAccountsService;
22
+ properties: Property[];
23
+ transactions: TransactionCollection;
24
+ depreciations: DepreciationCollection;
25
+ chartAccounts: Collection<ChartAccounts>;
26
+ constructor(propertyService: PropertyService, transactionService: TransactionService, depreciationService: DepreciationService, chartAccountsService: ChartAccountsService);
27
+ /**
28
+ * Get collection of report items based on transactions & depreciations
29
+ */
30
+ get(): Observable<CollectionDictionary<PropertyReportItemCollection>>;
31
+ private create;
32
+ /**
33
+ * Get collection of property transactions
34
+ */
35
+ private getTransactions;
36
+ /**
37
+ * Get list of asset & capital property depreciations
38
+ */
39
+ private getDepreciations;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyTransactionReportService, never>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<PropertyTransactionReportService>;
42
+ }
@@ -0,0 +1,6 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ /**
3
+ * Check if at least one form field is true, otherwise form is invalid.
4
+ * Use with groups of boolean form controls (checkbox, toggle, etc.)
5
+ */
6
+ export declare function atLeastOneCheckedValidator(): ValidatorFn;
@@ -0,0 +1 @@
1
+ export * from './at-least-one.validator';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.10.5",
3
+ "version": "0.11.0",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
package/public-api.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './lib/tt-core.module';
6
6
  * Collections
7
7
  */
8
8
  export * from './lib/collections/collection';
9
+ export * from './lib/collections/account-setup-item.collection';
9
10
  export * from './lib/collections/bank-account.collection';
10
11
  export * from './lib/collections/bank-transaction.collection';
11
12
  export * from './lib/collections/client.collection';
@@ -23,6 +24,9 @@ export * from './lib/collections/message-document.collection';
23
24
  export * from './lib/collections/property/property.collection';
24
25
  export * from './lib/collections/report/depreciation/depreciation-lvp-report-item.collection';
25
26
  export * from './lib/collections/report/depreciation/depreciation-report-item.collection';
27
+ export * from './lib/collections/report/property/property-report-item.collection';
28
+ export * from './lib/collections/report/property/property-report-item-transaction.collection';
29
+ export * from './lib/collections/report/property/property-report-item-depreciation.collection';
26
30
  export * from './lib/collections/service-price.collection';
27
31
  export * from './lib/collections/service-subscription.collection';
28
32
  export * from './lib/collections/tax-summary/report-item.collection';
@@ -77,6 +81,7 @@ export * from './lib/db/Enums/loan-type.enum';
77
81
  export * from './lib/db/Enums/loan-vehicle-type.enum';
78
82
  export * from './lib/db/Enums/phone-type.enum';
79
83
  export * from './lib/db/Enums/property/property-depreciation-calculation.enum';
84
+ export * from './lib/db/Enums/property/property-category-list.enum';
80
85
  export * from './lib/db/Enums/property/property-share-access.enum';
81
86
  export * from './lib/db/Enums/property/property-share-status.enum';
82
87
  export * from './lib/db/Enums/registration-invite-status.enum';
@@ -121,6 +126,7 @@ export * from './lib/db/Enums/property/property-sale/tax-exemption-metadata.enum
121
126
  /**
122
127
  * Models and related enums and consts
123
128
  */
129
+ export * from './lib/models/account-setup/account-setup-item';
124
130
  export * from './lib/models/address/address';
125
131
  export * from './lib/models/address/country';
126
132
  export * from './lib/models/bank/bank';
@@ -151,6 +157,7 @@ export * from './lib/models/chat/chat-view-type.enum';
151
157
  export * from './lib/models/chat/message';
152
158
  export * from './lib/models/chat/message-document';
153
159
  export * from './lib/models/client/client-details';
160
+ export * from './lib/models/client/client-income-types';
154
161
  export * from './lib/models/client/client-invite';
155
162
  export * from './lib/models/client/client-movement';
156
163
  export * from './lib/models/client/client-portfolio-chart-data';
@@ -174,6 +181,7 @@ export * from './lib/models/endpoint/endpoint';
174
181
  export * from './lib/models/endpoint/endpoints.const';
175
182
  export * from './lib/models/event/app-event';
176
183
  export * from './lib/models/event/app-event-type.enum';
184
+ export * from './lib/models/export/export-data-table';
177
185
  export * from './lib/models/export/export-format.enum';
178
186
  export * from './lib/models/file/icons-file.enum';
179
187
  export * from './lib/models/financial-year/financial-year';
@@ -199,6 +207,7 @@ export * from './lib/models/logbook/vehicle';
199
207
  export * from './lib/models/logbook/vehicle-claim';
200
208
  export * from './lib/models/logbook/vehicle-logbook';
201
209
  export * from './lib/models/notification/notification';
210
+ export * from './lib/models/pdf/pdf-orientation.enum';
202
211
  export * from './lib/models/phone/phone';
203
212
  export * from './lib/models/property/calculation-form-item';
204
213
  export * from './lib/models/property/calculation-form-type.enum';
@@ -223,6 +232,8 @@ export * from './lib/models/registration-invite/registration-invite';
223
232
  export * from './lib/models/report/depreciation/depreciation-lvp-report-item';
224
233
  export * from './lib/models/report/depreciation/depreciation-report-item';
225
234
  export * from './lib/models/report/depreciation/depreciation-lvp-asset-type.enum';
235
+ export * from './lib/models/report/property/property-report-item';
236
+ export * from './lib/models/report/property/property-report-item-transaction';
226
237
  export * from './lib/models/service-subscription/module-url-list.const';
227
238
  export * from './lib/models/service-subscription/service-payment';
228
239
  export * from './lib/models/service-subscription/service-price';
@@ -261,6 +272,7 @@ export * from './lib/models/user-event/user-event-type';
261
272
  /**
262
273
  * Services
263
274
  */
275
+ export * from './lib/services/account-setup/account-setup.service';
264
276
  export * from './lib/services/http/address/address.service';
265
277
  export * from './lib/services/asset/assets.service';
266
278
  export * from './lib/services/auth/auth.service';
@@ -286,6 +298,7 @@ export * from './lib/services/http/depreciation/depreciation.service';
286
298
  export * from './lib/services/http/document/document-folder/document-folder.service';
287
299
  export * from './lib/services/http/firm/employee/employee.service';
288
300
  export * from './lib/services/http/firm/employee-invite/employee-invite.service';
301
+ export * from './lib/services/http/firm/client-income/client-income-types.service';
289
302
  export * from './lib/services/event/event-dispatcher.service';
290
303
  export * from './lib/services/event/sse.service';
291
304
  export * from './lib/services/http/firm/firm.service';
@@ -300,9 +313,11 @@ export * from './lib/services/http/loan/loan.service';
300
313
  export * from './lib/services/http/service-notification/service-notification.service';
301
314
  export * from './lib/services/pdf/pdf.service';
302
315
  export * from './lib/services/preloader/preloader.service';
316
+ export * from './lib/services/report/property/property-transaction-report.service';
303
317
  export * from './lib/services/property/corelogic/corelogic.service';
304
318
  export * from './lib/services/http/property/property.service';
305
319
  export * from './lib/services/property/property-calculation/property-calculation.service';
320
+ export * from './lib/services/property/property-holding-costs/property-holding-costs.service';
306
321
  export * from './lib/services/http/property/property-category/property-category.service';
307
322
  export * from './lib/services/http/property/property-document/property-document.service';
308
323
  export * from './lib/services/http/property/property-share/property-share.service';