taxtank-core 0.33.6 → 0.33.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.
Files changed (50) hide show
  1. package/esm2022/src/lib/collections/bank-account.collection.mjs +5 -41
  2. package/esm2022/src/lib/collections/depreciation.collection.mjs +15 -21
  3. package/esm2022/src/lib/collections/exportable.collection.mjs +2 -6
  4. package/esm2022/src/lib/collections/property/property.collection.mjs +8 -4
  5. package/esm2022/src/lib/collections/transaction/index.mjs +2 -1
  6. package/esm2022/src/lib/collections/transaction/transaction-base.collection.mjs +4 -0
  7. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +5 -17
  8. package/esm2022/src/lib/db/Enums/bank/bank-account-type.enum.mjs +2 -2
  9. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  10. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +6 -40
  11. package/esm2022/src/lib/forms/property/property-share.form.mjs +2 -2
  12. package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +7 -2
  13. package/esm2022/src/lib/models/bank/bank-account.mjs +6 -3
  14. package/esm2022/src/lib/models/bank/type-loan.const.mjs +2 -5
  15. package/esm2022/src/lib/models/depreciation/depreciation.mjs +8 -22
  16. package/esm2022/src/lib/models/property/property.mjs +1 -4
  17. package/esm2022/src/lib/models/report/report.interface.mjs +1 -1
  18. package/esm2022/src/lib/models/report/reports.const.mjs +107 -72
  19. package/esm2022/src/lib/models/transaction/transaction.mjs +1 -19
  20. package/esm2022/src/lib/models/user/user.mjs +18 -28
  21. package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +3 -1
  22. package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +3 -1
  23. package/esm2022/src/lib/services/http/property/property.service.mjs +3 -2
  24. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +1 -18
  25. package/fesm2022/taxtank-core.mjs +182 -287
  26. package/fesm2022/taxtank-core.mjs.map +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/collections/bank-account.collection.d.ts +1 -21
  29. package/src/lib/collections/depreciation.collection.d.ts +6 -3
  30. package/src/lib/collections/exportable.collection.d.ts +2 -2
  31. package/src/lib/collections/property/property.collection.d.ts +1 -1
  32. package/src/lib/collections/transaction/index.d.ts +1 -0
  33. package/src/lib/collections/transaction/transaction-base.collection.d.ts +4 -0
  34. package/src/lib/collections/transaction/transaction.collection.d.ts +2 -2
  35. package/src/lib/db/Enums/bank/bank-account-type.enum.d.ts +1 -0
  36. package/src/lib/db/Models/bank/bank-account.d.ts +0 -1
  37. package/src/lib/db/Models/transaction/transaction-base.d.ts +0 -9
  38. package/src/lib/forms/transaction/transaction-base-filter.form.d.ts +3 -2
  39. package/src/lib/models/bank/bank-account.d.ts +1 -0
  40. package/src/lib/models/bank/type-loan.const.d.ts +0 -3
  41. package/src/lib/models/depreciation/depreciation.d.ts +3 -11
  42. package/src/lib/models/property/property.d.ts +0 -1
  43. package/src/lib/models/report/report.interface.d.ts +4 -3
  44. package/src/lib/models/report/reports.const.d.ts +2 -2
  45. package/src/lib/models/transaction/transaction.d.ts +1 -6
  46. package/src/lib/models/user/user.d.ts +2 -14
  47. package/src/lib/services/http/holding/holding-sale.service.d.ts +2 -0
  48. package/src/lib/services/http/property/property-sale/property-sale.service.d.ts +2 -0
  49. package/src/lib/services/http/property/property.service.d.ts +2 -0
  50. package/src/lib/services/http/transaction/transaction.service.d.ts +0 -6
@@ -25,7 +25,6 @@ import round from 'lodash/round';
25
25
  import range from 'lodash/range';
26
26
  import { Validators, FormGroup, FormArray, UntypedFormControl, UntypedFormArray, UntypedFormGroup, FormControl } from '@angular/forms';
27
27
  import compact from 'lodash/compact';
28
- import concat from 'lodash/concat';
29
28
  import cloneDeep$1 from 'lodash/cloneDeep';
30
29
  import { EventSourcePolyfill } from 'event-source-polyfill/src/eventsource.min.js';
31
30
  import clone from 'lodash/clone';
