taxtank-core 0.8.3 → 0.8.7

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 (166) hide show
  1. package/bundles/taxtank-core.umd.js +145 -140
  2. package/bundles/taxtank-core.umd.js.map +1 -1
  3. package/esm2015/lib/collections/collection.js +2 -2
  4. package/esm2015/lib/collections/depreciation.collection.js +3 -3
  5. package/esm2015/lib/collections/tax-summary/report-item.collection.js +141 -0
  6. package/esm2015/lib/db/Models/transaction-base.js +2 -1
  7. package/esm2015/lib/models/property/property.js +7 -4
  8. package/esm2015/lib/models/tax-summary/report-item-details.js +9 -0
  9. package/esm2015/lib/models/tax-summary/report-item.js +15 -0
  10. package/esm2015/lib/models/tax-summary/tax-summary-section.js +5 -5
  11. package/esm2015/lib/services/http/address/address.service.js +39 -0
  12. package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +118 -0
  13. package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +52 -0
  14. package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +89 -0
  15. package/esm2015/lib/services/http/bank/bank.service.js +24 -0
  16. package/esm2015/lib/services/http/bank/basiq/basiq.service.js +94 -0
  17. package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +38 -0
  18. package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +89 -0
  19. package/esm2015/lib/services/http/chat/chat.service.js +77 -0
  20. package/esm2015/lib/services/http/chat/message/message.service.js +65 -0
  21. package/esm2015/lib/services/http/chat/message-document/message-document.service.js +118 -0
  22. package/esm2015/lib/services/{depreciation/capital-project.service.js → http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js} +7 -7
  23. package/esm2015/lib/services/http/depreciation/depreciation.service.js +146 -0
  24. package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +84 -0
  25. package/esm2015/lib/services/{client → http/firm/client-invite}/client-invite.service.js +7 -7
  26. package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +98 -0
  27. package/esm2015/lib/services/http/firm/employee/employee.service.js +39 -0
  28. package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +53 -0
  29. package/esm2015/lib/services/http/firm/firm.service.js +79 -0
  30. package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +37 -0
  31. package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +90 -0
  32. package/esm2015/lib/services/http/income-source/income-source.service.js +109 -0
  33. package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +90 -0
  34. package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +87 -0
  35. package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +73 -0
  36. package/esm2015/lib/services/http/loan/loan.service.js +145 -0
  37. package/esm2015/lib/services/http/property/property-category/property-category.service.js +23 -0
  38. package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +47 -0
  39. package/esm2015/lib/services/http/property/property-document/property-document.service.js +70 -0
  40. package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +20 -0
  41. package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +21 -0
  42. package/esm2015/lib/services/http/property/property-share/property-share.service.js +115 -0
  43. package/esm2015/lib/services/http/property/property.service.js +126 -0
  44. package/esm2015/lib/services/http/rest/rest.service.js +190 -0
  45. package/esm2015/lib/services/http/service-notification/service-notification.service.js +65 -0
  46. package/esm2015/lib/services/http/subscription/subscription.service.js +157 -0
  47. package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +41 -0
  48. package/esm2015/lib/services/http/tax-review/tax-review.service.js +103 -0
  49. package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +71 -0
  50. package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +85 -0
  51. package/esm2015/lib/services/http/transaction/transaction.service.js +319 -0
  52. package/esm2015/lib/services/http/user/occupation/occupation.service.js +45 -0
  53. package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +59 -0
  54. package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +29 -0
  55. package/esm2015/lib/services/http/user/user.service.js +124 -0
  56. package/esm2015/lib/services/http/vehicle/vehicle.service.js +237 -0
  57. package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +45 -0
  58. package/esm2015/public-api.js +51 -51
  59. package/fesm2015/taxtank-core.js +67 -62
  60. package/fesm2015/taxtank-core.js.map +1 -1
  61. package/lib/collections/collection.d.ts +1 -1
  62. package/lib/collections/{tax-return-category-item.collection.d.ts → tax-summary/report-item.collection.d.ts} +5 -5
  63. package/lib/models/property/property.d.ts +1 -0
  64. package/lib/models/tax-summary/{tax-return-category-item-details.d.ts → report-item-details.d.ts} +2 -2
  65. package/lib/models/tax-summary/{tax-return-category-item.d.ts → report-item.d.ts} +4 -4
  66. package/lib/models/tax-summary/tax-summary-section.d.ts +2 -2
  67. package/lib/services/{address → http/address}/address.service.d.ts +1 -1
  68. package/lib/services/{bank → http/bank/bank-account}/bank-account.service.d.ts +5 -5
  69. package/lib/services/{bank → http/bank/bank-connection}/bank-connection.service.d.ts +5 -5
  70. package/lib/services/{bank → http/bank/bank-transaction}/bank-transaction.service.d.ts +5 -5
  71. package/lib/services/{bank → http/bank}/bank.service.d.ts +4 -4
  72. package/lib/services/{bank → http/bank/basiq}/basiq.service.d.ts +7 -7
  73. package/lib/services/{chart-accounts → http/chart-accounts/chart-accounts-depreciations}/chart-accounts-depreciations.service.d.ts +4 -4
  74. package/lib/services/{chart-accounts → http/chart-accounts}/chart-accounts.service.d.ts +3 -3
  75. package/lib/services/{chat → http/chat}/chat.service.d.ts +7 -7
  76. package/lib/services/{chat → http/chat/message}/message.service.d.ts +7 -7
  77. package/lib/services/{chat → http/chat/message-document}/message-document.service.d.ts +3 -3
  78. package/lib/services/{depreciation/capital-project.service.d.ts → http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts} +4 -4
  79. package/lib/services/{depreciation → http/depreciation}/depreciation.service.d.ts +5 -5
  80. package/lib/services/{document → http/document/document-folder}/document-folder.service.d.ts +6 -6
  81. package/lib/services/{client → http/firm/client-invite}/client-invite.service.d.ts +4 -4
  82. package/lib/services/{client → http/firm/client-movement}/client-movement.service.d.ts +7 -7
  83. package/lib/services/{employee → http/firm/employee}/employee.service.d.ts +4 -4
  84. package/lib/services/{employee → http/firm/employee-invite}/employee-invite.service.d.ts +4 -4
  85. package/lib/services/{firm → http/firm}/firm.service.d.ts +2 -2
  86. package/lib/services/{client → http/firm/portfolio-report}/client-portfolio-report.service.d.ts +1 -1
  87. package/lib/services/{income-source → http/income-source/income-source-forecast}/income-source-forecast.service.d.ts +5 -5
  88. package/lib/services/{income-source → http/income-source}/income-source.service.d.ts +8 -8
  89. package/lib/services/{income-source → http/income-source/salary-forecast}/salary-forecast.service.d.ts +6 -6
  90. package/lib/services/{income-source → http/income-source/sole-forecast}/sole-forecast.service.d.ts +5 -5
  91. package/lib/services/{borrowing-expense → http/loan/borrowing-expense}/borrowing-expense.service.d.ts +2 -2
  92. package/lib/services/{loan → http/loan}/loan.service.d.ts +6 -6
  93. package/lib/services/{property → http/property}/property-category/property-category.service.d.ts +4 -4
  94. package/lib/services/{property → http/property/property-category-movement}/property-category-movement.service.d.ts +4 -4
  95. package/lib/services/{property → http/property}/property-document/property-document.service.d.ts +5 -5
  96. package/lib/services/http/property/property-sale/property-sale.service.d.ts +10 -0
  97. package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts +11 -0
  98. package/lib/services/{property → http/property}/property-share/property-share.service.d.ts +5 -5
  99. package/lib/services/{property → http/property}/property.service.d.ts +5 -5
  100. package/lib/services/{base-rest.service.d.ts → http/rest/rest.service.d.ts} +4 -4
  101. package/lib/services/http/service-notification/service-notification.service.d.ts +31 -0
  102. package/lib/services/{subscription → http/subscription}/subscription.service.d.ts +6 -6
  103. package/lib/services/{tax-review → http/tax-review/tax-review-history}/tax-review-history.service.d.ts +5 -5
  104. package/lib/services/{tax-review → http/tax-review}/tax-review.service.d.ts +6 -6
  105. package/lib/services/{tax-summary → http/tax-summary}/tax-summary.service.d.ts +2 -2
  106. package/lib/services/{transaction → http/transaction/transaction-allocation}/transaction-allocation.service.d.ts +6 -6
  107. package/lib/services/{transaction → http/transaction}/transaction.service.d.ts +7 -7
  108. package/lib/services/{user → http/user/occupation}/occupation.service.d.ts +1 -1
  109. package/lib/services/{user-event → http/user/user-event-setting}/user-event-setting.service.d.ts +5 -5
  110. package/lib/services/{user-event → http/user/user-event-type}/user-event-type.service.d.ts +5 -5
  111. package/lib/services/{user → http/user}/user.service.d.ts +3 -3
  112. package/lib/services/{work/work-tank.service.d.ts → http/vehicle/vehicle.service.d.ts} +9 -8
  113. package/lib/services/property/{equity-position-chart.service.d.ts → equity-position-chart/equity-position-chart.service.d.ts} +1 -1
  114. package/package.json +1 -1
  115. package/public-api.d.ts +50 -50
  116. package/esm2015/lib/collections/tax-return-category-item.collection.js +0 -141
  117. package/esm2015/lib/models/tax-summary/tax-return-category-item-details.js +0 -9
  118. package/esm2015/lib/models/tax-summary/tax-return-category-item.js +0 -15
  119. package/esm2015/lib/services/address/address.service.js +0 -39
  120. package/esm2015/lib/services/bank/bank-account.service.js +0 -118
  121. package/esm2015/lib/services/bank/bank-connection.service.js +0 -52
  122. package/esm2015/lib/services/bank/bank-transaction.service.js +0 -89
  123. package/esm2015/lib/services/bank/bank.service.js +0 -24
  124. package/esm2015/lib/services/bank/basiq.service.js +0 -94
  125. package/esm2015/lib/services/base-rest.service.js +0 -190
  126. package/esm2015/lib/services/borrowing-expense/borrowing-expense.service.js +0 -73
  127. package/esm2015/lib/services/chart-accounts/chart-accounts-depreciations.service.js +0 -38
  128. package/esm2015/lib/services/chart-accounts/chart-accounts.service.js +0 -89
  129. package/esm2015/lib/services/chat/chat.service.js +0 -77
  130. package/esm2015/lib/services/chat/message-document.service.js +0 -118
  131. package/esm2015/lib/services/chat/message.service.js +0 -65
  132. package/esm2015/lib/services/client/client-movement.service.js +0 -98
  133. package/esm2015/lib/services/client/client-portfolio-report.service.js +0 -37
  134. package/esm2015/lib/services/depreciation/depreciation.service.js +0 -146
  135. package/esm2015/lib/services/document/document-folder.service.js +0 -84
  136. package/esm2015/lib/services/employee/employee-invite.service.js +0 -53
  137. package/esm2015/lib/services/employee/employee.service.js +0 -39
  138. package/esm2015/lib/services/firm/firm.service.js +0 -79
  139. package/esm2015/lib/services/income-source/income-source-forecast.service.js +0 -90
  140. package/esm2015/lib/services/income-source/income-source.service.js +0 -109
  141. package/esm2015/lib/services/income-source/salary-forecast.service.js +0 -90
  142. package/esm2015/lib/services/income-source/sole-forecast.service.js +0 -87
  143. package/esm2015/lib/services/loan/loan.service.js +0 -145
  144. package/esm2015/lib/services/notification/notification.service.js +0 -65
  145. package/esm2015/lib/services/property/equity-position-chart.service.js +0 -45
  146. package/esm2015/lib/services/property/property-category/property-category.service.js +0 -23
  147. package/esm2015/lib/services/property/property-category-movement.service.js +0 -47
  148. package/esm2015/lib/services/property/property-document/property-document.service.js +0 -70
  149. package/esm2015/lib/services/property/property-sale/property-sale.service.js +0 -20
  150. package/esm2015/lib/services/property/property-sale/tax-exemption/tax-exemption.service.js +0 -21
  151. package/esm2015/lib/services/property/property-share/property-share.service.js +0 -115
  152. package/esm2015/lib/services/property/property.service.js +0 -126
  153. package/esm2015/lib/services/subscription/subscription.service.js +0 -157
  154. package/esm2015/lib/services/tax-review/tax-review-history.service.js +0 -41
  155. package/esm2015/lib/services/tax-review/tax-review.service.js +0 -103
  156. package/esm2015/lib/services/tax-summary/tax-summary.service.js +0 -71
  157. package/esm2015/lib/services/transaction/transaction-allocation.service.js +0 -85
  158. package/esm2015/lib/services/transaction/transaction.service.js +0 -319
  159. package/esm2015/lib/services/user/occupation.service.js +0 -45
  160. package/esm2015/lib/services/user/user.service.js +0 -124
  161. package/esm2015/lib/services/user-event/user-event-setting.service.js +0 -59
  162. package/esm2015/lib/services/user-event/user-event-type.service.js +0 -29
  163. package/esm2015/lib/services/work/work-tank.service.js +0 -236
  164. package/lib/services/notification/notification.service.d.ts +0 -31
  165. package/lib/services/property/property-sale/property-sale.service.d.ts +0 -10
  166. package/lib/services/property/property-sale/tax-exemption/tax-exemption.service.d.ts +0 -11
