taxtank-core 0.33.1 → 0.33.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (451) hide show
  1. package/common/src/db/enums/user/user-roles.enum.d.ts +1 -0
  2. package/common/src/services/auth/jwt.service.d.ts +1 -0
  3. package/common/src/services/mixpanel.service.d.ts +1 -0
  4. package/esm2022/common/src/common.module.mjs +7 -5
  5. package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +2 -1
  6. package/esm2022/common/src/interceptors/interceptors.module.mjs +5 -5
  7. package/esm2022/common/src/interceptors/jwt-interceptor.mjs +6 -6
  8. package/esm2022/common/src/services/auth/auth.service.mjs +6 -6
  9. package/esm2022/common/src/services/auth/jwt.service.mjs +8 -4
  10. package/esm2022/common/src/services/mixpanel.service.mjs +13 -7
  11. package/esm2022/public-api.mjs +2 -3
  12. package/esm2022/src/lib/collections/bank-transaction.collection.mjs +2 -2
  13. package/esm2022/src/lib/collections/chat/chat.collection.mjs +1 -19
  14. package/esm2022/src/lib/collections/client-movement.collection.mjs +5 -4
  15. package/esm2022/src/lib/collections/client.collection.mjs +1 -1
  16. package/esm2022/src/lib/collections/collection-dictionary.mjs +4 -1
  17. package/esm2022/src/lib/collections/collection.mjs +14 -3
  18. package/esm2022/src/lib/collections/firm/employee-invite.collection.mjs +10 -0
  19. package/esm2022/src/lib/collections/firm/employee.collection.mjs +18 -0
  20. package/esm2022/src/lib/collections/firm/index.mjs +3 -0
  21. package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +2 -2
  22. package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +2 -2
  23. package/esm2022/src/lib/collections/index.mjs +3 -2
  24. package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +11 -1
  25. package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +2 -2
  26. package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +2 -2
  27. package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +1 -1
  28. package/esm2022/src/lib/collections/tax-review.collection.mjs +1 -7
  29. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +4 -1
  30. package/esm2022/src/lib/collections/user/user.collection.mjs +4 -0
  31. package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +13 -1
  32. package/esm2022/src/lib/core.module.mjs +7 -6
  33. package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +2 -1
  34. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +2 -2
  35. package/esm2022/src/lib/db/Enums/firm/employee-invite-role.enum.mjs +6 -0
  36. package/esm2022/src/lib/db/Enums/firm/firm-type.enum.mjs +6 -0
  37. package/esm2022/src/lib/db/Enums/firm/index.mjs +3 -0
  38. package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +6 -5
  39. package/esm2022/src/lib/db/Enums/index.mjs +3 -1
  40. package/esm2022/src/lib/db/Enums/user/gender.enum.mjs +14 -0
  41. package/esm2022/src/lib/db/Enums/user/index.mjs +2 -0
  42. package/esm2022/src/lib/db/Json/chart-accounts/chart-accounts-value.json +59 -4
  43. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  44. package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +1 -1
  45. package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +1 -1
  46. package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
  47. package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +1 -1
  48. package/esm2022/src/lib/db/Models/firm/chat.mjs +1 -1
  49. package/esm2022/src/lib/db/Models/firm/client-invite.mjs +1 -1
  50. package/esm2022/src/lib/db/Models/firm/client-movement.mjs +1 -1
  51. package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +1 -1
  52. package/esm2022/src/lib/db/Models/firm/firm.mjs +1 -1
  53. package/esm2022/src/lib/db/Models/firm/message-document.mjs +1 -1
  54. package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +1 -1
  55. package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +1 -1
  56. package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +1 -1
  57. package/esm2022/src/lib/db/Models/property/property-forecast.mjs +1 -1
  58. package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +1 -1
  59. package/esm2022/src/lib/db/Models/sole/sole-business.mjs +3 -3
  60. package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +1 -1
  61. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +3 -4
  62. package/esm2022/src/lib/db/Models/user/employee-details.mjs +1 -1
  63. package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
  64. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +1 -1
  65. package/esm2022/src/lib/forms/abstract.form.mjs +9 -4
  66. package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
  67. package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +2 -2
  68. package/esm2022/src/lib/forms/chat/chat-filter.form.mjs +36 -0
  69. package/esm2022/src/lib/forms/chat/index.mjs +2 -0
  70. package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +1 -2
  71. package/esm2022/src/lib/forms/client/capital-loss.form.mjs +13 -0
  72. package/esm2022/src/lib/forms/client/index.mjs +2 -1
  73. package/esm2022/src/lib/forms/collection.form.mjs +29 -0
  74. package/esm2022/src/lib/forms/firm/client-invite-put.form.mjs +13 -0
  75. package/esm2022/src/lib/forms/firm/client-invite.form.mjs +18 -0
  76. package/esm2022/src/lib/forms/firm/client-movement.form.mjs +22 -0
  77. package/esm2022/src/lib/forms/firm/employee-details.form.mjs +21 -0
  78. package/esm2022/src/lib/forms/firm/employee-invite.form.mjs +24 -0
  79. package/esm2022/src/lib/forms/firm/firm-branch.form.mjs +13 -0
  80. package/esm2022/src/lib/forms/firm/firm-invite.form.mjs +18 -0
  81. package/esm2022/src/lib/forms/firm/index.mjs +8 -1
  82. package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +30 -4
  83. package/esm2022/src/lib/forms/index.mjs +4 -1
  84. package/esm2022/src/lib/forms/loan/loan.form.mjs +3 -7
  85. package/esm2022/src/lib/forms/register/register-client.form.mjs +9 -6
  86. package/esm2022/src/lib/forms/register/register-firm.form.mjs +4 -4
  87. package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +1 -1
  88. package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +1 -1
  89. package/esm2022/src/lib/forms/sole/bas-report.form.mjs +3 -2
  90. package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +4 -3
  91. package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +3 -2
  92. package/esm2022/src/lib/forms/tax-review/index.mjs +3 -0
  93. package/esm2022/src/lib/forms/tax-review/tax-review-filter-status.enum.mjs +6 -0
  94. package/esm2022/src/lib/forms/tax-review/tax-review-filter.form.mjs +49 -0
  95. package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +19 -9
  96. package/esm2022/src/lib/forms/transaction/index.mjs +2 -1
  97. package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +1 -1
  98. package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +35 -0
  99. package/esm2022/src/lib/forms/transaction/transaction.form.mjs +1 -1
  100. package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +2 -4
  101. package/esm2022/src/lib/forms/user/client-details.form.mjs +2 -2
  102. package/esm2022/src/lib/forms/user/user-invite.form.mjs +3 -2
  103. package/esm2022/src/lib/forms/user/user.form.mjs +11 -8
  104. package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +1 -1
  105. package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +1 -3
  106. package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +3 -4
  107. package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +5 -5
  108. package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +5 -5
  109. package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +6 -6
  110. package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +6 -6
  111. package/esm2022/src/lib/interceptors/interceptors.module.mjs +5 -5
  112. package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +5 -5
  113. package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +7 -6
  114. package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +6 -6
  115. package/esm2022/src/lib/models/bank/bank-connection.mjs +22 -1
  116. package/esm2022/src/lib/models/chat/chat.mjs +6 -2
  117. package/esm2022/src/lib/models/chat/message-document.mjs +4 -4
  118. package/esm2022/src/lib/models/client/annual-client-details.mjs +1 -1
  119. package/esm2022/src/lib/models/client/capital-loss.interface.mjs +2 -0
  120. package/esm2022/src/lib/models/client/capital-loss.mjs +15 -0
  121. package/esm2022/src/lib/models/client/client-details.mjs +27 -1
  122. package/esm2022/src/lib/models/client/client-invite.mjs +8 -5
  123. package/esm2022/src/lib/models/client/client-movement.mjs +8 -5
  124. package/esm2022/src/lib/models/client/index.mjs +3 -1
  125. package/esm2022/src/lib/models/depreciation/depreciation.mjs +4 -2
  126. package/esm2022/src/lib/models/employee/employee-details.mjs +8 -2
  127. package/esm2022/src/lib/models/employee/employee-invite.mjs +18 -2
  128. package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +22 -13
  129. package/esm2022/src/lib/models/event/app-event-type.enum.mjs +20 -21
  130. package/esm2022/src/lib/models/file/file.mjs +4 -1
  131. package/esm2022/src/lib/models/financial-year/financial-year.mjs +3 -3
  132. package/esm2022/src/lib/models/firm/firm-branch.interface.mjs +2 -0
  133. package/esm2022/src/lib/models/firm/firm-branch.mjs +22 -0
  134. package/esm2022/src/lib/models/firm/firm.mjs +2 -2
  135. package/esm2022/src/lib/models/firm/index.mjs +3 -0
  136. package/esm2022/src/lib/models/holding/holding.mjs +4 -4
  137. package/esm2022/src/lib/models/income-source/salary-forecast.mjs +1 -1
  138. package/esm2022/src/lib/models/income-source/sole-forecast.mjs +1 -1
  139. package/esm2022/src/lib/models/index.mjs +2 -1
  140. package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +11 -7
  141. package/esm2022/src/lib/models/property/property-forecast.mjs +1 -7
  142. package/esm2022/src/lib/models/property/property.mjs +6 -2
  143. package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +5 -1
  144. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +4 -4
  145. package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +2 -1
  146. package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +4 -9
  147. package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +1 -1
  148. package/esm2022/src/lib/models/sole/bas-report.mjs +4 -1
  149. package/esm2022/src/lib/models/sole/sole-business-loss.mjs +1 -1
  150. package/esm2022/src/lib/models/sole/sole-invoice.mjs +7 -6
  151. package/esm2022/src/lib/models/tax-review/tax-review.mjs +12 -2
  152. package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +3 -2
  153. package/esm2022/src/lib/models/transaction/transaction.mjs +1 -1
  154. package/esm2022/src/lib/models/user/user.mjs +8 -5
  155. package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +3 -3
  156. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +1 -1
  157. package/esm2022/src/lib/pipes/app-currency.pipe.mjs +4 -4
  158. package/esm2022/src/lib/pipes/safe-url.pipe.mjs +5 -5
  159. package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +9 -9
  160. package/esm2022/src/lib/services/asset/assets.service.mjs +6 -6
  161. package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +4 -4
  162. package/esm2022/src/lib/services/data.service.mjs +4 -4
  163. package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +4 -4
  164. package/esm2022/src/lib/services/event/sse.service.mjs +6 -6
  165. package/esm2022/src/lib/services/export/export-formatter.service.mjs +5 -5
  166. package/esm2022/src/lib/services/firm/current-firm-branch.service.mjs +26 -0
  167. package/esm2022/src/lib/services/firm/index.mjs +2 -0
  168. package/esm2022/src/lib/services/header-title/header-title.service.mjs +5 -5
  169. package/esm2022/src/lib/services/http/address/address.service.mjs +6 -6
  170. package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +6 -6
  171. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +5 -2
  172. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +11 -7
  173. package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +6 -6
  174. package/esm2022/src/lib/services/http/bank/bank.service.mjs +4 -4
  175. package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +4 -4
  176. package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +22 -6
  177. package/esm2022/src/lib/services/http/budget/budget.service.mjs +4 -4
  178. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +4 -4
  179. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +4 -4
  180. package/esm2022/src/lib/services/http/chat/chat.service.mjs +10 -10
  181. package/esm2022/src/lib/services/http/chat/message-document.service.mjs +6 -6
  182. package/esm2022/src/lib/services/http/chat/message.service.mjs +10 -6
  183. package/esm2022/src/lib/services/http/client/annual-client-details.service.mjs +23 -0
  184. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.mjs +7 -0
  185. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss.service.mjs +23 -0
  186. package/esm2022/src/lib/services/http/client/capital-loss/index.mjs +3 -0
  187. package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +4 -4
  188. package/esm2022/src/lib/services/http/client/index.mjs +3 -2
  189. package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +6 -6
  190. package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +4 -4
  191. package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +6 -6
  192. package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +4 -4
  193. package/esm2022/src/lib/services/http/document/document.service.mjs +4 -4
  194. package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +6 -6
  195. package/esm2022/src/lib/services/http/file/file.service.mjs +4 -4
  196. package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +2 -2
  197. package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +9 -12
  198. package/esm2022/src/lib/services/http/firm/client-movement/client-movement-messages.enum.mjs +8 -0
  199. package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +8 -7
  200. package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +2 -1
  201. package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +2 -1
  202. package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +14 -8
  203. package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +9 -9
  204. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.mjs +9 -0
  205. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch.service.mjs +23 -0
  206. package/esm2022/src/lib/services/http/firm/firm-branch/index.mjs +3 -0
  207. package/esm2022/src/lib/services/http/firm/firm.service.mjs +7 -7
  208. package/esm2022/src/lib/services/http/firm/index.mjs +2 -1
  209. package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +6 -6
  210. package/esm2022/src/lib/services/http/google/google.service.mjs +6 -6
  211. package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +4 -4
  212. package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +4 -4
  213. package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +4 -4
  214. package/esm2022/src/lib/services/http/holding/holding.service.mjs +7 -7
  215. package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +6 -6
  216. package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +8 -8
  217. package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +6 -6
  218. package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +9 -8
  219. package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +6 -6
  220. package/esm2022/src/lib/services/http/loan/loan.service.mjs +6 -6
  221. package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +6 -6
  222. package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +4 -4
  223. package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +4 -4
  224. package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +4 -4
  225. package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +4 -4
  226. package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +4 -4
  227. package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +6 -6
  228. package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +6 -6
  229. package/esm2022/src/lib/services/http/property/property.service.mjs +7 -6
  230. package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +6 -6
  231. package/esm2022/src/lib/services/http/rest/rest.service.mjs +12 -7
  232. package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +6 -6
  233. package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +4 -4
  234. package/esm2022/src/lib/services/http/sole/bas-report/bas-report-messages.enum.mjs +8 -0
  235. package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +4 -4
  236. package/esm2022/src/lib/services/http/sole/bas-report/index.mjs +3 -0
  237. package/esm2022/src/lib/services/http/sole/index.mjs +2 -2
  238. package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +10 -14
  239. package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +4 -4
  240. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +4 -4
  241. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +8 -9
  242. package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +4 -4
  243. package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +6 -6
  244. package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +6 -6
  245. package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +6 -6
  246. package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +4 -4
  247. package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +4 -4
  248. package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +6 -6
  249. package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +4 -4
  250. package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +4 -4
  251. package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +6 -6
  252. package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +6 -6
  253. package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +6 -6
  254. package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +6 -6
  255. package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +4 -4
  256. package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +6 -6
  257. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +6 -6
  258. package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +6 -6
  259. package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +4 -4
  260. package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +4 -4
  261. package/esm2022/src/lib/services/http/user/user.service.mjs +6 -6
  262. package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +4 -4
  263. package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +6 -6
  264. package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +19 -8
  265. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +6 -5
  266. package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +4 -4
  267. package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +6 -6
  268. package/esm2022/src/lib/services/index.mjs +2 -1
  269. package/esm2022/src/lib/services/intercom/intercom.service.mjs +6 -6
  270. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +5 -5
  271. package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +5 -5
  272. package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +5 -5
  273. package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +5 -5
  274. package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +5 -5
  275. package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +4 -4
  276. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +5 -5
  277. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +4 -4
  278. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +4 -4
  279. package/esm2022/src/lib/services/preloader/preloader.service.mjs +5 -5
  280. package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +6 -6
  281. package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +6 -6
  282. package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +4 -4
  283. package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +17 -12
  284. package/esm2022/src/lib/services/toast/toast.service.mjs +4 -4
  285. package/esm2022/src/lib/services/user/user-switcher.service.mjs +4 -4
  286. package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +4 -4
  287. package/esm2022/src/lib/validators/date-range.validator.mjs +1 -1
  288. package/esm2022/src/lib/validators/fields-sum.validator.mjs +1 -1
  289. package/esm2022/src/lib/validators/greater-than.validator.mjs +1 -1
  290. package/esm2022/src/lib/validators/index.mjs +3 -1
  291. package/esm2022/src/lib/validators/match-sum.validator.mjs +16 -0
  292. package/esm2022/src/lib/validators/string/alpha-space.validator.mjs +10 -0
  293. package/esm2022/src/lib/validators/unique-email.validator.mjs +5 -5
  294. package/fesm2022/taxtank-core-common.mjs +56 -44
  295. package/fesm2022/taxtank-core-common.mjs.map +1 -1
  296. package/fesm2022/taxtank-core.mjs +1545 -870
  297. package/fesm2022/taxtank-core.mjs.map +1 -1
  298. package/package.json +1 -1
  299. package/public-api.d.ts +1 -2
  300. package/src/lib/collections/bank-transaction.collection.d.ts +3 -2
  301. package/src/lib/collections/chat/chat.collection.d.ts +1 -5
  302. package/src/lib/collections/client-movement.collection.d.ts +2 -2
  303. package/src/lib/collections/client.collection.d.ts +1 -1
  304. package/src/lib/collections/collection-dictionary.d.ts +1 -0
  305. package/src/lib/collections/collection.d.ts +5 -1
  306. package/src/lib/collections/firm/employee-invite.collection.d.ts +5 -0
  307. package/src/lib/collections/firm/employee.collection.d.ts +6 -0
  308. package/src/lib/collections/firm/index.d.ts +2 -0
  309. package/src/lib/collections/income-source/income-source.collection.d.ts +1 -1
  310. package/src/lib/collections/index.d.ts +2 -1
  311. package/src/lib/collections/property/property-valuation.collection.d.ts +4 -0
  312. package/src/lib/collections/report/property/property-report-item-depreciation.collection.d.ts +2 -2
  313. package/src/lib/collections/report/property/property-report-item-transaction.collection.d.ts +3 -3
  314. package/src/lib/collections/report/property/property-report-item.collection.d.ts +1 -1
  315. package/src/lib/collections/tax-review.collection.d.ts +0 -4
  316. package/src/lib/collections/transaction/transaction.collection.d.ts +1 -0
  317. package/src/lib/collections/user/user.collection.d.ts +4 -0
  318. package/src/lib/collections/vehicle/vehicle-logbook.collection.d.ts +6 -0
  319. package/src/lib/core.module.d.ts +2 -1
  320. package/src/lib/db/Enums/bank/bank-connection-status.enum.d.ts +1 -0
  321. package/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.d.ts +1 -1
  322. package/src/lib/db/Enums/firm/employee-invite-role.enum.d.ts +4 -0
  323. package/src/lib/db/Enums/firm/index.d.ts +2 -0
  324. package/src/lib/db/Enums/holding/holding-type-exchange-list.enum.d.ts +5 -4
  325. package/src/lib/db/Enums/index.d.ts +2 -0
  326. package/src/lib/db/Enums/user/gender.enum.d.ts +12 -0
  327. package/src/lib/db/Enums/user/index.d.ts +1 -0
  328. package/src/lib/db/Models/bank/bank-connection.d.ts +1 -0
  329. package/src/lib/db/Models/client/annual-client-details.d.ts +0 -1
  330. package/src/lib/db/Models/client/client-details.d.ts +1 -0
  331. package/src/lib/db/Models/firm/accountant/tax-review.d.ts +2 -0
  332. package/src/lib/db/Models/firm/chat.d.ts +2 -0
  333. package/src/lib/db/Models/firm/client-invite.d.ts +5 -2
  334. package/src/lib/db/Models/firm/client-movement.d.ts +2 -2
  335. package/src/lib/db/Models/firm/employee-invite.d.ts +4 -2
  336. package/src/lib/db/Models/firm/firm.d.ts +1 -1
  337. package/src/lib/db/Models/firm/message-document.d.ts +2 -6
  338. package/src/lib/db/Models/incomeSource/income-source-forecast.d.ts +2 -1
  339. package/src/lib/db/Models/incomeSource/income-source.d.ts +1 -1
  340. package/src/lib/db/Models/incomeSource/salary-forecast.d.ts +1 -0
  341. package/src/lib/db/Models/property/property-forecast.d.ts +1 -0
  342. package/src/lib/db/Models/sole/sole-business-loss.d.ts +1 -0
  343. package/src/lib/db/Models/sole/sole-business.d.ts +2 -2
  344. package/src/lib/db/Models/sole/sole-forecast.d.ts +1 -0
  345. package/src/lib/db/Models/user/employee-details.d.ts +2 -0
  346. package/src/lib/db/Models/user/user.d.ts +2 -0
  347. package/src/lib/db/Models/vehicle/vehicle-claim-details.d.ts +1 -1
  348. package/src/lib/forms/abstract.form.d.ts +14 -7
  349. package/src/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts +1 -1
  350. package/src/lib/forms/chat/chat-filter.form.d.ts +18 -0
  351. package/src/lib/forms/chat/index.d.ts +1 -0
  352. package/src/lib/forms/client/capital-loss.form.d.ts +6 -0
  353. package/src/lib/forms/client/index.d.ts +1 -0
  354. package/src/lib/forms/collection.form.d.ts +14 -0
  355. package/src/lib/forms/firm/client-invite-put.form.d.ts +11 -0
  356. package/src/lib/forms/firm/client-invite.form.d.ts +15 -0
  357. package/src/lib/forms/firm/client-movement.form.d.ts +14 -0
  358. package/src/lib/forms/firm/employee-details.form.d.ts +14 -0
  359. package/src/lib/forms/firm/employee-invite.form.d.ts +17 -0
  360. package/src/lib/forms/firm/firm-branch.form.d.ts +5 -0
  361. package/src/lib/forms/firm/firm-invite.form.d.ts +15 -0
  362. package/src/lib/forms/firm/index.d.ts +7 -0
  363. package/src/lib/forms/holding/holding-reinvest.form.d.ts +7 -0
  364. package/src/lib/forms/index.d.ts +3 -0
  365. package/src/lib/forms/loan/loan.form.d.ts +2 -2
  366. package/src/lib/forms/register/register-client.form.d.ts +1 -1
  367. package/src/lib/forms/register/register-firm.form.d.ts +2 -2
  368. package/src/lib/forms/report/my-tax/my-tax-deductions.form.d.ts +1 -1
  369. package/src/lib/forms/report/my-tax/my-tax-rent.form.d.ts +1 -1
  370. package/src/lib/forms/tax-review/index.d.ts +2 -0
  371. package/src/lib/forms/tax-review/tax-review-filter-status.enum.d.ts +4 -0
  372. package/src/lib/forms/tax-review/tax-review-filter.form.d.ts +21 -0
  373. package/src/lib/forms/transaction/holding/holding-income.form.d.ts +8 -1
  374. package/src/lib/forms/transaction/index.d.ts +1 -0
  375. package/src/lib/forms/transaction/transaction-base-filter.form.d.ts +19 -0
  376. package/src/lib/forms/transaction/work/work-transaction.form.d.ts +1 -1
  377. package/src/lib/forms/user/user.form.d.ts +15 -3
  378. package/src/lib/forms/vehicle/vehicle-claim.form.d.ts +0 -2
  379. package/src/lib/models/bank/bank-connection.d.ts +8 -0
  380. package/src/lib/models/chat/chat.d.ts +3 -1
  381. package/src/lib/models/chat/message-document.d.ts +4 -4
  382. package/src/lib/models/client/annual-client-details.d.ts +0 -1
  383. package/src/lib/models/client/capital-loss.d.ts +9 -0
  384. package/src/lib/models/client/capital-loss.interface.d.ts +6 -0
  385. package/src/lib/models/client/client-details.d.ts +8 -0
  386. package/src/lib/models/client/client-invite.d.ts +3 -2
  387. package/src/lib/models/client/client-movement.d.ts +3 -2
  388. package/src/lib/models/client/index.d.ts +2 -0
  389. package/src/lib/models/employee/employee-details.d.ts +3 -1
  390. package/src/lib/models/employee/employee-invite.d.ts +7 -1
  391. package/src/lib/models/event/app-event-type.enum.d.ts +19 -20
  392. package/src/lib/models/file/file.d.ts +1 -0
  393. package/src/lib/models/firm/firm-branch.d.ts +12 -0
  394. package/src/lib/models/firm/firm-branch.interface.d.ts +7 -0
  395. package/src/lib/models/firm/index.d.ts +2 -0
  396. package/src/lib/models/holding/holding.d.ts +0 -1
  397. package/src/lib/models/index.d.ts +1 -0
  398. package/src/lib/models/property/property-equity-chart-data.d.ts +7 -7
  399. package/src/lib/models/property/property-forecast.d.ts +0 -4
  400. package/src/lib/models/registration-invite/registration-invite.d.ts +2 -0
  401. package/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +1 -1
  402. package/src/lib/models/report/property/property-report-item-transaction.d.ts +3 -3
  403. package/src/lib/models/tax-review/tax-review.d.ts +5 -1
  404. package/src/lib/models/user/user.d.ts +2 -3
  405. package/src/lib/models/vehicle/vehicle-claim-details.d.ts +1 -1
  406. package/src/lib/services/firm/current-firm-branch.service.d.ts +11 -0
  407. package/src/lib/services/firm/index.d.ts +1 -0
  408. package/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +5 -2
  409. package/src/lib/services/http/bank/basiq/basiq.service.d.ts +8 -0
  410. package/src/lib/services/http/chat/message.service.d.ts +2 -0
  411. package/src/lib/services/http/client/{capital-gain/annual-client-details.service.d.ts → annual-client-details.service.d.ts} +4 -4
  412. package/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.d.ts +5 -0
  413. package/src/lib/services/http/client/capital-loss/capital-loss.service.d.ts +12 -0
  414. package/src/lib/services/http/client/capital-loss/index.d.ts +2 -0
  415. package/src/lib/services/http/client/index.d.ts +2 -1
  416. package/src/lib/services/http/firm/client-invite/client-invite-messages.enum.d.ts +1 -1
  417. package/src/lib/services/http/firm/client-invite/client-invite.service.d.ts +0 -1
  418. package/src/lib/services/http/firm/client-movement/client-movement-messages.enum.d.ts +6 -0
  419. package/src/lib/services/http/firm/client-movement/client-movement.service.d.ts +2 -1
  420. package/src/lib/services/http/firm/client-movement/index.d.ts +1 -0
  421. package/src/lib/services/http/firm/employee/employee-messages.enum.d.ts +2 -1
  422. package/src/lib/services/http/firm/employee/employee.service.d.ts +4 -3
  423. package/src/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +3 -3
  424. package/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.d.ts +7 -0
  425. package/src/lib/services/http/firm/firm-branch/firm-branch.service.d.ts +13 -0
  426. package/src/lib/services/http/firm/firm-branch/index.d.ts +2 -0
  427. package/src/lib/services/http/firm/firm.service.d.ts +2 -2
  428. package/src/lib/services/http/firm/index.d.ts +1 -0
  429. package/src/lib/services/http/holding/holding-sale.service.d.ts +1 -2
  430. package/src/lib/services/http/property/property-valuation/property-valuation.service.d.ts +1 -2
  431. package/src/lib/services/http/rest/rest.service.d.ts +5 -0
  432. package/src/lib/services/http/sole/bas-report/bas-report-messages.enum.d.ts +6 -0
  433. package/src/lib/services/http/sole/bas-report/index.d.ts +2 -0
  434. package/src/lib/services/http/sole/index.d.ts +1 -1
  435. package/src/lib/services/http/sole/sole-business/sole-business.service.d.ts +7 -5
  436. package/src/lib/services/http/vehicle/vehicle-claim.service.d.ts +5 -1
  437. package/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.d.ts +2 -1
  438. package/src/lib/services/index.d.ts +1 -0
  439. package/src/lib/services/report/property/property-transaction-report.service.d.ts +4 -7
  440. package/src/lib/validators/index.d.ts +2 -0
  441. package/src/lib/validators/match-sum.validator.d.ts +6 -0
  442. package/src/lib/validators/string/alpha-space.validator.d.ts +5 -0
  443. package/esm2022/src/lib/collections/employee.collection.mjs +0 -11
  444. package/esm2022/src/lib/db/Enums/firm-type.enum.mjs +0 -6
  445. package/esm2022/src/lib/functions/tax-review-filter-predicate.mjs +0 -10
  446. package/esm2022/src/lib/services/http/client/capital-gain/annual-client-details.service.mjs +0 -23
  447. package/esm2022/src/lib/validators/transactions-meta-fields.validator.mjs +0 -33
  448. package/src/lib/collections/employee.collection.d.ts +0 -6
  449. package/src/lib/functions/tax-review-filter-predicate.d.ts +0 -7
  450. package/src/lib/validators/transactions-meta-fields.validator.d.ts +0 -5
  451. /package/src/lib/db/Enums/{firm-type.enum.d.ts → firm/firm-type.enum.d.ts} +0 -0
