taxtank-core 0.30.104 → 0.30.106

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 (146) hide show
  1. package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +3 -2
  2. package/esm2020/lib/db/Json/chart-accounts/chart-accounts-value.json +44 -0
  3. package/esm2020/lib/db/Json/income-source/income_source_type.json +0 -5
  4. package/esm2020/lib/db/Models/property/property.mjs +1 -1
  5. package/esm2020/lib/forms/depreciation/depreciation.form.mjs +4 -2
  6. package/esm2020/lib/forms/vehicle/vehicle-claim.form.mjs +2 -2
  7. package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +3 -3
  8. package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +3 -3
  9. package/esm2020/lib/interceptors/corelogic-interceptor.mjs +3 -3
  10. package/esm2020/lib/interceptors/financial-year-interceptor.mjs +3 -3
  11. package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
  12. package/esm2020/lib/interceptors/jwt-interceptor.mjs +3 -3
  13. package/esm2020/lib/interceptors/preloader.interceptor.mjs +3 -3
  14. package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +3 -3
  15. package/esm2020/lib/models/chart-accounts/chart-accounts-categories.const.mjs +2 -1
  16. package/esm2020/lib/models/chart-accounts/chart-accounts.mjs +2 -2
  17. package/esm2020/lib/models/depreciation/depreciation.mjs +1 -1
  18. package/esm2020/lib/models/event/app-event-type.enum.mjs +4 -1
  19. package/esm2020/lib/models/transaction/transaction.mjs +4 -2
  20. package/esm2020/lib/models/user/user.mjs +11 -3
  21. package/esm2020/lib/models/vehicle/vehicle-claim.mjs +2 -8
  22. package/esm2020/lib/services/account-setup/account-setup.service.mjs +3 -3
  23. package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +3 -3
  24. package/esm2020/lib/services/asset/assets.service.mjs +3 -3
  25. package/esm2020/lib/services/auth/auth.service.mjs +3 -3
  26. package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
  27. package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
  28. package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +3 -3
  29. package/esm2020/lib/services/data.service.mjs +3 -3
  30. package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
  31. package/esm2020/lib/services/event/sse.service.mjs +3 -3
  32. package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
  33. package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
  34. package/esm2020/lib/services/http/address/address.service.mjs +3 -3
  35. package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +3 -3
  36. package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +3 -3
  37. package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +3 -3
  38. package/esm2020/lib/services/http/bank/bank.service.mjs +3 -3
  39. package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +3 -3
  40. package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +3 -3
  41. package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
  42. package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
  43. package/esm2020/lib/services/http/chat/chat.service.mjs +3 -3
  44. package/esm2020/lib/services/http/chat/message-document.service.mjs +3 -3
  45. package/esm2020/lib/services/http/chat/message.service.mjs +3 -3
  46. package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +3 -3
  47. package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +3 -3
  48. package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +3 -3
  49. package/esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs +3 -3
  50. package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +10 -4
  51. package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
  52. package/esm2020/lib/services/http/document/document.service.mjs +3 -3
  53. package/esm2020/lib/services/http/facebook/facebook.service.mjs +3 -3
  54. package/esm2020/lib/services/http/file/file.service.mjs +3 -3
  55. package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +3 -3
  56. package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +3 -3
  57. package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
  58. package/esm2020/lib/services/http/firm/employee/employee.service.mjs +3 -3
  59. package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
  60. package/esm2020/lib/services/http/firm/firm.service.mjs +3 -3
  61. package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +3 -3
  62. package/esm2020/lib/services/http/google/google.service.mjs +3 -3
  63. package/esm2020/lib/services/http/holding/holding-sale.service.mjs +3 -3
  64. package/esm2020/lib/services/http/holding/holding-type.service.mjs +3 -3
  65. package/esm2020/lib/services/http/holding/holding.service.mjs +3 -3
  66. package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +3 -3
  67. package/esm2020/lib/services/http/income-source/income-source.service.mjs +3 -3
  68. package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +3 -3
  69. package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
  70. package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +3 -3
  71. package/esm2020/lib/services/http/loan/loan.service.mjs +3 -3
  72. package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +3 -3
  73. package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +3 -3
  74. package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +3 -3
  75. package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
  76. package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +3 -3
  77. package/esm2020/lib/services/http/property/property.service.mjs +3 -3
  78. package/esm2020/lib/services/http/receipt/receipt.service.mjs +3 -3
  79. package/esm2020/lib/services/http/rest/rest-old.service.mjs +3 -3
  80. package/esm2020/lib/services/http/rest/rest.service.mjs +3 -3
  81. package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +3 -3
  82. package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
  83. package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
  84. package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
  85. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
  86. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -3
  87. package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
  88. package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
  89. package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
  90. package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +3 -3
  91. package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
  92. package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
  93. package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +3 -3
  94. package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
  95. package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
  96. package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +3 -3
  97. package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +3 -3
  98. package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
  99. package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
  100. package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
  101. package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +8 -7
  102. package/esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs +3 -3
  103. package/esm2020/lib/services/http/transaction/transaction.service.mjs +7 -7
  104. package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +3 -3
  105. package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
  106. package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
  107. package/esm2020/lib/services/http/user/user.service.mjs +3 -3
  108. package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
  109. package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +3 -3
  110. package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -3
  111. package/esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs +3 -3
  112. package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +3 -3
  113. package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
  114. package/esm2020/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +31 -0
  115. package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
  116. package/esm2020/lib/services/json/income-source/income-source-type.service.mjs +3 -3
  117. package/esm2020/lib/services/json/index.mjs +2 -1
  118. package/esm2020/lib/services/json/tax-exemption/tax-exemption.service.mjs +3 -3
  119. package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
  120. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
  121. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
  122. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
  123. package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
  124. package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +3 -3
  125. package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +3 -3
  126. package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
  127. package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +3 -3
  128. package/esm2020/lib/services/toast/toast.service.mjs +3 -3
  129. package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +3 -3
  130. package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
  131. package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +3 -3
  132. package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
  133. package/esm2020/lib/tt-core.module.mjs +4 -4
  134. package/fesm2015/taxtank-core.mjs +809 -719
  135. package/fesm2015/taxtank-core.mjs.map +1 -1
  136. package/fesm2020/taxtank-core.mjs +809 -719
  137. package/fesm2020/taxtank-core.mjs.map +1 -1
  138. package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +2 -1
  139. package/lib/models/event/app-event-type.enum.d.ts +3 -0
  140. package/lib/models/user/user.d.ts +8 -3
  141. package/lib/models/vehicle/vehicle-claim.d.ts +1 -2
  142. package/lib/services/http/depreciation/depreciation.service.d.ts +1 -0
  143. package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts +1 -1
  144. package/lib/services/json/chart-accounts/chart-accounts-value.service.d.ts +16 -0
  145. package/lib/services/json/index.d.ts +1 -0
  146. package/package.json +1 -1
@@ -20,6 +20,7 @@ import differenceBy from 'lodash/differenceBy';
20
20
  import moment from 'moment';
21
21
  import { DateRange } from 'moment-range';
22
22
  import intersection from 'lodash/intersection';
23
+ import range from 'lodash/range';
23
24
  import { Validators, UntypedFormGroup, UntypedFormControl, UntypedFormArray, FormArray, FormGroup, FormControl } from '@angular/forms';
24
25
  import compact from 'lodash/compact';
25
26
  import concat from 'lodash/concat';
@@ -69,9 +70,9 @@ class CorelogicService {
69
70
  .pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))));
70
71
  }
71
72
  }
72
- CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
73
- CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, providedIn: 'root' });
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", 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: [{
75
76
  type: Injectable,
76
77
  args: [{
77
78
  providedIn: 'root'
@@ -111,9 +112,9 @@ class CorelogicInterceptor {
111
112
  });
112
113
  }
113
114
  }
114
- CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
115
- CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor });
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, decorators: [{
115
+ 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 });
116
+ CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor });
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, decorators: [{
117
118
  type: Injectable
118
119
  }], ctorParameters: function () {
119
120
  return [{ type: CorelogicService }, { type: undefined, decorators: [{
@@ -152,9 +153,9 @@ class FinancialYearInterceptor {
152
153
  return next.handle(clonedReq);
153
154
  }
154
155
  }
155
- FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
156
- FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor });
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
156
+ FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
157
+ FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor });
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
158
159
  type: Injectable
