taxtank-core 0.28.107 → 0.28.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (770) hide show
  1. package/bundles/taxtank-core.umd.js +1008 -966
  2. package/bundles/taxtank-core.umd.js.map +1 -1
  3. package/esm2015/lib/collections/chart-accounts.collection.js +2 -2
  4. package/esm2015/lib/collections/depreciation.collection.js +2 -2
  5. package/esm2015/lib/collections/transaction/transaction.collection.js +3 -3
  6. package/esm2015/lib/db/Enums/{chart-accounts-category.enum.js → chart-accounts/chart-accounts-category.enum.js} +1 -1
  7. package/esm2015/lib/db/Enums/{chart-accounts-etp.enum.js → chart-accounts/chart-accounts-etp.enum.js} +1 -1
  8. package/esm2015/lib/db/Enums/{chart-accounts-heading-list.enum.js → chart-accounts/chart-accounts-heading-list.enum.js} +1 -1
  9. package/esm2015/lib/db/Enums/{chart-accounts-heading-tax-deductible.enum.js → chart-accounts/chart-accounts-heading-tax-deductible.enum.js} +1 -1
  10. package/esm2015/lib/db/Enums/{chart-accounts-heading-taxable.enum.js → chart-accounts/chart-accounts-heading-taxable.enum.js} +1 -1
  11. package/esm2015/lib/db/Enums/{chart-accounts-heading-vehicle-list.enum.js → chart-accounts/chart-accounts-heading-vehicle-list.enum.js} +1 -1
  12. package/esm2015/lib/db/Enums/{chart-accounts-list.enum.js → chart-accounts/chart-accounts-list.enum.js} +1 -1
  13. package/esm2015/lib/db/Enums/{chart-accounts-metadata-list.enum.js → chart-accounts/chart-accounts-metadata-list.enum.js} +1 -1
  14. package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-metadata-type.enum.js +6 -0
  15. package/esm2015/lib/db/Enums/{chart-accounts-salary-adjustments-list.enum.js → chart-accounts/chart-accounts-salary-adjustments-list.enum.js} +1 -1
  16. package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.js +14 -0
  17. package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-type.enum.js +6 -0
  18. package/esm2015/lib/db/Enums/chart-accounts/index.js +13 -0
  19. package/esm2015/lib/db/Enums/index.js +2 -2
  20. package/esm2015/lib/db/Models/chart-accounts/chart-accounts-metadata.js +1 -1
  21. package/esm2015/lib/db/Models/chart-accounts/chart-accounts.js +1 -1
  22. package/esm2015/lib/db/Models/transaction/transaction-base.js +2 -3
  23. package/esm2015/lib/forms/transaction/transaction-base.form.js +2 -2
  24. package/esm2015/lib/forms/transaction/transaction.form.js +52 -4
  25. package/esm2015/lib/forms/transaction/work-income.form.js +27 -38
  26. package/esm2015/lib/interceptors/basiq-client-id.interceptor.js +3 -3
  27. package/esm2015/lib/interceptors/basiq-token.interceptor.js +3 -3
  28. package/esm2015/lib/interceptors/corelogic-interceptor.js +3 -3
  29. package/esm2015/lib/interceptors/financial-year-interceptor.js +3 -3
  30. package/esm2015/lib/interceptors/interceptors.module.js +4 -4
  31. package/esm2015/lib/interceptors/jwt-interceptor.js +3 -3
  32. package/esm2015/lib/interceptors/preloader.interceptor.js +3 -3
  33. package/esm2015/lib/interceptors/user-switcher-interceptor.js +3 -3
  34. package/esm2015/lib/models/chart-accounts/chart-accounts-categories.const.js +2 -2
  35. package/esm2015/lib/models/chart-accounts/chart-accounts-category.e-collection.js +2 -2
  36. package/esm2015/lib/models/chart-accounts/chart-accounts-metadata.js +2 -2
  37. package/esm2015/lib/models/chart-accounts/chart-accounts.js +9 -8
  38. package/esm2015/lib/models/depreciation/depreciation.js +5 -6
  39. package/esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.js +2 -2
  40. package/esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.js +2 -4
  41. package/esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.js +2 -4
  42. package/esm2015/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.js +2 -3
  43. package/esm2015/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.js +3 -3
  44. package/esm2015/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.js +2 -3
  45. package/esm2015/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.js +2 -4
  46. package/esm2015/lib/models/report/my-tax/my-tax-interest/my-tax-interest.js +2 -2
  47. package/esm2015/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.js +2 -4
  48. package/esm2015/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.js +2 -4
  49. package/esm2015/lib/models/report/my-tax/my-tax-rent/my-tax-rent.js +2 -2
  50. package/esm2015/lib/models/report/property/property-report-item.js +2 -2
  51. package/esm2015/lib/models/transaction/transaction-metadata.js +2 -2
  52. package/esm2015/lib/models/transaction/transaction.js +3 -4
  53. package/esm2015/lib/models/vehicle/vehicle-claim.js +2 -2
  54. package/esm2015/lib/services/account-setup/account-setup.service.js +3 -3
  55. package/esm2015/lib/services/affiliate/rewardful/rewardful.service.js +3 -3
  56. package/esm2015/lib/services/asset/assets.service.js +3 -3
  57. package/esm2015/lib/services/auth/auth.service.js +3 -3
  58. package/esm2015/lib/services/auth/jwt.service.js +3 -3
  59. package/esm2015/lib/services/bank/bank-account-calculation.service.js +3 -3
  60. package/esm2015/lib/services/bank/bank-transaction-calculation.service.js +3 -3
  61. package/esm2015/lib/services/event/event-dispatcher.service.js +3 -3
  62. package/esm2015/lib/services/event/sse.service.js +3 -3
  63. package/esm2015/lib/services/export/export-formatter.service.js +3 -3
  64. package/esm2015/lib/services/header-title/header-title.service.js +3 -3
  65. package/esm2015/lib/services/http/address/address.service.js +3 -3
  66. package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +3 -3
  67. package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +3 -3
  68. package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +3 -3
  69. package/esm2015/lib/services/http/bank/bank.service.js +9 -13
  70. package/esm2015/lib/services/http/bank/basiq/basiq-token.service.js +3 -3
  71. package/esm2015/lib/services/http/bank/basiq/basiq.service.js +3 -3
  72. package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +5 -5
  73. package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +5 -7
  74. package/esm2015/lib/services/http/chat/chat.service.js +3 -3
  75. package/esm2015/lib/services/http/chat/message/message.service.js +3 -3
  76. package/esm2015/lib/services/http/chat/message-document/message-document.service.js +3 -3
  77. package/esm2015/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js +3 -3
  78. package/esm2015/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.js +3 -3
  79. package/esm2015/lib/services/http/depreciation/depreciation.service.js +3 -3
  80. package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +3 -3
  81. package/esm2015/lib/services/http/document/document.service.js +3 -3
  82. package/esm2015/lib/services/http/facebook/facebook.service.js +3 -3
  83. package/esm2015/lib/services/http/firm/client-income/client-income-types.service.js +3 -3
  84. package/esm2015/lib/services/http/firm/client-invite/client-invite.service.js +3 -3
  85. package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +3 -3
  86. package/esm2015/lib/services/http/firm/employee/employee.service.js +3 -3
  87. package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +3 -3
  88. package/esm2015/lib/services/http/firm/firm.service.js +3 -3
  89. package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +3 -3
  90. package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +3 -3
  91. package/esm2015/lib/services/http/income-source/income-source.service.js +3 -3
  92. package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +3 -3
  93. package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +3 -3
  94. package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +3 -3
  95. package/esm2015/lib/services/http/loan/loan.service.js +3 -3
  96. package/esm2015/lib/services/http/property/property-category/property-category.service.js +3 -3
  97. package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +3 -3
  98. package/esm2015/lib/services/http/property/property-document/property-document.service.js +3 -3
  99. package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +3 -3
  100. package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +3 -3
  101. package/esm2015/lib/services/http/property/property-share/property-share.service.js +3 -3
  102. package/esm2015/lib/services/http/property/property.service.js +3 -3
  103. package/esm2015/lib/services/http/receipt/receipt.service.js +3 -3
  104. package/esm2015/lib/services/http/rest/rest-old.service.js +3 -3
  105. package/esm2015/lib/services/http/rest/rest.service.js +3 -3
  106. package/esm2015/lib/services/http/service-notification/service-notification.service.js +3 -3
  107. package/esm2015/lib/services/http/sole/bas-report/bas-report.service.js +3 -3
  108. package/esm2015/lib/services/http/sole/sole-business/sole-business.service.js +3 -3
  109. package/esm2015/lib/services/http/sole/sole-business-activity/sole-business-activity.service.js +3 -3
  110. package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.js +3 -3
  111. package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss.service.js +3 -3
  112. package/esm2015/lib/services/http/sole/sole-contact/sole-contact.service.js +3 -3
  113. package/esm2015/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.js +3 -3
  114. package/esm2015/lib/services/http/sole/sole-details/sole-details.service.js +3 -3
  115. package/esm2015/lib/services/http/sole/sole-invoice/sole-invoice.service.js +3 -3
  116. package/esm2015/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.js +3 -3
  117. package/esm2015/lib/services/http/subscription/service-price.service.js +3 -3
  118. package/esm2015/lib/services/http/subscription/subscription.service.js +3 -3
  119. package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +3 -3
  120. package/esm2015/lib/services/http/tax-review/tax-review.service.js +3 -3
  121. package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +3 -3
  122. package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +3 -3
  123. package/esm2015/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.js +3 -3
  124. package/esm2015/lib/services/http/transaction/transaction.service.js +8 -8
  125. package/esm2015/lib/services/http/tutorial-video/tutorial-video.service.js +3 -3
  126. package/esm2015/lib/services/http/user/occupation/occupation.service.js +3 -3
  127. package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +3 -3
  128. package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +3 -3
  129. package/esm2015/lib/services/http/user/user.service.js +3 -3
  130. package/esm2015/lib/services/http/user/users-invite/users-invite.service.js +3 -3
  131. package/esm2015/lib/services/http/vehicle/vehicle-claim-details.service.js +3 -3
  132. package/esm2015/lib/services/http/vehicle/vehicle-claim.service.js +3 -3
  133. package/esm2015/lib/services/http/vehicle/vehicle-logbook.service.js +3 -3
  134. package/esm2015/lib/services/http/vehicle/vehicle.service.js +3 -3
  135. package/esm2015/lib/services/intercom/intercom.service.js +3 -3
  136. package/esm2015/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.js +3 -3
  137. package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.js +3 -3
  138. package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.js +3 -3
  139. package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-table.service.js +3 -3
  140. package/esm2015/lib/services/preloader/preloader.service.js +3 -3
  141. package/esm2015/lib/services/property/corelogic/corelogic.service.js +3 -3
  142. package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +3 -3
  143. package/esm2015/lib/services/property/property-calculation/property-calculation.service.js +3 -3
  144. package/esm2015/lib/services/report/property/property-transaction-report.service.js +9 -12
  145. package/esm2015/lib/services/toast/toast.service.js +3 -3
  146. package/esm2015/lib/services/transaction/transaction-calculation.service.js +3 -3
  147. package/esm2015/lib/services/user/user-switcher.service.js +3 -3
  148. package/esm2015/lib/services/vehicle/logbook-best-period.service.js +3 -3
  149. package/esm2015/lib/services/xlsx/xlsx.service.js +3 -3
  150. package/esm2015/lib/tt-core.module.js +4 -4
  151. package/esm2015/public-api.js +12 -12
  152. package/fesm2015/taxtank-core.js +974 -925
  153. package/fesm2015/taxtank-core.js.map +1 -1
  154. package/lib/collections/account-setup-item.collection.d.ts.map +1 -0
  155. package/lib/collections/bank-account.collection.d.ts.map +1 -0
  156. package/lib/collections/bank-transaction.collection.d.ts.map +1 -0
  157. package/lib/collections/chart-accounts.collection.d.ts +1 -1
  158. package/lib/collections/chart-accounts.collection.d.ts.map +1 -0
  159. package/lib/collections/chat.collection.d.ts.map +1 -0
  160. package/lib/collections/client-invite.collection.d.ts.map +1 -0
  161. package/lib/collections/client-movement.collection.d.ts.map +1 -0
  162. package/lib/collections/client-portfolio-report.collection.d.ts.map +1 -0
  163. package/lib/collections/client.collection.d.ts.map +1 -0
  164. package/lib/collections/collection-dictionary.d.ts.map +1 -0
  165. package/lib/collections/collection.d.ts.map +1 -0
  166. package/lib/collections/depreciation-forecast.collection.d.ts.map +1 -0
  167. package/lib/collections/depreciation.collection.d.ts +2 -2
  168. package/lib/collections/depreciation.collection.d.ts.map +1 -0
  169. package/lib/collections/employee.collection.d.ts.map +1 -0
  170. package/lib/collections/exportable.collection.d.ts.map +1 -0
  171. package/lib/collections/income-source.collection.d.ts.map +1 -0
  172. package/lib/collections/index.d.ts.map +1 -0
  173. package/lib/collections/loan/loan-payment.collection.d.ts.map +1 -0
  174. package/lib/collections/loan/loan.collection.d.ts.map +1 -0
  175. package/lib/collections/message-document.collection.d.ts.map +1 -0
  176. package/lib/collections/message.collection.d.ts.map +1 -0
  177. package/lib/collections/property/index.d.ts.map +1 -0
  178. package/lib/collections/property/property-category-movement.collection.d.ts.map +1 -0
  179. package/lib/collections/property/property.collection.d.ts.map +1 -0
  180. package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts.map +1 -0
  181. package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts.map +1 -0
  182. package/lib/collections/report/property/property-report-item-transaction.collection.d.ts.map +1 -0
  183. package/lib/collections/report/property/property-report-item.collection.d.ts.map +1 -0
  184. package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts.map +1 -0
  185. package/lib/collections/sole/index.d.ts.map +1 -0
  186. package/lib/collections/sole/sole-business-losses.collection.d.ts.map +1 -0
  187. package/lib/collections/sole/sole-invoice-item.collection.d.ts.map +1 -0
  188. package/lib/collections/sole/sole-invoice.collection.d.ts.map +1 -0
  189. package/lib/collections/subscription/service-subscription.collection.d.ts.map +1 -0
  190. package/lib/collections/tax-review.collection.d.ts.map +1 -0
  191. package/lib/collections/tax-summary/report-item.collection.d.ts.map +1 -0
  192. package/lib/collections/tax-summary/tax-return-categories.const.d.ts.map +1 -0
  193. package/lib/collections/transaction/index.d.ts.map +1 -0
  194. package/lib/collections/transaction/transaction-allocation.collection.d.ts.map +1 -0
  195. package/lib/collections/transaction/transaction-base.collection.d.ts.map +1 -0
  196. package/lib/collections/transaction/transaction.collection.d.ts +2 -4
  197. package/lib/collections/transaction/transaction.collection.d.ts.map +1 -0
  198. package/lib/collections/user-event-setting.collection.d.ts.map +1 -0
  199. package/lib/collections/vehicle/index.d.ts.map +1 -0
  200. package/lib/collections/vehicle/vehicle-claim.collection.d.ts.map +1 -0
  201. package/lib/collections/vehicle/vehicle-logbook.collection.d.ts.map +1 -0
  202. package/lib/db/Enums/{chart-accounts-category.enum.d.ts → chart-accounts/chart-accounts-category.enum.d.ts} +0 -0
  203. package/lib/db/Enums/{chart-accounts-etp.enum.d.ts → chart-accounts/chart-accounts-etp.enum.d.ts} +0 -0
  204. package/lib/db/Enums/{chart-accounts-heading-list.enum.d.ts → chart-accounts/chart-accounts-heading-list.enum.d.ts} +0 -0
  205. package/lib/db/Enums/{chart-accounts-heading-tax-deductible.enum.d.ts → chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts} +0 -0
  206. package/lib/db/Enums/{chart-accounts-heading-taxable.enum.d.ts → chart-accounts/chart-accounts-heading-taxable.enum.d.ts} +0 -0
  207. package/lib/db/Enums/{chart-accounts-heading-vehicle-list.enum.d.ts → chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts} +0 -0
  208. package/lib/db/Enums/{chart-accounts-list.enum.d.ts → chart-accounts/chart-accounts-list.enum.d.ts} +0 -0
  209. package/lib/db/Enums/{chart-accounts-metadata-list.enum.d.ts → chart-accounts/chart-accounts-metadata-list.enum.d.ts} +0 -0
  210. package/lib/db/Enums/{chart-accounts-metadata-type.enum.d.ts → chart-accounts/chart-accounts-metadata-type.enum.d.ts} +0 -0
  211. package/lib/db/Enums/{chart-accounts-salary-adjustments-list.enum.d.ts → chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts} +0 -0
  212. package/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.d.ts +12 -0
  213. package/lib/db/Enums/{chart-accounts-type.enum.d.ts → chart-accounts/chart-accounts-type.enum.d.ts} +0 -0
  214. package/lib/db/Enums/chart-accounts/index.d.ts +12 -0
  215. package/lib/db/Enums/chat-status.enum.d.ts.map +1 -0
  216. package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts.map +1 -0
  217. package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts.map +1 -0
  218. package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts.map +1 -0
  219. package/lib/db/Enums/client-invite-status.enum.d.ts.map +1 -0
  220. package/lib/db/Enums/client-invite-type.enum.d.ts.map +1 -0
  221. package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts.map +1 -0
  222. package/lib/db/Enums/depreciation-calculation.enum.d.ts.map +1 -0
  223. package/lib/db/Enums/depreciation-type.enum.d.ts.map +1 -0
  224. package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts.map +1 -0
  225. package/lib/db/Enums/firm-type.enum.d.ts.map +1 -0
  226. package/lib/db/Enums/income-source-type-list-other.enum.d.ts.map +1 -0
  227. package/lib/db/Enums/income-source-type-list-sole.enum.d.ts.map +1 -0
  228. package/lib/db/Enums/income-source-type-list-work.enum.d.ts.map +1 -0
  229. package/lib/db/Enums/index.d.ts +1 -1
  230. package/lib/db/Enums/invite-status.enum.d.ts.map +1 -0
  231. package/lib/db/Enums/loan-bank-type.enum.d.ts.map +1 -0
  232. package/lib/db/Enums/loan-frequency.enum.d.ts.map +1 -0
  233. package/lib/db/Enums/phone-type.enum.d.ts.map +1 -0
  234. package/lib/db/Enums/service-notification-status.enum.d.ts.map +1 -0
  235. package/lib/db/Enums/service-notification-type.enum.d.ts.map +1 -0
  236. package/lib/db/Enums/sole-depreciation-method.enum.d.ts.map +1 -0
  237. package/lib/db/Enums/sole-invoice-statuses.enum.d.ts.map +1 -0
  238. package/lib/db/Enums/sole-invoice-tax-type.enum.d.ts.map +1 -0
  239. package/lib/db/Enums/sole-invoice-template-tax-type.enum.d.ts.map +1 -0
  240. package/lib/db/Enums/spare-document-spare-type.enum.d.ts.map +1 -0
  241. package/lib/db/Enums/tank-type.enum.d.ts.map +1 -0
  242. package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts.map +1 -0
  243. package/lib/db/Enums/tax-calculation-type.enum.d.ts.map +1 -0
  244. package/lib/db/Enums/tax-return-category-list.enum.d.ts.map +1 -0
  245. package/lib/db/Enums/tax-return-category-section.enum.d.ts.map +1 -0
  246. package/lib/db/Enums/tax-review-status.enum.d.ts.map +1 -0
  247. package/lib/db/Enums/tax-summary-list.enum.d.ts.map +1 -0
  248. package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts.map +1 -0
  249. package/lib/db/Enums/ticket-feedback.enum.d.ts.map +1 -0
  250. package/lib/db/Enums/ticket-status.enum.d.ts.map +1 -0
  251. package/lib/db/Enums/ticket-types.enum.d.ts.map +1 -0
  252. package/lib/db/Enums/user-event-status.enum.d.ts.map +1 -0
  253. package/lib/db/Enums/user-event-type-client-type.enum.d.ts.map +1 -0
  254. package/lib/db/Enums/user-event-type-employee-type.enum.d.ts.map +1 -0
  255. package/lib/db/Enums/user-event-type-frequency.enum.d.ts.map +1 -0
  256. package/lib/db/Enums/user-event-type-type.enum.d.ts.map +1 -0
  257. package/lib/db/Enums/user-event-type-user-type.enum.d.ts.map +1 -0
  258. package/lib/db/Enums/user-medicare-exemption.enum.d.ts.map +1 -0
  259. package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts.map +1 -0
  260. package/lib/db/Enums/user-working-holiday-maker.enum.d.ts.map +1 -0
  261. package/lib/db/Enums/vehicle-claim-details-method.enum.d.ts.map +1 -0
  262. package/lib/db/Enums/vehicle-logbook-purpose.enum.d.ts.map +1 -0
  263. package/lib/db/Models/chart-accounts/chart-accounts-metadata.d.ts +1 -2
  264. package/lib/db/Models/chart-accounts/chart-accounts.d.ts +1 -2
  265. package/lib/db/Models/firm/client-invite.d.ts.map +1 -0
  266. package/lib/db/Models/firm/employee-invite.d.ts.map +1 -0
  267. package/lib/db/Models/observable-model.d.ts.map +1 -0
  268. package/lib/db/Models/phone.d.ts.map +1 -0
  269. package/lib/db/Models/service-notification.d.ts.map +1 -0
  270. package/lib/forms/abstract.form.d.ts.map +1 -0
  271. package/lib/forms/address/address.form.d.ts.map +1 -0
  272. package/lib/forms/address/index.d.ts.map +1 -0
  273. package/lib/forms/bank/bank-account/bank-account-add-manual.form.d.ts.map +1 -0
  274. package/lib/forms/bank/bank-account/bank-account-allocation.form.d.ts.map +1 -0
  275. package/lib/forms/bank/bank-account/bank-account-import.form.d.ts.map +1 -0
  276. package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts.map +1 -0
  277. package/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts.map +1 -0
  278. package/lib/forms/bank/bank-login.form.d.ts.map +1 -0
  279. package/lib/forms/client/client-income-types.form.d.ts.map +1 -0
  280. package/lib/forms/depreciation/depreciation.form.d.ts.map +1 -0
  281. package/lib/forms/depreciation/index.d.ts.map +1 -0
  282. package/lib/forms/form-validations.enum.d.ts.map +1 -0
  283. package/lib/forms/index.d.ts.map +1 -0
  284. package/lib/forms/loan/index.d.ts.map +1 -0
  285. package/lib/forms/loan/loan.form.d.ts.map +1 -0
  286. package/lib/forms/login/login.form.d.ts.map +1 -0
  287. package/lib/forms/phone/index.d.ts.map +1 -0
  288. package/lib/forms/phone/phone.form.d.ts.map +1 -0
  289. package/lib/forms/property/index.d.ts.map +1 -0
  290. package/lib/forms/property/property-sale/index.d.ts.map +1 -0
  291. package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts.map +1 -0
  292. package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts.map +1 -0
  293. package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts.map +1 -0
  294. package/lib/forms/register/register-client.form.d.ts.map +1 -0
  295. package/lib/forms/register/register-firm.form.d.ts.map +1 -0
  296. package/lib/forms/report/my-tax/index.d.ts.map +1 -0
  297. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts.map +1 -0
  298. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts.map +1 -0
  299. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts.map +1 -0
  300. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts.map +1 -0
  301. package/lib/forms/report/my-tax/my-tax-cgt.form.d.ts.map +1 -0
  302. package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts.map +1 -0
  303. package/lib/forms/report/my-tax/my-tax-dividends.form.d.ts.map +1 -0
  304. package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts.map +1 -0
  305. package/lib/forms/report/my-tax/my-tax-income-tests.form.d.ts.map +1 -0
  306. package/lib/forms/report/my-tax/my-tax-interest.form.d.ts.map +1 -0
  307. package/lib/forms/report/my-tax/my-tax-losses.form.d.ts.map +1 -0
  308. package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts.map +1 -0
  309. package/lib/forms/report/my-tax/my-tax-offsets.form.d.ts.map +1 -0
  310. package/lib/forms/report/my-tax/my-tax-other-income.form.d.ts.map +1 -0
  311. package/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts.map +1 -0
  312. package/lib/forms/report/my-tax/my-tax-rent.form.d.ts.map +1 -0
  313. package/lib/forms/sole/bas-report.form.d.ts.map +1 -0
  314. package/lib/forms/sole/index.d.ts.map +1 -0
  315. package/lib/forms/sole/sole-business-allocations.form.d.ts.map +1 -0
  316. package/lib/forms/sole/sole-business-loss.form.d.ts.map +1 -0
  317. package/lib/forms/sole/sole-business.form.d.ts.map +1 -0
  318. package/lib/forms/sole/sole-contact.form.d.ts.map +1 -0
  319. package/lib/forms/sole/sole-depreciation-method.form.d.ts.map +1 -0
  320. package/lib/forms/sole/sole-details.form.d.ts.map +1 -0
  321. package/lib/forms/sole/sole-invoice-item.form.d.ts.map +1 -0
  322. package/lib/forms/sole/sole-invoice-template.form.d.ts.map +1 -0
  323. package/lib/forms/sole/sole-invoice.form.d.ts.map +1 -0
  324. package/lib/forms/transaction/index.d.ts.map +1 -0
  325. package/lib/forms/transaction/messages.enum.d.ts.map +1 -0
  326. package/lib/forms/transaction/transaction-base.form.d.ts.map +1 -0
  327. package/lib/forms/transaction/transaction.form.d.ts +10 -2
  328. package/lib/forms/transaction/transaction.form.d.ts.map +1 -0
  329. package/lib/forms/transaction/work-income.form.d.ts +10 -5
  330. package/lib/forms/transaction/work-income.form.d.ts.map +1 -0
  331. package/lib/forms/user/index.d.ts.map +1 -0
  332. package/lib/forms/user/password.form.d.ts.map +1 -0
  333. package/lib/forms/user/reset-password.form.d.ts.map +1 -0
  334. package/lib/forms/user/user-invite.form.d.ts.map +1 -0
  335. package/lib/forms/vehicle/index.d.ts.map +1 -0
  336. package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +1 -0
  337. package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +1 -0
  338. package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +1 -0
  339. package/lib/forms/vehicle/vehicle.form.d.ts.map +1 -0
  340. package/lib/functions/array/index.d.ts.map +1 -0
  341. package/lib/functions/array/to-array.d.ts.map +1 -0
  342. package/lib/functions/clone-deep.d.ts.map +1 -0
  343. package/lib/functions/create-date.d.ts.map +1 -0
  344. package/lib/functions/enum-to-list.d.ts.map +1 -0
  345. package/lib/functions/get-doc-icon.d.ts.map +1 -0
  346. package/lib/functions/mat-options-functions.d.ts.map +1 -0
  347. package/lib/functions/mat-sort-options.d.ts.map +1 -0
  348. package/lib/functions/round-to.d.ts.map +1 -0
  349. package/lib/functions/tax-review-filter-predicate.d.ts.map +1 -0
  350. package/lib/interceptors/basiq-client-id.interceptor.d.ts.map +1 -0
  351. package/lib/interceptors/basiq-token.interceptor.d.ts.map +1 -0
  352. package/lib/interceptors/interceptors.module.d.ts.map +1 -0
  353. package/lib/interceptors/jwt-interceptor.d.ts.map +1 -0
  354. package/lib/interceptors/preloader.interceptor.d.ts.map +1 -0
  355. package/lib/interceptors/user-switcher-interceptor.d.ts.map +1 -0
  356. package/lib/interfaces/asset-entity-type.enum.d.ts.map +1 -0
  357. package/lib/interfaces/asset-type.enum.d.ts.map +1 -0
  358. package/lib/interfaces/asset.interface.d.ts.map +1 -0
  359. package/lib/interfaces/auth-tokens.interface.d.ts.map +1 -0
  360. package/lib/interfaces/chart-data.interface.d.ts.map +1 -0
  361. package/lib/interfaces/chart-serie.interface.d.ts.map +1 -0
  362. package/lib/interfaces/event-listener.interface.d.ts.map +1 -0
  363. package/lib/interfaces/expense.interface.d.ts.map +1 -0
  364. package/lib/interfaces/income-source-forecast.interface.d.ts.map +1 -0
  365. package/lib/interfaces/option.interface.d.ts.map +1 -0
  366. package/lib/interfaces/receipt.interface.d.ts.map +1 -0
  367. package/lib/interfaces/table-exportable.interface.d.ts.map +1 -0
  368. package/lib/interfaces/tank.interface.d.ts.map +1 -0
  369. package/lib/interfaces/updatable.interface.d.ts.map +1 -0
  370. package/lib/models/account-setup/account-setup-item.d.ts.map +1 -0
  371. package/lib/models/account-setup/account-setup-items.const.d.ts.map +1 -0
  372. package/lib/models/account-setup/account-setup-items.enum.d.ts.map +1 -0
  373. package/lib/models/badge/badge-color.enum.d.ts.map +1 -0
  374. package/lib/models/badge/badge.d.ts.map +1 -0
  375. package/lib/models/bank/bank-account-chart-data.d.ts.map +1 -0
  376. package/lib/models/bank/bank-account-property.d.ts.map +1 -0
  377. package/lib/models/bank/bank-account-types.const.d.ts.map +1 -0
  378. package/lib/models/bank/bank-account.d.ts.map +1 -0
  379. package/lib/models/bank/bank-connection.d.ts.map +1 -0
  380. package/lib/models/bank/bank-login-data.d.ts.map +1 -0
  381. package/lib/models/bank/bank-transaction-chart-data.d.ts.map +1 -0
  382. package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts.map +1 -0
  383. package/lib/models/bank/bank-transaction.d.ts.map +1 -0
  384. package/lib/models/bank/index.d.ts.map +1 -0
  385. package/lib/models/bank/type-loan.const.d.ts.map +1 -0
  386. package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts.map +1 -0
  387. package/lib/models/borrowing-expense/borrowing-expense.d.ts.map +1 -0
  388. package/lib/models/chart/chart-data.d.ts.map +1 -0
  389. package/lib/models/chart/chart-serie.d.ts.map +1 -0
  390. package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts +1 -1
  391. package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts.map +1 -0
  392. package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts +1 -1
  393. package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts.map +1 -0
  394. package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
  395. package/lib/models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
  396. package/lib/models/chart-accounts/chart-accounts-metadata.d.ts.map +1 -0
  397. package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts.map +1 -0
  398. package/lib/models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
  399. package/lib/models/chart-accounts/chart-accounts.d.ts +5 -1
  400. package/lib/models/chart-accounts/chart-accounts.d.ts.map +1 -0
  401. package/lib/models/chart-accounts/index.d.ts.map +1 -0
  402. package/lib/models/chat/chat-view-type.enum.d.ts.map +1 -0
  403. package/lib/models/chat/chat.d.ts.map +1 -0
  404. package/lib/models/chat/message-document.d.ts.map +1 -0
  405. package/lib/models/chat/message.d.ts.map +1 -0
  406. package/lib/models/client/client-details.d.ts.map +1 -0
  407. package/lib/models/client/client-income-types.d.ts.map +1 -0
  408. package/lib/models/client/client-invite.d.ts.map +1 -0
  409. package/lib/models/client/client-movement.d.ts.map +1 -0
  410. package/lib/models/client/client-portfolio-chart-data.d.ts.map +1 -0
  411. package/lib/models/client/client-portfolio-report.d.ts.map +1 -0
  412. package/lib/models/color/alphabet-colors.enum.d.ts.map +1 -0
  413. package/lib/models/depreciation/depreciation-capital-project.d.ts.map +1 -0
  414. package/lib/models/depreciation/depreciation-forecast.d.ts.map +1 -0
  415. package/lib/models/depreciation/depreciation-group-item.d.ts.map +1 -0
  416. package/lib/models/depreciation/depreciation-group.d.ts.map +1 -0
  417. package/lib/models/depreciation/depreciation-group.enum.d.ts.map +1 -0
  418. package/lib/models/depreciation/depreciation-groups.const.d.ts.map +1 -0
  419. package/lib/models/depreciation/depreciation-receipt.d.ts.map +1 -0
  420. package/lib/models/depreciation/depreciation.d.ts +3 -3
  421. package/lib/models/depreciation/depreciation.d.ts.map +1 -0
  422. package/lib/models/dictionary/dictionary.d.ts.map +1 -0
  423. package/lib/models/document/document-api-url-prefix.enum.d.ts.map +1 -0
  424. package/lib/models/document/document-file-types.const.d.ts.map +1 -0
  425. package/lib/models/document/document-folder.d.ts.map +1 -0
  426. package/lib/models/document/document.d.ts.map +1 -0
  427. package/lib/models/document/index.d.ts.map +1 -0
  428. package/lib/models/employee/employee-details.d.ts.map +1 -0
  429. package/lib/models/employee/employee-invite.d.ts.map +1 -0
  430. package/lib/models/endpoint/endpoint.d.ts.map +1 -0
  431. package/lib/models/endpoint/endpoints.const.d.ts.map +1 -0
  432. package/lib/models/event/app-event-type.enum.d.ts.map +1 -0
  433. package/lib/models/event/app-event.d.ts.map +1 -0
  434. package/lib/models/export/export-cell-type.enum.d.ts.map +1 -0
  435. package/lib/models/export/export-cell.d.ts.map +1 -0
  436. package/lib/models/export/export-data-table.d.ts.map +1 -0
  437. package/lib/models/export/export-format.enum.d.ts.map +1 -0
  438. package/lib/models/export/export-row-data-type.enum.d.ts.map +1 -0
  439. package/lib/models/export/export-row.d.ts.map +1 -0
  440. package/lib/models/file/icons-file.enum.d.ts.map +1 -0
  441. package/lib/models/financial-year/month-name-short.enum.d.ts.map +1 -0
  442. package/lib/models/financial-year/month-number.enum.d.ts.map +1 -0
  443. package/lib/models/financial-year/months.const.d.ts.map +1 -0
  444. package/lib/models/firm/firm.d.ts.map +1 -0
  445. package/lib/models/income-position/income-position.d.ts.map +1 -0
  446. package/lib/models/income-source/income-source-chart-data.d.ts.map +1 -0
  447. package/lib/models/income-source/income-source-forecast.d.ts.map +1 -0
  448. package/lib/models/income-source/income-source-type.d.ts.map +1 -0
  449. package/lib/models/income-source/income-source.d.ts.map +1 -0
  450. package/lib/models/income-source/salary-forecast.d.ts.map +1 -0
  451. package/lib/models/income-source/sole-forecast.d.ts.map +1 -0
  452. package/lib/models/index.d.ts.map +1 -0
  453. package/lib/models/loan/loan-max-number-of-payments.enum.d.ts.map +1 -0
  454. package/lib/models/loan/loan.d.ts.map +1 -0
  455. package/lib/models/notification/notification.d.ts.map +1 -0
  456. package/lib/models/pdf/pdf-orientation.enum.d.ts.map +1 -0
  457. package/lib/models/pdf/pdf-settings.d.ts.map +1 -0
  458. package/lib/models/phone/phone.d.ts.map +1 -0
  459. package/lib/models/property/calculation-form-item.d.ts.map +1 -0
  460. package/lib/models/property/calculation-form-type.enum.d.ts.map +1 -0
  461. package/lib/models/property/capital-costs-itmes.const.d.ts.map +1 -0
  462. package/lib/models/property/property-category-movement.d.ts.map +1 -0
  463. package/lib/models/property/property-category.d.ts.map +1 -0
  464. package/lib/models/property/property-document.d.ts.map +1 -0
  465. package/lib/models/property/property-equity-chart-data.d.ts.map +1 -0
  466. package/lib/models/property/property-equity-chart-item.d.ts.map +1 -0
  467. package/lib/models/property/property-equity-chart-type.enum.d.ts.map +1 -0
  468. package/lib/models/property/property-forecast.d.ts.map +1 -0
  469. package/lib/models/property/property-sale/index.d.ts.map +1 -0
  470. package/lib/models/property/property-sale/property-sale-cost-base.d.ts.map +1 -0
  471. package/lib/models/property/property-sale/tax-exemption-metadata.d.ts.map +1 -0
  472. package/lib/models/property/property-sale/tax-exemption.d.ts.map +1 -0
  473. package/lib/models/property/property-share.d.ts.map +1 -0
  474. package/lib/models/property/property-subscription.d.ts.map +1 -0
  475. package/lib/models/property/property-valuation.d.ts.map +1 -0
  476. package/lib/models/property/property.d.ts.map +1 -0
  477. package/lib/models/property/share-filter-options.enum.d.ts.map +1 -0
  478. package/lib/models/registration-invite/registration-invite.d.ts.map +1 -0
  479. package/lib/models/report/depreciation/index.d.ts.map +1 -0
  480. package/lib/models/report/index.d.ts.map +1 -0
  481. package/lib/models/report/my-tax/ato-links.d.ts.map +1 -0
  482. package/lib/models/report/my-tax/index.d.ts.map +1 -0
  483. package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts.map +1 -0
  484. package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts.map +1 -0
  485. package/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts.map +1 -0
  486. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts.map +1 -0
  487. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts +1 -1
  488. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts.map +1 -0
  489. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts +1 -1
  490. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts.map +1 -0
  491. package/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts.map +1 -0
  492. package/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts.map +1 -0
  493. package/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts.map +1 -0
  494. package/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts.map +1 -0
  495. package/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts.map +1 -0
  496. package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +1 -1
  497. package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts.map +1 -0
  498. package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts +1 -1
  499. package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts.map +1 -0
  500. package/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts.map +1 -0
  501. package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts +1 -1
  502. package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts.map +1 -0
  503. package/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts.map +1 -0
  504. package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts +1 -1
  505. package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts.map +1 -0
  506. package/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts.map +1 -0
  507. package/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts.map +1 -0
  508. package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts +1 -1
  509. package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts.map +1 -0
  510. package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts +1 -1
  511. package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts.map +1 -0
  512. package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts +1 -1
  513. package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts.map +1 -0
  514. package/lib/models/report/property/index.d.ts.map +1 -0
  515. package/lib/models/report/property/property-report-item-depreciation.d.ts.map +1 -0
  516. package/lib/models/report/property/property-report-item-transaction.d.ts.map +1 -0
  517. package/lib/models/report/property/property-report-item.d.ts +1 -1
  518. package/lib/models/report/sole/index.d.ts.map +1 -0
  519. package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts.map +1 -0
  520. package/lib/models/report/vehicle-expense/vehicle-expense.d.ts.map +1 -0
  521. package/lib/models/service-subscription/module-url-list.const.d.ts.map +1 -0
  522. package/lib/models/service-subscription/service-payment.d.ts.map +1 -0
  523. package/lib/models/service-subscription/service-price.d.ts.map +1 -0
  524. package/lib/models/service-subscription/service-product.d.ts.map +1 -0
  525. package/lib/models/service-subscription/service-subscription-item.d.ts.map +1 -0
  526. package/lib/models/service-subscription/service-subscription.d.ts.map +1 -0
  527. package/lib/models/sole/bas-report.d.ts.map +1 -0
  528. package/lib/models/sole/index.d.ts.map +1 -0
  529. package/lib/models/sole/sole-business-activity.d.ts.map +1 -0
  530. package/lib/models/sole/sole-business-allocation.d.ts.map +1 -0
  531. package/lib/models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
  532. package/lib/models/sole/sole-business-loss.d.ts.map +1 -0
  533. package/lib/models/sole/sole-business.d.ts.map +1 -0
  534. package/lib/models/sole/sole-contact.d.ts.map +1 -0
  535. package/lib/models/sole/sole-depreciation-method.d.ts.map +1 -0
  536. package/lib/models/sole/sole-details.d.ts.map +1 -0
  537. package/lib/models/sole/sole-invoice-item.d.ts.map +1 -0
  538. package/lib/models/sole/sole-invoice-template.d.ts.map +1 -0
  539. package/lib/models/sole/sole-invoice.d.ts.map +1 -0
  540. package/lib/models/tax-review/tax-review.d.ts.map +1 -0
  541. package/lib/models/tax-summary/report-item-details.d.ts.map +1 -0
  542. package/lib/models/tax-summary/report-item.d.ts.map +1 -0
  543. package/lib/models/tax-summary/tax-summary-section.d.ts.map +1 -0
  544. package/lib/models/tax-summary/tax-summary-type.enum.d.ts.map +1 -0
  545. package/lib/models/tax-summary/tax-summary.d.ts.map +1 -0
  546. package/lib/models/toast/toast-type.enum.d.ts.map +1 -0
  547. package/lib/models/toast/toast.d.ts.map +1 -0
  548. package/lib/models/transaction/income-amount-type.enum.d.ts.map +1 -0
  549. package/lib/models/transaction/index.d.ts.map +1 -0
  550. package/lib/models/transaction/transaction-allocation.d.ts.map +1 -0
  551. package/lib/models/transaction/transaction-category.enum.d.ts.map +1 -0
  552. package/lib/models/transaction/transaction-metadata.d.ts +1 -1
  553. package/lib/models/transaction/transaction-metadata.d.ts.map +1 -0
  554. package/lib/models/transaction/transaction-receipt.d.ts.map +1 -0
  555. package/lib/models/transaction/transaction.d.ts +1 -2
  556. package/lib/models/transaction/transaction.d.ts.map +1 -0
  557. package/lib/models/user/my-account-history-initiated-by.enum.d.ts.map +1 -0
  558. package/lib/models/user/my-account-history-status.enum.d.ts.map +1 -0
  559. package/lib/models/user/my-account-history-type.enum.d.ts.map +1 -0
  560. package/lib/models/user/my-account-history.d.ts.map +1 -0
  561. package/lib/models/user/occupation.d.ts.map +1 -0
  562. package/lib/models/user/user-roles.const.d.ts.map +1 -0
  563. package/lib/models/user/user-to-register.d.ts.map +1 -0
  564. package/lib/models/user/user-work-position.const.d.ts.map +1 -0
  565. package/lib/models/user/user.d.ts.map +1 -0
  566. package/lib/models/user-event/user-event-setting-field.enum.d.ts.map +1 -0
  567. package/lib/models/user-event/user-event-setting.d.ts.map +1 -0
  568. package/lib/models/user-event/user-event-type-category.d.ts.map +1 -0
  569. package/lib/models/user-event/user-event-type.d.ts.map +1 -0
  570. package/lib/models/vehicle/index.d.ts.map +1 -0
  571. package/lib/models/vehicle/logbook-period.d.ts.map +1 -0
  572. package/lib/models/vehicle/vehicle-claim-details.d.ts.map +1 -0
  573. package/lib/models/vehicle/vehicle-claim.d.ts +1 -1
  574. package/lib/models/vehicle/vehicle-claim.d.ts.map +1 -0
  575. package/lib/models/vehicle/vehicle-logbook.d.ts.map +1 -0
  576. package/lib/models/vehicle/vehicle.d.ts.map +1 -0
  577. package/lib/services/account-setup/account-setup.service.d.ts.map +1 -0
  578. package/lib/services/account-setup/index.d.ts.map +1 -0
  579. package/lib/services/affiliate/index.d.ts.map +1 -0
  580. package/lib/services/affiliate/rewardful/index.d.ts.map +1 -0
  581. package/lib/services/affiliate/rewardful/rewardful.service.d.ts.map +1 -0
  582. package/lib/services/asset/assets.service.d.ts.map +1 -0
  583. package/lib/services/asset/index.d.ts.map +1 -0
  584. package/lib/services/auth/auth.service.d.ts.map +1 -0
  585. package/lib/services/auth/index.d.ts.map +1 -0
  586. package/lib/services/auth/jwt.service.d.ts.map +1 -0
  587. package/lib/services/bank/bank-account-calculation.service.d.ts.map +1 -0
  588. package/lib/services/bank/bank-transaction-calculation.service.d.ts.map +1 -0
  589. package/lib/services/bank/index.d.ts.map +1 -0
  590. package/lib/services/event/event-dispatcher.service.d.ts.map +1 -0
  591. package/lib/services/event/index.d.ts.map +1 -0
  592. package/lib/services/event/sse.service.d.ts.map +1 -0
  593. package/lib/services/export/export-formatter.service.d.ts.map +1 -0
  594. package/lib/services/export/index.d.ts.map +1 -0
  595. package/lib/services/header-title/header-title.service.d.ts.map +1 -0
  596. package/lib/services/header-title/index.d.ts.map +1 -0
  597. package/lib/services/http/address/address.service.d.ts.map +1 -0
  598. package/lib/services/http/address/index.d.ts.map +1 -0
  599. package/lib/services/http/bank/bank-account/bank-account.service.d.ts.map +1 -0
  600. package/lib/services/http/bank/bank-account/index.d.ts.map +1 -0
  601. package/lib/services/http/bank/bank-connection/index.d.ts.map +1 -0
  602. package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts.map +1 -0
  603. package/lib/services/http/bank/bank-transaction/index.d.ts.map +1 -0
  604. package/lib/services/http/bank/bank.service.d.ts +5 -9
  605. package/lib/services/http/bank/bank.service.d.ts.map +1 -0
  606. package/lib/services/http/bank/basiq/index.d.ts.map +1 -0
  607. package/lib/services/http/bank/index.d.ts.map +1 -0
  608. package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +1 -1
  609. package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts.map +1 -0
  610. package/lib/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts.map +1 -0
  611. package/lib/services/http/chart-accounts/chart-accounts.service.d.ts +2 -3
  612. package/lib/services/http/chart-accounts/chart-accounts.service.d.ts.map +1 -0
  613. package/lib/services/http/chart-accounts/index.d.ts.map +1 -0
  614. package/lib/services/http/chat/chat.service.d.ts.map +1 -0
  615. package/lib/services/http/chat/index.d.ts.map +1 -0
  616. package/lib/services/http/chat/message/index.d.ts.map +1 -0
  617. package/lib/services/http/chat/message/message.service.d.ts.map +1 -0
  618. package/lib/services/http/chat/message-document/index.d.ts.map +1 -0
  619. package/lib/services/http/chat/message-document/message-document.service.d.ts.map +1 -0
  620. package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts.map +1 -0
  621. package/lib/services/http/depreciation/depreciation-capital-project/index.d.ts.map +1 -0
  622. package/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.d.ts.map +1 -0
  623. package/lib/services/http/depreciation/depreciation-receipt/index.d.ts.map +1 -0
  624. package/lib/services/http/depreciation/depreciation.service.d.ts.map +1 -0
  625. package/lib/services/http/depreciation/index.d.ts.map +1 -0
  626. package/lib/services/http/document/document-folder/document-folder.service.d.ts.map +1 -0
  627. package/lib/services/http/document/document.service.d.ts.map +1 -0
  628. package/lib/services/http/document/index.d.ts.map +1 -0
  629. package/lib/services/http/facebook/facebook-auth-options.interface.d.ts.map +1 -0
  630. package/lib/services/http/facebook/facebook-auth-response.interface.d.ts.map +1 -0
  631. package/lib/services/http/facebook/facebook-status-response.interface.d.ts.map +1 -0
  632. package/lib/services/http/facebook/facebook.service.d.ts.map +1 -0
  633. package/lib/services/http/facebook/index.d.ts.map +1 -0
  634. package/lib/services/http/firm/client-income/client-income-types.service.d.ts.map +1 -0
  635. package/lib/services/http/firm/client-income/index.d.ts.map +1 -0
  636. package/lib/services/http/firm/client-invite/client-invite.service.d.ts.map +1 -0
  637. package/lib/services/http/firm/client-invite/index.d.ts.map +1 -0
  638. package/lib/services/http/firm/client-movement/client-movement.service.d.ts.map +1 -0
  639. package/lib/services/http/firm/client-movement/index.d.ts.map +1 -0
  640. package/lib/services/http/firm/employee/employee.service.d.ts.map +1 -0
  641. package/lib/services/http/firm/employee/index.d.ts.map +1 -0
  642. package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts.map +1 -0
  643. package/lib/services/http/firm/employee-invite/index.d.ts.map +1 -0
  644. package/lib/services/http/firm/firm.service.d.ts.map +1 -0
  645. package/lib/services/http/firm/index.d.ts.map +1 -0
  646. package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts.map +1 -0
  647. package/lib/services/http/firm/portfolio-report/index.d.ts.map +1 -0
  648. package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts.map +1 -0
  649. package/lib/services/http/income-source/income-source-forecast/index.d.ts.map +1 -0
  650. package/lib/services/http/income-source/income-source.service.d.ts.map +1 -0
  651. package/lib/services/http/income-source/index.d.ts.map +1 -0
  652. package/lib/services/http/income-source/salary-forecast/index.d.ts.map +1 -0
  653. package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts.map +1 -0
  654. package/lib/services/http/income-source/sole-forecast/index.d.ts.map +1 -0
  655. package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts.map +1 -0
  656. package/lib/services/http/index.d.ts.map +1 -0
  657. package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts.map +1 -0
  658. package/lib/services/http/loan/borrowing-expense/index.d.ts.map +1 -0
  659. package/lib/services/http/loan/index.d.ts.map +1 -0
  660. package/lib/services/http/loan/loan.service.d.ts.map +1 -0
  661. package/lib/services/http/property/index.d.ts.map +1 -0
  662. package/lib/services/http/property/property-category/index.d.ts.map +1 -0
  663. package/lib/services/http/property/property-category/property-category.service.d.ts.map +1 -0
  664. package/lib/services/http/property/property-category-movement/index.d.ts.map +1 -0
  665. package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts.map +1 -0
  666. package/lib/services/http/property/property-document/index.d.ts.map +1 -0
  667. package/lib/services/http/property/property-document/property-document.service.d.ts.map +1 -0
  668. package/lib/services/http/property/property-sale/index.d.ts.map +1 -0
  669. package/lib/services/http/property/property-sale/property-sale.service.d.ts.map +1 -0
  670. package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts.map +1 -0
  671. package/lib/services/http/property/property-share/index.d.ts.map +1 -0
  672. package/lib/services/http/property/property-share/property-share.service.d.ts.map +1 -0
  673. package/lib/services/http/property/property.service.d.ts.map +1 -0
  674. package/lib/services/http/receipt/index.d.ts.map +1 -0
  675. package/lib/services/http/receipt/receipt.service.d.ts.map +1 -0
  676. package/lib/services/http/service-notification/index.d.ts.map +1 -0
  677. package/lib/services/http/service-notification/service-notification.service.d.ts.map +1 -0
  678. package/lib/services/http/sole/bas-report/bas-report.service.d.ts.map +1 -0
  679. package/lib/services/http/sole/index.d.ts.map +1 -0
  680. package/lib/services/http/sole/sole-business/messages.enum.d.ts.map +1 -0
  681. package/lib/services/http/sole/sole-business/sole-business.service.d.ts.map +1 -0
  682. package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts.map +1 -0
  683. package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts.map +1 -0
  684. package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts.map +1 -0
  685. package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts.map +1 -0
  686. package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts.map +1 -0
  687. package/lib/services/http/sole/sole-details/sole-details.service.d.ts.map +1 -0
  688. package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts.map +1 -0
  689. package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts.map +1 -0
  690. package/lib/services/http/subscription/index.d.ts.map +1 -0
  691. package/lib/services/http/subscription/service-price.service.d.ts.map +1 -0
  692. package/lib/services/http/subscription/subscription.service.d.ts.map +1 -0
  693. package/lib/services/http/tax-review/index.d.ts.map +1 -0
  694. package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts.map +1 -0
  695. package/lib/services/http/tax-review/tax-review.service.d.ts.map +1 -0
  696. package/lib/services/http/tax-summary/index.d.ts.map +1 -0
  697. package/lib/services/http/tax-summary/tax-summary.service.d.ts.map +1 -0
  698. package/lib/services/http/transaction/index.d.ts.map +1 -0
  699. package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts.map +1 -0
  700. package/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.d.ts.map +1 -0
  701. package/lib/services/http/transaction/transaction.service.d.ts +3 -3
  702. package/lib/services/http/transaction/transaction.service.d.ts.map +1 -0
  703. package/lib/services/http/tutorial-video/index.d.ts.map +1 -0
  704. package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts.map +1 -0
  705. package/lib/services/http/tutorial-video/tutorial-video.service.d.ts.map +1 -0
  706. package/lib/services/http/tutorial-video/video-source.interface.d.ts.map +1 -0
  707. package/lib/services/http/user/index.d.ts.map +1 -0
  708. package/lib/services/http/user/occupation/occupation.service.d.ts.map +1 -0
  709. package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts.map +1 -0
  710. package/lib/services/http/user/user-event-type/user-event-type.service.d.ts.map +1 -0
  711. package/lib/services/http/user/users-invite/users-invite.service.d.ts.map +1 -0
  712. package/lib/services/http/vehicle/index.d.ts.map +1 -0
  713. package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts.map +1 -0
  714. package/lib/services/http/vehicle/vehicle-claim.service.d.ts.map +1 -0
  715. package/lib/services/http/vehicle/vehicle-logbook.service.d.ts.map +1 -0
  716. package/lib/services/http/vehicle/vehicle.service.d.ts.map +1 -0
  717. package/lib/services/index.d.ts.map +1 -0
  718. package/lib/services/intercom/index.d.ts.map +1 -0
  719. package/lib/services/intercom/intercom.service.d.ts.map +1 -0
  720. package/lib/services/pdf/index.d.ts.map +1 -0
  721. package/lib/services/pdf/pdf-from-dom-element/file-settings.d.ts.map +1 -0
  722. package/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts.map +1 -0
  723. package/lib/services/pdf/pdf-from-table/file-settings.d.ts.map +1 -0
  724. package/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts.map +1 -0
  725. package/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts.map +1 -0
  726. package/lib/services/pdf/pdf-from-table/pdf-from-table.service.d.ts.map +1 -0
  727. package/lib/services/preloader/index.d.ts.map +1 -0
  728. package/lib/services/preloader/preloader.service.d.ts.map +1 -0
  729. package/lib/services/property/corelogic/index.d.ts.map +1 -0
  730. package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts.map +1 -0
  731. package/lib/services/property/equity-position-chart/index.d.ts.map +1 -0
  732. package/lib/services/property/index.d.ts.map +1 -0
  733. package/lib/services/property/property-calculation/index.d.ts.map +1 -0
  734. package/lib/services/property/property-calculation/property-calculation.service.d.ts.map +1 -0
  735. package/lib/services/report/index.d.ts.map +1 -0
  736. package/lib/services/report/property/property-transaction-report.service.d.ts +4 -7
  737. package/lib/services/report/property/property-transaction-report.service.d.ts.map +1 -0
  738. package/lib/services/toast/index.d.ts.map +1 -0
  739. package/lib/services/toast/toast.service.d.ts.map +1 -0
  740. package/lib/services/transaction/index.d.ts.map +1 -0
  741. package/lib/services/transaction/transaction-calculation.service.d.ts.map +1 -0
  742. package/lib/services/user/index.d.ts.map +1 -0
  743. package/lib/services/user/user-switcher.service.d.ts.map +1 -0
  744. package/lib/services/vehicle/index.d.ts.map +1 -0
  745. package/lib/services/vehicle/logbook-best-period.service.d.ts.map +1 -0
  746. package/lib/services/xlsx/index.d.ts.map +1 -0
  747. package/lib/services/xlsx/xlsx.service.d.ts.map +1 -0
  748. package/lib/tt-core.module.d.ts.map +1 -0
  749. package/lib/validators/address-corelogic.validator.d.ts.map +1 -0
  750. package/lib/validators/at-least-one-enabled.validator.d.ts.map +1 -0
  751. package/lib/validators/at-least-one.validator.d.ts.map +1 -0
  752. package/lib/validators/autocomplete.validator.d.ts.map +1 -0
  753. package/lib/validators/conditional.validator.d.ts.map +1 -0
  754. package/lib/validators/current-fin-year.validator.d.ts.map +1 -0
  755. package/lib/validators/date-range.validator.d.ts.map +1 -0
  756. package/lib/validators/fields-sum.validator.d.ts.map +1 -0
  757. package/lib/validators/file.validator.d.ts.map +1 -0
  758. package/lib/validators/index.d.ts.map +1 -0
  759. package/lib/validators/min-date/messages.enum.d.ts.map +1 -0
  760. package/lib/validators/min-date/min-date.validator.d.ts.map +1 -0
  761. package/lib/validators/password-match.validator.d.ts.map +1 -0
  762. package/lib/validators/password.validator.d.ts.map +1 -0
  763. package/lib/validators/phone-number.validator.d.ts.map +1 -0
  764. package/lib/validators/required-length.validator.d.ts.map +1 -0
  765. package/package.json +1 -1
  766. package/public-api.d.ts +11 -11
  767. package/public-api.d.ts.map +1 -0
  768. package/taxtank-core.d.ts.map +1 -0
  769. package/esm2015/lib/db/Enums/chart-accounts-metadata-type.enum.js +0 -6
  770. package/esm2015/lib/db/Enums/chart-accounts-type.enum.js +0 -6