@@ -91,16 +91,16 @@ export class DepreciationService extends RestService {
91
91
  this.refreshCache();
92
92
  });
93
93
  }
94
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: i2.EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
95
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DepreciationService, providedIn: 'root' }); }
94
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: i2.EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
95
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DepreciationService, providedIn: 'root' }); }
96
96
  }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DepreciationService, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DepreciationService, decorators: [{
98
98
  type: Injectable,
99
99
  args: [{
100
100
  providedIn: 'root'
101
101
  }]
102
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.EventDispatcherService }, { type: undefined, decorators: [{
102
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.EventDispatcherService }, { type: undefined, decorators: [{
103
103
  type: Inject,
104
104
  args: ['environment']
105
- }] }] });
106
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjaWF0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9kZXByZWNpYXRpb24vZGVwcmVjaWF0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHbkQsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JDLE9BQU8sRUFBYyxXQUFXLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDbEQsT0FBTyxFQUNMLGdCQUFnQixFQUNoQixXQUFXLEVBQ1gsWUFBWSxFQUNaLGFBQWEsRUFDYixJQUFJLEVBQ0wsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7OztBQVE5RCxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsV0FBbUU7SUFNMUcsWUFDWSxJQUFnQixFQU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k7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -14,13 +14,13 @@ export class DocumentFolderService extends RestService {
14
14
  this.modelClass = DocumentFolder;
15
15
  this.disabledMethods = ['deleteBatch', 'postBatch', 'putBatch'];
16
16
  }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