@@ -862,7 +862,7 @@ class Collection {
862
862
  getIds() {
863
863
  return this.items.map((item) => item['id']);
864
864
  }
865
- getOneBy(path, value) {
865
+ findBy(path, value) {
866
866
  return this.items.find((item) => get(item, path) === value);
867
867
  }
868
868
  getBy(path, value) {
@@ -1401,8 +1401,8 @@ class DepreciationCollection extends Collection {
1401
1401
  }, 0);
1402
1402
  }
1403
1403
  getClaimAmountByYear(year = +localStorage.getItem('financialYear')) {
1404
- return this.items.reduce((sum, depreciation) => {
1405
- return sum + depreciation.getClaimAmountByYear(year);
1404
+ return this.amount - this.items.reduce((sum, depreciation) => {
1405
+ return sum + depreciation.getCloseBalanceByYear(year);
1406
1406
  }, 0);
1407
1407
  }
1408
1408
  getCloseBalanceByYear(year = +localStorage.getItem('financialYear')) {
@@ -1853,7 +1853,7 @@ var TaxReturnCategorySectionEnum;
1853
1853
  /**
1854
1854
  * collection for tax return category items
1855
1855
  */
1856
- class TaxReturnCategoryItemCollection extends Collection {
1856
+ class ReportItemCollection extends Collection {
1857
1857
  /**
1858
1858
  * Work income
1859
1859
  */
@@ -1978,7 +1978,7 @@ class TaxReturnCategoryItemCollection extends Collection {
1978
1978
  }
1979
1979
  getTaxCreditsCollection() {
1980
1980
  var _a;
1981
- return new TaxReturnCategoryItemCollection(((_a = this.getByCategory(TaxReturnCategoryListEnum.TAX_CREDITS)) === null || _a === void 0 ? void 0 : _a.items) || []);
1981
+ return new ReportItemCollection(((_a = this.getByCategory(TaxReturnCategoryListEnum.TAX_CREDITS)) === null || _a === void 0 ? void 0 : _a.items) || []);
1982
1982
  }
1983
1983
  getTotalAmountByIncomeSourceName(name) {
1984
1984
  return this.items.reduce(((sum, item) => sum + item.getAmountByIncomeSourceName(name)), 0);
@@ -2201,6 +2201,7 @@ class TransactionBase {
2201
2201
  * Check if current tank is Work
2202
2202
  */
2203
2203
  isWorkTank() {
2204
+ // @TODO remove this hack
2204
2205
  if (this.tankType) {
2205
2206
  return this.tankType === TankTypeEnum.WORK;
2206
2207
  }
@@ -3617,7 +3618,7 @@ class Property extends Property$1 {
3617
3618
  * net capital gain tax (includes tax exemptions)
3618
3619
  */
3619
3620
  calculateNetCGT(sale) {
3620
- return this.getCGTExemptionRatio(sale) * this.calculateCGT(sale);
3621
+ return this.getCGTExemptionRatio(sale) * sale.cgt;
3621
3622
  }
3622
3623
  /**
3623
3624
  * guess tax exemption based on property details
@@ -3631,7 +3632,7 @@ class Property extends Property$1 {
3631
3632
  case this.category.id === PropertyCategoryListEnum.OWNER_OCCUPIED:
3632
3633
  return TaxExemptionEnum.PPR;
3633
3634
  // exemption for investment properties owned for at least one year
3634
- case this.getOwnershipDuration(sale, 'years') >= 1:
3635
+ case this.isOneYearExemptionApplicable(sale):
3635
3636
  return TaxExemptionEnum.ONE_YEAR_RULE;
3636
3637
  default:
3637
3638
  return null;
@@ -3654,7 +3655,7 @@ class Property extends Property$1 {
3654
3655
  // main residence become investment (exemption for home office percent usage)
3655
3656
  case TaxExemptionEnum.PPR_TO_INVESTMENT:
3656
3657
  // 1 year CGT discount can still apply (on the income producing % if used for 12 months or more)
3657
- const ratio = this.getOwnershipDuration(sale, 'years') >= 1 ? 0.5 : 1;
3658
+ const ratio = this.isOneYearExemptionApplicable(sale) ? 0.5 : 1;
3658
3659
  return metadata.getClaimPercent() / 100 * ratio;
3659
3660
  // full exemption
3660
3661
  case TaxExemptionEnum.PPR:
@@ -3667,6 +3668,9 @@ class Property extends Property$1 {
3667
3668
  return 1;
3668
3669
  }
3669
3670
  }
3671
+ isOneYearExemptionApplicable(sale) {
3672
+ return sale.cgt > 0 && this.getOwnershipDuration(sale, 'years') > 0;
3673
+ }
3670
3674
  /**
3671
3675
  * ownership duration from purchase till sale
3672
3676
  */
@@ -6111,7 +6115,7 @@ __decorate([
6111
6115
  * Used in tax summary reports to show amounts relating to a tax return category entity and details of what this
6112
6116
  * amount is comprised of. Example here shows an amount of $951.96 and also details of what this amount is comprised of:
6113
6117
  */
6114
- class TaxReturnCategoryItem {
6118
+ class ReportItem {
6115
6119
  /**
6116
6120
  * Get amount for one income source
6117
6121
  * @param name Name of income source for filter
@@ -6124,11 +6128,11 @@ class TaxReturnCategoryItem {
6124
6128
 
6125
6129
  /**
6126
6130
  * Used in tax summary reports to show specific details relating to an amount in the report.
6127
- * See structure in TaxReturnCategoryItem class.
6131
+ * See structure in ReportItem class.
6128
6132
  * Example an amount of $550 for property income could be comprised of 2 different property amounts of $300 and $250.
6129
6133
  * This is useful in providing drill-down information for the tax summary report.
6130
6134
  */
6131
- class TaxReturnCategoryItemDetails {
6135
+ class ReportItemDetails {
6132
6136
  }
6133
6137
 
6134
6138
  /**
@@ -6138,8 +6142,8 @@ class TaxReturnCategoryItemDetails {
6138
6142
  class TaxSummarySection {
6139
6143
  }
6140
6144
  __decorate([
6141
- Type(() => TaxReturnCategoryItem),
6142
- Transform(({ value }) => new TaxReturnCategoryItemCollection(value))
6145
+ Type(() => ReportItem),
6146
+ Transform(({ value }) => new ReportItemCollection(value))
6143
6147
  ], TaxSummarySection.prototype, "items", void 0);
6144
6148
  __decorate([
6145
6149
  Transform(({ obj }) => {
@@ -6480,7 +6484,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6480
6484
  * Model - entity service is working with
6481
6485
  * BaseModel - base entity model that extends by Model
6482
6486
  */
6483
- class BaseRestService {
6487
+ class RestService {
6484
6488
  constructor(http, eventDispatcherService, environment) {
6485
6489
  this.http = http;
6486
6490
  this.eventDispatcherService = eventDispatcherService;
@@ -6644,9 +6648,9 @@ class BaseRestService {
6644
6648
  return plainToClass(model, baseModel, { excludePrefixes: ['@'] });
6645
6649
  }
6646
6650
  }
6647
- BaseRestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BaseRestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
6648
- BaseRestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BaseRestService, providedIn: 'root' });
6649
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BaseRestService, decorators: [{
6651
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
6652
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, providedIn: 'root' });
6653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, decorators: [{
6650
6654
  type: Injectable,
6651
6655
  args: [{
6652
6656
  providedIn: 'root'
@@ -6659,7 +6663,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6659
6663
  /**
6660
6664
  * Service that handling banks logic
6661
6665
  */
6662
- class BankService extends BaseRestService {
6666
+ class BankService extends RestService {
6663
6667
  constructor() {
6664
6668
  super(...arguments);
6665
6669
  this.modelClass = Bank;
@@ -6679,7 +6683,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6679
6683
  /**
6680
6684
  * Service that handling user's bank accounts logic
6681
6685
  */
6682
- class BankAccountService extends BaseRestService {
6686
+ class BankAccountService extends RestService {
6683
6687
  constructor(http, eventDispatcherService, environment) {
6684
6688
  super(http, eventDispatcherService, environment);
6685
6689
  this.http = http;
@@ -6875,7 +6879,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6875
6879
  * BankConnection means user account at specific bank (usually each user has only one at the same bank)
6876
6880
  * service handles BankConnection management
6877
6881
  */
6878
- class BankConnectionService extends BaseRestService {
6882
+ class BankConnectionService extends RestService {
6879
6883
  constructor(http, eventDispatcherService, environment) {
6880
6884
  super(http, eventDispatcherService, environment);
6881
6885
  this.http = http;
@@ -6916,7 +6920,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6916
6920
  /**
6917
6921
  * Service for bank transactions business logic
6918
6922
  */
6919
- class BankTransactionService extends BaseRestService {
6923
+ class BankTransactionService extends RestService {
6920
6924
  constructor(http, eventDispatcherService, environment) {
6921
6925
  super(http, eventDispatcherService, environment);
6922
6926
  this.http = http;
@@ -6995,7 +6999,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6995
6999
  * basiq is a middleman between bank and user
6996
7000
  * service is responsible for fetching bank related information
6997
7001
  */
6998
- class BasiqService extends BaseRestService {
7002
+ class BasiqService extends RestService {
6999
7003
  constructor(http, eventDispatcherService, environment) {
7000
7004
  super(http, eventDispatcherService, environment);
7001
7005
  this.http = http;
@@ -7222,7 +7226,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7222
7226
  /**
7223
7227
  * Service to work with depreciation chart accounts
7224
7228
  */
7225
- class ChartAccountsDepreciationService extends BaseRestService {
7229
+ class ChartAccountsDepreciationService extends RestService {
7226
7230
  constructor() {
7227
7231
  super(...arguments);
7228
7232
  this.url = 'chart-accounts-depreciations';
@@ -7294,7 +7298,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7294
7298
  /**
7295
7299
  * Service for work with chats
7296
7300
  */
7297
- class ChatService extends BaseRestService {
7301
+ class ChatService extends RestService {
7298
7302
  constructor(http, eventDispatcherService, environment, sseService) {
7299
7303
  super(http, eventDispatcherService, environment);
7300
7304
  this.http = http;
@@ -7361,7 +7365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7361
7365
  /**
7362
7366
  * Service for work with messages
7363
7367
  */
7364
- class MessageService extends BaseRestService {
7368
+ class MessageService extends RestService {
7365
7369
  constructor(http, eventDispatcherService, environment, sseService) {
7366
7370
  super(http, eventDispatcherService, environment);
7367
7371
  this.http = http;
@@ -7519,7 +7523,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7519
7523
  args: ['environment']
7520
7524
  }] }]; } });
7521
7525
 
7522
- class ClientInviteService extends BaseRestService {
7526
+ class ClientInviteService extends RestService {
7523
7527
  constructor() {
7524
7528
  super(...arguments);
7525
7529
  this.url = 'clients/invites';
@@ -7611,7 +7615,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7611
7615
  }]
7612
7616
  }] });
7613
7617
 
7614
- class ClientMovementService extends BaseRestService {
7618
+ class ClientMovementService extends RestService {
7615
7619
  constructor(http, eventDispatcherService, environment) {
7616
7620
  super(http, eventDispatcherService, environment);
7617
7621
  this.http = http;
@@ -7730,7 +7734,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7730
7734
  /**
7731
7735
  * Service for work with DepreciationCapitalProjects
7732
7736
  */
7733
- class CapitalProjectService {
7737
+ class DepreciationCapitalProjectService {
7734
7738
  constructor(http, environment) {
7735
7739
  this.http = http;
7736
7740
  this.environment = environment;
@@ -7769,9 +7773,9 @@ class CapitalProjectService {
7769
7773
  }));
7770
7774
  }
7771
7775
  }
7772
- CapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7773
- CapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CapitalProjectService, providedIn: 'root' });
7774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CapitalProjectService, decorators: [{
7776
+ DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7777
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
7778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
7775
7779
  type: Injectable,
7776
7780
  args: [{
7777
7781
  providedIn: 'root'
@@ -7781,7 +7785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7781
7785
  args: ['environment']
7782
7786
  }] }]; } });
7783
7787
 
7784
- class DepreciationService extends BaseRestService {
7788
+ class DepreciationService extends RestService {
7785
7789
  constructor(http, eventDispatcherService, environment) {
7786
7790
  super(http, eventDispatcherService, environment);
7787
7791
  this.http = http;
@@ -7917,7 +7921,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7917
7921
  /**
7918
7922
  * Service to handle document-folders and depending documents logic
7919
7923
  */
7920
- class DocumentFolderService extends BaseRestService {
7924
+ class DocumentFolderService extends RestService {
7921
7925
  constructor(http, eventDispatcherService, environment) {
7922
7926
  super(http, eventDispatcherService, environment);
7923
7927
  this.http = http;
@@ -7988,7 +7992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7988
7992
  args: ['environment']
7989
7993
  }] }]; } });
7990
7994
 
7991
- class EmployeeService extends BaseRestService {
7995
+ class EmployeeService extends RestService {
7992
7996
  constructor() {
7993
7997
  super(...arguments);
7994
7998
  this.url = 'employees';
@@ -8019,7 +8023,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8019
8023
  }]
8020
8024
  }] });
8021
8025
 
8022
- class EmployeeInviteService extends BaseRestService {
8026
+ class EmployeeInviteService extends RestService {
8023
8027
  constructor() {
8024
8028
  super(...arguments);
8025
8029
  this.url = 'employees/invites';
@@ -8162,7 +8166,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8162
8166
  /**
8163
8167
  * Service to work with income sources
8164
8168
  */
8165
- class IncomeSourceService extends BaseRestService {
8169
+ class IncomeSourceService extends RestService {
8166
8170
  constructor(http, eventDispatcherService, environment) {
8167
8171
  super(http, eventDispatcherService, environment);
8168
8172
  this.http = http;
@@ -8257,7 +8261,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8257
8261
  /**
8258
8262
  * Service to work with Other Income Forecasts
8259
8263
  */
8260
- class IncomeSourceForecastService extends BaseRestService {
8264
+ class IncomeSourceForecastService extends RestService {
8261
8265
  constructor(http, eventDispatcherService, environment) {
8262
8266
  super(http, eventDispatcherService, environment);
8263
8267
  this.http = http;
@@ -8336,7 +8340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8336
8340
  /**
8337
8341
  * Service to work with Salary Forecasts
8338
8342
  */
8339
- class SalaryForecastService extends BaseRestService {
8343
+ class SalaryForecastService extends RestService {
8340
8344
  constructor(http, eventDispatcherService, environment) {
8341
8345
  super(http, eventDispatcherService, environment);
8342
8346
  this.http = http;
@@ -8412,7 +8416,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8412
8416
  args: ['environment']
8413
8417
  }] }]; } });
8414
8418
 
8415
- class SoleForecastService extends BaseRestService {
8419
+ class SoleForecastService extends RestService {
8416
8420
  constructor(http, eventDispatcherService, environment) {
8417
8421
  super(http, eventDispatcherService, environment);
8418
8422
  this.http = http;
@@ -8530,7 +8534,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8530
8534
  /**
8531
8535
  * Service that handling loans logic
8532
8536
  */
8533
- class LoanService extends BaseRestService {
8537
+ class LoanService extends RestService {
8534
8538
  constructor(http, eventDispatcherService, environment) {
8535
8539
  super(http, eventDispatcherService, environment);
8536
8540
  this.http = http;
@@ -8663,7 +8667,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8663
8667
  /**
8664
8668
  * Service to handle service notifications logic
8665
8669
  */
8666
- class NotificationService extends BaseRestService {
8670
+ class ServiceNotificationService extends RestService {
8667
8671
  constructor(http, eventDispatcherService, environment, sseService) {
8668
8672
  super(http, eventDispatcherService, environment);
8669
8673
  this.http = http;
@@ -8701,9 +8705,9 @@ class NotificationService extends BaseRestService {
8701
8705
  });
8702
8706
  }
8703
8707
  }
8704
- NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: NotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
8705
- NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: NotificationService, providedIn: 'root' });
8706
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: NotificationService, decorators: [{
8708
+ ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
8709
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
8710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, decorators: [{
8707
8711
  type: Injectable,
8708
8712
  args: [{
8709
8713
  providedIn: 'root'
@@ -8857,7 +8861,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8857
8861
  /**
8858
8862
  * Service for work with Property
8859
8863
  */
8860
- class PropertyService extends BaseRestService {
8864
+ class PropertyService extends RestService {
8861
8865
  constructor(http, eventDispatcherService, environment) {
8862
8866
  super(http, eventDispatcherService, environment);
8863
8867
  this.http = http;
@@ -9088,7 +9092,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9088
9092
  /**
9089
9093
  * Service for work with Property Categories
9090
9094
  */
9091
- class PropertyCategoryService extends BaseRestService {
9095
+ class PropertyCategoryService extends RestService {
9092
9096
  constructor() {
9093
9097
  super(...arguments);
9094
9098
  this.modelClass = PropertyCategory;
@@ -9107,7 +9111,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9107
9111
  /**
9108
9112
  * Class for work with Property Documents
9109
9113
  */
9110
- class PropertyDocumentService extends BaseRestService {
9114
+ class PropertyDocumentService extends RestService {
9111
9115
  constructor(http, eventDispatcherService, environment) {
9112
9116
  super(http, eventDispatcherService, environment);
9113
9117
  this.http = http;
@@ -9166,7 +9170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9166
9170
  }] }]; } });
9167
9171
 
9168
9172
  // @TODO check and improve logic during refactoring
9169
- class PropertyShareService extends BaseRestService {
9173
+ class PropertyShareService extends RestService {
9170
9174
  constructor(http, eventDispatcherService, environment) {
9171
9175
  super(http, eventDispatcherService, environment);
9172
9176
  this.http = http;
@@ -9269,7 +9273,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9269
9273
  args: ['environment']
9270
9274
  }] }]; } });
9271
9275
 
9272
- class PropertySaleService extends BaseRestService {
9276
+ class PropertySaleService extends RestService {
9273
9277
  constructor() {
9274
9278
  super(...arguments);
9275
9279
  this.modelClass = PropertySale;
@@ -9323,7 +9327,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9323
9327
  args: ['environment']
9324
9328
  }] }]; } });
9325
9329
 
9326
- class PropertyCategoryMovementService extends BaseRestService {
9330
+ class PropertyCategoryMovementService extends RestService {
9327
9331
  constructor() {
9328
9332
  super(...arguments);
9329
9333
  this.modelClass = PropertyCategoryMovement;
@@ -9505,7 +9509,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9505
9509
  /**
9506
9510
  * Service to work with tax review
9507
9511
  */
9508
- class TaxReviewService extends BaseRestService {
9512
+ class TaxReviewService extends RestService {
9509
9513
  constructor(http, eventDispatcherService, environment) {
9510
9514
  super(http, eventDispatcherService, environment);
9511
9515
  this.http = http;
@@ -9596,7 +9600,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9596
9600
  /**
9597
9601
  * Service to work with tax review history
9598
9602
  */
9599
- class TaxReviewHistoryService extends BaseRestService {
9603
+ class TaxReviewHistoryService extends RestService {
9600
9604
  constructor(http, eventDispatcherService, environment) {
9601
9605
  super(http, eventDispatcherService, environment);
9602
9606
  this.http = http;
@@ -9704,7 +9708,7 @@ function enumToList(data) {
9704
9708
  /**
9705
9709
  * Service for transactions business logic
9706
9710
  */
9707
- class TransactionService extends BaseRestService {
9711
+ class TransactionService extends RestService {
9708
9712
  constructor(http, eventDispatcherService, environment) {
9709
9713
  super(http, eventDispatcherService, environment);
9710
9714
  this.http = http;
@@ -10006,7 +10010,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10006
10010
  * Service for transaction allocations business logic
10007
10011
  * @TODO alex refactor
10008
10012
  */
10009
- class TransactionAllocationService extends BaseRestService {
10013
+ class TransactionAllocationService extends RestService {
10010
10014
  constructor(http, eventDispatcherService, environment) {
10011
10015
  super(http, eventDispatcherService, environment);
10012
10016
  this.http = http;
@@ -10273,7 +10277,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10273
10277
  args: ['environment']
10274
10278
  }] }]; } });
10275
10279
 
10276
- class UserEventSettingService extends BaseRestService {
10280
+ class UserEventSettingService extends RestService {
10277
10281
  constructor(http, eventDispatcherService, environment) {
10278
10282
  super(http, eventDispatcherService, environment);
10279
10283
  this.http = http;
@@ -10322,7 +10326,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10322
10326
  args: ['environment']
10323
10327
  }] }]; } });
10324
10328
 
10325
- class UserEventTypeService extends BaseRestService {
10329
+ class UserEventTypeService extends RestService {
10326
10330
  constructor(http, eventDispatcherService, environment) {
10327
10331
  super(http, eventDispatcherService, environment);
10328
10332
  this.http = http;
@@ -10347,8 +10351,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10347
10351
 
10348
10352
  /**
10349
10353
  * Service that allows to work with WorkTank operations
10354
+ * @TODO separate into multiple services, extend restService
10350
10355
  */
10351
- class WorkTankService {
10356
+ class VehicleService {
10352
10357
  constructor(http, transactionService, depreciationService, chartAccountsService, eventDispatcherService, environment) {
10353
10358
  this.http = http;
10354
10359
  this.transactionService = transactionService;
@@ -10549,9 +10554,9 @@ class WorkTankService {
10549
10554
  }));
10550
10555
  }
10551
10556
  }
10552
- WorkTankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: WorkTankService, deps: [{ token: i1.HttpClient }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10553
- WorkTankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: WorkTankService, providedIn: 'root' });
10554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: WorkTankService, decorators: [{
10557
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, deps: [{ token: i1.HttpClient }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10558
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, providedIn: 'root' });
10559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, decorators: [{
10555
10560
  type: Injectable,
10556
10561
  args: [{
10557
10562
  providedIn: 'root'
@@ -10611,7 +10616,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10611
10616
  }]
10612
10617
  }] });
10613
10618
 
10614
- class TaxExemptionService extends BaseRestService {
10619
+ class TaxExemptionService extends RestService {
10615
10620
  constructor() {
10616
10621
  super(...arguments);
10617
10622
  this.modelClass = TaxExemption;
@@ -10788,5 +10793,5 @@ class ResetPasswordForm extends AbstractForm {
10788
10793
  * Generated bundle index. Do not edit.
10789
10794
  */
10790
10795
 
10791
- export { AbstractForm, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalProjectService, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DataTable, DataTableColumn, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpRateEnum, DepreciationReceipt, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookCollection, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, NotificationService, Occupation, OccupationService, PasswordForm, PdfService, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceTypeEnum, ServiceProduct, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleForecast, SoleForecastService, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryItem, TaxReturnCategoryItemCollection, TaxReturnCategoryItemDetails, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionCalculationService, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, Vehicle, VehicleClaim, VehicleClaimMethodEnum, VehicleLogbook, VehicleLogbookPurposeEnum, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, WorkTankService, XlsxService, cloneDeep, compare, compareMatOptions, createDate, displayMatOptions, enumToList, getDocIcon, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
10796
+ export { AbstractForm, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DataTable, DataTableColumn, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpRateEnum, DepreciationReceipt, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookCollection, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, Occupation, OccupationService, PasswordForm, PdfService, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceTypeEnum, ServiceProduct, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleForecast, SoleForecastService, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionCalculationService, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, Vehicle, VehicleClaim, VehicleClaimMethodEnum, VehicleLogbook, VehicleLogbookPurposeEnum, VehicleService, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, XlsxService, cloneDeep, compare, compareMatOptions, createDate, displayMatOptions, enumToList, getDocIcon, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
10792
10797
  //# sourceMappingURL=taxtank-core.js.map