taxtank-core 0.30.139 → 0.30.141

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 (964) hide show
  1. package/esm2020/lib/db/Models/transaction/transaction-base.mjs +3 -2
  2. package/esm2020/lib/db/Models/user/user.mjs +3 -3
  3. package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +2 -2
  4. package/esm2020/lib/interceptors/financial-year-interceptor.mjs +1 -1
  5. package/esm2020/lib/models/event/app-event-type.enum.mjs +9 -10
  6. package/esm2020/lib/services/account-setup/account-setup.service.mjs +4 -4
  7. package/esm2020/lib/services/auth/auth.service.mjs +4 -20
  8. package/esm2020/lib/services/data.service.mjs +7 -1
  9. package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +6 -6
  10. package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +2 -2
  11. package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +2 -2
  12. package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +2 -2
  13. package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +7 -7
  14. package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +2 -2
  15. package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
  16. package/esm2020/lib/services/http/holding/holding.service.mjs +2 -2
  17. package/esm2020/lib/services/http/income-source/income-source.service.mjs +2 -2
  18. package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +2 -2
  19. package/esm2020/lib/services/http/loan/loan.service.mjs +6 -6
  20. package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +5 -6
  21. package/esm2020/lib/services/http/property/property.service.mjs +4 -4
  22. package/esm2020/lib/services/http/rest/rest-old.service.mjs +16 -12
  23. package/esm2020/lib/services/http/rest/rest.service.mjs +29 -28
  24. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +2 -2
  25. package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -4
  26. package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +4 -2
  27. package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
  28. package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +4 -4
  29. package/esm2020/lib/services/http/transaction/transaction.service.mjs +7 -20
  30. package/esm2020/lib/services/http/user/financial-year/financial-year.service.mjs +29 -0
  31. package/esm2020/lib/services/http/user/index.mjs +2 -1
  32. package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +1 -1
  33. package/esm2020/lib/services/http/user/user.service.mjs +32 -135
  34. package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +2 -2
  35. package/fesm2015/taxtank-core.mjs +205 -295
  36. package/fesm2015/taxtank-core.mjs.map +1 -1
  37. package/fesm2020/taxtank-core.mjs +202 -294
  38. package/fesm2020/taxtank-core.mjs.map +1 -1
  39. package/lib/collections/account-setup-item.collection.d.ts.map +1 -0
  40. package/lib/collections/allocation-group.collection.d.ts.map +1 -0
  41. package/lib/collections/allocation-rule.collection.d.ts.map +1 -0
  42. package/lib/collections/asset-sale.collection.d.ts.map +1 -0
  43. package/lib/collections/bank-account.collection.d.ts.map +1 -0
  44. package/lib/collections/bank-transaction.collection.d.ts.map +1 -0
  45. package/lib/collections/chart-accounts.collection.d.ts.map +1 -0
  46. package/lib/collections/chat/chat.collection.d.ts.map +1 -0
  47. package/lib/collections/chat/index.d.ts.map +1 -0
  48. package/lib/collections/chat/message-document.collection.d.ts.map +1 -0
  49. package/lib/collections/chat/message.collection.d.ts.map +1 -0
  50. package/lib/collections/client-invite.collection.d.ts.map +1 -0
  51. package/lib/collections/client-movement.collection.d.ts.map +1 -0
  52. package/lib/collections/client-portfolio-report.collection.d.ts.map +1 -0
  53. package/lib/collections/client.collection.d.ts.map +1 -0
  54. package/lib/collections/collection-dictionary.d.ts.map +1 -0
  55. package/lib/collections/collection.d.ts.map +1 -0
  56. package/lib/collections/depreciation-forecast.collection.d.ts.map +1 -0
  57. package/lib/collections/depreciation.collection.d.ts.map +1 -0
  58. package/lib/collections/employee.collection.d.ts.map +1 -0
  59. package/lib/collections/exportable.collection.d.ts.map +1 -0
  60. package/lib/collections/holding/holding-sale.collection.d.ts.map +1 -0
  61. package/lib/collections/holding/holding-type.collection.d.ts.map +1 -0
  62. package/lib/collections/holding/holding.collection.d.ts.map +1 -0
  63. package/lib/collections/holding/index.d.ts.map +1 -0
  64. package/lib/collections/income-source/income-source-forecast.collection.d.ts.map +1 -0
  65. package/lib/collections/income-source/income-source.collection.d.ts.map +1 -0
  66. package/lib/collections/income-source/index.d.ts.map +1 -0
  67. package/lib/collections/index.d.ts.map +1 -0
  68. package/lib/collections/loan/index.d.ts.map +1 -0
  69. package/lib/collections/loan/loan-payment.collection.d.ts.map +1 -0
  70. package/lib/collections/loan/loan.collection.d.ts.map +1 -0
  71. package/lib/collections/property/index.d.ts.map +1 -0
  72. package/lib/collections/property/property-category-movement.collection.d.ts.map +1 -0
  73. package/lib/collections/property/property-sale/index.d.ts.map +1 -0
  74. package/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts.map +1 -0
  75. package/lib/collections/property/property-sale/property-sale.collection.d.ts.map +1 -0
  76. package/lib/collections/property/property-share.collection.d.ts.map +1 -0
  77. package/lib/collections/property/property.collection.d.ts.map +1 -0
  78. package/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts.map +1 -0
  79. package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts.map +1 -0
  80. package/lib/collections/report/index.d.ts.map +1 -0
  81. package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts.map +1 -0
  82. package/lib/collections/report/property/property-report-item-transaction.collection.d.ts.map +1 -0
  83. package/lib/collections/report/property/property-report-item.collection.d.ts.map +1 -0
  84. package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts.map +1 -0
  85. package/lib/collections/sole/index.d.ts.map +1 -0
  86. package/lib/collections/sole/sole-business-losses.collection.d.ts.map +1 -0
  87. package/lib/collections/sole/sole-invoice-item.collection.d.ts.map +1 -0
  88. package/lib/collections/sole/sole-invoice.collection.d.ts.map +1 -0
  89. package/lib/collections/subscription/index.d.ts.map +1 -0
  90. package/lib/collections/subscription/service-price.collection.d.ts.map +1 -0
  91. package/lib/collections/subscription/service-product.collection.d.ts.map +1 -0
  92. package/lib/collections/subscription/service-subscription.collection.d.ts.map +1 -0
  93. package/lib/collections/subscription/subscription-item.collection.d.ts.map +1 -0
  94. package/lib/collections/tax-review.collection.d.ts.map +1 -0
  95. package/lib/collections/tax-summary/index.d.ts.map +1 -0
  96. package/lib/collections/tax-summary/report-item.collection.d.ts.map +1 -0
  97. package/lib/collections/tax-summary/tax-return-categories.const.d.ts.map +1 -0
  98. package/lib/collections/transaction/index.d.ts.map +1 -0
  99. package/lib/collections/transaction/transaction-allocation.collection.d.ts.map +1 -0
  100. package/lib/collections/transaction/transaction.collection.d.ts.map +1 -0
  101. package/lib/collections/user-event-setting.collection.d.ts.map +1 -0
  102. package/lib/collections/user-event-type-collection.d.ts.map +1 -0
  103. package/lib/collections/vehicle/index.d.ts.map +1 -0
  104. package/lib/collections/vehicle/vehicle-claim.collection.d.ts.map +1 -0
  105. package/lib/collections/vehicle/vehicle-logbook.collection.d.ts.map +1 -0
  106. package/lib/db/Enums/address-type.enum.d.ts.map +1 -0
  107. package/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.d.ts.map +1 -0
  108. package/lib/db/Enums/allocation-rule-condition-field.enum.d.ts.map +1 -0
  109. package/lib/db/Enums/allocation-rule-condition-operator.enum.d.ts.map +1 -0
  110. package/lib/db/Enums/allocation-rule-type.enum.d.ts.map +1 -0
  111. package/lib/db/Enums/annual-frequency.enum.d.ts.map +1 -0
  112. package/lib/db/Enums/bank/bank-account-status.enum.d.ts.map +1 -0
  113. package/lib/db/Enums/bank/bank-account-type.enum.d.ts.map +1 -0
  114. package/lib/db/Enums/bank/bank-connection-status.enum.d.ts.map +1 -0
  115. package/lib/db/Enums/bank/bank-popular.enum.d.ts.map +1 -0
  116. package/lib/db/Enums/bank/bank-provider.enum.d.ts.map +1 -0
  117. package/lib/db/Enums/bank/bank-transaction-type.enum.d.ts.map +1 -0
  118. package/lib/db/Enums/bank/index.d.ts.map +1 -0
  119. package/lib/db/Enums/bank/loan/index.d.ts.map +1 -0
  120. package/lib/db/Enums/bank/loan/loan-bank-type.enum.d.ts.map +1 -0
  121. package/lib/db/Enums/bank/loan/loan-frequency.enum.d.ts.map +1 -0
  122. package/lib/db/Enums/bank/loan/loan-interest-type-label.enum.d.ts.map +1 -0
  123. package/lib/db/Enums/bank/loan/loan-interest-type.enum.d.ts.map +1 -0
  124. package/lib/db/Enums/bank/loan/loan-payout-type.enum.d.ts.map +1 -0
  125. package/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.d.ts.map +1 -0
  126. package/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.d.ts.map +1 -0
  127. package/lib/db/Enums/bank/loan/loan-repayment-type.enum.d.ts.map +1 -0
  128. package/lib/db/Enums/bank/loan/loan-type.enum.d.ts.map +1 -0
  129. package/lib/db/Enums/bank/loan/loan-vehicle-type.enum.d.ts.map +1 -0
  130. package/lib/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts.map +1 -0
  131. package/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts.map +1 -0
  132. package/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts.map +1 -0
  133. package/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts.map +1 -0
  134. package/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts.map +1 -0
  135. package/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts.map +1 -0
  136. package/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.d.ts.map +1 -0
  137. package/lib/db/Enums/chart-accounts/chart-accounts-invoice-expense.enum.d.ts.map +1 -0
  138. package/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts.map +1 -0
  139. package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts.map +1 -0
  140. package/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.d.ts.map +1 -0
  141. package/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.d.ts.map +1 -0
  142. package/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts.map +1 -0
  143. package/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.d.ts.map +1 -0
  144. package/lib/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts.map +1 -0
  145. package/lib/db/Enums/chart-accounts/index.d.ts.map +1 -0
  146. package/lib/db/Enums/chat-status.enum.d.ts.map +1 -0
  147. package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts.map +1 -0
  148. package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts.map +1 -0
  149. package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts.map +1 -0
  150. package/lib/db/Enums/client-invite-status.enum.d.ts.map +1 -0
  151. package/lib/db/Enums/client-invite-type.enum.d.ts.map +1 -0
  152. package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts.map +1 -0
  153. package/lib/db/Enums/depreciation-calculation.enum.d.ts.map +1 -0
  154. package/lib/db/Enums/depreciation-type.enum.d.ts.map +1 -0
  155. package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts.map +1 -0
  156. package/lib/db/Enums/document-type.enum.d.ts.map +1 -0
  157. package/lib/db/Enums/file-type.enum.d.ts.map +1 -0
  158. package/lib/db/Enums/firm-type.enum.d.ts.map +1 -0
  159. package/lib/db/Enums/holding/holding-type-category.enum.d.ts.map +1 -0
  160. package/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.d.ts.map +1 -0
  161. package/lib/db/Enums/income-source/income-source-type-list-holding.enum.d.ts.map +1 -0
  162. package/lib/db/Enums/income-source/income-source-type-list-other.enum.d.ts.map +1 -0
  163. package/lib/db/Enums/income-source/income-source-type-list-sole.enum.d.ts.map +1 -0
  164. package/lib/db/Enums/income-source/income-source-type-list-work.enum.d.ts.map +1 -0
  165. package/lib/db/Enums/income-source/income-source-type.enum.d.ts.map +1 -0
  166. package/lib/db/Enums/income-source/index.d.ts.map +1 -0
  167. package/lib/db/Enums/index.d.ts.map +1 -0
  168. package/lib/db/Enums/invite-status.enum.d.ts.map +1 -0
  169. package/lib/db/Enums/phone-type.enum.d.ts.map +1 -0
  170. package/lib/db/Enums/property/property-category-list.enum.d.ts.map +1 -0
  171. package/lib/db/Enums/property/property-depreciation-calculation.enum.d.ts.map +1 -0
  172. package/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.d.ts.map +1 -0
  173. package/lib/db/Enums/property/property-sale/tax-exemption.enum.d.ts.map +1 -0
  174. package/lib/db/Enums/property/property-share-access.enum.d.ts.map +1 -0
  175. package/lib/db/Enums/property/property-share-status.enum.d.ts.map +1 -0
  176. package/lib/db/Enums/registration-invite-status.enum.d.ts.map +1 -0
  177. package/lib/db/Enums/salary-forecast-frequency.enum.d.ts.map +1 -0
  178. package/lib/db/Enums/service-notification-status.enum.d.ts.map +1 -0
  179. package/lib/db/Enums/service-notification-type.enum.d.ts.map +1 -0
  180. package/lib/db/Enums/sole-depreciation-method.enum.d.ts.map +1 -0
  181. package/lib/db/Enums/sole-invoice-statuses.enum.d.ts.map +1 -0
  182. package/lib/db/Enums/sole-invoice-tax-type.enum.d.ts.map +1 -0
  183. package/lib/db/Enums/sole-invoice-template-tax-type.enum.d.ts.map +1 -0
  184. package/lib/db/Enums/spare-document-spare-type.enum.d.ts.map +1 -0
  185. package/lib/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts.map +1 -0
  186. package/lib/db/Enums/subscription/service-payment-method-type.enum.d.ts.map +1 -0
  187. package/lib/db/Enums/subscription/service-payment-status.enum.d.ts.map +1 -0
  188. package/lib/db/Enums/subscription/service-price-recurring-interval.enum.d.ts.map +1 -0
  189. package/lib/db/Enums/subscription/service-price-type.enum.d.ts.map +1 -0
  190. package/lib/db/Enums/subscription/service-product-id.enum.d.ts.map +1 -0
  191. package/lib/db/Enums/subscription/service-product-status.enum.d.ts.map +1 -0
  192. package/lib/db/Enums/subscription/service-subscription-status.enum.d.ts.map +1 -0
  193. package/lib/db/Enums/tank-type.enum.d.ts.map +1 -0
  194. package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts.map +1 -0
  195. package/lib/db/Enums/tax-calculation-type.enum.d.ts.map +1 -0
  196. package/lib/db/Enums/tax-return/index.d.ts.map +1 -0
  197. package/lib/db/Enums/tax-return/tax-return-category-list.enum.d.ts.map +1 -0
  198. package/lib/db/Enums/tax-return/tax-return-category-section.enum.d.ts.map +1 -0
  199. package/lib/db/Enums/tax-return/tax-return-item.enum.d.ts.map +1 -0
  200. package/lib/db/Enums/tax-review-status.enum.d.ts.map +1 -0
  201. package/lib/db/Enums/tax-summary-list.enum.d.ts.map +1 -0
  202. package/lib/db/Enums/tax-summary-section.enum.d.ts.map +1 -0
  203. package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts.map +1 -0
  204. package/lib/db/Enums/ticket-feedback.enum.d.ts.map +1 -0
  205. package/lib/db/Enums/ticket-status.enum.d.ts.map +1 -0
  206. package/lib/db/Enums/ticket-types.enum.d.ts.map +1 -0
  207. package/lib/db/Enums/transaction-operation.enum.d.ts.map +1 -0
  208. package/lib/db/Enums/transaction-source.enum.d.ts.map +1 -0
  209. package/lib/db/Enums/transaction-type.enum.d.ts.map +1 -0
  210. package/lib/db/Enums/user-event-status.enum.d.ts.map +1 -0
  211. package/lib/db/Enums/user-event-type-client-type.enum.d.ts.map +1 -0
  212. package/lib/db/Enums/user-event-type-employee-type.enum.d.ts.map +1 -0
  213. package/lib/db/Enums/user-event-type-frequency.enum.d.ts.map +1 -0
  214. package/lib/db/Enums/user-event-type-type.enum.d.ts.map +1 -0
  215. package/lib/db/Enums/user-event-type-user-type.enum.d.ts.map +1 -0
  216. package/lib/db/Enums/user-medicare-exemption.enum.d.ts.map +1 -0
  217. package/lib/db/Enums/user-roles.enum.d.ts.map +1 -0
  218. package/lib/db/Enums/user-status.enum.d.ts.map +1 -0
  219. package/lib/db/Enums/user-title.enum.d.ts.map +1 -0
  220. package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts.map +1 -0
  221. package/lib/db/Enums/user-working-holiday-maker.enum.d.ts.map +1 -0
  222. package/lib/db/Enums/vehicle-claim-details-method.enum.d.ts.map +1 -0
  223. package/lib/db/Enums/vehicle-logbook-purpose.enum.d.ts.map +1 -0
  224. package/lib/db/Models/abstract-model.d.ts.map +1 -0
  225. package/lib/db/Models/address.d.ts.map +1 -0
  226. package/lib/db/Models/bank/bank-account-balance.d.ts.map +1 -0
  227. package/lib/db/Models/bank/bank-account-property.d.ts.map +1 -0
  228. package/lib/db/Models/bank/bank-account.d.ts.map +1 -0
  229. package/lib/db/Models/bank/bank-connection.d.ts.map +1 -0
  230. package/lib/db/Models/bank/bank-transaction-import.d.ts.map +1 -0
  231. package/lib/db/Models/bank/bank-transaction.d.ts.map +1 -0
  232. package/lib/db/Models/bank/bank.d.ts.map +1 -0
  233. package/lib/db/Models/bank/basiq-job-step.enum.d.ts.map +1 -0
  234. package/lib/db/Models/bank/basiq-job.d.ts.map +1 -0
  235. package/lib/db/Models/budget/budget-rule.d.ts.map +1 -0
  236. package/lib/db/Models/budget/budget.d.ts.map +1 -0
  237. package/lib/db/Models/budget/index.d.ts.map +1 -0
  238. package/lib/db/Models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
  239. package/lib/db/Models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
  240. package/lib/db/Models/chart-accounts/chart-accounts-meta-field.d.ts.map +1 -0
  241. package/lib/db/Models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
  242. package/lib/db/Models/chart-accounts/chart-accounts.d.ts.map +1 -0
  243. package/lib/db/Models/client/annual-client-details.d.ts.map +1 -0
  244. package/lib/db/Models/client/client-details.d.ts.map +1 -0
  245. package/lib/db/Models/client/client-income-types.d.ts.map +1 -0
  246. package/lib/db/Models/client/index.d.ts.map +1 -0
  247. package/lib/db/Models/client/occupation.d.ts.map +1 -0
  248. package/lib/db/Models/country.d.ts.map +1 -0
  249. package/lib/db/Models/depreciation/depreciation-capital-project.d.ts.map +1 -0
  250. package/lib/db/Models/depreciation/depreciation-forecast.d.ts.map +1 -0
  251. package/lib/db/Models/depreciation/depreciation-receipt.d.ts.map +1 -0
  252. package/lib/db/Models/depreciation/depreciation.d.ts.map +1 -0
  253. package/lib/db/Models/document/document-base.d.ts.map +1 -0
  254. package/lib/db/Models/document/document-folder.d.ts.map +1 -0
  255. package/lib/db/Models/document/document.d.ts.map +1 -0
  256. package/lib/db/Models/document/property-document.d.ts.map +1 -0
  257. package/lib/db/Models/file.d.ts.map +1 -0
  258. package/lib/db/Models/firm/accountant/tax-review.d.ts.map +1 -0
  259. package/lib/db/Models/firm/accountant/ticket.d.ts.map +1 -0
  260. package/lib/db/Models/firm/chat.d.ts.map +1 -0
  261. package/lib/db/Models/firm/client-invite.d.ts.map +1 -0
  262. package/lib/db/Models/firm/client-movement.d.ts.map +1 -0
  263. package/lib/db/Models/firm/employee-invite.d.ts.map +1 -0
  264. package/lib/db/Models/firm/firm-invite.d.ts.map +1 -0
  265. package/lib/db/Models/firm/firm.d.ts.map +1 -0
  266. package/lib/db/Models/firm/message-document.d.ts.map +1 -0
  267. package/lib/db/Models/firm/message.d.ts.map +1 -0
  268. package/lib/db/Models/holding/holding-sale.d.ts.map +1 -0
  269. package/lib/db/Models/holding/holding-type-exchange.d.ts.map +1 -0
  270. package/lib/db/Models/holding/holding-type.d.ts.map +1 -0
  271. package/lib/db/Models/holding/holding.d.ts.map +1 -0
  272. package/lib/db/Models/holding/index.d.ts.map +1 -0
  273. package/lib/db/Models/incomeSource/income-source-forecast.d.ts.map +1 -0
  274. package/lib/db/Models/incomeSource/income-source-type.d.ts.map +1 -0
  275. package/lib/db/Models/incomeSource/income-source.d.ts.map +1 -0
  276. package/lib/db/Models/incomeSource/salary-forecast.d.ts.map +1 -0
  277. package/lib/db/Models/index.d.ts.map +1 -0
  278. package/lib/db/Models/loan/borrowing-expense-loan.d.ts.map +1 -0
  279. package/lib/db/Models/loan/borrowing-expense.d.ts.map +1 -0
  280. package/lib/db/Models/loan/loan-payout.d.ts.map +1 -0
  281. package/lib/db/Models/loan/loan.d.ts.map +1 -0
  282. package/lib/db/Models/observable-model.d.ts.map +1 -0
  283. package/lib/db/Models/phone.d.ts.map +1 -0
  284. package/lib/db/Models/property/borrowing-report.d.ts.map +1 -0
  285. package/lib/db/Models/property/property-category-movement.d.ts.map +1 -0
  286. package/lib/db/Models/property/property-category.d.ts.map +1 -0
  287. package/lib/db/Models/property/property-forecast.d.ts.map +1 -0
  288. package/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +1 -0
  289. package/lib/db/Models/property/property-sale/property-sale.d.ts.map +1 -0
  290. package/lib/db/Models/property/property-sale/tax-exemption-meta-field.d.ts.map +1 -0
  291. package/lib/db/Models/property/property-sale/tax-exemption.d.ts.map +1 -0
  292. package/lib/db/Models/property/property-share.d.ts.map +1 -0
  293. package/lib/db/Models/property/property-subscription.d.ts.map +1 -0
  294. package/lib/db/Models/property/property-valuation.d.ts.map +1 -0
  295. package/lib/db/Models/property/property.d.ts.map +1 -0
  296. package/lib/db/Models/service-notification.d.ts.map +1 -0
  297. package/lib/db/Models/sole/bas-report.d.ts.map +1 -0
  298. package/lib/db/Models/sole/sole-business-activity.d.ts.map +1 -0
  299. package/lib/db/Models/sole/sole-business-allocation.d.ts.map +1 -0
  300. package/lib/db/Models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
  301. package/lib/db/Models/sole/sole-business-loss.d.ts.map +1 -0
  302. package/lib/db/Models/sole/sole-business.d.ts.map +1 -0
  303. package/lib/db/Models/sole/sole-contact.d.ts.map +1 -0
  304. package/lib/db/Models/sole/sole-depreciation-method.d.ts.map +1 -0
  305. package/lib/db/Models/sole/sole-details.d.ts.map +1 -0
  306. package/lib/db/Models/sole/sole-forecast.d.ts.map +1 -0
  307. package/lib/db/Models/sole/sole-invoice-item.d.ts.map +1 -0
  308. package/lib/db/Models/sole/sole-invoice-template.d.ts.map +1 -0
  309. package/lib/db/Models/sole/sole-invoice.d.ts.map +1 -0
  310. package/lib/db/Models/spare/spare-document-category.d.ts.map +1 -0
  311. package/lib/db/Models/spare/spare-document.d.ts.map +1 -0
  312. package/lib/db/Models/subscription/service-payment-method.d.ts.map +1 -0
  313. package/lib/db/Models/subscription/service-payment.d.ts.map +1 -0
  314. package/lib/db/Models/subscription/service-price.d.ts.map +1 -0
  315. package/lib/db/Models/subscription/service-product.d.ts.map +1 -0
  316. package/lib/db/Models/subscription/service-subscription-item.d.ts.map +1 -0
  317. package/lib/db/Models/subscription/service-subscription.d.ts.map +1 -0
  318. package/lib/db/Models/tax-calculation.d.ts.map +1 -0
  319. package/lib/db/Models/tax-return/index.d.ts.map +1 -0
  320. package/lib/db/Models/tax-return/tax-return-category.d.ts.map +1 -0
  321. package/lib/db/Models/tax-return/tax-return-item.d.ts.map +1 -0
  322. package/lib/db/Models/tax-return/tax-return.d.ts.map +1 -0
  323. package/lib/db/Models/transaction/allocation-rule-condition.d.ts.map +1 -0
  324. package/lib/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts.map +1 -0
  325. package/lib/db/Models/transaction/allocation-rule-transaction.d.ts.map +1 -0
  326. package/lib/db/Models/transaction/allocation-rule.d.ts.map +1 -0
  327. package/lib/db/Models/transaction/transaction-allocation.d.ts.map +1 -0
  328. package/lib/db/Models/transaction/transaction-base.d.ts.map +1 -0
  329. package/lib/db/Models/transaction/transaction-meta-field.d.ts.map +1 -0
  330. package/lib/db/Models/transaction/transaction-receipt.d.ts.map +1 -0
  331. package/lib/db/Models/transaction/transaction.d.ts.map +1 -0
  332. package/lib/db/Models/user/employee-details.d.ts.map +1 -0
  333. package/lib/db/Models/user/registration-invite.d.ts.map +1 -0
  334. package/lib/db/Models/user/user-event-setting.d.ts.map +1 -0
  335. package/lib/db/Models/user/user-event-type-category.d.ts.map +1 -0
  336. package/lib/db/Models/user/user-event-type.d.ts.map +1 -0
  337. package/lib/db/Models/user/user-event.d.ts.map +1 -0
  338. package/lib/db/Models/user/user.d.ts +2 -2
  339. package/lib/db/Models/user/user.d.ts.map +1 -0
  340. package/lib/db/Models/vehicle/vehicle-claim-details.d.ts.map +1 -0
  341. package/lib/db/Models/vehicle/vehicle-claim.d.ts.map +1 -0
  342. package/lib/db/Models/vehicle/vehicle-logbook.d.ts.map +1 -0
  343. package/lib/db/Models/vehicle/vehicle.d.ts.map +1 -0
  344. package/lib/db-static/chart-accounts/chart-accounts-values.d.ts.map +1 -0
  345. package/lib/forms/abstract.form.d.ts.map +1 -0
  346. package/lib/forms/address/address.form.d.ts.map +1 -0
  347. package/lib/forms/address/index.d.ts.map +1 -0
  348. package/lib/forms/bank/bank-account/bank-account-add-manual.form.d.ts.map +1 -0
  349. package/lib/forms/bank/bank-account/bank-account-allocation.form.d.ts.map +1 -0
  350. package/lib/forms/bank/bank-account/bank-account-import.form.d.ts.map +1 -0
  351. package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts.map +1 -0
  352. package/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts.map +1 -0
  353. package/lib/forms/budget/budget.form.d.ts.map +1 -0
  354. package/lib/forms/budget/index.d.ts.map +1 -0
  355. package/lib/forms/client/annual-client-details.form.d.ts.map +1 -0
  356. package/lib/forms/client/client-income-types.form.d.ts.map +1 -0
  357. package/lib/forms/client/index.d.ts.map +1 -0
  358. package/lib/forms/depreciation/depreciation.form.d.ts.map +1 -0
  359. package/lib/forms/depreciation/index.d.ts.map +1 -0
  360. package/lib/forms/form-validations.enum.d.ts.map +1 -0
  361. package/lib/forms/holding/holding-reinvest.form.d.ts.map +1 -0
  362. package/lib/forms/holding/holding-sale.form.d.ts.map +1 -0
  363. package/lib/forms/holding/holding-type.form.d.ts.map +1 -0
  364. package/lib/forms/holding/holding.form.d.ts.map +1 -0
  365. package/lib/forms/holding/index.d.ts.map +1 -0
  366. package/lib/forms/index.d.ts.map +1 -0
  367. package/lib/forms/loan/index.d.ts.map +1 -0
  368. package/lib/forms/loan/loan.form.d.ts.map +1 -0
  369. package/lib/forms/login/login.form.d.ts.map +1 -0
  370. package/lib/forms/phone/index.d.ts.map +1 -0
  371. package/lib/forms/phone/phone.form.d.ts.map +1 -0
  372. package/lib/forms/property/borrowing-report.form.d.ts.map +1 -0
  373. package/lib/forms/property/index.d.ts.map +1 -0
  374. package/lib/forms/property/property-sale/index.d.ts.map +1 -0
  375. package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts.map +1 -0
  376. package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts.map +1 -0
  377. package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts.map +1 -0
  378. package/lib/forms/register/register-client.form.d.ts.map +1 -0
  379. package/lib/forms/register/register-firm.form.d.ts.map +1 -0
  380. package/lib/forms/report/my-tax/index.d.ts.map +1 -0
  381. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts.map +1 -0
  382. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts.map +1 -0
  383. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts.map +1 -0
  384. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts.map +1 -0
  385. package/lib/forms/report/my-tax/my-tax-cgt.form.d.ts.map +1 -0
  386. package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts.map +1 -0
  387. package/lib/forms/report/my-tax/my-tax-dividends.form.d.ts.map +1 -0
  388. package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts.map +1 -0
  389. package/lib/forms/report/my-tax/my-tax-income-tests.form.d.ts.map +1 -0
  390. package/lib/forms/report/my-tax/my-tax-interest.form.d.ts.map +1 -0
  391. package/lib/forms/report/my-tax/my-tax-losses.form.d.ts.map +1 -0
  392. package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts.map +1 -0
  393. package/lib/forms/report/my-tax/my-tax-offsets.form.d.ts.map +1 -0
  394. package/lib/forms/report/my-tax/my-tax-other-income.form.d.ts.map +1 -0
  395. package/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts.map +1 -0
  396. package/lib/forms/report/my-tax/my-tax-rent.form.d.ts.map +1 -0
  397. package/lib/forms/sole/bas-report.form.d.ts.map +1 -0
  398. package/lib/forms/sole/index.d.ts.map +1 -0
  399. package/lib/forms/sole/sole-business-allocations.form.d.ts.map +1 -0
  400. package/lib/forms/sole/sole-business-loss.form.d.ts.map +1 -0
  401. package/lib/forms/sole/sole-business.form.d.ts.map +1 -0
  402. package/lib/forms/sole/sole-contact.form.d.ts.map +1 -0
  403. package/lib/forms/sole/sole-depreciation-method.form.d.ts.map +1 -0
  404. package/lib/forms/sole/sole-details.form.d.ts.map +1 -0
  405. package/lib/forms/sole/sole-invoice-item.form.d.ts.map +1 -0
  406. package/lib/forms/sole/sole-invoice-template.form.d.ts.map +1 -0
  407. package/lib/forms/sole/sole-invoice.form.d.ts.map +1 -0
  408. package/lib/forms/transaction/allocation-rule-condition.form.d.ts.map +1 -0
  409. package/lib/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts.map +1 -0
  410. package/lib/forms/transaction/allocation-rule-transaction.form.d.ts.map +1 -0
  411. package/lib/forms/transaction/allocation-rule.form.d.ts.map +1 -0
  412. package/lib/forms/transaction/holding/holding-income.form.d.ts.map +1 -0
  413. package/lib/forms/transaction/index.d.ts.map +1 -0
  414. package/lib/forms/transaction/messages.enum.d.ts.map +1 -0
  415. package/lib/forms/transaction/transaction-base.form.d.ts.map +1 -0
  416. package/lib/forms/transaction/transaction.form.d.ts.map +1 -0
  417. package/lib/forms/transaction/work/work-expense.form.d.ts.map +1 -0
  418. package/lib/forms/transaction/work/work-income.form.d.ts.map +1 -0
  419. package/lib/forms/transaction/work/work-transaction.form.d.ts.map +1 -0
  420. package/lib/forms/user/index.d.ts.map +1 -0
  421. package/lib/forms/user/password.form.d.ts.map +1 -0
  422. package/lib/forms/user/reset-password.form.d.ts.map +1 -0
  423. package/lib/forms/user/user-invite.form.d.ts.map +1 -0
  424. package/lib/forms/vehicle/index.d.ts.map +1 -0
  425. package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +1 -0
  426. package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +1 -0
  427. package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +1 -0
  428. package/lib/forms/vehicle/vehicle.form.d.ts.map +1 -0
  429. package/lib/functions/array/index.d.ts.map +1 -0
  430. package/lib/functions/array/replace.d.ts.map +1 -0
  431. package/lib/functions/array/sort-deep.d.ts.map +1 -0
  432. package/lib/functions/array/sort.d.ts.map +1 -0
  433. package/lib/functions/array/to-array.d.ts.map +1 -0
  434. package/lib/functions/clone-deep.d.ts.map +1 -0
  435. package/lib/functions/create-date.d.ts.map +1 -0
  436. package/lib/functions/enum-to-list.d.ts.map +1 -0
  437. package/lib/functions/get-doc-icon.d.ts.map +1 -0
  438. package/lib/functions/mat-options-functions.d.ts.map +1 -0
  439. package/lib/functions/mat-sort-options.d.ts.map +1 -0
  440. package/lib/functions/tax-review-filter-predicate.d.ts.map +1 -0
  441. package/lib/interceptors/basiq-client-id.interceptor.d.ts.map +1 -0
  442. package/lib/interceptors/basiq-token.interceptor.d.ts.map +1 -0
  443. package/lib/interceptors/corelogic-interceptor.d.ts.map +1 -0
  444. package/lib/interceptors/financial-year-interceptor.d.ts.map +1 -0
  445. package/lib/interceptors/interceptors.module.d.ts.map +1 -0
  446. package/lib/interceptors/jwt-interceptor.d.ts.map +1 -0
  447. package/lib/interceptors/preloader.interceptor.d.ts.map +1 -0
  448. package/lib/interceptors/user-switcher-interceptor.d.ts.map +1 -0
  449. package/lib/interfaces/asset-entity-type.enum.d.ts.map +1 -0
  450. package/lib/interfaces/asset-type.enum.d.ts.map +1 -0
  451. package/lib/interfaces/asset.interface.d.ts.map +1 -0
  452. package/lib/interfaces/auth-tokens.interface.d.ts.map +1 -0
  453. package/lib/interfaces/chart-data.interface.d.ts.map +1 -0
  454. package/lib/interfaces/chart-serie.interface.d.ts.map +1 -0
  455. package/lib/interfaces/document.interface.d.ts.map +1 -0
  456. package/lib/interfaces/documentable.interface.d.ts.map +1 -0
  457. package/lib/interfaces/event-listener.interface.d.ts.map +1 -0
  458. package/lib/interfaces/expense.interface.d.ts.map +1 -0
  459. package/lib/interfaces/income-source-forecast.interface.d.ts.map +1 -0
  460. package/lib/interfaces/index.d.ts.map +1 -0
  461. package/lib/interfaces/option.interface.d.ts.map +1 -0
  462. package/lib/interfaces/photoable.d.ts.map +1 -0
  463. package/lib/interfaces/receipt.interface.d.ts.map +1 -0
  464. package/lib/interfaces/table-exportable.interface.d.ts.map +1 -0
  465. package/lib/interfaces/tank.interface.d.ts.map +1 -0
  466. package/lib/interfaces/updatable.interface.d.ts.map +1 -0
  467. package/lib/messages/index.d.ts.map +1 -0
  468. package/lib/messages/messages.enum.d.ts.map +1 -0
  469. package/lib/models/account-setup/account-setup-item.d.ts.map +1 -0
  470. package/lib/models/account-setup/account-setup-items.const.d.ts.map +1 -0
  471. package/lib/models/account-setup/account-setup-items.enum.d.ts.map +1 -0
  472. package/lib/models/address/address.d.ts.map +1 -0
  473. package/lib/models/address/country.d.ts.map +1 -0
  474. package/lib/models/address/index.d.ts.map +1 -0
  475. package/lib/models/address/states.enum.d.ts.map +1 -0
  476. package/lib/models/asset-sale.d.ts.map +1 -0
  477. package/lib/models/badge/badge-color.enum.d.ts.map +1 -0
  478. package/lib/models/badge/badge.d.ts.map +1 -0
  479. package/lib/models/bank/allocation-group.d.ts.map +1 -0
  480. package/lib/models/bank/bank-account-chart-data.d.ts.map +1 -0
  481. package/lib/models/bank/bank-account-property.d.ts.map +1 -0
  482. package/lib/models/bank/bank-account-types.const.d.ts.map +1 -0
  483. package/lib/models/bank/bank-account.d.ts.map +1 -0
  484. package/lib/models/bank/bank-connection.d.ts.map +1 -0
  485. package/lib/models/bank/bank-external-stats.d.ts.map +1 -0
  486. package/lib/models/bank/bank-transaction-chart-data.d.ts.map +1 -0
  487. package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts.map +1 -0
  488. package/lib/models/bank/bank-transaction.d.ts.map +1 -0
  489. package/lib/models/bank/bank.d.ts.map +1 -0
  490. package/lib/models/bank/basiq/basiq-config.d.ts.map +1 -0
  491. package/lib/models/bank/basiq/basiq-connection-data.interface.d.ts.map +1 -0
  492. package/lib/models/bank/basiq/basiq-connections-response.interface.d.ts.map +1 -0
  493. package/lib/models/bank/basiq/basiq-job-response.d.ts.map +1 -0
  494. package/lib/models/bank/basiq/basiq-job-step.d.ts.map +1 -0
  495. package/lib/models/bank/basiq/basiq-job.d.ts.map +1 -0
  496. package/lib/models/bank/basiq/basiq-token-response.interface.d.ts.map +1 -0
  497. package/lib/models/bank/basiq/basiq-token.d.ts.map +1 -0
  498. package/lib/models/bank/basiq/index.d.ts.map +1 -0
  499. package/lib/models/bank/index.d.ts.map +1 -0
  500. package/lib/models/bank/type-loan.const.d.ts.map +1 -0
  501. package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts.map +1 -0
  502. package/lib/models/borrowing-expense/borrowing-expense.d.ts.map +1 -0
  503. package/lib/models/borrowing-expense/index.d.ts.map +1 -0
  504. package/lib/models/budget/budget-rule.d.ts.map +1 -0
  505. package/lib/models/budget/budget.d.ts.map +1 -0
  506. package/lib/models/budget/index.d.ts.map +1 -0
  507. package/lib/models/chart/chart-data.d.ts.map +1 -0
  508. package/lib/models/chart/chart-serie.d.ts.map +1 -0
  509. package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts.map +1 -0
  510. package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts.map +1 -0
  511. package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
  512. package/lib/models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
  513. package/lib/models/chart-accounts/chart-accounts-meta-field.d.ts.map +1 -0
  514. package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts.map +1 -0
  515. package/lib/models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
  516. package/lib/models/chart-accounts/chart-accounts.d.ts.map +1 -0
  517. package/lib/models/chart-accounts/index.d.ts.map +1 -0
  518. package/lib/models/chat/chat-view-type.enum.d.ts.map +1 -0
  519. package/lib/models/chat/chat.d.ts.map +1 -0
  520. package/lib/models/chat/index.d.ts.map +1 -0
  521. package/lib/models/chat/message-document.d.ts.map +1 -0
  522. package/lib/models/chat/message.d.ts.map +1 -0
  523. package/lib/models/client/annual-client-details.d.ts.map +1 -0
  524. package/lib/models/client/client-details.d.ts.map +1 -0
  525. package/lib/models/client/client-income-types.d.ts.map +1 -0
  526. package/lib/models/client/client-invite.d.ts.map +1 -0
  527. package/lib/models/client/client-movement.d.ts.map +1 -0
  528. package/lib/models/client/client-portfolio-chart-data.d.ts.map +1 -0
  529. package/lib/models/client/client-portfolio-report.d.ts.map +1 -0
  530. package/lib/models/client/index.d.ts.map +1 -0
  531. package/lib/models/color/alphabet-colors.enum.d.ts.map +1 -0
  532. package/lib/models/depreciation/depreciation-capital-project.d.ts.map +1 -0
  533. package/lib/models/depreciation/depreciation-forecast.d.ts.map +1 -0
  534. package/lib/models/depreciation/depreciation-group-item.d.ts.map +1 -0
  535. package/lib/models/depreciation/depreciation-group.d.ts.map +1 -0
  536. package/lib/models/depreciation/depreciation-group.enum.d.ts.map +1 -0
  537. package/lib/models/depreciation/depreciation-groups.const.d.ts.map +1 -0
  538. package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts.map +1 -0
  539. package/lib/models/depreciation/depreciation-receipt.d.ts.map +1 -0
  540. package/lib/models/depreciation/depreciation.d.ts.map +1 -0
  541. package/lib/models/depreciation/index.d.ts.map +1 -0
  542. package/lib/models/dictionary/dictionary.d.ts.map +1 -0
  543. package/lib/models/dictionary/index.d.ts.map +1 -0
  544. package/lib/models/document/document-api-url-prefix.enum.d.ts.map +1 -0
  545. package/lib/models/document/document-file-types.const.d.ts.map +1 -0
  546. package/lib/models/document/document-folder.d.ts.map +1 -0
  547. package/lib/models/document/document.d.ts.map +1 -0
  548. package/lib/models/document/index.d.ts.map +1 -0
  549. package/lib/models/employee/employee-details.d.ts.map +1 -0
  550. package/lib/models/employee/employee-invite.d.ts.map +1 -0
  551. package/lib/models/endpoint/endpoint.d.ts.map +1 -0
  552. package/lib/models/endpoint/endpoints.const.d.ts.map +1 -0
  553. package/lib/models/event/app-event-type.enum.d.ts +8 -9
  554. package/lib/models/event/app-event-type.enum.d.ts.map +1 -0
  555. package/lib/models/event/app-event.d.ts.map +1 -0
  556. package/lib/models/event/index.d.ts.map +1 -0
  557. package/lib/models/export/export-cell-type.enum.d.ts.map +1 -0
  558. package/lib/models/export/export-cell.d.ts.map +1 -0
  559. package/lib/models/export/export-data-table.d.ts.map +1 -0
  560. package/lib/models/export/export-format.enum.d.ts.map +1 -0
  561. package/lib/models/export/export-row-data-type.enum.d.ts.map +1 -0
  562. package/lib/models/export/export-row.d.ts.map +1 -0
  563. package/lib/models/file/file.d.ts.map +1 -0
  564. package/lib/models/file/icons-file.enum.d.ts.map +1 -0
  565. package/lib/models/file/index.d.ts.map +1 -0
  566. package/lib/models/financial-year/financial-year.d.ts.map +1 -0
  567. package/lib/models/financial-year/index.d.ts.map +1 -0
  568. package/lib/models/financial-year/month-name-short.enum.d.ts.map +1 -0
  569. package/lib/models/financial-year/month-number.enum.d.ts.map +1 -0
  570. package/lib/models/financial-year/months.const.d.ts.map +1 -0
  571. package/lib/models/firm/firm.d.ts.map +1 -0
  572. package/lib/models/holding/holding-reinvest.d.ts.map +1 -0
  573. package/lib/models/holding/holding-sale.d.ts.map +1 -0
  574. package/lib/models/holding/holding-type-exchange.d.ts.map +1 -0
  575. package/lib/models/holding/holding-type.d.ts.map +1 -0
  576. package/lib/models/holding/holding.d.ts.map +1 -0
  577. package/lib/models/holding/index.d.ts.map +1 -0
  578. package/lib/models/income-position/income-position.d.ts.map +1 -0
  579. package/lib/models/income-source/income-source-chart-data.d.ts.map +1 -0
  580. package/lib/models/income-source/income-source-forecast.d.ts.map +1 -0
  581. package/lib/models/income-source/income-source-type.d.ts.map +1 -0
  582. package/lib/models/income-source/income-source.d.ts.map +1 -0
  583. package/lib/models/income-source/index.d.ts.map +1 -0
  584. package/lib/models/income-source/salary-forecast.d.ts.map +1 -0
  585. package/lib/models/income-source/sole-forecast.d.ts.map +1 -0
  586. package/lib/models/index.d.ts.map +1 -0
  587. package/lib/models/loan/index.d.ts.map +1 -0
  588. package/lib/models/loan/loan-max-number-of-payments.enum.d.ts.map +1 -0
  589. package/lib/models/loan/loan-payment.d.ts.map +1 -0
  590. package/lib/models/loan/loan-payout.d.ts.map +1 -0
  591. package/lib/models/loan/loan.d.ts.map +1 -0
  592. package/lib/models/notification/index.d.ts.map +1 -0
  593. package/lib/models/notification/notification.d.ts.map +1 -0
  594. package/lib/models/pdf/pdf-orientation.enum.d.ts.map +1 -0
  595. package/lib/models/pdf/pdf-settings.d.ts.map +1 -0
  596. package/lib/models/phone/phone.d.ts.map +1 -0
  597. package/lib/models/property/borrowing-report.d.ts.map +1 -0
  598. package/lib/models/property/calculation-form-item.d.ts.map +1 -0
  599. package/lib/models/property/calculation-form-type.enum.d.ts.map +1 -0
  600. package/lib/models/property/capital-costs-itmes.const.d.ts.map +1 -0
  601. package/lib/models/property/corelogic-suggestion.d.ts.map +1 -0
  602. package/lib/models/property/index.d.ts.map +1 -0
  603. package/lib/models/property/property-category-movement.d.ts.map +1 -0
  604. package/lib/models/property/property-category.d.ts.map +1 -0
  605. package/lib/models/property/property-document.d.ts.map +1 -0
  606. package/lib/models/property/property-equity-chart-data.d.ts.map +1 -0
  607. package/lib/models/property/property-equity-chart-item.d.ts.map +1 -0
  608. package/lib/models/property/property-equity-chart-type.enum.d.ts.map +1 -0
  609. package/lib/models/property/property-forecast.d.ts.map +1 -0
  610. package/lib/models/property/property-sale/index.d.ts.map +1 -0
  611. package/lib/models/property/property-sale/property-sale-cost-base.d.ts.map +1 -0
  612. package/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +1 -0
  613. package/lib/models/property/property-sale/property-sale.d.ts.map +1 -0
  614. package/lib/models/property/property-sale/tax-exemption-meta-field.d.ts.map +1 -0
  615. package/lib/models/property/property-sale/tax-exemption.d.ts.map +1 -0
  616. package/lib/models/property/property-share.d.ts.map +1 -0
  617. package/lib/models/property/property-subscription.d.ts.map +1 -0
  618. package/lib/models/property/property-valuation.d.ts.map +1 -0
  619. package/lib/models/property/property.d.ts.map +1 -0
  620. package/lib/models/property/share-filter-options.enum.d.ts.map +1 -0
  621. package/lib/models/registration-invite/registration-invite.d.ts.map +1 -0
  622. package/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts.map +1 -0
  623. package/lib/models/report/depreciation/depreciation-lvp-report-item.d.ts.map +1 -0
  624. package/lib/models/report/depreciation/depreciation-report-item.d.ts.map +1 -0
  625. package/lib/models/report/depreciation/index.d.ts.map +1 -0
  626. package/lib/models/report/index.d.ts.map +1 -0
  627. package/lib/models/report/my-tax/ato-links.d.ts.map +1 -0
  628. package/lib/models/report/my-tax/index.d.ts.map +1 -0
  629. package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts.map +1 -0
  630. package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts.map +1 -0
  631. package/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts.map +1 -0
  632. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts.map +1 -0
  633. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts.map +1 -0
  634. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts.map +1 -0
  635. package/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts.map +1 -0
  636. package/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts.map +1 -0
  637. package/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts.map +1 -0
  638. package/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts.map +1 -0
  639. package/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts.map +1 -0
  640. package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts.map +1 -0
  641. package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts.map +1 -0
  642. package/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts.map +1 -0
  643. package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts.map +1 -0
  644. package/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts.map +1 -0
  645. package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts.map +1 -0
  646. package/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts.map +1 -0
  647. package/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts.map +1 -0
  648. package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts.map +1 -0
  649. package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts.map +1 -0
  650. package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts.map +1 -0
  651. package/lib/models/report/property/index.d.ts.map +1 -0
  652. package/lib/models/report/property/property-report-item-depreciation.d.ts.map +1 -0
  653. package/lib/models/report/property/property-report-item-transaction.d.ts.map +1 -0
  654. package/lib/models/report/property/property-report-item.d.ts.map +1 -0
  655. package/lib/models/report/sole/index.d.ts.map +1 -0
  656. package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts.map +1 -0
  657. package/lib/models/report/vehicle-expense/vehicle-expense.d.ts.map +1 -0
  658. package/lib/models/service-subscription/index.d.ts.map +1 -0
  659. package/lib/models/service-subscription/module-url-list.const.d.ts.map +1 -0
  660. package/lib/models/service-subscription/payment-method-brand.enum.d.ts.map +1 -0
  661. package/lib/models/service-subscription/service-payment-method.d.ts.map +1 -0
  662. package/lib/models/service-subscription/service-payment.d.ts.map +1 -0
  663. package/lib/models/service-subscription/service-price.d.ts.map +1 -0
  664. package/lib/models/service-subscription/service-product.d.ts.map +1 -0
  665. package/lib/models/service-subscription/service-promo-code-duration.enum.d.ts.map +1 -0
  666. package/lib/models/service-subscription/service-promo-code.d.ts.map +1 -0
  667. package/lib/models/service-subscription/service-subscription-item.d.ts.map +1 -0
  668. package/lib/models/service-subscription/service-subscription.d.ts.map +1 -0
  669. package/lib/models/sole/bas-report.d.ts.map +1 -0
  670. package/lib/models/sole/index.d.ts.map +1 -0
  671. package/lib/models/sole/sole-business-activity.d.ts.map +1 -0
  672. package/lib/models/sole/sole-business-allocation.d.ts.map +1 -0
  673. package/lib/models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
  674. package/lib/models/sole/sole-business-loss.d.ts.map +1 -0
  675. package/lib/models/sole/sole-business.d.ts.map +1 -0
  676. package/lib/models/sole/sole-contact.d.ts.map +1 -0
  677. package/lib/models/sole/sole-depreciation-method.d.ts.map +1 -0
  678. package/lib/models/sole/sole-details.d.ts.map +1 -0
  679. package/lib/models/sole/sole-invoice-item.d.ts.map +1 -0
  680. package/lib/models/sole/sole-invoice-template.d.ts.map +1 -0
  681. package/lib/models/sole/sole-invoice.d.ts.map +1 -0
  682. package/lib/models/tax-return/index.d.ts.map +1 -0
  683. package/lib/models/tax-return/tax-return-category.d.ts.map +1 -0
  684. package/lib/models/tax-return/tax-return-item.d.ts.map +1 -0
  685. package/lib/models/tax-return/tax-return.d.ts.map +1 -0
  686. package/lib/models/tax-review/tax-review.d.ts.map +1 -0
  687. package/lib/models/tax-summary/report-item-details.d.ts.map +1 -0
  688. package/lib/models/tax-summary/report-item.d.ts.map +1 -0
  689. package/lib/models/tax-summary/tax-summary-section.d.ts.map +1 -0
  690. package/lib/models/tax-summary/tax-summary-type.enum.d.ts.map +1 -0
  691. package/lib/models/tax-summary/tax-summary.d.ts.map +1 -0
  692. package/lib/models/toast/toast-type.enum.d.ts.map +1 -0
  693. package/lib/models/toast/toast.d.ts.map +1 -0
  694. package/lib/models/transaction/allocation-rule-condition.d.ts.map +1 -0
  695. package/lib/models/transaction/allocation-rule-transaction-meta-field.d.ts.map +1 -0
  696. package/lib/models/transaction/allocation-rule-transaction.d.ts.map +1 -0
  697. package/lib/models/transaction/allocation-rule.d.ts.map +1 -0
  698. package/lib/models/transaction/income-amount-type.enum.d.ts.map +1 -0
  699. package/lib/models/transaction/index.d.ts.map +1 -0
  700. package/lib/models/transaction/transaction-allocation.d.ts.map +1 -0
  701. package/lib/models/transaction/transaction-category.enum.d.ts.map +1 -0
  702. package/lib/models/transaction/transaction-meta-field.d.ts.map +1 -0
  703. package/lib/models/transaction/transaction-receipt.d.ts.map +1 -0
  704. package/lib/models/transaction/transaction.d.ts.map +1 -0
  705. package/lib/models/user/index.d.ts.map +1 -0
  706. package/lib/models/user/my-account-history-initiated-by.enum.d.ts.map +1 -0
  707. package/lib/models/user/my-account-history-status.enum.d.ts.map +1 -0
  708. package/lib/models/user/my-account-history-type.enum.d.ts.map +1 -0
  709. package/lib/models/user/my-account-history.d.ts.map +1 -0
  710. package/lib/models/user/occupation.d.ts.map +1 -0
  711. package/lib/models/user/user-roles.const.d.ts.map +1 -0
  712. package/lib/models/user/user-to-register.d.ts.map +1 -0
  713. package/lib/models/user/user-work-position.const.d.ts.map +1 -0
  714. package/lib/models/user/user.d.ts.map +1 -0
  715. package/lib/models/user-event/user-event-setting-field.enum.d.ts.map +1 -0
  716. package/lib/models/user-event/user-event-setting.d.ts.map +1 -0
  717. package/lib/models/user-event/user-event-type-category.d.ts.map +1 -0
  718. package/lib/models/user-event/user-event-type.d.ts.map +1 -0
  719. package/lib/models/vehicle/index.d.ts.map +1 -0
  720. package/lib/models/vehicle/logbook-period.d.ts.map +1 -0
  721. package/lib/models/vehicle/vehicle-claim-details.d.ts.map +1 -0
  722. package/lib/models/vehicle/vehicle-claim.d.ts.map +1 -0
  723. package/lib/models/vehicle/vehicle-logbook.d.ts.map +1 -0
  724. package/lib/models/vehicle/vehicle.d.ts.map +1 -0
  725. package/lib/services/account-setup/account-setup.service.d.ts.map +1 -0
  726. package/lib/services/account-setup/index.d.ts.map +1 -0
  727. package/lib/services/affiliate/index.d.ts.map +1 -0
  728. package/lib/services/affiliate/rewardful/index.d.ts.map +1 -0
  729. package/lib/services/affiliate/rewardful/rewardful.service.d.ts.map +1 -0
  730. package/lib/services/asset/assets.service.d.ts.map +1 -0
  731. package/lib/services/asset/index.d.ts.map +1 -0
  732. package/lib/services/auth/auth.service.d.ts +3 -14
  733. package/lib/services/auth/auth.service.d.ts.map +1 -0
  734. package/lib/services/auth/index.d.ts.map +1 -0
  735. package/lib/services/auth/jwt.service.d.ts.map +1 -0
  736. package/lib/services/bank/bank-account-calculation.service.d.ts.map +1 -0
  737. package/lib/services/bank/bank-transaction-calculation.service.d.ts.map +1 -0
  738. package/lib/services/bank/index.d.ts.map +1 -0
  739. package/lib/services/data.service.d.ts +4 -0
  740. package/lib/services/data.service.d.ts.map +1 -0
  741. package/lib/services/event/event-dispatcher.service.d.ts.map +1 -0
  742. package/lib/services/event/index.d.ts.map +1 -0
  743. package/lib/services/event/sse.service.d.ts.map +1 -0
  744. package/lib/services/export/export-formatter.service.d.ts.map +1 -0
  745. package/lib/services/export/index.d.ts.map +1 -0
  746. package/lib/services/header-title/header-title.service.d.ts.map +1 -0
  747. package/lib/services/header-title/index.d.ts.map +1 -0
  748. package/lib/services/http/address/address.service.d.ts.map +1 -0
  749. package/lib/services/http/address/index.d.ts.map +1 -0
  750. package/lib/services/http/bank/bank-account/bank-account.service.d.ts.map +1 -0
  751. package/lib/services/http/bank/bank-account/index.d.ts.map +1 -0
  752. package/lib/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts.map +1 -0
  753. package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts.map +1 -0
  754. package/lib/services/http/bank/bank-connection/index.d.ts.map +1 -0
  755. package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts.map +1 -0
  756. package/lib/services/http/bank/bank-transaction/index.d.ts.map +1 -0
  757. package/lib/services/http/bank/bank.service.d.ts.map +1 -0
  758. package/lib/services/http/bank/basiq/basiq-messages.enum.d.ts.map +1 -0
  759. package/lib/services/http/bank/basiq/basiq-token.service.d.ts.map +1 -0
  760. package/lib/services/http/bank/basiq/basiq.service.d.ts.map +1 -0
  761. package/lib/services/http/bank/basiq/index.d.ts.map +1 -0
  762. package/lib/services/http/bank/index.d.ts.map +1 -0
  763. package/lib/services/http/budget/budget-messages.enum.d.ts.map +1 -0
  764. package/lib/services/http/budget/budget.service.d.ts.map +1 -0
  765. package/lib/services/http/budget/index.d.ts.map +1 -0
  766. package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts.map +1 -0
  767. package/lib/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts.map +1 -0
  768. package/lib/services/http/chart-accounts/chart-accounts.service.d.ts.map +1 -0
  769. package/lib/services/http/chart-accounts/index.d.ts.map +1 -0
  770. package/lib/services/http/chat/chat.service.d.ts.map +1 -0
  771. package/lib/services/http/chat/index.d.ts.map +1 -0
  772. package/lib/services/http/chat/message-document.service.d.ts.map +1 -0
  773. package/lib/services/http/chat/message.service.d.ts.map +1 -0
  774. package/lib/services/http/client/capital-gain/annual-client-details.service.d.ts.map +1 -0
  775. package/lib/services/http/client/index.d.ts.map +1 -0
  776. package/lib/services/http/client/occupation/occupation.service.d.ts.map +1 -0
  777. package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts.map +1 -0
  778. package/lib/services/http/depreciation/depreciation-capital-project/index.d.ts.map +1 -0
  779. package/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.d.ts.map +1 -0
  780. package/lib/services/http/depreciation/depreciation-receipt/index.d.ts.map +1 -0
  781. package/lib/services/http/depreciation/depreciation.service.d.ts.map +1 -0
  782. package/lib/services/http/depreciation/index.d.ts.map +1 -0
  783. package/lib/services/http/document/document-folder/document-folder.service.d.ts.map +1 -0
  784. package/lib/services/http/document/document.service.d.ts.map +1 -0
  785. package/lib/services/http/document/index.d.ts.map +1 -0
  786. package/lib/services/http/facebook/facebook-auth-options.interface.d.ts.map +1 -0
  787. package/lib/services/http/facebook/facebook-auth-response.interface.d.ts.map +1 -0
  788. package/lib/services/http/facebook/facebook-status-response.interface.d.ts.map +1 -0
  789. package/lib/services/http/facebook/facebook.service.d.ts.map +1 -0
  790. package/lib/services/http/facebook/index.d.ts.map +1 -0
  791. package/lib/services/http/file/file.service.d.ts.map +1 -0
  792. package/lib/services/http/file/index.d.ts.map +1 -0
  793. package/lib/services/http/firm/client-income/client-income-types.service.d.ts.map +1 -0
  794. package/lib/services/http/firm/client-income/index.d.ts.map +1 -0
  795. package/lib/services/http/firm/client-invite/client-invite-messages.enum.d.ts.map +1 -0
  796. package/lib/services/http/firm/client-invite/client-invite.service.d.ts.map +1 -0
  797. package/lib/services/http/firm/client-invite/index.d.ts.map +1 -0
  798. package/lib/services/http/firm/client-movement/client-movement.service.d.ts.map +1 -0
  799. package/lib/services/http/firm/client-movement/index.d.ts.map +1 -0
  800. package/lib/services/http/firm/employee/employee-messages.enum.d.ts.map +1 -0
  801. package/lib/services/http/firm/employee/employee.service.d.ts.map +1 -0
  802. package/lib/services/http/firm/employee/index.d.ts.map +1 -0
  803. package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts.map +1 -0
  804. package/lib/services/http/firm/employee-invite/index.d.ts.map +1 -0
  805. package/lib/services/http/firm/firm.service.d.ts.map +1 -0
  806. package/lib/services/http/firm/index.d.ts.map +1 -0
  807. package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts.map +1 -0
  808. package/lib/services/http/firm/portfolio-report/index.d.ts.map +1 -0
  809. package/lib/services/http/google/google.service.d.ts.map +1 -0
  810. package/lib/services/http/google/index.d.ts.map +1 -0
  811. package/lib/services/http/holding/holding-messages.enum.d.ts.map +1 -0
  812. package/lib/services/http/holding/holding-sale-messages.enum.d.ts.map +1 -0
  813. package/lib/services/http/holding/holding-sale.service.d.ts.map +1 -0
  814. package/lib/services/http/holding/holding-type-messages.enum.d.ts.map +1 -0
  815. package/lib/services/http/holding/holding-type.service.d.ts.map +1 -0
  816. package/lib/services/http/holding/holding.service.d.ts.map +1 -0
  817. package/lib/services/http/holding/index.d.ts.map +1 -0
  818. package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts.map +1 -0
  819. package/lib/services/http/income-source/income-source-forecast/index.d.ts.map +1 -0
  820. package/lib/services/http/income-source/income-source.service.d.ts.map +1 -0
  821. package/lib/services/http/income-source/index.d.ts.map +1 -0
  822. package/lib/services/http/income-source/salary-forecast/index.d.ts.map +1 -0
  823. package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts.map +1 -0
  824. package/lib/services/http/income-source/sole-forecast/index.d.ts.map +1 -0
  825. package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts.map +1 -0
  826. package/lib/services/http/index.d.ts.map +1 -0
  827. package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts.map +1 -0
  828. package/lib/services/http/loan/borrowing-expense/index.d.ts.map +1 -0
  829. package/lib/services/http/loan/index.d.ts.map +1 -0
  830. package/lib/services/http/loan/loan.service.d.ts.map +1 -0
  831. package/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.d.ts.map +1 -0
  832. package/lib/services/http/property/borrowing-report/borrowing-report.service.d.ts.map +1 -0
  833. package/lib/services/http/property/borrowing-report/index.d.ts.map +1 -0
  834. package/lib/services/http/property/index.d.ts.map +1 -0
  835. package/lib/services/http/property/property-category/index.d.ts.map +1 -0
  836. package/lib/services/http/property/property-category/property-category.service.d.ts.map +1 -0
  837. package/lib/services/http/property/property-category-movement/index.d.ts.map +1 -0
  838. package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts.map +1 -0
  839. package/lib/services/http/property/property-document/index.d.ts.map +1 -0
  840. package/lib/services/http/property/property-document/property-document.service.d.ts.map +1 -0
  841. package/lib/services/http/property/property-sale/index.d.ts.map +1 -0
  842. package/lib/services/http/property/property-sale/property-sale.service.d.ts.map +1 -0
  843. package/lib/services/http/property/property-share/index.d.ts.map +1 -0
  844. package/lib/services/http/property/property-share/property-share.service.d.ts.map +1 -0
  845. package/lib/services/http/property/property.service.d.ts.map +1 -0
  846. package/lib/services/http/receipt/index.d.ts.map +1 -0
  847. package/lib/services/http/receipt/receipt.service.d.ts.map +1 -0
  848. package/lib/services/http/rest/http-method.type.d.ts.map +1 -0
  849. package/lib/services/http/rest/index.d.ts.map +1 -0
  850. package/lib/services/http/rest/rest-method.type.d.ts.map +1 -0
  851. package/lib/services/http/rest/rest-old.service.d.ts +2 -1
  852. package/lib/services/http/rest/rest-old.service.d.ts.map +1 -0
  853. package/lib/services/http/rest/rest.service.d.ts +10 -10
  854. package/lib/services/http/rest/rest.service.d.ts.map +1 -0
  855. package/lib/services/http/service-notification/index.d.ts.map +1 -0
  856. package/lib/services/http/service-notification/service-notification.service.d.ts.map +1 -0
  857. package/lib/services/http/sole/bas-report/bas-report.service.d.ts.map +1 -0
  858. package/lib/services/http/sole/index.d.ts.map +1 -0
  859. package/lib/services/http/sole/sole-business/messages.enum.d.ts.map +1 -0
  860. package/lib/services/http/sole/sole-business/sole-business.service.d.ts.map +1 -0
  861. package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts.map +1 -0
  862. package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts.map +1 -0
  863. package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts.map +1 -0
  864. package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts.map +1 -0
  865. package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts.map +1 -0
  866. package/lib/services/http/sole/sole-details/sole-details.service.d.ts +1 -1
  867. package/lib/services/http/sole/sole-details/sole-details.service.d.ts.map +1 -0
  868. package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +2 -0
  869. package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts.map +1 -0
  870. package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts.map +1 -0
  871. package/lib/services/http/subscription/index.d.ts.map +1 -0
  872. package/lib/services/http/subscription/service-payment/service-payment.service.d.ts.map +1 -0
  873. package/lib/services/http/subscription/service-payment-method/service-payment-method.service.d.ts.map +1 -0
  874. package/lib/services/http/subscription/service-price/service-price.service.d.ts.map +1 -0
  875. package/lib/services/http/subscription/service-product/service-product.service.d.ts.map +1 -0
  876. package/lib/services/http/subscription/service-subscription/subscription.service.d.ts.map +1 -0
  877. package/lib/services/http/tax-review/index.d.ts.map +1 -0
  878. package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts.map +1 -0
  879. package/lib/services/http/tax-review/tax-review.service.d.ts.map +1 -0
  880. package/lib/services/http/tax-summary/index.d.ts.map +1 -0
  881. package/lib/services/http/tax-summary/tax-summary.service.d.ts.map +1 -0
  882. package/lib/services/http/transaction/index.d.ts.map +1 -0
  883. package/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts.map +1 -0
  884. package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts.map +1 -0
  885. package/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.d.ts.map +1 -0
  886. package/lib/services/http/transaction/transaction.service.d.ts.map +1 -0
  887. package/lib/services/http/tutorial-video/index.d.ts.map +1 -0
  888. package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts.map +1 -0
  889. package/lib/services/http/tutorial-video/tutorial-video.service.d.ts.map +1 -0
  890. package/lib/services/http/tutorial-video/video-source.interface.d.ts.map +1 -0
  891. package/lib/services/http/user/financial-year/financial-year.service.d.ts +11 -0
  892. package/lib/services/http/user/financial-year/financial-year.service.d.ts.map +1 -0
  893. package/lib/services/http/user/index.d.ts +1 -0
  894. package/lib/services/http/user/index.d.ts.map +1 -0
  895. package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts.map +1 -0
  896. package/lib/services/http/user/user-event-type/user-event-type.service.d.ts.map +1 -0
  897. package/lib/services/http/user/user.service.d.ts +17 -68
  898. package/lib/services/http/user/user.service.d.ts.map +1 -0
  899. package/lib/services/http/user/users-invite/users-invite.service.d.ts.map +1 -0
  900. package/lib/services/http/vehicle/index.d.ts.map +1 -0
  901. package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts.map +1 -0
  902. package/lib/services/http/vehicle/vehicle-claim.service.d.ts.map +1 -0
  903. package/lib/services/http/vehicle/vehicle-logbook.service.d.ts.map +1 -0
  904. package/lib/services/http/vehicle/vehicle.service.d.ts.map +1 -0
  905. package/lib/services/index.d.ts.map +1 -0
  906. package/lib/services/intercom/index.d.ts.map +1 -0
  907. package/lib/services/intercom/intercom.service.d.ts.map +1 -0
  908. package/lib/services/json/chart-accounts/chart-accounts-value.service.d.ts.map +1 -0
  909. package/lib/services/json/holding/holding-type-exchange.service.d.ts.map +1 -0
  910. package/lib/services/json/income-source/income-source-type.service.d.ts.map +1 -0
  911. package/lib/services/json/index.d.ts.map +1 -0
  912. package/lib/services/json/tax-exemption/tax-exemption.service.d.ts.map +1 -0
  913. package/lib/services/json/tax-return/tax-return-item.service.d.ts.map +1 -0
  914. package/lib/services/pdf/index.d.ts.map +1 -0
  915. package/lib/services/pdf/js-pdf.d.ts.map +1 -0
  916. package/lib/services/pdf/pdf-from-dom-element/file-settings.d.ts.map +1 -0
  917. package/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts.map +1 -0
  918. package/lib/services/pdf/pdf-from-table/file-settings.d.ts.map +1 -0
  919. package/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts.map +1 -0
  920. package/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts.map +1 -0
  921. package/lib/services/pdf/pdf-from-table/pdf-from-table.service.d.ts.map +1 -0
  922. package/lib/services/preloader/index.d.ts.map +1 -0
  923. package/lib/services/preloader/preloader.service.d.ts.map +1 -0
  924. package/lib/services/property/corelogic/corelogic.service.d.ts.map +1 -0
  925. package/lib/services/property/corelogic/index.d.ts.map +1 -0
  926. package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts.map +1 -0
  927. package/lib/services/property/equity-position-chart/index.d.ts.map +1 -0
  928. package/lib/services/property/index.d.ts.map +1 -0
  929. package/lib/services/property/property-calculation/index.d.ts.map +1 -0
  930. package/lib/services/property/property-calculation/property-calculation.service.d.ts.map +1 -0
  931. package/lib/services/report/index.d.ts.map +1 -0
  932. package/lib/services/report/property/property-transaction-report.service.d.ts.map +1 -0
  933. package/lib/services/toast/index.d.ts.map +1 -0
  934. package/lib/services/toast/toast.service.d.ts.map +1 -0
  935. package/lib/services/transaction/index.d.ts.map +1 -0
  936. package/lib/services/transaction/transaction-calculation.service.d.ts.map +1 -0
  937. package/lib/services/user/index.d.ts.map +1 -0
  938. package/lib/services/user/user-switcher.service.d.ts.map +1 -0
  939. package/lib/services/vehicle/index.d.ts.map +1 -0
  940. package/lib/services/vehicle/logbook-best-period.service.d.ts.map +1 -0
  941. package/lib/services/xlsx/index.d.ts.map +1 -0
  942. package/lib/services/xlsx/xlsx.service.d.ts.map +1 -0
  943. package/lib/tt-core.module.d.ts.map +1 -0
  944. package/lib/validators/address-corelogic.validator.d.ts.map +1 -0
  945. package/lib/validators/at-least-one-enabled.validator.d.ts.map +1 -0
  946. package/lib/validators/at-least-one.validator.d.ts.map +1 -0
  947. package/lib/validators/autocomplete.validator.d.ts.map +1 -0
  948. package/lib/validators/conditional.validator.d.ts.map +1 -0
  949. package/lib/validators/current-fin-year.validator.d.ts.map +1 -0
  950. package/lib/validators/date-range.validator.d.ts.map +1 -0
  951. package/lib/validators/fields-sum.validator.d.ts.map +1 -0
  952. package/lib/validators/file.validator.d.ts.map +1 -0
  953. package/lib/validators/greater-than.validator.d.ts.map +1 -0
  954. package/lib/validators/index.d.ts.map +1 -0
  955. package/lib/validators/min-date/messages.enum.d.ts.map +1 -0
  956. package/lib/validators/min-date/min-date.validator.d.ts.map +1 -0
  957. package/lib/validators/password-match.validator.d.ts.map +1 -0
  958. package/lib/validators/password.validator.d.ts.map +1 -0
  959. package/lib/validators/phone-number.validator.d.ts.map +1 -0
  960. package/lib/validators/required-length.validator.d.ts.map +1 -0
  961. package/lib/validators/transactions-meta-fields.validator.d.ts.map +1 -0
  962. package/package.json +1 -1
  963. package/public-api.d.ts.map +1 -0
  964. package/taxtank-core.d.ts.map +1 -0