18
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DocumentFolderService, providedIn: 'root' }); }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
18
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DocumentFolderService, providedIn: 'root' }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DocumentFolderService, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DocumentFolderService, decorators: [{
21
21
  type: Injectable,
22
22
  args: [{
23
23
  providedIn: 'root'
24
24
  }]
25
25
  }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQtZm9sZGVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9kb2N1bWVudC9kb2N1bWVudC1mb2xkZXIvZG9jdW1lbnQtZm9sZGVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEs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uZGluZyBkb2N1bWVudHMgbG9naWNcbiAqL1xuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgRG9jdW1lbnRGb2xkZXJTZXJ2aWNlIGV4dGVuZHMgUmVzdFNlcnZpY2U8RG9jdW1lbnRGb2xkZXJCYXNlLCBEb2N1bWVudEZvbGRlciwgQ29sbGVjdGlvbjxEb2N1bWVudEZvbGRlcj4+IHtcbiAgZW5kcG9pbnRVcmkgPSAnZm9sZGVycyc7XG4gIGNvbGxlY3Rpb25DbGFzczogdHlwZW9mIENvbGxlY3Rpb24gPSBDb2xsZWN0aW9uO1xuICBtb2RlbENsYXNzOiB0eXBlb2YgRG9jdW1lbnRGb2xkZXIgPSBEb2N1bWVudEZvbGRlcjtcbiAgZGlzYWJsZWRNZXRob2RzOiBSZXN0TWV0aG9kW10gPSBbJ2RlbGV0ZUJhdGNoJywgJ3Bvc3RCYXRjaCcsICdwdXRCYXRjaCddO1xufVxuIl19
@@ -11,13 +11,13 @@ export class DocumentService extends RestService {
11
11
  this.collectionClass = Collection;
12
12
  this.disabledMethods = ['postBatch', 'putBatch'];
13
13
  }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DocumentService, providedIn: 'root' }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DocumentService, providedIn: 'root' }); }
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DocumentService, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DocumentService, decorators: [{
18
18
  type: Injectable,
19
19
  args: [{
20
20
  providedIn: 'root'
21
21
  }]
22
22
  }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL2RvY3VtZW50L2RvY3VtZW50LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUzQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUFjLFdBQVcsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUNsRCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBS2xELE1BQU0sT0FBTyxlQUFnQixTQUFRLFdBQStEO0lBSHBHOztRQUlFLGdCQUFXLEdBQUcsa0JBQWtCLENBQUM7UUFDakMsZUFBVSxHQUFvQixRQUFRLENBQUM7UUFDdkMsb0JBQWUsR0FBc0IsVUFBVSxDQUFDO1FBQ2hELG9CQUFlLEdBQWlCLENBQUMsV0FBVyxFQUFFLFVBQVUsQ0FBQyxDQUFDO0tBQzNEOzhHQUxZLGVBQWU7a0hBQWYsZUFBZSxjQUZkLE1BQU07OzJGQUVQLGVBQWU7a0JBSDNCLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0Y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cblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgRG9jdW1lbnRTZXJ2aWNlIGV4dGVuZHMgUmVzdFNlcnZpY2U8Rm9sZGVyRG9jdW1lbnRCYXNlLCBEb2N1bWVudCwgQ29sbGVjdGlvbjxEb2N1bWVudD4+IHtcbiAgZW5kcG9pbnRVcmkgPSAnZm9sZGVyLWRvY3VtZW50cyc7XG4gIG1vZGVsQ2xhc3M6IHR5cGVvZiBEb2N1bWVudCA9IERvY3VtZW50O1xuICBjb2xsZWN0aW9uQ2xhc3M6IHR5cGVvZiBDb2xsZWN0aW9uID0gQ29sbGVjdGlvbjtcbiAgZGlzYWJsZWRNZXRob2RzOiBSZXN0TWV0aG9kW10gPSBbJ3Bvc3RCYXRjaCcsICdwdXRCYXRjaCddO1xufVxuIl19
@@ -72,16 +72,16 @@ export class FacebookService {
72
72
  });