@@ -92,9 +92,9 @@
92
92
  };
93
93
  return CorelogicService;
94
94
  }());
95
- CorelogicService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CorelogicService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
96
- CorelogicService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CorelogicService, providedIn: 'root' });
97
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CorelogicService, decorators: [{
95
+ CorelogicService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: CorelogicService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
96
+ CorelogicService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: CorelogicService, providedIn: 'root' });
97
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: CorelogicService, decorators: [{
98
98
  type: i0.Injectable,
99
99
  args: [{
100
100
  providedIn: 'root'
@@ -138,9 +138,9 @@
138
138
  };
139
139
  return CorelogicInterceptor;
140
140
  }());
141
- CorelogicInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
142
- CorelogicInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CorelogicInterceptor });
143
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CorelogicInterceptor, decorators: [{
141
+ CorelogicInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
142
+ CorelogicInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: CorelogicInterceptor });
143
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: CorelogicInterceptor, decorators: [{
144
144
  type: i0.Injectable
145
145
  }], ctorParameters: function () {
146
146
  return [{ type: CorelogicService }, { type: undefined, decorators: [{
@@ -180,9 +180,9 @@
180
180
  };
181
181
  return FinancialYearInterceptor;
182
182
  }());
183
- FinancialYearInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
184
- FinancialYearInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FinancialYearInterceptor });
185
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FinancialYearInterceptor, decorators: [{
183
+ FinancialYearInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
184
+ FinancialYearInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FinancialYearInterceptor });
185
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FinancialYearInterceptor, decorators: [{
186
186
  type: i0.Injectable
187
187
  }], ctorParameters: function () {
188
188
  return [{ type: undefined, decorators: [{
@@ -191,7 +191,7 @@
191
191
  }] }];
192
192
  } });