159
160
  }], ctorParameters: function () {
160
161
  return [{ type: undefined, decorators: [{
@@ -1068,7 +1069,8 @@ var ChartAccountsListEnum;
1068
1069
  ChartAccountsListEnum[ChartAccountsListEnum["KLMS_TRAVELLED_FOR_WORK"] = 24] = "KLMS_TRAVELLED_FOR_WORK";
1069
1070
  ChartAccountsListEnum[ChartAccountsListEnum["DIRECTOR_FEES"] = 6] = "DIRECTOR_FEES";
1070
1071
  ChartAccountsListEnum[ChartAccountsListEnum["SALARY_OR_WAGES"] = 2] = "SALARY_OR_WAGES";
1071
- ChartAccountsListEnum[ChartAccountsListEnum["VEHICLES"] = 25] = "VEHICLES";
1072
+ ChartAccountsListEnum[ChartAccountsListEnum["WORK_VEHICLES"] = 25] = "WORK_VEHICLES";
1073
+ ChartAccountsListEnum[ChartAccountsListEnum["SOLE_VEHICLES"] = 721] = "SOLE_VEHICLES";
1072
1074
  ChartAccountsListEnum[ChartAccountsListEnum["COMMERCIAL_VEHICLES"] = 26] = "COMMERCIAL_VEHICLES";
1073
1075
  ChartAccountsListEnum[ChartAccountsListEnum["VEHICLE_LOAN_INTEREST"] = 37] = "VEHICLE_LOAN_INTEREST";
1074
1076
  ChartAccountsListEnum[ChartAccountsListEnum["VEHICLE_LOAN_PRINCIPAL"] = 38] = "VEHICLE_LOAN_PRINCIPAL";
@@ -1835,6 +1837,90 @@ const USER_WORK_POSITION = {
1835
1837
  class ClientDetails extends ClientDetails$1 {
1836
1838
  }
1837
1839
 
1840
+ /**
1841
+ * @TODO move to pipe/translation
1842
+ * enum with months short names.
1843
+ * Order of items match with financial year months order
1844
+ */
1845
+ var MonthNameShortEnum;
1846
+ (function (MonthNameShortEnum) {
1847
+ MonthNameShortEnum["JULY"] = "Jul";
1848
+ MonthNameShortEnum["AUGUST"] = "Aug";
1849
+ MonthNameShortEnum["SEPTEMBER"] = "Sep";
1850
+ MonthNameShortEnum["OCTOBER"] = "Oct";
1851
+ MonthNameShortEnum["NOVEMBER"] = "Nov";
1852
+ MonthNameShortEnum["DECEMBER"] = "Dec";
1853
+ MonthNameShortEnum["JANUARY"] = "Jan";
1854
+ MonthNameShortEnum["FEBRUARY"] = "Feb";
1855
+ MonthNameShortEnum["MARCH"] = "Mar";
1856
+ MonthNameShortEnum["APRIL"] = "Apr";
1857
+ MonthNameShortEnum["MAY"] = "May";
1858
+ MonthNameShortEnum["JUNE"] = "Jun";
1859
+ })(MonthNameShortEnum || (MonthNameShortEnum = {}));
1860
+
1861
+ /**
1862
+ * enum with months indexes.
1863
+ * item value match with js Date month index from 0 to 11
1864
+ * Order of items match with financial year months order
1865
+ */
1866
+ var MonthNumberEnum;
1867
+ (function (MonthNumberEnum) {
1868
+ MonthNumberEnum[MonthNumberEnum["JULY"] = 6] = "JULY";
1869
+ MonthNumberEnum[MonthNumberEnum["AUGUST"] = 7] = "AUGUST";
1870
+ MonthNumberEnum[MonthNumberEnum["SEPTEMBER"] = 8] = "SEPTEMBER";
1871
+ MonthNumberEnum[MonthNumberEnum["OCTOBER"] = 9] = "OCTOBER";
1872
+ MonthNumberEnum[MonthNumberEnum["NOVEMBER"] = 10] = "NOVEMBER";
1873
+ MonthNumberEnum[MonthNumberEnum["DECEMBER"] = 11] = "DECEMBER";
1874
+ MonthNumberEnum[MonthNumberEnum["JANUARY"] = 0] = "JANUARY";
1875
+ MonthNumberEnum[MonthNumberEnum["FEBRUARY"] = 1] = "FEBRUARY";
1876
+ MonthNumberEnum[MonthNumberEnum["MARCH"] = 2] = "MARCH";
1877
+ MonthNumberEnum[MonthNumberEnum["APRIL"] = 3] = "APRIL";
1878
+ MonthNumberEnum[MonthNumberEnum["MAY"] = 4] = "MAY";
1879
+ MonthNumberEnum[MonthNumberEnum["JUNE"] = 5] = "JUNE";
1880
+ })(MonthNumberEnum || (MonthNumberEnum = {}));
1881
+
1882
+ const MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'Jan'];
1883
+
1884
+ class AnnualClientDetails extends AbstractModel {
1885
+ constructor() {
1886
+ super(...arguments);
1887
+ this.financialYear = new FinancialYear().year;
1888
+ }
1889
+ }
1890
+ __decorate([
1891
+ Type(() => ClientDetails)
1892
+ ], AnnualClientDetails.prototype, "clientDetails", void 0);
1893
+
1894
+ class ClientIncomeTypes extends ClientIncomeTypes$1 {
1895
+ /**
1896
+ * Get count of selected income types
1897
+ */
1898
+ get length() {
1899
+ return Object.values(this).filter((value) => typeof value === 'boolean' && value).length;
1900
+ }
1901
+ }
1902
+
1903
+ var ClientInviteStatusEnum;
1904
+ (function (ClientInviteStatusEnum) {
1905
+ ClientInviteStatusEnum[ClientInviteStatusEnum["PENDING"] = 1] = "PENDING";
1906
+ ClientInviteStatusEnum[ClientInviteStatusEnum["REJECTED"] = 2] = "REJECTED";
1907
+ })(ClientInviteStatusEnum || (ClientInviteStatusEnum = {}));
1908
+
1909
+ var ClientInviteTypeEnum;
1910
+ (function (ClientInviteTypeEnum) {
1911
+ ClientInviteTypeEnum[ClientInviteTypeEnum["FROM_CLIENT"] = 1] = "FROM_CLIENT";
1912
+ ClientInviteTypeEnum[ClientInviteTypeEnum["FROM_EMPLOYEE"] = 2] = "FROM_EMPLOYEE";
1913
+ })(ClientInviteTypeEnum || (ClientInviteTypeEnum = {}));
1914
+
1915
+ class RegistrationInvite extends RegistrationInvite$1 {
1916
+ getPhotoPlaceholder() {
1917
+ return `${this.firstName[0].toUpperCase()}${this.firstName[1]}`;
1918
+ }
1919
+ getPhoto() {
1920
+ return null;
1921
+ }
1922
+ }
1923
+
1838
1924
  var PhoneTypeEnum;
1839
1925
  (function (PhoneTypeEnum) {
1840
1926
  PhoneTypeEnum[PhoneTypeEnum["MOBILE"] = 1] = "MOBILE";
@@ -1879,11 +1965,64 @@ __decorate([
1879
1965
  Type(() => Phone)
1880
1966
  ], Firm.prototype, "phone", void 0);
1881
1967
 
1882
- class EmployeeDetails extends EmployeeDetails$1 {
1968
+ class ClientInvite extends ClientInvite$1 {
1969
+ /**
1970
+ * Check if client invite status is pending
1971
+ */
1972
+ isPending() {
1973
+ return this.status === ClientInviteStatusEnum.PENDING;
1974
+ }
1975
+ /**
1976
+ * Check if client invite status is accepted
1977
+ */
1978
+ isAccepted() {
1979
+ return !this.isPending() && !this.isRejected();
1980
+ }
1981
+ /**
1982
+ * Check if client invite status is rejected
1983
+ */
1984
+ isRejected() {
1985
+ return this.status === ClientInviteStatusEnum.REJECTED;
1986
+ }
1987
+ /**
1988
+ * Check if client invite initiated by firm
1989
+ */
1990
+ isFromEmployee() {
1991
+ return this.type === ClientInviteTypeEnum.FROM_EMPLOYEE;
1992
+ }
1993
+ /**
1994
+ * Check if client invite initiated by client
1995
+ */
1996
+ isFromClient() {
1997
+ return this.type === ClientInviteTypeEnum.FROM_CLIENT;
1998
+ }
1999
+ get firstName() {
2000
+ var _a;
2001
+ return this.client ? this.client.firstName : (_a = this.registrationInvite) === null || _a === void 0 ? void 0 : _a.firstName;
2002
+ }
2003
+ get email() {
2004
+ var _a;
2005
+ return this.client ? this.client.email : (_a = this.registrationInvite) === null || _a === void 0 ? void 0 : _a.email;
2006
+ }
1883
2007
  }
2008
+ __decorate([
2009
+ Type(() => Date)
2010
+ ], ClientInvite.prototype, "sentOn", void 0);
2011
+ __decorate([
2012
+ Type(() => Date)
2013
+ ], ClientInvite.prototype, "updatedAt", void 0);
1884
2014
  __decorate([
1885
2015
  Type(() => Firm)
1886
- ], EmployeeDetails.prototype, "firm", void 0);
2016
+ ], ClientInvite.prototype, "firm", void 0);
2017
+ __decorate([
2018
+ Type(() => User)
2019
+ ], ClientInvite.prototype, "client", void 0);
2020
+ __decorate([
2021
+ Type(() => User)
2022
+ ], ClientInvite.prototype, "employee", void 0);
2023
+ __decorate([
2024
+ Type(() => RegistrationInvite)
2025
+ ], ClientInvite.prototype, "registrationInvite", void 0);
1887
2026
 
1888
2027
  var ServiceProductStatusEnum;
1889
2028
  (function (ServiceProductStatusEnum) {
@@ -2428,6 +2567,7 @@ const CHART_ACCOUNTS_CATEGORIES = {
2428
2567
  ChartAccountsCategoryEnum.PROPERTY_DEPRECIATION,
2429
2568
  ChartAccountsCategoryEnum.WORK_DEPRECIATION,
2430
2569
  ChartAccountsCategoryEnum.PROPERTY_CAPITAL_WORKS,
2570
+ ChartAccountsCategoryEnum.SOLE_DEPRECIATION,
2431
2571
  ],
2432
2572
  all: [
2433
2573
  ChartAccountsCategoryEnum.PROPERTY_INCOME,
@@ -2514,50 +2654,6 @@ class ChartAccountsMetaField extends ChartAccountsMetaField$1 {
2514
2654
  }
2515
2655
  }
2516
2656
 
2517
- /**
2518
- * @TODO move to pipe/translation
2519
- * enum with months short names.
2520
- * Order of items match with financial year months order
2521
- */
2522
- var MonthNameShortEnum;
2523
- (function (MonthNameShortEnum) {
2524
- MonthNameShortEnum["JULY"] = "Jul";
2525
- MonthNameShortEnum["AUGUST"] = "Aug";
2526
- MonthNameShortEnum["SEPTEMBER"] = "Sep";
2527
- MonthNameShortEnum["OCTOBER"] = "Oct";
2528
- MonthNameShortEnum["NOVEMBER"] = "Nov";
2529
- MonthNameShortEnum["DECEMBER"] = "Dec";
2530
- MonthNameShortEnum["JANUARY"] = "Jan";
2531
- MonthNameShortEnum["FEBRUARY"] = "Feb";
2532
- MonthNameShortEnum["MARCH"] = "Mar";
2533
- MonthNameShortEnum["APRIL"] = "Apr";
2534
- MonthNameShortEnum["MAY"] = "May";
2535
- MonthNameShortEnum["JUNE"] = "Jun";
2536
- })(MonthNameShortEnum || (MonthNameShortEnum = {}));
2537
-
2538
- /**
2539
- * enum with months indexes.
2540
- * item value match with js Date month index from 0 to 11
2541
- * Order of items match with financial year months order
2542
- */
2543
- var MonthNumberEnum;
2544
- (function (MonthNumberEnum) {
2545
- MonthNumberEnum[MonthNumberEnum["JULY"] = 6] = "JULY";
2546
- MonthNumberEnum[MonthNumberEnum["AUGUST"] = 7] = "AUGUST";
2547
- MonthNumberEnum[MonthNumberEnum["SEPTEMBER"] = 8] = "SEPTEMBER";
2548
- MonthNumberEnum[MonthNumberEnum["OCTOBER"] = 9] = "OCTOBER";
2549
- MonthNumberEnum[MonthNumberEnum["NOVEMBER"] = 10] = "NOVEMBER";
2550
- MonthNumberEnum[MonthNumberEnum["DECEMBER"] = 11] = "DECEMBER";
2551
- MonthNumberEnum[MonthNumberEnum["JANUARY"] = 0] = "JANUARY";
2552
- MonthNumberEnum[MonthNumberEnum["FEBRUARY"] = 1] = "FEBRUARY";
2553
- MonthNumberEnum[MonthNumberEnum["MARCH"] = 2] = "MARCH";
2554
- MonthNumberEnum[MonthNumberEnum["APRIL"] = 3] = "APRIL";
2555
- MonthNumberEnum[MonthNumberEnum["MAY"] = 4] = "MAY";
2556
- MonthNumberEnum[MonthNumberEnum["JUNE"] = 5] = "JUNE";
2557
- })(MonthNumberEnum || (MonthNumberEnum = {}));
2558
-
2559
- const MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'Jan'];
2560
-
2561
2657
  class ChartAccountsValue extends ChartAccountsValue$1 {
2562
2658
  }
2563
2659
 
@@ -2581,7 +2677,7 @@ function enumToList(data) {
2581
2677
  return list;
2582
2678
  }
2583
2679
 
2584
- var ChartAccountValues = [
2680
+ var ChartAccountsValues = [
2585
2681
  {
2586
2682
  id: 1,
2587
2683
  chartAccounts: {
@@ -3023,13 +3119,65 @@ var ChartAccountValues = [
3023
3119
  unitOfMeasure: "kilometres",
3024
3120
  createdAt: "2022-06-29 00:00:00",
3025
3121
  updatedAt: "2022-06-29 00:00:00"
3122
+ },
3123
+ {
3124
+ id: 46,
3125
+ chartAccounts: {
3126
+ id: 24
3127
+ },
3128
+ financialYear: 2024,
3129
+ startDate: null,
3130
+ endDate: null,
3131
+ value: 0.85,
3132
+ unitOfMeasure: "kilometres",
3133
+ createdAt: "2023-07-01 00:00:00",
3134
+ updatedAt: "2023-07-01 00:00:00"
3135
+ },
3136
+ {
3137
+ id: 47,
3138
+ chartAccounts: {
3139
+ id: 87
3140
+ },
3141
+ financialYear: 2024,
3142
+ startDate: null,
3143
+ endDate: null,
3144
+ value: 0.52,
3145
+ unitOfMeasure: "hours",
3146
+ createdAt: "2023-07-01 00:00:00",
3147
+ updatedAt: "2023-07-01 00:00:00"
3148
+ },
3149
+ {
3150
+ id: 48,
3151
+ chartAccounts: {
3152
+ id: 103
3153
+ },
3154
+ financialYear: 2024,
3155
+ startDate: null,
3156
+ endDate: null,
3157
+ value: 0.52,
3158
+ unitOfMeasure: "hours",
3159
+ createdAt: "2023-07-01 00:00:00",
3160
+ updatedAt: "2023-07-01 00:00:00"
3161
+ },
3162
+ {
3163
+ id: 49,
3164
+ chartAccounts: {
3165
+ id: 683
3166
+ },
3167
+ financialYear: 2024,
3168
+ startDate: null,
3169
+ endDate: null,
3170
+ value: 0.85,
3171
+ unitOfMeasure: "kilometres",
3172
+ createdAt: "2023-07-01 00:00:00",
3173
+ updatedAt: "2023-07-01 00:00:00"
3026
3174
  }
3027
3175
  ];
3028
3176
 
3029
3177
  /**
3030
3178
  * @TODO vik performance problems, try https://angular.io/guide/dependency-injection-providers?
3031
3179
  */
3032
- const CHART_ACCOUNTS_VALUES = new CollectionDictionary(new Collection(ChartAccountValues.map((value) => plainToClass(ChartAccountsValue$1, value))), 'chartAccounts.id');
3180
+ const CHART_ACCOUNTS_VALUES = new CollectionDictionary(new Collection(ChartAccountsValues.map((value) => plainToClass(ChartAccountsValue$1, value))), 'chartAccounts.id');
3033
3181
 
3034
3182
  class ChartAccounts extends ChartAccounts$1 {
3035
3183
  /**
@@ -3069,7 +3217,7 @@ class ChartAccounts extends ChartAccounts$1 {
3069
3217
  * Check if chart accounts id is related for 'Motor Vehicles' category
3070
3218
  */
3071
3219
  isVehicles() {
3072
- return this.id === ChartAccountsListEnum.VEHICLES;
3220
+ return [ChartAccountsListEnum.WORK_VEHICLES, ChartAccountsListEnum.SOLE_VEHICLES].includes(this.id);
3073
3221
  }
3074
3222
  /**
3075
3223
  * Check if chart accounts id is related for 'Interest Earned' category
@@ -4212,15 +4360,6 @@ var PropertyShareStatusEnum;
4212
4360
  PropertyShareStatusEnum[PropertyShareStatusEnum["REJECTED"] = 3] = "REJECTED";
4213
4361
  })(PropertyShareStatusEnum || (PropertyShareStatusEnum = {}));
4214
4362
 
4215
- class RegistrationInvite extends RegistrationInvite$1 {
4216
- getPhotoPlaceholder() {
4217
- return `${this.firstName[0].toUpperCase()}${this.firstName[1]}`;
4218
- }
4219
- getPhoto() {
4220
- return null;
4221
- }
4222
- }
4223
-
4224
4363
  class PropertyShare extends PropertyShare$1 {
4225
4364
  isAccepted() {
4226
4365
  return this.status === PropertyShareStatusEnum.APPROVED;
@@ -4964,11 +5103,6 @@ class VehicleClaim extends VehicleClaim$1 {
4964
5103
  getAverageWeeklyKMS() {
4965
5104
  return this.kilometers / FinancialYear.weeksInYear;
4966
5105
  }
4967
- static getKMSChartAccountsIdByTankType(tankType) {
4968
- return tankType === TankTypeEnum.WORK
4969
- ? ChartAccountsListEnum.KLMS_TRAVELLED_FOR_WORK
4970
- : ChartAccountsListEnum.KLMS_TRAVELLED;
4971
- }
4972
5106
  }
4973
5107
  /**
4974
5108
  * limit for kms claim method
@@ -4976,7 +5110,7 @@ class VehicleClaim extends VehicleClaim$1 {
4976
5110
  VehicleClaim.totalKmsLimit = 5000;
4977
5111
  /**
4978
5112
  * limit for work usage claim method
4979
- */
5113
+ */
4980
5114
  VehicleClaim.totalWorkUsagePercent = 100;
4981
5115
  __decorate([
4982
5116
  Type(() => VehicleClaimDetails)
@@ -5213,7 +5347,9 @@ class Transaction extends Transaction$1 {
5213
5347
  type: this.chartAccounts.isPropertyCapitalWorks() ? DepreciationTypeEnum.CAPITAL_WORKS : DepreciationTypeEnum.PLANT_EQUIPMENT,
5214
5348
  claimPercent: this.claimPercent,
5215
5349
  property: this.property,
5216
- calculation: this.property ? this.property.depreciationCalculation : DepreciationCalculationEnum.PRIME_COST
5350
+ calculation: this.property ? this.property.depreciationCalculation : DepreciationCalculationEnum.PRIME_COST,
5351
+ transactions: [this],
5352
+ business: this.business,
5217
5353
  });
5218
5354
  }
5219
5355
  /**
@@ -7512,6 +7648,170 @@ __decorate([
7512
7648
  Expose()
7513
7649
  ], ServiceSubscription.prototype, "promoCodeId", null);
7514
7650
 
7651
+ class ClientMovement extends ClientMovement$1 {
7652
+ }
7653
+ __decorate([
7654
+ Type(() => Firm)
7655
+ ], ClientMovement.prototype, "firm", void 0);
7656
+ __decorate([
7657
+ Type(() => User)
7658
+ ], ClientMovement.prototype, "client", void 0);
7659
+ __decorate([
7660
+ Type(() => User)
7661
+ ], ClientMovement.prototype, "employee", void 0);
7662
+ __decorate([
7663
+ Type(() => ServiceSubscription)
7664
+ ], ClientMovement.prototype, "subscription", void 0);
7665
+ __decorate([
7666
+ Type(() => Date)
7667
+ ], ClientMovement.prototype, "dateFrom", void 0);
7668
+ __decorate([
7669
+ Type(() => Date)
7670
+ ], ClientMovement.prototype, "dateTo", void 0);
7671
+
7672
+ /**
7673
+ * Client portfolio charts data based on ClientPortfolioReportCollection
7674
+ */
7675
+ class ClientPortfolioChartData {
7676
+ constructor(clientsPortfolioReportCollection) {
7677
+ this.clientsPortfolioReportCollection = clientsPortfolioReportCollection;
7678
+ }
7679
+ getPieChartData() {
7680
+ return this.clientsPortfolioReportCollection.items.map((clientPortfolioReport) => plainToClass(ChartData, {
7681
+ name: clientPortfolioReport.category,
7682
+ data: clientPortfolioReport.count
7683
+ }));
7684
+ }
7685
+ getBarChartData() {
7686
+ return [
7687
+ plainToClass(ChartData, {
7688
+ name: 'Total',
7689
+ data: [
7690
+ {
7691
+ label: 'Market value',
7692
+ value: this.clientsPortfolioReportCollection.marketValue
7693
+ },
7694
+ {
7695
+ label: 'Loan balance',
7696
+ value: this.clientsPortfolioReportCollection.loanBalance
7697
+ },
7698
+ {
7699
+ label: 'Equity position',
7700
+ value: this.clientsPortfolioReportCollection.equityPosition
7701
+ }
7702
+ ]
7703
+ }),
7704
+ plainToClass(ChartData, {
7705
+ name: 'Average',
7706
+ data: [
7707
+ {
7708
+ label: 'Market value',
7709
+ value: this.clientsPortfolioReportCollection.averageMarketValue
7710
+ },
7711
+ {
7712
+ label: 'Loan balance',
7713
+ value: this.clientsPortfolioReportCollection.averageLoanBalance
7714
+ },
7715
+ {
7716
+ label: 'Equity position',
7717
+ value: this.clientsPortfolioReportCollection.averageEquityPosition
7718
+ }
7719
+ ]
7720
+ })
7721
+ ];
7722
+ }
7723
+ }
7724
+
7725
+ /**
7726
+ * Class describes client's portfolio report information
7727
+ */
7728
+ class ClientPortfolioReport extends AbstractModel {
7729
+ }
7730
+
7731
+ class EmployeeDetails extends EmployeeDetails$1 {
7732
+ }
7733
+ __decorate([
7734
+ Type(() => Firm)
7735
+ ], EmployeeDetails.prototype, "firm", void 0);
7736
+
7737
+ class ServicePayment extends ServicePayment$1 {
7738
+ /**
7739
+ * Stripe stores actual links to payment invoices for 30 days.
7740
+ * Link expires after 30 days
7741
+ */
7742
+ isInvoiceLinkExpired() {
7743
+ const expirationDate = new Date(this.date.setDate(this.date.getDate() + ServicePayment.daysToInvoiceUrlExpired));
7744
+ return expirationDate.getTime() < new Date().getTime();
7745
+ }
7746
+ }
7747
+ ServicePayment.daysToInvoiceUrlExpired = 30;
7748
+ __decorate([
7749
+ Type(() => ServiceSubscription)
7750
+ ], ServicePayment.prototype, "subscription", void 0);
7751
+ __decorate([
7752
+ Type(() => Date)
7753
+ ], ServicePayment.prototype, "date", void 0);
7754
+
7755
+ let ServicePaymentMethod$1 = class ServicePaymentMethod extends AbstractModel {
7756
+ };
7757
+
7758
+ var PaymentMethodBrandEnum;
7759
+ (function (PaymentMethodBrandEnum) {
7760
+ PaymentMethodBrandEnum["UNKNOWN"] = "Unknown";
7761
+ PaymentMethodBrandEnum["AMEX"] = "American Express";
7762
+ PaymentMethodBrandEnum["DINERS"] = "Diners Club";
7763
+ PaymentMethodBrandEnum["DISCOVER"] = "Discover";
7764
+ PaymentMethodBrandEnum["JCB"] = "JCB";
7765
+ PaymentMethodBrandEnum["MASTERCARD"] = "Mastercard";
7766
+ PaymentMethodBrandEnum["UNIONPAY"] = "UnionPay";
7767
+ PaymentMethodBrandEnum["VISA"] = "Visa";
7768
+ })(PaymentMethodBrandEnum || (PaymentMethodBrandEnum = {}));
7769
+
7770
+ var ServicePaymentMethodCardBrandEnum;
7771
+ (function (ServicePaymentMethodCardBrandEnum) {
7772
+ ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["UNKNOWN"] = 0] = "UNKNOWN";
7773
+ ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["AMEX"] = 1] = "AMEX";
7774
+ ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["DINERS"] = 2] = "DINERS";
7775
+ ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["DISCOVER"] = 3] = "DISCOVER";
7776
+ ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["JCB"] = 4] = "JCB";
7777
+ ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["MASTERCARD"] = 5] = "MASTERCARD";
7778
+ ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["UNIONPAY"] = 6] = "UNIONPAY";
7779
+ ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["VISA"] = 7] = "VISA";
7780
+ })(ServicePaymentMethodCardBrandEnum || (ServicePaymentMethodCardBrandEnum = {}));
7781
+
7782
+ var ServicePaymentMethodTypeEnum;
7783
+ (function (ServicePaymentMethodTypeEnum) {
7784
+ ServicePaymentMethodTypeEnum[ServicePaymentMethodTypeEnum["AU_BECS_DEBIT"] = 1] = "AU_BECS_DEBIT";
7785
+ ServicePaymentMethodTypeEnum[ServicePaymentMethodTypeEnum["CARD"] = 2] = "CARD";
7786
+ })(ServicePaymentMethodTypeEnum || (ServicePaymentMethodTypeEnum = {}));
7787
+
7788
+ class ServicePaymentMethod extends ServicePaymentMethod$1 {
7789
+ get logo() {
7790
+ if (!this.isCard()) {
7791
+ return null;
7792
+ }
7793
+ return `/assets/img/payment-methods/${this.cardBrand}.svg`;
7794
+ }
7795
+ get brandName() {
7796
+ return this.isCard() ? PaymentMethodBrandEnum[ServicePaymentMethodCardBrandEnum[this.cardBrand]] : 'BECS Direct Debit (AU)';
7797
+ }
7798
+ /**
7799
+ * Get expiration date formatted string (MM/YY)
7800
+ */
7801
+ get expirationDate() {
7802
+ if (!this.isCard()) {
7803
+ return null;
7804
+ }
7805
+ return `${('0' + this.cardExpirationMonth).slice(-2)}/${this.cardExpirationYear.toString().slice(-2)}`;
7806
+ }
7807
+ get description() {
7808
+ return `${this.brandName} ***${this.lastFourDigits}`;
7809
+ }
7810
+ isCard() {
7811
+ return this.type === ServicePaymentMethodTypeEnum.CARD;
7812
+ }
7813
+ }
7814
+
7515
7815
  class User extends User$1 {
7516
7816
  get fullName() {
7517
7817
  return `${this.firstName} ${this.lastName}`;
@@ -7627,6 +7927,13 @@ class User extends User$1 {
7627
7927
  isCurrentFinancialYear() {
7628
7928
  return new FinancialYear(new Date()).year === this.financialYear;
7629
7929
  }
7930
+ /**
7931
+ * financial years available in the app for user
7932
+ * starts from 2022 for new users and registeredYear - 1 for old users
7933
+ */
7934
+ get financialYears() {
7935
+ return range(Math.min(FinancialYear.toFinYear(this.createdAt) - 1, 2022), FinancialYear.toFinYear(new Date()) + 1);
7936
+ }
7630
7937
  }
7631
7938
  __decorate([
7632
7939
  Type(() => ServiceSubscription)
@@ -8371,6 +8678,9 @@ __decorate([
8371
8678
  Expose()
8372
8679
  ], Message.prototype, "documents", void 0);
8373
8680
 
8681
+ /**
8682
+ * @TODO Alex remove
8683
+ */
8374
8684
  var AppEventTypeEnum;
8375
8685
  (function (AppEventTypeEnum) {
8376
8686
  AppEventTypeEnum[AppEventTypeEnum["CLIENT_MOVEMENT_CLOSED"] = 0] = "CLIENT_MOVEMENT_CLOSED";
@@ -8463,128 +8773,50 @@ class AppEvent2 {
8463
8773
  items) {
8464
8774
  this.name = name;
8465
8775
  this.items = items;
8466
- }
8467
- }
8468
-
8469
- /**
8470
- * The model renamed for more comfortable work because File already exist in JS
8471
- * @TODO Alex: consider a better name like document
8472
- */
8473
- class AppFile extends File$1 {
8474
- }
8475
-
8476
- class Notification extends ServiceNotification {
8477
- get eventType() {
8478
- return this.userEvent.type.type;
8479
- }
8480
- /**
8481
- * Check if notification is from user or not
8482
- */
8483
- isFromUser() {
8484
- return !!this.sender;
8485
- }
8486
- }
8487
- __decorate([
8488
- Type(() => User)
8489
- ], Notification.prototype, "sender", void 0);
8490
- __decorate([
8491
- Expose({ toClassOnly: true }),
8492
- Transform(({ obj }) => {
8493
- switch (true) {
8494
- // @TODO vik
8495
- // case NOTIFICATION_EVENT_TYPES.employeeInvite.includes(obj.eventType):
8496
- // return '/client/users/firms';
8497
- // case NOTIFICATION_EVENT_TYPES.bankConnection.includes(obj.eventType):
8498
- // return '/client/bank-feeds';
8499
- // case NOTIFICATION_EVENT_TYPES.clientInvite.includes(obj.eventType):
8500
- // return '/client/users/invitations';
8501
- // case NOTIFICATION_EVENT_TYPES.propertyShare.includes(obj.eventType):
8502
- // return '/client/users/shares';
8503
- // case NOTIFICATION_EVENT_TYPES.employeeInviteFromClient.includes(obj.eventType):
8504
- // return '/firm/clients/invites';
8505
- default:
8506
- return '';
8507
- }
8508
- })
8509
- ], Notification.prototype, "redirectionLink", void 0);
8510
-
8511
- class ServicePayment extends ServicePayment$1 {
8512
- /**
8513
- * Stripe stores actual links to payment invoices for 30 days.
8514
- * Link expires after 30 days
8515
- */
8516
- isInvoiceLinkExpired() {
8517
- const expirationDate = new Date(this.date.setDate(this.date.getDate() + ServicePayment.daysToInvoiceUrlExpired));
8518
- return expirationDate.getTime() < new Date().getTime();
8519
- }
8520
- }
8521
- ServicePayment.daysToInvoiceUrlExpired = 30;
8522
- __decorate([
8523
- Type(() => ServiceSubscription)
8524
- ], ServicePayment.prototype, "subscription", void 0);
8525
- __decorate([
8526
- Type(() => Date)
8527
- ], ServicePayment.prototype, "date", void 0);
8528
-
8529
- let ServicePaymentMethod$1 = class ServicePaymentMethod extends AbstractModel {
8530
- };
8531
-
8532
- var PaymentMethodBrandEnum;
8533
- (function (PaymentMethodBrandEnum) {
8534
- PaymentMethodBrandEnum["UNKNOWN"] = "Unknown";
8535
- PaymentMethodBrandEnum["AMEX"] = "American Express";
8536
- PaymentMethodBrandEnum["DINERS"] = "Diners Club";
8537
- PaymentMethodBrandEnum["DISCOVER"] = "Discover";
8538
- PaymentMethodBrandEnum["JCB"] = "JCB";
8539
- PaymentMethodBrandEnum["MASTERCARD"] = "Mastercard";
8540
- PaymentMethodBrandEnum["UNIONPAY"] = "UnionPay";
8541
- PaymentMethodBrandEnum["VISA"] = "Visa";
8542
- })(PaymentMethodBrandEnum || (PaymentMethodBrandEnum = {}));
8543
-
8544
- var ServicePaymentMethodCardBrandEnum;
8545
- (function (ServicePaymentMethodCardBrandEnum) {
8546
- ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["UNKNOWN"] = 0] = "UNKNOWN";
8547
- ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["AMEX"] = 1] = "AMEX";
8548
- ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["DINERS"] = 2] = "DINERS";
8549
- ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["DISCOVER"] = 3] = "DISCOVER";
8550
- ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["JCB"] = 4] = "JCB";
8551
- ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["MASTERCARD"] = 5] = "MASTERCARD";
8552
- ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["UNIONPAY"] = 6] = "UNIONPAY";
8553
- ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["VISA"] = 7] = "VISA";
8554
- })(ServicePaymentMethodCardBrandEnum || (ServicePaymentMethodCardBrandEnum = {}));
8776
+ }
8777
+ }
8555
8778
 