@@ -5,7 +5,7 @@ import { CommonModule, DatePipe } from '@angular/common';
5
5
  import * as i1 from '@angular/common/http';
6
6
  import { HttpParams, HttpErrorResponse, HTTP_INTERCEPTORS } from '@angular/common/http';
7
7
  import { map, mergeMap, filter, first as first$1, catchError, skip, take, switchMap, finalize, debounceTime, distinctUntilChanged } from 'rxjs/operators';
8
- import { ReplaySubject, Subject, BehaviorSubject, Observable, throwError, combineLatest, forkJoin, of, from, merge as merge$1 } from 'rxjs';
8
+ import { ReplaySubject, BehaviorSubject, Subject, Observable, throwError, combineLatest, forkJoin, of, from, merge as merge$1 } from 'rxjs';
9
9
  import { plainToClass, Type, Transform, Exclude, Expose, classToPlain } from 'class-transformer';
10
10
  import get from 'lodash/get';
11
11
  import { __decorate } from 'tslib';
@@ -426,7 +426,8 @@ class TransactionBase extends ObservableModel {
426
426
  /**
427
427
  * @TODO remove when AllocateForm is refactored and not merging with Transaction class which cause the issue
428
428
  */
429
- set tankType(tankType) { }
429
+ set tankType(tankType) {
430
+ }
430
431
  /**
431
432
  * Check if current tank is Property
432
433
  */
@@ -766,7 +767,7 @@ let UserEventType$1 = class UserEventType extends AbstractModel {
766
767
  class UserEvent extends AbstractModel {
767
768
  }
768
769
 
769
- let User$1 = class User extends AbstractModel {
770
+ let User$1 = class User extends ObservableModel {
770
771
  };
771
772
 
772
773
  let VehicleClaimDetails$1 = class VehicleClaimDetails extends AbstractModel {
@@ -9741,15 +9742,14 @@ var AppEventTypeEnum;
9741
9742
  AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_RECEIPT_CREATED"] = 58] = "TRANSACTION_RECEIPT_CREATED";
9742
9743
  AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_RECEIPT_DELETED"] = 59] = "TRANSACTION_RECEIPT_DELETED";
9743
9744
  AppEventTypeEnum[AppEventTypeEnum["TRANSACTIONS_CREATED"] = 60] = "TRANSACTIONS_CREATED";
9744
- AppEventTypeEnum[AppEventTypeEnum["USER_UPDATED"] = 61] = "USER_UPDATED";
9745
- AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_UPDATED"] = 62] = "VEHICLE_CLAIM_UPDATED";
9746
- AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_CREATED"] = 63] = "VEHICLE_CLAIM_CREATED";
9747
- AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_UPDATED"] = 64] = "VEHICLE_CLAIM_DETAILS_UPDATED";
9748
- AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_CREATED"] = 65] = "VEHICLE_CLAIM_DETAILS_CREATED";
9749
- AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_CREATED"] = 66] = "VEHICLE_LOGBOOK_CREATED";
9750
- AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_UPDATED"] = 67] = "VEHICLE_LOGBOOK_UPDATED";
9751
- AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_DELETED"] = 68] = "VEHICLE_LOGBOOK_DELETED";
9752
- AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED"] = 69] = "VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED";
9745
+ AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_UPDATED"] = 61] = "VEHICLE_CLAIM_UPDATED";
9746
+ AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_CREATED"] = 62] = "VEHICLE_CLAIM_CREATED";
9747
+ AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_UPDATED"] = 63] = "VEHICLE_CLAIM_DETAILS_UPDATED";
9748
+ AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_CREATED"] = 64] = "VEHICLE_CLAIM_DETAILS_CREATED";
9749
+ AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_CREATED"] = 65] = "VEHICLE_LOGBOOK_CREATED";
9750
+ AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_UPDATED"] = 66] = "VEHICLE_LOGBOOK_UPDATED";
9751
+ AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_DELETED"] = 67] = "VEHICLE_LOGBOOK_DELETED";
9752
+ AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED"] = 68] = "VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED";
9753
9753
  })(AppEventTypeEnum || (AppEventTypeEnum = {}));
9754
9754
 
9755
9755
  /**
@@ -10194,6 +10194,12 @@ class DataService {
10194
10194
  getCache() {
10195
10195
  return clone(this.cache);
10196
10196
  }
10197
+ /**
10198
+ * never return cache directly to prevent update
10199
+ */
10200
+ getCacheFirst() {
10201
+ return clone(this.cache?.first);
10202
+ }
10197
10203
  /**
10198
10204
  * @TODO vik any[] because of problems with base models extending abstractModel
10199
10205
  */
@@ -10247,64 +10253,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
10247
10253
  }]