193
193
 
194
- /******************************************************************************
194
+ /*! *****************************************************************************
195
195
  Copyright (c) Microsoft Corporation.
196
196
 
197
197
  Permission to use, copy, modify, and/or distribute this software for any
@@ -353,11 +353,7 @@
353
353
  var __createBinding = Object.create ? (function (o, m, k, k2) {
354
354
  if (k2 === undefined)
355
355
  k2 = k;
356
- var desc = Object.getOwnPropertyDescriptor(m, k);
357
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
358
- desc = { enumerable: true, get: function () { return m[k]; } };
359
- }
360
- Object.defineProperty(o, k2, desc);
356
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
361
357
  }) : (function (o, m, k, k2) {
362
358
  if (k2 === undefined)
363
359
  k2 = k;
@@ -512,11 +508,6 @@
512
508
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
513
509
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
514
510
  }
515
- function __classPrivateFieldIn(state, receiver) {
516
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
517
- throw new TypeError("Cannot use 'in' operator on non-object");
518
- return typeof state === "function" ? receiver === state : state.has(receiver);
519
- }
520
511
 
521
512
  var NAME_TOKEN = 'token';
522
513
  var NAME_REFRESH_TOKEN = 'refreshToken';
@@ -547,9 +538,9 @@
547
538
  };
548
539
  return JwtService;
549
540
  }(angularJwt.JwtHelperService));
550
- JwtService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: JwtService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
551
- JwtService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: JwtService, providedIn: 'root' });
552
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: JwtService, decorators: [{
541
+ JwtService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: JwtService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
542
+ JwtService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: JwtService, providedIn: 'root' });
543
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: JwtService, decorators: [{
553
544
  type: i0.Injectable,
554
545
  args: [{
555
546
  providedIn: 'root'
@@ -660,9 +651,9 @@
660
651
  };
661
652
  return EventDispatcherService;
662
653
  }());
663
- EventDispatcherService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EventDispatcherService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
664
- EventDispatcherService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EventDispatcherService, providedIn: 'root' });
665
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EventDispatcherService, decorators: [{
654
+ EventDispatcherService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EventDispatcherService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
655
+ EventDispatcherService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EventDispatcherService, providedIn: 'root' });
656
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EventDispatcherService, decorators: [{
666
657
  type: i0.Injectable,
667
658
  args: [{
668
659
  providedIn: 'root'
@@ -716,9 +707,9 @@
716
707
  };
717
708
  return AuthService;
718
709
  }());
719
- AuthService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AuthService, deps: [{ token: i1__namespace.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
720
- AuthService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AuthService, providedIn: 'root' });
721
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AuthService, decorators: [{
710
+ AuthService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AuthService, deps: [{ token: i1__namespace.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
711
+ AuthService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AuthService, providedIn: 'root' });
712
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AuthService, decorators: [{
722
713
  type: i0.Injectable,
723
714
  args: [{
724
715
  providedIn: 'root'
@@ -859,9 +850,9 @@
859
850
  };
860
851
  return JwtInterceptor;
861
852
  }());
862
- JwtInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
863
- JwtInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: JwtInterceptor });
864
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: JwtInterceptor, decorators: [{
853
+ JwtInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
854
+ JwtInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: JwtInterceptor });
855
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: JwtInterceptor, decorators: [{
865
856
  type: i0.Injectable
866
857
  }], ctorParameters: function () {
867
858
  return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
@@ -899,9 +890,9 @@
899
890
  };
900
891
  return UserSwitcherService;
901
892
  }());
902
- UserSwitcherService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserSwitcherService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
903
- UserSwitcherService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserSwitcherService, providedIn: 'root' });
904
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserSwitcherService, decorators: [{
893
+ UserSwitcherService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserSwitcherService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
894
+ UserSwitcherService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserSwitcherService, providedIn: 'root' });
895
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserSwitcherService, decorators: [{
905
896
  type: i0.Injectable,
906
897
  args: [{
907
898
  providedIn: 'root'
@@ -948,9 +939,9 @@
948
939
  };
949
940
  return UserSwitcherInterceptor;
950
941
  }());
951
- UserSwitcherInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
952
- UserSwitcherInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserSwitcherInterceptor });
953
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserSwitcherInterceptor, decorators: [{
942
+ UserSwitcherInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
943
+ UserSwitcherInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserSwitcherInterceptor });
944
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserSwitcherInterceptor, decorators: [{
954
945
  type: i0.Injectable
955
946
  }], ctorParameters: function () {
956
947
  return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
@@ -1197,9 +1188,9 @@
1197
1188
  };
1198
1189
  return PreloaderService;
1199
1190
  }());
1200
- PreloaderService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreloaderService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1201
- PreloaderService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreloaderService, providedIn: 'root' });
1202
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreloaderService, decorators: [{
1191
+ PreloaderService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreloaderService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1192
+ PreloaderService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreloaderService, providedIn: 'root' });
1193
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreloaderService, decorators: [{
1203
1194
  type: i0.Injectable,
1204
1195
  args: [{
1205
1196
  providedIn: 'root'
@@ -1229,9 +1220,9 @@
1229
1220
  };
1230
1221
  return PreloaderInterceptor;
1231
1222
  }());
1232
- PreloaderInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1233
- PreloaderInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreloaderInterceptor });
1234
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreloaderInterceptor, decorators: [{
1223
+ PreloaderInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1224
+ PreloaderInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreloaderInterceptor });
1225
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreloaderInterceptor, decorators: [{
1235
1226
  type: i0.Injectable
1236
1227
  }], ctorParameters: function () { return [{ type: PreloaderService }]; } });
1237
1228
 
@@ -1350,9 +1341,9 @@
1350
1341
  };
1351
1342
  return ToastService;
1352
1343
  }());
1353
- ToastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ToastService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1354
- ToastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ToastService, providedIn: 'root' });
1355
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ToastService, decorators: [{
1344
+ ToastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ToastService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1345
+ ToastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ToastService, providedIn: 'root' });
1346
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ToastService, decorators: [{
1356
1347
  type: i0.Injectable,
1357
1348
  args: [{
1358
1349
  providedIn: 'root'
@@ -1578,9 +1569,9 @@
1578
1569
  RestService.prototype.listenEvents = function () { };
1579
1570
  return RestService;
1580
1571
  }());
1581
- RestService$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RestService$1, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1582
- RestService$1.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RestService$1, providedIn: 'root' });
1583
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RestService$1, decorators: [{
1572
+ RestService$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService$1, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1573
+ RestService$1.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService$1, providedIn: 'root' });
1574
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService$1, decorators: [{
1584
1575
  type: i0.Injectable,
1585
1576
  args: [{
1586
1577
  providedIn: 'root'
@@ -3228,41 +3219,120 @@
3228
3219
  return ChartAccountsMetadata;
3229
3220
  }(AbstractModel));
3230
3221
 
3231
- exports.ChartAccountsMetadataListEnum = void 0;
3232
- (function (ChartAccountsMetadataListEnum) {
3233
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_INSTALMENTS"] = 4] = "TAX_INSTALMENTS";
3234
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["FRANKING_CREDIT"] = 5] = "FRANKING_CREDIT";
3235
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["ELIGIBLE_FOR_REDUCTION"] = 6] = "ELIGIBLE_FOR_REDUCTION";
3236
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["SHARE_PERCENTAGE"] = 7] = "SHARE_PERCENTAGE";
3237
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_OFFSETS"] = 8] = "TAX_OFFSETS";
3238
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["HOURS"] = 11] = "HOURS";
3239
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_PAID"] = 13] = "TAX_PAID";
3240
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_FREE_COMPONENT"] = 18] = "TAX_FREE_COMPONENT";
3241
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["YEARS_OF_SERVICE"] = 19] = "YEARS_OF_SERVICE";
3242
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["UNTAXED_ELEMENT"] = 24] = "UNTAXED_ELEMENT";
3243
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["NOT_ELIGIBLE_FOR_DEDUCTION"] = 25] = "NOT_ELIGIBLE_FOR_DEDUCTION";
3244
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["FRANKED"] = 26] = "FRANKED";
3245
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["UNFRANKED"] = 27] = "UNFRANKED";
3246
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_OFFSETS_N_R_A_S"] = 29] = "TAX_OFFSETS_N_R_A_S";
3247
- ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["DISCOUNT_FROM_DEFERRED_SCHEMES"] = 32] = "DISCOUNT_FROM_DEFERRED_SCHEMES";
3248
- })(exports.ChartAccountsMetadataListEnum || (exports.ChartAccountsMetadataListEnum = {}));
3222
+ exports.DocumentTypeEnum = void 0;
3223
+ (function (DocumentTypeEnum) {
3224
+ DocumentTypeEnum[DocumentTypeEnum["INVOICE"] = 1] = "INVOICE";
3225
+ })(exports.DocumentTypeEnum || (exports.DocumentTypeEnum = {}));
3249
3226
 
3250
- var ChartAccountsMetadata = /** @class */ (function (_super) {
3251
- __extends(ChartAccountsMetadata, _super);
3252
- function ChartAccountsMetadata() {
3253
- return _super !== null && _super.apply(this, arguments) || this;
3254
- }
3255
- /**
3256
- * Check if metadata id is related to SHARE_PERCENTAGE value
3257
- */
3258
- ChartAccountsMetadata.prototype.isSharePercentage = function () {
3259
- return this.id === exports.ChartAccountsMetadataListEnum.SHARE_PERCENTAGE;
3260
- };
3261
- ChartAccountsMetadata.prototype.isHours = function () {
3262
- return this.id === exports.ChartAccountsMetadataListEnum.HOURS;
3263
- };
3264
- return ChartAccountsMetadata;
3265
- }(ChartAccountsMetadata$1));
3227
+ exports.AnnualFrequencyEnum = void 0;
3228
+ (function (AnnualFrequencyEnum) {
3229
+ AnnualFrequencyEnum[AnnualFrequencyEnum["ANNUAL"] = 1] = "ANNUAL";
3230
+ AnnualFrequencyEnum[AnnualFrequencyEnum["QUARTERLY"] = 3] = "QUARTERLY";
3231
+ AnnualFrequencyEnum[AnnualFrequencyEnum["MONTHLY"] = 12] = "MONTHLY";
3232
+ AnnualFrequencyEnum[AnnualFrequencyEnum["FORTNIGHTLY"] = 26] = "FORTNIGHTLY";
3233
+ AnnualFrequencyEnum[AnnualFrequencyEnum["WEEKLY"] = 52] = "WEEKLY";
3234
+ })(exports.AnnualFrequencyEnum || (exports.AnnualFrequencyEnum = {}));
3235
+
3236
+ exports.ChartAccountsCategoryEnum = void 0;
3237
+ (function (ChartAccountsCategoryEnum) {
3238
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_INCOME"] = 1] = "PROPERTY_INCOME";
3239
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_EXPENSE"] = 2] = "PROPERTY_EXPENSE";
3240
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_DEPRECIATION"] = 3] = "PROPERTY_DEPRECIATION";
3241
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_CAPITAL_WORKS"] = 4] = "PROPERTY_CAPITAL_WORKS";
3242
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_DEPRECIATION"] = 5] = "WORK_DEPRECIATION";
3243
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_INCOME"] = 6] = "WORK_INCOME";
3244
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_EXPENSE"] = 7] = "WORK_EXPENSE";
3245
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["OTHER_INCOME"] = 8] = "OTHER_INCOME";
3246
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["OTHER_EXPENSE"] = 9] = "OTHER_EXPENSE";
3247
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PERSONAL_INCOME"] = 10] = "PERSONAL_INCOME";
3248
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PERSONAL_EXPENSE"] = 11] = "PERSONAL_EXPENSE";
3249
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_INCOME"] = 12] = "SOLE_INCOME";
3250
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_EXPENSE"] = 13] = "SOLE_EXPENSE";
3251
+ ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_DEPRECIATION"] = 14] = "SOLE_DEPRECIATION";
3252
+ })(exports.ChartAccountsCategoryEnum || (exports.ChartAccountsCategoryEnum = {}));
3253
+
3254
+ exports.ChartAccountsEtpEnum = void 0;
3255
+ (function (ChartAccountsEtpEnum) {
3256
+ ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_R"] = 549] = "ETP_R";
3257
+ ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_S"] = 550] = "ETP_S";
3258
+ ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_O"] = 551] = "ETP_O";
3259
+ ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_D"] = 552] = "ETP_D";
3260
+ ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_B"] = 553] = "ETP_B";
3261
+ })(exports.ChartAccountsEtpEnum || (exports.ChartAccountsEtpEnum = {}));
3262
+
3263
+ exports.ChartAccountsHeadingListEnum = void 0;
3264
+ (function (ChartAccountsHeadingListEnum) {
3265
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["ALLOWANCES_EARNINGS_TIPS_DIRECTOR_FEES"] = 2] = "ALLOWANCES_EARNINGS_TIPS_DIRECTOR_FEES";
3266
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AUSTRALIAN_GOVERNMENT_ALLOWANCES_PAYMENTS"] = 4] = "AUSTRALIAN_GOVERNMENT_ALLOWANCES_PAYMENTS";
3267
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AUSTRALIAN_GOVERNMENT_PENSIONS_ALLOWANCES"] = 5] = "AUSTRALIAN_GOVERNMENT_PENSIONS_ALLOWANCES";
3268
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["WORK_RELATED_CAR_EXPENSES"] = 8] = "WORK_RELATED_CAR_EXPENSES";
3269
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DEPRECIATION_VEHICLES"] = 9] = "DEPRECIATION_VEHICLES";
3270
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["WORK_RELATED_TRAVEL_EXPENSES"] = 10] = "WORK_RELATED_TRAVEL_EXPENSES";
3271
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["COMPULSORY_WORK_UNIFORM"] = 11] = "COMPULSORY_WORK_UNIFORM";
3272
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PROTECTION_CLOTHING"] = 12] = "PROTECTION_CLOTHING";
3273
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OCCUPATIONAL_SPECIFIC_CLOTHING"] = 13] = "OCCUPATIONAL_SPECIFIC_CLOTHING";
3274
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SELF_EDUCATIONAL_EXPENSES"] = 14] = "SELF_EDUCATIONAL_EXPENSES";
3275
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_WORK_RELATED_EXPENSES"] = 15] = "OTHER_WORK_RELATED_EXPENSES";
3276
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SUBSCRIPTIONS"] = 16] = "SUBSCRIPTIONS";
3277
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["HOME_OFFICE_RUNNING"] = 17] = "HOME_OFFICE_RUNNING";
3278
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TOOLS_EQUIPMENT"] = 18] = "TOOLS_EQUIPMENT";
3279
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["HOME_OFFICE_OCCUPANCY"] = 19] = "HOME_OFFICE_OCCUPANCY";
3280
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AWARD_OVERTIME_MEAL_ALLOWANCE_EXPENSE"] = 20] = "AWARD_OVERTIME_MEAL_ALLOWANCE_EXPENSE";
3281
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["NEWSPAPER"] = 21] = "NEWSPAPER";
3282
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PRINTING_POSTAGE_STATIONERY"] = 22] = "PRINTING_POSTAGE_STATIONERY";
3283
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SEMINARS_ETC"] = 23] = "SEMINARS_ETC";
3284
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TELEPHONE"] = 24] = "TELEPHONE";
3285
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["UNION_FEES"] = 25] = "UNION_FEES";
3286
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER"] = 26] = "OTHER";
3287
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DONATIONS"] = 27] = "DONATIONS";
3288
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PSI"] = 30] = "PSI";
3289
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["BONUSES"] = 34] = "BONUSES";
3290
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_DEDUCTIONS"] = 37] = "OTHER_DEDUCTIONS";
3291
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["ETP"] = 39] = "ETP";
3292
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_DEDUCTIONS"] = 47] = "INTEREST_DEDUCTIONS";
3293
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DIVIDEND_DEDUCTIONS"] = 48] = "DIVIDEND_DEDUCTIONS";
3294
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PURCHASES_STOCK_INVENTORY"] = 52] = "PURCHASES_STOCK_INVENTORY";
3295
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["CONTRACTORS_COMMISSION"] = 53] = "CONTRACTORS_COMMISSION";
3296
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SUPERANNUATION"] = 54] = "SUPERANNUATION";
3297
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["BAD_DEBT"] = 55] = "BAD_DEBT";
3298
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["LEASE_EXPENSES"] = 56] = "LEASE_EXPENSES";
3299
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["RENT_EXPENSES"] = 57] = "RENT_EXPENSES";
3300
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_EXPENSES_AUSTRALIA"] = 58] = "INTEREST_EXPENSES_AUSTRALIA";
3301
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_EXPENSES_OVERSEAS"] = 59] = "INTEREST_EXPENSES_OVERSEAS";
3302
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["KLMS"] = 60] = "KLMS";
3303
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["FUEL_OIL"] = 61] = "FUEL_OIL";
3304
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SERVICES_MAINTENANCE"] = 62] = "SERVICES_MAINTENANCE";
3305
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["REGISTRATION"] = 63] = "REGISTRATION";
3306
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["LEASE_INTEREST_PAYMENTS"] = 64] = "LEASE_INTEREST_PAYMENTS";
3307
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INSURANCE"] = 65] = "INSURANCE";
3308
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TYRES_BATTERIES"] = 66] = "TYRES_BATTERIES";
3309
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_EXPENSES"] = 67] = "OTHER_EXPENSES";
3310
+ ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DEPRECIATION_EXPENSES"] = 68] = "DEPRECIATION_EXPENSES";
3311
+ })(exports.ChartAccountsHeadingListEnum || (exports.ChartAccountsHeadingListEnum = {}));
3312
+
3313
+ exports.ChartAccountsHeadingTaxDeductibleEnum = void 0;
3314
+ (function (ChartAccountsHeadingTaxDeductibleEnum) {
3315
+ ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["ALLOWANCES_AND_PAYMENTS"] = 4] = "ALLOWANCES_AND_PAYMENTS";
3316
+ ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["PENSIONS_AND_ALLOWANCES"] = 5] = "PENSIONS_AND_ALLOWANCES";
3317
+ ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["ANNUITIES_AND_SUPERANNUATION_INCOME_STREAMS"] = 40] = "ANNUITIES_AND_SUPERANNUATION_INCOME_STREAMS";
3318
+ ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["SUPERANNUATION_LUMP_SUM"] = 41] = "SUPERANNUATION_LUMP_SUM";
3319
+ })(exports.ChartAccountsHeadingTaxDeductibleEnum || (exports.ChartAccountsHeadingTaxDeductibleEnum = {}));
3320
+
3321
+ exports.ChartAccountsHeadingTaxableEnum = void 0;
3322
+ (function (ChartAccountsHeadingTaxableEnum) {
3323
+ ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["GROSS_INTEREST"] = 7] = "GROSS_INTEREST";
3324
+ ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["DIVIDENDS"] = 38] = "DIVIDENDS";
3325
+ ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["EMPLOYEE_SHARE_SCHEMES"] = 42] = "EMPLOYEE_SHARE_SCHEMES";
3326
+ ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["PARTNERSHIPS_AND_TRUSTS_INCOME"] = 43] = "PARTNERSHIPS_AND_TRUSTS_INCOME";
3327
+ })(exports.ChartAccountsHeadingTaxableEnum || (exports.ChartAccountsHeadingTaxableEnum = {}));
3328
+
3329
+ exports.ChartAccountsHeadingVehicleListEnum = void 0;
3330
+ (function (ChartAccountsHeadingVehicleListEnum) {
3331
+ ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["WORK_RELATED_CAR_EXPENSES"] = 8] = "WORK_RELATED_CAR_EXPENSES";
3332
+ ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["DEPRECIATION_VEHICLES"] = 9] = "DEPRECIATION_VEHICLES";
3333
+ ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["KLMS"] = 60] = "KLMS";
3334
+ ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["FUEL_OIL"] = 61] = "FUEL_OIL";
3335
+ })(exports.ChartAccountsHeadingVehicleListEnum || (exports.ChartAccountsHeadingVehicleListEnum = {}));
3266
3336
 
