taxtank-core 0.31.41 → 0.31.43

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 (193) hide show
  1. package/esm2020/lib/collections/property/property-category-movement.collection.mjs +2 -2
  2. package/esm2020/lib/db/Enums/setup-item-type.enum.mjs +6 -0
  3. package/esm2020/lib/db/Models/document/document.mjs +1 -1
  4. package/esm2020/lib/db/Models/setup-item.mjs +4 -0
  5. package/esm2020/lib/db/Models/user/user.mjs +1 -1
  6. package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +3 -3
  7. package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +3 -3
  8. package/esm2020/lib/interceptors/corelogic-interceptor.mjs +3 -3
  9. package/esm2020/lib/interceptors/financial-year-interceptor.mjs +3 -3
  10. package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
  11. package/esm2020/lib/interceptors/jwt-interceptor.mjs +3 -3
  12. package/esm2020/lib/interceptors/preloader.interceptor.mjs +3 -3
  13. package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +3 -3
  14. package/esm2020/lib/interfaces/mp-trackable.interface.mjs +1 -1
  15. package/esm2020/lib/models/account-setup/account-setup-item.mjs +36 -9
  16. package/esm2020/lib/models/account-setup/account-setup-items.enum.mjs +14 -10
  17. package/esm2020/lib/models/budget/budget.mjs +2 -2
  18. package/esm2020/lib/models/client/annual-client-details.mjs +2 -2
  19. package/esm2020/lib/models/client/client-income-types.mjs +2 -2
  20. package/esm2020/lib/models/depreciation/depreciation-capital-project.mjs +7 -1
  21. package/esm2020/lib/models/document/document-folder.mjs +4 -1
  22. package/esm2020/lib/models/document/document.mjs +4 -1
  23. package/esm2020/lib/models/endpoint/endpoints.const.mjs +5 -5
  24. package/esm2020/lib/models/property/property-category-movement.mjs +7 -1
  25. package/esm2020/lib/models/property/property-category.mjs +6 -1
  26. package/esm2020/lib/models/property/property-document.mjs +6 -1
  27. package/esm2020/lib/models/property/property-forecast.mjs +8 -2
  28. package/esm2020/lib/models/property/property-sale/property-sale.mjs +8 -1
  29. package/esm2020/lib/models/property/property-share.mjs +8 -2
  30. package/esm2020/lib/models/property/property-subscription.mjs +2 -2
  31. package/esm2020/lib/models/property/property-valuation.mjs +8 -2
  32. package/esm2020/lib/models/property/property.mjs +9 -1
  33. package/esm2020/lib/models/user/user.mjs +10 -2
  34. package/esm2020/lib/models/user-event/user-event-setting.mjs +2 -2
  35. package/esm2020/lib/pipes/app-currency.pipe.mjs +3 -3
  36. package/esm2020/lib/services/account-setup/account-setup.service.mjs +88 -61
  37. package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +3 -3
  38. package/esm2020/lib/services/asset/assets.service.mjs +3 -3
  39. package/esm2020/lib/services/auth/auth.service.mjs +3 -3
  40. package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
  41. package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
  42. package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +3 -3
  43. package/esm2020/lib/services/data.service.mjs +3 -3
  44. package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
  45. package/esm2020/lib/services/event/sse.service.mjs +3 -3
  46. package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
  47. package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
  48. package/esm2020/lib/services/http/address/address.service.mjs +3 -3
  49. package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +3 -3
  50. package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +6 -6
  51. package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +3 -3
  52. package/esm2020/lib/services/http/bank/bank.service.mjs +3 -3
  53. package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +3 -3
  54. package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +3 -3
  55. package/esm2020/lib/services/http/budget/budget.service.mjs +3 -3
  56. package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
  57. package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
  58. package/esm2020/lib/services/http/chat/chat.service.mjs +3 -3
  59. package/esm2020/lib/services/http/chat/message-document.service.mjs +3 -3
  60. package/esm2020/lib/services/http/chat/message.service.mjs +3 -3
  61. package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +3 -3
  62. package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +3 -3
  63. package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +17 -50
  64. package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +3 -3
  65. package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
  66. package/esm2020/lib/services/http/document/document.service.mjs +3 -3
  67. package/esm2020/lib/services/http/facebook/facebook.service.mjs +3 -3
  68. package/esm2020/lib/services/http/file/file.service.mjs +3 -3
  69. package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +3 -3
  70. package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +3 -3
  71. package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
  72. package/esm2020/lib/services/http/firm/employee/employee.service.mjs +3 -3
  73. package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
  74. package/esm2020/lib/services/http/firm/firm.service.mjs +3 -3
  75. package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +3 -3
  76. package/esm2020/lib/services/http/google/google.service.mjs +3 -3
  77. package/esm2020/lib/services/http/holding/holding-sale.service.mjs +3 -3
  78. package/esm2020/lib/services/http/holding/holding-type.service.mjs +3 -3
  79. package/esm2020/lib/services/http/holding/holding.service.mjs +3 -3
  80. package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +3 -3
  81. package/esm2020/lib/services/http/income-source/income-source.service.mjs +3 -3
  82. package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +3 -3
  83. package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
  84. package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +3 -3
  85. package/esm2020/lib/services/http/loan/loan.service.mjs +3 -3
  86. package/esm2020/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +3 -3
  87. package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +3 -3
  88. package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +6 -6
  89. package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +3 -3
  90. package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
  91. package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +13 -5
  92. package/esm2020/lib/services/http/property/property-valuation/property-valuation.service.mjs +8 -8
  93. package/esm2020/lib/services/http/property/property.service.mjs +22 -5
  94. package/esm2020/lib/services/http/rest/rest-old.service.mjs +3 -3
  95. package/esm2020/lib/services/http/rest/rest.service.mjs +21 -21
  96. package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +3 -3
  97. package/esm2020/lib/services/http/setup-item/setup-item.service.mjs +24 -0
  98. package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
  99. package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
  100. package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
  101. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
  102. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -3
  103. package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
  104. package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
  105. package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
  106. package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +3 -3
  107. package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
  108. package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
  109. package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +3 -3
  110. package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
  111. package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
  112. package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +3 -3
  113. package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +3 -3
  114. package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
  115. package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
  116. package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
  117. package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +3 -3
  118. package/esm2020/lib/services/http/transaction/transaction.service.mjs +3 -3
  119. package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +3 -3
  120. package/esm2020/lib/services/http/user/financial-year/financial-year.service.mjs +3 -3
  121. package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
  122. package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
  123. package/esm2020/lib/services/http/user/user.service.mjs +11 -5
  124. package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
  125. package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +3 -3
  126. package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -3
  127. package/esm2020/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +3 -3
  128. package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +3 -3
  129. package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
  130. package/esm2020/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +3 -3
  131. package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
  132. package/esm2020/lib/services/json/income-source/income-source-type.service.mjs +3 -3
  133. package/esm2020/lib/services/json/tax-exemption/tax-exemption.service.mjs +3 -3
  134. package/esm2020/lib/services/json/tax-return/tax-return-item.service.mjs +3 -3
  135. package/esm2020/lib/services/mixpanel/mixpanel.service.mjs +3 -3
  136. package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
  137. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
  138. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
  139. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
  140. package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
  141. package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +3 -3
  142. package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +3 -3
  143. package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
  144. package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +3 -3
  145. package/esm2020/lib/services/toast/toast.service.mjs +3 -3
  146. package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +3 -3
  147. package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
  148. package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +3 -3
  149. package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
  150. package/esm2020/lib/tt-core.module.mjs +4 -4
  151. package/esm2020/lib/validators/unique-email.validator.mjs +3 -3
  152. package/esm2020/public-api.mjs +2 -1
  153. package/fesm2015/taxtank-core.mjs +785 -703
  154. package/fesm2015/taxtank-core.mjs.map +1 -1
  155. package/fesm2020/taxtank-core.mjs +790 -706
  156. package/fesm2020/taxtank-core.mjs.map +1 -1
  157. package/lib/collections/property/property-category-movement.collection.d.ts +1 -3
  158. package/lib/db/Enums/setup-item-type.enum.d.ts +4 -0
  159. package/lib/db/Models/document/document.d.ts +2 -6
  160. package/lib/db/Models/setup-item.d.ts +11 -0
  161. package/lib/db/Models/user/user.d.ts +2 -0
  162. package/lib/interfaces/mp-trackable.interface.d.ts +2 -1
  163. package/lib/models/account-setup/account-setup-item.d.ts +13 -13
  164. package/lib/models/account-setup/account-setup-items.enum.d.ts +13 -9
  165. package/lib/models/budget/budget.d.ts +1 -1
  166. package/lib/models/client/annual-client-details.d.ts +1 -1
  167. package/lib/models/client/client-income-types.d.ts +1 -1
  168. package/lib/models/depreciation/depreciation-capital-project.d.ts +7 -2
  169. package/lib/models/document/document-folder.d.ts +5 -1
  170. package/lib/models/document/document.d.ts +4 -2
  171. package/lib/models/property/property-category-movement.d.ts +7 -1
  172. package/lib/models/property/property-category.d.ts +5 -1
  173. package/lib/models/property/property-document.d.ts +6 -2
  174. package/lib/models/property/property-forecast.d.ts +7 -1
  175. package/lib/models/property/property-sale/property-sale.d.ts +7 -1
  176. package/lib/models/property/property-share.d.ts +7 -2
  177. package/lib/models/property/property-subscription.d.ts +1 -1
  178. package/lib/models/property/property-valuation.d.ts +7 -1
  179. package/lib/models/property/property.d.ts +8 -1
  180. package/lib/models/user/user.d.ts +3 -1
  181. package/lib/models/user-event/user-event-setting.d.ts +1 -1
  182. package/lib/services/account-setup/account-setup.service.d.ts +19 -15
  183. package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts +10 -13
  184. package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts +2 -2
  185. package/lib/services/http/property/property-share/property-share.service.d.ts +1 -1
  186. package/lib/services/http/property/property-valuation/property-valuation.service.d.ts +3 -3
  187. package/lib/services/http/rest/rest.service.d.ts +6 -6
  188. package/lib/services/http/setup-item/setup-item.service.d.ts +14 -0
  189. package/lib/services/http/user/user.service.d.ts +2 -0
  190. package/package.json +1 -1
  191. package/public-api.d.ts +1 -0
  192. package/esm2020/lib/models/account-setup/account-setup-items.const.mjs +0 -65
  193. package/lib/models/account-setup/account-setup-items.const.d.ts +0 -7
@@ -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.2.4", 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.4", ngImport: i0, type: CorelogicService, providedIn: 'root' });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, decorators: [{
78
78
  type: Injectable,
79
79
  args: [{
80
80
  providedIn: 'root'
@@ -114,9 +114,9 @@ class CorelogicInterceptor {
114
114
  });
115
115
  }
116
116
  }
117
- 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 });
118
- CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor });
119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor, decorators: [{
117
+ CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
118
+ CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor });
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, decorators: [{
120
120
  type: Injectable
121
121
  }], ctorParameters: function () {
122
122
  return [{ type: CorelogicService }, { type: undefined, decorators: [{
@@ -155,9 +155,9 @@ class FinancialYearInterceptor {
155
155
  return next.handle(clonedReq);
156
156
  }
157
157
  }
158
- FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
159
- FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor });
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
158
+ FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
159
+ FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor });
160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
161
161
  type: Injectable
