taxtank-core 0.30.41 → 0.30.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 (1276) hide show
  1. package/esm2020/lib/collections/bank-account.collection.mjs +9 -29
  2. package/esm2020/lib/collections/bank-transaction.collection.mjs +3 -5
  3. package/esm2020/lib/collections/chat/message.collection.mjs +2 -4
  4. package/esm2020/lib/collections/collection-dictionary.mjs +1 -1
  5. package/esm2020/lib/collections/collection.mjs +1 -1
  6. package/esm2020/lib/collections/depreciation.collection.mjs +7 -19
  7. package/esm2020/lib/collections/exportable.collection.mjs +1 -2
  8. package/esm2020/lib/collections/holding-type.collection.mjs +1 -1
  9. package/esm2020/lib/collections/holding.collection.mjs +4 -1
  10. package/esm2020/lib/collections/loan/loan-payment.collection.mjs +12 -16
  11. package/esm2020/lib/collections/property/property-category-movement.collection.mjs +2 -4
  12. package/esm2020/lib/collections/property/property-share.collection.mjs +2 -4
  13. package/esm2020/lib/collections/property/property.collection.mjs +3 -7
  14. package/esm2020/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +2 -4
  15. package/esm2020/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +2 -4
  16. package/esm2020/lib/collections/subscription/service-subscription.collection.mjs +3 -7
  17. package/esm2020/lib/collections/tax-review.collection.mjs +5 -7
  18. package/esm2020/lib/collections/tax-summary/report-item.collection.mjs +8 -8
  19. package/esm2020/lib/collections/transaction/transaction.collection.mjs +11 -21
  20. package/esm2020/lib/db/Enums/address-type.enum.mjs +1 -1
  21. package/esm2020/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +1 -1
  22. package/esm2020/lib/db/Enums/allocation-rule-condition-field.enum.mjs +1 -1
  23. package/esm2020/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +1 -1
  24. package/esm2020/lib/db/Enums/allocation-rule-type.enum.mjs +1 -1
  25. package/esm2020/lib/db/Enums/bank-account-status.enum.mjs +1 -1
  26. package/esm2020/lib/db/Enums/bank-connection-status.enum.mjs +1 -1
  27. package/esm2020/lib/db/Enums/bank-transaction-type.enum.mjs +1 -1
  28. package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +1 -1
  29. package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +1 -1
  30. package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +1 -1
  31. package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +1 -1
  32. package/esm2020/lib/db/Enums/client-details-medicare-exemption.enum.mjs +1 -1
  33. package/esm2020/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +1 -1
  34. package/esm2020/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +1 -1
  35. package/esm2020/lib/db/Enums/client-invite-status.enum.mjs +1 -1
  36. package/esm2020/lib/db/Enums/depreciation-calculation-percent.enum.mjs +1 -1
  37. package/esm2020/lib/db/Enums/depreciation-type.enum.mjs +1 -1
  38. package/esm2020/lib/db/Enums/depreciation-write-off-amount.enum.mjs +1 -1
  39. package/esm2020/lib/db/Enums/file-type.enum.mjs +1 -1
  40. package/esm2020/lib/db/Enums/firm-type.enum.mjs +1 -1
  41. package/esm2020/lib/db/Enums/index.mjs +1 -1
  42. package/esm2020/lib/db/Enums/invite-status.enum.mjs +1 -1
  43. package/esm2020/lib/db/Enums/loan-bank-type.enum.mjs +1 -1
  44. package/esm2020/lib/db/Enums/loan-frequency.enum.mjs +1 -1
  45. package/esm2020/lib/db/Enums/loan-payout-type.enum.mjs +1 -1
  46. package/esm2020/lib/db/Enums/loan-repayment-frequency.enum.mjs +1 -1
  47. package/esm2020/lib/db/Enums/phone-type.enum.mjs +1 -1
  48. package/esm2020/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +1 -1
  49. package/esm2020/lib/db/Enums/registration-invite-status.enum.mjs +1 -1
  50. package/esm2020/lib/db/Enums/salary-forecast-frequency.enum.mjs +1 -1
  51. package/esm2020/lib/db/Enums/service-notification-status.enum.mjs +1 -1
  52. package/esm2020/lib/db/Enums/service-notification-type.enum.mjs +1 -1
  53. package/esm2020/lib/db/Enums/spare-document-spare-type.enum.mjs +1 -1
  54. package/esm2020/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +1 -1
  55. package/esm2020/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +1 -1
  56. package/esm2020/lib/db/Enums/subscription/service-payment-status.enum.mjs +1 -1
  57. package/esm2020/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +1 -1
  58. package/esm2020/lib/db/Enums/subscription/service-subscription-status.enum.mjs +1 -1
  59. package/esm2020/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +1 -1
  60. package/esm2020/lib/db/Enums/tax-calculation-type.enum.mjs +1 -1
  61. package/esm2020/lib/db/Enums/tax-summary-list.enum.mjs +1 -1
  62. package/esm2020/lib/db/Enums/tax-summary-tax-summary.enum.mjs +1 -1
  63. package/esm2020/lib/db/Enums/ticket-feedback.enum.mjs +1 -1
  64. package/esm2020/lib/db/Enums/ticket-status.enum.mjs +1 -1
  65. package/esm2020/lib/db/Enums/ticket-types.enum.mjs +1 -1
  66. package/esm2020/lib/db/Enums/transaction-source.enum.mjs +1 -1
  67. package/esm2020/lib/db/Enums/transaction-type.enum.mjs +1 -1
  68. package/esm2020/lib/db/Enums/user-event-status.enum.mjs +1 -1
  69. package/esm2020/lib/db/Enums/user-event-type-employee-type.enum.mjs +1 -1
  70. package/esm2020/lib/db/Enums/user-event-type-frequency.enum.mjs +1 -1
  71. package/esm2020/lib/db/Enums/user-event-type-user-type.enum.mjs +1 -1
  72. package/esm2020/lib/db/Enums/user-medicare-exemption.enum.mjs +1 -1
  73. package/esm2020/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +1 -1
  74. package/esm2020/lib/db/Enums/user-working-holiday-maker.enum.mjs +1 -1
  75. package/esm2020/lib/db/Enums/vehicle-claim-details-method.enum.mjs +1 -1
  76. package/esm2020/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +1 -1
  77. package/esm2020/lib/db/Models/abstract-model.mjs +1 -1
  78. package/esm2020/lib/db/Models/bank/bank-account-property.mjs +1 -1
  79. package/esm2020/lib/db/Models/bank/bank-account.mjs +1 -1
  80. package/esm2020/lib/db/Models/chart-accounts/chart-accounts.mjs +1 -1
  81. package/esm2020/lib/db/Models/client/occupation.mjs +1 -1
  82. package/esm2020/lib/db/Models/country.mjs +1 -1
  83. package/esm2020/lib/db/Models/document/document-base.mjs +1 -1
  84. package/esm2020/lib/db/Models/firm/client-movement.mjs +1 -1
  85. package/esm2020/lib/db/Models/firm/employee-invite.mjs +1 -1
  86. package/esm2020/lib/db/Models/loan/borrowing-expense.mjs +1 -1
  87. package/esm2020/lib/db/Models/loan/loan-payout.mjs +1 -1
  88. package/esm2020/lib/db/Models/loan/loan.mjs +1 -1
  89. package/esm2020/lib/db/Models/observable-model.mjs +2 -2
  90. package/esm2020/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +1 -1
  91. package/esm2020/lib/db/Models/property/property-sale/property-sale.mjs +1 -1
  92. package/esm2020/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +1 -1
  93. package/esm2020/lib/db/Models/property/property-sale/tax-exemption.mjs +1 -1
  94. package/esm2020/lib/db/Models/property/property-share.mjs +1 -1
  95. package/esm2020/lib/db/Models/property/property-valuation.mjs +1 -1
  96. package/esm2020/lib/db/Models/property/property.mjs +1 -1
  97. package/esm2020/lib/db/Models/sole/bas-report.mjs +1 -1
  98. package/esm2020/lib/db/Models/sole/sole-business-activity.mjs +1 -1
  99. package/esm2020/lib/db/Models/sole/sole-business-allocation.mjs +1 -1
  100. package/esm2020/lib/db/Models/sole/sole-contact.mjs +1 -1
  101. package/esm2020/lib/db/Models/sole/sole-forecast.mjs +1 -1
  102. package/esm2020/lib/db/Models/spare/spare-document-category.mjs +1 -1
  103. package/esm2020/lib/db/Models/subscription/service-payment-method.mjs +1 -1
  104. package/esm2020/lib/db/Models/subscription/service-subscription.mjs +1 -1
  105. package/esm2020/lib/db/Models/transaction/transaction-base.mjs +3 -5
  106. package/esm2020/lib/db/Models/user/user-event-setting.mjs +1 -1
  107. package/esm2020/lib/db/Models/user/user-event-type-category.mjs +1 -1
  108. package/esm2020/lib/db/Models/user/user-event-type.mjs +1 -1
  109. package/esm2020/lib/db/Models/user/user-event.mjs +1 -1
  110. package/esm2020/lib/forms/abstract.form.mjs +1 -1
  111. package/esm2020/lib/forms/address/address.form.mjs +2 -2
  112. package/esm2020/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +1 -1
  113. package/esm2020/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +1 -1
  114. package/esm2020/lib/forms/bank/bank-account/bank-account-properties.form.mjs +5 -7
  115. package/esm2020/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +2 -2
  116. package/esm2020/lib/forms/depreciation/depreciation.form.mjs +1 -1
  117. package/esm2020/lib/forms/holding/holding-sale.form.mjs +3 -2
  118. package/esm2020/lib/forms/holding/holding-type.form.mjs +4 -4
  119. package/esm2020/lib/forms/holding/holding.form.mjs +5 -4
  120. package/esm2020/lib/forms/holding/index.mjs +1 -1
  121. package/esm2020/lib/forms/index.mjs +1 -1
  122. package/esm2020/lib/forms/loan/loan.form.mjs +3 -3
  123. package/esm2020/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +1 -1
  124. package/esm2020/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +1 -1
  125. package/esm2020/lib/forms/sole/bas-report.form.mjs +1 -1
  126. package/esm2020/lib/forms/sole/sole-business-allocations.form.mjs +5 -7
  127. package/esm2020/lib/forms/sole/sole-invoice-item.form.mjs +1 -1
  128. package/esm2020/lib/forms/sole/sole-invoice.form.mjs +1 -1
  129. package/esm2020/lib/forms/transaction/allocation-rule-transaction.form.mjs +1 -1
  130. package/esm2020/lib/forms/transaction/transaction-base.form.mjs +1 -1
  131. package/esm2020/lib/forms/transaction/work/work-transaction.form.mjs +5 -7
  132. package/esm2020/lib/forms/user/user-invite.form.mjs +1 -1
  133. package/esm2020/lib/forms/vehicle/vehicle-logbook.form.mjs +1 -1
  134. package/esm2020/lib/forms/vehicle/vehicle.form.mjs +1 -1
  135. package/esm2020/lib/functions/array/replace.mjs +1 -1
  136. package/esm2020/lib/functions/array/sort-deep.mjs +1 -1
  137. package/esm2020/lib/functions/array/sort.mjs +1 -1
  138. package/esm2020/lib/functions/round-to.mjs +1 -1
  139. package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +4 -4
  140. package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +5 -7
  141. package/esm2020/lib/interceptors/corelogic-interceptor.mjs +5 -7
  142. package/esm2020/lib/interceptors/financial-year-interceptor.mjs +4 -4
  143. package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
  144. package/esm2020/lib/interceptors/jwt-interceptor.mjs +16 -18
  145. package/esm2020/lib/interceptors/preloader.interceptor.mjs +5 -5
  146. package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +4 -4
  147. package/esm2020/lib/interfaces/income-source-forecast.interface.mjs +1 -1
  148. package/esm2020/lib/messages/index.mjs +1 -1
  149. package/esm2020/lib/messages/messages.enum.mjs +1 -1
  150. package/esm2020/lib/models/address/address.mjs +1 -1
  151. package/esm2020/lib/models/badge/badge.mjs +1 -1
  152. package/esm2020/lib/models/bank/bank-account-chart-data.mjs +9 -13
  153. package/esm2020/lib/models/bank/bank-account-property.mjs +1 -1
  154. package/esm2020/lib/models/bank/bank-account.mjs +1 -1
  155. package/esm2020/lib/models/bank/bank-connection.mjs +1 -1
  156. package/esm2020/lib/models/bank/bank-transaction-chart-data.mjs +4 -10
  157. package/esm2020/lib/models/bank/bank-transaction.mjs +2 -2
  158. package/esm2020/lib/models/bank/bank.mjs +1 -1
  159. package/esm2020/lib/models/bank/basiq/basiq-config.mjs +1 -1
  160. package/esm2020/lib/models/bank/basiq/basiq-job-response.mjs +1 -1
  161. package/esm2020/lib/models/bank/basiq/basiq-token.mjs +2 -2
  162. package/esm2020/lib/models/chart/chart-data.mjs +1 -1
  163. package/esm2020/lib/models/chart-accounts/chart-accounts-depreciation.mjs +1 -1
  164. package/esm2020/lib/models/chart-accounts/chart-accounts.mjs +3 -3
  165. package/esm2020/lib/models/chat/chat.mjs +1 -1
  166. package/esm2020/lib/models/chat/message-document.mjs +1 -1
  167. package/esm2020/lib/models/chat/message.mjs +1 -1
  168. package/esm2020/lib/models/client/annual-client-details.mjs +1 -1
  169. package/esm2020/lib/models/client/client-invite.mjs +1 -1
  170. package/esm2020/lib/models/client/client-movement.mjs +1 -1
  171. package/esm2020/lib/models/client/client-portfolio-chart-data.mjs +5 -7
  172. package/esm2020/lib/models/depreciation/depreciation-capital-project.mjs +1 -1
  173. package/esm2020/lib/models/depreciation/depreciation-forecast.mjs +1 -1
  174. package/esm2020/lib/models/depreciation/depreciation.mjs +4 -8
  175. package/esm2020/lib/models/dictionary/dictionary.mjs +1 -1
  176. package/esm2020/lib/models/document/document-folder.mjs +1 -1
  177. package/esm2020/lib/models/employee/employee-details.mjs +1 -1
  178. package/esm2020/lib/models/employee/employee-invite.mjs +1 -1
  179. package/esm2020/lib/models/financial-year/financial-year.mjs +1 -1
  180. package/esm2020/lib/models/firm/firm.mjs +1 -1
  181. package/esm2020/lib/models/holding/holding-sale.mjs +4 -4
  182. package/esm2020/lib/models/holding/holding-type-exchange.mjs +1 -1
  183. package/esm2020/lib/models/holding/holding-type.mjs +1 -1
  184. package/esm2020/lib/models/holding/holding.mjs +5 -2
  185. package/esm2020/lib/models/income-position/income-position.mjs +1 -1
  186. package/esm2020/lib/models/income-source/income-source-forecast.mjs +1 -1
  187. package/esm2020/lib/models/income-source/income-source.mjs +1 -1
  188. package/esm2020/lib/models/income-source/salary-forecast.mjs +1 -1
  189. package/esm2020/lib/models/income-source/sole-forecast.mjs +3 -4
  190. package/esm2020/lib/models/loan/loan-payment.mjs +1 -1
  191. package/esm2020/lib/models/loan/loan.mjs +1 -1
  192. package/esm2020/lib/models/notification/notification.mjs +1 -1
  193. package/esm2020/lib/models/pdf/pdf-settings.mjs +1 -1
  194. package/esm2020/lib/models/phone/phone.mjs +1 -1
  195. package/esm2020/lib/models/property/property-category-movement.mjs +1 -1
  196. package/esm2020/lib/models/property/property-equity-chart-data.mjs +5 -13
  197. package/esm2020/lib/models/property/property-forecast.mjs +1 -1
  198. package/esm2020/lib/models/property/property-sale/property-sale.mjs +1 -1
  199. package/esm2020/lib/models/property/property-share.mjs +1 -1
  200. package/esm2020/lib/models/property/property-subscription.mjs +1 -1
  201. package/esm2020/lib/models/property/property-valuation.mjs +1 -1
  202. package/esm2020/lib/models/property/property.mjs +3 -7
  203. package/esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +2 -2
  204. package/esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +2 -2
  205. package/esm2020/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +2 -2
  206. package/esm2020/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +2 -2
  207. package/esm2020/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +2 -2
  208. package/esm2020/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +1 -1
  209. package/esm2020/lib/models/report/property/property-report-item.mjs +1 -1
  210. package/esm2020/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +1 -1
  211. package/esm2020/lib/models/service-subscription/service-payment.mjs +1 -1
  212. package/esm2020/lib/models/service-subscription/service-price.mjs +2 -2
  213. package/esm2020/lib/models/service-subscription/service-promo-code.mjs +1 -1
  214. package/esm2020/lib/models/service-subscription/service-subscription-item.mjs +1 -1
  215. package/esm2020/lib/models/service-subscription/service-subscription.mjs +4 -8
  216. package/esm2020/lib/models/sole/bas-report.mjs +2 -2
  217. package/esm2020/lib/models/sole/sole-business-activity.mjs +2 -2
  218. package/esm2020/lib/models/sole/sole-business-allocation.mjs +1 -1
  219. package/esm2020/lib/models/sole/sole-business-loss-offset-rule.mjs +1 -1
  220. package/esm2020/lib/models/sole/sole-business-loss.mjs +1 -1
  221. package/esm2020/lib/models/sole/sole-business.mjs +1 -1
  222. package/esm2020/lib/models/sole/sole-contact.mjs +1 -1
  223. package/esm2020/lib/models/sole/sole-details.mjs +1 -1
  224. package/esm2020/lib/models/sole/sole-invoice-item.mjs +1 -1
  225. package/esm2020/lib/models/sole/sole-invoice-template.mjs +1 -1
  226. package/esm2020/lib/models/sole/sole-invoice.mjs +2 -2
  227. package/esm2020/lib/models/tax-review/tax-review.mjs +1 -1
  228. package/esm2020/lib/models/tax-summary/report-item.mjs +1 -1
  229. package/esm2020/lib/models/tax-summary/tax-summary-section.mjs +1 -1
  230. package/esm2020/lib/models/tax-summary/tax-summary.mjs +1 -1
  231. package/esm2020/lib/models/toast/toast.mjs +1 -1
  232. package/esm2020/lib/models/transaction/allocation-rule-condition.mjs +1 -1
  233. package/esm2020/lib/models/transaction/allocation-rule-transaction.mjs +7 -17
  234. package/esm2020/lib/models/transaction/allocation-rule.mjs +5 -5
  235. package/esm2020/lib/models/transaction/transaction-allocation.mjs +2 -2
  236. package/esm2020/lib/models/transaction/transaction-meta-field.mjs +1 -1
  237. package/esm2020/lib/models/transaction/transaction.mjs +4 -6
  238. package/esm2020/lib/models/user/user.mjs +1 -1
  239. package/esm2020/lib/models/user-event/user-event-setting.mjs +1 -1
  240. package/esm2020/lib/models/user-event/user-event-type.mjs +2 -2
  241. package/esm2020/lib/models/vehicle/logbook-period.mjs +1 -1
  242. package/esm2020/lib/models/vehicle/vehicle-claim-details.mjs +1 -1
  243. package/esm2020/lib/models/vehicle/vehicle-claim.mjs +1 -1
  244. package/esm2020/lib/models/vehicle/vehicle-logbook.mjs +1 -1
  245. package/esm2020/lib/models/vehicle/vehicle.mjs +1 -1
  246. package/esm2020/lib/services/account-setup/account-setup.service.mjs +5 -5
  247. package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +4 -4
  248. package/esm2020/lib/services/asset/assets.service.mjs +3 -3
  249. package/esm2020/lib/services/auth/auth.service.mjs +5 -5
  250. package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
  251. package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
  252. package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +6 -10
  253. package/esm2020/lib/services/data.service.mjs +3 -3
  254. package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
  255. package/esm2020/lib/services/event/sse.service.mjs +5 -7
  256. package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
  257. package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
  258. package/esm2020/lib/services/http/address/address.service.mjs +5 -7
  259. package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +4 -4
  260. package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +6 -6
  261. package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +5 -8
  262. package/esm2020/lib/services/http/bank/bank.service.mjs +8 -9
  263. package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +4 -4
  264. package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +4 -4
  265. package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +4 -4
  266. package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +5 -5
  267. package/esm2020/lib/services/http/chat/chat.service.mjs +5 -5
  268. package/esm2020/lib/services/http/chat/message-document.service.mjs +6 -8
  269. package/esm2020/lib/services/http/chat/message.service.mjs +4 -4
  270. package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +4 -4
  271. package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +5 -7
  272. package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +5 -7
  273. package/esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs +3 -3
  274. package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +5 -7
  275. package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +4 -4
  276. package/esm2020/lib/services/http/document/document.service.mjs +4 -4
  277. package/esm2020/lib/services/http/facebook/facebook.service.mjs +4 -4
  278. package/esm2020/lib/services/http/file/file.service.mjs +4 -4
  279. package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +4 -4
  280. package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +5 -7
  281. package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +7 -13
  282. package/esm2020/lib/services/http/firm/employee/employee.service.mjs +4 -4
  283. package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +5 -7
  284. package/esm2020/lib/services/http/firm/firm.service.mjs +8 -16
  285. package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +4 -4
  286. package/esm2020/lib/services/http/google/google.service.mjs +4 -4
  287. package/esm2020/lib/services/http/holding/holding-sale.service.mjs +4 -4
  288. package/esm2020/lib/services/http/holding/holding-type.service.mjs +4 -4
  289. package/esm2020/lib/services/http/holding/holding.service.mjs +8 -5
  290. package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +4 -4
  291. package/esm2020/lib/services/http/income-source/income-source.service.mjs +6 -10
  292. package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +4 -4
  293. package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +4 -4
  294. package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +5 -7
  295. package/esm2020/lib/services/http/loan/loan.service.mjs +5 -7
  296. package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +4 -4
  297. package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +4 -4
  298. package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +4 -4
  299. package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +4 -4
  300. package/esm2020/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.mjs +4 -4
  301. package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +5 -5
  302. package/esm2020/lib/services/http/property/property.service.mjs +5 -5
  303. package/esm2020/lib/services/http/receipt/receipt.service.mjs +3 -3
  304. package/esm2020/lib/services/http/rest/rest-old.service.mjs +7 -11
  305. package/esm2020/lib/services/http/rest/rest.service.mjs +4 -6
  306. package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +4 -4
  307. package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +4 -4
  308. package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +5 -5
  309. package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +4 -4
  310. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +4 -4
  311. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +4 -4
  312. package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +4 -4
  313. package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +5 -5
  314. package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
  315. package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +4 -4
  316. package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +4 -4
  317. package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +4 -4
  318. package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +4 -4
  319. package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +4 -4
  320. package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +4 -4
  321. package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +5 -7
  322. package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +4 -4
  323. package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +4 -4
  324. package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +4 -4
  325. package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +4 -4
  326. package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +5 -7
  327. package/esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs +3 -3
  328. package/esm2020/lib/services/http/transaction/transaction.service.mjs +12 -22
  329. package/esm2020/lib/services/http/tutorial-video/tutorial-video-response.interface.mjs +1 -1
  330. package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +4 -4
  331. package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +4 -4
  332. package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +4 -4
  333. package/esm2020/lib/services/http/user/user.service.mjs +7 -9
  334. package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +4 -4
  335. package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +4 -4
  336. package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +4 -4
  337. package/esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs +4 -4
  338. package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +4 -4
  339. package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
  340. package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
  341. package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +4 -4
  342. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
  343. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
  344. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +4 -4
  345. package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
  346. package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +6 -10
  347. package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +11 -17
  348. package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +13 -31
  349. package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +11 -17
  350. package/esm2020/lib/services/toast/toast.service.mjs +3 -3
  351. package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +5 -7
  352. package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
  353. package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +5 -5
  354. package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
  355. package/esm2020/lib/tt-core.module.mjs +4 -4
  356. package/esm2020/lib/validators/at-least-one-enabled.validator.mjs +4 -6
  357. package/esm2020/lib/validators/at-least-one.validator.mjs +3 -5
  358. package/esm2020/lib/validators/autocomplete.validator.mjs +2 -4
  359. package/esm2020/lib/validators/fields-sum.validator.mjs +8 -10
  360. package/esm2020/lib/validators/file.validator.mjs +1 -1
  361. package/esm2020/lib/validators/greater-than.validator.mjs +12 -0
  362. package/esm2020/lib/validators/index.mjs +2 -1
  363. package/esm2020/lib/validators/phone-number.validator.mjs +2 -4
  364. package/esm2020/lib/validators/transactions-meta-fields.validator.mjs +2 -2
  365. package/esm2020/public-api.mjs +1 -1
  366. package/fesm2015/taxtank-core.mjs +586 -813
  367. package/fesm2015/taxtank-core.mjs.map +1 -1
  368. package/fesm2020/taxtank-core.mjs +586 -808
  369. package/fesm2020/taxtank-core.mjs.map +1 -1
  370. package/lib/collections/holding.collection.d.ts +1 -0
  371. package/lib/collections/subscription/service-subscription.collection.d.ts +1 -1
  372. package/lib/db/Models/chart-accounts/chart-accounts.d.ts +1 -1
  373. package/lib/db/Models/observable-model.d.ts +2 -2
  374. package/lib/db/Models/subscription/service-subscription.d.ts +1 -1
  375. package/lib/forms/holding/holding-type.form.d.ts +2 -2
  376. package/lib/forms/holding/holding.form.d.ts +2 -2
  377. package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts +1 -1
  378. package/lib/forms/sole/bas-report.form.d.ts +1 -1
  379. package/lib/interceptors/basiq-client-id.interceptor.d.ts +1 -1
  380. package/lib/interceptors/basiq-token.interceptor.d.ts +1 -1
  381. package/lib/interceptors/corelogic-interceptor.d.ts +1 -1
  382. package/lib/interceptors/financial-year-interceptor.d.ts +1 -1
  383. package/lib/interceptors/preloader.interceptor.d.ts +1 -1
  384. package/lib/interceptors/user-switcher-interceptor.d.ts +1 -1
  385. package/lib/interfaces/income-source-forecast.interface.d.ts +1 -1
  386. package/lib/models/bank/basiq/basiq-token.d.ts +1 -1
  387. package/lib/models/holding/holding-sale.d.ts +2 -2
  388. package/lib/models/holding/holding.d.ts +1 -0
  389. package/lib/models/income-source/sole-forecast.d.ts +2 -2
  390. package/lib/models/property/property.d.ts +1 -1
  391. package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts +1 -1
  392. package/lib/models/service-subscription/service-promo-code.d.ts +1 -1
  393. package/lib/models/sole/bas-report.d.ts +1 -1
  394. package/lib/models/sole/sole-business-activity.d.ts +1 -1
  395. package/lib/services/auth/auth.service.d.ts +3 -3
  396. package/lib/services/http/bank/bank.service.d.ts +1 -1
  397. package/lib/services/http/chat/chat.service.d.ts +1 -1
  398. package/lib/services/http/client/capital-gain/annual-client-details.service.d.ts +1 -1
  399. package/lib/services/http/facebook/facebook.service.d.ts +2 -2
  400. package/lib/services/http/firm/client-invite/client-invite.service.d.ts +1 -1
  401. package/lib/services/http/google/google.service.d.ts +1 -1
  402. package/lib/services/http/holding/holding-sale.service.d.ts +1 -1
  403. package/lib/services/http/holding/holding-type.service.d.ts +1 -1
  404. package/lib/services/http/holding/holding.service.d.ts +4 -2
  405. package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts +1 -1
  406. package/lib/services/report/property/property-transaction-report.service.d.ts +1 -1
  407. package/lib/services/transaction/transaction-calculation.service.d.ts +1 -1
  408. package/lib/services/vehicle/logbook-best-period.service.d.ts +1 -1
  409. package/lib/validators/greater-than.validator.d.ts +5 -0
  410. package/lib/validators/index.d.ts +1 -0
  411. package/lib/validators/transactions-meta-fields.validator.d.ts +1 -1
  412. package/package.json +1 -1
  413. package/lib/collections/account-setup-item.collection.d.ts.map +0 -1
  414. package/lib/collections/allocation-group.collection.d.ts.map +0 -1
  415. package/lib/collections/allocation-rule.collection.d.ts.map +0 -1
  416. package/lib/collections/bank-account.collection.d.ts.map +0 -1
  417. package/lib/collections/bank-transaction.collection.d.ts.map +0 -1
  418. package/lib/collections/chart-accounts.collection.d.ts.map +0 -1
  419. package/lib/collections/chat/chat.collection.d.ts.map +0 -1
  420. package/lib/collections/chat/index.d.ts.map +0 -1
  421. package/lib/collections/chat/message-document.collection.d.ts.map +0 -1
  422. package/lib/collections/chat/message.collection.d.ts.map +0 -1
  423. package/lib/collections/client-invite.collection.d.ts.map +0 -1
  424. package/lib/collections/client-movement.collection.d.ts.map +0 -1
  425. package/lib/collections/client-portfolio-report.collection.d.ts.map +0 -1
  426. package/lib/collections/client.collection.d.ts.map +0 -1
  427. package/lib/collections/collection-dictionary.d.ts.map +0 -1
  428. package/lib/collections/collection.d.ts.map +0 -1
  429. package/lib/collections/depreciation-forecast.collection.d.ts.map +0 -1
  430. package/lib/collections/depreciation.collection.d.ts.map +0 -1
  431. package/lib/collections/employee.collection.d.ts.map +0 -1
  432. package/lib/collections/exportable.collection.d.ts.map +0 -1
  433. package/lib/collections/holding-type.collection.d.ts.map +0 -1
  434. package/lib/collections/holding.collection.d.ts.map +0 -1
  435. package/lib/collections/income-source.collection.d.ts.map +0 -1
  436. package/lib/collections/index.d.ts.map +0 -1
  437. package/lib/collections/loan/index.d.ts.map +0 -1
  438. package/lib/collections/loan/loan-payment.collection.d.ts.map +0 -1
  439. package/lib/collections/loan/loan.collection.d.ts.map +0 -1
  440. package/lib/collections/property/index.d.ts.map +0 -1
  441. package/lib/collections/property/property-category-movement.collection.d.ts.map +0 -1
  442. package/lib/collections/property/property-sale/index.d.ts.map +0 -1
  443. package/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts.map +0 -1
  444. package/lib/collections/property/property-sale/property-sale.collection.d.ts.map +0 -1
  445. package/lib/collections/property/property-share.collection.d.ts.map +0 -1
  446. package/lib/collections/property/property.collection.d.ts.map +0 -1
  447. package/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts.map +0 -1
  448. package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts.map +0 -1
  449. package/lib/collections/report/index.d.ts.map +0 -1
  450. package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts.map +0 -1
  451. package/lib/collections/report/property/property-report-item-transaction.collection.d.ts.map +0 -1
  452. package/lib/collections/report/property/property-report-item.collection.d.ts.map +0 -1
  453. package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts.map +0 -1
  454. package/lib/collections/sole/index.d.ts.map +0 -1
  455. package/lib/collections/sole/sole-business-losses.collection.d.ts.map +0 -1
  456. package/lib/collections/sole/sole-invoice-item.collection.d.ts.map +0 -1
  457. package/lib/collections/sole/sole-invoice.collection.d.ts.map +0 -1
  458. package/lib/collections/subscription/index.d.ts.map +0 -1
  459. package/lib/collections/subscription/service-price.collection.d.ts.map +0 -1
  460. package/lib/collections/subscription/service-product.collection.d.ts.map +0 -1
  461. package/lib/collections/subscription/service-subscription.collection.d.ts.map +0 -1
  462. package/lib/collections/subscription/subscription-item.collection.d.ts.map +0 -1
  463. package/lib/collections/tax-review.collection.d.ts.map +0 -1
  464. package/lib/collections/tax-summary/index.d.ts.map +0 -1
  465. package/lib/collections/tax-summary/report-item.collection.d.ts.map +0 -1
  466. package/lib/collections/tax-summary/tax-return-categories.const.d.ts.map +0 -1
  467. package/lib/collections/transaction/index.d.ts.map +0 -1
  468. package/lib/collections/transaction/transaction-allocation.collection.d.ts.map +0 -1
  469. package/lib/collections/transaction/transaction.collection.d.ts.map +0 -1
  470. package/lib/collections/user-event-setting.collection.d.ts.map +0 -1
  471. package/lib/collections/user-event-type-collection.d.ts.map +0 -1
  472. package/lib/collections/vehicle/index.d.ts.map +0 -1
  473. package/lib/collections/vehicle/vehicle-claim.collection.d.ts.map +0 -1
  474. package/lib/collections/vehicle/vehicle-logbook.collection.d.ts.map +0 -1
  475. package/lib/db/Enums/address-type.enum.d.ts.map +0 -1
  476. package/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.d.ts.map +0 -1
  477. package/lib/db/Enums/allocation-rule-condition-field.enum.d.ts.map +0 -1
  478. package/lib/db/Enums/allocation-rule-condition-operator.enum.d.ts.map +0 -1
  479. package/lib/db/Enums/allocation-rule-type.enum.d.ts.map +0 -1
  480. package/lib/db/Enums/annual-frequency.enum.d.ts.map +0 -1
  481. package/lib/db/Enums/bank-account-status.enum.d.ts.map +0 -1
  482. package/lib/db/Enums/bank-account-type.enum.d.ts.map +0 -1
  483. package/lib/db/Enums/bank-connection-status.enum.d.ts.map +0 -1
  484. package/lib/db/Enums/bank-popular.enum.d.ts.map +0 -1
  485. package/lib/db/Enums/bank-transaction-type.enum.d.ts.map +0 -1
  486. package/lib/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts.map +0 -1
  487. package/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts.map +0 -1
  488. package/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts.map +0 -1
  489. package/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts.map +0 -1
  490. package/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts.map +0 -1
  491. package/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts.map +0 -1
  492. package/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts.map +0 -1
  493. package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts.map +0 -1
  494. package/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.d.ts.map +0 -1
  495. package/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.d.ts.map +0 -1
  496. package/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts.map +0 -1
  497. package/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.d.ts.map +0 -1
  498. package/lib/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts.map +0 -1
  499. package/lib/db/Enums/chart-accounts/index.d.ts.map +0 -1
  500. package/lib/db/Enums/chat-status.enum.d.ts.map +0 -1
  501. package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts.map +0 -1
  502. package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts.map +0 -1
  503. package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts.map +0 -1
  504. package/lib/db/Enums/client-invite-status.enum.d.ts.map +0 -1
  505. package/lib/db/Enums/client-invite-type.enum.d.ts.map +0 -1
  506. package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts.map +0 -1
  507. package/lib/db/Enums/depreciation-calculation.enum.d.ts.map +0 -1
  508. package/lib/db/Enums/depreciation-type.enum.d.ts.map +0 -1
  509. package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts.map +0 -1
  510. package/lib/db/Enums/document-type.enum.d.ts.map +0 -1
  511. package/lib/db/Enums/file-type.enum.d.ts.map +0 -1
  512. package/lib/db/Enums/firm-type.enum.d.ts.map +0 -1
  513. package/lib/db/Enums/holding/holding-type-category.enum.d.ts.map +0 -1
  514. package/lib/db/Enums/income-source-forecast-trust-type.enum.d.ts.map +0 -1
  515. package/lib/db/Enums/income-source-type-list-other.enum.d.ts.map +0 -1
  516. package/lib/db/Enums/income-source-type-list-sole.enum.d.ts.map +0 -1
  517. package/lib/db/Enums/income-source-type-list-work.enum.d.ts.map +0 -1
  518. package/lib/db/Enums/income-source-type.enum.d.ts.map +0 -1
  519. package/lib/db/Enums/index.d.ts.map +0 -1
  520. package/lib/db/Enums/invite-status.enum.d.ts.map +0 -1
  521. package/lib/db/Enums/loan-bank-type.enum.d.ts.map +0 -1
  522. package/lib/db/Enums/loan-frequency.enum.d.ts.map +0 -1
  523. package/lib/db/Enums/loan-interest-type.enum.d.ts.map +0 -1
  524. package/lib/db/Enums/loan-payout-type.enum.d.ts.map +0 -1
  525. package/lib/db/Enums/loan-repayment-frequency.enum.d.ts.map +0 -1
  526. package/lib/db/Enums/loan-repayment-type.enum.d.ts.map +0 -1
  527. package/lib/db/Enums/loan-type.enum.d.ts.map +0 -1
  528. package/lib/db/Enums/loan-vehicle-type.enum.d.ts.map +0 -1
  529. package/lib/db/Enums/phone-type.enum.d.ts.map +0 -1
  530. package/lib/db/Enums/property/property-category-list.enum.d.ts.map +0 -1
  531. package/lib/db/Enums/property/property-depreciation-calculation.enum.d.ts.map +0 -1
  532. package/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.d.ts.map +0 -1
  533. package/lib/db/Enums/property/property-sale/tax-exemption.enum.d.ts.map +0 -1
  534. package/lib/db/Enums/property/property-share-access.enum.d.ts.map +0 -1
  535. package/lib/db/Enums/property/property-share-status.enum.d.ts.map +0 -1
  536. package/lib/db/Enums/registration-invite-status.enum.d.ts.map +0 -1
  537. package/lib/db/Enums/salary-forecast-frequency.enum.d.ts.map +0 -1
  538. package/lib/db/Enums/service-notification-status.enum.d.ts.map +0 -1
  539. package/lib/db/Enums/service-notification-type.enum.d.ts.map +0 -1
  540. package/lib/db/Enums/sole-depreciation-method.enum.d.ts.map +0 -1
  541. package/lib/db/Enums/sole-invoice-statuses.enum.d.ts.map +0 -1
  542. package/lib/db/Enums/sole-invoice-tax-type.enum.d.ts.map +0 -1
  543. package/lib/db/Enums/sole-invoice-template-tax-type.enum.d.ts.map +0 -1
  544. package/lib/db/Enums/spare-document-spare-type.enum.d.ts.map +0 -1
  545. package/lib/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts.map +0 -1
  546. package/lib/db/Enums/subscription/service-payment-method-type.enum.d.ts.map +0 -1
  547. package/lib/db/Enums/subscription/service-payment-status.enum.d.ts.map +0 -1
  548. package/lib/db/Enums/subscription/service-price-recurring-interval.enum.d.ts.map +0 -1
  549. package/lib/db/Enums/subscription/service-price-type.enum.d.ts.map +0 -1
  550. package/lib/db/Enums/subscription/service-product-id.enum.d.ts.map +0 -1
  551. package/lib/db/Enums/subscription/service-product-status.enum.d.ts.map +0 -1
  552. package/lib/db/Enums/subscription/service-subscription-status.enum.d.ts.map +0 -1
  553. package/lib/db/Enums/tank-type.enum.d.ts.map +0 -1
  554. package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts.map +0 -1
  555. package/lib/db/Enums/tax-calculation-type.enum.d.ts.map +0 -1
  556. package/lib/db/Enums/tax-return-category-list.enum.d.ts.map +0 -1
  557. package/lib/db/Enums/tax-return-category-section.enum.d.ts.map +0 -1
  558. package/lib/db/Enums/tax-review-status.enum.d.ts.map +0 -1
  559. package/lib/db/Enums/tax-summary-list.enum.d.ts.map +0 -1
  560. package/lib/db/Enums/tax-summary-section.enum.d.ts.map +0 -1
  561. package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts.map +0 -1
  562. package/lib/db/Enums/ticket-feedback.enum.d.ts.map +0 -1
  563. package/lib/db/Enums/ticket-status.enum.d.ts.map +0 -1
  564. package/lib/db/Enums/ticket-types.enum.d.ts.map +0 -1
  565. package/lib/db/Enums/transaction-operation.enum.d.ts.map +0 -1
  566. package/lib/db/Enums/transaction-source.enum.d.ts.map +0 -1
  567. package/lib/db/Enums/transaction-type.enum.d.ts.map +0 -1
  568. package/lib/db/Enums/user-event-status.enum.d.ts.map +0 -1
  569. package/lib/db/Enums/user-event-type-client-type.enum.d.ts.map +0 -1
  570. package/lib/db/Enums/user-event-type-employee-type.enum.d.ts.map +0 -1
  571. package/lib/db/Enums/user-event-type-frequency.enum.d.ts.map +0 -1
  572. package/lib/db/Enums/user-event-type-type.enum.d.ts.map +0 -1
  573. package/lib/db/Enums/user-event-type-user-type.enum.d.ts.map +0 -1
  574. package/lib/db/Enums/user-medicare-exemption.enum.d.ts.map +0 -1
  575. package/lib/db/Enums/user-roles.enum.d.ts.map +0 -1
  576. package/lib/db/Enums/user-status.enum.d.ts.map +0 -1
  577. package/lib/db/Enums/user-title.enum.d.ts.map +0 -1
  578. package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts.map +0 -1
  579. package/lib/db/Enums/user-working-holiday-maker.enum.d.ts.map +0 -1
  580. package/lib/db/Enums/vehicle-claim-details-method.enum.d.ts.map +0 -1
  581. package/lib/db/Enums/vehicle-logbook-purpose.enum.d.ts.map +0 -1
  582. package/lib/db/Models/abstract-model.d.ts.map +0 -1
  583. package/lib/db/Models/address.d.ts.map +0 -1
  584. package/lib/db/Models/bank/bank-account-balance.d.ts.map +0 -1
  585. package/lib/db/Models/bank/bank-account-property.d.ts.map +0 -1
  586. package/lib/db/Models/bank/bank-account.d.ts.map +0 -1
  587. package/lib/db/Models/bank/bank-connection.d.ts.map +0 -1
  588. package/lib/db/Models/bank/bank-transaction-import.d.ts.map +0 -1
  589. package/lib/db/Models/bank/bank-transaction.d.ts.map +0 -1
  590. package/lib/db/Models/bank/bank.d.ts.map +0 -1
  591. package/lib/db/Models/bank/basiq-job.d.ts.map +0 -1
  592. package/lib/db/Models/bank/financial-data-system.d.ts.map +0 -1
  593. package/lib/db/Models/chart-accounts/chart-accounts-depreciation.d.ts.map +0 -1
  594. package/lib/db/Models/chart-accounts/chart-accounts-heading.d.ts.map +0 -1
  595. package/lib/db/Models/chart-accounts/chart-accounts-meta-field.d.ts.map +0 -1
  596. package/lib/db/Models/chart-accounts/chart-accounts-value.d.ts.map +0 -1
  597. package/lib/db/Models/chart-accounts/chart-accounts.d.ts.map +0 -1
  598. package/lib/db/Models/client/annual-client-details.d.ts.map +0 -1
  599. package/lib/db/Models/client/client-details.d.ts.map +0 -1
  600. package/lib/db/Models/client/client-income-types.d.ts.map +0 -1
  601. package/lib/db/Models/client/index.d.ts.map +0 -1
  602. package/lib/db/Models/client/occupation.d.ts.map +0 -1
  603. package/lib/db/Models/country.d.ts.map +0 -1
  604. package/lib/db/Models/depreciation/depreciation-capital-project.d.ts.map +0 -1
  605. package/lib/db/Models/depreciation/depreciation-forecast.d.ts.map +0 -1
  606. package/lib/db/Models/depreciation/depreciation-receipt.d.ts.map +0 -1
  607. package/lib/db/Models/depreciation/depreciation.d.ts.map +0 -1
  608. package/lib/db/Models/document/document-base.d.ts.map +0 -1
  609. package/lib/db/Models/document/document-folder.d.ts.map +0 -1
  610. package/lib/db/Models/document/document.d.ts.map +0 -1
  611. package/lib/db/Models/document/property-document.d.ts.map +0 -1
  612. package/lib/db/Models/file.d.ts.map +0 -1
  613. package/lib/db/Models/firm/accountant/tax-review.d.ts.map +0 -1
  614. package/lib/db/Models/firm/accountant/ticket.d.ts.map +0 -1
  615. package/lib/db/Models/firm/chat.d.ts.map +0 -1
  616. package/lib/db/Models/firm/client-invite.d.ts.map +0 -1
  617. package/lib/db/Models/firm/client-movement.d.ts.map +0 -1
  618. package/lib/db/Models/firm/employee-invite.d.ts.map +0 -1
  619. package/lib/db/Models/firm/firm-invite.d.ts.map +0 -1
  620. package/lib/db/Models/firm/firm.d.ts.map +0 -1
  621. package/lib/db/Models/firm/message-document.d.ts.map +0 -1
  622. package/lib/db/Models/firm/message.d.ts.map +0 -1
  623. package/lib/db/Models/holding/holding-sale.d.ts.map +0 -1
  624. package/lib/db/Models/holding/holding-type-exchange.d.ts.map +0 -1
  625. package/lib/db/Models/holding/holding-type.d.ts.map +0 -1
  626. package/lib/db/Models/holding/holding.d.ts.map +0 -1
  627. package/lib/db/Models/holding/index.d.ts.map +0 -1
  628. package/lib/db/Models/incomeSource/income-source-forecast.d.ts.map +0 -1
  629. package/lib/db/Models/incomeSource/income-source-type.d.ts.map +0 -1
  630. package/lib/db/Models/incomeSource/income-source.d.ts.map +0 -1
  631. package/lib/db/Models/incomeSource/salary-forecast.d.ts.map +0 -1
  632. package/lib/db/Models/index.d.ts.map +0 -1
  633. package/lib/db/Models/loan/borrowing-expense-loan.d.ts.map +0 -1
  634. package/lib/db/Models/loan/borrowing-expense.d.ts.map +0 -1
  635. package/lib/db/Models/loan/loan-payout.d.ts.map +0 -1
  636. package/lib/db/Models/loan/loan.d.ts.map +0 -1
  637. package/lib/db/Models/observable-model.d.ts.map +0 -1
  638. package/lib/db/Models/phone.d.ts.map +0 -1
  639. package/lib/db/Models/property/property-category-movement.d.ts.map +0 -1
  640. package/lib/db/Models/property/property-category.d.ts.map +0 -1
  641. package/lib/db/Models/property/property-forecast.d.ts.map +0 -1
  642. package/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +0 -1
  643. package/lib/db/Models/property/property-sale/property-sale.d.ts.map +0 -1
  644. package/lib/db/Models/property/property-sale/tax-exemption-meta-field.d.ts.map +0 -1
  645. package/lib/db/Models/property/property-sale/tax-exemption.d.ts.map +0 -1
  646. package/lib/db/Models/property/property-share.d.ts.map +0 -1
  647. package/lib/db/Models/property/property-subscription.d.ts.map +0 -1
  648. package/lib/db/Models/property/property-valuation.d.ts.map +0 -1
  649. package/lib/db/Models/property/property.d.ts.map +0 -1
  650. package/lib/db/Models/service-notification.d.ts.map +0 -1
  651. package/lib/db/Models/sole/bas-report.d.ts.map +0 -1
  652. package/lib/db/Models/sole/sole-business-activity.d.ts.map +0 -1
  653. package/lib/db/Models/sole/sole-business-allocation.d.ts.map +0 -1
  654. package/lib/db/Models/sole/sole-business-loss-offset-rule.d.ts.map +0 -1
  655. package/lib/db/Models/sole/sole-business-loss.d.ts.map +0 -1
  656. package/lib/db/Models/sole/sole-business.d.ts.map +0 -1
  657. package/lib/db/Models/sole/sole-contact.d.ts.map +0 -1
  658. package/lib/db/Models/sole/sole-depreciation-method.d.ts.map +0 -1
  659. package/lib/db/Models/sole/sole-details.d.ts.map +0 -1
  660. package/lib/db/Models/sole/sole-forecast.d.ts.map +0 -1
  661. package/lib/db/Models/sole/sole-invoice-item.d.ts.map +0 -1
  662. package/lib/db/Models/sole/sole-invoice-template.d.ts.map +0 -1
  663. package/lib/db/Models/sole/sole-invoice.d.ts.map +0 -1
  664. package/lib/db/Models/spare/spare-document-category.d.ts.map +0 -1
  665. package/lib/db/Models/spare/spare-document.d.ts.map +0 -1
  666. package/lib/db/Models/subscription/service-payment-method.d.ts.map +0 -1
  667. package/lib/db/Models/subscription/service-payment.d.ts.map +0 -1
  668. package/lib/db/Models/subscription/service-price.d.ts.map +0 -1
  669. package/lib/db/Models/subscription/service-product.d.ts.map +0 -1
  670. package/lib/db/Models/subscription/service-subscription-item.d.ts.map +0 -1
  671. package/lib/db/Models/subscription/service-subscription.d.ts.map +0 -1
  672. package/lib/db/Models/tax-calculation.d.ts.map +0 -1
  673. package/lib/db/Models/tax-return/tax-return-category.d.ts.map +0 -1
  674. package/lib/db/Models/tax-return/tax-return-item.d.ts.map +0 -1
  675. package/lib/db/Models/tax-return/tax-return.d.ts.map +0 -1
  676. package/lib/db/Models/transaction/allocation-rule-condition.d.ts.map +0 -1
  677. package/lib/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts.map +0 -1
  678. package/lib/db/Models/transaction/allocation-rule-transaction.d.ts.map +0 -1
  679. package/lib/db/Models/transaction/allocation-rule.d.ts.map +0 -1
  680. package/lib/db/Models/transaction/transaction-allocation.d.ts.map +0 -1
  681. package/lib/db/Models/transaction/transaction-base.d.ts.map +0 -1
  682. package/lib/db/Models/transaction/transaction-meta-field.d.ts.map +0 -1
  683. package/lib/db/Models/transaction/transaction-receipt.d.ts.map +0 -1
  684. package/lib/db/Models/transaction/transaction.d.ts.map +0 -1
  685. package/lib/db/Models/user/employee-details.d.ts.map +0 -1
  686. package/lib/db/Models/user/registration-invite.d.ts.map +0 -1
  687. package/lib/db/Models/user/user-event-setting.d.ts.map +0 -1
  688. package/lib/db/Models/user/user-event-type-category.d.ts.map +0 -1
  689. package/lib/db/Models/user/user-event-type.d.ts.map +0 -1
  690. package/lib/db/Models/user/user-event.d.ts.map +0 -1
  691. package/lib/db/Models/user/user.d.ts.map +0 -1
  692. package/lib/db/Models/vehicle/vehicle-claim-details.d.ts.map +0 -1
  693. package/lib/db/Models/vehicle/vehicle-claim.d.ts.map +0 -1
  694. package/lib/db/Models/vehicle/vehicle-logbook.d.ts.map +0 -1
  695. package/lib/db/Models/vehicle/vehicle.d.ts.map +0 -1
  696. package/lib/db-static/chart-accounts/chart-accounts-values.d.ts.map +0 -1
  697. package/lib/forms/abstract.form.d.ts.map +0 -1
  698. package/lib/forms/address/address.form.d.ts.map +0 -1
  699. package/lib/forms/address/index.d.ts.map +0 -1
  700. package/lib/forms/bank/bank-account/bank-account-add-manual.form.d.ts.map +0 -1
  701. package/lib/forms/bank/bank-account/bank-account-allocation.form.d.ts.map +0 -1
  702. package/lib/forms/bank/bank-account/bank-account-import.form.d.ts.map +0 -1
  703. package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts.map +0 -1
  704. package/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts.map +0 -1
  705. package/lib/forms/bank/bank-login.form.d.ts.map +0 -1
  706. package/lib/forms/client/annual-client-details.form.d.ts.map +0 -1
  707. package/lib/forms/client/client-income-types.form.d.ts.map +0 -1
  708. package/lib/forms/client/index.d.ts.map +0 -1
  709. package/lib/forms/depreciation/depreciation.form.d.ts.map +0 -1
  710. package/lib/forms/depreciation/index.d.ts.map +0 -1
  711. package/lib/forms/form-validations.enum.d.ts.map +0 -1
  712. package/lib/forms/holding/holding-sale.form.d.ts.map +0 -1
  713. package/lib/forms/holding/holding-type.form.d.ts.map +0 -1
  714. package/lib/forms/holding/holding.form.d.ts.map +0 -1
  715. package/lib/forms/holding/index.d.ts.map +0 -1
  716. package/lib/forms/index.d.ts.map +0 -1
  717. package/lib/forms/loan/index.d.ts.map +0 -1
  718. package/lib/forms/loan/loan.form.d.ts.map +0 -1
  719. package/lib/forms/login/login.form.d.ts.map +0 -1
  720. package/lib/forms/phone/index.d.ts.map +0 -1
  721. package/lib/forms/phone/phone.form.d.ts.map +0 -1
  722. package/lib/forms/property/index.d.ts.map +0 -1
  723. package/lib/forms/property/property-sale/index.d.ts.map +0 -1
  724. package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts.map +0 -1
  725. package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts.map +0 -1
  726. package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts.map +0 -1
  727. package/lib/forms/register/register-client.form.d.ts.map +0 -1
  728. package/lib/forms/register/register-firm.form.d.ts.map +0 -1
  729. package/lib/forms/report/my-tax/index.d.ts.map +0 -1
  730. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts.map +0 -1
  731. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts.map +0 -1
  732. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts.map +0 -1
  733. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts.map +0 -1
  734. package/lib/forms/report/my-tax/my-tax-cgt.form.d.ts.map +0 -1
  735. package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts.map +0 -1
  736. package/lib/forms/report/my-tax/my-tax-dividends.form.d.ts.map +0 -1
  737. package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts.map +0 -1
  738. package/lib/forms/report/my-tax/my-tax-income-tests.form.d.ts.map +0 -1
  739. package/lib/forms/report/my-tax/my-tax-interest.form.d.ts.map +0 -1
  740. package/lib/forms/report/my-tax/my-tax-losses.form.d.ts.map +0 -1
  741. package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts.map +0 -1
  742. package/lib/forms/report/my-tax/my-tax-offsets.form.d.ts.map +0 -1
  743. package/lib/forms/report/my-tax/my-tax-other-income.form.d.ts.map +0 -1
  744. package/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts.map +0 -1
  745. package/lib/forms/report/my-tax/my-tax-rent.form.d.ts.map +0 -1
  746. package/lib/forms/sole/bas-report.form.d.ts.map +0 -1
  747. package/lib/forms/sole/index.d.ts.map +0 -1
  748. package/lib/forms/sole/sole-business-allocations.form.d.ts.map +0 -1
  749. package/lib/forms/sole/sole-business-loss.form.d.ts.map +0 -1
  750. package/lib/forms/sole/sole-business.form.d.ts.map +0 -1
  751. package/lib/forms/sole/sole-contact.form.d.ts.map +0 -1
  752. package/lib/forms/sole/sole-depreciation-method.form.d.ts.map +0 -1
  753. package/lib/forms/sole/sole-details.form.d.ts.map +0 -1
  754. package/lib/forms/sole/sole-invoice-item.form.d.ts.map +0 -1
  755. package/lib/forms/sole/sole-invoice-template.form.d.ts.map +0 -1
  756. package/lib/forms/sole/sole-invoice.form.d.ts.map +0 -1
  757. package/lib/forms/transaction/allocation-rule-condition.form.d.ts.map +0 -1
  758. package/lib/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts.map +0 -1
  759. package/lib/forms/transaction/allocation-rule-transaction.form.d.ts.map +0 -1
  760. package/lib/forms/transaction/allocation-rule.form.d.ts.map +0 -1
  761. package/lib/forms/transaction/index.d.ts.map +0 -1
  762. package/lib/forms/transaction/messages.enum.d.ts.map +0 -1
  763. package/lib/forms/transaction/transaction-base.form.d.ts.map +0 -1
  764. package/lib/forms/transaction/transaction.form.d.ts.map +0 -1
  765. package/lib/forms/transaction/work/work-expense.form.d.ts.map +0 -1
  766. package/lib/forms/transaction/work/work-income.form.d.ts.map +0 -1
  767. package/lib/forms/transaction/work/work-transaction.form.d.ts.map +0 -1
  768. package/lib/forms/user/index.d.ts.map +0 -1
  769. package/lib/forms/user/password.form.d.ts.map +0 -1
  770. package/lib/forms/user/reset-password.form.d.ts.map +0 -1
  771. package/lib/forms/user/user-invite.form.d.ts.map +0 -1
  772. package/lib/forms/vehicle/index.d.ts.map +0 -1
  773. package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +0 -1
  774. package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +0 -1
  775. package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +0 -1
  776. package/lib/forms/vehicle/vehicle.form.d.ts.map +0 -1
  777. package/lib/functions/array/index.d.ts.map +0 -1
  778. package/lib/functions/array/replace.d.ts.map +0 -1
  779. package/lib/functions/array/sort-deep.d.ts.map +0 -1
  780. package/lib/functions/array/sort.d.ts.map +0 -1
  781. package/lib/functions/array/to-array.d.ts.map +0 -1
  782. package/lib/functions/clone-deep.d.ts.map +0 -1
  783. package/lib/functions/create-date.d.ts.map +0 -1
  784. package/lib/functions/enum-to-list.d.ts.map +0 -1
  785. package/lib/functions/get-doc-icon.d.ts.map +0 -1
  786. package/lib/functions/mat-options-functions.d.ts.map +0 -1
  787. package/lib/functions/mat-sort-options.d.ts.map +0 -1
  788. package/lib/functions/round-to.d.ts.map +0 -1
  789. package/lib/functions/tax-review-filter-predicate.d.ts.map +0 -1
  790. package/lib/interceptors/basiq-client-id.interceptor.d.ts.map +0 -1
  791. package/lib/interceptors/basiq-token.interceptor.d.ts.map +0 -1
  792. package/lib/interceptors/corelogic-interceptor.d.ts.map +0 -1
  793. package/lib/interceptors/financial-year-interceptor.d.ts.map +0 -1
  794. package/lib/interceptors/interceptors.module.d.ts.map +0 -1
  795. package/lib/interceptors/jwt-interceptor.d.ts.map +0 -1
  796. package/lib/interceptors/preloader.interceptor.d.ts.map +0 -1
  797. package/lib/interceptors/user-switcher-interceptor.d.ts.map +0 -1
  798. package/lib/interfaces/asset-entity-type.enum.d.ts.map +0 -1
  799. package/lib/interfaces/asset-type.enum.d.ts.map +0 -1
  800. package/lib/interfaces/asset.interface.d.ts.map +0 -1
  801. package/lib/interfaces/auth-tokens.interface.d.ts.map +0 -1
  802. package/lib/interfaces/chart-data.interface.d.ts.map +0 -1
  803. package/lib/interfaces/chart-serie.interface.d.ts.map +0 -1
  804. package/lib/interfaces/document.interface.d.ts.map +0 -1
  805. package/lib/interfaces/documentable.interface.d.ts.map +0 -1
  806. package/lib/interfaces/event-listener.interface.d.ts.map +0 -1
  807. package/lib/interfaces/expense.interface.d.ts.map +0 -1
  808. package/lib/interfaces/income-source-forecast.interface.d.ts.map +0 -1
  809. package/lib/interfaces/index.d.ts.map +0 -1
  810. package/lib/interfaces/option.interface.d.ts.map +0 -1
  811. package/lib/interfaces/photoable.d.ts.map +0 -1
  812. package/lib/interfaces/receipt.interface.d.ts.map +0 -1
  813. package/lib/interfaces/table-exportable.interface.d.ts.map +0 -1
  814. package/lib/interfaces/tank.interface.d.ts.map +0 -1
  815. package/lib/interfaces/updatable.interface.d.ts.map +0 -1
  816. package/lib/messages/index.d.ts.map +0 -1
  817. package/lib/messages/messages.enum.d.ts.map +0 -1
  818. package/lib/models/account-setup/account-setup-item.d.ts.map +0 -1
  819. package/lib/models/account-setup/account-setup-items.const.d.ts.map +0 -1
  820. package/lib/models/account-setup/account-setup-items.enum.d.ts.map +0 -1
  821. package/lib/models/address/address.d.ts.map +0 -1
  822. package/lib/models/address/country.d.ts.map +0 -1
  823. package/lib/models/address/index.d.ts.map +0 -1
  824. package/lib/models/address/states.enum.d.ts.map +0 -1
  825. package/lib/models/badge/badge-color.enum.d.ts.map +0 -1
  826. package/lib/models/badge/badge.d.ts.map +0 -1
  827. package/lib/models/bank/allocation-group.d.ts.map +0 -1
  828. package/lib/models/bank/bank-account-chart-data.d.ts.map +0 -1
  829. package/lib/models/bank/bank-account-property.d.ts.map +0 -1
  830. package/lib/models/bank/bank-account-types.const.d.ts.map +0 -1
  831. package/lib/models/bank/bank-account.d.ts.map +0 -1
  832. package/lib/models/bank/bank-connection.d.ts.map +0 -1
  833. package/lib/models/bank/bank-external-stats.d.ts.map +0 -1
  834. package/lib/models/bank/bank-login-data.d.ts.map +0 -1
  835. package/lib/models/bank/bank-transaction-chart-data.d.ts.map +0 -1
  836. package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts.map +0 -1
  837. package/lib/models/bank/bank-transaction.d.ts.map +0 -1
  838. package/lib/models/bank/bank.d.ts.map +0 -1
  839. package/lib/models/bank/basiq/basiq-config.d.ts.map +0 -1
  840. package/lib/models/bank/basiq/basiq-connection-data.interface.d.ts.map +0 -1
  841. package/lib/models/bank/basiq/basiq-connections-response.interface.d.ts.map +0 -1
  842. package/lib/models/bank/basiq/basiq-job-response.d.ts.map +0 -1
  843. package/lib/models/bank/basiq/basiq-job-step.d.ts.map +0 -1
  844. package/lib/models/bank/basiq/basiq-job.d.ts.map +0 -1
  845. package/lib/models/bank/basiq/basiq-token-response.interface.d.ts.map +0 -1
  846. package/lib/models/bank/basiq/basiq-token.d.ts.map +0 -1
  847. package/lib/models/bank/basiq/index.d.ts.map +0 -1
  848. package/lib/models/bank/index.d.ts.map +0 -1
  849. package/lib/models/bank/type-loan.const.d.ts.map +0 -1
  850. package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts.map +0 -1
  851. package/lib/models/borrowing-expense/borrowing-expense.d.ts.map +0 -1
  852. package/lib/models/borrowing-expense/index.d.ts.map +0 -1
  853. package/lib/models/chart/chart-data.d.ts.map +0 -1
  854. package/lib/models/chart/chart-serie.d.ts.map +0 -1
  855. package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts.map +0 -1
  856. package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts.map +0 -1
  857. package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts.map +0 -1
  858. package/lib/models/chart-accounts/chart-accounts-heading.d.ts.map +0 -1
  859. package/lib/models/chart-accounts/chart-accounts-meta-field.d.ts.map +0 -1
  860. package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts.map +0 -1
  861. package/lib/models/chart-accounts/chart-accounts-value.d.ts.map +0 -1
  862. package/lib/models/chart-accounts/chart-accounts.d.ts.map +0 -1
  863. package/lib/models/chart-accounts/index.d.ts.map +0 -1
  864. package/lib/models/chat/chat-view-type.enum.d.ts.map +0 -1
  865. package/lib/models/chat/chat.d.ts.map +0 -1
  866. package/lib/models/chat/index.d.ts.map +0 -1
  867. package/lib/models/chat/message-document.d.ts.map +0 -1
  868. package/lib/models/chat/message.d.ts.map +0 -1
  869. package/lib/models/client/annual-client-details.d.ts.map +0 -1
  870. package/lib/models/client/client-details.d.ts.map +0 -1
  871. package/lib/models/client/client-income-types.d.ts.map +0 -1
  872. package/lib/models/client/client-invite.d.ts.map +0 -1
  873. package/lib/models/client/client-movement.d.ts.map +0 -1
  874. package/lib/models/client/client-portfolio-chart-data.d.ts.map +0 -1
  875. package/lib/models/client/client-portfolio-report.d.ts.map +0 -1
  876. package/lib/models/client/index.d.ts.map +0 -1
  877. package/lib/models/color/alphabet-colors.enum.d.ts.map +0 -1
  878. package/lib/models/depreciation/depreciation-capital-project.d.ts.map +0 -1
  879. package/lib/models/depreciation/depreciation-forecast.d.ts.map +0 -1
  880. package/lib/models/depreciation/depreciation-group-item.d.ts.map +0 -1
  881. package/lib/models/depreciation/depreciation-group.d.ts.map +0 -1
  882. package/lib/models/depreciation/depreciation-group.enum.d.ts.map +0 -1
  883. package/lib/models/depreciation/depreciation-groups.const.d.ts.map +0 -1
  884. package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts.map +0 -1
  885. package/lib/models/depreciation/depreciation-receipt.d.ts.map +0 -1
  886. package/lib/models/depreciation/depreciation.d.ts.map +0 -1
  887. package/lib/models/depreciation/index.d.ts.map +0 -1
  888. package/lib/models/dictionary/dictionary.d.ts.map +0 -1
  889. package/lib/models/dictionary/index.d.ts.map +0 -1
  890. package/lib/models/document/document-api-url-prefix.enum.d.ts.map +0 -1
  891. package/lib/models/document/document-file-types.const.d.ts.map +0 -1
  892. package/lib/models/document/document-folder.d.ts.map +0 -1
  893. package/lib/models/document/document.d.ts.map +0 -1
  894. package/lib/models/document/index.d.ts.map +0 -1
  895. package/lib/models/employee/employee-details.d.ts.map +0 -1
  896. package/lib/models/employee/employee-invite.d.ts.map +0 -1
  897. package/lib/models/endpoint/endpoint.d.ts.map +0 -1
  898. package/lib/models/endpoint/endpoints.const.d.ts.map +0 -1
  899. package/lib/models/event/app-event-type.enum.d.ts.map +0 -1
  900. package/lib/models/event/app-event.d.ts.map +0 -1
  901. package/lib/models/event/index.d.ts.map +0 -1
  902. package/lib/models/export/export-cell-type.enum.d.ts.map +0 -1
  903. package/lib/models/export/export-cell.d.ts.map +0 -1
  904. package/lib/models/export/export-data-table.d.ts.map +0 -1
  905. package/lib/models/export/export-format.enum.d.ts.map +0 -1
  906. package/lib/models/export/export-row-data-type.enum.d.ts.map +0 -1
  907. package/lib/models/export/export-row.d.ts.map +0 -1
  908. package/lib/models/file/file.d.ts.map +0 -1
  909. package/lib/models/file/icons-file.enum.d.ts.map +0 -1
  910. package/lib/models/file/index.d.ts.map +0 -1
  911. package/lib/models/financial-year/financial-year.d.ts.map +0 -1
  912. package/lib/models/financial-year/index.d.ts.map +0 -1
  913. package/lib/models/financial-year/month-name-short.enum.d.ts.map +0 -1
  914. package/lib/models/financial-year/month-number.enum.d.ts.map +0 -1
  915. package/lib/models/financial-year/months.const.d.ts.map +0 -1
  916. package/lib/models/firm/firm.d.ts.map +0 -1
  917. package/lib/models/holding/holding-sale.d.ts.map +0 -1
  918. package/lib/models/holding/holding-type-exchange.d.ts.map +0 -1
  919. package/lib/models/holding/holding-type.d.ts.map +0 -1
  920. package/lib/models/holding/holding.d.ts.map +0 -1
  921. package/lib/models/holding/index.d.ts.map +0 -1
  922. package/lib/models/income-position/income-position.d.ts.map +0 -1
  923. package/lib/models/income-source/income-source-chart-data.d.ts.map +0 -1
  924. package/lib/models/income-source/income-source-forecast.d.ts.map +0 -1
  925. package/lib/models/income-source/income-source-type.d.ts.map +0 -1
  926. package/lib/models/income-source/income-source.d.ts.map +0 -1
  927. package/lib/models/income-source/salary-forecast.d.ts.map +0 -1
  928. package/lib/models/income-source/sole-forecast.d.ts.map +0 -1
  929. package/lib/models/index.d.ts.map +0 -1
  930. package/lib/models/loan/index.d.ts.map +0 -1
  931. package/lib/models/loan/loan-max-number-of-payments.enum.d.ts.map +0 -1
  932. package/lib/models/loan/loan-payment.d.ts.map +0 -1
  933. package/lib/models/loan/loan-payout.d.ts.map +0 -1
  934. package/lib/models/loan/loan.d.ts.map +0 -1
  935. package/lib/models/notification/index.d.ts.map +0 -1
  936. package/lib/models/notification/notification.d.ts.map +0 -1
  937. package/lib/models/pdf/pdf-orientation.enum.d.ts.map +0 -1
  938. package/lib/models/pdf/pdf-settings.d.ts.map +0 -1
  939. package/lib/models/phone/phone.d.ts.map +0 -1
  940. package/lib/models/property/calculation-form-item.d.ts.map +0 -1
  941. package/lib/models/property/calculation-form-type.enum.d.ts.map +0 -1
  942. package/lib/models/property/capital-costs-itmes.const.d.ts.map +0 -1
  943. package/lib/models/property/corelogic-suggestion.d.ts.map +0 -1
  944. package/lib/models/property/index.d.ts.map +0 -1
  945. package/lib/models/property/property-category-movement.d.ts.map +0 -1
  946. package/lib/models/property/property-category.d.ts.map +0 -1
  947. package/lib/models/property/property-document.d.ts.map +0 -1
  948. package/lib/models/property/property-equity-chart-data.d.ts.map +0 -1
  949. package/lib/models/property/property-equity-chart-item.d.ts.map +0 -1
  950. package/lib/models/property/property-equity-chart-type.enum.d.ts.map +0 -1
  951. package/lib/models/property/property-forecast.d.ts.map +0 -1
  952. package/lib/models/property/property-sale/index.d.ts.map +0 -1
  953. package/lib/models/property/property-sale/property-sale-cost-base.d.ts.map +0 -1
  954. package/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +0 -1
  955. package/lib/models/property/property-sale/property-sale.d.ts.map +0 -1
  956. package/lib/models/property/property-sale/tax-exemption-meta-field.d.ts.map +0 -1
  957. package/lib/models/property/property-sale/tax-exemption.d.ts.map +0 -1
  958. package/lib/models/property/property-share.d.ts.map +0 -1
  959. package/lib/models/property/property-subscription.d.ts.map +0 -1
  960. package/lib/models/property/property-valuation.d.ts.map +0 -1
  961. package/lib/models/property/property.d.ts.map +0 -1
  962. package/lib/models/property/share-filter-options.enum.d.ts.map +0 -1
  963. package/lib/models/registration-invite/registration-invite.d.ts.map +0 -1
  964. package/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts.map +0 -1
  965. package/lib/models/report/depreciation/depreciation-lvp-report-item.d.ts.map +0 -1
  966. package/lib/models/report/depreciation/depreciation-report-item.d.ts.map +0 -1
  967. package/lib/models/report/depreciation/index.d.ts.map +0 -1
  968. package/lib/models/report/index.d.ts.map +0 -1
  969. package/lib/models/report/my-tax/ato-links.d.ts.map +0 -1
  970. package/lib/models/report/my-tax/index.d.ts.map +0 -1
  971. package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts.map +0 -1
  972. package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts.map +0 -1
  973. package/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts.map +0 -1
  974. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts.map +0 -1
  975. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts.map +0 -1
  976. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts.map +0 -1
  977. package/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts.map +0 -1
  978. package/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts.map +0 -1
  979. package/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts.map +0 -1
  980. package/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts.map +0 -1
  981. package/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts.map +0 -1
  982. package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts.map +0 -1
  983. package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts.map +0 -1
  984. package/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts.map +0 -1
  985. package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts.map +0 -1
  986. package/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts.map +0 -1
  987. package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts.map +0 -1
  988. package/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts.map +0 -1
  989. package/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts.map +0 -1
  990. package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts.map +0 -1
  991. package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts.map +0 -1
  992. package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts.map +0 -1
  993. package/lib/models/report/property/index.d.ts.map +0 -1
  994. package/lib/models/report/property/property-report-item-depreciation.d.ts.map +0 -1
  995. package/lib/models/report/property/property-report-item-transaction.d.ts.map +0 -1
  996. package/lib/models/report/property/property-report-item.d.ts.map +0 -1
  997. package/lib/models/report/sole/index.d.ts.map +0 -1
  998. package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts.map +0 -1
  999. package/lib/models/report/vehicle-expense/vehicle-expense.d.ts.map +0 -1
  1000. package/lib/models/service-subscription/index.d.ts.map +0 -1
  1001. package/lib/models/service-subscription/module-url-list.const.d.ts.map +0 -1
  1002. package/lib/models/service-subscription/payment-method-brand.enum.d.ts.map +0 -1
  1003. package/lib/models/service-subscription/service-payment-method.d.ts.map +0 -1
  1004. package/lib/models/service-subscription/service-payment.d.ts.map +0 -1
  1005. package/lib/models/service-subscription/service-price.d.ts.map +0 -1
  1006. package/lib/models/service-subscription/service-product.d.ts.map +0 -1
  1007. package/lib/models/service-subscription/service-promo-code-duration.enum.d.ts.map +0 -1
  1008. package/lib/models/service-subscription/service-promo-code.d.ts.map +0 -1
  1009. package/lib/models/service-subscription/service-subscription-item.d.ts.map +0 -1
  1010. package/lib/models/service-subscription/service-subscription.d.ts.map +0 -1
  1011. package/lib/models/sole/bas-report.d.ts.map +0 -1
  1012. package/lib/models/sole/index.d.ts.map +0 -1
  1013. package/lib/models/sole/sole-business-activity.d.ts.map +0 -1
  1014. package/lib/models/sole/sole-business-allocation.d.ts.map +0 -1
  1015. package/lib/models/sole/sole-business-loss-offset-rule.d.ts.map +0 -1
  1016. package/lib/models/sole/sole-business-loss.d.ts.map +0 -1
  1017. package/lib/models/sole/sole-business.d.ts.map +0 -1
  1018. package/lib/models/sole/sole-contact.d.ts.map +0 -1
  1019. package/lib/models/sole/sole-depreciation-method.d.ts.map +0 -1
  1020. package/lib/models/sole/sole-details.d.ts.map +0 -1
  1021. package/lib/models/sole/sole-invoice-item.d.ts.map +0 -1
  1022. package/lib/models/sole/sole-invoice-template.d.ts.map +0 -1
  1023. package/lib/models/sole/sole-invoice.d.ts.map +0 -1
  1024. package/lib/models/tax-review/tax-review.d.ts.map +0 -1
  1025. package/lib/models/tax-summary/report-item-details.d.ts.map +0 -1
  1026. package/lib/models/tax-summary/report-item.d.ts.map +0 -1
  1027. package/lib/models/tax-summary/tax-summary-section.d.ts.map +0 -1
  1028. package/lib/models/tax-summary/tax-summary-type.enum.d.ts.map +0 -1
  1029. package/lib/models/tax-summary/tax-summary.d.ts.map +0 -1
  1030. package/lib/models/toast/toast-type.enum.d.ts.map +0 -1
  1031. package/lib/models/toast/toast.d.ts.map +0 -1
  1032. package/lib/models/transaction/allocation-rule-condition.d.ts.map +0 -1
  1033. package/lib/models/transaction/allocation-rule-transaction-meta-field.d.ts.map +0 -1
  1034. package/lib/models/transaction/allocation-rule-transaction.d.ts.map +0 -1
  1035. package/lib/models/transaction/allocation-rule.d.ts.map +0 -1
  1036. package/lib/models/transaction/income-amount-type.enum.d.ts.map +0 -1
  1037. package/lib/models/transaction/index.d.ts.map +0 -1
  1038. package/lib/models/transaction/transaction-allocation.d.ts.map +0 -1
  1039. package/lib/models/transaction/transaction-category.enum.d.ts.map +0 -1
  1040. package/lib/models/transaction/transaction-meta-field.d.ts.map +0 -1
  1041. package/lib/models/transaction/transaction-receipt.d.ts.map +0 -1
  1042. package/lib/models/transaction/transaction.d.ts.map +0 -1
  1043. package/lib/models/user/index.d.ts.map +0 -1
  1044. package/lib/models/user/my-account-history-initiated-by.enum.d.ts.map +0 -1
  1045. package/lib/models/user/my-account-history-status.enum.d.ts.map +0 -1
  1046. package/lib/models/user/my-account-history-type.enum.d.ts.map +0 -1
  1047. package/lib/models/user/my-account-history.d.ts.map +0 -1
  1048. package/lib/models/user/occupation.d.ts.map +0 -1
  1049. package/lib/models/user/user-roles.const.d.ts.map +0 -1
  1050. package/lib/models/user/user-to-register.d.ts.map +0 -1
  1051. package/lib/models/user/user-work-position.const.d.ts.map +0 -1
  1052. package/lib/models/user/user.d.ts.map +0 -1
  1053. package/lib/models/user-event/user-event-setting-field.enum.d.ts.map +0 -1
  1054. package/lib/models/user-event/user-event-setting.d.ts.map +0 -1
  1055. package/lib/models/user-event/user-event-type-category.d.ts.map +0 -1
  1056. package/lib/models/user-event/user-event-type.d.ts.map +0 -1
  1057. package/lib/models/vehicle/index.d.ts.map +0 -1
  1058. package/lib/models/vehicle/logbook-period.d.ts.map +0 -1
  1059. package/lib/models/vehicle/vehicle-claim-details.d.ts.map +0 -1
  1060. package/lib/models/vehicle/vehicle-claim.d.ts.map +0 -1
  1061. package/lib/models/vehicle/vehicle-logbook.d.ts.map +0 -1
  1062. package/lib/models/vehicle/vehicle.d.ts.map +0 -1
  1063. package/lib/services/account-setup/account-setup.service.d.ts.map +0 -1
  1064. package/lib/services/account-setup/index.d.ts.map +0 -1
  1065. package/lib/services/affiliate/index.d.ts.map +0 -1
  1066. package/lib/services/affiliate/rewardful/index.d.ts.map +0 -1
  1067. package/lib/services/affiliate/rewardful/rewardful.service.d.ts.map +0 -1
  1068. package/lib/services/asset/assets.service.d.ts.map +0 -1
  1069. package/lib/services/asset/index.d.ts.map +0 -1
  1070. package/lib/services/auth/auth.service.d.ts.map +0 -1
  1071. package/lib/services/auth/index.d.ts.map +0 -1
  1072. package/lib/services/auth/jwt.service.d.ts.map +0 -1
  1073. package/lib/services/bank/bank-account-calculation.service.d.ts.map +0 -1
  1074. package/lib/services/bank/bank-transaction-calculation.service.d.ts.map +0 -1
  1075. package/lib/services/bank/index.d.ts.map +0 -1
  1076. package/lib/services/data.service.d.ts.map +0 -1
  1077. package/lib/services/event/event-dispatcher.service.d.ts.map +0 -1
  1078. package/lib/services/event/index.d.ts.map +0 -1
  1079. package/lib/services/event/sse.service.d.ts.map +0 -1
  1080. package/lib/services/export/export-formatter.service.d.ts.map +0 -1
  1081. package/lib/services/export/index.d.ts.map +0 -1
  1082. package/lib/services/header-title/header-title.service.d.ts.map +0 -1
  1083. package/lib/services/header-title/index.d.ts.map +0 -1
  1084. package/lib/services/http/address/address.service.d.ts.map +0 -1
  1085. package/lib/services/http/address/index.d.ts.map +0 -1
  1086. package/lib/services/http/bank/bank-account/bank-account.service.d.ts.map +0 -1
  1087. package/lib/services/http/bank/bank-account/index.d.ts.map +0 -1
  1088. package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts.map +0 -1
  1089. package/lib/services/http/bank/bank-connection/index.d.ts.map +0 -1
  1090. package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts.map +0 -1
  1091. package/lib/services/http/bank/bank-transaction/index.d.ts.map +0 -1
  1092. package/lib/services/http/bank/bank.service.d.ts.map +0 -1
  1093. package/lib/services/http/bank/basiq/basiq-token.service.d.ts.map +0 -1
  1094. package/lib/services/http/bank/basiq/basiq.service.d.ts.map +0 -1
  1095. package/lib/services/http/bank/basiq/index.d.ts.map +0 -1
  1096. package/lib/services/http/bank/index.d.ts.map +0 -1
  1097. package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts.map +0 -1
  1098. package/lib/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts.map +0 -1
  1099. package/lib/services/http/chart-accounts/chart-accounts.service.d.ts.map +0 -1
  1100. package/lib/services/http/chart-accounts/index.d.ts.map +0 -1
  1101. package/lib/services/http/chat/chat.service.d.ts.map +0 -1
  1102. package/lib/services/http/chat/index.d.ts.map +0 -1
  1103. package/lib/services/http/chat/message-document.service.d.ts.map +0 -1
  1104. package/lib/services/http/chat/message.service.d.ts.map +0 -1
  1105. package/lib/services/http/client/capital-gain/annual-client-details.service.d.ts.map +0 -1
  1106. package/lib/services/http/client/index.d.ts.map +0 -1
  1107. package/lib/services/http/client/occupation/occupation.service.d.ts.map +0 -1
  1108. package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts.map +0 -1
  1109. package/lib/services/http/depreciation/depreciation-capital-project/index.d.ts.map +0 -1
  1110. package/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.d.ts.map +0 -1
  1111. package/lib/services/http/depreciation/depreciation-receipt/index.d.ts.map +0 -1
  1112. package/lib/services/http/depreciation/depreciation.service.d.ts.map +0 -1
  1113. package/lib/services/http/depreciation/index.d.ts.map +0 -1
  1114. package/lib/services/http/document/document-folder/document-folder.service.d.ts.map +0 -1
  1115. package/lib/services/http/document/document.service.d.ts.map +0 -1
  1116. package/lib/services/http/document/index.d.ts.map +0 -1
  1117. package/lib/services/http/facebook/facebook-auth-options.interface.d.ts.map +0 -1
  1118. package/lib/services/http/facebook/facebook-auth-response.interface.d.ts.map +0 -1
  1119. package/lib/services/http/facebook/facebook-status-response.interface.d.ts.map +0 -1
  1120. package/lib/services/http/facebook/facebook.service.d.ts.map +0 -1
  1121. package/lib/services/http/facebook/index.d.ts.map +0 -1
  1122. package/lib/services/http/file/file.service.d.ts.map +0 -1
  1123. package/lib/services/http/file/index.d.ts.map +0 -1
  1124. package/lib/services/http/firm/client-income/client-income-types.service.d.ts.map +0 -1
  1125. package/lib/services/http/firm/client-income/index.d.ts.map +0 -1
  1126. package/lib/services/http/firm/client-invite/client-invite.service.d.ts.map +0 -1
  1127. package/lib/services/http/firm/client-invite/index.d.ts.map +0 -1
  1128. package/lib/services/http/firm/client-movement/client-movement.service.d.ts.map +0 -1
  1129. package/lib/services/http/firm/client-movement/index.d.ts.map +0 -1
  1130. package/lib/services/http/firm/employee/employee.service.d.ts.map +0 -1
  1131. package/lib/services/http/firm/employee/index.d.ts.map +0 -1
  1132. package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts.map +0 -1
  1133. package/lib/services/http/firm/employee-invite/index.d.ts.map +0 -1
  1134. package/lib/services/http/firm/firm.service.d.ts.map +0 -1
  1135. package/lib/services/http/firm/index.d.ts.map +0 -1
  1136. package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts.map +0 -1
  1137. package/lib/services/http/firm/portfolio-report/index.d.ts.map +0 -1
  1138. package/lib/services/http/google/google.service.d.ts.map +0 -1
  1139. package/lib/services/http/google/index.d.ts.map +0 -1
  1140. package/lib/services/http/holding/holding-messages.enum.d.ts.map +0 -1
  1141. package/lib/services/http/holding/holding-sale-messages.enum.d.ts.map +0 -1
  1142. package/lib/services/http/holding/holding-sale.service.d.ts.map +0 -1
  1143. package/lib/services/http/holding/holding-type-messages.enum.d.ts.map +0 -1
  1144. package/lib/services/http/holding/holding-type.service.d.ts.map +0 -1
  1145. package/lib/services/http/holding/holding.service.d.ts.map +0 -1
  1146. package/lib/services/http/holding/index.d.ts.map +0 -1
  1147. package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts.map +0 -1
  1148. package/lib/services/http/income-source/income-source-forecast/index.d.ts.map +0 -1
  1149. package/lib/services/http/income-source/income-source.service.d.ts.map +0 -1
  1150. package/lib/services/http/income-source/index.d.ts.map +0 -1
  1151. package/lib/services/http/income-source/salary-forecast/index.d.ts.map +0 -1
  1152. package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts.map +0 -1
  1153. package/lib/services/http/income-source/sole-forecast/index.d.ts.map +0 -1
  1154. package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts.map +0 -1
  1155. package/lib/services/http/index.d.ts.map +0 -1
  1156. package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts.map +0 -1
  1157. package/lib/services/http/loan/borrowing-expense/index.d.ts.map +0 -1
  1158. package/lib/services/http/loan/index.d.ts.map +0 -1
  1159. package/lib/services/http/loan/loan.service.d.ts.map +0 -1
  1160. package/lib/services/http/property/index.d.ts.map +0 -1
  1161. package/lib/services/http/property/property-category/index.d.ts.map +0 -1
  1162. package/lib/services/http/property/property-category/property-category.service.d.ts.map +0 -1
  1163. package/lib/services/http/property/property-category-movement/index.d.ts.map +0 -1
  1164. package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts.map +0 -1
  1165. package/lib/services/http/property/property-document/index.d.ts.map +0 -1
  1166. package/lib/services/http/property/property-document/property-document.service.d.ts.map +0 -1
  1167. package/lib/services/http/property/property-sale/index.d.ts.map +0 -1
  1168. package/lib/services/http/property/property-sale/property-sale.service.d.ts.map +0 -1
  1169. package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts.map +0 -1
  1170. package/lib/services/http/property/property-share/index.d.ts.map +0 -1
  1171. package/lib/services/http/property/property-share/property-share.service.d.ts.map +0 -1
  1172. package/lib/services/http/property/property.service.d.ts.map +0 -1
  1173. package/lib/services/http/receipt/index.d.ts.map +0 -1
  1174. package/lib/services/http/receipt/receipt.service.d.ts.map +0 -1
  1175. package/lib/services/http/rest/http-method.type.d.ts.map +0 -1
  1176. package/lib/services/http/rest/index.d.ts.map +0 -1
  1177. package/lib/services/http/rest/rest-method.type.d.ts.map +0 -1
  1178. package/lib/services/http/rest/rest-old.service.d.ts.map +0 -1
  1179. package/lib/services/http/rest/rest.service.d.ts.map +0 -1
  1180. package/lib/services/http/service-notification/index.d.ts.map +0 -1
  1181. package/lib/services/http/service-notification/service-notification.service.d.ts.map +0 -1
  1182. package/lib/services/http/sole/bas-report/bas-report.service.d.ts.map +0 -1
  1183. package/lib/services/http/sole/index.d.ts.map +0 -1
  1184. package/lib/services/http/sole/sole-business/messages.enum.d.ts.map +0 -1
  1185. package/lib/services/http/sole/sole-business/sole-business.service.d.ts.map +0 -1
  1186. package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts.map +0 -1
  1187. package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts.map +0 -1
  1188. package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts.map +0 -1
  1189. package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts.map +0 -1
  1190. package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts.map +0 -1
  1191. package/lib/services/http/sole/sole-details/sole-details.service.d.ts.map +0 -1
  1192. package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts.map +0 -1
  1193. package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts.map +0 -1
  1194. package/lib/services/http/subscription/index.d.ts.map +0 -1
  1195. package/lib/services/http/subscription/service-payment/service-payment.service.d.ts.map +0 -1
  1196. package/lib/services/http/subscription/service-payment-method/service-payment-method.service.d.ts.map +0 -1
  1197. package/lib/services/http/subscription/service-price/service-price.service.d.ts.map +0 -1
  1198. package/lib/services/http/subscription/service-product/service-product.service.d.ts.map +0 -1
  1199. package/lib/services/http/subscription/service-subscription/subscription.service.d.ts.map +0 -1
  1200. package/lib/services/http/tax-review/index.d.ts.map +0 -1
  1201. package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts.map +0 -1
  1202. package/lib/services/http/tax-review/tax-review.service.d.ts.map +0 -1
  1203. package/lib/services/http/tax-summary/index.d.ts.map +0 -1
  1204. package/lib/services/http/tax-summary/tax-summary.service.d.ts.map +0 -1
  1205. package/lib/services/http/transaction/index.d.ts.map +0 -1
  1206. package/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts.map +0 -1
  1207. package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts.map +0 -1
  1208. package/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.d.ts.map +0 -1
  1209. package/lib/services/http/transaction/transaction.service.d.ts.map +0 -1
  1210. package/lib/services/http/tutorial-video/index.d.ts.map +0 -1
  1211. package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts.map +0 -1
  1212. package/lib/services/http/tutorial-video/tutorial-video.service.d.ts.map +0 -1
  1213. package/lib/services/http/tutorial-video/video-source.interface.d.ts.map +0 -1
  1214. package/lib/services/http/user/index.d.ts.map +0 -1
  1215. package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts.map +0 -1
  1216. package/lib/services/http/user/user-event-type/user-event-type.service.d.ts.map +0 -1
  1217. package/lib/services/http/user/user.service.d.ts.map +0 -1
  1218. package/lib/services/http/user/users-invite/users-invite.service.d.ts.map +0 -1
  1219. package/lib/services/http/vehicle/index.d.ts.map +0 -1
  1220. package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts.map +0 -1
  1221. package/lib/services/http/vehicle/vehicle-claim.service.d.ts.map +0 -1
  1222. package/lib/services/http/vehicle/vehicle-logbook.service.d.ts.map +0 -1
  1223. package/lib/services/http/vehicle/vehicle.service.d.ts.map +0 -1
  1224. package/lib/services/index.d.ts.map +0 -1
  1225. package/lib/services/intercom/index.d.ts.map +0 -1
  1226. package/lib/services/intercom/intercom.service.d.ts.map +0 -1
  1227. package/lib/services/json/holding/holding-type-exchange.service.d.ts.map +0 -1
  1228. package/lib/services/pdf/index.d.ts.map +0 -1
  1229. package/lib/services/pdf/js-pdf.d.ts.map +0 -1
  1230. package/lib/services/pdf/pdf-from-dom-element/file-settings.d.ts.map +0 -1
  1231. package/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts.map +0 -1
  1232. package/lib/services/pdf/pdf-from-table/file-settings.d.ts.map +0 -1
  1233. package/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts.map +0 -1
  1234. package/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts.map +0 -1
  1235. package/lib/services/pdf/pdf-from-table/pdf-from-table.service.d.ts.map +0 -1
  1236. package/lib/services/preloader/index.d.ts.map +0 -1
  1237. package/lib/services/preloader/preloader.service.d.ts.map +0 -1
  1238. package/lib/services/property/corelogic/corelogic.service.d.ts.map +0 -1
  1239. package/lib/services/property/corelogic/index.d.ts.map +0 -1
  1240. package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts.map +0 -1
  1241. package/lib/services/property/equity-position-chart/index.d.ts.map +0 -1
  1242. package/lib/services/property/index.d.ts.map +0 -1
  1243. package/lib/services/property/property-calculation/index.d.ts.map +0 -1
  1244. package/lib/services/property/property-calculation/property-calculation.service.d.ts.map +0 -1
  1245. package/lib/services/report/index.d.ts.map +0 -1
  1246. package/lib/services/report/property/property-transaction-report.service.d.ts.map +0 -1
  1247. package/lib/services/toast/index.d.ts.map +0 -1
  1248. package/lib/services/toast/toast.service.d.ts.map +0 -1
  1249. package/lib/services/transaction/index.d.ts.map +0 -1
  1250. package/lib/services/transaction/transaction-calculation.service.d.ts.map +0 -1
  1251. package/lib/services/user/index.d.ts.map +0 -1
  1252. package/lib/services/user/user-switcher.service.d.ts.map +0 -1
  1253. package/lib/services/vehicle/index.d.ts.map +0 -1
  1254. package/lib/services/vehicle/logbook-best-period.service.d.ts.map +0 -1
  1255. package/lib/services/xlsx/index.d.ts.map +0 -1
  1256. package/lib/services/xlsx/xlsx.service.d.ts.map +0 -1
  1257. package/lib/tt-core.module.d.ts.map +0 -1
  1258. package/lib/validators/address-corelogic.validator.d.ts.map +0 -1
  1259. package/lib/validators/at-least-one-enabled.validator.d.ts.map +0 -1
  1260. package/lib/validators/at-least-one.validator.d.ts.map +0 -1
  1261. package/lib/validators/autocomplete.validator.d.ts.map +0 -1
  1262. package/lib/validators/conditional.validator.d.ts.map +0 -1
  1263. package/lib/validators/current-fin-year.validator.d.ts.map +0 -1
  1264. package/lib/validators/date-range.validator.d.ts.map +0 -1
  1265. package/lib/validators/fields-sum.validator.d.ts.map +0 -1
  1266. package/lib/validators/file.validator.d.ts.map +0 -1
  1267. package/lib/validators/index.d.ts.map +0 -1
  1268. package/lib/validators/min-date/messages.enum.d.ts.map +0 -1
  1269. package/lib/validators/min-date/min-date.validator.d.ts.map +0 -1
  1270. package/lib/validators/password-match.validator.d.ts.map +0 -1
  1271. package/lib/validators/password.validator.d.ts.map +0 -1
  1272. package/lib/validators/phone-number.validator.d.ts.map +0 -1
  1273. package/lib/validators/required-length.validator.d.ts.map +0 -1
  1274. package/lib/validators/transactions-meta-fields.validator.d.ts.map +0 -1
  1275. package/public-api.d.ts.map +0 -1
  1276. package/taxtank-core.d.ts.map +0 -1