73
73
  });
74
74
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: i2.ToastService }, { token: i3.JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
76
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FacebookService, providedIn: 'root' }); }
75
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: i2.ToastService }, { token: i3.JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
76
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacebookService, providedIn: 'root' }); }
77
77
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FacebookService, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacebookService, decorators: [{
79
79
  type: Injectable,
80
80
  args: [{
81
81
  providedIn: 'root'
82
82
  }]
83
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.ToastService }, { type: i3.JwtService }, { type: i4.Router }, { type: undefined, decorators: [{
83
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.ToastService }, { type: i3.JwtService }, { type: i4.Router }, { type: undefined, decorators: [{
84
84
  type: Inject,
85
85
  args: ['environment']
86
- }] }] });
87
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFjZWJvb2suc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL2ZhY2Vib29rL2ZhY2Vib29rLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbkQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7Ozs7O0FBV3ZDLE1BQU0sc0JBQXNCLEdBQUcscUVBQXFFLENBQUM7QUFLckcsTUFBTSxPQUFPLGVBQWU7YUFHbkIsZ0JBQVcsR0FBd0I7UUFDeEMsS0FBSyxFQUFFLHVCQUF1QjtRQUM5QixTQUFTLEVBQUUsV0FBVztRQUN0QixhQUFhLEVBQUUsSUFBSTtLQUNwQixBQUppQixDQUlqQjtJQUVEOztPQUVHO0lBQ0gsWUFDVSxJQUFnQixFQUNoQixZQUEwQixFQUMxQixVQUFzQixFQUN0QixNQUFjLEVBQ1MsV0FBZ0I7UUFK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HtcbiAgICAgIEZCLmxvZ291dCgocmVzcG9uc2UpID0+IHtcbiAgICAgICAgcmVzb2x2ZShyZXNwb25zZSk7XG4gICAgICB9KTtcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -27,13 +27,13 @@ export class FileService extends RestService {
27
27
  download(file) {
28
28
  return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
31
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FileService, providedIn: 'root' }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
31
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileService, providedIn: 'root' }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FileService, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileService, decorators: [{
34
34
  type: Injectable,
35
35
  args: [{
36
36
  providedIn: 'root'
37
37
  }]
38
38
  }] });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvZmlsZS9maWxlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFL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hcCgocmVzcG9uc2U6IHN0cmluZykgPT4gcmVzcG9uc2UpKTtcbiAgfVxuXG4gIHVwbG9hZChmaWxlOiBGaWxlKTogT2JzZXJ2YWJsZTxBcHBGaWxlPiB7XG4gICAgY29uc3QgZm9ybURhdGE6IEZvcm1EYXRhID0gbmV3IEZvcm1EYXRhKCk7XG4gICAgZm9ybURhdGEuYXBwZW5kKCdmaWxlJywgZmlsZSk7XG5cbiAgICByZXR1cm4gdGhpcy5odHRwLnBvc3QodGhpcy5hcGlVcmwsIGZvcm1EYXRhKS5waXBlKFxuICAgICAgbWFwKChmaWxlQmFzZTogRmlsZUJhc2UpID0+IHBsYWluVG9DbGFzcyhBcHBGaWxlLCBmaWxlQmFzZSkpXG4gICAgKTtcbiAgfVxuXG4gIGRvd25sb2FkKGZpbGU6IEFwcEZpbGUpIHtcbiAgICByZXR1cm4gdGhpcy5odHRwLmdldChgJHt0aGlzLmFwaVVybH0vJHtmaWxlLmlkfS9kb3dubG9hZGAsIHsgcmVzcG9uc2VUeXBlOiAnYmxvYicgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -7,9 +7,9 @@ export var ClientInviteMessages;
