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'
@@ -112,9 +112,9 @@ class CorelogicInterceptor {
112
112
  });
113
113
  }
114
114
  }
115
- CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
116
- CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor });
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CorelogicInterceptor, decorators: [{
115
+ CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
116
+ CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor });
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, decorators: [{
118
118
  type: Injectable
119
119
  }], ctorParameters: function () { return [{ type: CorelogicService }, { type: undefined, decorators: [{
120
120
  type: Inject,
@@ -151,9 +151,9 @@ class FinancialYearInterceptor {
151
151
  return next.handle(clonedReq);
152
152
  }
153
153
  }
154
- FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
155
- FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor });
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
154
+ FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
155
+ FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor });
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
157
157
  type: Injectable
158
158
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
159
159
  type: Inject,
@@ -206,9 +206,9 @@ class AddressService {
206
206
  return this.countriesSubject.asObservable();
207
207
  }
208
208
  }
209
- AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
210
- AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, providedIn: 'root' });
211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AddressService, decorators: [{
209
+ AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
210
+ AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, providedIn: 'root' });
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, decorators: [{
212
212
  type: Injectable,
213
213
  args: [{
214
214
  providedIn: 'root'
@@ -2287,6 +2287,12 @@ var DepreciationCalculationEnum;
2287
2287
  })(DepreciationCalculationEnum || (DepreciationCalculationEnum = {}));
2288
2288
 
2289
2289
  class DepreciationCapitalProject extends DepreciationCapitalProject$1 {
2290
+ getMpData(property) {
2291
+ return {
2292
+ 'Property': property.name,
2293
+ 'Name': this.projectName
2294
+ };
2295
+ }
2290
2296
  }
2291
2297
  __decorate([
2292
2298
  Type(() => Date)
@@ -3829,6 +3835,70 @@ __decorate([
3829
3835
  Type(() => Date)
3830
3836
  ], AssetSale.prototype, "date", void 0);
3831
3837
 
3838
+ var TaxExemptions = [
3839
+ {
3840
+ id: 1,
3841
+ name: "Apply 50% CGT Discount",
3842
+ description: "50% CGT discount applies when an investment property has been owned for more than 12 months (contract date to contract date). Foreign residents are not eligible",
3843
+ metaFields: [
3844
+ ]
3845
+ },
3846
+ {
3847
+ id: 2,
3848
+ name: "Full Exemption (Principle place of residence)",
3849
+ description: "Your 'main residence' (home) is generally exempt from capital gains tax (CGT). You're not entitled to the exemption for a vacant block of land. Foreign residents are also excluded in most circumstances",
3850
+ metaFields: [
3851
+ ]
3852
+ },
3853
+ {
3854
+ id: 3,
3855
+ name: "Full Exemption (6 year rule)",
3856
+ description: "You can nominate an investment property as your main residence for up to 6 years if it is used to produce income, or indefinitely if it is not used to produce income. However, you can not treat any other dwelling as your main residence for the same period",
3857
+ metaFields: [
3858
+ ]
3859
+ },
3860
+ {
3861
+ id: 4,
3862
+ name: "Partial exemption (investment property became your main residence)",
3863
+ description: "The number of days the dwelling was not your main residence, and the total ownership days are used to calculate the taxable portion of any CGT",
3864
+ metaFields: [
3865
+ {
3866
+ id: 1,
3867
+ name: "Total amount of days the property was your main residence"
3868
+ }
3869
+ ]
3870
+ },
3871
+ {
3872
+ id: 5,
3873
+ name: "Main Residence became your 'investment property' or 'home office'",
3874
+ description: "The market value at the time a principle place of residence became an investment property, or is used as a home business, becomes the adjusted cost base. The percentage of home office use (if applicable) is then applied",
3875
+ metaFields: [
3876
+ {
3877
+ id: 2,
3878
+ name: "Market Value"
3879
+ },
3880
+ {
3881
+ id: 2,
3882
+ name: "Home office percentage claimed"
3883
+ }
3884
+ ]
3885
+ },
3886
+ {
3887
+ id: 6,
3888
+ name: "Property transfer (Relationship Breakdown)",
3889
+ description: "If you transfer an asset to your spouse because of a relationship breakdown a 'rollover' generally applies. This means the transferor spouse disregards any capital gain or loss that would otherwise arise",
3890
+ metaFields: [
3891
+ ]
3892
+ },
3893
+ {
3894
+ id: 7,
3895
+ name: "Full exemption (Other)",
3896
+ description: "In some other instances a full exemption may apply, for example pre-CGT assets and some inheritance",
3897
+ metaFields: [
3898
+ ]
3899
+ }
3900
+ ];
3901
+
3832
3902
  class PropertySale extends AssetSale {
3833
3903
  get saleCostsTotalAmount() {
3834
3904
  return this.commission + this.legalFees + this.otherCost;
@@ -3843,6 +3913,12 @@ class PropertySale extends AssetSale {
3843
3913
  get netPrice() {
3844
3914
  return this.price - this.saleCostsTotalAmount;
3845
3915
  }
3916
+ getMpData(property) {
3917
+ return {
3918
+ 'Property': property.name,
3919
+ 'Concession': TaxExemptions.find((taxExemption) => taxExemption.id === this.taxExemption.id).name
3920
+ };
3921
+ }
3846
3922
  }
3847
3923
  __decorate([
3848
3924
  Type(() => Number)
@@ -3878,12 +3954,30 @@ __decorate([
3878
3954
  Type(() => PropertySaleTaxExemptionMetaField$1)
3879
3955
  ], PropertySale.prototype, "taxExemptionMetaFields", void 0);
3880
3956
 
3881
- var UserStatusEnum;
3882
- (function (UserStatusEnum) {
3883
- UserStatusEnum[UserStatusEnum["INACTIVE"] = 0] = "INACTIVE";
3884
- UserStatusEnum[UserStatusEnum["ON_BOARDING"] = 1] = "ON_BOARDING";
3885
- UserStatusEnum[UserStatusEnum["ACTIVE"] = 2] = "ACTIVE";
3886
- })(UserStatusEnum || (UserStatusEnum = {}));
3957
+ var MyAccountHistoryInitiatedByEnum;
3958
+ (function (MyAccountHistoryInitiatedByEnum) {
3959
+ MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["OWNER"] = 0] = "OWNER";
3960
+ MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
3961
+ })(MyAccountHistoryInitiatedByEnum || (MyAccountHistoryInitiatedByEnum = {}));
3962
+
3963
+ var MyAccountHistoryStatusEnum;
3964
+ (function (MyAccountHistoryStatusEnum) {
3965
+ MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["SUCCESS"] = 0] = "SUCCESS";
3966
+ MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["ERROR"] = 1] = "ERROR";
3967
+ })(MyAccountHistoryStatusEnum || (MyAccountHistoryStatusEnum = {}));
3968
+
3969
+ var MyAccountHistoryTypeEnum;
3970
+ (function (MyAccountHistoryTypeEnum) {
3971
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["REVIEW"] = 0] = "REVIEW";
3972
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPGRADE_PLAN"] = 1] = "UPGRADE_PLAN";
3973
+ MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
3974
+ })(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
3975
+
3976
+ class MyAccountHistory {
3977
+ }
3978
+
3979
+ class Occupation extends Occupation$1 {
3980
+ }
3887
3981
 
3888
3982
  var UserRolesEnum;
3889
3983
  (function (UserRolesEnum) {
@@ -3902,12 +3996,44 @@ var UserRolesEnum;
3902
3996
  UserRolesEnum["SWITCH_USER"] = "IS_IMPERSONATOR";
3903
3997
  })(UserRolesEnum || (UserRolesEnum = {}));
3904
3998
 
3999
+ /**
4000
+ * role hierarchy
4001
+ */
4002
+ const USER_ROLES = {
4003
+ ROLE_FIRM_OWNER: [UserRolesEnum.FIRM_OWNER, UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4004
+ ROLE_FIRM_MANAGER: [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4005
+ ROLE_EMPLOYEE: [UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4006
+ ROLE_ACCOUNTANT: [UserRolesEnum.ACCOUNTANT],
4007
+ ROLE_ADVISOR: [UserRolesEnum.ADVISOR],
4008
+ // @TODO makes no sense, these roles can't be hierarchical
4009
+ ROLE_CLIENT: [UserRolesEnum.CLIENT],
4010
+ ROLE_USER_SUBSCRIPTION: [UserRolesEnum.SUBSCRIPTION],
4011
+ ROLE_USER_WORK: [UserRolesEnum.WORK_TANK],
4012
+ ROLE_USER_PROPERTY: [UserRolesEnum.PROPERTY_TANK],
4013
+ ROLE_USER_SOLE: [UserRolesEnum.SOLE_TANK],
4014
+ ROLE_USER_HOLDING: [UserRolesEnum.HOLDING_TANK],
4015
+ ROLE_PREVIOUS_ADMIN: [UserRolesEnum.SWITCH_USER],
4016
+ };
4017
+
4018
+ /**
4019
+ * Class with basic information about registering user
4020
+ */
4021
+ class UserToRegister {
4022
+ }
4023
+
3905
4024
  const USER_WORK_POSITION = {
3906
4025
  [UserRolesEnum.EMPLOYEE]: 'Employee',
3907
4026
  [UserRolesEnum.FIRM_MANAGER]: 'Manager',
3908
4027
  [UserRolesEnum.FIRM_OWNER]: 'Firm Owner'
3909
4028
  };
3910
4029
 
4030
+ var UserStatusEnum;
4031
+ (function (UserStatusEnum) {
4032
+ UserStatusEnum[UserStatusEnum["INACTIVE"] = 0] = "INACTIVE";
4033
+ UserStatusEnum[UserStatusEnum["ON_BOARDING"] = 1] = "ON_BOARDING";
4034
+ UserStatusEnum[UserStatusEnum["ACTIVE"] = 2] = "ACTIVE";
4035
+ })(UserStatusEnum || (UserStatusEnum = {}));
4036
+
3911
4037
  class ClientDetails extends ClientDetails$1 {
3912
4038
  }
3913
4039
 
@@ -3920,7 +4046,7 @@ class AnnualClientDetails extends AbstractModel {
3920
4046
  get spouseMonthlyIncome() {
3921
4047
  return this.spouseAnnualIncome / 12;
3922
4048
  }
3923
- get mpData() {
4049
+ getMpData() {
3924
4050
  return {
3925
4051
  capitalLoss: this.capitalLoss,
3926
4052
  privateHealthCare: this.privateHealthCare,
@@ -3944,7 +4070,7 @@ class ClientIncomeTypes extends ClientIncomeTypes$1 {
3944
4070
  get length() {
3945
4071
  return Object.values(this).filter((value) => typeof value === 'boolean' && value).length;
3946
4072
  }
3947
- get mpData() {
4073
+ getMpData() {
3948
4074
  return { work: this.work, property: this.property, sole: this.sole, holding: this.holdings };
3949
4075
  }
3950
4076
  }
@@ -3987,56 +4113,6 @@ __decorate([
3987
4113
  Type(() => Country)
3988
4114
  ], Phone.prototype, "country", void 0);
3989
4115
 
3990
- var MyAccountHistoryInitiatedByEnum;
3991
- (function (MyAccountHistoryInitiatedByEnum) {
3992
- MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["OWNER"] = 0] = "OWNER";
3993
- MyAccountHistoryInitiatedByEnum[MyAccountHistoryInitiatedByEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
3994
- })(MyAccountHistoryInitiatedByEnum || (MyAccountHistoryInitiatedByEnum = {}));
3995
-
3996
- var MyAccountHistoryStatusEnum;
3997
- (function (MyAccountHistoryStatusEnum) {
3998
- MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["SUCCESS"] = 0] = "SUCCESS";
3999
- MyAccountHistoryStatusEnum[MyAccountHistoryStatusEnum["ERROR"] = 1] = "ERROR";
4000
- })(MyAccountHistoryStatusEnum || (MyAccountHistoryStatusEnum = {}));
4001
-
4002
- var MyAccountHistoryTypeEnum;
4003
- (function (MyAccountHistoryTypeEnum) {
4004
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["REVIEW"] = 0] = "REVIEW";
4005
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPGRADE_PLAN"] = 1] = "UPGRADE_PLAN";
4006
- MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
4007
- })(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
4008
-
4009
- class MyAccountHistory {
4010
- }
4011
-
4012
- class Occupation extends Occupation$1 {
4013
- }
4014
-
4015
- /**
4016
- * role hierarchy
4017
- */
4018
- const USER_ROLES = {
4019
- ROLE_FIRM_OWNER: [UserRolesEnum.FIRM_OWNER, UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4020
- ROLE_FIRM_MANAGER: [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4021
- ROLE_EMPLOYEE: [UserRolesEnum.ACCOUNTANT, UserRolesEnum.ADVISOR],
4022
- ROLE_ACCOUNTANT: [UserRolesEnum.ACCOUNTANT],
4023
- ROLE_ADVISOR: [UserRolesEnum.ADVISOR],
4024
- // @TODO makes no sense, these roles can't be hierarchical
4025
- ROLE_CLIENT: [UserRolesEnum.CLIENT],
4026
- ROLE_USER_SUBSCRIPTION: [UserRolesEnum.SUBSCRIPTION],
4027
- ROLE_USER_WORK: [UserRolesEnum.WORK_TANK],
4028
- ROLE_USER_PROPERTY: [UserRolesEnum.PROPERTY_TANK],
4029
- ROLE_USER_SOLE: [UserRolesEnum.SOLE_TANK],
4030
- ROLE_USER_HOLDING: [UserRolesEnum.HOLDING_TANK],
4031
- ROLE_PREVIOUS_ADMIN: [UserRolesEnum.SWITCH_USER],
4032
- };
4033
-
4034
- /**
4035
- * Class with basic information about registering user
4036
- */
4037
- class UserToRegister {
4038
- }
4039
-
4040
4116
  var FirmTypeEnum;
4041
4117
  (function (FirmTypeEnum) {
4042
4118
  FirmTypeEnum[FirmTypeEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
@@ -5172,7 +5248,69 @@ __decorate([
5172
5248
  Type(() => Date)
5173
5249
  ], BasReport.prototype, "dateTo", void 0);
5174
5250
 
5251
+ class SetupItem extends AbstractModel {
5252
+ }
5253
+
5254
+ /**
5255
+ * Enum list of all possible account setup items ids. Using with [ACCOUNT_SETUP_ITEMS]{@link ACCOUNT_SETUP_ITEMS}
5256
+ * @TODO Vik/Nikita: Do we need to generate it from backend? If some ids changed?
5257
+ */
5258
+ var AccountSetupItemsEnum;
5259
+ (function (AccountSetupItemsEnum) {
5260
+ AccountSetupItemsEnum[AccountSetupItemsEnum["SALARY"] = 1] = "SALARY";
5261
+ AccountSetupItemsEnum[AccountSetupItemsEnum["OTHER_INCOME"] = 2] = "OTHER_INCOME";
5262
+ AccountSetupItemsEnum[AccountSetupItemsEnum["PROPERTY"] = 3] = "PROPERTY";
5263
+ AccountSetupItemsEnum[AccountSetupItemsEnum["BANK_FEEDS"] = 4] = "BANK_FEEDS";
5264
+ AccountSetupItemsEnum[AccountSetupItemsEnum["WORK_LOGBOOK"] = 5] = "WORK_LOGBOOK";
5265
+ AccountSetupItemsEnum[AccountSetupItemsEnum["TRANSACTION_ALLOCATE"] = 6] = "TRANSACTION_ALLOCATE";
5266
+ AccountSetupItemsEnum[AccountSetupItemsEnum["SOLE_BUSINESS"] = 7] = "SOLE_BUSINESS";
5267
+ AccountSetupItemsEnum[AccountSetupItemsEnum["HOLDINGS"] = 8] = "HOLDINGS";
5268
+ AccountSetupItemsEnum[AccountSetupItemsEnum["FIRM_DETAILS"] = 9] = "FIRM_DETAILS";
5269
+ AccountSetupItemsEnum[AccountSetupItemsEnum["INVITE_TEAM"] = 10] = "INVITE_TEAM";
5270
+ AccountSetupItemsEnum[AccountSetupItemsEnum["INVITE_CLIENTS"] = 11] = "INVITE_CLIENTS";
5271
+ })(AccountSetupItemsEnum || (AccountSetupItemsEnum = {}));
5272
+
5273
+ class AccountSetupItem extends SetupItem {
5274
+ get isSalary() {
5275
+ return this.id === AccountSetupItemsEnum.SALARY;
5276
+ }
5277
+ get isOtherIncome() {
5278
+ return this.id === AccountSetupItemsEnum.OTHER_INCOME;
5279
+ }
5280
+ get isProperty() {
5281
+ return this.id === AccountSetupItemsEnum.PROPERTY;
5282
+ }
5283
+ get isBankFeeds() {
5284
+ return this.id === AccountSetupItemsEnum.BANK_FEEDS;
5285
+ }
5286
+ get isWorkLogbook() {
5287
+ return this.id === AccountSetupItemsEnum.WORK_LOGBOOK;
5288
+ }
5289
+ get isTransactionAllocate() {
5290
+ return this.id === AccountSetupItemsEnum.TRANSACTION_ALLOCATE;
5291
+ }
5292
+ get isSoleBusiness() {
5293
+ return this.id === AccountSetupItemsEnum.SOLE_BUSINESS;
5294
+ }
5295
+ get isHoldings() {
5296
+ return this.id === AccountSetupItemsEnum.HOLDINGS;
5297
+ }
5298
+ get isFirmDetails() {
5299
+ return this.id === AccountSetupItemsEnum.FIRM_DETAILS;
5300
+ }
5301
+ get isInviteTeam() {
5302
+ return this.id === AccountSetupItemsEnum.INVITE_TEAM;
5303
+ }
5304
+ get isInviteClients() {
5305
+ return this.id === AccountSetupItemsEnum.INVITE_CLIENTS;
5306
+ }
5307
+ }
5308
+
5175
5309
  class User extends User$1 {
5310
+ constructor() {
5311
+ super(...arguments);
5312
+ this.blacklistSetupItems = [];
5313
+ }
5176
5314
  get fullName() {
5177
5315
  return `${this.firstName} ${this.lastName}`;
5178
5316
  }
@@ -5285,7 +5423,7 @@ class User extends User$1 {
5285
5423
  get financialYears() {
5286
5424
  return range(Math.min(FinancialYear.toFinYear(this.createdAt) - 1, 2022), FinancialYear.toFinYear(new Date()) + 1);
5287
5425
  }
5288
- get mpData() {
5426
+ getMpData() {
5289
5427
  return {
5290
5428
  clientDetails: {}
5291
5429
  };
@@ -5318,6 +5456,9 @@ __decorate([
5318
5456
  __decorate([
5319
5457
  Type(() => AppFile)
5320
5458
  ], User.prototype, "file", void 0);
5459
+ __decorate([
5460
+ Type(() => AccountSetupItem)
5461
+ ], User.prototype, "blacklistSetupItems", void 0);
5321
5462
 
5322
5463
  class PropertySubscription extends PropertySubscription$1 {
5323
5464
  }
@@ -5346,12 +5487,22 @@ class PropertyCategory extends PropertyCategory$1 {
5346
5487
  isShared() {
5347
5488
  return this.id === PropertyCategoryListEnum.SHARED;
5348
5489
  }
5490
+ getMpData() {
5491
+ return {
5492
+ 'Name': this.name
5493
+ };
5494
+ }
5349
5495
  }
5350
5496
 
5351
5497
  class PropertyDocument extends PropertyDocument$1 {
5352
5498
  get parent() {
5353
5499
  return this.property;
5354
5500
  }
5501
+ getMpData(property) {
5502
+ return {
5503
+ 'Property': property.name
5504
+ };
5505
+ }
5355
5506
  }
5356
5507
  __decorate([
5357
5508
  Type(() => Property)
@@ -5367,6 +5518,12 @@ class PropertyValuation extends PropertyValuation$1 {
5367
5518
  isCurrentYear() {
5368
5519
  return this.financialYear === new FinancialYear(new Date()).year;
5369
5520
  }
5521
+ getMpData(property) {
5522
+ return {
5523
+ 'Property': property.name,
5524
+ 'Date': this.date
5525
+ };
5526
+ }
5370
5527
  }
5371
5528
  __decorate([
5372
5529
  Type(() => Date)
@@ -5410,6 +5567,12 @@ class PropertyForecast extends PropertyForecast$1 {
5410
5567
  isCurrentYear() {
5411
5568
  return this.financialYear === new FinancialYear(new Date()).year;
5412
5569
  }
5570
+ getMpData(property) {
5571
+ return {
5572
+ 'Property': property.name,
5573
+ 'Financial Year': this.financialYear,
5574
+ };
5575
+ }
5413
5576
  }
5414
5577
  __decorate([
5415
5578
  Transform(({ value }) => +value)
@@ -5431,6 +5594,12 @@ __decorate([
5431
5594
  ], PropertyForecast.prototype, "marketValue", void 0);
5432
5595
 
5433
5596
  class PropertyCategoryMovement extends PropertyCategoryMovement$1 {
5597
+ getMpData(property) {
5598
+ return {
5599
+ 'Property': property.name,
5600
+ 'Category': this.propertyCategory.name
5601
+ };
5602
+ }
5434
5603
  }
5435
5604
  __decorate([
5436
5605
  Type(() => PropertyValuation)
@@ -5630,6 +5799,14 @@ class Property extends Property$1 {
5630
5799
  get monthlyExpense() {
5631
5800
  return this.currentYearForecast.expense / 12;
5632
5801
  }
5802
+ getMpData() {
5803
+ return {
5804
+ 'Category': this.category.name,
5805
+ 'Taxable': this.category.isTaxInclusive ? 'Yes' : 'No',
5806
+ 'Shared': this.isShared ? 'Yes' : 'No',
5807
+ 'Ownership %': `${this.myShare.percent}%`
5808
+ };
5809
+ }
5633
5810
  }
5634
5811
  /**
5635
5812
  * Property acquired before 20 September 1985 will generally be treated as pre-Capital Gains Tax (CGT) assets.
@@ -5993,6 +6170,12 @@ class PropertyShare extends PropertyShare$1 {
5993
6170
  get userName() {
5994
6171
  return this.user ? this.user.fullName : `${this.invite.firstName}`;
5995
6172
  }
6173
+ getMpData() {
6174
+ return {
6175
+ 'Property': this.property.name,
6176
+ 'User': this.user.email
6177
+ };
6178
+ }
5996
6179
  }
5997
6180
  __decorate([
5998
6181
  Type(() => Date)
@@ -9870,12 +10053,18 @@ __decorate([
9870
10053
  ], Notification.prototype, "redirectionLink", void 0);
9871
10054
 
9872
10055
  class DocumentFolder extends DocumentFolder$1 {
10056
+ getMpData() {
10057
+ return { 'Name': this.name };
10058
+ }
9873
10059
  }
9874
10060
 
9875
10061
  class Document extends Document$1 {
9876
10062
  get parent() {
9877
10063
  return this.folder;
9878
10064
  }
10065
+ getMpData() {
10066
+ return {};
10067
+ }
9879
10068
  }
9880
10069
  __decorate([
9881
10070
  Type(() => DocumentFolder)
@@ -10107,7 +10296,7 @@ class Budget extends Budget$1 {
10107
10296
  get rulesCollection() {
10108
10297
  return new Collection(this.rules);
10109
10298
  }
10110
- get mpData() {
10299
+ getMpData() {
10111
10300
  return {};
10112
10301
  }
10113
10302
  }
@@ -10253,9 +10442,9 @@ class DataService {
10253
10442
  this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
10254
10443
  }
10255
10444
  }
10256
- DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10257
- DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, providedIn: 'root' });
10258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DataService, decorators: [{
10445
+ DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10446
+ DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, providedIn: 'root' });
10447
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, decorators: [{
10259
10448
  type: Injectable,
10260
10449
  args: [{
10261
10450
  providedIn: 'root'
@@ -10294,9 +10483,9 @@ class MixpanelService {
10294
10483
  mixpanel.track(event, properties);
10295
10484
  }
10296
10485
  }
10297
- MixpanelService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10298
- MixpanelService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, providedIn: 'root' });
10299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MixpanelService, decorators: [{
10486
+ MixpanelService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10487
+ MixpanelService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MixpanelService, providedIn: 'root' });
10488
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MixpanelService, decorators: [{
10300
10489
  type: Injectable,
10301
10490
  args: [{
10302
10491
  providedIn: 'root'
@@ -10334,9 +10523,9 @@ class EventDispatcherService {
10334
10523
  this.eventSubject2.next(event);
10335
10524
  }
10336
10525
  }
10337
- EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10338
- EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
10339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EventDispatcherService, decorators: [{
10526
+ EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10527
+ EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
10528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, decorators: [{
10340
10529
  type: Injectable,
10341
10530
  args: [{
10342
10531
  providedIn: 'root'
@@ -10371,9 +10560,9 @@ class JwtService extends JwtHelperService {
10371
10560
  return this.getUser().id === userId;
10372
10561
  }
10373
10562
  }
10374
- JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10375
- JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, providedIn: 'root' });
10376
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtService, decorators: [{
10563
+ JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10564
+ JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, providedIn: 'root' });
10565
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, decorators: [{
10377
10566
  type: Injectable,
10378
10567
  args: [{
10379
10568
  providedIn: 'root'
@@ -10410,9 +10599,9 @@ class SseService {
10410
10599
  .pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
10411
10600
  }
10412
10601
  }
10413
- SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10414
- SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, providedIn: 'root' });
10415
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SseService, decorators: [{
10602
+ 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 });
10603
+ SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, providedIn: 'root' });
10604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, decorators: [{
10416
10605
  type: Injectable,
10417
10606
  args: [{
10418
10607
  providedIn: 'root'
@@ -10495,15 +10684,15 @@ let RestService$1 = class RestService extends DataService {
10495
10684
  /**
10496
10685
  * Create a new Model instance in database
10497
10686
  */
10498
- post(model, path = this.apiUrl) {
10687
+ post(model, mpData, path = this.apiUrl) {
10499
10688
  this.handleAccessError('post');
10500
10689
  return this.http.post(path, classToPlain(model))
10501
10690
  .pipe(map((response) => {
10502
10691
  const result = this.createModelInstance(response);
10503
- this.handleResponse([result], 'post');
10692
+ this.handleResponse([result], 'post', mpData);
10504
10693
  return result;
10505
10694
  }), catchError((error) => {
10506
- this.handleResponseError([model], 'post');
10695
+ this.handleResponseError([model], 'post', mpData);
10507
10696
  return throwError(error);
10508
10697
  }));
10509
10698
  }
@@ -10525,15 +10714,15 @@ let RestService$1 = class RestService extends DataService {
10525
10714
  /**
10526
10715
  * Change an existing Model instance in database
10527
10716
  */
10528
- put(model, path = `${this.apiUrl}/${model.id}`) {
10717
+ put(model, mpData, path = `${this.apiUrl}/${model.id}`) {
10529
10718
  this.handleAccessError('put');
10530
10719
  return this.http.put(path, classToPlain(model))
10531
10720
  .pipe(map((response) => {
10532
10721
  const result = this.createModelInstance(response);
10533
- this.handleResponse([result], 'put');
10722
+ this.handleResponse([result], 'put', mpData);
10534
10723
  return result;
10535
10724
  }), catchError((error) => {
10536
- this.handleResponseError([model], 'put');
10725
+ this.handleResponseError([model], 'put', mpData);
10537
10726
  return throwError(error);
10538
10727
  }));
10539
10728
  }
@@ -10555,13 +10744,13 @@ let RestService$1 = class RestService extends DataService {
10555
10744
  /**
10556
10745
  * Remove a Model instance from database
10557
10746
  */
10558
- delete(model) {
10747
+ delete(model, mpData) {
10559
10748
  this.handleAccessError('delete');
10560
10749
  return this.http.delete(`${this.apiUrl}/${model.id}`)
10561
10750
  .pipe(map(() => {
10562
- this.handleResponse([model], 'delete');
10751
+ this.handleResponse([model], 'delete', mpData);
10563
10752
  }), catchError((error) => {
10564
- this.handleResponseError([model], 'delete');
10753
+ this.handleResponseError([model], 'delete', mpData);
10565
10754
  return throwError(error);
10566
10755
  }));
10567
10756
  }
@@ -10578,23 +10767,23 @@ let RestService$1 = class RestService extends DataService {
10578
10767
  return throwError(error);
10579
10768
  }));
10580
10769
  }
10581
- track(response, method, postfix = '') {
10582
- // not other way to check interface
10583
- if ('mpData' in response[0]) {
10770
+ track(response, method, mpData, postfix = '') {
10771
+ // no other way to check interface
10772
+ if ('getMpData' in response[0]) {
10584
10773
  response.forEach((model) => {
10585
- this.mpService.track(`${method}${this.modelClass.name}${postfix}`, model['mpData']);
10774
+ this.mpService.track(`${method}${this.modelClass.name}${postfix}`, model['getMpData'](mpData));
10586
10775
  });
10587
10776
  }
10588
10777
  }
10589
- handleResponseError(response, method) {
10778
+ handleResponseError(response, method, mpData) {
10590
10779
  // @TODO error notification?
10591
- this.track(response, method, 'Error');
10780
+ this.track(response, method, mpData, 'Error');
10592
10781
  }
10593
10782
  /**
10594
10783
  * Handle response data - update cache and dispatch event if it is needed
10595
10784
  */
10596
- handleResponse(response, method) {
10597
- this.track(response, method);
10785
+ handleResponse(response, method, mpData) {
10786
+ this.track(response, method, mpData);
10598
10787
  if (this.getCache()) {
10599
10788
  this.updateCache(response, method);
10600
10789
  }
@@ -10664,9 +10853,9 @@ let RestService$1 = class RestService extends DataService {
10664
10853
  */
10665
10854
  listenEvents() { }
10666
10855
  };
10667
- RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10668
- RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, providedIn: 'root' });
10669
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService$1, decorators: [{
10856
+ 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 });
10857
+ RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, providedIn: 'root' });
10858
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, decorators: [{
10670
10859
  type: Injectable,
10671
10860
  args: [{
10672
10861
  providedIn: 'root'
@@ -10734,9 +10923,9 @@ class BankAccountService extends RestService$1 {
10734
10923
  });
10735
10924
  }
10736
10925
  }
10737
- BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10738
- BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, providedIn: 'root' });
10739
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountService, decorators: [{
10926
+ 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 });
10927
+ BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, providedIn: 'root' });
10928
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, decorators: [{
10740
10929
  type: Injectable,
10741
10930
  args: [{
10742
10931
  providedIn: 'root'
@@ -10831,9 +11020,9 @@ class ToastService {
10831
11020
  }));
10832
11021
  }
10833
11022
  }
10834
- ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10835
- ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, providedIn: 'root' });
10836
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastService, decorators: [{
11023
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
11024
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, providedIn: 'root' });
11025
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, decorators: [{
10837
11026
  type: Injectable,
10838
11027
  args: [{
10839
11028
  providedIn: 'root'
@@ -10897,10 +11086,10 @@ class BankConnectionService extends RestService$1 {
10897
11086
  }));
10898
11087
  }
10899
11088
  activate(bankConnection) {
10900
- return this.put(bankConnection, `${this.apiUrl}/${bankConnection.id}/activate`);
11089
+ return this.put(bankConnection, null, `${this.apiUrl}/${bankConnection.id}/activate`);
10901
11090
  }
10902
11091
  deactivate(bankConnection) {
10903
- return this.put(bankConnection, `${this.apiUrl}/${bankConnection.id}/deactivate`);
11092
+ return this.put(bankConnection, null, `${this.apiUrl}/${bankConnection.id}/deactivate`);
10904
11093
  }
10905
11094
  /**
10906
11095
  * connection's status updated in background on backend, so reset cache required to inform user
@@ -10911,9 +11100,9 @@ class BankConnectionService extends RestService$1 {
10911
11100
  });
10912
11101
  }
10913
11102
  }
10914
- BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
10915
- BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
10916
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankConnectionService, decorators: [{
11103
+ 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 });
11104
+ BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
11105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, decorators: [{
10917
11106
  type: Injectable,
10918
11107
  args: [{
10919
11108
  providedIn: 'root'
@@ -11026,9 +11215,9 @@ class BankTransactionService extends RestService$1 {
11026
11215
  });
11027
11216
  }
11028
11217
  }
11029
- BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11030
- BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
11031
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionService, decorators: [{
11218
+ BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11219
+ BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
11220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, decorators: [{
11032
11221
  type: Injectable,
11033
11222
  args: [{
11034
11223
  providedIn: 'root'
@@ -11060,9 +11249,9 @@ class BasiqTokenService extends RestService$1 {
11060
11249
  return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
11061
11250
  }
11062
11251
  }
11063
- BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11064
- BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
11065
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenService, decorators: [{
11252
+ BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11253
+ BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
11254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, decorators: [{
11066
11255
  type: Injectable,
11067
11256
  args: [{
11068
11257
  providedIn: 'root'
@@ -11188,9 +11377,9 @@ BasiqService.retrieveAccountsCheckInterval = 3000;
11188
11377
  * How long we will wait accounts retrieving, break after timeout if not retireved
11189
11378
  */
11190
11379
  BasiqService.retrieveAccountsTimeout = 20000;
11191
- BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
11192
- BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, providedIn: 'root' });
11193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqService, decorators: [{
11380
+ 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 });
11381
+ BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, providedIn: 'root' });
11382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, decorators: [{
11194
11383
  type: Injectable,
11195
11384
  args: [{
11196
11385
  providedIn: 'root'
@@ -11220,9 +11409,9 @@ class BankService extends RestService$1 {
11220
11409
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
11221
11410
  }
11222
11411
  }
11223
- BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11224
- BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, providedIn: 'root' });
11225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankService, decorators: [{
11412
+ BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11413
+ BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, providedIn: 'root' });
11414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, decorators: [{
11226
11415
  type: Injectable,
11227
11416
  args: [{
11228
11417
  providedIn: 'root'
@@ -11239,9 +11428,9 @@ class BudgetService extends RestService$1 {
11239
11428
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
11240
11429
  }
11241
11430
  }
11242
- BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11243
- BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, providedIn: 'root' });
11244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BudgetService, decorators: [{
11431
+ BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11432
+ BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, providedIn: 'root' });
11433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, decorators: [{
11245
11434
  type: Injectable,
11246
11435
  args: [{
11247
11436
  providedIn: 'root'
@@ -11269,9 +11458,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
11269
11458
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
11270
11459
  }
11271
11460
  }
11272
- ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11273
- ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
11274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
11461
+ ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11462
+ ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
11463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
11275
11464
  type: Injectable,
11276
11465
  args: [{
11277
11466
  providedIn: 'root'
@@ -11311,9 +11500,9 @@ class ChartAccountsService extends RestService$1 {
11311
11500
  }));
11312
11501
  }
11313
11502
  }
11314
- ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11315
- ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
11316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsService, decorators: [{
11503
+ ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11504
+ ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
11505
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, decorators: [{
11317
11506
  type: Injectable,
11318
11507
  args: [{
11319
11508
  providedIn: 'root'
@@ -11382,9 +11571,9 @@ class ChatService extends RestService$1 {
11382
11571
  });
11383
11572
  }
11384
11573
  }
11385
- ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11386
- ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, providedIn: 'root' });
11387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChatService, decorators: [{
11574
+ 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 });
11575
+ ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, providedIn: 'root' });
11576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, decorators: [{
11388
11577
  type: Injectable,
11389
11578
  args: [{
11390
11579
  providedIn: 'root'
@@ -11441,9 +11630,9 @@ class MessageService extends RestService$1 {
11441
11630
  });
11442
11631
  }
11443
11632
  }
11444
- MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11445
- MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, providedIn: 'root' });
11446
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, decorators: [{
11633
+ 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 });
11634
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, providedIn: 'root' });
11635
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, decorators: [{
11447
11636
  type: Injectable,
11448
11637
  args: [{
11449
11638
  providedIn: 'root'
@@ -11512,9 +11701,9 @@ class MessageDocumentService extends RestService$1 {
11512
11701
  return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
11513
11702
  }
11514
11703
  }
11515
- MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11516
- MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
11517
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageDocumentService, decorators: [{
11704
+ MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11705
+ MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
11706
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, decorators: [{
11518
11707
  type: Injectable,
11519
11708
  args: [{
11520
11709
  providedIn: 'root'
@@ -11597,9 +11786,9 @@ class DepreciationService extends RestService$1 {
11597
11786
  });
11598
11787
  }
11599
11788
  }
11600
- DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11601
- DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, providedIn: 'root' });
11602
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationService, decorators: [{
11789
+ 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 });
11790
+ DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, providedIn: 'root' });
11791
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, decorators: [{
11603
11792
  type: Injectable,
11604
11793
  args: [{
11605
11794
  providedIn: 'root'
@@ -11611,55 +11800,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
11611
11800
 
11612
11801
  /**
11613
11802
  * Service for work with DepreciationCapitalProjects
11803
+ * @TODO Alex: refactor with new rest when backend ready (TT-3571)
11614
11804
  */
11615
- class DepreciationCapitalProjectService {
11616
- constructor(http, environment) {
11617
- this.http = http;
11618
- this.environment = environment;
11619
- this.cacheSubject = new ReplaySubject(1);
11620
- }
11621
- get(propertyId) {
11622
- this.cacheSubject.next([]);
11623
- this.http.get(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects`)
11624
- .subscribe((capitalProjectsBase) => {
11625
- this.cache = capitalProjectsBase.map((capitalProjectBase) => plainToClass(DepreciationCapitalProject, capitalProjectBase));
11626
- this.cacheSubject.next(this.cache);
11627
- });
11628
- return this.cacheSubject.asObservable();
11629
- }
11630
- add(capitalProject, propertyId) {
11631
- return this.http.post(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects`, capitalProject)
11632
- .pipe(map((capitalProjectBase) => {
11633
- this.cache.push(plainToClass(DepreciationCapitalProject, capitalProjectBase));
11634
- this.cacheSubject.next(this.cache);
11635
- }));
11636
- }
11637
- update(capitalProject, propertyId) {
11638
- return this.http.put(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects/${capitalProject.id}`, capitalProject)
11639
- .pipe(map((capitalProjectBase) => {
11640
- replace(this.cache, plainToClass(DepreciationCapitalProject, capitalProjectBase));
11641
- this.cacheSubject.next(this.cache);
11642
- }));
11643
- }
11644
- delete(capitalProject, propertyId) {
11645
- return this.http.delete(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects/${capitalProject.id}`)
11646
- .pipe(map(() => {
11647
- this.cache = this.cache.filter((item) => capitalProject.id !== item.id);
11648
- this.cacheSubject.next(this.cache);
11649
- }));
11805
+ class DepreciationCapitalProjectService extends RestService$1 {
11806
+ constructor() {
11807
+ super(...arguments);
11808
+ this.modelClass = DepreciationCapitalProject;
11809
+ this.collectionClass = Collection;
11810
+ this.endpointUri = 'depreciation-capital-projects';
11811
+ this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
11650
11812
  }
11651
11813
  }
11652
- DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11653
- DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
11654
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
11814
+ DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11815
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
11816
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
11655
11817
  type: Injectable,
11656
11818
  args: [{
11657
11819
  providedIn: 'root'
11658
11820
  }]
11659
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
11660
- type: Inject,
11661
- args: ['environment']
11662
- }] }]; } });
11821
+ }] });
11663
11822
 
11664
11823
  var DocumentFolderMessagesEnum;
11665
11824
  (function (DocumentFolderMessagesEnum) {
@@ -11681,9 +11840,9 @@ class DocumentFolderService extends RestService$1 {
11681
11840
  this.disabledMethods = ['deleteBatch', 'postBatch', 'putBatch'];
11682
11841
  }
11683
11842
  }
11684
- DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11685
- DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
11686
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, decorators: [{
11843
+ DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11844
+ DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
11845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, decorators: [{
11687
11846
  type: Injectable,
11688
11847
  args: [{
11689
11848
  providedIn: 'root'
@@ -11700,9 +11859,9 @@ class DocumentService extends RestService$1 {
11700
11859
  this.isApiPlatform = true;
11701
11860
  }
11702
11861
  }
11703
- DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11704
- DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, providedIn: 'root' });
11705
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, decorators: [{
11862
+ DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11863
+ DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, providedIn: 'root' });
11864
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, decorators: [{
11706
11865
  type: Injectable,
11707
11866
  args: [{
11708
11867
  providedIn: 'root'
@@ -11788,9 +11947,9 @@ FacebookService.authOptions = {
11788
11947
  auth_type: 'rerequest',
11789
11948
  return_scopes: true
11790
11949
  };
11791
- FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11792
- FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, providedIn: 'root' });
11793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, decorators: [{
11950
+ 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 });
11951
+ FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, providedIn: 'root' });
11952
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, decorators: [{
11794
11953
  type: Injectable,
11795
11954
  args: [{
11796
11955
  providedIn: 'root'
@@ -11836,9 +11995,9 @@ class AuthService {
11836
11995
  location.replace(url);
11837
11996
  }
11838
11997
  }
11839
- AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11840
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, providedIn: 'root' });
11841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AuthService, decorators: [{
11998
+ 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 });
11999
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, providedIn: 'root' });
12000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, decorators: [{
11842
12001
  type: Injectable,
11843
12002
  args: [{
11844
12003
  providedIn: 'root'
@@ -11909,9 +12068,9 @@ class GoogleService {
11909
12068
  google.accounts.id.disableAutoSelect();
11910
12069
  }
11911
12070
  }
11912
- GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11913
- GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, providedIn: 'root' });
11914
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GoogleService, decorators: [{
12071
+ 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 });
12072
+ GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, providedIn: 'root' });
12073
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, decorators: [{
11915
12074
  type: Injectable,
11916
12075
  args: [{
11917
12076
  providedIn: 'root'
@@ -11945,9 +12104,9 @@ class FileService extends RestService$1 {
11945
12104
  return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
11946
12105
  }
11947
12106
  }
11948
- FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11949
- FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, providedIn: 'root' });
11950
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, decorators: [{
12107
+ FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12108
+ FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, providedIn: 'root' });
12109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, decorators: [{
11951
12110
  type: Injectable,
11952
12111
  args: [{
11953
12112
  providedIn: 'root'
@@ -11964,9 +12123,9 @@ class ClientIncomeTypesService extends RestService$1 {
11964
12123
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
11965
12124
  }
11966
12125
  }
11967
- ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11968
- ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
11969
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
12126
+ ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12127
+ ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
12128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
11970
12129
  type: Injectable,
11971
12130
  args: [{
11972
12131
  providedIn: 'root'
@@ -12179,9 +12338,9 @@ class RestService {
12179
12338
  */
12180
12339
  listenEvents() { }
12181
12340
  }
12182
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12183
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, providedIn: 'root' });
12184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, decorators: [{
12341
+ 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 });
12342
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, providedIn: 'root' });
12343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, decorators: [{
12185
12344
  type: Injectable,
12186
12345
  args: [{
12187
12346
  providedIn: 'root'
@@ -12301,9 +12460,9 @@ class ClientInviteService extends RestService {
12301
12460
  });
12302
12461
  }
12303
12462
  }
12304
- ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12305
- ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
12306
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientInviteService, decorators: [{
12463
+ ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12464
+ ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
12465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, decorators: [{
12307
12466
  type: Injectable,
12308
12467
  args: [{
12309
12468
  providedIn: 'root'
@@ -12392,9 +12551,9 @@ class ClientMovementService extends RestService {
12392
12551
  });
12393
12552
  }
12394
12553
  }
12395
- ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12396
- ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
12397
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientMovementService, decorators: [{
12554
+ ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12555
+ ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
12556
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, decorators: [{
12398
12557
  type: Injectable,
12399
12558
  args: [{
12400
12559
  providedIn: 'root'
@@ -12465,9 +12624,9 @@ class EmployeeService extends RestService {
12465
12624
  }));
12466
12625
  }
12467
12626
  }
12468
- EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12469
- EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, providedIn: 'root' });
12470
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeService, decorators: [{
12627
+ EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12628
+ EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, providedIn: 'root' });
12629
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, decorators: [{
12471
12630
  type: Injectable,
12472
12631
  args: [{
12473
12632
  providedIn: 'root'
@@ -12517,9 +12676,9 @@ class EmployeeInviteService extends RestService {
12517
12676
  }));
12518
12677
  }
12519
12678
  }
12520
- EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12521
- EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
12522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EmployeeInviteService, decorators: [{
12679
+ EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12680
+ EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
12681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, decorators: [{
12523
12682
  type: Injectable,
12524
12683
  args: [{
12525
12684
  providedIn: 'root'
@@ -12544,9 +12703,9 @@ class ClientPortfolioReportService {
12544
12703
  }));
12545
12704
  }
12546
12705
  }
12547
- ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12548
- ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
12549
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
12706
+ 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 });
12707
+ ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
12708
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
12550
12709
  type: Injectable,
12551
12710
  args: [{
12552
12711
  providedIn: 'root'
@@ -12606,9 +12765,9 @@ class FirmService {
12606
12765
  return this.getAll().pipe(map((firms) => firms.filter((firm) => firm.type === type)));
12607
12766
  }
12608
12767
  }
12609
- FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12610
- FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, providedIn: 'root' });
12611
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FirmService, decorators: [{
12768
+ 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 });
12769
+ FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, providedIn: 'root' });
12770
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, decorators: [{
12612
12771
  type: Injectable,
12613
12772
  args: [{
12614
12773
  providedIn: 'root'
@@ -12682,9 +12841,9 @@ class IncomeSourceForecastService extends RestService {
12682
12841
  }).flat();
12683
12842
  }
12684
12843
  }
12685
- IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12686
- IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
12687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
12844
+ IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12845
+ IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
12846
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
12688
12847
  type: Injectable,
12689
12848
  args: [{
12690
12849
  providedIn: 'root'
@@ -12754,9 +12913,9 @@ class SalaryForecastService extends RestService {
12754
12913
  }).flat();
12755
12914
  }
12756
12915
  }
12757
- SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12758
- SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
12759
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalaryForecastService, decorators: [{
12916
+ SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12917
+ SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
12918
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, decorators: [{
12760
12919
  type: Injectable,
12761
12920
  args: [{
12762
12921
  providedIn: 'root'
@@ -12832,9 +12991,9 @@ class SoleForecastService extends RestService {
12832
12991
  });
12833
12992
  }
12834
12993
  }
12835
- SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12836
- SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
12837
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleForecastService, decorators: [{
12994
+ SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12995
+ SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
12996
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, decorators: [{
12838
12997
  type: Injectable,
12839
12998
  args: [{
12840
12999
  providedIn: 'root'
@@ -12913,9 +13072,9 @@ class IncomeSourceService extends RestService {
12913
13072
  });
12914
13073
  }
12915
13074
  }
12916
- IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12917
- IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
12918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceService, decorators: [{
13075
+ IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13076
+ IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
13077
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, decorators: [{
12919
13078
  type: Injectable,
12920
13079
  args: [{
12921
13080
  providedIn: 'root'
@@ -12976,9 +13135,9 @@ class BorrowingExpenseService {
12976
13135
  }));
12977
13136
  }
12978
13137
  }
12979
- BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12980
- BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
12981
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingExpenseService, decorators: [{
13138
+ 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 });
13139
+ BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
13140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, decorators: [{
12982
13141
  type: Injectable,
12983
13142
  args: [{
12984
13143
  providedIn: 'root'
@@ -13058,9 +13217,9 @@ class LoanService extends RestService$1 {
13058
13217
  }));
13059
13218
  }
13060
13219
  }
13061
- LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13062
- LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, providedIn: 'root' });
13063
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoanService, decorators: [{
13220
+ LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13221
+ LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, providedIn: 'root' });
13222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, decorators: [{
13064
13223
  type: Injectable,
13065
13224
  args: [{
13066
13225
  providedIn: 'root'
@@ -13077,9 +13236,9 @@ class BorrowingReportService extends RestService$1 {
13077
13236
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13078
13237
  }
13079
13238
  }
13080
- BorrowingReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13081
- BorrowingReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, providedIn: 'root' });
13082
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BorrowingReportService, decorators: [{
13239
+ BorrowingReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13240
+ BorrowingReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, providedIn: 'root' });
13241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, decorators: [{
13083
13242
  type: Injectable,
13084
13243
  args: [{
13085
13244
  providedIn: 'root'
@@ -13105,9 +13264,9 @@ class PropertyCategoryService extends RestService$1 {
13105
13264
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13106
13265
  }
13107
13266
  }
13108
- PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13109
- PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
13110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryService, decorators: [{
13267
+ PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13268
+ PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
13269
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, decorators: [{
13111
13270
  type: Injectable,
13112
13271
  args: [{
13113
13272
  providedIn: 'root'
@@ -13122,13 +13281,13 @@ class PropertyCategoryMovementService extends RestService$1 {
13122
13281
  this.endpointUri = 'properties/category-movements';
13123
13282
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13124
13283
  }
13125
- post(movement) {
13126
- return super.post(movement, `${this.environment.apiV2}/properties/${movement.property.id}/category-movements`);
13284
+ post(movement, property) {
13285
+ return super.post(movement, property, `${this.environment.apiV2}/properties/${movement.property.id}/category-movements`);
13127
13286
  }
13128
13287
  }
13129
- PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13130
- PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
13131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
13288
+ PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13289
+ PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
13290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
13132
13291
  type: Injectable,
13133
13292
  args: [{
13134
13293
  providedIn: 'root'
@@ -13179,79 +13338,15 @@ class PropertyDocumentService extends RestService$1 {
13179
13338
  });
13180
13339
  }
13181
13340
  }
13182
- PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13183
- PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
13184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyDocumentService, decorators: [{
13341
+ PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13342
+ PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
13343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, decorators: [{
13185
13344
  type: Injectable,
13186
13345
  args: [{
13187
13346
  providedIn: 'root'
13188
13347
  }]
13189
13348
  }] });
13190
13349
 
13191
- var TaxExemptions = [
13192
- {
13193
- id: 1,
13194
- name: "Apply 50% CGT Discount",
13195
- description: "50% CGT discount applies when an investment property has been owned for more than 12 months (contract date to contract date). Foreign residents are not eligible",
13196
- metaFields: [
13197
- ]
13198
- },
13199
- {
13200
- id: 2,
13201
- name: "Full Exemption (Principle place of residence)",
13202
- description: "Your 'main residence' (home) is generally exempt from capital gains tax (CGT). You're not entitled to the exemption for a vacant block of land. Foreign residents are also excluded in most circumstances",
13203
- metaFields: [
13204
- ]
13205
- },
13206
- {
13207
- id: 3,
13208
- name: "Full Exemption (6 year rule)",
13209
- description: "You can nominate an investment property as your main residence for up to 6 years if it is used to produce income, or indefinitely if it is not used to produce income. However, you can not treat any other dwelling as your main residence for the same period",
13210
- metaFields: [
13211
- ]
13212
- },
13213
- {
13214
- id: 4,
13215
- name: "Partial exemption (investment property became your main residence)",
13216
- description: "The number of days the dwelling was not your main residence, and the total ownership days are used to calculate the taxable portion of any CGT",
13217
- metaFields: [
13218
- {
13219
- id: 1,
13220
- name: "Total amount of days the property was your main residence"
13221
- }
13222
- ]
13223
- },
13224
- {
13225
- id: 5,
13226
- name: "Main Residence became your 'investment property' or 'home office'",
13227
- description: "The market value at the time a principle place of residence became an investment property, or is used as a home business, becomes the adjusted cost base. The percentage of home office use (if applicable) is then applied",
13228
- metaFields: [
13229
- {
13230
- id: 2,
13231
- name: "Market Value"
13232
- },
13233
- {
13234
- id: 2,
13235
- name: "Home office percentage claimed"
13236
- }
13237
- ]
13238
- },
13239
- {
13240
- id: 6,
13241
- name: "Property transfer (Relationship Breakdown)",
13242
- description: "If you transfer an asset to your spouse because of a relationship breakdown a 'rollover' generally applies. This means the transferor spouse disregards any capital gain or loss that would otherwise arise",
13243
- metaFields: [
13244
- ]
13245
- },
13246
- {
13247
- id: 7,
13248
- name: "Full exemption (Other)",
13249
- description: "In some other instances a full exemption may apply, for example pre-CGT assets and some inheritance",
13250
- metaFields: [
13251
- ]
13252
- }
13253
- ];
13254
-
13255
13350
  class TaxExemptionService extends DataService {
13256
13351
  constructor() {
13257
13352
  super();
@@ -13260,9 +13355,9 @@ class TaxExemptionService extends DataService {
13260
13355
  this.setCache(TaxExemptions);
13261
13356
  }
13262
13357
  }
13263
- TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13264
- TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
13265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxExemptionService, decorators: [{
13358
+ TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13359
+ TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
13360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, decorators: [{
13266
13361
  type: Injectable,
13267
13362
  args: [{
13268
13363
  providedIn: 'root'
@@ -13278,9 +13373,9 @@ class PropertySaleService extends RestService$1 {
13278
13373
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13279
13374
  }
13280
13375
  }
13281
- PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13282
- PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
13283
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertySaleService, decorators: [{
13376
+ PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13377
+ PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
13378
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, decorators: [{
13284
13379
  type: Injectable,
13285
13380
  args: [{
13286
13381
  providedIn: 'root'
@@ -13309,7 +13404,13 @@ class PropertyShareService extends RestService$1 {
13309
13404
  * @param share user to share property
13310
13405
  */
13311
13406
  reinvite(share) {
13312
- return this.http.post(`${this.apiUrl}/${share.id}/reinvite`, {});
13407
+ return this.http.post(`${this.apiUrl}/${share.id}/reinvite`, {})
13408
+ .pipe(map(() => {
13409
+ this.mpService.track('reinvitePropertyShare', share.getMpData());
13410
+ }), catchError((error) => {
13411
+ this.mpService.track('reinvitePropertyShareError', share.getMpData());
13412
+ return throwError(error);
13413
+ }));
13313
13414
  }
13314
13415
  /**
13315
13416
  * Listen to User updated event
@@ -13326,9 +13427,9 @@ class PropertyShareService extends RestService$1 {
13326
13427
  this.listenCSE(PropertySale, ['post', 'delete'], this.refreshCache);
13327
13428
  }
13328
13429
  }
13329
- PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13330
- PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
13331
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyShareService, decorators: [{
13430
+ PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13431
+ PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
13432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, decorators: [{
13332
13433
  type: Injectable,
13333
13434
  args: [{
13334
13435
  providedIn: 'root'
@@ -13351,16 +13452,16 @@ class PropertyValuationService extends RestService$1 {
13351
13452
  return this.http.get(`${this.apiUrl}/${propertyId}/valuations`)
13352
13453
  .pipe(map((valuations) => new Collection(valuations.map((valuation) => plainToClass(PropertyValuation, valuation)))));
13353
13454
  }
13354
- post(valuation, propertyId) {
13355
- return super.post(valuation, `${this.apiUrl}/${propertyId}/valuations`);
13455
+ post(valuation, property) {
13456
+ return super.post(valuation, property, `${this.apiUrl}/${property.id}/valuations`);
13356
13457
  }
13357
- put(valuation, propertyId) {
13358
- return super.put(valuation, `${this.apiUrl}/${propertyId}/valuations/${valuation.id}`);
13458
+ put(valuation, property) {
13459
+ return super.put(valuation, property, `${this.apiUrl}/${property.id}/valuations/${valuation.id}`);
13359
13460
  }
13360
13461
  }
13361
- PropertyValuationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13362
- PropertyValuationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, providedIn: 'root' });
13363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyValuationService, decorators: [{
13462
+ PropertyValuationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13463
+ PropertyValuationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, providedIn: 'root' });
13464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, decorators: [{
13364
13465
  type: Injectable,
13365
13466
  args: [{
13366
13467
  providedIn: 'root'
@@ -13448,7 +13549,15 @@ class PropertyService extends RestService$1 {
13448
13549
  .pipe(map((propertySubscriptionBase) => {
13449
13550
  const newPropertySubscription = plainToClass(PropertySubscription, propertySubscriptionBase);
13450
13551
  const activatedProperty = plainToClass(Property, Object.assign({}, property, { subscriptions: [newPropertySubscription] }));
13552
+ this.mpService.track(`postPropertySubscription`, {
13553
+ 'Property': property.name,
13554
+ });
13451
13555
  this.updateCache([activatedProperty], 'put');
13556
+ }), catchError((error) => {
13557
+ this.mpService.track('postPropertySubscriptionError', {
13558
+ 'Property': property.name,
13559
+ });
13560
+ return throwError(error);
13452
13561
  }));
13453
13562
  }
13454
13563
  /**
@@ -13458,7 +13567,15 @@ class PropertyService extends RestService$1 {
13458
13567
  return this.http.delete(`${this.environment.apiV2}/property-subscriptions/${property.getCurrentSubscription().id}`)
13459
13568
  .pipe(map(() => {
13460
13569
  const deactivatedProperty = plainToClass(Property, Object.assign({}, property, { subscriptions: [] }));
13570
+ this.mpService.track(`deletePropertySubscription`, {
13571
+ 'Property': property.name,
13572
+ });
13461
13573
  this.updateCache([deactivatedProperty], 'put');
13574
+ }), catchError((error) => {
13575
+ this.mpService.track('deletePropertySubscriptionError', {
13576
+ 'Property': property.name,
13577
+ });
13578
+ return throwError(error);
13462
13579
  }));
13463
13580
  }
13464
13581
  /**
@@ -13473,9 +13590,9 @@ class PropertyService extends RestService$1 {
13473
13590
  }));
13474
13591
  }
13475
13592
  }
13476
- PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13477
- PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, providedIn: 'root' });
13478
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyService, decorators: [{
13593
+ PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13594
+ PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, providedIn: 'root' });
13595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, decorators: [{
13479
13596
  type: Injectable,
13480
13597
  args: [{
13481
13598
  providedIn: 'root'
@@ -13529,9 +13646,9 @@ class ServiceNotificationService extends RestService {
13529
13646
  });
13530
13647
  }
13531
13648
  }
13532
- ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
13533
- ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
13534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceNotificationService, decorators: [{
13649
+ 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 });
13650
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
13651
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, decorators: [{
13535
13652
  type: Injectable,
13536
13653
  args: [{
13537
13654
  providedIn: 'root'
@@ -13560,9 +13677,9 @@ class SoleBusinessService extends RestService {
13560
13677
  }));
13561
13678
  }
13562
13679
  }
13563
- SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13564
- SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
13565
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessService, decorators: [{
13680
+ SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13681
+ SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
13682
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, decorators: [{
13566
13683
  type: Injectable,
13567
13684
  args: [{
13568
13685
  providedIn: 'root'
@@ -13577,9 +13694,9 @@ class SoleBusinessActivityService extends RestService {
13577
13694
  this.isHydra = true;
13578
13695
  }
13579
13696
  }
13580
- SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13581
- SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
13582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
13697
+ SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13698
+ SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
13699
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
13583
13700
  type: Injectable,
13584
13701
  args: [{
13585
13702
  providedIn: 'root'
@@ -13605,9 +13722,9 @@ class SoleBusinessLossService extends RestService {
13605
13722
  });
13606
13723
  }
13607
13724
  }
13608
- SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13609
- SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
13610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossService, decorators: [{
13725
+ SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13726
+ SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
13727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, decorators: [{
13611
13728
  type: Injectable,
13612
13729
  args: [{
13613
13730
  providedIn: 'root'
@@ -13625,9 +13742,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
13625
13742
  this.isHydra = true;
13626
13743
  }
13627
13744
  }
13628
- SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13629
- SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
13630
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
13745
+ SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13746
+ SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
13747
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
13631
13748
  type: Injectable,
13632
13749
  args: [{
13633
13750
  providedIn: 'root'
@@ -13642,9 +13759,9 @@ class SoleContactService extends RestService {
13642
13759
  this.isHydra = true;
13643
13760
  }
13644
13761
  }
13645
- SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13646
- SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, providedIn: 'root' });
13647
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleContactService, decorators: [{
13762
+ SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13763
+ SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, providedIn: 'root' });
13764
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, decorators: [{
13648
13765
  type: Injectable,
13649
13766
  args: [{
13650
13767
  providedIn: 'root'
@@ -13700,9 +13817,9 @@ class SoleDepreciationMethodService {
13700
13817
  });
13701
13818
  }
13702
13819
  }
13703
- SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13704
- SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
13705
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
13820
+ 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 });
13821
+ SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
13822
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
13706
13823
  type: Injectable,
13707
13824
  args: [{
13708
13825
  providedIn: 'root'
@@ -13755,9 +13872,9 @@ class SoleDetailsService {
13755
13872
  }));
13756
13873
  }
13757
13874
  }
13758
- SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
13759
- SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
13760
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleDetailsService, decorators: [{
13875
+ 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 });
13876
+ SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
13877
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, decorators: [{
13761
13878
  type: Injectable,
13762
13879
  args: [{
13763
13880
  providedIn: 'root'
@@ -13831,9 +13948,9 @@ class SoleInvoiceService extends RestService {
13831
13948
  });
13832
13949
  }
13833
13950
  }
13834
- SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13835
- SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
13836
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceService, decorators: [{
13951
+ SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13952
+ SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
13953
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, decorators: [{
13837
13954
  type: Injectable,
13838
13955
  args: [{
13839
13956
  providedIn: 'root'
@@ -13848,9 +13965,9 @@ class SoleInvoiceTemplateService extends RestService {
13848
13965
  this.isHydra = true;
13849
13966
  }
13850
13967
  }
13851
- SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13852
- SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
13853
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
13968
+ SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13969
+ SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
13970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
13854
13971
  type: Injectable,
13855
13972
  args: [{
13856
13973
  providedIn: 'root'
@@ -13865,9 +13982,9 @@ class BasReportService extends RestService {
13865
13982
  this.isHydra = true;
13866
13983
  }
13867
13984
  }
13868
- BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13869
- BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, providedIn: 'root' });
13870
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasReportService, decorators: [{
13985
+ BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13986
+ BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, providedIn: 'root' });
13987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, decorators: [{
13871
13988
  type: Injectable,
13872
13989
  args: [{
13873
13990
  providedIn: 'root'
@@ -13893,9 +14010,9 @@ class ServicePaymentService extends RestService$1 {
13893
14010
  return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
13894
14011
  }
13895
14012
  }
13896
- ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13897
- ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
13898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentService, decorators: [{
14013
+ ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14014
+ ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
14015
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, decorators: [{
13899
14016
  type: Injectable,
13900
14017
  args: [{
13901
14018
  providedIn: 'root'
@@ -13943,9 +14060,9 @@ class ServicePaymentMethodService extends RestService$1 {
13943
14060
  });
13944
14061
  }
13945
14062
  }
13946
- ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
13947
- ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
13948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
14063
+ 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 });
14064
+ ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
14065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
13949
14066
  type: Injectable,
13950
14067
  args: [{
13951
14068
  providedIn: 'root'
@@ -13968,9 +14085,9 @@ class ServicePriceService extends RestService$1 {
13968
14085
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
13969
14086
  }
13970
14087
  }
13971
- ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13972
- ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
13973
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServicePriceService, decorators: [{
14088
+ ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14089
+ ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
14090
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, decorators: [{
13974
14091
  type: Injectable,
13975
14092
  args: [{
13976
14093
  providedIn: 'root'
@@ -14099,9 +14216,9 @@ class SubscriptionService extends RestService$1 {
14099
14216
  });
14100
14217
  }
14101
14218
  }
14102
- SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14103
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
14104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SubscriptionService, decorators: [{
14219
+ 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 });
14220
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
14221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, decorators: [{
14105
14222
  type: Injectable,
14106
14223
  args: [{
14107
14224
  providedIn: 'root'
@@ -14121,9 +14238,9 @@ class ServiceProductService extends RestService$1 {
14121
14238
  this.isApiPlatform = true;
14122
14239
  }
14123
14240
  }
14124
- ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14125
- ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
14126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ServiceProductService, decorators: [{
14241
+ ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14242
+ ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
14243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, decorators: [{
14127
14244
  type: Injectable,
14128
14245
  args: [{
14129
14246
  providedIn: 'root'
@@ -14249,9 +14366,9 @@ class TaxReviewHistoryService extends RestService {
14249
14366
  });
14250
14367
  }
14251
14368
  }
14252
- TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14253
- TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
14254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
14369
+ TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14370
+ TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
14371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
14255
14372
  type: Injectable,
14256
14373
  args: [{
14257
14374
  providedIn: 'root'
@@ -14340,9 +14457,9 @@ class TaxReviewService extends RestService {
14340
14457
  });
14341
14458
  }
14342
14459
  }
14343
- TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14344
- TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
14345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReviewService, decorators: [{
14460
+ TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14461
+ TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
14462
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, decorators: [{
14346
14463
  type: Injectable,
14347
14464
  args: [{
14348
14465
  providedIn: 'root'
@@ -14633,9 +14750,9 @@ class TaxSummaryService {
14633
14750
  });
14634
14751
  }
14635
14752
  }
14636
- TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14637
- TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
14638
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxSummaryService, decorators: [{
14753
+ 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 });
14754
+ TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
14755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, decorators: [{
14639
14756
  type: Injectable,
14640
14757
  args: [{
14641
14758
  providedIn: 'root'
@@ -14654,9 +14771,9 @@ class AllocationRuleService extends RestService$1 {
14654
14771
  this.isApiPlatform = true;
14655
14772
  }
14656
14773
  }
14657
- AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14658
- AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
14659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllocationRuleService, decorators: [{
14774
+ AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14775
+ AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
14776
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, decorators: [{
14660
14777
  type: Injectable,
14661
14778
  args: [{
14662
14779
  providedIn: 'root'
@@ -14746,9 +14863,9 @@ class TransactionAllocationService extends RestService {
14746
14863
  });
14747
14864
  }
14748
14865
  }
14749
- TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14750
- TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
14751
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionAllocationService, decorators: [{
14866
+ TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14867
+ TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
14868
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, decorators: [{
14752
14869
  type: Injectable,
14753
14870
  args: [{
14754
14871
  providedIn: 'root'
@@ -15005,9 +15122,9 @@ class TransactionService extends RestService {
15005
15122
  });
15006
15123
  }
15007
15124
  }
15008
- TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15009
- TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, providedIn: 'root' });
15010
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionService, decorators: [{
15125
+ 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 });
15126
+ TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, providedIn: 'root' });
15127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, decorators: [{
15011
15128
  type: Injectable,
15012
15129
  args: [{
15013
15130
  providedIn: 'root'
@@ -15036,9 +15153,9 @@ class TutorialVideoService {
15036
15153
  }
15037
15154
  TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
15038
15155
  TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
15039
- TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15040
- TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15041
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TutorialVideoService, decorators: [{
15156
+ 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 });
15157
+ TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, decorators: [{
15042
15159
  type: Injectable,
15043
15160
  args: [{
15044
15161
  providedIn: 'root'
@@ -15059,9 +15176,9 @@ class VehicleService extends RestService$1 {
15059
15176
  this.modelClass = Vehicle;
15060
15177
  }
15061
15178
  }
15062
- VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15063
- VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, providedIn: 'root' });
15064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleService, decorators: [{
15179
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15180
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, providedIn: 'root' });
15181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, decorators: [{
15065
15182
  type: Injectable,
15066
15183
  args: [{
15067
15184
  providedIn: 'root'
@@ -15142,9 +15259,9 @@ class VehicleClaimService extends RestService {
15142
15259
  combineLatest(batch$).subscribe();
15143
15260
  }
15144
15261
  }
15145
- VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15146
- VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
15147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimService, decorators: [{
15262
+ VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15263
+ VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
15264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, decorators: [{
15148
15265
  type: Injectable,
15149
15266
  args: [{
15150
15267
  providedIn: 'root'
@@ -15221,9 +15338,9 @@ class VehicleClaimDetailsService {
15221
15338
  this.update(vehicleClaimDetails).subscribe();
15222
15339
  }
15223
15340
  }
15224
- VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
15225
- VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
15226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
15341
+ 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 });
15342
+ VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
15343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
15227
15344
  type: Injectable,
15228
15345
  args: [{
15229
15346
  providedIn: 'root'
@@ -15244,9 +15361,9 @@ class VehicleLogbookService extends RestService$1 {
15244
15361
  this.modelClass = VehicleLogbook;
15245
15362
  }
15246
15363
  }
15247
- VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15248
- VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
15249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VehicleLogbookService, decorators: [{
15364
+ VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15365
+ VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
15366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, decorators: [{
15250
15367
  type: Injectable,
15251
15368
  args: [{
15252
15369
  providedIn: 'root'
@@ -15271,9 +15388,9 @@ class AnnualClientDetailsService extends RestService$1 {
15271
15388
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
15272
15389
  }
15273
15390
  }
15274
- AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15275
- AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
15276
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
15391
+ AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15392
+ AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
15393
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
15277
15394
  type: Injectable,
15278
15395
  args: [{
15279
15396
  providedIn: 'root'
@@ -15304,9 +15421,9 @@ class OccupationService {
15304
15421
  return this.occupationsSubject.asObservable();
15305
15422
  }
15306
15423
  }
15307
- OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15308
- OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, providedIn: 'root' });
15309
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OccupationService, decorators: [{
15424
+ 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 });
15425
+ OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, providedIn: 'root' });
15426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, decorators: [{
15310
15427
  type: Injectable,
15311
15428
  args: [{
15312
15429
  providedIn: 'root'
@@ -15349,7 +15466,7 @@ class UserEventSetting extends UserEventSetting$1 {
15349
15466
  // flag indicates that the setting is updating now saved or not
15350
15467
  this.isUpdating = false;
15351
15468
  }
15352
- get mpData() {
15469
+ getMpData() {
15353
15470
  return { type: this.type.name, byEmail: this.byEmail, byNotification: this.byNotification, frequency: this.type.frequencyLabel };
15354
15471
  }
15355
15472
  }
@@ -15370,9 +15487,9 @@ class UserEventSettingService extends RestService$1 {
15370
15487
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
15371
15488
  }
15372
15489
  }
15373
- UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15374
- UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
15375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventSettingService, decorators: [{
15490
+ UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15491
+ UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
15492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, decorators: [{
15376
15493
  type: Injectable,
15377
15494
  args: [{
15378
15495
  providedIn: 'root'
@@ -15389,9 +15506,9 @@ class UserEventTypeService extends RestService$1 {
15389
15506
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
15390
15507
  }
15391
15508
  }
15392
- UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15393
- UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
15394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserEventTypeService, decorators: [{
15509
+ UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15510
+ UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
15511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, decorators: [{
15395
15512
  type: Injectable,
15396
15513
  args: [{
15397
15514
  providedIn: 'root'
@@ -15415,9 +15532,9 @@ class UsersInviteService extends RestService {
15415
15532
  this.url = 'users/invite';
15416
15533
  }
15417
15534
  }
15418
- UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15419
- UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
15420
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersInviteService, decorators: [{
15535
+ UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15536
+ UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
15537
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, decorators: [{
15421
15538
  type: Injectable,
15422
15539
  args: [{
15423
15540
  providedIn: 'root'
@@ -15507,7 +15624,7 @@ class UserService extends RestService$1 {
15507
15624
  return this.http.get(`${this.apiUrl}/search`, { params: { email } }).pipe(map((userBase) => this.createModelInstance(userBase)));
15508
15625
  }
15509
15626
  finishOnboarding(user) {
15510
- return this.put(user, `${this.apiUrl}/status`);
15627
+ return this.put(user, null, `${this.apiUrl}/status`);
15511
15628
  }
15512
15629
  updatePhoto(photo) {
15513
15630
  return this.http.post(`${this.apiUrl}/photo?_method=PUT`, photo).pipe(map((photoUrl) => {
@@ -15521,6 +15638,11 @@ class UserService extends RestService$1 {
15521
15638
  return basiqId;
15522
15639
  }));
15523
15640
  }
15641
+ skipSetupItem(item) {
15642
+ const user = clone(this.getCacheFirst());
15643
+ user.blacklistSetupItems.push(item);
15644
+ return this.put(user);
15645
+ }
15524
15646
  /**
15525
15647
  * Update cache when user's service subscription is updated
15526
15648
  */
@@ -15534,9 +15656,9 @@ class UserService extends RestService$1 {
15534
15656
  this.eventDispatcherService.on(AppEventTypeEnum.BASIQ_CONSENT_UPDATED).subscribe(() => this.refreshCache());
15535
15657
  }
15536
15658
  }
15537
- UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15538
- UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, providedIn: 'root' });
15539
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserService, decorators: [{
15659
+ 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 });
15660
+ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, providedIn: 'root' });
15661
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, decorators: [{
15540
15662
  type: Injectable,
15541
15663
  args: [{
15542
15664
  providedIn: 'root'
@@ -15560,9 +15682,9 @@ class FinancialYearService {
15560
15682
  }));
15561
15683
  }
15562
15684
  }
15563
- FinancialYearService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: MixpanelService }], target: i0.ɵɵFactoryTarget.Injectable });
15564
- FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearService, providedIn: 'root' });
15565
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FinancialYearService, decorators: [{
15685
+ 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 });
15686
+ FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearService, providedIn: 'root' });
15687
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearService, decorators: [{
15566
15688
  type: Injectable,
15567
15689
  args: [{
15568
15690
  providedIn: 'root'
@@ -15586,9 +15708,9 @@ class HoldingService extends RestService$1 {
15586
15708
  this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.refreshCache);
15587
15709
  }
15588
15710
  }
15589
- HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15590
- HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, providedIn: 'root' });
15591
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingService, decorators: [{
15711
+ HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15712
+ HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, providedIn: 'root' });
15713
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, decorators: [{
15592
15714
  type: Injectable,
15593
15715
  args: [{
15594
15716
  providedIn: 'root'
@@ -15605,9 +15727,9 @@ class HoldingTypeService extends RestService$1 {
15605
15727
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15606
15728
  }
15607
15729
  }
15608
- HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15609
- HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
15610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeService, decorators: [{
15730
+ HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15731
+ HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
15732
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, decorators: [{
15611
15733
  type: Injectable,
15612
15734
  args: [{
15613
15735
  providedIn: 'root'
@@ -15624,9 +15746,9 @@ class HoldingSaleService extends RestService$1 {
15624
15746
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15625
15747
  }
15626
15748
  }
15627
- HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15628
- HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
15629
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingSaleService, decorators: [{
15749
+ HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15750
+ HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
15751
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, decorators: [{
15630
15752
  type: Injectable,
15631
15753
  args: [{
15632
15754
  providedIn: 'root'
@@ -15721,9 +15843,9 @@ class HoldingTypeExchangeService extends DataService {
15721
15843
  this.setCache(HoldingTypeExchanges);
15722
15844
  }
15723
15845
  }
15724
- HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15725
- HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
15726
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
15846
+ HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15847
+ HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
15848
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
15727
15849
  type: Injectable,
15728
15850
  args: [{
15729
15851
  providedIn: 'root'
@@ -15827,9 +15949,9 @@ class IncomeSourceTypeService extends DataService {
15827
15949
  this.setCache(IncomeSourceTypes);
15828
15950
  }
15829
15951
  }
15830
- IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15831
- IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
15832
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
15952
+ IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15953
+ IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
15954
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
15833
15955
  type: Injectable,
15834
15956
  args: [{
15835
15957
  providedIn: 'root'
@@ -15851,9 +15973,9 @@ class ChartAccountsValueService extends DataService {
15851
15973
  return this.getCache().find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
15852
15974
  }
15853
15975
  }
15854
- ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15855
- ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
15856
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartAccountsValueService, decorators: [{
15976
+ ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15977
+ ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
15978
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, decorators: [{
15857
15979
  type: Injectable,
15858
15980
  args: [{
15859
15981
  providedIn: 'root'
@@ -17943,108 +18065,47 @@ class TaxReturnItemService extends DataService {
17943
18065
  this.setCache(TaxReturnItems);
17944
18066
  }
17945
18067
  }
17946
- TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17947
- TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
17948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaxReturnItemService, decorators: [{
18068
+ TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18069
+ TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
18070
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, decorators: [{
17949
18071
  type: Injectable,
17950
18072
  args: [{
17951
18073
  providedIn: 'root'
17952
18074
  }]
17953
18075
  }], ctorParameters: function () { return []; } });
17954
18076
 
17955
- /**
17956
- * Enum list of all possible account setup items. Using with [ACCOUNT_SETUP_ITEMS]{@link ACCOUNT_SETUP_ITEMS}
17957
- */
17958
- var AccountSetupItemsEnum;
17959
- (function (AccountSetupItemsEnum) {
17960
- AccountSetupItemsEnum[AccountSetupItemsEnum["SALARY"] = 0] = "SALARY";
17961
- AccountSetupItemsEnum[AccountSetupItemsEnum["OTHER_INCOME"] = 1] = "OTHER_INCOME";
17962
- AccountSetupItemsEnum[AccountSetupItemsEnum["PROPERTY"] = 2] = "PROPERTY";
17963
- AccountSetupItemsEnum[AccountSetupItemsEnum["BANK_FEEDS"] = 3] = "BANK_FEEDS";
17964
- AccountSetupItemsEnum[AccountSetupItemsEnum["WORK_LOGBOOK"] = 4] = "WORK_LOGBOOK";
17965
- AccountSetupItemsEnum[AccountSetupItemsEnum["TRANSACTION"] = 5] = "TRANSACTION";
17966
- AccountSetupItemsEnum[AccountSetupItemsEnum["SOLE_BUSINESS"] = 6] = "SOLE_BUSINESS";
17967
- AccountSetupItemsEnum[AccountSetupItemsEnum["HOLDINGS"] = 7] = "HOLDINGS";
17968
- })(AccountSetupItemsEnum || (AccountSetupItemsEnum = {}));
18077
+ var SetupItemTypeEnum;
18078
+ (function (SetupItemTypeEnum) {
18079
+ SetupItemTypeEnum[SetupItemTypeEnum["CLIENT"] = 1] = "CLIENT";
18080
+ SetupItemTypeEnum[SetupItemTypeEnum["EMPLOYEE"] = 2] = "EMPLOYEE";
18081
+ })(SetupItemTypeEnum || (SetupItemTypeEnum = {}));
17969
18082
 
17970
- /**
17971
- * Account setup item instance is using for account setup checklist
17972
- */
17973
- class AccountSetupItem extends AbstractModel {
18083
+ class SetupItemService extends RestService$1 {
17974
18084
  constructor() {
17975
18085
  super(...arguments);
17976
- this.clientIncomeTypes = [];
18086
+ this.endpointUri = 'setup-items';
18087
+ this.isApiPlatform = true;
18088
+ this.modelClass = AccountSetupItem;
18089
+ this.collectionClass = AccountSetupItemCollection;
18090
+ this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
17977
18091
  }
17978
18092
  }
17979
-
17980
- /**
17981
- * List of all possible account setup steps
17982
- */
17983
- const ACCOUNT_SETUP_ITEMS = {
17984
- [AccountSetupItemsEnum.SALARY]: plainToClass(AccountSetupItem, {
17985
- title: 'Add your work income forecast',
17986
- 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.',
17987
- url: '/client/work-tank/forecasting',
17988
- urlFragment: 'salaryProductTour',
17989
- clientIncomeTypes: ['work']
17990
- }),
17991
- [AccountSetupItemsEnum.OTHER_INCOME]: plainToClass(AccountSetupItem, {
17992
- title: 'Add any other expected incomes',
17993
- description: 'To ensure an accurate tax position forecast, add estimates for any other income types, like dividends, interest, trusts, annuities, director payments etc.',
17994
- url: '/client/work-tank/forecasting',
17995
- urlFragment: 'otherIncomeProductTour',
17996
- clientIncomeTypes: ['work']
17997
- }),
17998
- [AccountSetupItemsEnum.PROPERTY]: plainToClass(AccountSetupItem, {
17999
- title: 'Add your properties',
18000
- 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.',
18001
- url: '/client/property-tank',
18002
- urlFragment: 'productTour',
18003
- clientIncomeTypes: ['property']
18004
- }),
18005
- [AccountSetupItemsEnum.BANK_FEEDS]: plainToClass(AccountSetupItem, {
18006
- title: 'Link banks and select accounts',
18007
- 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!',
18008
- url: '/client/bank-feeds',
18009
- urlFragment: 'bankAccountProductTour',
18010
- clientIncomeTypes: ['work', 'property', 'sole']
18011
- }),
18012
- [AccountSetupItemsEnum.WORK_LOGBOOK]: plainToClass(AccountSetupItem, {
18013
- title: 'Set up your logbook method',
18014
- 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.',
18015
- url: '/client/work-tank/logbook',
18016
- urlFragment: 'productTour'
18017
- }),
18018
- [AccountSetupItemsEnum.TRANSACTION]: plainToClass(AccountSetupItem, {
18019
- title: 'Allocate transactions',
18020
- 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.',
18021
- url: '/client/bank-feeds',
18022
- urlFragment: 'allocationProductTour',
18023
- clientIncomeTypes: ['work', 'property', 'sole']
18024
- }),
18025
- [AccountSetupItemsEnum.SOLE_BUSINESS]: plainToClass(AccountSetupItem, {
18026
- title: 'Add your Sole Trader business',
18027
- description: 'Add up to 6 sole trader businesses to seamlessly manage invoicing, payments, BAS and prior even losses for every hustle without the hassle!',
18028
- url: '/client/sole-tank',
18029
- urlFragment: 'productTour',
18030
- clientIncomeTypes: ['sole']
18031
- }),
18032
- [AccountSetupItemsEnum.HOLDINGS]: plainToClass(AccountSetupItem, {
18033
- title: 'Add your holdings',
18034
- description: 'Track your trades for shares, crypto and other assets in one place, and auto calculate CGT all year round!',
18035
- url: '/client/holdings-tank',
18036
- // @TODO Nicole waiting for product tour from
18037
- urlFragment: 'productTour',
18038
- clientIncomeTypes: ['holdings']
18039
- }),
18040
- };
18093
+ SetupItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SetupItemService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18094
+ SetupItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SetupItemService, providedIn: 'root' });
18095
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SetupItemService, decorators: [{
18096
+ type: Injectable,
18097
+ args: [{
18098
+ providedIn: 'root'
18099
+ }]
18100
+ }] });
18041
18101
 
18042
18102
  /**
18043
18103
  * Service handling user's account setup process.
18044
18104
  * Checks required steps and their completion
18045
18105
  */
18046
18106
  class AccountSetupService {
18047
- constructor(propertyService, incomeSourceService, bankAccountsService, transactionAllocationService, vehicleClaimService, transactionService, soleBusinessService, holdingService, userService) {
18107
+ constructor(setupItemService, propertyService, incomeSourceService, bankAccountsService, transactionAllocationService, vehicleClaimService, transactionService, soleBusinessService, holdingService, userService, clientMovementService, clientInviteService, employeeService, employeeInviteService, firmService) {
18108
+ this.setupItemService = setupItemService;
18048
18109
  this.propertyService = propertyService;
18049
18110
  this.incomeSourceService = incomeSourceService;
18050
18111
  this.bankAccountsService = bankAccountsService;
@@ -18054,67 +18115,46 @@ class AccountSetupService {
18054
18115
  this.soleBusinessService = soleBusinessService;
18055
18116
  this.holdingService = holdingService;
18056
18117
  this.userService = userService;
18057
- this.cacheSubject = new ReplaySubject(1);
18118
+ this.clientMovementService = clientMovementService;
18119
+ this.clientInviteService = clientInviteService;
18120
+ this.employeeService = employeeService;
18121
+ this.employeeInviteService = employeeInviteService;
18122
+ this.firmService = firmService;
18058
18123
  }
18059
18124
  /**
18060
- * Get list of account setup items for current user
18125
+ * Get list of account setup items for current user/firm
18061
18126
  */
18062
- get() {
18063
- if (!this.cache) {
18064
- this.cache = new AccountSetupItemCollection([]);
18065
- this.userService.getFirst().pipe(mergeMap((user) => {
18066
- this.user = user;
18067
- return this.createBatch();
18068
- })).subscribe((items) => {
18069
- switch (true) {
18070
- case !this.cache:
18071
- case this.cache.filterBy('isCompleted', true).length !== items.filterBy('isCompleted', true).length:
18072
- case this.cache.length !== items.length:
18073
- this.cache = cloneDeep$1(items);
18074
- this.cacheSubject.next(this.cache);
18075
- }
18076
- });
18077
- }
18078
- return this.cacheSubject.asObservable();
18079
- }
18080
- /**
18081
- * Get a single AccountSetupItem and check it's completion
18082
- */
18083
- create(itemType, request) {
18084
- return request.pipe(map((result) => {
18085
- const item = ACCOUNT_SETUP_ITEMS[itemType];
18086
- if (result.length) {
18087
- item.isCompleted = true;
18088
- }
18089
- else {
18090
- item.isCompleted = false;
18091
- }
18092
- return item;
18127
+ get(type) {
18128
+ return combineLatest([
18129
+ this.setupItemService.get(),
18130
+ this.userService.getFirst()
18131
+ ])
18132
+ .pipe(mergeMap(([items, user]) => {
18133
+ this.items = items;
18134
+ this.user = user;
18135
+ return type === SetupItemTypeEnum.CLIENT ? this.getClientItems$() : this.getFirmItems$();
18093
18136
  }));
18094
18137
  }
18095
- /**
18096
- * Get batch of requests to get list of required AccountSetupItem's.
18097
- * Some items are optional and depends of user's client income types
18098
- */
18099
- createBatch() {
18138
+ getClientItems$() {
18100
18139
  const batch = [];
18101
- // Salary item is completed when user added salary income source
18102
18140
  if (this.user.hasRoles(UserRolesEnum.WORK_TANK)) {
18103
- batch.push(this.create(AccountSetupItemsEnum.SALARY, this.getIncomeSources(true)),
18141
+ batch.push(
18142
+ // Salary item is completed when user added salary income source
18143
+ this.setItemStatus(this.items.findBy('isSalary', true), this.getIncomeSources(true)),
18104
18144
  // Other income is a part of work tank, completed when user added at least one other income source
18105
- this.create(AccountSetupItemsEnum.OTHER_INCOME, this.getIncomeSources()));
18145
+ this.setItemStatus(this.items.findBy('isOtherIncome', true), this.getIncomeSources()));
18106
18146
  }
18107
18147
  // Rental income item is completed when user added at least one property
18108
18148
  if (this.user.hasRoles(UserRolesEnum.PROPERTY_TANK)) {
18109
- batch.push(this.create(AccountSetupItemsEnum.PROPERTY, this.propertyService.getArray()));
18149
+ batch.push(this.setItemStatus(this.items.findBy('isProperty', true), this.propertyService.getArray()));
18110
18150
  }
18111
18151
  // Sole business item is completed when user added at least one business
18112
18152
  if (this.user.hasRoles(UserRolesEnum.SOLE_TANK)) {
18113
- batch.push(this.create(AccountSetupItemsEnum.SOLE_BUSINESS, this.soleBusinessService.get()));
18153
+ batch.push(this.setItemStatus(this.items.findBy('isSoleBusiness', true), this.soleBusinessService.get()));
18114
18154
  }
18115
18155
  // holdings item is completed when user added at least one holding
18116
18156
  if (this.user.hasRoles(UserRolesEnum.HOLDING_TANK)) {
18117
- batch.push(this.create(AccountSetupItemsEnum.HOLDINGS, this.holdingService.getArray()));
18157
+ batch.push(this.setItemStatus(this.items.findBy('isHoldings', true), this.holdingService.getArray()));
18118
18158
  }
18119
18159
  if (this.user.hasRoles([UserRolesEnum.WORK_TANK, UserRolesEnum.PROPERTY_TANK, UserRolesEnum.SOLE_TANK, UserRolesEnum.HOLDING_TANK])) {
18120
18160
  // Bank feeds item is completed when user added at least one bank account (basiq or manual)
@@ -18122,10 +18162,58 @@ class AccountSetupService {
18122
18162
  // Logbook item is completed when user has at least one vehicle claim with any method (kms or logbook)
18123
18163
  batch.push(this.getLogbookItem());
18124
18164
  // Allocation item is completed when user added at least one transaction allocation
18125
- batch.push(this.create(AccountSetupItemsEnum.TRANSACTION, this.transactionAllocationService.get()));
18165
+ batch.push(this.setItemStatus(this.items.findBy('isTransactionAllocate', true), this.transactionAllocationService.get()));
18126
18166
  }
18127
18167
  return combineLatest(batch).pipe(map((items) => new AccountSetupItemCollection(items)));
18128
18168
  }
18169
+ getFirmItems$() {
18170
+ const batch = [];
18171
+ batch.push(
18172
+ // Firm Details item is completed when user filled some general information
18173
+ this.firmService.get().pipe(map((firm) => {
18174
+ const item = this.items.findBy('isFirmDetails', true);
18175
+ if (firm.address || firm.phone || firm.file || firm.shortName) {
18176
+ item.isCompleted = true;
18177
+ }
18178
+ return item;
18179
+ })));
18180
+ batch.push(
18181
+ // Invite team item is completed when firm has employees except firm owner or firm has invited employees.
18182
+ this.setItemStatus(this.items.findBy('isInviteTeam', true), combineLatest([
18183
+ this.employeeService.get(),
18184
+ this.employeeInviteService.get()
18185
+ ]).pipe(map(([employees, invites]) => {
18186
+ // we always have at least 1 employee (firm owner), so we should check other employees except firm owner
18187
+ if (employees.length) {
18188
+ employees = clone(employees).splice(0, 1);
18189
+ }
18190
+ return [...employees, ...invites];
18191
+ }))));
18192
+ batch.push(
18193
+ // Invite clients item is completed when firm has clients or firm has invited clients.
18194
+ this.setItemStatus(this.items.findBy('isInviteClients', true), combineLatest([
18195
+ this.clientMovementService.getActive(),
18196
+ this.clientInviteService.get(true)
18197
+ ]).pipe(map(([movements, invites]) => {
18198
+ return [...movements.toArray(), ...invites];
18199
+ }))));
18200
+ return combineLatest(batch).pipe(map((items) => new AccountSetupItemCollection(items)));
18201
+ }
18202
+ /**
18203
+ * Check and update isCompleted flag for passed item
18204
+ */
18205
+ setItemStatus(item, request) {
18206
+ return request.pipe(map((result) => {
18207
+ const isSkipped = !!this.user.blacklistSetupItems.find((skippedItem) => skippedItem.id === item.id);
18208
+ if (result.length || isSkipped) {
18209
+ item.isCompleted = true;
18210
+ }
18211
+ else {
18212
+ item.isCompleted = false;
18213
+ }
18214
+ return item;
18215
+ }));
18216
+ }
18129
18217
  /**
18130
18218
  * @TODO Alex: work with collection when services refactored
18131
18219
  * @TODO Vik: waiting for income sources refactoring
@@ -18148,31 +18236,30 @@ class AccountSetupService {
18148
18236
  // @TODO Alex: remove map when services start work with collections
18149
18237
  map((transactions) => new TransactionCollection(transactions)), mergeMap((transactions) => {
18150
18238
  if (transactions.getVehicleTransactions().length) {
18151
- return this.create(AccountSetupItemsEnum.WORK_LOGBOOK, this.vehicleClaimService.get());
18239
+ return this.setItemStatus(this.items.findBy('isWorkLogbook', true), this.vehicleClaimService.get());
18152
18240
  }
18153
18241
  return of(null);
18154
18242
  }));
18155
18243
  }
18156
18244
  /**
18157
- * Show bank feeds item when user has only holding tank
18245
+ * Hide bank feeds item when user has only holding tank
18158
18246
  */
18159
18247
  getBankFeedsItem() {
18160
- const userRoles = this.userService.getCacheFirst().roles;
18161
18248
  const bankFeedsRoles = [UserRolesEnum.PROPERTY_TANK, UserRolesEnum.WORK_TANK, UserRolesEnum.SOLE_TANK];
18162
- if (!intersection(bankFeedsRoles, userRoles).length) {
18249
+ if (!intersection(bankFeedsRoles, this.user.roles).length) {
18163
18250
  return of(null);
18164
18251
  }
18165
- return this.create(AccountSetupItemsEnum.BANK_FEEDS, this.bankAccountsService.getArray());
18252
+ return this.setItemStatus(this.items.findBy('isBankFeeds', true), this.bankAccountsService.getArray());
18166
18253
  }
18167
18254
  }
18168
- AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, deps: [{ token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }, { token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
18169
- AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
18170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AccountSetupService, decorators: [{
18255
+ 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 });
18256
+ AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
18257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, decorators: [{
18171
18258
  type: Injectable,
18172
18259
  args: [{
18173
18260
  providedIn: 'root'
18174
18261
  }]
18175
- }], ctorParameters: function () { return [{ type: PropertyService }, { type: IncomeSourceService }, { type: BankAccountService }, { type: TransactionAllocationService }, { type: VehicleClaimService }, { type: TransactionService }, { type: SoleBusinessService }, { type: HoldingService }, { type: UserService }]; } });
18262
+ }], 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 }]; } });
18176
18263
 
18177
18264
  /**
18178
18265
  * Service to work with Rewardful (affiliate program) API
@@ -18193,9 +18280,9 @@ class RewardfulService {
18193
18280
  });
18194
18281
  }
18195
18282
  }
18196
- RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18197
- RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, providedIn: 'root' });
18198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RewardfulService, decorators: [{
18283
+ RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18284
+ RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, providedIn: 'root' });
18285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, decorators: [{
18199
18286
  type: Injectable,
18200
18287
  args: [{
18201
18288
  providedIn: 'root'
@@ -18231,9 +18318,9 @@ class UserSwitcherService {
18231
18318
  window.location.replace('/firm/dashboard');
18232
18319
  }
18233
18320
  }
18234
- UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18235
- UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
18236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherService, decorators: [{
18321
+ UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18322
+ UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
18323
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, decorators: [{
18237
18324
  type: Injectable,
18238
18325
  args: [{
18239
18326
  providedIn: 'root'
@@ -18275,9 +18362,9 @@ class AssetsService {
18275
18362
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
18276
18363
  }
18277
18364
  }
18278
- AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18279
- AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, providedIn: 'root' });
18280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsService, decorators: [{
18365
+ 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 });
18366
+ AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, providedIn: 'root' });
18367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, decorators: [{
18281
18368
  type: Injectable,
18282
18369
  args: [{
18283
18370
  providedIn: 'root'
@@ -18336,9 +18423,9 @@ class BankTransactionCalculationService {
18336
18423
  return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
18337
18424
  }
18338
18425
  }
18339
- BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18340
- BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
18341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
18426
+ BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18427
+ BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
18428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
18342
18429
  type: Injectable,
18343
18430
  args: [{
18344
18431
  providedIn: 'root'
@@ -18367,9 +18454,9 @@ class BankAccountCalculationService {
18367
18454
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
18368
18455
  }
18369
18456
  }
18370
- BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
18371
- BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
18372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BankAccountCalculationService, decorators: [{
18457
+ BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
18458
+ BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
18459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, decorators: [{
18373
18460
  type: Injectable,
18374
18461
  args: [{
18375
18462
  providedIn: 'root'
@@ -18397,9 +18484,9 @@ class ExportFormatterService {
18397
18484
  }));
18398
18485
  }
18399
18486
  }
18400
- ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
18401
- ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
18402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExportFormatterService, decorators: [{
18487
+ 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 });
18488
+ ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
18489
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, decorators: [{
18403
18490
  type: Injectable,
18404
18491
  args: [{
18405
18492
  providedIn: 'root'
@@ -18420,9 +18507,9 @@ class HeaderTitleService {
18420
18507
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
18421
18508
  }
18422
18509
  }
18423
- HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
18424
- HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
18425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderTitleService, decorators: [{
18510
+ 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 });
18511
+ HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
18512
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, decorators: [{
18426
18513
  type: Injectable,
18427
18514
  args: [{
18428
18515
  providedIn: 'root'
@@ -18456,9 +18543,9 @@ class IntercomService {
18456
18543
  window.Intercom('boot', connectionCredentials);
18457
18544
  }
18458
18545
  }
18459
- IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18460
- IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, providedIn: 'root' });
18461
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntercomService, decorators: [{
18546
+ IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18547
+ IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, providedIn: 'root' });
18548
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, decorators: [{
18462
18549
  type: Injectable,
18463
18550
  args: [{
18464
18551
  providedIn: 'root'
@@ -18528,9 +18615,9 @@ class PdfFromDomElementService {
18528
18615
  .then((blob) => new File([blob], filename, { type: 'application/pdf' })));
18529
18616
  }
18530
18617
  }
18531
- PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18532
- PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
18533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDomElementService, decorators: [{
18618
+ PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18619
+ PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
18620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, decorators: [{
18534
18621
  type: Injectable,
18535
18622
  args: [{
18536
18623
  providedIn: 'root'
@@ -18624,9 +18711,9 @@ class PdfFromTableService {
18624
18711
  .setTextColor(FILE_SETTINGS.text.colorPrimary);
18625
18712
  }
18626
18713
  }
18627
- PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18628
- PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
18629
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromTableService, decorators: [{
18714
+ PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18715
+ PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
18716
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, decorators: [{
18630
18717
  type: Injectable,
18631
18718
  args: [{
18632
18719
  providedIn: 'root'
@@ -18665,9 +18752,9 @@ class PdfFromDataTableService extends PdfFromTableService {
18665
18752
  return pdf;
18666
18753
  }
18667
18754
  }
18668
- PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
18669
- PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
18670
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromDataTableService, decorators: [{
18755
+ PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
18756
+ PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
18757
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, decorators: [{
18671
18758
  type: Injectable,
18672
18759
  args: [{
18673
18760
  providedIn: 'root'
@@ -18703,9 +18790,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
18703
18790
  return pdf;
18704
18791
  }
18705
18792
  }
18706
- PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18707
- PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
18708
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
18793
+ PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18794
+ PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
18795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
18709
18796
  type: Injectable,
18710
18797
  args: [{
18711
18798
  providedIn: 'root'
@@ -18730,9 +18817,9 @@ class PreloaderService {
18730
18817
  this.activePreloaders.next(activePreloaders);
18731
18818
  }
18732
18819
  }
18733
- PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18734
- PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, providedIn: 'root' });
18735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderService, decorators: [{
18820
+ PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18821
+ PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, providedIn: 'root' });
18822
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, decorators: [{
18736
18823
  type: Injectable,
18737
18824
  args: [{
18738
18825
  providedIn: 'root'
@@ -18759,9 +18846,9 @@ class EquityPositionChartService {
18759
18846
  }))));
18760
18847
  }
18761
18848
  }
18762
- EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
18763
- EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
18764
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EquityPositionChartService, decorators: [{
18849
+ 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 });
18850
+ EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
18851
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, decorators: [{
18765
18852
  type: Injectable,
18766
18853
  args: [{
18767
18854
  providedIn: 'root'
@@ -18934,9 +19021,9 @@ class PropertyCalculationService {
18934
19021
  }
18935
19022
  }
18936
19023
  }
18937
- PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18938
- PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
18939
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyCalculationService, decorators: [{
19024
+ PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19025
+ PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
19026
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, decorators: [{
18940
19027
  type: Injectable,
18941
19028
  args: [{
18942
19029
  providedIn: 'root'
@@ -18989,9 +19076,9 @@ class PropertyTransactionReportService {
18989
19076
  .getWithoutBorrowingExpenses()));
18990
19077
  }
18991
19078
  }
18992
- PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
18993
- PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
18994
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
19079
+ 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 });
19080
+ PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
19081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
18995
19082
  type: Injectable,
18996
19083
  args: [{
18997
19084
  providedIn: 'root'
@@ -19062,9 +19149,9 @@ class TransactionCalculationService {
19062
19149
  return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
19063
19150
  }
19064
19151
  }
19065
- TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19066
- TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
19067
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionCalculationService, decorators: [{
19152
+ TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19153
+ TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
19154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, decorators: [{
19068
19155
  type: Injectable,
19069
19156
  args: [{
19070
19157
  providedIn: 'root'
@@ -19124,9 +19211,9 @@ class LogbookBestPeriodService {
19124
19211
  });
19125
19212
  }
19126
19213
  }
19127
- LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
19128
- LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
19129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
19214
+ 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 });
19215
+ LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
19216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
19130
19217
  type: Injectable,
19131
19218
  args: [{
19132
19219
  providedIn: 'root'
@@ -19204,9 +19291,9 @@ class XlsxService {
19204
19291
  FileSaver.saveAs(data, `${fileName}.xlsx`);
19205
19292
  }
19206
19293
  }
19207
- XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19208
- XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, providedIn: 'root' });
19209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: XlsxService, decorators: [{
19294
+ XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19295
+ XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, providedIn: 'root' });
19296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, decorators: [{
19210
19297
  type: Injectable,
19211
19298
  args: [{
19212
19299
  providedIn: 'root'
@@ -19336,9 +19423,9 @@ class JwtInterceptor {
19336
19423
  });
19337
19424
  }
19338
19425
  }
19339
- JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19340
- JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor });
19341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: JwtInterceptor, decorators: [{
19426
+ 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 });
19427
+ JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor });
19428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, decorators: [{
19342
19429
  type: Injectable
19343
19430
  }], ctorParameters: function () { return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
19344
19431
  type: Inject,
@@ -19373,9 +19460,9 @@ class UserSwitcherInterceptor {
19373
19460
  return next.handle(this.switch(request, this.userSwitcherService.get()));
19374
19461
  }
19375
19462
  }
19376
- UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
19377
- UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor });
19378
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
19463
+ 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 });
19464
+ UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor });
19465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
19379
19466
  type: Injectable
19380
19467
  }], ctorParameters: function () { return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
19381
19468
  type: Inject,
@@ -19536,10 +19623,10 @@ const ENDPOINTS = {
19536
19623
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
19537
19624
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/depreciation-capital-projects\\/\\d+'),
19538
19625
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_DELETE: new Endpoint('DELETE', '\\/properties\\/\\d+\\/depreciation-capital-projects\\/\\d+'),
19539
- PROPERTIES_DOCUMENTS_GET: new Endpoint('GET', '\\/properties\\/documents'),
19540
- PROPERTIES_DOCUMENTS_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/documents'),
19541
- PROPERTIES_DOCUMENTS_PUT: new Endpoint('PUT', '\\/properties\\/documents\\/\\d+'),
19542
- PROPERTIES_DOCUMENTS_DELETE: new Endpoint('DELETE', '\\/properties\\/documents\\/\\d+'),
19626
+ PROPERTIES_DOCUMENTS_GET: new Endpoint('GET', '\\/property-documents'),
19627
+ PROPERTIES_DOCUMENTS_POST: new Endpoint('POST', '\\/property-documents'),
19628
+ PROPERTIES_DOCUMENTS_PUT: new Endpoint('PUT', '\\/property-documents\\/\\d+'),
19629
+ PROPERTIES_DOCUMENTS_DELETE: new Endpoint('DELETE', '\\/property-documents\\/\\d+'),
19543
19630
  PROPERTIES_PHOTO_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/photo\.\*'),
19544
19631
  PROPERTIES_SALES_GET: new Endpoint('GET', '\\/properties\\/sales'),
19545
19632
  PROPERTIES_SUGGESTIONS_GET: new Endpoint('GET', '/property\\/\\w+\\/v2\\/.*$'),
@@ -19662,9 +19749,9 @@ class PreloaderInterceptor {
19662
19749
  return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
19663
19750
  }
19664
19751
  }
19665
- PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
19666
- PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor });
19667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PreloaderInterceptor, decorators: [{
19752
+ PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
19753
+ PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor });
19754
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, decorators: [{
19668
19755
  type: Injectable
19669
19756
  }], ctorParameters: function () { return [{ type: PreloaderService }]; } });
19670
19757
 
@@ -19690,9 +19777,9 @@ class BasiqTokenInterceptor {
19690
19777
  });
19691
19778
  }
19692
19779
  }
19693
- BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
19694
- BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor });
19695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
19780
+ BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
19781
+ BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor });
19782
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
19696
19783
  type: Injectable
19697
19784
  }], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
19698
19785
 
@@ -19716,17 +19803,17 @@ class BasiqClientIdInterceptor {
19716
19803
  });
19717
19804
  }
19718
19805
  }
19719
- BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
19720
- BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor });
19721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
19806
+ BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
19807
+ BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor });
19808
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
19722
19809
  type: Injectable
19723
19810
  }], ctorParameters: function () { return [{ type: UserService }]; } });
19724
19811
 
19725
19812
  class InterceptorsModule {
19726
19813
  }
19727
- InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19728
- InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule });
19729
- InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, providers: [
19814
+ InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19815
+ InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule });
19816
+ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, providers: [
19730
19817
  {
19731
19818
  provide: HTTP_INTERCEPTORS,
19732
19819
  useClass: CorelogicInterceptor,
@@ -19764,7 +19851,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
19764
19851
  multi: true
19765
19852
  }
19766
19853
  ] });
19767
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InterceptorsModule, decorators: [{
19854
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, decorators: [{
19768
19855
  type: NgModule,
19769
19856
  args: [{
19770
19857
  providers: [
@@ -19825,12 +19912,12 @@ class TtCoreModule {
19825
19912
  };
19826
19913
  }
19827
19914
  }
19828
- TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19829
- TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19915
+ TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19916
+ TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19830
19917
  InterceptorsModule] });
19831
- TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19918
+ TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
19832
19919
  InterceptorsModule] });
19833
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TtCoreModule, decorators: [{
19920
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, decorators: [{
19834
19921
  type: NgModule,
19835
19922
  args: [{
19836
19923
  declarations: [],
@@ -19851,9 +19938,9 @@ class AppCurrencyPipe extends CurrencyPipe {
19851
19938
  return super.transform(value, currencyCode, display, digitsInfo, locale);
19852
19939
  }
19853
19940
  }
19854
- AppCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19855
- AppCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" });
19856
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AppCurrencyPipe, decorators: [{
19941
+ AppCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19942
+ AppCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" });
19943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AppCurrencyPipe, decorators: [{
19857
19944
  type: Pipe,
19858
19945
  args: [{
19859
19946
  name: 'appCurrency',
@@ -20940,9 +21027,9 @@ class UniqueEmailValidator {
20940
21027
  return this.userService.search(control.value).pipe(delay(500), map((user) => user ? { emailIsUsed: true } : null), catchError(() => of(null)));
20941
21028
  }
20942
21029
  }
20943
- UniqueEmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
20944
- UniqueEmailValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' });
20945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UniqueEmailValidator, decorators: [{
21030
+ UniqueEmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
21031
+ UniqueEmailValidator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' });
21032
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UniqueEmailValidator, decorators: [{
20946
21033
  type: Injectable,
20947
21034
  args: [{ providedIn: 'root' }]
20948
21035
  }], ctorParameters: function () { return [{ type: UserService }]; } });
@@ -23640,13 +23727,10 @@ var MessagesEnum;
23640
23727
  })(MessagesEnum || (MessagesEnum = {}));
23641
23728
 
23642
23729
  // @TODO Alex: Create indexes everywhere and break this file to imports from indexes
23643
- /**
23644
- * Public API Surface of tt-core
23645
- */
23646
23730
 
23647
23731
  /**
23648
23732
  * Generated bundle index. Do not edit.
23649
23733
  */
23650
23734
 
23651
- 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 };
23735
+ 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 };
23652
23736
  //# sourceMappingURL=taxtank-core.mjs.map