taxtank-core 0.31.41 → 0.31.42

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 (175) hide show
  1. package/esm2020/lib/collections/property/property-category-movement.collection.mjs +2 -2
  2. package/esm2020/lib/db/Models/document/document.mjs +1 -1
  3. package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +3 -3
  4. package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +3 -3
  5. package/esm2020/lib/interceptors/corelogic-interceptor.mjs +3 -3
  6. package/esm2020/lib/interceptors/financial-year-interceptor.mjs +3 -3
  7. package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
  8. package/esm2020/lib/interceptors/jwt-interceptor.mjs +3 -3
  9. package/esm2020/lib/interceptors/preloader.interceptor.mjs +3 -3
  10. package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +3 -3
  11. package/esm2020/lib/interfaces/mp-trackable.interface.mjs +1 -1
  12. package/esm2020/lib/models/budget/budget.mjs +2 -2
  13. package/esm2020/lib/models/client/annual-client-details.mjs +2 -2
  14. package/esm2020/lib/models/client/client-income-types.mjs +2 -2
  15. package/esm2020/lib/models/depreciation/depreciation-capital-project.mjs +7 -1
  16. package/esm2020/lib/models/document/document-folder.mjs +4 -1
  17. package/esm2020/lib/models/document/document.mjs +4 -1
  18. package/esm2020/lib/models/endpoint/endpoints.const.mjs +5 -5
  19. package/esm2020/lib/models/property/property-category-movement.mjs +7 -1
  20. package/esm2020/lib/models/property/property-category.mjs +6 -1
  21. package/esm2020/lib/models/property/property-document.mjs +6 -1
  22. package/esm2020/lib/models/property/property-forecast.mjs +8 -2
  23. package/esm2020/lib/models/property/property-sale/property-sale.mjs +8 -1
  24. package/esm2020/lib/models/property/property-share.mjs +8 -2
  25. package/esm2020/lib/models/property/property-subscription.mjs +2 -2
  26. package/esm2020/lib/models/property/property-valuation.mjs +8 -2
  27. package/esm2020/lib/models/property/property.mjs +9 -1
  28. package/esm2020/lib/models/user/user.mjs +2 -2
  29. package/esm2020/lib/models/user-event/user-event-setting.mjs +2 -2
  30. package/esm2020/lib/pipes/app-currency.pipe.mjs +3 -3
  31. package/esm2020/lib/services/account-setup/account-setup.service.mjs +3 -3
  32. package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +3 -3
  33. package/esm2020/lib/services/asset/assets.service.mjs +3 -3
  34. package/esm2020/lib/services/auth/auth.service.mjs +3 -3
  35. package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
  36. package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
  37. package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +3 -3
  38. package/esm2020/lib/services/data.service.mjs +3 -3
  39. package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
  40. package/esm2020/lib/services/event/sse.service.mjs +3 -3
  41. package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
  42. package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
  43. package/esm2020/lib/services/http/address/address.service.mjs +3 -3
  44. package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +3 -3
  45. package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +6 -6
  46. package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +3 -3
  47. package/esm2020/lib/services/http/bank/bank.service.mjs +3 -3
  48. package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +3 -3
  49. package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +3 -3
  50. package/esm2020/lib/services/http/budget/budget.service.mjs +3 -3
  51. package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
  52. package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
  53. package/esm2020/lib/services/http/chat/chat.service.mjs +3 -3
  54. package/esm2020/lib/services/http/chat/message-document.service.mjs +3 -3
  55. package/esm2020/lib/services/http/chat/message.service.mjs +3 -3
  56. package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +3 -3
  57. package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +3 -3
  58. package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +17 -50
  59. package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +3 -3
  60. package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
  61. package/esm2020/lib/services/http/document/document.service.mjs +3 -3
  62. package/esm2020/lib/services/http/facebook/facebook.service.mjs +3 -3
  63. package/esm2020/lib/services/http/file/file.service.mjs +3 -3
  64. package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +3 -3
  65. package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +3 -3
  66. package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
  67. package/esm2020/lib/services/http/firm/employee/employee.service.mjs +3 -3
  68. package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
  69. package/esm2020/lib/services/http/firm/firm.service.mjs +3 -3
  70. package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +3 -3
  71. package/esm2020/lib/services/http/google/google.service.mjs +3 -3
  72. package/esm2020/lib/services/http/holding/holding-sale.service.mjs +3 -3
  73. package/esm2020/lib/services/http/holding/holding-type.service.mjs +3 -3
  74. package/esm2020/lib/services/http/holding/holding.service.mjs +3 -3
  75. package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +3 -3
  76. package/esm2020/lib/services/http/income-source/income-source.service.mjs +3 -3
  77. package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +3 -3
  78. package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
  79. package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +3 -3
  80. package/esm2020/lib/services/http/loan/loan.service.mjs +3 -3
  81. package/esm2020/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +3 -3
  82. package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +3 -3
  83. package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +6 -6
  84. package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +3 -3
  85. package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
  86. package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +13 -5
  87. package/esm2020/lib/services/http/property/property-valuation/property-valuation.service.mjs +8 -8
  88. package/esm2020/lib/services/http/property/property.service.mjs +22 -5
  89. package/esm2020/lib/services/http/rest/rest-old.service.mjs +3 -3
  90. package/esm2020/lib/services/http/rest/rest.service.mjs +21 -21
  91. package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +3 -3
  92. package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
  93. package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
  94. package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
  95. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
  96. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -3
  97. package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
  98. package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
  99. package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
  100. package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +3 -3
  101. package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
  102. package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
  103. package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +3 -3
  104. package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
  105. package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
  106. package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +3 -3
  107. package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +3 -3
  108. package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
  109. package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
  110. package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
  111. package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +3 -3
  112. package/esm2020/lib/services/http/transaction/transaction.service.mjs +3 -3
  113. package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +3 -3
  114. package/esm2020/lib/services/http/user/financial-year/financial-year.service.mjs +3 -3
  115. package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
  116. package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
  117. package/esm2020/lib/services/http/user/user.service.mjs +5 -5
  118. package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
  119. package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +3 -3
  120. package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -3
  121. package/esm2020/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +3 -3
  122. package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +3 -3
  123. package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
  124. package/esm2020/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +3 -3
  125. package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
  126. package/esm2020/lib/services/json/income-source/income-source-type.service.mjs +3 -3
  127. package/esm2020/lib/services/json/tax-exemption/tax-exemption.service.mjs +3 -3
  128. package/esm2020/lib/services/json/tax-return/tax-return-item.service.mjs +3 -3
  129. package/esm2020/lib/services/mixpanel/mixpanel.service.mjs +3 -3
  130. package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
  131. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
  132. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
  133. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
  134. package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
  135. package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +3 -3
  136. package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +3 -3
  137. package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
  138. package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +3 -3
  139. package/esm2020/lib/services/toast/toast.service.mjs +3 -3
  140. package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +3 -3
  141. package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
  142. package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +3 -3
  143. package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
  144. package/esm2020/lib/tt-core.module.mjs +4 -4
  145. package/esm2020/lib/validators/unique-email.validator.mjs +3 -3
  146. package/fesm2015/taxtank-core.mjs +616 -569
  147. package/fesm2015/taxtank-core.mjs.map +1 -1
  148. package/fesm2020/taxtank-core.mjs +621 -572
  149. package/fesm2020/taxtank-core.mjs.map +1 -1
  150. package/lib/collections/property/property-category-movement.collection.d.ts +1 -3
  151. package/lib/db/Models/document/document.d.ts +2 -6
  152. package/lib/interfaces/mp-trackable.interface.d.ts +2 -1
  153. package/lib/models/budget/budget.d.ts +1 -1
  154. package/lib/models/client/annual-client-details.d.ts +1 -1
  155. package/lib/models/client/client-income-types.d.ts +1 -1
  156. package/lib/models/depreciation/depreciation-capital-project.d.ts +7 -2
  157. package/lib/models/document/document-folder.d.ts +5 -1
  158. package/lib/models/document/document.d.ts +4 -2
  159. package/lib/models/property/property-category-movement.d.ts +7 -1
  160. package/lib/models/property/property-category.d.ts +5 -1
  161. package/lib/models/property/property-document.d.ts +6 -2
  162. package/lib/models/property/property-forecast.d.ts +7 -1
  163. package/lib/models/property/property-sale/property-sale.d.ts +7 -1
  164. package/lib/models/property/property-share.d.ts +7 -2
  165. package/lib/models/property/property-subscription.d.ts +1 -1
  166. package/lib/models/property/property-valuation.d.ts +7 -1
  167. package/lib/models/property/property.d.ts +8 -1
  168. package/lib/models/user/user.d.ts +1 -1
  169. package/lib/models/user-event/user-event-setting.d.ts +1 -1
  170. package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts +10 -13
  171. package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts +2 -2
  172. package/lib/services/http/property/property-share/property-share.service.d.ts +1 -1
  173. package/lib/services/http/property/property-valuation/property-valuation.service.d.ts +3 -3
  174. package/lib/services/http/rest/rest.service.d.ts +6 -6
  175. package/package.json +1 -1
@@ -72,9 +72,9 @@ class CorelogicService {
72
72
  .pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))));
73
73
  }
74
74
  }
75
- CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
76
- CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicService, providedIn: 'root' });
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicService, decorators: [{
75
+ 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 });
76
+ CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, providedIn: 'root' });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, decorators: [{
78
78
  type: Injectable,
79
79
  args: [{
80
80
  providedIn: 'root'
@@ -112,9 +112,9 @@ class CorelogicInterceptor {
112
112
  });
113
113
  }
114
114
  }
115
- CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
116
- CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor });
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", 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: [{
118
118
  type: Injectable
119
119
  }], ctorParameters: function () { return [{ type: CorelogicService }, { type: undefined, decorators: [{
120
120
  type: Inject,
@@ -151,9 +151,9 @@ class FinancialYearInterceptor {
151
151
  return next.handle(clonedReq);
152
152
  }
153
153
  }
154
- FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
155
- FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor });
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
154
+ FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
155
+ FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor });
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
157
157
  type: Injectable
158
158
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
159
159
  type: Inject,
@@ -206,9 +206,9 @@ class AddressService {
206
206
  return this.countriesSubject.asObservable();
207
207
  }
208
208
  }