@@ -25,7 +25,6 @@ import concat from 'lodash/concat';
25
25
  import cloneDeep$1 from 'lodash/cloneDeep';
26
26
  import clone from 'lodash/clone';
27
27
  import { EventSourcePolyfill } from 'event-source-polyfill/src/eventsource.min.js';
28
- import { throwError as throwError$1 } from 'rxjs/internal/observable/throwError';
29
28
  import * as i4 from '@angular/router';
30
29
  import { NavigationEnd } from '@angular/router';
31
30
  import _ from 'lodash';
@@ -56,9 +55,7 @@ class CorelogicService {
56
55
  getAccessToken(force = false) {
57
56
  if (!this._accessToken || force) {
58
57
  this.http.get(`${this.environment.coreLogicUrl}/access/oauth/token?grant_type=client_credentials&client_id=${this.environment.coreLogicId}&client_secret=${this.environment.coreLogicSecret}`)
59
- .pipe(map((response) => {
60
- return response.access_token;
61
- }))
58
+ .pipe(map((response) => response.access_token))
62
59
  .subscribe((token) => {
63
60
  this._accessToken = token;
64
61
  this.accessTokenSubject.next(this._accessToken);
@@ -69,14 +66,12 @@ class CorelogicService {
69
66
  getSuggestions(query, country = 'au') {
70
67
  // @TODO handle different countries in future
71
68
  return this.http.get(`${this.environment.coreLogicUrl}/property/${country}/v2/suggest.json?q=${query}`)
72
- .pipe(map((response) => {
73
- return response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item));
74
- }));
69
+ .pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))));
75
70
  }