7
7
  ClientInviteMessages["SEND_INVITE_MESSAGES_TITLE"] = "TaxTank support is here to help";
8
8
  ClientInviteMessages["SEND_INVITE_MESSAGES_DESCRIPTION"] = "Before inviting TaxTank support be sure to check out our help articles and message our support team.";
9
9
  ClientInviteMessages["TT_ACCOUNTANT_INVITED"] = "Accountant invitation has been sent successfully";
10
- ClientInviteMessages["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.";
10
+ ClientInviteMessages["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 :)";
11
11
  ClientInviteMessages["CONFIRM_REJECT"] = "Are you sure you want to reject this invitation?";
12
12
  ClientInviteMessages["REJECTED"] = "Invitation rejected";
13
13
  ClientInviteMessages["ACCEPTED"] = "Client invitation accepted";
14
14
  })(ClientInviteMessages || (ClientInviteMessages = {}));
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LWludml0ZS1tZXNzYWdlcy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvZmlybS9jbGllbnQtaW52aXRlL2NsaWVudC1pbnZpdGUtbWVzc2FnZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxvQkFlWDtBQWZELFdBQVksb0JBQW9CO0lBQzlCLDRGQUFvRSxDQUFBO0lBQ3BFLHFGQUE2RCxDQUFBO0lBQzdELDZGQUFxRSxDQUFBO0lBQ3JFLDZEQUFxQyxDQUFBO0lBQ3JDLHNGQUE4RCxDQUFBO0lBQzlELGlLQUF5SSxDQUFBO0lBQ3pJLGtHQUEwRSxDQUFBO0lBQzFFLGdpQkFHeUgsQ0FBQTtJQUN6SCwyRkFBbUUsQ0FBQTtJQUNuRSx3REFBZ0MsQ0FBQTtJQUNoQywrREFBdUMsQ0FBQTtBQUN6QyxDQUFDLEVBZlcsb0JBQ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CB0byByZWplY3QgdGhpcyBpbnZpdGF0aW9uPycsXG4gIFJFSkVDVEVEID0gJ0ludml0YXRpb24gcmVqZWN0ZWQnLFxuICBBQ0NFUFRFRCA9ICdDbGllbnQgaW52aXRhdGlvbiBhY2NlcHRlZCdcbn1cbiJdfQ==
@@ -10,7 +10,7 @@ export class ClientInviteService extends RestService {
10
10
  constructor(environment) {
11
11
  super(environment);
12
12
  this.environment = environment;
13
- this.endpointUri = 'clients/invites';
13
+ this.endpointUri = 'client-invites';
14
14
  this.collectionClass = ClientInviteCollection;
15
15
  this.modelClass = ClientInvite;
16
16
  this.mercureTopic = 'clientInvites';
@@ -20,9 +20,6 @@ export class ClientInviteService extends RestService {
20
20
  // @TODO remove when TT-3826 is ready
21
21
  this.listenSSE();
22
22
  }
23
- getFirmInvites() {
24
- return super.get(`${this.apiUrl}/all`);
25
- }
26
23
  /**
27
24
  * Get invite which employee is TaxTank Advisor
28
25
  * @TODO move to collection? but we need to inject enviroment
@@ -63,7 +60,7 @@ export class ClientInviteService extends RestService {
63
60
  */
64
61
  resend(invite) {
65
62
  // cant use parent method because of custom specific handler
66
- return this.http.post(`${this.apiUrl}/${invite.id}/resend`, null)
63
+ return this.http.put(`${this.apiUrl}/${invite.id}/resend`, {})
67
64
  .pipe(map((inviteBase) => {
68
65
  const resentInvite = plainToClass(ClientInvite, inviteBase);
69
66
  this.handleResponse([resentInvite], 'put');
@@ -74,7 +71,7 @@ export class ClientInviteService extends RestService {
74
71
  * Send invitation from client to firm
75
72
  */
76
73
  inviteFirmByUser(invite) {
77
- return super.post(invite, `${this.environment.apiV2}/firms/invite`)
74
+ return super.post(invite, `${this.environment.apiV2}/firm-invites`)
78
75
  .pipe(catchError((error) => {
79
76
  if (error.error.email) {
80
77
  this.toastService.error(error.error.email[0]);
@@ -85,16 +82,16 @@ export class ClientInviteService extends RestService {
85
82
  return throwError(error);
86
83
  }));
87
84
  }
88
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ClientInviteService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
89
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ClientInviteService, providedIn: 'root' }); }
85
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClientInviteService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
86
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClientInviteService, providedIn: 'root' }); }
90
87
  }
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ClientInviteService, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClientInviteService, decorators: [{
92
89
  type: Injectable,
93
90
  args: [{
94
91
  providedIn: 'root'
95
92
  }]
96
- }], ctorParameters: () => [{ type: undefined, decorators: [{
93
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
97
94
  type: Inject,
98
95
  args: ['environment']
99
- }] }] });
100
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LWludml0ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvZmlybS9jbGllbnQtaW52aXRlL2NsaWVudC1pbnZpdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQWMsVUFBVS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lOiBDbGllbnRJbnZpdGVCYXNlKSA9PiB7XG4gICAgICAgICAgY29uc3QgcmVzZW50SW52aXRlID0gcGxhaW5Ub0NsYXNzKENsaWVudEludml0ZSwgaW52aXRlQmFzZSk7XG4gICAgICAgICAgdGhpcy5oYW5kbGVSZXNwb25zZShbcmVzZW50SW52aXRlXSwgJ3B1dCcpO1xuXG4gICAgICAgICAgcmV0dXJuIHJlc2VudEludml0ZTtcbiAgICAgICAgfSksXG4gICAgICApO1xuICB9XG5cbiAgLyoqXG4gICAqIFNlbmQgaW52aXRhdGlvbiBmcm9tIGNsaWVudCB0byBmaXJtXG4gICAqL1xuICBpbnZpdGVGaXJtQnlVc2VyKGludml0ZTogQ2xpZW50SW52aXRlKTogT2JzZXJ2YWJsZTxDbGllbnRJbnZpdGU+IHtcbiAgICByZXR1cm4gc3VwZXIucG9zdChpbnZpdGUsIGAke3RoaXMuZW52aXJvbm1lbnQuYXBpVjJ9L2Zpcm0taW52aXRlc2ApXG4gICAgICAucGlwZShcbiAgICAgICAgY2F0Y2hFcnJvcigoZXJyb3I6IEh0dHBFcnJvclJlc3BvbnNlKSA9PiB7XG4gICAgICAgICAgaWYgKGVycm9yLmVycm9yLmVtYWlsKSB7XG4gICAgICAgICAgICB0aGlzLnRvYXN0U2VydmljZS5lcnJvcihlcnJvci5lcnJvci5lbWFpbFswXSk7XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRoaXMudG9hc3RTZXJ2aWNlLmVycm9yKGVycm9yLmVycm9yKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnJvcik7XG4gICAgICAgIH0pXG4gICAgICApO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export var ClientMovementMessagesEnum;
2
+ (function (ClientMovementMessagesEnum) {
3
+ ClientMovementMessagesEnum["CREATED"] = "Client accepted";
4
+ ClientMovementMessagesEnum["UPDATED"] = "Client transferred";
5
+ ClientMovementMessagesEnum["DELETED"] = "Client deleted";
6
+ ClientMovementMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete this client?";
7
+ })(ClientMovementMessagesEnum || (ClientMovementMessagesEnum = {}));
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LW1vdmVtZW50LW1lc3NhZ2VzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9maXJtL2NsaWVudC1tb3ZlbWVudC9jbGllbnQtbW92ZW1lbnQtbWVzc2FnZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSwwQkFLWDtBQUxELFdBQVksMEJBQTBCO0lBQ3BDLHlEQUEyQixDQUFBO0lBQzNCLDREQUE4QixDQUFBO0lBQzlCLHdEQUEwQixDQUFBO0lBQzFCLDZGQUErRCxDQUFBO0FBQ2pFLENBQUMsRUFMVywwQkFBMEIsS0FBMUIsMEJBQTBCLFFBS3JDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gQ2xpZW50TW92ZW1lbnRNZXNzYWdlc0VudW0ge1xuICBDUkVBVEVEID0gJ0NsaWVudCBhY2NlcHRlZCcsXG4gIFVQREFURUQgPSAnQ2xpZW50IHRyYW5zZmVycmVkJyxcbiAgREVMRVRFRCA9ICdDbGllbnQgZGVsZXRlZCcsXG4gIENPTkZJUk1fREVMRVRFID0gJ0FyZSB5b3Ugc3VyZSB5b3Ugd2FudCB0byBkZWxldGUgdGhpcyBjbGllbnQ/J1xufVxuIl19
@@ -38,6 +38,7 @@ export class ClientMovementService extends RestService {
38
38
  return this.getActive().pipe(map((clientMovements) => clientMovements.getByFirmType(type)));
39
39
  }