@@ -465,57 +464,23 @@ class TransactionBase extends ObservableModel {
465
464
  /**
466
465
  * @TODO remove when AllocateForm is refactored and not merging with Transaction class which cause the issue
467
466
  */
468
- set tankType(tankType) {
469
- }
470
- /**
471
- * Check if current tank is Property
472
- */
467
+ set tankType(tankType) { }
473
468
  isPropertyTank() {
474
- // chart accounts may be empty for new instances
475
- if (this.chartAccounts) {
476
- return CHART_ACCOUNTS_CATEGORIES.property.includes(this.chartAccounts.category);
477
- }
478
- return !!this.property;
469
+ return CHART_ACCOUNTS_CATEGORIES.property.includes(this.chartAccounts?.category);
479
470
  }
480
- /**
481
- * Check if current tank is Work
482
- */
483
471
  isWorkTank() {
484
- // chart accounts may be empty for new instances
485
- if (this.chartAccounts) {
486
- return CHART_ACCOUNTS_CATEGORIES.work.includes(this.chartAccounts?.category);
487
- }
488
- return !this.isPropertyTank() && !this.isSoleTank();
472
+ return CHART_ACCOUNTS_CATEGORIES.work.includes(this.chartAccounts?.category);
489
473
  }
490
- /**
491
- * Check if current tank is Sole
492
- */
493
474
  isSoleTank() {
494
- // chart accounts may be empty for new instances
495
- if (this.chartAccounts) {
496
- return CHART_ACCOUNTS_CATEGORIES.sole.includes(this.chartAccounts?.category);
497
- }
498
- return !!this.business;
475
+ return CHART_ACCOUNTS_CATEGORIES.sole.includes(this.chartAccounts?.category);
499
476
  }
500
477
  isHoldingTank() {
501
- // chart accounts may be empty for new instances
502
- if (this.chartAccounts) {
503
- return CHART_ACCOUNTS_CATEGORIES.holding.includes(this.chartAccounts?.category);
504
- }
505
- // @TODO Alex we need another way to distinguish work/holding
506
- return !this.isPropertyTank() && !this.isSoleTank();
478
+ return CHART_ACCOUNTS_CATEGORIES.holding.includes(this.chartAccounts?.category);
507
479
  }
508
480
  isOtherTank() {
509
- // chart accounts may be empty for new instances
510
- if (!this.chartAccounts) {
511
- return false;
512
- }
513
481
  return CHART_ACCOUNTS_CATEGORIES.other.includes(this.chartAccounts?.category);
514
482
  }
515
483
  isPersonalTank() {
516
- if (!this.chartAccounts) {
517
- return false;
518
- }
519
484
  return CHART_ACCOUNTS_CATEGORIES.personal.includes(this.chartAccounts?.category);
520
485
  }
521
486
  get amountWithGst() {
@@ -974,7 +939,7 @@ var BankAccountTypeEnum;
974
939
  BankAccountTypeEnum[BankAccountTypeEnum["SAVINGS"] = 2] = "SAVINGS";
975
940
  BankAccountTypeEnum[BankAccountTypeEnum["CREDIT_CARD"] = 3] = "CREDIT_CARD";
976
941
  // @TODO Alex: should be removed by backend (TT-2107)
977
- // MORTGAGE = 4,
942
+ BankAccountTypeEnum[BankAccountTypeEnum["MORTGAGE"] = 4] = "MORTGAGE";
978
943
  BankAccountTypeEnum[BankAccountTypeEnum["LOAN"] = 5] = "LOAN";
979
944
  BankAccountTypeEnum[BankAccountTypeEnum["INVESTMENT"] = 6] = "INVESTMENT";
980
945
  BankAccountTypeEnum[BankAccountTypeEnum["TERM_DEPOSIT"] = 7] = "TERM_DEPOSIT";
@@ -2162,11 +2127,7 @@ class ExportableCollection extends Collection {
2162
2127
  return [];
2163
2128
  }
2164
2129
  getBodyAoa(exportData) {
2165
- return exportData.body.map(row => {
2166
- return row.map(cell => {
2167
- return cell.value;
2168
- });
2169
- });
2130
+ return exportData.body.map(row => row.map(cell => cell.value));
2170
2131
  }
2171
2132
  export(params) {
2172
2133
  return plainToClass(ExportDataTable, {
@@ -2337,10 +2298,14 @@ class PropertyCollection extends Collection {
2337
2298
  return this.sumBy('growthPercent');
2338
2299
  }
2339
2300
  get marketValue() {
2340
- return this.sumBy('marketValue');
2301
+ return this.sumBy('valuation.marketValue');
2341
2302
  }
2342
- get marketValueGrowth() {
2343
- return (this.marketValue - this.purchasePrice) / this.purchasePrice;
2303
+ get sharedMarketValue() {
2304
+ let sharedMarketValue = 0;
2305
+ this.items.forEach(property => {
2306
+ sharedMarketValue += property.shareRatio * property.marketValue;
2307
+ });
2308
+ return sharedMarketValue;
2344
2309
  }
2345
2310
  /**
2346
2311
  * Get list of unique property categories from collection
@@ -5553,6 +5518,22 @@ class User extends User$1 {
5553
5518
  roles = flatten(roles.map((role) => USER_ROLES[role]));
5554
5519
  return !!intersection(this.roles, roles).length;
5555
5520
  }
5521
+ getTankTypes() {
5522
+ const tankTypes = [];
5523
+ if (this.roles.includes(UserRolesEnum.WORK_TANK)) {
5524
+ tankTypes.push(TankTypeEnum.WORK);
5525
+ }
5526
+ if (this.roles.includes(UserRolesEnum.PROPERTY_TANK)) {
5527
+ tankTypes.push(TankTypeEnum.PROPERTY);
5528
+ }
5529
+ if (this.roles.includes(UserRolesEnum.SOLE_TANK)) {
5530
+ tankTypes.push(TankTypeEnum.SOLE);
5531
+ }
5532
+ if (this.roles.includes(UserRolesEnum.HOLDING_TANK)) {
5533
+ tankTypes.push(TankTypeEnum.HOLDING);
5534
+ }
5535
+ return tankTypes;
5536
+ }
5556
5537
  isOnboarding() {
5557
5538
  return this.status === UserStatusEnum.ON_BOARDING;
5558
5539
  }
@@ -5592,33 +5573,6 @@ class User extends User$1 {
5592
5573
  isManager() {
5593
5574
  return this.roles.includes(UserRolesEnum.FIRM_MANAGER) || this.roles.includes(UserRolesEnum.FIRM_TOP_MANAGER) || this.roles.includes(UserRolesEnum.FIRM_OWNER);
5594
5575
  }
5595
- /**
5596
- * check if user has property tank access
5597
- */
5598
- hasPropertyTank() {
5599
- return this.roles ?
5600
- this.roles.includes(UserRolesEnum.PROPERTY_TANK) :
5601
- !!this.getSubscriptionRole(UserRolesEnum.PROPERTY_TANK);
5602
- }
5603
- /**
5604
- * check if user has property tank access
5605
- */
5606
- hasWorkTank() {
5607
- return this.roles ?
5608
- this.roles.includes(UserRolesEnum.WORK_TANK) :
5609
- !!this.getSubscriptionRole(UserRolesEnum.WORK_TANK);
5610
- }
5611
- /**
5612
- * Get user subscription role by provided role type
5613
- * @param roleType by which role should be returned
5614
- */
5615
- getSubscriptionRole(roleType) {
5616
- /**
5617
- * Add @TODO for Alex to check if we should use getLastSubscription here
5618
- */
5619
- return this.activeSubscription?.items
5620
- .find((subscriptionItem) => subscriptionItem.price.product.role.includes(roleType));
5621
- }
5622
5576
  isCurrentFinancialYear() {
5623
5577
  return new FinancialYear(new Date()).year === this.financialYear;
5624
5578
  }
@@ -5831,9 +5785,6 @@ class Property extends Property$1 {
5831
5785
  get forecastedCashPosition() {
5832
5786
  return this.currentYearForecast?.cashPosition || 0;
5833
5787
  }
5834
- get marketValueGrowth() {
5835
- return (this.marketValue - this.purchasePrice) / this.marketValue;
5836
- }
5837
5788
  get myShare() {
5838
5789
  return this.shares.find((share) => share.user.id === +localStorage.getItem('userId'));
5839
5790
  }
@@ -6462,24 +6413,6 @@ class Transaction extends Transaction$1 {
6462
6413
  isInterest() {
6463
6414
  return this.chartAccounts.id === ChartAccountsListEnum.INTEREST_ON_LOAN;
6464
6415
  }
6465
- get chartAccountsCategories() {
6466
- switch (true) {
6467
- case this.isPersonal():
6468
- return CHART_ACCOUNTS_CATEGORIES.personal;
6469
- case this.isPropertyTank():
6470
- return CHART_ACCOUNTS_CATEGORIES.property;
6471
- case this.isSoleTank():
6472
- return CHART_ACCOUNTS_CATEGORIES.sole;
6473
- default:
6474
- return CHART_ACCOUNTS_CATEGORIES.work;
6475
- }
6476
- }
6477
- /**
6478
- * Get transaction date
6479
- */
6480
- getDate() {
6481
- return this.date;
6482
- }
6483
6416
  /**
6484
6417
  * Check if transaction type is vehicle
6485
6418
  */
@@ -6803,14 +6736,10 @@ class Depreciation extends Depreciation$1 {
6803
6736
  super(...arguments);
6804
6737
  this.forecasts = [];
6805
6738
  this.type = DepreciationTypeEnum.PLANT_EQUIPMENT;
6806
- /**
6807
- * @TODO remove after ? signs removed from db models
6808
- */
6809
6739
  this.amount = 0;
6810
6740
  }
6811
- static { this.WRITTEN_OFF_THRESHOLD = 300; }
6812
- static { this.LOW_VALUE_POOL_THRESHOLD = 1000; }
6813
- // Type checking
6741
+ static { this.writtenOffThreshold = 300; }
6742
+ static { this.lowValuePoolThreshold = 1000; }
6814
6743
  isCapital() {
6815
6744
  return this.type === DepreciationTypeEnum.CAPITAL_WORKS;
6816
6745
  }
@@ -6820,7 +6749,6 @@ class Depreciation extends Depreciation$1 {
6820
6749
  isAsset() {
6821
6750
  return this.type === DepreciationTypeEnum.PLANT_EQUIPMENT;
6822
6751
  }
6823
- // Calculation checking
6824
6752
  isSBPCalculation() {
6825
6753
  return this.calculation === DepreciationCalculationEnum.SBP;
6826
6754
  }
@@ -6839,7 +6767,7 @@ class Depreciation extends Depreciation$1 {
6839
6767
  && !this.isSBPCalculation()
6840
6768
  && this.isDiminishing()
6841
6769
  && !this.isWrittenOff()
6842
- && this.currentYearForecast.closeBalance <= Depreciation.LOW_VALUE_POOL_THRESHOLD;
6770
+ && this.currentYearForecast.closeBalance <= Depreciation.lowValuePoolThreshold;
6843
6771
  }
6844
6772
  isSBP() {
6845
6773
  return this.isAsset() && this.isSBPCalculation() && !this.isWrittenOff();
@@ -6859,12 +6787,6 @@ class Depreciation extends Depreciation$1 {
6859
6787
  isVehicleDepreciation() {
6860
6788
  return this.chartAccounts.heading?.id === ChartAccountsHeadingVehicleListEnum.DEPRECIATION_VEHICLES;
6861
6789
  }
6862
- /**
6863
- * Get depreciation purchase date
6864
- */
6865
- getDate() {
6866
- return this.date;
6867
- }
6868
6790
  /**
6869
6791
  * @TODO Vik: Research a problem with depreciations without current year forecast
6870
6792
  */
@@ -6886,9 +6808,6 @@ class Depreciation extends Depreciation$1 {
6886
6808
  getCloseBalanceByYear(year) {
6887
6809
  return this.getForecastByYear(year)?.closeBalance || 0;
6888
6810
  }
6889
- isBuildingAtCost() {
6890
- return this.chartAccounts.id === ChartAccountsListEnum.BUILDING_AT_COST;
6891
- }
6892
6811
  /**
6893
6812
  * Create a new transaction from current depreciation
6894
6813
  */
@@ -6909,7 +6828,7 @@ class Depreciation extends Depreciation$1 {
6909
6828
  }
6910
6829
  get amountWithGst() {
6911
6830
  // gst applies only to new assets
6912
- if (this.isNew()) {
6831
+ if (this.isCurrentYearBuy()) {
6913
6832
  return super.amountWithGst;
6914
6833
  }
6915
6834
  return this.amount;
@@ -6920,7 +6839,7 @@ class Depreciation extends Depreciation$1 {
6920
6839
  /**
6921
6840
  * assets purchased in the current financial year
6922
6841
  */
6923
- isNew() {
6842
+ isCurrentYearBuy() {
6924
6843
  return new FinancialYear(this.date).year === new FinancialYear().year;
6925
6844
  }
6926
6845
  }
@@ -6954,7 +6873,7 @@ __decorate([
6954
6873
  forecast.closeBalance < 1000 &&
6955
6874
  obj.calculation === DepreciationCalculationEnum.DIMINISHING &&
6956
6875
  obj.type === DepreciationTypeEnum.PLANT_EQUIPMENT &&
6957
- !(obj.amount > Depreciation.WRITTEN_OFF_THRESHOLD && obj.amount < Depreciation.LOW_VALUE_POOL_THRESHOLD) &&
6876
+ !(obj.amount > Depreciation.writtenOffThreshold && obj.amount < Depreciation.lowValuePoolThreshold) &&
6958
6877
  !(obj.writeOffDate && new FinancialYear(new Date(obj.writeOffDate)).year === obj.financialYear);
6959
6878
  });
6960
6879
  return value;
@@ -6989,10 +6908,13 @@ __decorate([
6989
6908
  Expose()
6990
6909
  ], DepreciationLvpReportItem.prototype, "assetType", void 0);
6991
6910
 
6911
+ class TransactionBaseCollection extends ExportableCollection {
6912
+ }
6913
+
6992
6914
  /**
6993
6915
  * Collection of transactions
6994
6916
  */
6995
- class TransactionCollection extends ExportableCollection {
6917
+ class TransactionCollection extends TransactionBaseCollection {
6996
6918
  /**
6997
6919
  * we use depreciations as expense transactions a lot
6998
6920
  */
@@ -7092,7 +7014,7 @@ class TransactionCollection extends ExportableCollection {
7092
7014
  * Get new collection of property transactions
7093
7015
  */
7094
7016
  getPropertyTransactions() {
7095
- return new TransactionCollection(this.items.filter((transaction) => transaction.isPropertyTank()));
7017
+ return this.filterBy('tankType', TankTypeEnum.PROPERTY);
7096
7018
  }
7097
7019
  getDebitTransactions() {
7098
7020
  return new TransactionCollection(this.items.filter((transaction) => transaction.isDebit()));
@@ -7125,19 +7047,7 @@ class TransactionCollection extends ExportableCollection {
7125
7047
  * Get new transaction collection filtered by tank type
7126
7048
  */
7127
7049
  getByTankType(tankType) {
7128
- return this.create(this.items.filter((transaction) => {
7129
- switch (tankType) {
7130
- case TankTypeEnum.PROPERTY:
7131
- return transaction.isPropertyTank();
7132
- case TankTypeEnum.WORK:
7133
- return transaction.isWorkTank();
7134
- case TankTypeEnum.SOLE:
7135
- return transaction.isSoleTank();
7136
- // Transaction may be not related to any tank type (personal)
7137
- default:
7138
- return false;
7139
- }
7140
- }));
7050
+ return this.filterBy('tankType', tankType);
7141
7051
  }
7142
7052
  getExportHeader() {
7143
7053
  return ['Date', 'Description', 'Debit', 'Credit'];
@@ -7260,12 +7170,12 @@ class TransactionAllocationCollection extends Collection {
7260
7170
  }
7261
7171
  }
7262
7172
 
7263
- class DepreciationCollection extends Collection {
7173
+ class DepreciationCollection extends TransactionBaseCollection {
7264
7174
  getSoleDepreciations() {
7265
7175
  return this.filter((depreciation) => depreciation.isSoleTank());
7266
7176
  }
7267
- getNew() {
7268
- return this.filter((depreciation) => depreciation.isNew());
7177
+ getCurrentYearBuy() {
7178
+ return this.filter(depreciation => depreciation.isCurrentYearBuy());
7269
7179
  }
7270
7180
  /**
7271
7181
  * Get total amount of all depreciations in the collection
@@ -7274,7 +7184,7 @@ class DepreciationCollection extends Collection {
7274
7184
  return this.items.reduce((sum, depreciation) => sum + depreciation.amount, 0);
7275
7185
  }
7276
7186
  get claimAmount() {
7277
- return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.claimAmount, 0);
7187
+ return this.sumBy('currentYearForecast.claimAmount');
7278
7188
  }
7279
7189
  getClaimedAmountByYear(year = +localStorage.getItem('financialYear')) {
7280
7190
  const closeBalance = this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0);
@@ -7287,7 +7197,7 @@ class DepreciationCollection extends Collection {
7287
7197
  return this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0);
7288
7198
  }
7289
7199
  getCurrentYearForecastAmount() {
7290
- return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.amount, 0);
7200
+ return this.sumBy('currentYearForecast.amount');
7291
7201
  }
7292
7202
  get closeBalance() {
7293
7203
  return this.sumBy('currentYearForecast.closeBalance');
@@ -7305,7 +7215,7 @@ class DepreciationCollection extends Collection {
7305
7215
  return new DepreciationCollection(this.items.filter((depreciation) => !depreciation.isBorrowingExpense()));
7306
7216
  }
7307
7217
  getByChartAccountsCategories(categories) {
7308
- return this.create(this.items.filter((depreciation) => categories.includes(depreciation.chartAccounts.category)));
7218
+ return this.filterBy('chartAccounts.category', categories);
7309
7219
  }
7310
7220
  getAssets() {
7311
7221
  return this.filter((depreciation) => depreciation.isAsset());
@@ -7338,19 +7248,7 @@ class DepreciationCollection extends Collection {
7338
7248
  return this.filter((depreciation) => depreciation.isVehicleDepreciation());
7339
7249
  }
7340
7250
  getByTankType(tankType) {
7341
- return this.create(this.items.filter((depreciation) => {
7342
- switch (tankType) {
7343
- case TankTypeEnum.PROPERTY:
7344
- return depreciation.isPropertyTank();
7345
- case TankTypeEnum.WORK:
7346
- return depreciation.isWorkTank();
7347
- case TankTypeEnum.SOLE:
7348
- return depreciation.isSoleTank();
7349
- // case for other tank or some extra
7350
- default:
7351
- return false;
7352
- }
7353
- }));
7251
+ return this.filterBy('tankType', tankType);
7354
7252
  }
7355
7253
  /**
7356
7254
  * Create TransactionCollection from depreciation items
@@ -7368,6 +7266,12 @@ class DepreciationCollection extends Collection {
7368
7266
  // work tank may have only one vehicle claim, so we need to filter by tank type
7369
7267
  : this.getVehicleDepreciations().filterBy('tankType', TankTypeEnum.WORK);
7370
7268
  }
7269
+ getExportBody(params) {
7270
+ return [];
7271
+ }
7272
+ getExportHeader() {
7273
+ return [];
7274
+ }
7371
7275
  }
7372
7276
 
7373
7277
  /**
@@ -8218,76 +8122,112 @@ class VehicleExpense extends AbstractModel {
8218
8122
  }
8219
8123
  }
8220
8124
 
8221
- const REPORTS = new Collection([
8222
- {
8223
- title: 'Income & Expense Report',
8224
- description: 'Income and expense report with prior year comparison and monthly view option. Filter by Tank, property, business or personal categories',
8225
- route: './income-expense',
8226
- roles: [UserRolesEnum.CLIENT],
8227
- },
8228
- // @TODO TT-4385
8229
- // {
8230
- // title: 'Transactions Report',
8231
- // description: 'Detailed report of the transactions allocated to each category. Filter by tank, property, business or your own search criteria',
8232
- // route: './transactions',
8233
- // roles: [UserRolesEnum.CLIENT]
8234
- // },
8235
- {
8236
- title: 'MyTax Report',
8237
- description: 'Coded to the ATO\'s MyTax report, our interactive report enable you to self lodge faster, easier and more accurately online without the stress',
8238
- route: './my-tax',
8239
- roles: [UserRolesEnum.CLIENT]
8240
- },
8241
- // @TODO TT-4386
8242
- // {
8243
- // title: 'Net Asset',
8244
- // description: 'See your current net financial position, including a breakdown of net assets and liabilities across all tanks',
8245
- // route: './assets',
8246
- // roles: [UserRolesEnum.CLIENT]
8247
- // },
8248
- {
8249
- title: 'Property Schedule',
8250
- description: 'Compliant property schedule detailing incomes, expenses and depreciation for each property and ownership percentage',
8251
- route: './property-transactions',
8252
- roles: [UserRolesEnum.PROPERTY_TANK]
8253
- },
8254
- {
8255
- title: 'Depreciation Report',
8256
- description: 'Register of building & improvements depreciation (capital works) and plant & equipment depreciation for each property',
8257
- route: './depreciation',
8258
- roles: [UserRolesEnum.WORK_TANK, UserRolesEnum.PROPERTY_TANK, UserRolesEnum.SOLE_TANK]
8259
- },
8260
- {
8261
- title: 'Low Value Pool Report',
8262
- description: 'Register of new assets valued between $301 and $1,000 and existing assets that fall below the $1,000 threshold',
8263
- route: './low-value-pool',
8264
- roles: [UserRolesEnum.WORK_TANK, UserRolesEnum.PROPERTY_TANK, UserRolesEnum.SOLE_TANK]
8265
- },
8266
- {
8267
- title: 'CGT Report',
8268
- description: 'Calculate net capital gains across all asset classes, including the application of losses and eligible concessions',
8269
- route: './cgt',
8270
- roles: [UserRolesEnum.PROPERTY_TANK, UserRolesEnum.HOLDING_TANK]
8271
- },
8272
- {
8273
- title: 'Motor Vehicle Report',
8274
- description: 'Displays work-related vehicle expenses based upon your logbook claim method or percentage',
8275
- route: './vehicle-expenses',
8276
- roles: [UserRolesEnum.WORK_TANK, UserRolesEnum.SOLE_TANK]
8277
- },
8278
- {
8279
- title: 'Business Schedule',
8280
- description: 'Compliant schedule detailing profit and loss for each primary and non-primary production business',
8281
- route: './business-schedule',
8282
- roles: [UserRolesEnum.SOLE_TANK]
8283
- },
8284
- {
8285
- title: 'BAS Report',
8286
- description: 'Summarises your GST obligations from applicable sales and purchases to enable accurate ATO lodgements',
8287
- route: './bas',
8288
- roles: [UserRolesEnum.SOLE_TANK]
8289
- },
8290
- ]);
8125
+ const REPORTS = {
8126
+ [UserRolesEnum.CLIENT]: [
8127
+ // @TODO TT-4385
8128
+ // {
8129
+ // title: 'Income & Expense Report',
8130
+ // description: 'Income and expense report with prior year comparison and monthly view option. Filter by Tank, property, business or personal categories.',
8131
+ // routerLink: './income-expense',
8132
+ // },
8133
+ {
8134
+ title: 'Transactions Report',
8135
+ description: 'Detailed report of the transactions allocated to each category. Filter by tank, property, business or your own search criteria.',
8136
+ routerLink: './transactions',
8137
+ },
8138
+ {
8139
+ title: 'MyTax Report',
8140
+ description: 'Coded to the ATO\'s MyTax report, our interactive report enable you to self lodge faster, easier and more accurately online without the stress.',
8141
+ routerLink: './my-tax',
8142
+ },
8143
+ {
8144
+ title: 'Net Asset',
8145
+ description: 'See your current net financial position, including a breakdown of net assets and liabilities across all tanks.',
8146
+ routerLink: './net-assets',
8147
+ },
8148
+ ],
8149
+ [UserRolesEnum.WORK_TANK]: [
8150
+ {
8151
+ title: 'Motor Vehicle Report',
8152
+ description: 'Displays work-related vehicle expenses based upon your logbook claim method or percentage.',
8153
+ routerLink: './vehicle-expenses',
8154
+ queryParams: { tankType: 2 }
8155
+ },
8156
+ {
8157
+ title: 'Depreciation Report',
8158
+ description: 'Register of plant & equipment depreciation including vehicles and work-related assets over $300.',
8159
+ routerLink: './depreciation',
8160
+ queryParams: { tankType: 2 }
8161
+ },
8162
+ {
8163
+ title: 'Low Value Pool Report',
8164
+ description: 'Register of new assets valued between $301 and $1,000 and existing assets that fall below the $1,000 threshold.',
8165
+ routerLink: './low-value-pool',
8166
+ queryParams: { tankType: 2 }
8167
+ },
8168
+ ],
8169
+ [UserRolesEnum.PROPERTY_TANK]: [
8170
+ {
8171
+ title: 'Property Schedule',
8172
+ description: 'Compliant property schedule detailing incomes, expenses and depreciation for each property and ownership percentage.',
8173
+ routerLink: './property-transactions',
8174
+ },
8175
+ {
8176
+ title: 'Depreciation Report',
8177
+ description: 'Register of building & improvements depreciation (capital works) and plant & equipment depreciation for each property.',
8178
+ routerLink: './depreciation',
8179
+ queryParams: { tankType: 1 }
8180
+ },
8181
+ {
8182
+ title: 'Low Value Pool Report',
8183
+ description: 'Register of new assets valued between $301 and $1,000 and existing assets that fall below the $1,000 threshold.',
8184
+ routerLink: './low-value-pool',
8185
+ queryParams: { tankType: 1 }
8186
+ },
8187
+ {
8188
+ title: 'CGT Report',
8189
+ description: 'Calculate net capital gains across all asset classes, including the application of losses and eligible concessions.',
8190
+ routerLink: './cgt/property',
8191
+ },
8192
+ ],
8193
+ [UserRolesEnum.SOLE_TANK]: [
8194
+ {
8195
+ title: 'Business Schedule',
8196
+ description: 'Compliant schedule detailing profit and loss for each primary and non-primary production business.',
8197
+ routerLink: './business-schedule',
8198
+ },
8199
+ {
8200
+ title: 'Motor Vehicle Report',
8201
+ description: 'Displays work-related vehicle expenses based upon your logbook claim method or percentage.',
8202
+ routerLink: './vehicle-expenses',
8203
+ queryParams: { tankType: 4 }
8204
+ },
8205
+ {
8206
+ title: 'Depreciation Report',
8207
+ description: 'Track small business pool depreciation, instant asset write-offs and plant & equipment.',
8208
+ routerLink: './depreciation',
8209
+ queryParams: { tankType: 4 }
8210
+ },
8211
+ {
8212
+ title: 'Low Value Pool Report',
8213
+ description: 'Register of new assets valued between $301 and $1,000 and existing assets that fall below the $1,000 threshold.',
8214
+ routerLink: './low-value-pool',
8215
+ queryParams: { tankType: 4 }
8216
+ },
8217
+ {
8218
+ title: 'BAS Report',
8219
+ description: 'Summarises your GST obligations from applicable sales and purchases to enable accurate ATO lodgements.',
8220
+ routerLink: './bas',
8221
+ },
8222
+ ],
8223
+ [UserRolesEnum.HOLDING_TANK]: [
8224
+ {
8225
+ title: 'CGT Report',
8226
+ description: 'Calculate net capital gains across all asset classes, including the application of losses and eligible concessions.',
8227
+ routerLink: './cgt/holding',
8228
+ },
8229
+ ],
8230
+ };
8291
8231
 
8292
8232
  /**
8293
8233
  * Base collection to work with property report items
@@ -8961,26 +8901,6 @@ class AccountSetupItemCollection extends Collection {
8961
8901
  * Collection of bank accounts.
8962
8902
  */
8963
8903
  class BankAccountCollection extends Collection {
8964
- /**
8965
- * get list of bank accounts with passed types
8966
- */
8967
- getByType(types, isExclude = false) {
8968
- // get types always as array (if only one passed)
8969
- const typesArray = concat(types);
8970
- return this.items.filter((bankAccount) => {
8971
- if (isExclude) {
8972
- return !typesArray.includes(bankAccount.type);
8973
- }
8974
- return typesArray.includes(bankAccount.type);
8975
- });
8976
- }
8977
- /**
8978
- * get amount of current loans
8979
- */
8980
- getCurrentLoanAmount() {
8981
- return this.getByType(TYPE_LOAN)
8982
- .reduce((sum, bankAccount) => sum += bankAccount.currentBalance, 0);
8983
- }
8984
8904
  /**
8985
8905
  * get collection filtered by property id
8986
8906
  */
@@ -9009,18 +8929,15 @@ class BankAccountCollection extends Collection {
9009
8929
  getActive() {
9010
8930
  return this.getOwn().filter((bankAccount) => bankAccount.isActive());
9011
8931
  }
9012
- /**
9013
- * Get collection of loan bank accounts
9014
- */
9015
8932
  getLoanAccounts() {
9016
- return new BankAccountCollection(this.getByType(TYPE_LOAN));
8933
+ return this.filterBy('type', TYPE_LOAN);
8934
+ }
8935
+ getDebitAccounts() {
8936
+ return this.filter(bankAccount => ![...TYPE_LOAN, BankAccountTypeEnum.CREDIT_CARD].includes(bankAccount.type));
9017
8937
  }
9018
8938
  get loans() {
9019
8939
  return new LoanCollection(this.filterBy('type', BankAccountTypeEnum.LOAN).map((bankAccount) => bankAccount.loan));
9020
8940
  }
9021
- getSavingsAccounts() {
9022
- return new BankAccountCollection(this.getByType(TYPE_LOAN, true));
9023
- }
9024
8941
  getOpeningBalance() {
9025
8942
  return this.items.reduce((sum, bankAccount) => sum + bankAccount.getOpeningBalance(), 0);
9026
8943
  }
@@ -9030,18 +8947,6 @@ class BankAccountCollection extends Collection {
9030
8947
  get bankShortNames() {
9031
8948
  return uniq(this.map((bankAccount) => bankAccount.bank.shortName)).join(', ');
9032
8949
  }
9033
- /**
9034
- * Get Collection of bank accounts with property tank type
9035
- */
9036
- getPropertyBankAccounts() {
9037
- return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.isPropertyTank()));
9038
- }
9039
- /**
9040
- * Get Collection of bank accounts with work tank type
9041
- */
9042
- getWorkBankAccounts() {
9043
- return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.isWorkTank()));
9044
- }
9045
8950
  /**
9046
8951
  * Get Collection of bank accounts by tank type
9047
8952
  */
@@ -9957,7 +9862,7 @@ class BankAccount extends BankAccount$1 {
9957
9862
  * first import (transactions) of basiq accounts
9958
9863
  */
9959
9864
  isFirstImport() {
9960
- return !this.lastTransactionDate && !this.isManual;
9865
+ return !this.lastTransactionDate && !this.isManual();
9961
9866
  }
9962
9867
  /**
9963
9868
  * Check if passed user id is owner of bank account
@@ -9972,11 +9877,14 @@ class BankAccount extends BankAccount$1 {
9972
9877
  const shouldPayoutLoanAccount = this.isActive() && this.isLoan() && taxTankBalance === 0;
9973
9878
  // we don't check current balance for basiq accounts, because basiq doesn't provide us last transactions (can't do for closed accounts),
9974
9879
  // that's why balance won't be 0 (updated by basiq)
9975
- if (shouldPayoutLoanAccount && this.isManual) {
9880
+ if (shouldPayoutLoanAccount && this.isManual()) {
9976
9881
  return this.currentBalance === 0;
9977
9882
  }
9978
9883
  return shouldPayoutLoanAccount;
9979
9884
  }
9885
+ isManual() {
9886
+ return !this.accountId;
9887
+ }
9980
9888
  }
9981
9889
  __decorate([
9982
9890
  Type(() => BankAccountProperty)
@@ -10212,11 +10120,8 @@ var BankTransactionSummaryFieldsEnum;
10212
10120
  BankTransactionSummaryFieldsEnum["ALLOCATED_AMOUNT"] = "allocatedAmount";
10213
10121
  })(BankTransactionSummaryFieldsEnum || (BankTransactionSummaryFieldsEnum = {}));
10214
10122
 
10215
- /**
10216
- * @TODO credit card has nothing to do with loan
10217
- */
10218
10123
  const TYPE_LOAN = [
10219
- BankAccountTypeEnum.CREDIT_CARD,
10124
+ BankAccountTypeEnum.MORTGAGE,
10220
10125
  BankAccountTypeEnum.LOAN
10221
10126
  ];
10222
10127
 
@@ -13818,6 +13723,7 @@ class PropertySaleService extends RestService$1 {
13818
13723
  this.collectionClass = PropertySaleCollection;
13819
13724
  this.endpointUri = 'properties/sales';
13820
13725
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13726
+ this.roles = [UserRolesEnum.PROPERTY_TANK];
13821
13727
  }
13822
13728
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13823
13729
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropertySaleService, providedIn: 'root' }); }
@@ -13925,7 +13831,6 @@ var PropertyMessagesEnum;
13925
13831
  * Service for work with Property
13926
13832
  */
13927
13833
  class PropertyService extends RestService$1 {
13928
- // roles = [UserRolesEnum.PROPERTY_TANK];
13929
13834
  constructor(environment) {
13930
13835
  super(environment);
13931
13836
  this.environment = environment;
@@ -13933,6 +13838,7 @@ class PropertyService extends RestService$1 {
13933
13838
  this.collectionClass = PropertyCollection;
13934
13839
  this.endpointUri = 'properties';
13935
13840
  this.disabledMethods = ['deleteBatch'];
13841
+ this.roles = [UserRolesEnum.PROPERTY_TANK];
13936
13842
  this.listenEvents();
13937
13843
  }
13938
13844
  /**
@@ -15410,23 +15316,6 @@ class TransactionService extends RestService {
15410
15316
  this.transactionDeleted.emit(model);
15411
15317
  }));
15412
15318
  }
15413
- /**
15414
- * @TODO Alex wrong place for this logic, move to model
15415
- * calculate gross income amount based on transaction amount and taxes (fees)
15416
- * @param transaction Transaction instance for calculation
15417
- */
15418
- calculateGrossAmount(transaction) {
15419
- let amount = transaction.amount || 0;
15420
- // gross income amount includes amount of fees for property tank and tax for work tank
15421
- if (transaction.isPropertyTank()) {
15422
- amount += transaction.transactions.reduce((sum, item) => sum + item.amount, 0);
15423
- }
15424
- else {
15425
- // @TODO Alex: fix logic after TT-641 ready
15426
- amount += (transaction.tax || 0);
15427
- }
15428
- return amount;
15429
- }
15430
15319
  /**
15431
15320
  * Listen to EventDispatcherService event related to Depreciation changing
15432
15321
  */
@@ -16073,6 +15962,7 @@ class HoldingSaleService extends RestService$1 {
16073
15962
  this.collectionClass = HoldingSaleCollection;
16074
15963
  this.endpointUri = 'holding-sales';
16075
15964
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15965
+ this.roles = [UserRolesEnum.HOLDING_TANK];
16076
15966
  }
16077
15967
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16078
15968
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HoldingSaleService, providedIn: 'root' }); }
@@ -22428,7 +22318,7 @@ class PropertyShareForm extends AbstractForm {
22428
22318
  constructor(share = plainToClass(PropertyShare, {})) {
22429
22319
  super({
22430
22320
  fromDate: new UntypedFormControl(share.fromDate || new Date()),
22431
- percent: new UntypedFormControl(share.percent, [Validators.required, Validators.min(0), Validators.max(100)])
22321
+ percent: new UntypedFormControl(share.percent, [Validators.required, Validators.min(1), Validators.max(100)])
22432
22322
  }, share);
22433
22323
  }
22434
22324
  }
@@ -23934,10 +23824,11 @@ class HoldingIncomeForm extends WorkTransactionForm {
23934
23824
  }
23935
23825
 
23936
23826
  class TransactionBaseFilterForm extends FormGroup {
23937
- constructor(tankType, business) {
23827
+ constructor(tankType, business, properties) {
23938
23828
  super({
23939
23829
  tankType: new FormControl(tankType),
23940
23830
  business: new FormControl({ value: business, disabled: true }),
23831
+ properties: new FormControl({ value: properties, disabled: true }),
23941
23832
  dateFrom: new FormControl(),
23942
23833
  dateTo: new FormControl(),
23943
23834
  });
@@ -23946,6 +23837,7 @@ class TransactionBaseFilterForm extends FormGroup {
23946
23837
  listenEvents() {
23947
23838
  this.get('tankType').valueChanges.subscribe(tankType => {
23948
23839
  tankType === TankTypeEnum.SOLE ? this.get('business').enable() : this.get('business').disable();
23840
+ tankType === TankTypeEnum.PROPERTY ? this.get('properties').enable() : this.get('properties').disable();
23949
23841
  });
23950
23842
  }
23951
23843
  filter(collection) {
@@ -23962,6 +23854,9 @@ class TransactionBaseFilterForm extends FormGroup {
23962
23854
  if (value.business) {
23963
23855
  collection = collection.filterBy('business.id', value.business.id);
23964
23856
  }
23857
+ if (value.properties) {
23858
+ collection = collection.filterBy('property.id', value.properties.map(property => property.id));
23859
+ }
23965
23860
  return collection;
23966
23861
  }
23967
23862
  }
@@ -24307,5 +24202,5 @@ var MessagesEnum;
24307
24202
  * Generated bundle index. Do not edit.
24308
24203
  */
24309
24204
 
24310
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsUnallocatableListEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingImport, HoldingImportForm, HoldingImportMessagesEnum, HoldingImportService, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionService, TransactionSourceEnum, TransactionTypeEnum, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, alphaSpaceValidator, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
24205
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsUnallocatableListEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingImport, HoldingImportForm, HoldingImportMessagesEnum, HoldingImportService, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionService, TransactionSourceEnum, TransactionTypeEnum, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, alphaSpaceValidator, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
24311
24206
  //# sourceMappingURL=taxtank-core.mjs.map