162
162
  }], ctorParameters: function () {
163
163
  return [{ type: undefined, decorators: [{
@@ -212,9 +212,9 @@ class AddressService {
212
212
  return this.countriesSubject.asObservable();
213
213
  }
214
214
  }
215
- 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 });
216
- AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, providedIn: 'root' });
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, decorators: [{
215
+ AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
216
+ AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, providedIn: 'root' });
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, decorators: [{
218
218
  type: Injectable,
219
219
  args: [{
220
220
  providedIn: 'root'
@@ -2304,6 +2304,12 @@ var DepreciationCalculationEnum;
2304
2304
  })(DepreciationCalculationEnum || (DepreciationCalculationEnum = {}));
2305
2305
 
2306
2306
  class DepreciationCapitalProject extends DepreciationCapitalProject$1 {
2307
+ getMpData(property) {
2308
+ return {
2309
+ 'Property': property.name,
2310
+ 'Name': this.projectName
2311
+ };
2312
+ }
2307
2313
  }
2308
2314
  __decorate([
2309
2315
  Type(() => Date)
@@ -3849,6 +3855,65 @@ __decorate([
3849
3855
  Type(() => Date)
3850
3856
  ], AssetSale.prototype, "date", void 0);
3851
3857
 
3858
+ var TaxExemptions = [
3859
+ {
3860
+ id: 1,
3861
+ name: "Apply 50% CGT Discount",
3862
+ 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",
3863
+ metaFields: []
3864
+ },
3865
+ {
3866
+ id: 2,
3867
+ name: "Full Exemption (Principle place of residence)",
3868
+ 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",
3869
+ metaFields: []
3870
+ },
3871
+ {
3872
+ id: 3,
3873
+ name: "Full Exemption (6 year rule)",
3874
+ 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",
3875
+ metaFields: []
3876
+ },
3877
+ {
3878
+ id: 4,
3879
+ name: "Partial exemption (investment property became your main residence)",
3880
+ 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",
3881
+ metaFields: [
3882
+ {
3883
+ id: 1,
3884
+ name: "Total amount of days the property was your main residence"
3885
+ }
3886
+ ]
3887
+ },
3888
+ {
3889
+ id: 5,
3890
+ name: "Main Residence became your 'investment property' or 'home office'",
3891
+ 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",
3892
+ metaFields: [
3893
+ {
3894
+ id: 2,
3895
+ name: "Market Value"
3896
+ },
3897
+ {
3898
+ id: 2,
3899
+ name: "Home office percentage claimed"
3900
+ }
3901
+ ]
3902
+ },
3903
+ {
3904
+ id: 6,
3905
+ name: "Property transfer (Relationship Breakdown)",
3906
+ 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",
3907
+ metaFields: []
3908
+ },
3909
+ {
3910
+ id: 7,
3911
+ name: "Full exemption (Other)",
3912
+ description: "In some other instances a full exemption may apply, for example pre-CGT assets and some inheritance",
3913
+ metaFields: []
3914
+ }
3915
+ ];
3916
+
3852
3917
  class PropertySale extends AssetSale {
3853
3918
  get saleCostsTotalAmount() {
3854
3919
  return this.commission + this.legalFees + this.otherCost;
@@ -3864,6 +3929,12 @@ class PropertySale extends AssetSale {
3864
3929
  get netPrice() {
3865
3930
  return this.price - this.saleCostsTotalAmount;
3866
3931
  }
3932
+ getMpData(property) {
3933
+ return {
3934
+ 'Property': property.name,
3935
+ 'Concession': TaxExemptions.find((taxExemption) => taxExemption.id === this.taxExemption.id).name
3936
+ };
3937
+ }
3867
3938
  }
3868
3939
  __decorate([
3869
3940
  Type(() => Number)
@@ -3899,12 +3970,30 @@ __decorate([
3899
3970
  Type(() => PropertySaleTaxExemptionMetaField$1)
3900
3971
  ], PropertySale.prototype, "taxExemptionMetaFields", void 0);
3901
3972
 
3902
- var UserStatusEnum;
3903
- (function (UserStatusEnum) {
3904
- UserStatusEnum[UserStatusEnum["INACTIVE"] = 0] = "INACTIVE";
3905
- UserStatusEnum[UserStatusEnum["ON_BOARDING"] = 1] = "ON_BOARDING";
3906
- UserStatusEnum[UserStatusEnum["ACTIVE"] = 2] = "ACTIVE";
3907
- })(UserStatusEnum || (UserStatusEnum = {}));
3973
+ var MyAccountHistoryInitiatedByEnum;
3974
+ (function (MyAccountHistoryInitiatedByEnum) {
3975
+ MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["OWNER"] = 0] = "OWNER";
3976
+ MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
3977
+ })(MyAccountHistoryInitiatedByEnum || (MyAccountHistoryInitiatedByEnum = {}));
3978
+
3979
+ var MyAccountHistoryStatusEnum;
3980
+ (function (MyAccountHistoryStatusEnum) {
3981
+ MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["SUCCESS"] = 0] = "SUCCESS";
3982
+ MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["ERROR"] = 1] = "ERROR";
3983
+ })(MyAccountHistoryStatusEnum || (MyAccountHistoryStatusEnum = {}));
3984
+
3985
+ var MyAccountHistoryTypeEnum;
3986
+ (function (MyAccountHistoryTypeEnum) {
3987
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["REVIEW"] = 0] = "REVIEW";
3988
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPGRADE_PLAN"] = 1] = "UPGRADE_PLAN";
3989
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
3990
+ })(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
3991
+
3992
+ class MyAccountHistory {
3993
+ }
3994
+
3995
+ class Occupation extends Occupation$1 {
3996
+ }
3908
3997
 
3909
3998
  var UserRolesEnum;
3910
3999
  (function (UserRolesEnum) {
@@ -3923,12 +4012,44 @@ var UserRolesEnum;
3923
4012
  UserRolesEnum["SWITCH_USER"] = "IS_IMPERSONATOR";
3924
4013
  })(UserRolesEnum || (UserRolesEnum = {}));
3925
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
+
3926
4040
  const USER_WORK_POSITION = {
3927
4041
  [UserRolesEnum.EMPLOYEE]: 'Employee',
3928
4042
  [UserRolesEnum.FIRM_MANAGER]: 'Manager',
3929
4043
  [UserRolesEnum.FIRM_OWNER]: 'Firm Owner'
3930
4044
  };
3931
4045
 
4046
+ var UserStatusEnum;
4047
+ (function (UserStatusEnum) {
4048
+ UserStatusEnum[UserStatusEnum["INACTIVE"] = 0] = "INACTIVE";
4049
+ UserStatusEnum[UserStatusEnum["ON_BOARDING"] = 1] = "ON_BOARDING";
4050
+ UserStatusEnum[UserStatusEnum["ACTIVE"] = 2] = "ACTIVE";
4051
+ })(UserStatusEnum || (UserStatusEnum = {}));
4052
+
3932
4053
  class ClientDetails extends ClientDetails$1 {
3933
4054
  }
3934
4055
 
@@ -3941,7 +4062,7 @@ class AnnualClientDetails extends AbstractModel {
3941
4062
  get spouseMonthlyIncome() {
3942
4063
  return this.spouseAnnualIncome / 12;
3943
4064
  }
3944
- get mpData() {
4065
+ getMpData() {
3945
4066
  return {
3946
4067
  capitalLoss: this.capitalLoss,
3947
4068
  privateHealthCare: this.privateHealthCare,
@@ -3965,7 +4086,7 @@ class ClientIncomeTypes extends ClientIncomeTypes$1 {
3965
4086
  get length() {
3966
4087
  return Object.values(this).filter((value) => typeof value === 'boolean' && value).length;
3967
4088
  }
3968
- get mpData() {
4089
+ getMpData() {
3969
4090
  return { work: this.work, property: this.property, sole: this.sole, holding: this.holdings };
3970
4091
  }
3971
4092
  }
@@ -4008,56 +4129,6 @@ __decorate([
4008
4129
  Type(() => Country)
4009
4130
  ], Phone.prototype, "country", void 0);
4010
4131
 
4011
- var MyAccountHistoryInitiatedByEnum;
4012
- (function (MyAccountHistoryInitiatedByEnum) {
4013
- MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["OWNER"] = 0] = "OWNER";
4014
- MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
4015
- })(MyAccountHistoryInitiatedByEnum || (MyAccountHistoryInitiatedByEnum = {}));
4016
-
4017
- var MyAccountHistoryStatusEnum;
4018
- (function (MyAccountHistoryStatusEnum) {
4019
- MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["SUCCESS"] = 0] = "SUCCESS";
4020
- MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["ERROR"] = 1] = "ERROR";
4021
- })(MyAccountHistoryStatusEnum || (MyAccountHistoryStatusEnum = {}));
4022
-
4023
- var MyAccountHistoryTypeEnum;
4024
- (function (MyAccountHistoryTypeEnum) {
4025
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["REVIEW"] = 0] = "REVIEW";
4026
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPGRADE_PLAN"] = 1] = "UPGRADE_PLAN";
4027
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
4028
- })(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
4029
-
4030
- class MyAccountHistory {
4031
- }
4032
-
4033
- class Occupation extends Occupation$1 {
4034
- }
4035
-
4036
- /**
4037
- * role hierarchy
4038
- */
4039
- const USER_ROLES = {
4040
- ROLE_FIRM_OWNER: [UserRolesEnum.FIRM_OWNER, UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4041
- ROLE_FIRM_MANAGER: [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4042
- ROLE_EMPLOYEE: [UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4043
- ROLE_ACCOUNTANT: [UserRolesEnum.ACCOUNTANT],
4044
- ROLE_ADVISOR: [UserRolesEnum.ADVISOR],
4045
- // @TODO makes no sense, these roles can't be hierarchical
4046
- ROLE_CLIENT: [UserRolesEnum.CLIENT],
4047
- ROLE_USER_SUBSCRIPTION: [UserRolesEnum.SUBSCRIPTION],
4048
- ROLE_USER_WORK: [UserRolesEnum.WORK_TANK],
4049
- ROLE_USER_PROPERTY: [UserRolesEnum.PROPERTY_TANK],
4050
- ROLE_USER_SOLE: [UserRolesEnum.SOLE_TANK],
4051
- ROLE_USER_HOLDING: [UserRolesEnum.HOLDING_TANK],
4052
- ROLE_PREVIOUS_ADMIN: [UserRolesEnum.SWITCH_USER],
4053
- };
4054
-
4055
- /**
4056
- * Class with basic information about registering user
4057
- */
4058
- class UserToRegister {
4059
- }
4060
-
4061
4132
  var FirmTypeEnum;
4062
4133
  (function (FirmTypeEnum) {
4063
4134
  FirmTypeEnum[FirmTypeEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
@@ -5198,7 +5269,69 @@ __decorate([
5198
5269
  Type(() => Date)
5199
5270
  ], BasReport.prototype, "dateTo", void 0);
5200
5271
 
5272
+ class SetupItem extends AbstractModel {
5273
+ }
5274
+
5275
+ /**
5276
+ * Enum list of all possible account setup items ids. Using with [ACCOUNT_SETUP_ITEMS]{@link ACCOUNT_SETUP_ITEMS}
5277
+ * @TODO Vik/Nikita: Do we need to generate it from backend? If some ids changed?
5278
+ */
5279
+ var AccountSetupItemsEnum;
5280
+ (function (AccountSetupItemsEnum) {
5281
+ AccountSetupItemsEnum[AccountSetupItemsEnum["SALARY"] = 1] = "SALARY";
5282
+ AccountSetupItemsEnum[AccountSetupItemsEnum["OTHER_INCOME"] = 2] = "OTHER_INCOME";
5283
+ AccountSetupItemsEnum[AccountSetupItemsEnum["PROPERTY"] = 3] = "PROPERTY";
5284
+ AccountSetupItemsEnum[AccountSetupItemsEnum["BANK_FEEDS"] = 4] = "BANK_FEEDS";
5285
+ AccountSetupItemsEnum[AccountSetupItemsEnum["WORK_LOGBOOK"] = 5] = "WORK_LOGBOOK";
5286
+ AccountSetupItemsEnum[AccountSetupItemsEnum["TRANSACTION_ALLOCATE"] = 6] = "TRANSACTION_ALLOCATE";
5287
+ AccountSetupItemsEnum[AccountSetupItemsEnum["SOLE_BUSINESS"] = 7] = "SOLE_BUSINESS";
5288
+ AccountSetupItemsEnum[AccountSetupItemsEnum["HOLDINGS"] = 8] = "HOLDINGS";
5289
+ AccountSetupItemsEnum[AccountSetupItemsEnum["FIRM_DETAILS"] = 9] = "FIRM_DETAILS";
5290
+ AccountSetupItemsEnum[AccountSetupItemsEnum["INVITE_TEAM"] = 10] = "INVITE_TEAM";
5291
+ AccountSetupItemsEnum[AccountSetupItemsEnum["INVITE_CLIENTS"] = 11] = "INVITE_CLIENTS";
5292
+ })(AccountSetupItemsEnum || (AccountSetupItemsEnum = {}));
5293
+
5294
+ class AccountSetupItem extends SetupItem {
5295
+ get isSalary() {
5296
+ return this.id === AccountSetupItemsEnum.SALARY;
5297
+ }
5298
+ get isOtherIncome() {
5299
+ return this.id === AccountSetupItemsEnum.OTHER_INCOME;
5300
+ }
5301
+ get isProperty() {
5302
+ return this.id === AccountSetupItemsEnum.PROPERTY;
5303
+ }
5304
+ get isBankFeeds() {
5305
+ return this.id === AccountSetupItemsEnum.BANK_FEEDS;
5306
+ }
5307
+ get isWorkLogbook() {
5308
+ return this.id === AccountSetupItemsEnum.WORK_LOGBOOK;
5309
+ }
5310
+ get isTransactionAllocate() {
5311
+ return this.id === AccountSetupItemsEnum.TRANSACTION_ALLOCATE;
5312
+ }
5313
+ get isSoleBusiness() {
5314
+ return this.id === AccountSetupItemsEnum.SOLE_BUSINESS;
5315
+ }
5316
+ get isHoldings() {
5317
+ return this.id === AccountSetupItemsEnum.HOLDINGS;
5318
+ }
5319
+ get isFirmDetails() {
5320
+ return this.id === AccountSetupItemsEnum.FIRM_DETAILS;
5321
+ }
5322
+ get isInviteTeam() {
5323
+ return this.id === AccountSetupItemsEnum.INVITE_TEAM;
5324
+ }
5325
+ get isInviteClients() {
5326
+ return this.id === AccountSetupItemsEnum.INVITE_CLIENTS;
5327
+ }
5328
+ }
5329
+
5201
5330
  class User extends User$1 {
5331
+ constructor() {
5332
+ super(...arguments);
5333
+ this.blacklistSetupItems = [];
5334
+ }
5202
5335
  get fullName() {
5203
5336
  return `${this.firstName} ${this.lastName}`;
5204
5337
  }
@@ -5311,7 +5444,7 @@ class User extends User$1 {
5311
5444
  get financialYears() {
5312
5445
  return range(Math.min(FinancialYear.toFinYear(this.createdAt) - 1, 2022), FinancialYear.toFinYear(new Date()) + 1);
5313
5446
  }
5314
- get mpData() {
5447
+ getMpData() {
5315
5448
  return {
5316
5449
  clientDetails: {}
5317
5450
  };
@@ -5344,6 +5477,9 @@ __decorate([
5344
5477
  __decorate([
5345
5478
  Type(() => AppFile)
5346
5479
  ], User.prototype, "file", void 0);
5480
+ __decorate([
5481
+ Type(() => AccountSetupItem)
5482
+ ], User.prototype, "blacklistSetupItems", void 0);
5347
5483
 
5348
5484
  class PropertySubscription extends PropertySubscription$1 {
5349
5485
  }
@@ -5372,12 +5508,22 @@ class PropertyCategory extends PropertyCategory$1 {
5372
5508
  isShared() {
5373
5509
  return this.id === PropertyCategoryListEnum.SHARED;
5374
5510
  }
5511
+ getMpData() {
5512
+ return {
5513
+ 'Name': this.name
5514
+ };
5515
+ }
5375
5516
  }
5376
5517
 
5377
5518
  class PropertyDocument extends PropertyDocument$1 {
5378
5519
  get parent() {
5379
5520
  return this.property;
5380
5521
  }
5522
+ getMpData(property) {
5523
+ return {
5524
+ 'Property': property.name
5525
+ };
5526
+ }
5381
5527
  }
5382
5528
  __decorate([
5383
5529
  Type(() => Property)
@@ -5393,6 +5539,12 @@ class PropertyValuation extends PropertyValuation$1 {
5393
5539
  isCurrentYear() {
5394
5540
  return this.financialYear === new FinancialYear(new Date()).year;
5395
5541
  }
5542
+ getMpData(property) {
5543
+ return {
5544
+ 'Property': property.name,
5545
+ 'Date': this.date
5546
+ };
5547
+ }
5396
5548
  }
5397
5549
  __decorate([
5398
5550
  Type(() => Date)
@@ -5436,6 +5588,12 @@ class PropertyForecast extends PropertyForecast$1 {
5436
5588
  isCurrentYear() {
5437
5589
  return this.financialYear === new FinancialYear(new Date()).year;
5438
5590
  }
5591
+ getMpData(property) {
5592
+ return {
5593
+ 'Property': property.name,
5594
+ 'Financial Year': this.financialYear,
5595
+ };
5596
+ }
5439
5597
  }
5440
5598
  __decorate([
5441
5599
  Transform(({ value }) => +value)
@@ -5457,6 +5615,12 @@ __decorate([
5457
5615
  ], PropertyForecast.prototype, "marketValue", void 0);
5458
5616
 
5459
5617
  class PropertyCategoryMovement extends PropertyCategoryMovement$1 {
5618
+ getMpData(property) {
5619
+ return {
5620
+ 'Property': property.name,
5621
+ 'Category': this.propertyCategory.name
5622
+ };
5623
+ }
5460
5624
  }
5461
5625
  __decorate([
5462
5626
  Type(() => PropertyValuation)
@@ -5664,6 +5828,14 @@ class Property extends Property$1 {
5664
5828
  get monthlyExpense() {
5665
5829
  return this.currentYearForecast.expense / 12;
5666
5830
  }
5831
+ getMpData() {
5832
+ return {
5833
+ 'Category': this.category.name,
5834
+ 'Taxable': this.category.isTaxInclusive ? 'Yes' : 'No',
5835
+ 'Shared': this.isShared ? 'Yes' : 'No',
5836
+ 'Ownership %': `${this.myShare.percent}%`
5837
+ };
5838
+ }
5667
5839
  }
5668
5840
  /**
5669
5841
  * Property acquired before 20 September 1985 will generally be treated as pre-Capital Gains Tax (CGT) assets.
@@ -6030,6 +6202,12 @@ class PropertyShare extends PropertyShare$1 {
6030
6202
  get userName() {
6031
6203
  return this.user ? this.user.fullName : `${this.invite.firstName}`;
6032
6204
  }
6205
+ getMpData() {
6206
+ return {
6207
+ 'Property': this.property.name,
6208
+ 'User': this.user.email
6209
+ };
6210
+ }
6033
6211
  }
6034
6212
  __decorate([
6035
6213
  Type(() => Date)
@@ -9934,12 +10112,18 @@ __decorate([
9934
10112
  ], Notification.prototype, "redirectionLink", void 0);
9935
10113
 
9936
10114
  class DocumentFolder extends DocumentFolder$1 {
10115
+ getMpData() {
10116
+ return { 'Name': this.name };
10117
+ }
9937
10118
  }
9938
10119
 
9939
10120
  class Document extends Document$1 {
9940
10121
  get parent() {
9941
10122
  return this.folder;
9942
10123
  }
10124
+ getMpData() {
10125
+ return {};
10126
+ }
9943
10127
  }
9944
10128
  __decorate([
9945
10129
  Type(() => DocumentFolder)
@@ -10171,7 +10355,7 @@ class Budget extends Budget$1 {
10171
10355
  get rulesCollection() {
10172
10356
  return new Collection(this.rules);
10173
10357
  }
10174
- get mpData() {
10358
+ getMpData() {
10175
10359
  return {};
10176
10360
  }
10177
10361
  }
@@ -10318,9 +10502,9 @@ class DataService {
10318
10502
  this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
10319
10503
  }
10320
10504
  }
10321
- DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10322
- DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, providedIn: 'root' });
10323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, decorators: [{
10505
+ DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10506
+ DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, providedIn: 'root' });
10507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, decorators: [{
10324
10508
  type: Injectable,
10325
10509
  args: [{
10326
10510
  providedIn: 'root'
@@ -10359,9 +10543,9 @@ class MixpanelService {
10359
10543
  mixpanel.track(event, properties);
10360
10544
  }
10361
10545
  }
10362
- MixpanelService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10363
- MixpanelService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, providedIn: 'root' });
10364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, decorators: [{
10546
+ MixpanelService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10547
+ MixpanelService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MixpanelService, providedIn: 'root' });
10548
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MixpanelService, decorators: [{
10365
10549
  type: Injectable,
10366
10550
  args: [{
10367
10551
  providedIn: 'root'
@@ -10401,9 +10585,9 @@ class EventDispatcherService {
10401
10585
  this.eventSubject2.next(event);
10402
10586
  }
10403
10587
  }
10404
- EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10405
- EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
10406
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, decorators: [{
10588
+ EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10589
+ EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
10590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, decorators: [{
10407
10591
  type: Injectable,
10408
10592
  args: [{
10409
10593
  providedIn: 'root'
@@ -10438,9 +10622,9 @@ class JwtService extends JwtHelperService {
10438
10622
  return this.getUser().id === userId;
10439
10623
  }
10440
10624
  }
10441
- JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10442
- JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, providedIn: 'root' });
10443
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, decorators: [{
10625
+ JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10626
+ JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, providedIn: 'root' });
10627
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, decorators: [{
10444
10628
  type: Injectable,
10445
10629
  args: [{
10446
10630
  providedIn: 'root'
@@ -10477,9 +10661,9 @@ class SseService {
10477
10661
  .pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
10478
10662
  }
10479
10663
  }
10480
- 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 });
10481
- SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, providedIn: 'root' });
10482
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, decorators: [{
10664
+ SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10665
+ SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, providedIn: 'root' });
10666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, decorators: [{
10483
10667
  type: Injectable,
10484
10668
  args: [{
10485
10669
  providedIn: 'root'
@@ -10564,15 +10748,15 @@ let RestService$1 = class RestService extends DataService {
10564
10748
  /**
10565
10749
  * Create a new Model instance in database
10566
10750
  */
10567
- post(model, path = this.apiUrl) {
10751
+ post(model, mpData, path = this.apiUrl) {
10568
10752
  this.handleAccessError('post');
10569
10753
  return this.http.post(path, classToPlain(model))
10570
10754
  .pipe(map((response) => {
10571
10755
  const result = this.createModelInstance(response);
10572
- this.handleResponse([result], 'post');
10756
+ this.handleResponse([result], 'post', mpData);
10573
10757
  return result;
10574
10758
  }), catchError((error) => {
10575
- this.handleResponseError([model], 'post');
10759
+ this.handleResponseError([model], 'post', mpData);
10576
10760
  return throwError(error);
10577
10761
  }));
10578
10762
  }
@@ -10594,15 +10778,15 @@ let RestService$1 = class RestService extends DataService {
10594
10778
  /**
10595
10779
  * Change an existing Model instance in database
10596
10780
  */
10597
- put(model, path = `${this.apiUrl}/${model.id}`) {
10781
+ put(model, mpData, path = `${this.apiUrl}/${model.id}`) {
10598
10782
  this.handleAccessError('put');
10599
10783
  return this.http.put(path, classToPlain(model))
10600
10784
  .pipe(map((response) => {
10601
10785
  const result = this.createModelInstance(response);
10602
- this.handleResponse([result], 'put');
10786
+ this.handleResponse([result], 'put', mpData);
10603
10787
  return result;
10604
10788
  }), catchError((error) => {
10605
- this.handleResponseError([model], 'put');
10789
+ this.handleResponseError([model], 'put', mpData);
10606
10790
  return throwError(error);
10607
10791
  }));
10608
10792
  }
@@ -10624,13 +10808,13 @@ let RestService$1 = class RestService extends DataService {
10624
10808
  /**
10625
10809
  * Remove a Model instance from database
10626
10810
  */
10627
- delete(model) {
10811
+ delete(model, mpData) {
10628
10812
  this.handleAccessError('delete');
10629
10813
  return this.http.delete(`${this.apiUrl}/${model.id}`)
10630
10814
  .pipe(map(() => {
10631
- this.handleResponse([model], 'delete');
10815
+ this.handleResponse([model], 'delete', mpData);
10632
10816
  }), catchError((error) => {
10633
- this.handleResponseError([model], 'delete');
10817
+ this.handleResponseError([model], 'delete', mpData);
10634
10818
  return throwError(error);
10635
10819
  }));
10636
10820
  }
@@ -10647,23 +10831,23 @@ let RestService$1 = class RestService extends DataService {
10647
10831
  return throwError(error);
10648
10832
  }));
10649
10833
  }
10650
- track(response, method, postfix = '') {
10651
- // not other way to check interface
10652
- if ('mpData' in response[0]) {
10834
+ track(response, method, mpData, postfix = '') {
10835
+ // no other way to check interface
10836
+ if ('getMpData' in response[0]) {
10653
10837
  response.forEach((model) => {
10654
- this.mpService.track(`${method}${this.modelClass.name}${postfix}`, model['mpData']);
10838
+ this.mpService.track(`${method}${this.modelClass.name}${postfix}`, model['getMpData'](mpData));
10655
10839
  });
10656
10840
  }
10657
10841
  }
10658
- handleResponseError(response, method) {
10842
+ handleResponseError(response, method, mpData) {
10659
10843
  // @TODO error notification?
10660
- this.track(response, method, 'Error');
10844
+ this.track(response, method, mpData, 'Error');
10661
10845
  }
10662
10846
  /**
10663
10847
  * Handle response data - update cache and dispatch event if it is needed
10664
10848
  */
10665
- handleResponse(response, method) {
10666
- this.track(response, method);
10849
+ handleResponse(response, method, mpData) {
10850
+ this.track(response, method, mpData);
10667
10851
  if (this.getCache()) {
10668
10852
  this.updateCache(response, method);
10669
10853
  }
@@ -10733,9 +10917,9 @@ let RestService$1 = class RestService extends DataService {
10733
10917
  */
10734
10918
  listenEvents() { }
10735
10919
  };
10736
- 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 });
10737
- RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, providedIn: 'root' });
10738
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, decorators: [{
10920
+ RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10921
+ RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, providedIn: 'root' });
10922
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, decorators: [{
10739
10923
  type: Injectable,
10740
10924
  args: [{
10741
10925
  providedIn: 'root'
@@ -10805,9 +10989,9 @@ class BankAccountService extends RestService$1 {
10805
10989
  });
10806
10990
  }
10807
10991
  }
10808
- 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 });
10809
- BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, providedIn: 'root' });
10810
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, decorators: [{
10992
+ BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10993
+ BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, providedIn: 'root' });
10994
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, decorators: [{
10811
10995
  type: Injectable,
10812
10996
  args: [{
10813
10997
  providedIn: 'root'
@@ -10904,9 +11088,9 @@ class ToastService {
10904
11088
  }));
10905
11089
  }
10906
11090
  }
10907
- ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10908
- ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, providedIn: 'root' });
10909
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, decorators: [{
11091
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
11092
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, providedIn: 'root' });
11093
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, decorators: [{
10910
11094
  type: Injectable,
10911
11095
  args: [{
10912
11096
  providedIn: 'root'
@@ -10970,10 +11154,10 @@ class BankConnectionService extends RestService$1 {
10970
11154
  }));
10971
11155
  }
10972
11156
  activate(bankConnection) {
10973
- return this.put(bankConnection, `${this.apiUrl}/${bankConnection.id}/activate`);
11157
+ return this.put(bankConnection, null, `${this.apiUrl}/${bankConnection.id}/activate`);
10974
11158
  }
10975
11159
  deactivate(bankConnection) {
10976
- return this.put(bankConnection, `${this.apiUrl}/${bankConnection.id}/deactivate`);
11160
+ return this.put(bankConnection, null, `${this.apiUrl}/${bankConnection.id}/deactivate`);
10977
11161
  }
10978
11162
  /**
10979
11163
  * connection's status updated in background on backend, so reset cache required to inform user
@@ -10984,9 +11168,9 @@ class BankConnectionService extends RestService$1 {
10984
11168
  });
10985
11169
  }
10986
11170
  }
10987
- 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 });
10988
- BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
10989
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, decorators: [{
11171
+ BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
11172
+ BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
11173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, decorators: [{
10990
11174
  type: Injectable,
10991
11175
  args: [{
10992
11176
  providedIn: 'root'
@@ -11101,9 +11285,9 @@ class BankTransactionService extends RestService$1 {
11101
11285
  });
11102
11286
  }
11103
11287
  }
11104
- BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11105
- BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
11106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, decorators: [{
11288
+ BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11289
+ BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
11290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, decorators: [{
11107
11291
  type: Injectable,
11108
11292
  args: [{
11109
11293
  providedIn: 'root'
@@ -11135,9 +11319,9 @@ class BasiqTokenService extends RestService$1 {
11135
11319
  return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
11136
11320
  }
11137
11321
  }
11138
- BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11139
- BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
11140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, decorators: [{
11322
+ BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11323
+ BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
11324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, decorators: [{
11141
11325
  type: Injectable,
11142
11326
  args: [{
11143
11327
  providedIn: 'root'
@@ -11263,9 +11447,9 @@ BasiqService.retrieveAccountsCheckInterval = 3000;
11263
11447
  * How long we will wait accounts retrieving, break after timeout if not retireved
11264
11448
  */
11265
11449
  BasiqService.retrieveAccountsTimeout = 20000;
11266
- 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 });
11267
- BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, providedIn: 'root' });
11268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, decorators: [{
11450
+ BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
11451
+ BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, providedIn: 'root' });
11452
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, decorators: [{
11269
11453
  type: Injectable,
11270
11454
  args: [{
11271
11455
  providedIn: 'root'
@@ -11297,9 +11481,9 @@ class BankService extends RestService$1 {
11297
11481
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
11298
11482
  }
11299
11483
  }
11300
- BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11301
- BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, providedIn: 'root' });
11302
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, decorators: [{
11484
+ BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11485
+ BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, providedIn: 'root' });
11486
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, decorators: [{
11303
11487
  type: Injectable,
11304
11488
  args: [{
11305
11489
  providedIn: 'root'
@@ -11316,9 +11500,9 @@ class BudgetService extends RestService$1 {
11316
11500
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
11317
11501
  }
11318
11502
  }
11319
- BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11320
- BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, providedIn: 'root' });
11321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, decorators: [{
11503
+ BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11504
+ BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, providedIn: 'root' });
11505
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, decorators: [{
11322
11506
  type: Injectable,
11323
11507
  args: [{
11324
11508
  providedIn: 'root'
@@ -11346,9 +11530,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
11346
11530
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
11347
11531
  }
11348
11532
  }
11349
- ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11350
- ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
11351
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
11533
+ ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11534
+ ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
11535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
11352
11536
  type: Injectable,
11353
11537
  args: [{
11354
11538
  providedIn: 'root'
@@ -11388,9 +11572,9 @@ class ChartAccountsService extends RestService$1 {
11388
11572
  }));
11389
11573
  }
11390
11574
  }
11391
- ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11392
- ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
11393
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, decorators: [{
11575
+ ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11576
+ ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
11577
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, decorators: [{
11394
11578
  type: Injectable,
11395
11579
  args: [{
11396
11580
  providedIn: 'root'
@@ -11459,9 +11643,9 @@ class ChatService extends RestService$1 {
11459
11643
  });
11460
11644
  }
11461
11645
  }
11462
- 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 });
11463
- ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, providedIn: 'root' });
11464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, decorators: [{
11646
+ ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11647
+ ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, providedIn: 'root' });
11648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, decorators: [{
11465
11649
  type: Injectable,
11466
11650
  args: [{
11467
11651
  providedIn: 'root'
@@ -11520,9 +11704,9 @@ class MessageService extends RestService$1 {
11520
11704
  });
11521
11705
  }
11522
11706
  }
11523
- 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 });
11524
- MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, providedIn: 'root' });
11525
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, decorators: [{
11707
+ MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11708
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, providedIn: 'root' });
11709
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, decorators: [{
11526
11710
  type: Injectable,
11527
11711
  args: [{
11528
11712
  providedIn: 'root'
@@ -11594,9 +11778,9 @@ class MessageDocumentService extends RestService$1 {
11594
11778
  return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
11595
11779
  }
11596
11780
  }
11597
- MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11598
- MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
11599
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, decorators: [{
11781
+ MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11782
+ MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
11783
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, decorators: [{
11600
11784
  type: Injectable,
11601
11785
  args: [{
11602
11786
  providedIn: 'root'
@@ -11679,9 +11863,9 @@ class DepreciationService extends RestService$1 {
11679
11863
  });
11680
11864
  }
11681
11865
  }
11682
- 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 });
11683
- DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, providedIn: 'root' });
11684
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, decorators: [{
11866
+ DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11867
+ DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, providedIn: 'root' });
11868
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, decorators: [{
11685
11869
  type: Injectable,
11686
11870
  args: [{
11687
11871
  providedIn: 'root'
@@ -11695,57 +11879,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
11695
11879
 
11696
11880
  /**
11697
11881
  * Service for work with DepreciationCapitalProjects
11882
+ * @TODO Alex: refactor with new rest when backend ready (TT-3571)
11698
11883
  */
11699
- class DepreciationCapitalProjectService {
11700
- constructor(http, environment) {
11701
- this.http = http;
11702
- this.environment = environment;
11703
- this.cacheSubject = new ReplaySubject(1);
11704
- }
11705
- get(propertyId) {
11706
- this.cacheSubject.next([]);
11707
- this.http.get(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects`)
11708
- .subscribe((capitalProjectsBase) => {
11709
- this.cache = capitalProjectsBase.map((capitalProjectBase) => plainToClass(DepreciationCapitalProject, capitalProjectBase));
11710
- this.cacheSubject.next(this.cache);
11711
- });
11712
- return this.cacheSubject.asObservable();
11713
- }
11714
- add(capitalProject, propertyId) {
11715
- return this.http.post(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects`, capitalProject)
11716
- .pipe(map((capitalProjectBase) => {
11717
- this.cache.push(plainToClass(DepreciationCapitalProject, capitalProjectBase));
11718
- this.cacheSubject.next(this.cache);
11719
- }));
11720
- }
11721
- update(capitalProject, propertyId) {
11722
- return this.http.put(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects/${capitalProject.id}`, capitalProject)
11723
- .pipe(map((capitalProjectBase) => {
11724
- replace(this.cache, plainToClass(DepreciationCapitalProject, capitalProjectBase));
11725
- this.cacheSubject.next(this.cache);
11726
- }));
11727
- }
11728
- delete(capitalProject, propertyId) {
11729
- return this.http.delete(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects/${capitalProject.id}`)
11730
- .pipe(map(() => {
11731
- this.cache = this.cache.filter((item) => capitalProject.id !== item.id);
11732
- this.cacheSubject.next(this.cache);
11733
- }));
11884
+ class DepreciationCapitalProjectService extends RestService$1 {
11885
+ constructor() {
11886
+ super(...arguments);
11887
+ this.modelClass = DepreciationCapitalProject;
11888
+ this.collectionClass = Collection;
11889
+ this.endpointUri = 'depreciation-capital-projects';
11890
+ this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
11734
11891
  }
11735
11892
  }
11736
- 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 });
11737
- DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
11738
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
11893
+ DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11894
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
11895
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
11739
11896
  type: Injectable,
11740
11897
  args: [{
11741
11898
  providedIn: 'root'
11742
11899
  }]
11743
- }], ctorParameters: function () {
11744
- return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
11745
- type: Inject,
11746
- args: ['environment']
11747
- }] }];
11748
- } });
11900
+ }] });
11749
11901
 
11750
11902
  var DocumentFolderMessagesEnum;
11751
11903
  (function (DocumentFolderMessagesEnum) {
@@ -11767,9 +11919,9 @@ class DocumentFolderService extends RestService$1 {
11767
11919
  this.disabledMethods = ['deleteBatch', 'postBatch', 'putBatch'];
11768
11920
  }
11769
11921
  }
11770
- DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11771
- DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
11772
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, decorators: [{
11922
+ DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11923
+ DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
11924
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, decorators: [{
11773
11925
  type: Injectable,
11774
11926
  args: [{
11775
11927
  providedIn: 'root'
@@ -11786,9 +11938,9 @@ class DocumentService extends RestService$1 {
11786
11938
  this.isApiPlatform = true;
11787
11939
  }
11788
11940
  }
11789
- DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11790
- DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, providedIn: 'root' });
11791
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, decorators: [{
11941
+ DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11942
+ DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, providedIn: 'root' });
11943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, decorators: [{
11792
11944
  type: Injectable,
11793
11945
  args: [{
11794
11946
  providedIn: 'root'
@@ -11876,9 +12028,9 @@ FacebookService.authOptions = {
11876
12028
  auth_type: 'rerequest',
11877
12029
  return_scopes: true
11878
12030
  };
11879
- 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 });
11880
- FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, providedIn: 'root' });
11881
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, decorators: [{
12031
+ FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12032
+ FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, providedIn: 'root' });
12033
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, decorators: [{
11882
12034
  type: Injectable,
11883
12035
  args: [{
11884
12036
  providedIn: 'root'
@@ -11926,9 +12078,9 @@ class AuthService {
11926
12078
  location.replace(url);
11927
12079
  }
11928
12080
  }
11929
- 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 });
11930
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, providedIn: 'root' });
11931
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, decorators: [{
12081
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12082
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, providedIn: 'root' });
12083
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, decorators: [{
11932
12084
  type: Injectable,
11933
12085
  args: [{
11934
12086
  providedIn: 'root'
@@ -12001,9 +12153,9 @@ class GoogleService {
12001
12153
  google.accounts.id.disableAutoSelect();
12002
12154
  }
12003
12155
  }
12004
- 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 });
12005
- GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, providedIn: 'root' });
12006
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, decorators: [{
12156
+ GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12157
+ GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, providedIn: 'root' });
12158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, decorators: [{
12007
12159
  type: Injectable,
12008
12160
  args: [{
12009
12161
  providedIn: 'root'
@@ -12039,9 +12191,9 @@ class FileService extends RestService$1 {
12039
12191
  return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
12040
12192
  }
12041
12193
  }
12042
- FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12043
- FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, providedIn: 'root' });
12044
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, decorators: [{
12194
+ FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12195
+ FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, providedIn: 'root' });
12196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, decorators: [{
12045
12197
  type: Injectable,
12046
12198
  args: [{
12047
12199
  providedIn: 'root'
@@ -12058,9 +12210,9 @@ class ClientIncomeTypesService extends RestService$1 {
12058
12210
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
12059
12211
  }
12060
12212
  }
12061
- ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12062
- ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
12063
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
12213
+ ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12214
+ ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
12215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
12064
12216
  type: Injectable,
12065
12217
  args: [{
12066
12218
  providedIn: 'root'
@@ -12273,9 +12425,9 @@ class RestService {
12273
12425
  */
12274
12426
  listenEvents() { }
12275
12427
  }
12276
- 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 });
12277
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, providedIn: 'root' });
12278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, decorators: [{
12428
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12429
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, providedIn: 'root' });
12430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, decorators: [{
12279
12431
  type: Injectable,
12280
12432
  args: [{
12281
12433
  providedIn: 'root'
@@ -12397,9 +12549,9 @@ class ClientInviteService extends RestService {
12397
12549
  });
12398
12550
  }
12399
12551
  }
12400
- ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12401
- ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
12402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, decorators: [{
12552
+ ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12553
+ ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
12554
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, decorators: [{
12403
12555
  type: Injectable,
12404
12556
  args: [{
12405
12557
  providedIn: 'root'
@@ -12488,9 +12640,9 @@ class ClientMovementService extends RestService {
12488
12640
  });
12489
12641
  }
12490
12642
  }
12491
- ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12492
- ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
12493
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, decorators: [{
12643
+ ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12644
+ ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
12645
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, decorators: [{
12494
12646
  type: Injectable,
12495
12647
  args: [{
12496
12648
  providedIn: 'root'
@@ -12561,9 +12713,9 @@ class EmployeeService extends RestService {
12561
12713
  }));
12562
12714
  }
12563
12715
  }
12564
- EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12565
- EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, providedIn: 'root' });
12566
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, decorators: [{
12716
+ EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12717
+ EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, providedIn: 'root' });
12718
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, decorators: [{
12567
12719
  type: Injectable,
12568
12720
  args: [{
12569
12721
  providedIn: 'root'
@@ -12613,9 +12765,9 @@ class EmployeeInviteService extends RestService {
12613
12765
  }));
12614
12766
  }
12615
12767
  }
12616
- EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12617
- EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
12618
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, decorators: [{
12768
+ EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12769
+ EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
12770
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, decorators: [{
12619
12771
  type: Injectable,
12620
12772
  args: [{
12621
12773
  providedIn: 'root'
@@ -12640,9 +12792,9 @@ class ClientPortfolioReportService {
12640
12792
  }));
12641
12793
  }
12642
12794
  }
12643
- 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 });
12644
- ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
12645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
12795
+ ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12796
+ ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
12797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
12646
12798
  type: Injectable,
12647
12799
  args: [{
12648
12800
  providedIn: 'root'
@@ -12704,9 +12856,9 @@ class FirmService {
12704
12856
  return this.getAll().pipe(map((firms) => firms.filter((firm) => firm.type === type)));
12705
12857
  }
12706
12858
  }
12707
- 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 });
12708
- FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, providedIn: 'root' });
12709
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, decorators: [{
12859
+ FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12860
+ FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, providedIn: 'root' });
12861
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, decorators: [{
12710
12862
  type: Injectable,
12711
12863
  args: [{
12712
12864
  providedIn: 'root'
@@ -12782,9 +12934,9 @@ class IncomeSourceForecastService extends RestService {
12782
12934
  }).flat();
12783
12935
  }
12784
12936
  }
12785
- IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12786
- IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
12787
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
12937
+ IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12938
+ IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
12939
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
12788
12940
  type: Injectable,
12789
12941
  args: [{
12790
12942
  providedIn: 'root'
@@ -12854,9 +13006,9 @@ class SalaryForecastService extends RestService {
12854
13006
  }).flat();
12855
13007
  }
12856
13008
  }
12857
- SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12858
- SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
12859
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, decorators: [{
13009
+ SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13010
+ SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
13011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, decorators: [{
12860
13012
  type: Injectable,
12861
13013
  args: [{
12862
13014
  providedIn: 'root'
@@ -12932,9 +13084,9 @@ class SoleForecastService extends RestService {
12932
13084
  });
12933
13085
  }
12934
13086
  }
12935
- SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12936
- SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
12937
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, decorators: [{
13087
+ SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13088
+ SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
13089
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, decorators: [{
12938
13090
  type: Injectable,
12939
13091
  args: [{
12940
13092
  providedIn: 'root'
@@ -13013,9 +13165,9 @@ class IncomeSourceService extends RestService {
13013
13165
  });
13014
13166
  }
13015
13167
  }
13016
- IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13017
- IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
13018
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, decorators: [{
13168
+ IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13169
+ IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
13170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, decorators: [{
13019
13171
  type: Injectable,
13020
13172
  args: [{
13021
13173
  providedIn: 'root'
@@ -13076,9 +13228,9 @@ class BorrowingExpenseService {
13076
13228
  }));
13077
13229
  }
13078
13230
  }
13079
- 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 });
13080
- BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
13081
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, decorators: [{
13231
+ BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13232
+ BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
13233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, decorators: [{
13082
13234
  type: Injectable,
13083
13235
  args: [{
13084
13236
  providedIn: 'root'
@@ -13160,9 +13312,9 @@ class LoanService extends RestService$1 {
13160
13312
  }));
13161
13313
  }
13162
13314
  }
13163
- LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13164
- LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, providedIn: 'root' });
13165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, decorators: [{
13315
+ LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13316
+ LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, providedIn: 'root' });
13317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, decorators: [{
13166
13318
  type: Injectable,
13167
13319
  args: [{
13168
13320
  providedIn: 'root'
@@ -13179,9 +13331,9 @@ class BorrowingReportService extends RestService$1 {
13179
13331
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13180
13332
  }
13181
13333
  }
13182
- BorrowingReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13183
- BorrowingReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, providedIn: 'root' });
13184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, decorators: [{
13334
+ BorrowingReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13335
+ BorrowingReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, providedIn: 'root' });
13336
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, decorators: [{
13185
13337
  type: Injectable,
13186
13338
  args: [{
13187
13339
  providedIn: 'root'
@@ -13207,9 +13359,9 @@ class PropertyCategoryService extends RestService$1 {
13207
13359
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13208
13360
  }
13209
13361
  }
13210
- PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13211
- PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
13212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, decorators: [{
13362
+ PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13363
+ PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
13364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, decorators: [{
13213
13365
  type: Injectable,
13214
13366
  args: [{
13215
13367
  providedIn: 'root'
@@ -13224,13 +13376,13 @@ class PropertyCategoryMovementService extends RestService$1 {
13224
13376
  this.endpointUri = 'properties/category-movements';
13225
13377
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13226
13378
  }
13227
- post(movement) {
13228
- return super.post(movement, `${this.environment.apiV2}/properties/${movement.property.id}/category-movements`);
13379
+ post(movement, property) {
13380
+ return super.post(movement, property, `${this.environment.apiV2}/properties/${movement.property.id}/category-movements`);
13229
13381
  }
13230
13382
  }
13231
- PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13232
- PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
13233
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
13383
+ PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13384
+ PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
13385
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
13234
13386
  type: Injectable,
13235
13387
  args: [{
13236
13388
  providedIn: 'root'
@@ -13281,74 +13433,15 @@ class PropertyDocumentService extends RestService$1 {
13281
13433
  });
13282
13434
  }
13283
13435
  }
13284
- PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13285
- PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
13286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, decorators: [{
13436
+ PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13437
+ PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
13438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, decorators: [{
13287
13439
  type: Injectable,
13288
13440
  args: [{
13289
13441
  providedIn: 'root'
13290
13442
  }]
13291
13443
  }] });
13292
13444
 
13293
- var TaxExemptions = [
13294
- {
13295
- id: 1,
13296
- name: "Apply 50% CGT Discount",
13297
- 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",
13298
- metaFields: []
13299
- },
13300
- {
13301
- id: 2,
13302
- name: "Full Exemption (Principle place of residence)",
13303
- 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",
13304
- metaFields: []
13305
- },
13306
- {
13307
- id: 3,
13308
- name: "Full Exemption (6 year rule)",
13309
- 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",
13310
- metaFields: []
13311
- },
13312
- {
13313
- id: 4,
13314
- name: "Partial exemption (investment property became your main residence)",
13315
- 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",
13316
- metaFields: [
13317
- {
13318
- id: 1,
13319
- name: "Total amount of days the property was your main residence"
13320
- }
13321
- ]
13322
- },
13323
- {
13324
- id: 5,
13325
- name: "Main Residence became your 'investment property' or 'home office'",
13326
- 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",
13327
- metaFields: [
13328
- {
13329
- id: 2,
13330
- name: "Market Value"
13331
- },
13332
- {
13333
- id: 2,
13334
- name: "Home office percentage claimed"
13335
- }
13336
- ]
13337
- },
13338
- {
13339
- id: 6,
13340
- name: "Property transfer (Relationship Breakdown)",
13341
- 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",
13342
- metaFields: []
13343
- },
13344
- {
13345
- id: 7,
13346
- name: "Full exemption (Other)",
13347
- description: "In some other instances a full exemption may apply, for example pre-CGT assets and some inheritance",
13348
- metaFields: []
13349
- }
13350
- ];
13351
-
13352
13445
  class TaxExemptionService extends DataService {
13353
13446
  constructor() {
13354
13447
  super();
@@ -13357,9 +13450,9 @@ class TaxExemptionService extends DataService {
13357
13450
  this.setCache(TaxExemptions);
13358
13451
  }
13359
13452
  }
13360
- TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13361
- TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
13362
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, decorators: [{
13453
+ TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13454
+ TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
13455
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, decorators: [{
13363
13456
  type: Injectable,
13364
13457
  args: [{
13365
13458
  providedIn: 'root'
@@ -13375,9 +13468,9 @@ class PropertySaleService extends RestService$1 {
13375
13468
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13376
13469
  }
13377
13470
  }
13378
- PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13379
- PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
13380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, decorators: [{
13471
+ PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13472
+ PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
13473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, decorators: [{
13381
13474
  type: Injectable,
13382
13475
  args: [{
13383
13476
  providedIn: 'root'
@@ -13406,7 +13499,13 @@ class PropertyShareService extends RestService$1 {
13406
13499
  * @param share user to share property
13407
13500
  */
13408
13501
  reinvite(share) {
13409
- return this.http.post(`${this.apiUrl}/${share.id}/reinvite`, {});
13502
+ return this.http.post(`${this.apiUrl}/${share.id}/reinvite`, {})
13503
+ .pipe(map(() => {
13504
+ this.mpService.track('reinvitePropertyShare', share.getMpData());
13505
+ }), catchError((error) => {
13506
+ this.mpService.track('reinvitePropertyShareError', share.getMpData());
13507
+ return throwError(error);
13508
+ }));
13410
13509
  }
13411
13510
  /**
13412
13511
  * Listen to User updated event
@@ -13423,9 +13522,9 @@ class PropertyShareService extends RestService$1 {
13423
13522
  this.listenCSE(PropertySale, ['post', 'delete'], this.refreshCache);
13424
13523
  }
13425
13524
  }
13426
- PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13427
- PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
13428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, decorators: [{
13525
+ PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13526
+ PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
13527
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, decorators: [{
13429
13528
  type: Injectable,
13430
13529
  args: [{
13431
13530
  providedIn: 'root'
@@ -13448,16 +13547,16 @@ class PropertyValuationService extends RestService$1 {
13448
13547
  return this.http.get(`${this.apiUrl}/${propertyId}/valuations`)
13449
13548
  .pipe(map((valuations) => new Collection(valuations.map((valuation) => plainToClass(PropertyValuation, valuation)))));
13450
13549
  }
13451
- post(valuation, propertyId) {
13452
- return super.post(valuation, `${this.apiUrl}/${propertyId}/valuations`);
13550
+ post(valuation, property) {
13551
+ return super.post(valuation, property, `${this.apiUrl}/${property.id}/valuations`);
13453
13552
  }
13454
- put(valuation, propertyId) {
13455
- return super.put(valuation, `${this.apiUrl}/${propertyId}/valuations/${valuation.id}`);
13553
+ put(valuation, property) {
13554
+ return super.put(valuation, property, `${this.apiUrl}/${property.id}/valuations/${valuation.id}`);
13456
13555
  }
13457
13556
  }
13458
- PropertyValuationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13459
- PropertyValuationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, providedIn: 'root' });
13460
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, decorators: [{
13557
+ PropertyValuationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13558
+ PropertyValuationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, providedIn: 'root' });
13559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, decorators: [{
13461
13560
  type: Injectable,
13462
13561
  args: [{
13463
13562
  providedIn: 'root'
@@ -13545,7 +13644,15 @@ class PropertyService extends RestService$1 {
13545
13644
  .pipe(map((propertySubscriptionBase) => {
13546
13645
  const newPropertySubscription = plainToClass(PropertySubscription, propertySubscriptionBase);
13547
13646
  const activatedProperty = plainToClass(Property, Object.assign({}, property, { subscriptions: [newPropertySubscription] }));
13647
+ this.mpService.track(`postPropertySubscription`, {
13648
+ 'Property': property.name,
13649
+ });
13548
13650
  this.updateCache([activatedProperty], 'put');
13651
+ }), catchError((error) => {
13652
+ this.mpService.track('postPropertySubscriptionError', {
13653
+ 'Property': property.name,
13654
+ });
13655
+ return throwError(error);
13549
13656
  }));
13550
13657
  }
13551
13658
  /**
@@ -13555,7 +13662,15 @@ class PropertyService extends RestService$1 {
13555
13662
  return this.http.delete(`${this.environment.apiV2}/property-subscriptions/${property.getCurrentSubscription().id}`)
13556
13663
  .pipe(map(() => {
13557
13664
  const deactivatedProperty = plainToClass(Property, Object.assign({}, property, { subscriptions: [] }));
13665
+ this.mpService.track(`deletePropertySubscription`, {
13666
+ 'Property': property.name,
13667
+ });
13558
13668
  this.updateCache([deactivatedProperty], 'put');
13669
+ }), catchError((error) => {
13670
+ this.mpService.track('deletePropertySubscriptionError', {
13671
+ 'Property': property.name,
13672
+ });
13673
+ return throwError(error);
13559
13674
  }));
13560
13675
  }
13561
13676
  /**
@@ -13570,9 +13685,9 @@ class PropertyService extends RestService$1 {
13570
13685
  }));
13571
13686
  }
13572
13687
  }
13573
- PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13574
- PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, providedIn: 'root' });
13575
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, decorators: [{
13688
+ PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13689
+ PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, providedIn: 'root' });
13690
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, decorators: [{
13576
13691
  type: Injectable,
13577
13692
  args: [{
13578
13693
  providedIn: 'root'
@@ -13626,9 +13741,9 @@ class ServiceNotificationService extends RestService {
13626
13741
  });
13627
13742
  }
13628
13743
  }
13629
- 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 });
13630
- ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
13631
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, decorators: [{
13744
+ ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
13745
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
13746
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, decorators: [{
13632
13747
  type: Injectable,
13633
13748
  args: [{
13634
13749
  providedIn: 'root'
@@ -13659,9 +13774,9 @@ class SoleBusinessService extends RestService {
13659
13774
  }));
13660
13775
  }
13661
13776
  }
13662
- SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13663
- SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
13664
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, decorators: [{
13777
+ SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13778
+ SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
13779
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, decorators: [{
13665
13780
  type: Injectable,
13666
13781
  args: [{
13667
13782
  providedIn: 'root'
@@ -13676,9 +13791,9 @@ class SoleBusinessActivityService extends RestService {
13676
13791
  this.isHydra = true;
13677
13792
  }
13678
13793
  }
13679
- SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13680
- SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
13681
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
13794
+ SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13795
+ SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
13796
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
13682
13797
  type: Injectable,
13683
13798
  args: [{
13684
13799
  providedIn: 'root'
@@ -13704,9 +13819,9 @@ class SoleBusinessLossService extends RestService {
13704
13819
  });
13705
13820
  }
13706
13821
  }
13707
- SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13708
- SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
13709
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, decorators: [{
13822
+ SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13823
+ SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
13824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, decorators: [{
13710
13825
  type: Injectable,
13711
13826
  args: [{
13712
13827
  providedIn: 'root'
@@ -13724,9 +13839,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
13724
13839
  this.isHydra = true;
13725
13840
  }
13726
13841
  }
13727
- SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13728
- SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
13729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
13842
+ SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13843
+ SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
13844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
13730
13845
  type: Injectable,
13731
13846
  args: [{
13732
13847
  providedIn: 'root'
@@ -13741,9 +13856,9 @@ class SoleContactService extends RestService {
13741
13856
  this.isHydra = true;
13742
13857
  }
13743
13858
  }
13744
- SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13745
- SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, providedIn: 'root' });
13746
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, decorators: [{
13859
+ SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13860
+ SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, providedIn: 'root' });
13861
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, decorators: [{
13747
13862
  type: Injectable,
13748
13863
  args: [{
13749
13864
  providedIn: 'root'
@@ -13799,9 +13914,9 @@ class SoleDepreciationMethodService {
13799
13914
  });
13800
13915
  }
13801
13916
  }
13802
- 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 });
13803
- SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
13804
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
13917
+ SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13918
+ SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
13919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
13805
13920
  type: Injectable,
13806
13921
  args: [{
13807
13922
  providedIn: 'root'
@@ -13856,9 +13971,9 @@ class SoleDetailsService {
13856
13971
  }));
13857
13972
  }
13858
13973
  }
13859
- 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 });
13860
- SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
13861
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, decorators: [{
13974
+ SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
13975
+ SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
13976
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, decorators: [{
13862
13977
  type: Injectable,
13863
13978
  args: [{
13864
13979
  providedIn: 'root'
@@ -13935,9 +14050,9 @@ class SoleInvoiceService extends RestService {
13935
14050
  });
13936
14051
  }
13937
14052
  }
13938
- SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13939
- SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
13940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, decorators: [{
14053
+ SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14054
+ SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
14055
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, decorators: [{
13941
14056
  type: Injectable,
13942
14057
  args: [{
13943
14058
  providedIn: 'root'
@@ -13952,9 +14067,9 @@ class SoleInvoiceTemplateService extends RestService {
13952
14067
  this.isHydra = true;
13953
14068
  }
13954
14069
  }
13955
- SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13956
- SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
13957
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
14070
+ SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14071
+ SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
14072
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
13958
14073
  type: Injectable,
13959
14074
  args: [{
13960
14075
  providedIn: 'root'
@@ -13969,9 +14084,9 @@ class BasReportService extends RestService {
13969
14084
  this.isHydra = true;
13970
14085
  }
13971
14086
  }
13972
- BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13973
- BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, providedIn: 'root' });
13974
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, decorators: [{
14087
+ BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14088
+ BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, providedIn: 'root' });
14089
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, decorators: [{
13975
14090
  type: Injectable,
13976
14091
  args: [{
13977
14092
  providedIn: 'root'
@@ -13997,9 +14112,9 @@ class ServicePaymentService extends RestService$1 {
13997
14112
  return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
13998
14113
  }
13999
14114
  }
14000
- ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14001
- ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
14002
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, decorators: [{
14115
+ ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14116
+ ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
14117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, decorators: [{
14003
14118
  type: Injectable,
14004
14119
  args: [{
14005
14120
  providedIn: 'root'
@@ -14047,9 +14162,9 @@ class ServicePaymentMethodService extends RestService$1 {
14047
14162
  });
14048
14163
  }
14049
14164
  }
14050
- 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 });
14051
- ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
14052
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
14165
+ ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
14166
+ ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
14167
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
14053
14168
  type: Injectable,
14054
14169
  args: [{
14055
14170
  providedIn: 'root'
@@ -14074,9 +14189,9 @@ class ServicePriceService extends RestService$1 {
14074
14189
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
14075
14190
  }
14076
14191
  }
14077
- ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14078
- ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
14079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, decorators: [{
14192
+ ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14193
+ ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
14194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, decorators: [{
14080
14195
  type: Injectable,
14081
14196
  args: [{
14082
14197
  providedIn: 'root'
@@ -14207,9 +14322,9 @@ class SubscriptionService extends RestService$1 {
14207
14322
  });
14208
14323
  }
14209
14324
  }
14210
- 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 });
14211
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
14212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, decorators: [{
14325
+ SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14326
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
14327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, decorators: [{
14213
14328
  type: Injectable,
14214
14329
  args: [{
14215
14330
  providedIn: 'root'
@@ -14231,9 +14346,9 @@ class ServiceProductService extends RestService$1 {
14231
14346
  this.isApiPlatform = true;
14232
14347
  }
14233
14348
  }
14234
- ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14235
- ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
14236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, decorators: [{
14349
+ ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14350
+ ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
14351
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, decorators: [{
14237
14352
  type: Injectable,
14238
14353
  args: [{
14239
14354
  providedIn: 'root'
@@ -14359,9 +14474,9 @@ class TaxReviewHistoryService extends RestService {
14359
14474
  });
14360
14475
  }
14361
14476
  }
14362
- TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14363
- TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
14364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
14477
+ TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14478
+ TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
14479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
14365
14480
  type: Injectable,
14366
14481
  args: [{
14367
14482
  providedIn: 'root'
@@ -14450,9 +14565,9 @@ class TaxReviewService extends RestService {
14450
14565
  });
14451
14566
  }
14452
14567
  }
14453
- TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14454
- TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
14455
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, decorators: [{
14568
+ TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14569
+ TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
14570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, decorators: [{
14456
14571
  type: Injectable,
14457
14572
  args: [{
14458
14573
  providedIn: 'root'
@@ -14746,9 +14861,9 @@ class TaxSummaryService {
14746
14861
  });
14747
14862
  }
14748
14863
  }
14749
- 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 });
14750
- TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
14751
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, decorators: [{
14864
+ TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14865
+ TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
14866
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, decorators: [{
14752
14867
  type: Injectable,
14753
14868
  args: [{
14754
14869
  providedIn: 'root'
@@ -14769,9 +14884,9 @@ class AllocationRuleService extends RestService$1 {
14769
14884
  this.isApiPlatform = true;
14770
14885
  }
14771
14886
  }
14772
- AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14773
- AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
14774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, decorators: [{
14887
+ AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14888
+ AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
14889
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, decorators: [{
14775
14890
  type: Injectable,
14776
14891
  args: [{
14777
14892
  providedIn: 'root'
@@ -14861,9 +14976,9 @@ class TransactionAllocationService extends RestService {
14861
14976
  });
14862
14977
  }
14863
14978
  }
14864
- TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14865
- TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
14866
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, decorators: [{
14979
+ TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14980
+ TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
14981
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, decorators: [{
14867
14982
  type: Injectable,
14868
14983
  args: [{
14869
14984
  providedIn: 'root'
@@ -15121,9 +15236,9 @@ class TransactionService extends RestService {
15121
15236
  });
15122
15237
  }
15123
15238
  }
15124
- 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 });
15125
- TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, providedIn: 'root' });
15126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, decorators: [{
15239
+ TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15240
+ TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, providedIn: 'root' });
15241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, decorators: [{
15127
15242
  type: Injectable,
15128
15243
  args: [{
15129
15244
  providedIn: 'root'
@@ -15154,9 +15269,9 @@ class TutorialVideoService {
15154
15269
  }
15155
15270
  TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
15156
15271
  TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
15157
- 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 });
15158
- TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, decorators: [{
15272
+ TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15273
+ TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, decorators: [{
15160
15275
  type: Injectable,
15161
15276
  args: [{
15162
15277
  providedIn: 'root'
@@ -15179,9 +15294,9 @@ class VehicleService extends RestService$1 {
15179
15294
  this.modelClass = Vehicle;
15180
15295
  }
15181
15296
  }
15182
- VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15183
- VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, providedIn: 'root' });
15184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, decorators: [{
15297
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15298
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, providedIn: 'root' });
15299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, decorators: [{
15185
15300
  type: Injectable,
15186
15301
  args: [{
15187
15302
  providedIn: 'root'
@@ -15262,9 +15377,9 @@ class VehicleClaimService extends RestService {
15262
15377
  combineLatest(batch$).subscribe();
15263
15378
  }
15264
15379
  }
15265
- VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15266
- VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
15267
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, decorators: [{
15380
+ VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15381
+ VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
15382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, decorators: [{
15268
15383
  type: Injectable,
15269
15384
  args: [{
15270
15385
  providedIn: 'root'
@@ -15341,9 +15456,9 @@ class VehicleClaimDetailsService {
15341
15456
  this.update(vehicleClaimDetails).subscribe();
15342
15457
  }
15343
15458
  }
15344
- 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 });
15345
- VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
15346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
15459
+ VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
15460
+ VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
15461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
15347
15462
  type: Injectable,
15348
15463
  args: [{
15349
15464
  providedIn: 'root'
@@ -15366,9 +15481,9 @@ class VehicleLogbookService extends RestService$1 {
15366
15481
  this.modelClass = VehicleLogbook;
15367
15482
  }
15368
15483
  }
15369
- VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15370
- VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
15371
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, decorators: [{
15484
+ VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15485
+ VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
15486
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, decorators: [{
15372
15487
  type: Injectable,
15373
15488
  args: [{
15374
15489
  providedIn: 'root'
@@ -15393,9 +15508,9 @@ class AnnualClientDetailsService extends RestService$1 {
15393
15508
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
15394
15509
  }
15395
15510
  }
15396
- AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15397
- AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
15398
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
15511
+ AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15512
+ AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
15513
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
15399
15514
  type: Injectable,
15400
15515
  args: [{
15401
15516
  providedIn: 'root'
@@ -15426,9 +15541,9 @@ class OccupationService {
15426
15541
  return this.occupationsSubject.asObservable();
15427
15542
  }
15428
15543
  }
15429
- 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 });
15430
- OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, providedIn: 'root' });
15431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, decorators: [{
15544
+ OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15545
+ OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, providedIn: 'root' });
15546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, decorators: [{
15432
15547
  type: Injectable,
15433
15548
  args: [{
15434
15549
  providedIn: 'root'
@@ -15473,7 +15588,7 @@ class UserEventSetting extends UserEventSetting$1 {
15473
15588
  // flag indicates that the setting is updating now saved or not
15474
15589
  this.isUpdating = false;
15475
15590
  }
15476
- get mpData() {
15591
+ getMpData() {
15477
15592
  return { type: this.type.name, byEmail: this.byEmail, byNotification: this.byNotification, frequency: this.type.frequencyLabel };
15478
15593
  }
15479
15594
  }
@@ -15494,9 +15609,9 @@ class UserEventSettingService extends RestService$1 {
15494
15609
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
15495
15610
  }
15496
15611
  }
15497
- UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15498
- UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
15499
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, decorators: [{
15612
+ UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15613
+ UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
15614
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, decorators: [{
15500
15615
  type: Injectable,
15501
15616
  args: [{
15502
15617
  providedIn: 'root'
@@ -15513,9 +15628,9 @@ class UserEventTypeService extends RestService$1 {
15513
15628
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
15514
15629
  }
15515
15630
  }
15516
- UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15517
- UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
15518
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, decorators: [{
15631
+ UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15632
+ UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
15633
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, decorators: [{
15519
15634
  type: Injectable,
15520
15635
  args: [{
15521
15636
  providedIn: 'root'
@@ -15539,9 +15654,9 @@ class UsersInviteService extends RestService {
15539
15654
  this.url = 'users/invite';
15540
15655
  }
15541
15656
  }
15542
- UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15543
- UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
15544
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, decorators: [{
15657
+ UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15658
+ UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
15659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, decorators: [{
15545
15660
  type: Injectable,
15546
15661
  args: [{
15547
15662
  providedIn: 'root'
@@ -15631,7 +15746,7 @@ class UserService extends RestService$1 {
15631
15746
  return this.http.get(`${this.apiUrl}/search`, { params: { email } }).pipe(map((userBase) => this.createModelInstance(userBase)));
15632
15747
  }
15633
15748
  finishOnboarding(user) {
15634
- return this.put(user, `${this.apiUrl}/status`);
15749
+ return this.put(user, null, `${this.apiUrl}/status`);
15635
15750
  }
15636
15751
  updatePhoto(photo) {
15637
15752
  return this.http.post(`${this.apiUrl}/photo?_method=PUT`, photo).pipe(map((photoUrl) => {
@@ -15645,6 +15760,11 @@ class UserService extends RestService$1 {
15645
15760
  return basiqId;
15646
15761
  }));
15647
15762
  }
15763
+ skipSetupItem(item) {
15764
+ const user = clone(this.getCacheFirst());
15765
+ user.blacklistSetupItems.push(item);
15766
+ return this.put(user);
15767
+ }
15648
15768
  /**
15649
15769
  * Update cache when user's service subscription is updated
15650
15770
  */
@@ -15658,9 +15778,9 @@ class UserService extends RestService$1 {
15658
15778
  this.eventDispatcherService.on(AppEventTypeEnum.BASIQ_CONSENT_UPDATED).subscribe(() => this.refreshCache());
15659
15779
  }
15660
15780
  }
15661
- 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 });
15662
- UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, providedIn: 'root' });
15663
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, decorators: [{
15781
+ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15782
+ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, providedIn: 'root' });
15783
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, decorators: [{
15664
15784
  type: Injectable,
15665
15785
  args: [{
15666
15786
  providedIn: 'root'
@@ -15686,9 +15806,9 @@ class FinancialYearService {
15686
15806
  }));
15687
15807
  }
15688
15808
  }
15689
- 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 });
15690
- FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearService, providedIn: 'root' });
15691
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearService, decorators: [{
15809
+ FinancialYearService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: MixpanelService }], target: i0.ɵɵFactoryTarget.Injectable });
15810
+ FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearService, providedIn: 'root' });
15811
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearService, decorators: [{
15692
15812
  type: Injectable,
15693
15813
  args: [{
15694
15814
  providedIn: 'root'
@@ -15714,9 +15834,9 @@ class HoldingService extends RestService$1 {
15714
15834
  this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.refreshCache);
15715
15835
  }
15716
15836
  }
15717
- HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15718
- HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, providedIn: 'root' });
15719
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, decorators: [{
15837
+ HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15838
+ HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, providedIn: 'root' });
15839
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, decorators: [{
15720
15840
  type: Injectable,
15721
15841
  args: [{
15722
15842
  providedIn: 'root'
@@ -15733,9 +15853,9 @@ class HoldingTypeService extends RestService$1 {
15733
15853
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15734
15854
  }
15735
15855
  }
15736
- HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15737
- HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
15738
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, decorators: [{
15856
+ HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15857
+ HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
15858
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, decorators: [{
15739
15859
  type: Injectable,
15740
15860
  args: [{
15741
15861
  providedIn: 'root'
@@ -15752,9 +15872,9 @@ class HoldingSaleService extends RestService$1 {
15752
15872
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15753
15873
  }
15754
15874
  }
15755
- HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15756
- HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
15757
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, decorators: [{
15875
+ HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15876
+ HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
15877
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, decorators: [{
15758
15878
  type: Injectable,
15759
15879
  args: [{
15760
15880
  providedIn: 'root'
@@ -15849,9 +15969,9 @@ class HoldingTypeExchangeService extends DataService {
15849
15969
  this.setCache(HoldingTypeExchanges);
15850
15970
  }
15851
15971
  }
15852
- HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15853
- HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
15854
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
15972
+ HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15973
+ HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
15974
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
15855
15975
  type: Injectable,
15856
15976
  args: [{
15857
15977
  providedIn: 'root'
@@ -15955,9 +16075,9 @@ class IncomeSourceTypeService extends DataService {
15955
16075
  this.setCache(IncomeSourceTypes);
15956
16076
  }
15957
16077
  }
15958
- IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15959
- IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
15960
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
16078
+ IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16079
+ IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
16080
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
15961
16081
  type: Injectable,
15962
16082
  args: [{
15963
16083
  providedIn: 'root'
@@ -15979,9 +16099,9 @@ class ChartAccountsValueService extends DataService {
15979
16099
  return this.getCache().find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
15980
16100
  }
15981
16101
  }
15982
- ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15983
- ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
15984
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, decorators: [{
16102
+ ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16103
+ ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
16104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, decorators: [{
15985
16105
  type: Injectable,
15986
16106
  args: [{
15987
16107
  providedIn: 'root'
@@ -18071,108 +18191,47 @@ class TaxReturnItemService extends DataService {
18071
18191
  this.setCache(TaxReturnItems);
18072
18192
  }
18073
18193
  }
18074
- TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18075
- TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
18076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, decorators: [{
18194
+ TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18195
+ TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
18196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, decorators: [{
18077
18197
  type: Injectable,
18078
18198
  args: [{
18079
18199
  providedIn: 'root'
18080
18200
  }]
18081
18201
  }], ctorParameters: function () { return []; } });
18082
18202
 
18083
- /**
18084
- * Enum list of all possible account setup items. Using with [ACCOUNT_SETUP_ITEMS]{@link ACCOUNT_SETUP_ITEMS}
18085
- */
18086
- var AccountSetupItemsEnum;
18087
- (function (AccountSetupItemsEnum) {
18088
- AccountSetupItemsEnum[AccountSetupItemsEnum["SALARY"] = 0] = "SALARY";
18089
- AccountSetupItemsEnum[AccountSetupItemsEnum["OTHER_INCOME"] = 1] = "OTHER_INCOME";
18090
- AccountSetupItemsEnum[AccountSetupItemsEnum["PROPERTY"] = 2] = "PROPERTY";
18091
- AccountSetupItemsEnum[AccountSetupItemsEnum["BANK_FEEDS"] = 3] = "BANK_FEEDS";
18092
- AccountSetupItemsEnum[AccountSetupItemsEnum["WORK_LOGBOOK"] = 4] = "WORK_LOGBOOK";
18093
- AccountSetupItemsEnum[AccountSetupItemsEnum["TRANSACTION"] = 5] = "TRANSACTION";
18094
- AccountSetupItemsEnum[AccountSetupItemsEnum["SOLE_BUSINESS"] = 6] = "SOLE_BUSINESS";
18095
- AccountSetupItemsEnum[AccountSetupItemsEnum["HOLDINGS"] = 7] = "HOLDINGS";
18096
- })(AccountSetupItemsEnum || (AccountSetupItemsEnum = {}));
18203
+ var SetupItemTypeEnum;
18204
+ (function (SetupItemTypeEnum) {
18205
+ SetupItemTypeEnum[SetupItemTypeEnum["CLIENT"] = 1] = "CLIENT";
18206
+ SetupItemTypeEnum[SetupItemTypeEnum["EMPLOYEE"] = 2] = "EMPLOYEE";
18207
+ })(SetupItemTypeEnum || (SetupItemTypeEnum = {}));
18097
18208
 
18098
- /**
18099
- * Account setup item instance is using for account setup checklist
18100
- */
18101
- class AccountSetupItem extends AbstractModel {
18209
+ class SetupItemService extends RestService$1 {
18102
18210
  constructor() {
18103
18211
  super(...arguments);
18104
- this.clientIncomeTypes = [];
18212
+ this.endpointUri = 'setup-items';
18213
+ this.isApiPlatform = true;
18214
+ this.modelClass = AccountSetupItem;
18215
+ this.collectionClass = AccountSetupItemCollection;
18216
+ this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
18105
18217
  }
18106
18218
  }
18107
-
18108
- /**
18109
- * List of all possible account setup steps
18110
- */
18111
- const ACCOUNT_SETUP_ITEMS = {
18112
- [AccountSetupItemsEnum.SALARY]: plainToClass(AccountSetupItem, {
18113
- title: 'Add your work income forecast',
18114
- description: 'One the most important steps is to add your salary or wage incomes so we can automatically calculate tax withheld and your forecasted tax position.',
18115
- url: '/client/work-tank/forecasting',
18116
- urlFragment: 'salaryProductTour',
18117
- clientIncomeTypes: ['work']
18118
- }),
18119
- [AccountSetupItemsEnum.OTHER_INCOME]: plainToClass(AccountSetupItem, {
18120
- title: 'Add any other expected incomes',
18121
- description: 'To ensure an accurate tax position forecast, add estimates for any other income types, like dividends, interest, trusts, annuities, director payments etc.',
18122
- url: '/client/work-tank/forecasting',
18123
- urlFragment: 'otherIncomeProductTour',
18124
- clientIncomeTypes: ['work']
18125
- }),
18126
- [AccountSetupItemsEnum.PROPERTY]: plainToClass(AccountSetupItem, {
18127
- title: 'Add your properties',
18128
- description: 'Add your properties to seamlessly manage your rental incomes and expenses, whilst tracking your cash position, tax positions and equity forecasts in real time.',
18129
- url: '/client/property-tank',
18130
- urlFragment: 'productTour',
18131
- clientIncomeTypes: ['property']
18132
- }),
18133
- [AccountSetupItemsEnum.BANK_FEEDS]: plainToClass(AccountSetupItem, {
18134
- title: 'Link banks and select accounts',
18135
- description: 'Link banks to automatically feed your account transactions to save you time and money. Allocating live transactions ensures nothing is missed, lost or forgotten!',
18136
- url: '/client/bank-feeds',
18137
- urlFragment: 'bankAccountProductTour',
18138
- clientIncomeTypes: ['work', 'property', 'sole']
18139
- }),
18140
- [AccountSetupItemsEnum.WORK_LOGBOOK]: plainToClass(AccountSetupItem, {
18141
- title: 'Set up your logbook method',
18142
- description: 'Do you use your vehicle for work? Select your method and the kms or logbook % to automate accurately all vehicle expenses throughout the year.',
18143
- url: '/client/work-tank/logbook',
18144
- urlFragment: 'productTour'
18145
- }),
18146
- [AccountSetupItemsEnum.TRANSACTION]: plainToClass(AccountSetupItem, {
18147
- title: 'Allocate transactions',
18148
- description: 'Select one or multiple transactions, the category from the dropdown and attach your receipt. It’s that simple to capture every possible deduction, and keep organised all throughout the year.',
18149
- url: '/client/bank-feeds',
18150
- urlFragment: 'allocationProductTour',
18151
- clientIncomeTypes: ['work', 'property', 'sole']
18152
- }),
18153
- [AccountSetupItemsEnum.SOLE_BUSINESS]: plainToClass(AccountSetupItem, {
18154
- title: 'Add your Sole Trader business',
18155
- description: 'Add up to 6 sole trader businesses to seamlessly manage invoicing, payments, BAS and prior even losses for every hustle without the hassle!',
18156
- url: '/client/sole-tank',
18157
- urlFragment: 'productTour',
18158
- clientIncomeTypes: ['sole']
18159
- }),
18160
- [AccountSetupItemsEnum.HOLDINGS]: plainToClass(AccountSetupItem, {
18161
- title: 'Add your holdings',
18162
- description: 'Track your trades for shares, crypto and other assets in one place, and auto calculate CGT all year round!',
18163
- url: '/client/holdings-tank',
18164
- // @TODO Nicole waiting for product tour from
18165
- urlFragment: 'productTour',
18166
- clientIncomeTypes: ['holdings']
18167
- }),
18168
- };
18219
+ SetupItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SetupItemService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18220
+ SetupItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SetupItemService, providedIn: 'root' });
18221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SetupItemService, decorators: [{
18222
+ type: Injectable,
18223
+ args: [{
18224
+ providedIn: 'root'
18225
+ }]
18226
+ }] });
18169
18227
 
18170
18228
  /**
18171
18229
  * Service handling user's account setup process.
18172
18230
  * Checks required steps and their completion
18173
18231
  */
18174
18232
  class AccountSetupService {
18175
- constructor(propertyService, incomeSourceService, bankAccountsService, transactionAllocationService, vehicleClaimService, transactionService, soleBusinessService, holdingService, userService) {
18233
+ constructor(setupItemService, propertyService, incomeSourceService, bankAccountsService, transactionAllocationService, vehicleClaimService, transactionService, soleBusinessService, holdingService, userService, clientMovementService, clientInviteService, employeeService, employeeInviteService, firmService) {
18234
+ this.setupItemService = setupItemService;
18176
18235
  this.propertyService = propertyService;
18177
18236
  this.incomeSourceService = incomeSourceService;
18178
18237
  this.bankAccountsService = bankAccountsService;
@@ -18182,67 +18241,46 @@ class AccountSetupService {
18182
18241
  this.soleBusinessService = soleBusinessService;
18183
18242
  this.holdingService = holdingService;
18184
18243
  this.userService = userService;
18185
- this.cacheSubject = new ReplaySubject(1);
18244
+ this.clientMovementService = clientMovementService;
18245
+ this.clientInviteService = clientInviteService;
18246
+ this.employeeService = employeeService;
18247
+ this.employeeInviteService = employeeInviteService;
18248
+ this.firmService = firmService;
18186
18249
  }
18187
18250
  /**
18188
- * Get list of account setup items for current user
18251
+ * Get list of account setup items for current user/firm
18189
18252
  */
18190
- get() {
18191
- if (!this.cache) {
18192
- this.cache = new AccountSetupItemCollection([]);
18193
- this.userService.getFirst().pipe(mergeMap((user) => {
18194
- this.user = user;
18195
- return this.createBatch();
18196
- })).subscribe((items) => {
18197
- switch (true) {
18198
- case !this.cache:
18199
- case this.cache.filterBy('isCompleted', true).length !== items.filterBy('isCompleted', true).length:
18200
- case this.cache.length !== items.length:
18201
- this.cache = cloneDeep$1(items);
18202
- this.cacheSubject.next(this.cache);
18203
- }
18204
- });
18205
- }
18206
- return this.cacheSubject.asObservable();
18207
- }
18208
- /**
18209
- * Get a single AccountSetupItem and check it's completion
18210
- */
18211
- create(itemType, request) {
18212
- return request.pipe(map((result) => {
18213
- const item = ACCOUNT_SETUP_ITEMS[itemType];
18214
- if (result.length) {
18215
- item.isCompleted = true;
18216
- }
18217
- else {
18218
- item.isCompleted = false;
18219
- }
18220
- return item;
18253
+ get(type) {
18254
+ return combineLatest([
18255
+ this.setupItemService.get(),
18256
+ this.userService.getFirst()
18257
+ ])
18258
+ .pipe(mergeMap(([items, user]) => {
18259
+ this.items = items;
18260
+ this.user = user;
18261
+ return type === SetupItemTypeEnum.CLIENT ? this.getClientItems$() : this.getFirmItems$();
18221
18262
  }));
18222
18263
  }
18223
- /**
18224
- * Get batch of requests to get list of required AccountSetupItem's.
18225
- * Some items are optional and depends of user's client income types
18226
- */
18227
- createBatch() {
18264
+ getClientItems$() {
18228
18265
  const batch = [];
18229
- // Salary item is completed when user added salary income source
18230
18266
  if (this.user.hasRoles(UserRolesEnum.WORK_TANK)) {
18231
- batch.push(this.create(AccountSetupItemsEnum.SALARY, this.getIncomeSources(true)),
18267
+ batch.push(
18268
+ // Salary item is completed when user added salary income source
18269
+ this.setItemStatus(this.items.findBy('isSalary', true), this.getIncomeSources(true)),
18232
18270
  // Other income is a part of work tank, completed when user added at least one other income source
18233
- this.create(AccountSetupItemsEnum.OTHER_INCOME, this.getIncomeSources()));
18271
+ this.setItemStatus(this.items.findBy('isOtherIncome', true), this.getIncomeSources()));
18234
18272
  }
18235
18273
  // Rental income item is completed when user added at least one property
18236
18274
  if (this.user.hasRoles(UserRolesEnum.PROPERTY_TANK)) {
18237
- batch.push(this.create(AccountSetupItemsEnum.PROPERTY, this.propertyService.getArray()));
18275
+ batch.push(this.setItemStatus(this.items.findBy('isProperty', true), this.propertyService.getArray()));
18238
18276
  }
18239
18277
  // Sole business item is completed when user added at least one business
18240
18278
  if (this.user.hasRoles(UserRolesEnum.SOLE_TANK)) {
18241
- batch.push(this.create(AccountSetupItemsEnum.SOLE_BUSINESS, this.soleBusinessService.get()));
18279
+ batch.push(this.setItemStatus(this.items.findBy('isSoleBusiness', true), this.soleBusinessService.get()));
18242
18280
  }
18243
18281
  // holdings item is completed when user added at least one holding
18244
18282
  if (this.user.hasRoles(UserRolesEnum.HOLDING_TANK)) {
18245
- batch.push(this.create(AccountSetupItemsEnum.HOLDINGS, this.holdingService.getArray()));
18283
+ batch.push(this.setItemStatus(this.items.findBy('isHoldings', true), this.holdingService.getArray()));
18246
18284
  }
18247
18285
  if (this.user.hasRoles([UserRolesEnum.WORK_TANK, UserRolesEnum.PROPERTY_TANK, UserRolesEnum.SOLE_TANK, UserRolesEnum.HOLDING_TANK])) {
18248
18286
  // Bank feeds item is completed when user added at least one bank account (basiq or manual)
@@ -18250,10 +18288,58 @@ class AccountSetupService {
18250
18288
  // Logbook item is completed when user has at least one vehicle claim with any method (kms or logbook)
18251
18289
  batch.push(this.getLogbookItem());
18252
18290
  // Allocation item is completed when user added at least one transaction allocation
18253
- batch.push(this.create(AccountSetupItemsEnum.TRANSACTION, this.transactionAllocationService.get()));
18291
+ batch.push(this.setItemStatus(this.items.findBy('isTransactionAllocate', true), this.transactionAllocationService.get()));
18254
18292
  }
18255
18293
  return combineLatest(batch).pipe(map((items) => new AccountSetupItemCollection(items)));
18256
18294
  }
18295
+ getFirmItems$() {
18296
+ const batch = [];
18297
+ batch.push(
18298
+ // Firm Details item is completed when user filled some general information
18299
+ this.firmService.get().pipe(map((firm) => {
18300
+ const item = this.items.findBy('isFirmDetails', true);
18301
+ if (firm.address || firm.phone || firm.file || firm.shortName) {
18302
+ item.isCompleted = true;
18303
+ }
18304
+ return item;
18305
+ })));
18306
+ batch.push(
18307
+ // Invite team item is completed when firm has employees except firm owner or firm has invited employees.
18308
+ this.setItemStatus(this.items.findBy('isInviteTeam', true), combineLatest([
18309
+ this.employeeService.get(),
18310
+ this.employeeInviteService.get()
18311
+ ]).pipe(map(([employees, invites]) => {
18312
+ // we always have at least 1 employee (firm owner), so we should check other employees except firm owner
18313
+ if (employees.length) {
18314
+ employees = clone(employees).splice(0, 1);
18315
+ }
18316
+ return [...employees, ...invites];
18317
+ }))));
18318
+ batch.push(
18319
+ // Invite clients item is completed when firm has clients or firm has invited clients.
18320
+ this.setItemStatus(this.items.findBy('isInviteClients', true), combineLatest([
18321
+ this.clientMovementService.getActive(),
18322
+ this.clientInviteService.get(true)
18323
+ ]).pipe(map(([movements, invites]) => {
18324
+ return [...movements.toArray(), ...invites];
18325
+ }))));
18326
+ return combineLatest(batch).pipe(map((items) => new AccountSetupItemCollection(items)));
18327
+ }
18328
+ /**
18329
+ * Check and update isCompleted flag for passed item
18330
+ */
18331
+ setItemStatus(item, request) {
18332
+ return request.pipe(map((result) => {
18333
+ const isSkipped = !!this.user.blacklistSetupItems.find((skippedItem) => skippedItem.id === item.id);
18334
+ if (result.length || isSkipped) {
18335
+ item.isCompleted = true;
18336
+ }
18337
+ else {
18338
+ item.isCompleted = false;
18339
+ }
18340
+ return item;
18341
+ }));
18342
+ }
18257
18343
  /**
18258
18344
  * @TODO Alex: work with collection when services refactored
18259
18345
  * @TODO Vik: waiting for income sources refactoring
@@ -18276,31 +18362,30 @@ class AccountSetupService {
18276
18362
  // @TODO Alex: remove map when services start work with collections
18277
18363
  map((transactions) => new TransactionCollection(transactions)), mergeMap((transactions) => {
18278
18364
  if (transactions.getVehicleTransactions().length) {
18279
- return this.create(AccountSetupItemsEnum.WORK_LOGBOOK, this.vehicleClaimService.get());
18365
+ return this.setItemStatus(this.items.findBy('isWorkLogbook', true), this.vehicleClaimService.get());
18280
18366
  }
18281
18367
  return of(null);
18282
18368
  }));
18283
18369
  }
18284
18370
  /**
18285
- * Show bank feeds item when user has only holding tank
18371
+ * Hide bank feeds item when user has only holding tank
18286
18372
  */
18287
18373
  getBankFeedsItem() {
18288
- const userRoles = this.userService.getCacheFirst().roles;
18289
18374
  const bankFeedsRoles = [UserRolesEnum.PROPERTY_TANK, UserRolesEnum.WORK_TANK, UserRolesEnum.SOLE_TANK];
18290
- if (!intersection(bankFeedsRoles, userRoles).length) {
18375
+ if (!intersection(bankFeedsRoles, this.user.roles).length) {
18291
18376
  return of(null);
18292
18377
  }
18293
- return this.create(AccountSetupItemsEnum.BANK_FEEDS, this.bankAccountsService.getArray());
18378
+ return this.setItemStatus(this.items.findBy('isBankFeeds', true), this.bankAccountsService.getArray());
18294
18379
  }
18295
18380
  }
18296
- 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 });
18297
- AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
18298
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, decorators: [{
18381
+ AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, deps: [{ token: SetupItemService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }, { token: UserService }, { token: ClientMovementService }, { token: ClientInviteService }, { token: EmployeeService }, { token: EmployeeInviteService }, { token: FirmService }], target: i0.ɵɵFactoryTarget.Injectable });
18382
+ AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
18383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, decorators: [{
18299
18384
  type: Injectable,
18300
18385
  args: [{
18301
18386
  providedIn: 'root'
18302
18387
  }]
18303
- }], ctorParameters: function () { return [{ type: PropertyService }, { type: IncomeSourceService }, { type: BankAccountService }, { type: TransactionAllocationService }, { type: VehicleClaimService }, { type: TransactionService }, { type: SoleBusinessService }, { type: HoldingService }, { type: UserService }]; } });
18388
+ }], ctorParameters: function () { return [{ type: SetupItemService }, { type: PropertyService }, { type: IncomeSourceService }, { type: BankAccountService }, { type: TransactionAllocationService }, { type: VehicleClaimService }, { type: TransactionService }, { type: SoleBusinessService }, { type: HoldingService }, { type: UserService }, { type: ClientMovementService }, { type: ClientInviteService }, { type: EmployeeService }, { type: EmployeeInviteService }, { type: FirmService }]; } });
18304
18389
 
18305
18390
  /**
18306
18391
  * Service to work with Rewardful (affiliate program) API
@@ -18321,9 +18406,9 @@ class RewardfulService {
18321
18406
  });
18322
18407
  }
18323
18408
  }
18324
- RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18325
- RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, providedIn: 'root' });
18326
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, decorators: [{
18409
+ RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18410
+ RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, providedIn: 'root' });
18411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, decorators: [{
18327
18412
  type: Injectable,
18328
18413
  args: [{
18329
18414
  providedIn: 'root'
@@ -18361,9 +18446,9 @@ class UserSwitcherService {
18361
18446
  window.location.replace('/firm/dashboard');
18362
18447
  }
18363
18448
  }
18364
- UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18365
- UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
18366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, decorators: [{
18449
+ UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18450
+ UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
18451
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, decorators: [{
18367
18452
  type: Injectable,
18368
18453
  args: [{
18369
18454
  providedIn: 'root'
@@ -18405,9 +18490,9 @@ class AssetsService {
18405
18490
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
18406
18491
  }
18407
18492
  }
18408
- 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 });
18409
- AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, providedIn: 'root' });
18410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, decorators: [{
18493
+ AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18494
+ AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, providedIn: 'root' });
18495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, decorators: [{
18411
18496
  type: Injectable,
18412
18497
  args: [{
18413
18498
  providedIn: 'root'
@@ -18468,9 +18553,9 @@ class BankTransactionCalculationService {
18468
18553
  return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
18469
18554
  }
18470
18555
  }
18471
- BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18472
- BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
18473
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
18556
+ BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18557
+ BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
18558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
18474
18559
  type: Injectable,
18475
18560
  args: [{
18476
18561
  providedIn: 'root'
@@ -18499,9 +18584,9 @@ class BankAccountCalculationService {
18499
18584
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
18500
18585
  }
18501
18586
  }
18502
- BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
18503
- BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
18504
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, decorators: [{
18587
+ BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
18588
+ BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
18589
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, decorators: [{
18505
18590
  type: Injectable,
18506
18591
  args: [{
18507
18592
  providedIn: 'root'
@@ -18529,9 +18614,9 @@ class ExportFormatterService {
18529
18614
  }));
18530
18615
  }
18531
18616
  }
18532
- 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 });
18533
- ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
18534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, decorators: [{
18617
+ ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
18618
+ ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
18619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, decorators: [{
18535
18620
  type: Injectable,
18536
18621
  args: [{
18537
18622
  providedIn: 'root'
@@ -18552,9 +18637,9 @@ class HeaderTitleService {
18552
18637
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
18553
18638
  }
18554
18639
  }
18555
- 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 });
18556
- HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
18557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, decorators: [{
18640
+ HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
18641
+ HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
18642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, decorators: [{
18558
18643
  type: Injectable,
18559
18644
  args: [{
18560
18645
  providedIn: 'root'
@@ -18588,9 +18673,9 @@ class IntercomService {
18588
18673
  window.Intercom('boot', connectionCredentials);
18589
18674
  }
18590
18675
  }
18591
- IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18592
- IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, providedIn: 'root' });
18593
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, decorators: [{
18676
+ IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18677
+ IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, providedIn: 'root' });
18678
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, decorators: [{
18594
18679
  type: Injectable,
18595
18680
  args: [{
18596
18681
  providedIn: 'root'
@@ -18662,9 +18747,9 @@ class PdfFromDomElementService {
18662
18747
  .then((blob) => new File([blob], filename, { type: 'application/pdf' })));
18663
18748
  }
18664
18749
  }
18665
- PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18666
- PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
18667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, decorators: [{
18750
+ PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18751
+ PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
18752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, decorators: [{
18668
18753
  type: Injectable,
18669
18754
  args: [{
18670
18755
  providedIn: 'root'
@@ -18758,9 +18843,9 @@ class PdfFromTableService {
18758
18843
  .setTextColor(FILE_SETTINGS.text.colorPrimary);
18759
18844
  }
18760
18845
  }
18761
- PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18762
- PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
18763
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, decorators: [{
18846
+ PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18847
+ PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
18848
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, decorators: [{
18764
18849
  type: Injectable,
18765
18850
  args: [{
18766
18851
  providedIn: 'root'
@@ -18794,9 +18879,9 @@ class PdfFromDataTableService extends PdfFromTableService {
18794
18879
  return pdf;
18795
18880
  }
18796
18881
  }
18797
- PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
18798
- PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
18799
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, decorators: [{
18882
+ PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
18883
+ PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
18884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, decorators: [{
18800
18885
  type: Injectable,
18801
18886
  args: [{
18802
18887
  providedIn: 'root'
@@ -18829,9 +18914,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
18829
18914
  return pdf;
18830
18915
  }
18831
18916
  }
18832
- PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18833
- PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
18834
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
18917
+ PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18918
+ PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
18919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
18835
18920
  type: Injectable,
18836
18921
  args: [{
18837
18922
  providedIn: 'root'
@@ -18856,9 +18941,9 @@ class PreloaderService {
18856
18941
  this.activePreloaders.next(activePreloaders);
18857
18942
  }
18858
18943
  }
18859
- PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18860
- PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, providedIn: 'root' });
18861
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, decorators: [{
18944
+ PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18945
+ PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, providedIn: 'root' });
18946
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, decorators: [{
18862
18947
  type: Injectable,
18863
18948
  args: [{
18864
18949
  providedIn: 'root'
@@ -18885,9 +18970,9 @@ class EquityPositionChartService {
18885
18970
  }))));
18886
18971
  }
18887
18972
  }
18888
- 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 });
18889
- EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
18890
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, decorators: [{
18973
+ EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18974
+ EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
18975
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, decorators: [{
18891
18976
  type: Injectable,
18892
18977
  args: [{
18893
18978
  providedIn: 'root'
@@ -19062,9 +19147,9 @@ class PropertyCalculationService {
19062
19147
  }
19063
19148
  }
19064
19149
  }
19065
- PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19066
- PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
19067
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, decorators: [{
19150
+ PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19151
+ PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
19152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, decorators: [{
19068
19153
  type: Injectable,
19069
19154
  args: [{
19070
19155
  providedIn: 'root'
@@ -19117,9 +19202,9 @@ class PropertyTransactionReportService {
19117
19202
  .getWithoutBorrowingExpenses()));
19118
19203
  }
19119
19204
  }
19120
- 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 });
19121
- PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
19122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
19205
+ PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
19206
+ PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
19207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
19123
19208
  type: Injectable,
19124
19209
  args: [{
19125
19210
  providedIn: 'root'
@@ -19190,9 +19275,9 @@ class TransactionCalculationService {
19190
19275
  return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
19191
19276
  }
19192
19277
  }
19193
- TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19194
- TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
19195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, decorators: [{
19278
+ TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19279
+ TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
19280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, decorators: [{
19196
19281
  type: Injectable,
19197
19282
  args: [{
19198
19283
  providedIn: 'root'
@@ -19252,9 +19337,9 @@ class LogbookBestPeriodService {
19252
19337
  });
19253
19338
  }
19254
19339
  }
19255
- 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 });
19256
- LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
19257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
19340
+ LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
19341
+ LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
19342
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
19258
19343
  type: Injectable,
19259
19344
  args: [{
19260
19345
  providedIn: 'root'
@@ -19333,9 +19418,9 @@ class XlsxService {
19333
19418
  FileSaver.saveAs(data, `${fileName}.xlsx`);
19334
19419
  }
19335
19420
  }
19336
- XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19337
- XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, providedIn: 'root' });
19338
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, decorators: [{
19421
+ XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19422
+ XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, providedIn: 'root' });
19423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, decorators: [{
19339
19424
  type: Injectable,
19340
19425
  args: [{
19341
19426
  providedIn: 'root'
@@ -19466,9 +19551,9 @@ class JwtInterceptor {
19466
19551
  });
19467
19552
  }
19468
19553
  }
19469
- 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 });
19470
- JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor });
19471
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor, decorators: [{
19554
+ JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19555
+ JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor });
19556
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, decorators: [{
19472
19557
  type: Injectable
19473
19558
  }], ctorParameters: function () {
19474
19559
  return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
@@ -19505,9 +19590,9 @@ class UserSwitcherInterceptor {
19505
19590
  return next.handle(this.switch(request, this.userSwitcherService.get()));
19506
19591
  }
19507
19592
  }
19508
- 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 });
19509
- UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor });
19510
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
19593
+ UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19594
+ UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor });
19595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
19511
19596
  type: Injectable
19512
19597
  }], ctorParameters: function () {
19513
19598
  return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
@@ -19670,10 +19755,10 @@ const ENDPOINTS = {
19670
19755
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
19671
19756
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/depreciation-capital-projects\\/\\d+'),
19672
19757
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_DELETE: new Endpoint('DELETE', '\\/properties\\/\\d+\\/depreciation-capital-projects\\/\\d+'),
19673
- PROPERTIES_DOCUMENTS_GET: new Endpoint('GET', '\\/properties\\/documents'),
19674
- PROPERTIES_DOCUMENTS_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/documents'),
19675
- PROPERTIES_DOCUMENTS_PUT: new Endpoint('PUT', '\\/properties\\/documents\\/\\d+'),
19676
- PROPERTIES_DOCUMENTS_DELETE: new Endpoint('DELETE', '\\/properties\\/documents\\/\\d+'),
19758
+ PROPERTIES_DOCUMENTS_GET: new Endpoint('GET', '\\/property-documents'),
19759
+ PROPERTIES_DOCUMENTS_POST: new Endpoint('POST', '\\/property-documents'),
19760
+ PROPERTIES_DOCUMENTS_PUT: new Endpoint('PUT', '\\/property-documents\\/\\d+'),
19761
+ PROPERTIES_DOCUMENTS_DELETE: new Endpoint('DELETE', '\\/property-documents\\/\\d+'),
19677
19762
  PROPERTIES_PHOTO_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/photo\.\*'),
19678
19763
  PROPERTIES_SALES_GET: new Endpoint('GET', '\\/properties\\/sales'),
19679
19764
  PROPERTIES_SUGGESTIONS_GET: new Endpoint('GET', '/property\\/\\w+\\/v2\\/.*$'),
@@ -19796,9 +19881,9 @@ class PreloaderInterceptor {
19796
19881
  return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
19797
19882
  }
19798
19883
  }
19799
- PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
19800
- PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor });
19801
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor, decorators: [{
19884
+ PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
19885
+ PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor });
19886
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, decorators: [{
19802
19887
  type: Injectable
19803
19888
  }], ctorParameters: function () { return [{ type: PreloaderService }]; } });
19804
19889
 
@@ -19824,9 +19909,9 @@ class BasiqTokenInterceptor {
19824
19909
  });
19825
19910
  }
19826
19911
  }
19827
- BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
19828
- BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor });
19829
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
19912
+ BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
19913
+ BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor });
19914
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
19830
19915
  type: Injectable
19831
19916
  }], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
19832
19917
 
@@ -19850,17 +19935,17 @@ class BasiqClientIdInterceptor {
19850
19935
  });
19851
19936
  }
19852
19937
  }
19853
- BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
19854
- BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor });
19855
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
19938
+ BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
19939
+ BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor });
19940
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
19856
19941
  type: Injectable
19857
19942
  }], ctorParameters: function () { return [{ type: UserService }]; } });
19858
19943
 
19859
19944
  class InterceptorsModule {
19860
19945
  }
19861
- InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19862
- InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule });
19863
- InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, providers: [
19946
+ InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19947
+ InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule });
19948
+ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, providers: [
19864
19949
  {
19865
19950
  provide: HTTP_INTERCEPTORS,
19866
19951
  useClass: CorelogicInterceptor,
@@ -19898,7 +19983,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
19898
19983
  multi: true
19899
19984
  }
19900
19985
  ] });
19901
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, decorators: [{
19986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, decorators: [{
19902
19987
  type: NgModule,
19903
19988
  args: [{
19904
19989
  providers: [
@@ -19959,12 +20044,12 @@ class TtCoreModule {
19959
20044
  };
19960
20045
  }
19961
20046
  }
19962
- TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19963
- TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
20047
+ TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20048
+ TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19964
20049
  InterceptorsModule] });
19965
- TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
20050
+ TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19966
20051
  InterceptorsModule] });
19967
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, decorators: [{
20052
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, decorators: [{
19968
20053
  type: NgModule,
19969
20054
  args: [{
19970
20055
  declarations: [],
@@ -19985,9 +20070,9 @@ class AppCurrencyPipe extends CurrencyPipe {
19985
20070
  return super.transform(value, currencyCode, display, digitsInfo, locale);
19986
20071
  }
19987
20072
  }
19988
- AppCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19989
- AppCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" });
19990
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, decorators: [{
20073
+ AppCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
20074
+ AppCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" });
20075
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AppCurrencyPipe, decorators: [{
19991
20076
  type: Pipe,
19992
20077
  args: [{
19993
20078
  name: 'appCurrency',
@@ -21072,9 +21157,9 @@ class UniqueEmailValidator {
21072
21157
  return this.userService.search(control.value).pipe(delay(500), map((user) => user ? { emailIsUsed: true } : null), catchError(() => of(null)));
21073
21158
  }
21074
21159
  }
21075
- UniqueEmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
21076
- UniqueEmailValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' });
21077
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, decorators: [{
21160
+ UniqueEmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
21161
+ UniqueEmailValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' });
21162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UniqueEmailValidator, decorators: [{
21078
21163
  type: Injectable,
21079
21164
  args: [{ providedIn: 'root' }]
21080
21165
  }], ctorParameters: function () { return [{ type: UserService }]; } });
@@ -23788,13 +23873,10 @@ var MessagesEnum;
23788
23873
  })(MessagesEnum || (MessagesEnum = {}));
23789
23874
 
23790
23875
  // @TODO Alex: Create indexes everywhere and break this file to imports from indexes
23791
- /**
23792
- * Public API Surface of tt-core
23793
- */
23794
23876
 
23795
23877
  /**
23796
23878
  * Generated bundle index. Do not edit.
23797
23879
  */
23798
23880
 
23799
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteMessages, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MixpanelService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SERVICE_PRODUCT_ROLES, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, taxReviewFilterPredicate, toArray };
23881
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteMessages, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MixpanelService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SERVICE_PRODUCT_ROLES, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, taxReviewFilterPredicate, toArray };
23800
23882
  //# sourceMappingURL=taxtank-core.mjs.map