10248
10254
  }] });
10249
10255
 
10250
- /**
10251
- * @TODO Alex (TT-1777): replace old logic with the new when all services ready
10252
- * @TODO Alex (TT-1777): rename old logic and keep it for custom events
10253
- */
10254
- class EventDispatcherService {
10255
- constructor() {
10256
- this.eventSubject = new Subject();
10257
- this.eventSubject2 = new Subject();
10258
- }
10259
- /**
10260
- * subscription to specific event type
10261
- */
10262
- on(eventType) {
10263
- return this.eventSubject.pipe(filter((event) => [].concat(eventType).includes(event.type)), map((event) => event.payload));
10264
- }
10265
- on2(...names) {
10266
- return this.eventSubject2.pipe(filter((event) => [].concat(names).includes(event.name)), map((event) => event.items));
10267
- }
10268
- /**
10269
- * deliver new event
10270
- */
10271
- dispatch(event) {
10272
- this.eventSubject.next(event);
10273
- }
10274
- dispatch2(event) {
10275
- this.eventSubject2.next(event);
10276
- }
10277
- }
10278
- EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10279
- EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
10280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, decorators: [{
10281
- type: Injectable,
10282
- args: [{
10283
- providedIn: 'root'
10284
- }]
10285
- }] });
10286
-
10287
10256
  class AuthService {
10288
- constructor(http, jwtService, eventDispatcherService, environment) {
10257
+ constructor(http, jwtService, environment) {
10289
10258
  this.http = http;
10290
10259
  this.jwtService = jwtService;
10291
- this.eventDispatcherService = eventDispatcherService;
10292
10260
  this.environment = environment;
10293
- this.listenEvents();
10294
10261
  this.isLoggedInSubject = new BehaviorSubject(!this.jwtService.isTokenExpired());
10295
10262
  }
10296
- /**
10297
- * Listen to Event Dispatcher events
10298
- */
10299
- listenEvents() {
10300
- this.listenUserGetFailed();
10301
- }
10302
- /**
10303
- * User logout if failed current user get
10304
- */
10305
- listenUserGetFailed() {
10306
- this.eventDispatcherService.on(AppEventTypeEnum.CURRENT_USER_GET_FAILED).subscribe(() => this.logoutFront());
10307
- }
10308
10263
  setAuth(response) {
10309
10264
  this.jwtService.saveTokens(response);
10310
10265
  this.isLoggedInSubject.next(true);
@@ -10326,18 +10281,55 @@ class AuthService {
10326
10281
  location.replace(url);
10327
10282
  }
10328
10283
  }
10329
- 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 });
10284
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10330
10285
  AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, providedIn: 'root' });
