taxtank-core 0.33.2 → 0.33.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. package/common/src/db/enums/user/user-roles.enum.d.ts +1 -0
  2. package/common/src/services/mixpanel.service.d.ts +1 -0
  3. package/esm2022/common/src/common.module.mjs +7 -5
  4. package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +2 -1
  5. package/esm2022/common/src/interceptors/interceptors.module.mjs +5 -5
  6. package/esm2022/common/src/interceptors/jwt-interceptor.mjs +6 -6
  7. package/esm2022/common/src/services/auth/auth.service.mjs +6 -6
  8. package/esm2022/common/src/services/auth/jwt.service.mjs +4 -4
  9. package/esm2022/common/src/services/mixpanel.service.mjs +13 -7
  10. package/esm2022/public-api.mjs +2 -3
  11. package/esm2022/src/lib/collections/bank-transaction.collection.mjs +2 -2
  12. package/esm2022/src/lib/collections/chat/chat.collection.mjs +1 -19
  13. package/esm2022/src/lib/collections/client-movement.collection.mjs +5 -4
  14. package/esm2022/src/lib/collections/client.collection.mjs +1 -1
  15. package/esm2022/src/lib/collections/collection-dictionary.mjs +4 -1
  16. package/esm2022/src/lib/collections/collection.mjs +14 -3
  17. package/esm2022/src/lib/collections/firm/employee-invite.collection.mjs +10 -0
  18. package/esm2022/src/lib/collections/firm/employee.collection.mjs +18 -0
  19. package/esm2022/src/lib/collections/firm/index.mjs +3 -0
  20. package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +2 -2
  21. package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +2 -2
  22. package/esm2022/src/lib/collections/index.mjs +3 -2
  23. package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +11 -1
  24. package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +2 -2
  25. package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +2 -2
  26. package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +1 -1
  27. package/esm2022/src/lib/collections/tax-review.collection.mjs +1 -7
  28. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +4 -1
  29. package/esm2022/src/lib/collections/user/user.collection.mjs +4 -0
  30. package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +13 -1
  31. package/esm2022/src/lib/core.module.mjs +6 -5
  32. package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +2 -1
  33. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +2 -2
  34. package/esm2022/src/lib/db/Enums/firm/employee-invite-role.enum.mjs +6 -0
  35. package/esm2022/src/lib/db/Enums/firm/firm-type.enum.mjs +6 -0
  36. package/esm2022/src/lib/db/Enums/firm/index.mjs +3 -0
  37. package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +6 -5
  38. package/esm2022/src/lib/db/Enums/index.mjs +3 -1
  39. package/esm2022/src/lib/db/Enums/user/gender.enum.mjs +14 -0
  40. package/esm2022/src/lib/db/Enums/user/index.mjs +2 -0
  41. package/esm2022/src/lib/db/Json/chart-accounts/chart-accounts-value.json +59 -4
  42. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  43. package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +1 -1
  44. package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +1 -1
  45. package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
  46. package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +1 -1
  47. package/esm2022/src/lib/db/Models/firm/chat.mjs +1 -1
  48. package/esm2022/src/lib/db/Models/firm/client-invite.mjs +1 -1
  49. package/esm2022/src/lib/db/Models/firm/client-movement.mjs +1 -1
  50. package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +1 -1
  51. package/esm2022/src/lib/db/Models/firm/firm.mjs +1 -1
  52. package/esm2022/src/lib/db/Models/firm/message-document.mjs +1 -1
  53. package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +1 -1
  54. package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +1 -1
  55. package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +1 -1
  56. package/esm2022/src/lib/db/Models/property/property-forecast.mjs +1 -1
  57. package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +1 -1
  58. package/esm2022/src/lib/db/Models/sole/sole-business.mjs +3 -3
  59. package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +1 -1
  60. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +3 -4
  61. package/esm2022/src/lib/db/Models/user/employee-details.mjs +1 -1
  62. package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
  63. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +1 -1
  64. package/esm2022/src/lib/forms/abstract.form.mjs +9 -4
  65. package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
  66. package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +2 -2
  67. package/esm2022/src/lib/forms/chat/chat-filter.form.mjs +36 -0
  68. package/esm2022/src/lib/forms/chat/index.mjs +2 -0
  69. package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +1 -2
  70. package/esm2022/src/lib/forms/client/capital-loss.form.mjs +13 -0
  71. package/esm2022/src/lib/forms/client/index.mjs +2 -1
  72. package/esm2022/src/lib/forms/collection.form.mjs +29 -0
  73. package/esm2022/src/lib/forms/firm/client-invite-put.form.mjs +13 -0
  74. package/esm2022/src/lib/forms/firm/client-invite.form.mjs +18 -0
  75. package/esm2022/src/lib/forms/firm/client-movement.form.mjs +22 -0
  76. package/esm2022/src/lib/forms/firm/employee-details.form.mjs +21 -0
  77. package/esm2022/src/lib/forms/firm/employee-invite.form.mjs +24 -0
  78. package/esm2022/src/lib/forms/firm/firm-branch.form.mjs +13 -0
  79. package/esm2022/src/lib/forms/firm/firm-invite.form.mjs +18 -0
  80. package/esm2022/src/lib/forms/firm/index.mjs +8 -1
  81. package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +30 -4
  82. package/esm2022/src/lib/forms/index.mjs +4 -1
  83. package/esm2022/src/lib/forms/loan/loan.form.mjs +3 -7
  84. package/esm2022/src/lib/forms/register/register-client.form.mjs +9 -6
  85. package/esm2022/src/lib/forms/register/register-firm.form.mjs +4 -4
  86. package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +1 -1
  87. package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +1 -1
  88. package/esm2022/src/lib/forms/sole/bas-report.form.mjs +3 -2
  89. package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +4 -3
  90. package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +3 -2
  91. package/esm2022/src/lib/forms/tax-review/index.mjs +3 -0
  92. package/esm2022/src/lib/forms/tax-review/tax-review-filter-status.enum.mjs +6 -0
  93. package/esm2022/src/lib/forms/tax-review/tax-review-filter.form.mjs +49 -0
  94. package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +19 -9
  95. package/esm2022/src/lib/forms/transaction/index.mjs +2 -1
  96. package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +1 -1
  97. package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +35 -0
  98. package/esm2022/src/lib/forms/transaction/transaction.form.mjs +1 -1
  99. package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +2 -4
  100. package/esm2022/src/lib/forms/user/client-details.form.mjs +2 -2
  101. package/esm2022/src/lib/forms/user/user-invite.form.mjs +3 -2
  102. package/esm2022/src/lib/forms/user/user.form.mjs +11 -8
  103. package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +1 -1
  104. package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +1 -3
  105. package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +3 -4
  106. package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +5 -5
  107. package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +5 -5
  108. package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +6 -6
  109. package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +6 -6
  110. package/esm2022/src/lib/interceptors/interceptors.module.mjs +5 -5
  111. package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +5 -5
  112. package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +7 -6
  113. package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +6 -6
  114. package/esm2022/src/lib/models/bank/bank-connection.mjs +22 -1
  115. package/esm2022/src/lib/models/chat/chat.mjs +6 -2
  116. package/esm2022/src/lib/models/chat/message-document.mjs +4 -4
  117. package/esm2022/src/lib/models/client/annual-client-details.mjs +1 -1
  118. package/esm2022/src/lib/models/client/capital-loss.interface.mjs +2 -0
  119. package/esm2022/src/lib/models/client/capital-loss.mjs +15 -0
  120. package/esm2022/src/lib/models/client/client-details.mjs +27 -1
  121. package/esm2022/src/lib/models/client/client-invite.mjs +8 -5
  122. package/esm2022/src/lib/models/client/client-movement.mjs +8 -5
  123. package/esm2022/src/lib/models/client/index.mjs +3 -1
  124. package/esm2022/src/lib/models/depreciation/depreciation.mjs +4 -2
  125. package/esm2022/src/lib/models/employee/employee-details.mjs +8 -2
  126. package/esm2022/src/lib/models/employee/employee-invite.mjs +18 -2
  127. package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +22 -13
  128. package/esm2022/src/lib/models/event/app-event-type.enum.mjs +20 -21
  129. package/esm2022/src/lib/models/file/file.mjs +4 -1
  130. package/esm2022/src/lib/models/financial-year/financial-year.mjs +3 -3
  131. package/esm2022/src/lib/models/firm/firm-branch.interface.mjs +2 -0
  132. package/esm2022/src/lib/models/firm/firm-branch.mjs +22 -0
  133. package/esm2022/src/lib/models/firm/firm.mjs +2 -2
  134. package/esm2022/src/lib/models/firm/index.mjs +3 -0
  135. package/esm2022/src/lib/models/holding/holding.mjs +4 -4
  136. package/esm2022/src/lib/models/income-source/salary-forecast.mjs +1 -1
  137. package/esm2022/src/lib/models/income-source/sole-forecast.mjs +1 -1
  138. package/esm2022/src/lib/models/index.mjs +2 -1
  139. package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +11 -7
  140. package/esm2022/src/lib/models/property/property-forecast.mjs +1 -7
  141. package/esm2022/src/lib/models/property/property.mjs +6 -2
  142. package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +5 -1
  143. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +4 -4
  144. package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +2 -1
  145. package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +4 -9
  146. package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +1 -1
  147. package/esm2022/src/lib/models/sole/bas-report.mjs +4 -1
  148. package/esm2022/src/lib/models/sole/sole-business-loss.mjs +1 -1
  149. package/esm2022/src/lib/models/sole/sole-invoice.mjs +7 -6
  150. package/esm2022/src/lib/models/tax-review/tax-review.mjs +12 -2
  151. package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +3 -2
  152. package/esm2022/src/lib/models/transaction/transaction.mjs +1 -1
  153. package/esm2022/src/lib/models/user/user.mjs +8 -5
  154. package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +3 -3
  155. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +1 -1
  156. package/esm2022/src/lib/pipes/app-currency.pipe.mjs +4 -4
  157. package/esm2022/src/lib/pipes/safe-url.pipe.mjs +5 -5
  158. package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +9 -9
  159. package/esm2022/src/lib/services/asset/assets.service.mjs +6 -6
  160. package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +4 -4
  161. package/esm2022/src/lib/services/data.service.mjs +4 -4
  162. package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +4 -4
  163. package/esm2022/src/lib/services/event/sse.service.mjs +6 -6
  164. package/esm2022/src/lib/services/export/export-formatter.service.mjs +5 -5
  165. package/esm2022/src/lib/services/firm/current-firm-branch.service.mjs +26 -0
  166. package/esm2022/src/lib/services/firm/index.mjs +2 -0
  167. package/esm2022/src/lib/services/header-title/header-title.service.mjs +5 -5
  168. package/esm2022/src/lib/services/http/address/address.service.mjs +6 -6
  169. package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +6 -6
  170. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +5 -2
  171. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +11 -7
  172. package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +6 -6
  173. package/esm2022/src/lib/services/http/bank/bank.service.mjs +4 -4
  174. package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +4 -4
  175. package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +22 -6
  176. package/esm2022/src/lib/services/http/budget/budget.service.mjs +4 -4
  177. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +4 -4
  178. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +4 -4
  179. package/esm2022/src/lib/services/http/chat/chat.service.mjs +10 -10
  180. package/esm2022/src/lib/services/http/chat/message-document.service.mjs +6 -6
  181. package/esm2022/src/lib/services/http/chat/message.service.mjs +10 -6
  182. package/esm2022/src/lib/services/http/client/annual-client-details.service.mjs +23 -0
  183. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.mjs +7 -0
  184. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss.service.mjs +23 -0
  185. package/esm2022/src/lib/services/http/client/capital-loss/index.mjs +3 -0
  186. package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +4 -4
  187. package/esm2022/src/lib/services/http/client/index.mjs +3 -2
  188. package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +6 -6
  189. package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +4 -4
  190. package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +6 -6
  191. package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +4 -4
  192. package/esm2022/src/lib/services/http/document/document.service.mjs +4 -4
  193. package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +6 -6
  194. package/esm2022/src/lib/services/http/file/file.service.mjs +4 -4
  195. package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +2 -2
  196. package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +9 -12
  197. package/esm2022/src/lib/services/http/firm/client-movement/client-movement-messages.enum.mjs +8 -0
  198. package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +8 -7
  199. package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +2 -1
  200. package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +2 -1
  201. package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +14 -8
  202. package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +9 -9
  203. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.mjs +9 -0
  204. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch.service.mjs +23 -0
  205. package/esm2022/src/lib/services/http/firm/firm-branch/index.mjs +3 -0
  206. package/esm2022/src/lib/services/http/firm/firm.service.mjs +7 -7
  207. package/esm2022/src/lib/services/http/firm/index.mjs +2 -1
  208. package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +6 -6
  209. package/esm2022/src/lib/services/http/google/google.service.mjs +6 -6
  210. package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +4 -4
  211. package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +4 -4
  212. package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +4 -4
  213. package/esm2022/src/lib/services/http/holding/holding.service.mjs +7 -7
  214. package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +6 -6
  215. package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +8 -8
  216. package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +6 -6
  217. package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +9 -8
  218. package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +6 -6
  219. package/esm2022/src/lib/services/http/loan/loan.service.mjs +6 -6
  220. package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +6 -6
  221. package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +4 -4
  222. package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +4 -4
  223. package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +4 -4
  224. package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +4 -4
  225. package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +4 -4
  226. package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +6 -6
  227. package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +6 -6
  228. package/esm2022/src/lib/services/http/property/property.service.mjs +7 -6
  229. package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +6 -6
  230. package/esm2022/src/lib/services/http/rest/rest.service.mjs +12 -7
  231. package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +6 -6
  232. package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +4 -4
  233. package/esm2022/src/lib/services/http/sole/bas-report/bas-report-messages.enum.mjs +8 -0
  234. package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +4 -4
  235. package/esm2022/src/lib/services/http/sole/bas-report/index.mjs +3 -0
  236. package/esm2022/src/lib/services/http/sole/index.mjs +2 -2
  237. package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +10 -14
  238. package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +4 -4
  239. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +4 -4
  240. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +8 -9
  241. package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +4 -4
  242. package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +6 -6
  243. package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +6 -6
  244. package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +6 -6
  245. package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +4 -4
  246. package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +4 -4
  247. package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +6 -6
  248. package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +4 -4
  249. package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +4 -4
  250. package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +6 -6
  251. package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +6 -6
  252. package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +6 -6
  253. package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +6 -6
  254. package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +4 -4
  255. package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +6 -6
  256. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +6 -6
  257. package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +6 -6
  258. package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +4 -4
  259. package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +4 -4
  260. package/esm2022/src/lib/services/http/user/user.service.mjs +6 -6
  261. package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +4 -4
  262. package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +6 -6
  263. package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +19 -8
  264. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +6 -5
  265. package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +4 -4
  266. package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +6 -6
  267. package/esm2022/src/lib/services/index.mjs +2 -1
  268. package/esm2022/src/lib/services/intercom/intercom.service.mjs +6 -6
  269. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +5 -5
  270. package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +5 -5
  271. package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +5 -5
  272. package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +5 -5
  273. package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +5 -5
  274. package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +4 -4
  275. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +5 -5
  276. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +4 -4
  277. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +4 -4
  278. package/esm2022/src/lib/services/preloader/preloader.service.mjs +5 -5
  279. package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +6 -6
  280. package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +6 -6
  281. package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +4 -4
  282. package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +17 -12
  283. package/esm2022/src/lib/services/toast/toast.service.mjs +4 -4
  284. package/esm2022/src/lib/services/user/user-switcher.service.mjs +4 -4
  285. package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +4 -4
  286. package/esm2022/src/lib/validators/date-range.validator.mjs +1 -1
  287. package/esm2022/src/lib/validators/fields-sum.validator.mjs +1 -1
  288. package/esm2022/src/lib/validators/greater-than.validator.mjs +1 -1
  289. package/esm2022/src/lib/validators/index.mjs +3 -1
  290. package/esm2022/src/lib/validators/match-sum.validator.mjs +16 -0
  291. package/esm2022/src/lib/validators/string/alpha-space.validator.mjs +10 -0
  292. package/esm2022/src/lib/validators/unique-email.validator.mjs +5 -5
  293. package/fesm2022/taxtank-core-common.mjs +36 -27
  294. package/fesm2022/taxtank-core-common.mjs.map +1 -1
  295. package/fesm2022/taxtank-core.mjs +1544 -869
  296. package/fesm2022/taxtank-core.mjs.map +1 -1
  297. package/package.json +1 -1
  298. package/public-api.d.ts +1 -2
  299. package/src/lib/collections/bank-transaction.collection.d.ts +3 -2
  300. package/src/lib/collections/chat/chat.collection.d.ts +1 -5
  301. package/src/lib/collections/client-movement.collection.d.ts +2 -2
  302. package/src/lib/collections/client.collection.d.ts +1 -1
  303. package/src/lib/collections/collection-dictionary.d.ts +1 -0
  304. package/src/lib/collections/collection.d.ts +5 -1
  305. package/src/lib/collections/firm/employee-invite.collection.d.ts +5 -0
  306. package/src/lib/collections/firm/employee.collection.d.ts +6 -0
  307. package/src/lib/collections/firm/index.d.ts +2 -0
  308. package/src/lib/collections/income-source/income-source.collection.d.ts +1 -1
  309. package/src/lib/collections/index.d.ts +2 -1
  310. package/src/lib/collections/property/property-valuation.collection.d.ts +4 -0
  311. package/src/lib/collections/report/property/property-report-item-depreciation.collection.d.ts +2 -2
  312. package/src/lib/collections/report/property/property-report-item-transaction.collection.d.ts +3 -3
  313. package/src/lib/collections/report/property/property-report-item.collection.d.ts +1 -1
  314. package/src/lib/collections/tax-review.collection.d.ts +0 -4
  315. package/src/lib/collections/transaction/transaction.collection.d.ts +1 -0
  316. package/src/lib/collections/user/user.collection.d.ts +4 -0
  317. package/src/lib/collections/vehicle/vehicle-logbook.collection.d.ts +6 -0
  318. package/src/lib/core.module.d.ts +2 -1
  319. package/src/lib/db/Enums/bank/bank-connection-status.enum.d.ts +1 -0
  320. package/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.d.ts +1 -1
  321. package/src/lib/db/Enums/firm/employee-invite-role.enum.d.ts +4 -0
  322. package/src/lib/db/Enums/firm/index.d.ts +2 -0
  323. package/src/lib/db/Enums/holding/holding-type-exchange-list.enum.d.ts +5 -4
  324. package/src/lib/db/Enums/index.d.ts +2 -0
  325. package/src/lib/db/Enums/user/gender.enum.d.ts +12 -0
  326. package/src/lib/db/Enums/user/index.d.ts +1 -0
  327. package/src/lib/db/Models/bank/bank-connection.d.ts +1 -0
  328. package/src/lib/db/Models/client/annual-client-details.d.ts +0 -1
  329. package/src/lib/db/Models/client/client-details.d.ts +1 -0
  330. package/src/lib/db/Models/firm/accountant/tax-review.d.ts +2 -0
  331. package/src/lib/db/Models/firm/chat.d.ts +2 -0
  332. package/src/lib/db/Models/firm/client-invite.d.ts +5 -2
  333. package/src/lib/db/Models/firm/client-movement.d.ts +2 -2
  334. package/src/lib/db/Models/firm/employee-invite.d.ts +4 -2
  335. package/src/lib/db/Models/firm/firm.d.ts +1 -1
  336. package/src/lib/db/Models/firm/message-document.d.ts +2 -6
  337. package/src/lib/db/Models/incomeSource/income-source-forecast.d.ts +2 -1
  338. package/src/lib/db/Models/incomeSource/income-source.d.ts +1 -1
  339. package/src/lib/db/Models/incomeSource/salary-forecast.d.ts +1 -0
  340. package/src/lib/db/Models/property/property-forecast.d.ts +1 -0
  341. package/src/lib/db/Models/sole/sole-business-loss.d.ts +1 -0
  342. package/src/lib/db/Models/sole/sole-business.d.ts +2 -2
  343. package/src/lib/db/Models/sole/sole-forecast.d.ts +1 -0
  344. package/src/lib/db/Models/user/employee-details.d.ts +2 -0
  345. package/src/lib/db/Models/user/user.d.ts +2 -0
  346. package/src/lib/db/Models/vehicle/vehicle-claim-details.d.ts +1 -1
  347. package/src/lib/forms/abstract.form.d.ts +14 -7
  348. package/src/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts +1 -1
  349. package/src/lib/forms/chat/chat-filter.form.d.ts +18 -0
  350. package/src/lib/forms/chat/index.d.ts +1 -0
  351. package/src/lib/forms/client/capital-loss.form.d.ts +6 -0
  352. package/src/lib/forms/client/index.d.ts +1 -0
  353. package/src/lib/forms/collection.form.d.ts +14 -0
  354. package/src/lib/forms/firm/client-invite-put.form.d.ts +11 -0
  355. package/src/lib/forms/firm/client-invite.form.d.ts +15 -0
  356. package/src/lib/forms/firm/client-movement.form.d.ts +14 -0
  357. package/src/lib/forms/firm/employee-details.form.d.ts +14 -0
  358. package/src/lib/forms/firm/employee-invite.form.d.ts +17 -0
  359. package/src/lib/forms/firm/firm-branch.form.d.ts +5 -0
  360. package/src/lib/forms/firm/firm-invite.form.d.ts +15 -0
  361. package/src/lib/forms/firm/index.d.ts +7 -0
  362. package/src/lib/forms/holding/holding-reinvest.form.d.ts +7 -0
  363. package/src/lib/forms/index.d.ts +3 -0
  364. package/src/lib/forms/loan/loan.form.d.ts +2 -2
  365. package/src/lib/forms/register/register-client.form.d.ts +1 -1
  366. package/src/lib/forms/register/register-firm.form.d.ts +2 -2
  367. package/src/lib/forms/report/my-tax/my-tax-deductions.form.d.ts +1 -1
  368. package/src/lib/forms/report/my-tax/my-tax-rent.form.d.ts +1 -1
  369. package/src/lib/forms/tax-review/index.d.ts +2 -0
  370. package/src/lib/forms/tax-review/tax-review-filter-status.enum.d.ts +4 -0
  371. package/src/lib/forms/tax-review/tax-review-filter.form.d.ts +21 -0
  372. package/src/lib/forms/transaction/holding/holding-income.form.d.ts +8 -1
  373. package/src/lib/forms/transaction/index.d.ts +1 -0
  374. package/src/lib/forms/transaction/transaction-base-filter.form.d.ts +19 -0
  375. package/src/lib/forms/transaction/work/work-transaction.form.d.ts +1 -1
  376. package/src/lib/forms/user/user.form.d.ts +15 -3
  377. package/src/lib/forms/vehicle/vehicle-claim.form.d.ts +0 -2
  378. package/src/lib/models/bank/bank-connection.d.ts +8 -0
  379. package/src/lib/models/chat/chat.d.ts +3 -1
  380. package/src/lib/models/chat/message-document.d.ts +4 -4
  381. package/src/lib/models/client/annual-client-details.d.ts +0 -1
  382. package/src/lib/models/client/capital-loss.d.ts +9 -0
  383. package/src/lib/models/client/capital-loss.interface.d.ts +6 -0
  384. package/src/lib/models/client/client-details.d.ts +8 -0
  385. package/src/lib/models/client/client-invite.d.ts +3 -2
  386. package/src/lib/models/client/client-movement.d.ts +3 -2
  387. package/src/lib/models/client/index.d.ts +2 -0
  388. package/src/lib/models/employee/employee-details.d.ts +3 -1
  389. package/src/lib/models/employee/employee-invite.d.ts +7 -1
  390. package/src/lib/models/event/app-event-type.enum.d.ts +19 -20
  391. package/src/lib/models/file/file.d.ts +1 -0
  392. package/src/lib/models/firm/firm-branch.d.ts +12 -0
  393. package/src/lib/models/firm/firm-branch.interface.d.ts +7 -0
  394. package/src/lib/models/firm/index.d.ts +2 -0
  395. package/src/lib/models/holding/holding.d.ts +0 -1
  396. package/src/lib/models/index.d.ts +1 -0
  397. package/src/lib/models/property/property-equity-chart-data.d.ts +7 -7
  398. package/src/lib/models/property/property-forecast.d.ts +0 -4
  399. package/src/lib/models/registration-invite/registration-invite.d.ts +2 -0
  400. package/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +1 -1
  401. package/src/lib/models/report/property/property-report-item-transaction.d.ts +3 -3
  402. package/src/lib/models/tax-review/tax-review.d.ts +5 -1
  403. package/src/lib/models/user/user.d.ts +2 -3
  404. package/src/lib/models/vehicle/vehicle-claim-details.d.ts +1 -1
  405. package/src/lib/services/firm/current-firm-branch.service.d.ts +11 -0
  406. package/src/lib/services/firm/index.d.ts +1 -0
  407. package/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +5 -2
  408. package/src/lib/services/http/bank/basiq/basiq.service.d.ts +8 -0
  409. package/src/lib/services/http/chat/message.service.d.ts +2 -0
  410. package/src/lib/services/http/client/{capital-gain/annual-client-details.service.d.ts → annual-client-details.service.d.ts} +4 -4
  411. package/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.d.ts +5 -0
  412. package/src/lib/services/http/client/capital-loss/capital-loss.service.d.ts +12 -0
  413. package/src/lib/services/http/client/capital-loss/index.d.ts +2 -0
  414. package/src/lib/services/http/client/index.d.ts +2 -1
  415. package/src/lib/services/http/firm/client-invite/client-invite-messages.enum.d.ts +1 -1
  416. package/src/lib/services/http/firm/client-invite/client-invite.service.d.ts +0 -1
  417. package/src/lib/services/http/firm/client-movement/client-movement-messages.enum.d.ts +6 -0
  418. package/src/lib/services/http/firm/client-movement/client-movement.service.d.ts +2 -1
  419. package/src/lib/services/http/firm/client-movement/index.d.ts +1 -0
  420. package/src/lib/services/http/firm/employee/employee-messages.enum.d.ts +2 -1
  421. package/src/lib/services/http/firm/employee/employee.service.d.ts +4 -3
  422. package/src/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +3 -3
  423. package/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.d.ts +7 -0
  424. package/src/lib/services/http/firm/firm-branch/firm-branch.service.d.ts +13 -0
  425. package/src/lib/services/http/firm/firm-branch/index.d.ts +2 -0
  426. package/src/lib/services/http/firm/firm.service.d.ts +2 -2
  427. package/src/lib/services/http/firm/index.d.ts +1 -0
  428. package/src/lib/services/http/holding/holding-sale.service.d.ts +1 -2
  429. package/src/lib/services/http/property/property-valuation/property-valuation.service.d.ts +1 -2
  430. package/src/lib/services/http/rest/rest.service.d.ts +5 -0
  431. package/src/lib/services/http/sole/bas-report/bas-report-messages.enum.d.ts +6 -0
  432. package/src/lib/services/http/sole/bas-report/index.d.ts +2 -0
  433. package/src/lib/services/http/sole/index.d.ts +1 -1
  434. package/src/lib/services/http/sole/sole-business/sole-business.service.d.ts +7 -5
  435. package/src/lib/services/http/vehicle/vehicle-claim.service.d.ts +5 -1
  436. package/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.d.ts +2 -1
  437. package/src/lib/services/index.d.ts +1 -0
  438. package/src/lib/services/report/property/property-transaction-report.service.d.ts +4 -7
  439. package/src/lib/validators/index.d.ts +2 -0
  440. package/src/lib/validators/match-sum.validator.d.ts +6 -0
  441. package/src/lib/validators/string/alpha-space.validator.d.ts +5 -0
  442. package/esm2022/src/lib/collections/employee.collection.mjs +0 -11
  443. package/esm2022/src/lib/db/Enums/firm-type.enum.mjs +0 -6
  444. package/esm2022/src/lib/functions/tax-review-filter-predicate.mjs +0 -10
  445. package/esm2022/src/lib/services/http/client/capital-gain/annual-client-details.service.mjs +0 -23
  446. package/esm2022/src/lib/validators/transactions-meta-fields.validator.mjs +0 -33
  447. package/src/lib/collections/employee.collection.d.ts +0 -6
  448. package/src/lib/functions/tax-review-filter-predicate.d.ts +0 -7
  449. package/src/lib/validators/transactions-meta-fields.validator.d.ts +0 -5
  450. /package/src/lib/db/Enums/{firm-type.enum.d.ts → firm/firm-type.enum.d.ts} +0 -0