3267
3337
  exports.ChartAccountsListEnum = void 0;
3268
3338
  (function (ChartAccountsListEnum) {
@@ -3357,31 +3427,86 @@
3357
3427
  ChartAccountsListEnum[ChartAccountsListEnum["PSI_DEDUCTION_OTHER"] = 860] = "PSI_DEDUCTION_OTHER";
3358
3428
  })(exports.ChartAccountsListEnum || (exports.ChartAccountsListEnum = {}));
3359
3429
 
3360
- exports.ChartAccountsCategoryEnum = void 0;
3361
- (function (ChartAccountsCategoryEnum) {
3362
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_INCOME"] = 1] = "PROPERTY_INCOME";
3363
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_EXPENSE"] = 2] = "PROPERTY_EXPENSE";
3364
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_DEPRECIATION"] = 3] = "PROPERTY_DEPRECIATION";
3365
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_CAPITAL_WORKS"] = 4] = "PROPERTY_CAPITAL_WORKS";
3366
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_DEPRECIATION"] = 5] = "WORK_DEPRECIATION";
3367
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_INCOME"] = 6] = "WORK_INCOME";
3368
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_EXPENSE"] = 7] = "WORK_EXPENSE";
3369
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["OTHER_INCOME"] = 8] = "OTHER_INCOME";
3370
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["OTHER_EXPENSE"] = 9] = "OTHER_EXPENSE";
3371
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PERSONAL_INCOME"] = 10] = "PERSONAL_INCOME";
3372
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PERSONAL_EXPENSE"] = 11] = "PERSONAL_EXPENSE";
3373
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_INCOME"] = 12] = "SOLE_INCOME";
3374
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_EXPENSE"] = 13] = "SOLE_EXPENSE";
3375
- ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_DEPRECIATION"] = 14] = "SOLE_DEPRECIATION";
3376
- })(exports.ChartAccountsCategoryEnum || (exports.ChartAccountsCategoryEnum = {}));
3430
+ exports.ChartAccountsMetadataListEnum = void 0;
3431
+ (function (ChartAccountsMetadataListEnum) {
3432
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_INSTALMENTS"] = 4] = "TAX_INSTALMENTS";
3433
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["FRANKING_CREDIT"] = 5] = "FRANKING_CREDIT";
3434
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["ELIGIBLE_FOR_REDUCTION"] = 6] = "ELIGIBLE_FOR_REDUCTION";
3435
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["SHARE_PERCENTAGE"] = 7] = "SHARE_PERCENTAGE";
3436
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_OFFSETS"] = 8] = "TAX_OFFSETS";
3437
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["HOURS"] = 11] = "HOURS";
3438
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_PAID"] = 13] = "TAX_PAID";
3439
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_FREE_COMPONENT"] = 18] = "TAX_FREE_COMPONENT";
3440
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["YEARS_OF_SERVICE"] = 19] = "YEARS_OF_SERVICE";
3441
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["UNTAXED_ELEMENT"] = 24] = "UNTAXED_ELEMENT";
3442
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["NOT_ELIGIBLE_FOR_DEDUCTION"] = 25] = "NOT_ELIGIBLE_FOR_DEDUCTION";
3443
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["FRANKED"] = 26] = "FRANKED";
3444
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["UNFRANKED"] = 27] = "UNFRANKED";
3445
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_OFFSETS_N_R_A_S"] = 29] = "TAX_OFFSETS_N_R_A_S";
3446
+ ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["DISCOUNT_FROM_DEFERRED_SCHEMES"] = 32] = "DISCOUNT_FROM_DEFERRED_SCHEMES";
3447
+ })(exports.ChartAccountsMetadataListEnum || (exports.ChartAccountsMetadataListEnum = {}));
3377
3448
 
3378
- exports.ChartAccountsHeadingVehicleListEnum = void 0;
3379
- (function (ChartAccountsHeadingVehicleListEnum) {
3380
- ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["WORK_RELATED_CAR_EXPENSES"] = 8] = "WORK_RELATED_CAR_EXPENSES";
3381
- ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["DEPRECIATION_VEHICLES"] = 9] = "DEPRECIATION_VEHICLES";
3382
- ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["KLMS"] = 60] = "KLMS";
3383
- ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["FUEL_OIL"] = 61] = "FUEL_OIL";
3384
- })(exports.ChartAccountsHeadingVehicleListEnum || (exports.ChartAccountsHeadingVehicleListEnum = {}));
3449
+ exports.ChartAccountsMetadataTypeEnum = void 0;
3450
+ (function (ChartAccountsMetadataTypeEnum) {
3451
+ ChartAccountsMetadataTypeEnum[ChartAccountsMetadataTypeEnum["NUMBER"] = 3] = "NUMBER";
3452
+ ChartAccountsMetadataTypeEnum[ChartAccountsMetadataTypeEnum["BOOLEAN"] = 4] = "BOOLEAN";
3453
+ })(exports.ChartAccountsMetadataTypeEnum || (exports.ChartAccountsMetadataTypeEnum = {}));
3454
+
3455
+ exports.ChartAccountsSalaryAdjustmentsListEnum = void 0;
3456
+ (function (ChartAccountsSalaryAdjustmentsListEnum) {
3457
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["ALLOWANCE"] = 4] = "ALLOWANCE";
3458
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["TIPS"] = 5] = "TIPS";
3459
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["REIMBURSEMENTS"] = 555] = "REIMBURSEMENTS";
3460
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["ADVANCE"] = 556] = "ADVANCE";
3461
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["POST_TAX_DEDUCTIONS_OTHER"] = 644] = "POST_TAX_DEDUCTIONS_OTHER";
3462
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["PRE_TAX_DEDUCTIONS_OTHER"] = 645] = "PRE_TAX_DEDUCTIONS_OTHER";
3463
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["PHONE_ALLOWANCE"] = 646] = "PHONE_ALLOWANCE";
3464
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["UNIFORM_ALLOWANCE"] = 647] = "UNIFORM_ALLOWANCE";
3465
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["META_ALLOWANCE"] = 648] = "META_ALLOWANCE";
3466
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["TRAVEL_ALLOWANCE"] = 649] = "TRAVEL_ALLOWANCE";
3467
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["OTHER_ALLOWANCE"] = 650] = "OTHER_ALLOWANCE";
3468
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["LAFH"] = 651] = "LAFH";
3469
+ ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["WORK_PLACE_GIVING"] = 653] = "WORK_PLACE_GIVING";
3470
+ })(exports.ChartAccountsSalaryAdjustmentsListEnum || (exports.ChartAccountsSalaryAdjustmentsListEnum = {}));
3471
+
3472
+ exports.ChartAccountsSalaryIncludedListEnum = void 0;
3473
+ (function (ChartAccountsSalaryIncludedListEnum) {
3474
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["ALLOWANCE"] = 4] = "ALLOWANCE";
3475
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["TIPS"] = 5] = "TIPS";
3476
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["REIMBURSEMENTS"] = 555] = "REIMBURSEMENTS";
3477
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["ADVANCE"] = 556] = "ADVANCE";
3478
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["PHONE_ALLOWANCE"] = 646] = "PHONE_ALLOWANCE";
3479
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["UNIFORM_ALLOWANCE"] = 647] = "UNIFORM_ALLOWANCE";
3480
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["META_ALLOWANCE"] = 648] = "META_ALLOWANCE";
3481
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["TRAVEL_ALLOWANCE"] = 649] = "TRAVEL_ALLOWANCE";
3482
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["OTHER_ALLOWANCE"] = 650] = "OTHER_ALLOWANCE";
3483
+ ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["LAFH"] = 651] = "LAFH";
3484
+ })(exports.ChartAccountsSalaryIncludedListEnum || (exports.ChartAccountsSalaryIncludedListEnum = {}));
3485
+
3486
+ exports.ChartAccountsTypeEnum = void 0;
3487
+ (function (ChartAccountsTypeEnum) {
3488
+ ChartAccountsTypeEnum[ChartAccountsTypeEnum["INCOME"] = 1] = "INCOME";
3489
+ ChartAccountsTypeEnum[ChartAccountsTypeEnum["EXPENSE"] = 2] = "EXPENSE";
3490
+ })(exports.ChartAccountsTypeEnum || (exports.ChartAccountsTypeEnum = {}));
3491
+
3492
+ // @TODO Artem TT-2308 move everything
3493
+
3494
+ var ChartAccountsMetadata = /** @class */ (function (_super) {
3495
+ __extends(ChartAccountsMetadata, _super);
3496
+ function ChartAccountsMetadata() {
3497
+ return _super !== null && _super.apply(this, arguments) || this;
3498
+ }
3499
+ /**
3500
+ * Check if metadata id is related to SHARE_PERCENTAGE value
3501
+ */
3502
+ ChartAccountsMetadata.prototype.isSharePercentage = function () {
3503
+ return this.id === exports.ChartAccountsMetadataListEnum.SHARE_PERCENTAGE;
3504
+ };
3505
+ ChartAccountsMetadata.prototype.isHours = function () {
3506
+ return this.id === exports.ChartAccountsMetadataListEnum.HOURS;
3507
+ };
3508
+ return ChartAccountsMetadata;
3509
+ }(ChartAccountsMetadata$1));
3385
3510
 
3386
3511
  /**
3387
3512
  * Grouped chart accounts categories for fast work
@@ -3504,72 +3629,6 @@
3504
3629
  return list;
3505
3630
  }
3506
3631
 
3507
- exports.ChartAccountsHeadingTaxableEnum = void 0;
3508
- (function (ChartAccountsHeadingTaxableEnum) {
3509
- ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["GROSS_INTEREST"] = 7] = "GROSS_INTEREST";
3510
- ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["DIVIDENDS"] = 38] = "DIVIDENDS";
3511
- ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["EMPLOYEE_SHARE_SCHEMES"] = 42] = "EMPLOYEE_SHARE_SCHEMES";
3512
- ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["PARTNERSHIPS_AND_TRUSTS_INCOME"] = 43] = "PARTNERSHIPS_AND_TRUSTS_INCOME";
3513
- })(exports.ChartAccountsHeadingTaxableEnum || (exports.ChartAccountsHeadingTaxableEnum = {}));
3514
-
3515
- exports.ChartAccountsHeadingTaxDeductibleEnum = void 0;
3516
- (function (ChartAccountsHeadingTaxDeductibleEnum) {
3517
- ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["ALLOWANCES_AND_PAYMENTS"] = 4] = "ALLOWANCES_AND_PAYMENTS";
3518
- ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["PENSIONS_AND_ALLOWANCES"] = 5] = "PENSIONS_AND_ALLOWANCES";
3519
- ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["ANNUITIES_AND_SUPERANNUATION_INCOME_STREAMS"] = 40] = "ANNUITIES_AND_SUPERANNUATION_INCOME_STREAMS";
3520
- ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["SUPERANNUATION_LUMP_SUM"] = 41] = "SUPERANNUATION_LUMP_SUM";
3521
- })(exports.ChartAccountsHeadingTaxDeductibleEnum || (exports.ChartAccountsHeadingTaxDeductibleEnum = {}));
3522
-
3523
- exports.ChartAccountsHeadingListEnum = void 0;
3524
- (function (ChartAccountsHeadingListEnum) {
3525
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["ALLOWANCES_EARNINGS_TIPS_DIRECTOR_FEES"] = 2] = "ALLOWANCES_EARNINGS_TIPS_DIRECTOR_FEES";
3526
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AUSTRALIAN_GOVERNMENT_ALLOWANCES_PAYMENTS"] = 4] = "AUSTRALIAN_GOVERNMENT_ALLOWANCES_PAYMENTS";
3527
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AUSTRALIAN_GOVERNMENT_PENSIONS_ALLOWANCES"] = 5] = "AUSTRALIAN_GOVERNMENT_PENSIONS_ALLOWANCES";
3528
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["WORK_RELATED_CAR_EXPENSES"] = 8] = "WORK_RELATED_CAR_EXPENSES";
3529
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DEPRECIATION_VEHICLES"] = 9] = "DEPRECIATION_VEHICLES";
3530
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["WORK_RELATED_TRAVEL_EXPENSES"] = 10] = "WORK_RELATED_TRAVEL_EXPENSES";
3531
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["COMPULSORY_WORK_UNIFORM"] = 11] = "COMPULSORY_WORK_UNIFORM";
3532
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PROTECTION_CLOTHING"] = 12] = "PROTECTION_CLOTHING";
3533
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OCCUPATIONAL_SPECIFIC_CLOTHING"] = 13] = "OCCUPATIONAL_SPECIFIC_CLOTHING";
3534
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SELF_EDUCATIONAL_EXPENSES"] = 14] = "SELF_EDUCATIONAL_EXPENSES";
3535
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_WORK_RELATED_EXPENSES"] = 15] = "OTHER_WORK_RELATED_EXPENSES";
3536
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SUBSCRIPTIONS"] = 16] = "SUBSCRIPTIONS";
3537
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["HOME_OFFICE_RUNNING"] = 17] = "HOME_OFFICE_RUNNING";
3538
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TOOLS_EQUIPMENT"] = 18] = "TOOLS_EQUIPMENT";
3539
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["HOME_OFFICE_OCCUPANCY"] = 19] = "HOME_OFFICE_OCCUPANCY";
3540
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AWARD_OVERTIME_MEAL_ALLOWANCE_EXPENSE"] = 20] = "AWARD_OVERTIME_MEAL_ALLOWANCE_EXPENSE";
3541
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["NEWSPAPER"] = 21] = "NEWSPAPER";
3542
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PRINTING_POSTAGE_STATIONERY"] = 22] = "PRINTING_POSTAGE_STATIONERY";
3543
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SEMINARS_ETC"] = 23] = "SEMINARS_ETC";
3544
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TELEPHONE"] = 24] = "TELEPHONE";
3545
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["UNION_FEES"] = 25] = "UNION_FEES";
3546
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER"] = 26] = "OTHER";
3547
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DONATIONS"] = 27] = "DONATIONS";
3548
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PSI"] = 30] = "PSI";
3549
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["BONUSES"] = 34] = "BONUSES";
3550
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_DEDUCTIONS"] = 37] = "OTHER_DEDUCTIONS";
3551
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["ETP"] = 39] = "ETP";
3552
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_DEDUCTIONS"] = 47] = "INTEREST_DEDUCTIONS";
3553
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DIVIDEND_DEDUCTIONS"] = 48] = "DIVIDEND_DEDUCTIONS";
3554
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PURCHASES_STOCK_INVENTORY"] = 52] = "PURCHASES_STOCK_INVENTORY";
3555
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["CONTRACTORS_COMMISSION"] = 53] = "CONTRACTORS_COMMISSION";
3556
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SUPERANNUATION"] = 54] = "SUPERANNUATION";
3557
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["BAD_DEBT"] = 55] = "BAD_DEBT";
3558
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["LEASE_EXPENSES"] = 56] = "LEASE_EXPENSES";
3559
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["RENT_EXPENSES"] = 57] = "RENT_EXPENSES";
3560
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_EXPENSES_AUSTRALIA"] = 58] = "INTEREST_EXPENSES_AUSTRALIA";
3561
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_EXPENSES_OVERSEAS"] = 59] = "INTEREST_EXPENSES_OVERSEAS";
3562
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["KLMS"] = 60] = "KLMS";
3563
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["FUEL_OIL"] = 61] = "FUEL_OIL";
3564
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SERVICES_MAINTENANCE"] = 62] = "SERVICES_MAINTENANCE";
3565
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["REGISTRATION"] = 63] = "REGISTRATION";
3566
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["LEASE_INTEREST_PAYMENTS"] = 64] = "LEASE_INTEREST_PAYMENTS";
3567
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INSURANCE"] = 65] = "INSURANCE";
3568
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TYRES_BATTERIES"] = 66] = "TYRES_BATTERIES";
3569
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_EXPENSES"] = 67] = "OTHER_EXPENSES";
3570
- ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DEPRECIATION_EXPENSES"] = 68] = "DEPRECIATION_EXPENSES";
3571
- })(exports.ChartAccountsHeadingListEnum || (exports.ChartAccountsHeadingListEnum = {}));
3572
-
3573
3632
  var ChartAccounts = /** @class */ (function (_super) {
3574
3633
  __extends(ChartAccounts, _super);
3575
3634
  function ChartAccounts() {
@@ -3607,7 +3666,7 @@
3607
3666
  }
3608
3667
  };
3609
3668
  /**
3610
- * Check if chart accounts id is related for 'NRAS Tax Offset' category
3669
+ * special type used for just pre-paying tax to the ATO, uses on tax summary
3611
3670
  */
3612
3671
  ChartAccounts.prototype.isNRAS = function () {
3613
3672
  return this.id === exports.ChartAccountsListEnum.TAX_OFFSETS_N_R_A_S;
@@ -3755,6 +3814,12 @@
3755
3814
  ChartAccounts.prototype.isSalary = function () {
3756
3815
  return this.id === exports.ChartAccountsListEnum.SALARY_OR_WAGES;
3757
3816
  };
3817
+ /**
3818
+ * chart accounts included in salary, like tips or allowance
3819
+ */
3820
+ ChartAccounts.prototype.isSalaryIncluded = function () {
3821
+ return this.id in exports.ChartAccountsSalaryIncludedListEnum;
3822
+ };
3758
3823
  return ChartAccounts;
3759
3824
  }(ChartAccounts$1));
3760
3825
  /**
@@ -4561,6 +4626,23 @@
4561
4626
  return DepreciationForecast;
4562
4627
  }(DepreciationForecast$1));
4563
4628
 
4629
+ /**
4630
+ * Enum with income amount types (Net or Gross)
4631
+ */
4632
+ exports.IncomeAmountTypeEnum = void 0;
4633
+ (function (IncomeAmountTypeEnum) {
4634
+ IncomeAmountTypeEnum[IncomeAmountTypeEnum["NET"] = 0] = "NET";
4635
+ IncomeAmountTypeEnum[IncomeAmountTypeEnum["GROSS"] = 1] = "GROSS";
4636
+ })(exports.IncomeAmountTypeEnum || (exports.IncomeAmountTypeEnum = {}));
4637
+
4638
+ exports.TransactionCategoryEnum = void 0;
4639
+ (function (TransactionCategoryEnum) {
4640
+ TransactionCategoryEnum[TransactionCategoryEnum["PROPERTY"] = 0] = "PROPERTY";
4641
+ TransactionCategoryEnum[TransactionCategoryEnum["WORK"] = 1] = "WORK";
4642
+ TransactionCategoryEnum[TransactionCategoryEnum["SOLE"] = 2] = "SOLE";
4643
+ TransactionCategoryEnum[TransactionCategoryEnum["PERSONAL"] = 3] = "PERSONAL";
4644
+ })(exports.TransactionCategoryEnum || (exports.TransactionCategoryEnum = {}));
4645
+
4564
4646
  /**
4565
4647
  * @TODO Alex: clarify grouping rules and refactor
4566
4648
  */
@@ -4972,7 +5054,7 @@
4972
5054
  if (this.isExpense()) {
4973
5055
  return grossAmount;
4974
5056
  }
4975
- grossAmount += this.transactions.reduce(function (sum, transaction) { return sum + Math.abs(transaction.amount); }, 0);
5057
+ grossAmount += this.transactions.filter(function (t) { var _a; return !((_a = t.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalaryIncluded()); }).reduce(function (sum, transaction) { return sum + Math.abs(transaction.amount); }, 0);
4976
5058
  if (this.isWorkTank()) {
4977
5059
  grossAmount += this.frankingCredit - this.taxFreeComponent - this.eligibleForReduction;
4978
5060
  }
@@ -7818,23 +7900,6 @@
7818
7900
  classTransformer.Type(function () { return Document; })
7819
7901
  ], DocumentFolder.prototype, "documents", void 0);
7820
7902
 
7821
- /**
7822
- * Enum with income amount types (Net or Gross)
7823
- */
7824
- exports.IncomeAmountTypeEnum = void 0;
7825
- (function (IncomeAmountTypeEnum) {
7826
- IncomeAmountTypeEnum[IncomeAmountTypeEnum["NET"] = 0] = "NET";
7827
- IncomeAmountTypeEnum[IncomeAmountTypeEnum["GROSS"] = 1] = "GROSS";
7828
- })(exports.IncomeAmountTypeEnum || (exports.IncomeAmountTypeEnum = {}));
7829
-
7830
- exports.TransactionCategoryEnum = void 0;
7831
- (function (TransactionCategoryEnum) {
7832
- TransactionCategoryEnum[TransactionCategoryEnum["PROPERTY"] = 0] = "PROPERTY";
7833
- TransactionCategoryEnum[TransactionCategoryEnum["WORK"] = 1] = "WORK";
7834
- TransactionCategoryEnum[TransactionCategoryEnum["SOLE"] = 2] = "SOLE";
7835
- TransactionCategoryEnum[TransactionCategoryEnum["PERSONAL"] = 3] = "PERSONAL";
7836
- })(exports.TransactionCategoryEnum || (exports.TransactionCategoryEnum = {}));
7837
-
7838
7903
  /**
7839
7904
  * BankConnection means user account at specific bank (usually each user has only one at the same bank)
7840
7905
  * service handles BankConnection management
@@ -7928,9 +7993,9 @@
7928
7993
  UserEventTypeTypeEnum.BASIQ_NEW_ACCOUNTS,
7929
7994
  UserEventTypeTypeEnum.BASIQ_AUTHORIZATION_FAIL
7930
7995
  ];
7931
- BankConnectionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankConnectionService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
7932
- BankConnectionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankConnectionService, providedIn: 'root' });
7933
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankConnectionService, decorators: [{
7996
+ BankConnectionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankConnectionService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
7997
+ BankConnectionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankConnectionService, providedIn: 'root' });
7998
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankConnectionService, decorators: [{
7934
7999
  type: i0.Injectable,
7935
8000
  args: [{
7936
8001
  providedIn: 'root'
@@ -8053,9 +8118,9 @@
8053
8118
  * Basiq does not provide a hook, so we have to check job status manually every x seconds
8054
8119
  */
8055
8120
  BasiqService.bankCredintialsCheckInterval = 3000;
8056
- BasiqService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: BankConnectionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8057
- BasiqService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqService, providedIn: 'root' });
8058
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqService, decorators: [{
8121
+ BasiqService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: BankConnectionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8122
+ BasiqService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqService, providedIn: 'root' });
8123
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqService, decorators: [{
8059
8124
  type: i0.Injectable,
8060
8125
  args: [{
8061
8126
  providedIn: 'root'
@@ -8093,9 +8158,9 @@
8093
8158
  };
8094
8159
  return BasiqTokenService;
8095
8160
  }());
8096
- BasiqTokenService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqTokenService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8097
- BasiqTokenService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqTokenService, providedIn: 'root' });
8098
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqTokenService, decorators: [{
8161
+ BasiqTokenService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqTokenService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8162
+ BasiqTokenService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqTokenService, providedIn: 'root' });
8163
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqTokenService, decorators: [{
8099
8164
  type: i0.Injectable,
8100
8165
  args: [{
8101
8166
  providedIn: 'root'
@@ -8133,9 +8198,9 @@
8133
8198
  };
8134
8199
  return BasiqTokenInterceptor;
8135
8200
  }());
8136
- BasiqTokenInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8137
- BasiqTokenInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqTokenInterceptor });
8138
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqTokenInterceptor, decorators: [{
8201
+ BasiqTokenInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8202
+ BasiqTokenInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqTokenInterceptor });
8203
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqTokenInterceptor, decorators: [{
8139
8204
  type: i0.Injectable
8140
8205
  }], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
