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
@@ -11,6 +11,7 @@ import * as i0 from "@angular/core";
11
11
  * Service for work with Property
12
12
  */
13
13
  export class PropertyService extends RestService {
14
+ // roles = [UserRolesEnum.PROPERTY_TANK];
14
15
  constructor(environment) {
15
16
  super(environment);
16
17
  this.environment = environment;
@@ -72,16 +73,16 @@ export class PropertyService extends RestService {
72
73
  this.updateCache([deactivatedProperty], 'put');
73
74
  }));
74
75
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: PropertyService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
76
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: PropertyService, providedIn: 'root' }); }
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PropertyService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
77
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PropertyService, providedIn: 'root' }); }
77
78
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: PropertyService, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PropertyService, 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3Byb3BlcnR5L3Byb3BlcnR5LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFNbkQsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQ0wsUUFBUSxFQUNSLGdCQUFnQixFQUNoQixRQUFRLEVBQUUsd0JBQXdCLEVBQ2xDLFlBQVksRUFDWixhQUFhLEVBQ2Isb0JBQW9CLEVBQ3BCLGlCQUFpQixFQUNsQixNQUFNLGlCQUFpQixDQUFDO0FBRXpCLE9BQU8sRUFBYyxXQUFXLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDbEQsT0FBTyxFQUFFLGtCQUFrQixFQUFFL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cblxuICAgICAgICAgIHRoaXMudXBkYXRlQ2FjaGUoW2FjdGl2YXRlZFByb3BlcnR5XSwgJ3B1dCcpO1xuICAgICAgICB9KVxuICAgICAgKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBAVE9ETyBtb3ZlIHRvIHNlcGFyYXRlZCBhcGlcbiAgICogRGVhY3RpdmF0ZSBhY3RpdmF0ZWQgcHJvcGVydHlcbiAgICovXG4gIGRlYWN0aXZhdGUocHJvcGVydHk6IFByb3BlcnR5KTogT2JzZXJ2YWJsZTx2b2lkPiB7XG4gICAgcmV0dXJuIHRoaXMuaHR0cC5kZWxldGUoYCR7dGhpcy5lbnZpcm9ubWVudC5hcGlWMn0vcHJvcGVydHktc3Vic2NyaXB0aW9ucy8ke3Byb3BlcnR5LmdldEN1cnJlbnRTdWJzY3JpcHRpb24oKS5pZH1gKVxuICAgICAgLnBpcGUoXG4gICAgICAgIG1hcCgoKSA9PiB7XG4gICAgICAgICAgY29uc3QgZGVhY3RpdmF0ZWRQcm9wZXJ0eTogUHJvcGVydHkgPSBwbGFpblRvQ2xhc3MoUHJvcGVydHksIE9iamVjdC5hc3NpZ24oe30sIHByb3BlcnR5LCB7IHN1YnNjcmlwdGlvbnM6IFtdIH0pKTtcblxuICAgICAgICAgIHRoaXMudXBkYXRlQ2FjaGUoW2RlYWN0aXZhdGVkUHJvcGVydHldLCAncHV0Jyk7XG4gICAgICAgIH0pXG4gICAgICApO1xuICB9XG59XG4iXX0=
@@ -225,16 +225,16 @@ export class RestService {
225
225
  createModelInstance(model) {
226
226
  return plainToClass(this.modelClass, model);
227
227
  }
228
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
229
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RestService, providedIn: 'root' }); }
228
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
229
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RestService, providedIn: 'root' }); }
230
230
  }
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RestService, decorators: [{
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RestService, decorators: [{
232
232
  type: Injectable,
233
233
  args: [{
234
234
  providedIn: 'root'
235
235
  }]
236
- }], ctorParameters: () => [{ type: undefined, decorators: [{
236
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
237
237
  type: Inject,
238
238
  args: ['environment']
239
- }] }] });
240
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC1vbGQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3Jlc3QvcmVzdC1vbGQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUFjLGFBQWEsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNqRCxPQUFPLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzVDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc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pKSk7XG4gIH1cblxuICAvKipcbiAgICogQFRPRE8gdXNlIGV4Y2x1ZGVFeHRyYW5lb3VzVmFsdWVzIHdoZW4gYWxsIG1vZGVscyByZWZhY3RvcmVkIChleHBvc2VkIGFsbCBuZWVkZWQgcHJvcGVydGllcylcbiAgICogQ3JlYXRlIG5ldyBpbnN0YW5jZSBvZiBjbGFzc1xuICAgKiBAcGFyYW0gbW9kZWwgaW5zdGFuY2UgdGhhdCB3ZSB3aWxsIHVzZSBhcyBjb25zdHJ1Y3RvciBvcHRpb25zXG4gICAqL1xuICBwcm90ZWN0ZWQgY3JlYXRlTW9kZWxJbnN0YW5jZShtb2RlbDogQmFzZU1vZGVsIHwgb2JqZWN0KTogTW9kZWwge1xuICAgIHJldHVybiBwbGFpblRvQ2xhc3ModGhpcy5tb2RlbENsYXNzLCBtb2RlbCk7XG4gIH1cbn1cbiJdfQ==
@@ -39,6 +39,11 @@ export class RestService extends DataService {
39
39
  this.toastService = inject(ToastService);
40
40
  this.http = inject(HttpClient);
41
41
  this.eventDispatcherService = inject(EventDispatcherService);
42
+ /**
43
+ * adds new entities to the beginning when true
44
+ * @TODO make true by default when all services refactored
45
+ */
46
+ this.orderByDesc = false;
42
47
  this.roles = [];
43
48
  }