@@ -1,7 +1,5 @@
1
1
  import { PropertyEquityChartItem } from './property-equity-chart-item';
2
- import { PropertyCollection } from '../../collections/property/property.collection';
3
- import { BankAccountCollection } from '../../collections/bank-account.collection';
4
- import { LoanCollection } from '../../collections/loan/loan.collection';
2
+ import { BankAccountCollection, LoanCollection, PropertyCollection, PropertyValuationCollection } from '../../collections';
5
3
  import { PropertyEquityChartTypeEnum } from './property-equity-chart-type.enum';
6
4
  import { Property } from './property';
7
5
  /**
@@ -11,13 +9,14 @@ import { Property } from './property';
11
9
  * Also on hover appear equity positions point
12
10
  */
13
11
  export declare class PropertyEquityChartData {
14
- private registerDate;
15
- list: PropertyEquityChartItem[];
16
- currentYear: number;
17
12
  private properties;
13
+ private valuations;
18
14
  private bankAccounts;
19
15
  private loans;
20
- constructor(properties: PropertyCollection, bankAccounts: BankAccountCollection, loans: LoanCollection, registerDate: Date);
16
+ private registerDate;
17
+ list: PropertyEquityChartItem[];
18
+ currentYear: number;
19
+ constructor(properties: PropertyCollection, valuations: PropertyValuationCollection, bankAccounts: BankAccountCollection, loans: LoanCollection, registerDate: Date);
21
20
  /**
22
21
  * get items list in chart series format
23
22
  * @param type
@@ -36,6 +35,7 @@ export declare class PropertyEquityChartData {
36
35
  */
37
36
  private buildHistoryItems;
38
37
  /**
38
+ * @TODO remove, there is no difference between actual and history calculations
39
39
  * set actual year's real data
40
40
  * @private
41
41
  */
@@ -22,8 +22,4 @@ export declare class PropertyForecast extends PropertyForecastBase {
22
22
  * Rental Return = Income / Market Value
23
23
  */
24
24
  get rentalReturn(): number;
25
- /**
26
- * Check if forecast is for real current fin year (not selected in the sidebar)
27
- */
28
- isCurrentYear(): boolean;
29
25
  }
@@ -1,6 +1,8 @@
1
1
  import { RegistrationInvite as RegistrationInviteBase } from '../../db/Models/user/registration-invite';
2
2
  import { AppFile } from '../file';
3
+ import { User } from '../user';
3
4
  export declare class RegistrationInvite extends RegistrationInviteBase {
4
5
  file: AppFile;
6
+ user: User;
5
7
  get fullName(): string;
6
8
  }
@@ -1,5 +1,5 @@
1
1
  import { TransactionCollection } from '../../../../collections';
2
- import { DepreciationCollection } from '../../../../collections/depreciation.collection';
2
+ import { DepreciationCollection } from '../../../../collections';
3
3
  import { DeductionClothingTypeEnum } from './deduction-clothing-type.enum';
4
4
  import { DeductionSelfEducationTypeEnum } from './deduction-self-education-type.enum';
5
5
  import { VehicleClaim, VehicleClaimDetails } from '../../../vehicle';
@@ -1,7 +1,7 @@
1
1
  import { PropertyReportItem } from './property-report-item';
2
- import { TransactionCollection } from '../../../collections/transaction/transaction.collection';
3
- import { Property } from '../../property/property';
4
- import { ChartAccounts } from '../../chart-accounts/chart-accounts';
2
+ import { TransactionCollection } from '../../../collections';
3
+ import { Property } from '../../property';
4
+ import { ChartAccounts } from '../../chart-accounts';
5
5
  /**
6
6
  * Class with transaction-based property transactions report entities
7
7
  */
@@ -1,10 +1,12 @@
1
1
  import { TaxReview as TaxReviewBase } from '../../db/Models/firm/accountant/tax-review';
2
2
  import { TaxReviewStatusEnum } from '../../db/Enums/tax-review-status.enum';
3
- import { User } from '../user/user';
3
+ import { User } from '../user';
4
+ import { FirmBranch } from '../firm';
4
5
  export declare class TaxReview extends TaxReviewBase {
5
6
  client: User;
6
7
  employee: User;
7
8
  status: TaxReviewStatusEnum;
9
+ firmBranch: FirmBranch;
8
10
  /**
9
11
  * if tax review status is 'Cancelled'
10
12
  */
@@ -49,4 +51,6 @@ export declare class TaxReview extends TaxReviewBase {
49
51
  * If tax review is active
50
52
  */
51
53
  isActive(): boolean;
54
+ get clientFullName(): string;
55
+ get employeeFullName(): string;
52
56
  }
@@ -46,9 +46,7 @@ export declare class User extends BaseUser {
46
46
  * Check if current user is firm owner
47
47
  */
48
48
  isFirmOwner(): boolean;
49
- /**
50
- * Check if current user is firm manager
51
- */
49
+ isTopManager(): boolean;
52
50
  isManager(): boolean;
53
51
  /**
54
52
  * check if user has property tank access
@@ -69,4 +67,5 @@ export declare class User extends BaseUser {
69
67
  * starts from 2022 for new users and registeredYear - 1 for old users
70
68
  */
71
69
  get financialYears(): number;
70
+ get firmBranchNames(): string;
72
71
  }
@@ -1,5 +1,5 @@
1
1
  import { VehicleClaimDetails as VehicleClaimDetailsBase } from '../../db/Models/vehicle/vehicle-claim-details';
2
- import { User } from '../user/user';
2
+ import { User } from '../user';
3
3
  import { VehicleClaimDetailsMethodEnum } from '../../db/Enums/vehicle-claim-details-method.enum';
4
4
  export declare class VehicleClaimDetails extends VehicleClaimDetailsBase {
5
5
  /**
@@ -0,0 +1,11 @@
1
+ import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { FirmBranch } from '../../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CurrentFirmBranchService {
5
+ firmBranchIds$: BehaviorSubject<number[]>;
6
+ get(): Observable<number[]>;
7
+ getCache(): number[];
8
+ set(firmBranches: FirmBranch[]): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CurrentFirmBranchService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<CurrentFirmBranchService>;
11
+ }
@@ -0,0 +1 @@
1
+ export * from './current-firm-branch.service';
@@ -4,7 +4,8 @@ export declare enum BankConnectionMessagesEnum {
4
4
  DEACTIVATE = "Deactivate to stop receiving daily bank transactions",
5
5
  CONFIRM_DEACTIVATE = "We are unable to deliver daily bank transactions to deactivated banks",
6
6
  DEACTIVATED = "Your live bank feeds are deactivated",
7
- RECONNECT = "Disconnected, There has been an issue with your bank connection. Please reconnect to continue receiving bank transactions",
7
+ RECONNECT = "There has been an issue with your bank connection. Please reconnect to continue receiving bank transactions",
8
+ INVALID = "There has been an issue with your bank connection. Please reconnect to continue receiving bank transactions",
8
9
  UPGRADE = "Upgrade needed from traditional feeds to an Open Banking connection to continue receiving bank transactions",
9
10
  CONFIRM_UPGRADE = "Upgrading to open banking improves stability and data integrity",
10
11
  AUTOMATE = "Upgrade from manual imports to an Open Banking connection to receive daily bank transactions",
@@ -17,5 +18,7 @@ export declare enum BankConnectionMessagesEnum {
17
18
  LOGIN_SUCCESS = "Login success, importing financial data",
18
19
  ACCOUNTS_RETRIEVED = "Financial data received, you can add bank accounts now",
19
20
  JOB_ID_RECEIVED = "Receiving information from bank",
20
- TEMPORARY_UNAVAILABLE = "The bank is temporarily unavailable, please check back later"
21
+ TEMPORARY_UNAVAILABLE = "The bank is temporarily unavailable, please check back later",
22
+ EXPIRING = "Access to receiving data from this bank expires soon. To ensure uninterrupted access to your bank transactions and continue sharing data for another term, please Reauthorise",
23
+ EXPIRED = "Your bank has disconnected because your Access to receiving data from this bank has expired. Please Reauthorise to continue sharing"
21
24
  }
@@ -59,6 +59,14 @@ export declare class BasiqService extends RestService<BankAccountBase, BankAccou
59
59
  * @param consentExist
60
60
  */
61
61
  redirectToBasiqConsent(token: string, bankId: string, consentExist?: boolean): void;
62
+ /**
63
+ * redirect to basiq extend consent date to prolong it
64
+ */
65
+ extendConsent(token: string): void;
66
+ /**
67
+ * redirect to basiq extend connection date to prolong it
68
+ */
69
+ reauthoriseConnection(token: string, connection: BankConnection): void;
62
70
  /**
63
71
  * Open basiq consent ui to allow user to manage basiq access to his bank data
64
72
  * @param token User's basiq token
@@ -3,6 +3,7 @@ import { Message } from '../../../models';
3
3
  import { RestMethod, RestService } from '../rest';
4
4
  import { MessageCollection } from '../../../collections';
5
5
  import { IEventListener } from '../../../interfaces';
6
+ import { Observable } from 'rxjs';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * Service for work with messages
@@ -16,6 +17,7 @@ export declare class MessageService extends RestService<MessageBase, Message, Me
16
17
  mercureTopic: string;
17
18
  constructor(environment: any);
18
19
  listenEvents(): void;
20
+ getUnreadChatsAmount(): Observable<number>;
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
20
22
  static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
21
23
  }
@@ -1,7 +1,7 @@
1
- import { AnnualClientDetails as AnnualClientDetailsBase } from '../../../../db/Models';
2
- import { AnnualClientDetails } from '../../../../models';
3
- import { RestMethod, RestService } from '../../rest';
4
- import { Collection } from '../../../../collections';
1
+ import { AnnualClientDetails as AnnualClientDetailsBase } from '../../../db/Models';
2
+ import { AnnualClientDetails } from '../../../models';
3
+ import { RestMethod, RestService } from '../rest';
4
+ import { Collection } from '../../../collections';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class AnnualClientDetailsService extends RestService<AnnualClientDetailsBase, AnnualClientDetails, Collection<AnnualClientDetails>> {
7
7
  modelClass: typeof AnnualClientDetails;
@@ -0,0 +1,5 @@
1
+ export declare enum CapitalLossMessagesEnum {
2
+ POST = "Capital loss created",
3
+ PUT = "capital loss updated",
4
+ DELETE = "capital loss deleted"
5
+ }
@@ -0,0 +1,12 @@
1
+ import { RestMethod, RestService } from '../../rest';
2
+ import { Collection } from '../../../../collections';
3
+ import { CapitalLoss, CapitalLossInterface } from '../../../../models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CapitalLossService extends RestService<CapitalLossInterface, CapitalLoss, Collection<CapitalLoss>> {
6
+ protected endpointUri: string;
7
+ modelClass: typeof CapitalLoss;
8
+ collectionClass: typeof Collection<CapitalLoss>;
9
+ disabledMethods: RestMethod[];
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CapitalLossService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<CapitalLossService>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export * from './capital-loss.service';
2
+ export * from './capital-loss-messages.enum';
@@ -1,3 +1,4 @@
1
- export * from './capital-gain/annual-client-details.service';
1
+ export * from './annual-client-details.service';
2
2
  export * from './occupation/occupation.service';
3
3
  export * from './client-coupon.service';
4
+ export * from './capital-loss';
@@ -6,7 +6,7 @@ export declare enum ClientInviteMessages {
6
6
  SEND_INVITE_MESSAGES_TITLE = "TaxTank support is here to help",
7
7
  SEND_INVITE_MESSAGES_DESCRIPTION = "Before inviting TaxTank support be sure to check out our help articles and message our support team.",
8
8
  TT_ACCOUNTANT_INVITED = "Accountant invitation has been sent successfully",
9
- TT_ACCOUNTANT_INVETED_TOOLTIP = "Need an accountant? TaxTank Accountants delivers virtual accounting service exclusive to TaxTank subscribers. Experience a fast, seamless, and cost-effective lodgement service that rewards your TaxTank efforts throughout the year. Our team of experienced accountants brings their expertise in tax and TaxTank to the virtual realm. It all starts with a 15-minute consultation that sets the stage for personalised service. With us, you\u2019ll receive the best of both worlds at tax time.",
9
+ TT_ACCOUNTANT_INVITED_TOOLTIP = "Need an accountant? TaxTank has partnered with ITP to deliver next level accounting services at the touch of a button! Experience a fast, seamless and cost-effective review and lodgment service that rewards your TaxTank efforts throughout the year. The ITP team brings their experience in tax and TaxTank to the virtual realm. It all starts with a 15-minute consultation that sets the stage for personalised service without the hassle. Step 1 - Invite ITP Accountants. Step 2 - ITP allocate the right accountant. Step 3 - Lock in a time for your 15-minute virtual consult that sets the stage for personalised service. Step 4 - Experience the difference :)",
10
10
  CONFIRM_REJECT = "Are you sure you want to reject this invitation?",
11
11
  REJECTED = "Invitation rejected",
12
12
  ACCEPTED = "Client invitation accepted"
@@ -13,7 +13,6 @@ export declare class ClientInviteService extends RestService<ClientInviteBase, C
13
13
  mercureTopic: string;
14
14
  constructor(environment: any);
15
15
  listenEvents(): void;
16
- getFirmInvites(): Observable<ClientInviteCollection>;
17
16
  /**
18
17
  * Get invite which employee is TaxTank Advisor
19
18
  * @TODO move to collection? but we need to inject enviroment
@@ -0,0 +1,6 @@
1
+ export declare enum ClientMovementMessagesEnum {
2
+ CREATED = "Client accepted",
3
+ UPDATED = "Client transferred",
4
+ DELETED = "Client deleted",
5
+ CONFIRM_DELETE = "Are you sure you want to delete this client?"
6
+ }
@@ -1,7 +1,7 @@
1
1
  import { ClientMovement as ClientMovementBase } from '../../../../db/Models/firm/client-movement';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ClientMovementCollection } from '../../../../collections';
4
- import { FirmTypeEnum } from '../../../../db/Enums/firm-type.enum';
4
+ import { FirmTypeEnum } from '../../../../db/Enums';
5
5
  import { RestService } from '../../rest';
6
6
  import { ClientMovement } from '../../../../models';
7
7
  import { IEventListener } from '../../../../interfaces';
@@ -20,6 +20,7 @@ export declare class ClientMovementService extends RestService<ClientMovementBas
20
20
  getTTAdvisor(): Observable<ClientMovement>;
21
21
  getActiveByFirmType(type: FirmTypeEnum): Observable<ClientMovementCollection>;
22
22
  /**
23
+ * @TODO use simple put when backend refactored (inner movements shouldn't create a new movement)
23
24
  * Method is using for transfer client between employees.
24
25
  * On backend we close passed movement and create a new one instead
25
26
  */
@@ -1 +1,2 @@
1
1
  export * from './client-movement.service';
2
+ export * from './client-movement-messages.enum';
@@ -7,5 +7,6 @@ export declare enum EmployeeMessagesEnum {
7
7
  CONFIRM_ACTIVATE = "Are you sure you want to activate the employee account?",
8
8
  ACTIVATED = "Employee account activated",
9
9
  DEACTIVATED = "Employee account deactivated",
10
- DEACTIVATE_ERROR = "All clients must be transferred prior to removing an accountant"
10
+ DEACTIVATE_ERROR = "All clients must be transferred prior to removing an accountant",
11
+ UPDATED = "Employee account updated"
11
12
  }
@@ -3,18 +3,19 @@ import { User as UserBase } from '../../../../db/Models/user/user';
3
3
  import { Observable } from 'rxjs';
4
4
  import { User } from '../../../../models';
5
5
  import { EmployeeMessagesEnum } from './employee-messages.enum';
6
- import { Collection } from '../../../../collections';
6
+ import { EmployeeCollection } from '../../../../collections';
7
7
  import { UserRolesEnum } from 'taxtank-core/common';
8
8
  import * as i0 from "@angular/core";
9
- export declare class EmployeeService extends RestService<UserBase, User, Collection<User>> {
9
+ export declare class EmployeeService extends RestService<UserBase, User, EmployeeCollection> {
10
10
  protected endpointUri: string;
11
11
  modelClass: typeof User;
12
- collectionClass: typeof Collection<User>;
12
+ collectionClass: typeof EmployeeCollection;
13
13
  disabledMethods: RestMethod[];
14
14
  messages: typeof EmployeeMessagesEnum;
15
15
  roles: UserRolesEnum[];
16
16
  activateEmployee(employee: User): Observable<User>;
17
17
  deactivateEmployee(employee: User): Observable<User>;
18
+ toggleManagerRole(employee: User): Observable<User>;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<EmployeeService, never>;
19
20
  static ɵprov: i0.ɵɵInjectableDeclaration<EmployeeService>;
20
21
  }
@@ -3,11 +3,11 @@ import { Observable } from 'rxjs';
3
3
  import { EmployeeInvite } from '../../../../models/employee/employee-invite';
4
4
  import { RestService } from '../../rest';
5
5
  import { UserRolesEnum } from 'taxtank-core/common';
6
- import { Collection } from '../../../../collections';
6
+ import { EmployeeInviteCollection } from '../../../../collections';
7
7
  import * as i0 from "@angular/core";
8
- export declare class EmployeeInviteService extends RestService<EmployeeInviteBase, EmployeeInvite, Collection<EmployeeInvite>> {
8
+ export declare class EmployeeInviteService extends RestService<EmployeeInviteBase, EmployeeInvite, EmployeeInviteCollection> {
9
9
  protected endpointUri: string;
10
- collectionClass: typeof Collection<EmployeeInvite>;
10
+ collectionClass: typeof EmployeeInviteCollection;
11
11
  modelClass: typeof EmployeeInvite;
12
12
  roles: UserRolesEnum[];
13
13
  /**
@@ -0,0 +1,7 @@
1
+ export declare enum FirmBranchMessagesEnum {
2
+ CREATED = "Branch created",
3
+ UPDATED = "Branch updated",
4
+ DELETED = "Branch deleted",
5
+ DELETE_ERROR = "Only empty branch can be deleted",
6
+ CONFIRM_DELETE = "Are you sure you want to delete this branch?"
7
+ }
@@ -0,0 +1,13 @@
1
+ import { RestMethod, RestService } from '../../rest';
2
+ import { Collection } from '../../../../collections';
3
+ import { FirmBranch } from '../../../../models';
4
+ import { FirmBranchInterface } from '../../../../models/firm/firm-branch.interface';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FirmBranchService extends RestService<FirmBranchInterface, FirmBranch, Collection<FirmBranch>> {
7
+ protected endpointUri: string;
8
+ modelClass: typeof FirmBranch;
9
+ collectionClass: typeof Collection<FirmBranch>;
10
+ disabledMethods: RestMethod[];
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FirmBranchService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<FirmBranchService>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from './firm-branch.service';
2
+ export * from './firm-branch-messages.enum';
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable, ReplaySubject } from 'rxjs';
3
- import { FirmTypeEnum } from '../../../db/Enums/firm-type.enum';
4
- import { Firm } from '../../../models/firm/firm';
3
+ import { FirmTypeEnum } from '../../../db/Enums';
4
+ import { Firm } from '../../../models';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class FirmService {
7
7
  private http;
@@ -5,3 +5,4 @@ export * from './employee-invite';
5
5
  export * from './portfolio-report';
6
6
  export * from './firm-messages.enum';
7
7
  export * from './firm.service';
8
+ export * from './firm-branch';
@@ -1,10 +1,9 @@
1
1
  import { HoldingSale as HoldingSaleBase } from '../../../db/Models';
2
2
  import { HoldingSale } from '../../../models';
3
3
  import { RestMethod, RestService } from '../rest';
4
- import { Collection } from '../../../collections';
5
4
  import { HoldingSaleCollection } from '../../../collections';
6
5
  import * as i0 from "@angular/core";
7
- export declare class HoldingSaleService extends RestService<HoldingSaleBase, HoldingSale, Collection<HoldingSale>> {
6
+ export declare class HoldingSaleService extends RestService<HoldingSaleBase, HoldingSale, HoldingSaleCollection> {
8
7
  modelClass: typeof HoldingSale;
9
8
  collectionClass: typeof HoldingSaleCollection;
10
9
  endpointUri: string;
@@ -1,13 +1,12 @@
1
1
  import { RestMethod, RestService } from '../../rest';
2
2
  import { PropertyValuation as PropertyValuationBase } from '../../../../db/Models';
3
3
  import { PropertyValuation } from '../../../../models';
4
- import { Collection } from '../../../../collections';
5
4
  import { PropertyValuationCollection } from '../../../../collections';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class PropertyValuationService extends RestService<PropertyValuationBase, PropertyValuation, PropertyValuationCollection> {
8
7
  protected endpointUri: string;
9
8
  modelClass: typeof PropertyValuation;
10
- collectionClass: typeof Collection<PropertyValuation>;
9
+ collectionClass: typeof PropertyValuationCollection;
11
10
  disabledMethods: RestMethod[];
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyValuationService, never>;
13
12
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertyValuationService>;
@@ -36,6 +36,11 @@ export declare abstract class RestService<BaseModel, Model extends AbstractModel
36
36
  protected toastService: ToastService;
37
37
  protected http: HttpClient;
38
38
  protected eventDispatcherService: EventDispatcherService;
39
+ /**
40
+ * adds new entities to the beginning when true
41
+ * @TODO make true by default when all services refactored
42
+ */
43
+ protected orderByDesc: boolean;
39
44
  roles: UserRolesEnum[];
40
45
  mercureTopic: string;
41
46
  constructor(environment: any);
@@ -0,0 +1,6 @@
1
+ export declare enum BasReportMessagesEnum {
2
+ CREATED = "Your bas report has been saved",
3
+ UPDATED = "Your bas report has been updated",
4
+ DELETED = "Your bas report has been deleted",
5
+ CONFIRM_DELETE = "Are you sure you want to delete this BAS report?"
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from './bas-report-messages.enum';
2
+ export * from './bas-report.service';
@@ -7,4 +7,4 @@ export * from './sole-depreciation-method/sole-depreciation-method.service';
7
7
  export * from './sole-details/sole-details.service';
8
8
  export * from './sole-invoice/sole-invoice.service';
9
9
  export * from './sole-invoice-template/sole-invoice-template.service';
10
- export * from './bas-report/bas-report.service';
10
+ export * from './bas-report';
@@ -1,12 +1,14 @@
1
- import { RestService } from '../../rest/rest-old.service';
1
+ import { RestService } from '../../rest';
2
2
  import { SoleBusiness as SoleBusinessBase } from '../../../../db/Models/sole/sole-business';
3
3
  import { SoleBusiness } from '../../../../models';
4
- import { Observable } from 'rxjs';
4
+ import { Collection } from '../../../../collections';
5
+ import { UserRolesEnum } from 'taxtank-core/common';
5
6
  import * as i0 from "@angular/core";
6
- export declare class SoleBusinessService extends RestService<SoleBusinessBase, SoleBusiness> {
7
+ export declare class SoleBusinessService extends RestService<SoleBusinessBase, SoleBusiness, Collection<SoleBusiness>> {
7
8
  modelClass: typeof SoleBusiness;
8
- url: string;
9
- add(soleBusiness: SoleBusiness): Observable<SoleBusiness>;
9
+ collectionClass: typeof Collection;
10
+ endpointUri: string;
11
+ roles: UserRolesEnum[];
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SoleBusinessService, never>;
11
13
  static ɵprov: i0.ɵɵInjectableDeclaration<SoleBusinessService>;
12
14
  }
@@ -4,11 +4,15 @@ import { RestService } from '../rest/rest-old.service';
4
4
  import { Observable } from 'rxjs';
5
5
  import { UserRolesEnum } from 'taxtank-core/common';
6
6
  import { BestVehicleLogbookCollection } from '../../../collections';
7
+ import { IEventListener } from '../../../interfaces';
7
8
  import * as i0 from "@angular/core";
8
- export declare class VehicleClaimService extends RestService<VehicleClaimBase, VehicleClaim> {
9
+ export declare class VehicleClaimService extends RestService<VehicleClaimBase, VehicleClaim> implements IEventListener {
10
+ protected environment: any;
9
11
  modelClass: typeof VehicleClaim;
10
12
  url: string;
11
13
  roles: UserRolesEnum[];
14
+ constructor(environment: any);
15
+ listenEvents(): void;
12
16
  add(model: VehicleClaim): Observable<VehicleClaim>;
13
17
  update(model: VehicleClaim, queryParams?: object): Observable<VehicleClaim>;
14
18
  /**
@@ -1,6 +1,6 @@
1
1
  import { VehicleLogbook as VehicleLogbookBase } from '../../../../db/Models/vehicle/vehicle-logbook';
2
2
  import { VehicleLogbook } from '../../../../models';
3
- import { RestService } from '../../rest/rest.service';
3
+ import { RestService } from '../../rest';
4
4
  import { VehicleLogbookCollection } from '../../../../collections';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
@@ -8,6 +8,7 @@ import * as i0 from "@angular/core";
8
8
  */
9
9
  export declare class VehicleLogbookService extends RestService<VehicleLogbookBase, VehicleLogbook, VehicleLogbookCollection> {
10
10
  protected endpointUri: string;
11
+ protected orderByDesc: boolean;
11
12
  collectionClass: typeof VehicleLogbookCollection;
12
13
  modelClass: typeof VehicleLogbook;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<VehicleLogbookService, never>;
@@ -13,4 +13,5 @@ export * from './property';
13
13
  export * from './report';
14
14
  export * from './toast';
15
15
  export * from './user';
16
+ export * from './firm';
16
17
  export * from './xlsx';
@@ -1,11 +1,7 @@
1
1
  import { ChartAccountsService, DepreciationService, PropertyService, TransactionService } from '../../http';
2
2
  import { Observable } from 'rxjs';
3
- import { Property } from '../../../models/property/property';
4
- import { DepreciationCollection } from '../../../collections/depreciation.collection';
5
- import { CollectionDictionary } from '../../../collections/collection-dictionary';
6
- import { TransactionCollection } from '../../../collections';
7
- import { PropertyReportItemCollection } from '../../../collections/report/property/property-report-item.collection';
8
- import { ChartAccountsCollection } from '../../../collections/chart-accounts.collection';
3
+ import { ChartAccountsCollection, CollectionDictionary, DepreciationCollection, PropertyCollection, PropertyReportItemCollection, TransactionCollection } from '../../../collections';
4
+ import { TransactionBaseFilterForm } from '../../../forms';
9
5
  import * as i0 from "@angular/core";
10
6
  /**
11
7
  * Service to handle Property transactions report items data (get income / expense report items, e.t.c.)
@@ -15,7 +11,7 @@ export declare class PropertyTransactionReportService {
15
11
  private transactionService;
16
12
  private depreciationService;
17
13
  private chartAccountsService;
18
- properties: Property[];
14
+ properties: PropertyCollection;
19
15
  transactions: TransactionCollection;
20
16
  depreciations: DepreciationCollection;
21
17
  chartAccounts: ChartAccountsCollection;
@@ -24,6 +20,7 @@ export declare class PropertyTransactionReportService {
24
20
  * Get collection of report items based on transactions & depreciations
25
21
  */
26
22
  get(): Observable<CollectionDictionary<PropertyReportItemCollection>>;
23
+ filter(filterForm: TransactionBaseFilterForm): CollectionDictionary<PropertyReportItemCollection>;
27
24
  private create;
28
25
  /**
29
26
  * Get collection of property transactions
@@ -9,3 +9,5 @@ export * from './current-fin-year.validator';
9
9
  export * from './file.validator';
10
10
  export * from './greater-than.validator';
11
11
  export * from './unique-email.validator';
12
+ export * from './string/alpha-space.validator';
13
+ export * from './match-sum.validator';
@@ -0,0 +1,6 @@
1
+ import { AbstractControl, ValidatorFn } from '@angular/forms';
2
+ /**
3
+ * @param controlsFn function to get controls from target parent
4
+ * it's easier to pass controls instead of function, but it won't work with dynamic fields
5
+ */
6
+ export declare function matchSumValidator(controlsFn: () => AbstractControl[]): ValidatorFn;
@@ -0,0 +1,5 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ /**
3
+ * should include alpha+space only, but currently allow all chars except @ for tests
4
+ */
5
+ export declare function alphaSpaceValidator(): ValidatorFn;
@@ -1,11 +0,0 @@
1
- import { Collection } from './collection';
2
- import { FirmTypeEnum } from '../db/Enums/firm-type.enum';
3
- export class EmployeeCollection extends Collection {
4
- get accountant() {
5
- return this.items.filter((user) => user.employeeDetails.firm.type === FirmTypeEnum.ACCOUNTANT)[0] ?? null;
6
- }
7
- get advisors() {
8
- return this.items.filter((user) => user.employeeDetails.firm.type === FirmTypeEnum.ADVISOR);
9
- }
10
- }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wbG95ZWUuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9lbXBsb3llZS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFMUMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBRzFELE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxVQUFnQjtJQUN0RCxJQUFJLFVBQVU7UUFDWixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsSUFBVSxFQUFFLEVBQUUsQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLElBQUksQ0FBQyxJQUFJLEtBQUssWUFBWSxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLElBQUksQ0FBQztJQUNsSCxDQUFDO0lBRUQsSUFBSSxRQUFRO1FBQ1YsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxDQUFDLElBQVUsRUFBRSxFQUFFLENBQUMsSUFBSSxDQUFDLGVBQWUsQ0FBQyxJQUFJLENBQUMsSUFBSSxLQUFLLFlBQVksQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUNwRyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb2xsZWN0aW9uIH0gZnJvbSAnLi9jb2xsZWN0aW9uJztcbmltcG9ydCB7IFVzZXIgfSBmcm9tICcuLi9tb2RlbHMvdXNlci91c2VyJztcbmltcG9ydCB7IEZpcm1UeXBlRW51bSB9IGZyb20gJy4uL2RiL0VudW1zL2Zpcm0tdHlwZS5lbnVtJztcblxuXG5leHBvcnQgY2xhc3MgRW1wbG95ZWVDb2xsZWN0aW9uIGV4dGVuZHMgQ29sbGVjdGlvbjxVc2VyPiB7XG4gIGdldCBhY2NvdW50YW50KCk6IFVzZXIge1xuICAgIHJldHVybiB0aGlzLml0ZW1zLmZpbHRlcigodXNlcjogVXNlcikgPT4gdXNlci5lbXBsb3llZURldGFpbHMuZmlybS50eXBlID09PSBGaXJtVHlwZUVudW0uQUNDT1VOVEFOVClbMF0gPz8gbnVsbDtcbiAgfVxuXG4gIGdldCBhZHZpc29ycygpOiBVc2VyW10ge1xuICAgIHJldHVybiB0aGlzLml0ZW1zLmZpbHRlcigodXNlcjogVXNlcikgPT4gdXNlci5lbXBsb3llZURldGFpbHMuZmlybS50eXBlID09PSBGaXJtVHlwZUVudW0uQURWSVNPUik7XG4gIH1cbn1cbiJdfQ==
@@ -1,6 +0,0 @@
1
- export var FirmTypeEnum;
2
- (function (FirmTypeEnum) {
3
- FirmTypeEnum[FirmTypeEnum["ACCOUNTANT"] = 1] = "ACCOUNTANT";
4
- FirmTypeEnum[FirmTypeEnum["ADVISOR"] = 2] = "ADVISOR";
5
- })(FirmTypeEnum || (FirmTypeEnum = {}));
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlybS10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvZmlybS10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFHWDtBQUhELFdBQVksWUFBWTtJQUN2QiwyREFBYyxDQUFBO0lBQ2QscURBQVcsQ0FBQTtBQUNaLENBQUMsRUFIVyxZQUFZLEtBQVosWUFBWSxRQUd2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEZpcm1UeXBlRW51bSB7XG5cdEFDQ09VTlRBTlQgPSAxLFxuXHRBRFZJU09SID0gMixcbn1cbiJdfQ==
@@ -1,10 +0,0 @@
1
- /**
2
- * Filter predicate function to search inside TaxReview class fields
3
- * @param data in which query will be searched
4
- * @param filter: search query
5
- */
6
- export function taxReviewFilterPredicate(data, filter) {
7
- return data.client.fullName.toLowerCase().includes(filter) ||
8
- data.employee.fullName.toLowerCase().includes(filter);
9
- }
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGF4LXJldmlldy1maWx0ZXItcHJlZGljYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Z1bmN0aW9ucy90YXgtcmV2aWV3LWZpbHRlci1wcmVkaWNhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7Ozs7R0FJRztBQUNILE1BQU0sVUFBVSx3QkFBd0IsQ0FBQyxJQUFlLEVBQUUsTUFBYztJQUN0RSxPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxDQUFDLFdBQVcsRUFBRSxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUM7UUFDeEQsSUFBSSxDQUFDLFFBQVEsQ0FBQyxRQUFRLENBQUMsV0FBVyxFQUFFLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBQzFELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUYXhSZXZpZXcgfSBmcm9tICcuLi9tb2RlbHMvdGF4LXJldmlldy90YXgtcmV2aWV3JztcblxuLyoqXG4gKiBGaWx0ZXIgcHJlZGljYXRlIGZ1bmN0aW9uIHRvIHNlYXJjaCBpbnNpZGUgVGF4UmV2aWV3IGNsYXNzIGZpZWxkc1xuICogQHBhcmFtIGRhdGEgaW4gd2hpY2ggcXVlcnkgd2lsbCBiZSBzZWFyY2hlZFxuICogQHBhcmFtIGZpbHRlcjogc2VhcmNoIHF1ZXJ5XG4gKi9cbmV4cG9ydCBmdW5jdGlvbiB0YXhSZXZpZXdGaWx0ZXJQcmVkaWNhdGUoZGF0YTogVGF4UmV2aWV3LCBmaWx0ZXI6IHN0cmluZyk6IGJvb2xlYW4ge1xuICByZXR1cm4gZGF0YS5jbGllbnQuZnVsbE5hbWUudG9Mb3dlckNhc2UoKS5pbmNsdWRlcyhmaWx0ZXIpIHx8XG4gICAgZGF0YS5lbXBsb3llZS5mdWxsTmFtZS50b0xvd2VyQ2FzZSgpLmluY2x1ZGVzKGZpbHRlcik7XG59XG4iXX0=