taxtank-core 0.30.121 → 0.30.122

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 (129) hide show
  1. package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +3 -3
  2. package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +3 -3
  3. package/esm2020/lib/interceptors/corelogic-interceptor.mjs +3 -3
  4. package/esm2020/lib/interceptors/financial-year-interceptor.mjs +3 -3
  5. package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
  6. package/esm2020/lib/interceptors/jwt-interceptor.mjs +3 -3
  7. package/esm2020/lib/interceptors/preloader.interceptor.mjs +3 -3
  8. package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +3 -3
  9. package/esm2020/lib/models/bank/bank-account-property.mjs +3 -3
  10. package/esm2020/lib/models/sole/sole-business-allocation.mjs +2 -2
  11. package/esm2020/lib/services/account-setup/account-setup.service.mjs +3 -3
  12. package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +3 -3
  13. package/esm2020/lib/services/asset/assets.service.mjs +3 -3
  14. package/esm2020/lib/services/auth/auth.service.mjs +3 -3
  15. package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
  16. package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
  17. package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +3 -3
  18. package/esm2020/lib/services/data.service.mjs +3 -3
  19. package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
  20. package/esm2020/lib/services/event/sse.service.mjs +3 -3
  21. package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
  22. package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
  23. package/esm2020/lib/services/http/address/address.service.mjs +3 -3
  24. package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +3 -3
  25. package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +3 -3
  26. package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +3 -3
  27. package/esm2020/lib/services/http/bank/bank.service.mjs +3 -3
  28. package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +3 -3
  29. package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +3 -3
  30. package/esm2020/lib/services/http/budget/budget.service.mjs +3 -3
  31. package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
  32. package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
  33. package/esm2020/lib/services/http/chat/chat.service.mjs +3 -3
  34. package/esm2020/lib/services/http/chat/message-document.service.mjs +3 -3
  35. package/esm2020/lib/services/http/chat/message.service.mjs +3 -3
  36. package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +3 -3
  37. package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +3 -3
  38. package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +3 -3
  39. package/esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs +3 -3
  40. package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +3 -3
  41. package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
  42. package/esm2020/lib/services/http/document/document.service.mjs +3 -3
  43. package/esm2020/lib/services/http/facebook/facebook.service.mjs +3 -3
  44. package/esm2020/lib/services/http/file/file.service.mjs +3 -3
  45. package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +3 -3
  46. package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +3 -3
  47. package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
  48. package/esm2020/lib/services/http/firm/employee/employee.service.mjs +3 -3
  49. package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
  50. package/esm2020/lib/services/http/firm/firm.service.mjs +3 -3
  51. package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +3 -3
  52. package/esm2020/lib/services/http/google/google.service.mjs +3 -3
  53. package/esm2020/lib/services/http/holding/holding-sale.service.mjs +3 -3
  54. package/esm2020/lib/services/http/holding/holding-type.service.mjs +3 -3
  55. package/esm2020/lib/services/http/holding/holding.service.mjs +3 -3
  56. package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +3 -3
  57. package/esm2020/lib/services/http/income-source/income-source.service.mjs +3 -3
  58. package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +3 -3
  59. package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
  60. package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +3 -3
  61. package/esm2020/lib/services/http/loan/loan.service.mjs +3 -3
  62. package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +3 -3
  63. package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +3 -3
  64. package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +3 -3
  65. package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
  66. package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +3 -3
  67. package/esm2020/lib/services/http/property/property.service.mjs +3 -3
  68. package/esm2020/lib/services/http/receipt/receipt.service.mjs +3 -3
  69. package/esm2020/lib/services/http/rest/rest-old.service.mjs +3 -3
  70. package/esm2020/lib/services/http/rest/rest.service.mjs +3 -3
  71. package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +3 -3
  72. package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
  73. package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
  74. package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
  75. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
  76. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -3
  77. package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
  78. package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
  79. package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
  80. package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +3 -3
  81. package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
  82. package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
  83. package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +3 -3
  84. package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
  85. package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
  86. package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +3 -3
  87. package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +3 -3
  88. package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
  89. package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
  90. package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
  91. package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +3 -3
  92. package/esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs +3 -3
  93. package/esm2020/lib/services/http/transaction/transaction.service.mjs +3 -3
  94. package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +3 -3
  95. package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
  96. package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
  97. package/esm2020/lib/services/http/user/user.service.mjs +3 -3
  98. package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
  99. package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +3 -3
  100. package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -3
  101. package/esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs +3 -3
  102. package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +3 -3
  103. package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
  104. package/esm2020/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +3 -3
  105. package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
  106. package/esm2020/lib/services/json/income-source/income-source-type.service.mjs +3 -3
  107. package/esm2020/lib/services/json/tax-exemption/tax-exemption.service.mjs +3 -3
  108. package/esm2020/lib/services/json/tax-return/tax-return-item.service.mjs +3 -3
  109. package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
  110. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
  111. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
  112. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
  113. package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
  114. package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +3 -3
  115. package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +3 -3
  116. package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
  117. package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +3 -3
  118. package/esm2020/lib/services/toast/toast.service.mjs +3 -3
  119. package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +3 -3
  120. package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
  121. package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +3 -3
  122. package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
  123. package/esm2020/lib/tt-core.module.mjs +4 -4
  124. package/fesm2015/taxtank-core.mjs +1248 -1251
  125. package/fesm2015/taxtank-core.mjs.map +1 -1
  126. package/fesm2020/taxtank-core.mjs +1498 -1501
  127. package/fesm2020/taxtank-core.mjs.map +1 -1
  128. package/lib/models/bank/bank-account-property.d.ts +1 -1
  129. package/package.json +1 -1
@@ -70,9 +70,9 @@ class CorelogicService {
70
70
  .pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))));
71
71
  }
72
72
  }
73
- CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
74
- CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicService, providedIn: 'root' });
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicService, decorators: [{
73
+ CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
74
+ CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, providedIn: 'root' });
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, decorators: [{
76
76
  type: Injectable,
77
77
  args: [{
78
78
  providedIn: 'root'
@@ -110,9 +110,9 @@ class CorelogicInterceptor {
110
110
  });
111
111
  }
112
112
  }
113
- CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
114
- CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor });
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor, decorators: [{
113
+ CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
114
+ CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor });
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, decorators: [{
116
116
  type: Injectable
117
117
  }], ctorParameters: function () { return [{ type: CorelogicService }, { type: undefined, decorators: [{
118
118
  type: Inject,
@@ -149,9 +149,9 @@ class FinancialYearInterceptor {
149
149
  return next.handle(clonedReq);
150
150
  }
151
151
  }
152
- FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
153
- FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor });
154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
152
+ FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
153
+ FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor });
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
155
155
  type: Injectable
156
156
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
157
157
  type: Inject,
@@ -1906,6 +1906,79 @@ __decorate([
1906
1906
  Type(() => LoanPayout)
1907
1907
  ], Loan.prototype, "payout", void 0);
1908
1908
 
1909
+ var TaxExemptionEnum;
1910
+ (function (TaxExemptionEnum) {
1911
+ TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
1912
+ // principle place of residence
1913
+ TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
1914
+ TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
1915
+ TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
1916
+ TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
1917
+ TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
1918
+ TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
1919
+ })(TaxExemptionEnum || (TaxExemptionEnum = {}));
1920
+
1921
+ class TaxExemption extends TaxExemption$1 {
1922
+ isPartial() {
1923
+ return [TaxExemptionEnum.INVESTMENT_TO_PPR, TaxExemptionEnum.PPR_TO_INVESTMENT].includes(this.id);
1924
+ }
1925
+ }
1926
+
1927
+ class AssetSale extends ObservableModel {
1928
+ }
1929
+ __decorate([
1930
+ Type(() => Date)
1931
+ ], AssetSale.prototype, "date", void 0);
1932
+
1933
+ class PropertySale extends AssetSale {
1934
+ get saleCostsTotalAmount() {
1935
+ return this.commission + this.legalFees + this.otherCost;
1936
+ }
1937
+ /**
1938
+ * CGT is not applicable for sales with "Principle place of residence" exemption type.
1939
+ * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
1940
+ */
1941
+ isCGTApplicable() {
1942
+ return this.taxExemption?.id !== TaxExemptionEnum.PPR;
1943
+ }
1944
+ get netPrice() {
1945
+ return this.price - this.saleCostsTotalAmount;
1946
+ }
1947
+ }
1948
+ __decorate([
1949
+ Type(() => Number)
1950
+ ], PropertySale.prototype, "holdingCosts", void 0);
1951
+ __decorate([
1952
+ Type(() => Number)
1953
+ ], PropertySale.prototype, "structuralImprovementsWDV", void 0);
1954
+ __decorate([
1955
+ Type(() => Number)
1956
+ ], PropertySale.prototype, "buildingAtCostClaimed", void 0);
1957
+ __decorate([
1958
+ Type(() => Number)
1959
+ ], PropertySale.prototype, "price", void 0);
1960
+ __decorate([
1961
+ Type(() => Number)
1962
+ ], PropertySale.prototype, "commission", void 0);
1963
+ __decorate([
1964
+ Type(() => Number)
1965
+ ], PropertySale.prototype, "legalFees", void 0);
1966
+ __decorate([
1967
+ Type(() => Number)
1968
+ ], PropertySale.prototype, "otherCost", void 0);
1969
+ __decorate([
1970
+ Type(() => Date)
1971
+ ], PropertySale.prototype, "settlementDate", void 0);
1972
+ __decorate([
1973
+ Type(() => Date)
1974
+ ], PropertySale.prototype, "date", void 0);
1975
+ __decorate([
1976
+ Type(() => TaxExemption)
1977
+ ], PropertySale.prototype, "taxExemption", void 0);
1978
+ __decorate([
1979
+ Type(() => PropertySaleTaxExemptionMetaField$1)
1980
+ ], PropertySale.prototype, "taxExemptionMetaFields", void 0);
1981
+
1909
1982
  var UserStatusEnum;
1910
1983
  (function (UserStatusEnum) {
1911
1984
  UserStatusEnum[UserStatusEnum["INACTIVE"] = 0] = "INACTIVE";
@@ -3950,177 +4023,6 @@ var TransactionTypeEnum;
3950
4023
  TransactionTypeEnum[TransactionTypeEnum["CREDIT"] = 2] = "CREDIT";
3951
4024
  })(TransactionTypeEnum || (TransactionTypeEnum = {}));
3952
4025
 
3953
- var TaxExemptionEnum;
3954
- (function (TaxExemptionEnum) {
3955
- TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
3956
- // principle place of residence
3957
- TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
3958
- TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
3959
- TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
3960
- TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
3961
- TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
3962
- TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
3963
- })(TaxExemptionEnum || (TaxExemptionEnum = {}));
3964
-
3965
- class TaxExemption extends TaxExemption$1 {
3966
- isPartial() {
3967
- return [TaxExemptionEnum.INVESTMENT_TO_PPR, TaxExemptionEnum.PPR_TO_INVESTMENT].includes(this.id);
3968
- }
3969
- }
3970
-
3971
- class AssetSale extends ObservableModel {
3972
- }
3973
- __decorate([
3974
- Type(() => Date)
3975
- ], AssetSale.prototype, "date", void 0);
3976
-
3977
- class PropertySale extends AssetSale {
3978
- get saleCostsTotalAmount() {
3979
- return this.commission + this.legalFees + this.otherCost;
3980
- }
3981
- /**
3982
- * CGT is not applicable for sales with "Principle place of residence" exemption type.
3983
- * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
3984
- */
3985
- isCGTApplicable() {
3986
- return this.taxExemption?.id !== TaxExemptionEnum.PPR;
3987
- }
3988
- get netPrice() {
3989
- return this.price - this.saleCostsTotalAmount;
3990
- }
3991
- }
3992
- __decorate([
3993
- Type(() => Number)
3994
- ], PropertySale.prototype, "holdingCosts", void 0);
3995
- __decorate([
3996
- Type(() => Number)
3997
- ], PropertySale.prototype, "structuralImprovementsWDV", void 0);
3998
- __decorate([
3999
- Type(() => Number)
4000
- ], PropertySale.prototype, "buildingAtCostClaimed", void 0);
4001
- __decorate([
4002
- Type(() => Number)
4003
- ], PropertySale.prototype, "price", void 0);
4004
- __decorate([
4005
- Type(() => Number)
4006
- ], PropertySale.prototype, "commission", void 0);
4007
- __decorate([
4008
- Type(() => Number)
4009
- ], PropertySale.prototype, "legalFees", void 0);
4010
- __decorate([
4011
- Type(() => Number)
4012
- ], PropertySale.prototype, "otherCost", void 0);
4013
- __decorate([
4014
- Type(() => Date)
4015
- ], PropertySale.prototype, "settlementDate", void 0);
4016
- __decorate([
4017
- Type(() => Date)
4018
- ], PropertySale.prototype, "date", void 0);
4019
- __decorate([
4020
- Type(() => TaxExemption)
4021
- ], PropertySale.prototype, "taxExemption", void 0);
4022
- __decorate([
4023
- Type(() => PropertySaleTaxExemptionMetaField$1)
4024
- ], PropertySale.prototype, "taxExemptionMetaFields", void 0);
4025
-
4026
- /**
4027
- * @Todo TT-2143 should be removed when PropertySaleCostBaseForm refactored (cut property to separated form)
4028
- */
4029
- class PropertySaleCostBase {
4030
- static createFrom(property, propertySale, depreciations, holdingCosts) {
4031
- return plainToClass(PropertySaleCostBase, {
4032
- property: plainToClass(Property, property),
4033
- sale: plainToClass(PropertySale, Object.assign({}, propertySale, {
4034
- holdingCosts: propertySale.holdingCosts ?? Math.abs(holdingCosts.sumBy('amount')),
4035
- structuralImprovementsWDV: propertySale.structuralImprovementsWDV ?? depreciations.getWithCapitalProject().getCloseBalanceByYear(),
4036
- buildingAtCostClaimed: propertySale.buildingAtCostClaimed ?? depreciations.getWithoutCapitalProject().getClaimedAmountByYear(),
4037
- })),
4038
- });
4039
- }
4040
- }
4041
-
4042
- class PropertySaleTaxExemptionMetaField extends PropertySaleTaxExemptionMetaField$1 {
4043
- }
4044
-
4045
- class TaxExemptionMetaField extends TaxExemptionMetaField$1 {
4046
- }
4047
-
4048
- /**
4049
- * Calculation form control types
4050
- */
4051
- var CalculationFormTypeEnum;
4052
- (function (CalculationFormTypeEnum) {
4053
- CalculationFormTypeEnum[CalculationFormTypeEnum["INPUT"] = 1] = "INPUT";
4054
- CalculationFormTypeEnum[CalculationFormTypeEnum["SELECT"] = 2] = "SELECT";
4055
- })(CalculationFormTypeEnum || (CalculationFormTypeEnum = {}));
4056
-
4057
- /**
4058
- * Fields to implement custom calculation form
4059
- */
4060
- class CalculationFormItem {
4061
- constructor() {
4062
- // type of control (input, select, e.t.c)
4063
- this.type = CalculationFormTypeEnum.SELECT;
4064
- }
4065
- }
4066
- __decorate([
4067
- Transform(({ obj }) => obj.type === CalculationFormTypeEnum.SELECT),
4068
- Expose()
4069
- ], CalculationFormItem.prototype, "isSelect", void 0);
4070
-
4071
- const CAPITAL_COSTS_ITEMS = [
4072
- plainToClass(CalculationFormItem, {
4073
- name: 'rentingWholeProperty',
4074
- value: null,
4075
- label: 'Are you renting out the whole property?',
4076
- type: CalculationFormTypeEnum.SELECT,
4077
- dependentFields: ['howBigIsProperty', 'howBigIsLetArea', 'howBigIsCommonAreas'],
4078
- isDisabled: false,
4079
- validators: [Validators.required]
4080
- }),
4081
- plainToClass(CalculationFormItem, {
4082
- name: 'rentingWholeYear',
4083
- value: null,
4084
- label: 'Are you renting out for the whole year?',
4085
- type: CalculationFormTypeEnum.SELECT,
4086
- dependentFields: ['howManyDays'],
4087
- isDisabled: false,
4088
- validators: [Validators.required]
4089
- }),
4090
- plainToClass(CalculationFormItem, {
4091
- name: 'howBigIsProperty',
4092
- value: null,
4093
- label: 'How big is the property?',
4094
- type: CalculationFormTypeEnum.INPUT,
4095
- isDisabled: true,
4096
- validators: [Validators.required, Validators.min(1)]
4097
- }),
4098
- plainToClass(CalculationFormItem, {
4099
- name: 'howBigIsLetArea',
4100
- value: null,
4101
- label: 'How big is the let area?',
4102
- type: CalculationFormTypeEnum.INPUT,
4103
- isDisabled: true,
4104
- validators: [Validators.required, Validators.min(1)]
4105
- }),
4106
- plainToClass(CalculationFormItem, {
4107
- name: 'howBigIsCommonAreas',
4108
- value: null,
4109
- label: 'How big are the common areas?',
4110
- type: CalculationFormTypeEnum.INPUT,
4111
- isDisabled: true,
4112
- validators: [Validators.required, Validators.min(1)]
4113
- }),
4114
- plainToClass(CalculationFormItem, {
4115
- name: 'howManyDays',
4116
- value: null,
4117
- label: 'How many days of the year is the property available for rent?',
4118
- type: CalculationFormTypeEnum.INPUT,
4119
- isDisabled: true,
4120
- validators: [Validators.required, Validators.min(1)]
4121
- }),
4122
- ];
4123
-
4124
4026
  /**
4125
4027
  * Enum with asset types
4126
4028
  */
@@ -4148,945 +4050,583 @@ var AssetEntityTypeEnum;
4148
4050
  AssetEntityTypeEnum["MESSAGES"] = "messages";
4149
4051
  })(AssetEntityTypeEnum || (AssetEntityTypeEnum = {}));
4150
4052
 
4151
- class PropertyDocument extends PropertyDocument$1 {
4053
+ class TransactionReceipt extends TransactionReceipt$1 {
4152
4054
  constructor() {
4153
4055
  super(...arguments);
4154
- this.type = AssetTypeEnum.PROPERTY;
4155
- this.entityType = AssetEntityTypeEnum.PROPERTIES;
4156
- }
4157
- getApiUrlPrefix() {
4158
- return '';
4159
- }
4160
- getEntity() {
4161
- return this.property;
4056
+ this.type = AssetTypeEnum.TRANSACTION_RECEIPT;
4057
+ this.entityType = AssetEntityTypeEnum.TRANSACTIONS;
4162
4058
  }
4163
4059
  }
4164
4060
 
4165
- class PropertyValuation extends PropertyValuation$1 {
4166
- get financialYear() {
4167
- return new FinancialYear(this.date).year;
4168
- }
4169
- isCurrentYear() {
4170
- return this.financialYear === new FinancialYear(new Date()).year;
4171
- }
4172
- }
4173
- __decorate([
4174
- Type(() => Date)
4175
- ], PropertyValuation.prototype, "date", void 0);
4176
- __decorate([
4177
- Type(() => PropertyDocument)
4178
- ], PropertyValuation.prototype, "document", void 0);
4179
- __decorate([
4180
- Type(() => Number)
4181
- ], PropertyValuation.prototype, "marketValue", void 0);
4182
- __decorate([
4183
- Exclude()
4184
- ], PropertyValuation.prototype, "documentFile", void 0);
4185
-
4186
- var PropertyCategoryListEnum;
4187
- (function (PropertyCategoryListEnum) {
4188
- PropertyCategoryListEnum[PropertyCategoryListEnum["OWNER_OCCUPIED"] = 3] = "OWNER_OCCUPIED";
4189
- PropertyCategoryListEnum[PropertyCategoryListEnum["SHARED"] = 4] = "SHARED";
4190
- PropertyCategoryListEnum[PropertyCategoryListEnum["VACANT_LAND"] = 5] = "VACANT_LAND";
4191
- })(PropertyCategoryListEnum || (PropertyCategoryListEnum = {}));
4192
-
4193
- class PropertyCategory extends PropertyCategory$1 {
4194
- // @Todo check if category is Owner Occupied. If will be needed to check more categories - move the checking to the backend
4195
- isOwnerOccupied() {
4196
- return this.id === PropertyCategoryListEnum.OWNER_OCCUPIED;
4197
- }
4198
- isVacantLand() {
4199
- return this.id === PropertyCategoryListEnum.VACANT_LAND;
4061
+ /**
4062
+ * Income sources chart data
4063
+ */
4064
+ class IncomeSourceChartData {
4065
+ constructor(forecastedIncomeAmount, transactions) {
4066
+ this.forecastedIncomeAmount = forecastedIncomeAmount;
4067
+ this.transactions = transactions;
4200
4068
  }
4201
- isShared() {
4202
- return this.id === PropertyCategoryListEnum.SHARED;
4069
+ /**
4070
+ * Get prepared data for income sources chart
4071
+ */
4072
+ get() {
4073
+ const chartData = [{
4074
+ id: 'actualIncome',
4075
+ name: 'Actual Income',
4076
+ data: [],
4077
+ // display future actual incomes with dash line and past actual incomes with solid line
4078
+ zones: [{
4079
+ // line style after current month
4080
+ value: new FinancialYear().getMonthDate(new Date().getMonth()).getTime(),
4081
+ dashStyle: 'Solid'
4082
+ }, {
4083
+ // default line style
4084
+ dashStyle: 'Dash'
4085
+ }]
4086
+ }, {
4087
+ id: 'forecastedIncome',
4088
+ name: 'Forecasted Income',
4089
+ data: [],
4090
+ }];
4091
+ for (const key in MonthNameShortEnum) {
4092
+ if (MonthNameShortEnum.hasOwnProperty(key)) {
4093
+ // transaction collection for provided month
4094
+ const monthTransactionCollection = this.transactions.getByMonth(+MonthNumberEnum[key]);
4095
+ chartData[0].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), monthTransactionCollection.amount]);
4096
+ chartData[1].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), this.forecastedIncomeAmount / 12]);
4097
+ }
4098
+ }
4099
+ return chartData;
4203
4100
  }