44
49
  get apiUrl() {
@@ -201,7 +206,7 @@ export class RestService extends DataService {
201
206
  let cache;
202
207
  switch (method) {
203
208
  case 'post':
204
- cache = this.cache.push(...items);
209
+ cache = this.orderByDesc ? this.cache.unshift(...items) : this.cache.push(...items);
205
210
  break;
206
211
  case 'put':
207
212
  // @TODO Alex old instance
@@ -281,16 +286,16 @@ export class RestService extends DataService {
281
286
  this.handleResponse([change.model], change.method);
282
287
  });
283
288
  }
284
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
285
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RestService, providedIn: 'root' }); }
289
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
290
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RestService, providedIn: 'root' }); }
286
291
  }
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RestService, decorators: [{
292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RestService, decorators: [{
288
293
  type: Injectable,
289
294
  args: [{
290
295
  providedIn: 'root'
291
296
  }]
292
- }], ctorParameters: () => [{ type: undefined, decorators: [{
297
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
293
298
  type: Inject,
294
299
  args: ['environment']
295
- }] }] });
296
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvcmVzdC9yZXN0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNELE9BQU8sRUFBYyxhQUFhLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDakQsT0FBTyxFQUFFLEtBQUssRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM1QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDbEQ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h0dHAucHV0KHBhdGgsIGNsYXNzVG9QbGFpbihtb2RlbCkpXG4gICAgICAucGlwZShcbiAgICAgICAgbWFwKChyZXNwb25zZTogb2JqZWN0KSA9PiB7XG4gICAgICAgICAgY29uc3QgcmVzdWx0OiBNb2RlbCA9IHRoaXMuY3JlYXRlTW9kZWxJbnN0YW5jZShyZXNwb25zZSk7XG4gICAgICAgICAgaWYgKCF0aGlzLm1lcmN1cmVUb3BpYykge1xuICAgICAgICAgICAgdGhpcy5oYW5kbGVSZXNwb25zZShbcmVzdWx0XSwgJ3B1dCcpO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIHJldHVybiByZXN1bHQ7XG4gICAgICAgIH0pXG4gICAgICApO1xuICB9XG5cbiAgLyoqXG4gICAqIENoYW5nZSBtdWx0aXBsZSBleGlzdGluZyBNb2RlbCBpbnN0YW5jZXMgaW4gZGF0YWJhc2VcbiAgICovXG4gIHB1dEJhdGNoKG1vZGVsczogTW9kZWxbXSk6IE9ic2VydmFibGU8TW9kZWxbXT4ge1xuICAgIHRoaXMuaGFuZGxlQWNjZXNzRXJyb3IoJ3B1dEJhdGNoJyk7XG5cbiAgICByZXR1cm4gdGhpcy5odHRwLnB1dCh0aGlzLmFwaVVybCwgY2xhc3NUb1BsYWluKG1vZGVscykpXG4gICAgICAucGlwZShcbiAgICAgICAgbWFwKChyZXNwb25zZTogb2JqZWN0W10pID0+IHtcbiAgICAgICAgICBjb25zdCByZXN1bHQ6IE1vZGVsW10gPSByZXNwb25zZS5tYXAoKGl0ZW06IG9iamVjdCk6IE1vZGVsID0+IHRoaXMuY3JlYXRlTW9kZWxJbnN0YW5jZShpdGVtKSk7XG4gICAgICAgICAgaWYgKCF0aGlzLm1lcmN1cmVUb3BpYykge1xuICAgICAgICAgICAgdGhpcy5oYW5kbGVSZXNwb25zZShyZXN1bHQsICdwdXQnKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgICAgICB9KVxuICAgIC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nBpcGUoXG4gICAgICBtYXAoKHJlc3BvbnNlOiBvYmplY3QpID0+IHtcbiAgICAgICAgbGV0IG1vZGVsID0gdGhpcy5jcmVhdGVNb2RlbEluc3RhbmNlKHJlc3BvbnNlKTtcbiAgICAgICAgbGV0IG1ldGhvZDogSHR0cE1ldGhvZDtcbiAgICAgICAgaWYgKG1vZGVsLmlkKSB7XG4gICAgICAgICAgbWV0aG9kID0gdGhpcy5oYXNJbkNhY2hlKG1vZGVsLmlkKSA/ICdwdXQnIDogJ3Bvc3QnO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIG1ldGhvZCA9ICdkZWxldGUnO1xuICAgICAgICAgIC8vIHdlIGdvdCBlbXB0eSBib2R5IHdoZW4gaXRlbSBkZWxldGVkLCBzbyB3ZSBzaG91bGQgZ2V0IGlkIGZyb20gQXBpIFBsYXRmb3JtIGRhdGEgKEBpZClcbiAgICAgICAgICBtb2RlbCA9IG1lcmdlKG1vZGVsLCB7IGlkOiArbGFzdChtb2RlbFsnQGlkJ10uc3BsaXQoJy8nKSkgfSk7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4geyBtZXRob2QsIG1vZGVsIH07XG4gICAgICB9KVxuICAgICkuc3Vic2NyaWJlKChjaGFuZ2UpID0+IHtcbiAgICAgIHRoaXMuaGFuZGxlUmVzcG9uc2UoW2NoYW5nZS5tb2RlbF0sIGNoYW5nZS5tZXRob2QpXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -57,16 +57,16 @@ export class ServiceNotificationService extends RestService {
57
57
  this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.NOTIFICATION_ADDED, notification));