76
71
  }
77
- CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
78
- CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, providedIn: 'root' });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, decorators: [{
72
+ CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
73
+ CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, providedIn: 'root' });
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, decorators: [{
80
75
  type: Injectable,
81
76
  args: [{
82
77
  providedIn: 'root'
@@ -104,9 +99,7 @@ class CorelogicInterceptor {
104
99
  return next.handle(request);
105
100
  }
106
101
  return this.corelogicService.getAccessToken()
107
- .pipe(mergeMap((token) => {
108
- return next.handle(this.addToken(request, token));
109
- }));
102
+ .pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
110
103
  }
111
104
  addToken(request, token) {
112
105
  return request.clone({
@@ -116,9 +109,9 @@ class CorelogicInterceptor {
116
109
  });
117
110
  }
118
111
  }
119
- CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
120
- CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor });
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, decorators: [{
112
+ 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 });
113
+ CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor });
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, decorators: [{
122
115
  type: Injectable
123
116
  }], ctorParameters: function () { return [{ type: CorelogicService }, { type: undefined, decorators: [{
124
117
  type: Inject,
@@ -155,9 +148,9 @@ class FinancialYearInterceptor {
155
148
  return next.handle(clonedReq);
156
149
  }
157
150
  }
158
- FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
159
- FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor });
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
151
+ FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
152
+ FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor });
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
161
154
  type: Injectable