40
40
  /**
41
+ * @TODO use simple put when backend refactored (inner movements shouldn't create a new movement)
41
42
  * Method is using for transfer client between employees.
42
43
  * On backend we close passed movement and create a new one instead
43
44
  */
@@ -46,7 +47,7 @@ export class ClientMovementService extends RestService {
46
47
  return super.post(plainToClass(ClientMovement, Object.assign({}, movement, { id: null }))).pipe(map((updatedMovement) => {
47
48
  // remove provided movement from cache
48
49
  // this.cache = this.cache.filter((item: ClientMovement) => item.id !== movement.id);
49
- // this.updateCache([updatedMovement], 'post');
50
+ this.updateCache([updatedMovement], 'post');
50
51
  this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.CLIENT_TRANSFER_TO_OTHER_EMPLOYEE, [updatedMovement.client]));
51
52
  return updatedMovement;
52
53
  }));
@@ -72,16 +73,16 @@ export class ClientMovementService extends RestService {
72
73
  // this.updateCache([clientMovement], 'delete');
73
74
  }));
74
75
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ClientMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
76
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ClientMovementService, providedIn: 'root' }); }
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClientMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
77
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClientMovementService, providedIn: 'root' }); }
77
78
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ClientMovementService, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ClientMovementService, decorators: [{
79
80
  type: Injectable,
80
81
  args: [{
81
82
  providedIn: 'root'
82
83
  }]
83
- }], ctorParameters: () => [{ type: undefined, decorators: [{
84
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
84
85
  type: Inject,
85
86
  args: ['environment']
86
- }] }] });
87
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LW1vdmVtZW50LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9maXJtL2NsaWVudC1tb3ZlbWVudC9jbGllbnQtbW92ZW1lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVuRCxPQUFPLEVBQWMsUUFBUSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyQyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUVuRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDakQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUN6QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQzlDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDOztBQU90RCxNQUFNLE9BQU8scUJBQXNCLFNBQVEsV0FBeUU7SUFPbEgsWUFBNkMsV0FBZ0I7UUFDM0QsS0FBSyxDQUFDLFdBQVcsQ0FBQyxDQUFDO1FBRHd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oZS5maWx0ZXIoKG1vdmVtZW50OiBDbGllbnRNb3ZlbWVudCk6IGJvb2xlYW4gPT4gbW92ZW1lbnQuaWQgIT09IGNsaWVudE1vdmVtZW50LmlkKTtcbiAgICAgICAgICAvLyB0aGlzLnVwZGF0ZUNhY2hlKFtjbGllbnRNb3ZlbWVudF0sICdkZWxldGUnKTtcbiAgICAgICAgfSlcbiAgICAgICk7XG4gIH1cbn1cbiJdfQ==
@@ -1,2 +1,3 @@
1
1
  export * from './client-movement.service';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9maXJtL2NsaWVudC1tb3ZlbWVudC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jbGllbnQtbW92ZW1lbnQuc2VydmljZSc7XG4iXX0=