4204
4101
  }
4205
4102
 
4206
- class PropertyCategoryMovement extends PropertyCategoryMovement$1 {
4103
+ class TransactionMetaField extends TransactionMetaField$1 {
4207
4104
  }
4208
4105
  __decorate([
4209
- Type(() => PropertyValuation)
4210
- ], PropertyCategoryMovement.prototype, "valuation", void 0);
4211
- __decorate([
4212
- Type(() => PropertyCategory)
4213
- ], PropertyCategoryMovement.prototype, "propertyCategory", void 0);
4106
+ Type(() => ChartAccountsMetaField)
4107
+ ], TransactionMetaField.prototype, "metaField", void 0);
4214
4108
  __decorate([
4215
- Type(() => Date)
4216
- ], PropertyCategoryMovement.prototype, "fromDate", void 0);
4109
+ Type(() => Transaction$1)
4110
+ ], TransactionMetaField.prototype, "transaction", void 0);
4217
4111
  __decorate([
4218
- Type(() => Date)
4219
- ], PropertyCategoryMovement.prototype, "toDate", void 0);
4112
+ Type(() => ChartAccountsMetaField)
4113
+ ], TransactionMetaField.prototype, "chartAccountsMetaField", void 0);
4220
4114
 
4221
4115
  /**
4222
- * class contains equity information for passed financial year
4116
+ * Enum with maximum number of payments, depending on the frequency.
4117
+ * Used only for vehicle loans
4223
4118
  */
4224
- class PropertyEquityChartItem {
4225
- constructor(year, marketValue, loanBalance) {
4226
- this.year = year;
4227
- this.marketValue = marketValue || 0;
4228
- this.loanBalance = loanBalance || 0;
4229
- }
4230
- /**
4231
- * calculate equity position
4232
- */
4233
- get equityPosition() {
4234
- return this.marketValue - this.loanBalance;
4235
- }
4236
- /**
4237
- * return this equity position instance as chart serie
4238
- * @param type
4239
- */
4240
- getSerie(type) {
4241
- return [this.year, this[type]];
4242
- }
4243
- }
4244
-
4245
- var PropertyEquityChartTypeEnum;
4246
- (function (PropertyEquityChartTypeEnum) {
4247
- PropertyEquityChartTypeEnum["MARKET_VALUE"] = "marketValue";
4248
- PropertyEquityChartTypeEnum["LOAN_BALANCE"] = "loanBalance";
4249
- })(PropertyEquityChartTypeEnum || (PropertyEquityChartTypeEnum = {}));
4119
+ var LoanMaxNumberOfPaymentsEnum;
4120
+ (function (LoanMaxNumberOfPaymentsEnum) {
4121
+ LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["WEEKLY"] = 260] = "WEEKLY";
4122
+ LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["FORTNIGHTLY"] = 130] = "FORTNIGHTLY";
4123
+ LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["MONTHLY"] = 60] = "MONTHLY";
4124
+ })(LoanMaxNumberOfPaymentsEnum || (LoanMaxNumberOfPaymentsEnum = {}));
4250
4125
 