162
155
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
163
156
  type: Inject,
@@ -455,9 +448,7 @@ __decorate([
455
448
  __decorate([
456
449
  Exclude({ toPlainOnly: true }),
457
450
  Type(() => Object),
458
- Transform(({ obj }) => {
459
- return obj.file;
460
- })
451
+ Transform(({ obj }) => obj.file)
461
452
  ], TransactionBase.prototype, "file", void 0);
462
453
  __decorate([
463
454
  Exclude()
@@ -1281,7 +1272,6 @@ class ExportableCollection extends Collection {
1281
1272
  getExportFooter(type) {
1282
1273
  return [];
1283
1274
  }
1284
- ;
1285
1275
  export(type) {
1286
1276
  return plainToClass(ExportDataTable, {
1287
1277
  header: this.getExportHeader(type),
@@ -1320,26 +1310,22 @@ class LoanPaymentCollection extends ExportableCollection {
1320
1310
  ];
1321
1311
  }
1322
1312
  getExportBody() {
1323
- return this.items.map((payment) => {
1324
- return [
1325
- plainToClass(ExportCell, { value: payment.number, type: ExportCellTypeEnum.STRING }),
1326
- plainToClass(ExportCell, { value: payment.date, type: ExportCellTypeEnum.DATE }),
1327
- plainToClass(ExportCell, { value: payment.paymentDue, type: ExportCellTypeEnum.CURRENCY }),
1328
- plainToClass(ExportCell, { value: payment.interestAccrued, type: ExportCellTypeEnum.CURRENCY }),
1329
- plainToClass(ExportCell, { value: payment.principalPaid, type: ExportCellTypeEnum.CURRENCY }),
1330
- plainToClass(ExportCell, { value: payment.principalBalance, type: ExportCellTypeEnum.CURRENCY }),
1331
- plainToClass(ExportCell, { value: payment.payout, type: ExportCellTypeEnum.CURRENCY }),
1332
- ];
1333
- });
1313
+ return this.items.map((payment) => [
1314
+ plainToClass(ExportCell, { value: payment.number, type: ExportCellTypeEnum.STRING }),
1315
+ plainToClass(ExportCell, { value: payment.date, type: ExportCellTypeEnum.DATE }),
1316
+ plainToClass(ExportCell, { value: payment.paymentDue, type: ExportCellTypeEnum.CURRENCY }),
1317
+ plainToClass(ExportCell, { value: payment.interestAccrued, type: ExportCellTypeEnum.CURRENCY }),
1318
+ plainToClass(ExportCell, { value: payment.principalPaid, type: ExportCellTypeEnum.CURRENCY }),
1319
+ plainToClass(ExportCell, { value: payment.principalBalance, type: ExportCellTypeEnum.CURRENCY }),
1320
+ plainToClass(ExportCell, { value: payment.payout, type: ExportCellTypeEnum.CURRENCY }),
1321
+ ]);
1334
1322
  }
1335
1323
  get paymentDue() {
1336
1324
  return this.sumBy('paymentDue');
1337
1325
  }
1338
1326
  getByFinYear(finYear = new FinancialYear()) {
1339
- return this.filter((payment) => {
1340
- return new Date(payment.date) >= finYear.startDate &&
1341
- new Date(payment.date) <= finYear.endDate;
1342
- });
1327
+ return this.filter((payment) => new Date(payment.date) >= finYear.startDate &&
1328
+ new Date(payment.date) <= finYear.endDate);
1343
1329
  }
1344
1330
  getForCurrentYear() {
1345
1331
  return this.getByFinYear(new FinancialYear());
@@ -1578,9 +1564,7 @@ var ServiceSubscriptionStatusEnum;
1578
1564
 
1579
1565
  class MessageCollection extends Collection {
1580
1566
  getFirstUnreadMessage(user) {
1581
- return this.items.find((message) => {
1582
- return !message.isRead() && message.isFromEmployee() !== user.isEmployee();
1583
- });
1567
+ return this.items.find((message) => !message.isRead() && message.isFromEmployee() !== user.isEmployee());
1584
1568
  }
1585
1569
  /**
1586
1570
  * Get List of unread chats
@@ -1778,9 +1762,7 @@ class PropertyCollection extends Collection {
1778
1762
  return new PropertyCollection(this.items.filter((property) => property.category.isOwnerOccupied()));
1779
1763
  }
1780
1764
  get earliestContractDate() {
1781
- return this.items.reduce((min, property) => {
1782
- return min < property.contractDate ? min : property.contractDate;
1783
- }, new FinancialYear(new Date()).startDate);
1765
+ return this.items.reduce((min, property) => min < property.contractDate ? min : property.contractDate, new FinancialYear(new Date()).startDate);
1784
1766
  }
1785
1767
  /**
1786
1768
  * Get list of unique property categories from collection
@@ -1792,9 +1774,7 @@ class PropertyCollection extends Collection {
1792
1774
  * Get property with the highest growth percent
1793
1775
  */
1794
1776
  getBestPerformanceGrowthProperty() {
1795
- return this.items.reduce((max, current) => {
1796
- return max.growthPercent < current.growthPercent ? current : max;
1797
- }, this.first);
1777
+ return this.items.reduce((max, current) => max.growthPercent < current.growthPercent ? current : max, this.first);
1798
1778
  }
1799
1779
  /**
1800
1780
  * Get property with the lowest tax position
@@ -1834,9 +1814,7 @@ class PropertyCategoryMovementCollection extends Collection {
1834
1814
  */
1835
1815
  getByForecast(property, forecast) {
1836
1816
  const financialYear = new FinancialYear(forecast.financialYear);
1837
- return this.filterBy('property.id', property.id).filter((movement) => {
1838
- return movement.fromDate <= financialYear.endDate && !movement.toDate || movement.toDate >= financialYear.startDate;
1839
- });
1817
+ return this.filterBy('property.id', property.id).filter((movement) => movement.fromDate <= financialYear.endDate && !movement.toDate || movement.toDate >= financialYear.startDate);
1840
1818
  }
1841
1819
  hasCategory(categoryId) {
1842
1820
  return !!this.findBy('propertyCategory.id', categoryId);
@@ -1850,9 +1828,7 @@ class PropertyShareCollection extends Collection {
1850
1828
  * @TODO Alex: rename
1851
1829
  */
1852
1830
  getIncoming() {
1853
- return this.filter((propertyShare) => {
1854
- return propertyShare.user?.isLoggedIn() && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId');
1855
- });
1831
+ return this.filter((propertyShare) => propertyShare.user?.isLoggedIn() && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId'));
1856
1832
  }
1857
1833
  /**
1858
1834
  * Get list of outcoming property shares
@@ -3264,7 +3240,6 @@ class SoleForecast extends SoleForecast$1 {
3264
3240
  get netPay() {
3265
3241
  return this.amount;
3266
3242
  }
3267
- ;
3268
3243
  }
3269
3244
  __decorate([
3270
3245
  Type(() => IncomeSource)
@@ -3455,33 +3430,23 @@ __decorate([
3455
3430
  Type(() => ChartAccounts)
3456
3431
  // @TODO Alex: Create custom decorator for this transform
3457
3432
  ,
3458
- Transform(({ value }) => {
3459
- return { id: value.id };
3460
- }, { toPlainOnly: true })
3433
+ Transform(({ value }) => ({ id: value.id }), { toPlainOnly: true })
3461
3434
  ], AllocationRuleTransaction.prototype, "chartAccounts", void 0);
3462
3435
  __decorate([
3463
3436
  Type(() => Property),
3464
- Transform(({ value }) => {
3465
- return value ? { id: value.id } : null;
3466
- }, { toPlainOnly: true })
3437
+ Transform(({ value }) => value ? { id: value.id } : null, { toPlainOnly: true })
3467
3438
  ], AllocationRuleTransaction.prototype, "property", void 0);
3468
3439
  __decorate([
3469
3440
  Type(() => Loan),
3470
- Transform(({ value }) => {
3471
- return value ? { id: value.id } : null;
3472
- }, { toPlainOnly: true })
3441
+ Transform(({ value }) => value ? { id: value.id } : null, { toPlainOnly: true })
3473
3442
  ], AllocationRuleTransaction.prototype, "loan", void 0);
3474
3443
  __decorate([
3475
3444
  Type(() => IncomeSource),
3476
- Transform(({ value }) => {
3477
- return value ? { id: value.id } : null;
3478
- }, { toPlainOnly: true })
3445
+ Transform(({ value }) => value ? { id: value.id } : null, { toPlainOnly: true })
3479
3446
  ], AllocationRuleTransaction.prototype, "incomeSource", void 0);
3480
3447
  __decorate([
3481
3448
  Type(() => SoleBusiness),
3482
- Transform(({ value }) => {
3483
- return value ? { id: value.id } : null;
3484
- }, { toPlainOnly: true })
3449
+ Transform(({ value }) => value ? { id: value.id } : null, { toPlainOnly: true })
3485
3450
  ], AllocationRuleTransaction.prototype, "business", void 0);
3486
3451
  __decorate([
3487
3452
  Type(() => AllocationRuleTransactionMetaField)
@@ -3558,7 +3523,7 @@ class AllocationRule extends AllocationRule$1 {
3558
3523
  * Rule is matched when all conditions matched
3559
3524
  */
3560
3525
  checkAnd(bankTransaction) {
3561
- for (let condition of this.conditions) {
3526
+ for (const condition of this.conditions) {
3562
3527
  if (!condition.matchBankTransaction(bankTransaction)) {
3563
3528
  return false;
3564
3529
  }
@@ -3569,7 +3534,7 @@ class AllocationRule extends AllocationRule$1 {
3569
3534
  * Rule is matched when at least one condition matched
3570
3535
  */
3571
3536
  checkOr(bankTransaction) {
3572
- for (let condition of this.conditions) {
3537
+ for (const condition of this.conditions) {
3573
3538
  if (condition.matchBankTransaction(bankTransaction)) {
3574
3539
  return true;
3575
3540
  }
@@ -3601,7 +3566,7 @@ class AllocationRule extends AllocationRule$1 {
3601
3566
  }
3602
3567
  __decorate([
3603
3568
  Type(() => BankAccount),
3604
- Transform(({ value }) => { return { id: value.id }; }, { toPlainOnly: true })
3569
+ Transform(({ value }) => ({ id: value.id }), { toPlainOnly: true })
3605
3570
  ], AllocationRule.prototype, "bankAccount", void 0);
3606
3571
  __decorate([
3607
3572
  Type(() => AllocationRuleCondition)
@@ -3993,12 +3958,8 @@ class PropertyEquityChartData {
3993
3958
  const items = this.list.filter((item) => item.year <= this.currentYear);
3994
3959
  items.forEach((item) => {
3995
3960
  // increase item values with property actual forecasts for item year
3996
- item.marketValue = this.properties.items.reduce((sum, property) => {
3997
- return sum + this.getMarketValueForPropertyByYear(property, item.year);
3998
- }, 0);
3999
- item.loanBalance = Math.abs(this.properties.items.reduce((sum, property) => {
4000
- return sum + this.getLoanBalanceForPropertyByYear(property, item.year);
4001
- }, 0));
3961
+ item.marketValue = this.properties.items.reduce((sum, property) => sum + this.getMarketValueForPropertyByYear(property, item.year), 0);
3962
+ item.loanBalance = Math.abs(this.properties.items.reduce((sum, property) => sum + this.getLoanBalanceForPropertyByYear(property, item.year), 0));
4002
3963
  });
4003
3964
  }
4004
3965
  /**
@@ -4008,9 +3969,7 @@ class PropertyEquityChartData {
4008
3969
  buildActualItem() {
4009
3970
  const item = this.list.find((i) => i.year === this.currentYear);
4010
3971
  item.marketValue = this.properties.marketValue;
4011
- item.loanBalance = this.properties.items.reduce((sum, property) => {
4012
- return sum + Math.abs(this.bankAccounts.getPropertyBalanceAmount(property.id));
4013
- }, 0);
3972
+ item.loanBalance = this.properties.items.reduce((sum, property) => sum + Math.abs(this.bankAccounts.getPropertyBalanceAmount(property.id)), 0);
4014
3973
  }
4015
3974
  /**
4016
3975
  * collect equity position items with forecasted (future) calculated values
@@ -4042,9 +4001,7 @@ class PropertyEquityChartData {
4042
4001
  * @private
4043
4002
  */
4044
4003
  getLoanBalanceByYear(property, year, bankAccounts, loans) {
4045
- return bankAccounts.items.reduce((totalSum, bankAccount) => {
4046
- return totalSum + (bankAccount.getPropertyPercentage(property.id) * (loans.getByBankAccountId(bankAccount.id)?.getLastPaymentByYear(year)?.totalOwed || 0));
4047
- }, 0);
4004
+ return bankAccounts.items.reduce((totalSum, bankAccount) => totalSum + (bankAccount.getPropertyPercentage(property.id) * (loans.getByBankAccountId(bankAccount.id)?.getLastPaymentByYear(year)?.totalOwed || 0)), 0);
4048
4005
  }
4049
4006
  getMarketValueForPropertyByYear(property, year) {
4050
4007
  if (new FinancialYear(property.contractDate).year > year) {
@@ -5078,9 +5035,7 @@ class Transaction extends Transaction$1 {
5078
5035
  * @Todo modify 'metaFields' property from array to Collection
5079
5036
  */
5080
5037
  getMetaFieldValue(field) {
5081
- return +this.metaFields.find((transactionMetaField) => {
5082
- return transactionMetaField.chartAccountsMetaField.id === field;
5083
- })?.value || 0;
5038
+ return +this.metaFields.find((transactionMetaField) => transactionMetaField.chartAccountsMetaField.id === field)?.value || 0;
5084
5039
  }
5085
5040
  isCash() {
5086
5041
  return this.source === TransactionSourceEnum.CASH;
@@ -5271,9 +5226,7 @@ class Depreciation extends Depreciation$1 {
5271
5226
  * @TODO Vik: Research a problem with depreciations without current year forecast
5272
5227
  */
5273
5228
  get currentYearForecast() {
5274
- return this.forecasts.find((forecast) => {
5275
- return forecast.financialYear === new FinancialYear().year;
5276
- }) || plainToClass(DepreciationForecast, {
5229
+ return this.forecasts.find((forecast) => forecast.financialYear === new FinancialYear().year) || plainToClass(DepreciationForecast, {
5277
5230
  financialYear: new FinancialYear().year,
5278
5231
  openBalance: 0,
5279
5232
  closeBalance: 0,
@@ -5282,9 +5235,7 @@ class Depreciation extends Depreciation$1 {
5282
5235
  });
5283
5236
  }
5284
5237
  getForecastByYear(year) {
5285
- return this.forecasts.find((forecast) => {
5286
- return forecast.financialYear === year;
5287
- });
5238
+ return this.forecasts.find((forecast) => forecast.financialYear === year);
5288
5239
  }
5289
5240
  getClaimAmountByYear(year) {
5290
5241
  return this.getForecastByYear(year)?.claimAmount || 0;
@@ -5429,14 +5380,10 @@ class TransactionCollection extends ExportableCollection {
5429
5380
  return this.sumBy('amount');
5430
5381
  }
5431
5382
  getUnallocated(allocations) {
5432
- return new TransactionCollection(this.items.filter((transaction) => {
5433
- return !transaction.isAllocated(allocations);
5434
- }));
5383
+ return new TransactionCollection(this.items.filter((transaction) => !transaction.isAllocated(allocations)));
5435
5384
  }
5436
5385
  getUnallocatedAmount(allocations) {
5437
- return this.items.reduce((sum, transaction) => {
5438
- return sum + transaction.getUnallocatedAmount(allocations.filterBy('transaction.id', transaction.id));
5439
- }, 0);
5386
+ return this.items.reduce((sum, transaction) => sum + transaction.getUnallocatedAmount(allocations.filterBy('transaction.id', transaction.id)), 0);
5440
5387
  }
5441
5388
  /**
5442
5389
  * get date of the last transaction
@@ -5496,9 +5443,7 @@ class TransactionCollection extends ExportableCollection {
5496
5443
  * @param ids Ids of properties for filter
5497
5444
  */
5498
5445
  getByPropertiesIds(ids) {
5499
- return new TransactionCollection(this.items.filter((transaction) => {
5500
- return ids.includes(transaction.property?.id);
5501
- }));
5446
+ return new TransactionCollection(this.items.filter((transaction) => ids.includes(transaction.property?.id)));
5502
5447
  }
5503
5448
  /**
5504
5449
  * Get new collection filtered by income source id
@@ -5533,9 +5478,7 @@ class TransactionCollection extends ExportableCollection {
5533
5478
  * Get transactions related to Vehicle category
5534
5479
  */
5535
5480
  getVehicleTransactions() {
5536
- return this.create(this.items.filter((transaction) => {
5537
- return transaction.isVehicleTransaction();
5538
- }));
5481
+ return this.create(this.items.filter((transaction) => transaction.isVehicleTransaction()));
5539
5482
  }
5540
5483
  /**
5541
5484
  * Get new transaction collection filtered by tank type
@@ -5567,14 +5510,12 @@ class TransactionCollection extends ExportableCollection {
5567
5510
  ];
5568
5511
  }
5569
5512
  getExportBody() {
5570
- return this.items.map((transaction) => {
5571
- return [
5572
- plainToClass(ExportCell, { value: transaction.date, type: ExportCellTypeEnum.DATE }),
5573
- plainToClass(ExportCell, { value: transaction.description, type: ExportCellTypeEnum.STRING }),
5574
- plainToClass(ExportCell, { value: transaction.debit, type: ExportCellTypeEnum.CURRENCY }),
5575
- plainToClass(ExportCell, { value: transaction.credit, type: ExportCellTypeEnum.CURRENCY })
5576
- ];
5577
- });
5513
+ return this.items.map((transaction) => [
5514
+ plainToClass(ExportCell, { value: transaction.date, type: ExportCellTypeEnum.DATE }),
5515
+ plainToClass(ExportCell, { value: transaction.description, type: ExportCellTypeEnum.STRING }),
5516
+ plainToClass(ExportCell, { value: transaction.debit, type: ExportCellTypeEnum.CURRENCY }),
5517
+ plainToClass(ExportCell, { value: transaction.credit, type: ExportCellTypeEnum.CURRENCY })
5518
+ ]);
5578
5519
  }
5579
5520
  /**
5580
5521
  * Get list of vehicle transactions filtered by vehicle claim
@@ -5694,29 +5635,19 @@ class DepreciationCollection extends Collection {
5694
5635
  return this.items.reduce((sum, depreciation) => sum + depreciation.amount, 0);
5695
5636
  }
5696
5637
  get claimAmount() {
5697
- return this.items.reduce((sum, depreciation) => {
5698
- return sum + depreciation.currentYearForecast.claimAmount;
5699
- }, 0);
5638
+ return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.claimAmount, 0);
5700
5639
  }
5701
5640
  getClaimedAmountByYear(year = +localStorage.getItem('financialYear')) {
5702
- return +Math.round(this.amount - this.items.reduce((sum, depreciation) => {
5703
- return sum + depreciation.getCloseBalanceByYear(year);
5704
- }, 0)).toFixed(2);
5641
+ return +Math.round(this.amount - this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0)).toFixed(2);
5705
5642
  }
5706
5643
  getClaimAmountByYear(year = +localStorage.getItem('financialYear')) {
5707
- return this.items.reduce((sum, depreciation) => {
5708
- return sum + depreciation.getClaimAmountByYear(year);
5709
- }, 0);
5644
+ return this.items.reduce((sum, depreciation) => sum + depreciation.getClaimAmountByYear(year), 0);
5710
5645
  }
5711
5646
  getCloseBalanceByYear(year = +localStorage.getItem('financialYear')) {
5712
- return this.items.reduce((sum, depreciation) => {
5713
- return sum + depreciation.getCloseBalanceByYear(year);
5714
- }, 0);
5647
+ return this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0);
5715
5648
  }
5716
5649
  getCurrentYearForecastAmount() {
5717
- return this.items.reduce((sum, depreciation) => {
5718
- return sum + depreciation.currentYearForecast.amount;
5719
- }, 0);
5650
+ return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.amount, 0);
5720
5651
  }
5721
5652
  get closeBalance() {
5722
5653
  return this.sumBy('currentYearForecast.closeBalance');
@@ -5758,9 +5689,7 @@ class DepreciationCollection extends Collection {
5758
5689
  return this.filter((depreciation) => depreciation.isSBP());
5759
5690
  }
5760
5691
  getCapitalProjects() {
5761
- return uniqBy(compact(this.items.map((depreciation) => {
5762
- return depreciation.depreciationCapitalProject;
5763
- })), 'id');
5692
+ return uniqBy(compact(this.items.map((depreciation) => depreciation.depreciationCapitalProject)), 'id');
5764
5693
  }
5765
5694
  /**
5766
5695
  * Get a new collection of depreciations related to vehicles
@@ -5839,9 +5768,7 @@ class DepreciationReportItemCollection extends DepreciationCollection {
5839
5768
  * Create new collection from provided depreciations list
5840
5769
  */
5841
5770
  static fromDepreciations(deprectiations) {
5842
- return new DepreciationReportItemCollection(deprectiations.map((depreciation) => {
5843
- return plainToClass(DepreciationReportItem, depreciation);
5844
- }));
5771
+ return new DepreciationReportItemCollection(deprectiations.map((depreciation) => plainToClass(DepreciationReportItem, depreciation)));
5845
5772
  }
5846
5773
  }
5847
5774
 
@@ -5974,9 +5901,7 @@ class VehicleExpenseCollection extends Collection {
5974
5901
  setItems(transactions, depreciations, vehicleClaim) {
5975
5902
  this.items = [];
5976
5903
  const transactionsByChartAccounts = new CollectionDictionary(transactions, 'chartAccounts.name');
5977
- const transactionExpenses = transactionsByChartAccounts.keys.map((chartAccountsName) => {
5978
- return new VehicleExpense(transactionsByChartAccounts.get(chartAccountsName).amount, vehicleClaim.workUsage, chartAccountsName);
5979
- });
5904
+ const transactionExpenses = transactionsByChartAccounts.keys.map((chartAccountsName) => new VehicleExpense(transactionsByChartAccounts.get(chartAccountsName).amount, vehicleClaim.workUsage, chartAccountsName));
5980
5905
  // group all depreciations into one expense item
5981
5906
  const depreciationExpense = new VehicleExpense(depreciations.getCurrentYearForecastAmount(), vehicleClaim.workUsage, 'Depreciation');
5982
5907
  this.items.push(...[depreciationExpense, ...transactionExpenses]);
@@ -6190,14 +6115,10 @@ class ServiceSubscriptionCollection extends Collection {
6190
6115
  return dictionary;
6191
6116
  }
6192
6117
  findByProduct(product) {
6193
- return this.find((subscription) => {
6194
- return !!subscription.items.find((item) => item.price.product.id === product.id);
6195
- });
6118
+ return this.find((subscription) => !!subscription.items.find((item) => item.price.product.id === product.id));
6196
6119
  }
6197
6120
  filterByProduct(product) {
6198
- return this.filter((subscription) => {
6199
- return !!subscription.items.find((item) => item.price.product.id === product.id);
6200
- });
6121
+ return this.filter((subscription) => !!subscription.items.find((item) => item.price.product.id === product.id));
6201
6122
  }
6202
6123
  hasPropertyTank() {
6203
6124
  return !!this.getItems().propertiesItem;
@@ -6213,8 +6134,8 @@ class ReportItemCollection extends Collection {
6213
6134
  * Search items which has details
6214
6135
  */
6215
6136
  getBySection(section) {
6216
- let result = [];
6217
- for (let reportItem of this.items) {
6137
+ const result = [];
6138
+ for (const reportItem of this.items) {
6218
6139
  if ((reportItem.details.length || reportItem.amount) && reportItem.taxReturnCategory.section === section) {
6219
6140
  result.push(reportItem);
6220
6141
  }
@@ -6225,8 +6146,8 @@ class ReportItemCollection extends Collection {
6225
6146
  return this.create(result);
6226
6147
  }
6227
6148
  getByCategory(categoryId) {
6228
- let result = [];
6229
- for (let reportItem of this.items) {
6149
+ const result = [];
6150
+ for (const reportItem of this.items) {
6230
6151
  if (reportItem.taxReturnCategory.id === categoryId) {
6231
6152
  result.push(reportItem);
6232
6153
  }
@@ -6241,7 +6162,7 @@ class ReportItemCollection extends Collection {
6241
6162
  */
6242
6163
  findByCategory(categoryId) {
6243
6164
  let result;
6244
- for (let reportItem of this.items) {
6165
+ for (const reportItem of this.items) {
6245
6166
  if (result) {
6246
6167
  break;
6247
6168
  }
@@ -6290,8 +6211,8 @@ class ReportItemCollection extends Collection {
6290
6211
  * @TODO Alex: consider to create and move to ReportItemDetailsCollection
6291
6212
  */
6292
6213
  getDetailsByIncomeSource(incomeSource) {
6293
- let result = [];
6294
- for (let reportItem of this.items) {
6214
+ const result = [];
6215
+ for (const reportItem of this.items) {
6295
6216
  if (reportItem.details.length) {
6296
6217
  result.push(...reportItem.details.filter((details) => details.name === incomeSource.name));
6297
6218
  }
@@ -6649,46 +6570,32 @@ class BankAccountCollection extends Collection {
6649
6570
  */
6650
6571
  getInitialLoanAmount() {
6651
6572
  return this.getByType(TYPE_LOAN)
6652
- .reduce((sum, bankAccount) => {
6653
- return sum += bankAccount.balances.length ? bankAccount.getOpeningBalance() : 0;
6654
- }, 0);
6573
+ .reduce((sum, bankAccount) => sum += bankAccount.balances.length ? bankAccount.getOpeningBalance() : 0, 0);
6655
6574
  }
6656
6575
  /**
6657
6576
  * get amount of current loans
6658
6577
  */
6659
6578
  getCurrentLoanAmount() {
6660
6579
  return this.getByType(TYPE_LOAN)
6661
- .reduce((sum, bankAccount) => {
6662
- return sum += bankAccount.currentBalance;
6663
- }, 0);
6580
+ .reduce((sum, bankAccount) => sum += bankAccount.currentBalance, 0);
6664
6581
  }
6665
6582
  /**
6666
6583
  * get collection filtered by property id
6667
6584
  */
6668
6585
  getByPropertyId(id) {
6669
- return new BankAccountCollection(this.items.filter((bankAccount) => {
6670
- return bankAccount.bankAccountProperties.find((bankAccountProperty) => {
6671
- return bankAccountProperty.property.id === id;
6672
- });
6673
- }));
6586
+ return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.bankAccountProperties.find((bankAccountProperty) => bankAccountProperty.property.id === id)));
6674
6587
  }
6675
6588
  /**
6676
6589
  * get collection filtered by properties ids
6677
6590
  */
6678
6591
  getByPropertiesIds(ids) {
6679
- return new BankAccountCollection(this.items.filter((bankAccount) => {
6680
- return bankAccount.bankAccountProperties.find((bankAccountProperty) => {
6681
- return ids.includes(bankAccountProperty.property.id);
6682
- });
6683
- }));
6592
+ return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.bankAccountProperties.find((bankAccountProperty) => ids.includes(bankAccountProperty.property.id))));
6684
6593
  }
6685
6594
  /**
6686
6595
  * get collection of active bank accounts
6687
6596
  */
6688
6597
  getActiveBankAccounts() {
6689
- return new BankAccountCollection(this.items.filter((bankAccount) => {
6690
- return bankAccount.isActive();
6691
- }));
6598
+ return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.isActive()));
6692
6599
  }
6693
6600
  /**
6694
6601
  * get reduction of loan (reduction of principle) percentage
@@ -6738,22 +6645,16 @@ class BankAccountCollection extends Collection {
6738
6645
  * Get list of all bank account properties
6739
6646
  */
6740
6647
  getBankAccountPropertiesList() {
6741
- return flatten(this.items.map((bankAccount) => {
6742
- return bankAccount.bankAccountProperties;
6743
- }));
6648
+ return flatten(this.items.map((bankAccount) => bankAccount.bankAccountProperties));
6744
6649
  }
6745
6650
  /**
6746
6651
  * Get lis of unique properties from all bank accounts properties
6747
6652
  */
6748
6653
  getProperties() {
6749
- return uniqBy(this.getBankAccountPropertiesList().map((bankAccountProperty) => {
6750
- return bankAccountProperty.property;
6751
- }), 'id');
6654
+ return uniqBy(this.getBankAccountPropertiesList().map((bankAccountProperty) => bankAccountProperty.property), 'id');
6752
6655
  }
6753
6656
  getPropertyBalanceAmount(propertyId) {
6754
- return this.items.reduce((sum, bankAccount) => {
6755
- return sum + bankAccount.getPropertyBalanceAmount(propertyId);
6756
- }, 0);
6657
+ return this.items.reduce((sum, bankAccount) => sum + bankAccount.getPropertyBalanceAmount(propertyId), 0);
6757
6658
  }
6758
6659
  getOwn() {
6759
6660
  // TODO Alex/Vik: maybe we should get it from jwtToken or think about some localStorageService?
@@ -6831,10 +6732,8 @@ class BankTransactionCollection extends Collection {
6831
6732
  * Find Bank Transaction available for transfer
6832
6733
  */
6833
6734
  findTransfer(bankTransaction) {
6834
- return this.items.find((item) => {
6835
- return item.amount + bankTransaction.amount === 0 &&
6836
- Math.abs(bankTransaction.date.getTime() - item.date.getTime()) < TRANSACTION_TRANSFER_DELAY;
6837
- });
6735
+ return this.items.find((item) => item.amount + bankTransaction.amount === 0 &&
6736
+ Math.abs(bankTransaction.date.getTime() - item.date.getTime()) < TRANSACTION_TRANSFER_DELAY);
6838
6737
  }
6839
6738
  /**
6840
6739
  * Group bank transactions by transaction id.
@@ -7062,12 +6961,10 @@ class TaxReviewCollection extends Collection {
7062
6961
  */
7063
6962
  getInWork() {
7064
6963
  return this.items
7065
- .filter((taxReview) => {
7066
- return taxReview.isInProgress() ||
7067
- taxReview.isWaitingForClient() ||
7068
- taxReview.isWaitingForApproval() ||
7069
- taxReview.isApproved();
7070
- });
6964
+ .filter((taxReview) => taxReview.isInProgress() ||
6965
+ taxReview.isWaitingForClient() ||
6966
+ taxReview.isWaitingForApproval() ||
6967
+ taxReview.isApproved());
7071
6968
  }
7072
6969
  /**
7073
6970
  * Get percentage of completed reviews of the total review amount
@@ -7132,6 +7029,9 @@ class HoldingCollection extends Collection {
7132
7029
  getGrowthCoefficient(holdingTypesById) {
7133
7030
  return this.getMarketValue(holdingTypesById) / this.getPurchaseValue() - 1;
7134
7031
  }
7032
+ getUnsold() {
7033
+ return this.removeBy('currentQuantity', 0);
7034
+ }
7135
7035
  }
7136
7036
 
7137
7037
  class HoldingTypeCollection extends Collection {
@@ -7164,7 +7064,7 @@ class ServiceSubscription extends ServiceSubscription$1 {
7164
7064
  return !!this.stripeId;
7165
7065
  }
7166
7066
  get initialPrice() {
7167
- let price = this.items.reduce((sum, item) => sum + item.total, 0);
7067
+ const price = this.items.reduce((sum, item) => sum + item.total, 0);
7168
7068
  return price;
7169
7069
  }
7170
7070
  get discountAmount() {
@@ -7211,14 +7111,10 @@ class ServiceSubscription extends ServiceSubscription$1 {
7211
7111
  return this.items.find((item) => item.price.product.isProperties());
7212
7112
  }
7213
7113
  hasPropertyTank() {
7214
- return !!this.items.find((subscriptionItem) => {
7215
- return subscriptionItem.price.product.role.includes(UserRolesEnum.PROPERTY_TANK);
7216
- });
7114
+ return !!this.items.find((subscriptionItem) => subscriptionItem.price.product.role.includes(UserRolesEnum.PROPERTY_TANK));
7217
7115
  }
7218
7116
  hasWorkTank() {
7219
- return !!this.items.find((subscriptionItem) => {
7220
- return subscriptionItem.price.product.role.includes(UserRolesEnum.WORK_TANK);
7221
- });
7117
+ return !!this.items.find((subscriptionItem) => subscriptionItem.price.product.role.includes(UserRolesEnum.WORK_TANK));
7222
7118
  }
7223
7119
  /**
7224
7120
  * bought before price updates, active for some time to let customer select a new plan
@@ -7474,9 +7370,7 @@ class Property extends Property$1 {
7474
7370
  return this.currentYearForecast?.cashPosition || 0;
7475
7371
  }
7476
7372
  get firstForecastYear() {
7477
- return this.forecasts.reduce((min, forecast) => {
7478
- return min > forecast.financialYear ? forecast.financialYear : min;
7479
- }, new FinancialYear().year);
7373
+ return this.forecasts.reduce((min, forecast) => min > forecast.financialYear ? forecast.financialYear : min, new FinancialYear().year);
7480
7374
  }
7481
7375
  get marketValueGrowth() {
7482
7376
  return (this.marketValue - this.purchasePrice) / this.marketValue;
@@ -7485,9 +7379,7 @@ class Property extends Property$1 {
7485
7379
  return this.shares.find((share) => share.user.id === +localStorage.getItem('userId'));
7486
7380
  }
7487
7381
  get actualValuation() {
7488
- return this.valuations.reduce((maxDateValuation, valuation) => {
7489
- return maxDateValuation.date > valuation.date ? maxDateValuation : valuation;
7490
- }, this.valuations[0]);
7382
+ return this.valuations.reduce((maxDateValuation, valuation) => maxDateValuation.date > valuation.date ? maxDateValuation : valuation, this.valuations[0]);
7491
7383
  }
7492
7384
  get claimPercent() {
7493
7385
  return this.currentYearForecast.claimPercent;
@@ -7890,12 +7782,10 @@ class BankAccountChartData {
7890
7782
  * set value of pie chart data
7891
7783
  */
7892
7784
  getBalancePieChartData() {
7893
- return this.bankAccounts.map((bankAccount) => {
7894
- return {
7895
- name: bankAccount.accountName,
7896
- data: Math.abs(bankAccount.currentBalance)
7897
- };
7898
- });
7785
+ return this.bankAccounts.map((bankAccount) => ({
7786
+ name: bankAccount.accountName,
7787
+ data: Math.abs(bankAccount.currentBalance)
7788
+ }));
7899
7789
  }
7900
7790
  /**
7901
7791
  * set value of bar chart data
@@ -7903,12 +7793,10 @@ class BankAccountChartData {
7903
7793
  getBalanceBarChartData() {
7904
7794
  return [{
7905
7795
  name: 'Balance',
7906
- data: this.bankAccounts.map((bankAccount) => {
7907
- return {
7908
- label: bankAccount.accountName,
7909
- value: bankAccount.currentBalance
7910
- };
7911
- })
7796
+ data: this.bankAccounts.map((bankAccount) => ({
7797
+ label: bankAccount.accountName,
7798
+ value: bankAccount.currentBalance
7799
+ }))
7912
7800
  }];
7913
7801
  }
7914
7802
  }
@@ -7972,9 +7860,7 @@ class BankTransactionChartData {
7972
7860
  }];
7973
7861
  for (const key in MonthNameShortEnum) {
7974
7862
  if (MonthNameShortEnum.hasOwnProperty(key)) {
7975
- const bankTransactionsForMonth = this.bankTransactions.filter((bankTransaction) => {
7976
- return +bankTransaction.date.getMonth() === +MonthNumberEnum[key];
7977
- });
7863
+ const bankTransactionsForMonth = this.bankTransactions.filter((bankTransaction) => +bankTransaction.date.getMonth() === +MonthNumberEnum[key]);
7978
7864
  const cashInForMonth = bankTransactionsForMonth
7979
7865
  .filter((bankTransaction) => bankTransaction.isCredit())
7980
7866
  .reduce((sum, bankTransaction) => sum += bankTransaction.allocatedAmount, 0);
@@ -8003,16 +7889,12 @@ class BankTransactionChartData {
8003
7889
  }];
8004
7890
  for (const key in MonthNameShortEnum) {
8005
7891
  if (MonthNameShortEnum.hasOwnProperty(key)) {
8006
- const bankTransactionsForMonth = this.bankTransactions.filter((bankTransaction) => {
8007
- return +bankTransaction.date.getMonth() === +MonthNumberEnum[key];
8008
- });
7892
+ const bankTransactionsForMonth = this.bankTransactions.filter((bankTransaction) => +bankTransaction.date.getMonth() === +MonthNumberEnum[key]);
8009
7893
  const balanceForMonth = bankTransactionsForMonth.reduce((sum, bankTransaction) => {
8010
7894
  if (bankTransaction.isCredit()) {
8011
7895
  return sum += bankTransaction.allocatedAmount;
8012
7896
  }
8013
- else {
8014
- return sum -= bankTransaction.allocatedAmount;
8015
- }
7897
+ return sum -= bankTransaction.allocatedAmount;
8016
7898
  }, 0);
8017
7899
  chartData[0].data.push({
8018
7900
  label: MonthNameShortEnum[key],
@@ -8457,10 +8339,10 @@ __decorate([
8457
8339
  Type(() => HoldingTypeExchange)
8458
8340
  ], HoldingType.prototype, "exchange", void 0);
8459
8341
 
8460
- class HoldingSale extends AbstractModel {
8342
+ class HoldingSale extends ObservableModel {
8461
8343
  }
8462
8344
  __decorate([
8463
- Transform(({ value }) => { return { id: value.id }; }, { toPlainOnly: true })
8345
+ Transform(({ value }) => ({ id: value.id }), { toPlainOnly: true })
8464
8346
  ], HoldingSale.prototype, "holding", void 0);
8465
8347
  __decorate([
8466
8348
  Type(() => Date)
@@ -8500,6 +8382,9 @@ class Holding extends AbstractModel {
8500
8382
  const yearTime = 1000 * 60 * 60 * 24 * 365;
8501
8383
  return (new FinancialYear().startDate.getTime() - this.date.getTime()) > yearTime;
8502
8384
  }
8385
+ isSold() {
8386
+ return this.currentQuantity === 0;
8387
+ }
8503
8388
  }
8504
8389
  __decorate([
8505
8390
  Type(() => Date)
@@ -8635,12 +8520,10 @@ class ClientPortfolioChartData {
8635
8520
  this.clientsPortfolioReportCollection = clientsPortfolioReportCollection;
8636
8521
  }
8637
8522
  getPieChartData() {
8638
- return this.clientsPortfolioReportCollection.items.map((clientPortfolioReport) => {
8639
- return plainToClass(ChartData, {
8640
- name: clientPortfolioReport.category,
8641
- data: clientPortfolioReport.count
8642
- });
8643
- });
8523
+ return this.clientsPortfolioReportCollection.items.map((clientPortfolioReport) => plainToClass(ChartData, {
8524
+ name: clientPortfolioReport.category,
8525
+ data: clientPortfolioReport.count
8526
+ }));
8644
8527
  }
8645
8528
  getBarChartData() {
8646
8529
  return [
@@ -8716,9 +8599,9 @@ class JwtService extends JwtHelperService {
8716
8599
  return this.getUser().id === userId;
8717
8600
  }
8718
8601
  }
8719
- JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
8720
- JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, providedIn: 'root' });
8721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, decorators: [{
8602
+ JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
8603
+ JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, providedIn: 'root' });
8604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, decorators: [{
8722
8605
  type: Injectable,
8723
8606
  args: [{
8724
8607
  providedIn: 'root'
@@ -8753,9 +8636,9 @@ class EventDispatcherService {
8753
8636
  this.eventSubject2.next(event);
8754
8637
  }
8755
8638
  }
8756
- EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8757
- EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
8758
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, decorators: [{
8639
+ EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8640
+ EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
8641
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, decorators: [{
8759
8642
  type: Injectable,
8760
8643
  args: [{
8761
8644
  providedIn: 'root'
@@ -8804,9 +8687,9 @@ class AuthService {
8804
8687
  location.replace(url);
8805
8688
  }
8806
8689
  }
8807
- AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
8808
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, providedIn: 'root' });
8809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, decorators: [{
8690
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
8691
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, providedIn: 'root' });
8692
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, decorators: [{
8810
8693
  type: Injectable,
8811
8694
  args: [{
8812
8695
  providedIn: 'root'
@@ -8906,20 +8789,18 @@ class JwtInterceptor {
8906
8789
  return this.tokenSubject.pipe(filter(token => token != null), take(1), switchMap(token => next.handle(this.addToken(req))));
8907
8790
  // refresh token
8908
8791
  }
8909
- else {
8910
- // subsequent requests should wait until refresh token is ready
8911
- this.isRefreshingToken = true;
8912
- this.tokenSubject.next(null);
8913
- return this.authService.refresh(this.jwtService.getRefreshToken()).pipe(switchMap((tokens) => {
8914
- this.tokenSubject.next(tokens.token);
8915
- return next.handle(this.addToken(req));
8916
- }), catchError(() => {
8917
- this.authService.logoutFront();
8918
- return throwError(err);
8919
- }), finalize(() => {
8920
- this.isRefreshingToken = false;
8921
- }));
8922
- }
8792
+ // subsequent requests should wait until refresh token is ready
8793
+ this.isRefreshingToken = true;
8794
+ this.tokenSubject.next(null);
8795
+ return this.authService.refresh(this.jwtService.getRefreshToken()).pipe(switchMap((tokens) => {
8796
+ this.tokenSubject.next(tokens.token);
8797
+ return next.handle(this.addToken(req));
8798
+ }), catchError(() => {
8799
+ this.authService.logoutFront();
8800
+ return throwError(err);
8801
+ }), finalize(() => {
8802
+ this.isRefreshingToken = false;
8803
+ }));
8923
8804
  }
8924
8805
  /**
8925
8806
  * Handle error messages
@@ -8941,9 +8822,9 @@ class JwtInterceptor {
8941
8822
  });
8942
8823
  }
8943
8824
  }
8944
- JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
8945
- JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor });
8946
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, decorators: [{
8825
+ 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 });
8826
+ JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor });
8827
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, decorators: [{
8947
8828
  type: Injectable
8948
8829
  }], ctorParameters: function () { return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
8949
8830
  type: Inject,
@@ -8976,9 +8857,9 @@ class UserSwitcherService {
8976
8857
  window.location.replace('/firm/dashboard');
8977
8858
  }
8978
8859
  }
8979
- UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8980
- UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
8981
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, decorators: [{
8860
+ UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8861
+ UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
8862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, decorators: [{
8982
8863
  type: Injectable,
8983
8864
  args: [{
8984
8865
  providedIn: 'root'
@@ -9024,9 +8905,9 @@ class UserSwitcherInterceptor {
9024
8905
  return next.handle(this.switch(request, this.userSwitcherService.get()));
9025
8906
  }
9026
8907
  }
9027
- UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9028
- UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor });
9029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
8908
+ 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 });
8909
+ UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor });
8910
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
9030
8911
  type: Injectable
9031
8912
  }], ctorParameters: function () { return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
9032
8913
  type: Inject,
@@ -9298,9 +9179,9 @@ class PreloaderService {
9298
9179
  this.activePreloaders.next(activePreloaders);
9299
9180
  }
9300
9181
  }
9301
- PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9302
- PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, providedIn: 'root' });
9303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, decorators: [{
9182
+ PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9183
+ PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, providedIn: 'root' });
9184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, decorators: [{
9304
9185
  type: Injectable,
9305
9186
  args: [{
9306
9187
  providedIn: 'root'
@@ -9316,7 +9197,7 @@ class PreloaderInterceptor {
9316
9197
  }
9317
9198
  intercept(request, next) {
9318
9199
  const endpoint = this.findEndpoint(`${request.method} ${request.url}`);
9319
- if (!!endpoint) {
9200
+ if (endpoint) {
9320
9201
  this.preloaderService.add(endpoint);
9321
9202
  return next.handle(request).pipe(finalize(() => {
9322
9203
  this.preloaderService.delete(endpoint);
@@ -9328,9 +9209,9 @@ class PreloaderInterceptor {
9328
9209
  return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
9329
9210
  }
9330
9211
  }
9331
- PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
9332
- PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor });
9333
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, decorators: [{
9212
+ PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
9213
+ PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor });
9214
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, decorators: [{
9334
9215
  type: Injectable
9335
9216
  }], ctorParameters: function () { return [{ type: PreloaderService }]; } });
9336
9217
 
@@ -9357,9 +9238,9 @@ class DataService {
9357
9238
  this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
9358
9239
  }
9359
9240
  }
9360
- DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9361
- DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, providedIn: 'root' });
9362
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, decorators: [{
9241
+ DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9242
+ DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, providedIn: 'root' });
9243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, decorators: [{
9363
9244
  type: Injectable,
9364
9245
  args: [{
9365
9246
  providedIn: 'root'
@@ -9393,14 +9274,12 @@ class SseService {
9393
9274
  this.zone.run(() => observer.next(event));
9394
9275
  };
9395
9276
  })
9396
- .pipe(map((messageEvent) => {
9397
- return JSON.parse(messageEvent.data);
9398
- }));
9277
+ .pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
9399
9278
  }
9400
9279
  }
9401
- SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9402
- SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, providedIn: 'root' });
9403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, decorators: [{
9280
+ 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 });
9281
+ SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, providedIn: 'root' });
9282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, decorators: [{
9404
9283
  type: Injectable,
9405
9284
  args: [{
9406
9285
  providedIn: 'root'
@@ -9446,7 +9325,6 @@ let RestService$1 = class RestService extends DataService {
9446
9325
  }
9447
9326
  return this.cacheSubject.asObservable();
9448
9327
  }
9449
- ;
9450
9328
  getSingle() {
9451
9329
  this.handleAccessError('get');
9452
9330
  return this.get().pipe(map((collection) => collection.first));
@@ -9539,7 +9417,6 @@ let RestService$1 = class RestService extends DataService {
9539
9417
  return this.cache;
9540
9418
  }));
9541
9419
  }
9542
- ;
9543
9420
  /**
9544
9421
  * Handle response data - update cache and dispatch event if it is needed
9545
9422
  */
@@ -9610,9 +9487,9 @@ let RestService$1 = class RestService extends DataService {
9610
9487
  */
9611
9488
  listenEvents() { }
9612
9489
  };
9613
- RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9614
- RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, providedIn: 'root' });
9615
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, decorators: [{
9490
+ 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 });
9491
+ RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, providedIn: 'root' });
9492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, decorators: [{
9616
9493
  type: Injectable,
9617
9494
  args: [{
9618
9495
  providedIn: 'root'
@@ -9730,9 +9607,9 @@ class ToastService {
9730
9607
  }));
9731
9608
  }
9732
9609
  }
9733
- ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9734
- ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, providedIn: 'root' });
9735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, decorators: [{
9610
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9611
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, providedIn: 'root' });
9612
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, decorators: [{
9736
9613
  type: Injectable,
9737
9614
  args: [{
9738
9615
  providedIn: 'root'
@@ -9783,7 +9660,7 @@ class BankConnectionService extends RestService$1 {
9783
9660
  if (error.status === 400) {
9784
9661
  this.toastService.error('Please enter the login you used before');
9785
9662
  }
9786
- return throwError$1(error);
9663
+ return throwError(error);
9787
9664
  }));
9788
9665
  }
9789
9666
  /**
@@ -9822,9 +9699,9 @@ BankConnectionService.userEventTypes = [
9822
9699
  UserEventTypeTypeEnum.BASIQ_NEW_ACCOUNTS,
9823
9700
  UserEventTypeTypeEnum.BASIQ_AUTHORIZATION_FAIL
9824
9701
  ];
9825
- BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
9826
- BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
9827
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, decorators: [{
9702
+ BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
9703
+ BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
9704
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, decorators: [{
9828
9705
  type: Injectable,
9829
9706
  args: [{
9830
9707
  providedIn: 'root'
@@ -9934,9 +9811,9 @@ BasiqService.basiqApiUrl = 'https://au-api.basiq.io';
9934
9811
  * Basiq does not provide a hook, so we have to check job status manually every x seconds
9935
9812
  */
9936
9813
  BasiqService.bankCredintialsCheckInterval = 3000;
9937
- BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
9938
- BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, providedIn: 'root' });
9939
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, decorators: [{
9814
+ 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 });
9815
+ BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, providedIn: 'root' });
9816
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, decorators: [{
9940
9817
  type: Injectable,
9941
9818
  args: [{
9942
9819
  providedIn: 'root'
@@ -9971,9 +9848,9 @@ class BasiqTokenService extends RestService$1 {
9971
9848
  return this.cacheSubject.asObservable();
9972
9849
  }
9973
9850
  }
9974
- BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
9975
- BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
9976
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, decorators: [{
9851
+ BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
9852
+ BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
9853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, decorators: [{
9977
9854
  type: Injectable,
9978
9855
  args: [{
9979
9856
  providedIn: 'root'
@@ -9992,9 +9869,7 @@ class BasiqTokenInterceptor {
9992
9869
  if (!request.url.includes(BasiqService.basiqApiUrl)) {
9993
9870
  return next.handle(request);
9994
9871
  }
9995
- return this.basiqTokenService.getSingle().pipe(mergeMap((token) => {
9996
- return next.handle(this.addToken(request, token));
9997
- }));
9872
+ return this.basiqTokenService.getSingle().pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
9998
9873
  }
9999
9874
  addToken(request, token) {
10000
9875
  return request.clone({
@@ -10004,9 +9879,9 @@ class BasiqTokenInterceptor {
10004
9879
  });
10005
9880
  }
10006
9881
  }
10007
- BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
10008
- BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor });
10009
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
9882
+ BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
9883
+ BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor });
9884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
10010
9885
  type: Injectable
10011
9886
  }], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
10012
9887
 
@@ -10107,9 +9982,7 @@ class UserService {
10107
9982
  */
10108
9983
  search(email) {
10109
9984
  return this.http.get(`${this.environment.apiV2}/users/search?email=${email}`)
10110
- .pipe(map((userBase) => {
10111
- return plainToClass(User, userBase);
10112
- }));
9985
+ .pipe(map((userBase) => plainToClass(User, userBase)));
10113
9986
  }
10114
9987
  /**
10115
9988
  * Finish onboarding process
@@ -10182,9 +10055,9 @@ class UserService {
10182
10055
  });
10183
10056
  }
10184
10057
  }
10185
- UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10186
- UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, providedIn: 'root' });
10187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, decorators: [{
10058
+ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10059
+ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, providedIn: 'root' });
10060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, decorators: [{
10188
10061
  type: Injectable,
10189
10062
  args: [{
10190
10063
  providedIn: 'root'
@@ -10214,17 +10087,17 @@ class BasiqClientIdInterceptor {
10214
10087
  });
10215
10088
  }
10216
10089
  }
10217
- BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
10218
- BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor });
10219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
10090
+ BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
10091
+ BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor });
10092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
10220
10093
  type: Injectable
10221
10094
  }], ctorParameters: function () { return [{ type: UserService }]; } });
10222
10095
 
10223
10096
  class InterceptorsModule {
10224
10097
  }
10225
- InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10226
- InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule });
10227
- InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, providers: [
10098
+ InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10099
+ InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule });
10100
+ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, providers: [
10228
10101
  {
10229
10102
  provide: HTTP_INTERCEPTORS,
10230
10103
  useClass: CorelogicInterceptor,
@@ -10262,7 +10135,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
10262
10135
  multi: true
10263
10136
  }
10264
10137
  ] });
10265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, decorators: [{
10138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, decorators: [{
10266
10139
  type: NgModule,
10267
10140
  args: [{
10268
10141
  providers: [
@@ -10320,12 +10193,12 @@ class TtCoreModule {
10320
10193
  };
10321
10194
  }
10322
10195
  }
10323
- TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10324
- TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10196
+ TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10197
+ TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10325
10198
  InterceptorsModule] });
10326
- TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10199
+ TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
10327
10200
  InterceptorsModule] });
10328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, decorators: [{
10201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, decorators: [{
10329
10202
  type: NgModule,
10330
10203
  args: [{
10331
10204
  declarations: [],
@@ -11918,9 +11791,7 @@ class AddressService {
11918
11791
  getCountries() {
11919
11792
  if (!this._countries) {
11920
11793
  this.http.get(`${this.environment.apiV2}/countries`)
11921
- .pipe(map((response) => {
11922
- return response['hydra:member'].map((item) => plainToClass(Country, item));
11923
- }))
11794
+ .pipe(map((response) => response['hydra:member'].map((item) => plainToClass(Country, item))))
11924
11795
  .subscribe((countries) => {
11925
11796
  this._countries = countries;
11926
11797
  this.countriesSubject.next(countries);
@@ -11929,9 +11800,9 @@ class AddressService {
11929
11800
  return this.countriesSubject.asObservable();
11930
11801
  }
11931
11802
  }
11932
- AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11933
- AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, providedIn: 'root' });
11934
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, decorators: [{
11803
+ 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 });
11804
+ AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, providedIn: 'root' });
11805
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, decorators: [{
11935
11806
  type: Injectable,
11936
11807
  args: [{
11937
11808
  providedIn: 'root'
@@ -11985,9 +11856,9 @@ class BankAccountService extends RestService$1 {
11985
11856
  });
11986
11857
  }
11987
11858
  }
11988
- BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11989
- BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, providedIn: 'root' });
11990
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, decorators: [{
11859
+ BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11860
+ BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, providedIn: 'root' });
11861
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, decorators: [{
11991
11862
  type: Injectable,
11992
11863
  args: [{
11993
11864
  providedIn: 'root'
@@ -12008,16 +11879,13 @@ class BankTransactionService extends RestService$1 {
12008
11879
  listenEvents() {
12009
11880
  this.listenBankTransactionsImport();
12010
11881
  }
12011
- ;
12012
11882
  /**
12013
11883
  * Get list of bank transactions for provided financial year
12014
11884
  * @TODO VIK/Alex: consider to use one endpoint to get bank transactions for 2 fin years
12015
11885
  */
12016
11886
  getByYear(finYear) {
12017
11887
  return this.http.get(`${this.environment.apiV2}/bank-transactions?financialYear=${finYear}`)
12018
- .pipe(map((bankTransactionsBase) => {
12019
- return bankTransactionsBase.map((bankTransaction) => plainToClass(BankTransaction, bankTransaction));
12020
- }));
11888
+ .pipe(map((bankTransactionsBase) => bankTransactionsBase.map((bankTransaction) => plainToClass(BankTransaction, bankTransaction))));
12021
11889
  }
12022
11890
  /**
12023
11891
  * import bank transactions from csv file
@@ -12052,9 +11920,9 @@ class BankTransactionService extends RestService$1 {
12052
11920
  });
12053
11921
  }
12054
11922
  }
12055
- BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12056
- BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
12057
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, decorators: [{
11923
+ BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11924
+ BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
11925
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, decorators: [{
12058
11926
  type: Injectable,
12059
11927
  args: [{
12060
11928
  providedIn: 'root'
@@ -12075,16 +11943,15 @@ class BankService extends RestService$1 {
12075
11943
  }
12076
11944
  get() {
12077
11945
  return super.get()
12078
- .pipe(map((banks) => {
12079
- // exclude basiq banks without login fields (basiq may return broken banks without loginFields)
12080
- // @TODO Vik/Nikita: do it on backend
12081
- return banks.filter((bank) => bank.isManual || (!!bank.externalId && !!bank.loginFields));
12082
- }));
11946
+ .pipe(map((banks) =>
11947
+ // exclude basiq banks without login fields (basiq may return broken banks without loginFields)
11948
+ // @TODO Vik/Nikita: do it on backend
11949
+ banks.filter((bank) => bank.isManual || (!!bank.externalId && !!bank.loginFields))));
12083
11950
  }
12084
11951
  }
12085
- BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12086
- BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, providedIn: 'root' });
12087
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, decorators: [{
11952
+ BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11953
+ BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, providedIn: 'root' });
11954
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, decorators: [{
12088
11955
  type: Injectable,
12089
11956
  args: [{
12090
11957
  providedIn: 'root'
@@ -12104,9 +11971,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
12104
11971
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
12105
11972
  }
12106
11973
  }
12107
- ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12108
- ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
12109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
11974
+ ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11975
+ ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
11976
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
12110
11977
  type: Injectable,
12111
11978
  args: [{
12112
11979
  providedIn: 'root'
@@ -12146,9 +12013,9 @@ class ChartAccountsService extends RestService$1 {
12146
12013
  }));
12147
12014
  }
12148
12015
  }
12149
- ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12150
- ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
12151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, decorators: [{
12016
+ ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12017
+ ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
12018
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, decorators: [{
12152
12019
  type: Injectable,
12153
12020
  args: [{
12154
12021
  providedIn: 'root'
@@ -12178,7 +12045,7 @@ class ChatService extends RestService$1 {
12178
12045
  */
12179
12046
  listenChats() {
12180
12047
  this.sseService.on(`chats`).subscribe((chatBase) => {
12181
- let array = this.cache.toArray();
12048
+ const array = this.cache.toArray();
12182
12049
  // chat instance from event
12183
12050
  const eventChat = plainToClass(Chat, chatBase);
12184
12051
  // chat instance from cache
@@ -12217,9 +12084,9 @@ class ChatService extends RestService$1 {
12217
12084
  });
12218
12085
  }
12219
12086
  }
12220
- ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12221
- ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, providedIn: 'root' });
12222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, decorators: [{
12087
+ 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 });
12088
+ ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, providedIn: 'root' });
12089
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, decorators: [{
12223
12090
  type: Injectable,
12224
12091
  args: [{
12225
12092
  providedIn: 'root'
@@ -12276,9 +12143,9 @@ class MessageService extends RestService$1 {
12276
12143
  });
12277
12144
  }
12278
12145
  }
12279
- MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12280
- MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, providedIn: 'root' });
12281
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, decorators: [{
12146
+ 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 });
12147
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, providedIn: 'root' });
12148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, decorators: [{
12282
12149
  type: Injectable,
12283
12150
  args: [{
12284
12151
  providedIn: 'root'
@@ -12344,14 +12211,12 @@ class MessageDocumentService extends RestService$1 {
12344
12211
  * Upload multiple files to chat
12345
12212
  */
12346
12213
  addBatch(chatId, files) {
12347
- return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => {
12348
- return docsBase.map((docBase) => plainToClass(MessageDocument, docBase));
12349
- }));
12214
+ return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
12350
12215
  }
12351
12216
  }
12352
- MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12353
- MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
12354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, decorators: [{
12217
+ MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12218
+ MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
12219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, decorators: [{
12355
12220
  type: Injectable,
12356
12221
  args: [{
12357
12222
  providedIn: 'root'
@@ -12411,9 +12276,7 @@ class DepreciationService extends RestService$1 {
12411
12276
  }
12412
12277
  getOpenBalance(depreciation) {
12413
12278
  return this.http.post(`${this.apiUrl}/opening-balance?financialYear=${new FinancialYear().year}`, depreciation)
12414
- .pipe(map((response) => {
12415
- return response || 0;
12416
- }));
12279
+ .pipe(map((response) => response || 0));
12417
12280
  }
12418
12281
  listenReceiptAdded() {
12419
12282
  this.eventDispatcherService.on(AppEventTypeEnum.DEPRECIATION_RECEIPT_CREATED).subscribe((receipt) => {
@@ -12476,9 +12339,9 @@ class DepreciationService extends RestService$1 {
12476
12339
  });
12477
12340
  }
12478
12341
  }
12479
- DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12480
- DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, providedIn: 'root' });
12481
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, decorators: [{
12342
+ 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 });
12343
+ DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, providedIn: 'root' });
12344
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, decorators: [{
12482
12345
  type: Injectable,
12483
12346
  args: [{
12484
12347
  providedIn: 'root'
@@ -12501,9 +12364,7 @@ class DepreciationCapitalProjectService {
12501
12364
  this.cacheSubject.next([]);
12502
12365
  this.http.get(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects`)
12503
12366
  .subscribe((capitalProjectsBase) => {
12504
- this.cache = capitalProjectsBase.map((capitalProjectBase) => {
12505
- return plainToClass(DepreciationCapitalProject, capitalProjectBase);
12506
- });
12367
+ this.cache = capitalProjectsBase.map((capitalProjectBase) => plainToClass(DepreciationCapitalProject, capitalProjectBase));
12507
12368
  this.cacheSubject.next(this.cache);
12508
12369
  });
12509
12370
  return this.cacheSubject.asObservable();
@@ -12530,9 +12391,9 @@ class DepreciationCapitalProjectService {
12530
12391
  }));
12531
12392
  }
12532
12393
  }
12533
- DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12534
- DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
12535
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
12394
+ DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12395
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
12396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
12536
12397
  type: Injectable,
12537
12398
  args: [{
12538
12399
  providedIn: 'root'
@@ -12598,9 +12459,9 @@ class ReceiptService {
12598
12459
  return plainToClass(this.modelClass, data);
12599
12460
  }
12600
12461
  }
12601
- ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12602
- ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, providedIn: 'root' });
12603
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, decorators: [{
12462
+ ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12463
+ ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, providedIn: 'root' });
12464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, decorators: [{
12604
12465
  type: Injectable,
12605
12466
  args: [{
12606
12467
  providedIn: 'root'
@@ -12629,9 +12490,9 @@ class DepreciationReceiptService extends ReceiptService {
12629
12490
  this.listenEvents();
12630
12491
  }
12631
12492
  }
12632
- DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12633
- DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
12634
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, decorators: [{
12493
+ DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12494
+ DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
12495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, decorators: [{
12635
12496
  type: Injectable,
12636
12497
  args: [{
12637
12498
  providedIn: 'root'
@@ -12674,9 +12535,7 @@ class RestService {
12674
12535
  */
12675
12536
  findById(id) {
12676
12537
  return this.get()
12677
- .pipe(map((items) => {
12678
- return items.find((item) => item['id'] === id);
12679
- }));
12538
+ .pipe(map((items) => items.find((item) => item['id'] === id)));
12680
12539
  }
12681
12540
  find(id) {
12682
12541
  return this.cache.find((item) => item['id'] === id);
@@ -12713,7 +12572,7 @@ class RestService {
12713
12572
  postForm(file, params = {}) {
12714
12573
  const formData = new FormData();
12715
12574
  formData.append('file', file);
12716
- for (let key in params) {
12575
+ for (const key in params) {
12717
12576
  formData.append(key, params[key]);
12718
12577
  }
12719
12578
  return this.create(formData);
@@ -12818,9 +12677,7 @@ class RestService {
12818
12677
  return this.http.get(`${this.environment.apiV2}/${this.url}`)
12819
12678
  .pipe(map((response) => {
12820
12679
  const items = (this.isHydra ? response['hydra:member'] : response)
12821
- .map((item) => {
12822
- return this.createModelInstance(item);
12823
- });
12680
+ .map((item) => this.createModelInstance(item));
12824
12681
  this.cache = items;
12825
12682
  this.updateCache();
12826
12683
  return items;
@@ -12845,9 +12702,9 @@ class RestService {
12845
12702
  */
12846
12703
  listenEvents() { }
12847
12704
  }
12848
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
12849
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, providedIn: 'root' });
12850
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, decorators: [{
12705
+ 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 });
12706
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, providedIn: 'root' });
12707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, decorators: [{
12851
12708
  type: Injectable,
12852
12709
  args: [{
12853
12710
  providedIn: 'root'
@@ -12864,9 +12721,9 @@ class DocumentService extends RestService {
12864
12721
  this.modelClass = Document;
12865
12722
  }
12866
12723
  }
12867
- DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12868
- DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, providedIn: 'root' });
12869
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, decorators: [{
12724
+ DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12725
+ DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, providedIn: 'root' });
12726
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, decorators: [{
12870
12727
  type: Injectable,
12871
12728
  args: [{
12872
12729
  providedIn: 'root'
@@ -12932,9 +12789,9 @@ class DocumentFolderService extends RestService {
12932
12789
  }));
12933
12790
  }
12934
12791
  }
12935
- DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12936
- DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
12937
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, decorators: [{
12792
+ DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12793
+ DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
12794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, decorators: [{
12938
12795
  type: Injectable,
12939
12796
  args: [{
12940
12797
  providedIn: 'root'
@@ -13009,9 +12866,9 @@ FacebookService.authOptions = {
13009
12866
  auth_type: 'rerequest',
13010
12867
  return_scopes: true
13011
12868
  };
13012
- FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13013
- FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, providedIn: 'root' });
13014
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, decorators: [{
12869
+ FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12870
+ FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, providedIn: 'root' });
12871
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, decorators: [{
13015
12872
  type: Injectable,
13016
12873
  args: [{
13017
12874
  providedIn: 'root'
@@ -13079,9 +12936,9 @@ class GoogleService {
13079
12936
  google.accounts.id.disableAutoSelect();
13080
12937
  }
13081
12938
  }
13082
- GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13083
- GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, providedIn: 'root' });
13084
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, decorators: [{
12939
+ GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12940
+ GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, providedIn: 'root' });
12941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, decorators: [{
13085
12942
  type: Injectable,
13086
12943
  args: [{
13087
12944
  providedIn: 'root'
@@ -13110,9 +12967,9 @@ class FileService extends RestService$1 {
13110
12967
  return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
13111
12968
  }
13112
12969
  }
13113
- FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13114
- FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, providedIn: 'root' });
13115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, decorators: [{
12970
+ FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12971
+ FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, providedIn: 'root' });
12972
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, decorators: [{
13116
12973
  type: Injectable,
13117
12974
  args: [{
13118
12975
  providedIn: 'root'
@@ -13129,9 +12986,9 @@ class ClientIncomeTypesService extends RestService$1 {
13129
12986
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
13130
12987
  }
13131
12988
  }
13132
- ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13133
- ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
13134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
12989
+ ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12990
+ ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
12991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
13135
12992
  type: Injectable,
13136
12993
  args: [{
13137
12994
  providedIn: 'root'
@@ -13167,9 +13024,7 @@ class ClientInviteService extends RestService {
13167
13024
  const formData = new FormData();
13168
13025
  formData.append('file', file);
13169
13026
  return this.http.post(`${this.environment.apiV2}/${this.url}/import`, formData)
13170
- .pipe(map((clientInvite) => {
13171
- return clientInvite;
13172
- }));
13027
+ .pipe(map((clientInvite) => clientInvite));
13173
13028
  }
13174
13029
  /**
13175
13030
  * Accept client invitation from firm to user
@@ -13246,9 +13101,9 @@ class ClientInviteService extends RestService {
13246
13101
  });
13247
13102
  }
13248
13103
  }
13249
- ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13250
- ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
13251
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, decorators: [{
13104
+ ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13105
+ ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
13106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, decorators: [{
13252
13107
  type: Injectable,
13253
13108
  args: [{
13254
13109
  providedIn: 'root'
@@ -13270,19 +13125,13 @@ class ClientMovementService extends RestService {
13270
13125
  * @TODO BaseRestService should return collection
13271
13126
  */
13272
13127
  getAll() {
13273
- return this.get().pipe(map((clientMovements) => {
13274
- return new ClientMovementCollection(clientMovements);
13275
- }));
13128
+ return this.get().pipe(map((clientMovements) => new ClientMovementCollection(clientMovements)));
13276
13129
  }
13277
13130
  getActive() {
13278
- return this.getAll().pipe(map((clientMovements) => {
13279
- return clientMovements.active;
13280
- }));
13131
+ return this.getAll().pipe(map((clientMovements) => clientMovements.active));
13281
13132
  }
13282
13133
  getActiveByFirmType(type) {
13283
- return this.getActive().pipe(map((clientMovements) => {
13284
- return clientMovements.getByFirmType(type);
13285
- }));
13134
+ return this.getActive().pipe(map((clientMovements) => clientMovements.getByFirmType(type)));
13286
13135
  }
13287
13136
  update(movement) {
13288
13137
  // extend base 'add' method and pass into it movement without id
@@ -13327,9 +13176,9 @@ class ClientMovementService extends RestService {
13327
13176
  });
13328
13177
  }
13329
13178
  }
13330
- ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13331
- ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
13332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, decorators: [{
13179
+ ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13180
+ ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
13181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, decorators: [{
13333
13182
  type: Injectable,
13334
13183
  args: [{
13335
13184
  providedIn: 'root'
@@ -13358,9 +13207,9 @@ class EmployeeService extends RestService {
13358
13207
  }));
13359
13208
  }
13360
13209
  }
13361
- EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13362
- EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, providedIn: 'root' });
13363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, decorators: [{
13210
+ EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13211
+ EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, providedIn: 'root' });
13212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, decorators: [{
13364
13213
  type: Injectable,
13365
13214
  args: [{
13366
13215
  providedIn: 'root'
@@ -13381,9 +13230,7 @@ class EmployeeInviteService extends RestService {
13381
13230
  const formData = new FormData();
13382
13231
  formData.append('file', file);
13383
13232
  return this.http.post(`${this.environment.apiV2}/${this.url}/import`, formData)
13384
- .pipe(map((employeeInvite) => {
13385
- return employeeInvite;
13386
- }));
13233
+ .pipe(map((employeeInvite) => employeeInvite));
13387
13234
  }
13388
13235
  /**
13389
13236
  * Resend invitation from firm to client
@@ -13403,9 +13250,9 @@ class EmployeeInviteService extends RestService {
13403
13250
  }));
13404
13251
  }
13405
13252
  }
13406
- EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13407
- EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
13408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, decorators: [{
13253
+ EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13254
+ EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
13255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, decorators: [{
13409
13256
  type: Injectable,
13410
13257
  args: [{
13411
13258
  providedIn: 'root'
@@ -13430,9 +13277,9 @@ class ClientPortfolioReportService {
13430
13277
  }));
13431
13278
  }
13432
13279
  }
13433
- ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13434
- ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
13435
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
13280
+ 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 });
13281
+ ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
13282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
13436
13283
  type: Injectable,
13437
13284
  args: [{
13438
13285
  providedIn: 'root'
@@ -13455,16 +13302,12 @@ class FirmService {
13455
13302
  */
13456
13303
  register(data) {
13457
13304
  return this.http.post(`${this.environment.apiV2}/firms/registration`, data)
13458
- .pipe(map((firm) => {
13459
- return plainToClass(Firm, firm);
13460
- }));
13305
+ .pipe(map((firm) => plainToClass(Firm, firm)));
13461
13306
  }
13462
13307
  get() {
13463
13308
  if (!this.firm) {
13464
13309
  this.http.get(`${this.environment.apiV2}/firms/current`)
13465
- .pipe(map((firm) => {
13466
- return plainToClass(Firm, firm);
13467
- }))
13310
+ .pipe(map((firm) => plainToClass(Firm, firm)))
13468
13311
  .subscribe((firm) => {
13469
13312
  this.firm = firm;
13470
13313
  this.firmSubject.next(this.firm);
@@ -13484,14 +13327,10 @@ class FirmService {
13484
13327
  */
13485
13328
  getAll() {
13486
13329
  return this.http.get(`${this.environment.apiV2}/firms`)
13487
- .pipe(map((response) => {
13488
- return response['hydra:member'].map((firmBase) => plainToClass(Firm, firmBase));
13489
- }));
13330
+ .pipe(map((response) => response['hydra:member'].map((firmBase) => plainToClass(Firm, firmBase))));
13490
13331
  }
13491
13332
  getByType(type) {
13492
- return this.getAll().pipe(map((firms) => {
13493
- return firms.filter((firm) => firm.type === type);
13494
- }));
13333
+ return this.getAll().pipe(map((firms) => firms.filter((firm) => firm.type === type)));
13495
13334
  }
13496
13335
  updatePhoto(firm, photo) {
13497
13336
  return this.http.post(`${this.environment.apiV2}/firms/photo?_method=PUT`, photo)
@@ -13502,9 +13341,9 @@ class FirmService {
13502
13341
  }));
13503
13342
  }
13504
13343
  }
13505
- FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13506
- FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, providedIn: 'root' });
13507
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, decorators: [{
13344
+ 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 });
13345
+ FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, providedIn: 'root' });
13346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, decorators: [{
13508
13347
  type: Injectable,
13509
13348
  args: [{
13510
13349
  providedIn: 'root'
@@ -13577,9 +13416,9 @@ class IncomeSourceForecastService extends RestService {
13577
13416
  }).flat();
13578
13417
  }
13579
13418
  }
13580
- IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13581
- IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
13582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
13419
+ IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13420
+ IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
13421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
13583
13422
  type: Injectable,
13584
13423
  args: [{
13585
13424
  providedIn: 'root'
@@ -13649,9 +13488,9 @@ class SalaryForecastService extends RestService {
13649
13488
  }).flat();
13650
13489
  }
13651
13490
  }
13652
- SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13653
- SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
13654
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, decorators: [{
13491
+ SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13492
+ SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
13493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, decorators: [{
13655
13494
  type: Injectable,
13656
13495
  args: [{
13657
13496
  providedIn: 'root'
@@ -13727,9 +13566,9 @@ class SoleForecastService extends RestService {
13727
13566
  });
13728
13567
  }
13729
13568
  }
13730
- SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13731
- SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
13732
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, decorators: [{
13569
+ SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13570
+ SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
13571
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, decorators: [{
13733
13572
  type: Injectable,
13734
13573
  args: [{
13735
13574
  providedIn: 'root'
@@ -13755,9 +13594,7 @@ class IncomeSourceService extends RestService {
13755
13594
  */
13756
13595
  getTaxCalculation(salaryForecast) {
13757
13596
  return this.http.post(`${this.environment.apiV2}/${this.url}/tax-calculation`, salaryForecast)
13758
- .pipe(map((response) => {
13759
- return plainToClass(SalaryForecast, response);
13760
- }));
13597
+ .pipe(map((response) => plainToClass(SalaryForecast, response)));
13761
13598
  }
13762
13599
  /**
13763
13600
  * Add batch of income sources
@@ -13808,9 +13645,7 @@ class IncomeSourceService extends RestService {
13808
13645
  if (!this.incomeSourceTypes) {
13809
13646
  this.incomeSourceTypes = [];
13810
13647
  this.http.get(`${this.environment.apiV2}/income-source-types`)
13811
- .pipe(map((response) => {
13812
- return response.map((item) => plainToClass(IncomeSourceType, item));
13813
- }))
13648
+ .pipe(map((response) => response.map((item) => plainToClass(IncomeSourceType, item))))
13814
13649
  .subscribe((otherIncomesTypes) => {
13815
13650
  this.incomeSourceTypes = otherIncomesTypes;
13816
13651
  this.incomeSourceTypeSubject.next(this.incomeSourceTypes);
@@ -13828,9 +13663,9 @@ class IncomeSourceService extends RestService {
13828
13663
  });
13829
13664
  }
13830
13665
  }
13831
- IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13832
- IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
13833
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, decorators: [{
13666
+ IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13667
+ IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
13668
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, decorators: [{
13834
13669
  type: Injectable,
13835
13670
  args: [{
13836
13671
  providedIn: 'root'
@@ -13852,9 +13687,7 @@ class BorrowingExpenseService {
13852
13687
  get() {
13853
13688
  if (!this._borrowingExpenses) {
13854
13689
  this.http.get(`${this.environment.apiV2}/borrowing-expenses`)
13855
- .pipe(map((response) => {
13856
- return response.map((item) => plainToClass(BorrowingExpense, item));
13857
- }))
13690
+ .pipe(map((response) => response.map((item) => plainToClass(BorrowingExpense, item))))
13858
13691
  .subscribe((borrowingExpenses) => {
13859
13692
  this._borrowingExpenses = borrowingExpenses;
13860
13693
  this.borrowingExpensesSubject.next(this._borrowingExpenses);
@@ -13893,9 +13726,9 @@ class BorrowingExpenseService {
13893
13726
  }));
13894
13727
  }
13895
13728
  }
13896
- BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13897
- BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
13898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, decorators: [{
13729
+ 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 });
13730
+ BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
13731
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, decorators: [{
13899
13732
  type: Injectable,
13900
13733
  args: [{
13901
13734
  providedIn: 'root'
@@ -13932,9 +13765,7 @@ class LoanService extends RestService$1 {
13932
13765
  * Calculate loan payments
13933
13766
  */
13934
13767
  calculateLoanPayments(loan) {
13935
- return this.http.post(`${this.apiUrl}/calculation`, loan).pipe(map((response) => {
13936
- return plainToClass(Loan, response);
13937
- }));
13768
+ return this.http.post(`${this.apiUrl}/calculation`, loan).pipe(map((response) => plainToClass(Loan, response)));
13938
13769
  }
13939
13770
  /**
13940
13771
  * Add new loan payout
@@ -13977,9 +13808,9 @@ class LoanService extends RestService$1 {
13977
13808
  }));
13978
13809
  }
13979
13810
  }
13980
- LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13981
- LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, providedIn: 'root' });
13982
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, decorators: [{
13811
+ LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13812
+ LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, providedIn: 'root' });
13813
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, decorators: [{
13983
13814
  type: Injectable,
13984
13815
  args: [{
13985
13816
  providedIn: 'root'
@@ -13998,9 +13829,9 @@ class PropertyCategoryService extends RestService$1 {
13998
13829
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13999
13830
  }
14000
13831
  }
14001
- PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14002
- PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
14003
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, decorators: [{
13832
+ PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13833
+ PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
13834
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, decorators: [{
14004
13835
  type: Injectable,
14005
13836
  args: [{
14006
13837
  providedIn: 'root'
@@ -14016,9 +13847,9 @@ class PropertyCategoryMovementService extends RestService$1 {
14016
13847
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14017
13848
  }
14018
13849
  }
14019
- PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14020
- PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
14021
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
13850
+ PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13851
+ PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
13852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
14022
13853
  type: Injectable,
14023
13854
  args: [{
14024
13855
  providedIn: 'root'
@@ -14060,9 +13891,9 @@ class PropertyDocumentService extends RestService$1 {
14060
13891
  });
14061
13892
  }
14062
13893
  }
14063
- PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14064
- PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
14065
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, decorators: [{
13894
+ PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13895
+ PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
13896
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, decorators: [{
14066
13897
  type: Injectable,
14067
13898
  args: [{
14068
13899
  providedIn: 'root'
@@ -14079,9 +13910,9 @@ class TaxExemptionService extends RestService$1 {
14079
13910
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
14080
13911
  }
14081
13912
  }
14082
- TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14083
- TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
14084
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, decorators: [{
13913
+ TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13914
+ TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
13915
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, decorators: [{
14085
13916
  type: Injectable,
14086
13917
  args: [{
14087
13918
  providedIn: 'root'
@@ -14097,9 +13928,9 @@ class PropertySaleService extends RestService$1 {
14097
13928
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14098
13929
  }
14099
13930
  }
14100
- PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14101
- PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
14102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, decorators: [{
13931
+ PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13932
+ PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
13933
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, decorators: [{
14103
13934
  type: Injectable,
14104
13935
  args: [{
14105
13936
  providedIn: 'root'
@@ -14146,9 +13977,9 @@ class PropertyShareService extends RestService$1 {
14146
13977
  this.listenCSE(PropertySale, ['post', 'delete'], this.resetCache);
14147
13978
  }
14148
13979
  }
14149
- PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14150
- PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
14151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, decorators: [{
13980
+ PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13981
+ PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
13982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, decorators: [{
14152
13983
  type: Injectable,
14153
13984
  args: [{
14154
13985
  providedIn: 'root'
@@ -14245,9 +14076,9 @@ class PropertyService extends RestService$1 {
14245
14076
  }));
14246
14077
  }
14247
14078
  }
14248
- PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14249
- PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, providedIn: 'root' });
14250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, decorators: [{
14079
+ PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14080
+ PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, providedIn: 'root' });
14081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, decorators: [{
14251
14082
  type: Injectable,
14252
14083
  args: [{
14253
14084
  providedIn: 'root'
@@ -14291,9 +14122,9 @@ class ServiceNotificationService extends RestService {
14291
14122
  });
14292
14123
  }
14293
14124
  }
14294
- ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
14295
- ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
14296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, decorators: [{
14125
+ 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 });
14126
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
14127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, decorators: [{
14297
14128
  type: Injectable,
14298
14129
  args: [{
14299
14130
  providedIn: 'root'
@@ -14338,13 +14169,13 @@ class SoleBusinessService extends RestService {
14338
14169
  if (error.status === 422) {
14339
14170
  this.toastService.error(error.error.violations[0].message);
14340
14171
  }
14341
- return throwError$1(error);
14172
+ return throwError(error);
14342
14173
  }));
14343
14174
  }
14344
14175
  }
14345
- SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14346
- SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
14347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, decorators: [{
14176
+ SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14177
+ SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
14178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, decorators: [{
14348
14179
  type: Injectable,
14349
14180
  args: [{
14350
14181
  providedIn: 'root'
@@ -14359,9 +14190,9 @@ class SoleBusinessActivityService extends RestService {
14359
14190
  this.isHydra = true;
14360
14191
  }
14361
14192
  }
14362
- SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14363
- SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
14364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
14193
+ SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14194
+ SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
14195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
14365
14196
  type: Injectable,
14366
14197
  args: [{
14367
14198
  providedIn: 'root'
@@ -14387,9 +14218,9 @@ class SoleBusinessLossService extends RestService {
14387
14218
  });
14388
14219
  }
14389
14220
  }
14390
- SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14391
- SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
14392
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, decorators: [{
14221
+ SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14222
+ SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
14223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, decorators: [{
14393
14224
  type: Injectable,
14394
14225
  args: [{
14395
14226
  providedIn: 'root'
@@ -14407,9 +14238,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
14407
14238
  this.isHydra = true;
14408
14239
  }
14409
14240
  }
14410
- SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14411
- SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
14412
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
14241
+ SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14242
+ SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
14243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
14413
14244
  type: Injectable,
14414
14245
  args: [{
14415
14246
  providedIn: 'root'
@@ -14424,9 +14255,9 @@ class SoleContactService extends RestService {
14424
14255
  this.isHydra = true;
14425
14256
  }
14426
14257
  }
14427
- SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14428
- SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, providedIn: 'root' });
14429
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, decorators: [{
14258
+ SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14259
+ SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, providedIn: 'root' });
14260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, decorators: [{
14430
14261
  type: Injectable,
14431
14262
  args: [{
14432
14263
  providedIn: 'root'
@@ -14471,7 +14302,7 @@ class SoleDepreciationMethodService {
14471
14302
  return this.cache;
14472
14303
  }), catchError((error) => {
14473
14304
  this.toastService.error(error.error['hydra:description']);
14474
- return throwError$1(error);
14305
+ return throwError(error);
14475
14306
  }));
14476
14307
  }
14477
14308
  listenSoleDetailsChanges() {
@@ -14482,9 +14313,9 @@ class SoleDepreciationMethodService {
14482
14313
  });
14483
14314
  }
14484
14315
  }
14485
- SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
14486
- SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
14487
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
14316
+ 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 });
14317
+ SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
14318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
14488
14319
  type: Injectable,
14489
14320
  args: [{
14490
14321
  providedIn: 'root'
@@ -14537,9 +14368,9 @@ class SoleDetailsService {
14537
14368
  }));
14538
14369
  }
14539
14370
  }
14540
- SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
14541
- SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
14542
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, decorators: [{
14371
+ 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 });
14372
+ SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
14373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, decorators: [{
14543
14374
  type: Injectable,
14544
14375
  args: [{
14545
14376
  providedIn: 'root'
@@ -14612,9 +14443,9 @@ class SoleInvoiceService extends RestService {
14612
14443
  });
14613
14444
  }
14614
14445
  }
14615
- SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14616
- SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
14617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, decorators: [{
14446
+ SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14447
+ SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
14448
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, decorators: [{
14618
14449
  type: Injectable,
14619
14450
  args: [{
14620
14451
  providedIn: 'root'
@@ -14629,9 +14460,9 @@ class SoleInvoiceTemplateService extends RestService {
14629
14460
  this.isHydra = true;
14630
14461
  }
14631
14462
  }
14632
- SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14633
- SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
14634
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
14463
+ SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14464
+ SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
14465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
14635
14466
  type: Injectable,
14636
14467
  args: [{
14637
14468
  providedIn: 'root'
@@ -14646,9 +14477,9 @@ class BasReportService extends RestService {
14646
14477
  this.isHydra = true;
14647
14478
  }
14648
14479
  }
14649
- BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14650
- BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, providedIn: 'root' });
14651
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, decorators: [{
14480
+ BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14481
+ BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, providedIn: 'root' });
14482
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, decorators: [{
14652
14483
  type: Injectable,
14653
14484
  args: [{
14654
14485
  providedIn: 'root'
@@ -14674,9 +14505,9 @@ class ServicePaymentService extends RestService$1 {
14674
14505
  return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
14675
14506
  }
14676
14507
  }
14677
- ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14678
- ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
14679
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, decorators: [{
14508
+ ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14509
+ ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
14510
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, decorators: [{
14680
14511
  type: Injectable,
14681
14512
  args: [{
14682
14513
  providedIn: 'root'
@@ -14724,9 +14555,9 @@ class ServicePaymentMethodService extends RestService$1 {
14724
14555
  });
14725
14556
  }
14726
14557
  }
14727
- ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
14728
- ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
14729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
14558
+ 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 });
14559
+ ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
14560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
14730
14561
  type: Injectable,
14731
14562
  args: [{
14732
14563
  providedIn: 'root'
@@ -14749,9 +14580,9 @@ class ServicePriceService extends RestService$1 {
14749
14580
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
14750
14581
  }
14751
14582
  }
14752
- ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14753
- ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
14754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, decorators: [{
14583
+ ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14584
+ ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
14585
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, decorators: [{
14755
14586
  type: Injectable,
14756
14587
  args: [{
14757
14588
  providedIn: 'root'
@@ -14827,9 +14658,7 @@ class SubscriptionService extends RestService$1 {
14827
14658
  * Get difference between current subscription and selected new subscription
14828
14659
  */
14829
14660
  getProrationCost(subscription) {
14830
- return this.http.put(`${this.environment.apiV2}/service-subscriptions/${subscription.id}/proration-cost`, subscription).pipe(map((prorationCost) => {
14831
- return prorationCost;
14832
- }));
14661
+ return this.http.put(`${this.environment.apiV2}/service-subscriptions/${subscription.id}/proration-cost`, subscription).pipe(map((prorationCost) => prorationCost));
14833
14662
  }
14834
14663
  /**
14835
14664
  * Change subscription plan
@@ -14867,9 +14696,9 @@ class SubscriptionService extends RestService$1 {
14867
14696
  });
14868
14697
  }
14869
14698
  }
14870
- SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14871
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
14872
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, decorators: [{
14699
+ 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 });
14700
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
14701
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, decorators: [{
14873
14702
  type: Injectable,
14874
14703
  args: [{
14875
14704
  providedIn: 'root'
@@ -14889,9 +14718,9 @@ class ServiceProductService extends RestService$1 {
14889
14718
  this.isApiPlatform = true;
14890
14719
  }
14891
14720
  }
14892
- ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14893
- ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
14894
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, decorators: [{
14721
+ ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14722
+ ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
14723
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, decorators: [{
14895
14724
  type: Injectable,
14896
14725
  args: [{
14897
14726
  providedIn: 'root'
@@ -14923,9 +14752,9 @@ class TaxReviewHistoryService extends RestService {
14923
14752
  });
14924
14753
  }
14925
14754
  }
14926
- TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14927
- TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
14928
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
14755
+ TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14756
+ TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
14757
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
14929
14758
  type: Injectable,
14930
14759
  args: [{
14931
14760
  providedIn: 'root'
@@ -15014,9 +14843,9 @@ class TaxReviewService extends RestService {
15014
14843
  });
15015
14844
  }
15016
14845
  }
15017
- TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15018
- TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
15019
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, decorators: [{
14846
+ TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14847
+ TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
14848
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, decorators: [{
15020
14849
  type: Injectable,
15021
14850
  args: [{
15022
14851
  providedIn: 'root'
@@ -15073,9 +14902,9 @@ class TaxSummaryService {
15073
14902
  });
15074
14903
  }
15075
14904
  }
15076
- TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15077
- TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
15078
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, decorators: [{
14905
+ 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 });
14906
+ TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
14907
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, decorators: [{
15079
14908
  type: Injectable,
15080
14909
  args: [{
15081
14910
  providedIn: 'root'
@@ -15094,9 +14923,9 @@ class AllocationRuleService extends RestService$1 {
15094
14923
  this.isApiPlatform = true;
15095
14924
  }
15096
14925
  }
15097
- AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15098
- AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
15099
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, decorators: [{
14926
+ AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14927
+ AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
14928
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, decorators: [{
15100
14929
  type: Injectable,
15101
14930
  args: [{
15102
14931
  providedIn: 'root'
@@ -15146,9 +14975,7 @@ class TransactionAllocationService extends RestService {
15146
14975
  getByTransactions(transactions) {
15147
14976
  const ids = transactions.map((transaction) => transaction.id);
15148
14977
  return this.get()
15149
- .pipe(map((transactionAllocations) => {
15150
- return transactionAllocations.filter((allocation) => ids.includes(allocation.transaction.id));
15151
- }));
14978
+ .pipe(map((transactionAllocations) => transactionAllocations.filter((allocation) => ids.includes(allocation.transaction.id))));
15152
14979
  }
15153
14980
  listenEvents() {
15154
14981
  this.onTransactionsCreated();
@@ -15187,9 +15014,9 @@ class TransactionAllocationService extends RestService {
15187
15014
  });
15188
15015
  }
15189
15016
  }
15190
- TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15191
- TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
15192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, decorators: [{
15017
+ TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15018
+ TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
15019
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, decorators: [{
15193
15020
  type: Injectable,
15194
15021
  args: [{
15195
15022
  providedIn: 'root'
@@ -15215,9 +15042,9 @@ class TransactionReceiptService extends ReceiptService {
15215
15042
  this.listenEvents();
15216
15043
  }
15217
15044
  }
15218
- TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15219
- TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
15220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, decorators: [{
15045
+ TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
15046
+ TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
15047
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, decorators: [{
15221
15048
  type: Injectable,
15222
15049
  args: [{
15223
15050
  providedIn: 'root'
@@ -15298,41 +15125,31 @@ class TransactionService extends RestService {
15298
15125
  */
15299
15126
  getByPropertyId(propertyId) {
15300
15127
  return this.get()
15301
- .pipe(map((transactions) => {
15302
- return transactions.filter((transaction) => {
15303
- return transaction.property?.id === propertyId;
15304
- });
15305
- }));
15128
+ .pipe(map((transactions) => transactions.filter((transaction) => transaction.property?.id === propertyId)));
15306
15129
  }
15307
15130
  /**
15308
15131
  * get list of transactions with tank type 'Work'
15309
15132
  */
15310
15133
  getWorkTransactions() {
15311
15134
  return this.get()
15312
- .pipe(map((transactions) => {
15313
- return transactions.filter((transaction) => transaction.isWorkTank());
15314
- }));
15135
+ .pipe(map((transactions) => transactions.filter((transaction) => transaction.isWorkTank())));
15315
15136
  }
15316
15137
  /**
15317
15138
  * Get list of property holding costs (transactions related to vacant land property)
15318
15139
  */
15319
15140
  getPropertyHoldingCosts(propertyId) {
15320
15141
  return this.get()
15321
- .pipe(map((transactions) => {
15322
- return new TransactionCollection(transactions)
15323
- .filterBy('property.id', propertyId)
15324
- .filterBy('property.category.id', PropertyCategoryListEnum.VACANT_LAND)
15325
- .toArray();
15326
- }));
15142
+ .pipe(map((transactions) => new TransactionCollection(transactions)
15143
+ .filterBy('property.id', propertyId)
15144
+ .filterBy('property.category.id', PropertyCategoryListEnum.VACANT_LAND)
15145
+ .toArray()));
15327
15146
  }
15328
15147
  /**
15329
15148
  * get list of taxable transactions with tank type 'Work'
15330
15149
  */
15331
15150
  getTaxableWorkTransactions() {
15332
15151
  return this.getWorkTransactions()
15333
- .pipe(map((transactions) => {
15334
- return transactions.filter((transaction) => !!transaction.chartAccounts.taxReturnItem);
15335
- }));
15152
+ .pipe(map((transactions) => transactions.filter((transaction) => !!transaction.chartAccounts.taxReturnItem)));
15336
15153
  }
15337
15154
  /**
15338
15155
  * add multiple transactions
@@ -15536,9 +15353,9 @@ class TransactionService extends RestService {
15536
15353
  });
15537
15354
  }
15538
15355
  }
15539
- TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
15540
- TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, providedIn: 'root' });
15541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, decorators: [{
15356
+ TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
15357
+ TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, providedIn: 'root' });
15358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, decorators: [{
15542
15359
  type: Injectable,
15543
15360
  args: [{
15544
15361
  providedIn: 'root'
@@ -15567,9 +15384,9 @@ class TutorialVideoService {
15567
15384
  }
15568
15385
  TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
15569
15386
  TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
15570
- TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15571
- TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15572
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, decorators: [{
15387
+ 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 });
15388
+ TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
15389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, decorators: [{
15573
15390
  type: Injectable,
15574
15391
  args: [{
15575
15392
  providedIn: 'root'
@@ -15589,9 +15406,9 @@ class VehicleService extends RestService {
15589
15406
  this.modelClass = Vehicle;
15590
15407
  }
15591
15408
  }
15592
- VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15593
- VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, providedIn: 'root' });
15594
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, decorators: [{
15409
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15410
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, providedIn: 'root' });
15411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, decorators: [{
15595
15412
  type: Injectable,
15596
15413
  args: [{
15597
15414
  providedIn: 'root'
@@ -15663,9 +15480,9 @@ class VehicleClaimService extends RestService {
15663
15480
  combineLatest(batch$).subscribe();
15664
15481
  }
15665
15482
  }
15666
- VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15667
- VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
15668
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, decorators: [{
15483
+ VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15484
+ VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
15485
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, decorators: [{
15669
15486
  type: Injectable,
15670
15487
  args: [{
15671
15488
  providedIn: 'root'
@@ -15742,9 +15559,9 @@ class VehicleClaimDetailsService {
15742
15559
  this.update(vehicleClaimDetails).subscribe();
15743
15560
  }
15744
15561
  }
15745
- VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
15746
- VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
15747
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
15562
+ 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 });
15563
+ VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
15564
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
15748
15565
  type: Injectable,
15749
15566
  args: [{
15750
15567
  providedIn: 'root'
@@ -15764,9 +15581,9 @@ class VehicleLogbookService extends RestService {
15764
15581
  this.modelClass = VehicleLogbook;
15765
15582
  }
15766
15583
  }
15767
- VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15768
- VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
15769
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, decorators: [{
15584
+ VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15585
+ VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
15586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, decorators: [{
15770
15587
  type: Injectable,
15771
15588
  args: [{
15772
15589
  providedIn: 'root'
@@ -15783,9 +15600,9 @@ class AnnualClientDetailsService extends RestService$1 {
15783
15600
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
15784
15601
  }
15785
15602
  }
15786
- AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15787
- AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
15788
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
15603
+ AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15604
+ AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
15605
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
15789
15606
  type: Injectable,
15790
15607
  args: [{
15791
15608
  providedIn: 'root'
@@ -15807,9 +15624,7 @@ class OccupationService {
15807
15624
  getOccupations() {
15808
15625
  if (!this._occupations) {
15809
15626
  this.http.get(`${this.environment.apiV2}/occupations`)
15810
- .pipe(map((response) => {
15811
- return response.map((item) => plainToClass(Occupation, item));
15812
- }))
15627
+ .pipe(map((response) => response.map((item) => plainToClass(Occupation, item))))
15813
15628
  .subscribe((occupations) => {
15814
15629
  this._occupations = occupations;
15815
15630
  this.occupationsSubject.next(occupations);
@@ -15818,9 +15633,9 @@ class OccupationService {
15818
15633
  return this.occupationsSubject.asObservable();
15819
15634
  }
15820
15635
  }
15821
- OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15822
- OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, providedIn: 'root' });
15823
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, decorators: [{
15636
+ 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 });
15637
+ OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, providedIn: 'root' });
15638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, decorators: [{
15824
15639
  type: Injectable,
15825
15640
  args: [{
15826
15641
  providedIn: 'root'
@@ -15864,9 +15679,9 @@ class UserEventSettingService extends RestService {
15864
15679
  }));
15865
15680
  }
15866
15681
  }
15867
- UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15868
- UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
15869
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, decorators: [{
15682
+ UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15683
+ UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
15684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, decorators: [{
15870
15685
  type: Injectable,
15871
15686
  args: [{
15872
15687
  providedIn: 'root'
@@ -15881,9 +15696,9 @@ class UserEventTypeService extends RestService {
15881
15696
  this.isHydra = true;
15882
15697
  }
15883
15698
  }
15884
- UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15885
- UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
15886
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, decorators: [{
15699
+ UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15700
+ UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
15701
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, decorators: [{
15887
15702
  type: Injectable,
15888
15703
  args: [{
15889
15704
  providedIn: 'root'
@@ -15900,9 +15715,9 @@ class UsersInviteService extends RestService {
15900
15715
  this.url = 'users/invite';
15901
15716
  }
15902
15717
  }
15903
- UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15904
- UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
15905
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, decorators: [{
15718
+ UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15719
+ UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
15720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, decorators: [{
15906
15721
  type: Injectable,
15907
15722
  args: [{
15908
15723
  providedIn: 'root'
@@ -15918,10 +15733,13 @@ class HoldingService extends RestService$1 {
15918
15733
  this.isApiPlatform = true;
15919
15734
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15920
15735
  }
15736
+ listenEvents() {
15737
+ this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.resetCache);
15738
+ }
15921
15739
  }
15922
- HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15923
- HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, providedIn: 'root' });
15924
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, decorators: [{
15740
+ HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15741
+ HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, providedIn: 'root' });
15742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, decorators: [{
15925
15743
  type: Injectable,
15926
15744
  args: [{
15927
15745
  providedIn: 'root'
@@ -15938,9 +15756,9 @@ class HoldingTypeService extends RestService$1 {
15938
15756
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15939
15757
  }
15940
15758
  }
15941
- HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15942
- HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
15943
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, decorators: [{
15759
+ HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15760
+ HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
15761
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, decorators: [{
15944
15762
  type: Injectable,
15945
15763
  args: [{
15946
15764
  providedIn: 'root'
@@ -15957,9 +15775,9 @@ class HoldingSaleService extends RestService$1 {
15957
15775
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
15958
15776
  }
15959
15777
  }
15960
- HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15961
- HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
15962
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, decorators: [{
15778
+ HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15779
+ HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
15780
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, decorators: [{
15963
15781
  type: Injectable,
15964
15782
  args: [{
15965
15783
  providedIn: 'root'
@@ -16054,9 +15872,9 @@ class HoldingTypeExchangeService extends DataService {
16054
15872
  this.setCache(HoldingTypeExchanges);
16055
15873
  }
16056
15874
  }
16057
- HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16058
- HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
16059
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
15875
+ HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15876
+ HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
15877
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
16060
15878
  type: Injectable,
16061
15879
  args: [{
16062
15880
  providedIn: 'root'
@@ -16287,9 +16105,9 @@ class AccountSetupService {
16287
16105
  }));
16288
16106
  }
16289
16107
  }
16290
- AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }], target: i0.ɵɵFactoryTarget.Injectable });
16291
- AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
16292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, decorators: [{
16108
+ AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }], target: i0.ɵɵFactoryTarget.Injectable });
16109
+ AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
16110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, decorators: [{
16293
16111
  type: Injectable,
16294
16112
  args: [{
16295
16113
  providedIn: 'root'
@@ -16315,9 +16133,9 @@ class RewardfulService {
16315
16133
  });
16316
16134
  }
16317
16135
  }
16318
- RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16319
- RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, providedIn: 'root' });
16320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, decorators: [{
16136
+ RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16137
+ RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, providedIn: 'root' });
16138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, decorators: [{
16321
16139
  type: Injectable,
16322
16140
  args: [{
16323
16141
  providedIn: 'root'
@@ -16362,9 +16180,9 @@ class AssetsService {
16362
16180
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
16363
16181
  }
16364
16182
  }
16365
- AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16366
- AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, providedIn: 'root' });
16367
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, decorators: [{
16183
+ 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 });
16184
+ AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, providedIn: 'root' });
16185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, decorators: [{
16368
16186
  type: Injectable,
16369
16187
  args: [{
16370
16188
  providedIn: 'root'
@@ -16401,18 +16219,14 @@ class BankTransactionCalculationService {
16401
16219
  * @TODO Alex: consider to move to collection
16402
16220
  */
16403
16221
  getAllocatedBankTransactions(bankTransactions, allocations) {
16404
- return new BankTransactionCollection(bankTransactions.items.filter((bankTransaction) => {
16405
- return this.isAllocated(bankTransaction, allocations);
16406
- }));
16222
+ return new BankTransactionCollection(bankTransactions.items.filter((bankTransaction) => this.isAllocated(bankTransaction, allocations)));
16407
16223
  }
16408
16224
  /**
16409
16225
  * Get collection of unallocated bank transactions
16410
16226
  * @TODO Alex: consider to move to collection
16411
16227
  */
16412
16228
  getUnallocated(bankTransactions, allocations) {
16413
- return new BankTransactionCollection(bankTransactions.items.filter((bankTransaction) => {
16414
- return !this.isAllocated(bankTransaction, allocations);
16415
- }));
16229
+ return new BankTransactionCollection(bankTransactions.items.filter((bankTransaction) => !this.isAllocated(bankTransaction, allocations)));
16416
16230
  }
16417
16231
  /**
16418
16232
  * Allocated sum of credit transactions
@@ -16427,9 +16241,9 @@ class BankTransactionCalculationService {
16427
16241
  return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
16428
16242
  }
16429
16243
  }
16430
- BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16431
- BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
16432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
16244
+ BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16245
+ BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
16246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
16433
16247
  type: Injectable,
16434
16248
  args: [{
16435
16249
  providedIn: 'root'
@@ -16458,9 +16272,9 @@ class BankAccountCalculationService {
16458
16272
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
16459
16273
  }
16460
16274
  }
16461
- BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
16462
- BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
16463
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, decorators: [{
16275
+ BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
16276
+ BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
16277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, decorators: [{
16464
16278
  type: Injectable,
16465
16279
  args: [{
16466
16280
  providedIn: 'root'
@@ -16485,9 +16299,9 @@ class ExportFormatterService {
16485
16299
  }));
16486
16300
  }
16487
16301
  }
16488
- ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
16489
- ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
16490
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, decorators: [{
16302
+ ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
16303
+ ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
16304
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, decorators: [{
16491
16305
  type: Injectable,
16492
16306
  args: [{
16493
16307
  providedIn: 'root'
@@ -16508,9 +16322,9 @@ class HeaderTitleService {
16508
16322
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
16509
16323
  }
16510
16324
  }
16511
- HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
16512
- HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
16513
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, decorators: [{
16325
+ 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 });
16326
+ HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
16327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, decorators: [{
16514
16328
  type: Injectable,
16515
16329
  args: [{
16516
16330
  providedIn: 'root'
@@ -16544,9 +16358,9 @@ class IntercomService {
16544
16358
  window.Intercom('boot', connectionCredentials);
16545
16359
  }
16546
16360
  }
16547
- IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16548
- IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, providedIn: 'root' });
16549
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, decorators: [{
16361
+ IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16362
+ IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, providedIn: 'root' });
16363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, decorators: [{
16550
16364
  type: Injectable,
16551
16365
  args: [{
16552
16366
  providedIn: 'root'
@@ -16616,9 +16430,9 @@ class PdfFromDomElementService {
16616
16430
  .then((blob) => new File([blob], filename, { type: 'application/pdf' })));
16617
16431
  }
16618
16432
  }
16619
- PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16620
- PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
16621
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, decorators: [{
16433
+ PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16434
+ PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
16435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, decorators: [{
16622
16436
  type: Injectable,
16623
16437
  args: [{
16624
16438
  providedIn: 'root'
@@ -16697,9 +16511,9 @@ class PdfFromTableService {
16697
16511
  doc.addImage(logo, 'PNG', doc.internal.pageSize.width - FILE_SETTINGS.logo.positionX, FILE_SETTINGS.logo.positionY, FILE_SETTINGS.logo.width, FILE_SETTINGS.logo.height);
16698
16512
  }
16699
16513
  }
16700
- PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16701
- PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
16702
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, decorators: [{
16514
+ PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16515
+ PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
16516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, decorators: [{
16703
16517
  type: Injectable,
16704
16518
  args: [{
16705
16519
  providedIn: 'root'
@@ -16736,9 +16550,9 @@ class PdfFromDataTableService extends PdfFromTableService {
16736
16550
  return pdf;
16737
16551
  }
16738
16552
  }
16739
- PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
16740
- PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
16741
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, decorators: [{
16553
+ PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
16554
+ PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
16555
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, decorators: [{
16742
16556
  type: Injectable,
16743
16557
  args: [{
16744
16558
  providedIn: 'root'
@@ -16774,9 +16588,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
16774
16588
  return pdf;
16775
16589
  }
16776
16590
  }
16777
- PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16778
- PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
16779
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
16591
+ PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16592
+ PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
16593
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
16780
16594
  type: Injectable,
16781
16595
  args: [{
16782
16596
  providedIn: 'root'
@@ -16794,24 +16608,18 @@ class EquityPositionChartService {
16794
16608
  get() {
16795
16609
  // @TODO refactor backend
16796
16610
  return this.http.get(`${this.environment.apiV2}/properties/categories/equity`)
16797
- .pipe(map((response) => {
16798
- return response.map((item) => {
16799
- return plainToClass(ChartData, {
16800
- name: item.category.name,
16801
- data: item.equity.map((serie) => {
16802
- return plainToClass(ChartSerie, {
16803
- label: serie.date,
16804
- value: serie.amount
16805
- });
16806
- })
16807
- });
16808
- });
16809
- }));
16611
+ .pipe(map((response) => response.map((item) => plainToClass(ChartData, {
16612
+ name: item.category.name,
16613
+ data: item.equity.map((serie) => plainToClass(ChartSerie, {
16614
+ label: serie.date,
16615
+ value: serie.amount
16616
+ }))
16617
+ }))));
16810
16618
  }
16811
16619
  }
16812
- EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
16813
- EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
16814
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, decorators: [{
16620
+ 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 });
16621
+ EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
16622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, decorators: [{
16815
16623
  type: Injectable,
16816
16624
  args: [{
16817
16625
  providedIn: 'root'
@@ -16834,9 +16642,7 @@ class PropertyCalculationService {
16834
16642
  return combineLatest([
16835
16643
  transactions$,
16836
16644
  depreciations$
16837
- ]).pipe(map(([transactions, depreciations]) => {
16838
- return this.getTaxPosition(transactions, depreciations);
16839
- }));
16645
+ ]).pipe(map(([transactions, depreciations]) => this.getTaxPosition(transactions, depreciations)));
16840
16646
  }
16841
16647
  taxPositionGrowth(properties, transactions, depreciations) {
16842
16648
  const forecastedTaxPosition = properties.sumBy('forecastedTaxPosition');
@@ -16851,28 +16657,18 @@ class PropertyCalculationService {
16851
16657
  properties$,
16852
16658
  transactions$,
16853
16659
  depreciations$
16854
- ]).pipe(map(([properties, transactions, depreciations]) => {
16855
- return this.taxPositionGrowth(properties, transactions, depreciations);
16856
- }));
16660
+ ]).pipe(map(([properties, transactions, depreciations]) => this.taxPositionGrowth(properties, transactions, depreciations)));
16857
16661
  }
16858
16662
  getRentalReturn(properties, transactions) {
16859
16663
  return transactions.claimIncome / properties.marketValue;
16860
16664
  }
16861
16665
  getLoanAmount(properties, bankAccounts, loans) {
16862
- return properties.items.reduce((totalAmount, property) => {
16863
- return totalAmount + bankAccounts.items
16864
- .reduce((propertyAmount, bankAccount) => {
16865
- return propertyAmount + bankAccount.getPropertyPercentage(property.id) * (loans.getByBankAccountId(bankAccount.id)?.amount || 0);
16866
- }, 0);
16867
- }, 0);
16666
+ return properties.items.reduce((totalAmount, property) => totalAmount + bankAccounts.items
16667
+ .reduce((propertyAmount, bankAccount) => propertyAmount + bankAccount.getPropertyPercentage(property.id) * (loans.getByBankAccountId(bankAccount.id)?.amount || 0), 0), 0);
16868
16668
  }
16869
16669
  getLoanValue(properties, bankAccounts) {
16870
- return properties.items.reduce((totalAmount, property) => {
16871
- return totalAmount + bankAccounts.items
16872
- .reduce((propertyAmount, bankAccount) => {
16873
- return propertyAmount + bankAccount.getPropertyBalanceAmount(property.id);
16874
- }, 0);
16875
- }, 0);
16670
+ return properties.items.reduce((totalAmount, property) => totalAmount + bankAccounts.items
16671
+ .reduce((propertyAmount, bankAccount) => propertyAmount + bankAccount.getPropertyBalanceAmount(property.id), 0), 0);
16876
16672
  }
16877
16673
  /**
16878
16674
  * LVR
@@ -16885,9 +16681,7 @@ class PropertyCalculationService {
16885
16681
  return combineLatest([
16886
16682
  properties$,
16887
16683
  bankAccounts$
16888
- ]).pipe(map(([properties, bankAccounts]) => {
16889
- return this.getLvr(properties, bankAccounts);
16890
- }));
16684
+ ]).pipe(map(([properties, bankAccounts]) => this.getLvr(properties, bankAccounts)));
16891
16685
  }
16892
16686
  getLvrCommencement(properties, loans, bankAccounts) {
16893
16687
  // Math abs is required for correct percentage calculation
@@ -16898,9 +16692,7 @@ class PropertyCalculationService {
16898
16692
  properties$,
16899
16693
  bankAccounts$,
16900
16694
  loans$
16901
- ]).pipe(map(([properties, bankAccounts, loans]) => {
16902
- return this.getLvrCommencement(properties, loans, bankAccounts);
16903
- }));
16695
+ ]).pipe(map(([properties, bankAccounts, loans]) => this.getLvrCommencement(properties, loans, bankAccounts)));
16904
16696
  }
16905
16697
  getLvrGrowth(properties, bankAccounts, loans) {
16906
16698
  const lvr = this.getLvr(properties, bankAccounts);
@@ -16916,9 +16708,7 @@ class PropertyCalculationService {
16916
16708
  properties$,
16917
16709
  bankAccounts$,
16918
16710
  loans$
16919
- ]).pipe(map(([properties, bankAccounts, loans]) => {
16920
- return this.getLvrGrowth(properties, bankAccounts, loans);
16921
- }));
16711
+ ]).pipe(map(([properties, bankAccounts, loans]) => this.getLvrGrowth(properties, bankAccounts, loans)));
16922
16712
  }
16923
16713
  /**
16924
16714
  * Equity position = Market value - current loan value
@@ -16982,9 +16772,9 @@ class PropertyCalculationService {
16982
16772
  }
16983
16773
  }
16984
16774
  }
16985
- PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16986
- PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
16987
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, decorators: [{
16775
+ PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16776
+ PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
16777
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, decorators: [{
16988
16778
  type: Injectable,
16989
16779
  args: [{
16990
16780
  providedIn: 'root'
@@ -17010,9 +16800,7 @@ class PropertyTransactionReportService {
17010
16800
  this.getTransactions(),
17011
16801
  this.getDepreciations(),
17012
16802
  this.chartAccountsService.get()
17013
- ]).pipe(map(([properties, transactions, depreciations, chartAccounts]) => {
17014
- return new CollectionDictionary(this.create(transactions, depreciations, properties, chartAccounts), 'propertyId');
17015
- }));
16803
+ ]).pipe(map(([properties, transactions, depreciations, chartAccounts]) => new CollectionDictionary(this.create(transactions, depreciations, properties, chartAccounts), 'propertyId')));
17016
16804
  }
17017
16805
  create(transactions, depreciations, properties, chartAccounts) {
17018
16806
  return new PropertyReportItemCollection([
@@ -17024,26 +16812,22 @@ class PropertyTransactionReportService {
17024
16812
  * Get collection of property transactions
17025
16813
  */
17026
16814
  getTransactions() {
17027
- return this.transactionService.get().pipe(map((transactions) => {
17028
- return new TransactionCollection(transactions)
17029
- .getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property);
17030
- }));
16815
+ return this.transactionService.get().pipe(map((transactions) => new TransactionCollection(transactions)
16816
+ .getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property)));
17031
16817
  }
17032
16818
  /**
17033
16819
  * Get list of asset & capital property depreciations
17034
16820
  */
17035
16821
  getDepreciations() {
17036
- return this.depreciationService.get().pipe(map((depreciations) => {
17037
- return depreciations
17038
- .getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property)
17039
- // we don't need borrowing expenses for this report
17040
- .getWithoutBorrowingExpenses();
17041
- }));
16822
+ return this.depreciationService.get().pipe(map((depreciations) => depreciations
16823
+ .getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property)
16824
+ // we don't need borrowing expenses for this report
16825
+ .getWithoutBorrowingExpenses()));
17042
16826
  }
17043
16827
  }
17044
- PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
17045
- PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
17046
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
16828
+ 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 });
16829
+ PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
16830
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
17047
16831
  type: Injectable,
17048
16832
  args: [{
17049
16833
  providedIn: 'root'
@@ -17071,9 +16855,7 @@ class TransactionCalculationService {
17071
16855
  * @TODO Alex: consider to move to collection
17072
16856
  */
17073
16857
  getAllocatedTransactions(transactions, allocations) {
17074
- return new TransactionCollection(transactions.items.filter((transaction) => {
17075
- return transaction.isAllocated(allocations);
17076
- }));
16858
+ return new TransactionCollection(transactions.items.filter((transaction) => transaction.isAllocated(allocations)));
17077
16859
  }
17078
16860
  getUnallocatedInvoices(invoices, allocations) {
17079
16861
  return invoices.filter((invoice) => {
@@ -17113,9 +16895,9 @@ class TransactionCalculationService {
17113
16895
  return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
17114
16896
  }
17115
16897
  }
17116
- TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17117
- TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
17118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, decorators: [{
16898
+ TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16899
+ TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
16900
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, decorators: [{
17119
16901
  type: Injectable,
17120
16902
  args: [{
17121
16903
  providedIn: 'root'
@@ -17175,9 +16957,9 @@ class LogbookBestPeriodService {
17175
16957
  });
17176
16958
  }
17177
16959
  }
17178
- LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
17179
- LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
17180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
16960
+ 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 });
16961
+ LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
16962
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
17181
16963
  type: Injectable,
17182
16964
  args: [{
17183
16965
  providedIn: 'root'
@@ -17218,9 +17000,9 @@ class XlsxService {
17218
17000
  return xlsx.write(workbook, { bookType: 'xlsx', type: 'array' });
17219
17001
  }
17220
17002
  }
17221
- XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17222
- XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, providedIn: 'root' });
17223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, decorators: [{
17003
+ XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17004
+ XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, providedIn: 'root' });
17005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, decorators: [{
17224
17006
  type: Injectable,
17225
17007
  args: [{
17226
17008
  providedIn: 'root'
@@ -17619,7 +17401,7 @@ class LoanForm extends AbstractForm {
17619
17401
  listenEvents() {
17620
17402
  // We need to set term automatically only for bank loans.
17621
17403
  // For vehicle loans user should fill it manually with validation depended of frequency
17622
- if (!!this.loan.bankAccount) {
17404
+ if (this.loan.bankAccount) {
17623
17405
  this.listenTypeChanges();
17624
17406
  }
17625
17407
  else {
@@ -17647,7 +17429,7 @@ class LoanForm extends AbstractForm {
17647
17429
  */
17648
17430
  updateTermValidation() {
17649
17431
  // no need terms for bank loans
17650
- if (!!this.loan.bankAccount) {
17432
+ if (this.loan.bankAccount) {
17651
17433
  return;
17652
17434
  }
17653
17435
  const currentRepaymentFrequency = this.get('repaymentFrequency').value;
@@ -17669,10 +17451,8 @@ LoanForm.mortgageLoanTypes = [LoanTypeEnum.MORTGAGE, LoanTypeEnum.HOME_EQUITY_LI
17669
17451
  * Use with groups of boolean form controls (checkbox, toggle, etc.)
17670
17452
  */
17671
17453
  function atLeastOneCheckedValidator() {
17672
- return (formGroup) => {
17673
- return Object.values(formGroup.controls)
17674
- .find((control) => control.value) ? null : { nothingChecked: true };
17675
- };
17454
+ return (formGroup) => Object.values(formGroup.controls)
17455
+ .find((control) => control.value) ? null : { nothingChecked: true };
17676
17456
  }
17677
17457
 
17678
17458
  /**
@@ -17680,9 +17460,7 @@ function atLeastOneCheckedValidator() {
17680
17460
  * @TODO Alex: create class AppValidators with static methods and move there all custom validators (line Angular Validators)
17681
17461
  */
17682
17462
  function autocompleteValidator() {
17683
- return (control) => {
17684
- return (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
17685
- };
17463
+ return (control) => (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
17686
17464
  }
17687
17465
 
17688
17466
  function conditionalValidator(condition, validator) {
@@ -17782,15 +17560,13 @@ function fieldsSumValidator(field, summary = 100, fieldAlias) {
17782
17560
  if (fieldsSum <= summary) {
17783
17561
  return null;
17784
17562
  }
17785
- else {
17786
- return {
17787
- fieldsSum: {
17788
- name: field,
17789
- alias: fieldAlias,
17790
- summary
17791
- }
17792
- };
17793
- }
17563
+ return {
17564
+ fieldsSum: {
17565
+ name: field,
17566
+ alias: fieldAlias,
17567
+ summary
17568
+ }
17569
+ };
17794
17570
  };
17795
17571
  }
17796
17572
 
@@ -17841,6 +17617,18 @@ class FileValidator {
17841
17617
  }
17842
17618
  }
17843
17619
 
17620
+ /**
17621
+ * Validator is checking if field value is greater than passed value
17622
+ */
17623
+ function greaterThanValidator(value) {
17624
+ return (control) => {
17625
+ if (!control.value && (control.value !== 0)) {
17626
+ return null;
17627
+ }
17628
+ return control.value > value ? null : { greaterThan: `The value should be greater than ${value}` };
17629
+ };
17630
+ }
17631
+
17844
17632
  /**
17845
17633
  * Form array with bank account properties
17846
17634
  * @TODO create AbstractFormArray
@@ -17848,12 +17636,10 @@ class FileValidator {
17848
17636
  class BankAccountPropertiesForm extends UntypedFormArray {
17849
17637
  constructor(bankAccountProperties) {
17850
17638
  super((bankAccountProperties?.length ? bankAccountProperties : [plainToClass(BankAccountProperty, {})])
17851
- .map((bankAccountProperty) => {
17852
- return new UntypedFormGroup({
17853
- property: new UntypedFormControl(bankAccountProperty?.property, Validators.required),
17854
- percent: new UntypedFormControl(bankAccountProperty.percent, Validators.required)
17855
- });
17856
- }), [
17639
+ .map((bankAccountProperty) => new UntypedFormGroup({
17640
+ property: new UntypedFormControl(bankAccountProperty?.property, Validators.required),
17641
+ percent: new UntypedFormControl(bankAccountProperty.percent, Validators.required)
17642
+ })), [
17857
17643
  conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.PROPERTY, Validators.required),
17858
17644
  fieldsSumValidator('percent', 100)
17859
17645
  ]);
@@ -17972,12 +17758,10 @@ class SoleBusinessForm extends AbstractForm {
17972
17758
  class SoleBusinessAllocationsForm extends UntypedFormArray {
17973
17759
  constructor(businessAllocations) {
17974
17760
  super((businessAllocations?.length ? businessAllocations : [plainToClass(SoleBusinessAllocation, {})])
17975
- .map((businessAllocation) => {
17976
- return new UntypedFormGroup({
17977
- business: new UntypedFormControl(businessAllocation?.business, Validators.required),
17978
- percent: new UntypedFormControl(businessAllocation.percent, Validators.required)
17979
- });
17980
- }), [
17761
+ .map((businessAllocation) => new UntypedFormGroup({
17762
+ business: new UntypedFormControl(businessAllocation?.business, Validators.required),
17763
+ percent: new UntypedFormControl(businessAllocation.percent, Validators.required)
17764
+ })), [
17981
17765
  conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.SOLE, Validators.required),
17982
17766
  fieldsSumValidator('percent', 100)
17983
17767
  ]);
@@ -18453,11 +18237,9 @@ function dateRangeValidator(dateStart, dateEnd) {
18453
18237
  * Validator check if at least one control in formArray is enabled
18454
18238
  */
18455
18239
  function atLeastOneEnabledValidator(arrayName) {
18456
- return (formGroup) => {
18457
- return !!formGroup.get(arrayName).controls.find((control) => control.enabled)
18458
- ? null
18459
- : { arrayControlsDisabled: true };
18460
- };
18240
+ return (formGroup) => formGroup.get(arrayName).controls.find((control) => control.enabled)
18241
+ ? null
18242
+ : { arrayControlsDisabled: true };
18461
18243
  }
18462
18244
 
18463
18245
  /**
@@ -18481,7 +18263,7 @@ class BankAccountsImportForm extends AbstractForm {
18481
18263
  }
18482
18264
  const bankAccounts = [];
18483
18265
  // form is valid when all selected bank accounts forms are valid
18484
- for (let bankAccountImportForm of this.get('bankAccounts').controls) {
18266
+ for (const bankAccountImportForm of this.get('bankAccounts').controls) {
18485
18267
  // skip disabled forms
18486
18268
  if (bankAccountImportForm.disabled) {
18487
18269
  continue;
@@ -18578,9 +18360,7 @@ const phonePattern = /^(((\s*)?([- ()]?\d[- ()]?){0,30}(\s*)?)|)$/;
18578
18360
  * Allowed special symbols"-", "(", ")"
18579
18361
  */
18580
18362
  function phoneNumberValidator() {
18581
- return (control) => {
18582
- return phonePattern.test(control.value) ? null : { phoneInvalid: true };
18583
- };
18363
+ return (control) => phonePattern.test(control.value) ? null : { phoneInvalid: true };
18584
18364
  }
18585
18365
 
18586
18366
  class PhoneForm extends AbstractForm {
@@ -19995,7 +19775,7 @@ function checkDividends(metaFields, formGroup) {
19995
19775
  const frankedAndUnfrankedControls = (formGroup.get('metaFields')).controls
19996
19776
  .filter((control) => frankedAndUnfrankedIds.includes(control.get('chartAccountsMetaField').value.id));
19997
19777
  const frankedAndUnfrankedAmount = frankedAndUnfrankedControls.reduce((sum, control) => sum + (+control.get('value').value), 0);
19998
- for (let control of frankedAndUnfrankedControls) {
19778
+ for (const control of frankedAndUnfrankedControls) {
19999
19779
  if (control.get('value').value !== null && frankedAndUnfrankedAmount !== amount) {
20000
19780
  return { metaFields: `Field ${control.get('chartAccountsMetaField').value.label} is required` };
20001
19781
  }
@@ -20007,12 +19787,10 @@ class WorkTransactionForm extends TransactionForm {
20007
19787
  constructor(transaction, registeredForGst, allocations, controls = {}) {
20008
19788
  super(transaction, registeredForGst, allocations, Object.assign(controls, {
20009
19789
  // additional data related to work (like tax instalments)
20010
- metaFields: new FormArray((transaction.metaFields || []).map((transactionMetaField) => {
20011
- return new FormGroup({
20012
- value: new FormControl(transactionMetaField.value),
20013
- chartAccountsMetaField: new FormControl(transactionMetaField.chartAccountsMetaField)
20014
- });
20015
- }))
19790
+ metaFields: new FormArray((transaction.metaFields || []).map((transactionMetaField) => new FormGroup({
19791
+ value: new FormControl(transactionMetaField.value),
19792
+ chartAccountsMetaField: new FormControl(transactionMetaField.chartAccountsMetaField)
19793
+ })))
20016
19794
  }));
20017
19795
  this.setValidators(transactionsMetaFieldsValidator());
20018
19796
  this.listenEvents();
@@ -20185,7 +19963,7 @@ class DepreciationForm extends TransactionBaseForm {
20185
19963
  class HoldingSaleForm extends AbstractForm {
20186
19964
  constructor(sale, holding, type) {
20187
19965
  super({
20188
- quantity: new UntypedFormControl(sale.quantity, [Validators.required, Validators.max(holding.currentQuantity)]),
19966
+ quantity: new UntypedFormControl(sale.quantity, [Validators.required, Validators.max(holding.currentQuantity), greaterThanValidator(0)]),
20189
19967
  price: new UntypedFormControl(sale.price || type.price, Validators.required),
20190
19968
  fee: new UntypedFormControl(sale.fee, Validators.required),
20191
19969
  date: new UntypedFormControl(sale.date, Validators.required),
@@ -20243,7 +20021,7 @@ class HoldingForm extends AbstractForm {
20243
20021
  constructor(holding) {
20244
20022
  super({
20245
20023
  isTaxFree: new UntypedFormControl(holding.isTaxFree, Validators.required),
20246
- quantity: new UntypedFormControl(holding.quantity, [Validators.required, Validators.min(0)]),
20024
+ quantity: new UntypedFormControl(holding.quantity, [Validators.required, greaterThanValidator(0)]),
20247
20025
  price: new UntypedFormControl(holding.price, [Validators.required, Validators.min(0)]),
20248
20026
  fee: new UntypedFormControl(holding.fee, [Validators.required, Validators.min(0)]),
20249
20027
  date: new UntypedFormControl(holding.date, Validators.required),
@@ -20276,5 +20054,5 @@ var MessagesEnum;
20276
20054
  * Generated bundle index. Do not edit.
20277
20055
  */
20278
20056
 
20279
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingMessagesEnum, HoldingSale, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
20057
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingMessagesEnum, HoldingSale, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
20280
20058
  //# sourceMappingURL=taxtank-core.mjs.map