2
+ export * from './client-movement-messages.enum';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9maXJtL2NsaWVudC1tb3ZlbWVudC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsaUNBQWlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NsaWVudC1tb3ZlbWVudC5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vY2xpZW50LW1vdmVtZW50LW1lc3NhZ2VzLmVudW0nO1xuIl19
@@ -9,5 +9,6 @@ export var EmployeeMessagesEnum;
9
9
  EmployeeMessagesEnum["ACTIVATED"] = "Employee account activated";
10
10
  EmployeeMessagesEnum["DEACTIVATED"] = "Employee account deactivated";
11
11
  EmployeeMessagesEnum["DEACTIVATE_ERROR"] = "All clients must be transferred prior to removing an accountant";
12
+ EmployeeMessagesEnum["UPDATED"] = "Employee account updated";
12
13
  })(EmployeeMessagesEnum || (EmployeeMessagesEnum = {}));
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wbG95ZWUtbWVzc2FnZXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL2Zpcm0vZW1wbG95ZWUvZW1wbG95ZWUtbWVzc2FnZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxvQkFVWDtBQVZELFdBQVksb0JBQW9CO0lBQzlCLGlFQUF5QyxDQUFBO0lBQ3pDLHFFQUE2QyxDQUFBO0lBQzdDLDBGQUFrRSxDQUFBO0lBQ2xFLHdHQUFnRixDQUFBO0lBQ2hGLHdHQUFnRixDQUFBO0lBQ2hGLG9HQUE0RSxDQUFBO0lBQzVFLGdFQUF3QyxDQUFBO0lBQ3hDLG9FQUE0QyxDQUFBO0lBQzVDLDRHQUFvRixDQUFBO0FBQ3RGLENBQUMsRUFWVyxvQkFBb0IsS0FBcEIsb0JBQW9CLFFBVS9CIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRW1wbG95ZWVNZXNzYWdlc0VudW0ge1xuICBST0xFX0dSQU5URUQgPSAnTW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VkJyxcbiAgREVBQ1RJVkFURUQgPSAnRW1wbG95ZWUgYWNjb3VudCBkZWFjdGl2YXRlZCcsXG4gIERFQUNUSVZBVEVfRVJST1IgPSAnQWxsIGNsaWVudHMgbXVzdCBiZSB0cmFuc2ZlcnJlZCBwcmlvciB0byByZW1vdmluZyBhbiBhY2NvdW50YW50JyxcbiAgVVBEQVRFRCA9ICdFbXBsb3llZSBhY2NvdW50IHVwZGF0ZWQnLFxufVxuIl19
@@ -1,10 +1,10 @@
1
1
  import { Injectable } from '@angular/core';