10331
10286
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, decorators: [{
10332
10287
  type: Injectable,
10333
10288
  args: [{
10334
10289
  providedIn: 'root'
10335
10290
  }]
10336
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: JwtService }, { type: EventDispatcherService }, { type: undefined, decorators: [{
10291
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: JwtService }, { type: undefined, decorators: [{
10337
10292
  type: Inject,
10338
10293
  args: ['environment']
10339
10294
  }] }]; } });
10340
10295
 
10296
+ /**
10297
+ * @TODO Alex (TT-1777): replace old logic with the new when all services ready
10298
+ * @TODO Alex (TT-1777): rename old logic and keep it for custom events
10299
+ */
10300
+ class EventDispatcherService {
10301
+ constructor() {
10302
+ this.eventSubject = new Subject();
10303
+ this.eventSubject2 = new Subject();
10304
+ }
10305
+ /**
10306
+ * subscription to specific event type
10307
+ */
10308
+ on(eventType) {
10309
+ return this.eventSubject.pipe(filter((event) => [].concat(eventType).includes(event.type)), map((event) => event.payload));
10310
+ }
10311
+ on2(...names) {
10312
+ return this.eventSubject2.pipe(filter((event) => [].concat(names).includes(event.name)), map((event) => event.items));
10313
+ }
10314
+ /**
10315
+ * deliver new event
10316
+ */
10317
+ dispatch(event) {
10318
+ this.eventSubject.next(event);
10319
+ }
10320
+ dispatch2(event) {
10321
+ this.eventSubject2.next(event);
10322
+ }
10323
+ }
10324
+ EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10325
+ EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
10326
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, decorators: [{
10327
+ type: Injectable,
10328
+ args: [{
10329
+ providedIn: 'root'
10330
+ }]
10331
+ }] });
10332
+
10341
10333
  /**
10342
10334
  * server sent events service
10343
10335
  * https://symfony.com/doc/current/mercure.html
@@ -10411,16 +10403,39 @@ let RestService$1 = class RestService extends DataService {
10411
10403
  get apiUrl() {
10412
10404
  return `${this.environment.apiV2}/${this.endpointUri}`;
10413
10405
  }
10414
- get() {
10406
+ setCache(data, next = false) {
10407
+ super.setCache(data);
10408
+ if (next) {
10409
+ this.cacheSubject.next(this.cache);
10410
+ }
10411
+ }
10412
+ /**
10413
+ * Refresh cache with actual backend data
10414
+ */
10415
+ refreshCache() {
10416
+ this.cache = undefined;
10417
+ this.get();
10418
+ }
10419
+ /**
10420
+ * Get data from backend and fill the cache
10421
+ */
10422
+ fetch(path = this.apiUrl) {
10415
10423
  this.handleAccessError('get');
10424
+ // Set cache as empty collection to avoid multiple requests before cache filled
10425
+ this.setCache([]);
10426
+ return this.http.get(path)
10427
+ .pipe(map((response) => this.isApiPlatform ? response['hydra:member'] : toArray(response)), map((response) => {
10428
+ this.setCache(response, true);
10429
+ return this.cache;
10430
+ }));
10431
+ }
10432
+ get() {
10416
10433
  if (!this.cache) {
10417
- // Set cache as empty collection to avoid multiple requests before cache filled
10418
- this.setCache([], false);
10419
- this.jwtService.getUser().hasRoles(this.roles) ? this.resetCache() : this.setCache([]);
10434
+ this.jwtService.getUser().hasRoles(this.roles) ? this.fetch().pipe(first$1()).subscribe() : this.setCache([], true);
10420
10435
  }
10421
10436
  return this.cacheSubject.asObservable();
10422
10437
  }