8556
- var ServicePaymentMethodTypeEnum;
8557
- (function (ServicePaymentMethodTypeEnum) {
8558
- ServicePaymentMethodTypeEnum[ServicePaymentMethodTypeEnum["AU_BECS_DEBIT"] = 1] = "AU_BECS_DEBIT";
8559
- ServicePaymentMethodTypeEnum[ServicePaymentMethodTypeEnum["CARD"] = 2] = "CARD";
8560
- })(ServicePaymentMethodTypeEnum || (ServicePaymentMethodTypeEnum = {}));
8779
+ /**
8780
+ * The model renamed for more comfortable work because File already exist in JS
8781
+ * @TODO Alex: consider a better name like document
8782
+ */
8783
+ class AppFile extends File$1 {
8784
+ }
8561
8785
 
8562
- class ServicePaymentMethod extends ServicePaymentMethod$1 {
8563
- get logo() {
8564
- if (!this.isCard()) {
8565
- return null;
8566
- }
8567
- return `/assets/img/payment-methods/${this.cardBrand}.svg`;
8568
- }
8569
- get brandName() {
8570
- return this.isCard() ? PaymentMethodBrandEnum[ServicePaymentMethodCardBrandEnum[this.cardBrand]] : 'BECS Direct Debit (AU)';
8786
+ class Notification extends ServiceNotification {
8787
+ get eventType() {
8788
+ return this.userEvent.type.type;
8571
8789
  }
8572
8790
  /**
8573
- * Get expiration date formatted string (MM/YY)
8791
+ * Check if notification is from user or not
8574
8792
  */
8575
- get expirationDate() {
8576
- if (!this.isCard()) {
8577
- return null;
8578
- }
8579
- return `${('0' + this.cardExpirationMonth).slice(-2)}/${this.cardExpirationYear.toString().slice(-2)}`;
8580
- }
8581
- get description() {
8582
- return `${this.brandName} ***${this.lastFourDigits}`;
8583
- }
8584
- isCard() {
8585
- return this.type === ServicePaymentMethodTypeEnum.CARD;
8793
+ isFromUser() {
8794
+ return !!this.sender;
8586
8795
  }
8587
8796
  }
8797
+ __decorate([
8798
+ Type(() => User)
8799
+ ], Notification.prototype, "sender", void 0);
8800
+ __decorate([
8801
+ Expose({ toClassOnly: true }),
8802
+ Transform(({ obj }) => {
8803
+ switch (true) {
8804
+ // @TODO vik
8805
+ // case NOTIFICATION_EVENT_TYPES.employeeInvite.includes(obj.eventType):
8806
+ // return '/client/users/firms';
8807
+ // case NOTIFICATION_EVENT_TYPES.bankConnection.includes(obj.eventType):
8808
+ // return '/client/bank-feeds';
8809
+ // case NOTIFICATION_EVENT_TYPES.clientInvite.includes(obj.eventType):
8810
+ // return '/client/users/invitations';
8811
+ // case NOTIFICATION_EVENT_TYPES.propertyShare.includes(obj.eventType):
8812
+ // return '/client/users/shares';
8813
+ // case NOTIFICATION_EVENT_TYPES.employeeInviteFromClient.includes(obj.eventType):
8814
+ // return '/firm/clients/invites';
8815
+ default:
8816
+ return '';
8817
+ }
8818
+ })
8819
+ ], Notification.prototype, "redirectionLink", void 0);
8588
8820
 
8589
8821
  /**
8590
8822
  * Enum with document types which used to API url prefix
@@ -8822,176 +9054,6 @@ __decorate([
8822
9054
  Type(() => HoldingType)
8823
9055
  ], HoldingReinvest.prototype, "holdingType", void 0);
8824
9056
 
8825
- class AnnualClientDetails extends AbstractModel {
8826
- constructor() {
8827
- super(...arguments);
8828
- this.financialYear = new FinancialYear().year;
8829
- }
8830
- }
8831
- __decorate([
8832
- Type(() => ClientDetails)
8833
- ], AnnualClientDetails.prototype, "clientDetails", void 0);
8834
-
8835
- class ClientIncomeTypes extends ClientIncomeTypes$1 {
8836
- /**
8837
- * Get count of selected income types
8838
- */
8839
- get length() {
8840
- return Object.values(this).filter((value) => typeof value === 'boolean' && value).length;
8841
- }
8842
- }
8843
-
8844
- var ClientInviteStatusEnum;
8845
- (function (ClientInviteStatusEnum) {
8846
- ClientInviteStatusEnum[ClientInviteStatusEnum["PENDING"] = 1] = "PENDING";
8847
- ClientInviteStatusEnum[ClientInviteStatusEnum["REJECTED"] = 2] = "REJECTED";
8848
- })(ClientInviteStatusEnum || (ClientInviteStatusEnum = {}));
8849
-
8850
- var ClientInviteTypeEnum;
8851
- (function (ClientInviteTypeEnum) {
8852
- ClientInviteTypeEnum[ClientInviteTypeEnum["FROM_CLIENT"] = 1] = "FROM_CLIENT";
8853
- ClientInviteTypeEnum[ClientInviteTypeEnum["FROM_EMPLOYEE"] = 2] = "FROM_EMPLOYEE";
8854
- })(ClientInviteTypeEnum || (ClientInviteTypeEnum = {}));
8855
-
8856
- class ClientInvite extends ClientInvite$1 {
8857
- /**
8858
- * Check if client invite status is pending
8859
- */
8860
- isPending() {
8861
- return this.status === ClientInviteStatusEnum.PENDING;
8862
- }
8863
- /**
8864
- * Check if client invite status is accepted
8865
- */
8866
- isAccepted() {
8867
- return !this.isPending() && !this.isRejected();
8868
- }
8869
- /**
8870
- * Check if client invite status is rejected
8871
- */
8872
- isRejected() {
8873
- return this.status === ClientInviteStatusEnum.REJECTED;
8874
- }
8875
- /**
8876
- * Check if client invite initiated by firm
8877
- */
8878
- isFromEmployee() {
8879
- return this.type === ClientInviteTypeEnum.FROM_EMPLOYEE;
8880
- }
8881
- /**
8882
- * Check if client invite initiated by client
8883
- */
8884
- isFromClient() {
8885
- return this.type === ClientInviteTypeEnum.FROM_CLIENT;
8886
- }
8887
- get firstName() {
8888
- var _a;
8889
- return this.client ? this.client.firstName : (_a = this.registrationInvite) === null || _a === void 0 ? void 0 : _a.firstName;
8890
- }
8891
- get email() {
8892
- var _a;
8893
- return this.client ? this.client.email : (_a = this.registrationInvite) === null || _a === void 0 ? void 0 : _a.email;
8894
- }
8895
- }
8896
- __decorate([
8897
- Type(() => Date)
8898
- ], ClientInvite.prototype, "sentOn", void 0);
8899
- __decorate([
8900
- Type(() => Date)
8901
- ], ClientInvite.prototype, "updatedAt", void 0);
8902
- __decorate([
8903
- Type(() => Firm)
8904
- ], ClientInvite.prototype, "firm", void 0);
8905
- __decorate([
8906
- Type(() => User)
8907
- ], ClientInvite.prototype, "client", void 0);
8908
- __decorate([
8909
- Type(() => User)
8910
- ], ClientInvite.prototype, "employee", void 0);
8911
- __decorate([
8912
- Type(() => RegistrationInvite)
8913
- ], ClientInvite.prototype, "registrationInvite", void 0);
8914
-
8915
- class ClientMovement extends ClientMovement$1 {
8916
- }
8917
- __decorate([
8918
- Type(() => Firm)
8919
- ], ClientMovement.prototype, "firm", void 0);
8920
- __decorate([
8921
- Type(() => User)
8922
- ], ClientMovement.prototype, "client", void 0);
8923
- __decorate([
8924
- Type(() => User)
8925
- ], ClientMovement.prototype, "employee", void 0);
8926
- __decorate([
8927
- Type(() => ServiceSubscription)
8928
- ], ClientMovement.prototype, "subscription", void 0);
8929
- __decorate([
8930
- Type(() => Date)
8931
- ], ClientMovement.prototype, "dateFrom", void 0);
8932
- __decorate([
8933
- Type(() => Date)
8934
- ], ClientMovement.prototype, "dateTo", void 0);
8935
-
8936
- /**
8937
- * Client portfolio charts data based on ClientPortfolioReportCollection
8938
- */
8939
- class ClientPortfolioChartData {
8940
- constructor(clientsPortfolioReportCollection) {
8941
- this.clientsPortfolioReportCollection = clientsPortfolioReportCollection;
8942
- }
8943
- getPieChartData() {
8944
- return this.clientsPortfolioReportCollection.items.map((clientPortfolioReport) => plainToClass(ChartData, {
8945
- name: clientPortfolioReport.category,
8946
- data: clientPortfolioReport.count
8947
- }));
8948
- }
8949
- getBarChartData() {
8950
- return [
8951
- plainToClass(ChartData, {
8952
- name: 'Total',
8953
- data: [
8954
- {
8955
- label: 'Market value',
8956
- value: this.clientsPortfolioReportCollection.marketValue
8957
- },
8958
- {
8959
- label: 'Loan balance',
8960
- value: this.clientsPortfolioReportCollection.loanBalance
8961
- },
8962
- {
8963
- label: 'Equity position',
8964
- value: this.clientsPortfolioReportCollection.equityPosition
8965
- }
8966
- ]
8967
- }),
8968
- plainToClass(ChartData, {
8969
- name: 'Average',
8970
- data: [
8971
- {
8972
- label: 'Market value',
8973
- value: this.clientsPortfolioReportCollection.averageMarketValue
8974
- },
8975
- {
8976
- label: 'Loan balance',
8977
- value: this.clientsPortfolioReportCollection.averageLoanBalance
8978
- },
8979
- {
8980
- label: 'Equity position',
8981
- value: this.clientsPortfolioReportCollection.averageEquityPosition
8982
- }
8983
- ]
8984
- })
8985
- ];
8986
- }
8987
- }
8988
-
8989
- /**
8990
- * Class describes client's portfolio report information
8991
- */
8992
- class ClientPortfolioReport extends AbstractModel {
8993
- }
8994
-
8995
9057
  const NAME_TOKEN = 'token';
8996
9058
  const NAME_REFRESH_TOKEN = 'refreshToken';
8997
9059
  class JwtService extends JwtHelperService {
@@ -9020,9 +9082,9 @@ class JwtService extends JwtHelperService {
9020
9082
  return this.getUser().id === userId;
9021
9083
  }
9022
9084
  }
9023
- JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
9024
- JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, providedIn: 'root' });
9025
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, decorators: [{
9085
+ JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
9086
+ JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, providedIn: 'root' });
9087
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, decorators: [{
9026
9088
  type: Injectable,
9027
9089
  args: [{
9028
9090
  providedIn: 'root'
@@ -9057,9 +9119,9 @@ class EventDispatcherService {
9057
9119
  this.eventSubject2.next(event);
9058
9120
  }
9059
9121
  }
9060
- EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9061
- EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
9062
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, decorators: [{
9122
+ EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9123
+ EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
9124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, decorators: [{
9063
9125
  type: Injectable,
9064
9126
  args: [{
9065
9127
  providedIn: 'root'
@@ -9108,9 +9170,9 @@ class AuthService {
9108
9170
  location.replace(url);
9109
9171
  }
9110
9172
  }
9111
- AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9112
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, providedIn: 'root' });
9113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, decorators: [{
9173
+ 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 });
9174
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, providedIn: 'root' });
9175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, decorators: [{
9114
9176
  type: Injectable,
9115
9177
  args: [{
9116
9178
  providedIn: 'root'
@@ -9246,9 +9308,9 @@ class JwtInterceptor {
9246
9308
  });
9247
9309
  }
9248
9310
  }
9249
- JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9250
- JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor });
9251
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, decorators: [{
9311
+ 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 });
9312
+ JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor });
9313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, decorators: [{
9252
9314
  type: Injectable
9253
9315
  }], ctorParameters: function () {
9254
9316
  return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
@@ -9283,9 +9345,9 @@ class UserSwitcherService {
9283
9345
  window.location.replace('/firm/dashboard');
9284
9346
  }
9285
9347
  }
9286
- UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9287
- UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
9288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, decorators: [{
9348
+ UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9349
+ UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
9350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, decorators: [{
9289
9351
  type: Injectable,
9290
9352
  args: [{
9291
9353
  providedIn: 'root'
@@ -9331,9 +9393,9 @@ class UserSwitcherInterceptor {
9331
9393
  return next.handle(this.switch(request, this.userSwitcherService.get()));
9332
9394
  }
9333
9395
  }
9334
- UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9335
- UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor });
9336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
9396
+ 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 });
9397
+ UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor });
9398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
9337
9399
  type: Injectable