4251
- // count of years for future values
4252
- const FORECAST_YEARS = 25;
4253
- /**
4254
- * class contain actual and forecasted market values and loan balances for passed properties
4255
- * X axis - years from the first actual data year to the last forecasted year
4256
- * Y axis - amounts of market values, loan balances
4257
- * Also on hover appear equity positions point
4258
- */
4259
- class PropertyEquityChartData {
4260
- constructor(properties, bankAccounts, loans, registerDate) {
4261
- this.registerDate = registerDate;
4262
- this.properties = properties;
4263
- this.bankAccounts = bankAccounts.getLoanAccounts();
4264
- this.loans = loans;
4265
- this.currentYear = new FinancialYear(new Date()).year;
4266
- this.initItems();
4267
- this.buildHistoryItems();
4268
- this.buildActualItem();
4269
- this.buildForecastedItems();
4270
- this.checkZeroLoanBalance();
4271
- this.checkZeroMarketValue();
4126
+ class BankTransaction extends BankTransaction$1 {
4127
+ constructor() {
4128
+ super(...arguments);
4129
+ // allocated money amount for bank transaction
4130
+ this.allocatedAmount = 0;
4131
+ this.unallocatedAmount = 0;
4272
4132
  }
4273
4133
  /**
4274
- * get items list in chart series format
4275
- * @param type
4134
+ * get allocated amount value but with +/- sign
4276
4135
  */
4277
- getChartSeries(type) {
4278
- return this.list.map((item) => item.getSerie(type));
4136
+ get balanceAmount() {
4137
+ return this.isCredit() ? this.allocatedAmount : -this.allocatedAmount;
4279
4138
  }
4280
4139
  /**
4281
- * get prepared chart data
4140
+ * check if bank transaction is debit
4282
4141
  */
4283
- getChartData() {
4284
- return [
4285
- {
4286
- id: 'marketValue',
4287
- name: 'Market Value',
4288
- series: this.getChartSeries(PropertyEquityChartTypeEnum.MARKET_VALUE),
4289
- // display future market value with dash line and past market value with solid line
4290
- zones: [{
4291
- // line style after current calendar year
4292
- value: this.currentYear,
4293
- dashStyle: 'Solid'
4294
- }, {
4295
- // default line style
4296
- dashStyle: 'Dash'
4297
- }]
4298
- },
4299
- {
4300
- // id used to add/remove serie to chart
4301
- id: 'loanBalance',
4302
- name: 'Loan Balance',
4303
- series: this.getChartSeries(PropertyEquityChartTypeEnum.LOAN_BALANCE)
4304
- }
4305
- ];
4142
+ isDebit() {
4143
+ return this.type === BankTransactionTypeEnum.DEBIT;
4306
4144
  }
4307
4145
  /**
4308
- * create empty equity position item for each year in collection
4146
+ * check if bank transaction is credit
4309
4147
  */
4310
- initItems() {
4311
- this.list = [];
4312
- for (let year = new FinancialYear(this.registerDate).year - 1; year <= (this.currentYear + FORECAST_YEARS); year++) {
4313
- this.list.push(new PropertyEquityChartItem(year));
4314
- }
4148
+ isCredit() {
4149
+ return this.type === BankTransactionTypeEnum.CREDIT;
4315
4150
  }
4316
4151
  /**
4317
- * collect equity position items with past values from properties forecasts
4152
+ * Create Transaction instance based on Bank Transaction
4318
4153
  */
4319
- buildHistoryItems() {
4320
- // get items for past and current years
4321
- const items = this.list.filter((item) => item.year <= this.currentYear);
4322
- items.forEach((item) => {
4323
- // increase item values with property actual forecasts for item year
4324
- item.marketValue = this.properties.items.reduce((sum, property) => sum + this.getMarketValueForPropertyByYear(property, item.year), 0);
4325
- item.loanBalance = Math.abs(this.properties.items.reduce((sum, property) => sum + this.getLoanBalanceForPropertyByYear(property, item.year), 0));
4154
+ toTransaction() {
4155
+ return plainToClass(Transaction, {
4156
+ amount: this.amount,
4157
+ description: this.description,
4158
+ date: this.date,
4159
+ source: TransactionSourceEnum.BANK_TRANSACTION,
4160
+ operation: this.operation,
4161
+ type: this.type,
4326
4162
  });
4327
4163
  }
4328
4164
  /**
4329
- * set actual year's real data
4330
- * @private
4165
+ * Check if bank transaction is completely allocated
4331
4166
  */
4332
- buildActualItem() {
4333
- const item = this.list.find((i) => i.year === this.currentYear);
4334
- item.marketValue = this.properties.marketValue;
4335
- item.loanBalance = this.properties.items.reduce((sum, property) => sum + Math.abs(this.bankAccounts.getPropertyBalanceAmount(property.id)), 0);
4167
+ isAllocated(allocations) {
4168
+ return this.amount === this.getAllocatedAmount(allocations);
4336
4169
  }
4337
4170
  /**
4338
- * collect equity position items with forecasted (future) calculated values
4171
+ * Get bank transaction allocated amount
4339
4172
  */
4340
- buildForecastedItems() {
4341
- // calculate future values for all properties separately
4342
- this.properties.items.forEach((property) => {
4343
- let forecastedMarketValue = (property.growthPercent / 100) * property.marketValue + property.marketValue;
4344
- // calculate future values for each future year for current handling property
4345
- this.list
4346
- .filter((item) => item.year > this.currentYear)
4347
- .forEach((item) => {
4348
- const propertyBankAccounts = this.bankAccounts.getByPropertyId(property.id);
4349
- // increase loan balance amount for handling equity position item
4350
- item.loanBalance += this.getLoanBalanceByYear(property, item.year, propertyBankAccounts, this.loans.getByBankAccountsIds(propertyBankAccounts.getIds()));
4351
- // increase market value amount for handling equity position item
4352
- item.marketValue += forecastedMarketValue;
4353
- // increase current market value forecast for the next cycle iteration
4354
- forecastedMarketValue += forecastedMarketValue * (property.growthPercent / 100);
4355
- });
4356
- });
4173
+ getAllocatedAmount(allocations) {
4174
+ return allocations.getByBankTransactionsIds([this.id]).amount;
4357
4175
  }
4358
4176
  /**
4359
- * Get property loan balance by financial year
4360
- * @param property Property instance for filter
4361
- * @param year Financial year number
4362
- * @param bankAccounts List of bank accounts
4363
- * @param loans List of loans
4364
- * @private
4177
+ * Get bank transaction unallocated amount
4365
4178
  */
4366
- getLoanBalanceByYear(property, year, bankAccounts, loans) {
4367
- return bankAccounts.items.reduce((totalSum, bankAccount) => totalSum + (bankAccount.getPropertyPercentage(property.id) * (loans.getByBankAccountId(bankAccount.id)?.getLastPaymentByYear(year)?.totalOwed || 0)), 0);
4368
- }
4369
- getMarketValueForPropertyByYear(property, year) {
4370
- if (new FinancialYear(property.contractDate).year > year) {
4371
- return 0;
4372
- }
4373
- return (property.getForecastByYear(year) || first(property.forecasts)).marketValue;
4374
- }
4375
- getLoanBalanceForPropertyByYear(property, year) {
4376
- if (new FinancialYear(property.contractDate).year > year) {
4377
- return 0;
4378
- }
4379
- return property.getForecastByYear(year)?.loanBalance || this.bankAccounts.getPropertyBalanceAmount(property.id);
4380
- }
4381
- /**
4382
- * Check if loan balance is 0 and set it as null (to not to draw point on the chart)
4383
- */
4384
- checkZeroLoanBalance() {
4385
- this.list.forEach((item) => {
4386
- if (item.loanBalance === 0) {
4387
- item.loanBalance = null;
4388
- }
4389
- });
4390
- }
4391
- /**
4392
- * Check if market value is 0 and set it as null (to not to draw point on the chart)
4393
- */
4394
- checkZeroMarketValue() {
4395
- this.list.forEach((item) => {
4396
- if (item.marketValue === 0) {
4397
- item.marketValue = null;
4398
- }
4399
- });
4179
+ getUnallocatedAmount(allocations) {
4180
+ return this.amount - this.getAllocatedAmount(allocations);
4400
4181
  }
4401
4182
  }
4183
+ __decorate([
4184
+ Type(() => Date)
4185
+ ], BankTransaction.prototype, "date", void 0);
4186
+ __decorate([
4187
+ Type(() => Number)
4188
+ ], BankTransaction.prototype, "amount", void 0);
4402
4189
 
4403
- class PropertyForecast extends PropertyForecast$1 {
4404
- constructor() {
4405
- super(...arguments);
4406
- this.financialYear = new FinancialYear(new Date()).year;
4407
- }
4408
- /**
4409
- * Get cash position
4410
- * Cash Position = Income - Expense - Interest
4411
- */
4412
- get cashPosition() {
4413
- return this.income + this.expense + this.interest;
4414
- }
4415
- /**
4416
- * Get tax position
4417
- * Tax Position = Income - Expense - Interest - Depreciation
4418
- */
4419
- get taxPosition() {
4420
- return this.cashPosition + this.depreciation;
4421
- }
4422
- /**
4423
- * Get rental return percent
4424
- * Rental Return = Income / Market Value
4425
- */
4426
- get rentalReturn() {
4427
- return this.income / this.marketValue;
4428
- }
4190
+ class TransactionAllocation extends TransactionAllocation$1 {
4429
4191
  /**
4430
- * Check if forecast is for real current fin year (not selected in the sidebar)
4192
+ * Create a new instance of transaction allocation
4193
+ * transaction could be empty since we can POST allocation inside a new transaction
4431
4194
  */
4432
- isCurrentYear() {
4433
- return this.financialYear === new FinancialYear(new Date()).year;
4195
+ static create(amount, bankTransaction, transaction) {
4196
+ return plainToClass(TransactionAllocation, { amount, transaction, bankTransaction });
4434
4197
  }
4435
4198
  }
4436
4199
  __decorate([
4437
- Transform(({ value }) => +value)
4438
- ], PropertyForecast.prototype, "income", void 0);
4439
- __decorate([
4440
- Transform(({ value }) => -Math.abs(+value))
4441
- ], PropertyForecast.prototype, "expense", void 0);
4442
- __decorate([
4443
- Transform(({ value }) => -Math.abs(+value))
4444
- ], PropertyForecast.prototype, "interest", void 0);
4445
- __decorate([
4446
- Transform(({ value }) => -Math.abs(+value))
4447
- ], PropertyForecast.prototype, "depreciation", void 0);
4448
- __decorate([
4449
- Transform(({ value }) => +value)
4450
- ], PropertyForecast.prototype, "loanBalance", void 0);
4200
+ Type(() => BankTransaction)
4201
+ ], TransactionAllocation.prototype, "bankTransaction", void 0);
4451
4202
  __decorate([
4452
- Transform(({ value }) => +value)
4453
- ], PropertyForecast.prototype, "marketValue", void 0);
4454
-
4455
- var PropertyShareStatusEnum;
4456
- (function (PropertyShareStatusEnum) {
4457
- PropertyShareStatusEnum[PropertyShareStatusEnum["PENDING"] = 1] = "PENDING";
4458
- PropertyShareStatusEnum[PropertyShareStatusEnum["APPROVED"] = 2] = "APPROVED";
4459
- PropertyShareStatusEnum[PropertyShareStatusEnum["REJECTED"] = 3] = "REJECTED";
4460
- })(PropertyShareStatusEnum || (PropertyShareStatusEnum = {}));
4203
+ Type(() => Transaction)
4204
+ ], TransactionAllocation.prototype, "transaction", void 0);
4461
4205
 
4462
- class PropertyShare extends PropertyShare$1 {
4463
- isAccepted() {
4464
- return this.status === PropertyShareStatusEnum.APPROVED;
4206
+ /**
4207
+ * Depreciation Nested Tree node with depreciations group
4208
+ */
4209
+ class DepreciationGroup {
4210
+ constructor(label, description, icon, children, totalCost, openingValue) {
4211
+ this.label = label;
4212
+ this.description = description;
4213
+ this.icon = icon;
4214
+ this.children = children;
4215
+ this.totalCost = totalCost;
4216
+ this.openingValue = openingValue;
4465
4217
  }
4466
- isPending() {
4467
- return this.status === PropertyShareStatusEnum.PENDING;
4218
+ getClaimAmount() {
4219
+ return this.children.reduce((sum, child) => sum + child.getClaimAmount(), 0);
4468
4220
  }
4469
- isRejected() {
4470
- return this.status === PropertyShareStatusEnum.REJECTED;
4221
+ getAmount() {
4222
+ return this.children.reduce((sum, child) => sum + child.getAmount(), 0);
4471
4223
  }
4472
- get statusName() {
4473
- return PropertyShareStatusEnum[this.status]?.toLowerCase();
4224
+ }
4225
+
4226
+ /**
4227
+ * @TODO Alex useless class, use parent instead
4228
+ * Depreciation Tree node with depreciation details
4229
+ */
4230
+ class DepreciationGroupItem extends DepreciationGroup {
4231
+ constructor(depreciation) {
4232
+ super(depreciation.chartAccounts.name, depreciation.description, 'property');
4233
+ this.depreciation = depreciation;
4474
4234
  }
4475
- /**
4476
- * Return full user name if user is already registered.
4477
- * Otherwise - return first name from invitation
4478
- */
4479
- get userName() {
4480
- return this.user ? this.user.fullName : `${this.invite.firstName}`;
4235
+ getClaimAmount() {
4236
+ return this.depreciation.currentYearForecast.claimAmount;
4237
+ }
4238
+ getAmount() {
4239
+ return this.depreciation.currentYearForecast.amount;
4481
4240
  }
4482
4241
  }
4483
- __decorate([
4484
- Type(() => Date)
4485
- ], PropertyShare.prototype, "fromDate", void 0);
4486
- __decorate([
4487
- Type(() => Date)
4488
- ], PropertyShare.prototype, "toDate", void 0);
4489
- __decorate([
4490
- Type(() => User)
4491
- ], PropertyShare.prototype, "user", void 0);
4492
- __decorate([
4493
- Type(() => RegistrationInvite)
4494
- ], PropertyShare.prototype, "invite", void 0);
4495
- __decorate([
4496
- Type(() => Property)
4497
- ], PropertyShare.prototype, "property", void 0);
4498
- __decorate([
4499
- Transform(({ obj }) => obj.user ? obj.user.email : obj.invite.email)
4500
- ], PropertyShare.prototype, "email", void 0);
4242
+
4243
+ var DepreciationGroupEnum;
4244
+ (function (DepreciationGroupEnum) {
4245
+ DepreciationGroupEnum[DepreciationGroupEnum["BUILDING_IMPROVEMENTS"] = 0] = "BUILDING_IMPROVEMENTS";
4246
+ DepreciationGroupEnum[DepreciationGroupEnum["PLANT_EQUIPMENT"] = 1] = "PLANT_EQUIPMENT";
4247
+ DepreciationGroupEnum[DepreciationGroupEnum["LOW_VALUE_POOL"] = 2] = "LOW_VALUE_POOL";
4248
+ DepreciationGroupEnum[DepreciationGroupEnum["WRITTEN_OFF_ITEMS"] = 3] = "WRITTEN_OFF_ITEMS";
4249
+ DepreciationGroupEnum[DepreciationGroupEnum["BORROWING_EXPENSES"] = 4] = "BORROWING_EXPENSES";
4250
+ DepreciationGroupEnum[DepreciationGroupEnum["SMALL_BUSINESS_POOL"] = 5] = "SMALL_BUSINESS_POOL";
4251
+ })(DepreciationGroupEnum || (DepreciationGroupEnum = {}));
4252
+
4253
+ const DEPRECIATION_GROUPS = {
4254
+ [DepreciationGroupEnum.BORROWING_EXPENSES]: {
4255
+ label: 'Borrowing Expenses',
4256
+ description: 'Borrowing expenses on loans are deductible over 1826 days (5 years) starting from the date of a loan',
4257
+ icon: 'loan'
4258
+ },
4259
+ [DepreciationGroupEnum.BUILDING_IMPROVEMENTS]: {
4260
+ label: 'Building & Improvements',
4261
+ description: 'Construction costs, renovations and capital improvements which depreciate at 2.5%',
4262
+ icon: 'building-improvements'
4263
+ },
4264
+ [DepreciationGroupEnum.PLANT_EQUIPMENT]: {
4265
+ label: 'Plant & Equipment',
4266
+ description: 'Assets which decline in value over their useful life (as prescribed by the ATO)',
4267
+ icon: 'plant-equipment'
4268
+ },
4269
+ [DepreciationGroupEnum.LOW_VALUE_POOL]: {
4270
+ label: 'Low Value Pool',
4271
+ description: 'Items under $1,000 are added to the pool to maximise depreciation',
4272
+ icon: 'lvp'
4273
+ },
4274
+ [DepreciationGroupEnum.WRITTEN_OFF_ITEMS]: {
4275
+ label: 'Written Off Items',
4276
+ description: 'Items below $300, replaced or obsolete are fully deductible',
4277
+ icon: 'cart'
4278
+ },
4279
+ [DepreciationGroupEnum.SMALL_BUSINESS_POOL]: {
4280
+ label: 'Small business pool',
4281
+ description: 'The small business pool allows business owners to claim depreciation on plant and equipment items at an accelerated rate.',
4282
+ icon: 'portfolio'
4283
+ },
4284
+ };
4501
4285
 
4502
4286
  /**
4503
- * @TODO used only on dashboard, move from tt-core
4504
- * Enum with properties ownership filter options
4287
+ * Depreciation Low Value Pool rate based on asset financial year (current or subsequent years).
4505
4288
  */
4506
- var ShareFilterOptionsEnum;
4507
- (function (ShareFilterOptionsEnum) {
4508
- ShareFilterOptionsEnum[ShareFilterOptionsEnum["ALL"] = 1] = "ALL";
4509
- ShareFilterOptionsEnum[ShareFilterOptionsEnum["CREATED"] = 2] = "CREATED";
4510
- ShareFilterOptionsEnum[ShareFilterOptionsEnum["SHARED"] = 3] = "SHARED";
4511
- })(ShareFilterOptionsEnum || (ShareFilterOptionsEnum = {}));
4289
+ var DepreciationLvpRateEnum;
4290
+ (function (DepreciationLvpRateEnum) {
4291
+ DepreciationLvpRateEnum[DepreciationLvpRateEnum["FIRST_YEAR"] = 0.1875] = "FIRST_YEAR";
4292
+ DepreciationLvpRateEnum[DepreciationLvpRateEnum["DEFAULT"] = 0.375] = "DEFAULT";
4293
+ })(DepreciationLvpRateEnum || (DepreciationLvpRateEnum = {}));
4512
4294
 
4513
- class TransactionReceipt extends TransactionReceipt$1 {
4295
+ class DepreciationReceipt extends DepreciationReceipt$1 {
4514
4296
  constructor() {
4515
4297
  super(...arguments);
4516
- this.type = AssetTypeEnum.TRANSACTION_RECEIPT;
4517
- this.entityType = AssetEntityTypeEnum.TRANSACTIONS;
4298
+ this.type = AssetTypeEnum.DEPRECIATION_RECEIPT;
4299
+ this.entityType = AssetEntityTypeEnum.DEPRECIATIONS;
4518
4300
  }
4519
4301
  }
4520
4302
 
4303
+ var MyAccountHistoryInitiatedByEnum;
4304
+ (function (MyAccountHistoryInitiatedByEnum) {
4305
+ MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["OWNER"] = 0] = "OWNER";
4306
+ MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
4307
+ })(MyAccountHistoryInitiatedByEnum || (MyAccountHistoryInitiatedByEnum = {}));
4308
+
4309
+ var MyAccountHistoryStatusEnum;
4310
+ (function (MyAccountHistoryStatusEnum) {
4311
+ MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["SUCCESS"] = 0] = "SUCCESS";
4312
+ MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["ERROR"] = 1] = "ERROR";
4313
+ })(MyAccountHistoryStatusEnum || (MyAccountHistoryStatusEnum = {}));
4314
+
4315
+ var MyAccountHistoryTypeEnum;
4316
+ (function (MyAccountHistoryTypeEnum) {
4317
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["REVIEW"] = 0] = "REVIEW";
4318
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPGRADE_PLAN"] = 1] = "UPGRADE_PLAN";
4319
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
4320
+ })(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
4321
+
4322
+ class MyAccountHistory {
4323
+ }
4324
+
4325
+ class Occupation extends Occupation$1 {
4326
+ }
4327
+
4521
4328
  /**
4522
- * Income sources chart data
4329
+ * role hierarchy
4523
4330
  */
4524
- class IncomeSourceChartData {
4525
- constructor(forecastedIncomeAmount, transactions) {
4526
- this.forecastedIncomeAmount = forecastedIncomeAmount;
4527
- this.transactions = transactions;
4528
- }
4529
- /**
4530
- * Get prepared data for income sources chart
4531
- */
4532
- get() {
4533
- const chartData = [{
4534
- id: 'actualIncome',
4535
- name: 'Actual Income',
4536
- data: [],
4537
- // display future actual incomes with dash line and past actual incomes with solid line
4538
- zones: [{
4539
- // line style after current month
4540
- value: new FinancialYear().getMonthDate(new Date().getMonth()).getTime(),
4541
- dashStyle: 'Solid'
4542
- }, {
4543
- // default line style
4544
- dashStyle: 'Dash'
4545
- }]
4546
- }, {
4547
- id: 'forecastedIncome',
4548
- name: 'Forecasted Income',
4549
- data: [],
4550
- }];
4551
- for (const key in MonthNameShortEnum) {
4552
- if (MonthNameShortEnum.hasOwnProperty(key)) {
4553
- // transaction collection for provided month
4554
- const monthTransactionCollection = this.transactions.getByMonth(+MonthNumberEnum[key]);
4555
- chartData[0].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), monthTransactionCollection.amount]);
4556
- chartData[1].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), this.forecastedIncomeAmount / 12]);
4557
- }
4558
- }
4559
- return chartData;
4560
- }
4331
+ const USER_ROLES = {
4332
+ ROLE_FIRM_OWNER: [UserRolesEnum.FIRM_OWNER, UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4333
+ ROLE_FIRM_MANAGER: [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4334
+ ROLE_EMPLOYEE: [UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4335
+ ROLE_ACCOUNTANT: [UserRolesEnum.ACCOUNTANT],
4336
+ ROLE_ADVISOR: [UserRolesEnum.ADVISOR],
4337
+ // @TODO makes no sense, these roles can't be hierarchical
4338
+ ROLE_CLIENT: [UserRolesEnum.CLIENT],
4339
+ ROLE_USER_SUBSCRIPTION: [UserRolesEnum.SUBSCRIPTION],
4340
+ ROLE_USER_WORK: [UserRolesEnum.WORK_TANK],
4341
+ ROLE_USER_PROPERTY: [UserRolesEnum.PROPERTY_TANK],
4342
+ ROLE_USER_SOLE: [UserRolesEnum.SOLE_TANK],
4343
+ ROLE_USER_HOLDING: [UserRolesEnum.HOLDING_TANK],
4344
+ ROLE_PREVIOUS_ADMIN: [UserRolesEnum.SWITCH_USER],
4345
+ };
4346
+
4347
+ /**
4348
+ * Class with basic information about registering user
4349
+ */
4350
+ class UserToRegister {
4561
4351
  }
4562
4352
 
4563
- class TransactionMetaField extends TransactionMetaField$1 {
4353
+ class SoleBusinessAllocation extends SoleBusinessAllocation$1 {
4564
4354
  }
4565
4355
  __decorate([
4566
- Type(() => ChartAccountsMetaField)
4567
- ], TransactionMetaField.prototype, "metaField", void 0);
4356
+ Type(() => BankAccount)
4357
+ ], SoleBusinessAllocation.prototype, "bankAccount", void 0);
4568
4358
  __decorate([
4569
- Type(() => Transaction$1)
4570
- ], TransactionMetaField.prototype, "transaction", void 0);
4359
+ Type(() => SoleBusiness)
4360
+ ], SoleBusinessAllocation.prototype, "business", void 0);
4571
4361
  __decorate([
4572
- Type(() => ChartAccountsMetaField)
4573
- ], TransactionMetaField.prototype, "chartAccountsMetaField", void 0);
4362
+ Transform(({ value }) => isNaN(value) ? 100 : value),
4363
+ Expose()
4364
+ ], SoleBusinessAllocation.prototype, "percent", void 0);
4365
+
4366
+ class SoleBusinessLossOffsetRule extends SoleBusinessLossOffsetRule$1 {
4367
+ }
4368
+ __decorate([
4369
+ Type(() => SoleBusinessLossOffsetRule)
4370
+ ], SoleBusinessLossOffsetRule.prototype, "parent", void 0);
4574
4371
 
4575
4372
  /**
4576
- * Enum with maximum number of payments, depending on the frequency.
4577
- * Used only for vehicle loans
4373
+ * If a sole trader business makes a tax loss in a current year, you can generally carry forward that loss and offset profit in future years.
4374
+ * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4641357930/Rules+when+a+business+makes+a+loss+Tax+Summary#Offsetting-current-year-business-losses
4578
4375
  */
4579
- var LoanMaxNumberOfPaymentsEnum;
4580
- (function (LoanMaxNumberOfPaymentsEnum) {
4581
- LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["WEEKLY"] = 260] = "WEEKLY";
4582
- LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["FORTNIGHTLY"] = 130] = "FORTNIGHTLY";
4583
- LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["MONTHLY"] = 60] = "MONTHLY";
4584
- })(LoanMaxNumberOfPaymentsEnum || (LoanMaxNumberOfPaymentsEnum = {}));
4376
+ class SoleBusinessLoss extends SoleBusinessLoss$1 {
4377
+ constructor() {
4378
+ super(...arguments);
4379
+ this.openBalance = 0;
4380
+ this.financialYear = new FinancialYear().year;
4381
+ }
4382
+ get hasOffset() {
4383
+ return !!this.offsetRule;
4384
+ }
4385
+ }
4386
+ __decorate([
4387
+ Type(() => SoleBusiness)
4388
+ ], SoleBusinessLoss.prototype, "business", void 0);
4389
+ __decorate([
4390
+ Type(() => SoleBusinessLossOffsetRule)
4391
+ ], SoleBusinessLoss.prototype, "offsetRule", void 0);
4585
4392
 
4586
- class BankTransaction extends BankTransaction$1 {
4393
+ class SoleInvoiceItem extends SoleInvoiceItem$1 {
4587
4394
  constructor() {
4588
4395
  super(...arguments);
4589
- // allocated money amount for bank transaction
4590
- this.allocatedAmount = 0;
4591
- this.unallocatedAmount = 0;
4396
+ this.isGST = false;
4592
4397
  }
4593
- /**
4594
- * get allocated amount value but with +/- sign
4595
- */
4596
- get balanceAmount() {
4597
- return this.isCredit() ? this.allocatedAmount : -this.allocatedAmount;
4398
+ get totalPrice() {
4399
+ return this.price * this.quantity;
4400
+ }
4401
+ }
4402
+ __decorate([
4403
+ Type(() => SoleInvoice)
4404
+ ], SoleInvoiceItem.prototype, "invoice", void 0);
4405
+ __decorate([
4406
+ Type(() => ChartAccounts)
4407
+ ], SoleInvoiceItem.prototype, "chartAccounts", void 0);
4408
+ __decorate([
4409
+ Type(() => Transaction)
4410
+ ], SoleInvoiceItem.prototype, "transaction", void 0);
4411
+
4412
+ // @TODO Alex/Vik: Create some base class for User and SoleContact with common methods and properties
4413
+ class SoleContact extends SoleContact$1 {
4414
+ get fullName() {
4415
+ return `${this.firstName} ${this.lastName}`;
4416
+ }
4417
+ getPhotoPlaceholder() {
4418
+ return `${this.firstName[0].toUpperCase()}${this.lastName[0].toUpperCase()}`;
4419
+ }
4420
+ // @TODO Vik: add photo field to SoleContact
4421
+ getPhoto() {
4422
+ return '';
4423
+ }
4424
+ }
4425
+ __decorate([
4426
+ Type(() => User)
4427
+ ], SoleContact.prototype, "user", void 0);
4428
+ __decorate([
4429
+ Type(() => Phone)
4430
+ ], SoleContact.prototype, "phone", void 0);
4431
+ __decorate([
4432
+ Type(() => Address)
4433
+ ], SoleContact.prototype, "address", void 0);
4434
+ __decorate([
4435
+ Type(() => SoleInvoice)
4436
+ ], SoleContact.prototype, "invoices", void 0);
4437
+
4438
+ var SoleInvoiceStatusesEnum;
4439
+ (function (SoleInvoiceStatusesEnum) {
4440
+ SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["CANCELED"] = 0] = "CANCELED";
4441
+ SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["DRAFT"] = 1] = "DRAFT";
4442
+ SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["PENDING"] = 2] = "PENDING";
4443
+ SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["PAID"] = 3] = "PAID";
4444
+ })(SoleInvoiceStatusesEnum || (SoleInvoiceStatusesEnum = {}));
4445
+
4446
+ var SoleInvoiceTaxTypeEnum;
4447
+ (function (SoleInvoiceTaxTypeEnum) {
4448
+ SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["TAX_EXCLUSIVE"] = 0] = "TAX_EXCLUSIVE";
4449
+ SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["TAX_INCLUSIVE"] = 1] = "TAX_INCLUSIVE";
4450
+ SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["NO_TAX"] = 2] = "NO_TAX";
4451
+ })(SoleInvoiceTaxTypeEnum || (SoleInvoiceTaxTypeEnum = {}));
4452
+
4453
+ class SoleInvoice extends SoleInvoice$1 {
4454
+ constructor() {
4455
+ super(...arguments);
4456
+ this.status = SoleInvoiceStatusesEnum.DRAFT;
4457
+ this.taxType = SoleInvoiceTaxTypeEnum.NO_TAX;
4598
4458
  }
4599
4459
  /**
4600
- * check if bank transaction is debit
4460
+ * Get items array as collection
4601
4461
  */
4602
- isDebit() {
4603
- return this.type === BankTransactionTypeEnum.DEBIT;
4462
+ get itemsCollection() {
4463
+ return new SoleInvoiceItemCollection(this.items);
4604
4464
  }
4605
4465
  /**
4606
- * check if bank transaction is credit
4466
+ * Total price of all items
4607
4467
  */
4608
- isCredit() {
4609
- return this.type === BankTransactionTypeEnum.CREDIT;
4468
+ get price() {
4469
+ return this.itemsCollection.sumBy('totalPrice');
4610
4470
  }
4611
4471
  /**
4612
- * Create Transaction instance based on Bank Transaction
4472
+ * Total invoice price without GST
4613
4473
  */
4614
- toTransaction() {
4615
- return plainToClass(Transaction, {
4616
- amount: this.amount,
4617
- description: this.description,
4618
- date: this.date,
4619
- source: TransactionSourceEnum.BANK_TRANSACTION,
4620
- operation: this.operation,
4621
- type: this.type,
4622
- });
4474
+ get netPrice() {
4475
+ if (this.isTaxInclusive()) {
4476
+ return this.price - this.GSTAmount;
4477
+ }
4478
+ return this.price;
4623
4479
  }
4624
4480
  /**
4625
- * Check if bank transaction is completely allocated
4481
+ * Total final price (net + GST)
4626
4482
  */
4627
- isAllocated(allocations) {
4628
- return this.amount === this.getAllocatedAmount(allocations);
4483
+ get grossPrice() {
4484
+ if (this.isTaxExclusive()) {
4485
+ return this.price + this.GSTAmount;
4486
+ }
4487
+ return this.price;
4629
4488
  }
4630
4489
  /**
4631
- * Get bank transaction allocated amount
4490
+ * Total GST amount
4632
4491
  */
4633
- getAllocatedAmount(allocations) {
4634
- return allocations.getByBankTransactionsIds([this.id]).amount;
4492
+ get GSTAmount() {
4493
+ switch (this.taxType) {
4494
+ case SoleInvoiceTaxTypeEnum.TAX_INCLUSIVE:
4495
+ return this.inclusiveGSTAmount;
4496
+ case SoleInvoiceTaxTypeEnum.TAX_EXCLUSIVE:
4497
+ return this.exclusiveGSTAmount;
4498
+ case SoleInvoiceTaxTypeEnum.NO_TAX:
4499
+ return 0;
4500
+ }
4635
4501
  }
4636
4502
  /**
4637
- * Get bank transaction unallocated amount
4503
+ * When tax inclusive, GST amount is included to total price
4638
4504
  */
4639
- getUnallocatedAmount(allocations) {
4640
- return this.amount - this.getAllocatedAmount(allocations);
4505
+ get inclusiveGSTAmount() {
4506
+ const gstPrice = this.itemsCollection.gstPrice;
4507
+ return round(gstPrice - (gstPrice / (1 + ChartAccounts.GSTRatio)), 2);
4641
4508
  }
4642
- }
4643
- __decorate([
4644
- Type(() => Date)
4645
- ], BankTransaction.prototype, "date", void 0);
4646
- __decorate([
4647
- Type(() => Number)
4648
- ], BankTransaction.prototype, "amount", void 0);
4649
-
4650
- class TransactionAllocation extends TransactionAllocation$1 {
4651
4509
  /**
4652
- * Create a new instance of transaction allocation
4653
- * transaction could be empty since we can POST allocation inside a new transaction
4510
+ * When tax exclusive, GST amount should be added additionally to total price
4654
4511
  */
4655
- static create(amount, bankTransaction, transaction) {
4656
- return plainToClass(TransactionAllocation, { amount, transaction, bankTransaction });
4512
+ get exclusiveGSTAmount() {
4513
+ return round(this.itemsCollection.gstPrice * ChartAccounts.GSTRatio, 2);
4657
4514
  }
4658
- }
4659
- __decorate([
4660
- Type(() => BankTransaction)
4661
- ], TransactionAllocation.prototype, "bankTransaction", void 0);
4662
- __decorate([
4663
- Type(() => Transaction)
4664
- ], TransactionAllocation.prototype, "transaction", void 0);
4665
-
4666
- /**
4667
- * Depreciation Nested Tree node with depreciations group
4668
- */
4669
- class DepreciationGroup {
4670
- constructor(label, description, icon, children, totalCost, openingValue) {
4671
- this.label = label;
4672
- this.description = description;
4673
- this.icon = icon;
4674
- this.children = children;
4675
- this.totalCost = totalCost;
4676
- this.openingValue = openingValue;
4515
+ isDraft() {
4516
+ return this.status === SoleInvoiceStatusesEnum.DRAFT;
4677
4517
  }
4678
- getClaimAmount() {
4679
- return this.children.reduce((sum, child) => sum + child.getClaimAmount(), 0);
4518
+ isCancelled() {
4519
+ return this.status === SoleInvoiceStatusesEnum.CANCELED;
4680
4520
  }
4681
- getAmount() {
4682
- return this.children.reduce((sum, child) => sum + child.getAmount(), 0);
4521
+ isPending() {
4522
+ return this.status === SoleInvoiceStatusesEnum.PENDING;
4683
4523
  }
4684
- }
4685
-
4686
- /**
4687
- * @TODO Alex useless class, use parent instead
4688
- * Depreciation Tree node with depreciation details
4689
- */
4690
- class DepreciationGroupItem extends DepreciationGroup {
4691
- constructor(depreciation) {
4692
- super(depreciation.chartAccounts.name, depreciation.description, 'property');
4693
- this.depreciation = depreciation;
4524
+ isPaid() {
4525
+ return this.status === SoleInvoiceStatusesEnum.PAID;
4694
4526
  }
4695
- getClaimAmount() {
4696
- return this.depreciation.currentYearForecast.claimAmount;
4527
+ isOverdue() {
4528
+ return this.isPending() && this.dateTo < new Date();
4697
4529
  }
4698
- getAmount() {
4699
- return this.depreciation.currentYearForecast.amount;
4530
+ isUnpaid() {
4531
+ return this.isPending() && this.dateTo >= new Date();
4700
4532
  }
4701
- }
4702
-
4703
- var DepreciationGroupEnum;
4704
- (function (DepreciationGroupEnum) {
4705
- DepreciationGroupEnum[DepreciationGroupEnum["BUILDING_IMPROVEMENTS"] = 0] = "BUILDING_IMPROVEMENTS";
4706
- DepreciationGroupEnum[DepreciationGroupEnum["PLANT_EQUIPMENT"] = 1] = "PLANT_EQUIPMENT";
4707
- DepreciationGroupEnum[DepreciationGroupEnum["LOW_VALUE_POOL"] = 2] = "LOW_VALUE_POOL";
4708
- DepreciationGroupEnum[DepreciationGroupEnum["WRITTEN_OFF_ITEMS"] = 3] = "WRITTEN_OFF_ITEMS";
4709
- DepreciationGroupEnum[DepreciationGroupEnum["BORROWING_EXPENSES"] = 4] = "BORROWING_EXPENSES";
4710
- DepreciationGroupEnum[DepreciationGroupEnum["SMALL_BUSINESS_POOL"] = 5] = "SMALL_BUSINESS_POOL";
4711
- })(DepreciationGroupEnum || (DepreciationGroupEnum = {}));
4712
-
4713
- const DEPRECIATION_GROUPS = {
4714
- [DepreciationGroupEnum.BORROWING_EXPENSES]: {
4715
- label: 'Borrowing Expenses',
4716
- description: 'Borrowing expenses on loans are deductible over 1826 days (5 years) starting from the date of a loan',
4717
- icon: 'loan'
4718
- },
4719
- [DepreciationGroupEnum.BUILDING_IMPROVEMENTS]: {
4720
- label: 'Building & Improvements',
4721
- description: 'Construction costs, renovations and capital improvements which depreciate at 2.5%',
4722
- icon: 'building-improvements'
4723
- },
4724
- [DepreciationGroupEnum.PLANT_EQUIPMENT]: {
4725
- label: 'Plant & Equipment',
4726
- description: 'Assets which decline in value over their useful life (as prescribed by the ATO)',
4727
- icon: 'plant-equipment'
4728
- },
4729
- [DepreciationGroupEnum.LOW_VALUE_POOL]: {
4730
- label: 'Low Value Pool',
4731
- description: 'Items under $1,000 are added to the pool to maximise depreciation',
4732
- icon: 'lvp'
4733
- },
4734
- [DepreciationGroupEnum.WRITTEN_OFF_ITEMS]: {
4735
- label: 'Written Off Items',
4736
- description: 'Items below $300, replaced or obsolete are fully deductible',
4737
- icon: 'cart'
4738
- },
4739
- [DepreciationGroupEnum.SMALL_BUSINESS_POOL]: {
4740
- label: 'Small business pool',
4741
- description: 'The small business pool allows business owners to claim depreciation on plant and equipment items at an accelerated rate.',
4742
- icon: 'portfolio'
4743
- },
4744
- };
4745
-
4746
- /**
4747
- * Depreciation Low Value Pool rate based on asset financial year (current or subsequent years).
4748
- */
4749
- var DepreciationLvpRateEnum;
4750
- (function (DepreciationLvpRateEnum) {
4751
- DepreciationLvpRateEnum[DepreciationLvpRateEnum["FIRST_YEAR"] = 0.1875] = "FIRST_YEAR";
4752
- DepreciationLvpRateEnum[DepreciationLvpRateEnum["DEFAULT"] = 0.375] = "DEFAULT";
4753
- })(DepreciationLvpRateEnum || (DepreciationLvpRateEnum = {}));
4754
-
4755
- class DepreciationReceipt extends DepreciationReceipt$1 {
4756
- constructor() {
4757
- super(...arguments);
4758
- this.type = AssetTypeEnum.DEPRECIATION_RECEIPT;
4759
- this.entityType = AssetEntityTypeEnum.DEPRECIATIONS;
4533
+ /**
4534
+ * GST is not available for invoices without taxes
4535
+ */
4536
+ isNoTax() {
4537
+ return this.taxType === SoleInvoiceTaxTypeEnum.NO_TAX;
4538
+ }
4539
+ /**
4540
+ * GST amount is not included in items prices for invoices with tax exclusive,
4541
+ * we should add GST amount additionaly to subtotal price to get total price
4542
+ */
4543
+ isTaxExclusive() {
4544
+ return this.taxType === SoleInvoiceTaxTypeEnum.TAX_EXCLUSIVE;
4545
+ }
4546
+ /**
4547
+ * GST amount already included in items prices for invoices with tax inclusive,
4548
+ * we should subtract GST amount from total price to get subtotal price
4549
+ */
4550
+ isTaxInclusive() {
4551
+ return this.taxType === SoleInvoiceTaxTypeEnum.TAX_INCLUSIVE;
4552
+ }
4553
+ getNumber() {
4554
+ return String(this.number).padStart(SoleInvoice.NUMBER_LENGTH, '0');
4555
+ }
4556
+ get name() {
4557
+ return `invoice-${this.getNumber()}.pdf`;
4558
+ }
4559
+ getTransactionsIds() {
4560
+ return new Collection(this.items).mapBy('transaction.id');
4760
4561
  }
4761
4562
  }
4762
-
4763
- var MyAccountHistoryInitiatedByEnum;
4764
- (function (MyAccountHistoryInitiatedByEnum) {
4765
- MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["OWNER"] = 0] = "OWNER";
4766
- MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
4767
- })(MyAccountHistoryInitiatedByEnum || (MyAccountHistoryInitiatedByEnum = {}));
4768
-
4769
- var MyAccountHistoryStatusEnum;
4770
- (function (MyAccountHistoryStatusEnum) {
4771
- MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["SUCCESS"] = 0] = "SUCCESS";
4772
- MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["ERROR"] = 1] = "ERROR";
4773
- })(MyAccountHistoryStatusEnum || (MyAccountHistoryStatusEnum = {}));
4774
-
4775
- var MyAccountHistoryTypeEnum;
4776
- (function (MyAccountHistoryTypeEnum) {
4777
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["REVIEW"] = 0] = "REVIEW";
4778
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPGRADE_PLAN"] = 1] = "UPGRADE_PLAN";
4779
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
4780
- })(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
4781
-
4782
- class MyAccountHistory {
4783
- }
4784
-
4785
- class Occupation extends Occupation$1 {
4786
- }
4787
-
4788
- /**
4789
- * role hierarchy
4790
- */
4791
- const USER_ROLES = {
4792
- ROLE_FIRM_OWNER: [UserRolesEnum.FIRM_OWNER, UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4793
- ROLE_FIRM_MANAGER: [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4794
- ROLE_EMPLOYEE: [UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4795
- ROLE_ACCOUNTANT: [UserRolesEnum.ACCOUNTANT],
4796
- ROLE_ADVISOR: [UserRolesEnum.ADVISOR],
4797
- // @TODO makes no sense, these roles can't be hierarchical
4798
- ROLE_CLIENT: [UserRolesEnum.CLIENT],
4799
- ROLE_USER_SUBSCRIPTION: [UserRolesEnum.SUBSCRIPTION],
4800
- ROLE_USER_WORK: [UserRolesEnum.WORK_TANK],
4801
- ROLE_USER_PROPERTY: [UserRolesEnum.PROPERTY_TANK],
4802
- ROLE_USER_SOLE: [UserRolesEnum.SOLE_TANK],
4803
- ROLE_USER_HOLDING: [UserRolesEnum.HOLDING_TANK],
4804
- ROLE_PREVIOUS_ADMIN: [UserRolesEnum.SWITCH_USER],
4805
- };
4806
-
4807
- /**
4808
- * Class with basic information about registering user
4809
- */
4810
- class UserToRegister {
4811
- }
4812
-
4813
- class SoleBusinessAllocation extends SoleBusinessAllocation$1 {
4814
- }
4563
+ SoleInvoice.NUMBER_LENGTH = 4;
4815
4564
  __decorate([
4816
- Type(() => BankAccount)
4817
- ], SoleBusinessAllocation.prototype, "bankAccount", void 0);
4565
+ Type(() => Date)
4566
+ ], SoleInvoice.prototype, "dateFrom", void 0);
4567
+ __decorate([
4568
+ Type(() => Date)
4569
+ ], SoleInvoice.prototype, "dateTo", void 0);
4570
+ __decorate([
4571
+ Type(() => User)
4572
+ ], SoleInvoice.prototype, "user", void 0);
4818
4573
  __decorate([
4819
4574
  Type(() => SoleBusiness)
4820
- ], SoleBusinessAllocation.prototype, "business", void 0);
4575
+ ], SoleInvoice.prototype, "business", void 0);
4821
4576
  __decorate([
4822
- Transform(({ value }) => value || 100),
4823
- Expose()
4824
- ], SoleBusinessAllocation.prototype, "percent", void 0);
4825
-
4826
- class SoleBusinessLossOffsetRule extends SoleBusinessLossOffsetRule$1 {
4827
- }
4577
+ Type(() => SoleInvoiceItem)
4578
+ ], SoleInvoice.prototype, "items", void 0);
4828
4579
  __decorate([
4829
- Type(() => SoleBusinessLossOffsetRule)
4830
- ], SoleBusinessLossOffsetRule.prototype, "parent", void 0);
4580
+ Type(() => SoleContact)
4581
+ ], SoleInvoice.prototype, "payer", void 0);
4582
+ __decorate([
4583
+ Type(() => BankAccount)
4584
+ ], SoleInvoice.prototype, "bankAccount", void 0);
4831
4585
 
4832
- /**
4833
- * If a sole trader business makes a tax loss in a current year, you can generally carry forward that loss and offset profit in future years.
4834
- * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4641357930/Rules+when+a+business+makes+a+loss+Tax+Summary#Offsetting-current-year-business-losses
4835
- */
4836
- class SoleBusinessLoss extends SoleBusinessLoss$1 {
4586
+ var SoleInvoiceTemplateTaxTypeEnum;
4587
+ (function (SoleInvoiceTemplateTaxTypeEnum) {
4588
+ SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["TAX_EXCLUSIVE"] = 0] = "TAX_EXCLUSIVE";
4589
+ SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["TAX_INCLUSIVE"] = 1] = "TAX_INCLUSIVE";
4590
+ SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["NO_TAX"] = 2] = "NO_TAX";
4591
+ })(SoleInvoiceTemplateTaxTypeEnum || (SoleInvoiceTemplateTaxTypeEnum = {}));
4592
+
4593
+ class SoleInvoiceTemplate extends SoleInvoiceTemplate$1 {
4837
4594
  constructor() {
4838
4595
  super(...arguments);
4839
- this.openBalance = 0;
4840
- this.financialYear = new FinancialYear().year;
4596
+ /**
4597
+ * Affects to SoleInvoiceItem.isGST flag availability.
4598
+ * When NONE: isGST is unavailable
4599
+ * When EXCLUSIVE: GST amount added additionaly to invoice total price
4600
+ * When INCLUSIVE: GST amount is already included to invoice total price
4601
+ */
4602
+ this.taxType = SoleInvoiceTemplateTaxTypeEnum.NO_TAX;
4841
4603
  }
4842
- get hasOffset() {
4843
- return !!this.offsetRule;
4604
+ /**
4605
+ * Get term duration in milliseconds
4606
+ */
4607
+ get termTime() {
4608
+ return this.term * 24 * 3600 * 1000;
4844
4609
  }
4845
4610
  }
4846
4611
  __decorate([
4847
4612
  Type(() => SoleBusiness)
4848
- ], SoleBusinessLoss.prototype, "business", void 0);
4613
+ ], SoleInvoiceTemplate.prototype, "business", void 0);
4849
4614
  __decorate([
4850
- Type(() => SoleBusinessLossOffsetRule)
4851
- ], SoleBusinessLoss.prototype, "offsetRule", void 0);
4615
+ Type(() => BankAccount)
4616
+ ], SoleInvoiceTemplate.prototype, "bankAccount", void 0);
4852
4617
 
4853
- class SoleInvoiceItem extends SoleInvoiceItem$1 {
4854
- constructor() {
4855
- super(...arguments);
4856
- this.isGST = false;
4618
+ /**
4619
+ * Class contains traveled kilometers and work usage percent in 12 weeks date range
4620
+ * @TODO Vik: Best period: move this and related logic to backend
4621
+ * @TODO Alex: check if we need this class when calculation refactored with backend
4622
+ */
4623
+ class LogbookPeriod {
4624
+ isEndOfYear() {
4625
+ return this.to === new FinancialYear().endDate;
4857
4626
  }
4858
- get totalPrice() {
4859
- return this.price * this.quantity;
4860
- }
4861
- }
4862
- __decorate([
4863
- Type(() => SoleInvoice)
4864
- ], SoleInvoiceItem.prototype, "invoice", void 0);
4865
- __decorate([
4866
- Type(() => ChartAccounts)
4867
- ], SoleInvoiceItem.prototype, "chartAccounts", void 0);
4868
- __decorate([
4869
- Type(() => Transaction)
4870
- ], SoleInvoiceItem.prototype, "transaction", void 0);
4871
-
4872
- // @TODO Alex/Vik: Create some base class for User and SoleContact with common methods and properties
4873
- class SoleContact extends SoleContact$1 {
4874
- get fullName() {
4875
- return `${this.firstName} ${this.lastName}`;
4876
- }
4877
- getPhotoPlaceholder() {
4878
- return `${this.firstName[0].toUpperCase()}${this.lastName[0].toUpperCase()}`;
4879
- }
4880
- // @TODO Vik: add photo field to SoleContact
4881
- getPhoto() {
4882
- return '';
4883
- }
4884
- }
4885
- __decorate([
4886
- Type(() => User)
4887
- ], SoleContact.prototype, "user", void 0);
4888
- __decorate([
4889
- Type(() => Phone)
4890
- ], SoleContact.prototype, "phone", void 0);
4891
- __decorate([
4892
- Type(() => Address)
4893
- ], SoleContact.prototype, "address", void 0);
4894
- __decorate([
4895
- Type(() => SoleInvoice)
4896
- ], SoleContact.prototype, "invoices", void 0);
4897
-
4898
- var SoleInvoiceStatusesEnum;
4899
- (function (SoleInvoiceStatusesEnum) {
4900
- SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["CANCELED"] = 0] = "CANCELED";
4901
- SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["DRAFT"] = 1] = "DRAFT";
4902
- SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["PENDING"] = 2] = "PENDING";
4903
- SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["PAID"] = 3] = "PAID";
4904
- })(SoleInvoiceStatusesEnum || (SoleInvoiceStatusesEnum = {}));
4905
-
4906
- var SoleInvoiceTaxTypeEnum;
4907
- (function (SoleInvoiceTaxTypeEnum) {
4908
- SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["TAX_EXCLUSIVE"] = 0] = "TAX_EXCLUSIVE";
4909
- SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["TAX_INCLUSIVE"] = 1] = "TAX_INCLUSIVE";
4910
- SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["NO_TAX"] = 2] = "NO_TAX";
4911
- })(SoleInvoiceTaxTypeEnum || (SoleInvoiceTaxTypeEnum = {}));
4912
-
4913
- class SoleInvoice extends SoleInvoice$1 {
4914
- constructor() {
4915
- super(...arguments);
4916
- this.status = SoleInvoiceStatusesEnum.DRAFT;
4917
- this.taxType = SoleInvoiceTaxTypeEnum.NO_TAX;
4918
- }
4919
- /**
4920
- * Get items array as collection
4921
- */
4922
- get itemsCollection() {
4923
- return new SoleInvoiceItemCollection(this.items);
4924
- }
4925
- /**
4926
- * Total price of all items
4927
- */
4928
- get price() {
4929
- return this.itemsCollection.sumBy('totalPrice');
4930
- }
4931
- /**
4932
- * Total invoice price without GST
4933
- */
4934
- get netPrice() {
4935
- if (this.isTaxInclusive()) {
4936
- return this.price - this.GSTAmount;
4937
- }
4938
- return this.price;
4939
- }
4940
- /**
4941
- * Total final price (net + GST)
4942
- */
4943
- get grossPrice() {
4944
- if (this.isTaxExclusive()) {
4945
- return this.price + this.GSTAmount;
4946
- }
4947
- return this.price;
4948
- }
4949
- /**
4950
- * Total GST amount
4951
- */
4952
- get GSTAmount() {
4953
- switch (this.taxType) {
4954
- case SoleInvoiceTaxTypeEnum.TAX_INCLUSIVE:
4955
- return this.inclusiveGSTAmount;
4956
- case SoleInvoiceTaxTypeEnum.TAX_EXCLUSIVE:
4957
- return this.exclusiveGSTAmount;
4958
- case SoleInvoiceTaxTypeEnum.NO_TAX:
4959
- return 0;
4960
- }
4961
- }
4962
- /**
4963
- * When tax inclusive, GST amount is included to total price
4964
- */
4965
- get inclusiveGSTAmount() {
4966
- const gstPrice = this.itemsCollection.gstPrice;
4967
- return round(gstPrice - (gstPrice / (1 + ChartAccounts.GSTRatio)), 2);
4968
- }
4969
- /**
4970
- * When tax exclusive, GST amount should be added additionally to total price
4971
- */
4972
- get exclusiveGSTAmount() {
4973
- return round(this.itemsCollection.gstPrice * ChartAccounts.GSTRatio, 2);
4974
- }
4975
- isDraft() {
4976
- return this.status === SoleInvoiceStatusesEnum.DRAFT;
4977
- }
4978
- isCancelled() {
4979
- return this.status === SoleInvoiceStatusesEnum.CANCELED;
4980
- }
4981
- isPending() {
4982
- return this.status === SoleInvoiceStatusesEnum.PENDING;
4983
- }
4984
- isPaid() {
4985
- return this.status === SoleInvoiceStatusesEnum.PAID;
4986
- }
4987
- isOverdue() {
4988
- return this.isPending() && this.dateTo < new Date();
4989
- }
4990
- isUnpaid() {
4991
- return this.isPending() && this.dateTo >= new Date();
4992
- }
4993
- /**
4994
- * GST is not available for invoices without taxes
4995
- */
4996
- isNoTax() {
4997
- return this.taxType === SoleInvoiceTaxTypeEnum.NO_TAX;
4998
- }
4999
- /**
5000
- * GST amount is not included in items prices for invoices with tax exclusive,
5001
- * we should add GST amount additionaly to subtotal price to get total price
5002
- */
5003
- isTaxExclusive() {
5004
- return this.taxType === SoleInvoiceTaxTypeEnum.TAX_EXCLUSIVE;
5005
- }
5006
- /**
5007
- * GST amount already included in items prices for invoices with tax inclusive,
5008
- * we should subtract GST amount from total price to get subtotal price
5009
- */
5010
- isTaxInclusive() {
5011
- return this.taxType === SoleInvoiceTaxTypeEnum.TAX_INCLUSIVE;
5012
- }
5013
- getNumber() {
5014
- return String(this.number).padStart(SoleInvoice.NUMBER_LENGTH, '0');
5015
- }
5016
- get name() {
5017
- return `invoice-${this.getNumber()}.pdf`;
5018
- }
5019
- getTransactionsIds() {
5020
- return new Collection(this.items).mapBy('transaction.id');
5021
- }
5022
- }
5023
- SoleInvoice.NUMBER_LENGTH = 4;
5024
- __decorate([
5025
- Type(() => Date)
5026
- ], SoleInvoice.prototype, "dateFrom", void 0);
5027
- __decorate([
5028
- Type(() => Date)
5029
- ], SoleInvoice.prototype, "dateTo", void 0);
5030
- __decorate([
5031
- Type(() => User)
5032
- ], SoleInvoice.prototype, "user", void 0);
5033
- __decorate([
5034
- Type(() => SoleBusiness)
5035
- ], SoleInvoice.prototype, "business", void 0);
5036
- __decorate([
5037
- Type(() => SoleInvoiceItem)
5038
- ], SoleInvoice.prototype, "items", void 0);
5039
- __decorate([
5040
- Type(() => SoleContact)
5041
- ], SoleInvoice.prototype, "payer", void 0);
5042
- __decorate([
5043
- Type(() => BankAccount)
5044
- ], SoleInvoice.prototype, "bankAccount", void 0);
5045
-
5046
- var SoleInvoiceTemplateTaxTypeEnum;
5047
- (function (SoleInvoiceTemplateTaxTypeEnum) {
5048
- SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["TAX_EXCLUSIVE"] = 0] = "TAX_EXCLUSIVE";
5049
- SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["TAX_INCLUSIVE"] = 1] = "TAX_INCLUSIVE";
5050
- SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["NO_TAX"] = 2] = "NO_TAX";
5051
- })(SoleInvoiceTemplateTaxTypeEnum || (SoleInvoiceTemplateTaxTypeEnum = {}));
5052
-
5053
- class SoleInvoiceTemplate extends SoleInvoiceTemplate$1 {
5054
- constructor() {
5055
- super(...arguments);
5056
- /**
5057
- * Affects to SoleInvoiceItem.isGST flag availability.
5058
- * When NONE: isGST is unavailable
5059
- * When EXCLUSIVE: GST amount added additionaly to invoice total price
5060
- * When INCLUSIVE: GST amount is already included to invoice total price
5061
- */
5062
- this.taxType = SoleInvoiceTemplateTaxTypeEnum.NO_TAX;
5063
- }
5064
- /**
5065
- * Get term duration in milliseconds
5066
- */
5067
- get termTime() {
5068
- return this.term * 24 * 3600 * 1000;
5069
- }
5070
- }
5071
- __decorate([
5072
- Type(() => SoleBusiness)
5073
- ], SoleInvoiceTemplate.prototype, "business", void 0);
5074
- __decorate([
5075
- Type(() => BankAccount)
5076
- ], SoleInvoiceTemplate.prototype, "bankAccount", void 0);
5077
-
5078
- /**
5079
- * Class contains traveled kilometers and work usage percent in 12 weeks date range
5080
- * @TODO Vik: Best period: move this and related logic to backend
5081
- * @TODO Alex: check if we need this class when calculation refactored with backend
5082
- */
5083
- class LogbookPeriod {
5084
- isEndOfYear() {
5085
- return this.to === new FinancialYear().endDate;
5086
- }
5087
- getWorkUsageByClaim(claim) {
5088
- const claimKilometers = this.logbooks.getByVehicleClaim(claim).getClaimableLogbooks().kilometers;
5089
- return round(this.workUsage * (claimKilometers / this.kilometers), 2);
4627
+ getWorkUsageByClaim(claim) {
4628
+ const claimKilometers = this.logbooks.getByVehicleClaim(claim).getClaimableLogbooks().kilometers;
4629
+ return round(this.workUsage * (claimKilometers / this.kilometers), 2);
5090
4630
  }
5091
4631
  }
5092
4632
  __decorate([
@@ -8003,21 +7543,143 @@ __decorate([
8003
7543
  Type(() => User)
8004
7544
  ], PropertySubscription.prototype, "user", void 0);
8005
7545
 
8006
- /**
8007
- * propertySale docs - https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4209508353/Property+Sold+button
8008
- */
8009
- class Property extends Property$1 {
8010
- get name() {
8011
- return this.address.name;
8012
- }
8013
- get isActive() {
8014
- return !!this.subscriptions?.length;
7546
+ var PropertyCategoryListEnum;
7547
+ (function (PropertyCategoryListEnum) {
7548
+ PropertyCategoryListEnum[PropertyCategoryListEnum["OWNER_OCCUPIED"] = 3] = "OWNER_OCCUPIED";
7549
+ PropertyCategoryListEnum[PropertyCategoryListEnum["SHARED"] = 4] = "SHARED";
7550
+ PropertyCategoryListEnum[PropertyCategoryListEnum["VACANT_LAND"] = 5] = "VACANT_LAND";
7551
+ })(PropertyCategoryListEnum || (PropertyCategoryListEnum = {}));
7552
+
7553
+ class PropertyCategory extends PropertyCategory$1 {
7554
+ // @Todo check if category is Owner Occupied. If will be needed to check more categories - move the checking to the backend
7555
+ isOwnerOccupied() {
7556
+ return this.id === PropertyCategoryListEnum.OWNER_OCCUPIED;
8015
7557
  }
8016
- isOwn() {
8017
- return this.user.id === +localStorage.getItem('userId');
7558
+ isVacantLand() {
7559
+ return this.id === PropertyCategoryListEnum.VACANT_LAND;
8018
7560
  }
8019
- isSold() {
8020
- return !!this.myShare?.sale;
7561
+ isShared() {
7562
+ return this.id === PropertyCategoryListEnum.SHARED;
7563
+ }
7564
+ }
7565
+
7566
+ class PropertyDocument extends PropertyDocument$1 {
7567
+ constructor() {
7568
+ super(...arguments);
7569
+ this.type = AssetTypeEnum.PROPERTY;
7570
+ this.entityType = AssetEntityTypeEnum.PROPERTIES;
7571
+ }
7572
+ getApiUrlPrefix() {
7573
+ return '';
7574
+ }
7575
+ getEntity() {
7576
+ return this.property;
7577
+ }
7578
+ }
7579
+
7580
+ class PropertyValuation extends PropertyValuation$1 {
7581
+ get financialYear() {
7582
+ return new FinancialYear(this.date).year;
7583
+ }
7584
+ isCurrentYear() {
7585
+ return this.financialYear === new FinancialYear(new Date()).year;
7586
+ }
7587
+ }
7588
+ __decorate([
7589
+ Type(() => Date)
7590
+ ], PropertyValuation.prototype, "date", void 0);
7591
+ __decorate([
7592
+ Type(() => PropertyDocument)
7593
+ ], PropertyValuation.prototype, "document", void 0);
7594
+ __decorate([
7595
+ Type(() => Number)
7596
+ ], PropertyValuation.prototype, "marketValue", void 0);
7597
+ __decorate([
7598
+ Exclude()
7599
+ ], PropertyValuation.prototype, "documentFile", void 0);
7600
+
7601
+ class PropertyForecast extends PropertyForecast$1 {
7602
+ constructor() {
7603
+ super(...arguments);
7604
+ this.financialYear = new FinancialYear(new Date()).year;
7605
+ }
7606
+ /**
7607
+ * Get cash position
7608
+ * Cash Position = Income - Expense - Interest
7609
+ */
7610
+ get cashPosition() {
7611
+ return this.income + this.expense + this.interest;
7612
+ }
7613
+ /**
7614
+ * Get tax position
7615
+ * Tax Position = Income - Expense - Interest - Depreciation
7616
+ */
7617
+ get taxPosition() {
7618
+ return this.cashPosition + this.depreciation;
7619
+ }
7620
+ /**
7621
+ * Get rental return percent
7622
+ * Rental Return = Income / Market Value
7623
+ */
7624
+ get rentalReturn() {
7625
+ return this.income / this.marketValue;
7626
+ }
7627
+ /**
7628
+ * Check if forecast is for real current fin year (not selected in the sidebar)
7629
+ */
7630
+ isCurrentYear() {
7631
+ return this.financialYear === new FinancialYear(new Date()).year;
7632
+ }
7633
+ }
7634
+ __decorate([
7635
+ Transform(({ value }) => +value)
7636
+ ], PropertyForecast.prototype, "income", void 0);
7637
+ __decorate([
7638
+ Transform(({ value }) => -Math.abs(+value))
7639
+ ], PropertyForecast.prototype, "expense", void 0);
7640
+ __decorate([
7641
+ Transform(({ value }) => -Math.abs(+value))
7642
+ ], PropertyForecast.prototype, "interest", void 0);
7643
+ __decorate([
7644
+ Transform(({ value }) => -Math.abs(+value))
7645
+ ], PropertyForecast.prototype, "depreciation", void 0);
7646
+ __decorate([
7647
+ Transform(({ value }) => +value)
7648
+ ], PropertyForecast.prototype, "loanBalance", void 0);
7649
+ __decorate([
7650
+ Transform(({ value }) => +value)
7651
+ ], PropertyForecast.prototype, "marketValue", void 0);
7652
+
7653
+ class PropertyCategoryMovement extends PropertyCategoryMovement$1 {
7654
+ }
7655
+ __decorate([
7656
+ Type(() => PropertyValuation)
7657
+ ], PropertyCategoryMovement.prototype, "valuation", void 0);
7658
+ __decorate([
7659
+ Type(() => PropertyCategory)
7660
+ ], PropertyCategoryMovement.prototype, "propertyCategory", void 0);
7661
+ __decorate([
7662
+ Type(() => Date)
7663
+ ], PropertyCategoryMovement.prototype, "fromDate", void 0);
7664
+ __decorate([
7665
+ Type(() => Date)
7666
+ ], PropertyCategoryMovement.prototype, "toDate", void 0);
7667
+
7668
+ /**
7669
+ * propertySale docs - https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4209508353/Property+Sold+button
7670
+ */
7671
+ class Property extends Property$1 {
7672
+ get name() {
7673
+ return this.address.name;
7674
+ }
7675
+ get isActive() {
7676
+ return !!this.subscriptions?.length;
7677
+ }
7678
+ isOwn() {
7679
+ return this.user.id === +localStorage.getItem('userId');
7680
+ }
7681
+ isSold() {
7682
+ return !!this.myShare?.sale;
8021
7683
  }
8022
7684
  /**
8023
7685
  * Get initials of property. Required by Photoable interface
@@ -8076,175 +7738,513 @@ class Property extends Property$1 {
8076
7738
  get shareRatio() {
8077
7739
  return this.myShare.percent / 100;
8078
7740
  }
8079
- get previousCategory() {
8080
- let previousCategory;
8081
- const movementsCount = this.categoryMovements.length;
8082
- if (movementsCount > 1) {
8083
- previousCategory = this.categoryMovements[movementsCount - 2].propertyCategory;
7741
+ get previousCategory() {
7742
+ let previousCategory;
7743
+ const movementsCount = this.categoryMovements.length;
7744
+ if (movementsCount > 1) {
7745
+ previousCategory = this.categoryMovements[movementsCount - 2].propertyCategory;
7746
+ }
7747
+ return previousCategory;
7748
+ }
7749
+ getCurrentSubscription() {
7750
+ // always return first element because subscriptions array contains only one element
7751
+ return this.subscriptions[0];
7752
+ }
7753
+ getForecastByYear(year) {
7754
+ return this.forecasts.find((forecast) => forecast.financialYear === year);
7755
+ }
7756
+ get isShared() {
7757
+ return this.shares.length > 1;
7758
+ }
7759
+ /**
7760
+ * @TODO consider to move methods related with propertySale to separated class, since used just in one module yet
7761
+ * purchase costs - claimed costs, except `ppr to investment` exemption,
7762
+ * in that case it's equal to market value, when property became an investment property
7763
+ */
7764
+ calculateCostBase(sale) {
7765
+ const marketValue = new PropertySaleTaxExemptionMetaFieldCollection(sale.taxExemptionMetaFields).getMarketValue();
7766
+ if (marketValue) {
7767
+ return marketValue;
7768
+ }
7769
+ return this.purchasePrice + this.capitalCostsTotalAmount + sale.holdingCosts + sale.structuralImprovementsWDV - sale.buildingAtCostClaimed;
7770
+ }
7771
+ calculateGrossCapitalGain(sale) {
7772
+ return round((sale.netPrice - this.calculateCostBase(sale)) * this.getPartialCGTExemptionRatio(sale) * this.shareRatio, 2);
7773
+ }
7774
+ /**
7775
+ * net capital gain includes tax exemption
7776
+ */
7777
+ calculateNetCapitalGain(sale) {
7778
+ return this.getCGTExemptionRatio(sale) * sale.grossCapitalGain;
7779
+ }
7780
+ /**
7781
+ * guess tax exemption based on property details
7782
+ */
7783
+ getCGTExemption(sale) {
7784
+ if (sale.taxExemption) {
7785
+ return sale.taxExemption.id;
7786
+ }
7787
+ switch (true) {
7788
+ // exemption for main residence properties
7789
+ case this.category.id === PropertyCategoryListEnum.OWNER_OCCUPIED:
7790
+ return TaxExemptionEnum.PPR;
7791
+ // exemption for investment properties owned for at least one year
7792
+ case this.isOneYearExemptionApplicable(sale):
7793
+ return TaxExemptionEnum.ONE_YEAR_RULE;
7794
+ default:
7795
+ return null;
7796
+ }
7797
+ }
7798
+ getPartialCGTExemptionRatio(sale) {
7799
+ const metaFields = new PropertySaleTaxExemptionMetaFieldCollection(sale.taxExemptionMetaFields);
7800
+ switch (sale.taxExemption?.id) {
7801
+ case TaxExemptionEnum.INVESTMENT_TO_PPR:
7802
+ const ownershipDays = this.getOwnershipDuration(sale);
7803
+ return (ownershipDays - metaFields.getPPRDays()) / ownershipDays;
7804
+ case TaxExemptionEnum.PPR_TO_INVESTMENT:
7805
+ return metaFields.getClaimPercent() / 100;
7806
+ default:
7807
+ return 1;
7808
+ }
7809
+ }
7810
+ /**
7811
+ * tax exemption can reduce cgt from 100% to less (up to zero)
7812
+ */
7813
+ getCGTExemptionRatio(sale) {
7814
+ switch (sale.taxExemption?.id) {
7815
+ // 50% exemption for investments owned for at least one year
7816
+ case TaxExemptionEnum.ONE_YEAR_RULE:
7817
+ return 0.5;
7818
+ case TaxExemptionEnum.INVESTMENT_TO_PPR:
7819
+ case TaxExemptionEnum.PPR_TO_INVESTMENT:
7820
+ return this.isOneYearExemptionApplicable(sale) ? 0.5 : 1;
7821
+ // full exemption
7822
+ case TaxExemptionEnum.PPR:
7823
+ case TaxExemptionEnum.SIX_YEARS_RULE:
7824
+ case TaxExemptionEnum.TRANSFER:
7825
+ case TaxExemptionEnum.OTHER:
7826
+ return 0;
7827
+ // no exemption
7828
+ default:
7829
+ return 1;
7830
+ }
7831
+ }
7832
+ /**
7833
+ * in cgt report we apply losses, which can reset 1 year rule (in case if there is no profit after loss)
7834
+ */
7835
+ isOneYearExemptionApplicable(sale) {
7836
+ return sale.grossCapitalGain > 0 && this.getOwnershipDuration(sale, 'years') > 0;
7837
+ }
7838
+ /**
7839
+ * CGT is not applicable for properties acquired before 20.09.1985 (tax didn't exist before this date).
7840
+ * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
7841
+ */
7842
+ isCGTApplicable() {
7843
+ return this.contractDate >= Property.preCGTAssetDate;
7844
+ }
7845
+ /**
7846
+ * ownership duration from purchase till sale
7847
+ */
7848
+ getOwnershipDuration(sale, unitOfTime = 'days') {
7849
+ return moment(sale.date).diff(moment(this.contractDate), unitOfTime);
7850
+ }
7851
+ /**
7852
+ * Tax Position = Income - Expense - Interest - Depreciation
7853
+ * Where (Income - Expense - Interest) is cash position.
7854
+ * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217415928/Dashboard+Property
7855
+ */
7856
+ getTaxPosition(transactions, depreciations) {
7857
+ return transactions.grossClaimAmount - Math.abs(depreciations.claimAmount);
7858
+ }
7859
+ }
7860
+ /**
7861
+ * Property acquired before 20 September 1985 will generally be treated as pre-Capital Gains Tax (CGT) assets.
7862
+ * Any assets acquired before this day are CGT exempt (because the tax didn't exist before this date).
7863
+ */
7864
+ Property.preCGTAssetDate = new Date(1985, 9, 20);
7865
+ __decorate([
7866
+ Type(() => Number)
7867
+ ], Property.prototype, "purchasePrice", void 0);
7868
+ __decorate([
7869
+ Type(() => Number)
7870
+ ], Property.prototype, "growthPercent", void 0);
7871
+ __decorate([
7872
+ Type(() => Date)
7873
+ ], Property.prototype, "contractDate", void 0);
7874
+ __decorate([
7875
+ Type(() => Date)
7876
+ ], Property.prototype, "settlementDate", void 0);
7877
+ __decorate([
7878
+ Type(() => Address)
7879
+ ], Property.prototype, "address", void 0);
7880
+ __decorate([
7881
+ Type(() => PropertyCategory)
7882
+ ], Property.prototype, "category", void 0);
7883
+ __decorate([
7884
+ Type(() => Number)
7885
+ ], Property.prototype, "stampDuty", void 0);
7886
+ __decorate([
7887
+ Type(() => Number)
7888
+ ], Property.prototype, "legalFees", void 0);
7889
+ __decorate([
7890
+ Type(() => Number)
7891
+ ], Property.prototype, "otherCapitalCosts", void 0);
7892
+ __decorate([
7893
+ Type(() => PropertyValuation)
7894
+ ], Property.prototype, "valuations", void 0);
7895
+ __decorate([
7896
+ Type(() => PropertyForecast)
7897
+ ], Property.prototype, "forecasts", void 0);
7898
+ __decorate([
7899
+ Type(() => PropertyCategoryMovement)
7900
+ ], Property.prototype, "categoryMovements", void 0);
7901
+ __decorate([
7902
+ Type(() => User)
7903
+ ], Property.prototype, "user", void 0);
7904
+ __decorate([
7905
+ Type(() => PropertySubscription)
7906
+ ], Property.prototype, "subscriptions", void 0);
7907
+ __decorate([
7908
+ Exclude()
7909
+ ], Property.prototype, "documentFile", void 0);
7910
+
7911
+ /**
7912
+ * @Todo TT-2143 should be removed when PropertySaleCostBaseForm refactored (cut property to separated form)
7913
+ */
7914
+ class PropertySaleCostBase {
7915
+ static createFrom(property, propertySale, depreciations, holdingCosts) {
7916
+ return plainToClass(PropertySaleCostBase, {
7917
+ property: plainToClass(Property, property),
7918
+ sale: plainToClass(PropertySale, Object.assign({}, propertySale, {
7919
+ holdingCosts: propertySale.holdingCosts ?? Math.abs(holdingCosts.sumBy('amount')),
7920
+ structuralImprovementsWDV: propertySale.structuralImprovementsWDV ?? depreciations.getWithCapitalProject().getCloseBalanceByYear(),
7921
+ buildingAtCostClaimed: propertySale.buildingAtCostClaimed ?? depreciations.getWithoutCapitalProject().getClaimedAmountByYear(),
7922
+ })),
7923
+ });
7924
+ }
7925
+ }
7926
+
7927
+ class PropertySaleTaxExemptionMetaField extends PropertySaleTaxExemptionMetaField$1 {
7928
+ }
7929
+
7930
+ class TaxExemptionMetaField extends TaxExemptionMetaField$1 {
7931
+ }
7932
+
7933
+ /**
7934
+ * Calculation form control types
7935
+ */
7936
+ var CalculationFormTypeEnum;
7937
+ (function (CalculationFormTypeEnum) {
7938
+ CalculationFormTypeEnum[CalculationFormTypeEnum["INPUT"] = 1] = "INPUT";
7939
+ CalculationFormTypeEnum[CalculationFormTypeEnum["SELECT"] = 2] = "SELECT";
7940
+ })(CalculationFormTypeEnum || (CalculationFormTypeEnum = {}));
7941
+
7942
+ /**
7943
+ * Fields to implement custom calculation form
7944
+ */
7945
+ class CalculationFormItem {
7946
+ constructor() {
7947
+ // type of control (input, select, e.t.c)
7948
+ this.type = CalculationFormTypeEnum.SELECT;
7949
+ }
7950
+ }
7951
+ __decorate([
7952
+ Transform(({ obj }) => obj.type === CalculationFormTypeEnum.SELECT),
7953
+ Expose()
7954
+ ], CalculationFormItem.prototype, "isSelect", void 0);
7955
+
7956
+ const CAPITAL_COSTS_ITEMS = [
7957
+ plainToClass(CalculationFormItem, {
7958
+ name: 'rentingWholeProperty',
7959
+ value: null,
7960
+ label: 'Are you renting out the whole property?',
7961
+ type: CalculationFormTypeEnum.SELECT,
7962
+ dependentFields: ['howBigIsProperty', 'howBigIsLetArea', 'howBigIsCommonAreas'],
7963
+ isDisabled: false,
7964
+ validators: [Validators.required]
7965
+ }),
7966
+ plainToClass(CalculationFormItem, {
7967
+ name: 'rentingWholeYear',
7968
+ value: null,
7969
+ label: 'Are you renting out for the whole year?',
7970
+ type: CalculationFormTypeEnum.SELECT,
7971
+ dependentFields: ['howManyDays'],
7972
+ isDisabled: false,
7973
+ validators: [Validators.required]
7974
+ }),
7975
+ plainToClass(CalculationFormItem, {
7976
+ name: 'howBigIsProperty',
7977
+ value: null,
7978
+ label: 'How big is the property?',
7979
+ type: CalculationFormTypeEnum.INPUT,
7980
+ isDisabled: true,
7981
+ validators: [Validators.required, Validators.min(1)]
7982
+ }),
7983
+ plainToClass(CalculationFormItem, {
7984
+ name: 'howBigIsLetArea',
7985
+ value: null,
7986
+ label: 'How big is the let area?',
7987
+ type: CalculationFormTypeEnum.INPUT,
7988
+ isDisabled: true,
7989
+ validators: [Validators.required, Validators.min(1)]
7990
+ }),
7991
+ plainToClass(CalculationFormItem, {
7992
+ name: 'howBigIsCommonAreas',
7993
+ value: null,
7994
+ label: 'How big are the common areas?',
7995
+ type: CalculationFormTypeEnum.INPUT,
7996
+ isDisabled: true,
7997
+ validators: [Validators.required, Validators.min(1)]
7998
+ }),
7999
+ plainToClass(CalculationFormItem, {
8000
+ name: 'howManyDays',
8001
+ value: null,
8002
+ label: 'How many days of the year is the property available for rent?',
8003
+ type: CalculationFormTypeEnum.INPUT,
8004
+ isDisabled: true,
8005
+ validators: [Validators.required, Validators.min(1)]
8006
+ }),
8007
+ ];
8008
+
8009
+ /**
8010
+ * class contains equity information for passed financial year
8011
+ */
8012
+ class PropertyEquityChartItem {
8013
+ constructor(year, marketValue, loanBalance) {
8014
+ this.year = year;
8015
+ this.marketValue = marketValue || 0;
8016
+ this.loanBalance = loanBalance || 0;
8017
+ }
8018
+ /**
8019
+ * calculate equity position
8020
+ */
8021
+ get equityPosition() {
8022
+ return this.marketValue - this.loanBalance;
8023
+ }
8024
+ /**
8025
+ * return this equity position instance as chart serie
8026
+ * @param type
8027
+ */
8028
+ getSerie(type) {
8029
+ return [this.year, this[type]];
8030
+ }
8031
+ }
8032
+
8033
+ var PropertyEquityChartTypeEnum;
8034
+ (function (PropertyEquityChartTypeEnum) {
8035
+ PropertyEquityChartTypeEnum["MARKET_VALUE"] = "marketValue";
8036
+ PropertyEquityChartTypeEnum["LOAN_BALANCE"] = "loanBalance";
8037
+ })(PropertyEquityChartTypeEnum || (PropertyEquityChartTypeEnum = {}));
8038
+
8039
+ // count of years for future values
8040
+ const FORECAST_YEARS = 25;
8041
+ /**
8042
+ * class contain actual and forecasted market values and loan balances for passed properties
8043
+ * X axis - years from the first actual data year to the last forecasted year
8044
+ * Y axis - amounts of market values, loan balances
8045
+ * Also on hover appear equity positions point
8046
+ */
8047
+ class PropertyEquityChartData {
8048
+ constructor(properties, bankAccounts, loans, registerDate) {
8049
+ this.registerDate = registerDate;
8050
+ this.properties = properties;
8051
+ this.bankAccounts = bankAccounts.getLoanAccounts();
8052
+ this.loans = loans;
8053
+ this.currentYear = new FinancialYear(new Date()).year;
8054
+ this.initItems();
8055
+ this.buildHistoryItems();
8056
+ this.buildActualItem();
8057
+ this.buildForecastedItems();
8058
+ this.checkZeroLoanBalance();
8059
+ this.checkZeroMarketValue();
8060
+ }
8061
+ /**
8062
+ * get items list in chart series format
8063
+ * @param type
8064
+ */
8065
+ getChartSeries(type) {
8066
+ return this.list.map((item) => item.getSerie(type));
8067
+ }
8068
+ /**
8069
+ * get prepared chart data
8070
+ */
8071
+ getChartData() {
8072
+ return [
8073
+ {
8074
+ id: 'marketValue',
8075
+ name: 'Market Value',
8076
+ series: this.getChartSeries(PropertyEquityChartTypeEnum.MARKET_VALUE),
8077
+ // display future market value with dash line and past market value with solid line
8078
+ zones: [{
8079
+ // line style after current calendar year
8080
+ value: this.currentYear,
8081
+ dashStyle: 'Solid'
8082
+ }, {
8083
+ // default line style
8084
+ dashStyle: 'Dash'
8085
+ }]
8086
+ },
8087
+ {
8088
+ // id used to add/remove serie to chart
8089
+ id: 'loanBalance',
8090
+ name: 'Loan Balance',
8091
+ series: this.getChartSeries(PropertyEquityChartTypeEnum.LOAN_BALANCE)
8092
+ }
8093
+ ];
8094
+ }
8095
+ /**
8096
+ * create empty equity position item for each year in collection
8097
+ */
8098
+ initItems() {
8099
+ this.list = [];
8100
+ for (let year = new FinancialYear(this.registerDate).year - 1; year <= (this.currentYear + FORECAST_YEARS); year++) {
8101
+ this.list.push(new PropertyEquityChartItem(year));
8084
8102
  }
8085
- return previousCategory;
8086
- }
8087
- getCurrentSubscription() {
8088
- // always return first element because subscriptions array contains only one element
8089
- return this.subscriptions[0];
8090
- }
8091
- getForecastByYear(year) {
8092
- return this.forecasts.find((forecast) => forecast.financialYear === year);
8093
- }
8094
- get isShared() {
8095
- return this.shares.length > 1;
8096
8103
  }
8097
8104
  /**
8098
- * @TODO consider to move methods related with propertySale to separated class, since used just in one module yet
8099
- * purchase costs - claimed costs, except `ppr to investment` exemption,
8100
- * in that case it's equal to market value, when property became an investment property
8105
+ * collect equity position items with past values from properties forecasts
8101
8106
  */
8102
- calculateCostBase(sale) {
8103
- const marketValue = new PropertySaleTaxExemptionMetaFieldCollection(sale.taxExemptionMetaFields).getMarketValue();
8104
- if (marketValue) {
8105
- return marketValue;
8106
- }
8107
- return this.purchasePrice + this.capitalCostsTotalAmount + sale.holdingCosts + sale.structuralImprovementsWDV - sale.buildingAtCostClaimed;
8107
+ buildHistoryItems() {
8108
+ // get items for past and current years
8109
+ const items = this.list.filter((item) => item.year <= this.currentYear);
8110
+ items.forEach((item) => {
8111
+ // increase item values with property actual forecasts for item year
8112
+ item.marketValue = this.properties.items.reduce((sum, property) => sum + this.getMarketValueForPropertyByYear(property, item.year), 0);
8113
+ item.loanBalance = Math.abs(this.properties.items.reduce((sum, property) => sum + this.getLoanBalanceForPropertyByYear(property, item.year), 0));
8114
+ });
8108
8115
  }
8109
- calculateGrossCapitalGain(sale) {
8110
- return round((sale.netPrice - this.calculateCostBase(sale)) * this.getPartialCGTExemptionRatio(sale) * this.shareRatio, 2);
8116
+ /**
8117
+ * set actual year's real data
8118
+ * @private
8119
+ */
8120
+ buildActualItem() {
8121
+ const item = this.list.find((i) => i.year === this.currentYear);
8122
+ item.marketValue = this.properties.marketValue;
8123
+ item.loanBalance = this.properties.items.reduce((sum, property) => sum + Math.abs(this.bankAccounts.getPropertyBalanceAmount(property.id)), 0);
8111
8124
  }
8112
8125
  /**
8113
- * net capital gain includes tax exemption
8126
+ * collect equity position items with forecasted (future) calculated values
8114
8127
  */
8115
- calculateNetCapitalGain(sale) {
8116
- return this.getCGTExemptionRatio(sale) * sale.grossCapitalGain;
8128
+ buildForecastedItems() {
8129
+ // calculate future values for all properties separately
8130
+ this.properties.items.forEach((property) => {
8131
+ let forecastedMarketValue = (property.growthPercent / 100) * property.marketValue + property.marketValue;
8132
+ // calculate future values for each future year for current handling property
8133
+ this.list
8134
+ .filter((item) => item.year > this.currentYear)
8135
+ .forEach((item) => {
8136
+ const propertyBankAccounts = this.bankAccounts.getByPropertyId(property.id);
8137
+ // increase loan balance amount for handling equity position item
8138
+ item.loanBalance += this.getLoanBalanceByYear(property, item.year, propertyBankAccounts, this.loans.getByBankAccountsIds(propertyBankAccounts.getIds()));
8139
+ // increase market value amount for handling equity position item
8140
+ item.marketValue += forecastedMarketValue;
8141
+ // increase current market value forecast for the next cycle iteration
8142
+ forecastedMarketValue += forecastedMarketValue * (property.growthPercent / 100);
8143
+ });
8144
+ });
8117
8145
  }
8118
8146
  /**
8119
- * guess tax exemption based on property details
8147
+ * Get property loan balance by financial year
8148
+ * @param property Property instance for filter
8149
+ * @param year Financial year number
8150
+ * @param bankAccounts List of bank accounts
8151
+ * @param loans List of loans
8152
+ * @private
8120
8153
  */
8121
- getCGTExemption(sale) {
8122
- if (sale.taxExemption) {
8123
- return sale.taxExemption.id;
8124
- }
8125
- switch (true) {
8126
- // exemption for main residence properties
8127
- case this.category.id === PropertyCategoryListEnum.OWNER_OCCUPIED:
8128
- return TaxExemptionEnum.PPR;
8129
- // exemption for investment properties owned for at least one year
8130
- case this.isOneYearExemptionApplicable(sale):
8131
- return TaxExemptionEnum.ONE_YEAR_RULE;
8132
- default:
8133
- return null;
8134
- }
8154
+ getLoanBalanceByYear(property, year, bankAccounts, loans) {
8155
+ return bankAccounts.items.reduce((totalSum, bankAccount) => totalSum + (bankAccount.getPropertyPercentage(property.id) * (loans.getByBankAccountId(bankAccount.id)?.getLastPaymentByYear(year)?.totalOwed || 0)), 0);
8135
8156
  }
8136
- getPartialCGTExemptionRatio(sale) {
8137
- const metaFields = new PropertySaleTaxExemptionMetaFieldCollection(sale.taxExemptionMetaFields);
8138
- switch (sale.taxExemption?.id) {
8139
- case TaxExemptionEnum.INVESTMENT_TO_PPR:
8140
- const ownershipDays = this.getOwnershipDuration(sale);
8141
- return (ownershipDays - metaFields.getPPRDays()) / ownershipDays;
8142
- case TaxExemptionEnum.PPR_TO_INVESTMENT:
8143
- return metaFields.getClaimPercent() / 100;
8144
- default:
8145
- return 1;
8157
+ getMarketValueForPropertyByYear(property, year) {
8158
+ if (new FinancialYear(property.contractDate).year > year) {
8159
+ return 0;
8146
8160
  }
8161
+ return (property.getForecastByYear(year) || first(property.forecasts)).marketValue;
8147
8162
  }
8148
- /**
8149
- * tax exemption can reduce cgt from 100% to less (up to zero)
8150
- */
8151
- getCGTExemptionRatio(sale) {
8152
- switch (sale.taxExemption?.id) {
8153
- // 50% exemption for investments owned for at least one year
8154
- case TaxExemptionEnum.ONE_YEAR_RULE:
8155
- return 0.5;
8156
- case TaxExemptionEnum.INVESTMENT_TO_PPR:
8157
- case TaxExemptionEnum.PPR_TO_INVESTMENT:
8158
- return this.isOneYearExemptionApplicable(sale) ? 0.5 : 1;
8159
- // full exemption
8160
- case TaxExemptionEnum.PPR:
8161
- case TaxExemptionEnum.SIX_YEARS_RULE:
8162
- case TaxExemptionEnum.TRANSFER:
8163
- case TaxExemptionEnum.OTHER:
8164
- return 0;
8165
- // no exemption
8166
- default:
8167
- return 1;
8163
+ getLoanBalanceForPropertyByYear(property, year) {
8164
+ if (new FinancialYear(property.contractDate).year > year) {
8165
+ return 0;
8168
8166
  }
8167
+ return property.getForecastByYear(year)?.loanBalance || this.bankAccounts.getPropertyBalanceAmount(property.id);
8169
8168
  }
8170
8169
  /**
8171
- * in cgt report we apply losses, which can reset 1 year rule (in case if there is no profit after loss)
8170
+ * Check if loan balance is 0 and set it as null (to not to draw point on the chart)
8172
8171
  */
8173
- isOneYearExemptionApplicable(sale) {
8174
- return sale.grossCapitalGain > 0 && this.getOwnershipDuration(sale, 'years') > 0;
8172
+ checkZeroLoanBalance() {
8173
+ this.list.forEach((item) => {
8174
+ if (item.loanBalance === 0) {
8175
+ item.loanBalance = null;
8176
+ }
8177
+ });
8175
8178
  }
8176
8179
  /**
8177
- * CGT is not applicable for properties acquired before 20.09.1985 (tax didn't exist before this date).
8178
- * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
8180
+ * Check if market value is 0 and set it as null (to not to draw point on the chart)
8179
8181
  */
8180
- isCGTApplicable() {
8181
- return this.contractDate >= Property.preCGTAssetDate;
8182
+ checkZeroMarketValue() {
8183
+ this.list.forEach((item) => {
8184
+ if (item.marketValue === 0) {
8185
+ item.marketValue = null;
8186
+ }
8187
+ });
8182
8188
  }
8183
- /**
8184
- * ownership duration from purchase till sale
8185
- */
8186
- getOwnershipDuration(sale, unitOfTime = 'days') {
8187
- return moment(sale.date).diff(moment(this.contractDate), unitOfTime);
8189
+ }
8190
+
8191
+ var PropertyShareStatusEnum;
8192
+ (function (PropertyShareStatusEnum) {
8193
+ PropertyShareStatusEnum[PropertyShareStatusEnum["PENDING"] = 1] = "PENDING";
8194
+ PropertyShareStatusEnum[PropertyShareStatusEnum["APPROVED"] = 2] = "APPROVED";
8195
+ PropertyShareStatusEnum[PropertyShareStatusEnum["REJECTED"] = 3] = "REJECTED";
8196
+ })(PropertyShareStatusEnum || (PropertyShareStatusEnum = {}));
8197
+
8198
+ class PropertyShare extends PropertyShare$1 {
8199
+ isAccepted() {
8200
+ return this.status === PropertyShareStatusEnum.APPROVED;
8201
+ }
8202
+ isPending() {
8203
+ return this.status === PropertyShareStatusEnum.PENDING;
8204
+ }
8205
+ isRejected() {
8206
+ return this.status === PropertyShareStatusEnum.REJECTED;
8207
+ }
8208
+ get statusName() {
8209
+ return PropertyShareStatusEnum[this.status]?.toLowerCase();
8188
8210
  }
8189
8211
  /**
8190
- * Tax Position = Income - Expense - Interest - Depreciation
8191
- * Where (Income - Expense - Interest) is cash position.
8192
- * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217415928/Dashboard+Property
8212
+ * Return full user name if user is already registered.
8213
+ * Otherwise - return first name from invitation
8193
8214
  */
8194
- getTaxPosition(transactions, depreciations) {
8195
- return transactions.grossClaimAmount - Math.abs(depreciations.claimAmount);
8215
+ get userName() {
8216
+ return this.user ? this.user.fullName : `${this.invite.firstName}`;
8196
8217
  }
8197
8218
  }
8198
- /**
8199
- * Property acquired before 20 September 1985 will generally be treated as pre-Capital Gains Tax (CGT) assets.
8200
- * Any assets acquired before this day are CGT exempt (because the tax didn't exist before this date).
8201
- */
8202
- Property.preCGTAssetDate = new Date(1985, 9, 20);
8203
- __decorate([
8204
- Type(() => Number)
8205
- ], Property.prototype, "purchasePrice", void 0);
8206
- __decorate([
8207
- Type(() => Number)
8208
- ], Property.prototype, "growthPercent", void 0);
8209
8219
  __decorate([
8210
8220
  Type(() => Date)
8211
- ], Property.prototype, "contractDate", void 0);
8221
+ ], PropertyShare.prototype, "fromDate", void 0);
8212
8222
  __decorate([
8213
8223
  Type(() => Date)
8214
- ], Property.prototype, "settlementDate", void 0);
8215
- __decorate([
8216
- Type(() => Address)
8217
- ], Property.prototype, "address", void 0);
8218
- __decorate([
8219
- Type(() => PropertyCategory)
8220
- ], Property.prototype, "category", void 0);
8221
- __decorate([
8222
- Type(() => Number)
8223
- ], Property.prototype, "stampDuty", void 0);
8224
- __decorate([
8225
- Type(() => Number)
8226
- ], Property.prototype, "legalFees", void 0);
8227
- __decorate([
8228
- Type(() => Number)
8229
- ], Property.prototype, "otherCapitalCosts", void 0);
8230
- __decorate([
8231
- Type(() => PropertyValuation)
8232
- ], Property.prototype, "valuations", void 0);
8233
- __decorate([
8234
- Type(() => PropertyForecast)
8235
- ], Property.prototype, "forecasts", void 0);
8236
- __decorate([
8237
- Type(() => PropertyCategoryMovement)
8238
- ], Property.prototype, "categoryMovements", void 0);
8224
+ ], PropertyShare.prototype, "toDate", void 0);
8239
8225
  __decorate([
8240
8226
  Type(() => User)
8241
- ], Property.prototype, "user", void 0);
8227
+ ], PropertyShare.prototype, "user", void 0);
8242
8228
  __decorate([
8243
- Type(() => PropertySubscription)
8244
- ], Property.prototype, "subscriptions", void 0);
8229
+ Type(() => RegistrationInvite)
8230
+ ], PropertyShare.prototype, "invite", void 0);
8245
8231
  __decorate([
8246
- Exclude()
8247
- ], Property.prototype, "documentFile", void 0);
8232
+ Type(() => Property)
8233
+ ], PropertyShare.prototype, "property", void 0);
8234
+ __decorate([
8235
+ Transform(({ obj }) => obj.user ? obj.user.email : obj.invite.email)
8236
+ ], PropertyShare.prototype, "email", void 0);
8237
+
8238
+ /**
8239
+ * @TODO used only on dashboard, move from tt-core
8240
+ * Enum with properties ownership filter options
8241
+ */
8242
+ var ShareFilterOptionsEnum;
8243
+ (function (ShareFilterOptionsEnum) {
8244
+ ShareFilterOptionsEnum[ShareFilterOptionsEnum["ALL"] = 1] = "ALL";
8245
+ ShareFilterOptionsEnum[ShareFilterOptionsEnum["CREATED"] = 2] = "CREATED";
8246
+ ShareFilterOptionsEnum[ShareFilterOptionsEnum["SHARED"] = 3] = "SHARED";
8247
+ })(ShareFilterOptionsEnum || (ShareFilterOptionsEnum = {}));
8248
8248
 
8249
8249
  class BankAccountProperty extends BankAccountProperty$1 {
8250
8250
  }
@@ -8252,7 +8252,7 @@ __decorate([
8252
8252
  Type(() => Property)
8253
8253
  ], BankAccountProperty.prototype, "property", void 0);
8254
8254
  __decorate([
8255
- Transform(({ value }) => value || 100),
8255
+ Transform(({ value }) => isNaN(value) ? 100 : value),
8256
8256
  Expose()
8257
8257
  ], BankAccountProperty.prototype, "percent", void 0);
8258
8258
 
@@ -9180,9 +9180,9 @@ class JwtService extends JwtHelperService {
9180
9180
  return this.getUser().id === userId;
9181
9181
  }
9182
9182
  }
9183
- JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
9184
- JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, providedIn: 'root' });
9185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, decorators: [{
9183
+ JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
9184
+ JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, providedIn: 'root' });
9185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, decorators: [{
9186
9186
  type: Injectable,
9187
9187
  args: [{
9188
9188
  providedIn: 'root'
@@ -9217,9 +9217,9 @@ class EventDispatcherService {
9217
9217
  this.eventSubject2.next(event);
9218
9218
  }
9219
9219
  }
9220
- EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9221
- EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
9222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, decorators: [{
9220
+ EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9221
+ EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
9222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, decorators: [{
9223
9223
  type: Injectable,
9224
9224
  args: [{
9225
9225
  providedIn: 'root'
@@ -9268,9 +9268,9 @@ class AuthService {
9268
9268
  location.replace(url);
9269
9269
  }
9270
9270
  }
9271
- AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9272
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, providedIn: 'root' });
9273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, decorators: [{
9271
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9272
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, providedIn: 'root' });
9273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, decorators: [{
9274
9274
  type: Injectable,
9275
9275
  args: [{
9276
9276
  providedIn: 'root'
@@ -9403,9 +9403,9 @@ class JwtInterceptor {
9403
9403
  });
9404
9404
  }
9405
9405
  }
9406
- JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9407
- JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor });
9408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor, decorators: [{
9406
+ JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9407
+ JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor });
9408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, decorators: [{
9409
9409
  type: Injectable
9410
9410
  }], ctorParameters: function () { return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
9411
9411
  type: Inject,
@@ -9438,9 +9438,9 @@ class UserSwitcherService {
9438
9438
  window.location.replace('/firm/dashboard');
9439
9439
  }
9440
9440
  }
9441
- UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9442
- UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
9443
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, decorators: [{
9441
+ UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9442
+ UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
9443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, decorators: [{
9444
9444
  type: Injectable,
9445
9445
  args: [{
9446
9446
  providedIn: 'root'
@@ -9486,9 +9486,9 @@ class UserSwitcherInterceptor {
9486
9486
  return next.handle(this.switch(request, this.userSwitcherService.get()));
9487
9487
  }
9488
9488
  }
9489
- UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9490
- UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor });
9491
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
9489
+ UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9490
+ UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor });
9491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
9492
9492
  type: Injectable
9493
9493
  }], ctorParameters: function () { return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
9494
9494
  type: Inject,
@@ -9767,9 +9767,9 @@ class PreloaderService {
9767
9767
  this.activePreloaders.next(activePreloaders);
9768
9768
  }
9769
9769
  }
9770
- PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9771
- PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, providedIn: 'root' });
9772
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, decorators: [{
9770
+ PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9771
+ PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, providedIn: 'root' });
9772
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, decorators: [{
9773
9773
  type: Injectable,
9774
9774
  args: [{
9775
9775
  providedIn: 'root'
@@ -9797,9 +9797,9 @@ class PreloaderInterceptor {
9797
9797
  return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
9798
9798
  }
9799
9799
  }
9800
- PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
9801
- PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor });
9802
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor, decorators: [{
9800
+ PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
9801
+ PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor });
9802
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, decorators: [{
9803
9803
  type: Injectable
9804
9804
  }], ctorParameters: function () { return [{ type: PreloaderService }]; } });
9805
9805
 
@@ -9829,9 +9829,9 @@ class DataService {
9829
9829
  this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
9830
9830
  }
9831
9831
  }
9832
- DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9833
- DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, providedIn: 'root' });
9834
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, decorators: [{
9832
+ DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9833
+ DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, providedIn: 'root' });
9834
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, decorators: [{
9835
9835
  type: Injectable,
9836
9836
  args: [{
9837
9837
  providedIn: 'root'
@@ -9868,9 +9868,9 @@ class SseService {
9868
9868
  .pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
9869
9869
  }
9870
9870
  }
9871
- SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9872
- SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, providedIn: 'root' });
9873
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, decorators: [{
9871
+ SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9872
+ SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, providedIn: 'root' });
9873
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, decorators: [{
9874
9874
  type: Injectable,
9875
9875
  args: [{
9876
9876
  providedIn: 'root'
@@ -10084,9 +10084,9 @@ let RestService$1 = class RestService extends DataService {
10084
10084
  */
10085
10085
  listenEvents() { }
10086
10086
  };
10087
- RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10088
- RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, providedIn: 'root' });
10089
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, decorators: [{
10087
+ RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10088
+ RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, providedIn: 'root' });
10089
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, decorators: [{
10090
10090
  type: Injectable,
10091
10091
  args: [{
10092
10092
  providedIn: 'root'
@@ -10229,9 +10229,9 @@ class ToastService {
10229
10229
  }));
10230
10230
  }
10231
10231
  }
10232
- ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10233
- ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, providedIn: 'root' });
10234
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, decorators: [{
10232
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10233
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, providedIn: 'root' });
10234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, decorators: [{
10235
10235
  type: Injectable,
10236
10236
  args: [{
10237
10237
  providedIn: 'root'
@@ -10309,9 +10309,9 @@ class BankConnectionService extends RestService$1 {
10309
10309
  });
10310
10310
  }
10311
10311
  }
10312
- BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
10313
- BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
10314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, decorators: [{
10312
+ BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
10313
+ BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
10314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, decorators: [{
10315
10315
  type: Injectable,
10316
10316
  args: [{
10317
10317
  providedIn: 'root'
@@ -10451,9 +10451,9 @@ BasiqService.retrieveAccountsCheckInterval = 3000;
10451
10451
  * How long we will wait accounts retrieving, break after timeout if not retireved
10452
10452
  */
10453
10453
  BasiqService.retrieveAccountsTimeout = 20000;
10454
- BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
10455
- BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, providedIn: 'root' });
10456
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, decorators: [{
10454
+ BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
10455
+ BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, providedIn: 'root' });
10456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, decorators: [{
10457
10457
  type: Injectable,
10458
10458
  args: [{
10459
10459
  providedIn: 'root'
@@ -10488,9 +10488,9 @@ class BasiqTokenService extends RestService$1 {
10488
10488
  return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
10489
10489
  }
10490
10490
  }
10491
- BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10492
- BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
10493
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, decorators: [{
10491
+ BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10492
+ BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
10493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, decorators: [{
10494
10494
  type: Injectable,
10495
10495
  args: [{
10496
10496
  providedIn: 'root'
@@ -10519,9 +10519,9 @@ class BasiqTokenInterceptor {
10519
10519
  });
10520
10520
  }
10521
10521
  }
10522
- BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
10523
- BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor });
10524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
10522
+ BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
10523
+ BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor });
10524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
10525
10525
  type: Injectable
10526
10526
  }], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
10527
10527
 
@@ -10703,9 +10703,9 @@ class UserService {
10703
10703
  });
10704
10704
  }
10705
10705
  }
10706
- UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10707
- UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, providedIn: 'root' });
10708
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, decorators: [{
10706
+ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10707
+ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, providedIn: 'root' });
10708
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, decorators: [{
10709
10709
  type: Injectable,
10710
10710
  args: [{
10711
10711
  providedIn: 'root'
@@ -10735,17 +10735,17 @@ class BasiqClientIdInterceptor {
10735
10735
  });
10736
10736
  }
10737
10737
  }
10738
- BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
10739
- BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor });
10740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
10738
+ BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
10739
+ BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor });
10740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
10741
10741
  type: Injectable
10742
10742
  }], ctorParameters: function () { return [{ type: UserService }]; } });