209
- AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
210
- AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, providedIn: 'root' });
211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, decorators: [{
209
+ 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 });
210
+ AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, providedIn: 'root' });
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, decorators: [{
212
212
  type: Injectable,
213
213
  args: [{
214
214
  providedIn: 'root'
@@ -2287,6 +2287,12 @@ var DepreciationCalculationEnum;
2287
2287
  })(DepreciationCalculationEnum || (DepreciationCalculationEnum = {}));
2288
2288
 
2289
2289
  class DepreciationCapitalProject extends DepreciationCapitalProject$1 {
2290
+ getMpData(property) {
2291
+ return {
2292
+ 'Property': property.name,
2293
+ 'Name': this.projectName
2294
+ };
2295
+ }
2290
2296
  }
2291
2297
  __decorate([
2292
2298
  Type(() => Date)
@@ -3829,6 +3835,70 @@ __decorate([
3829
3835
  Type(() => Date)
3830
3836
  ], AssetSale.prototype, "date", void 0);
3831
3837
 
3838
+ var TaxExemptions = [
3839
+ {
3840
+ id: 1,
3841
+ name: "Apply 50% CGT Discount",
3842
+ description: "50% CGT discount applies when an investment property has been owned for more than 12 months (contract date to contract date). Foreign residents are not eligible",
3843
+ metaFields: [
3844
+ ]
3845
+ },
3846
+ {
3847
+ id: 2,
3848
+ name: "Full Exemption (Principle place of residence)",
3849
+ description: "Your 'main residence' (home) is generally exempt from capital gains tax (CGT). You're not entitled to the exemption for a vacant block of land. Foreign residents are also excluded in most circumstances",
3850
+ metaFields: [
3851
+ ]
3852
+ },
3853
+ {
3854
+ id: 3,
3855
+ name: "Full Exemption (6 year rule)",
3856
+ description: "You can nominate an investment property as your main residence for up to 6 years if it is used to produce income, or indefinitely if it is not used to produce income. However, you can not treat any other dwelling as your main residence for the same period",
3857
+ metaFields: [
3858
+ ]
3859
+ },
3860
+ {
3861
+ id: 4,
3862
+ name: "Partial exemption (investment property became your main residence)",
3863
+ description: "The number of days the dwelling was not your main residence, and the total ownership days are used to calculate the taxable portion of any CGT",
3864
+ metaFields: [
3865
+ {
3866
+ id: 1,
3867
+ name: "Total amount of days the property was your main residence"
3868
+ }
3869
+ ]
3870
+ },
3871
+ {
3872
+ id: 5,
3873
+ name: "Main Residence became your 'investment property' or 'home office'",
3874
+ description: "The market value at the time a principle place of residence became an investment property, or is used as a home business, becomes the adjusted cost base. The percentage of home office use (if applicable) is then applied",
3875
+ metaFields: [
3876
+ {
3877
+ id: 2,
3878
+ name: "Market Value"
3879
+ },
3880
+ {
3881
+ id: 2,
3882
+ name: "Home office percentage claimed"
3883
+ }
3884
+ ]
3885
+ },
3886
+ {
3887
+ id: 6,
3888
+ name: "Property transfer (Relationship Breakdown)",
3889
+ description: "If you transfer an asset to your spouse because of a relationship breakdown a 'rollover' generally applies. This means the transferor spouse disregards any capital gain or loss that would otherwise arise",
3890
+ metaFields: [
3891
+ ]
3892
+ },
3893
+ {
3894
+ id: 7,
3895
+ name: "Full exemption (Other)",
3896
+ description: "In some other instances a full exemption may apply, for example pre-CGT assets and some inheritance",
3897
+ metaFields: [
3898
+ ]
3899
+ }
3900
+ ];
3901
+
3832
3902
  class PropertySale extends AssetSale {
3833
3903
  get saleCostsTotalAmount() {
3834
3904
  return this.commission + this.legalFees + this.otherCost;
@@ -3843,6 +3913,12 @@ class PropertySale extends AssetSale {
3843
3913
  get netPrice() {
3844
3914
  return this.price - this.saleCostsTotalAmount;
3845
3915
  }
3916
+ getMpData(property) {
3917
+ return {
3918
+ 'Property': property.name,
3919
+ 'Concession': TaxExemptions.find((taxExemption) => taxExemption.id === this.taxExemption.id).name
3920
+ };
3921
+ }
3846
3922
  }
3847
3923
  __decorate([
3848
3924
  Type(() => Number)
@@ -3878,12 +3954,30 @@ __decorate([
3878
3954
  Type(() => PropertySaleTaxExemptionMetaField$1)
3879
3955
  ], PropertySale.prototype, "taxExemptionMetaFields", void 0);
3880
3956
 
3881
- var UserStatusEnum;
3882
- (function (UserStatusEnum) {
3883
- UserStatusEnum[UserStatusEnum["INACTIVE"] = 0] = "INACTIVE";
3884
- UserStatusEnum[UserStatusEnum["ON_BOARDING"] = 1] = "ON_BOARDING";
3885
- UserStatusEnum[UserStatusEnum["ACTIVE"] = 2] = "ACTIVE";
3886
- })(UserStatusEnum || (UserStatusEnum = {}));
3957
+ var MyAccountHistoryInitiatedByEnum;
3958
+ (function (MyAccountHistoryInitiatedByEnum) {
3959
+ MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["OWNER"] = 0] = "OWNER";
3960
+ MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
3961
+ })(MyAccountHistoryInitiatedByEnum || (MyAccountHistoryInitiatedByEnum = {}));
3962
+
3963
+ var MyAccountHistoryStatusEnum;
3964
+ (function (MyAccountHistoryStatusEnum) {
3965
+ MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["SUCCESS"] = 0] = "SUCCESS";
3966
+ MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["ERROR"] = 1] = "ERROR";
3967
+ })(MyAccountHistoryStatusEnum || (MyAccountHistoryStatusEnum = {}));
3968
+
3969
+ var MyAccountHistoryTypeEnum;
3970
+ (function (MyAccountHistoryTypeEnum) {
3971
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["REVIEW"] = 0] = "REVIEW";
3972
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPGRADE_PLAN"] = 1] = "UPGRADE_PLAN";
3973
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
3974
+ })(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
3975
+
3976
+ class MyAccountHistory {
3977
+ }
3978
+
3979
+ class Occupation extends Occupation$1 {
3980
+ }
3887
3981
 
3888
3982
  var UserRolesEnum;
3889
3983
  (function (UserRolesEnum) {
@@ -3902,12 +3996,44 @@ var UserRolesEnum;
3902
3996
  UserRolesEnum["SWITCH_USER"] = "IS_IMPERSONATOR";
3903
3997
  })(UserRolesEnum || (UserRolesEnum = {}));
3904
3998
 
3999
+ /**
4000
+ * role hierarchy
4001
+ */
4002
+ const USER_ROLES = {
4003
+ ROLE_FIRM_OWNER: [UserRolesEnum.FIRM_OWNER, UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4004
+ ROLE_FIRM_MANAGER: [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4005
+ ROLE_EMPLOYEE: [UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4006
+ ROLE_ACCOUNTANT: [UserRolesEnum.ACCOUNTANT],
4007
+ ROLE_ADVISOR: [UserRolesEnum.ADVISOR],
4008
+ // @TODO makes no sense, these roles can't be hierarchical
4009
+ ROLE_CLIENT: [UserRolesEnum.CLIENT],
4010
+ ROLE_USER_SUBSCRIPTION: [UserRolesEnum.SUBSCRIPTION],
4011
+ ROLE_USER_WORK: [UserRolesEnum.WORK_TANK],
4012
+ ROLE_USER_PROPERTY: [UserRolesEnum.PROPERTY_TANK],
4013
+ ROLE_USER_SOLE: [UserRolesEnum.SOLE_TANK],
4014
+ ROLE_USER_HOLDING: [UserRolesEnum.HOLDING_TANK],
4015
+ ROLE_PREVIOUS_ADMIN: [UserRolesEnum.SWITCH_USER],
4016
+ };
4017
+
4018
+ /**
4019
+ * Class with basic information about registering user
4020
+ */
4021
+ class UserToRegister {
4022
+ }
4023
+
3905
4024
  const USER_WORK_POSITION = {
3906
4025
  [UserRolesEnum.EMPLOYEE]: 'Employee',
3907
4026
  [UserRolesEnum.FIRM_MANAGER]: 'Manager',
3908
4027
  [UserRolesEnum.FIRM_OWNER]: 'Firm Owner'
3909
4028
  };
3910
4029
 
4030
+ var UserStatusEnum;
4031
+ (function (UserStatusEnum) {
4032
+ UserStatusEnum[UserStatusEnum["INACTIVE"] = 0] = "INACTIVE";
4033
+ UserStatusEnum[UserStatusEnum["ON_BOARDING"] = 1] = "ON_BOARDING";
4034
+ UserStatusEnum[UserStatusEnum["ACTIVE"] = 2] = "ACTIVE";
4035
+ })(UserStatusEnum || (UserStatusEnum = {}));
4036
+
3911
4037
  class ClientDetails extends ClientDetails$1 {
3912
4038
  }
3913
4039
 
@@ -3920,7 +4046,7 @@ class AnnualClientDetails extends AbstractModel {
3920
4046
  get spouseMonthlyIncome() {
3921
4047
  return this.spouseAnnualIncome / 12;
3922
4048
  }
3923
- get mpData() {
4049
+ getMpData() {
3924
4050
  return {
3925
4051
  capitalLoss: this.capitalLoss,
3926
4052
  privateHealthCare: this.privateHealthCare,
@@ -3944,7 +4070,7 @@ class ClientIncomeTypes extends ClientIncomeTypes$1 {
3944
4070
  get length() {
3945
4071
  return Object.values(this).filter((value) => typeof value === 'boolean' && value).length;
3946
4072
  }
3947
- get mpData() {
4073
+ getMpData() {
3948
4074
  return { work: this.work, property: this.property, sole: this.sole, holding: this.holdings };
3949
4075
  }
3950
4076
  }
@@ -3987,56 +4113,6 @@ __decorate([
3987
4113
  Type(() => Country)
3988
4114
  ], Phone.prototype, "country", void 0);
3989
4115
 
3990
- var MyAccountHistoryInitiatedByEnum;
3991
- (function (MyAccountHistoryInitiatedByEnum) {
3992
- MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["OWNER"] = 0] = "OWNER";
3993
- MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
3994
- })(MyAccountHistoryInitiatedByEnum || (MyAccountHistoryInitiatedByEnum = {}));
3995
-
3996
- var MyAccountHistoryStatusEnum;
3997
- (function (MyAccountHistoryStatusEnum) {
3998
- MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["SUCCESS"] = 0] = "SUCCESS";
3999
- MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["ERROR"] = 1] = "ERROR";
4000
- })(MyAccountHistoryStatusEnum || (MyAccountHistoryStatusEnum = {}));
4001
-
4002
- var MyAccountHistoryTypeEnum;
4003
- (function (MyAccountHistoryTypeEnum) {
4004
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["REVIEW"] = 0] = "REVIEW";
4005
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPGRADE_PLAN"] = 1] = "UPGRADE_PLAN";
4006
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
4007
- })(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
4008
-
4009
- class MyAccountHistory {
4010
- }
4011
-
4012
- class Occupation extends Occupation$1 {
4013
- }
4014
-
4015
- /**
4016
- * role hierarchy
4017
- */
4018
- const USER_ROLES = {
4019
- ROLE_FIRM_OWNER: [UserRolesEnum.FIRM_OWNER, UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4020
- ROLE_FIRM_MANAGER: [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4021
- ROLE_EMPLOYEE: [UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4022
- ROLE_ACCOUNTANT: [UserRolesEnum.ACCOUNTANT],
4023
- ROLE_ADVISOR: [UserRolesEnum.ADVISOR],
4024
- // @TODO makes no sense, these roles can't be hierarchical
4025
- ROLE_CLIENT: [UserRolesEnum.CLIENT],
4026
- ROLE_USER_SUBSCRIPTION: [UserRolesEnum.SUBSCRIPTION],
4027
- ROLE_USER_WORK: [UserRolesEnum.WORK_TANK],
4028
- ROLE_USER_PROPERTY: [UserRolesEnum.PROPERTY_TANK],
4029
- ROLE_USER_SOLE: [UserRolesEnum.SOLE_TANK],
4030
- ROLE_USER_HOLDING: [UserRolesEnum.HOLDING_TANK],
4031
- ROLE_PREVIOUS_ADMIN: [UserRolesEnum.SWITCH_USER],
4032
- };
4033
-
4034
- /**
4035
- * Class with basic information about registering user
4036
- */
4037
- class UserToRegister {
4038
- }
4039
-
4040
4116
  var FirmTypeEnum;
4041
4117
  (function (FirmTypeEnum) {
4042
4118
  FirmTypeEnum[FirmTypeEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
@@ -5285,7 +5361,7 @@ class User extends User$1 {
5285
5361
  get financialYears() {
5286
5362
  return range(Math.min(FinancialYear.toFinYear(this.createdAt) - 1, 2022), FinancialYear.toFinYear(new Date()) + 1);
5287
5363
  }
5288
- get mpData() {
5364
+ getMpData() {
5289
5365
  return {
5290
5366
  clientDetails: {}
5291
5367
  };
@@ -5346,12 +5422,22 @@ class PropertyCategory extends PropertyCategory$1 {
5346
5422
  isShared() {
5347
5423
  return this.id === PropertyCategoryListEnum.SHARED;
5348
5424
  }
5425
+ getMpData() {
5426
+ return {
5427
+ 'Name': this.name
5428
+ };
5429
+ }
5349
5430
  }
5350
5431
 
5351
5432
  class PropertyDocument extends PropertyDocument$1 {
5352
5433
  get parent() {
5353
5434
  return this.property;
5354
5435
  }
5436
+ getMpData(property) {
5437
+ return {
5438
+ 'Property': property.name
5439
+ };
5440
+ }
5355
5441
  }
5356
5442
  __decorate([
5357
5443
  Type(() => Property)
@@ -5367,6 +5453,12 @@ class PropertyValuation extends PropertyValuation$1 {
5367
5453
  isCurrentYear() {
5368
5454
  return this.financialYear === new FinancialYear(new Date()).year;
5369
5455
  }
5456
+ getMpData(property) {
5457
+ return {
5458
+ 'Property': property.name,
5459
+ 'Date': this.date
5460
+ };
5461
+ }
5370
5462
  }
5371
5463
  __decorate([
5372
5464
  Type(() => Date)
@@ -5410,6 +5502,12 @@ class PropertyForecast extends PropertyForecast$1 {
5410
5502
  isCurrentYear() {
5411
5503
  return this.financialYear === new FinancialYear(new Date()).year;
5412
5504
  }
5505
+ getMpData(property) {
5506
+ return {
5507
+ 'Property': property.name,
5508
+ 'Financial Year': this.financialYear,
5509
+ };
5510
+ }
5413
5511
  }
5414
5512
  __decorate([
5415
5513
  Transform(({ value }) => +value)
@@ -5431,6 +5529,12 @@ __decorate([
5431
5529
  ], PropertyForecast.prototype, "marketValue", void 0);
5432
5530
 
5433
5531
  class PropertyCategoryMovement extends PropertyCategoryMovement$1 {
5532
+ getMpData(property) {
5533
+ return {
5534
+ 'Property': property.name,
5535
+ 'Category': this.propertyCategory.name
5536
+ };
5537
+ }
5434
5538
  }
5435
5539
  __decorate([
5436
5540
  Type(() => PropertyValuation)
@@ -5630,6 +5734,14 @@ class Property extends Property$1 {
5630
5734
  get monthlyExpense() {
5631
5735
  return this.currentYearForecast.expense / 12;
5632
5736
  }
5737
+ getMpData() {
5738
+ return {
5739
+ 'Category': this.category.name,
5740
+ 'Taxable': this.category.isTaxInclusive ? 'Yes' : 'No',
5741
+ 'Shared': this.isShared ? 'Yes' : 'No',
5742
+ 'Ownership %': `${this.myShare.percent}%`
5743
+ };
5744
+ }
5633
5745
  }
5634
5746
  /**
5635
5747
  * Property acquired before 20 September 1985 will generally be treated as pre-Capital Gains Tax (CGT) assets.
@@ -5993,6 +6105,12 @@ class PropertyShare extends PropertyShare$1 {
5993
6105
  get userName() {
5994
6106
  return this.user ? this.user.fullName : `${this.invite.firstName}`;
5995
6107
  }
6108
+ getMpData() {
6109
+ return {
6110
+ 'Property': this.property.name,
6111
+ 'User': this.user.email
6112
+ };
6113
+ }
5996
6114
  }
5997
6115
  __decorate([
5998
6116
  Type(() => Date)
@@ -9870,12 +9988,18 @@ __decorate([
9870
9988
  ], Notification.prototype, "redirectionLink", void 0);
9871
9989
 
9872
9990
  class DocumentFolder extends DocumentFolder$1 {
9991
+ getMpData() {
9992
+ return { 'Name': this.name };
9993
+ }
9873
9994
  }
9874
9995
 
9875
9996
  class Document extends Document$1 {
9876
9997
  get parent() {
9877
9998
  return this.folder;
9878
9999
  }
10000
+ getMpData() {
10001
+ return {};
10002
+ }
9879
10003
  }
9880
10004
  __decorate([
9881
10005
  Type(() => DocumentFolder)
@@ -10107,7 +10231,7 @@ class Budget extends Budget$1 {
10107
10231
  get rulesCollection() {
10108
10232
  return new Collection(this.rules);
10109
10233
  }
10110
- get mpData() {
10234
+ getMpData() {
10111
10235
  return {};
10112
10236
  }
10113
10237
  }
@@ -10253,9 +10377,9 @@ class DataService {
10253
10377
  this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
10254
10378
  }
10255
10379
  }
10256
- DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10257
- DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, providedIn: 'root' });
10258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, decorators: [{
10380
+ DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10381
+ DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, providedIn: 'root' });
10382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, decorators: [{
10259
10383
  type: Injectable,
10260
10384
  args: [{
10261
10385
  providedIn: 'root'
@@ -10294,9 +10418,9 @@ class MixpanelService {
10294
10418
  mixpanel.track(event, properties);
10295
10419
  }
10296
10420
  }
10297
- MixpanelService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10298
- MixpanelService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, providedIn: 'root' });
10299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, decorators: [{
10421
+ MixpanelService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10422
+ MixpanelService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MixpanelService, providedIn: 'root' });
10423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MixpanelService, decorators: [{
10300
10424
  type: Injectable,
10301
10425
  args: [{
10302
10426
  providedIn: 'root'
@@ -10334,9 +10458,9 @@ class EventDispatcherService {
10334
10458
  this.eventSubject2.next(event);
10335
10459
  }
10336
10460
  }
10337
- EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10338
- EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
10339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, decorators: [{
10461
+ EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10462
+ EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
10463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, decorators: [{
10340
10464
  type: Injectable,
10341
10465
  args: [{
10342
10466
  providedIn: 'root'
@@ -10371,9 +10495,9 @@ class JwtService extends JwtHelperService {
10371
10495
  return this.getUser().id === userId;
10372
10496
  }
10373
10497
  }
10374
- JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10375
- JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, providedIn: 'root' });
10376
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, decorators: [{
10498
+ JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10499
+ JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, providedIn: 'root' });
10500
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, decorators: [{
10377
10501
  type: Injectable,
10378
10502
  args: [{
10379
10503
  providedIn: 'root'
@@ -10410,9 +10534,9 @@ class SseService {
10410
10534
  .pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
10411
10535
  }
10412
10536
  }
10413
- SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10414
- SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, providedIn: 'root' });
10415
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, decorators: [{
10537
+ 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 });
10538
+ SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, providedIn: 'root' });
10539
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, decorators: [{
10416
10540
  type: Injectable,
10417
10541
  args: [{
10418
10542
  providedIn: 'root'
@@ -10495,15 +10619,15 @@ let RestService$1 = class RestService extends DataService {
10495
10619
  /**
10496
10620
  * Create a new Model instance in database
10497
10621
  */
10498
- post(model, path = this.apiUrl) {
10622
+ post(model, mpData, path = this.apiUrl) {
10499
10623
  this.handleAccessError('post');
10500
10624
  return this.http.post(path, classToPlain(model))
10501
10625
  .pipe(map((response) => {
10502
10626
  const result = this.createModelInstance(response);
10503
- this.handleResponse([result], 'post');
10627
+ this.handleResponse([result], 'post', mpData);
10504
10628
  return result;
10505
10629
  }), catchError((error) => {
10506
- this.handleResponseError([model], 'post');
10630
+ this.handleResponseError([model], 'post', mpData);
10507
10631
  return throwError(error);
10508
10632
  }));
10509
10633
  }
@@ -10525,15 +10649,15 @@ let RestService$1 = class RestService extends DataService {
10525
10649
  /**
10526
10650
  * Change an existing Model instance in database
10527
10651
  */
10528
- put(model, path = `${this.apiUrl}/${model.id}`) {
10652
+ put(model, mpData, path = `${this.apiUrl}/${model.id}`) {
10529
10653
  this.handleAccessError('put');
10530
10654
  return this.http.put(path, classToPlain(model))
10531
10655
  .pipe(map((response) => {
10532
10656
  const result = this.createModelInstance(response);
10533
- this.handleResponse([result], 'put');
10657
+ this.handleResponse([result], 'put', mpData);
10534
10658
  return result;
10535
10659
  }), catchError((error) => {
10536
- this.handleResponseError([model], 'put');
10660
+ this.handleResponseError([model], 'put', mpData);
10537
10661
  return throwError(error);
10538
10662
  }));
10539
10663
  }
@@ -10555,13 +10679,13 @@ let RestService$1 = class RestService extends DataService {
10555
10679
  /**
10556
10680
  * Remove a Model instance from database
10557
10681
  */
10558
- delete(model) {
10682
+ delete(model, mpData) {
10559
10683
  this.handleAccessError('delete');
10560
10684
  return this.http.delete(`${this.apiUrl}/${model.id}`)
10561
10685
  .pipe(map(() => {
10562
- this.handleResponse([model], 'delete');
10686
+ this.handleResponse([model], 'delete', mpData);
10563
10687
  }), catchError((error) => {
10564
- this.handleResponseError([model], 'delete');
10688
+ this.handleResponseError([model], 'delete', mpData);
10565
10689
  return throwError(error);
10566
10690
  }));
10567
10691
  }
@@ -10578,23 +10702,23 @@ let RestService$1 = class RestService extends DataService {
10578
10702
  return throwError(error);
10579
10703
  }));
10580
10704
  }
10581
- track(response, method, postfix = '') {
10582
- // not other way to check interface
10583
- if ('mpData' in response[0]) {
10705
+ track(response, method, mpData, postfix = '') {
10706
+ // no other way to check interface
10707
+ if ('getMpData' in response[0]) {
10584
10708
  response.forEach((model) => {
10585
- this.mpService.track(`${method}${this.modelClass.name}${postfix}`, model['mpData']);
10709
+ this.mpService.track(`${method}${this.modelClass.name}${postfix}`, model['getMpData'](mpData));
10586
10710
  });
10587
10711
  }
10588
10712
  }
10589
- handleResponseError(response, method) {
10713
+ handleResponseError(response, method, mpData) {
10590
10714
  // @TODO error notification?
10591
- this.track(response, method, 'Error');
10715
+ this.track(response, method, mpData, 'Error');
10592
10716
  }
10593
10717
  /**
10594
10718
  * Handle response data - update cache and dispatch event if it is needed
10595
10719
  */
10596
- handleResponse(response, method) {
10597
- this.track(response, method);
10720
+ handleResponse(response, method, mpData) {
10721
+ this.track(response, method, mpData);
10598
10722
  if (this.getCache()) {
10599
10723
  this.updateCache(response, method);
10600
10724
  }
@@ -10664,9 +10788,9 @@ let RestService$1 = class RestService extends DataService {
10664
10788
  */
10665
10789
  listenEvents() { }
10666
10790
  };
10667
- RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10668
- RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, providedIn: 'root' });
10669
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, decorators: [{
10791
+ 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 });
10792
+ RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, providedIn: 'root' });
10793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, decorators: [{
10670
10794
  type: Injectable,
10671
10795
  args: [{
10672
10796
  providedIn: 'root'
@@ -10734,9 +10858,9 @@ class BankAccountService extends RestService$1 {
10734
10858
  });
10735
10859
  }
10736
10860
  }
10737
- BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10738
- BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, providedIn: 'root' });
10739
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, decorators: [{
10861
+ 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 });
10862
+ BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, providedIn: 'root' });
10863
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, decorators: [{
10740
10864
  type: Injectable,
10741
10865
  args: [{
10742
10866
  providedIn: 'root'
@@ -10831,9 +10955,9 @@ class ToastService {
10831
10955
  }));
10832
10956
  }
10833
10957
  }
10834
- ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10835
- ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, providedIn: 'root' });
10836
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, decorators: [{
10958
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10959
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, providedIn: 'root' });
10960
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, decorators: [{
10837
10961
  type: Injectable,
10838
10962
  args: [{
10839
10963
  providedIn: 'root'
@@ -10897,10 +11021,10 @@ class BankConnectionService extends RestService$1 {
10897
11021
  }));
10898
11022
  }
10899
11023
  activate(bankConnection) {
10900
- return this.put(bankConnection, `${this.apiUrl}/${bankConnection.id}/activate`);
11024
+ return this.put(bankConnection, null, `${this.apiUrl}/${bankConnection.id}/activate`);
10901
11025
  }
10902
11026
  deactivate(bankConnection) {
10903
- return this.put(bankConnection, `${this.apiUrl}/${bankConnection.id}/deactivate`);
11027
+ return this.put(bankConnection, null, `${this.apiUrl}/${bankConnection.id}/deactivate`);
10904
11028
  }
10905
11029
  /**
10906
11030
  * connection's status updated in background on backend, so reset cache required to inform user
@@ -10911,9 +11035,9 @@ class BankConnectionService extends RestService$1 {
10911
11035
  });
10912
11036
  }
10913
11037
  }
10914
- BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
10915
- BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
10916
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, decorators: [{
11038
+ 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 });
11039
+ BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
11040
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, decorators: [{
10917
11041
  type: Injectable,
10918
11042
  args: [{
10919
11043
  providedIn: 'root'
@@ -11026,9 +11150,9 @@ class BankTransactionService extends RestService$1 {
11026
11150
  });
11027
11151
  }
11028
11152
  }
11029
- BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11030
- BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
11031
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, decorators: [{
11153
+ BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11154
+ BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
11155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, decorators: [{
11032
11156
  type: Injectable,
11033
11157
  args: [{
11034
11158
  providedIn: 'root'
@@ -11060,9 +11184,9 @@ class BasiqTokenService extends RestService$1 {
11060
11184
  return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
11061
11185
  }
11062
11186
  }
11063
- BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11064
- BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
11065
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, decorators: [{
11187
+ BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11188
+ BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
11189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, decorators: [{
11066
11190
  type: Injectable,
11067
11191
  args: [{
11068
11192
  providedIn: 'root'
@@ -11188,9 +11312,9 @@ BasiqService.retrieveAccountsCheckInterval = 3000;
11188
11312
  * How long we will wait accounts retrieving, break after timeout if not retireved
11189
11313
  */
11190
11314
  BasiqService.retrieveAccountsTimeout = 20000;
11191
- BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
11192
- BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, providedIn: 'root' });
11193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, decorators: [{
11315
+ 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 });
11316
+ BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, providedIn: 'root' });
11317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, decorators: [{
11194
11318
  type: Injectable,
11195
11319
  args: [{
11196
11320
  providedIn: 'root'
@@ -11220,9 +11344,9 @@ class BankService extends RestService$1 {
11220
11344
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
11221
11345
  }
11222
11346
  }
11223
- BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11224
- BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, providedIn: 'root' });
11225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, decorators: [{
11347
+ BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11348
+ BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, providedIn: 'root' });
11349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, decorators: [{
11226
11350
  type: Injectable,
11227
11351
  args: [{
11228
11352
  providedIn: 'root'
@@ -11239,9 +11363,9 @@ class BudgetService extends RestService$1 {
11239
11363
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
11240
11364
  }
11241
11365
  }
11242
- BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11243
- BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, providedIn: 'root' });
11244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, decorators: [{
11366
+ BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11367
+ BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, providedIn: 'root' });
11368
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, decorators: [{
11245
11369
  type: Injectable,
11246
11370
  args: [{
11247
11371
  providedIn: 'root'
@@ -11269,9 +11393,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
11269
11393
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
11270
11394
  }
11271
11395
  }
11272
- ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11273
- ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
11274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
11396
+ ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11397
+ ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
11398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
11275
11399
  type: Injectable,
11276
11400
  args: [{
11277
11401
  providedIn: 'root'
@@ -11311,9 +11435,9 @@ class ChartAccountsService extends RestService$1 {
11311
11435
  }));
11312
11436
  }
11313
11437
  }
11314
- ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11315
- ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
11316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, decorators: [{
11438
+ ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11439
+ ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
11440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, decorators: [{
11317
11441
  type: Injectable,
11318
11442
  args: [{
11319
11443
  providedIn: 'root'
@@ -11382,9 +11506,9 @@ class ChatService extends RestService$1 {
11382
11506
  });
11383
11507
  }
11384
11508
  }
11385
- ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11386
- ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, providedIn: 'root' });
11387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, decorators: [{
11509
+ 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 });
11510
+ ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, providedIn: 'root' });
11511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, decorators: [{
11388
11512
  type: Injectable,
11389
11513
  args: [{
11390
11514
  providedIn: 'root'
@@ -11441,9 +11565,9 @@ class MessageService extends RestService$1 {
11441
11565
  });
11442
11566
  }
11443
11567
  }
11444
- MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11445
- MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, providedIn: 'root' });
11446
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, decorators: [{
11568
+ 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 });
11569
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, providedIn: 'root' });
11570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, decorators: [{
11447
11571
  type: Injectable,
11448
11572
  args: [{
11449
11573
  providedIn: 'root'
@@ -11512,9 +11636,9 @@ class MessageDocumentService extends RestService$1 {
11512
11636
  return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
11513
11637
  }
11514
11638
  }
11515
- MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11516
- MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
11517
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, decorators: [{
11639
+ MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11640
+ MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
11641
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, decorators: [{
11518
11642
  type: Injectable,
11519
11643
  args: [{
11520
11644
  providedIn: 'root'
@@ -11597,9 +11721,9 @@ class DepreciationService extends RestService$1 {
11597
11721
  });
11598
11722
  }
11599
11723
  }
11600
- DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11601
- DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, providedIn: 'root' });
11602
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, decorators: [{
11724
+ DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11725
+ DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, providedIn: 'root' });
11726
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, decorators: [{
11603
11727
  type: Injectable,
11604
11728
  args: [{
11605
11729
  providedIn: 'root'
@@ -11611,55 +11735,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
11611
11735
 
11612
11736
  /**
11613
11737
  * Service for work with DepreciationCapitalProjects
11738
+ * @TODO Alex: refactor with new rest when backend ready (TT-3571)
11614
11739
  */
11615
- class DepreciationCapitalProjectService {
11616
- constructor(http, environment) {
11617
- this.http = http;
11618
- this.environment = environment;
11619
- this.cacheSubject = new ReplaySubject(1);
11620
- }
11621
- get(propertyId) {
11622
- this.cacheSubject.next([]);
11623
- this.http.get(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects`)
11624
- .subscribe((capitalProjectsBase) => {
11625
- this.cache = capitalProjectsBase.map((capitalProjectBase) => plainToClass(DepreciationCapitalProject, capitalProjectBase));
11626
- this.cacheSubject.next(this.cache);
11627
- });
11628
- return this.cacheSubject.asObservable();
11629
- }
11630
- add(capitalProject, propertyId) {
11631
- return this.http.post(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects`, capitalProject)
11632
- .pipe(map((capitalProjectBase) => {
11633
- this.cache.push(plainToClass(DepreciationCapitalProject, capitalProjectBase));
11634
- this.cacheSubject.next(this.cache);
11635
- }));
11636
- }
11637
- update(capitalProject, propertyId) {
11638
- return this.http.put(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects/${capitalProject.id}`, capitalProject)
11639
- .pipe(map((capitalProjectBase) => {
11640
- replace(this.cache, plainToClass(DepreciationCapitalProject, capitalProjectBase));
11641
- this.cacheSubject.next(this.cache);
11642
- }));
11643
- }
11644
- delete(capitalProject, propertyId) {
11645
- return this.http.delete(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects/${capitalProject.id}`)
11646
- .pipe(map(() => {
11647
- this.cache = this.cache.filter((item) => capitalProject.id !== item.id);
11648
- this.cacheSubject.next(this.cache);
11649
- }));
11740
+ class DepreciationCapitalProjectService extends RestService$1 {
11741
+ constructor() {
11742
+ super(...arguments);
11743
+ this.modelClass = DepreciationCapitalProject;
11744
+ this.collectionClass = Collection;
11745
+ this.endpointUri = 'depreciation-capital-projects';
11746
+ this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
11650
11747
  }
11651
11748
  }
11652
- DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11653
- DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
11654
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
11749
+ DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11750
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
11751
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
11655
11752
  type: Injectable,
11656
11753
  args: [{
11657
11754
  providedIn: 'root'
11658
11755
  }]
11659
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
11660
- type: Inject,
11661
- args: ['environment']
11662
- }] }]; } });
11756
+ }] });
11663
11757
 
11664
11758
  var DocumentFolderMessagesEnum;
11665
11759
  (function (DocumentFolderMessagesEnum) {
@@ -11681,9 +11775,9 @@ class DocumentFolderService extends RestService$1 {
11681
11775
  this.disabledMethods = ['deleteBatch', 'postBatch', 'putBatch'];
11682
11776
  }
11683
11777
  }
11684
- DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11685
- DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
11686
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, decorators: [{
11778
+ DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11779
+ DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
11780
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, decorators: [{
11687
11781
  type: Injectable,
11688
11782
  args: [{
11689
11783
  providedIn: 'root'
@@ -11700,9 +11794,9 @@ class DocumentService extends RestService$1 {
11700
11794
  this.isApiPlatform = true;
11701
11795
  }
11702
11796
  }
11703
- DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11704
- DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, providedIn: 'root' });
11705
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, decorators: [{
11797
+ DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11798
+ DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, providedIn: 'root' });
11799
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, decorators: [{
11706
11800
  type: Injectable,
11707
11801
  args: [{
11708
11802
  providedIn: 'root'
@@ -11788,9 +11882,9 @@ FacebookService.authOptions = {
11788
11882
  auth_type: 'rerequest',
11789
11883
  return_scopes: true
11790
11884
  };
11791
- FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11792
- FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, providedIn: 'root' });
11793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, decorators: [{
11885
+ 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: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11886
+ FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, providedIn: 'root' });
11887
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, decorators: [{
11794
11888
  type: Injectable,
11795
11889
  args: [{
11796
11890
  providedIn: 'root'
@@ -11836,9 +11930,9 @@ class AuthService {
11836
11930
  location.replace(url);
11837
11931
  }
11838
11932
  }
11839
- AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11840
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, providedIn: 'root' });
11841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, decorators: [{
11933
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11934
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, providedIn: 'root' });
11935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, decorators: [{
11842
11936
  type: Injectable,
11843
11937
  args: [{
11844
11938
  providedIn: 'root'
@@ -11909,9 +12003,9 @@ class GoogleService {
11909
12003
  google.accounts.id.disableAutoSelect();
11910
12004
  }
11911
12005
  }
11912
- GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11913
- GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, providedIn: 'root' });
11914
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, decorators: [{
12006
+ 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: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12007
+ GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, providedIn: 'root' });
12008
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, decorators: [{
11915
12009
  type: Injectable,
11916
12010
  args: [{
11917
12011
  providedIn: 'root'
@@ -11945,9 +12039,9 @@ class FileService extends RestService$1 {
11945
12039
  return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
11946
12040
  }
11947
12041
  }
11948
- FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11949
- FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, providedIn: 'root' });
11950
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, decorators: [{
12042
+ FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12043
+ FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, providedIn: 'root' });
12044
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, decorators: [{
11951
12045
  type: Injectable,
11952
12046
  args: [{
11953
12047
  providedIn: 'root'
@@ -11964,9 +12058,9 @@ class ClientIncomeTypesService extends RestService$1 {
11964
12058
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
11965
12059
  }
11966
12060
  }
11967
- ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11968
- ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
11969
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
12061
+ ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12062
+ ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
12063
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
11970
12064
  type: Injectable,
11971
12065
  args: [{
11972
12066
  providedIn: 'root'
@@ -12179,9 +12273,9 @@ class RestService {
12179
12273
  */
12180
12274
  listenEvents() { }
12181
12275
  }
12182
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12183
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, providedIn: 'root' });
12184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, decorators: [{
12276
+ 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 });
12277
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, providedIn: 'root' });
12278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, decorators: [{
12185
12279
  type: Injectable,
12186
12280
  args: [{
12187
12281
  providedIn: 'root'
@@ -12301,9 +12395,9 @@ class ClientInviteService extends RestService {
12301
12395
  });
12302
12396
  }
12303
12397
  }
12304
- ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12305
- ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
12306
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, decorators: [{
12398
+ ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12399
+ ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
12400
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, decorators: [{
12307
12401
  type: Injectable,
12308
12402
  args: [{
12309
12403
  providedIn: 'root'
@@ -12392,9 +12486,9 @@ class ClientMovementService extends RestService {
12392
12486
  });
12393
12487
  }
12394
12488
  }
12395
- ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12396
- ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
12397
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, decorators: [{
12489
+ ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12490
+ ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
12491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, decorators: [{
12398
12492
  type: Injectable,
12399
12493
  args: [{
12400
12494
  providedIn: 'root'
@@ -12465,9 +12559,9 @@ class EmployeeService extends RestService {
12465
12559
  }));
12466
12560
  }
12467
12561
  }
12468
- EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12469
- EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, providedIn: 'root' });
12470
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, decorators: [{
12562
+ EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12563
+ EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, providedIn: 'root' });
12564
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, decorators: [{
12471
12565
  type: Injectable,
12472
12566
  args: [{
12473
12567
  providedIn: 'root'
@@ -12517,9 +12611,9 @@ class EmployeeInviteService extends RestService {
12517
12611
  }));
12518
12612
  }
12519
12613
  }
12520
- EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12521
- EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
12522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, decorators: [{
12614
+ EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12615
+ EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
12616
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, decorators: [{
12523
12617
  type: Injectable,
12524
12618
  args: [{
12525
12619
  providedIn: 'root'
@@ -12544,9 +12638,9 @@ class ClientPortfolioReportService {
12544
12638
  }));
12545
12639
  }
12546
12640
  }
12547
- ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12548
- ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
12549
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
12641
+ 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 });
12642
+ ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
12643
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
12550
12644
  type: Injectable,
12551
12645
  args: [{
12552
12646
  providedIn: 'root'
@@ -12606,9 +12700,9 @@ class FirmService {
12606
12700
  return this.getAll().pipe(map((firms) => firms.filter((firm) => firm.type === type)));
12607
12701
  }
12608
12702
  }
12609
- FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12610
- FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, providedIn: 'root' });
12611
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, decorators: [{
12703
+ 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 });
12704
+ FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, providedIn: 'root' });
12705
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, decorators: [{
12612
12706
  type: Injectable,
12613
12707
  args: [{
12614
12708
  providedIn: 'root'
@@ -12682,9 +12776,9 @@ class IncomeSourceForecastService extends RestService {
12682
12776
  }).flat();
12683
12777
  }
12684
12778
  }
12685
- IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12686
- IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
12687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
12779
+ IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12780
+ IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
12781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
12688
12782
  type: Injectable,
12689
12783
  args: [{
12690
12784
  providedIn: 'root'
@@ -12754,9 +12848,9 @@ class SalaryForecastService extends RestService {
12754
12848
  }).flat();
12755
12849
  }
12756
12850
  }
12757
- SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12758
- SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
12759
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, decorators: [{
12851
+ SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12852
+ SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
12853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, decorators: [{
12760
12854
  type: Injectable,
12761
12855
  args: [{
12762
12856
  providedIn: 'root'
@@ -12832,9 +12926,9 @@ class SoleForecastService extends RestService {
12832
12926
  });
12833
12927
  }
12834
12928
  }
12835
- SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12836
- SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
12837
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, decorators: [{
12929
+ SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12930
+ SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
12931
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, decorators: [{
12838
12932
  type: Injectable,
12839
12933
  args: [{
12840
12934
  providedIn: 'root'
@@ -12913,9 +13007,9 @@ class IncomeSourceService extends RestService {
12913
13007
  });
12914
13008
  }
12915
13009
  }
12916
- IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12917
- IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
12918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, decorators: [{
13010
+ IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13011
+ IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
13012
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, decorators: [{
12919
13013
  type: Injectable,
12920
13014
  args: [{
12921
13015
  providedIn: 'root'
@@ -12976,9 +13070,9 @@ class BorrowingExpenseService {
12976
13070
  }));
12977
13071
  }
12978
13072
  }
12979
- BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12980
- BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
12981
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, decorators: [{
13073
+ 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 });
13074
+ BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
13075
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, decorators: [{
12982
13076
  type: Injectable,
12983
13077
  args: [{
12984
13078
  providedIn: 'root'
@@ -13058,9 +13152,9 @@ class LoanService extends RestService$1 {
13058
13152
  }));
13059
13153
  }
13060
13154
  }
13061
- LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13062
- LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, providedIn: 'root' });
13063
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, decorators: [{
13155
+ LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13156
+ LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, providedIn: 'root' });
13157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, decorators: [{
13064
13158
  type: Injectable,
13065
13159
  args: [{
13066
13160
  providedIn: 'root'
@@ -13077,9 +13171,9 @@ class BorrowingReportService extends RestService$1 {
13077
13171
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13078
13172
  }
13079
13173
  }
13080
- BorrowingReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13081
- BorrowingReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, providedIn: 'root' });
13082
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, decorators: [{
13174
+ BorrowingReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13175
+ BorrowingReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingReportService, providedIn: 'root' });
13176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingReportService, decorators: [{
13083
13177
  type: Injectable,
13084
13178
  args: [{
13085
13179
  providedIn: 'root'
@@ -13105,9 +13199,9 @@ class PropertyCategoryService extends RestService$1 {
13105
13199
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13106
13200
  }
13107
13201
  }
13108
- PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13109
- PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
13110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, decorators: [{
13202
+ PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13203
+ PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
13204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, decorators: [{
13111
13205
  type: Injectable,
13112
13206
  args: [{
13113
13207
  providedIn: 'root'
@@ -13122,13 +13216,13 @@ class PropertyCategoryMovementService extends RestService$1 {
13122
13216
  this.endpointUri = 'properties/category-movements';
13123
13217
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13124
13218
  }
13125
- post(movement) {
13126
- return super.post(movement, `${this.environment.apiV2}/properties/${movement.property.id}/category-movements`);
13219
+ post(movement, property) {
13220
+ return super.post(movement, property, `${this.environment.apiV2}/properties/${movement.property.id}/category-movements`);
13127
13221
  }
13128
13222
  }
13129
- PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13130
- PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
13131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
13223
+ PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13224
+ PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
13225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
13132
13226
  type: Injectable,
13133
13227
  args: [{
13134
13228
  providedIn: 'root'
@@ -13179,79 +13273,15 @@ class PropertyDocumentService extends RestService$1 {
13179
13273
  });
13180
13274
  }
13181
13275
  }
13182
- PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13183
- PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
13184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, decorators: [{
13276
+ PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13277
+ PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
13278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, decorators: [{
13185
13279
  type: Injectable,
13186
13280
  args: [{
13187
13281
  providedIn: 'root'
13188
13282
  }]
13189
13283
  }] });
13190
13284
 
13191
- var TaxExemptions = [
13192
- {
13193
- id: 1,
13194
- name: "Apply 50% CGT Discount",
13195
- description: "50% CGT discount applies when an investment property has been owned for more than 12 months (contract date to contract date). Foreign residents are not eligible",
13196
- metaFields: [
13197
- ]
13198
- },
13199
- {
13200
- id: 2,
13201
- name: "Full Exemption (Principle place of residence)",
13202
- description: "Your 'main residence' (home) is generally exempt from capital gains tax (CGT). You're not entitled to the exemption for a vacant block of land. Foreign residents are also excluded in most circumstances",
13203
- metaFields: [
13204
- ]
13205
- },
13206
- {
13207
- id: 3,
13208
- name: "Full Exemption (6 year rule)",
13209
- description: "You can nominate an investment property as your main residence for up to 6 years if it is used to produce income, or indefinitely if it is not used to produce income. However, you can not treat any other dwelling as your main residence for the same period",
13210
- metaFields: [
13211
- ]
13212
- },
13213
- {
13214
- id: 4,
13215
- name: "Partial exemption (investment property became your main residence)",
13216
- description: "The number of days the dwelling was not your main residence, and the total ownership days are used to calculate the taxable portion of any CGT",
13217
- metaFields: [
13218
- {
13219
- id: 1,
13220
- name: "Total amount of days the property was your main residence"
13221
- }
13222
- ]
13223
- },
13224
- {
13225
- id: 5,
13226
- name: "Main Residence became your 'investment property' or 'home office'",
13227
- description: "The market value at the time a principle place of residence became an investment property, or is used as a home business, becomes the adjusted cost base. The percentage of home office use (if applicable) is then applied",
13228
- metaFields: [
13229
- {
13230
- id: 2,
13231
- name: "Market Value"
13232
- },
13233
- {
13234
- id: 2,
13235
- name: "Home office percentage claimed"
13236
- }
13237
- ]
13238
- },
13239
- {
13240
- id: 6,
13241
- name: "Property transfer (Relationship Breakdown)",
13242
- description: "If you transfer an asset to your spouse because of a relationship breakdown a 'rollover' generally applies. This means the transferor spouse disregards any capital gain or loss that would otherwise arise",
13243
- metaFields: [
13244
- ]
13245
- },
13246
- {
13247
- id: 7,
13248
- name: "Full exemption (Other)",
13249
- description: "In some other instances a full exemption may apply, for example pre-CGT assets and some inheritance",
13250
- metaFields: [
13251
- ]
13252
- }
13253
- ];
13254
-
13255
13285
  class TaxExemptionService extends DataService {
13256
13286
  constructor() {
13257
13287
  super();
@@ -13260,9 +13290,9 @@ class TaxExemptionService extends DataService {
13260
13290
  this.setCache(TaxExemptions);
13261
13291
  }
13262
13292
  }
13263
- TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13264
- TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
13265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, decorators: [{
13293
+ TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13294
+ TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
13295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, decorators: [{
13266
13296
  type: Injectable,
13267
13297
  args: [{
13268
13298
  providedIn: 'root'
@@ -13278,9 +13308,9 @@ class PropertySaleService extends RestService$1 {
13278
13308
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13279
13309
  }
13280
13310
  }
13281
- PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13282
- PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
13283
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, decorators: [{
13311
+ PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13312
+ PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
13313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, decorators: [{
13284
13314
  type: Injectable,
13285
13315
  args: [{
13286
13316
  providedIn: 'root'
@@ -13309,7 +13339,13 @@ class PropertyShareService extends RestService$1 {
13309
13339
  * @param share user to share property
13310
13340
  */
13311
13341
  reinvite(share) {
13312
- return this.http.post(`${this.apiUrl}/${share.id}/reinvite`, {});
13342
+ return this.http.post(`${this.apiUrl}/${share.id}/reinvite`, {})
13343
+ .pipe(map(() => {
13344
+ this.mpService.track('reinvitePropertyShare', share.getMpData());
13345
+ }), catchError((error) => {
13346
+ this.mpService.track('reinvitePropertyShareError', share.getMpData());
13347
+ return throwError(error);
13348
+ }));
13313
13349
  }
13314
13350
  /**
13315
13351
  * Listen to User updated event
@@ -13326,9 +13362,9 @@ class PropertyShareService extends RestService$1 {
13326
13362
  this.listenCSE(PropertySale, ['post', 'delete'], this.refreshCache);
13327
13363
  }
13328
13364
  }
13329
- PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13330
- PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
13331
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, decorators: [{
13365
+ PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13366
+ PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
13367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, decorators: [{
13332
13368
  type: Injectable,
13333
13369
  args: [{
13334
13370
  providedIn: 'root'
@@ -13351,16 +13387,16 @@ class PropertyValuationService extends RestService$1 {
13351
13387
  return this.http.get(`${this.apiUrl}/${propertyId}/valuations`)
13352
13388
  .pipe(map((valuations) => new Collection(valuations.map((valuation) => plainToClass(PropertyValuation, valuation)))));
13353
13389
  }
13354
- post(valuation, propertyId) {
13355
- return super.post(valuation, `${this.apiUrl}/${propertyId}/valuations`);
13390
+ post(valuation, property) {
13391
+ return super.post(valuation, property, `${this.apiUrl}/${property.id}/valuations`);
13356
13392
  }
13357
- put(valuation, propertyId) {
13358
- return super.put(valuation, `${this.apiUrl}/${propertyId}/valuations/${valuation.id}`);
13393
+ put(valuation, property) {
13394
+ return super.put(valuation, property, `${this.apiUrl}/${property.id}/valuations/${valuation.id}`);
13359
13395
  }
13360
13396
  }
13361
- PropertyValuationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13362
- PropertyValuationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, providedIn: 'root' });
13363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, decorators: [{
13397
+ PropertyValuationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13398
+ PropertyValuationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyValuationService, providedIn: 'root' });
13399
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyValuationService, decorators: [{
13364
13400
  type: Injectable,
13365
13401
  args: [{
13366
13402
  providedIn: 'root'
@@ -13448,7 +13484,15 @@ class PropertyService extends RestService$1 {
13448
13484
  .pipe(map((propertySubscriptionBase) => {
13449
13485
  const newPropertySubscription = plainToClass(PropertySubscription, propertySubscriptionBase);
13450
13486
  const activatedProperty = plainToClass(Property, Object.assign({}, property, { subscriptions: [newPropertySubscription] }));
13487
+ this.mpService.track(`postPropertySubscription`, {
13488
+ 'Property': property.name,
13489
+ });
13451
13490
  this.updateCache([activatedProperty], 'put');
13491
+ }), catchError((error) => {
13492
+ this.mpService.track('postPropertySubscriptionError', {
13493
+ 'Property': property.name,
13494
+ });
13495
+ return throwError(error);
13452
13496
  }));
13453
13497
  }
13454
13498
  /**
@@ -13458,7 +13502,15 @@ class PropertyService extends RestService$1 {
13458
13502
  return this.http.delete(`${this.environment.apiV2}/property-subscriptions/${property.getCurrentSubscription().id}`)
13459
13503
  .pipe(map(() => {
13460
13504
  const deactivatedProperty = plainToClass(Property, Object.assign({}, property, { subscriptions: [] }));
13505
+ this.mpService.track(`deletePropertySubscription`, {
13506
+ 'Property': property.name,
13507
+ });
13461
13508
  this.updateCache([deactivatedProperty], 'put');
13509
+ }), catchError((error) => {
13510
+ this.mpService.track('deletePropertySubscriptionError', {
13511
+ 'Property': property.name,
13512
+ });
13513
+ return throwError(error);
13462
13514
  }));
13463
13515
  }
13464
13516
  /**
@@ -13473,9 +13525,9 @@ class PropertyService extends RestService$1 {
13473
13525
  }));
13474
13526
  }
13475
13527
  }
13476
- PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13477
- PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, providedIn: 'root' });
13478
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, decorators: [{
13528
+ PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13529
+ PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, providedIn: 'root' });
13530
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, decorators: [{
13479
13531
  type: Injectable,
13480
13532
  args: [{
13481
13533
  providedIn: 'root'
@@ -13529,9 +13581,9 @@ class ServiceNotificationService extends RestService {
13529
13581
  });
13530
13582
  }
13531
13583
  }
13532
- ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
13533
- ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
13534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, decorators: [{
13584
+ 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 });
13585
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
13586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, decorators: [{
13535
13587
  type: Injectable,
13536
13588
  args: [{
13537
13589
  providedIn: 'root'
@@ -13560,9 +13612,9 @@ class SoleBusinessService extends RestService {
13560
13612
  }));
13561
13613
  }
13562
13614
  }
13563
- SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13564
- SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
13565
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, decorators: [{
13615
+ SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13616
+ SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
13617
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, decorators: [{
13566
13618
  type: Injectable,
13567
13619
  args: [{
13568
13620
  providedIn: 'root'
@@ -13577,9 +13629,9 @@ class SoleBusinessActivityService extends RestService {
13577
13629
  this.isHydra = true;
13578
13630
  }
13579
13631
  }
13580
- SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13581
- SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
13582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
13632
+ SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13633
+ SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
13634
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
13583
13635
  type: Injectable,
13584
13636
  args: [{
13585
13637
  providedIn: 'root'
@@ -13605,9 +13657,9 @@ class SoleBusinessLossService extends RestService {
13605
13657
  });
13606
13658
  }
13607
13659
  }
13608
- SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13609
- SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
13610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, decorators: [{
13660
+ SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13661
+ SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
13662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, decorators: [{
13611
13663
  type: Injectable,
13612
13664
  args: [{
13613
13665
  providedIn: 'root'
@@ -13625,9 +13677,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
13625
13677
  this.isHydra = true;
13626
13678
  }
13627
13679
  }
13628
- SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13629
- SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
13630
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
13680
+ SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13681
+ SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
13682
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
13631
13683
  type: Injectable,
13632
13684
  args: [{
13633
13685
  providedIn: 'root'
@@ -13642,9 +13694,9 @@ class SoleContactService extends RestService {
13642
13694
  this.isHydra = true;
13643
13695
  }
13644
13696
  }
13645
- SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13646
- SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, providedIn: 'root' });
13647
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, decorators: [{
13697
+ SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13698
+ SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, providedIn: 'root' });
13699
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, decorators: [{
13648
13700
  type: Injectable,
13649
13701
  args: [{
13650
13702
  providedIn: 'root'
@@ -13700,9 +13752,9 @@ class SoleDepreciationMethodService {
13700
13752
  });
13701
13753
  }
13702
13754
  }
13703
- SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13704
- SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
13705
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
13755
+ 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 });
13756
+ SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
13757
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
13706
13758
  type: Injectable,
13707
13759
  args: [{
13708
13760
  providedIn: 'root'
@@ -13755,9 +13807,9 @@ class SoleDetailsService {
13755
13807
  }));
13756
13808
  }
13757
13809
  }
13758
- SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
13759
- SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
13760
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, decorators: [{
13810
+ 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 });
13811
+ SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
13812
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, decorators: [{
13761
13813
  type: Injectable,
13762
13814
  args: [{
13763
13815
  providedIn: 'root'
@@ -13831,9 +13883,9 @@ class SoleInvoiceService extends RestService {
13831
13883
  });
13832
13884
  }
13833
13885
  }
13834
- SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13835
- SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
13836
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, decorators: [{
13886
+ SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13887
+ SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
13888
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, decorators: [{
13837
13889
  type: Injectable,
13838
13890
  args: [{
13839
13891
  providedIn: 'root'
@@ -13848,9 +13900,9 @@ class SoleInvoiceTemplateService extends RestService {
13848
13900
  this.isHydra = true;
13849
13901
  }
13850
13902
  }
13851
- SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13852
- SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
13853
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
13903
+ SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13904
+ SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
13905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
13854
13906
  type: Injectable,
13855
13907
  args: [{
13856
13908
  providedIn: 'root'
@@ -13865,9 +13917,9 @@ class BasReportService extends RestService {
13865
13917
  this.isHydra = true;
13866
13918
  }
13867
13919
  }
13868
- BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13869
- BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, providedIn: 'root' });
13870
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, decorators: [{
13920
+ BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13921
+ BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, providedIn: 'root' });
13922
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, decorators: [{
13871
13923
  type: Injectable,
13872
13924
  args: [{
13873
13925
  providedIn: 'root'
@@ -13893,9 +13945,9 @@ class ServicePaymentService extends RestService$1 {
13893
13945
  return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
13894
13946
  }
13895
13947
  }
13896
- ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13897
- ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
13898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, decorators: [{
13948
+ ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13949
+ ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
13950
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, decorators: [{
13899
13951
  type: Injectable,
13900
13952
  args: [{
13901
13953
  providedIn: 'root'
@@ -13943,9 +13995,9 @@ class ServicePaymentMethodService extends RestService$1 {
13943
13995
  });
13944
13996
  }
13945
13997
  }
13946
- ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
13947
- ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
13948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
13998
+ 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 });
13999
+ ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
14000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
13949
14001
  type: Injectable,
13950
14002
  args: [{
13951
14003
  providedIn: 'root'
@@ -13968,9 +14020,9 @@ class ServicePriceService extends RestService$1 {
13968
14020
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
13969
14021
  }
13970
14022
  }
13971
- ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13972
- ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
13973
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, decorators: [{
14023
+ ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14024
+ ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
14025
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, decorators: [{
13974
14026
  type: Injectable,
13975
14027
  args: [{
13976
14028
  providedIn: 'root'
@@ -14099,9 +14151,9 @@ class SubscriptionService extends RestService$1 {
14099
14151
  });
14100
14152
  }
14101
14153
  }
14102
- SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14103
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
14104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, decorators: [{
14154
+ 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 });
14155
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
14156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, decorators: [{
14105
14157
  type: Injectable,
14106
14158
  args: [{
14107
14159
  providedIn: 'root'
@@ -14121,9 +14173,9 @@ class ServiceProductService extends RestService$1 {
14121
14173
  this.isApiPlatform = true;
14122
14174
  }
14123
14175
  }
14124
- ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14125
- ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
14126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, decorators: [{
14176
+ ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14177
+ ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
14178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, decorators: [{
14127
14179
  type: Injectable,
14128
14180
  args: [{
14129
14181
  providedIn: 'root'
@@ -14249,9 +14301,9 @@ class TaxReviewHistoryService extends RestService {
14249
14301
  });
14250
14302
  }
14251
14303
  }
14252
- TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14253
- TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
14254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
14304
+ TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14305
+ TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
14306
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
14255
14307
  type: Injectable,
14256
14308
  args: [{
14257
14309
  providedIn: 'root'
@@ -14340,9 +14392,9 @@ class TaxReviewService extends RestService {
14340
14392
  });
14341
14393
  }
14342
14394
  }
14343
- TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14344
- TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
14345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, decorators: [{
14395
+ TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14396
+ TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
14397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, decorators: [{
14346
14398
  type: Injectable,
14347
14399
  args: [{
14348
14400
  providedIn: 'root'
@@ -14633,9 +14685,9 @@ class TaxSummaryService {
14633
14685
  });
14634
14686
  }
14635
14687
  }
14636
- TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14637
- TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
14638
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, decorators: [{
14688
+ 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 });
14689
+ TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
14690
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, decorators: [{
14639
14691
  type: Injectable,
14640
14692
  args: [{
14641
14693
  providedIn: 'root'
@@ -14654,9 +14706,9 @@ class AllocationRuleService extends RestService$1 {
14654
14706
  this.isApiPlatform = true;
14655
14707
  }
14656
14708
  }
14657
- AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14658
- AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
14659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, decorators: [{
14709
+ AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14710
+ AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
14711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, decorators: [{
14660
14712
  type: Injectable,
14661
14713
  args: [{
14662
14714
  providedIn: 'root'
@@ -14746,9 +14798,9 @@ class TransactionAllocationService extends RestService {
14746
14798
  });
14747
14799
  }
14748
14800
  }
14749
- TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14750
- TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
14751
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, decorators: [{
14801
+ TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14802
+ TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
14803
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, decorators: [{
14752
14804
  type: Injectable,
14753
14805
  args: [{
14754
14806
  providedIn: 'root'
@@ -15005,9 +15057,9 @@ class TransactionService extends RestService {
15005
15057
  });
15006
15058
  }
15007
15059
  }
15008
- TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15009
- TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, providedIn: 'root' });
15010
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, decorators: [{
15060
+ 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 }], target: i0.ɵɵFactoryTarget.Injectable });
15061
+ TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, providedIn: 'root' });
15062
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, decorators: [{
15011
15063
  type: Injectable,
15012
15064
  args: [{
15013
15065
  providedIn: 'root'
@@ -15036,9 +15088,9 @@ class TutorialVideoService {
15036
15088
  }
15037
15089
  TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
15038
15090
  TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
15039
- TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15040
- TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15041
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, decorators: [{
15091
+ 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 });
15092
+ TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15093
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, decorators: [{
15042
15094
  type: Injectable,
15043
15095
  args: [{
15044
15096
  providedIn: 'root'
@@ -15059,9 +15111,9 @@ class VehicleService extends RestService$1 {
15059
15111
  this.modelClass = Vehicle;
15060
15112
  }
15061
15113
  }
15062
- VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15063
- VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, providedIn: 'root' });
15064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, decorators: [{
15114
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15115
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, providedIn: 'root' });
15116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, decorators: [{
15065
15117
  type: Injectable,
15066
15118
  args: [{
15067
15119
  providedIn: 'root'
@@ -15142,9 +15194,9 @@ class VehicleClaimService extends RestService {
15142
15194
  combineLatest(batch$).subscribe();
15143
15195
  }
15144
15196
  }
15145
- VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15146
- VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
15147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, decorators: [{
15197
+ VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15198
+ VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
15199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, decorators: [{
15148
15200
  type: Injectable,
15149
15201
  args: [{
15150
15202
  providedIn: 'root'
@@ -15221,9 +15273,9 @@ class VehicleClaimDetailsService {
15221
15273
  this.update(vehicleClaimDetails).subscribe();
15222
15274
  }
15223
15275
  }
15224
- VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
15225
- VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
15226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
15276
+ 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 });
15277
+ VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
15278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
15227
15279
  type: Injectable,
15228
15280
  args: [{
15229
15281
  providedIn: 'root'
@@ -15244,9 +15296,9 @@ class VehicleLogbookService extends RestService$1 {
15244
15296
  this.modelClass = VehicleLogbook;
15245
15297
  }
15246
15298
  }
15247
- VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15248
- VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
15249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, decorators: [{
15299
+ VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15300
+ VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
15301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, decorators: [{
15250
15302
  type: Injectable,
15251
15303
  args: [{
15252
15304
  providedIn: 'root'
@@ -15271,9 +15323,9 @@ class AnnualClientDetailsService extends RestService$1 {
15271
15323
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
15272
15324
  }
15273
15325
  }
15274
- AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15275
- AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
15276
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
15326
+ AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15327
+ AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
15328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
15277
15329
  type: Injectable,
15278
15330
  args: [{
15279
15331
  providedIn: 'root'
@@ -15304,9 +15356,9 @@ class OccupationService {
15304
15356
  return this.occupationsSubject.asObservable();
15305
15357
  }
15306
15358
  }
15307
- OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15308
- OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, providedIn: 'root' });
15309
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, decorators: [{
15359
+ 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 });
15360
+ OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, providedIn: 'root' });
15361
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, decorators: [{
15310
15362
  type: Injectable,
15311
15363
  args: [{
15312
15364
  providedIn: 'root'
@@ -15349,7 +15401,7 @@ class UserEventSetting extends UserEventSetting$1 {
15349
15401
  // flag indicates that the setting is updating now saved or not
15350
15402
  this.isUpdating = false;
15351
15403
  }
15352
- get mpData() {
15404
+ getMpData() {
15353
15405
  return { type: this.type.name, byEmail: this.byEmail, byNotification: this.byNotification, frequency: this.type.frequencyLabel };
15354
15406
  }
15355
15407
  }
@@ -15370,9 +15422,9 @@ class UserEventSettingService extends RestService$1 {
15370
15422
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
15371
15423
  }
15372
15424
  }
15373
- UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15374
- UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
15375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, decorators: [{
15425
+ UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15426
+ UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
15427
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, decorators: [{
15376
15428
  type: Injectable,
15377
15429
  args: [{
15378
15430
  providedIn: 'root'
@@ -15389,9 +15441,9 @@ class UserEventTypeService extends RestService$1 {
15389
15441
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
15390
15442
  }
15391
15443
  }
15392
- UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15393
- UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
15394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, decorators: [{
15444
+ UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15445
+ UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
15446
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, decorators: [{
15395
15447
  type: Injectable,
15396
15448
  args: [{
15397
15449
  providedIn: 'root'
@@ -15415,9 +15467,9 @@ class UsersInviteService extends RestService {
15415
15467
  this.url = 'users/invite';
15416
15468
  }
15417
15469
  }
15418
- UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15419
- UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
15420
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, decorators: [{
15470
+ UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15471
+ UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
15472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, decorators: [{
15421
15473
  type: Injectable,
15422
15474
  args: [{
15423
15475
  providedIn: 'root'
@@ -15507,7 +15559,7 @@ class UserService extends RestService$1 {
15507
15559
  return this.http.get(`${this.apiUrl}/search`, { params: { email } }).pipe(map((userBase) => this.createModelInstance(userBase)));
15508
15560
  }
15509
15561
  finishOnboarding(user) {
15510
- return this.put(user, `${this.apiUrl}/status`);
15562
+ return this.put(user, null, `${this.apiUrl}/status`);
15511
15563
  }
15512
15564
  updatePhoto(photo) {
15513
15565
  return this.http.post(`${this.apiUrl}/photo?_method=PUT`, photo).pipe(map((photoUrl) => {
@@ -15534,9 +15586,9 @@ class UserService extends RestService$1 {
15534
15586
  this.eventDispatcherService.on(AppEventTypeEnum.BASIQ_CONSENT_UPDATED).subscribe(() => this.refreshCache());
15535
15587
  }
15536
15588
  }
15537
- UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15538
- UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, providedIn: 'root' });
15539
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, decorators: [{
15589
+ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15590
+ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, providedIn: 'root' });
15591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, decorators: [{
15540
15592
  type: Injectable,
15541
15593
  args: [{
15542
15594
  providedIn: 'root'
@@ -15560,9 +15612,9 @@ class FinancialYearService {
15560
15612
  }));
15561
15613
  }
15562
15614
  }
15563
- FinancialYearService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: MixpanelService }], target: i0.ɵɵFactoryTarget.Injectable });
15564
- FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearService, providedIn: 'root' });
15565
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearService, decorators: [{
15615
+ FinancialYearService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: MixpanelService }], target: i0.ɵɵFactoryTarget.Injectable });
15616
+ FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearService, providedIn: 'root' });
15617
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearService, decorators: [{
15566
15618
  type: Injectable,
15567
15619
  args: [{
15568
15620
  providedIn: 'root'
@@ -15586,9 +15638,9 @@ class HoldingService extends RestService$1 {
15586
15638
  this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.refreshCache);
15587
15639
  }
15588
15640
  }
15589
- HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15590
- HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, providedIn: 'root' });
15591
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, decorators: [{
15641
+ HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15642
+ HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, providedIn: 'root' });
15643
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, decorators: [{
15592
15644
  type: Injectable,
15593
15645
  args: [{
15594
15646
  providedIn: 'root'
@@ -15605,9 +15657,9 @@ class HoldingTypeService extends RestService$1 {
15605
15657
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15606
15658
  }
15607
15659
  }
15608
- HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15609
- HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
15610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, decorators: [{
15660
+ HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15661
+ HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
15662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, decorators: [{
15611
15663
  type: Injectable,
15612
15664
  args: [{
15613
15665
  providedIn: 'root'
@@ -15624,9 +15676,9 @@ class HoldingSaleService extends RestService$1 {
15624
15676
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15625
15677
  }
15626
15678
  }
15627
- HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15628
- HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
15629
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, decorators: [{
15679
+ HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15680
+ HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
15681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, decorators: [{
15630
15682
  type: Injectable,
15631
15683
  args: [{
15632
15684
  providedIn: 'root'
@@ -15721,9 +15773,9 @@ class HoldingTypeExchangeService extends DataService {
15721
15773
  this.setCache(HoldingTypeExchanges);
15722
15774
  }
15723
15775
  }
15724
- HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15725
- HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
15726
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
15776
+ HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15777
+ HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
15778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
15727
15779
  type: Injectable,
15728
15780
  args: [{
15729
15781
  providedIn: 'root'
@@ -15827,9 +15879,9 @@ class IncomeSourceTypeService extends DataService {
15827
15879
  this.setCache(IncomeSourceTypes);
15828
15880
  }
15829
15881
  }
15830
- IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15831
- IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
15832
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
15882
+ IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15883
+ IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
15884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
15833
15885
  type: Injectable,
15834
15886
  args: [{
15835
15887
  providedIn: 'root'
@@ -15851,9 +15903,9 @@ class ChartAccountsValueService extends DataService {
15851
15903
  return this.getCache().find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
15852
15904
  }
15853
15905
  }
15854
- ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15855
- ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
15856
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, decorators: [{
15906
+ ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15907
+ ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
15908
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, decorators: [{
15857
15909
  type: Injectable,
15858
15910
  args: [{
15859
15911
  providedIn: 'root'
@@ -17943,9 +17995,9 @@ class TaxReturnItemService extends DataService {
17943
17995
  this.setCache(TaxReturnItems);
17944
17996
  }
17945
17997
  }
17946
- TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17947
- TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
17948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, decorators: [{
17998
+ TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17999
+ TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
18000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, decorators: [{
17949
18001
  type: Injectable,
17950
18002
  args: [{
17951
18003
  providedIn: 'root'
@@ -18165,9 +18217,9 @@ class AccountSetupService {
18165
18217
  return this.create(AccountSetupItemsEnum.BANK_FEEDS, this.bankAccountsService.getArray());
18166
18218
  }
18167
18219
  }
18168
- AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, deps: [{ token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }, { token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
18169
- AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
18170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, decorators: [{
18220
+ AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, deps: [{ token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }, { token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
18221
+ AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
18222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, decorators: [{
18171
18223
  type: Injectable,
18172
18224
  args: [{
18173
18225
  providedIn: 'root'
@@ -18193,9 +18245,9 @@ class RewardfulService {
18193
18245
  });
18194
18246
  }
18195
18247
  }
18196
- RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18197
- RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, providedIn: 'root' });
18198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, decorators: [{
18248
+ RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18249
+ RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, providedIn: 'root' });
18250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, decorators: [{
18199
18251
  type: Injectable,
18200
18252
  args: [{
18201
18253
  providedIn: 'root'
@@ -18231,9 +18283,9 @@ class UserSwitcherService {
18231
18283
  window.location.replace('/firm/dashboard');
18232
18284
  }
18233
18285
  }
18234
- UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18235
- UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
18236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, decorators: [{
18286
+ UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18287
+ UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
18288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, decorators: [{
18237
18289
  type: Injectable,
18238
18290
  args: [{
18239
18291
  providedIn: 'root'
@@ -18275,9 +18327,9 @@ class AssetsService {
18275
18327
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
18276
18328
  }
18277
18329
  }
18278
- AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18279
- AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, providedIn: 'root' });
18280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, decorators: [{
18330
+ 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 });
18331
+ AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, providedIn: 'root' });
18332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, decorators: [{
18281
18333
  type: Injectable,
18282
18334
  args: [{
18283
18335
  providedIn: 'root'
@@ -18336,9 +18388,9 @@ class BankTransactionCalculationService {
18336
18388
  return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
18337
18389
  }
18338
18390
  }
18339
- BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18340
- BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
18341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
18391
+ BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18392
+ BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
18393
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
18342
18394
  type: Injectable,
18343
18395
  args: [{
18344
18396
  providedIn: 'root'
@@ -18367,9 +18419,9 @@ class BankAccountCalculationService {
18367
18419
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
18368
18420
  }
18369
18421
  }
18370
- BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
18371
- BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
18372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, decorators: [{
18422
+ BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
18423
+ BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
18424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, decorators: [{
18373
18425
  type: Injectable,
18374
18426
  args: [{
18375
18427
  providedIn: 'root'
@@ -18397,9 +18449,9 @@ class ExportFormatterService {
18397
18449
  }));
18398
18450
  }
18399
18451
  }
18400
- ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
18401
- ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
18402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, decorators: [{
18452
+ 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 });
18453
+ ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
18454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, decorators: [{
18403
18455
  type: Injectable,
18404
18456
  args: [{
18405
18457
  providedIn: 'root'
@@ -18420,9 +18472,9 @@ class HeaderTitleService {
18420
18472
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
18421
18473
  }
18422
18474
  }
18423
- HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
18424
- HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
18425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, decorators: [{
18475
+ 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 });
18476
+ HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
18477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, decorators: [{
18426
18478
  type: Injectable,
18427
18479
  args: [{
18428
18480
  providedIn: 'root'
@@ -18456,9 +18508,9 @@ class IntercomService {
18456
18508
  window.Intercom('boot', connectionCredentials);
18457
18509
  }
18458
18510
  }
18459
- IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18460
- IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, providedIn: 'root' });
18461
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, decorators: [{
18511
+ IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18512
+ IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, providedIn: 'root' });
18513
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, decorators: [{
18462
18514
  type: Injectable,
18463
18515
  args: [{
18464
18516
  providedIn: 'root'
@@ -18528,9 +18580,9 @@ class PdfFromDomElementService {
18528
18580
  .then((blob) => new File([blob], filename, { type: 'application/pdf' })));
18529
18581
  }
18530
18582
  }
18531
- PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18532
- PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
18533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, decorators: [{
18583
+ PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18584
+ PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
18585
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, decorators: [{
18534
18586
  type: Injectable,
18535
18587
  args: [{
18536
18588
  providedIn: 'root'
@@ -18624,9 +18676,9 @@ class PdfFromTableService {
18624
18676
  .setTextColor(FILE_SETTINGS.text.colorPrimary);
18625
18677
  }
18626
18678
  }
18627
- PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18628
- PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
18629
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, decorators: [{
18679
+ PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18680
+ PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
18681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, decorators: [{
18630
18682
  type: Injectable,
18631
18683
  args: [{
18632
18684
  providedIn: 'root'
@@ -18665,9 +18717,9 @@ class PdfFromDataTableService extends PdfFromTableService {
18665
18717
  return pdf;
18666
18718
  }
18667
18719
  }
18668
- PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
18669
- PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
18670
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, decorators: [{
18720
+ PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
18721
+ PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
18722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, decorators: [{
18671
18723
  type: Injectable,
18672
18724
  args: [{
18673
18725
  providedIn: 'root'
@@ -18703,9 +18755,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
18703
18755
  return pdf;
18704
18756
  }
18705
18757
  }
18706
- PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18707
- PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
18708
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
18758
+ PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18759
+ PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
18760
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
18709
18761
  type: Injectable,
18710
18762
  args: [{
18711
18763
  providedIn: 'root'
@@ -18730,9 +18782,9 @@ class PreloaderService {
18730
18782
  this.activePreloaders.next(activePreloaders);
18731
18783
  }
18732
18784
  }
18733
- PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18734
- PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, providedIn: 'root' });
18735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, decorators: [{
18785
+ PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18786
+ PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, providedIn: 'root' });
18787
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, decorators: [{
18736
18788
  type: Injectable,
18737
18789
  args: [{
18738
18790
  providedIn: 'root'
@@ -18759,9 +18811,9 @@ class EquityPositionChartService {
18759
18811
  }))));
18760
18812
  }
18761
18813
  }
18762
- EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18763
- EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
18764
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, decorators: [{
18814
+ 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 });
18815
+ EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
18816
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, decorators: [{
18765
18817
  type: Injectable,
18766
18818
  args: [{
18767
18819
  providedIn: 'root'
@@ -18934,9 +18986,9 @@ class PropertyCalculationService {
18934
18986
  }
18935
18987
  }
18936
18988
  }
18937
- PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18938
- PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
18939
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, decorators: [{
18989
+ PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18990
+ PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
18991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, decorators: [{
18940
18992
  type: Injectable,
18941
18993
  args: [{
18942
18994
  providedIn: 'root'
@@ -18989,9 +19041,9 @@ class PropertyTransactionReportService {
18989
19041
  .getWithoutBorrowingExpenses()));
18990
19042
  }
18991
19043
  }
18992
- PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
18993
- PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
18994
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
19044
+ 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 });
19045
+ PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
19046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
18995
19047
  type: Injectable,
18996
19048
  args: [{
18997
19049
  providedIn: 'root'
@@ -19062,9 +19114,9 @@ class TransactionCalculationService {
19062
19114
  return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
19063
19115
  }
19064
19116
  }
19065
- TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19066
- TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
19067
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, decorators: [{
19117
+ TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19118
+ TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
19119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, decorators: [{
19068
19120
  type: Injectable,
19069
19121
  args: [{
19070
19122
  providedIn: 'root'
@@ -19124,9 +19176,9 @@ class LogbookBestPeriodService {
19124
19176
  });
19125
19177
  }
19126
19178
  }
19127
- LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
19128
- LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
19129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
19179
+ 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 });
19180
+ LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
19181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
19130
19182
  type: Injectable,
19131
19183
  args: [{
19132
19184
  providedIn: 'root'
@@ -19204,9 +19256,9 @@ class XlsxService {
19204
19256
  FileSaver.saveAs(data, `${fileName}.xlsx`);
19205
19257
  }
19206
19258
  }
19207
- XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19208
- XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, providedIn: 'root' });
19209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, decorators: [{
19259
+ XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19260
+ XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, providedIn: 'root' });
19261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, decorators: [{
19210
19262
  type: Injectable,
19211
19263
  args: [{
19212
19264
  providedIn: 'root'
@@ -19336,9 +19388,9 @@ class JwtInterceptor {
19336
19388
  });
19337
19389
  }
19338
19390
  }
19339
- JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19340
- JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor });
19341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor, decorators: [{
19391
+ 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 });
19392
+ JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor });
19393
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, decorators: [{
19342
19394
  type: Injectable
19343
19395
  }], ctorParameters: function () { return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
19344
19396
  type: Inject,
@@ -19373,9 +19425,9 @@ class UserSwitcherInterceptor {
19373
19425
  return next.handle(this.switch(request, this.userSwitcherService.get()));
19374
19426
  }
19375
19427
  }
19376
- UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19377
- UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor });
19378
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
19428
+ 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 });
19429
+ UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor });
19430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
19379
19431
  type: Injectable
19380
19432
  }], ctorParameters: function () { return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
19381
19433
  type: Inject,
@@ -19536,10 +19588,10 @@ const ENDPOINTS = {
19536
19588
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
19537
19589
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/depreciation-capital-projects\\/\\d+'),
19538
19590
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_DELETE: new Endpoint('DELETE', '\\/properties\\/\\d+\\/depreciation-capital-projects\\/\\d+'),
19539
- PROPERTIES_DOCUMENTS_GET: new Endpoint('GET', '\\/properties\\/documents'),
19540
- PROPERTIES_DOCUMENTS_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/documents'),
19541
- PROPERTIES_DOCUMENTS_PUT: new Endpoint('PUT', '\\/properties\\/documents\\/\\d+'),
19542
- PROPERTIES_DOCUMENTS_DELETE: new Endpoint('DELETE', '\\/properties\\/documents\\/\\d+'),
19591
+ PROPERTIES_DOCUMENTS_GET: new Endpoint('GET', '\\/property-documents'),
19592
+ PROPERTIES_DOCUMENTS_POST: new Endpoint('POST', '\\/property-documents'),
19593
+ PROPERTIES_DOCUMENTS_PUT: new Endpoint('PUT', '\\/property-documents\\/\\d+'),
19594
+ PROPERTIES_DOCUMENTS_DELETE: new Endpoint('DELETE', '\\/property-documents\\/\\d+'),
19543
19595
  PROPERTIES_PHOTO_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/photo\.\*'),
19544
19596
  PROPERTIES_SALES_GET: new Endpoint('GET', '\\/properties\\/sales'),
19545
19597
  PROPERTIES_SUGGESTIONS_GET: new Endpoint('GET', '/property\\/\\w+\\/v2\\/.*$'),
@@ -19662,9 +19714,9 @@ class PreloaderInterceptor {
19662
19714
  return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
19663
19715
  }
19664
19716
  }
19665
- PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
19666
- PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor });
19667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor, decorators: [{
19717
+ PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
19718
+ PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor });
19719
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, decorators: [{
19668
19720
  type: Injectable
19669
19721
  }], ctorParameters: function () { return [{ type: PreloaderService }]; } });
19670
19722
 
@@ -19690,9 +19742,9 @@ class BasiqTokenInterceptor {
19690
19742
  });
19691
19743
  }
19692
19744
  }
19693
- BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
19694
- BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor });
19695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
19745
+ BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
19746
+ BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor });
19747
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
19696
19748
  type: Injectable
19697
19749
  }], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
19698
19750
 
@@ -19716,17 +19768,17 @@ class BasiqClientIdInterceptor {
19716
19768
  });
19717
19769
  }
19718
19770
  }
19719
- BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
19720
- BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor });
19721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
19771
+ BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
19772
+ BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor });
19773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
19722
19774
  type: Injectable
19723
19775
  }], ctorParameters: function () { return [{ type: UserService }]; } });
19724
19776
 
19725
19777
  class InterceptorsModule {
19726
19778
  }
19727
- InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19728
- InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule });
19729
- InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, providers: [
19779
+ InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19780
+ InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule });
19781
+ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, providers: [
19730
19782
  {
19731
19783
  provide: HTTP_INTERCEPTORS,
19732
19784
  useClass: CorelogicInterceptor,
@@ -19764,7 +19816,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
19764
19816
  multi: true
19765
19817
  }
19766
19818
  ] });
19767
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, decorators: [{
19819
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, decorators: [{
19768
19820
  type: NgModule,
19769
19821
  args: [{
19770
19822
  providers: [
@@ -19825,12 +19877,12 @@ class TtCoreModule {
19825
19877
  };
19826
19878
  }
19827
19879
  }
19828
- TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19829
- TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19880
+ TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19881
+ TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19830
19882
  InterceptorsModule] });
19831
- TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19883
+ TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19832
19884
  InterceptorsModule] });
19833
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, decorators: [{
19885
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, decorators: [{
19834
19886
  type: NgModule,
19835
19887
  args: [{
19836
19888
  declarations: [],
@@ -19851,9 +19903,9 @@ class AppCurrencyPipe extends CurrencyPipe {
19851
19903
  return super.transform(value, currencyCode, display, digitsInfo, locale);
19852
19904
  }
19853
19905
  }
19854
- AppCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19855
- AppCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" });
19856
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, decorators: [{
19906
+ AppCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19907
+ AppCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" });
19908
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AppCurrencyPipe, decorators: [{
19857
19909
  type: Pipe,
19858
19910
  args: [{
19859
19911
  name: 'appCurrency',
@@ -20940,9 +20992,9 @@ class UniqueEmailValidator {
20940
20992
  return this.userService.search(control.value).pipe(delay(500), map((user) => user ? { emailIsUsed: true } : null), catchError(() => of(null)));
20941
20993
  }
20942
20994
  }
20943
- UniqueEmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
20944
- UniqueEmailValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' });
20945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, decorators: [{
20995
+ UniqueEmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
20996
+ UniqueEmailValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' });
20997
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UniqueEmailValidator, decorators: [{
20946
20998
  type: Injectable,
20947
20999
  args: [{ providedIn: 'root' }]
20948
21000
  }], ctorParameters: function () { return [{ type: UserService }]; } });
@@ -23640,9 +23692,6 @@ var MessagesEnum;
23640
23692
  })(MessagesEnum || (MessagesEnum = {}));
23641
23693
 
23642
23694
  // @TODO Alex: Create indexes everywhere and break this file to imports from indexes
23643
- /**
23644
- * Public API Surface of tt-core
23645
- */
23646
23695
 
23647
23696
  /**
23648
23697
  * Generated bundle index. Do not edit.