9338
9400
  }], ctorParameters: function () {
9339
9401
  return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
@@ -9610,9 +9672,9 @@ class PreloaderService {
9610
9672
  this.activePreloaders.next(activePreloaders);
9611
9673
  }
9612
9674
  }
9613
- PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9614
- PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, providedIn: 'root' });
9615
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, decorators: [{
9675
+ PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9676
+ PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, providedIn: 'root' });
9677
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, decorators: [{
9616
9678
  type: Injectable,
9617
9679
  args: [{
9618
9680
  providedIn: 'root'
@@ -9640,9 +9702,9 @@ class PreloaderInterceptor {
9640
9702
  return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
9641
9703
  }
9642
9704
  }
9643
- PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
9644
- PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor });
9645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, decorators: [{
9705
+ PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
9706
+ PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor });
9707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, decorators: [{
9646
9708
  type: Injectable
9647
9709
  }], ctorParameters: function () { return [{ type: PreloaderService }]; } });
9648
9710
 
@@ -9672,9 +9734,9 @@ class DataService {
9672
9734
  this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
9673
9735
  }
9674
9736
  }
9675
- DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9676
- DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, providedIn: 'root' });
9677
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, decorators: [{
9737
+ DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9738
+ DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, providedIn: 'root' });
9739
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, decorators: [{
9678
9740
  type: Injectable,
9679
9741
  args: [{
9680
9742
  providedIn: 'root'
@@ -9711,9 +9773,9 @@ class SseService {
9711
9773
  .pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
9712
9774
  }
9713
9775
  }
9714
- SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9715
- SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, providedIn: 'root' });
9716
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, decorators: [{
9776
+ 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 });
9777
+ SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, providedIn: 'root' });
9778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, decorators: [{
9717
9779
  type: Injectable,
9718
9780
  args: [{
9719
9781
  providedIn: 'root'
@@ -9928,9 +9990,9 @@ let RestService$1 = class RestService extends DataService {
9928
9990
  */
9929
9991
  listenEvents() { }
9930
9992
  };
9931
- RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9932
- RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, providedIn: 'root' });
9933
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, decorators: [{
9993
+ 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 });
9994
+ RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, providedIn: 'root' });
9995
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, decorators: [{
9934
9996
  type: Injectable,
9935
9997
  args: [{
9936
9998
  providedIn: 'root'
@@ -10075,9 +10137,9 @@ class ToastService {
10075
10137
  }));
10076
10138
  }
10077
10139
  }