10423
- getSingle() {
10438
+ getFirst() {
10424
10439
  this.handleAccessError('get');
10425
10440
  return this.get().pipe(map((collection) => collection.first));
10426
10441
  }
@@ -10495,22 +10510,6 @@ let RestService$1 = class RestService extends DataService {
10495
10510
  this.handleResponse(models, 'delete');
10496
10511
  }));
10497
10512
  }
10498
- /**
10499
- * Refresh cache with actual backend data
10500
- */
10501
- resetCache() {
10502
- this.fetch().pipe(first$1()).subscribe();
10503
- }
10504
- /**
10505
- * Get data from backend and fill the cache
10506
- */
10507
- fetch() {
10508
- return this.http.get(this.apiUrl)
10509
- .pipe(map((response) => this.isApiPlatform ? response['hydra:member'] : toArray(response)), map((response) => {
10510
- this.setCache(response);
10511
- return this.cache;
10512
- }));
10513
- }
10514
10513
  /**
10515
10514
  * Handle response data - update cache and dispatch event if it is needed
10516
10515
  */
@@ -10578,12 +10577,6 @@ let RestService$1 = class RestService extends DataService {
10578
10577
  });
10579
10578
  });
10580
10579
  }
10581
- setCache(data, next = true) {
10582
- super.setCache(data);
10583
- if (next) {
10584
- this.cacheSubject.next(this.cache);
10585
- }
10586
- }
10587
10580
  /**
10588
10581
  * // @TODO Alex remove
10589
10582
  * Method that call all listeners. Empty by default. Should be redefined by child services if required
@@ -10623,9 +10616,9 @@ class BankAccountService extends RestService$1 {
10623
10616
  */