10743
10743
 
10744
10744
  class InterceptorsModule {
10745
10745
  }
10746
- InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10747
- InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule });
10748
- InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, providers: [
10746
+ InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10747
+ InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule });
10748
+ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, providers: [
10749
10749
  {
10750
10750
  provide: HTTP_INTERCEPTORS,
10751
10751
  useClass: CorelogicInterceptor,
@@ -10783,7 +10783,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
10783
10783
  multi: true
10784
10784
  }
10785
10785
  ] });
10786
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, decorators: [{
10786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, decorators: [{
10787
10787
  type: NgModule,
10788
10788
  args: [{
10789
10789
  providers: [
@@ -10841,12 +10841,12 @@ class TtCoreModule {
10841
10841
  };
10842
10842
  }
10843
10843
  }
10844
- TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10845
- TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10844
+ TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10845
+ TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10846
10846
  InterceptorsModule] });
10847
- TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10847
+ TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10848
10848
  InterceptorsModule] });
10849
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, decorators: [{
10849
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, decorators: [{
10850
10850
  type: NgModule,
10851
10851
  args: [{
10852
10852
  declarations: [],
@@ -12389,9 +12389,9 @@ class AddressService {
12389
12389
  return this.countriesSubject.asObservable();
12390
12390
  }
12391
12391
  }
12392
- AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12393
- AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, providedIn: 'root' });
12394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, decorators: [{
12392
+ AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12393
+ AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, providedIn: 'root' });
12394
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, decorators: [{
12395
12395
  type: Injectable,
12396
12396
  args: [{
12397
12397
  providedIn: 'root'
@@ -12459,9 +12459,9 @@ class BankAccountService extends RestService$1 {
12459
12459
  });
12460
12460
  }
12461
12461
  }
12462
- BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12463
- BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, providedIn: 'root' });
12464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, decorators: [{
12462
+ BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12463
+ BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, providedIn: 'root' });
12464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, decorators: [{
12465
12465
  type: Injectable,
12466
12466
  args: [{
12467
12467
  providedIn: 'root'
@@ -12526,9 +12526,9 @@ class BankTransactionService extends RestService$1 {
12526
12526
  });
12527
12527
  }
12528
12528
  }
12529
- BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12530
- BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
12531
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, decorators: [{
12529
+ BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12530
+ BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
12531
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, decorators: [{
12532
12532
  type: Injectable,
12533
12533
  args: [{
12534
12534
  providedIn: 'root'
@@ -12555,9 +12555,9 @@ class BankService extends RestService$1 {
12555
12555
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
12556
12556
  }
12557
12557
  }
12558
- BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12559
- BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, providedIn: 'root' });
12560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, decorators: [{
12558
+ BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12559
+ BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, providedIn: 'root' });
12560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, decorators: [{
12561
12561
  type: Injectable,
12562
12562
  args: [{
12563
12563
  providedIn: 'root'
@@ -12574,9 +12574,9 @@ class BudgetService extends RestService$1 {
12574
12574
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
12575
12575
  }
12576
12576
  }
12577
- BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12578
- BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, providedIn: 'root' });
12579
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, decorators: [{
12577
+ BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12578
+ BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, providedIn: 'root' });
12579
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, decorators: [{
12580
12580
  type: Injectable,
12581
12581
  args: [{
12582
12582
  providedIn: 'root'
@@ -12604,9 +12604,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
12604
12604
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
12605
12605
  }
12606
12606
  }
12607
- ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12608
- ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
12609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
12607
+ ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12608
+ ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
12609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
12610
12610
  type: Injectable,
12611
12611
  args: [{
12612
12612
  providedIn: 'root'
@@ -12646,9 +12646,9 @@ class ChartAccountsService extends RestService$1 {
12646
12646
  }));
12647
12647
  }
12648
12648
  }
12649
- ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12650
- ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
12651
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, decorators: [{
12649
+ ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12650
+ ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
12651
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, decorators: [{
12652
12652
  type: Injectable,
12653
12653
  args: [{
12654
12654
  providedIn: 'root'
@@ -12717,9 +12717,9 @@ class ChatService extends RestService$1 {
12717
12717
  });
12718
12718
  }
12719
12719
  }
12720
- ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12721
- ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, providedIn: 'root' });
12722
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, decorators: [{
12720
+ ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12721
+ ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, providedIn: 'root' });
12722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, decorators: [{
12723
12723
  type: Injectable,
12724
12724
  args: [{
12725
12725
  providedIn: 'root'
@@ -12776,9 +12776,9 @@ class MessageService extends RestService$1 {
12776
12776
  });
12777
12777
  }
12778
12778
  }
12779
- MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12780
- MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, providedIn: 'root' });
12781
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, decorators: [{
12779
+ MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12780
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, providedIn: 'root' });
12781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, decorators: [{
12782
12782
  type: Injectable,
12783
12783
  args: [{
12784
12784
  providedIn: 'root'
@@ -12847,9 +12847,9 @@ class MessageDocumentService extends RestService$1 {
12847
12847
  return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
12848
12848
  }
12849
12849
  }
12850
- MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12851
- MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
12852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, decorators: [{
12850
+ MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12851
+ MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
12852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, decorators: [{
12853
12853
  type: Injectable,
12854
12854
  args: [{
12855
12855
  providedIn: 'root'
@@ -12912,9 +12912,9 @@ class ReceiptService {
12912
12912
  return plainToClass(this.modelClass, data);
12913
12913
  }
12914
12914
  }
12915
- ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12916
- ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReceiptService, providedIn: 'root' });
12917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReceiptService, decorators: [{
12915
+ ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12916
+ ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, providedIn: 'root' });
12917
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, decorators: [{
12918
12918
  type: Injectable,
12919
12919
  args: [{
12920
12920
  providedIn: 'root'
@@ -12943,9 +12943,9 @@ class DepreciationReceiptService extends ReceiptService {
12943
12943
  this.listenEvents();
12944
12944
  }
12945
12945
  }
12946
- DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12947
- DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
12948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationReceiptService, decorators: [{
12946
+ DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12947
+ DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
12948
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, decorators: [{
12949
12949
  type: Injectable,
12950
12950
  args: [{
12951
12951
  providedIn: 'root'
@@ -13078,9 +13078,9 @@ class DepreciationService extends RestService$1 {
13078
13078
  });
13079
13079
  }
13080
13080
  }
13081
- DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: DepreciationReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
13082
- DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, providedIn: 'root' });
13083
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, decorators: [{
13081
+ DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: DepreciationReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
13082
+ DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, providedIn: 'root' });
13083
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, decorators: [{
13084
13084
  type: Injectable,
13085
13085
  args: [{
13086
13086
  providedIn: 'root'
@@ -13130,9 +13130,9 @@ class DepreciationCapitalProjectService {
13130
13130
  }));
13131
13131
  }
13132
13132
  }
13133
- DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13134
- DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
13135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
13133
+ DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13134
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
13135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
13136
13136
  type: Injectable,
13137
13137
  args: [{
13138
13138
  providedIn: 'root'
@@ -13342,9 +13342,9 @@ class RestService {
13342
13342
  */
13343
13343
  listenEvents() { }
13344
13344
  }
13345
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13346
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, providedIn: 'root' });
13347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, decorators: [{
13345
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13346
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, providedIn: 'root' });
13347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, decorators: [{
13348
13348
  type: Injectable,
13349
13349
  args: [{
13350
13350
  providedIn: 'root'
@@ -13361,9 +13361,9 @@ class DocumentService extends RestService {
13361
13361
  this.modelClass = Document;
13362
13362
  }
13363
13363
  }
13364
- DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13365
- DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, providedIn: 'root' });
13366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, decorators: [{
13364
+ DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13365
+ DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, providedIn: 'root' });
13366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, decorators: [{
13367
13367
  type: Injectable,
13368
13368
  args: [{
13369
13369
  providedIn: 'root'
@@ -13429,9 +13429,9 @@ class DocumentFolderService extends RestService {
13429
13429
  }));
13430
13430
  }
13431
13431
  }
13432
- DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13433
- DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
13434
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, decorators: [{
13432
+ DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13433
+ DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
13434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, decorators: [{
13435
13435
  type: Injectable,
13436
13436
  args: [{
13437
13437
  providedIn: 'root'
@@ -13506,9 +13506,9 @@ FacebookService.authOptions = {
13506
13506
  auth_type: 'rerequest',
13507
13507
  return_scopes: true
13508
13508
  };
13509
- FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13510
- FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, providedIn: 'root' });
13511
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, decorators: [{
13509
+ FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13510
+ FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, providedIn: 'root' });
13511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, decorators: [{
13512
13512
  type: Injectable,
13513
13513
  args: [{
13514
13514
  providedIn: 'root'
@@ -13576,9 +13576,9 @@ class GoogleService {
13576
13576
  google.accounts.id.disableAutoSelect();
13577
13577
  }
13578
13578
  }
13579
- GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13580
- GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, providedIn: 'root' });
13581
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, decorators: [{
13579
+ GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13580
+ GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, providedIn: 'root' });
13581
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, decorators: [{
13582
13582
  type: Injectable,
13583
13583
  args: [{
13584
13584
  providedIn: 'root'
@@ -13607,9 +13607,9 @@ class FileService extends RestService$1 {
13607
13607
  return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
13608
13608
  }
13609
13609
  }
13610
- FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13611
- FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, providedIn: 'root' });
13612
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, decorators: [{
13610
+ FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13611
+ FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, providedIn: 'root' });
13612
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, decorators: [{
13613
13613
  type: Injectable,
13614
13614
  args: [{
13615
13615
  providedIn: 'root'
@@ -13626,9 +13626,9 @@ class ClientIncomeTypesService extends RestService$1 {
13626
13626
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
13627
13627
  }
13628
13628
  }
13629
- ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13630
- ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
13631
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
13629
+ ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13630
+ ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
13631
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
13632
13632
  type: Injectable,
13633
13633
  args: [{
13634
13634
  providedIn: 'root'
@@ -13745,9 +13745,9 @@ class ClientInviteService extends RestService {
13745
13745
  });
13746
13746
  }
13747
13747
  }
13748
- ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13749
- ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
13750
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, decorators: [{
13748
+ ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13749
+ ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
13750
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, decorators: [{
13751
13751
  type: Injectable,
13752
13752
  args: [{
13753
13753
  providedIn: 'root'
@@ -13834,9 +13834,9 @@ class ClientMovementService extends RestService {
13834
13834
  });
13835
13835
  }
13836
13836
  }
13837
- ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13838
- ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
13839
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, decorators: [{
13837
+ ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13838
+ ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
13839
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, decorators: [{
13840
13840
  type: Injectable,
13841
13841
  args: [{
13842
13842
  providedIn: 'root'
@@ -13865,9 +13865,9 @@ class EmployeeService extends RestService {
13865
13865
  }));
13866
13866
  }
13867
13867
  }
13868
- EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13869
- EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, providedIn: 'root' });
13870
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, decorators: [{
13868
+ EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13869
+ EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, providedIn: 'root' });
13870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, decorators: [{
13871
13871
  type: Injectable,
13872
13872
  args: [{
13873
13873
  providedIn: 'root'
@@ -13908,9 +13908,9 @@ class EmployeeInviteService extends RestService {
13908
13908
  }));
13909
13909
  }
13910
13910
  }
13911
- EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13912
- EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
13913
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, decorators: [{
13911
+ EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13912
+ EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
13913
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, decorators: [{
13914
13914
  type: Injectable,
13915
13915
  args: [{
13916
13916
  providedIn: 'root'
@@ -13935,9 +13935,9 @@ class ClientPortfolioReportService {
13935
13935
  }));
13936
13936
  }
13937
13937
  }
13938
- ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13939
- ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
13940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
13938
+ ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13939
+ ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
13940
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
13941
13941
  type: Injectable,
13942
13942
  args: [{
13943
13943
  providedIn: 'root'
@@ -13999,9 +13999,9 @@ class FirmService {
13999
13999
  }));
14000
14000
  }
14001
14001
  }
14002
- FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14003
- FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, providedIn: 'root' });
14004
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, decorators: [{
14002
+ FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14003
+ FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, providedIn: 'root' });
14004
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, decorators: [{
14005
14005
  type: Injectable,
14006
14006
  args: [{
14007
14007
  providedIn: 'root'
@@ -14074,9 +14074,9 @@ class IncomeSourceForecastService extends RestService {
14074
14074
  }).flat();
14075
14075
  }
14076
14076
  }
14077
- IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14078
- IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
14079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
14077
+ IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14078
+ IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
14079
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
14080
14080
  type: Injectable,
14081
14081
  args: [{
14082
14082
  providedIn: 'root'
@@ -14146,9 +14146,9 @@ class SalaryForecastService extends RestService {
14146
14146
  }).flat();
14147
14147
  }
14148
14148
  }
14149
- SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14150
- SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
14151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, decorators: [{
14149
+ SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14150
+ SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
14151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, decorators: [{
14152
14152
  type: Injectable,
14153
14153
  args: [{
14154
14154
  providedIn: 'root'
@@ -14224,9 +14224,9 @@ class SoleForecastService extends RestService {
14224
14224
  });
14225
14225
  }
14226
14226
  }
14227
- SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14228
- SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
14229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, decorators: [{
14227
+ SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14228
+ SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
14229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, decorators: [{
14230
14230
  type: Injectable,
14231
14231
  args: [{
14232
14232
  providedIn: 'root'
@@ -14305,9 +14305,9 @@ class IncomeSourceService extends RestService {
14305
14305
  });
14306
14306
  }
14307
14307
  }
14308
- IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14309
- IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
14310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, decorators: [{
14308
+ IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14309
+ IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
14310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, decorators: [{
14311
14311
  type: Injectable,
14312
14312
  args: [{
14313
14313
  providedIn: 'root'
@@ -14368,9 +14368,9 @@ class BorrowingExpenseService {
14368
14368
  }));
14369
14369
  }
14370
14370
  }
14371
- BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14372
- BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
14373
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, decorators: [{
14371
+ BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14372
+ BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
14373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, decorators: [{
14374
14374
  type: Injectable,
14375
14375
  args: [{
14376
14376
  providedIn: 'root'
@@ -14450,9 +14450,9 @@ class LoanService extends RestService$1 {
14450
14450
  }));
14451
14451
  }
14452
14452
  }
14453
- LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14454
- LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, providedIn: 'root' });
14455
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, decorators: [{
14453
+ LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14454
+ LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, providedIn: 'root' });
14455
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, decorators: [{
14456
14456
  type: Injectable,
14457
14457
  args: [{
14458
14458
  providedIn: 'root'
@@ -14471,9 +14471,9 @@ class PropertyCategoryService extends RestService$1 {
14471
14471
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14472
14472
  }
14473
14473
  }
14474
- PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14475
- PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
14476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, decorators: [{
14474
+ PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14475
+ PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
14476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, decorators: [{
14477
14477
  type: Injectable,
14478
14478
  args: [{
14479
14479
  providedIn: 'root'
@@ -14489,9 +14489,9 @@ class PropertyCategoryMovementService extends RestService$1 {
14489
14489
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14490
14490
  }
14491
14491
  }
14492
- PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14493
- PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
14494
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
14492
+ PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14493
+ PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
14494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
14495
14495
  type: Injectable,
14496
14496
  args: [{
14497
14497
  providedIn: 'root'
@@ -14533,9 +14533,9 @@ class PropertyDocumentService extends RestService$1 {
14533
14533
  });
14534
14534
  }
14535
14535
  }
14536
- PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14537
- PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
14538
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, decorators: [{
14536
+ PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14537
+ PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
14538
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, decorators: [{
14539
14539
  type: Injectable,
14540
14540
  args: [{
14541
14541
  providedIn: 'root'
@@ -14614,9 +14614,9 @@ class TaxExemptionService extends DataService {
14614
14614
  this.setCache(TaxExemptions);
14615
14615
  }
14616
14616
  }
14617
- TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14618
- TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
14619
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, decorators: [{
14617
+ TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14618
+ TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
14619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, decorators: [{
14620
14620
  type: Injectable,
14621
14621
  args: [{
14622
14622
  providedIn: 'root'
@@ -14632,9 +14632,9 @@ class PropertySaleService extends RestService$1 {
14632
14632
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14633
14633
  }
14634
14634
  }
14635
- PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14636
- PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
14637
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, decorators: [{
14635
+ PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14636
+ PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
14637
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, decorators: [{
14638
14638
  type: Injectable,
14639
14639
  args: [{
14640
14640
  providedIn: 'root'
@@ -14681,9 +14681,9 @@ class PropertyShareService extends RestService$1 {
14681
14681
  this.listenCSE(PropertySale, ['post', 'delete'], this.resetCache);
14682
14682
  }
14683
14683
  }
14684
- PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14685
- PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
14686
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, decorators: [{
14684
+ PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14685
+ PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
14686
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, decorators: [{
14687
14687
  type: Injectable,
14688
14688
  args: [{
14689
14689
  providedIn: 'root'
@@ -14780,9 +14780,9 @@ class PropertyService extends RestService$1 {
14780
14780
  }));
14781
14781
  }
14782
14782
  }
14783
- PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14784
- PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, providedIn: 'root' });
14785
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, decorators: [{
14783
+ PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14784
+ PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, providedIn: 'root' });
14785
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, decorators: [{
14786
14786
  type: Injectable,
14787
14787
  args: [{
14788
14788
  providedIn: 'root'
@@ -14836,9 +14836,9 @@ class ServiceNotificationService extends RestService {
14836
14836
  });
14837
14837
  }
14838
14838
  }
14839
- ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
14840
- ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
14841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, decorators: [{
14839
+ ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
14840
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
14841
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, decorators: [{
14842
14842
  type: Injectable,
14843
14843
  args: [{
14844
14844
  providedIn: 'root'
@@ -14887,9 +14887,9 @@ class SoleBusinessService extends RestService {
14887
14887
  }));
14888
14888
  }
14889
14889
  }
14890
- SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14891
- SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
14892
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, decorators: [{
14890
+ SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14891
+ SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
14892
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, decorators: [{
14893
14893
  type: Injectable,
14894
14894
  args: [{
14895
14895
  providedIn: 'root'
@@ -14904,9 +14904,9 @@ class SoleBusinessActivityService extends RestService {
14904
14904
  this.isHydra = true;
14905
14905
  }
14906
14906
  }
14907
- SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14908
- SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
14909
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
14907
+ SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14908
+ SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
14909
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
14910
14910
  type: Injectable,
14911
14911
  args: [{
14912
14912
  providedIn: 'root'
@@ -14932,9 +14932,9 @@ class SoleBusinessLossService extends RestService {
14932
14932
  });
14933
14933
  }
14934
14934
  }
14935
- SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14936
- SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
14937
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, decorators: [{
14935
+ SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14936
+ SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
14937
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, decorators: [{
14938
14938
  type: Injectable,
14939
14939
  args: [{
14940
14940
  providedIn: 'root'
@@ -14952,9 +14952,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
14952
14952
  this.isHydra = true;
14953
14953
  }
14954
14954
  }
14955
- SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14956
- SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
14957
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
14955
+ SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14956
+ SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
14957
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
14958
14958
  type: Injectable,
14959
14959
  args: [{
14960
14960
  providedIn: 'root'
@@ -14969,9 +14969,9 @@ class SoleContactService extends RestService {
14969
14969
  this.isHydra = true;
14970
14970
  }
14971
14971
  }
14972
- SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14973
- SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, providedIn: 'root' });
14974
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, decorators: [{
14972
+ SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14973
+ SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, providedIn: 'root' });
14974
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, decorators: [{
14975
14975
  type: Injectable,
14976
14976
  args: [{
14977
14977
  providedIn: 'root'
@@ -15027,9 +15027,9 @@ class SoleDepreciationMethodService {
15027
15027
  });
15028
15028
  }
15029
15029
  }
15030
- SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15031
- SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
15032
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
15030
+ SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15031
+ SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
15032
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
15033
15033
  type: Injectable,
15034
15034
  args: [{
15035
15035
  providedIn: 'root'
@@ -15082,9 +15082,9 @@ class SoleDetailsService {
15082
15082
  }));
15083
15083
  }
15084
15084
  }
15085
- SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
15086
- SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
15087
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, decorators: [{
15085
+ SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
15086
+ SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
15087
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, decorators: [{
15088
15088
  type: Injectable,
15089
15089
  args: [{
15090
15090
  providedIn: 'root'
@@ -15157,9 +15157,9 @@ class SoleInvoiceService extends RestService {
15157
15157
  });
15158
15158
  }
15159
15159
  }
15160
- SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15161
- SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
15162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, decorators: [{
15160
+ SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15161
+ SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
15162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, decorators: [{
15163
15163
  type: Injectable,
15164
15164
  args: [{
15165
15165
  providedIn: 'root'
@@ -15174,9 +15174,9 @@ class SoleInvoiceTemplateService extends RestService {
15174
15174
  this.isHydra = true;
15175
15175
  }
15176
15176
  }
15177
- SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15178
- SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
15179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
15177
+ SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15178
+ SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
15179
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
15180
15180
  type: Injectable,
15181
15181
  args: [{
15182
15182
  providedIn: 'root'
@@ -15191,9 +15191,9 @@ class BasReportService extends RestService {
15191
15191
  this.isHydra = true;
15192
15192
  }
15193
15193
  }
15194
- BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15195
- BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, providedIn: 'root' });
15196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, decorators: [{
15194
+ BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15195
+ BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, providedIn: 'root' });
15196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, decorators: [{
15197
15197
  type: Injectable,
15198
15198
  args: [{
15199
15199
  providedIn: 'root'
@@ -15219,9 +15219,9 @@ class ServicePaymentService extends RestService$1 {
15219
15219
  return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
15220
15220
  }
15221
15221
  }
15222
- ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15223
- ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
15224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, decorators: [{
15222
+ ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15223
+ ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
15224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, decorators: [{
15225
15225
  type: Injectable,
15226
15226
  args: [{
15227
15227
  providedIn: 'root'
@@ -15269,9 +15269,9 @@ class ServicePaymentMethodService extends RestService$1 {
15269
15269
  });
15270
15270
  }
15271
15271
  }
15272
- ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
15273
- ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
15274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
15272
+ ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
15273
+ ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
15274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
15275
15275
  type: Injectable,
15276
15276
  args: [{
15277
15277
  providedIn: 'root'
@@ -15294,9 +15294,9 @@ class ServicePriceService extends RestService$1 {
15294
15294
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
15295
15295
  }
15296
15296
  }
15297
- ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15298
- ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
15299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, decorators: [{
15297
+ ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15298
+ ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
15299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, decorators: [{
15300
15300
  type: Injectable,
15301
15301
  args: [{
15302
15302
  providedIn: 'root'
@@ -15411,9 +15411,9 @@ class SubscriptionService extends RestService$1 {
15411
15411
  });
15412
15412
  }
15413
15413
  }
15414
- SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15415
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
15416
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, decorators: [{
15414
+ SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15415
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
15416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, decorators: [{
15417
15417
  type: Injectable,
15418
15418
  args: [{
15419
15419
  providedIn: 'root'
@@ -15433,9 +15433,9 @@ class ServiceProductService extends RestService$1 {
15433
15433
  this.isApiPlatform = true;
15434
15434
  }
15435
15435
  }
15436
- ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15437
- ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
15438
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, decorators: [{
15436
+ ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15437
+ ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
15438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, decorators: [{
15439
15439
  type: Injectable,
15440
15440
  args: [{
15441
15441
  providedIn: 'root'
@@ -15467,9 +15467,9 @@ class TaxReviewHistoryService extends RestService {
15467
15467
  });
15468
15468
  }
15469
15469
  }
15470
- TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15471
- TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
15472
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
15470
+ TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15471
+ TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
15472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
15473
15473
  type: Injectable,
15474
15474
  args: [{
15475
15475
  providedIn: 'root'
@@ -15558,9 +15558,9 @@ class TaxReviewService extends RestService {
15558
15558
  });
15559
15559
  }
15560
15560
  }
15561
- TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15562
- TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
15563
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, decorators: [{
15561
+ TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15562
+ TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
15563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, decorators: [{
15564
15564
  type: Injectable,
15565
15565
  args: [{
15566
15566
  providedIn: 'root'
@@ -15617,9 +15617,9 @@ class TaxSummaryService {
15617
15617
  });
15618
15618
  }
15619
15619
  }
15620
- TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15621
- TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
15622
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, decorators: [{
15620
+ TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15621
+ TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
15622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, decorators: [{
15623
15623
  type: Injectable,
15624
15624
  args: [{
15625
15625
  providedIn: 'root'
@@ -15638,9 +15638,9 @@ class AllocationRuleService extends RestService$1 {
15638
15638
  this.isApiPlatform = true;
15639
15639
  }
15640
15640
  }
15641
- AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15642
- AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
15643
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, decorators: [{
15641
+ AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15642
+ AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
15643
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, decorators: [{
15644
15644
  type: Injectable,
15645
15645
  args: [{
15646
15646
  providedIn: 'root'
@@ -15730,9 +15730,9 @@ class TransactionAllocationService extends RestService {
15730
15730
  });
15731
15731
  }
15732
15732
  }
15733
- TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15734
- TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
15735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, decorators: [{
15733
+ TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15734
+ TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
15735
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, decorators: [{
15736
15736
  type: Injectable,
15737
15737
  args: [{
15738
15738
  providedIn: 'root'
@@ -15758,9 +15758,9 @@ class TransactionReceiptService extends ReceiptService {
15758
15758
  this.listenEvents();
15759
15759
  }
15760
15760
  }
15761
- TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15762
- TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
15763
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionReceiptService, decorators: [{
15761
+ TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15762
+ TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
15763
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, decorators: [{
15764
15764
  type: Injectable,
15765
15765
  args: [{
15766
15766
  providedIn: 'root'
@@ -16069,9 +16069,9 @@ class TransactionService extends RestService {
16069
16069
  });
16070
16070
  }
16071
16071
  }
16072
- TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
16073
- TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, providedIn: 'root' });
16074
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, decorators: [{
16072
+ TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
16073
+ TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, providedIn: 'root' });
16074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, decorators: [{
16075
16075
  type: Injectable,
16076
16076
  args: [{
16077
16077
  providedIn: 'root'
@@ -16100,9 +16100,9 @@ class TutorialVideoService {
16100
16100
  }
16101
16101
  TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
16102
16102
  TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
16103
- TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16104
- TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
16105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, decorators: [{
16103
+ TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16104
+ TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
16105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, decorators: [{
16106
16106
  type: Injectable,
16107
16107
  args: [{
16108
16108
  providedIn: 'root'
@@ -16122,9 +16122,9 @@ class VehicleService extends RestService {
16122
16122
  this.modelClass = Vehicle;
16123
16123
  }
16124
16124
  }
16125
- VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16126
- VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, providedIn: 'root' });
16127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, decorators: [{
16125
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16126
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, providedIn: 'root' });
16127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, decorators: [{
16128
16128
  type: Injectable,
16129
16129
  args: [{
16130
16130
  providedIn: 'root'
@@ -16196,9 +16196,9 @@ class VehicleClaimService extends RestService {
16196
16196
  combineLatest(batch$).subscribe();
16197
16197
  }
16198
16198
  }
16199
- VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16200
- VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
16201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, decorators: [{
16199
+ VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16200
+ VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
16201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, decorators: [{
16202
16202
  type: Injectable,
16203
16203
  args: [{
16204
16204
  providedIn: 'root'
@@ -16275,9 +16275,9 @@ class VehicleClaimDetailsService {
16275
16275
  this.update(vehicleClaimDetails).subscribe();
16276
16276
  }
16277
16277
  }
16278
- VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
16279
- VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
16280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
16278
+ VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
16279
+ VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
16280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
16281
16281
  type: Injectable,
16282
16282
  args: [{
16283
16283
  providedIn: 'root'
@@ -16297,9 +16297,9 @@ class VehicleLogbookService extends RestService {
16297
16297
  this.modelClass = VehicleLogbook;
16298
16298
  }
16299
16299
  }
16300
- VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16301
- VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
16302
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, decorators: [{
16300
+ VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16301
+ VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
16302
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, decorators: [{
16303
16303
  type: Injectable,
16304
16304
  args: [{
16305
16305
  providedIn: 'root'
@@ -16316,9 +16316,9 @@ class AnnualClientDetailsService extends RestService$1 {
16316
16316
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
16317
16317
  }
16318
16318
  }
16319
- AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16320
- AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
16321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
16319
+ AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16320
+ AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
16321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
16322
16322
  type: Injectable,
16323
16323
  args: [{
16324
16324
  providedIn: 'root'
@@ -16349,9 +16349,9 @@ class OccupationService {
16349
16349
  return this.occupationsSubject.asObservable();
16350
16350
  }
16351
16351
  }
16352
- OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16353
- OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, providedIn: 'root' });
16354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, decorators: [{
16352
+ OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16353
+ OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, providedIn: 'root' });
16354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, decorators: [{
16355
16355
  type: Injectable,
16356
16356
  args: [{
16357
16357
  providedIn: 'root'
@@ -16395,9 +16395,9 @@ class UserEventSettingService extends RestService {
16395
16395
  }));
16396
16396
  }
16397
16397
  }
16398
- UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16399
- UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
16400
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, decorators: [{
16398
+ UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16399
+ UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
16400
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, decorators: [{
16401
16401
  type: Injectable,
16402
16402
  args: [{
16403
16403
  providedIn: 'root'
@@ -16412,9 +16412,9 @@ class UserEventTypeService extends RestService {
16412
16412
  this.isHydra = true;
16413
16413
  }
16414
16414
  }
16415
- UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16416
- UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
16417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, decorators: [{
16415
+ UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16416
+ UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
16417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, decorators: [{
16418
16418
  type: Injectable,
16419
16419
  args: [{
16420
16420
  providedIn: 'root'
@@ -16431,9 +16431,9 @@ class UsersInviteService extends RestService {
16431
16431
  this.url = 'users/invite';
16432
16432
  }
16433
16433
  }
16434
- UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16435
- UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
16436
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, decorators: [{
16434
+ UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16435
+ UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
16436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, decorators: [{
16437
16437
  type: Injectable,
16438
16438
  args: [{
16439
16439
  providedIn: 'root'
@@ -16453,9 +16453,9 @@ class HoldingService extends RestService$1 {
16453
16453
  this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.resetCache);
16454
16454
  }
16455
16455
  }
16456
- HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16457
- HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, providedIn: 'root' });
16458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, decorators: [{
16456
+ HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16457
+ HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, providedIn: 'root' });
16458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, decorators: [{
16459
16459
  type: Injectable,
16460
16460
  args: [{
16461
16461
  providedIn: 'root'
@@ -16472,9 +16472,9 @@ class HoldingTypeService extends RestService$1 {
16472
16472
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
16473
16473
  }
16474
16474
  }
16475
- HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16476
- HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
16477
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, decorators: [{
16475
+ HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16476
+ HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
16477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, decorators: [{
16478
16478
  type: Injectable,
16479
16479
  args: [{
16480
16480
  providedIn: 'root'
@@ -16491,9 +16491,9 @@ class HoldingSaleService extends RestService$1 {
16491
16491
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
16492
16492
  }
16493
16493
  }
16494
- HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16495
- HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
16496
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, decorators: [{
16494
+ HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16495
+ HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
16496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, decorators: [{
16497
16497
  type: Injectable,
16498
16498
  args: [{
16499
16499
  providedIn: 'root'
@@ -16588,9 +16588,9 @@ class HoldingTypeExchangeService extends DataService {
16588
16588
  this.setCache(HoldingTypeExchanges);
16589
16589
  }
16590
16590
  }
16591
- HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16592
- HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
16593
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
16591
+ HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16592
+ HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
16593
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
16594
16594
  type: Injectable,
16595
16595
  args: [{
16596
16596
  providedIn: 'root'
@@ -16694,9 +16694,9 @@ class IncomeSourceTypeService extends DataService {
16694
16694
  this.setCache(IncomeSourceTypes);
16695
16695
  }
16696
16696
  }
16697
- IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16698
- IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
16699
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
16697
+ IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16698
+ IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
16699
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
16700
16700
  type: Injectable,
16701
16701
  args: [{
16702
16702
  providedIn: 'root'
@@ -16718,9 +16718,9 @@ class ChartAccountsValueService extends DataService {
16718
16718
  return this.getCache().find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
16719
16719
  }
16720
16720
  }
16721
- ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16722
- ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
16723
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, decorators: [{
16721
+ ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16722
+ ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
16723
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, decorators: [{
16724
16724
  type: Injectable,
16725
16725
  args: [{
16726
16726
  providedIn: 'root'
@@ -18810,9 +18810,9 @@ class TaxReturnItemService extends DataService {
18810
18810
  this.setCache(TaxReturnItems);
18811
18811
  }
18812
18812
  }
18813
- TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18814
- TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
18815
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, decorators: [{
18813
+ TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18814
+ TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
18815
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, decorators: [{
18816
18816
  type: Injectable,
18817
18817
  args: [{
18818
18818
  providedIn: 'root'
@@ -19032,9 +19032,9 @@ class AccountSetupService {
19032
19032
  return this.create(AccountSetupItemsEnum.BANK_FEEDS, this.bankAccountsService.getArray());
19033
19033
  }
19034
19034
  }
19035
- AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }, { token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
19036
- AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
19037
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, decorators: [{
19035
+ AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }, { token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
19036
+ AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
19037
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, decorators: [{
19038
19038
  type: Injectable,
19039
19039
  args: [{
19040
19040
  providedIn: 'root'
@@ -19060,9 +19060,9 @@ class RewardfulService {
19060
19060
  });
19061
19061
  }
19062
19062
  }
19063
- RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19064
- RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, providedIn: 'root' });
19065
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, decorators: [{
19063
+ RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19064
+ RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, providedIn: 'root' });
19065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, decorators: [{
19066
19066
  type: Injectable,
19067
19067
  args: [{
19068
19068
  providedIn: 'root'
@@ -19107,9 +19107,9 @@ class AssetsService {
19107
19107
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
19108
19108
  }
19109
19109
  }
19110
- AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19111
- AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, providedIn: 'root' });
19112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, decorators: [{
19110
+ AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19111
+ AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, providedIn: 'root' });
19112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, decorators: [{
19113
19113
  type: Injectable,
19114
19114
  args: [{
19115
19115
  providedIn: 'root'
@@ -19168,9 +19168,9 @@ class BankTransactionCalculationService {
19168
19168
  return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
19169
19169
  }
19170
19170
  }
19171
- BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19172
- BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
19173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
19171
+ BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19172
+ BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
19173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
19174
19174
  type: Injectable,
19175
19175
  args: [{
19176
19176
  providedIn: 'root'
@@ -19199,9 +19199,9 @@ class BankAccountCalculationService {
19199
19199
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
19200
19200
  }
19201
19201
  }
19202
- BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
19203
- BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
19204
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, decorators: [{
19202
+ BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
19203
+ BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
19204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, decorators: [{
19205
19205
  type: Injectable,
19206
19206
  args: [{
19207
19207
  providedIn: 'root'
@@ -19229,9 +19229,9 @@ class ExportFormatterService {
19229
19229
  }));
19230
19230
  }
19231
19231
  }
19232
- ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
19233
- ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
19234
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, decorators: [{
19232
+ ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
19233
+ ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
19234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, decorators: [{
19235
19235
  type: Injectable,
19236
19236
  args: [{
19237
19237
  providedIn: 'root'
@@ -19252,9 +19252,9 @@ class HeaderTitleService {
19252
19252
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
19253
19253
  }
19254
19254
  }
19255
- HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
19256
- HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
19257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, decorators: [{
19255
+ HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
19256
+ HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
19257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, decorators: [{
19258
19258
  type: Injectable,
19259
19259
  args: [{
19260
19260
  providedIn: 'root'
@@ -19288,9 +19288,9 @@ class IntercomService {
19288
19288
  window.Intercom('boot', connectionCredentials);
19289
19289
  }
19290
19290
  }
19291
- IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19292
- IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, providedIn: 'root' });
19293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, decorators: [{
19291
+ IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19292
+ IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, providedIn: 'root' });
19293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, decorators: [{
19294
19294
  type: Injectable,
19295
19295
  args: [{
19296
19296
  providedIn: 'root'
@@ -19360,9 +19360,9 @@ class PdfFromDomElementService {
19360
19360
  .then((blob) => new File([blob], filename, { type: 'application/pdf' })));
19361
19361
  }
19362
19362
  }
19363
- PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19364
- PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
19365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, decorators: [{
19363
+ PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19364
+ PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
19365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, decorators: [{
19366
19366
  type: Injectable,
19367
19367
  args: [{
19368
19368
  providedIn: 'root'
@@ -19456,9 +19456,9 @@ class PdfFromTableService {
19456
19456
  .setTextColor(FILE_SETTINGS.text.colorPrimary);
19457
19457
  }
19458
19458
  }
19459
- PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19460
- PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
19461
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, decorators: [{
19459
+ PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19460
+ PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
19461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, decorators: [{
19462
19462
  type: Injectable,
19463
19463
  args: [{
19464
19464
  providedIn: 'root'
@@ -19497,9 +19497,9 @@ class PdfFromDataTableService extends PdfFromTableService {
19497
19497
  return pdf;
19498
19498
  }
19499
19499
  }
19500
- PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
19501
- PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
19502
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, decorators: [{
19500
+ PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
19501
+ PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
19502
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, decorators: [{
19503
19503
  type: Injectable,
19504
19504
  args: [{
19505
19505
  providedIn: 'root'
@@ -19535,9 +19535,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
19535
19535
  return pdf;
19536
19536
  }
19537
19537
  }
19538
- PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
19539
- PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
19540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
19538
+ PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
19539
+ PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
19540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
19541
19541
  type: Injectable,
19542
19542
  args: [{
19543
19543
  providedIn: 'root'
@@ -19564,9 +19564,9 @@ class EquityPositionChartService {
19564
19564
  }))));
19565
19565
  }
19566
19566
  }
19567
- EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19568
- EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
19569
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, decorators: [{
19567
+ EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19568
+ EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
19569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, decorators: [{
19570
19570
  type: Injectable,
19571
19571
  args: [{
19572
19572
  providedIn: 'root'
@@ -19719,9 +19719,9 @@ class PropertyCalculationService {
19719
19719
  }
19720
19720
  }
19721
19721
  }
19722
- PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19723
- PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
19724
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, decorators: [{
19722
+ PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19723
+ PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
19724
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, decorators: [{
19725
19725
  type: Injectable,
19726
19726
  args: [{
19727
19727
  providedIn: 'root'
@@ -19772,9 +19772,9 @@ class PropertyTransactionReportService {
19772
19772
  .getWithoutBorrowingExpenses()));
19773
19773
  }
19774
19774
  }
19775
- PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
19776
- PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
19777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
19775
+ PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
19776
+ PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
19777
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
19778
19778
  type: Injectable,
19779
19779
  args: [{
19780
19780
  providedIn: 'root'
@@ -19842,9 +19842,9 @@ class TransactionCalculationService {
19842
19842
  return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
19843
19843
  }
19844
19844
  }
19845
- TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19846
- TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
19847
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, decorators: [{
19845
+ TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19846
+ TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
19847
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, decorators: [{
19848
19848
  type: Injectable,
19849
19849
  args: [{
19850
19850
  providedIn: 'root'
@@ -19904,9 +19904,9 @@ class LogbookBestPeriodService {
19904
19904
  });
19905
19905
  }
19906
19906
  }
19907
- LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
19908
- LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
19909
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
19907
+ LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
19908
+ LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
19909
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
19910
19910
  type: Injectable,
19911
19911
  args: [{
19912
19912
  providedIn: 'root'
@@ -19984,9 +19984,9 @@ class XlsxService {
19984
19984
  FileSaver.saveAs(data, `${fileName}.xlsx`);
19985
19985
  }
19986
19986
  }
19987
- XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19988
- XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, providedIn: 'root' });
19989
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, decorators: [{
19987
+ XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19988
+ XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, providedIn: 'root' });
19989
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, decorators: [{
19990
19990
  type: Injectable,
19991
19991
  args: [{
19992
19992
  providedIn: 'root'
@@ -23181,9 +23181,6 @@ var MessagesEnum;
23181
23181
  })(MessagesEnum || (MessagesEnum = {}));
23182
23182
 
23183
23183
  // @TODO Alex: Create indexes everywhere and break this file to imports from indexes
23184
- /**
23185
- * Public API Surface of tt-core
23186
- */
23187
23184
 
23188
23185
  /**
23189
23186
  * Generated bundle index. Do not edit.