8141
8206
 
@@ -8173,9 +8238,9 @@
8173
8238
  };
8174
8239
  return SseService;
8175
8240
  }());
8176
- SseService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SseService, deps: [{ token: i0__namespace.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8177
- SseService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SseService, providedIn: 'root' });
8178
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SseService, decorators: [{
8241
+ SseService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SseService, deps: [{ token: i0__namespace.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8242
+ SseService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SseService, providedIn: 'root' });
8243
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SseService, decorators: [{
8179
8244
  type: i0.Injectable,
8180
8245
  args: [{
8181
8246
  providedIn: 'root'
@@ -8352,9 +8417,9 @@
8352
8417
  };
8353
8418
  return UserService;
8354
8419
  }());
8355
- UserService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserService, deps: [{ token: i1__namespace.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8356
- UserService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserService, providedIn: 'root' });
8357
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserService, decorators: [{
8420
+ UserService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserService, deps: [{ token: i1__namespace.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8421
+ UserService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserService, providedIn: 'root' });
8422
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserService, decorators: [{
8358
8423
  type: i0.Injectable,
8359
8424
  args: [{
8360
8425
  providedIn: 'root'
@@ -8388,9 +8453,9 @@
8388
8453
  };
8389
8454
  return BasiqClientIdInterceptor;
8390
8455
  }());
8391
- BasiqClientIdInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8392
- BasiqClientIdInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqClientIdInterceptor });
8393
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasiqClientIdInterceptor, decorators: [{
8456
+ BasiqClientIdInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8457
+ BasiqClientIdInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqClientIdInterceptor });
8458
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqClientIdInterceptor, decorators: [{
8394
8459
  type: i0.Injectable
8395
8460
  }], ctorParameters: function () { return [{ type: UserService }]; } });
8396
8461
 
@@ -8399,9 +8464,9 @@
8399
8464
  }
8400
8465
  return InterceptorsModule;
8401
8466
  }());
8402
- InterceptorsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InterceptorsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
8403
- InterceptorsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InterceptorsModule });
8404
- InterceptorsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InterceptorsModule, providers: [
8467
+ InterceptorsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: InterceptorsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
8468
+ InterceptorsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: InterceptorsModule });
8469
+ InterceptorsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: InterceptorsModule, providers: [
8405
8470
  {
8406
8471
  provide: i1.HTTP_INTERCEPTORS,
8407
8472
  useClass: CorelogicInterceptor,
@@ -8439,7 +8504,7 @@
8439
8504
  multi: true
8440
8505
  }
8441
8506
  ] });
8442
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InterceptorsModule, decorators: [{
8507
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: InterceptorsModule, decorators: [{
8443
8508
  type: i0.NgModule,
8444
8509
  args: [{
8445
8510
  providers: [
@@ -8500,14 +8565,14 @@
8500
8565
  };
8501
8566
  return TtCoreModule;
8502
8567
  }());
8503
- TtCoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TtCoreModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
8504
- TtCoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TtCoreModule, imports: [i1$1.CommonModule,
8568
+ TtCoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TtCoreModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
8569
+ TtCoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TtCoreModule, imports: [i1$1.CommonModule,
8505
8570
  InterceptorsModule] });
8506
- TtCoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TtCoreModule, imports: [[
8571
+ TtCoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TtCoreModule, imports: [[
8507
8572
  i1$1.CommonModule,
8508
8573
  InterceptorsModule
8509
8574
  ]] });
8510
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TtCoreModule, decorators: [{
8575
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TtCoreModule, decorators: [{
8511
8576
  type: i0.NgModule,
8512
8577
  args: [{
8513
8578
  declarations: [],
@@ -9852,60 +9917,6 @@
9852
9917
  return ClientInviteCollection;
9853
9918
  }(Collection));
9854
9919
 
9855
- exports.DocumentTypeEnum = void 0;
9856
- (function (DocumentTypeEnum) {
9857
- DocumentTypeEnum[DocumentTypeEnum["INVOICE"] = 1] = "INVOICE";
9858
- })(exports.DocumentTypeEnum || (exports.DocumentTypeEnum = {}));
9859
-
9860
- exports.AnnualFrequencyEnum = void 0;
9861
- (function (AnnualFrequencyEnum) {
9862
- AnnualFrequencyEnum[AnnualFrequencyEnum["ANNUAL"] = 1] = "ANNUAL";
9863
- AnnualFrequencyEnum[AnnualFrequencyEnum["QUARTERLY"] = 3] = "QUARTERLY";
9864
- AnnualFrequencyEnum[AnnualFrequencyEnum["MONTHLY"] = 12] = "MONTHLY";
9865
- AnnualFrequencyEnum[AnnualFrequencyEnum["FORTNIGHTLY"] = 26] = "FORTNIGHTLY";
9866
- AnnualFrequencyEnum[AnnualFrequencyEnum["WEEKLY"] = 52] = "WEEKLY";
9867
- })(exports.AnnualFrequencyEnum || (exports.AnnualFrequencyEnum = {}));
9868
-
9869
- exports.ChartAccountsSalaryAdjustmentsListEnum = void 0;
9870
- (function (ChartAccountsSalaryAdjustmentsListEnum) {
9871
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["ALLOWANCE"] = 4] = "ALLOWANCE";
9872
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["TIPS"] = 5] = "TIPS";
9873
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["REIMBURSEMENTS"] = 555] = "REIMBURSEMENTS";
9874
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["ADVANCE"] = 556] = "ADVANCE";
9875
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["POST_TAX_DEDUCTIONS_OTHER"] = 644] = "POST_TAX_DEDUCTIONS_OTHER";
9876
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["PRE_TAX_DEDUCTIONS_OTHER"] = 645] = "PRE_TAX_DEDUCTIONS_OTHER";
9877
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["PHONE_ALLOWANCE"] = 646] = "PHONE_ALLOWANCE";
9878
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["UNIFORM_ALLOWANCE"] = 647] = "UNIFORM_ALLOWANCE";
9879
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["META_ALLOWANCE"] = 648] = "META_ALLOWANCE";
9880
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["TRAVEL_ALLOWANCE"] = 649] = "TRAVEL_ALLOWANCE";
9881
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["OTHER_ALLOWANCE"] = 650] = "OTHER_ALLOWANCE";
9882
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["LAFH"] = 651] = "LAFH";
9883
- ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["WORK_PLACE_GIVING"] = 653] = "WORK_PLACE_GIVING";
9884
- })(exports.ChartAccountsSalaryAdjustmentsListEnum || (exports.ChartAccountsSalaryAdjustmentsListEnum = {}));
9885
-
9886
- // @TODO Artem TT-2308 move everything
9887
-
9888
- exports.ChartAccountsEtpEnum = void 0;
9889
- (function (ChartAccountsEtpEnum) {
9890
- ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_R"] = 549] = "ETP_R";
9891
- ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_S"] = 550] = "ETP_S";
9892
- ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_O"] = 551] = "ETP_O";
9893
- ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_D"] = 552] = "ETP_D";
9894
- ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_B"] = 553] = "ETP_B";
9895
- })(exports.ChartAccountsEtpEnum || (exports.ChartAccountsEtpEnum = {}));
9896
-
9897
- exports.ChartAccountsMetadataTypeEnum = void 0;
9898
- (function (ChartAccountsMetadataTypeEnum) {
9899
- ChartAccountsMetadataTypeEnum[ChartAccountsMetadataTypeEnum["NUMBER"] = 3] = "NUMBER";
9900
- ChartAccountsMetadataTypeEnum[ChartAccountsMetadataTypeEnum["BOOLEAN"] = 4] = "BOOLEAN";
9901
- })(exports.ChartAccountsMetadataTypeEnum || (exports.ChartAccountsMetadataTypeEnum = {}));
9902
-
9903
- exports.ChartAccountsTypeEnum = void 0;
9904
- (function (ChartAccountsTypeEnum) {
9905
- ChartAccountsTypeEnum[ChartAccountsTypeEnum["INCOME"] = 1] = "INCOME";
9906
- ChartAccountsTypeEnum[ChartAccountsTypeEnum["EXPENSE"] = 2] = "EXPENSE";
9907
- })(exports.ChartAccountsTypeEnum || (exports.ChartAccountsTypeEnum = {}));
9908
-
9909
9920
  exports.ClientDetailsMedicareExemptionEnum = void 0;
9910
9921
  (function (ClientDetailsMedicareExemptionEnum) {
9911
9922
  ClientDetailsMedicareExemptionEnum[ClientDetailsMedicareExemptionEnum["NO"] = 0] = "NO";
@@ -12760,9 +12771,9 @@
12760
12771
  };
12761
12772
  return AddressService;
12762
12773
  }());
12763
- AddressService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AddressService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
12764
- AddressService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AddressService, providedIn: 'root' });
12765
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AddressService, decorators: [{
12774
+ AddressService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AddressService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
12775
+ AddressService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AddressService, providedIn: 'root' });
12776
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AddressService, decorators: [{
12766
12777
  type: i0.Injectable,
12767
12778
  args: [{
12768
12779
  providedIn: 'root'
@@ -12877,9 +12888,9 @@
12877
12888
  };
12878
12889
  return BankAccountService;
12879
12890
  }(RestService$1));
12880
- BankAccountService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankAccountService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
12881
- BankAccountService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankAccountService, providedIn: 'root' });
12882
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankAccountService, decorators: [{
12891
+ BankAccountService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
12892
+ BankAccountService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountService, providedIn: 'root' });
12893
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountService, decorators: [{
12883
12894
  type: i0.Injectable,
12884
12895
  args: [{
12885
12896
  providedIn: 'root'
@@ -12965,9 +12976,9 @@
12965
12976
  };
12966
12977
  return BankTransactionService;
12967
12978
  }(RestService$1));
12968
- BankTransactionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankTransactionService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
12969
- BankTransactionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankTransactionService, providedIn: 'root' });
12970
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankTransactionService, decorators: [{
12979
+ BankTransactionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
12980
+ BankTransactionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionService, providedIn: 'root' });
12981
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionService, decorators: [{
12971
12982
  type: i0.Injectable,
12972
12983
  args: [{
12973
12984
  providedIn: 'root'
@@ -12975,317 +12986,82 @@
12975
12986
  }] });
12976
12987
 
12977
12988
  /**
12978
- * Abstract base service that implements common services functionality
12979
- * and describe abstract methods/properties that have to be implemented in child services
12980
- * Model - entity service is working with
12981
- * BaseModel - base entity model that extends by Model
12982
- * CollectionModel - entity collection class
12989
+ * Service that handling banks logic
12983
12990
  */