10624
10617
  listenEvents() {
10625
10618
  this.listenToEventDispatcherChanges();
10626
- this.listenCSE(BankTransaction, ['post', 'delete'], this.resetCache);
10627
- this.listenCSE(PropertyShare, ['put'], this.resetCache);
10628
- this.listenCSE(BankConnection, ['post'], this.resetCache);
10619
+ this.listenCSE(BankTransaction, ['post', 'delete'], this.refreshCache);
10620
+ this.listenCSE(PropertyShare, ['put'], this.refreshCache);
10621
+ this.listenCSE(BankConnection, ['post'], this.refreshCache);
10629
10622
  }
10630
10623
  /**
10631
10624
  * Update bank account current balance
@@ -10647,7 +10640,7 @@ class BankAccountService extends RestService$1 {
10647
10640
  AppEventTypeEnum.LOAN_PAYOUT_UPDATED,
10648
10641
  AppEventTypeEnum.BANK_TRANSACTIONS_ADDED
10649
10642
  ]).subscribe(() => {
10650
- this.resetCache();
10643
+ this.refreshCache();
10651
10644
  });
10652
10645
  }
10653
10646
  /**
@@ -10656,7 +10649,7 @@ class BankAccountService extends RestService$1 {
10656
10649
  */
10657
10650
  listenConnections() {
10658
10651
  this.sseService.on(`bankConnections`).subscribe((connection) => {
10659
- this.resetCache();
10652
+ this.refreshCache();
10660
10653
  });
10661
10654
  }
10662
10655
  }
@@ -10833,7 +10826,7 @@ class BankConnectionService extends RestService$1 {
10833
10826
  */
10834
10827
  listenBankConnections() {
10835
10828
  this.sseService.on(`bankConnections`).subscribe((bankConnection) => {
10836
- this.resetCache();
10829
+ this.refreshCache();
10837
10830
  });
10838
10831
  }
10839
10832
  }
@@ -10947,7 +10940,7 @@ class BankTransactionService extends RestService$1 {
10947
10940
  this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
10948
10941
  if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.BASIQ_FIRST_IMPORT_COMPLETE) {
10949
10942
  this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.BANK_TRANSACTIONS_ADDED, []));
10950
- this.resetCache();
10943
+ this.refreshCache();
10951
10944
  }
10952
10945
  });
10953
10946
  }
@@ -11099,7 +11092,7 @@ class BasiqService extends RestService$1 {
11099
11092
  listenNotifications() {
11100
11093
  this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
11101
11094
  if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.BASIQ_NEW_ACCOUNTS) {
11102
- this.resetCache();
11095
+ this.refreshCache();
11103
11096
  }
11104
11097
  });
11105
11098
  }
@@ -11622,7 +11615,7 @@ class DepreciationService extends RestService$1 {
11622
11615
  * Listen to EventDispatcherService event related to updated bank loan
11623
11616
  */
11624
11617
  listenToUpdatedLoan() {
11625
- this.listenCSE(Loan, ['put'], this.resetCache);
11618
+ this.listenCSE(Loan, ['put'], this.refreshCache);
11626
11619
  }
11627
11620
  /**
11628
11621
  * Listen to EventDispatcherService event related to updated bank account
@@ -11630,7 +11623,7 @@ class DepreciationService extends RestService$1 {
11630
11623
  listenToUpdatedBankAccount() {
11631
11624
  this.listenCSE(BankAccount, ['put'], (bankAccounts) => {
11632
11625
  if (bankAccounts.find(ba => ba.isPropertyTank())) {
11633
- this.resetCache();
11626
+ this.refreshCache();
11634
11627
  }
11635
11628
  });
11636
11629
  }
@@ -11643,7 +11636,7 @@ class DepreciationService extends RestService$1 {
11643
11636
  AppEventTypeEnum.VEHICLE_CLAIM_UPDATED,
11644
11637
  AppEventTypeEnum.VEHICLE_CLAIM_DETAILS_UPDATED
11645
11638
  ]).subscribe(() => {
11646
- this.resetCache();
11639
+ this.refreshCache();
11647
11640
  });
11648
11641
  }
11649
11642
  /**
@@ -11651,7 +11644,7 @@ class DepreciationService extends RestService$1 {
11651
11644
  */
11652
11645
  listenSoleDepreciationMethodChanges() {
11653
11646
  this.eventDispatcherService.on(AppEventTypeEnum.SOLE_DEPRECIATION_METHOD_UPDATED).subscribe(() => {
11654
- this.resetCache();
11647
+ this.refreshCache();
11655
11648
  });
11656
11649
  }
11657
11650
  /**
@@ -11659,13 +11652,13 @@ class DepreciationService extends RestService$1 {
11659
11652
  */
11660
11653
  listenPropertyDepreciationCalculationChanges() {
11661
11654
  this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_DEPRECIATION_CALCULATION_UPDATED).subscribe(() => {
11662
- this.resetCache();
11655
+ this.refreshCache();
11663
11656
  });
11664
11657
  }
11665
11658
  listenTransactions() {
11666
11659
  // @TODO reset cache only when required (transaction has depreciation)
11667
11660
  this.eventDispatcherService.on(AppEventTypeEnum.TRANSACTION_DELETED).subscribe(() => {
11668
- this.resetCache();
11661
+ this.refreshCache();
11669
11662
  });
11670
11663
  }