10078
- ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10079
- ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, providedIn: 'root' });
10080
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, decorators: [{
10140
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10141
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, providedIn: 'root' });
10142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, decorators: [{
10081
10143
  type: Injectable,
10082
10144
  args: [{
10083
10145
  providedIn: 'root'
@@ -10155,9 +10217,9 @@ class BankConnectionService extends RestService$1 {
10155
10217
  });
10156
10218
  }
10157
10219
  }
10158
- BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
10159
- BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
10160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, decorators: [{
10220
+ 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 });
10221
+ BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
10222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, decorators: [{
10161
10223
  type: Injectable,
10162
10224
  args: [{
10163
10225
  providedIn: 'root'
@@ -10300,9 +10362,9 @@ BasiqService.retrieveAccountsCheckInterval = 3000;
10300
10362
  * How long we will wait accounts retrieving, break after timeout if not retireved
10301
10363
  */
10302
10364
  BasiqService.retrieveAccountsTimeout = 20000;
10303
- BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
10304
- BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, providedIn: 'root' });
10305
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, decorators: [{
10365
+ 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 });
10366
+ BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, providedIn: 'root' });
10367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, decorators: [{
10306
10368
  type: Injectable,
10307
10369
  args: [{
10308
10370
  providedIn: 'root'
@@ -10339,9 +10401,9 @@ class BasiqTokenService extends RestService$1 {
10339
10401
  return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
10340
10402
  }
10341
10403
  }
10342
- BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10343
- BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
10344
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, decorators: [{
10404
+ BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10405
+ BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
10406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, decorators: [{
10345
10407
  type: Injectable,
10346
10408
  args: [{
10347
10409
  providedIn: 'root'
@@ -10370,9 +10432,9 @@ class BasiqTokenInterceptor {
10370
10432
  });
10371
10433
  }
10372
10434
  }
10373
- BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
10374
- BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor });
10375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
10435
+ BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
10436
+ BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor });
10437
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
10376
10438
  type: Injectable
10377
10439
  }], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
10378
10440
 
@@ -10555,9 +10617,9 @@ class UserService {
10555
10617
  });
10556
10618
  }
10557
10619
  }
10558
- UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10559
- UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, providedIn: 'root' });
10560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, decorators: [{
10620
+ 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 });
10621
+ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, providedIn: 'root' });
10622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, decorators: [{
10561
10623
  type: Injectable,
10562
10624
  args: [{
10563
10625
  providedIn: 'root'
@@ -10589,17 +10651,17 @@ class BasiqClientIdInterceptor {
10589
10651
  });
10590
10652
  }
10591
10653
  }
10592
- BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
10593
- BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor });
10594
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
10654
+ BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
10655
+ BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor });
10656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
10595
10657
  type: Injectable
10596
10658
  }], ctorParameters: function () { return [{ type: UserService }]; } });
10597
10659
 
10598
10660
  class InterceptorsModule {
10599
10661
  }
10600
- InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10601
- InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule });
10602
- InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, providers: [
10662
+ InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10663
+ InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule });
10664
+ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, providers: [
10603
10665
  {
10604
10666
  provide: HTTP_INTERCEPTORS,
10605
10667
  useClass: CorelogicInterceptor,
@@ -10637,7 +10699,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
10637
10699
  multi: true
10638
10700
  }
10639
10701
  ] });
10640
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, decorators: [{
10702
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, decorators: [{
10641
10703
  type: NgModule,
10642
10704
  args: [{
10643
10705
  providers: [
@@ -10695,12 +10757,12 @@ class TtCoreModule {
10695
10757
  };
10696
10758
  }
10697
10759
  }
10698
- TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10699
- TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10760
+ TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10761
+ TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10700
10762
  InterceptorsModule] });
10701
- TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10763
+ TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10702
10764
  InterceptorsModule] });