58
58
  });
59
59
  }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.EventDispatcherService }, { token: 'environment' }, { token: i2.ToastService }, { token: i1.SseService }], target: i0.ɵɵFactoryTarget.Injectable }); }
61
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' }); }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.EventDispatcherService }, { token: 'environment' }, { token: i2.ToastService }, { token: i1.SseService }], target: i0.ɵɵFactoryTarget.Injectable }); }
61
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ServiceNotificationService, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServiceNotificationService, decorators: [{
64
64
  type: Injectable,
65
65
  args: [{
66
66
  providedIn: 'root'
67
67
  }]
68
- }], ctorParameters: () => [{ type: i1.EventDispatcherService }, { type: undefined, decorators: [{
68
+ }], ctorParameters: function () { return [{ type: i1.EventDispatcherService }, { type: undefined, decorators: [{
69
69
  type: Inject,
70
70
  args: ['environment']
71
- }] }, { type: i2.ToastService }, { type: i1.SseService }] });
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1ub3RpZmljYXRpb24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3NlcnZpY2Utbm90aWZpY2F0aW9uL3NlcnZpY2Utbm90aWZpY2F0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQ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WNhdGlvbiB3aGVuIHVzZXIgbWFudWFsbHkgY2xvc2VkIHRvYXN0XG4gICAgICAgICAgb25DbG9zZUNsaWNrOiAoKSA9PiB7XG4gICAgICAgICAgICBub3RpZmljYXRpb24uaXNSZWFkID0gdHJ1ZTtcbiAgICAgICAgICAgIHRoaXMudXBkYXRlKG5vdGlmaWNhdGlvbikuc3Vic2NyaWJlKCk7XG4gICAgICAgICAgfVxuICAgICAgICB9KSlcbiAgICAgIH1cbiAgICAgIHRoaXMuY2FjaGUgPSBjYWNoZTtcbiAgICAgIHRoaXMuY2FjaGVTdWJqZWN0Lm5leHQodGhpcy5jYWNoZSk7XG4gICAgICAvLyBAVE9ETyBUVC0yMjgwIEFsZXggd3JvbmcgZXZlbnQsIGl0J3MgdXBkYXRlZCwgYWRkZWQgb3IgZGVsZXRlZC4gTm90IGp1c3QgYWRkZWRcbiAgICAgIHRoaXMuZXZlbnREaXNwYXRjaGVyU2VydmljZS5kaXNwYXRjaChuZXcgQXBwRXZlbnQoQXBwRXZlbnRUeXBlRW51bS5OT1RJRklDQVRJT05fQURERUQsIG5vdGlmaWNhdGlvbikpO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
71
+ }] }, { type: i2.ToastService }, { type: i1.SseService }]; } });
72
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1ub3RpZmljYXRpb24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3NlcnZpY2Utbm90aWZpY2F0aW9uL3NlcnZpY2Utbm90aWZpY2F0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUF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udWFsbHkgY2xvc2VkIHRvYXN0XG4gICAgICAgICAgb25DbG9zZUNsaWNrOiAoKSA9PiB7XG4gICAgICAgICAgICBub3RpZmljYXRpb24uaXNSZWFkID0gdHJ1ZTtcbiAgICAgICAgICAgIHRoaXMudXBkYXRlKG5vdGlmaWNhdGlvbikuc3Vic2NyaWJlKCk7XG4gICAgICAgICAgfVxuICAgICAgICB9KSlcbiAgICAgIH1cbiAgICAgIHRoaXMuY2FjaGUgPSBjYWNoZTtcbiAgICAgIHRoaXMuY2FjaGVTdWJqZWN0Lm5leHQodGhpcy5jYWNoZSk7XG4gICAgICAvLyBAVE9ETyBUVC0yMjgwIEFsZXggd3JvbmcgZXZlbnQsIGl0J3MgdXBkYXRlZCwgYWRkZWQgb3IgZGVsZXRlZC4gTm90IGp1c3QgYWRkZWRcbiAgICAgIHRoaXMuZXZlbnREaXNwYXRjaGVyU2VydmljZS5kaXNwYXRjaChuZXcgQXBwRXZlbnQoQXBwRXZlbnRUeXBlRW51bS5OT1RJRklDQVRJT05fQURERUQsIG5vdGlmaWNhdGlvbikpO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -11,13 +11,13 @@ export class SetupItemService extends RestService {
11
11
  this.collectionClass = AccountSetupItemCollection;
12
12
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
13
13
  }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SetupItemService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SetupItemService, providedIn: 'root' }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SetupItemService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SetupItemService, providedIn: 'root' }); }
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SetupItemService, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SetupItemService, decorators: [{
18
18
  type: Injectable,
19
19
  args: [{
20
20
  providedIn: 'root'
21
21
  }]
22
22
  }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dXAtaXRlbS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvc2V0dXAtaXRlbS9zZXR1cC1pdGVtLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUVsRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQztBQUNwRixPQUFPLEVBQWMsV0FBVyxFQUFFLE1BQU0sU0FBUyxDQUFDOztBQUtsRCxNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsV0FBb0U7SUFIMUc7O1FBSVksZ0JBQVcsR0FBRyxhQUFhLENBQUM7UUFDdEMsZUFBVSxHQUE0QixnQkFBZ0IsQ0FBQztRQUN2RCxvQkFBZSxHQUFzQywwQkFBMEIsQ0FBQztRQUNoRixvQkFBZSxHQUFpQixDQUFDLE1BQU0sRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsYUFBYSxDQUFDLENBQ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bn1cbiJdfQ==
@@ -0,0 +1,8 @@
1
+ export var BasReportMessagesEnum;
2
+ (function (BasReportMessagesEnum) {
3
+ BasReportMessagesEnum["CREATED"] = "Your bas report has been saved";
4
+ BasReportMessagesEnum["UPDATED"] = "Your bas report has been updated";
5
+ BasReportMessagesEnum["DELETED"] = "Your bas report has been deleted";
6
+ BasReportMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete this BAS report?";
7
+ })(BasReportMessagesEnum || (BasReportMessagesEnum = {}));
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzLXJlcG9ydC1tZXNzYWdlcy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvc29sZS9iYXMtcmVwb3J0L2Jhcy1yZXBvcnQtbWVzc2FnZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxxQkFLWDtBQUxELFdBQVkscUJBQXFCO0lBQy9CLG1FQUEwQyxDQUFBO0lBQzFDLHFFQUE0QyxDQUFBO0lBQzVDLHFFQUE0QyxDQUFBO0lBQzVDLDRGQUFtRSxDQUFBO0FBQ3JFLENBQUMsRUFMVyxxQkFBcUIsS0FBckIscUJBQXFCLFFBS2hDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gQmFzUmVwb3J0TWVzc2FnZXNFbnVtIHtcbiAgQ1JFQVRFRCA9ICdZb3VyIGJhcyByZXBvcnQgaGFzIGJlZW4gc2F2ZWQnLFxuICBVUERBVEVEID0gJ1lvdXIgYmFzIHJlcG9ydCBoYXMgYmVlbiB1cGRhdGVkJyxcbiAgREVMRVRFRCA9ICdZb3VyIGJhcyByZXBvcnQgaGFzIGJlZW4gZGVsZXRlZCcsXG4gIENPTkZJUk1fREVMRVRFID0gJ0FyZSB5b3Ugc3VyZSB5b3Ugd2FudCB0byBkZWxldGUgdGhpcyBCQVMgcmVwb3J0Pydcbn1cbiJdfQ==
@@ -8,13 +8,13 @@ export class BasReportService extends RestService {
8
8
  this.modelClass = BasReport;
9
9
  this.url = 'bas-reports';
10
10
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BasReportService, providedIn: 'root' }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BasReportService, providedIn: 'root' }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BasReportService, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BasReportService, decorators: [{
15
15
  type: Injectable,
16
16
  args: [{
17
17
  providedIn: 'root'
18
18
  }]
19
19
  }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzLXJlcG9ydC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvc29sZS9iYXMtcmVwb3J0L2Jhcy1yZXBvcnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQ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tb2RlbHMnO1xuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290J1xufSlcbmV4cG9ydCBjbGFzcyBCYXNSZXBvcnRTZXJ2aWNlIGV4dGVuZHMgUmVzdFNlcnZpY2U8QmFzUmVwb3J0QmFzZSwgQmFzUmVwb3J0PntcbiAgbW9kZWxDbGFzczogdHlwZW9mIEJhc1JlcG9ydCA9IEJhc1JlcG9ydDtcbiAgdXJsID0gJ2Jhcy1yZXBvcnRzJztcbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './bas-report-messages.enum';
2
+ export * from './bas-report.service';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9zb2xlL2Jhcy1yZXBvcnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9iYXMtcmVwb3J0LW1lc3NhZ2VzLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9iYXMtcmVwb3J0LnNlcnZpY2UnO1xuIl19
@@ -7,5 +7,5 @@ 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';
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8u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nO1xuZXhwb3J0ICogZnJvbSAnLi9zb2xlLWJ1c2luZXNzLWxvc3Mvc29sZS1idXNpbmVzcy1sb3NzLXJ1bGVzL3NvbGUtYnVzaW5lc3MtbG9zcy1vZmZzZXQtcnVsZS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vc29sZS1jb250YWN0L3NvbGUtY29udGFjdC5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vc29sZS1kZXByZWNpYXRpb24tbWV0aG9kL3NvbGUtZGVwcmVjaWF0aW9uLW1ldGhvZC5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vc29sZS1kZXRhaWxzL3NvbGUtZGV0YWlscy5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vc29sZS1pbnZvaWNlL3NvbGUtaW52b2ljZS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vc29sZS1pbnZvaWNlLXRlbXBsYXRlL3NvbGUtaW52b2ljZS10ZW1wbGF0ZS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vYmFzLXJlcG9ydCc7XG4iXX0=
@@ -1,28 +1,24 @@
1
1
  import { Injectable } from '@angular/core';
2
- import { RestService } from '../../rest/rest-old.service';
2
+ import { RestService } from '../../rest';
3
3
  import { SoleBusiness } from '../../../../models';
4
- import { map } from 'rxjs/operators';
5
- import { AppEvent, AppEventTypeEnum } from '../../../../models';
4
+ import { Collection } from '../../../../collections';
5
+ import { UserRolesEnum } from 'taxtank-core/common';
6
6
  import * as i0 from "@angular/core";
7
7
  export class SoleBusinessService extends RestService {
8
8
  constructor() {
9
9
  super(...arguments);
10
10
  this.modelClass = SoleBusiness;
11
- this.url = 'sole-businesses';
11
+ this.collectionClass = Collection;
12
+ this.endpointUri = 'sole-businesses';
13
+ this.roles = [UserRolesEnum.SOLE_TANK];
12
14
  }
13
- add(soleBusiness) {
14
- return super.add(soleBusiness).pipe(map((business) => {
15
- this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.SOLE_BUSINESS_CREATED, business));
16
- return business;
17
- }));
18
- }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
20
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SoleBusinessService, providedIn: 'root' }); }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SoleBusinessService, providedIn: 'root' }); }
21
17
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SoleBusinessService, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SoleBusinessService, decorators: [{
23
19
  type: Injectable,
24
20
  args: [{
25
21
  providedIn: 'root'
26
22
  }]
27
23
  }] });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvc29sZS9zb2xlLWJ1c2luZXNzL3NvbGUtYnVzaW5lc3Muc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2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eyBTb2xlQnVzaW5lc3MgYXMgU29sZUJ1c2luZXNzQmFzZSB9IGZyb20gJy4uLy4uLy4uLy4uL2RiL01vZGVscy9zb2xlL3NvbGUtYnVzaW5lc3MnO1xuaW1wb3J0IHsgU29sZUJ1c2luZXNzIH0gZnJvbSAnLi4vLi4vLi4vLi4vbW9kZWxzJztcbmltcG9ydCB7IENvbGxlY3Rpb24gfSBmcm9tICcuLi8uLi8uLi8uLi9jb2xsZWN0aW9ucyc7XG5pbXBvcnQgeyBVc2VyUm9sZXNFbnVtIH0gZnJvbSAndGF4dGFuay1jb3JlL2NvbW1vbic7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIFNvbGVCdXNpbmVzc1NlcnZpY2UgZXh0ZW5kcyBSZXN0U2VydmljZTxTb2xlQnVzaW5lc3NCYXNlLCBTb2xlQnVzaW5lc3MsIENvbGxlY3Rpb248U29sZUJ1c2luZXNzPj4ge1xuICBtb2RlbENsYXNzOiB0eXBlb2YgU29sZUJ1c2luZXNzID0gU29sZUJ1c2luZXNzO1xuICBjb2xsZWN0aW9uQ2xhc3M6IHR5cGVvZiBDb2xsZWN0aW9uID0gQ29sbGVjdGlvbjtcbiAgZW5kcG9pbnRVcmkgPSAnc29sZS1idXNpbmVzc2VzJztcbiAgcm9sZXMgPSBbVXNlclJvbGVzRW51bS5TT0xFX1RBTktdO1xufVxuIl19
@@ -8,13 +8,13 @@ export class SoleBusinessActivityService extends RestService {
8
8
  this.modelClass = SoleBusinessActivity;
9
9
  this.url = 'sole-business-activities';
10
10
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
15
15
  type: Injectable,
16
16
  args: [{
17
17
  providedIn: 'root'
18
18
  }]
19
19
  }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy1hY3Rpdml0eS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvc29sZS9zb2xlLWJ1c2luZXNzLWFjdGl2aXR5L3NvbGUtYnVzaW5lc3MtYWN0aXZpdHkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUUxRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFLMUQsTUFBTSxPQUFPLDJCQUE0QixTQUFRLFdBQTJEO0lBSDVHOztRQUlFLGVBQVUsR0FBZ0Msb0JBQW9CLENBQUM7UUFDL0QsUUFBRyxHQUF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