2
2
  import { RestService } from '../../rest';
3
3
  import { catchError } from 'rxjs/operators';
4
- import { User } from '../../../../models';
5
4
  import { throwError as observableThrowError } from 'rxjs';
5
+ import { User } from '../../../../models';
6
6
  import { EmployeeMessagesEnum } from './employee-messages.enum';
7
- import { Collection } from '../../../../collections';
7
+ import { EmployeeCollection } from '../../../../collections';
8
8
  import { UserRolesEnum } from 'taxtank-core/common';
9
9
  import * as i0 from "@angular/core";
10
10
  export class EmployeeService extends RestService {
@@ -12,10 +12,10 @@ export class EmployeeService extends RestService {
12
12
  super(...arguments);
13
13
  this.endpointUri = 'employees';
14
14
  this.modelClass = User;
15
- this.collectionClass = (Collection);
15
+ this.collectionClass = EmployeeCollection;
16
16
  this.disabledMethods = ['postBatch', 'putBatch'];
17
17
  this.messages = EmployeeMessagesEnum;
18
- this.roles = [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.FIRM_OWNER];
18
+ this.roles = [UserRolesEnum.FIRM_MANAGER, UserRolesEnum.FIRM_TOP_MANAGER, UserRolesEnum.FIRM_OWNER];
19
19
  }
20
20
  activateEmployee(employee) {
21
21
  return super.put(employee, `${this.environment.apiV2}/${this.endpointUri}/${employee.id}/activate`);
@@ -30,13 +30,19 @@ export class EmployeeService extends RestService {
30
30
  return observableThrowError(error);
31
31
  }));
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
34
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmployeeService, providedIn: 'root' }); }
33
+ toggleManagerRole(employee) {
34
+ const role = UserRolesEnum.FIRM_MANAGER;
35
+ const index = employee.roles.indexOf(role);
36
+ index === -1 ? employee.roles.push(role) : employee.roles.splice(index, 1);
37
+ return super.put(employee, `${this.environment.apiV2}/${this.endpointUri}/${employee.id}`);
38
+ }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
40
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EmployeeService, providedIn: 'root' }); }
35
41
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmployeeService, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EmployeeService, decorators: [{
37
43
  type: Injectable,
38
44
  args: [{
39
45
  providedIn: 'root'
40
46
  }]
41
47
  }] });
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wbG95ZWUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL2Zpcm0vZW1wbG95ZWUvZW1wbG95ZWUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBYyxXQUFXLEVBQUUsTUFBTS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