10703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, decorators: [{
10765
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, decorators: [{
10704
10766
  type: NgModule,
10705
10767
  args: [{
10706
10768
  declarations: [],
@@ -12257,9 +12319,9 @@ class AddressService {
12257
12319
  return this.countriesSubject.asObservable();
12258
12320
  }
12259
12321
  }
12260
- AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12261
- AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, providedIn: 'root' });
12262
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, decorators: [{
12322
+ 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 });
12323
+ AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, providedIn: 'root' });
12324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, decorators: [{
12263
12325
  type: Injectable,
12264
12326
  args: [{
12265
12327
  providedIn: 'root'
@@ -12329,9 +12391,9 @@ class BankAccountService extends RestService$1 {
12329
12391
  });
12330
12392
  }
12331
12393
  }
12332
- BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12333
- BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, providedIn: 'root' });
12334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, decorators: [{
12394
+ 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 });
12395
+ BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, providedIn: 'root' });
12396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, decorators: [{
12335
12397
  type: Injectable,
12336
12398
  args: [{
12337
12399
  providedIn: 'root'
@@ -12398,9 +12460,9 @@ class BankTransactionService extends RestService$1 {
12398
12460
  });
12399
12461
  }
12400
12462
  }
12401
- BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12402
- BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
12403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, decorators: [{
12463
+ BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12464
+ BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
12465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, decorators: [{
12404
12466
  type: Injectable,
12405
12467
  args: [{
12406
12468
  providedIn: 'root'
@@ -12427,9 +12489,9 @@ class BankService extends RestService$1 {
12427
12489
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
12428
12490
  }
12429
12491
  }
12430
- BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12431
- BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, providedIn: 'root' });
12432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, decorators: [{
12492
+ BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12493
+ BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, providedIn: 'root' });
12494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, decorators: [{
12433
12495
  type: Injectable,
12434
12496
  args: [{
12435
12497
  providedIn: 'root'
@@ -12449,9 +12511,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
12449
12511
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
12450
12512
  }
12451
12513
  }
12452
- ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12453
- ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
12454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
12514
+ ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12515
+ ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
12516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
12455
12517
  type: Injectable,
12456
12518
  args: [{
12457
12519
  providedIn: 'root'
@@ -12491,9 +12553,9 @@ class ChartAccountsService extends RestService$1 {
12491
12553
  }));
12492
12554
  }
12493
12555
  }
12494
- ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12495
- ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
12496
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, decorators: [{
12556
+ ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12557
+ ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
12558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, decorators: [{
12497
12559
  type: Injectable,
12498
12560
  args: [{
12499
12561
  providedIn: 'root'
@@ -12562,9 +12624,9 @@ class ChatService extends RestService$1 {
12562
12624
  });
12563
12625
  }
12564
12626
  }
12565
- ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12566
- ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, providedIn: 'root' });
12567
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, decorators: [{
12627
+ 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 });
12628
+ ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, providedIn: 'root' });
12629
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, decorators: [{
12568
12630
  type: Injectable,
12569
12631
  args: [{
12570
12632
  providedIn: 'root'
@@ -12623,9 +12685,9 @@ class MessageService extends RestService$1 {
12623
12685
  });
12624
12686
  }
12625
12687
  }
12626
- MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12627
- MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, providedIn: 'root' });
12628
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, decorators: [{
12688
+ 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 });
12689
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, providedIn: 'root' });
12690
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, decorators: [{
12629
12691
  type: Injectable,
12630
12692
  args: [{
12631
12693
  providedIn: 'root'
@@ -12697,9 +12759,9 @@ class MessageDocumentService extends RestService$1 {
12697
12759
  return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
12698
12760
  }
12699
12761
  }
12700
- MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12701
- MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
12702
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, decorators: [{
12762
+ MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12763
+ MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
12764
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, decorators: [{
12703
12765
  type: Injectable,
12704
12766
  args: [{
12705
12767
  providedIn: 'root'
@@ -12762,9 +12824,9 @@ class ReceiptService {
12762
12824
  return plainToClass(this.modelClass, data);
12763
12825
  }
12764
12826
  }
12765
- ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12766
- ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, providedIn: 'root' });
12767
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, decorators: [{
12827
+ 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 });
12828
+ ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, providedIn: 'root' });
12829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, decorators: [{
12768
12830
  type: Injectable,
12769
12831
  args: [{
12770
12832
  providedIn: 'root'
@@ -12795,9 +12857,9 @@ class DepreciationReceiptService extends ReceiptService {
12795
12857
  this.listenEvents();
12796
12858
  }
12797
12859
  }
12798
- DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12799
- DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
12800
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, decorators: [{
12860
+ 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 });
12861
+ DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
12862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, decorators: [{
12801
12863
  type: Injectable,
12802
12864
  args: [{
12803
12865
  providedIn: 'root'
@@ -12925,10 +12987,16 @@ class DepreciationService extends RestService$1 {
12925
12987
  this.resetCache();
12926
12988
  });
12927
12989
  }
12990
+ listenTransactions() {
12991
+ // @TODO reset cache only when required (transaction has depreciation)
12992
+ this.eventDispatcherService.on(AppEventTypeEnum.TRANSACTION_DELETED).subscribe(() => {
12993
+ this.resetCache();
12994
+ });
12995
+ }
12928
12996
  }
12929
- DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: DepreciationReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
12930
- DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, providedIn: 'root' });
12931
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, decorators: [{
12997
+ 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 });
12998
+ DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, providedIn: 'root' });
12999
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, decorators: [{
12932
13000
  type: Injectable,
12933
13001
  args: [{
12934
13002
  providedIn: 'root'
@@ -12980,9 +13048,9 @@ class DepreciationCapitalProjectService {
12980
13048
  }));
12981
13049
  }
12982
13050
  }
12983
- DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12984
- DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
12985
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
13051
+ 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 });
13052
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
13053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
12986
13054
  type: Injectable,
12987
13055
  args: [{
12988
13056
  providedIn: 'root'
@@ -13194,9 +13262,9 @@ class RestService {
13194
13262
  */
13195
13263
  listenEvents() { }
13196
13264
  }
13197
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13198
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, providedIn: 'root' });
13199
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, decorators: [{
13265
+ 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 });
13266
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, providedIn: 'root' });
13267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, decorators: [{
13200
13268
  type: Injectable,
13201
13269
  args: [{
13202
13270
  providedIn: 'root'
@@ -13215,9 +13283,9 @@ class DocumentService extends RestService {
13215
13283
  this.modelClass = Document;
13216
13284
  }
13217
13285
  }
13218
- DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13219
- DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, providedIn: 'root' });
13220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, decorators: [{
13286
+ DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13287
+ DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, providedIn: 'root' });
13288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, decorators: [{
13221
13289
  type: Injectable,
13222
13290
  args: [{
13223
13291
  providedIn: 'root'
@@ -13283,9 +13351,9 @@ class DocumentFolderService extends RestService {
13283
13351
  }));
13284
13352
  }
13285
13353
  }
13286
- DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13287
- DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
13288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, decorators: [{
13354
+ DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13355
+ DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
13356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, decorators: [{
13289
13357
  type: Injectable,
13290
13358
  args: [{
13291
13359
  providedIn: 'root'
@@ -13362,9 +13430,9 @@ FacebookService.authOptions = {
13362
13430
  auth_type: 'rerequest',
13363
13431
  return_scopes: true
13364
13432
  };
13365
- FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13366
- FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, providedIn: 'root' });
13367
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, decorators: [{
13433
+ 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 });
13434
+ FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, providedIn: 'root' });
13435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, decorators: [{
13368
13436
  type: Injectable,
13369
13437
  args: [{
13370
13438
  providedIn: 'root'
@@ -13434,9 +13502,9 @@ class GoogleService {
13434
13502
  google.accounts.id.disableAutoSelect();
13435
13503
  }
13436
13504
  }
13437
- GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13438
- GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, providedIn: 'root' });
13439
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, decorators: [{
13505
+ 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 });
13506
+ GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, providedIn: 'root' });
13507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, decorators: [{
13440
13508
  type: Injectable,
13441
13509
  args: [{
13442
13510
  providedIn: 'root'
@@ -13467,9 +13535,9 @@ class FileService extends RestService$1 {
13467
13535
  return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
13468
13536
  }
13469
13537
  }
13470
- FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13471
- FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, providedIn: 'root' });
13472
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, decorators: [{
13538
+ FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13539
+ FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, providedIn: 'root' });
13540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, decorators: [{
13473
13541
  type: Injectable,
13474
13542
  args: [{
13475
13543
  providedIn: 'root'
@@ -13486,9 +13554,9 @@ class ClientIncomeTypesService extends RestService$1 {
13486
13554
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
13487
13555
  }
13488
13556
  }
13489
- ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13490
- ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
13491
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
13557
+ ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13558
+ ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
13559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
13492
13560
  type: Injectable,
13493
13561
  args: [{
13494
13562
  providedIn: 'root'
@@ -13601,9 +13669,9 @@ class ClientInviteService extends RestService {
13601
13669
  });
13602
13670
  }
13603
13671
  }
13604
- ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13605
- ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
13606
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, decorators: [{
13672
+ ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13673
+ ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
13674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, decorators: [{
13607
13675
  type: Injectable,
13608
13676
  args: [{
13609
13677
  providedIn: 'root'
@@ -13676,9 +13744,9 @@ class ClientMovementService extends RestService {
13676
13744
  });
13677
13745
  }
13678
13746
  }
13679
- ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13680
- ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
13681
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, decorators: [{
13747
+ ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13748
+ ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
13749
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, decorators: [{
13682
13750
  type: Injectable,
13683
13751
  args: [{
13684
13752
  providedIn: 'root'
@@ -13707,9 +13775,9 @@ class EmployeeService extends RestService {
13707
13775
  }));
13708
13776
  }
13709
13777
  }
13710
- EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13711
- EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, providedIn: 'root' });
13712
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, decorators: [{
13778
+ EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13779
+ EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, providedIn: 'root' });
13780
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, decorators: [{
13713
13781
  type: Injectable,
13714
13782
  args: [{
13715
13783
  providedIn: 'root'
@@ -13750,9 +13818,9 @@ class EmployeeInviteService extends RestService {
13750
13818
  }));
13751
13819
  }
13752
13820
  }
13753
- EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13754
- EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
13755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, decorators: [{
13821
+ EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13822
+ EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
13823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, decorators: [{
13756
13824
  type: Injectable,
13757
13825
  args: [{
13758
13826
  providedIn: 'root'
@@ -13777,9 +13845,9 @@ class ClientPortfolioReportService {
13777
13845
  }));
13778
13846
  }
13779
13847
  }
13780
- ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13781
- ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
13782
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
13848
+ 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 });
13849
+ ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
13850
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
13783
13851
  type: Injectable,
13784
13852
  args: [{
13785
13853
  providedIn: 'root'
@@ -13843,9 +13911,9 @@ class FirmService {
13843
13911
  }));
13844
13912
  }
13845
13913
  }
13846
- FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13847
- FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, providedIn: 'root' });
13848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, decorators: [{
13914
+ 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 });
13915
+ FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, providedIn: 'root' });
13916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, decorators: [{
13849
13917
  type: Injectable,
13850
13918
  args: [{
13851
13919
  providedIn: 'root'
@@ -13920,9 +13988,9 @@ class IncomeSourceForecastService extends RestService {
13920
13988
  }).flat();
13921
13989
  }
13922
13990
  }
13923
- IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13924
- IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
13925
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
13991
+ IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13992
+ IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
13993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
13926
13994
  type: Injectable,
13927
13995
  args: [{
13928
13996
  providedIn: 'root'
@@ -13992,9 +14060,9 @@ class SalaryForecastService extends RestService {
13992
14060
  }).flat();
13993
14061
  }
13994
14062
  }
13995
- SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13996
- SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
13997
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, decorators: [{
14063
+ SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14064
+ SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
14065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, decorators: [{
13998
14066
  type: Injectable,
13999
14067
  args: [{
14000
14068
  providedIn: 'root'
@@ -14070,9 +14138,9 @@ class SoleForecastService extends RestService {
14070
14138
  });
14071
14139
  }
14072
14140
  }
14073
- SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14074
- SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
14075
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, decorators: [{
14141
+ SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14142
+ SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
14143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, decorators: [{
14076
14144
  type: Injectable,
14077
14145
  args: [{
14078
14146
  providedIn: 'root'
@@ -14151,9 +14219,9 @@ class IncomeSourceService extends RestService {
14151
14219
  });
14152
14220
  }
14153
14221
  }
14154
- IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14155
- IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
14156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, decorators: [{
14222
+ IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14223
+ IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
14224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, decorators: [{
14157
14225
  type: Injectable,
14158
14226
  args: [{
14159
14227
  providedIn: 'root'
@@ -14214,9 +14282,9 @@ class BorrowingExpenseService {
14214
14282
  }));
14215
14283
  }
14216
14284
  }
14217
- BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14218
- BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
14219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, decorators: [{
14285
+ 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 });
14286
+ BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
14287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, decorators: [{
14220
14288
  type: Injectable,
14221
14289
  args: [{
14222
14290
  providedIn: 'root'
@@ -14298,9 +14366,9 @@ class LoanService extends RestService$1 {
14298
14366
  }));
14299
14367
  }
14300
14368
  }
14301
- LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14302
- LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, providedIn: 'root' });
14303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, decorators: [{
14369
+ LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14370
+ LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, providedIn: 'root' });
14371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, decorators: [{
14304
14372
  type: Injectable,
14305
14373
  args: [{
14306
14374
  providedIn: 'root'
@@ -14319,9 +14387,9 @@ class PropertyCategoryService extends RestService$1 {
14319
14387
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14320
14388
  }
14321
14389
  }
14322
- PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14323
- PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
14324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, decorators: [{
14390
+ PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14391
+ PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
14392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, decorators: [{
14325
14393
  type: Injectable,
14326
14394
  args: [{
14327
14395
  providedIn: 'root'
@@ -14337,9 +14405,9 @@ class PropertyCategoryMovementService extends RestService$1 {
14337
14405
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14338
14406
  }
14339
14407
  }
14340
- PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14341
- PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
14342
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
14408
+ PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14409
+ PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
14410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
14343
14411
  type: Injectable,
14344
14412
  args: [{
14345
14413
  providedIn: 'root'
@@ -14381,9 +14449,9 @@ class PropertyDocumentService extends RestService$1 {
14381
14449
  });
14382
14450
  }
14383
14451
  }
14384
- PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14385
- PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
14386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, decorators: [{
14452
+ PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14453
+ PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
14454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, decorators: [{
14387
14455
  type: Injectable,
14388
14456
  args: [{
14389
14457
  providedIn: 'root'
@@ -14457,9 +14525,9 @@ class TaxExemptionService extends DataService {
14457
14525
  this.setCache(TaxExemptions);
14458
14526
  }
14459
14527
  }
14460
- TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14461
- TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
14462
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, decorators: [{
14528
+ TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14529
+ TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
14530
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, decorators: [{
14463
14531
  type: Injectable,
14464
14532
  args: [{
14465
14533
  providedIn: 'root'
@@ -14475,9 +14543,9 @@ class PropertySaleService extends RestService$1 {
14475
14543
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14476
14544
  }
14477
14545
  }
14478
- PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14479
- PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
14480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, decorators: [{
14546
+ PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14547
+ PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
14548
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, decorators: [{
14481
14549
  type: Injectable,
14482
14550
  args: [{
14483
14551
  providedIn: 'root'
@@ -14524,9 +14592,9 @@ class PropertyShareService extends RestService$1 {
14524
14592
  this.listenCSE(PropertySale, ['post', 'delete'], this.resetCache);
14525
14593
  }
14526
14594
  }
14527
- PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14528
- PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
14529
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, decorators: [{
14595
+ PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14596
+ PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
14597
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, decorators: [{
14530
14598
  type: Injectable,
14531
14599
  args: [{
14532
14600
  providedIn: 'root'
@@ -14623,9 +14691,9 @@ class PropertyService extends RestService$1 {
14623
14691
  }));
14624
14692
  }
14625
14693
  }
14626
- PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14627
- PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, providedIn: 'root' });
14628
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, decorators: [{
14694
+ PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14695
+ PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, providedIn: 'root' });
14696
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, decorators: [{
14629
14697
  type: Injectable,
14630
14698
  args: [{
14631
14699
  providedIn: 'root'
@@ -14679,9 +14747,9 @@ class ServiceNotificationService extends RestService {
14679
14747
  });
14680
14748
  }
14681
14749
  }
14682
- ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
14683
- ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
14684
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, decorators: [{
14750
+ 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 });
14751
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
14752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, decorators: [{
14685
14753
  type: Injectable,
14686
14754
  args: [{
14687
14755
  providedIn: 'root'
@@ -14732,9 +14800,9 @@ class SoleBusinessService extends RestService {
14732
14800
  }));
14733
14801
  }
14734
14802
  }
14735
- SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14736
- SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
14737
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, decorators: [{
14803
+ SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14804
+ SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
14805
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, decorators: [{
14738
14806
  type: Injectable,
14739
14807
  args: [{
14740
14808
  providedIn: 'root'
@@ -14749,9 +14817,9 @@ class SoleBusinessActivityService extends RestService {
14749
14817
  this.isHydra = true;
14750
14818
  }
14751
14819
  }
14752
- SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14753
- SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
14754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
14820
+ SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14821
+ SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
14822
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
14755
14823
  type: Injectable,
14756
14824
  args: [{
14757
14825
  providedIn: 'root'
@@ -14777,9 +14845,9 @@ class SoleBusinessLossService extends RestService {
14777
14845
  });
14778
14846
  }
14779
14847
  }
14780
- SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14781
- SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
14782
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, decorators: [{
14848
+ SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14849
+ SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
14850
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, decorators: [{
14783
14851
  type: Injectable,
14784
14852
  args: [{
14785
14853
  providedIn: 'root'
@@ -14797,9 +14865,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
14797
14865
  this.isHydra = true;
14798
14866
  }
14799
14867
  }
14800
- SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14801
- SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
14802
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
14868
+ SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14869
+ SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
14870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
14803
14871
  type: Injectable,
14804
14872
  args: [{
14805
14873
  providedIn: 'root'
@@ -14814,9 +14882,9 @@ class SoleContactService extends RestService {
14814
14882
  this.isHydra = true;
14815
14883
  }
14816
14884
  }
14817
- SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14818
- SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, providedIn: 'root' });
14819
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, decorators: [{
14885
+ SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14886
+ SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, providedIn: 'root' });
14887
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, decorators: [{
14820
14888
  type: Injectable,
14821
14889
  args: [{
14822
14890
  providedIn: 'root'
@@ -14872,9 +14940,9 @@ class SoleDepreciationMethodService {
14872
14940
  });
14873
14941
  }
14874
14942
  }
14875
- SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
14876
- SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
14877
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
14943
+ 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 });
14944
+ SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
14945
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
14878
14946
  type: Injectable,
14879
14947
  args: [{
14880
14948
  providedIn: 'root'
@@ -14929,9 +14997,9 @@ class SoleDetailsService {
14929
14997
  }));
14930
14998
  }
14931
14999
  }
14932
- SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
14933
- SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
14934
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, decorators: [{
15000
+ 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 });
15001
+ SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
15002
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, decorators: [{
14935
15003
  type: Injectable,
14936
15004
  args: [{
14937
15005
  providedIn: 'root'
@@ -15007,9 +15075,9 @@ class SoleInvoiceService extends RestService {
15007
15075
  });
15008
15076
  }
15009
15077
  }
15010
- SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15011
- SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
15012
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, decorators: [{
15078
+ SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15079
+ SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
15080
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, decorators: [{
15013
15081
  type: Injectable,
15014
15082
  args: [{
15015
15083
  providedIn: 'root'
@@ -15024,9 +15092,9 @@ class SoleInvoiceTemplateService extends RestService {
15024
15092
  this.isHydra = true;
15025
15093
  }
15026
15094
  }
15027
- SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15028
- SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
15029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
15095
+ SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15096
+ SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
15097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
15030
15098
  type: Injectable,
15031
15099
  args: [{
15032
15100
  providedIn: 'root'
@@ -15041,9 +15109,9 @@ class BasReportService extends RestService {
15041
15109
  this.isHydra = true;
15042
15110
  }
15043
15111
  }
15044
- BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15045
- BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, providedIn: 'root' });
15046
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, decorators: [{
15112
+ BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15113
+ BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, providedIn: 'root' });
15114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, decorators: [{
15047
15115
  type: Injectable,
15048
15116
  args: [{
15049
15117
  providedIn: 'root'
@@ -15069,9 +15137,9 @@ class ServicePaymentService extends RestService$1 {
15069
15137
  return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
15070
15138
  }
15071
15139
  }
15072
- ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15073
- ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
15074
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, decorators: [{
15140
+ ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15141
+ ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
15142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, decorators: [{
15075
15143
  type: Injectable,
15076
15144
  args: [{
15077
15145
  providedIn: 'root'
@@ -15119,9 +15187,9 @@ class ServicePaymentMethodService extends RestService$1 {
15119
15187
  });
15120
15188
  }
15121
15189
  }
15122
- ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
15123
- ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
15124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
15190
+ 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 });
15191
+ ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
15192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
15125
15193
  type: Injectable,
15126
15194
  args: [{
15127
15195
  providedIn: 'root'
@@ -15146,9 +15214,9 @@ class ServicePriceService extends RestService$1 {
15146
15214
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
15147
15215
  }
15148
15216
  }
15149
- ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15150
- ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
15151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, decorators: [{
15217
+ ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15218
+ ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
15219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, decorators: [{
15152
15220
  type: Injectable,
15153
15221
  args: [{
15154
15222
  providedIn: 'root'
@@ -15265,9 +15333,9 @@ class SubscriptionService extends RestService$1 {
15265
15333
  });
15266
15334
  }
15267
15335
  }
15268
- SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15269
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
15270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, decorators: [{
15336
+ 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 });
15337
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
15338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, decorators: [{
15271
15339
  type: Injectable,
15272
15340
  args: [{
15273
15341
  providedIn: 'root'
@@ -15289,9 +15357,9 @@ class ServiceProductService extends RestService$1 {
15289
15357
  this.isApiPlatform = true;
15290
15358
  }
15291
15359
  }
15292
- ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15293
- ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
15294
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, decorators: [{
15360
+ ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15361
+ ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
15362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, decorators: [{
15295
15363
  type: Injectable,
15296
15364
  args: [{
15297
15365
  providedIn: 'root'
@@ -15323,9 +15391,9 @@ class TaxReviewHistoryService extends RestService {
15323
15391
  });
15324
15392
  }
15325
15393
  }
15326
- TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15327
- TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
15328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
15394
+ TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15395
+ TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
15396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
15329
15397
  type: Injectable,
15330
15398
  args: [{
15331
15399
  providedIn: 'root'
@@ -15414,9 +15482,9 @@ class TaxReviewService extends RestService {
15414
15482
  });
15415
15483
  }
15416
15484
  }
15417
- TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15418
- TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
15419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, decorators: [{
15485
+ TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15486
+ TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
15487
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, decorators: [{
15420
15488
  type: Injectable,
15421
15489
  args: [{
15422
15490
  providedIn: 'root'
@@ -15473,9 +15541,9 @@ class TaxSummaryService {
15473
15541
  });
15474
15542
  }
15475
15543
  }
15476
- TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15477
- TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
15478
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, decorators: [{
15544
+ 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 });
15545
+ TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
15546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, decorators: [{
15479
15547
  type: Injectable,
15480
15548
  args: [{
15481
15549
  providedIn: 'root'
@@ -15496,9 +15564,9 @@ class AllocationRuleService extends RestService$1 {
15496
15564
  this.isApiPlatform = true;
15497
15565
  }
15498
15566
  }
15499
- AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15500
- AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
15501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, decorators: [{
15567
+ AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15568
+ AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
15569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, decorators: [{
15502
15570
  type: Injectable,
15503
15571
  args: [{
15504
15572
  providedIn: 'root'
@@ -15552,7 +15620,7 @@ class TransactionAllocationService extends RestService {
15552
15620
  }
15553
15621
  listenEvents() {
15554
15622
  this.onTransactionsCreated();
15555
- this.onDepreciationCreated();
15623
+ this.watchDepreciations();
15556
15624
  this.onTransactionDeleted();
15557
15625
  }
15558
15626
  /**
@@ -15571,8 +15639,9 @@ class TransactionAllocationService extends RestService {
15571
15639
  /**
15572
15640
  * Reset cache on depreciation created
15573
15641
  */
15574
- onDepreciationCreated() {
15575
- this.eventDispatcherService.on2(Depreciation.getEventName('post')).subscribe(() => {
15642
+ watchDepreciations() {
15643
+ // @TODO reset cache only when required (depreciation has transaction with allocations)
15644
+ this.eventDispatcherService.on2(...Depreciation.getEventNames('post', 'delete')).subscribe(() => {
15576
15645
  this.resetCache();
15577
15646
  });
15578
15647
  }
@@ -15587,9 +15656,9 @@ class TransactionAllocationService extends RestService {
15587
15656
  });
15588
15657
  }
15589
15658
  }
15590
- TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15591
- TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
15592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, decorators: [{
15659
+ TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15660
+ TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
15661
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, decorators: [{
15593
15662
  type: Injectable,
15594
15663
  args: [{
15595
15664
  providedIn: 'root'
@@ -15615,9 +15684,9 @@ class TransactionReceiptService extends ReceiptService {
15615
15684
  this.listenEvents();
15616
15685
  }
15617
15686
  }
15618
- TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15619
- TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
15620
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, decorators: [{
15687
+ 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 });
15688
+ TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
15689
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, decorators: [{
15621
15690
  type: Injectable,
15622
15691
  args: [{
15623
15692
  providedIn: 'root'
@@ -15870,8 +15939,8 @@ class TransactionService extends RestService {
15870
15939
  * Listen to EventDispatcherService event related to Depreciation changing
15871
15940
  */
15872
15941
  listenDepreciationChange() {
15873
- // @TODO we never dispatch DEPRECIATION_DELETED
15874
- this.eventDispatcherService.on(AppEventTypeEnum.DEPRECIATION_DELETED).subscribe(() => {
15942
+ // @TODO reset cache only when required (depreciation has transaction)
15943
+ this.eventDispatcherService.on2(...Depreciation.getEventNames('post', 'delete')).subscribe(() => {
15875
15944
  this.fetch()
15876
15945
  .subscribe((transactions) => {
15877
15946
  this.cache = transactions;
@@ -15929,9 +15998,9 @@ class TransactionService extends RestService {
15929
15998
  });
15930
15999
  }
15931
16000
  }
15932
- TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
15933
- TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, providedIn: 'root' });
15934
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, decorators: [{
16001
+ 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 });
16002
+ TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, providedIn: 'root' });
16003
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, decorators: [{
15935
16004
  type: Injectable,
15936
16005
  args: [{
15937
16006
  providedIn: 'root'
@@ -15962,9 +16031,9 @@ class TutorialVideoService {
15962
16031
  }
15963
16032
  TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
15964
16033
  TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
15965
- TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15966
- TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15967
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, decorators: [{
16034
+ 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 });
16035
+ TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
16036
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, decorators: [{
15968
16037
  type: Injectable,
15969
16038
  args: [{
15970
16039
  providedIn: 'root'
@@ -15986,9 +16055,9 @@ class VehicleService extends RestService {
15986
16055
  this.modelClass = Vehicle;
15987
16056
  }
15988
16057
  }
15989
- VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15990
- VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, providedIn: 'root' });
15991
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, decorators: [{
16058
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16059
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, providedIn: 'root' });
16060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, decorators: [{
15992
16061
  type: Injectable,
15993
16062
  args: [{
15994
16063
  providedIn: 'root'
@@ -16060,9 +16129,9 @@ class VehicleClaimService extends RestService {
16060
16129
  combineLatest(batch$).subscribe();
16061
16130
  }
16062
16131
  }
16063
- VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16064
- VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
16065
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, decorators: [{
16132
+ VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16133
+ VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
16134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, decorators: [{
16066
16135
  type: Injectable,
16067
16136
  args: [{
16068
16137
  providedIn: 'root'
@@ -16139,9 +16208,9 @@ class VehicleClaimDetailsService {
16139
16208
  this.update(vehicleClaimDetails).subscribe();
16140
16209
  }
16141
16210
  }
16142
- VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
16143
- VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
16144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
16211
+ 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 });
16212
+ VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
16213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
16145
16214
  type: Injectable,
16146
16215
  args: [{
16147
16216
  providedIn: 'root'
@@ -16163,9 +16232,9 @@ class VehicleLogbookService extends RestService {
16163
16232
  this.modelClass = VehicleLogbook;
16164
16233
  }
16165
16234
  }
16166
- VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16167
- VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
16168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, decorators: [{
16235
+ VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16236
+ VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
16237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, decorators: [{
16169
16238
  type: Injectable,
16170
16239
  args: [{
16171
16240
  providedIn: 'root'
@@ -16182,9 +16251,9 @@ class AnnualClientDetailsService extends RestService$1 {
16182
16251
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
16183
16252
  }
16184
16253
  }
16185
- AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16186
- AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
16187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
16254
+ AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16255
+ AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
16256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
16188
16257
  type: Injectable,
16189
16258
  args: [{
16190
16259
  providedIn: 'root'
@@ -16215,9 +16284,9 @@ class OccupationService {
16215
16284
  return this.occupationsSubject.asObservable();
16216
16285
  }
16217
16286
  }
16218
- OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16219
- OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, providedIn: 'root' });
16220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, decorators: [{
16287
+ 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 });
16288
+ OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, providedIn: 'root' });
16289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, decorators: [{
16221
16290
  type: Injectable,
16222
16291
  args: [{
16223
16292
  providedIn: 'root'
@@ -16263,9 +16332,9 @@ class UserEventSettingService extends RestService {
16263
16332
  }));
16264
16333
  }
16265
16334
  }
16266
- UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16267
- UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
16268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, decorators: [{
16335
+ UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16336
+ UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
16337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, decorators: [{
16269
16338
  type: Injectable,
16270
16339
  args: [{
16271
16340
  providedIn: 'root'
@@ -16280,9 +16349,9 @@ class UserEventTypeService extends RestService {
16280
16349
  this.isHydra = true;
16281
16350
  }
16282
16351
  }
16283
- UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16284
- UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
16285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, decorators: [{
16352
+ UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16353
+ UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
16354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, decorators: [{
16286
16355
  type: Injectable,
16287
16356
  args: [{
16288
16357
  providedIn: 'root'
@@ -16299,9 +16368,9 @@ class UsersInviteService extends RestService {
16299
16368
  this.url = 'users/invite';
16300
16369
  }
16301
16370
  }
16302
- UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16303
- UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
16304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, decorators: [{
16371
+ UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16372
+ UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
16373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, decorators: [{
16305
16374
  type: Injectable,
16306
16375
  args: [{
16307
16376
  providedIn: 'root'
@@ -16321,9 +16390,9 @@ class HoldingService extends RestService$1 {
16321
16390
  this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.resetCache);
16322
16391
  }
16323
16392
  }
16324
- HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16325
- HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, providedIn: 'root' });
16326
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, decorators: [{
16393
+ HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16394
+ HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, providedIn: 'root' });
16395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, decorators: [{
16327
16396
  type: Injectable,
16328
16397
  args: [{
16329
16398
  providedIn: 'root'
@@ -16340,9 +16409,9 @@ class HoldingTypeService extends RestService$1 {
16340
16409
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
16341
16410
  }
16342
16411
  }
16343
- HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16344
- HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
16345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, decorators: [{
16412
+ HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16413
+ HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
16414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, decorators: [{
16346
16415
  type: Injectable,
16347
16416
  args: [{
16348
16417
  providedIn: 'root'
@@ -16359,9 +16428,9 @@ class HoldingSaleService extends RestService$1 {
16359
16428
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
16360
16429
  }
16361
16430
  }
16362
- HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16363
- HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
16364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, decorators: [{
16431
+ HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16432
+ HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
16433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, decorators: [{
16365
16434
  type: Injectable,
16366
16435
  args: [{
16367
16436
  providedIn: 'root'
@@ -16456,9 +16525,9 @@ class HoldingTypeExchangeService extends DataService {
16456
16525
  this.setCache(HoldingTypeExchanges);
16457
16526
  }
16458
16527
  }
16459
- HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16460
- HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
16461
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
16528
+ HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16529
+ HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
16530
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
16462
16531
  type: Injectable,
16463
16532
  args: [{
16464
16533
  providedIn: 'root'
@@ -16547,11 +16616,6 @@ var IncomeSourceTypes = [
16547
16616
  tax_return_item_id: 7,
16548
16617
  name: "Superannuation Incomes (taxed element)"
16549
16618
  },
16550
- {
16551
- id: 7,
16552
- tax_return_item_id: 15,
16553
- name: "Sole-Trader"
16554
- },
16555
16619
  {
16556
16620
  id: 9,
16557
16621
  tax_return_item_id: 13,
@@ -16567,9 +16631,33 @@ class IncomeSourceTypeService extends DataService {
16567
16631
  this.setCache(IncomeSourceTypes);
16568
16632
  }
16569
16633
  }
16570
- IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16571
- IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
16572
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
16634
+ IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16635
+ IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
16636
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
16637
+ type: Injectable,
16638
+ args: [{
16639
+ providedIn: 'root'
16640
+ }]
16641
+ }], ctorParameters: function () { return []; } });
16642
+
16643
+ class ChartAccountsValueService extends DataService {
16644
+ constructor() {
16645
+ super();
16646
+ this.modelClass = ChartAccountsValue;
16647
+ this.collectionClass = Collection;
16648
+ this.setCache(ChartAccountsValues);
16649
+ }
16650
+ /**
16651
+ * $ amount u can claim per 1km
16652
+ */
16653
+ getKmsRate(isSole) {
16654
+ const chartAccountsId = isSole ? ChartAccountsListEnum.KLMS_TRAVELLED : ChartAccountsListEnum.KLMS_TRAVELLED_FOR_WORK;
16655
+ return this.getCache().find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
16656
+ }
16657
+ }
16658
+ ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16659
+ ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
16660
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, decorators: [{
16573
16661
  type: Injectable,
16574
16662
  args: [{
16575
16663
  providedIn: 'root'
@@ -16789,9 +16877,9 @@ class AccountSetupService {
16789
16877
  return this.create(AccountSetupItemsEnum.BANK_FEEDS, this.bankAccountsService.getArray());
16790
16878
  }
16791
16879
  }
16792
- AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", 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 });
16793
- AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
16794
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, decorators: [{
16880
+ 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 });
16881
+ AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
16882
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, decorators: [{
16795
16883
  type: Injectable,
16796
16884
  args: [{
16797
16885
  providedIn: 'root'
@@ -16817,9 +16905,9 @@ class RewardfulService {
16817
16905
  });
16818
16906
  }
16819
16907
  }
16820
- RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16821
- RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, providedIn: 'root' });
16822
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, decorators: [{
16908
+ RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16909
+ RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, providedIn: 'root' });
16910
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, decorators: [{
16823
16911
  type: Injectable,
16824
16912
  args: [{
16825
16913
  providedIn: 'root'
@@ -16866,9 +16954,9 @@ class AssetsService {
16866
16954
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
16867
16955
  }
16868
16956
  }
16869
- AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16870
- AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, providedIn: 'root' });
16871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, decorators: [{
16957
+ 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 });
16958
+ AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, providedIn: 'root' });
16959
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, decorators: [{
16872
16960
  type: Injectable,
16873
16961
  args: [{
16874
16962
  providedIn: 'root'
@@ -16929,9 +17017,9 @@ class BankTransactionCalculationService {
16929
17017
  return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
16930
17018
  }
16931
17019
  }
16932
- BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16933
- BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
16934
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
17020
+ BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17021
+ BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
17022
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
16935
17023
  type: Injectable,
16936
17024
  args: [{
16937
17025
  providedIn: 'root'
@@ -16960,9 +17048,9 @@ class BankAccountCalculationService {
16960
17048
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
16961
17049
  }
16962
17050
  }
16963
- BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
16964
- BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
16965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, decorators: [{
17051
+ BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
17052
+ BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
17053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, decorators: [{
16966
17054
  type: Injectable,
16967
17055
  args: [{
16968
17056
  providedIn: 'root'
@@ -16990,9 +17078,9 @@ class ExportFormatterService {
16990
17078
  }));
16991
17079
  }
16992
17080
  }
16993
- ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
16994
- ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
16995
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, decorators: [{
17081
+ 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 });
17082
+ ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
17083
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, decorators: [{
16996
17084
  type: Injectable,
16997
17085
  args: [{
16998
17086
  providedIn: 'root'
@@ -17013,9 +17101,9 @@ class HeaderTitleService {
17013
17101
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
17014
17102
  }
17015
17103
  }
17016
- HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
17017
- HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
17018
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, decorators: [{
17104
+ 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 });
17105
+ HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
17106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, decorators: [{
17019
17107
  type: Injectable,
17020
17108
  args: [{
17021
17109
  providedIn: 'root'
@@ -17049,9 +17137,9 @@ class IntercomService {
17049
17137
  window.Intercom('boot', connectionCredentials);
17050
17138
  }
17051
17139
  }
17052
- IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
17053
- IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, providedIn: 'root' });
17054
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, decorators: [{
17140
+ IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
17141
+ IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, providedIn: 'root' });
17142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, decorators: [{
17055
17143
  type: Injectable,
17056
17144
  args: [{
17057
17145
  providedIn: 'root'
@@ -17123,9 +17211,9 @@ class PdfFromDomElementService {
17123
17211
  .then((blob) => new File([blob], filename, { type: 'application/pdf' })));
17124
17212
  }
17125
17213
  }
17126
- PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17127
- PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
17128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, decorators: [{
17214
+ PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17215
+ PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
17216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, decorators: [{
17129
17217
  type: Injectable,
17130
17218
  args: [{
17131
17219
  providedIn: 'root'
@@ -17219,9 +17307,9 @@ class PdfFromTableService {
17219
17307
  .setTextColor(FILE_SETTINGS.text.colorPrimary);
17220
17308
  }
17221
17309
  }
17222
- PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17223
- PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
17224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, decorators: [{
17310
+ PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17311
+ PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
17312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, decorators: [{
17225
17313
  type: Injectable,
17226
17314
  args: [{
17227
17315
  providedIn: 'root'
@@ -17255,9 +17343,9 @@ class PdfFromDataTableService extends PdfFromTableService {
17255
17343
  return pdf;
17256
17344
  }
17257
17345
  }
17258
- PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
17259
- PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
17260
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, decorators: [{
17346
+ PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
17347
+ PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
17348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, decorators: [{
17261
17349
  type: Injectable,
17262
17350
  args: [{
17263
17351
  providedIn: 'root'
@@ -17290,9 +17378,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
17290
17378
  return pdf;
17291
17379
  }
17292
17380
  }
17293
- PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
17294
- PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
17295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
17381
+ PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
17382
+ PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
17383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
17296
17384
  type: Injectable,
17297
17385
  args: [{
17298
17386
  providedIn: 'root'
@@ -17319,9 +17407,9 @@ class EquityPositionChartService {
17319
17407
  }))));
17320
17408
  }
17321
17409
  }
17322
- EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
17323
- EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
17324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, decorators: [{
17410
+ 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 });
17411
+ EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
17412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, decorators: [{
17325
17413
  type: Injectable,
17326
17414
  args: [{
17327
17415
  providedIn: 'root'
@@ -17476,9 +17564,9 @@ class PropertyCalculationService {
17476
17564
  }
17477
17565
  }
17478
17566
  }
17479
- PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17480
- PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
17481
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, decorators: [{
17567
+ PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17568
+ PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
17569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, decorators: [{
17482
17570
  type: Injectable,
17483
17571
  args: [{
17484
17572
  providedIn: 'root'
@@ -17529,9 +17617,9 @@ class PropertyTransactionReportService {
17529
17617
  .getWithoutBorrowingExpenses()));
17530
17618
  }
17531
17619
  }
17532
- PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
17533
- PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
17534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
17620
+ 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 });
17621
+ PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
17622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
17535
17623
  type: Injectable,
17536
17624
  args: [{
17537
17625
  providedIn: 'root'
@@ -17599,9 +17687,9 @@ class TransactionCalculationService {
17599
17687
  return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
17600
17688
  }
17601
17689
  }
17602
- TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17603
- TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
17604
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, decorators: [{
17690
+ TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17691
+ TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
17692
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, decorators: [{
17605
17693
  type: Injectable,
17606
17694
  args: [{
17607
17695
  providedIn: 'root'
@@ -17661,9 +17749,9 @@ class LogbookBestPeriodService {
17661
17749
  });
17662
17750
  }
17663
17751
  }
17664
- LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
17665
- LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
17666
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
17752
+ 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 });
17753
+ LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
17754
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
17667
17755
  type: Injectable,
17668
17756
  args: [{
17669
17757
  providedIn: 'root'
@@ -17742,9 +17830,9 @@ class XlsxService {
17742
17830
  FileSaver.saveAs(data, `${fileName}.xlsx`);
17743
17831
  }
17744
17832
  }
17745
- XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17746
- XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, providedIn: 'root' });
17747
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, decorators: [{
17833
+ XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17834
+ XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, providedIn: 'root' });
17835
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, decorators: [{
17748
17836
  type: Injectable,
17749
17837
  args: [{
17750
17838
  providedIn: 'root'
@@ -20712,7 +20800,9 @@ class HoldingIncomeForm extends WorkTransactionForm {
20712
20800
  class DepreciationForm extends TransactionBaseForm {
20713
20801
  constructor(depreciation, registeredForGst) {
20714
20802
  super(depreciation, registeredForGst);
20715
- this.get('claimPercent').setValue(depreciation.currentYearForecast.claimPercent);
20803
+ if (depreciation.id) {
20804
+ this.get('claimPercent').setValue(depreciation.currentYearForecast.claimPercent);
20805
+ }
20716
20806
  this.addControl('isCloseBalanceCorrect', new UntypedFormControl(true));
20717
20807
  this.addControl('closeBalance', new UntypedFormControl({ value: depreciation.closeBalance || 0, disabled: true }, Validators.required));
20718
20808
  this.addControl('financialYear', new UntypedFormControl(depreciation.financialYear || new FinancialYear().year));
@@ -20904,5 +20994,5 @@ var MessagesEnum;
20904
20994
  * Generated bundle index. Do not edit.
20905
20995
  */
20906
20996
 
20907
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, taxReviewFilterPredicate, toArray };
20997
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, taxReviewFilterPredicate, toArray };
20908
20998
  //# sourceMappingURL=taxtank-core.mjs.map