11671
11664
  }
@@ -11756,12 +11749,12 @@ class RestService {
11756
11749
  * get list of base class instances directly from backend
11757
11750
  */
11758
11751
  fetch() {
11752
+ this.setCache([]);
11759
11753
  return this.http.get(`${this.environment.apiV2}/${this.url}`)
11760
11754
  .pipe(map((response) => {
11761
11755
  const items = (this.isHydra ? response['hydra:member'] : response)
11762
11756
  .map((item) => this.createModelInstance(item));
11763
- this.cache = items;
11764
- this.updateCache();
11757
+ this.setCache(items, true);
11765
11758
  return items;
11766
11759
  }));
11767
11760
  }
@@ -11770,8 +11763,7 @@ class RestService {
11770
11763
  */
11771
11764
  get() {
11772
11765
  if (!this.cache) {
11773
- this.cache = [];
11774
- this.jwtService.getUser().hasRoles(this.roles) ? this.resetCache() : this.updateCache();
11766
+ this.jwtService.getUser().hasRoles(this.roles) ? this.fetch().pipe(first$1()).subscribe() : this.setCache([], true);
11775
11767
  }
11776
11768
  return this.cacheSubject.asObservable();
11777
11769
  }
@@ -11888,8 +11880,7 @@ class RestService {
11888
11880
  delete(model) {
11889
11881
  return this.http.delete(`${this.environment.apiV2}/${this.url}/${model['id']}`)
11890
11882
  .pipe(map(() => {
11891
- this.cache = this.cache.filter((item) => item['id'] !== model['id']);
11892
- this.updateCache();
11883
+ this.setCache(this.cache.filter((item) => item['id'] !== model['id']), true);
11893
11884
  if (this.messageDeleted) {
11894
11885
  this.toastService.success(this.messageDeleted);
11895
11886
  }
@@ -11903,8 +11894,7 @@ class RestService {
11903
11894
  return this.http.post(`${this.environment.apiV2}/${this.url}/delete`, classToPlain(models))
11904
11895
  .pipe(map(() => {
11905
11896
  const ids = models.map((model) => model['id']);
11906
- this.cache = this.cache.filter((item) => !ids.includes(item['id']));
11907
- this.updateCache();
11897
+ this.setCache(this.cache.filter((item) => !ids.includes(item['id'])), true);
11908
11898
  if (this.messageDeletedBatch) {
11909
11899
  this.toastService.success(this.messageDeletedBatch);
11910
11900
  }
@@ -11913,8 +11903,15 @@ class RestService {
11913
11903
  /**
11914
11904
  * clear service cache
11915
11905
  */
11916
- resetCache() {
11917
- this.fetch().subscribe();
11906
+ refreshCache() {
11907
+ this.setCache(undefined);
11908
+ this.get();
11909
+ }
11910
+ setCache(data, next = false) {
11911
+ this.cache = data;
11912
+ if (next) {
11913
+ this.updateCache();
11914
+ }
11918
11915
  }
11919
11916
  /**
11920
11917
  * Update cache subject with current cache array value
@@ -12333,7 +12330,7 @@ class ClientInviteService extends RestService {
12333
12330
  listenNotifications() {
12334
12331
  this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
12335
12332
  if (!notification.isRead && (notification.eventType === UserEventTypeTypeEnum.FIRM_INVITE_ACCEPTED || notification.eventType === UserEventTypeTypeEnum.CLIENT_INVITE)) {
12336
- this.resetCache();
12333
+ this.refreshCache();
12337
12334
  }
12338
12335
  });
12339
12336
  }
@@ -12413,7 +12410,7 @@ class ClientMovementService extends RestService {
12413
12410
  listenNotifications() {
12414
12411
  this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
12415
12412
  if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.FIRM_INVITE_ACCEPTED) {
12416
- this.resetCache();
12413
+ this.refreshCache();
12417
12414
  }
12418
12415
  });
12419
12416
  }
@@ -12423,7 +12420,7 @@ class ClientMovementService extends RestService {
12423
12420
  listenClientInvites() {
12424
12421
  this.eventDispatcherService.on(AppEventTypeEnum.CLIENT_INVITE_ACCEPTED)
12425
12422
  .subscribe(() => {
12426
- this.resetCache();
12423
+ this.refreshCache();
12427
12424
  });
12428
12425
  }
12429
12426
  }
@@ -12857,7 +12854,7 @@ class SoleForecastService extends RestService {
12857
12854
  */
12858
12855
  listenBusinessCreated() {
12859
12856
  this.eventDispatcherService.on(AppEventTypeEnum.SOLE_BUSINESS_CREATED).subscribe(() => {
12860
- this.resetCache();
12857
+ this.refreshCache();
12861
12858
  });
12862
12859
  }
12863
12860
  }
@@ -12938,7 +12935,7 @@ class IncomeSourceService extends RestService {
12938
12935
  listenSoleBusinessCreated() {
12939
12936
  this.eventDispatcherService.on(AppEventTypeEnum.SOLE_BUSINESS_CREATED).subscribe(() => {
12940
12937
  // @TODO Alex/Vik (TT-1777): we clear cache a lot, a better and easier way required, add todo and task to refactor
12941
- this.resetCache();
12938
+ this.refreshCache();
12942
12939
  });
12943
12940
  }
12944
12941
  }
@@ -13035,10 +13032,10 @@ class LoanService extends RestService$1 {
13035
13032
  // Update list of loans when added/changed loan bank account
13036
13033
  this.listenCSE(BankAccount, ['post', 'put'], (bankAccounts) => {
13037
13034
  if (bankAccounts.find(ba => !!ba.loan)) {
13038
- this.resetCache();
13035
+ this.refreshCache();
13039
13036
  }
13040
13037
  });
13041
- this.listenCSE(LoanPayout, ['post', 'put', 'delete'], this.resetCache);
13038
+ this.listenCSE(LoanPayout, ['post', 'put', 'delete'], this.refreshCache);
13042
13039
  }
13043
13040
  /**
13044
13041
  * Calculate loan payments
@@ -13056,7 +13053,7 @@ class LoanService extends RestService$1 {
13056
13053
  loan.payout = plainToClass(LoanPayout, response);
13057
13054
  this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.LOAN_PAYOUT_UPDATED, null));
13058
13055
  // reset cache to fetch loans with updated data
13059
- this.resetCache();
13056
+ this.refreshCache();
13060
13057
  }));
13061
13058
  }
13062
13059
  /**
@@ -13069,7 +13066,7 @@ class LoanService extends RestService$1 {
13069
13066
  loan.payout = null;
13070
13067
  this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.LOAN_PAYOUT_UPDATED, null));
13071
13068
  // reset cache to fetch loans with updated data
13072
- this.resetCache();
13069
+ this.refreshCache();
13073
13070
  }));
13074
13071
  }
13075
13072
  /**
@@ -13083,7 +13080,7 @@ class LoanService extends RestService$1 {
13083
13080
  loan.payout = plainToClass(LoanPayout, response);
13084
13081
  this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.LOAN_PAYOUT_UPDATED, null));
13085
13082
  // reset cache to fetch loans with updated data
13086
- this.resetCache();
13083
+ this.refreshCache();
13087
13084
  }));
13088
13085
  }
13089
13086
  }
@@ -13332,16 +13329,15 @@ class PropertyShareService extends RestService$1 {
13332
13329
  * Listen to User updated event
13333
13330
  */
13334
13331
  listenUserUpdated() {
13335
- this.eventDispatcherService.on(AppEventTypeEnum.USER_UPDATED)
13336
- .subscribe(() => {
13337
- this.resetCache();
13332
+ this.eventDispatcherService.on2(User.getEventName('put')).subscribe(() => {
13333
+ this.refreshCache();
13338
13334
  });
13339
13335
  }
13340
13336
  /**
13341
13337
  * @Todo Alex refactor after PropertyShare functionality in PropertyService will be cleared up
13342
13338
  */
13343
13339
  listenSalesChanges() {
13344
- this.listenCSE(PropertySale, ['post', 'delete'], this.resetCache);
13340
+ this.listenCSE(PropertySale, ['post', 'delete'], this.refreshCache);
13345
13341
  }
13346
13342
  }
13347
13343
  PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
@@ -13389,19 +13385,19 @@ class PropertyService extends RestService$1 {
13389
13385
  * Update cache when share invitation accepted
13390
13386
  */
13391
13387
  listenShareInviteAccepted() {
13392
- this.listenCSE(PropertyShare, ['put'], this.resetCache);
13388
+ this.listenCSE(PropertyShare, ['put'], this.refreshCache);
13393
13389
  }
13394
13390
  /**
13395
13391
  * Update cache when property category changed
13396
13392
  */
13397
13393
  listenMovementsChanges() {
13398
- this.listenCSE(PropertyCategoryMovement, ['post', 'put', 'delete'], this.resetCache);
13394
+ this.listenCSE(PropertyCategoryMovement, ['post', 'put', 'delete'], this.refreshCache);
13399
13395
  }
13400
13396
  /**
13401
13397
  * Update cache when property sales changed
13402
13398
  */
13403
13399
  listenSalesChanges() {
13404
- this.listenCSE(PropertySale, ['post', 'delete'], this.resetCache);
13400
+ this.listenCSE(PropertySale, ['post', 'delete'], this.refreshCache);
13405
13401
  }
13406
13402
  updateDepreciationCalculation(property) {
13407
13403
  const propertyToUpdate = plainToClass(Property, { id: property.id, depreciationCalculation: property.depreciationCalculation });
@@ -13591,7 +13587,7 @@ class SoleBusinessLossService extends RestService {
13591
13587
  */
13592
13588
  listenBusinessCreated() {
13593
13589
  this.eventDispatcherService.on(AppEventTypeEnum.SOLE_BUSINESS_CREATED).subscribe(() => {
13594
- this.resetCache();
13590
+ this.refreshCache();
13595
13591
  });
13596
13592
  }
13597
13593
  }
@@ -13763,6 +13759,7 @@ class SoleInvoiceService extends RestService {
13763
13759
  this.modelClass = SoleInvoice;
13764
13760
  this.url = 'sole-invoices';
13765
13761
  this.isHydra = true;
13762
+ this.roles = [UserRolesEnum.SOLE_TANK];
13766
13763
  }
13767
13764
  listenEvents() {
13768
13765
  this.listenAllocations();
@@ -13816,7 +13813,7 @@ class SoleInvoiceService extends RestService {
13816
13813
  AppEventTypeEnum.TRANSACTION_ALLOCATION_CREATED,
13817
13814
  AppEventTypeEnum.TRANSACTION_ALLOCATION_DELETED
13818
13815
  ]).subscribe(() => {
13819
- this.resetCache();
13816
+ this.refreshCache();
13820
13817
  });
13821
13818
  }
13822
13819
  }
@@ -14287,7 +14284,7 @@ class TaxReviewService extends RestService {
14287
14284
  listenFirmChanges() {
14288
14285
  this.eventDispatcherService.on([AppEventTypeEnum.CLIENT_MOVEMENT_CLOSED, AppEventTypeEnum.CLIENT_INVITE_ACCEPTED])
14289
14286
  .subscribe(() => {
14290
- this.resetCache();
14287
+ this.refreshCache();
14291
14288
  });
14292
14289
  }
14293
14290
  /**
@@ -14310,7 +14307,7 @@ class TaxReviewService extends RestService {
14310
14307
  listenNotifications() {
14311
14308
  this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
14312
14309
  if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.FIRM_INVITE_ACCEPTED) {
14313
- this.resetCache();
14310
+ this.refreshCache();
14314
14311
  }
14315
14312
  });
14316
14313
  }
@@ -14678,7 +14675,7 @@ class TransactionAllocationService extends RestService {
14678
14675
  return;
14679
14676
  }
14680
14677
  // Update allocations cache to synchronize data and fire subscriptions
14681
- this.resetCache();
14678
+ this.refreshCache();
14682
14679
  });
14683
14680
  }
14684
14681
  /**
@@ -14687,7 +14684,7 @@ class TransactionAllocationService extends RestService {
14687
14684
  watchDepreciations() {
14688
14685
  // @TODO reset cache only when required (depreciation has transaction with allocations)
14689
14686
  this.eventDispatcherService.on2(...Depreciation.getEventNames('post', 'delete')).subscribe(() => {
14690
- this.resetCache();
14687
+ this.refreshCache();
14691
14688
  });
14692
14689
  }
14693
14690
  /**
@@ -14697,7 +14694,7 @@ class TransactionAllocationService extends RestService {
14697
14694
  this.eventDispatcherService.on(AppEventTypeEnum.TRANSACTION_DELETED).subscribe(() => {
14698
14695
  // @TODO Alex hack: research and refactor cache update logic, dont reset cache each time transactions changed
14699
14696
  // Update allocations cache to synchronize data and fire subscriptions
14700
- this.resetCache();
14697
+ this.refreshCache();
14701
14698
  });
14702
14699
  }
14703
14700
  }
@@ -14773,16 +14770,7 @@ class TransactionService extends RestService {
14773
14770
  * get list of all user's TaxTank transactions
14774
14771
  */
14775
14772
  get() {
14776
- if (!this.cache) {
14777
- // set cache as default empty array to avoid multiple backend requests
14778
- this.cache = [];
14779
- this.fetch()
14780
- .subscribe((transactions) => {
14781
- this.cache = transactions;
14782
- this.updateCache();
14783
- });
14784
- }
14785
- return this.cacheSubject.asObservable().pipe(
14773
+ return super.get().pipe(
14786
14774
  // assign child transactions (fees) to parent transactions
14787
14775
  map((transactions) => {
14788
14776
  transactions.forEach((transaction) => {
@@ -14983,18 +14971,14 @@ class TransactionService extends RestService {
14983
14971
  listenDepreciationChange() {
14984
14972
  // @TODO reset cache only when required (depreciation has transaction)
14985
14973
  this.eventDispatcherService.on2(...Depreciation.getEventNames('post', 'delete')).subscribe(() => {
14986
- this.fetch()
14987
- .subscribe((transactions) => {
14988
- this.cache = transactions;
14989
- this.updateCache();
14990
- });
14974
+ this.refreshCache();
14991
14975
  });
14992
14976
  }
14993
14977
  /**
14994
14978
  * Listen to EventDispatcherService event related to Property Share changing
14995
14979
  */
14996
14980
  listenPropertyShareUpdate() {
14997
- this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(() => this.resetCache());
14981
+ this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(() => this.refreshCache());
14998
14982
  }
14999
14983
  listenReceiptAdded() {
15000
14984
  this.eventDispatcherService.on(AppEventTypeEnum.TRANSACTION_RECEIPT_CREATED).subscribe((transactionReceipt) => {
@@ -15018,7 +15002,7 @@ class TransactionService extends RestService {
15018
15002
  AppEventTypeEnum.VEHICLE_CLAIM_UPDATED,
15019
15003
  AppEventTypeEnum.VEHICLE_CLAIM_DETAILS_UPDATED
15020
15004
  ]).subscribe(() => {
15021
- this.resetCache();
15005
+ this.refreshCache();
15022
15006
  });
15023
15007
  }
15024
15008
  /**
@@ -15027,7 +15011,7 @@ class TransactionService extends RestService {
15027
15011
  */
15028
15012
  listenPropertyForecastUpdate() {
15029
15013
  this.eventDispatcherService.on([AppEventTypeEnum.PROPERTY_UPDATED]).subscribe(() => {
15030
- this.resetCache();
15014
+ this.refreshCache();
15031
15015
  });
15032
15016
  }
15033
15017
  replaceInCache(transactionToReplace) {
@@ -15036,7 +15020,7 @@ class TransactionService extends RestService {
15036
15020
  }
15037
15021
  listenInvoicesPublish() {
15038
15022
  this.eventDispatcherService.on(AppEventTypeEnum.SOLE_INVOICE_PUBLISHED).subscribe(() => {
15039
- this.resetCache();
15023
+ this.refreshCache();
15040
15024
  });
15041
15025
  }
15042
15026
  }
@@ -15132,7 +15116,7 @@ class VehicleClaimService extends RestService {
15132
15116
  listenVehicleClaimDetailsChanges() {
15133
15117
  this.eventDispatcherService.on(AppEventTypeEnum.VEHICLE_CLAIM_DETAILS_UPDATED)
15134
15118
  .subscribe(() => {
15135
- this.resetCache();
15119
+ this.refreshCache();
15136
15120
  });
15137
15121
  }
15138
15122
  /**
@@ -15443,152 +15427,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
15443
15427
  }]
15444
15428
  }] });
15445
15429
 
15446
- /**
15447
- * Service to work with user
15448
- */
15449
- class UserService {
15450
- constructor(http, jwtService, eventDispatcherService, sseService, environment) {
15430
+ class UserService extends RestService$1 {
15431
+ constructor(http, eventDispatcherService, environment) {
15432
+ super(http, eventDispatcherService, environment);
15451
15433
  this.http = http;
15452
- this.jwtService = jwtService;
15453
15434
  this.eventDispatcherService = eventDispatcherService;
15454
- this.sseService = sseService;
15455
15435
  this.environment = environment;
15456
- this.cacheSubject = new ReplaySubject(1);
15457
- this.listenEvents();
15458
- }
15459
- /**
15460
- * never return cache directly to prevent update
15461
- */
15462
- getCache() {
15463
- return clone(this.cache);
15436
+ this.modelClass = User;
15437
+ this.collectionClass = Collection;
15438
+ this.endpointUri = 'users';
15439
+ this.isApiPlatform = false;
15440
+ this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
15464
15441
  }
15465
15442
  listenEvents() {
15466
15443
  this.listenServiceSubscriptionUpdated();
15467
15444
  this.listenBasiqConsentUpdated();
15468
15445
  }
15469
- get() {
15470
- if (!this.cache) {
15471
- this.fetch().subscribe(() => { }, (error) => {
15472
- // force logout user (clear localStorage) when get current user return error
15473
- if (error.status === 500) {
15474
- this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.CURRENT_USER_GET_FAILED, null));
15475
- }
15476
- });
15477
- }
15478
- return this.cacheSubject.asObservable();
15479
- }
15480
- /**
15481
- * Get current user
15482
- */
15483
15446
  fetch() {
15484
- return this.http.get(`${this.environment.apiV2}/users/current`)
15485
- .pipe(map((userBase) => {
15486
- const user = plainToClass(User, userBase);
15487
- // @TODO Vik remove
15488
- localStorage.setItem('userId', user.id.toString());
15489
- localStorage.setItem('financialYear', user.financialYear.toString());
15490
- this.cache = user;
15491
- this.cacheSubject.next(this.cache);
15492
- return user;
15447
+ return super.fetch(`${this.apiUrl}/current`).pipe(map((users) => {
15448
+ localStorage.setItem('userId', this.getCacheFirst().id.toString());
15449
+ localStorage.setItem('financialYear', this.getCacheFirst().financialYear.toString());
15450
+ return users;
15493
15451
  }));
15494
15452
  }
15495
- /**
15496
- * Register new user
15497
- */
15498
15453
  register(data) {
15499
- return this.http.post(`${this.environment.apiV2}/users/registration`, data);
15500
- }
15501
- /**
15502
- * Update user
15503
- */
15504
- update(user) {
15505
- return this.http.put(`${this.environment.apiV2}/users/${user.id}`, user)
15506
- .pipe(map((userBase) => {
15507
- this.cache = plainToClass(User, userBase);
15508
- this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.USER_UPDATED, null));
15509
- this.cacheSubject.next(this.cache);
15510
- }));
15454
+ return this.http.post(`${this.apiUrl}/registration`, data);
15511
15455
  }
15512
- /**
15513
- * Change user password
15514
- */
15515
15456
  changePassword(currentPassword, newPassword) {
15516
- return this.http.put(`${this.environment.apiV2}/users/password/change`, { currentPassword, newPassword });
15457
+ return this.http.put(`${this.apiUrl}/password/change`, { currentPassword, newPassword });
15517
15458
  }
15518
- /**
15519
- * Recovery user password
15520
- */
15521
15459
  recoveryPassword(email) {
15522
- return this.http.put(`${this.environment.apiV2}/users/password/recovery`, { email });
15460
+ return this.http.put(`${this.apiUrl}/password/recovery`, { email });
15523
15461
  }
15524
- /**
15525
- * Reset user password
15526
- */
15527
15462
  resetPassword(newPassword, resetToken) {
15528
- return this.http.put(`${this.environment.apiV2}/users/password/reset`, { newPassword, resetToken });
15463
+ return this.http.put(`${this.apiUrl}/password/reset`, { newPassword, resetToken });
15529
15464
  }
15530
15465
  resendConfirmationEmail(email) {
15531
- return this.http.post(`${this.environment.apiV2}/users/confirmation/resend`, { email });
15466
+ return this.http.post(`${this.apiUrl}/confirmation/resend`, { email });
15532
15467
  }
15533
15468
  /**
15534
15469
  * Confirm registered user
15535
15470
  */
15536
15471
  confirm(verificationCode) {
15537
- return this.http.post(`${this.environment.apiV2}/users/confirmation`, { verificationCode });
15472
+ return this.http.post(`${this.apiUrl}/confirmation`, { verificationCode });
15538
15473
  }
15539
15474
  /**
15540
15475
  * Search existing user
15541
15476
  */
15542
15477
  search(email) {
15543
- return this.http.get(`${this.environment.apiV2}/users/search?email=${email}`)
15544
- .pipe(map((userBase) => plainToClass(User, userBase)));
15478
+ return this.http.get(`${this.apiUrl}/search?email=${email}`).pipe(map((userBase) => this.createModelInstance(userBase)));
15545
15479
  }
15546
- /**
15547
- * Finish onboarding process
15548
- */
15549
15480
  finishOnboarding(user) {
15550
- return this.http.put(`${this.environment.apiV2}/users/status`, user)
15551
- .pipe(map(() => {
15552
- this.cache = user;
15553
- this.cacheSubject.next(this.cache);
15554
- }));
15481
+ return this.put(user, `${this.apiUrl}/status`);
15555
15482
  }
15556
- /**
15557
- * Update user photo
15558
- */
15559
15483
  updatePhoto(photo) {
15560
- return this.http.post(`${this.environment.apiV2}/users/photo?_method=PUT`, photo)
15561
- .pipe(map((photoUrl) => {
15562
- this.cache = plainToClass(User, Object.assign(this.cache, { photo: photoUrl }));
15563
- this.cacheSubject.next(this.cache);
15564
- }));
15565
- }
15566
- switchFinancialYear(year) {
15567
- return this.http.get(`${this.environment.apiV2}/financial-year/switch`, { params: new HttpParams({ fromString: `financialYear=${year}` }) }).pipe(map(() => {
15568
- localStorage.setItem('financialYear', year.toString());
15569
- window.location.reload();
15484
+ return this.http.post(`${this.apiUrl}/photo?_method=PUT`, photo).pipe(map((photoUrl) => {
15485
+ this.setCache([Object.assign(this.cache, { photo: photoUrl })], true);
15570
15486
  }));
15571
15487
  }
15572
- /**
15573
- * clear service cache
15574
- */
15575
- resetCache() {
15576
- this.fetch().subscribe();
15577
- }
15578
- /**
15579
- * @TODO Alex refactor, it's not createBasiq
15580
- * Create basiq (if not exist yet) to provide access to basiq api
15581
- */
15582
15488
  createBasiq() {
15583
- // no need to create basiqId if already exist
15584
- // @TODO Alex (TT-2431): move this check to component or separated method
15585
- if (this.cache?.basiqId) {
15586
- return of(this.cache.basiqId);
15587
- }
15588
15489
  return this.http.post(`${this.environment.apiV2}/basiq/user`, {})
15589
15490
  .pipe(map((basiqId) => {
15590
- this.cache = plainToClass(User, Object.assign(this.cache, { basiqId }));
15591
- this.cacheSubject.next(this.cache);
15491
+ this.setCache([Object.assign(this.cache, { basiqId })], true);
15592
15492
  return basiqId;
15593
15493
  }));
15594
15494
  }
@@ -15596,39 +15496,47 @@ class UserService {
15596
15496
  * Update cache when user's service subscription is updated
15597
15497
  */
15598
15498
  listenServiceSubscriptionUpdated() {
15599
- this.eventDispatcherService.on(AppEventTypeEnum.SERVICE_SUBSCRIPTION_UPDATED).subscribe(() => this.resetCache());
15499
+ this.eventDispatcherService.on(AppEventTypeEnum.SERVICE_SUBSCRIPTION_UPDATED).subscribe(() => this.refreshCache());
15600
15500
  }
15601
15501
  /**
15602
15502
  * Update cache when user's basiq consent flag is updated
15603
15503
  */
15604
15504
  listenBasiqConsentUpdated() {
15605
- this.eventDispatcherService.on(AppEventTypeEnum.BASIQ_CONSENT_UPDATED).subscribe(() => this.resetCache());
15606
- }
15607
- /**
15608
- * @TODO remove when the class refactored on RestService
15609
- * Subscribe to http events and run callback.
15610
- * CSE - Cleint Sent Events
15611
- * @param modelClass
15612
- * @param methods The list of http methods should be listened for
15613
- * @param callback The function to be called when event triggered
15614
- */
15615
- listenCSE(modelClass, methods, callback) {
15616
- callback = callback.bind(this);
15617
- methods.forEach((method) => {
15618
- this.eventDispatcherService.on2(modelClass.getEventName(method)).subscribe((data) => {
15619
- callback(data);
15620
- });
15621
- });
15505
+ this.eventDispatcherService.on(AppEventTypeEnum.BASIQ_CONSENT_UPDATED).subscribe(() => this.refreshCache());
15622
15506
  }
15623
15507
  }
15624
- 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 });
15508
+ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15625
15509
  UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, providedIn: 'root' });
15626
15510
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, decorators: [{
15627
15511
  type: Injectable,
15628
15512
  args: [{
15629
15513
  providedIn: 'root'
15630
15514
  }]
15631
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: JwtService }, { type: EventDispatcherService }, { type: SseService }, { type: undefined, decorators: [{
15515
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
15516
+ type: Inject,
15517
+ args: ['environment']
15518
+ }] }]; } });
15519
+
15520
+ class FinancialYearService {
15521
+ constructor(http, environment) {
15522
+ this.http = http;
15523
+ this.environment = environment;
15524
+ }
15525
+ switch(year) {
15526
+ return this.http.get(`${this.environment.apiV2}/financial-year/switch`, { params: new HttpParams({ fromString: `financialYear=${year}` }) }).pipe(map(() => {
15527
+ localStorage.setItem('financialYear', year.toString());
15528
+ window.location.reload();
15529
+ }));
15530
+ }
15531
+ }
15532
+ FinancialYearService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15533
+ FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearService, providedIn: 'root' });
15534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearService, decorators: [{
15535
+ type: Injectable,
15536
+ args: [{
15537
+ providedIn: 'root'
15538
+ }]
15539
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
15632
15540
  type: Inject,
15633
15541
  args: ['environment']
15634
15542
  }] }]; } });
@@ -15644,7 +15552,7 @@ class HoldingService extends RestService$1 {
15644
15552
  this.roles = [UserRolesEnum.HOLDING_TANK];
15645
15553
  }
15646
15554
  listenEvents() {
15647
- this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.resetCache);
15555
+ this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.refreshCache);
15648
15556
  }
15649
15557
  }
15650
15558
  HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
@@ -18124,7 +18032,7 @@ class AccountSetupService {
18124
18032
  get() {
18125
18033
  if (!this.cache) {
18126
18034
  this.cache = new AccountSetupItemCollection([]);
18127
- this.clientIncomeTypesService.getSingle()
18035
+ this.clientIncomeTypesService.getFirst()
18128
18036
  .pipe(mergeMap((incomeTypes) => {
18129
18037
  this.clientIncomeTypesId = incomeTypes.id;
18130
18038
  return this.createBatch(incomeTypes);
@@ -18168,7 +18076,7 @@ class AccountSetupService {
18168
18076
  */
18169
18077
  createBatch(incomeTypes) {
18170
18078
  const batch = [];
18171
- const user = this.userService.getCache();
18079
+ const user = this.userService.getCacheFirst();
18172
18080
  // Salary item is completed when user added salary income source
18173
18081
  if (incomeTypes.work && user.hasRoles(UserRolesEnum.WORK_TANK)) {
18174
18082
  batch.push(this.create(AccountSetupItemsEnum.SALARY, this.getIncomeSources(true)),
@@ -18228,7 +18136,7 @@ class AccountSetupService {
18228
18136
  * Show bank feeds item when user has only holding tank
18229
18137
  */
18230
18138
  getBankFeedsItem() {
18231
- const userRoles = this.userService.getCache().roles;
18139
+ const userRoles = this.userService.getCacheFirst().roles;
18232
18140
  const bankFeedsRoles = [UserRolesEnum.PROPERTY_TANK, UserRolesEnum.WORK_TANK, UserRolesEnum.SOLE_TANK];
18233
18141
  if (!intersection(bankFeedsRoles, userRoles).length) {
18234
18142
  return of(null);
@@ -19762,7 +19670,7 @@ class BasiqTokenInterceptor {
19762
19670
  if (!request.url.includes(BasiqService.basiqApiUrl)) {
19763
19671
  return next.handle(request);
19764
19672
  }
19765
- return this.basiqTokenService.getSingle().pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
19673
+ return this.basiqTokenService.getFirst().pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
19766
19674
  }
19767
19675
  addToken(request, token) {
19768
19676
  return request.clone({
@@ -23524,5 +23432,5 @@ var MessagesEnum;
23524
23432
  * Generated bundle index. Do not edit.
23525
23433
  */
23526
23434
 
23527
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteMessages, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, 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, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, taxReviewFilterPredicate, toArray };
23435
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteMessages, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, 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, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, taxReviewFilterPredicate, toArray };
23528
23436
  //# sourceMappingURL=taxtank-core.mjs.map