12984
- var RestService = /** @class */ (function () {
12985
- function RestService(http, eventDispatcherService, environment) {
12986
- this.http = http;
12987
- this.eventDispatcherService = eventDispatcherService;
12988
- this.environment = environment;
12989
- /**
12990
- * Subject for service cache
12991
- */
12992
- this.cacheSubject = new rxjs.ReplaySubject(1);
12993
- /**
12994
- * List of methods unavailable for current API
12995
- */
12996
- this.disabledMethods = [];
12997
- this.listenEvents();
12991
+ var BankService = /** @class */ (function (_super) {
12992
+ __extends(BankService, _super);
12993
+ function BankService() {
12994
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
12995
+ _this.modelClass = Bank;
12996
+ _this.url = 'banks';
12997
+ _this.isHydra = true;
12998
+ return _this;
12998
12999
  }
12999
- Object.defineProperty(RestService.prototype, "apiUrl", {
13000
- get: function () {
13001
- return this.environment.apiV2 + "/" + this.entityUrl;
13002
- },
13003
- enumerable: false,
13004
- configurable: true
13005
- });
13006
- RestService.prototype.get = function () {
13007
- this.handleAccessError('get');
13008
- // Set cache as empty collection to avoid multiple requests before cache filled
13009
- if (!this.cache) {
13010
- this.cache = this.createCollectionInstance(this.collectionClass, []);
13011
- this.resetCache();
13012
- }
13013
- return this.cacheSubject.asObservable();
13014
- };
13015
- ;
13016
- RestService.prototype.getSingle = function () {
13017
- this.handleAccessError('get');
13018
- return this.get().pipe(operators.map(function (collection) { return collection.first; }));
13000
+ BankService.prototype.get = function () {
13001
+ return _super.prototype.get.call(this).pipe(operators.map(function (banks) {
13002
+ // exclude basiq banks without login fields (basiq may return broken banks without loginFields)
13003
+ return banks.filter(function (bank) { return bank.isManual || (bank.externalId && bank.loginFields); });
13004
+ }));
13019
13005
  };
13006
+ return BankService;
13007
+ }(RestService$1));
13008
+ BankService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
13009
+ BankService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankService, providedIn: 'root' });
13010
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankService, decorators: [{
13011
+ type: i0.Injectable,
13012
+ args: [{
13013
+ providedIn: 'root'
13014
+ }]
13015
+ }] });
13016
+
13017
+ /**
13018
+ * Service to work with depreciation chart accounts
13019
+ */
13020
+ var ChartAccountsDepreciationService = /** @class */ (function (_super) {
13021
+ __extends(ChartAccountsDepreciationService, _super);
13022
+ function ChartAccountsDepreciationService() {
13023
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
13024
+ _this.url = 'chart-accounts-depreciations';
13025
+ _this.modelClass = ChartAccountsDepreciation;
13026
+ _this.isHydra = true;
13027
+ return _this;
13028
+ }
13020
13029
  /**
13021
- * Create a new Model instance in database
13030
+ * Get depreciation chart accounts for current financial year
13022
13031
  */
13023
- RestService.prototype.post = function (model) {
13024
- var _this = this;
13025
- this.handleAccessError('post');
13026
- return this.http.post(this.apiUrl, model)
13027
- .pipe(operators.map(function (response) {
13028
- var result = _this.createModelInstance(_this.modelClass, response);
13029
- _this.handleResponse([result], 'post');
13030
- return result;
13032
+ ChartAccountsDepreciationService.prototype.getCurrent = function () {
13033
+ return this.get()
13034
+ .pipe(operators.map(function (chartAccountsDepreciations) {
13035
+ return chartAccountsDepreciations
13036
+ .find(function (chartAccountsDepreciation) {
13037
+ return chartAccountsDepreciation.effectiveYear === new FinancialYear().year;
13038
+ });
13031
13039
  }));
13032
13040
  };
13041
+ return ChartAccountsDepreciationService;
13042
+ }(RestService$1));
13043
+ ChartAccountsDepreciationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsDepreciationService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
13044
+ ChartAccountsDepreciationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsDepreciationService, providedIn: 'root' });
13045
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsDepreciationService, decorators: [{
13046
+ type: i0.Injectable,
13047
+ args: [{
13048
+ providedIn: 'root'
13049
+ }]
13050
+ }] });
13051
+
13052
+ /**
13053
+ * Chart accounts service
13054
+ */
13055
+ var ChartAccountsService = /** @class */ (function () {
13056
+ function ChartAccountsService(http, environment) {
13057
+ this.http = http;
13058
+ this.environment = environment;
13059
+ this.chartAccountsSubject = new rxjs.ReplaySubject(1);
13060
+ }
13033
13061
  /**
13034
- * Create multiple new Model instances in database
13062
+ * get all parent and child chart accounts and group it
13035
13063
  */
13036
- RestService.prototype.postBatch = function (models) {
13037
- var _this = this;
13038
- this.handleAccessError('postBatch');
13039
- return this.http.post(this.apiUrl, models)
13040
- .pipe(operators.map(function (response) {
13041
- var result = response.map(function (item) { return _this.createModelInstance(_this.modelClass, item); });
13042
- _this.handleResponse(result, 'post');
13043
- return result;
13044
- }));
13045
- };
13046
- /**
13047
- * Change an existing Model instance in database
13048
- */
13049
- RestService.prototype.put = function (model) {
13050
- var _this = this;
13051
- this.handleAccessError('put');
13052
- return this.http.put(this.apiUrl + "/" + model.id, model)
13053
- .pipe(operators.map(function (response) {
13054
- var result = _this.createModelInstance(_this.modelClass, response);
13055
- _this.handleResponse([result], 'put');
13056
- return result;
13057
- }));
13058
- };
13059
- /**
13060
- * Change multiple existing Model instances in database
13061
- */
13062
- RestService.prototype.putBatch = function (models) {
13063
- var _this = this;
13064
- this.handleAccessError('putBatch');
13065
- return this.http.put(this.apiUrl, models)
13066
- .pipe(operators.map(function (response) {
13067
- var result = response.map(function (item) { return _this.createModelInstance(_this.modelClass, item); });
13068
- _this.handleResponse(result, 'put');
13069
- return result;
13070
- }));
13071
- };
13072
- /**
13073
- * Remove a Model instance from database
13074
- */
13075
- RestService.prototype.delete = function (model) {
13076
- var _this = this;
13077
- this.handleAccessError('delete');
13078
- return this.http.delete(this.apiUrl + "/" + model.id)
13079
- .pipe(operators.map(function () {
13080
- _this.handleResponse([model], 'delete');
13081
- }));
13082
- };
13083
- /**
13084
- * Remove multiple Model instances from database
13085
- */
13086
- RestService.prototype.deleteBatch = function (models) {
13087
- var _this = this;
13088
- this.handleAccessError('deleteBatch');
13089
- return this.http.post(this.apiUrl + "/delete", models)
13090
- .pipe(operators.map(function () {
13091
- _this.handleResponse(models, 'delete');
13092
- }));
13093
- };
13094
- /**
13095
- * Refresh cache with actual backend data
13096
- */
13097
- RestService.prototype.resetCache = function () {
13098
- this.fetch()
13099
- .pipe(operators.first())
13100
- .subscribe();
13101
- };
13102
- /**
13103
- * Get data from backend and fill the cache
13104
- */
13105
- RestService.prototype.fetch = function () {
13106
- var _this = this;
13107
- return this.http.get(this.apiUrl)
13108
- .pipe(operators.map(function (response) { return _this.isApiPlatform ? response['hydra:member'] : toArray(response); }), operators.map(function (response) {
13109
- var items = response.map(function (item) { return _this.createModelInstance(_this.modelClass, item); });
13110
- _this.cache = _this.createCollectionInstance(_this.collectionClass, items);
13111
- _this.cacheSubject.next(_this.cache);
13112
- return _this.cache;
13113
- }));
13114
- };
13115
- ;
13116
- /**
13117
- * Handle response data - update cache and dispatch event if it is needed
13118
- */
13119
- RestService.prototype.handleResponse = function (response, method) {
13120
- this.updateCache(response, method);
13121
- // dispatch event for interested services
13122
- if (response[0] instanceof ObservableModel) {
13123
- this.dispatchEvent(method, response);
13124
- }
13125
- };
13126
- /**
13127
- * Update cache with passed items. Add/Update detects automatically, Delete via optional flag
13128
- */
13129
- RestService.prototype.updateCache = function (items, method) {
13130
- var _a;
13131
- var _this = this;
13132
- switch (method) {
13133
- case 'post':
13134
- this.cache = (_a = this.cache).push.apply(_a, __spreadArray([], __read(items)));
13135
- break;
13136
- case 'put':
13137
- items.forEach(function (item) {
13138
- _this.cache = _this.cache.replaceBy('id', item.id, item);
13139
- });
13140
- break;
13141
- case 'delete':
13142
- this.cache = this.cache.removeBy('id', items.map(function (item) { return item.id; }));
13143
- }
13144
- this.cacheSubject.next(this.cache);
13145
- };
13146
- /**
13147
- * Generate and dispatch rest event
13148
- */
13149
- RestService.prototype.dispatchEvent = function (method, items) {
13150
- var eventName = this.modelClass.getEventName(method);
13151
- this.eventDispatcherService.dispatch2(new AppEvent2(eventName, items));
13152
- };
13153
- /**
13154
- * Create new instance of class
13155
- * @param model The class whose instance to be created
13156
- * @param plain Single object or array from which will be created model instance(s)
13157
- */
13158
- RestService.prototype.createModelInstance = function (model, plain) {
13159
- // excludePrefixes - class-transformer option is using to ignore hydra fields
13160
- return classTransformer.plainToClass(model, plain, { excludePrefixes: ['@'] });
13161
- };
13162
- RestService.prototype.createCollectionInstance = function (collectionClass, items) {
13163
- return new collectionClass(items);
13164
- };
13165
- /**
13166
- * Check if method is not disabled. Throw exception otherwise.
13167
- * Some entities does not have endpoints for all methods.
13168
- */
13169
- RestService.prototype.handleAccessError = function (method) {
13170
- if (!this.disabledMethods.includes(method)) {
13171
- return;
13172
- }
13173
- throw new Error("Method " + method + "() is not allowed for " + this.constructor.name);
13174
- };
13175
- /**
13176
- * Subscribe to http events and run callback
13177
- * @param type The class whose changes should be listened for
13178
- * @param methods The list of http methods should be listened for
13179
- * @param callback The function to be called when event triggered
13180
- */
13181
- RestService.prototype.listenCSE = function (modelClass, methods, callback) {
13182
- var _this = this;
13183
- methods.forEach(function (method) {
13184
- _this.eventDispatcherService.on2(modelClass.getEventName(method)).subscribe(function (data) {
13185
- callback(data);
13186
- });
13187
- });
13188
- };
13189
- /**
13190
- * Method that call all listeners. Empty by default. Should be redefined by child services if required
13191
- */
13192
- RestService.prototype.listenEvents = function () { };
13193
- return RestService;
13194
- }());
13195
- RestService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RestService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13196
- RestService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RestService, providedIn: 'root' });
13197
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RestService, decorators: [{
13198
- type: i0.Injectable,
13199
- args: [{
13200
- providedIn: 'root'
13201
- }]
13202
- }], ctorParameters: function () {
13203
- return [{ type: i1__namespace.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
13204
- type: i0.Inject,
13205
- args: ['environment']
13206
- }] }];
13207
- } });
13208
-
13209
- /**
13210
- * Service that handling banks logic
13211
- */
13212
- var BankService = /** @class */ (function (_super) {
13213
- __extends(BankService, _super);
13214
- function BankService() {
13215
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
13216
- _this.modelClass = Bank;
13217
- _this.collectionClass = Collection;
13218
- _this.entityUrl = 'banks';
13219
- _this.isApiPlatform = true;
13220
- _this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
13221
- return _this;
13222
- }
13223
- BankService.prototype.get = function () {
13224
- return _super.prototype.get.call(this)
13225
- .pipe(operators.map(function (banks) {
13226
- // exclude basiq banks without login fields (basiq may return broken banks without loginFields)
13227
- return banks.filter(function (bank) { return bank.isManual || (!!bank.externalId && !!bank.loginFields); });
13228
- }));
13229
- };
13230
- return BankService;
13231
- }(RestService));
13232
- BankService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
13233
- BankService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankService, providedIn: 'root' });
13234
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankService, decorators: [{
13235
- type: i0.Injectable,
13236
- args: [{
13237
- providedIn: 'root'
13238
- }]
13239
- }] });
13240
-
13241
- /**
13242
- * Service to work with depreciation chart accounts
13243
- */
13244
- var ChartAccountsDepreciationService = /** @class */ (function (_super) {
13245
- __extends(ChartAccountsDepreciationService, _super);
13246
- function ChartAccountsDepreciationService() {
13247
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
13248
- _this.url = 'chart-accounts-depreciations';
13249
- _this.modelClass = ChartAccountsDepreciation;
13250
- _this.isHydra = true;
13251
- return _this;
13252
- }
13253
- /**
13254
- * Get depreciation chart accounts for current financial year
13255
- */
13256
- ChartAccountsDepreciationService.prototype.getCurrent = function () {
13257
- return this.get()
13258
- .pipe(operators.map(function (chartAccountsDepreciations) {
13259
- return chartAccountsDepreciations
13260
- .find(function (chartAccountsDepreciation) {
13261
- return chartAccountsDepreciation.effectiveYear === new FinancialYear().year;
13262
- });
13263
- }));
13264
- };
13265
- return ChartAccountsDepreciationService;
13266
- }(RestService$1));
13267
- ChartAccountsDepreciationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChartAccountsDepreciationService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
13268
- ChartAccountsDepreciationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChartAccountsDepreciationService, providedIn: 'root' });
13269
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChartAccountsDepreciationService, decorators: [{
13270
- type: i0.Injectable,
13271
- args: [{
13272
- providedIn: 'root'
13273
- }]
13274
- }] });
13275
-
13276
- /**
13277
- * Chart accounts service
13278
- */
13279
- var ChartAccountsService = /** @class */ (function () {
13280
- function ChartAccountsService(http, environment) {
13281
- this.http = http;
13282
- this.environment = environment;
13283
- this.chartAccountsSubject = new rxjs.ReplaySubject(1);
13284
- }
13285
- /**
13286
- * get all parent and child chart accounts and group it
13287
- */
13288
- ChartAccountsService.prototype.getChartAccounts = function () {
13064
+ ChartAccountsService.prototype.getChartAccounts = function () {
13289
13065
  var _this = this;
13290
13066
  if (!this._chartAccounts) {
13291
13067
  this._chartAccounts = [];
@@ -13350,9 +13126,9 @@
13350
13126
  };
13351
13127
  return ChartAccountsService;
13352
13128
  }());
13353
- ChartAccountsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChartAccountsService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13354
- ChartAccountsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChartAccountsService, providedIn: 'root' });
13355
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChartAccountsService, decorators: [{
13129
+ ChartAccountsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13130
+ ChartAccountsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsService, providedIn: 'root' });
13131
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsService, decorators: [{
13356
13132
  type: i0.Injectable,
13357
13133
  args: [{
13358
13134
  providedIn: 'root'
@@ -13404,9 +13180,9 @@
13404
13180
  };
13405
13181
  return MessageService;
13406
13182
  }(RestService$1));
13407
- MessageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MessageService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13408
- MessageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MessageService, providedIn: 'root' });
13409
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MessageService, decorators: [{
13183
+ MessageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13184
+ MessageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageService, providedIn: 'root' });
13185
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageService, decorators: [{
13410
13186
  type: i0.Injectable,
13411
13187
  args: [{
13412
13188
  providedIn: 'root'
@@ -13520,9 +13296,9 @@
13520
13296
  };
13521
13297
  return MessageDocumentService;
13522
13298
  }());
13523
- MessageDocumentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MessageDocumentService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13524
- MessageDocumentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MessageDocumentService, providedIn: 'root' });
13525
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MessageDocumentService, decorators: [{
13299
+ MessageDocumentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageDocumentService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13300
+ MessageDocumentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageDocumentService, providedIn: 'root' });
13301
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageDocumentService, decorators: [{
13526
13302
  type: i0.Injectable,
13527
13303
  args: [{
13528
13304
  providedIn: 'root'
@@ -13603,9 +13379,9 @@
13603
13379
  };
13604
13380
  return ChatService;
13605
13381
  }(RestService$1));
13606
- ChatService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChatService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13607
- ChatService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChatService, providedIn: 'root' });
13608
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChatService, decorators: [{
13382
+ ChatService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChatService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13383
+ ChatService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChatService, providedIn: 'root' });
13384
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChatService, decorators: [{
13609
13385
  type: i0.Injectable,
13610
13386
  args: [{
13611
13387
  providedIn: 'root'
@@ -13678,9 +13454,9 @@
13678
13454
  };
13679
13455
  return ReceiptService;
13680
13456
  }());
13681
- ReceiptService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ReceiptService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13682
- ReceiptService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ReceiptService, providedIn: 'root' });
13683
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ReceiptService, decorators: [{
13457
+ ReceiptService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ReceiptService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13458
+ ReceiptService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ReceiptService, providedIn: 'root' });
13459
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ReceiptService, decorators: [{
13684
13460
  type: i0.Injectable,
13685
13461
  args: [{
13686
13462
  providedIn: 'root'
@@ -13714,9 +13490,9 @@
13714
13490
  }
13715
13491
  return DepreciationReceiptService;
13716
13492
  }(ReceiptService));
13717
- DepreciationReceiptService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationReceiptService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13718
- DepreciationReceiptService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationReceiptService, providedIn: 'root' });
13719
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationReceiptService, decorators: [{
13493
+ DepreciationReceiptService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationReceiptService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13494
+ DepreciationReceiptService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationReceiptService, providedIn: 'root' });
13495
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationReceiptService, decorators: [{
13720
13496
  type: i0.Injectable,
13721
13497
  args: [{
13722
13498
  providedIn: 'root'
@@ -13882,9 +13658,9 @@
13882
13658
  };
13883
13659
  return DepreciationService;
13884
13660
  }(RestService$1));
13885
- DepreciationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: DepreciationReceiptService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13886
- DepreciationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationService, providedIn: 'root' });
13887
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationService, decorators: [{
13661
+ DepreciationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: DepreciationReceiptService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13662
+ DepreciationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationService, providedIn: 'root' });
13663
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationService, decorators: [{
13888
13664
  type: i0.Injectable,
13889
13665
  args: [{
13890
13666
  providedIn: 'root'
@@ -13943,9 +13719,9 @@
13943
13719
  };
13944
13720
  return DepreciationCapitalProjectService;
13945
13721
  }());
13946
- DepreciationCapitalProjectService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationCapitalProjectService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13947
- DepreciationCapitalProjectService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationCapitalProjectService, providedIn: 'root' });
13948
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DepreciationCapitalProjectService, decorators: [{
13722
+ DepreciationCapitalProjectService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationCapitalProjectService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13723
+ DepreciationCapitalProjectService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationCapitalProjectService, providedIn: 'root' });
13724
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationCapitalProjectService, decorators: [{
13949
13725
  type: i0.Injectable,
13950
13726
  args: [{
13951
13727
  providedIn: 'root'
@@ -13967,9 +13743,9 @@
13967
13743
  }
13968
13744
  return DocumentService;
13969
13745
  }(RestService$1));
13970
- DocumentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
13971
- DocumentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentService, providedIn: 'root' });
13972
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentService, decorators: [{
13746
+ DocumentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
13747
+ DocumentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentService, providedIn: 'root' });
13748
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentService, decorators: [{
13973
13749
  type: i0.Injectable,
13974
13750
  args: [{
13975
13751
  providedIn: 'root'
@@ -14041,9 +13817,9 @@
14041
13817
  };
14042
13818
  return DocumentFolderService;
14043
13819
  }(RestService$1));
14044
- DocumentFolderService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentFolderService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14045
- DocumentFolderService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentFolderService, providedIn: 'root' });
14046
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentFolderService, decorators: [{
13820
+ DocumentFolderService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentFolderService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
13821
+ DocumentFolderService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentFolderService, providedIn: 'root' });
13822
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentFolderService, decorators: [{
14047
13823
  type: i0.Injectable,
14048
13824
  args: [{
14049
13825
  providedIn: 'root'
@@ -14132,9 +13908,9 @@
14132
13908
  auth_type: 'rerequest',
14133
13909
  return_scopes: true
14134
13910
  };
14135
- FacebookService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FacebookService, deps: [{ token: i1__namespace.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i1__namespace$1.Router }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
14136
- FacebookService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FacebookService, providedIn: 'root' });
14137
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FacebookService, decorators: [{
13911
+ FacebookService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FacebookService, deps: [{ token: i1__namespace.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i1__namespace$1.Router }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13912
+ FacebookService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FacebookService, providedIn: 'root' });
13913
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FacebookService, decorators: [{
14138
13914
  type: i0.Injectable,
14139
13915
  args: [{
14140
13916
  providedIn: 'root'
@@ -14182,9 +13958,9 @@
14182
13958
  };
14183
13959
  return ClientIncomeTypesService;
14184
13960
  }());
14185
- ClientIncomeTypesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientIncomeTypesService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
14186
- ClientIncomeTypesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientIncomeTypesService, providedIn: 'root' });
14187
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientIncomeTypesService, decorators: [{
13961
+ ClientIncomeTypesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientIncomeTypesService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
13962
+ ClientIncomeTypesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientIncomeTypesService, providedIn: 'root' });
13963
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientIncomeTypesService, decorators: [{
14188
13964
  type: i0.Injectable,
14189
13965
  args: [{
14190
13966
  providedIn: 'root'
@@ -14313,9 +14089,9 @@
14313
14089
  };
14314
14090
  return ClientInviteService;
14315
14091
  }(RestService$1));
14316
- ClientInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14317
- ClientInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientInviteService, providedIn: 'root' });
14318
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientInviteService, decorators: [{
14092
+ ClientInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14093
+ ClientInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientInviteService, providedIn: 'root' });
14094
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientInviteService, decorators: [{
14319
14095
  type: i0.Injectable,
14320
14096
  args: [{
14321
14097
  providedIn: 'root'
@@ -14402,9 +14178,9 @@
14402
14178
  };
14403
14179
  return ClientMovementService;
14404
14180
  }(RestService$1));
14405
- ClientMovementService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientMovementService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14406
- ClientMovementService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientMovementService, providedIn: 'root' });
14407
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientMovementService, decorators: [{
14181
+ ClientMovementService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientMovementService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14182
+ ClientMovementService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientMovementService, providedIn: 'root' });
14183
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientMovementService, decorators: [{
14408
14184
  type: i0.Injectable,
14409
14185
  args: [{
14410
14186
  providedIn: 'root'
@@ -14437,9 +14213,9 @@
14437
14213
  };
14438
14214
  return EmployeeService;
14439
14215
  }(RestService$1));
14440
- EmployeeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EmployeeService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14441
- EmployeeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EmployeeService, providedIn: 'root' });
14442
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EmployeeService, decorators: [{
14216
+ EmployeeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14217
+ EmployeeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeService, providedIn: 'root' });
14218
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeService, decorators: [{
14443
14219
  type: i0.Injectable,
14444
14220
  args: [{
14445
14221
  providedIn: 'root'
@@ -14486,9 +14262,9 @@
14486
14262
  };
14487
14263
  return EmployeeInviteService;
14488
14264
  }(RestService$1));
14489
- EmployeeInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EmployeeInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14490
- EmployeeInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EmployeeInviteService, providedIn: 'root' });
14491
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EmployeeInviteService, decorators: [{
14265
+ EmployeeInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14266
+ EmployeeInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeInviteService, providedIn: 'root' });
14267
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeInviteService, decorators: [{
14492
14268
  type: i0.Injectable,
14493
14269
  args: [{
14494
14270
  providedIn: 'root'
@@ -14514,9 +14290,9 @@
14514
14290
  };
14515
14291
  return ClientPortfolioReportService;
14516
14292
  }());
14517
- ClientPortfolioReportService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientPortfolioReportService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
14518
- ClientPortfolioReportService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientPortfolioReportService, providedIn: 'root' });
14519
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ClientPortfolioReportService, decorators: [{
14293
+ ClientPortfolioReportService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientPortfolioReportService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
14294
+ ClientPortfolioReportService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientPortfolioReportService, providedIn: 'root' });
14295
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientPortfolioReportService, decorators: [{
14520
14296
  type: i0.Injectable,
14521
14297
  args: [{
14522
14298
  providedIn: 'root'
@@ -14592,9 +14368,9 @@
14592
14368
  };
14593
14369
  return FirmService;
14594
14370
  }());
14595
- FirmService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FirmService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
14596
- FirmService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FirmService, providedIn: 'root' });
14597
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FirmService, decorators: [{
14371
+ FirmService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FirmService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
14372
+ FirmService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FirmService, providedIn: 'root' });
14373
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FirmService, decorators: [{
14598
14374
  type: i0.Injectable,
14599
14375
  args: [{
14600
14376
  providedIn: 'root'
@@ -14674,9 +14450,9 @@
14674
14450
  };
14675
14451
  return IncomeSourceForecastService;
14676
14452
  }(RestService$1));
14677
- IncomeSourceForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IncomeSourceForecastService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14678
- IncomeSourceForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IncomeSourceForecastService, providedIn: 'root' });
14679
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IncomeSourceForecastService, decorators: [{
14453
+ IncomeSourceForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceForecastService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14454
+ IncomeSourceForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceForecastService, providedIn: 'root' });
14455
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceForecastService, decorators: [{
14680
14456
  type: i0.Injectable,
14681
14457
  args: [{
14682
14458
  providedIn: 'root'
@@ -14751,9 +14527,9 @@
14751
14527
  };
14752
14528
  return SalaryForecastService;
14753
14529
  }(RestService$1));
14754
- SalaryForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SalaryForecastService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14755
- SalaryForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SalaryForecastService, providedIn: 'root' });
14756
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SalaryForecastService, decorators: [{
14530
+ SalaryForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SalaryForecastService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14531
+ SalaryForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SalaryForecastService, providedIn: 'root' });
14532
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SalaryForecastService, decorators: [{
14757
14533
  type: i0.Injectable,
14758
14534
  args: [{
14759
14535
  providedIn: 'root'
@@ -14835,9 +14611,9 @@
14835
14611
  };
14836
14612
  return SoleForecastService;
14837
14613
  }(RestService$1));
14838
- SoleForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleForecastService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14839
- SoleForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleForecastService, providedIn: 'root' });
14840
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleForecastService, decorators: [{
14614
+ SoleForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleForecastService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14615
+ SoleForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleForecastService, providedIn: 'root' });
14616
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleForecastService, decorators: [{
14841
14617
  type: i0.Injectable,
14842
14618
  args: [{
14843
14619
  providedIn: 'root'
@@ -14945,9 +14721,9 @@
14945
14721
  };
14946
14722
  return IncomeSourceService;
14947
14723
  }(RestService$1));
14948
- IncomeSourceService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IncomeSourceService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14949
- IncomeSourceService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IncomeSourceService, providedIn: 'root' });
14950
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IncomeSourceService, decorators: [{
14724
+ IncomeSourceService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14725
+ IncomeSourceService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceService, providedIn: 'root' });
14726
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceService, decorators: [{
14951
14727
  type: i0.Injectable,
14952
14728
  args: [{
14953
14729
  providedIn: 'root'
@@ -15009,9 +14785,9 @@
15009
14785
  };
15010
14786
  return BorrowingExpenseService;
15011
14787
  }());
15012
- BorrowingExpenseService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BorrowingExpenseService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
15013
- BorrowingExpenseService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BorrowingExpenseService, providedIn: 'root' });
15014
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BorrowingExpenseService, decorators: [{
14788
+ BorrowingExpenseService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BorrowingExpenseService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
14789
+ BorrowingExpenseService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BorrowingExpenseService, providedIn: 'root' });
14790
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BorrowingExpenseService, decorators: [{
15015
14791
  type: i0.Injectable,
15016
14792
  args: [{
15017
14793
  providedIn: 'root'
@@ -15149,9 +14925,9 @@
15149
14925
  };
15150
14926
  return LoanService;
15151
14927
  }(RestService$1));
15152
- LoanService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LoanService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15153
- LoanService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LoanService, providedIn: 'root' });
15154
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LoanService, decorators: [{
14928
+ LoanService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LoanService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14929
+ LoanService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LoanService, providedIn: 'root' });
14930
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LoanService, decorators: [{
15155
14931
  type: i0.Injectable,
15156
14932
  args: [{
15157
14933
  providedIn: 'root'
@@ -15171,9 +14947,9 @@
15171
14947
  }
15172
14948
  return PropertyCategoryService;
15173
14949
  }(RestService$1));
15174
- PropertyCategoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCategoryService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15175
- PropertyCategoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCategoryService, providedIn: 'root' });
15176
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCategoryService, decorators: [{
14950
+ PropertyCategoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14951
+ PropertyCategoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryService, providedIn: 'root' });
14952
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryService, decorators: [{
15177
14953
  type: i0.Injectable,
15178
14954
  args: [{
15179
14955
  providedIn: 'root'
@@ -15217,9 +14993,9 @@
15217
14993
  };
15218
14994
  return PropertyCategoryMovementService;
15219
14995
  }(RestService$1));
15220
- PropertyCategoryMovementService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCategoryMovementService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15221
- PropertyCategoryMovementService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCategoryMovementService, providedIn: 'root' });
15222
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCategoryMovementService, decorators: [{
14996
+ PropertyCategoryMovementService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryMovementService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
14997
+ PropertyCategoryMovementService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryMovementService, providedIn: 'root' });
14998
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryMovementService, decorators: [{
15223
14999
  type: i0.Injectable,
15224
15000
  args: [{
15225
15001
  providedIn: 'root'
@@ -15276,9 +15052,9 @@
15276
15052
  };
15277
15053
  return PropertyDocumentService;
15278
15054
  }(RestService$1));
15279
- PropertyDocumentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyDocumentService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15280
- PropertyDocumentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyDocumentService, providedIn: 'root' });
15281
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyDocumentService, decorators: [{
15055
+ PropertyDocumentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyDocumentService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15056
+ PropertyDocumentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyDocumentService, providedIn: 'root' });
15057
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyDocumentService, decorators: [{
15282
15058
  type: i0.Injectable,
15283
15059
  args: [{
15284
15060
  providedIn: 'root'
@@ -15296,9 +15072,9 @@
15296
15072
  }
15297
15073
  return TaxExemptionService;
15298
15074
  }(RestService$1));
15299
- TaxExemptionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxExemptionService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15300
- TaxExemptionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxExemptionService, providedIn: 'root' });
15301
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxExemptionService, decorators: [{
15075
+ TaxExemptionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxExemptionService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15076
+ TaxExemptionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxExemptionService, providedIn: 'root' });
15077
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxExemptionService, decorators: [{
15302
15078
  type: i0.Injectable,
15303
15079
  args: [{
15304
15080
  providedIn: 'root'
@@ -15314,160 +15090,392 @@
15314
15090
  return _this;
15315
15091
  }
15316
15092
  /**
15317
- * @Todo should be extended from the RestService
15093
+ * @Todo should be extended from the RestService
15094
+ */
15095
+ PropertySaleService.prototype.add = function (model) {
15096
+ var _this = this;
15097
+ return _super.prototype.add.call(this, model).pipe(operators.map(function (newPropertySale) {
15098
+ _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.PROPERTY_SALE_ADDED, newPropertySale));
15099
+ return newPropertySale;
15100
+ }));
15101
+ };
15102
+ /**
15103
+ * @Todo should be extended from the RestService
15104
+ */
15105
+ PropertySaleService.prototype.delete = function (model) {
15106
+ var _this = this;
15107
+ return _super.prototype.delete.call(this, model).pipe(operators.map(function () {
15108
+ _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.PROPERTY_SALE_DELETED, model));
15109
+ }));
15110
+ };
15111
+ return PropertySaleService;
15112
+ }(RestService$1));
15113
+ PropertySaleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertySaleService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15114
+ PropertySaleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertySaleService, providedIn: 'root' });
15115
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertySaleService, decorators: [{
15116
+ type: i0.Injectable,
15117
+ args: [{
15118
+ providedIn: 'root'
15119
+ }]
15120
+ }] });
15121
+
15122
+ // @TODO check and improve logic during refactoring
15123
+ var PropertyShareService = /** @class */ (function (_super) {
15124
+ __extends(PropertyShareService, _super);
15125
+ function PropertyShareService() {
15126
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
15127
+ // api url parameter for properties shares
15128
+ _this.url = 'properties/shares';
15129
+ _this.modelClass = PropertyShare;
15130
+ return _this;
15131
+ }
15132
+ /**
15133
+ * Listen to Event Dispatcher events
15134
+ */
15135
+ PropertyShareService.prototype.listenEvents = function () {
15136
+ this.listenUserUpdated();
15137
+ this.listenSalesAdded();
15138
+ this.listenSalesDeleted();
15139
+ };
15140
+ /**
15141
+ * Updated loan
15142
+ */
15143
+ PropertyShareService.prototype.update = function (propertyShare) {
15144
+ var _this = this;
15145
+ return this.http.put(this.environment.apiV2 + "/" + this.url + "/" + propertyShare.id, propertyShare)
15146
+ .pipe(operators.map(function (updatedPropertyShareBase) {
15147
+ var updatedPropertyShare = classTransformer.plainToClass(PropertyShare, updatedPropertyShareBase);
15148
+ // if loan type is NOT vehicle - fire EventDispatcher event
15149
+ _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.PROPERTY_SHARE_UPDATED, null));
15150
+ replace(_this.cache, updatedPropertyShare);
15151
+ _this.updateCache();
15152
+ return updatedPropertyShare;
15153
+ }));
15154
+ };
15155
+ /**
15156
+ * Re-invite property share
15157
+ * @param share user to share property
15158
+ */
15159
+ PropertyShareService.prototype.reinvite = function (share) {
15160
+ return this.http.post(this.environment.apiV2 + "/" + this.url + "/" + share.id + "/reinvite", {});
15161
+ };
15162
+ PropertyShareService.prototype.getIncoming = function () {
15163
+ return this.get()
15164
+ .pipe(operators.map(function (propertyShares) {
15165
+ var propertySharesIncoming = [];
15166
+ propertyShares.forEach(function (propertyShare) {
15167
+ var _a;
15168
+ if (((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId')) {
15169
+ propertySharesIncoming.push(propertyShare);
15170
+ }
15171
+ });
15172
+ return propertySharesIncoming;
15173
+ }));
15174
+ };
15175
+ /**
15176
+ * Get outcoming property shares list
15177
+ */
15178
+ PropertyShareService.prototype.getOutcoming = function () {
15179
+ var _this = this;
15180
+ return this.get().pipe(operators.map(function (propertyShares) {
15181
+ return _this.filterOutcoming(propertyShares);
15182
+ }));
15183
+ };
15184
+ /**
15185
+ * Filter outcoming property shares
15186
+ */
15187
+ PropertyShareService.prototype.filterOutcoming = function (propertyShares) {
15188
+ var propertySharesOutcoming = [];
15189
+ propertyShares.forEach(function (propertyShare) {
15190
+ var _a;
15191
+ if (!((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
15192
+ propertySharesOutcoming.push(propertyShare);
15193
+ }
15194
+ });
15195
+ return propertySharesOutcoming;
15196
+ };
15197
+ PropertyShareService.prototype.getByPropertyId = function (propertyId) {
15198
+ return this.get()
15199
+ .pipe(operators.map(function (propertyShares) {
15200
+ return propertyShares.filter(function (propertyShare) { return propertyShare.property.id === propertyId; });
15201
+ }));
15202
+ };
15203
+ /**
15204
+ * Listen to User updated event
15205
+ */
15206
+ PropertyShareService.prototype.listenUserUpdated = function () {
15207
+ var _this = this;
15208
+ this.eventDispatcherService.on(exports.AppEventTypeEnum.USER_UPDATED)
15209
+ .subscribe(function () {
15210
+ _this.fetch().subscribe(function (propertyShares) {
15211
+ _this.cache = propertyShares;
15212
+ _this.updateCache();
15213
+ });
15214
+ });
15215
+ };
15216
+ /**
15217
+ * @Todo Alex refactor after PropertyShare functionality in PropertyService will be cleared up
15218
+ */
15219
+ PropertyShareService.prototype.listenSalesAdded = function () {
15220
+ var _this = this;
15221
+ this.eventDispatcherService.on(exports.AppEventTypeEnum.PROPERTY_SALE_ADDED).subscribe(function (propertySale) {
15222
+ var shareToReplace = _this.find(propertySale.share.id);
15223
+ shareToReplace.sale = classTransformer.plainToClass(PropertySale, { id: propertySale.id });
15224
+ replace(_this.cache, shareToReplace);
15225
+ _this.updateCache();
15226
+ });
15227
+ };
15228
+ PropertyShareService.prototype.listenSalesDeleted = function () {
15229
+ var _this = this;
15230
+ this.eventDispatcherService.on(exports.AppEventTypeEnum.PROPERTY_SALE_DELETED).subscribe(function (propertySale) {
15231
+ var shareToReplace = _this.find(propertySale.share.id);
15232
+ shareToReplace.sale = null;
15233
+ replace(_this.cache, shareToReplace);
15234
+ _this.updateCache();
15235
+ });
15236
+ };
15237
+ return PropertyShareService;
15238
+ }(RestService$1));
15239
+ PropertyShareService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15240
+ PropertyShareService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, providedIn: 'root' });
15241
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, decorators: [{
15242
+ type: i0.Injectable,
15243
+ args: [{
15244
+ providedIn: 'root'
15245
+ }]
15246
+ }] });
15247
+
15248
+ /**
15249
+ * Abstract base service that implements common services functionality
15250
+ * and describe abstract methods/properties that have to be implemented in child services
15251
+ * Model - entity service is working with
15252
+ * BaseModel - base entity model that extends by Model
15253
+ * CollectionModel - entity collection class
15254
+ */
15255
+ var RestService = /** @class */ (function () {
15256
+ function RestService(http, eventDispatcherService, environment) {
15257
+ this.http = http;
15258
+ this.eventDispatcherService = eventDispatcherService;
15259
+ this.environment = environment;
15260
+ /**
15261
+ * Subject for service cache
15262
+ */
15263
+ this.cacheSubject = new rxjs.ReplaySubject(1);
15264
+ /**
15265
+ * List of methods unavailable for current API
15266
+ */
15267
+ this.disabledMethods = [];
15268
+ this.listenEvents();
15269
+ }
15270
+ Object.defineProperty(RestService.prototype, "apiUrl", {
15271
+ get: function () {
15272
+ return this.environment.apiV2 + "/" + this.entityUrl;
15273
+ },
15274
+ enumerable: false,
15275
+ configurable: true
15276
+ });
15277
+ RestService.prototype.get = function () {
15278
+ this.handleAccessError('get');
15279
+ // Set cache as empty collection to avoid multiple requests before cache filled
15280
+ if (!this.cache) {
15281
+ this.cache = this.createCollectionInstance(this.collectionClass, []);
15282
+ this.resetCache();
15283
+ }
15284
+ return this.cacheSubject.asObservable();
15285
+ };
15286
+ ;
15287
+ RestService.prototype.getSingle = function () {
15288
+ this.handleAccessError('get');
15289
+ return this.get().pipe(operators.map(function (collection) { return collection.first; }));
15290
+ };
15291
+ /**
15292
+ * Create a new Model instance in database
15293
+ */
15294
+ RestService.prototype.post = function (model) {
15295
+ var _this = this;
15296
+ this.handleAccessError('post');
15297
+ return this.http.post(this.apiUrl, model)
15298
+ .pipe(operators.map(function (response) {
15299
+ var result = _this.createModelInstance(_this.modelClass, response);
15300
+ _this.handleResponse([result], 'post');
15301
+ return result;
15302
+ }));
15303
+ };
15304
+ /**
15305
+ * Create multiple new Model instances in database
15306
+ */
15307
+ RestService.prototype.postBatch = function (models) {
15308
+ var _this = this;
15309
+ this.handleAccessError('postBatch');
15310
+ return this.http.post(this.apiUrl, models)
15311
+ .pipe(operators.map(function (response) {
15312
+ var result = response.map(function (item) { return _this.createModelInstance(_this.modelClass, item); });
15313
+ _this.handleResponse(result, 'post');
15314
+ return result;
15315
+ }));
15316
+ };
15317
+ /**
15318
+ * Change an existing Model instance in database
15319
+ */
15320
+ RestService.prototype.put = function (model) {
15321
+ var _this = this;
15322
+ this.handleAccessError('put');
15323
+ return this.http.put(this.apiUrl + "/" + model.id, model)
15324
+ .pipe(operators.map(function (response) {
15325
+ var result = _this.createModelInstance(_this.modelClass, response);
15326
+ _this.handleResponse([result], 'put');
15327
+ return result;
15328
+ }));
15329
+ };
15330
+ /**
15331
+ * Change multiple existing Model instances in database
15332
+ */
15333
+ RestService.prototype.putBatch = function (models) {
15334
+ var _this = this;
15335
+ this.handleAccessError('putBatch');
15336
+ return this.http.put(this.apiUrl, models)
15337
+ .pipe(operators.map(function (response) {
15338
+ var result = response.map(function (item) { return _this.createModelInstance(_this.modelClass, item); });
15339
+ _this.handleResponse(result, 'put');
15340
+ return result;
15341
+ }));
15342
+ };
15343
+ /**
15344
+ * Remove a Model instance from database
15318
15345
  */
15319
- PropertySaleService.prototype.add = function (model) {
15346
+ RestService.prototype.delete = function (model) {
15320
15347
  var _this = this;
15321
- return _super.prototype.add.call(this, model).pipe(operators.map(function (newPropertySale) {
15322
- _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.PROPERTY_SALE_ADDED, newPropertySale));
15323
- return newPropertySale;
15348
+ this.handleAccessError('delete');
15349
+ return this.http.delete(this.apiUrl + "/" + model.id)
15350
+ .pipe(operators.map(function () {
15351
+ _this.handleResponse([model], 'delete');
15324
15352
  }));
15325
15353
  };
15326
15354
  /**
15327
- * @Todo should be extended from the RestService
15355
+ * Remove multiple Model instances from database
15328
15356
  */
15329
- PropertySaleService.prototype.delete = function (model) {
15357
+ RestService.prototype.deleteBatch = function (models) {
15330
15358
  var _this = this;
15331
- return _super.prototype.delete.call(this, model).pipe(operators.map(function () {
15332
- _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.PROPERTY_SALE_DELETED, model));
15359
+ this.handleAccessError('deleteBatch');
15360
+ return this.http.post(this.apiUrl + "/delete", models)
15361
+ .pipe(operators.map(function () {
15362
+ _this.handleResponse(models, 'delete');
15333
15363
  }));
15334
15364
  };
15335
- return PropertySaleService;
15336
- }(RestService$1));
15337
- PropertySaleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertySaleService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15338
- PropertySaleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertySaleService, providedIn: 'root' });
15339
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertySaleService, decorators: [{
15340
- type: i0.Injectable,
15341
- args: [{
15342
- providedIn: 'root'
15343
- }]
15344
- }] });
15345
-
15346
- // @TODO check and improve logic during refactoring
15347
- var PropertyShareService = /** @class */ (function (_super) {
15348
- __extends(PropertyShareService, _super);
15349
- function PropertyShareService() {
15350
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
15351
- // api url parameter for properties shares
15352
- _this.url = 'properties/shares';
15353
- _this.modelClass = PropertyShare;
15354
- return _this;
15355
- }
15356
15365
  /**
15357
- * Listen to Event Dispatcher events
15366
+ * Refresh cache with actual backend data
15358
15367
  */
15359
- PropertyShareService.prototype.listenEvents = function () {
15360
- this.listenUserUpdated();
15361
- this.listenSalesAdded();
15362
- this.listenSalesDeleted();
15368
+ RestService.prototype.resetCache = function () {
15369
+ this.fetch()
15370
+ .pipe(operators.first())
15371
+ .subscribe();
15363
15372
  };
15364
15373
  /**
15365
- * Updated loan
15374
+ * Get data from backend and fill the cache
15366
15375
  */
15367
- PropertyShareService.prototype.update = function (propertyShare) {
15376
+ RestService.prototype.fetch = function () {
15368
15377
  var _this = this;
15369
- return this.http.put(this.environment.apiV2 + "/" + this.url + "/" + propertyShare.id, propertyShare)
15370
- .pipe(operators.map(function (updatedPropertyShareBase) {
15371
- var updatedPropertyShare = classTransformer.plainToClass(PropertyShare, updatedPropertyShareBase);
15372
- // if loan type is NOT vehicle - fire EventDispatcher event
15373
- _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.PROPERTY_SHARE_UPDATED, null));
15374
- replace(_this.cache, updatedPropertyShare);
15375
- _this.updateCache();
15376
- return updatedPropertyShare;
15378
+ return this.http.get(this.apiUrl)
15379
+ .pipe(operators.map(function (response) { return _this.isApiPlatform ? response['hydra:member'] : toArray(response); }), operators.map(function (response) {
15380
+ var items = response.map(function (item) { return _this.createModelInstance(_this.modelClass, item); });
15381
+ _this.cache = _this.createCollectionInstance(_this.collectionClass, items);
15382
+ _this.cacheSubject.next(_this.cache);
15383
+ return _this.cache;
15377
15384
  }));
15378
15385
  };
15386
+ ;
15379
15387
  /**
15380
- * Re-invite property share
15381
- * @param share user to share property
15388
+ * Handle response data - update cache and dispatch event if it is needed
15382
15389
  */
15383
- PropertyShareService.prototype.reinvite = function (share) {
15384
- return this.http.post(this.environment.apiV2 + "/" + this.url + "/" + share.id + "/reinvite", {});
15385
- };
15386
- PropertyShareService.prototype.getIncoming = function () {
15387
- return this.get()
15388
- .pipe(operators.map(function (propertyShares) {
15389
- var propertySharesIncoming = [];
15390
- propertyShares.forEach(function (propertyShare) {
15391
- var _a;
15392
- if (((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId')) {
15393
- propertySharesIncoming.push(propertyShare);
15394
- }
15395
- });
15396
- return propertySharesIncoming;
15397
- }));
15390
+ RestService.prototype.handleResponse = function (response, method) {
15391
+ this.updateCache(response, method);
15392
+ // dispatch event for interested services
15393
+ if (response[0] instanceof ObservableModel) {
15394
+ this.dispatchEvent(method, response);
15395
+ }
15398
15396
  };
15399
15397
  /**
15400
- * Get outcoming property shares list
15398
+ * Update cache with passed items. Add/Update detects automatically, Delete via optional flag
15401
15399
  */
15402
- PropertyShareService.prototype.getOutcoming = function () {
15400
+ RestService.prototype.updateCache = function (items, method) {
15401
+ var _a;
15403
15402
  var _this = this;
15404
- return this.get().pipe(operators.map(function (propertyShares) {
15405
- return _this.filterOutcoming(propertyShares);
15406
- }));
15403
+ switch (method) {
15404
+ case 'post':
15405
+ this.cache = (_a = this.cache).push.apply(_a, __spreadArray([], __read(items)));
15406
+ break;
15407
+ case 'put':
15408
+ items.forEach(function (item) {
15409
+ _this.cache = _this.cache.replaceBy('id', item.id, item);
15410
+ });
15411
+ break;
15412
+ case 'delete':
15413
+ this.cache = this.cache.removeBy('id', items.map(function (item) { return item.id; }));
15414
+ }
15415
+ this.cacheSubject.next(this.cache);
15407
15416
  };
15408
15417
  /**
15409
- * Filter outcoming property shares
15418
+ * Generate and dispatch rest event
15410
15419
  */
15411
- PropertyShareService.prototype.filterOutcoming = function (propertyShares) {
15412
- var propertySharesOutcoming = [];
15413
- propertyShares.forEach(function (propertyShare) {
15414
- var _a;
15415
- if (!((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
15416
- propertySharesOutcoming.push(propertyShare);
15417
- }
15418
- });
15419
- return propertySharesOutcoming;
15420
- };
15421
- PropertyShareService.prototype.getByPropertyId = function (propertyId) {
15422
- return this.get()
15423
- .pipe(operators.map(function (propertyShares) {
15424
- return propertyShares.filter(function (propertyShare) { return propertyShare.property.id === propertyId; });
15425
- }));
15420
+ RestService.prototype.dispatchEvent = function (method, items) {
15421
+ var eventName = this.modelClass.getEventName(method);
15422
+ this.eventDispatcherService.dispatch2(new AppEvent2(eventName, items));
15426
15423
  };
15427
15424
  /**
15428
- * Listen to User updated event
15425
+ * Create new instance of class
15426
+ * @param model The class whose instance to be created
15427
+ * @param plain Single object or array from which will be created model instance(s)
15429
15428
  */
15430
- PropertyShareService.prototype.listenUserUpdated = function () {
15431
- var _this = this;
15432
- this.eventDispatcherService.on(exports.AppEventTypeEnum.USER_UPDATED)
15433
- .subscribe(function () {
15434
- _this.fetch().subscribe(function (propertyShares) {
15435
- _this.cache = propertyShares;
15436
- _this.updateCache();
15437
- });
15438
- });
15429
+ RestService.prototype.createModelInstance = function (model, plain) {
15430
+ // excludePrefixes - class-transformer option is using to ignore hydra fields
15431
+ return classTransformer.plainToClass(model, plain, { excludePrefixes: ['@'] });
15432
+ };
15433
+ RestService.prototype.createCollectionInstance = function (collectionClass, items) {
15434
+ return new collectionClass(items);
15439
15435
  };
15440
15436
  /**
15441
- * @Todo Alex refactor after PropertyShare functionality in PropertyService will be cleared up
15437
+ * Check if method is not disabled. Throw exception otherwise.
15438
+ * Some entities does not have endpoints for all methods.
15442
15439
  */
15443
- PropertyShareService.prototype.listenSalesAdded = function () {
15444
- var _this = this;
15445
- this.eventDispatcherService.on(exports.AppEventTypeEnum.PROPERTY_SALE_ADDED).subscribe(function (propertySale) {
15446
- var shareToReplace = _this.find(propertySale.share.id);
15447
- shareToReplace.sale = classTransformer.plainToClass(PropertySale, { id: propertySale.id });
15448
- replace(_this.cache, shareToReplace);
15449
- _this.updateCache();
15450
- });
15440
+ RestService.prototype.handleAccessError = function (method) {
15441
+ if (!this.disabledMethods.includes(method)) {
15442
+ return;
15443
+ }
15444
+ throw new Error("Method " + method + "() is not allowed for " + this.constructor.name);
15451
15445
  };
15452
- PropertyShareService.prototype.listenSalesDeleted = function () {
15446
+ /**
15447
+ * Subscribe to http events and run callback
15448
+ * @param type The class whose changes should be listened for
15449
+ * @param methods The list of http methods should be listened for
15450
+ * @param callback The function to be called when event triggered
15451
+ */
15452
+ RestService.prototype.listenCSE = function (modelClass, methods, callback) {
15453
15453
  var _this = this;
15454
- this.eventDispatcherService.on(exports.AppEventTypeEnum.PROPERTY_SALE_DELETED).subscribe(function (propertySale) {
15455
- var shareToReplace = _this.find(propertySale.share.id);
15456
- shareToReplace.sale = null;
15457
- replace(_this.cache, shareToReplace);
15458
- _this.updateCache();
15454
+ methods.forEach(function (method) {
15455
+ _this.eventDispatcherService.on2(modelClass.getEventName(method)).subscribe(function (data) {
15456
+ callback(data);
15457
+ });
15459
15458
  });
15460
15459
  };
15461
- return PropertyShareService;
15462
- }(RestService$1));
15463
- PropertyShareService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyShareService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15464
- PropertyShareService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyShareService, providedIn: 'root' });
15465
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyShareService, decorators: [{
15460
+ /**
15461
+ * Method that call all listeners. Empty by default. Should be redefined by child services if required
15462
+ */
15463
+ RestService.prototype.listenEvents = function () { };
15464
+ return RestService;
15465
+ }());
15466
+ RestService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
15467
+ RestService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService, providedIn: 'root' });
15468
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService, decorators: [{
15466
15469
  type: i0.Injectable,
15467
15470
  args: [{
15468
15471
  providedIn: 'root'
15469
15472
  }]
15470
- }] });
15473
+ }], ctorParameters: function () {
15474
+ return [{ type: i1__namespace.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
15475
+ type: i0.Inject,
15476
+ args: ['environment']
15477
+ }] }];
15478
+ } });
15471
15479
 
15472
15480
  /**
15473
15481
  * @Todo Alex remove functionality related to PropertyShare
@@ -15586,9 +15594,9 @@
15586
15594
  };
15587
15595
  return PropertyService;
15588
15596
  }(RestService));
15589
- PropertyService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15590
- PropertyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyService, providedIn: 'root' });
15591
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyService, decorators: [{
15597
+ PropertyService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15598
+ PropertyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyService, providedIn: 'root' });
15599
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyService, decorators: [{
15592
15600
  type: i0.Injectable,
15593
15601
  args: [{
15594
15602
  providedIn: 'root'
@@ -15636,9 +15644,9 @@
15636
15644
  };
15637
15645
  return ServiceNotificationService;
15638
15646
  }(RestService$1));
15639
- ServiceNotificationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServiceNotificationService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
15640
- ServiceNotificationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServiceNotificationService, providedIn: 'root' });
15641
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServiceNotificationService, decorators: [{
15647
+ ServiceNotificationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServiceNotificationService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
15648
+ ServiceNotificationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServiceNotificationService, providedIn: 'root' });
15649
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServiceNotificationService, decorators: [{
15642
15650
  type: i0.Injectable,
15643
15651
  args: [{
15644
15652
  providedIn: 'root'
@@ -15694,9 +15702,9 @@
15694
15702
  };
15695
15703
  return SoleBusinessService;
15696
15704
  }(RestService$1));
15697
- SoleBusinessService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15698
- SoleBusinessService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessService, providedIn: 'root' });
15699
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessService, decorators: [{
15705
+ SoleBusinessService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15706
+ SoleBusinessService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessService, providedIn: 'root' });
15707
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessService, decorators: [{
15700
15708
  type: i0.Injectable,
15701
15709
  args: [{
15702
15710
  providedIn: 'root'
@@ -15714,9 +15722,9 @@
15714
15722
  }
15715
15723
  return SoleBusinessActivityService;
15716
15724
  }(RestService$1));
15717
- SoleBusinessActivityService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessActivityService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15718
- SoleBusinessActivityService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessActivityService, providedIn: 'root' });
15719
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessActivityService, decorators: [{
15725
+ SoleBusinessActivityService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessActivityService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15726
+ SoleBusinessActivityService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessActivityService, providedIn: 'root' });
15727
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessActivityService, decorators: [{
15720
15728
  type: i0.Injectable,
15721
15729
  args: [{
15722
15730
  providedIn: 'root'
@@ -15746,9 +15754,9 @@
15746
15754
  };
15747
15755
  return SoleBusinessLossService;
15748
15756
  }(RestService$1));
15749
- SoleBusinessLossService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessLossService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15750
- SoleBusinessLossService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessLossService, providedIn: 'root' });
15751
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessLossService, decorators: [{
15757
+ SoleBusinessLossService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessLossService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15758
+ SoleBusinessLossService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessLossService, providedIn: 'root' });
15759
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessLossService, decorators: [{
15752
15760
  type: i0.Injectable,
15753
15761
  args: [{
15754
15762
  providedIn: 'root'
@@ -15769,9 +15777,9 @@
15769
15777
  }
15770
15778
  return SoleBusinessLossOffsetRuleService;
15771
15779
  }(RestService$1));
15772
- SoleBusinessLossOffsetRuleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15773
- SoleBusinessLossOffsetRuleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
15774
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleBusinessLossOffsetRuleService, decorators: [{
15780
+ SoleBusinessLossOffsetRuleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15781
+ SoleBusinessLossOffsetRuleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
15782
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessLossOffsetRuleService, decorators: [{
15775
15783
  type: i0.Injectable,
15776
15784
  args: [{
15777
15785
  providedIn: 'root'
@@ -15789,9 +15797,9 @@
15789
15797
  }
15790
15798
  return SoleContactService;
15791
15799
  }(RestService$1));
15792
- SoleContactService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleContactService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15793
- SoleContactService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleContactService, providedIn: 'root' });
15794
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleContactService, decorators: [{
15800
+ SoleContactService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleContactService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
15801
+ SoleContactService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleContactService, providedIn: 'root' });
15802
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleContactService, decorators: [{
15795
15803
  type: i0.Injectable,
15796
15804
  args: [{
15797
15805
  providedIn: 'root'
@@ -15851,9 +15859,9 @@
15851
15859
  };
15852
15860
  return SoleDepreciationMethodService;
15853
15861
  }());
15854
- SoleDepreciationMethodService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleDepreciationMethodService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
15855
- SoleDepreciationMethodService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleDepreciationMethodService, providedIn: 'root' });
15856
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleDepreciationMethodService, decorators: [{
15862
+ SoleDepreciationMethodService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleDepreciationMethodService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
15863
+ SoleDepreciationMethodService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleDepreciationMethodService, providedIn: 'root' });
15864
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleDepreciationMethodService, decorators: [{
15857
15865
  type: i0.Injectable,
15858
15866
  args: [{
15859
15867
  providedIn: 'root'
@@ -15912,9 +15920,9 @@
15912
15920
  };
15913
15921
  return SoleDetailsService;
15914
15922
  }());
15915
- SoleDetailsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleDetailsService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
15916
- SoleDetailsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleDetailsService, providedIn: 'root' });
15917
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleDetailsService, decorators: [{
15923
+ SoleDetailsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleDetailsService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
15924
+ SoleDetailsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleDetailsService, providedIn: 'root' });
15925
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleDetailsService, decorators: [{
15918
15926
  type: i0.Injectable,
15919
15927
  args: [{
15920
15928
  providedIn: 'root'
@@ -15997,9 +16005,9 @@
15997
16005
  };
15998
16006
  return SoleInvoiceService;
15999
16007
  }(RestService$1));
16000
- SoleInvoiceService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleInvoiceService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16001
- SoleInvoiceService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleInvoiceService, providedIn: 'root' });
16002
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleInvoiceService, decorators: [{
16008
+ SoleInvoiceService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleInvoiceService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16009
+ SoleInvoiceService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleInvoiceService, providedIn: 'root' });
16010
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleInvoiceService, decorators: [{
16003
16011
  type: i0.Injectable,
16004
16012
  args: [{
16005
16013
  providedIn: 'root'
@@ -16017,9 +16025,9 @@
16017
16025
  }
16018
16026
  return SoleInvoiceTemplateService;
16019
16027
  }(RestService$1));
16020
- SoleInvoiceTemplateService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleInvoiceTemplateService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16021
- SoleInvoiceTemplateService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleInvoiceTemplateService, providedIn: 'root' });
16022
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SoleInvoiceTemplateService, decorators: [{
16028
+ SoleInvoiceTemplateService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleInvoiceTemplateService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16029
+ SoleInvoiceTemplateService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleInvoiceTemplateService, providedIn: 'root' });
16030
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleInvoiceTemplateService, decorators: [{
16023
16031
  type: i0.Injectable,
16024
16032
  args: [{
16025
16033
  providedIn: 'root'
@@ -16037,9 +16045,9 @@
16037
16045
  }
16038
16046
  return BasReportService;
16039
16047
  }(RestService$1));
16040
- BasReportService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasReportService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16041
- BasReportService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasReportService, providedIn: 'root' });
16042
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BasReportService, decorators: [{
16048
+ BasReportService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasReportService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16049
+ BasReportService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasReportService, providedIn: 'root' });
16050
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasReportService, decorators: [{
16043
16051
  type: i0.Injectable,
16044
16052
  args: [{
16045
16053
  providedIn: 'root'
@@ -16060,9 +16068,9 @@
16060
16068
  }
16061
16069
  return ServicePriceService;
16062
16070
  }(RestService$1));
16063
- ServicePriceService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServicePriceService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16064
- ServicePriceService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServicePriceService, providedIn: 'root' });
16065
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServicePriceService, decorators: [{
16071
+ ServicePriceService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServicePriceService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16072
+ ServicePriceService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServicePriceService, providedIn: 'root' });
16073
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServicePriceService, decorators: [{
16066
16074
  type: i0.Injectable,
16067
16075
  args: [{
16068
16076
  providedIn: 'root'
@@ -16189,9 +16197,9 @@
16189
16197
  };
16190
16198
  return SubscriptionService;
16191
16199
  }());
16192
- SubscriptionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SubscriptionService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16193
- SubscriptionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SubscriptionService, providedIn: 'root' });
16194
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SubscriptionService, decorators: [{
16200
+ SubscriptionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SubscriptionService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16201
+ SubscriptionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SubscriptionService, providedIn: 'root' });
16202
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SubscriptionService, decorators: [{
16195
16203
  type: i0.Injectable,
16196
16204
  args: [{
16197
16205
  providedIn: 'root'
@@ -16232,9 +16240,9 @@
16232
16240
  };
16233
16241
  return TaxReviewHistoryService;
16234
16242
  }(RestService$1));
16235
- TaxReviewHistoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxReviewHistoryService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16236
- TaxReviewHistoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxReviewHistoryService, providedIn: 'root' });
16237
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxReviewHistoryService, decorators: [{
16243
+ TaxReviewHistoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewHistoryService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16244
+ TaxReviewHistoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewHistoryService, providedIn: 'root' });
16245
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewHistoryService, decorators: [{
16238
16246
  type: i0.Injectable,
16239
16247
  args: [{
16240
16248
  providedIn: 'root'
@@ -16331,9 +16339,9 @@
16331
16339
  };
16332
16340
  return TaxReviewService;
16333
16341
  }(RestService$1));
16334
- TaxReviewService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxReviewService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16335
- TaxReviewService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxReviewService, providedIn: 'root' });
16336
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxReviewService, decorators: [{
16342
+ TaxReviewService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16343
+ TaxReviewService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewService, providedIn: 'root' });
16344
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewService, decorators: [{
16337
16345
  type: i0.Injectable,
16338
16346
  args: [{
16339
16347
  providedIn: 'root'
@@ -16394,9 +16402,9 @@
16394
16402
  };
16395
16403
  return TaxSummaryService;
16396
16404
  }());
16397
- TaxSummaryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxSummaryService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16398
- TaxSummaryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxSummaryService, providedIn: 'root' });
16399
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TaxSummaryService, decorators: [{
16405
+ TaxSummaryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxSummaryService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16406
+ TaxSummaryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxSummaryService, providedIn: 'root' });
16407
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxSummaryService, decorators: [{
16400
16408
  type: i0.Injectable,
16401
16409
  args: [{
16402
16410
  providedIn: 'root'
@@ -16503,9 +16511,9 @@
16503
16511
  };
16504
16512
  return TransactionAllocationService;
16505
16513
  }(RestService$1));
16506
- TransactionAllocationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionAllocationService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16507
- TransactionAllocationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionAllocationService, providedIn: 'root' });
16508
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionAllocationService, decorators: [{
16514
+ TransactionAllocationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionAllocationService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16515
+ TransactionAllocationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionAllocationService, providedIn: 'root' });
16516
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionAllocationService, decorators: [{
16509
16517
  type: i0.Injectable,
16510
16518
  args: [{
16511
16519
  providedIn: 'root'
@@ -16534,9 +16542,9 @@
16534
16542
  }
16535
16543
  return TransactionReceiptService;
16536
16544
  }(ReceiptService));
16537
- TransactionReceiptService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionReceiptService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16538
- TransactionReceiptService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionReceiptService, providedIn: 'root' });
16539
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionReceiptService, decorators: [{
16545
+ TransactionReceiptService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionReceiptService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16546
+ TransactionReceiptService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionReceiptService, providedIn: 'root' });
16547
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionReceiptService, decorators: [{
16540
16548
  type: i0.Injectable,
16541
16549
  args: [{
16542
16550
  providedIn: 'root'
@@ -16875,9 +16883,9 @@
16875
16883
  };
16876
16884
  return TransactionService;
16877
16885
  }(RestService$1));
16878
- TransactionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16879
- TransactionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionService, providedIn: 'root' });
16880
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionService, decorators: [{
16886
+ TransactionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16887
+ TransactionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionService, providedIn: 'root' });
16888
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionService, decorators: [{
16881
16889
  type: i0.Injectable,
16882
16890
  args: [{
16883
16891
  providedIn: 'root'
@@ -16909,9 +16917,9 @@
16909
16917
  }());
16910
16918
  TutorialVideoService.googleUrl = "https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name";
16911
16919
  TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
16912
- TutorialVideoService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TutorialVideoService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16913
- TutorialVideoService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TutorialVideoService, providedIn: 'root' });
16914
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TutorialVideoService, decorators: [{
16920
+ TutorialVideoService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TutorialVideoService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
16921
+ TutorialVideoService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TutorialVideoService, providedIn: 'root' });
16922
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TutorialVideoService, decorators: [{
16915
16923
  type: i0.Injectable,
16916
16924
  args: [{
16917
16925
  providedIn: 'root'
@@ -16936,9 +16944,9 @@
16936
16944
  }
16937
16945
  return VehicleService;
16938
16946
  }(RestService$1));
16939
- VehicleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16940
- VehicleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleService, providedIn: 'root' });
16941
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleService, decorators: [{
16947
+ VehicleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
16948
+ VehicleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleService, providedIn: 'root' });
16949
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleService, decorators: [{
16942
16950
  type: i0.Injectable,
16943
16951
  args: [{
16944
16952
  providedIn: 'root'
@@ -17019,9 +17027,9 @@
17019
17027
  };
17020
17028
  return VehicleClaimService;
17021
17029
  }(RestService$1));
17022
- VehicleClaimService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleClaimService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17023
- VehicleClaimService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleClaimService, providedIn: 'root' });
17024
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleClaimService, decorators: [{
17030
+ VehicleClaimService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleClaimService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17031
+ VehicleClaimService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleClaimService, providedIn: 'root' });
17032
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleClaimService, decorators: [{
17025
17033
  type: i0.Injectable,
17026
17034
  args: [{
17027
17035
  providedIn: 'root'
@@ -17103,9 +17111,9 @@
17103
17111
  };
17104
17112
  return VehicleClaimDetailsService;
17105
17113
  }());
17106
- VehicleClaimDetailsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1__namespace.HttpClient }, { token: EventDispatcherService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17107
- VehicleClaimDetailsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleClaimDetailsService, providedIn: 'root' });
17108
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleClaimDetailsService, decorators: [{
17114
+ VehicleClaimDetailsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1__namespace.HttpClient }, { token: EventDispatcherService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17115
+ VehicleClaimDetailsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleClaimDetailsService, providedIn: 'root' });
17116
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleClaimDetailsService, decorators: [{
17109
17117
  type: i0.Injectable,
17110
17118
  args: [{
17111
17119
  providedIn: 'root'
@@ -17130,9 +17138,9 @@
17130
17138
  }
17131
17139
  return VehicleLogbookService;
17132
17140
  }(RestService$1));
17133
- VehicleLogbookService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleLogbookService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17134
- VehicleLogbookService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleLogbookService, providedIn: 'root' });
17135
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VehicleLogbookService, decorators: [{
17141
+ VehicleLogbookService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleLogbookService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17142
+ VehicleLogbookService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleLogbookService, providedIn: 'root' });
17143
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleLogbookService, decorators: [{
17136
17144
  type: i0.Injectable,
17137
17145
  args: [{
17138
17146
  providedIn: 'root'
@@ -17167,9 +17175,9 @@
17167
17175
  };
17168
17176
  return OccupationService;
17169
17177
  }());
17170
- OccupationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OccupationService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17171
- OccupationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OccupationService, providedIn: 'root' });
17172
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OccupationService, decorators: [{
17178
+ OccupationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: OccupationService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17179
+ OccupationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: OccupationService, providedIn: 'root' });
17180
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: OccupationService, decorators: [{
17173
17181
  type: i0.Injectable,
17174
17182
  args: [{
17175
17183
  providedIn: 'root'
@@ -17219,9 +17227,9 @@
17219
17227
  };
17220
17228
  return UserEventSettingService;
17221
17229
  }(RestService$1));
17222
- UserEventSettingService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserEventSettingService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17223
- UserEventSettingService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserEventSettingService, providedIn: 'root' });
17224
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserEventSettingService, decorators: [{
17230
+ UserEventSettingService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventSettingService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17231
+ UserEventSettingService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventSettingService, providedIn: 'root' });
17232
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventSettingService, decorators: [{
17225
17233
  type: i0.Injectable,
17226
17234
  args: [{
17227
17235
  providedIn: 'root'
@@ -17239,9 +17247,9 @@
17239
17247
  }
17240
17248
  return UserEventTypeService;
17241
17249
  }(RestService$1));
17242
- UserEventTypeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserEventTypeService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17243
- UserEventTypeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserEventTypeService, providedIn: 'root' });
17244
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UserEventTypeService, decorators: [{
17250
+ UserEventTypeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventTypeService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17251
+ UserEventTypeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventTypeService, providedIn: 'root' });
17252
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventTypeService, decorators: [{
17245
17253
  type: i0.Injectable,
17246
17254
  args: [{
17247
17255
  providedIn: 'root'
@@ -17261,9 +17269,9 @@
17261
17269
  }
17262
17270
  return UsersInviteService;
17263
17271
  }(RestService$1));
17264
- UsersInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UsersInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17265
- UsersInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UsersInviteService, providedIn: 'root' });
17266
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: UsersInviteService, decorators: [{
17272
+ UsersInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UsersInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17273
+ UsersInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UsersInviteService, providedIn: 'root' });
17274
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UsersInviteService, decorators: [{
17267
17275
  type: i0.Injectable,
17268
17276
  args: [{
17269
17277
  providedIn: 'root'
@@ -17462,9 +17470,9 @@
17462
17470
  };
17463
17471
  return AccountSetupService;
17464
17472
  }());
17465
- AccountSetupService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17466
- AccountSetupService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AccountSetupService, providedIn: 'root' });
17467
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AccountSetupService, decorators: [{
17473
+ AccountSetupService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17474
+ AccountSetupService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AccountSetupService, providedIn: 'root' });
17475
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AccountSetupService, decorators: [{
17468
17476
  type: i0.Injectable,
17469
17477
  args: [{
17470
17478
  providedIn: 'root'
@@ -17492,9 +17500,9 @@
17492
17500
  };
17493
17501
  return RewardfulService;
17494
17502
  }());
17495
- RewardfulService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RewardfulService, deps: [{ token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17496
- RewardfulService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RewardfulService, providedIn: 'root' });
17497
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RewardfulService, decorators: [{
17503
+ RewardfulService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RewardfulService, deps: [{ token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17504
+ RewardfulService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RewardfulService, providedIn: 'root' });
17505
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RewardfulService, decorators: [{
17498
17506
  type: i0.Injectable,
17499
17507
  args: [{
17500
17508
  providedIn: 'root'
@@ -17542,9 +17550,9 @@
17542
17550
  };
17543
17551
  return AssetsService;
17544
17552
  }());
17545
- AssetsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AssetsService, deps: [{ token: i1__namespace.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17546
- AssetsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AssetsService, providedIn: 'root' });
17547
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AssetsService, decorators: [{
17553
+ AssetsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AssetsService, deps: [{ token: i1__namespace.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17554
+ AssetsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AssetsService, providedIn: 'root' });
17555
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: AssetsService, decorators: [{
17548
17556
  type: i0.Injectable,
17549
17557
  args: [{
17550
17558
  providedIn: 'root'
@@ -17614,9 +17622,9 @@
17614
17622
  };
17615
17623
  return BankTransactionCalculationService;
17616
17624
  }());
17617
- BankTransactionCalculationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankTransactionCalculationService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17618
- BankTransactionCalculationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankTransactionCalculationService, providedIn: 'root' });
17619
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankTransactionCalculationService, decorators: [{
17625
+ BankTransactionCalculationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionCalculationService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17626
+ BankTransactionCalculationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionCalculationService, providedIn: 'root' });
17627
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionCalculationService, decorators: [{
17620
17628
  type: i0.Injectable,
17621
17629
  args: [{
17622
17630
  providedIn: 'root'
@@ -17646,9 +17654,9 @@
17646
17654
  };
17647
17655
  return BankAccountCalculationService;
17648
17656
  }());
17649
- BankAccountCalculationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17650
- BankAccountCalculationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankAccountCalculationService, providedIn: 'root' });
17651
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BankAccountCalculationService, decorators: [{
17657
+ BankAccountCalculationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17658
+ BankAccountCalculationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountCalculationService, providedIn: 'root' });
17659
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountCalculationService, decorators: [{
17652
17660
  type: i0.Injectable,
17653
17661
  args: [{
17654
17662
  providedIn: 'root'
@@ -17675,9 +17683,9 @@
17675
17683
  };
17676
17684
  return ExportFormatterService;
17677
17685
  }());
17678
- ExportFormatterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ExportFormatterService, deps: [{ token: i1__namespace$2.CurrencyPipe }, { token: i1__namespace$2.DatePipe }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17679
- ExportFormatterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ExportFormatterService, providedIn: 'root' });
17680
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ExportFormatterService, decorators: [{
17686
+ ExportFormatterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ExportFormatterService, deps: [{ token: i1__namespace$2.CurrencyPipe }, { token: i1__namespace$2.DatePipe }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17687
+ ExportFormatterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ExportFormatterService, providedIn: 'root' });
17688
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ExportFormatterService, decorators: [{
17681
17689
  type: i0.Injectable,
17682
17690
  args: [{
17683
17691
  providedIn: 'root'
@@ -17700,9 +17708,9 @@
17700
17708
  };
17701
17709
  return HeaderTitleService;
17702
17710
  }());
17703
- HeaderTitleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeaderTitleService, deps: [{ token: i1__namespace$1.Router }, { token: i1__namespace$1.ActivatedRoute }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17704
- HeaderTitleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeaderTitleService, providedIn: 'root' });
17705
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeaderTitleService, decorators: [{
17711
+ HeaderTitleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: HeaderTitleService, deps: [{ token: i1__namespace$1.Router }, { token: i1__namespace$1.ActivatedRoute }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17712
+ HeaderTitleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: HeaderTitleService, providedIn: 'root' });
17713
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: HeaderTitleService, decorators: [{
17706
17714
  type: i0.Injectable,
17707
17715
  args: [{
17708
17716
  providedIn: 'root'
@@ -17737,9 +17745,9 @@
17737
17745
  };
17738
17746
  return IntercomService;
17739
17747
  }());
17740
- IntercomService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntercomService, deps: [{ token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17741
- IntercomService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntercomService, providedIn: 'root' });
17742
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntercomService, decorators: [{
17748
+ IntercomService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IntercomService, deps: [{ token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17749
+ IntercomService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IntercomService, providedIn: 'root' });
17750
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IntercomService, decorators: [{
17743
17751
  type: i0.Injectable,
17744
17752
  args: [{
17745
17753
  providedIn: 'root'
@@ -17806,9 +17814,9 @@
17806
17814
  };
17807
17815
  return PdfFromDomElementService;
17808
17816
  }());
17809
- PdfFromDomElementService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromDomElementService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17810
- PdfFromDomElementService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromDomElementService, providedIn: 'root' });
17811
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromDomElementService, decorators: [{
17817
+ PdfFromDomElementService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromDomElementService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17818
+ PdfFromDomElementService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromDomElementService, providedIn: 'root' });
17819
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromDomElementService, decorators: [{
17812
17820
  type: i0.Injectable,
17813
17821
  args: [{
17814
17822
  providedIn: 'root'
@@ -17891,9 +17899,9 @@
17891
17899
  };
17892
17900
  return PdfFromTableService;
17893
17901
  }());
17894
- PdfFromTableService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromTableService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17895
- PdfFromTableService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromTableService, providedIn: 'root' });
17896
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromTableService, decorators: [{
17902
+ PdfFromTableService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromTableService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17903
+ PdfFromTableService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromTableService, providedIn: 'root' });
17904
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromTableService, decorators: [{
17897
17905
  type: i0.Injectable,
17898
17906
  args: [{
17899
17907
  providedIn: 'root'
@@ -17929,9 +17937,9 @@
17929
17937
  };
17930
17938
  return PdfFromDataTableService;
17931
17939
  }(PdfFromTableService));
17932
- PdfFromDataTableService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17933
- PdfFromDataTableService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromDataTableService, providedIn: 'root' });
17934
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromDataTableService, decorators: [{
17940
+ PdfFromDataTableService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
17941
+ PdfFromDataTableService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromDataTableService, providedIn: 'root' });
17942
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromDataTableService, decorators: [{
17935
17943
  type: i0.Injectable,
17936
17944
  args: [{
17937
17945
  providedIn: 'root'
@@ -17970,9 +17978,9 @@
17970
17978
  };
17971
17979
  return PdfFromHtmlTableService;
17972
17980
  }(PdfFromTableService));
17973
- PdfFromHtmlTableService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromHtmlTableService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17974
- PdfFromHtmlTableService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromHtmlTableService, providedIn: 'root' });
17975
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PdfFromHtmlTableService, decorators: [{
17981
+ PdfFromHtmlTableService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromHtmlTableService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
17982
+ PdfFromHtmlTableService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromHtmlTableService, providedIn: 'root' });
17983
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PdfFromHtmlTableService, decorators: [{
17976
17984
  type: i0.Injectable,
17977
17985
  args: [{
17978
17986
  providedIn: 'root'
@@ -18006,9 +18014,9 @@
18006
18014
  };
18007
18015
  return EquityPositionChartService;
18008
18016
  }());
18009
- EquityPositionChartService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EquityPositionChartService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18010
- EquityPositionChartService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EquityPositionChartService, providedIn: 'root' });
18011
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EquityPositionChartService, decorators: [{
18017
+ EquityPositionChartService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EquityPositionChartService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18018
+ EquityPositionChartService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EquityPositionChartService, providedIn: 'root' });
18019
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EquityPositionChartService, decorators: [{
18012
18020
  type: i0.Injectable,
18013
18021
  args: [{
18014
18022
  providedIn: 'root'
@@ -18196,9 +18204,9 @@
18196
18204
  };
18197
18205
  return PropertyCalculationService;
18198
18206
  }());
18199
- PropertyCalculationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCalculationService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18200
- PropertyCalculationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCalculationService, providedIn: 'root' });
18201
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyCalculationService, decorators: [{
18207
+ PropertyCalculationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCalculationService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18208
+ PropertyCalculationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCalculationService, providedIn: 'root' });
18209
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCalculationService, decorators: [{
18202
18210
  type: i0.Injectable,
18203
18211
  args: [{
18204
18212
  providedIn: 'root'
@@ -18255,9 +18263,9 @@
18255
18263
  };
18256
18264
  return PropertyTransactionReportService;
18257
18265
  }());
18258
- PropertyTransactionReportService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18259
- PropertyTransactionReportService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyTransactionReportService, providedIn: 'root' });
18260
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PropertyTransactionReportService, decorators: [{
18266
+ PropertyTransactionReportService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18267
+ PropertyTransactionReportService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyTransactionReportService, providedIn: 'root' });
18268
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyTransactionReportService, decorators: [{
18261
18269
  type: i0.Injectable,
18262
18270
  args: [{
18263
18271
  providedIn: 'root'
@@ -18339,9 +18347,9 @@
18339
18347
  };
18340
18348
  return TransactionCalculationService;
18341
18349
  }());
18342
- TransactionCalculationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionCalculationService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18343
- TransactionCalculationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionCalculationService, providedIn: 'root' });
18344
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TransactionCalculationService, decorators: [{
18350
+ TransactionCalculationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionCalculationService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18351
+ TransactionCalculationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionCalculationService, providedIn: 'root' });
18352
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionCalculationService, decorators: [{
18345
18353
  type: i0.Injectable,
18346
18354
  args: [{
18347
18355
  providedIn: 'root'
@@ -18405,9 +18413,9 @@
18405
18413
  };
18406
18414
  return LogbookBestPeriodService;
18407
18415
  }());
18408
- LogbookBestPeriodService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18409
- LogbookBestPeriodService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LogbookBestPeriodService, providedIn: 'root' });
18410
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LogbookBestPeriodService, decorators: [{
18416
+ LogbookBestPeriodService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18417
+ LogbookBestPeriodService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LogbookBestPeriodService, providedIn: 'root' });
18418
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LogbookBestPeriodService, decorators: [{
18411
18419
  type: i0.Injectable,
18412
18420
  args: [{
18413
18421
  providedIn: 'root'
@@ -18451,9 +18459,9 @@
18451
18459
  };
18452
18460
  return XlsxService;
18453
18461
  }());
18454
- XlsxService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: XlsxService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18455
- XlsxService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: XlsxService, providedIn: 'root' });
18456
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: XlsxService, decorators: [{
18462
+ XlsxService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: XlsxService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
18463
+ XlsxService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: XlsxService, providedIn: 'root' });
18464
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: XlsxService, decorators: [{
18457
18465
  type: i0.Injectable,
18458
18466
  args: [{
18459
18467
  providedIn: 'root'
@@ -21021,14 +21029,60 @@
21021
21029
 
21022
21030
  var TransactionForm = /** @class */ (function (_super) {
21023
21031
  __extends(TransactionForm, _super);
21024
- function TransactionForm(transaction, registeredForGst, controls) {
21032
+ function TransactionForm(transaction, registeredForGst, allocations, controls) {
21025
21033
  if (controls === void 0) { controls = {}; }
21026
- var _this = _super.call(this, transaction, registeredForGst, controls) || this;
21034
+ var _this = _super.call(this, transaction, registeredForGst, Object.assign(controls, { transactions: new forms.FormArray([]) })) || this;
21035
+ // convert child transactions to controls
21036
+ transaction.transactions.map(function (transaction) {
21037
+ _this.addTransactionControl(transaction);
21038
+ });
21039
+ // forbid to add transactions before property ownership
21027
21040
  if (transaction.property) {
21028
21041
  _this.get('date').addValidators(minDateValidator(transaction.property.myShare.fromDate, MessagesEnum.DATE_VALIDATION_ERROR));
21029
21042
  }
21043
+ // property usually comes with fees, add empty control for new transactions
21044
+ if (!transaction.id && transaction.property && !transaction.transactions.length) {
21045
+ _this.addTransactionControl();
21046
+ }
21047
+ // forbid to edit amount for allocated transactions to prevent wrong allocations
21048
+ if (allocations.length) {
21049
+ _this.get('amount').disable();
21050
+ _this.get('date').disable();
21051
+ }
21030
21052
  return _this;
21031
21053
  }
21054
+ TransactionForm.prototype.addTransactionControl = function (transaction) {
21055
+ if (transaction === void 0) { transaction = classTransformer.plainToClass(Transaction, {}); }
21056
+ var formGroup = new forms.FormGroup({
21057
+ id: new forms.FormControl(transaction.id),
21058
+ chartAccounts: new forms.FormControl(transaction.chartAccounts, [forms.Validators.required, autocompleteValidator()]),
21059
+ amount: new forms.FormControl(Math.abs(transaction.amount), [forms.Validators.required]),
21060
+ });
21061
+ this.get('transactions').push(formGroup);
21062
+ };
21063
+ TransactionForm.prototype.removeTransactionControl = function (index) {
21064
+ this.get('transactions').removeAt(index);
21065
+ };
21066
+ /**
21067
+ * income transactions might include adjustments (child transactions), like tips or fees.
21068
+ * Adjustments inherit most of the fields from parent transaction
21069
+ */
21070
+ TransactionForm.prototype.buildTransactions = function (transaction) {
21071
+ var _this = this;
21072
+ return this.get('transactions').value.map(function (childTransaction) { return Object.assign({
21073
+ description: childTransaction.chartAccounts.name,
21074
+ date: transaction.date,
21075
+ claimPercent: transaction.claimPercent,
21076
+ source: exports.TransactionSourceEnum.BANK_TRANSACTION,
21077
+ type: childTransaction.chartAccounts.isExpense() ? exports.TransactionTypeEnum.DEBIT : exports.TransactionTypeEnum.CREDIT,
21078
+ incomeSource: transaction.incomeSource,
21079
+ property: transaction.property
21080
+ }, _this.model.transactions.find(function (transaction) { return transaction.id === childTransaction['id']; }) || {}, childTransaction); });
21081
+ };
21082
+ TransactionForm.prototype.submit = function (data) {
21083
+ if (data === void 0) { data = {}; }
21084
+ return _super.prototype.submit.call(this, Object.assign(data, { transactions: this.buildTransactions(this.currentValue) }));
21085
+ };
21032
21086
  return TransactionForm;
21033
21087
  }(TransactionBaseForm));
21034
21088
 
@@ -21037,9 +21091,8 @@
21037
21091
  function WorkIncomeForm(transaction, registeredForGst, allocations) {
21038
21092
  var _this = this;
21039
21093
  var _a;
21040
- _this = _super.call(this, transaction, registeredForGst, {
21041
- // @TODO move to TransactionForm, since other transactions could have it too
21042
- transactions: new forms.FormArray([]),
21094
+ _this = _super.call(this, transaction, registeredForGst, allocations, {
21095
+ // additional data related to work income (like tax instalments)
21043
21096
  metadata: new forms.FormArray((transaction.metadata || []).map(function (transactionMetadata) {
21044
21097
  return new forms.FormGroup({
21045
21098
  value: new forms.FormControl(transactionMetadata.value),
@@ -21052,15 +21105,11 @@
21052
21105
  }, forms.Validators.required),
21053
21106
  incomeSource: new forms.FormControl(transaction.incomeSource, [forms.Validators.required, autocompleteValidator()]),
21054
21107
  }) || this;
21055
- // @TODO vik move to TransactionForm
21056
- if (allocations.length) {
21057
- _this.get('amount').disable();
21058
- _this.get('date').disable();
21059
- }
21060
21108
  // salary adjustments (like tips)
21061
- transaction.transactions.map(function (transaction) {
21062
- _this.addTransactionControl(transaction);
21063
- });
21109
+ if (transaction.id) {
21110
+ _this.get('amount').setValue(_this.getAmount(transaction));
21111
+ _this.get('chartAccounts').disable();
21112
+ }
21064
21113
  if (!((_a = transaction.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalary())) {
21065
21114
  _this.get('transactions').disable();
21066
21115
  }
@@ -21091,12 +21140,14 @@
21091
21140
  return;
21092
21141
  }
21093
21142
  _this.buildMetadataForm();
21143
+ // tax make no sense for pre-paying tax category
21094
21144
  if (value.isNRAS()) {
21095
21145
  _this.get('tax').disable();
21096
21146
  }
21097
21147
  else {
21098
21148
  _this.get('tax').enable();
21099
21149
  }
21150
+ // adjustments possible only for salary chartAccounts
21100
21151
  if (value.isSalary()) {
21101
21152
  _this.get('transactions').enable();
21102
21153
  }
@@ -21120,37 +21171,28 @@
21120
21171
  }));
21121
21172
  });
21122
21173
  };
21123
- WorkIncomeForm.prototype.addTransactionControl = function (transaction) {
21124
- if (transaction === void 0) { transaction = classTransformer.plainToClass(Transaction, {}); }
21125
- var formGroup = new forms.FormGroup({
21126
- id: new forms.FormControl(transaction.id),
21127
- chartAccounts: new forms.FormControl(transaction.chartAccounts, [forms.Validators.required, autocompleteValidator()]),
21128
- amount: new forms.FormControl(Math.abs(transaction.amount), [forms.Validators.required]),
21129
- });
21130
- this.get('transactions').push(formGroup);
21131
- };
21132
- WorkIncomeForm.prototype.removeTransactionControl = function (index) {
21133
- this.get('transactions').removeAt(index);
21134
- };
21135
21174
  /**
21136
- * salary transactions might include adjustments (child transactions), like tips or donation.
21137
- * Adjustments inherit most of the fields from parent transaction
21138
- */
21139
- WorkIncomeForm.prototype.buildTransactions = function () {
21140
- var _this = this;
21141
- var transaction = classTransformer.plainToClass(Transaction, this.value);
21142
- return this.get('transactions').value.map(function (childTransaction) { return Object.assign({
21143
- description: transaction.chartAccounts.name,
21144
- date: transaction.date,
21145
- claimPercent: transaction.claimPercent,
21146
- source: transaction.source,
21147
- tax: transaction.tax,
21148
- type: transaction.type
21149
- }, _this.model.transactions.find(function (transaction) { return transaction.id === childTransaction['id']; }) || {}, childTransaction); });
21175
+ * @param transaction
21176
+ * @param includeAdjustments reduce result by adjustments included in salary if false or increase amount with included salary adjustments to match received payment if true,
21177
+ * salary/wage comes to bankAccount together with related chartAccounts like tips (kind of salary, but reported in different tax summary section),
21178
+ * adjustments used to clarify received payment by separating it into multiple transactions,
21179
+ * formAmount always match received payment, it also matches parent transactionAmount when there are no adjustments,
21180
+ * otherwise it includes such adjustments, so we should exclude it from formAmount to create a salary transaction (on submit)
21181
+ * but include in form->amount to match bank transaction (on edit),
21182
+ * ie bankTransaction=1000$, it includes 900$ salary and 100$ tips (should be reported in different tax summary sections),
21183
+ * so we should show 1000$ in formAmount, but create 2 transactions with 900$ and 100$
21184
+ */
21185
+ WorkIncomeForm.prototype.getAmount = function (transaction, includeAdjustments) {
21186
+ if (includeAdjustments === void 0) { includeAdjustments = true; }
21187
+ if (!transaction.chartAccounts || !transaction.chartAccounts.isSalary()) {
21188
+ return transaction.amount;
21189
+ }
21190
+ var includedTransactions = new Collection(transaction.transactions).filter(function (t) { return t.chartAccounts.isSalaryIncluded(); });
21191
+ return transaction.amount + includedTransactions.sumBy('amount') * (includeAdjustments ? 1 : -1);
21150
21192
  };
21151
21193
  WorkIncomeForm.prototype.submit = function (data) {
21152
21194
  if (data === void 0) { data = {}; }
21153
- return _super.prototype.submit.call(this, Object.assign(data, { transactions: this.buildTransactions() }));
21195
+ return _super.prototype.submit.call(this, Object.assign(data, { amount: this.getAmount(this.currentValue, false) }));
21154
21196
  };
21155
21197
  return WorkIncomeForm;
21156
21198
  }(TransactionForm));