taxtank-core 0.32.88 → 0.33.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2898) hide show
  1. package/README.md +1 -1
  2. package/common/index.d.ts +5 -0
  3. package/common/public-api.d.ts +3 -0
  4. package/common/src/common.module.d.ts +13 -0
  5. package/common/src/db/enums/index.d.ts +1 -0
  6. package/common/src/db/enums/user/index.d.ts +1 -0
  7. package/common/src/db/index.d.ts +1 -0
  8. package/common/src/interceptors/jwt-interceptor.d.ts +41 -0
  9. package/common/src/services/auth/auth-messages.enum.d.ts +3 -0
  10. package/common/src/services/auth/auth-tokens.interface.d.ts +7 -0
  11. package/common/src/services/auth/auth.service.d.ts +19 -0
  12. package/common/src/services/auth/index.d.ts +5 -0
  13. package/common/src/services/auth/jwt-decoded.interface.d.ts +11 -0
  14. package/common/src/services/auth/jwt.service.d.ts +17 -0
  15. package/common/src/services/index.d.ts +2 -0
  16. package/esm2022/common/public-api.mjs +4 -0
  17. package/esm2022/common/src/common.module.mjs +36 -0
  18. package/esm2022/common/src/db/enums/index.mjs +2 -0
  19. package/esm2022/common/src/db/enums/user/index.mjs +2 -0
  20. package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +17 -0
  21. package/esm2022/common/src/db/index.mjs +2 -0
  22. package/esm2022/common/src/interceptors/interceptors.module.mjs +28 -0
  23. package/esm2022/common/src/interceptors/jwt-interceptor.mjs +138 -0
  24. package/esm2022/common/src/services/auth/auth-messages.enum.mjs +5 -0
  25. package/esm2022/common/src/services/auth/auth-tokens.interface.mjs +2 -0
  26. package/esm2022/common/src/services/auth/auth.service.mjs +56 -0
  27. package/esm2022/common/src/services/auth/index.mjs +6 -0
  28. package/esm2022/common/src/services/auth/jwt-decoded.interface.mjs +2 -0
  29. package/esm2022/common/src/services/auth/jwt.service.mjs +48 -0
  30. package/esm2022/common/src/services/index.mjs +3 -0
  31. package/esm2022/common/src/services/mixpanel.service.mjs +54 -0
  32. package/esm2022/common/taxtank-core-common.mjs +5 -0
  33. package/esm2022/public-api.mjs +159 -160
  34. package/esm2022/src/lib/collections/account-setup-item.collection.mjs +12 -0
  35. package/esm2022/src/lib/collections/allocation-group.collection.mjs +9 -0
  36. package/esm2022/src/lib/collections/allocation-rule.collection.mjs +26 -0
  37. package/esm2022/src/lib/collections/asset-sale.collection.mjs +56 -0
  38. package/esm2022/src/lib/collections/bank-account.collection.mjs +153 -0
  39. package/esm2022/src/lib/collections/bank-transaction.collection.mjs +131 -0
  40. package/esm2022/src/lib/collections/chart-accounts.collection.mjs +26 -0
  41. package/esm2022/src/lib/collections/chat/chat.collection.mjs +26 -0
  42. package/esm2022/src/lib/collections/chat/index.mjs +4 -0
  43. package/esm2022/src/lib/collections/chat/message-document.collection.mjs +13 -0
  44. package/esm2022/src/lib/collections/chat/message.collection.mjs +31 -0
  45. package/esm2022/src/lib/collections/client-invite.collection.mjs +7 -0
  46. package/esm2022/src/lib/collections/client-movement.collection.mjs +47 -0
  47. package/esm2022/src/lib/collections/client-portfolio-report.collection.mjs +40 -0
  48. package/esm2022/src/lib/collections/client.collection.mjs +4 -0
  49. package/esm2022/src/lib/collections/collection-dictionary.mjs +110 -0
  50. package/esm2022/src/lib/collections/collection.mjs +163 -0
  51. package/esm2022/src/lib/collections/depreciation-forecast.collection.mjs +19 -0
  52. package/esm2022/src/lib/collections/depreciation.collection.mjs +116 -0
  53. package/esm2022/src/lib/collections/employee.collection.mjs +11 -0
  54. package/esm2022/src/lib/collections/exportable.collection.mjs +23 -0
  55. package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +41 -0
  56. package/esm2022/src/lib/collections/holding/holding-type.collection.mjs +13 -0
  57. package/esm2022/src/lib/collections/holding/holding.collection.mjs +68 -0
  58. package/esm2022/src/lib/collections/holding/index.mjs +4 -0
  59. package/esm2022/src/lib/collections/income-source/income-source-forecast.collection.mjs +11 -0
  60. package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +43 -0
  61. package/esm2022/src/lib/collections/income-source/index.mjs +3 -0
  62. package/esm2022/src/lib/collections/index.mjs +34 -0
  63. package/esm2022/src/lib/collections/loan/index.mjs +3 -0
  64. package/esm2022/src/lib/collections/loan/loan-payment.collection.mjs +40 -0
  65. package/esm2022/src/lib/collections/loan/loan.collection.mjs +46 -0
  66. package/esm2022/src/lib/collections/property/index.mjs +7 -0
  67. package/esm2022/src/lib/collections/property/property-category-movement.collection.mjs +23 -0
  68. package/esm2022/src/lib/collections/property/property-sale/index.mjs +3 -0
  69. package/esm2022/src/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +17 -0
  70. package/esm2022/src/lib/collections/property/property-sale/property-sale.collection.mjs +13 -0
  71. package/esm2022/src/lib/collections/property/property-share.collection.mjs +20 -0
  72. package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +4 -0
  73. package/esm2022/src/lib/collections/property/property.collection.mjs +113 -0
  74. package/esm2022/src/lib/collections/property/tax-exemption.collection.mjs +11 -0
  75. package/esm2022/src/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +12 -0
  76. package/esm2022/src/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +12 -0
  77. package/esm2022/src/lib/collections/report/index.mjs +7 -0
  78. package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +21 -0
  79. package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +21 -0
  80. package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +13 -0
  81. package/esm2022/src/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +17 -0
  82. package/esm2022/src/lib/collections/sole/index.mjs +4 -0
  83. package/esm2022/src/lib/collections/sole/sole-business-losses.collection.mjs +41 -0
  84. package/esm2022/src/lib/collections/sole/sole-invoice-item.collection.mjs +10 -0
  85. package/esm2022/src/lib/collections/sole/sole-invoice.collection.mjs +30 -0
  86. package/esm2022/src/lib/collections/subscription/index.mjs +5 -0
  87. package/esm2022/src/lib/collections/subscription/service-price.collection.mjs +50 -0
  88. package/esm2022/src/lib/collections/subscription/service-product.collection.mjs +11 -0
  89. package/esm2022/src/lib/collections/subscription/service-subscription.collection.mjs +58 -0
  90. package/esm2022/src/lib/collections/subscription/subscription-item.collection.mjs +17 -0
  91. package/esm2022/src/lib/collections/tax-review.collection.mjs +53 -0
  92. package/esm2022/src/lib/collections/tax-summary/index.mjs +3 -0
  93. package/esm2022/src/lib/collections/tax-summary/report-item.collection.mjs +101 -0
  94. package/esm2022/src/lib/collections/tax-summary/tax-return-categories.const.mjs +113 -0
  95. package/esm2022/src/lib/collections/transaction/index.mjs +3 -0
  96. package/esm2022/src/lib/collections/transaction/transaction-allocation.collection.mjs +39 -0
  97. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +240 -0
  98. package/esm2022/src/lib/collections/user-event-setting.collection.mjs +10 -0
  99. package/esm2022/src/lib/collections/user-event-type-collection.mjs +11 -0
  100. package/esm2022/src/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +90 -0
  101. package/esm2022/src/lib/collections/vehicle/index.mjs +4 -0
  102. package/esm2022/src/lib/collections/vehicle/vehicle-claim.collection.mjs +25 -0
  103. package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +31 -0
  104. package/esm2022/src/lib/core.module.mjs +37 -0
  105. package/esm2022/src/lib/db/Enums/address-type.enum.mjs +6 -0
  106. package/esm2022/src/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +9 -0
  107. package/esm2022/src/lib/db/Enums/allocation-rule-condition-field.enum.mjs +6 -0
  108. package/esm2022/src/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +6 -0
  109. package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +7 -0
  110. package/esm2022/src/lib/db/Enums/annual-frequency.enum.mjs +9 -0
  111. package/esm2022/src/lib/db/Enums/bank/bank-account-status.enum.mjs +6 -0
  112. package/esm2022/src/lib/db/Enums/bank/bank-account-type.enum.mjs +13 -0
  113. package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +7 -0
  114. package/esm2022/src/lib/db/Enums/bank/bank-popular.enum.mjs +14 -0
  115. package/esm2022/src/lib/db/Enums/bank/bank-provider.enum.mjs +7 -0
  116. package/esm2022/src/lib/db/Enums/bank/bank-transaction-type.enum.mjs +6 -0
  117. package/esm2022/src/lib/db/Enums/bank/index.mjs +7 -0
  118. package/esm2022/src/lib/db/Enums/bank/loan/index.mjs +11 -0
  119. package/esm2022/src/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +12 -0
  120. package/esm2022/src/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +8 -0
  121. package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +6 -0
  122. package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +6 -0
  123. package/esm2022/src/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +6 -0
  124. package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +7 -0
  125. package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +6 -0
  126. package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +6 -0
  127. package/esm2022/src/lib/db/Enums/bank/loan/loan-type.enum.mjs +14 -0
  128. package/esm2022/src/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +7 -0
  129. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +16 -0
  130. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +20 -0
  131. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +9 -0
  132. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +50 -0
  133. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +8 -0
  134. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +8 -0
  135. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +8 -0
  136. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +11 -0
  137. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +25 -0
  138. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +10 -0
  139. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +102 -0
  140. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +19 -0
  141. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +6 -0
  142. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +50 -0
  143. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +17 -0
  144. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +6 -0
  145. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +6 -0
  146. package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +18 -0
  147. package/esm2022/src/lib/db/Enums/chat-status.enum.mjs +6 -0
  148. package/esm2022/src/lib/db/Enums/client-details-medicare-exemption.enum.mjs +7 -0
  149. package/esm2022/src/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +6 -0
  150. package/esm2022/src/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +7 -0
  151. package/esm2022/src/lib/db/Enums/client-invite-status.enum.mjs +6 -0
  152. package/esm2022/src/lib/db/Enums/client-invite-type.enum.mjs +6 -0
  153. package/esm2022/src/lib/db/Enums/depreciation-calculation-percent.enum.mjs +9 -0
  154. package/esm2022/src/lib/db/Enums/depreciation-calculation.enum.mjs +10 -0
  155. package/esm2022/src/lib/db/Enums/depreciation-type.enum.mjs +8 -0
  156. package/esm2022/src/lib/db/Enums/depreciation-write-off-amount.enum.mjs +6 -0
  157. package/esm2022/src/lib/db/Enums/document-type.enum.mjs +5 -0
  158. package/esm2022/src/lib/db/Enums/file-type.enum.mjs +14 -0
  159. package/esm2022/src/lib/db/Enums/firm-type.enum.mjs +6 -0
  160. package/esm2022/src/lib/db/Enums/holding/holding-type-category.enum.mjs +18 -0
  161. package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +10 -0
  162. package/esm2022/src/lib/db/Enums/holding/index.mjs +3 -0
  163. package/esm2022/src/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +15 -0
  164. package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +9 -0
  165. package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +9 -0
  166. package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +5 -0
  167. package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +10 -0
  168. package/esm2022/src/lib/db/Enums/income-source/income-source-type.enum.mjs +11 -0
  169. package/esm2022/src/lib/db/Enums/income-source/index.mjs +7 -0
  170. package/esm2022/src/lib/db/Enums/index.mjs +13 -0
  171. package/esm2022/src/lib/db/Enums/invite-status.enum.mjs +7 -0
  172. package/esm2022/src/lib/db/Enums/phone-type.enum.mjs +6 -0
  173. package/esm2022/src/lib/db/Enums/property/property-category-list.enum.mjs +7 -0
  174. package/esm2022/src/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +6 -0
  175. package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +9 -0
  176. package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +12 -0
  177. package/esm2022/src/lib/db/Enums/property/property-share-access.enum.mjs +6 -0
  178. package/esm2022/src/lib/db/Enums/property/property-share-status.enum.mjs +7 -0
  179. package/esm2022/src/lib/db/Enums/registration-invite-status.enum.mjs +6 -0
  180. package/esm2022/src/lib/db/Enums/salary-forecast-frequency.enum.mjs +8 -0
  181. package/esm2022/src/lib/db/Enums/service-notification-status.enum.mjs +7 -0
  182. package/esm2022/src/lib/db/Enums/service-notification-type.enum.mjs +6 -0
  183. package/esm2022/src/lib/db/Enums/setup-item-type.enum.mjs +6 -0
  184. package/esm2022/src/lib/db/Enums/sole-depreciation-method.enum.mjs +6 -0
  185. package/esm2022/src/lib/db/Enums/sole-invoice-statuses.enum.mjs +7 -0
  186. package/esm2022/src/lib/db/Enums/sole-invoice-tax-type.enum.mjs +7 -0
  187. package/esm2022/src/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +7 -0
  188. package/esm2022/src/lib/db/Enums/spare-document-spare-type.enum.mjs +6 -0
  189. package/esm2022/src/lib/db/Enums/subscription/index.mjs +2 -0
  190. package/esm2022/src/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +12 -0
  191. package/esm2022/src/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +6 -0
  192. package/esm2022/src/lib/db/Enums/subscription/service-payment-status.enum.mjs +6 -0
  193. package/esm2022/src/lib/db/Enums/subscription/service-price-list.enum.mjs +8 -0
  194. package/esm2022/src/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +8 -0
  195. package/esm2022/src/lib/db/Enums/subscription/service-price-type.enum.mjs +9 -0
  196. package/esm2022/src/lib/db/Enums/subscription/service-product-id.enum.mjs +11 -0
  197. package/esm2022/src/lib/db/Enums/subscription/service-product-status.enum.mjs +6 -0
  198. package/esm2022/src/lib/db/Enums/subscription/service-subscription-status.enum.mjs +10 -0
  199. package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +10 -0
  200. package/esm2022/src/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +6 -0
  201. package/esm2022/src/lib/db/Enums/tax-calculation-type.enum.mjs +14 -0
  202. package/esm2022/src/lib/db/Enums/tax-return/index.mjs +4 -0
  203. package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +66 -0
  204. package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +9 -0
  205. package/esm2022/src/lib/db/Enums/tax-return/tax-return-item.enum.mjs +20 -0
  206. package/esm2022/src/lib/db/Enums/tax-review-status.enum.mjs +13 -0
  207. package/esm2022/src/lib/db/Enums/tax-summary-list.enum.mjs +17 -0
  208. package/esm2022/src/lib/db/Enums/tax-summary-section.enum.mjs +9 -0
  209. package/esm2022/src/lib/db/Enums/tax-summary-tax-summary.enum.mjs +17 -0
  210. package/esm2022/src/lib/db/Enums/ticket-feedback.enum.mjs +6 -0
  211. package/esm2022/src/lib/db/Enums/ticket-status.enum.mjs +9 -0
  212. package/esm2022/src/lib/db/Enums/ticket-types.enum.mjs +5 -0
  213. package/esm2022/src/lib/db/Enums/transaction-operation.enum.mjs +8 -0
  214. package/esm2022/src/lib/db/Enums/transaction-source.enum.mjs +6 -0
  215. package/esm2022/src/lib/db/Enums/transaction-type.enum.mjs +6 -0
  216. package/esm2022/src/lib/db/Enums/user-event-status.enum.mjs +9 -0
  217. package/esm2022/src/lib/db/Enums/user-event-type-client-type.enum.mjs +29 -0
  218. package/esm2022/src/lib/db/Enums/user-event-type-employee-type.enum.mjs +17 -0
  219. package/esm2022/src/lib/db/Enums/user-event-type-frequency.enum.mjs +7 -0
  220. package/esm2022/src/lib/db/Enums/user-event-type-type.enum.mjs +51 -0
  221. package/esm2022/src/lib/db/Enums/user-event-type-user-type.enum.mjs +7 -0
  222. package/esm2022/src/lib/db/Enums/user-medicare-exemption.enum.mjs +7 -0
  223. package/esm2022/src/lib/db/Enums/user-status.enum.mjs +7 -0
  224. package/esm2022/src/lib/db/Enums/user-title.enum.mjs +9 -0
  225. package/esm2022/src/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +6 -0
  226. package/esm2022/src/lib/db/Enums/user-working-holiday-maker.enum.mjs +7 -0
  227. package/esm2022/src/lib/db/Enums/vehicle-claim-details-method.enum.mjs +6 -0
  228. package/esm2022/src/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +6 -0
  229. package/esm2022/src/lib/db/Models/abstract-model.mjs +14 -0
  230. package/esm2022/src/lib/db/Models/address.mjs +4 -0
  231. package/esm2022/src/lib/db/Models/bank/bank-account-balance.mjs +9 -0
  232. package/esm2022/src/lib/db/Models/bank/bank-account-property.mjs +9 -0
  233. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +10 -0
  234. package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +5 -0
  235. package/esm2022/src/lib/db/Models/bank/bank-transaction-import.mjs +4 -0
  236. package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +5 -0
  237. package/esm2022/src/lib/db/Models/bank/bank.mjs +4 -0
  238. package/esm2022/src/lib/db/Models/bank/basiq-job-step.enum.mjs +8 -0
  239. package/esm2022/src/lib/db/Models/bank/basiq-job.mjs +4 -0
  240. package/esm2022/src/lib/db/Models/budget/budget-rule.mjs +4 -0
  241. package/esm2022/src/lib/db/Models/budget/budget.mjs +4 -0
  242. package/esm2022/src/lib/db/Models/budget/index.mjs +3 -0
  243. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +4 -0
  244. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +4 -0
  245. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +4 -0
  246. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-value.mjs +4 -0
  247. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts.mjs +4 -0
  248. package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +3 -0
  249. package/esm2022/src/lib/db/Models/client/client-details.mjs +4 -0
  250. package/esm2022/src/lib/db/Models/client/index.mjs +4 -0
  251. package/esm2022/src/lib/db/Models/client/occupation.mjs +4 -0
  252. package/esm2022/src/lib/db/Models/country.mjs +4 -0
  253. package/esm2022/src/lib/db/Models/depreciation/depreciation-capital-project.mjs +4 -0
  254. package/esm2022/src/lib/db/Models/depreciation/depreciation-forecast.mjs +4 -0
  255. package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +5 -0
  256. package/esm2022/src/lib/db/Models/document/document-folder.mjs +4 -0
  257. package/esm2022/src/lib/db/Models/document/folder-document.mjs +4 -0
  258. package/esm2022/src/lib/db/Models/document/property-document.mjs +4 -0
  259. package/esm2022/src/lib/db/Models/file.mjs +4 -0
  260. package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +4 -0
  261. package/esm2022/src/lib/db/Models/firm/accountant/ticket.mjs +4 -0
  262. package/esm2022/src/lib/db/Models/firm/chat.mjs +4 -0
  263. package/esm2022/src/lib/db/Models/firm/client-invite.mjs +5 -0
  264. package/esm2022/src/lib/db/Models/firm/client-movement.mjs +5 -0
  265. package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +4 -0
  266. package/esm2022/src/lib/db/Models/firm/firm-invite.mjs +4 -0
  267. package/esm2022/src/lib/db/Models/firm/firm.mjs +4 -0
  268. package/esm2022/src/lib/db/Models/firm/message-document.mjs +4 -0
  269. package/esm2022/src/lib/db/Models/firm/message.mjs +5 -0
  270. package/esm2022/src/lib/db/Models/holding/holding-import.mjs +3 -0
  271. package/esm2022/src/lib/db/Models/holding/holding-sale.mjs +3 -0
  272. package/esm2022/src/lib/db/Models/holding/holding-type-exchange.mjs +3 -0
  273. package/esm2022/src/lib/db/Models/holding/holding-type.mjs +3 -0
  274. package/esm2022/src/lib/db/Models/holding/holding.mjs +3 -0
  275. package/esm2022/src/lib/db/Models/holding/index.mjs +5 -0
  276. package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +4 -0
  277. package/esm2022/src/lib/db/Models/incomeSource/income-source-type.mjs +4 -0
  278. package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +4 -0
  279. package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +4 -0
  280. package/esm2022/src/lib/db/Models/index.mjs +96 -0
  281. package/esm2022/src/lib/db/Models/loan/borrowing-expense-loan.mjs +4 -0
  282. package/esm2022/src/lib/db/Models/loan/borrowing-expense.mjs +4 -0
  283. package/esm2022/src/lib/db/Models/loan/loan-payout.mjs +13 -0
  284. package/esm2022/src/lib/db/Models/loan/loan.mjs +22 -0
  285. package/esm2022/src/lib/db/Models/observable-model.mjs +14 -0
  286. package/esm2022/src/lib/db/Models/phone.mjs +4 -0
  287. package/esm2022/src/lib/db/Models/property/borrowing-report.mjs +4 -0
  288. package/esm2022/src/lib/db/Models/property/property-category-movement.mjs +5 -0
  289. package/esm2022/src/lib/db/Models/property/property-category.mjs +5 -0
  290. package/esm2022/src/lib/db/Models/property/property-forecast.mjs +4 -0
  291. package/esm2022/src/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +4 -0
  292. package/esm2022/src/lib/db/Models/property/property-sale/property-sale.mjs +5 -0
  293. package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +4 -0
  294. package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption.mjs +4 -0
  295. package/esm2022/src/lib/db/Models/property/property-share.mjs +10 -0
  296. package/esm2022/src/lib/db/Models/property/property-subscription.mjs +4 -0
  297. package/esm2022/src/lib/db/Models/property/property-valuation.mjs +5 -0
  298. package/esm2022/src/lib/db/Models/property/property.mjs +22 -0
  299. package/esm2022/src/lib/db/Models/service-notification.mjs +4 -0
  300. package/esm2022/src/lib/db/Models/setup-item.mjs +4 -0
  301. package/esm2022/src/lib/db/Models/sole/bas-report.mjs +4 -0
  302. package/esm2022/src/lib/db/Models/sole/sole-business-activity.mjs +4 -0
  303. package/esm2022/src/lib/db/Models/sole/sole-business-allocation.mjs +4 -0
  304. package/esm2022/src/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +4 -0
  305. package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +4 -0
  306. package/esm2022/src/lib/db/Models/sole/sole-business.mjs +4 -0
  307. package/esm2022/src/lib/db/Models/sole/sole-contact.mjs +4 -0
  308. package/esm2022/src/lib/db/Models/sole/sole-depreciation-method.mjs +4 -0
  309. package/esm2022/src/lib/db/Models/sole/sole-details.mjs +4 -0
  310. package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +4 -0
  311. package/esm2022/src/lib/db/Models/sole/sole-invoice-item.mjs +4 -0
  312. package/esm2022/src/lib/db/Models/sole/sole-invoice-template.mjs +4 -0
  313. package/esm2022/src/lib/db/Models/sole/sole-invoice.mjs +4 -0
  314. package/esm2022/src/lib/db/Models/spare/spare-document-category.mjs +4 -0
  315. package/esm2022/src/lib/db/Models/spare/spare-document.mjs +4 -0
  316. package/esm2022/src/lib/db/Models/subscription/service-payment-method.mjs +4 -0
  317. package/esm2022/src/lib/db/Models/subscription/service-payment.mjs +4 -0
  318. package/esm2022/src/lib/db/Models/subscription/service-price.mjs +4 -0
  319. package/esm2022/src/lib/db/Models/subscription/service-product.mjs +4 -0
  320. package/esm2022/src/lib/db/Models/subscription/service-subscription-item.mjs +4 -0
  321. package/esm2022/src/lib/db/Models/subscription/service-subscription.mjs +5 -0
  322. package/esm2022/src/lib/db/Models/tax-calculation.mjs +4 -0
  323. package/esm2022/src/lib/db/Models/tax-return/index.mjs +4 -0
  324. package/esm2022/src/lib/db/Models/tax-return/tax-return-category.mjs +4 -0
  325. package/esm2022/src/lib/db/Models/tax-return/tax-return-item.mjs +4 -0
  326. package/esm2022/src/lib/db/Models/tax-return/tax-return.mjs +4 -0
  327. package/esm2022/src/lib/db/Models/transaction/allocation-rule-condition.mjs +4 -0
  328. package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +4 -0
  329. package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction.mjs +5 -0
  330. package/esm2022/src/lib/db/Models/transaction/allocation-rule.mjs +4 -0
  331. package/esm2022/src/lib/db/Models/transaction/transaction-allocation.mjs +4 -0
  332. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +123 -0
  333. package/esm2022/src/lib/db/Models/transaction/transaction-meta-field.mjs +4 -0
  334. package/esm2022/src/lib/db/Models/transaction/transaction.mjs +5 -0
  335. package/esm2022/src/lib/db/Models/user/employee-details.mjs +4 -0
  336. package/esm2022/src/lib/db/Models/user/registration-invite.mjs +4 -0
  337. package/esm2022/src/lib/db/Models/user/user-event-setting.mjs +4 -0
  338. package/esm2022/src/lib/db/Models/user/user-event-type-category.mjs +4 -0
  339. package/esm2022/src/lib/db/Models/user/user-event-type.mjs +4 -0
  340. package/esm2022/src/lib/db/Models/user/user-event.mjs +4 -0
  341. package/esm2022/src/lib/db/Models/user/user.mjs +5 -0
  342. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +4 -0
  343. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +4 -0
  344. package/esm2022/src/lib/db/Models/vehicle/vehicle-logbook.mjs +4 -0
  345. package/esm2022/src/lib/db/Models/vehicle/vehicle.mjs +4 -0
  346. package/esm2022/src/lib/db-static/chart-accounts/chart-accounts-values.mjs +9 -0
  347. package/esm2022/src/lib/forms/abstract.form.mjs +111 -0
  348. package/esm2022/src/lib/forms/address/address.form.mjs +190 -0
  349. package/esm2022/src/lib/forms/address/index.mjs +2 -0
  350. package/esm2022/src/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +46 -0
  351. package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +45 -0
  352. package/esm2022/src/lib/forms/bank/bank-account/bank-account-import.form.mjs +24 -0
  353. package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +64 -0
  354. package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +50 -0
  355. package/esm2022/src/lib/forms/budget/budget.form.mjs +69 -0
  356. package/esm2022/src/lib/forms/budget/index.mjs +2 -0
  357. package/esm2022/src/lib/forms/chart-accounts/chart-accounts.form.mjs +14 -0
  358. package/esm2022/src/lib/forms/chart-accounts/index.mjs +2 -0
  359. package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +39 -0
  360. package/esm2022/src/lib/forms/client/index.mjs +2 -0
  361. package/esm2022/src/lib/forms/depreciation/depreciation.form.mjs +40 -0
  362. package/esm2022/src/lib/forms/depreciation/index.mjs +2 -0
  363. package/esm2022/src/lib/forms/document-folder/document-folder.form.mjs +11 -0
  364. package/esm2022/src/lib/forms/document-folder/document.form.mjs +11 -0
  365. package/esm2022/src/lib/forms/document-folder/index.mjs +3 -0
  366. package/esm2022/src/lib/forms/firm/firm.form.mjs +18 -0
  367. package/esm2022/src/lib/forms/firm/index.mjs +2 -0
  368. package/esm2022/src/lib/forms/form-validations.enum.mjs +12 -0
  369. package/esm2022/src/lib/forms/holding/holding-import.form.mjs +25 -0
  370. package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +59 -0
  371. package/esm2022/src/lib/forms/holding/holding-sale.form.mjs +52 -0
  372. package/esm2022/src/lib/forms/holding/holding-type.form.mjs +16 -0
  373. package/esm2022/src/lib/forms/holding/holding.form.mjs +28 -0
  374. package/esm2022/src/lib/forms/holding/index.mjs +6 -0
  375. package/esm2022/src/lib/forms/index.mjs +27 -0
  376. package/esm2022/src/lib/forms/loan/index.mjs +2 -0
  377. package/esm2022/src/lib/forms/loan/loan.form.mjs +90 -0
  378. package/esm2022/src/lib/forms/login/login.form.mjs +11 -0
  379. package/esm2022/src/lib/forms/phone/index.mjs +2 -0
  380. package/esm2022/src/lib/forms/phone/phone.form.mjs +18 -0
  381. package/esm2022/src/lib/forms/property/borrowing-report.form.mjs +32 -0
  382. package/esm2022/src/lib/forms/property/index.mjs +10 -0
  383. package/esm2022/src/lib/forms/property/property-add.form.mjs +69 -0
  384. package/esm2022/src/lib/forms/property/property-category-movement-form.mjs +21 -0
  385. package/esm2022/src/lib/forms/property/property-document.form.mjs +14 -0
  386. package/esm2022/src/lib/forms/property/property-edit.form.mjs +17 -0
  387. package/esm2022/src/lib/forms/property/property-forecast.form.mjs +29 -0
  388. package/esm2022/src/lib/forms/property/property-sale/index.mjs +4 -0
  389. package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +39 -0
  390. package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +66 -0
  391. package/esm2022/src/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +107 -0
  392. package/esm2022/src/lib/forms/property/property-share.form.mjs +16 -0
  393. package/esm2022/src/lib/forms/property/property-valuation.form.mjs +19 -0
  394. package/esm2022/src/lib/forms/register/register-client.form.mjs +19 -0
  395. package/esm2022/src/lib/forms/register/register-firm.form.mjs +22 -0
  396. package/esm2022/src/lib/forms/report/my-tax/index.mjs +17 -0
  397. package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +31 -0
  398. package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +81 -0
  399. package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +14 -0
  400. package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +79 -0
  401. package/esm2022/src/lib/forms/report/my-tax/my-tax-cgt.form.mjs +30 -0
  402. package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +85 -0
  403. package/esm2022/src/lib/forms/report/my-tax/my-tax-dividends.form.mjs +23 -0
  404. package/esm2022/src/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +108 -0
  405. package/esm2022/src/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +10 -0
  406. package/esm2022/src/lib/forms/report/my-tax/my-tax-interest.form.mjs +12 -0
  407. package/esm2022/src/lib/forms/report/my-tax/my-tax-losses.form.mjs +11 -0
  408. package/esm2022/src/lib/forms/report/my-tax/my-tax-medicare.form.mjs +38 -0
  409. package/esm2022/src/lib/forms/report/my-tax/my-tax-offsets.form.mjs +10 -0
  410. package/esm2022/src/lib/forms/report/my-tax/my-tax-other-income.form.mjs +43 -0
  411. package/esm2022/src/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +37 -0
  412. package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +13 -0
  413. package/esm2022/src/lib/forms/sole/bas-report.form.mjs +62 -0
  414. package/esm2022/src/lib/forms/sole/index.mjs +12 -0
  415. package/esm2022/src/lib/forms/sole/invoice-payment.form.mjs +14 -0
  416. package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +64 -0
  417. package/esm2022/src/lib/forms/sole/sole-business-loss.form.mjs +24 -0
  418. package/esm2022/src/lib/forms/sole/sole-business.form.mjs +70 -0
  419. package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +19 -0
  420. package/esm2022/src/lib/forms/sole/sole-depreciation-method.form.mjs +10 -0
  421. package/esm2022/src/lib/forms/sole/sole-details.form.mjs +12 -0
  422. package/esm2022/src/lib/forms/sole/sole-invoice-item.form.mjs +15 -0
  423. package/esm2022/src/lib/forms/sole/sole-invoice-template.form.mjs +15 -0
  424. package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +157 -0
  425. package/esm2022/src/lib/forms/transaction/allocation-rule-condition.form.mjs +16 -0
  426. package/esm2022/src/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +12 -0
  427. package/esm2022/src/lib/forms/transaction/allocation-rule-transaction.form.mjs +144 -0
  428. package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +188 -0
  429. package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +49 -0
  430. package/esm2022/src/lib/forms/transaction/index.mjs +8 -0
  431. package/esm2022/src/lib/forms/transaction/messages.enum.mjs +5 -0
  432. package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +17 -0
  433. package/esm2022/src/lib/forms/transaction/sole/sole-transaction.form.mjs +7 -0
  434. package/esm2022/src/lib/forms/transaction/transaction-base.form.mjs +98 -0
  435. package/esm2022/src/lib/forms/transaction/transaction.form.mjs +62 -0
  436. package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +33 -0
  437. package/esm2022/src/lib/forms/transaction/work/work-income.form.mjs +86 -0
  438. package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +40 -0
  439. package/esm2022/src/lib/forms/user/client-details.form.mjs +34 -0
  440. package/esm2022/src/lib/forms/user/index.mjs +6 -0
  441. package/esm2022/src/lib/forms/user/password.form.mjs +14 -0
  442. package/esm2022/src/lib/forms/user/reset-password.form.mjs +11 -0
  443. package/esm2022/src/lib/forms/user/user-invite.form.mjs +16 -0
  444. package/esm2022/src/lib/forms/user/user.form.mjs +15 -0
  445. package/esm2022/src/lib/forms/vehicle/index.mjs +5 -0
  446. package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +17 -0
  447. package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +30 -0
  448. package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +63 -0
  449. package/esm2022/src/lib/forms/vehicle/vehicle.form.mjs +17 -0
  450. package/esm2022/src/lib/functions/array/index.mjs +5 -0
  451. package/esm2022/src/lib/functions/array/replace.mjs +6 -0
  452. package/esm2022/src/lib/functions/array/sort-deep.mjs +22 -0
  453. package/esm2022/src/lib/functions/array/sort.mjs +13 -0
  454. package/esm2022/src/lib/functions/array/to-array.mjs +7 -0
  455. package/esm2022/src/lib/functions/clone-deep.mjs +5 -0
  456. package/esm2022/src/lib/functions/create-date.mjs +8 -0
  457. package/esm2022/src/lib/functions/enum-to-list.mjs +13 -0
  458. package/esm2022/src/lib/functions/get-doc-icon.mjs +18 -0
  459. package/esm2022/src/lib/functions/mat-options-functions.mjs +13 -0
  460. package/esm2022/src/lib/functions/mat-sort-options.mjs +10 -0
  461. package/esm2022/src/lib/functions/tax-review-filter-predicate.mjs +10 -0
  462. package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +31 -0
  463. package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +33 -0
  464. package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +41 -0
  465. package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +42 -0
  466. package/esm2022/src/lib/interceptors/interceptors.module.mjs +96 -0
  467. package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +32 -0
  468. package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +42 -0
  469. package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +40 -0
  470. package/esm2022/src/lib/interfaces/asset-entity-type.enum.mjs +12 -0
  471. package/esm2022/src/lib/interfaces/asset-type.enum.mjs +13 -0
  472. package/esm2022/src/lib/interfaces/asset.interface.mjs +2 -0
  473. package/esm2022/src/lib/interfaces/chart-data.interface.mjs +2 -0
  474. package/esm2022/src/lib/interfaces/chart-serie.interface.mjs +2 -0
  475. package/esm2022/src/lib/interfaces/document.interface.mjs +2 -0
  476. package/esm2022/src/lib/interfaces/documentable.interface.mjs +2 -0
  477. package/esm2022/src/lib/interfaces/event-listener.interface.mjs +2 -0
  478. package/esm2022/src/lib/interfaces/expense.interface.mjs +2 -0
  479. package/esm2022/src/lib/interfaces/income-source-forecast.interface.mjs +2 -0
  480. package/esm2022/src/lib/interfaces/index.mjs +14 -0
  481. package/esm2022/src/lib/interfaces/option.interface.mjs +2 -0
  482. package/esm2022/src/lib/interfaces/tank.interface.mjs +2 -0
  483. package/esm2022/src/lib/interfaces/updatable.interface.mjs +2 -0
  484. package/esm2022/src/lib/messages/index.mjs +2 -0
  485. package/esm2022/src/lib/messages/messages.enum.mjs +16 -0
  486. package/esm2022/src/lib/models/account-setup/account-setup-item.mjs +38 -0
  487. package/esm2022/src/lib/models/account-setup/account-setup-items.enum.mjs +19 -0
  488. package/esm2022/src/lib/models/address/address.mjs +50 -0
  489. package/esm2022/src/lib/models/address/country.mjs +18 -0
  490. package/esm2022/src/lib/models/address/index.mjs +4 -0
  491. package/esm2022/src/lib/models/address/states.enum.mjs +12 -0
  492. package/esm2022/src/lib/models/asset-sale.mjs +10 -0
  493. package/esm2022/src/lib/models/badge/badge-color.enum.mjs +8 -0
  494. package/esm2022/src/lib/models/badge/badge.mjs +14 -0
  495. package/esm2022/src/lib/models/bank/allocation-group.mjs +57 -0
  496. package/esm2022/src/lib/models/bank/bank-account-chart-data.mjs +30 -0
  497. package/esm2022/src/lib/models/bank/bank-account-property.mjs +14 -0
  498. package/esm2022/src/lib/models/bank/bank-account-types.const.mjs +14 -0
  499. package/esm2022/src/lib/models/bank/bank-account.mjs +176 -0
  500. package/esm2022/src/lib/models/bank/bank-connection.mjs +55 -0
  501. package/esm2022/src/lib/models/bank/bank-external-stats.mjs +8 -0
  502. package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +100 -0
  503. package/esm2022/src/lib/models/bank/bank-transaction-summary-fields.enum.mjs +6 -0
  504. package/esm2022/src/lib/models/bank/bank-transaction.mjs +77 -0
  505. package/esm2022/src/lib/models/bank/bank.mjs +37 -0
  506. package/esm2022/src/lib/models/bank/basiq/basiq-config.mjs +12 -0
  507. package/esm2022/src/lib/models/bank/basiq/basiq-connection-data.interface.mjs +2 -0
  508. package/esm2022/src/lib/models/bank/basiq/basiq-connections-response.interface.mjs +2 -0
  509. package/esm2022/src/lib/models/bank/basiq/basiq-job-response.mjs +15 -0
  510. package/esm2022/src/lib/models/bank/basiq/basiq-job-step.mjs +18 -0
  511. package/esm2022/src/lib/models/bank/basiq/basiq-job.mjs +4 -0
  512. package/esm2022/src/lib/models/bank/basiq/basiq-token-response.interface.mjs +2 -0
  513. package/esm2022/src/lib/models/bank/basiq/basiq-token.mjs +15 -0
  514. package/esm2022/src/lib/models/bank/basiq/index.mjs +9 -0
  515. package/esm2022/src/lib/models/bank/index.mjs +14 -0
  516. package/esm2022/src/lib/models/bank/type-loan.const.mjs +9 -0
  517. package/esm2022/src/lib/models/borrowing-expense/borrowing-expense-loan.mjs +4 -0
  518. package/esm2022/src/lib/models/borrowing-expense/borrowing-expense.mjs +4 -0
  519. package/esm2022/src/lib/models/borrowing-expense/index.mjs +3 -0
  520. package/esm2022/src/lib/models/budget/budget-rule.mjs +14 -0
  521. package/esm2022/src/lib/models/budget/budget.mjs +18 -0
  522. package/esm2022/src/lib/models/budget/index.mjs +3 -0
  523. package/esm2022/src/lib/models/chart/chart-data.mjs +13 -0
  524. package/esm2022/src/lib/models/chart/chart-serie.mjs +7 -0
  525. package/esm2022/src/lib/models/chart-accounts/chart-accounts-categories.const.mjs +122 -0
  526. package/esm2022/src/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +48 -0
  527. package/esm2022/src/lib/models/chart-accounts/chart-accounts-depreciation.mjs +16 -0
  528. package/esm2022/src/lib/models/chart-accounts/chart-accounts-heading.mjs +4 -0
  529. package/esm2022/src/lib/models/chart-accounts/chart-accounts-meta-field.mjs +20 -0
  530. package/esm2022/src/lib/models/chart-accounts/chart-accounts-tax-labels.enum.mjs +7 -0
  531. package/esm2022/src/lib/models/chart-accounts/chart-accounts-value.mjs +4 -0
  532. package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +249 -0
  533. package/esm2022/src/lib/models/chart-accounts/index.mjs +9 -0
  534. package/esm2022/src/lib/models/chat/chat-view-type.enum.mjs +6 -0
  535. package/esm2022/src/lib/models/chat/chat.mjs +26 -0
  536. package/esm2022/src/lib/models/chat/index.mjs +5 -0
  537. package/esm2022/src/lib/models/chat/message-document.mjs +21 -0
  538. package/esm2022/src/lib/models/chat/message.mjs +43 -0
  539. package/esm2022/src/lib/models/client/annual-client-details.mjs +19 -0
  540. package/esm2022/src/lib/models/client/client-details.mjs +4 -0
  541. package/esm2022/src/lib/models/client/client-invite.mjs +68 -0
  542. package/esm2022/src/lib/models/client/client-movement.mjs +23 -0
  543. package/esm2022/src/lib/models/client/client-portfolio-chart-data.mjs +55 -0
  544. package/esm2022/src/lib/models/client/client-portfolio-report.mjs +7 -0
  545. package/esm2022/src/lib/models/client/index.mjs +7 -0
  546. package/esm2022/src/lib/models/color/alphabet-colors.enum.mjs +30 -0
  547. package/esm2022/src/lib/models/depreciation/depreciation-capital-project.mjs +9 -0
  548. package/esm2022/src/lib/models/depreciation/depreciation-forecast.mjs +42 -0
  549. package/esm2022/src/lib/models/depreciation/depreciation-group-item.mjs +18 -0
  550. package/esm2022/src/lib/models/depreciation/depreciation-group.enum.mjs +10 -0
  551. package/esm2022/src/lib/models/depreciation/depreciation-group.mjs +20 -0
  552. package/esm2022/src/lib/models/depreciation/depreciation-groups.const.mjs +34 -0
  553. package/esm2022/src/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +9 -0
  554. package/esm2022/src/lib/models/depreciation/depreciation.mjs +188 -0
  555. package/esm2022/src/lib/models/depreciation/index.mjs +9 -0
  556. package/esm2022/src/lib/models/dictionary/dictionary.mjs +49 -0
  557. package/esm2022/src/lib/models/dictionary/index.mjs +2 -0
  558. package/esm2022/src/lib/models/document/document-api-url-prefix.enum.mjs +9 -0
  559. package/esm2022/src/lib/models/document/document-file-types.const.mjs +23 -0
  560. package/esm2022/src/lib/models/document/document-folder.mjs +4 -0
  561. package/esm2022/src/lib/models/document/document.mjs +17 -0
  562. package/esm2022/src/lib/models/document/index.mjs +5 -0
  563. package/esm2022/src/lib/models/employee/employee-details.mjs +10 -0
  564. package/esm2022/src/lib/models/employee/employee-invite.mjs +14 -0
  565. package/esm2022/src/lib/models/endpoint/endpoint.mjs +23 -0
  566. package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +248 -0
  567. package/esm2022/src/lib/models/event/app-event-type.enum.mjs +66 -0
  568. package/esm2022/src/lib/models/event/app-event.mjs +21 -0
  569. package/esm2022/src/lib/models/event/index.mjs +3 -0
  570. package/esm2022/src/lib/models/export/export-cell-type.enum.mjs +11 -0
  571. package/esm2022/src/lib/models/export/export-cell.mjs +6 -0
  572. package/esm2022/src/lib/models/export/export-data-table.mjs +3 -0
  573. package/esm2022/src/lib/models/export/export-format.enum.mjs +6 -0
  574. package/esm2022/src/lib/models/file/file.mjs +12 -0
  575. package/esm2022/src/lib/models/file/icons-file.enum.mjs +7 -0
  576. package/esm2022/src/lib/models/file/index.mjs +2 -0
  577. package/esm2022/src/lib/models/financial-year/financial-year.mjs +57 -0
  578. package/esm2022/src/lib/models/financial-year/index.mjs +5 -0
  579. package/esm2022/src/lib/models/financial-year/month-name-short.enum.mjs +21 -0
  580. package/esm2022/src/lib/models/financial-year/month-number.enum.mjs +21 -0
  581. package/esm2022/src/lib/models/financial-year/months.const.mjs +2 -0
  582. package/esm2022/src/lib/models/firm/firm.mjs +26 -0
  583. package/esm2022/src/lib/models/holding/holding-import.mjs +16 -0
  584. package/esm2022/src/lib/models/holding/holding-reinvest.mjs +22 -0
  585. package/esm2022/src/lib/models/holding/holding-sale.mjs +37 -0
  586. package/esm2022/src/lib/models/holding/holding-type-exchange.mjs +13 -0
  587. package/esm2022/src/lib/models/holding/holding-type.mjs +64 -0
  588. package/esm2022/src/lib/models/holding/holding.mjs +82 -0
  589. package/esm2022/src/lib/models/holding/index.mjs +7 -0
  590. package/esm2022/src/lib/models/income-position/income-position.mjs +9 -0
  591. package/esm2022/src/lib/models/income-source/income-source-chart-data.mjs +45 -0
  592. package/esm2022/src/lib/models/income-source/income-source-forecast.mjs +34 -0
  593. package/esm2022/src/lib/models/income-source/income-source-type.mjs +20 -0
  594. package/esm2022/src/lib/models/income-source/income-source.mjs +58 -0
  595. package/esm2022/src/lib/models/income-source/index.mjs +7 -0
  596. package/esm2022/src/lib/models/income-source/salary-forecast.mjs +36 -0
  597. package/esm2022/src/lib/models/income-source/sole-forecast.mjs +13 -0
  598. package/esm2022/src/lib/models/index.mjs +26 -0
  599. package/esm2022/src/lib/models/loan/index.mjs +5 -0
  600. package/esm2022/src/lib/models/loan/loan-max-number-of-payments.enum.mjs +11 -0
  601. package/esm2022/src/lib/models/loan/loan-payment.mjs +13 -0
  602. package/esm2022/src/lib/models/loan/loan-payout.mjs +11 -0
  603. package/esm2022/src/lib/models/loan/loan.mjs +84 -0
  604. package/esm2022/src/lib/models/notification/index.mjs +2 -0
  605. package/esm2022/src/lib/models/notification/notification.mjs +39 -0
  606. package/esm2022/src/lib/models/pdf/pdf-orientation.enum.mjs +6 -0
  607. package/esm2022/src/lib/models/pdf/pdf-settings.mjs +17 -0
  608. package/esm2022/src/lib/models/phone/phone.mjs +19 -0
  609. package/esm2022/src/lib/models/property/borrowing-report.mjs +50 -0
  610. package/esm2022/src/lib/models/property/calculation-form-item.mjs +17 -0
  611. package/esm2022/src/lib/models/property/calculation-form-type.enum.mjs +9 -0
  612. package/esm2022/src/lib/models/property/capital-costs-itmes.const.mjs +57 -0
  613. package/esm2022/src/lib/models/property/corelogic-suggestion.mjs +7 -0
  614. package/esm2022/src/lib/models/property/index.mjs +18 -0
  615. package/esm2022/src/lib/models/property/property-category-movement.mjs +24 -0
  616. package/esm2022/src/lib/models/property/property-category.mjs +15 -0
  617. package/esm2022/src/lib/models/property/property-document.mjs +17 -0
  618. package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +157 -0
  619. package/esm2022/src/lib/models/property/property-equity-chart-item.mjs +24 -0
  620. package/esm2022/src/lib/models/property/property-equity-chart-type.enum.mjs +6 -0
  621. package/esm2022/src/lib/models/property/property-forecast.mjs +56 -0
  622. package/esm2022/src/lib/models/property/property-sale/index.mjs +6 -0
  623. package/esm2022/src/lib/models/property/property-sale/property-sale-cost-base.mjs +20 -0
  624. package/esm2022/src/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +4 -0
  625. package/esm2022/src/lib/models/property/property-sale/property-sale.mjs +55 -0
  626. package/esm2022/src/lib/models/property/property-sale/tax-exemption-meta-field.mjs +4 -0
  627. package/esm2022/src/lib/models/property/property-sale/tax-exemption.mjs +8 -0
  628. package/esm2022/src/lib/models/property/property-share.mjs +47 -0
  629. package/esm2022/src/lib/models/property/property-subscription.mjs +13 -0
  630. package/esm2022/src/lib/models/property/property-valuation.mjs +24 -0
  631. package/esm2022/src/lib/models/property/property.mjs +249 -0
  632. package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +13 -0
  633. package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +10 -0
  634. package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +21 -0
  635. package/esm2022/src/lib/models/report/depreciation/depreciation-report-item.mjs +25 -0
  636. package/esm2022/src/lib/models/report/depreciation/index.mjs +4 -0
  637. package/esm2022/src/lib/models/report/index.mjs +6 -0
  638. package/esm2022/src/lib/models/report/my-tax/ato-links.mjs +11 -0
  639. package/esm2022/src/lib/models/report/my-tax/index.mjs +26 -0
  640. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +27 -0
  641. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +11 -0
  642. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +16 -0
  643. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +15 -0
  644. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +74 -0
  645. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +70 -0
  646. package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +9 -0
  647. package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +30 -0
  648. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +13 -0
  649. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +62 -0
  650. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +10 -0
  651. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +96 -0
  652. package/esm2022/src/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +17 -0
  653. package/esm2022/src/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +40 -0
  654. package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +75 -0
  655. package/esm2022/src/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +8 -0
  656. package/esm2022/src/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +11 -0
  657. package/esm2022/src/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +11 -0
  658. package/esm2022/src/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +8 -0
  659. package/esm2022/src/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +47 -0
  660. package/esm2022/src/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +30 -0
  661. package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +48 -0
  662. package/esm2022/src/lib/models/report/property/index.mjs +4 -0
  663. package/esm2022/src/lib/models/report/property/property-report-item-depreciation.mjs +19 -0
  664. package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +12 -0
  665. package/esm2022/src/lib/models/report/property/property-report-item.mjs +30 -0
  666. package/esm2022/src/lib/models/report/sole/index.mjs +2 -0
  667. package/esm2022/src/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +17 -0
  668. package/esm2022/src/lib/models/report/vehicle-expense/vehicle-expense.mjs +17 -0
  669. package/esm2022/src/lib/models/service-subscription/index.mjs +10 -0
  670. package/esm2022/src/lib/models/service-subscription/module-url-list.const.mjs +12 -0
  671. package/esm2022/src/lib/models/service-subscription/payment-method-brand.enum.mjs +12 -0
  672. package/esm2022/src/lib/models/service-subscription/service-payment-method.mjs +31 -0
  673. package/esm2022/src/lib/models/service-subscription/service-payment.mjs +22 -0
  674. package/esm2022/src/lib/models/service-subscription/service-price.mjs +25 -0
  675. package/esm2022/src/lib/models/service-subscription/service-product-icons.enum.mjs +11 -0
  676. package/esm2022/src/lib/models/service-subscription/service-product-roles.const.mjs +11 -0
  677. package/esm2022/src/lib/models/service-subscription/service-product.mjs +27 -0
  678. package/esm2022/src/lib/models/service-subscription/service-promo-code-duration.enum.mjs +7 -0
  679. package/esm2022/src/lib/models/service-subscription/service-promo-code.mjs +30 -0
  680. package/esm2022/src/lib/models/service-subscription/service-subscription-item.mjs +24 -0
  681. package/esm2022/src/lib/models/service-subscription/service-subscription.mjs +161 -0
  682. package/esm2022/src/lib/models/sole/bas-report.mjs +39 -0
  683. package/esm2022/src/lib/models/sole/index.mjs +13 -0
  684. package/esm2022/src/lib/models/sole/sole-business-activity.mjs +4 -0
  685. package/esm2022/src/lib/models/sole/sole-business-allocation.mjs +18 -0
  686. package/esm2022/src/lib/models/sole/sole-business-loss-offset-rule.mjs +9 -0
  687. package/esm2022/src/lib/models/sole/sole-business-loss.mjs +27 -0
  688. package/esm2022/src/lib/models/sole/sole-business.mjs +57 -0
  689. package/esm2022/src/lib/models/sole/sole-contact.mjs +30 -0
  690. package/esm2022/src/lib/models/sole/sole-depreciation-method.mjs +8 -0
  691. package/esm2022/src/lib/models/sole/sole-details.mjs +10 -0
  692. package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +47 -0
  693. package/esm2022/src/lib/models/sole/sole-invoice-template.mjs +31 -0
  694. package/esm2022/src/lib/models/sole/sole-invoice.mjs +142 -0
  695. package/esm2022/src/lib/models/tax-return/index.mjs +4 -0
  696. package/esm2022/src/lib/models/tax-return/tax-return-category.mjs +19 -0
  697. package/esm2022/src/lib/models/tax-return/tax-return-item.mjs +40 -0
  698. package/esm2022/src/lib/models/tax-return/tax-return.mjs +10 -0
  699. package/esm2022/src/lib/models/tax-review/tax-review.mjs +86 -0
  700. package/esm2022/src/lib/models/tax-summary/report-item-details.mjs +10 -0
  701. package/esm2022/src/lib/models/tax-summary/report-item.mjs +29 -0
  702. package/esm2022/src/lib/models/tax-summary/tax-summary-section.mjs +32 -0
  703. package/esm2022/src/lib/models/tax-summary/tax-summary-type.enum.mjs +9 -0
  704. package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +152 -0
  705. package/esm2022/src/lib/models/toast/toast-type.enum.mjs +8 -0
  706. package/esm2022/src/lib/models/toast/toast.mjs +10 -0
  707. package/esm2022/src/lib/models/transaction/allocation-rule-condition.mjs +40 -0
  708. package/esm2022/src/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +4 -0
  709. package/esm2022/src/lib/models/transaction/allocation-rule-transaction.mjs +110 -0
  710. package/esm2022/src/lib/models/transaction/allocation-rule.mjs +131 -0
  711. package/esm2022/src/lib/models/transaction/income-amount-type.enum.mjs +9 -0
  712. package/esm2022/src/lib/models/transaction/index.mjs +9 -0
  713. package/esm2022/src/lib/models/transaction/transaction-allocation.mjs +21 -0
  714. package/esm2022/src/lib/models/transaction/transaction-category.enum.mjs +8 -0
  715. package/esm2022/src/lib/models/transaction/transaction-meta-field.mjs +17 -0
  716. package/esm2022/src/lib/models/transaction/transaction.mjs +249 -0
  717. package/esm2022/src/lib/models/user/index.mjs +10 -0
  718. package/esm2022/src/lib/models/user/my-account-history-initiated-by.enum.mjs +6 -0
  719. package/esm2022/src/lib/models/user/my-account-history-status.enum.mjs +6 -0
  720. package/esm2022/src/lib/models/user/my-account-history-type.enum.mjs +7 -0
  721. package/esm2022/src/lib/models/user/my-account-history.mjs +3 -0
  722. package/esm2022/src/lib/models/user/occupation.mjs +4 -0
  723. package/esm2022/src/lib/models/user/user-roles.const.mjs +20 -0
  724. package/esm2022/src/lib/models/user/user-to-register.mjs +6 -0
  725. package/esm2022/src/lib/models/user/user-work-position.const.mjs +7 -0
  726. package/esm2022/src/lib/models/user/user.mjs +171 -0
  727. package/esm2022/src/lib/models/user-event/user-event-setting-field.enum.mjs +10 -0
  728. package/esm2022/src/lib/models/user-event/user-event-setting.mjs +18 -0
  729. package/esm2022/src/lib/models/user-event/user-event-type-category.mjs +4 -0
  730. package/esm2022/src/lib/models/user-event/user-event-type.mjs +23 -0
  731. package/esm2022/src/lib/models/vehicle/index.mjs +5 -0
  732. package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +27 -0
  733. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +60 -0
  734. package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +27 -0
  735. package/esm2022/src/lib/models/vehicle/vehicle.mjs +10 -0
  736. package/esm2022/src/lib/pipes/app-currency.pipe.mjs +23 -0
  737. package/esm2022/src/lib/pipes/index.mjs +3 -0
  738. package/esm2022/src/lib/pipes/safe-url.pipe.mjs +21 -0
  739. package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +168 -0
  740. package/esm2022/src/lib/services/account-setup/index.mjs +2 -0
  741. package/esm2022/src/lib/services/asset/assets.service.mjs +51 -0
  742. package/esm2022/src/lib/services/asset/index.mjs +2 -0
  743. package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +32 -0
  744. package/esm2022/src/lib/services/bank/index.mjs +2 -0
  745. package/esm2022/src/lib/services/data.service.mjs +44 -0
  746. package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +41 -0
  747. package/esm2022/src/lib/services/event/index.mjs +3 -0
  748. package/esm2022/src/lib/services/event/sse.service.mjs +48 -0
  749. package/esm2022/src/lib/services/export/export-formatter.service.mjs +34 -0
  750. package/esm2022/src/lib/services/export/index.mjs +2 -0
  751. package/esm2022/src/lib/services/header-title/header-title.service.mjs +28 -0
  752. package/esm2022/src/lib/services/header-title/index.mjs +2 -0
  753. package/esm2022/src/lib/services/http/address/address.service.mjs +37 -0
  754. package/esm2022/src/lib/services/http/address/index.mjs +2 -0
  755. package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +84 -0
  756. package/esm2022/src/lib/services/http/bank/bank-account/index.mjs +2 -0
  757. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +23 -0
  758. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +78 -0
  759. package/esm2022/src/lib/services/http/bank/bank-connection/index.mjs +3 -0
  760. package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +77 -0
  761. package/esm2022/src/lib/services/http/bank/bank-transaction/index.mjs +2 -0
  762. package/esm2022/src/lib/services/http/bank/bank.service.mjs +26 -0
  763. package/esm2022/src/lib/services/http/bank/basiq/basiq-messages.enum.mjs +7 -0
  764. package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +39 -0
  765. package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +142 -0
  766. package/esm2022/src/lib/services/http/bank/basiq/index.mjs +4 -0
  767. package/esm2022/src/lib/services/http/bank/index.mjs +6 -0
  768. package/esm2022/src/lib/services/http/budget/budget-messages.enum.mjs +8 -0
  769. package/esm2022/src/lib/services/http/budget/budget.service.mjs +23 -0
  770. package/esm2022/src/lib/services/http/budget/index.mjs +3 -0
  771. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +26 -0
  772. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +2 -0
  773. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +8 -0
  774. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +49 -0
  775. package/esm2022/src/lib/services/http/chart-accounts/index.mjs +4 -0
  776. package/esm2022/src/lib/services/http/chat/chat.service.mjs +88 -0
  777. package/esm2022/src/lib/services/http/chat/index.mjs +4 -0
  778. package/esm2022/src/lib/services/http/chat/message-document.service.mjs +80 -0
  779. package/esm2022/src/lib/services/http/chat/message.service.mjs +35 -0
  780. package/esm2022/src/lib/services/http/client/capital-gain/annual-client-details.service.mjs +23 -0
  781. package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +27 -0
  782. package/esm2022/src/lib/services/http/client/index.mjs +4 -0
  783. package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +43 -0
  784. package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +27 -0
  785. package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/index.mjs +2 -0
  786. package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +106 -0
  787. package/esm2022/src/lib/services/http/depreciation/index.mjs +3 -0
  788. package/esm2022/src/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +8 -0
  789. package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +26 -0
  790. package/esm2022/src/lib/services/http/document/document-folder/index.mjs +3 -0
  791. package/esm2022/src/lib/services/http/document/document-messages.enum.mjs +8 -0
  792. package/esm2022/src/lib/services/http/document/document.service.mjs +23 -0
  793. package/esm2022/src/lib/services/http/document/index.mjs +4 -0
  794. package/esm2022/src/lib/services/http/facebook/facebook-auth-options.interface.mjs +2 -0
  795. package/esm2022/src/lib/services/http/facebook/facebook-auth-response.interface.mjs +2 -0
  796. package/esm2022/src/lib/services/http/facebook/facebook-status-response.interface.mjs +2 -0
  797. package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +87 -0
  798. package/esm2022/src/lib/services/http/facebook/index.mjs +2 -0
  799. package/esm2022/src/lib/services/http/file/file.service.mjs +39 -0
  800. package/esm2022/src/lib/services/http/file/index.mjs +2 -0
  801. package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +15 -0
  802. package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +100 -0
  803. package/esm2022/src/lib/services/http/firm/client-invite/index.mjs +3 -0
  804. package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +87 -0
  805. package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +2 -0
  806. package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +13 -0
  807. package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +42 -0
  808. package/esm2022/src/lib/services/http/firm/employee/index.mjs +3 -0
  809. package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +48 -0
  810. package/esm2022/src/lib/services/http/firm/employee-invite/index.mjs +2 -0
  811. package/esm2022/src/lib/services/http/firm/firm-messages.enum.mjs +6 -0
  812. package/esm2022/src/lib/services/http/firm/firm.service.mjs +63 -0
  813. package/esm2022/src/lib/services/http/firm/index.mjs +8 -0
  814. package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +37 -0
  815. package/esm2022/src/lib/services/http/firm/portfolio-report/index.mjs +2 -0
  816. package/esm2022/src/lib/services/http/google/google.service.mjs +77 -0
  817. package/esm2022/src/lib/services/http/google/index.mjs +2 -0
  818. package/esm2022/src/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +9 -0
  819. package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +37 -0
  820. package/esm2022/src/lib/services/http/holding/holding-messages.enum.mjs +10 -0
  821. package/esm2022/src/lib/services/http/holding/holding-sale-messages.enum.mjs +8 -0
  822. package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +23 -0
  823. package/esm2022/src/lib/services/http/holding/holding-type-messages.enum.mjs +8 -0
  824. package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +23 -0
  825. package/esm2022/src/lib/services/http/holding/holding.service.mjs +35 -0
  826. package/esm2022/src/lib/services/http/holding/index.mjs +10 -0
  827. package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +84 -0
  828. package/esm2022/src/lib/services/http/income-source/income-source-forecast/index.mjs +2 -0
  829. package/esm2022/src/lib/services/http/income-source/income-source-messages.enum.mjs +10 -0
  830. package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +93 -0
  831. package/esm2022/src/lib/services/http/income-source/index.mjs +6 -0
  832. package/esm2022/src/lib/services/http/income-source/salary-forecast/index.mjs +2 -0
  833. package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +83 -0
  834. package/esm2022/src/lib/services/http/income-source/sole-forecast/index.mjs +2 -0
  835. package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +90 -0
  836. package/esm2022/src/lib/services/http/index.mjs +29 -0
  837. package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +74 -0
  838. package/esm2022/src/lib/services/http/loan/borrowing-expense/index.mjs +2 -0
  839. package/esm2022/src/lib/services/http/loan/index.mjs +3 -0
  840. package/esm2022/src/lib/services/http/loan/loan.service.mjs +91 -0
  841. package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +30 -0
  842. package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +7 -0
  843. package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +23 -0
  844. package/esm2022/src/lib/services/http/property/borrowing-report/index.mjs +3 -0
  845. package/esm2022/src/lib/services/http/property/index.mjs +10 -0
  846. package/esm2022/src/lib/services/http/property/property-category/index.mjs +2 -0
  847. package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +26 -0
  848. package/esm2022/src/lib/services/http/property/property-category-movement/index.mjs +2 -0
  849. package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +23 -0
  850. package/esm2022/src/lib/services/http/property/property-document/index.mjs +3 -0
  851. package/esm2022/src/lib/services/http/property/property-document/property-document-messages.enum.mjs +8 -0
  852. package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +33 -0
  853. package/esm2022/src/lib/services/http/property/property-messages.enum.mjs +6 -0
  854. package/esm2022/src/lib/services/http/property/property-sale/index.mjs +3 -0
  855. package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +23 -0
  856. package/esm2022/src/lib/services/http/property/property-share/index.mjs +2 -0
  857. package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +66 -0
  858. package/esm2022/src/lib/services/http/property/property-valuation/index.mjs +3 -0
  859. package/esm2022/src/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +7 -0
  860. package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +23 -0
  861. package/esm2022/src/lib/services/http/property/property.service.mjs +87 -0
  862. package/esm2022/src/lib/services/http/rest/http-method.type.mjs +2 -0
  863. package/esm2022/src/lib/services/http/rest/index.mjs +4 -0
  864. package/esm2022/src/lib/services/http/rest/rest-method.type.mjs +2 -0
  865. package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +240 -0
  866. package/esm2022/src/lib/services/http/rest/rest.service.mjs +296 -0
  867. package/esm2022/src/lib/services/http/service-notification/index.mjs +2 -0
  868. package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +72 -0
  869. package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +23 -0
  870. package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +20 -0
  871. package/esm2022/src/lib/services/http/sole/index.mjs +11 -0
  872. package/esm2022/src/lib/services/http/sole/sole-business/index.mjs +3 -0
  873. package/esm2022/src/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +5 -0
  874. package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +28 -0
  875. package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +20 -0
  876. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +23 -0
  877. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +37 -0
  878. package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +20 -0
  879. package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +73 -0
  880. package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +64 -0
  881. package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +48 -0
  882. package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +20 -0
  883. package/esm2022/src/lib/services/http/subscription/index.mjs +7 -0
  884. package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +33 -0
  885. package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +45 -0
  886. package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +26 -0
  887. package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +23 -0
  888. package/esm2022/src/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +10 -0
  889. package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +84 -0
  890. package/esm2022/src/lib/services/http/tax-review/index.mjs +4 -0
  891. package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +45 -0
  892. package/esm2022/src/lib/services/http/tax-review/tax-review-messages.enum.mjs +20 -0
  893. package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +106 -0
  894. package/esm2022/src/lib/services/http/tax-summary/index.mjs +2 -0
  895. package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +71 -0
  896. package/esm2022/src/lib/services/http/transaction/index.mjs +4 -0
  897. package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +22 -0
  898. package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +117 -0
  899. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +288 -0
  900. package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +29 -0
  901. package/esm2022/src/lib/services/http/user/index.mjs +8 -0
  902. package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +23 -0
  903. package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +23 -0
  904. package/esm2022/src/lib/services/http/user/user-messages.enum.mjs +7 -0
  905. package/esm2022/src/lib/services/http/user/user.service.mjs +105 -0
  906. package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +23 -0
  907. package/esm2022/src/lib/services/http/vehicle/index.mjs +6 -0
  908. package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +74 -0
  909. package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +50 -0
  910. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/index.mjs +3 -0
  911. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +8 -0
  912. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +25 -0
  913. package/esm2022/src/lib/services/http/vehicle/vehicle-messages.enum.mjs +8 -0
  914. package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +25 -0
  915. package/esm2022/src/lib/services/http/youtube/index.mjs +3 -0
  916. package/esm2022/src/lib/services/http/youtube/youtube-video.interface.mjs +2 -0
  917. package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +34 -0
  918. package/esm2022/src/lib/services/index.mjs +17 -0
  919. package/esm2022/src/lib/services/intercom/index.mjs +2 -0
  920. package/esm2022/src/lib/services/intercom/intercom.service.mjs +41 -0
  921. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +31 -0
  922. package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +23 -0
  923. package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +23 -0
  924. package/esm2022/src/lib/services/json/index.mjs +6 -0
  925. package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +23 -0
  926. package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +23 -0
  927. package/esm2022/src/lib/services/pdf/index.mjs +6 -0
  928. package/esm2022/src/lib/services/pdf/js-pdf.mjs +10 -0
  929. package/esm2022/src/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +21 -0
  930. package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +47 -0
  931. package/esm2022/src/lib/services/pdf/pdf-from-table/file-settings.mjs +36 -0
  932. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +46 -0
  933. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +42 -0
  934. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +63 -0
  935. package/esm2022/src/lib/services/preloader/index.mjs +2 -0
  936. package/esm2022/src/lib/services/preloader/preloader.service.mjs +30 -0
  937. package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +42 -0
  938. package/esm2022/src/lib/services/property/corelogic/index.mjs +2 -0
  939. package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +39 -0
  940. package/esm2022/src/lib/services/property/equity-position-chart/index.mjs +2 -0
  941. package/esm2022/src/lib/services/property/index.mjs +4 -0
  942. package/esm2022/src/lib/services/property/property-calculation/index.mjs +2 -0
  943. package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +158 -0
  944. package/esm2022/src/lib/services/report/index.mjs +2 -0
  945. package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +65 -0
  946. package/esm2022/src/lib/services/toast/index.mjs +2 -0
  947. package/esm2022/src/lib/services/toast/toast.service.mjs +59 -0
  948. package/esm2022/src/lib/services/user/index.mjs +2 -0
  949. package/esm2022/src/lib/services/user/user-switcher.service.mjs +37 -0
  950. package/esm2022/src/lib/services/xlsx/index.mjs +2 -0
  951. package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +84 -0
  952. package/esm2022/src/lib/validators/address-corelogic.validator.mjs +19 -0
  953. package/esm2022/src/lib/validators/at-least-one-enabled.validator.mjs +9 -0
  954. package/esm2022/src/lib/validators/at-least-one.validator.mjs +9 -0
  955. package/esm2022/src/lib/validators/autocomplete.validator.mjs +8 -0
  956. package/esm2022/src/lib/validators/conditional.validator.mjs +26 -0
  957. package/esm2022/src/lib/validators/current-fin-year.validator.mjs +14 -0
  958. package/esm2022/src/lib/validators/date-range.validator.mjs +22 -0
  959. package/esm2022/src/lib/validators/fields-sum.validator.mjs +24 -0
  960. package/esm2022/src/lib/validators/file.validator.mjs +36 -0
  961. package/esm2022/src/lib/validators/greater-than.validator.mjs +12 -0
  962. package/esm2022/src/lib/validators/group.validator.mjs +11 -0
  963. package/esm2022/src/lib/validators/index.mjs +12 -0
  964. package/esm2022/src/lib/validators/min-date/messages.enum.mjs +5 -0
  965. package/esm2022/src/lib/validators/min-date/min-date.validator.mjs +18 -0
  966. package/esm2022/src/lib/validators/password-match.validator.mjs +17 -0
  967. package/esm2022/src/lib/validators/password.validator.mjs +20 -0
  968. package/esm2022/src/lib/validators/phone-number.validator.mjs +9 -0
  969. package/esm2022/src/lib/validators/required-length.validator.mjs +12 -0
  970. package/esm2022/src/lib/validators/transactions-meta-fields.validator.mjs +33 -0
  971. package/esm2022/src/lib/validators/unique-email.validator.mjs +19 -0
  972. package/esm2022/taxtank-core.mjs +1 -1
  973. package/fesm2022/taxtank-core-common.mjs +369 -0
  974. package/fesm2022/taxtank-core-common.mjs.map +1 -0
  975. package/fesm2022/taxtank-core.mjs +498 -794
  976. package/fesm2022/taxtank-core.mjs.map +1 -1
  977. package/package.json +30 -24
  978. package/public-api.d.ts +158 -159
  979. package/src/lib/collections/subscription/service-subscription.collection.d.ts +23 -0
  980. package/src/lib/core.module.d.ts +13 -0
  981. package/src/lib/db/Models/setup-item.d.ts +11 -0
  982. package/src/lib/db/Models/subscription/service-product.d.ts +19 -0
  983. package/src/lib/db/Models/subscription/service-subscription.d.ts +23 -0
  984. package/src/lib/db/Models/user/user.d.ts +59 -0
  985. package/src/lib/interceptors/interceptors.module.d.ts +6 -0
  986. package/src/lib/interfaces/index.d.ts +13 -0
  987. package/src/lib/models/service-subscription/service-product-roles.const.d.ts +5 -0
  988. package/src/lib/models/user/user-roles.const.d.ts +7 -0
  989. package/src/lib/models/user/user.d.ts +72 -0
  990. package/src/lib/pipes/app-currency.pipe.d.ts +11 -0
  991. package/src/lib/services/event/sse.service.d.ts +20 -0
  992. package/src/lib/services/http/facebook/facebook.service.d.ts +38 -0
  993. package/src/lib/services/http/firm/employee/employee.service.d.ts +20 -0
  994. package/src/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +25 -0
  995. package/src/lib/services/http/google/google.service.d.ts +43 -0
  996. package/src/lib/services/http/holding/holding-import/holding-import.service.d.ts +17 -0
  997. package/src/lib/services/http/holding/holding.service.d.ts +19 -0
  998. package/src/lib/services/http/rest/rest-old.service.d.ts +117 -0
  999. package/src/lib/services/http/rest/rest.service.d.ts +121 -0
  1000. package/src/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +24 -0
  1001. package/src/lib/services/http/user/user.service.d.ts +43 -0
  1002. package/src/lib/services/http/vehicle/vehicle-claim.service.d.ts +21 -0
  1003. package/src/lib/services/index.d.ts +16 -0
  1004. package/esm2022/lib/collections/account-setup-item.collection.mjs +0 -12
  1005. package/esm2022/lib/collections/allocation-group.collection.mjs +0 -9
  1006. package/esm2022/lib/collections/allocation-rule.collection.mjs +0 -26
  1007. package/esm2022/lib/collections/asset-sale.collection.mjs +0 -56
  1008. package/esm2022/lib/collections/bank-account.collection.mjs +0 -153
  1009. package/esm2022/lib/collections/bank-transaction.collection.mjs +0 -131
  1010. package/esm2022/lib/collections/chart-accounts.collection.mjs +0 -26
  1011. package/esm2022/lib/collections/chat/chat.collection.mjs +0 -26
  1012. package/esm2022/lib/collections/chat/index.mjs +0 -4
  1013. package/esm2022/lib/collections/chat/message-document.collection.mjs +0 -13
  1014. package/esm2022/lib/collections/chat/message.collection.mjs +0 -31
  1015. package/esm2022/lib/collections/client-invite.collection.mjs +0 -7
  1016. package/esm2022/lib/collections/client-movement.collection.mjs +0 -47
  1017. package/esm2022/lib/collections/client-portfolio-report.collection.mjs +0 -40
  1018. package/esm2022/lib/collections/client.collection.mjs +0 -4
  1019. package/esm2022/lib/collections/collection-dictionary.mjs +0 -110
  1020. package/esm2022/lib/collections/collection.mjs +0 -163
  1021. package/esm2022/lib/collections/depreciation-forecast.collection.mjs +0 -19
  1022. package/esm2022/lib/collections/depreciation.collection.mjs +0 -116
  1023. package/esm2022/lib/collections/employee.collection.mjs +0 -11
  1024. package/esm2022/lib/collections/exportable.collection.mjs +0 -23
  1025. package/esm2022/lib/collections/holding/holding-sale.collection.mjs +0 -41
  1026. package/esm2022/lib/collections/holding/holding-type.collection.mjs +0 -13
  1027. package/esm2022/lib/collections/holding/holding.collection.mjs +0 -68
  1028. package/esm2022/lib/collections/holding/index.mjs +0 -4
  1029. package/esm2022/lib/collections/income-source/income-source-forecast.collection.mjs +0 -11
  1030. package/esm2022/lib/collections/income-source/income-source.collection.mjs +0 -43
  1031. package/esm2022/lib/collections/income-source/index.mjs +0 -3
  1032. package/esm2022/lib/collections/index.mjs +0 -34
  1033. package/esm2022/lib/collections/loan/index.mjs +0 -3
  1034. package/esm2022/lib/collections/loan/loan-payment.collection.mjs +0 -40
  1035. package/esm2022/lib/collections/loan/loan.collection.mjs +0 -46
  1036. package/esm2022/lib/collections/property/index.mjs +0 -7
  1037. package/esm2022/lib/collections/property/property-category-movement.collection.mjs +0 -23
  1038. package/esm2022/lib/collections/property/property-sale/index.mjs +0 -3
  1039. package/esm2022/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +0 -17
  1040. package/esm2022/lib/collections/property/property-sale/property-sale.collection.mjs +0 -13
  1041. package/esm2022/lib/collections/property/property-share.collection.mjs +0 -20
  1042. package/esm2022/lib/collections/property/property-valuation.collection.mjs +0 -4
  1043. package/esm2022/lib/collections/property/property.collection.mjs +0 -113
  1044. package/esm2022/lib/collections/property/tax-exemption.collection.mjs +0 -11
  1045. package/esm2022/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +0 -12
  1046. package/esm2022/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +0 -12
  1047. package/esm2022/lib/collections/report/index.mjs +0 -7
  1048. package/esm2022/lib/collections/report/property/property-report-item-depreciation.collection.mjs +0 -21
  1049. package/esm2022/lib/collections/report/property/property-report-item-transaction.collection.mjs +0 -21
  1050. package/esm2022/lib/collections/report/property/property-report-item.collection.mjs +0 -13
  1051. package/esm2022/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +0 -17
  1052. package/esm2022/lib/collections/sole/index.mjs +0 -4
  1053. package/esm2022/lib/collections/sole/sole-business-losses.collection.mjs +0 -41
  1054. package/esm2022/lib/collections/sole/sole-invoice-item.collection.mjs +0 -10
  1055. package/esm2022/lib/collections/sole/sole-invoice.collection.mjs +0 -30
  1056. package/esm2022/lib/collections/subscription/index.mjs +0 -5
  1057. package/esm2022/lib/collections/subscription/service-price.collection.mjs +0 -50
  1058. package/esm2022/lib/collections/subscription/service-product.collection.mjs +0 -11
  1059. package/esm2022/lib/collections/subscription/service-subscription.collection.mjs +0 -58
  1060. package/esm2022/lib/collections/subscription/subscription-item.collection.mjs +0 -17
  1061. package/esm2022/lib/collections/tax-review.collection.mjs +0 -53
  1062. package/esm2022/lib/collections/tax-summary/index.mjs +0 -3
  1063. package/esm2022/lib/collections/tax-summary/report-item.collection.mjs +0 -101
  1064. package/esm2022/lib/collections/tax-summary/tax-return-categories.const.mjs +0 -113
  1065. package/esm2022/lib/collections/transaction/index.mjs +0 -3
  1066. package/esm2022/lib/collections/transaction/transaction-allocation.collection.mjs +0 -39
  1067. package/esm2022/lib/collections/transaction/transaction.collection.mjs +0 -240
  1068. package/esm2022/lib/collections/user-event-setting.collection.mjs +0 -10
  1069. package/esm2022/lib/collections/user-event-type-collection.mjs +0 -11
  1070. package/esm2022/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +0 -90
  1071. package/esm2022/lib/collections/vehicle/index.mjs +0 -4
  1072. package/esm2022/lib/collections/vehicle/vehicle-claim.collection.mjs +0 -25
  1073. package/esm2022/lib/collections/vehicle/vehicle-logbook.collection.mjs +0 -31
  1074. package/esm2022/lib/db/Enums/address-type.enum.mjs +0 -6
  1075. package/esm2022/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +0 -9
  1076. package/esm2022/lib/db/Enums/allocation-rule-condition-field.enum.mjs +0 -6
  1077. package/esm2022/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +0 -6
  1078. package/esm2022/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
  1079. package/esm2022/lib/db/Enums/annual-frequency.enum.mjs +0 -9
  1080. package/esm2022/lib/db/Enums/bank/bank-account-status.enum.mjs +0 -6
  1081. package/esm2022/lib/db/Enums/bank/bank-account-type.enum.mjs +0 -13
  1082. package/esm2022/lib/db/Enums/bank/bank-connection-status.enum.mjs +0 -7
  1083. package/esm2022/lib/db/Enums/bank/bank-popular.enum.mjs +0 -14
  1084. package/esm2022/lib/db/Enums/bank/bank-provider.enum.mjs +0 -7
  1085. package/esm2022/lib/db/Enums/bank/bank-transaction-type.enum.mjs +0 -6
  1086. package/esm2022/lib/db/Enums/bank/index.mjs +0 -7
  1087. package/esm2022/lib/db/Enums/bank/loan/index.mjs +0 -11
  1088. package/esm2022/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +0 -12
  1089. package/esm2022/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +0 -8
  1090. package/esm2022/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +0 -6
  1091. package/esm2022/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +0 -6
  1092. package/esm2022/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +0 -6
  1093. package/esm2022/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +0 -7
  1094. package/esm2022/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +0 -6
  1095. package/esm2022/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +0 -6
  1096. package/esm2022/lib/db/Enums/bank/loan/loan-type.enum.mjs +0 -14
  1097. package/esm2022/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +0 -7
  1098. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +0 -16
  1099. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +0 -20
  1100. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +0 -9
  1101. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +0 -50
  1102. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +0 -8
  1103. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +0 -8
  1104. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +0 -8
  1105. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +0 -11
  1106. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
  1107. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +0 -10
  1108. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +0 -102
  1109. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +0 -19
  1110. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +0 -6
  1111. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +0 -50
  1112. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +0 -17
  1113. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +0 -6
  1114. package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
  1115. package/esm2022/lib/db/Enums/chart-accounts/index.mjs +0 -18
  1116. package/esm2022/lib/db/Enums/chat-status.enum.mjs +0 -6
  1117. package/esm2022/lib/db/Enums/client-details-medicare-exemption.enum.mjs +0 -7
  1118. package/esm2022/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +0 -6
  1119. package/esm2022/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +0 -7
  1120. package/esm2022/lib/db/Enums/client-invite-status.enum.mjs +0 -6
  1121. package/esm2022/lib/db/Enums/client-invite-type.enum.mjs +0 -6
  1122. package/esm2022/lib/db/Enums/depreciation-calculation-percent.enum.mjs +0 -9
  1123. package/esm2022/lib/db/Enums/depreciation-calculation.enum.mjs +0 -10
  1124. package/esm2022/lib/db/Enums/depreciation-type.enum.mjs +0 -8
  1125. package/esm2022/lib/db/Enums/depreciation-write-off-amount.enum.mjs +0 -6
  1126. package/esm2022/lib/db/Enums/document-type.enum.mjs +0 -5
  1127. package/esm2022/lib/db/Enums/file-type.enum.mjs +0 -14
  1128. package/esm2022/lib/db/Enums/firm-type.enum.mjs +0 -6
  1129. package/esm2022/lib/db/Enums/holding/holding-type-category.enum.mjs +0 -18
  1130. package/esm2022/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +0 -10
  1131. package/esm2022/lib/db/Enums/holding/index.mjs +0 -3
  1132. package/esm2022/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +0 -15
  1133. package/esm2022/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +0 -9
  1134. package/esm2022/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +0 -9
  1135. package/esm2022/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +0 -5
  1136. package/esm2022/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +0 -10
  1137. package/esm2022/lib/db/Enums/income-source/income-source-type.enum.mjs +0 -11
  1138. package/esm2022/lib/db/Enums/income-source/index.mjs +0 -7
  1139. package/esm2022/lib/db/Enums/index.mjs +0 -13
  1140. package/esm2022/lib/db/Enums/invite-status.enum.mjs +0 -7
  1141. package/esm2022/lib/db/Enums/phone-type.enum.mjs +0 -6
  1142. package/esm2022/lib/db/Enums/property/property-category-list.enum.mjs +0 -7
  1143. package/esm2022/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +0 -6
  1144. package/esm2022/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +0 -9
  1145. package/esm2022/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +0 -12
  1146. package/esm2022/lib/db/Enums/property/property-share-access.enum.mjs +0 -6
  1147. package/esm2022/lib/db/Enums/property/property-share-status.enum.mjs +0 -7
  1148. package/esm2022/lib/db/Enums/registration-invite-status.enum.mjs +0 -6
  1149. package/esm2022/lib/db/Enums/salary-forecast-frequency.enum.mjs +0 -8
  1150. package/esm2022/lib/db/Enums/service-notification-status.enum.mjs +0 -7
  1151. package/esm2022/lib/db/Enums/service-notification-type.enum.mjs +0 -6
  1152. package/esm2022/lib/db/Enums/setup-item-type.enum.mjs +0 -6
  1153. package/esm2022/lib/db/Enums/sole-depreciation-method.enum.mjs +0 -6
  1154. package/esm2022/lib/db/Enums/sole-invoice-statuses.enum.mjs +0 -7
  1155. package/esm2022/lib/db/Enums/sole-invoice-tax-type.enum.mjs +0 -7
  1156. package/esm2022/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +0 -7
  1157. package/esm2022/lib/db/Enums/spare-document-spare-type.enum.mjs +0 -6
  1158. package/esm2022/lib/db/Enums/subscription/index.mjs +0 -2
  1159. package/esm2022/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +0 -12
  1160. package/esm2022/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +0 -6
  1161. package/esm2022/lib/db/Enums/subscription/service-payment-status.enum.mjs +0 -6
  1162. package/esm2022/lib/db/Enums/subscription/service-price-list.enum.mjs +0 -8
  1163. package/esm2022/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +0 -8
  1164. package/esm2022/lib/db/Enums/subscription/service-price-type.enum.mjs +0 -9
  1165. package/esm2022/lib/db/Enums/subscription/service-product-id.enum.mjs +0 -11
  1166. package/esm2022/lib/db/Enums/subscription/service-product-status.enum.mjs +0 -6
  1167. package/esm2022/lib/db/Enums/subscription/service-subscription-status.enum.mjs +0 -10
  1168. package/esm2022/lib/db/Enums/tank-type.enum.mjs +0 -10
  1169. package/esm2022/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +0 -6
  1170. package/esm2022/lib/db/Enums/tax-calculation-type.enum.mjs +0 -14
  1171. package/esm2022/lib/db/Enums/tax-return/index.mjs +0 -4
  1172. package/esm2022/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +0 -66
  1173. package/esm2022/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +0 -9
  1174. package/esm2022/lib/db/Enums/tax-return/tax-return-item.enum.mjs +0 -20
  1175. package/esm2022/lib/db/Enums/tax-review-status.enum.mjs +0 -13
  1176. package/esm2022/lib/db/Enums/tax-summary-list.enum.mjs +0 -17
  1177. package/esm2022/lib/db/Enums/tax-summary-section.enum.mjs +0 -9
  1178. package/esm2022/lib/db/Enums/tax-summary-tax-summary.enum.mjs +0 -17
  1179. package/esm2022/lib/db/Enums/ticket-feedback.enum.mjs +0 -6
  1180. package/esm2022/lib/db/Enums/ticket-status.enum.mjs +0 -9
  1181. package/esm2022/lib/db/Enums/ticket-types.enum.mjs +0 -5
  1182. package/esm2022/lib/db/Enums/transaction-operation.enum.mjs +0 -8
  1183. package/esm2022/lib/db/Enums/transaction-source.enum.mjs +0 -6
  1184. package/esm2022/lib/db/Enums/transaction-type.enum.mjs +0 -6
  1185. package/esm2022/lib/db/Enums/user-event-status.enum.mjs +0 -9
  1186. package/esm2022/lib/db/Enums/user-event-type-client-type.enum.mjs +0 -29
  1187. package/esm2022/lib/db/Enums/user-event-type-employee-type.enum.mjs +0 -17
  1188. package/esm2022/lib/db/Enums/user-event-type-frequency.enum.mjs +0 -7
  1189. package/esm2022/lib/db/Enums/user-event-type-type.enum.mjs +0 -51
  1190. package/esm2022/lib/db/Enums/user-event-type-user-type.enum.mjs +0 -7
  1191. package/esm2022/lib/db/Enums/user-medicare-exemption.enum.mjs +0 -7
  1192. package/esm2022/lib/db/Enums/user-roles.enum.mjs +0 -17
  1193. package/esm2022/lib/db/Enums/user-status.enum.mjs +0 -7
  1194. package/esm2022/lib/db/Enums/user-title.enum.mjs +0 -9
  1195. package/esm2022/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +0 -6
  1196. package/esm2022/lib/db/Enums/user-working-holiday-maker.enum.mjs +0 -7
  1197. package/esm2022/lib/db/Enums/vehicle-claim-details-method.enum.mjs +0 -6
  1198. package/esm2022/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +0 -6
  1199. package/esm2022/lib/db/Models/abstract-model.mjs +0 -14
  1200. package/esm2022/lib/db/Models/address.mjs +0 -4
  1201. package/esm2022/lib/db/Models/bank/bank-account-balance.mjs +0 -9
  1202. package/esm2022/lib/db/Models/bank/bank-account-property.mjs +0 -9
  1203. package/esm2022/lib/db/Models/bank/bank-account.mjs +0 -10
  1204. package/esm2022/lib/db/Models/bank/bank-connection.mjs +0 -5
  1205. package/esm2022/lib/db/Models/bank/bank-transaction-import.mjs +0 -4
  1206. package/esm2022/lib/db/Models/bank/bank-transaction.mjs +0 -5
  1207. package/esm2022/lib/db/Models/bank/bank.mjs +0 -4
  1208. package/esm2022/lib/db/Models/bank/basiq-job-step.enum.mjs +0 -8
  1209. package/esm2022/lib/db/Models/bank/basiq-job.mjs +0 -4
  1210. package/esm2022/lib/db/Models/budget/budget-rule.mjs +0 -4
  1211. package/esm2022/lib/db/Models/budget/budget.mjs +0 -4
  1212. package/esm2022/lib/db/Models/budget/index.mjs +0 -3
  1213. package/esm2022/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +0 -4
  1214. package/esm2022/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +0 -4
  1215. package/esm2022/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +0 -4
  1216. package/esm2022/lib/db/Models/chart-accounts/chart-accounts-value.mjs +0 -4
  1217. package/esm2022/lib/db/Models/chart-accounts/chart-accounts.mjs +0 -4
  1218. package/esm2022/lib/db/Models/client/annual-client-details.mjs +0 -3
  1219. package/esm2022/lib/db/Models/client/client-details.mjs +0 -4
  1220. package/esm2022/lib/db/Models/client/index.mjs +0 -4
  1221. package/esm2022/lib/db/Models/client/occupation.mjs +0 -4
  1222. package/esm2022/lib/db/Models/country.mjs +0 -4
  1223. package/esm2022/lib/db/Models/depreciation/depreciation-capital-project.mjs +0 -4
  1224. package/esm2022/lib/db/Models/depreciation/depreciation-forecast.mjs +0 -4
  1225. package/esm2022/lib/db/Models/depreciation/depreciation.mjs +0 -5
  1226. package/esm2022/lib/db/Models/document/document-folder.mjs +0 -4
  1227. package/esm2022/lib/db/Models/document/folder-document.mjs +0 -4
  1228. package/esm2022/lib/db/Models/document/property-document.mjs +0 -4
  1229. package/esm2022/lib/db/Models/file.mjs +0 -4
  1230. package/esm2022/lib/db/Models/firm/accountant/tax-review.mjs +0 -4
  1231. package/esm2022/lib/db/Models/firm/accountant/ticket.mjs +0 -4
  1232. package/esm2022/lib/db/Models/firm/chat.mjs +0 -4
  1233. package/esm2022/lib/db/Models/firm/client-invite.mjs +0 -5
  1234. package/esm2022/lib/db/Models/firm/client-movement.mjs +0 -5
  1235. package/esm2022/lib/db/Models/firm/employee-invite.mjs +0 -4
  1236. package/esm2022/lib/db/Models/firm/firm-invite.mjs +0 -4
  1237. package/esm2022/lib/db/Models/firm/firm.mjs +0 -4
  1238. package/esm2022/lib/db/Models/firm/message-document.mjs +0 -4
  1239. package/esm2022/lib/db/Models/firm/message.mjs +0 -5
  1240. package/esm2022/lib/db/Models/holding/holding-import.mjs +0 -3
  1241. package/esm2022/lib/db/Models/holding/holding-sale.mjs +0 -3
  1242. package/esm2022/lib/db/Models/holding/holding-type-exchange.mjs +0 -3
  1243. package/esm2022/lib/db/Models/holding/holding-type.mjs +0 -3
  1244. package/esm2022/lib/db/Models/holding/holding.mjs +0 -3
  1245. package/esm2022/lib/db/Models/holding/index.mjs +0 -5
  1246. package/esm2022/lib/db/Models/incomeSource/income-source-forecast.mjs +0 -4
  1247. package/esm2022/lib/db/Models/incomeSource/income-source-type.mjs +0 -4
  1248. package/esm2022/lib/db/Models/incomeSource/income-source.mjs +0 -4
  1249. package/esm2022/lib/db/Models/incomeSource/salary-forecast.mjs +0 -4
  1250. package/esm2022/lib/db/Models/index.mjs +0 -96
  1251. package/esm2022/lib/db/Models/loan/borrowing-expense-loan.mjs +0 -4
  1252. package/esm2022/lib/db/Models/loan/borrowing-expense.mjs +0 -4
  1253. package/esm2022/lib/db/Models/loan/loan-payout.mjs +0 -13
  1254. package/esm2022/lib/db/Models/loan/loan.mjs +0 -22
  1255. package/esm2022/lib/db/Models/observable-model.mjs +0 -14
  1256. package/esm2022/lib/db/Models/phone.mjs +0 -4
  1257. package/esm2022/lib/db/Models/property/borrowing-report.mjs +0 -4
  1258. package/esm2022/lib/db/Models/property/property-category-movement.mjs +0 -5
  1259. package/esm2022/lib/db/Models/property/property-category.mjs +0 -5
  1260. package/esm2022/lib/db/Models/property/property-forecast.mjs +0 -4
  1261. package/esm2022/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +0 -4
  1262. package/esm2022/lib/db/Models/property/property-sale/property-sale.mjs +0 -5
  1263. package/esm2022/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +0 -4
  1264. package/esm2022/lib/db/Models/property/property-sale/tax-exemption.mjs +0 -4
  1265. package/esm2022/lib/db/Models/property/property-share.mjs +0 -10
  1266. package/esm2022/lib/db/Models/property/property-subscription.mjs +0 -4
  1267. package/esm2022/lib/db/Models/property/property-valuation.mjs +0 -5
  1268. package/esm2022/lib/db/Models/property/property.mjs +0 -22
  1269. package/esm2022/lib/db/Models/service-notification.mjs +0 -4
  1270. package/esm2022/lib/db/Models/setup-item.mjs +0 -4
  1271. package/esm2022/lib/db/Models/sole/bas-report.mjs +0 -4
  1272. package/esm2022/lib/db/Models/sole/sole-business-activity.mjs +0 -4
  1273. package/esm2022/lib/db/Models/sole/sole-business-allocation.mjs +0 -4
  1274. package/esm2022/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +0 -4
  1275. package/esm2022/lib/db/Models/sole/sole-business-loss.mjs +0 -4
  1276. package/esm2022/lib/db/Models/sole/sole-business.mjs +0 -4
  1277. package/esm2022/lib/db/Models/sole/sole-contact.mjs +0 -4
  1278. package/esm2022/lib/db/Models/sole/sole-depreciation-method.mjs +0 -4
  1279. package/esm2022/lib/db/Models/sole/sole-details.mjs +0 -4
  1280. package/esm2022/lib/db/Models/sole/sole-forecast.mjs +0 -4
  1281. package/esm2022/lib/db/Models/sole/sole-invoice-item.mjs +0 -4
  1282. package/esm2022/lib/db/Models/sole/sole-invoice-template.mjs +0 -4
  1283. package/esm2022/lib/db/Models/sole/sole-invoice.mjs +0 -4
  1284. package/esm2022/lib/db/Models/spare/spare-document-category.mjs +0 -4
  1285. package/esm2022/lib/db/Models/spare/spare-document.mjs +0 -4
  1286. package/esm2022/lib/db/Models/subscription/service-payment-method.mjs +0 -4
  1287. package/esm2022/lib/db/Models/subscription/service-payment.mjs +0 -4
  1288. package/esm2022/lib/db/Models/subscription/service-price.mjs +0 -4
  1289. package/esm2022/lib/db/Models/subscription/service-product.mjs +0 -4
  1290. package/esm2022/lib/db/Models/subscription/service-subscription-item.mjs +0 -4
  1291. package/esm2022/lib/db/Models/subscription/service-subscription.mjs +0 -5
  1292. package/esm2022/lib/db/Models/tax-calculation.mjs +0 -4
  1293. package/esm2022/lib/db/Models/tax-return/index.mjs +0 -4
  1294. package/esm2022/lib/db/Models/tax-return/tax-return-category.mjs +0 -4
  1295. package/esm2022/lib/db/Models/tax-return/tax-return-item.mjs +0 -4
  1296. package/esm2022/lib/db/Models/tax-return/tax-return.mjs +0 -4
  1297. package/esm2022/lib/db/Models/transaction/allocation-rule-condition.mjs +0 -4
  1298. package/esm2022/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +0 -4
  1299. package/esm2022/lib/db/Models/transaction/allocation-rule-transaction.mjs +0 -5
  1300. package/esm2022/lib/db/Models/transaction/allocation-rule.mjs +0 -4
  1301. package/esm2022/lib/db/Models/transaction/transaction-allocation.mjs +0 -4
  1302. package/esm2022/lib/db/Models/transaction/transaction-base.mjs +0 -123
  1303. package/esm2022/lib/db/Models/transaction/transaction-meta-field.mjs +0 -4
  1304. package/esm2022/lib/db/Models/transaction/transaction.mjs +0 -5
  1305. package/esm2022/lib/db/Models/user/employee-details.mjs +0 -4
  1306. package/esm2022/lib/db/Models/user/registration-invite.mjs +0 -4
  1307. package/esm2022/lib/db/Models/user/user-event-setting.mjs +0 -4
  1308. package/esm2022/lib/db/Models/user/user-event-type-category.mjs +0 -4
  1309. package/esm2022/lib/db/Models/user/user-event-type.mjs +0 -4
  1310. package/esm2022/lib/db/Models/user/user-event.mjs +0 -4
  1311. package/esm2022/lib/db/Models/user/user.mjs +0 -5
  1312. package/esm2022/lib/db/Models/vehicle/vehicle-claim-details.mjs +0 -4
  1313. package/esm2022/lib/db/Models/vehicle/vehicle-claim.mjs +0 -4
  1314. package/esm2022/lib/db/Models/vehicle/vehicle-logbook.mjs +0 -4
  1315. package/esm2022/lib/db/Models/vehicle/vehicle.mjs +0 -4
  1316. package/esm2022/lib/db-static/chart-accounts/chart-accounts-values.mjs +0 -9
  1317. package/esm2022/lib/forms/abstract.form.mjs +0 -111
  1318. package/esm2022/lib/forms/address/address.form.mjs +0 -190
  1319. package/esm2022/lib/forms/address/index.mjs +0 -2
  1320. package/esm2022/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +0 -46
  1321. package/esm2022/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +0 -45
  1322. package/esm2022/lib/forms/bank/bank-account/bank-account-import.form.mjs +0 -24
  1323. package/esm2022/lib/forms/bank/bank-account/bank-account-properties.form.mjs +0 -64
  1324. package/esm2022/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +0 -50
  1325. package/esm2022/lib/forms/budget/budget.form.mjs +0 -69
  1326. package/esm2022/lib/forms/budget/index.mjs +0 -2
  1327. package/esm2022/lib/forms/chart-accounts/chart-accounts.form.mjs +0 -14
  1328. package/esm2022/lib/forms/chart-accounts/index.mjs +0 -2
  1329. package/esm2022/lib/forms/client/annual-client-details.form.mjs +0 -39
  1330. package/esm2022/lib/forms/client/index.mjs +0 -2
  1331. package/esm2022/lib/forms/depreciation/depreciation.form.mjs +0 -40
  1332. package/esm2022/lib/forms/depreciation/index.mjs +0 -2
  1333. package/esm2022/lib/forms/document-folder/document-folder.form.mjs +0 -11
  1334. package/esm2022/lib/forms/document-folder/document.form.mjs +0 -11
  1335. package/esm2022/lib/forms/document-folder/index.mjs +0 -3
  1336. package/esm2022/lib/forms/firm/firm.form.mjs +0 -18
  1337. package/esm2022/lib/forms/firm/index.mjs +0 -2
  1338. package/esm2022/lib/forms/form-validations.enum.mjs +0 -12
  1339. package/esm2022/lib/forms/holding/holding-import.form.mjs +0 -25
  1340. package/esm2022/lib/forms/holding/holding-reinvest.form.mjs +0 -59
  1341. package/esm2022/lib/forms/holding/holding-sale.form.mjs +0 -52
  1342. package/esm2022/lib/forms/holding/holding-type.form.mjs +0 -16
  1343. package/esm2022/lib/forms/holding/holding.form.mjs +0 -28
  1344. package/esm2022/lib/forms/holding/index.mjs +0 -6
  1345. package/esm2022/lib/forms/index.mjs +0 -27
  1346. package/esm2022/lib/forms/loan/index.mjs +0 -2
  1347. package/esm2022/lib/forms/loan/loan.form.mjs +0 -90
  1348. package/esm2022/lib/forms/login/login.form.mjs +0 -11
  1349. package/esm2022/lib/forms/phone/index.mjs +0 -2
  1350. package/esm2022/lib/forms/phone/phone.form.mjs +0 -18
  1351. package/esm2022/lib/forms/property/borrowing-report.form.mjs +0 -32
  1352. package/esm2022/lib/forms/property/index.mjs +0 -10
  1353. package/esm2022/lib/forms/property/property-add.form.mjs +0 -69
  1354. package/esm2022/lib/forms/property/property-category-movement-form.mjs +0 -21
  1355. package/esm2022/lib/forms/property/property-document.form.mjs +0 -14
  1356. package/esm2022/lib/forms/property/property-edit.form.mjs +0 -17
  1357. package/esm2022/lib/forms/property/property-forecast.form.mjs +0 -29
  1358. package/esm2022/lib/forms/property/property-sale/index.mjs +0 -4
  1359. package/esm2022/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +0 -39
  1360. package/esm2022/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +0 -66
  1361. package/esm2022/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +0 -107
  1362. package/esm2022/lib/forms/property/property-share.form.mjs +0 -16
  1363. package/esm2022/lib/forms/property/property-valuation.form.mjs +0 -19
  1364. package/esm2022/lib/forms/register/register-client.form.mjs +0 -19
  1365. package/esm2022/lib/forms/register/register-firm.form.mjs +0 -22
  1366. package/esm2022/lib/forms/report/my-tax/index.mjs +0 -17
  1367. package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +0 -31
  1368. package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +0 -81
  1369. package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +0 -14
  1370. package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +0 -79
  1371. package/esm2022/lib/forms/report/my-tax/my-tax-cgt.form.mjs +0 -30
  1372. package/esm2022/lib/forms/report/my-tax/my-tax-deductions.form.mjs +0 -85
  1373. package/esm2022/lib/forms/report/my-tax/my-tax-dividends.form.mjs +0 -23
  1374. package/esm2022/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +0 -108
  1375. package/esm2022/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +0 -10
  1376. package/esm2022/lib/forms/report/my-tax/my-tax-interest.form.mjs +0 -12
  1377. package/esm2022/lib/forms/report/my-tax/my-tax-losses.form.mjs +0 -11
  1378. package/esm2022/lib/forms/report/my-tax/my-tax-medicare.form.mjs +0 -38
  1379. package/esm2022/lib/forms/report/my-tax/my-tax-offsets.form.mjs +0 -10
  1380. package/esm2022/lib/forms/report/my-tax/my-tax-other-income.form.mjs +0 -43
  1381. package/esm2022/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +0 -37
  1382. package/esm2022/lib/forms/report/my-tax/my-tax-rent.form.mjs +0 -13
  1383. package/esm2022/lib/forms/sole/bas-report.form.mjs +0 -62
  1384. package/esm2022/lib/forms/sole/index.mjs +0 -12
  1385. package/esm2022/lib/forms/sole/invoice-payment.form.mjs +0 -14
  1386. package/esm2022/lib/forms/sole/sole-business-allocations.form.mjs +0 -64
  1387. package/esm2022/lib/forms/sole/sole-business-loss.form.mjs +0 -24
  1388. package/esm2022/lib/forms/sole/sole-business.form.mjs +0 -70
  1389. package/esm2022/lib/forms/sole/sole-contact.form.mjs +0 -19
  1390. package/esm2022/lib/forms/sole/sole-depreciation-method.form.mjs +0 -10
  1391. package/esm2022/lib/forms/sole/sole-details.form.mjs +0 -12
  1392. package/esm2022/lib/forms/sole/sole-invoice-item.form.mjs +0 -15
  1393. package/esm2022/lib/forms/sole/sole-invoice-template.form.mjs +0 -15
  1394. package/esm2022/lib/forms/sole/sole-invoice.form.mjs +0 -157
  1395. package/esm2022/lib/forms/transaction/allocation-rule-condition.form.mjs +0 -16
  1396. package/esm2022/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +0 -12
  1397. package/esm2022/lib/forms/transaction/allocation-rule-transaction.form.mjs +0 -144
  1398. package/esm2022/lib/forms/transaction/allocation-rule.form.mjs +0 -188
  1399. package/esm2022/lib/forms/transaction/holding/holding-income.form.mjs +0 -49
  1400. package/esm2022/lib/forms/transaction/index.mjs +0 -8
  1401. package/esm2022/lib/forms/transaction/messages.enum.mjs +0 -5
  1402. package/esm2022/lib/forms/transaction/sole/sole-income.form.mjs +0 -17
  1403. package/esm2022/lib/forms/transaction/sole/sole-transaction.form.mjs +0 -7
  1404. package/esm2022/lib/forms/transaction/transaction-base.form.mjs +0 -98
  1405. package/esm2022/lib/forms/transaction/transaction.form.mjs +0 -62
  1406. package/esm2022/lib/forms/transaction/work/work-expense.form.mjs +0 -33
  1407. package/esm2022/lib/forms/transaction/work/work-income.form.mjs +0 -86
  1408. package/esm2022/lib/forms/transaction/work/work-transaction.form.mjs +0 -40
  1409. package/esm2022/lib/forms/user/client-details.form.mjs +0 -34
  1410. package/esm2022/lib/forms/user/index.mjs +0 -6
  1411. package/esm2022/lib/forms/user/password.form.mjs +0 -14
  1412. package/esm2022/lib/forms/user/reset-password.form.mjs +0 -11
  1413. package/esm2022/lib/forms/user/user-invite.form.mjs +0 -16
  1414. package/esm2022/lib/forms/user/user.form.mjs +0 -15
  1415. package/esm2022/lib/forms/vehicle/index.mjs +0 -5
  1416. package/esm2022/lib/forms/vehicle/vehicle-claim-details.form.mjs +0 -17
  1417. package/esm2022/lib/forms/vehicle/vehicle-claim.form.mjs +0 -30
  1418. package/esm2022/lib/forms/vehicle/vehicle-logbook.form.mjs +0 -63
  1419. package/esm2022/lib/forms/vehicle/vehicle.form.mjs +0 -17
  1420. package/esm2022/lib/functions/array/index.mjs +0 -5
  1421. package/esm2022/lib/functions/array/replace.mjs +0 -6
  1422. package/esm2022/lib/functions/array/sort-deep.mjs +0 -22
  1423. package/esm2022/lib/functions/array/sort.mjs +0 -13
  1424. package/esm2022/lib/functions/array/to-array.mjs +0 -7
  1425. package/esm2022/lib/functions/clone-deep.mjs +0 -5
  1426. package/esm2022/lib/functions/create-date.mjs +0 -8
  1427. package/esm2022/lib/functions/enum-to-list.mjs +0 -13
  1428. package/esm2022/lib/functions/get-doc-icon.mjs +0 -18
  1429. package/esm2022/lib/functions/mat-options-functions.mjs +0 -13
  1430. package/esm2022/lib/functions/mat-sort-options.mjs +0 -10
  1431. package/esm2022/lib/functions/tax-review-filter-predicate.mjs +0 -10
  1432. package/esm2022/lib/interceptors/basiq-client-id.interceptor.mjs +0 -31
  1433. package/esm2022/lib/interceptors/basiq-token.interceptor.mjs +0 -33
  1434. package/esm2022/lib/interceptors/corelogic-interceptor.mjs +0 -41
  1435. package/esm2022/lib/interceptors/financial-year-interceptor.mjs +0 -42
  1436. package/esm2022/lib/interceptors/interceptors.module.mjs +0 -107
  1437. package/esm2022/lib/interceptors/jwt-interceptor.mjs +0 -138
  1438. package/esm2022/lib/interceptors/preloader.interceptor.mjs +0 -32
  1439. package/esm2022/lib/interceptors/rewardful.interceptor.mjs +0 -42
  1440. package/esm2022/lib/interceptors/user-switcher-interceptor.mjs +0 -40
  1441. package/esm2022/lib/interfaces/asset-entity-type.enum.mjs +0 -12
  1442. package/esm2022/lib/interfaces/asset-type.enum.mjs +0 -13
  1443. package/esm2022/lib/interfaces/asset.interface.mjs +0 -2
  1444. package/esm2022/lib/interfaces/auth-tokens.interface.mjs +0 -2
  1445. package/esm2022/lib/interfaces/chart-data.interface.mjs +0 -2
  1446. package/esm2022/lib/interfaces/chart-serie.interface.mjs +0 -2
  1447. package/esm2022/lib/interfaces/document.interface.mjs +0 -2
  1448. package/esm2022/lib/interfaces/documentable.interface.mjs +0 -2
  1449. package/esm2022/lib/interfaces/event-listener.interface.mjs +0 -2
  1450. package/esm2022/lib/interfaces/expense.interface.mjs +0 -2
  1451. package/esm2022/lib/interfaces/income-source-forecast.interface.mjs +0 -2
  1452. package/esm2022/lib/interfaces/index.mjs +0 -15
  1453. package/esm2022/lib/interfaces/option.interface.mjs +0 -2
  1454. package/esm2022/lib/interfaces/tank.interface.mjs +0 -2
  1455. package/esm2022/lib/interfaces/updatable.interface.mjs +0 -2
  1456. package/esm2022/lib/messages/index.mjs +0 -2
  1457. package/esm2022/lib/messages/messages.enum.mjs +0 -16
  1458. package/esm2022/lib/models/account-setup/account-setup-item.mjs +0 -38
  1459. package/esm2022/lib/models/account-setup/account-setup-items.enum.mjs +0 -19
  1460. package/esm2022/lib/models/address/address.mjs +0 -50
  1461. package/esm2022/lib/models/address/country.mjs +0 -18
  1462. package/esm2022/lib/models/address/index.mjs +0 -4
  1463. package/esm2022/lib/models/address/states.enum.mjs +0 -12
  1464. package/esm2022/lib/models/asset-sale.mjs +0 -10
  1465. package/esm2022/lib/models/badge/badge-color.enum.mjs +0 -8
  1466. package/esm2022/lib/models/badge/badge.mjs +0 -14
  1467. package/esm2022/lib/models/bank/allocation-group.mjs +0 -57
  1468. package/esm2022/lib/models/bank/bank-account-chart-data.mjs +0 -30
  1469. package/esm2022/lib/models/bank/bank-account-property.mjs +0 -14
  1470. package/esm2022/lib/models/bank/bank-account-types.const.mjs +0 -14
  1471. package/esm2022/lib/models/bank/bank-account.mjs +0 -176
  1472. package/esm2022/lib/models/bank/bank-connection.mjs +0 -55
  1473. package/esm2022/lib/models/bank/bank-external-stats.mjs +0 -8
  1474. package/esm2022/lib/models/bank/bank-transaction-chart-data.mjs +0 -100
  1475. package/esm2022/lib/models/bank/bank-transaction-summary-fields.enum.mjs +0 -6
  1476. package/esm2022/lib/models/bank/bank-transaction.mjs +0 -77
  1477. package/esm2022/lib/models/bank/bank.mjs +0 -37
  1478. package/esm2022/lib/models/bank/basiq/basiq-config.mjs +0 -12
  1479. package/esm2022/lib/models/bank/basiq/basiq-connection-data.interface.mjs +0 -2
  1480. package/esm2022/lib/models/bank/basiq/basiq-connections-response.interface.mjs +0 -2
  1481. package/esm2022/lib/models/bank/basiq/basiq-job-response.mjs +0 -15
  1482. package/esm2022/lib/models/bank/basiq/basiq-job-step.mjs +0 -18
  1483. package/esm2022/lib/models/bank/basiq/basiq-job.mjs +0 -4
  1484. package/esm2022/lib/models/bank/basiq/basiq-token-response.interface.mjs +0 -2
  1485. package/esm2022/lib/models/bank/basiq/basiq-token.mjs +0 -15
  1486. package/esm2022/lib/models/bank/basiq/index.mjs +0 -9
  1487. package/esm2022/lib/models/bank/index.mjs +0 -14
  1488. package/esm2022/lib/models/bank/type-loan.const.mjs +0 -9
  1489. package/esm2022/lib/models/borrowing-expense/borrowing-expense-loan.mjs +0 -4
  1490. package/esm2022/lib/models/borrowing-expense/borrowing-expense.mjs +0 -4
  1491. package/esm2022/lib/models/borrowing-expense/index.mjs +0 -3
  1492. package/esm2022/lib/models/budget/budget-rule.mjs +0 -14
  1493. package/esm2022/lib/models/budget/budget.mjs +0 -18
  1494. package/esm2022/lib/models/budget/index.mjs +0 -3
  1495. package/esm2022/lib/models/chart/chart-data.mjs +0 -13
  1496. package/esm2022/lib/models/chart/chart-serie.mjs +0 -7
  1497. package/esm2022/lib/models/chart-accounts/chart-accounts-categories.const.mjs +0 -122
  1498. package/esm2022/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +0 -48
  1499. package/esm2022/lib/models/chart-accounts/chart-accounts-depreciation.mjs +0 -16
  1500. package/esm2022/lib/models/chart-accounts/chart-accounts-heading.mjs +0 -4
  1501. package/esm2022/lib/models/chart-accounts/chart-accounts-meta-field.mjs +0 -20
  1502. package/esm2022/lib/models/chart-accounts/chart-accounts-tax-labels.enum.mjs +0 -7
  1503. package/esm2022/lib/models/chart-accounts/chart-accounts-value.mjs +0 -4
  1504. package/esm2022/lib/models/chart-accounts/chart-accounts.mjs +0 -249
  1505. package/esm2022/lib/models/chart-accounts/index.mjs +0 -9
  1506. package/esm2022/lib/models/chat/chat-view-type.enum.mjs +0 -6
  1507. package/esm2022/lib/models/chat/chat.mjs +0 -26
  1508. package/esm2022/lib/models/chat/index.mjs +0 -5
  1509. package/esm2022/lib/models/chat/message-document.mjs +0 -21
  1510. package/esm2022/lib/models/chat/message.mjs +0 -43
  1511. package/esm2022/lib/models/client/annual-client-details.mjs +0 -19
  1512. package/esm2022/lib/models/client/client-details.mjs +0 -4
  1513. package/esm2022/lib/models/client/client-invite.mjs +0 -68
  1514. package/esm2022/lib/models/client/client-movement.mjs +0 -23
  1515. package/esm2022/lib/models/client/client-portfolio-chart-data.mjs +0 -55
  1516. package/esm2022/lib/models/client/client-portfolio-report.mjs +0 -7
  1517. package/esm2022/lib/models/client/index.mjs +0 -7
  1518. package/esm2022/lib/models/color/alphabet-colors.enum.mjs +0 -30
  1519. package/esm2022/lib/models/depreciation/depreciation-capital-project.mjs +0 -9
  1520. package/esm2022/lib/models/depreciation/depreciation-forecast.mjs +0 -42
  1521. package/esm2022/lib/models/depreciation/depreciation-group-item.mjs +0 -18
  1522. package/esm2022/lib/models/depreciation/depreciation-group.enum.mjs +0 -10
  1523. package/esm2022/lib/models/depreciation/depreciation-group.mjs +0 -20
  1524. package/esm2022/lib/models/depreciation/depreciation-groups.const.mjs +0 -34
  1525. package/esm2022/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +0 -9
  1526. package/esm2022/lib/models/depreciation/depreciation.mjs +0 -188
  1527. package/esm2022/lib/models/depreciation/index.mjs +0 -9
  1528. package/esm2022/lib/models/dictionary/dictionary.mjs +0 -49
  1529. package/esm2022/lib/models/dictionary/index.mjs +0 -2
  1530. package/esm2022/lib/models/document/document-api-url-prefix.enum.mjs +0 -9
  1531. package/esm2022/lib/models/document/document-file-types.const.mjs +0 -23
  1532. package/esm2022/lib/models/document/document-folder.mjs +0 -4
  1533. package/esm2022/lib/models/document/document.mjs +0 -17
  1534. package/esm2022/lib/models/document/index.mjs +0 -5
  1535. package/esm2022/lib/models/employee/employee-details.mjs +0 -10
  1536. package/esm2022/lib/models/employee/employee-invite.mjs +0 -14
  1537. package/esm2022/lib/models/endpoint/endpoint.mjs +0 -23
  1538. package/esm2022/lib/models/endpoint/endpoints.const.mjs +0 -248
  1539. package/esm2022/lib/models/event/app-event-type.enum.mjs +0 -66
  1540. package/esm2022/lib/models/event/app-event.mjs +0 -21
  1541. package/esm2022/lib/models/event/index.mjs +0 -3
  1542. package/esm2022/lib/models/export/export-cell-type.enum.mjs +0 -11
  1543. package/esm2022/lib/models/export/export-cell.mjs +0 -6
  1544. package/esm2022/lib/models/export/export-data-table.mjs +0 -3
  1545. package/esm2022/lib/models/export/export-format.enum.mjs +0 -6
  1546. package/esm2022/lib/models/file/file.mjs +0 -12
  1547. package/esm2022/lib/models/file/icons-file.enum.mjs +0 -7
  1548. package/esm2022/lib/models/file/index.mjs +0 -2
  1549. package/esm2022/lib/models/financial-year/financial-year.mjs +0 -57
  1550. package/esm2022/lib/models/financial-year/index.mjs +0 -5
  1551. package/esm2022/lib/models/financial-year/month-name-short.enum.mjs +0 -21
  1552. package/esm2022/lib/models/financial-year/month-number.enum.mjs +0 -21
  1553. package/esm2022/lib/models/financial-year/months.const.mjs +0 -2
  1554. package/esm2022/lib/models/firm/firm.mjs +0 -26
  1555. package/esm2022/lib/models/holding/holding-import.mjs +0 -16
  1556. package/esm2022/lib/models/holding/holding-reinvest.mjs +0 -22
  1557. package/esm2022/lib/models/holding/holding-sale.mjs +0 -37
  1558. package/esm2022/lib/models/holding/holding-type-exchange.mjs +0 -13
  1559. package/esm2022/lib/models/holding/holding-type.mjs +0 -64
  1560. package/esm2022/lib/models/holding/holding.mjs +0 -82
  1561. package/esm2022/lib/models/holding/index.mjs +0 -7
  1562. package/esm2022/lib/models/income-position/income-position.mjs +0 -9
  1563. package/esm2022/lib/models/income-source/income-source-chart-data.mjs +0 -45
  1564. package/esm2022/lib/models/income-source/income-source-forecast.mjs +0 -34
  1565. package/esm2022/lib/models/income-source/income-source-type.mjs +0 -20
  1566. package/esm2022/lib/models/income-source/income-source.mjs +0 -58
  1567. package/esm2022/lib/models/income-source/index.mjs +0 -7
  1568. package/esm2022/lib/models/income-source/salary-forecast.mjs +0 -36
  1569. package/esm2022/lib/models/income-source/sole-forecast.mjs +0 -13
  1570. package/esm2022/lib/models/index.mjs +0 -26
  1571. package/esm2022/lib/models/loan/index.mjs +0 -5
  1572. package/esm2022/lib/models/loan/loan-max-number-of-payments.enum.mjs +0 -11
  1573. package/esm2022/lib/models/loan/loan-payment.mjs +0 -13
  1574. package/esm2022/lib/models/loan/loan-payout.mjs +0 -11
  1575. package/esm2022/lib/models/loan/loan.mjs +0 -84
  1576. package/esm2022/lib/models/notification/index.mjs +0 -2
  1577. package/esm2022/lib/models/notification/notification.mjs +0 -39
  1578. package/esm2022/lib/models/pdf/pdf-orientation.enum.mjs +0 -6
  1579. package/esm2022/lib/models/pdf/pdf-settings.mjs +0 -17
  1580. package/esm2022/lib/models/phone/phone.mjs +0 -19
  1581. package/esm2022/lib/models/property/borrowing-report.mjs +0 -50
  1582. package/esm2022/lib/models/property/calculation-form-item.mjs +0 -17
  1583. package/esm2022/lib/models/property/calculation-form-type.enum.mjs +0 -9
  1584. package/esm2022/lib/models/property/capital-costs-itmes.const.mjs +0 -57
  1585. package/esm2022/lib/models/property/corelogic-suggestion.mjs +0 -7
  1586. package/esm2022/lib/models/property/index.mjs +0 -18
  1587. package/esm2022/lib/models/property/property-category-movement.mjs +0 -24
  1588. package/esm2022/lib/models/property/property-category.mjs +0 -15
  1589. package/esm2022/lib/models/property/property-document.mjs +0 -17
  1590. package/esm2022/lib/models/property/property-equity-chart-data.mjs +0 -157
  1591. package/esm2022/lib/models/property/property-equity-chart-item.mjs +0 -24
  1592. package/esm2022/lib/models/property/property-equity-chart-type.enum.mjs +0 -6
  1593. package/esm2022/lib/models/property/property-forecast.mjs +0 -56
  1594. package/esm2022/lib/models/property/property-sale/index.mjs +0 -6
  1595. package/esm2022/lib/models/property/property-sale/property-sale-cost-base.mjs +0 -20
  1596. package/esm2022/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +0 -4
  1597. package/esm2022/lib/models/property/property-sale/property-sale.mjs +0 -55
  1598. package/esm2022/lib/models/property/property-sale/tax-exemption-meta-field.mjs +0 -4
  1599. package/esm2022/lib/models/property/property-sale/tax-exemption.mjs +0 -8
  1600. package/esm2022/lib/models/property/property-share.mjs +0 -47
  1601. package/esm2022/lib/models/property/property-subscription.mjs +0 -13
  1602. package/esm2022/lib/models/property/property-valuation.mjs +0 -24
  1603. package/esm2022/lib/models/property/property.mjs +0 -249
  1604. package/esm2022/lib/models/registration-invite/registration-invite.mjs +0 -13
  1605. package/esm2022/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +0 -10
  1606. package/esm2022/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +0 -21
  1607. package/esm2022/lib/models/report/depreciation/depreciation-report-item.mjs +0 -25
  1608. package/esm2022/lib/models/report/depreciation/index.mjs +0 -4
  1609. package/esm2022/lib/models/report/index.mjs +0 -6
  1610. package/esm2022/lib/models/report/my-tax/ato-links.mjs +0 -11
  1611. package/esm2022/lib/models/report/my-tax/index.mjs +0 -26
  1612. package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +0 -27
  1613. package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +0 -11
  1614. package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +0 -16
  1615. package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +0 -15
  1616. package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +0 -74
  1617. package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +0 -70
  1618. package/esm2022/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +0 -9
  1619. package/esm2022/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +0 -30
  1620. package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +0 -13
  1621. package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +0 -62
  1622. package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +0 -10
  1623. package/esm2022/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +0 -96
  1624. package/esm2022/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +0 -17
  1625. package/esm2022/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +0 -40
  1626. package/esm2022/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +0 -75
  1627. package/esm2022/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +0 -8
  1628. package/esm2022/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +0 -11
  1629. package/esm2022/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +0 -11
  1630. package/esm2022/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +0 -8
  1631. package/esm2022/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +0 -47
  1632. package/esm2022/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +0 -30
  1633. package/esm2022/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +0 -48
  1634. package/esm2022/lib/models/report/property/index.mjs +0 -4
  1635. package/esm2022/lib/models/report/property/property-report-item-depreciation.mjs +0 -19
  1636. package/esm2022/lib/models/report/property/property-report-item-transaction.mjs +0 -12
  1637. package/esm2022/lib/models/report/property/property-report-item.mjs +0 -30
  1638. package/esm2022/lib/models/report/sole/index.mjs +0 -2
  1639. package/esm2022/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +0 -17
  1640. package/esm2022/lib/models/report/vehicle-expense/vehicle-expense.mjs +0 -17
  1641. package/esm2022/lib/models/service-subscription/index.mjs +0 -10
  1642. package/esm2022/lib/models/service-subscription/module-url-list.const.mjs +0 -12
  1643. package/esm2022/lib/models/service-subscription/payment-method-brand.enum.mjs +0 -12
  1644. package/esm2022/lib/models/service-subscription/service-payment-method.mjs +0 -31
  1645. package/esm2022/lib/models/service-subscription/service-payment.mjs +0 -22
  1646. package/esm2022/lib/models/service-subscription/service-price.mjs +0 -25
  1647. package/esm2022/lib/models/service-subscription/service-product-icons.enum.mjs +0 -11
  1648. package/esm2022/lib/models/service-subscription/service-product-roles.const.mjs +0 -11
  1649. package/esm2022/lib/models/service-subscription/service-product.mjs +0 -27
  1650. package/esm2022/lib/models/service-subscription/service-promo-code-duration.enum.mjs +0 -7
  1651. package/esm2022/lib/models/service-subscription/service-promo-code.mjs +0 -30
  1652. package/esm2022/lib/models/service-subscription/service-subscription-item.mjs +0 -24
  1653. package/esm2022/lib/models/service-subscription/service-subscription.mjs +0 -161
  1654. package/esm2022/lib/models/sole/bas-report.mjs +0 -39
  1655. package/esm2022/lib/models/sole/index.mjs +0 -13
  1656. package/esm2022/lib/models/sole/sole-business-activity.mjs +0 -4
  1657. package/esm2022/lib/models/sole/sole-business-allocation.mjs +0 -18
  1658. package/esm2022/lib/models/sole/sole-business-loss-offset-rule.mjs +0 -9
  1659. package/esm2022/lib/models/sole/sole-business-loss.mjs +0 -27
  1660. package/esm2022/lib/models/sole/sole-business.mjs +0 -57
  1661. package/esm2022/lib/models/sole/sole-contact.mjs +0 -30
  1662. package/esm2022/lib/models/sole/sole-depreciation-method.mjs +0 -8
  1663. package/esm2022/lib/models/sole/sole-details.mjs +0 -10
  1664. package/esm2022/lib/models/sole/sole-invoice-item.mjs +0 -47
  1665. package/esm2022/lib/models/sole/sole-invoice-template.mjs +0 -31
  1666. package/esm2022/lib/models/sole/sole-invoice.mjs +0 -142
  1667. package/esm2022/lib/models/tax-return/index.mjs +0 -4
  1668. package/esm2022/lib/models/tax-return/tax-return-category.mjs +0 -19
  1669. package/esm2022/lib/models/tax-return/tax-return-item.mjs +0 -40
  1670. package/esm2022/lib/models/tax-return/tax-return.mjs +0 -10
  1671. package/esm2022/lib/models/tax-review/tax-review.mjs +0 -86
  1672. package/esm2022/lib/models/tax-summary/report-item-details.mjs +0 -10
  1673. package/esm2022/lib/models/tax-summary/report-item.mjs +0 -29
  1674. package/esm2022/lib/models/tax-summary/tax-summary-section.mjs +0 -32
  1675. package/esm2022/lib/models/tax-summary/tax-summary-type.enum.mjs +0 -9
  1676. package/esm2022/lib/models/tax-summary/tax-summary.mjs +0 -152
  1677. package/esm2022/lib/models/toast/toast-type.enum.mjs +0 -8
  1678. package/esm2022/lib/models/toast/toast.mjs +0 -10
  1679. package/esm2022/lib/models/transaction/allocation-rule-condition.mjs +0 -40
  1680. package/esm2022/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +0 -4
  1681. package/esm2022/lib/models/transaction/allocation-rule-transaction.mjs +0 -110
  1682. package/esm2022/lib/models/transaction/allocation-rule.mjs +0 -131
  1683. package/esm2022/lib/models/transaction/income-amount-type.enum.mjs +0 -9
  1684. package/esm2022/lib/models/transaction/index.mjs +0 -9
  1685. package/esm2022/lib/models/transaction/transaction-allocation.mjs +0 -21
  1686. package/esm2022/lib/models/transaction/transaction-category.enum.mjs +0 -8
  1687. package/esm2022/lib/models/transaction/transaction-meta-field.mjs +0 -17
  1688. package/esm2022/lib/models/transaction/transaction.mjs +0 -249
  1689. package/esm2022/lib/models/user/index.mjs +0 -10
  1690. package/esm2022/lib/models/user/my-account-history-initiated-by.enum.mjs +0 -6
  1691. package/esm2022/lib/models/user/my-account-history-status.enum.mjs +0 -6
  1692. package/esm2022/lib/models/user/my-account-history-type.enum.mjs +0 -7
  1693. package/esm2022/lib/models/user/my-account-history.mjs +0 -3
  1694. package/esm2022/lib/models/user/occupation.mjs +0 -4
  1695. package/esm2022/lib/models/user/user-roles.const.mjs +0 -20
  1696. package/esm2022/lib/models/user/user-to-register.mjs +0 -6
  1697. package/esm2022/lib/models/user/user-work-position.const.mjs +0 -7
  1698. package/esm2022/lib/models/user/user.mjs +0 -171
  1699. package/esm2022/lib/models/user-event/user-event-setting-field.enum.mjs +0 -10
  1700. package/esm2022/lib/models/user-event/user-event-setting.mjs +0 -18
  1701. package/esm2022/lib/models/user-event/user-event-type-category.mjs +0 -4
  1702. package/esm2022/lib/models/user-event/user-event-type.mjs +0 -23
  1703. package/esm2022/lib/models/vehicle/index.mjs +0 -5
  1704. package/esm2022/lib/models/vehicle/vehicle-claim-details.mjs +0 -27
  1705. package/esm2022/lib/models/vehicle/vehicle-claim.mjs +0 -60
  1706. package/esm2022/lib/models/vehicle/vehicle-logbook.mjs +0 -27
  1707. package/esm2022/lib/models/vehicle/vehicle.mjs +0 -10
  1708. package/esm2022/lib/pipes/app-currency.pipe.mjs +0 -23
  1709. package/esm2022/lib/pipes/index.mjs +0 -3
  1710. package/esm2022/lib/pipes/safe-url.pipe.mjs +0 -21
  1711. package/esm2022/lib/services/account-setup/account-setup.service.mjs +0 -168
  1712. package/esm2022/lib/services/account-setup/index.mjs +0 -2
  1713. package/esm2022/lib/services/asset/assets.service.mjs +0 -51
  1714. package/esm2022/lib/services/asset/index.mjs +0 -2
  1715. package/esm2022/lib/services/auth/auth.service.mjs +0 -50
  1716. package/esm2022/lib/services/auth/index.mjs +0 -3
  1717. package/esm2022/lib/services/auth/jwt.service.mjs +0 -48
  1718. package/esm2022/lib/services/bank/bank-account-calculation.service.mjs +0 -32
  1719. package/esm2022/lib/services/bank/index.mjs +0 -2
  1720. package/esm2022/lib/services/data.service.mjs +0 -44
  1721. package/esm2022/lib/services/event/event-dispatcher.service.mjs +0 -41
  1722. package/esm2022/lib/services/event/index.mjs +0 -3
  1723. package/esm2022/lib/services/event/sse.service.mjs +0 -48
  1724. package/esm2022/lib/services/export/export-formatter.service.mjs +0 -34
  1725. package/esm2022/lib/services/export/index.mjs +0 -2
  1726. package/esm2022/lib/services/header-title/header-title.service.mjs +0 -28
  1727. package/esm2022/lib/services/header-title/index.mjs +0 -2
  1728. package/esm2022/lib/services/http/address/address.service.mjs +0 -37
  1729. package/esm2022/lib/services/http/address/index.mjs +0 -2
  1730. package/esm2022/lib/services/http/bank/bank-account/bank-account.service.mjs +0 -84
  1731. package/esm2022/lib/services/http/bank/bank-account/index.mjs +0 -2
  1732. package/esm2022/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +0 -23
  1733. package/esm2022/lib/services/http/bank/bank-connection/bank-connection.service.mjs +0 -78
  1734. package/esm2022/lib/services/http/bank/bank-connection/index.mjs +0 -3
  1735. package/esm2022/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +0 -77
  1736. package/esm2022/lib/services/http/bank/bank-transaction/index.mjs +0 -2
  1737. package/esm2022/lib/services/http/bank/bank.service.mjs +0 -26
  1738. package/esm2022/lib/services/http/bank/basiq/basiq-messages.enum.mjs +0 -7
  1739. package/esm2022/lib/services/http/bank/basiq/basiq-token.service.mjs +0 -39
  1740. package/esm2022/lib/services/http/bank/basiq/basiq.service.mjs +0 -142
  1741. package/esm2022/lib/services/http/bank/basiq/index.mjs +0 -4
  1742. package/esm2022/lib/services/http/bank/index.mjs +0 -6
  1743. package/esm2022/lib/services/http/budget/budget-messages.enum.mjs +0 -8
  1744. package/esm2022/lib/services/http/budget/budget.service.mjs +0 -23
  1745. package/esm2022/lib/services/http/budget/index.mjs +0 -3
  1746. package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +0 -26
  1747. package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +0 -2
  1748. package/esm2022/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +0 -8
  1749. package/esm2022/lib/services/http/chart-accounts/chart-accounts.service.mjs +0 -49
  1750. package/esm2022/lib/services/http/chart-accounts/index.mjs +0 -4
  1751. package/esm2022/lib/services/http/chat/chat.service.mjs +0 -88
  1752. package/esm2022/lib/services/http/chat/index.mjs +0 -4
  1753. package/esm2022/lib/services/http/chat/message-document.service.mjs +0 -80
  1754. package/esm2022/lib/services/http/chat/message.service.mjs +0 -35
  1755. package/esm2022/lib/services/http/client/capital-gain/annual-client-details.service.mjs +0 -23
  1756. package/esm2022/lib/services/http/client/client-coupon.service.mjs +0 -27
  1757. package/esm2022/lib/services/http/client/index.mjs +0 -4
  1758. package/esm2022/lib/services/http/client/occupation/occupation.service.mjs +0 -43
  1759. package/esm2022/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +0 -27
  1760. package/esm2022/lib/services/http/depreciation/depreciation-capital-project/index.mjs +0 -2
  1761. package/esm2022/lib/services/http/depreciation/depreciation.service.mjs +0 -106
  1762. package/esm2022/lib/services/http/depreciation/index.mjs +0 -3
  1763. package/esm2022/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +0 -8
  1764. package/esm2022/lib/services/http/document/document-folder/document-folder.service.mjs +0 -26
  1765. package/esm2022/lib/services/http/document/document-folder/index.mjs +0 -3
  1766. package/esm2022/lib/services/http/document/document-messages.enum.mjs +0 -8
  1767. package/esm2022/lib/services/http/document/document.service.mjs +0 -23
  1768. package/esm2022/lib/services/http/document/index.mjs +0 -4
  1769. package/esm2022/lib/services/http/facebook/facebook-auth-options.interface.mjs +0 -2
  1770. package/esm2022/lib/services/http/facebook/facebook-auth-response.interface.mjs +0 -2
  1771. package/esm2022/lib/services/http/facebook/facebook-status-response.interface.mjs +0 -2
  1772. package/esm2022/lib/services/http/facebook/facebook.service.mjs +0 -87
  1773. package/esm2022/lib/services/http/facebook/index.mjs +0 -2
  1774. package/esm2022/lib/services/http/file/file.service.mjs +0 -39
  1775. package/esm2022/lib/services/http/file/index.mjs +0 -2
  1776. package/esm2022/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +0 -15
  1777. package/esm2022/lib/services/http/firm/client-invite/client-invite.service.mjs +0 -100
  1778. package/esm2022/lib/services/http/firm/client-invite/index.mjs +0 -3
  1779. package/esm2022/lib/services/http/firm/client-movement/client-movement.service.mjs +0 -87
  1780. package/esm2022/lib/services/http/firm/client-movement/index.mjs +0 -2
  1781. package/esm2022/lib/services/http/firm/employee/employee-messages.enum.mjs +0 -13
  1782. package/esm2022/lib/services/http/firm/employee/employee.service.mjs +0 -42
  1783. package/esm2022/lib/services/http/firm/employee/index.mjs +0 -3
  1784. package/esm2022/lib/services/http/firm/employee-invite/employee-invite.service.mjs +0 -48
  1785. package/esm2022/lib/services/http/firm/employee-invite/index.mjs +0 -2
  1786. package/esm2022/lib/services/http/firm/firm-messages.enum.mjs +0 -6
  1787. package/esm2022/lib/services/http/firm/firm.service.mjs +0 -63
  1788. package/esm2022/lib/services/http/firm/index.mjs +0 -8
  1789. package/esm2022/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +0 -37
  1790. package/esm2022/lib/services/http/firm/portfolio-report/index.mjs +0 -2
  1791. package/esm2022/lib/services/http/google/google.service.mjs +0 -77
  1792. package/esm2022/lib/services/http/google/index.mjs +0 -2
  1793. package/esm2022/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +0 -9
  1794. package/esm2022/lib/services/http/holding/holding-import/holding-import.service.mjs +0 -37
  1795. package/esm2022/lib/services/http/holding/holding-messages.enum.mjs +0 -10
  1796. package/esm2022/lib/services/http/holding/holding-sale-messages.enum.mjs +0 -8
  1797. package/esm2022/lib/services/http/holding/holding-sale.service.mjs +0 -23
  1798. package/esm2022/lib/services/http/holding/holding-type-messages.enum.mjs +0 -8
  1799. package/esm2022/lib/services/http/holding/holding-type.service.mjs +0 -23
  1800. package/esm2022/lib/services/http/holding/holding.service.mjs +0 -35
  1801. package/esm2022/lib/services/http/holding/index.mjs +0 -10
  1802. package/esm2022/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +0 -84
  1803. package/esm2022/lib/services/http/income-source/income-source-forecast/index.mjs +0 -2
  1804. package/esm2022/lib/services/http/income-source/income-source-messages.enum.mjs +0 -10
  1805. package/esm2022/lib/services/http/income-source/income-source.service.mjs +0 -93
  1806. package/esm2022/lib/services/http/income-source/index.mjs +0 -6
  1807. package/esm2022/lib/services/http/income-source/salary-forecast/index.mjs +0 -2
  1808. package/esm2022/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +0 -83
  1809. package/esm2022/lib/services/http/income-source/sole-forecast/index.mjs +0 -2
  1810. package/esm2022/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +0 -90
  1811. package/esm2022/lib/services/http/index.mjs +0 -29
  1812. package/esm2022/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +0 -74
  1813. package/esm2022/lib/services/http/loan/borrowing-expense/index.mjs +0 -2
  1814. package/esm2022/lib/services/http/loan/index.mjs +0 -3
  1815. package/esm2022/lib/services/http/loan/loan.service.mjs +0 -91
  1816. package/esm2022/lib/services/http/pdf/pdf.service.mjs +0 -30
  1817. package/esm2022/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +0 -7
  1818. package/esm2022/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +0 -23
  1819. package/esm2022/lib/services/http/property/borrowing-report/index.mjs +0 -3
  1820. package/esm2022/lib/services/http/property/index.mjs +0 -10
  1821. package/esm2022/lib/services/http/property/property-category/index.mjs +0 -2
  1822. package/esm2022/lib/services/http/property/property-category/property-category.service.mjs +0 -26
  1823. package/esm2022/lib/services/http/property/property-category-movement/index.mjs +0 -2
  1824. package/esm2022/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +0 -23
  1825. package/esm2022/lib/services/http/property/property-document/index.mjs +0 -3
  1826. package/esm2022/lib/services/http/property/property-document/property-document-messages.enum.mjs +0 -8
  1827. package/esm2022/lib/services/http/property/property-document/property-document.service.mjs +0 -33
  1828. package/esm2022/lib/services/http/property/property-messages.enum.mjs +0 -6
  1829. package/esm2022/lib/services/http/property/property-sale/index.mjs +0 -3
  1830. package/esm2022/lib/services/http/property/property-sale/property-sale.service.mjs +0 -23
  1831. package/esm2022/lib/services/http/property/property-share/index.mjs +0 -2
  1832. package/esm2022/lib/services/http/property/property-share/property-share.service.mjs +0 -66
  1833. package/esm2022/lib/services/http/property/property-valuation/index.mjs +0 -3
  1834. package/esm2022/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +0 -7
  1835. package/esm2022/lib/services/http/property/property-valuation/property-valuation.service.mjs +0 -23
  1836. package/esm2022/lib/services/http/property/property.service.mjs +0 -87
  1837. package/esm2022/lib/services/http/rest/http-method.type.mjs +0 -2
  1838. package/esm2022/lib/services/http/rest/index.mjs +0 -4
  1839. package/esm2022/lib/services/http/rest/rest-method.type.mjs +0 -2
  1840. package/esm2022/lib/services/http/rest/rest-old.service.mjs +0 -240
  1841. package/esm2022/lib/services/http/rest/rest.service.mjs +0 -297
  1842. package/esm2022/lib/services/http/service-notification/index.mjs +0 -2
  1843. package/esm2022/lib/services/http/service-notification/service-notification.service.mjs +0 -72
  1844. package/esm2022/lib/services/http/setup-item/setup-item.service.mjs +0 -23
  1845. package/esm2022/lib/services/http/sole/bas-report/bas-report.service.mjs +0 -20
  1846. package/esm2022/lib/services/http/sole/index.mjs +0 -11
  1847. package/esm2022/lib/services/http/sole/sole-business/index.mjs +0 -3
  1848. package/esm2022/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +0 -5
  1849. package/esm2022/lib/services/http/sole/sole-business/sole-business.service.mjs +0 -28
  1850. package/esm2022/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +0 -20
  1851. package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +0 -23
  1852. package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +0 -37
  1853. package/esm2022/lib/services/http/sole/sole-contact/sole-contact.service.mjs +0 -20
  1854. package/esm2022/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +0 -73
  1855. package/esm2022/lib/services/http/sole/sole-details/sole-details.service.mjs +0 -64
  1856. package/esm2022/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +0 -48
  1857. package/esm2022/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +0 -20
  1858. package/esm2022/lib/services/http/subscription/index.mjs +0 -7
  1859. package/esm2022/lib/services/http/subscription/service-payment/service-payment.service.mjs +0 -33
  1860. package/esm2022/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +0 -45
  1861. package/esm2022/lib/services/http/subscription/service-price/service-price.service.mjs +0 -26
  1862. package/esm2022/lib/services/http/subscription/service-product/service-product.service.mjs +0 -23
  1863. package/esm2022/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +0 -10
  1864. package/esm2022/lib/services/http/subscription/service-subscription/subscription.service.mjs +0 -84
  1865. package/esm2022/lib/services/http/tax-review/index.mjs +0 -4
  1866. package/esm2022/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +0 -45
  1867. package/esm2022/lib/services/http/tax-review/tax-review-messages.enum.mjs +0 -20
  1868. package/esm2022/lib/services/http/tax-review/tax-review.service.mjs +0 -106
  1869. package/esm2022/lib/services/http/tax-summary/index.mjs +0 -2
  1870. package/esm2022/lib/services/http/tax-summary/tax-summary.service.mjs +0 -71
  1871. package/esm2022/lib/services/http/transaction/index.mjs +0 -4
  1872. package/esm2022/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +0 -22
  1873. package/esm2022/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +0 -117
  1874. package/esm2022/lib/services/http/transaction/transaction.service.mjs +0 -288
  1875. package/esm2022/lib/services/http/user/financial-year/financial-year.service.mjs +0 -29
  1876. package/esm2022/lib/services/http/user/index.mjs +0 -8
  1877. package/esm2022/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +0 -23
  1878. package/esm2022/lib/services/http/user/user-event-type/user-event-type.service.mjs +0 -23
  1879. package/esm2022/lib/services/http/user/user-messages.enum.mjs +0 -7
  1880. package/esm2022/lib/services/http/user/user.service.mjs +0 -105
  1881. package/esm2022/lib/services/http/user/users-invite/users-invite.service.mjs +0 -23
  1882. package/esm2022/lib/services/http/vehicle/index.mjs +0 -6
  1883. package/esm2022/lib/services/http/vehicle/vehicle-claim-details.service.mjs +0 -74
  1884. package/esm2022/lib/services/http/vehicle/vehicle-claim.service.mjs +0 -50
  1885. package/esm2022/lib/services/http/vehicle/vehicle-logbook/index.mjs +0 -3
  1886. package/esm2022/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +0 -8
  1887. package/esm2022/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +0 -25
  1888. package/esm2022/lib/services/http/vehicle/vehicle-messages.enum.mjs +0 -8
  1889. package/esm2022/lib/services/http/vehicle/vehicle.service.mjs +0 -25
  1890. package/esm2022/lib/services/http/youtube/index.mjs +0 -3
  1891. package/esm2022/lib/services/http/youtube/youtube-video.interface.mjs +0 -2
  1892. package/esm2022/lib/services/http/youtube/youtube.service.mjs +0 -34
  1893. package/esm2022/lib/services/index.mjs +0 -19
  1894. package/esm2022/lib/services/intercom/index.mjs +0 -2
  1895. package/esm2022/lib/services/intercom/intercom.service.mjs +0 -41
  1896. package/esm2022/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +0 -31
  1897. package/esm2022/lib/services/json/holding/holding-type-exchange.service.mjs +0 -23
  1898. package/esm2022/lib/services/json/income-source/income-source-type.service.mjs +0 -23
  1899. package/esm2022/lib/services/json/index.mjs +0 -6
  1900. package/esm2022/lib/services/json/tax-exemption/tax-exemption.service.mjs +0 -23
  1901. package/esm2022/lib/services/json/tax-return/tax-return-item.service.mjs +0 -23
  1902. package/esm2022/lib/services/mixpanel/mixpanel.service.mjs +0 -54
  1903. package/esm2022/lib/services/pdf/index.mjs +0 -6
  1904. package/esm2022/lib/services/pdf/js-pdf.mjs +0 -10
  1905. package/esm2022/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +0 -21
  1906. package/esm2022/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +0 -47
  1907. package/esm2022/lib/services/pdf/pdf-from-table/file-settings.mjs +0 -36
  1908. package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +0 -46
  1909. package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +0 -42
  1910. package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +0 -63
  1911. package/esm2022/lib/services/preloader/index.mjs +0 -2
  1912. package/esm2022/lib/services/preloader/preloader.service.mjs +0 -30
  1913. package/esm2022/lib/services/property/corelogic/corelogic.service.mjs +0 -42
  1914. package/esm2022/lib/services/property/corelogic/index.mjs +0 -2
  1915. package/esm2022/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +0 -39
  1916. package/esm2022/lib/services/property/equity-position-chart/index.mjs +0 -2
  1917. package/esm2022/lib/services/property/index.mjs +0 -4
  1918. package/esm2022/lib/services/property/property-calculation/index.mjs +0 -2
  1919. package/esm2022/lib/services/property/property-calculation/property-calculation.service.mjs +0 -158
  1920. package/esm2022/lib/services/report/index.mjs +0 -2
  1921. package/esm2022/lib/services/report/property/property-transaction-report.service.mjs +0 -65
  1922. package/esm2022/lib/services/toast/index.mjs +0 -2
  1923. package/esm2022/lib/services/toast/toast.service.mjs +0 -59
  1924. package/esm2022/lib/services/user/index.mjs +0 -2
  1925. package/esm2022/lib/services/user/user-switcher.service.mjs +0 -37
  1926. package/esm2022/lib/services/xlsx/index.mjs +0 -2
  1927. package/esm2022/lib/services/xlsx/xlsx.service.mjs +0 -84
  1928. package/esm2022/lib/tt-core.module.mjs +0 -37
  1929. package/esm2022/lib/validators/address-corelogic.validator.mjs +0 -19
  1930. package/esm2022/lib/validators/at-least-one-enabled.validator.mjs +0 -9
  1931. package/esm2022/lib/validators/at-least-one.validator.mjs +0 -9
  1932. package/esm2022/lib/validators/autocomplete.validator.mjs +0 -8
  1933. package/esm2022/lib/validators/conditional.validator.mjs +0 -26
  1934. package/esm2022/lib/validators/current-fin-year.validator.mjs +0 -14
  1935. package/esm2022/lib/validators/date-range.validator.mjs +0 -22
  1936. package/esm2022/lib/validators/fields-sum.validator.mjs +0 -24
  1937. package/esm2022/lib/validators/file.validator.mjs +0 -36
  1938. package/esm2022/lib/validators/greater-than.validator.mjs +0 -12
  1939. package/esm2022/lib/validators/group.validator.mjs +0 -11
  1940. package/esm2022/lib/validators/index.mjs +0 -12
  1941. package/esm2022/lib/validators/min-date/messages.enum.mjs +0 -5
  1942. package/esm2022/lib/validators/min-date/min-date.validator.mjs +0 -18
  1943. package/esm2022/lib/validators/password-match.validator.mjs +0 -17
  1944. package/esm2022/lib/validators/password.validator.mjs +0 -20
  1945. package/esm2022/lib/validators/phone-number.validator.mjs +0 -9
  1946. package/esm2022/lib/validators/required-length.validator.mjs +0 -12
  1947. package/esm2022/lib/validators/transactions-meta-fields.validator.mjs +0 -33
  1948. package/esm2022/lib/validators/unique-email.validator.mjs +0 -19
  1949. package/lib/collections/subscription/service-subscription.collection.d.ts +0 -23
  1950. package/lib/db/Models/setup-item.d.ts +0 -11
  1951. package/lib/db/Models/subscription/service-product.d.ts +0 -19
  1952. package/lib/db/Models/subscription/service-subscription.d.ts +0 -23
  1953. package/lib/db/Models/user/user.d.ts +0 -59
  1954. package/lib/interceptors/jwt-interceptor.d.ts +0 -41
  1955. package/lib/interfaces/auth-tokens.interface.d.ts +0 -7
  1956. package/lib/interfaces/index.d.ts +0 -14
  1957. package/lib/models/service-subscription/service-product-roles.const.d.ts +0 -5
  1958. package/lib/models/user/user-roles.const.d.ts +0 -7
  1959. package/lib/models/user/user.d.ts +0 -72
  1960. package/lib/pipes/app-currency.pipe.d.ts +0 -11
  1961. package/lib/services/auth/auth.service.d.ts +0 -20
  1962. package/lib/services/auth/index.d.ts +0 -2
  1963. package/lib/services/auth/jwt.service.d.ts +0 -17
  1964. package/lib/services/event/sse.service.d.ts +0 -20
  1965. package/lib/services/http/facebook/facebook.service.d.ts +0 -38
  1966. package/lib/services/http/firm/employee/employee.service.d.ts +0 -20
  1967. package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +0 -25
  1968. package/lib/services/http/google/google.service.d.ts +0 -43
  1969. package/lib/services/http/holding/holding-import/holding-import.service.d.ts +0 -17
  1970. package/lib/services/http/holding/holding.service.d.ts +0 -19
  1971. package/lib/services/http/rest/rest-old.service.d.ts +0 -117
  1972. package/lib/services/http/rest/rest.service.d.ts +0 -121
  1973. package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +0 -24
  1974. package/lib/services/http/user/user.service.d.ts +0 -43
  1975. package/lib/services/http/vehicle/vehicle-claim.service.d.ts +0 -21
  1976. package/lib/services/index.d.ts +0 -18
  1977. package/lib/tt-core.module.d.ts +0 -13
  1978. /package/{lib/db/Enums → common/src/db/enums/user}/user-roles.enum.d.ts +0 -0
  1979. /package/{lib → common/src}/interceptors/interceptors.module.d.ts +0 -0
  1980. /package/{lib/services/mixpanel → common/src/services}/mixpanel.service.d.ts +0 -0
  1981. /package/esm2022/{lib → src/lib}/db/Json/chart-accounts/chart-accounts-value.json +0 -0
  1982. /package/esm2022/{lib → src/lib}/db/Json/holding/holding-type-exchange.json +0 -0
  1983. /package/esm2022/{lib → src/lib}/db/Json/income-source/income_source_type.json +0 -0
  1984. /package/esm2022/{lib → src/lib}/db/Json/property/tax-exemption.json +0 -0
  1985. /package/esm2022/{lib → src/lib}/db/Json/tax-return/tax-return-item.json +0 -0
  1986. /package/{lib → src/lib}/collections/account-setup-item.collection.d.ts +0 -0
  1987. /package/{lib → src/lib}/collections/allocation-group.collection.d.ts +0 -0
  1988. /package/{lib → src/lib}/collections/allocation-rule.collection.d.ts +0 -0
  1989. /package/{lib → src/lib}/collections/asset-sale.collection.d.ts +0 -0
  1990. /package/{lib → src/lib}/collections/bank-account.collection.d.ts +0 -0
  1991. /package/{lib → src/lib}/collections/bank-transaction.collection.d.ts +0 -0
  1992. /package/{lib → src/lib}/collections/chart-accounts.collection.d.ts +0 -0
  1993. /package/{lib → src/lib}/collections/chat/chat.collection.d.ts +0 -0
  1994. /package/{lib → src/lib}/collections/chat/index.d.ts +0 -0
  1995. /package/{lib → src/lib}/collections/chat/message-document.collection.d.ts +0 -0
  1996. /package/{lib → src/lib}/collections/chat/message.collection.d.ts +0 -0
  1997. /package/{lib → src/lib}/collections/client-invite.collection.d.ts +0 -0
  1998. /package/{lib → src/lib}/collections/client-movement.collection.d.ts +0 -0
  1999. /package/{lib → src/lib}/collections/client-portfolio-report.collection.d.ts +0 -0
  2000. /package/{lib → src/lib}/collections/client.collection.d.ts +0 -0
  2001. /package/{lib → src/lib}/collections/collection-dictionary.d.ts +0 -0
  2002. /package/{lib → src/lib}/collections/collection.d.ts +0 -0
  2003. /package/{lib → src/lib}/collections/depreciation-forecast.collection.d.ts +0 -0
  2004. /package/{lib → src/lib}/collections/depreciation.collection.d.ts +0 -0
  2005. /package/{lib → src/lib}/collections/employee.collection.d.ts +0 -0
  2006. /package/{lib → src/lib}/collections/exportable.collection.d.ts +0 -0
  2007. /package/{lib → src/lib}/collections/holding/holding-sale.collection.d.ts +0 -0
  2008. /package/{lib → src/lib}/collections/holding/holding-type.collection.d.ts +0 -0
  2009. /package/{lib → src/lib}/collections/holding/holding.collection.d.ts +0 -0
  2010. /package/{lib → src/lib}/collections/holding/index.d.ts +0 -0
  2011. /package/{lib → src/lib}/collections/income-source/income-source-forecast.collection.d.ts +0 -0
  2012. /package/{lib → src/lib}/collections/income-source/income-source.collection.d.ts +0 -0
  2013. /package/{lib → src/lib}/collections/income-source/index.d.ts +0 -0
  2014. /package/{lib → src/lib}/collections/index.d.ts +0 -0
  2015. /package/{lib → src/lib}/collections/loan/index.d.ts +0 -0
  2016. /package/{lib → src/lib}/collections/loan/loan-payment.collection.d.ts +0 -0
  2017. /package/{lib → src/lib}/collections/loan/loan.collection.d.ts +0 -0
  2018. /package/{lib → src/lib}/collections/property/index.d.ts +0 -0
  2019. /package/{lib → src/lib}/collections/property/property-category-movement.collection.d.ts +0 -0
  2020. /package/{lib → src/lib}/collections/property/property-sale/index.d.ts +0 -0
  2021. /package/{lib → src/lib}/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts +0 -0
  2022. /package/{lib → src/lib}/collections/property/property-sale/property-sale.collection.d.ts +0 -0
  2023. /package/{lib → src/lib}/collections/property/property-share.collection.d.ts +0 -0
  2024. /package/{lib → src/lib}/collections/property/property-valuation.collection.d.ts +0 -0
  2025. /package/{lib → src/lib}/collections/property/property.collection.d.ts +0 -0
  2026. /package/{lib → src/lib}/collections/property/tax-exemption.collection.d.ts +0 -0
  2027. /package/{lib → src/lib}/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts +0 -0
  2028. /package/{lib → src/lib}/collections/report/depreciation/depreciation-report-item.collection.d.ts +0 -0
  2029. /package/{lib → src/lib}/collections/report/index.d.ts +0 -0
  2030. /package/{lib → src/lib}/collections/report/property/property-report-item-depreciation.collection.d.ts +0 -0
  2031. /package/{lib → src/lib}/collections/report/property/property-report-item-transaction.collection.d.ts +0 -0
  2032. /package/{lib → src/lib}/collections/report/property/property-report-item.collection.d.ts +0 -0
  2033. /package/{lib → src/lib}/collections/report/vehicle-expense/vehicle-expense.collection.d.ts +0 -0
  2034. /package/{lib → src/lib}/collections/sole/index.d.ts +0 -0
  2035. /package/{lib → src/lib}/collections/sole/sole-business-losses.collection.d.ts +0 -0
  2036. /package/{lib → src/lib}/collections/sole/sole-invoice-item.collection.d.ts +0 -0
  2037. /package/{lib → src/lib}/collections/sole/sole-invoice.collection.d.ts +0 -0
  2038. /package/{lib → src/lib}/collections/subscription/index.d.ts +0 -0
  2039. /package/{lib → src/lib}/collections/subscription/service-price.collection.d.ts +0 -0
  2040. /package/{lib → src/lib}/collections/subscription/service-product.collection.d.ts +0 -0
  2041. /package/{lib → src/lib}/collections/subscription/subscription-item.collection.d.ts +0 -0
  2042. /package/{lib → src/lib}/collections/tax-review.collection.d.ts +0 -0
  2043. /package/{lib → src/lib}/collections/tax-summary/index.d.ts +0 -0
  2044. /package/{lib → src/lib}/collections/tax-summary/report-item.collection.d.ts +0 -0
  2045. /package/{lib → src/lib}/collections/tax-summary/tax-return-categories.const.d.ts +0 -0
  2046. /package/{lib → src/lib}/collections/transaction/index.d.ts +0 -0
  2047. /package/{lib → src/lib}/collections/transaction/transaction-allocation.collection.d.ts +0 -0
  2048. /package/{lib → src/lib}/collections/transaction/transaction.collection.d.ts +0 -0
  2049. /package/{lib → src/lib}/collections/user-event-setting.collection.d.ts +0 -0
  2050. /package/{lib → src/lib}/collections/user-event-type-collection.d.ts +0 -0
  2051. /package/{lib → src/lib}/collections/vehicle/best-vehicle-logbook.collection.d.ts +0 -0
  2052. /package/{lib → src/lib}/collections/vehicle/index.d.ts +0 -0
  2053. /package/{lib → src/lib}/collections/vehicle/vehicle-claim.collection.d.ts +0 -0
  2054. /package/{lib → src/lib}/collections/vehicle/vehicle-logbook.collection.d.ts +0 -0
  2055. /package/{lib → src/lib}/db/Enums/address-type.enum.d.ts +0 -0
  2056. /package/{lib → src/lib}/db/Enums/allocation-rule-condition-comparison-operator.enum.d.ts +0 -0
  2057. /package/{lib → src/lib}/db/Enums/allocation-rule-condition-field.enum.d.ts +0 -0
  2058. /package/{lib → src/lib}/db/Enums/allocation-rule-condition-operator.enum.d.ts +0 -0
  2059. /package/{lib → src/lib}/db/Enums/allocation-rule-type.enum.d.ts +0 -0
  2060. /package/{lib → src/lib}/db/Enums/annual-frequency.enum.d.ts +0 -0
  2061. /package/{lib → src/lib}/db/Enums/bank/bank-account-status.enum.d.ts +0 -0
  2062. /package/{lib → src/lib}/db/Enums/bank/bank-account-type.enum.d.ts +0 -0
  2063. /package/{lib → src/lib}/db/Enums/bank/bank-connection-status.enum.d.ts +0 -0
  2064. /package/{lib → src/lib}/db/Enums/bank/bank-popular.enum.d.ts +0 -0
  2065. /package/{lib → src/lib}/db/Enums/bank/bank-provider.enum.d.ts +0 -0
  2066. /package/{lib → src/lib}/db/Enums/bank/bank-transaction-type.enum.d.ts +0 -0
  2067. /package/{lib → src/lib}/db/Enums/bank/index.d.ts +0 -0
  2068. /package/{lib → src/lib}/db/Enums/bank/loan/index.d.ts +0 -0
  2069. /package/{lib → src/lib}/db/Enums/bank/loan/loan-bank-type.enum.d.ts +0 -0
  2070. /package/{lib → src/lib}/db/Enums/bank/loan/loan-frequency.enum.d.ts +0 -0
  2071. /package/{lib → src/lib}/db/Enums/bank/loan/loan-interest-type-label.enum.d.ts +0 -0
  2072. /package/{lib → src/lib}/db/Enums/bank/loan/loan-interest-type.enum.d.ts +0 -0
  2073. /package/{lib → src/lib}/db/Enums/bank/loan/loan-payout-type.enum.d.ts +0 -0
  2074. /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-frequency.enum.d.ts +0 -0
  2075. /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-type-label.enum.d.ts +0 -0
  2076. /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-type.enum.d.ts +0 -0
  2077. /package/{lib → src/lib}/db/Enums/bank/loan/loan-type.enum.d.ts +0 -0
  2078. /package/{lib → src/lib}/db/Enums/bank/loan/loan-vehicle-type.enum.d.ts +0 -0
  2079. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.d.ts +0 -0
  2080. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts +0 -0
  2081. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts +0 -0
  2082. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts +0 -0
  2083. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts +0 -0
  2084. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts +0 -0
  2085. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts +0 -0
  2086. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.d.ts +0 -0
  2087. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -0
  2088. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts +0 -0
  2089. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +0 -0
  2090. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.d.ts +0 -0
  2091. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.d.ts +0 -0
  2092. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.d.ts +0 -0
  2093. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts +0 -0
  2094. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts +0 -0
  2095. /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -0
  2096. /package/{lib → src/lib}/db/Enums/chart-accounts/index.d.ts +0 -0
  2097. /package/{lib → src/lib}/db/Enums/chat-status.enum.d.ts +0 -0
  2098. /package/{lib → src/lib}/db/Enums/client-details-medicare-exemption.enum.d.ts +0 -0
  2099. /package/{lib → src/lib}/db/Enums/client-details-work-depreciation-calculation.enum.d.ts +0 -0
  2100. /package/{lib → src/lib}/db/Enums/client-details-working-holiday-maker.enum.d.ts +0 -0
  2101. /package/{lib → src/lib}/db/Enums/client-invite-status.enum.d.ts +0 -0
  2102. /package/{lib → src/lib}/db/Enums/client-invite-type.enum.d.ts +0 -0
  2103. /package/{lib → src/lib}/db/Enums/depreciation-calculation-percent.enum.d.ts +0 -0
  2104. /package/{lib → src/lib}/db/Enums/depreciation-calculation.enum.d.ts +0 -0
  2105. /package/{lib → src/lib}/db/Enums/depreciation-type.enum.d.ts +0 -0
  2106. /package/{lib → src/lib}/db/Enums/depreciation-write-off-amount.enum.d.ts +0 -0
  2107. /package/{lib → src/lib}/db/Enums/document-type.enum.d.ts +0 -0
  2108. /package/{lib → src/lib}/db/Enums/file-type.enum.d.ts +0 -0
  2109. /package/{lib → src/lib}/db/Enums/firm-type.enum.d.ts +0 -0
  2110. /package/{lib → src/lib}/db/Enums/holding/holding-type-category.enum.d.ts +0 -0
  2111. /package/{lib → src/lib}/db/Enums/holding/holding-type-exchange-list.enum.d.ts +0 -0
  2112. /package/{lib → src/lib}/db/Enums/holding/index.d.ts +0 -0
  2113. /package/{lib → src/lib}/db/Enums/income-source/income-source-forecast-trust-type.enum.d.ts +0 -0
  2114. /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-holding.enum.d.ts +0 -0
  2115. /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-other.enum.d.ts +0 -0
  2116. /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-sole.enum.d.ts +0 -0
  2117. /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-work.enum.d.ts +0 -0
  2118. /package/{lib → src/lib}/db/Enums/income-source/income-source-type.enum.d.ts +0 -0
  2119. /package/{lib → src/lib}/db/Enums/income-source/index.d.ts +0 -0
  2120. /package/{lib → src/lib}/db/Enums/index.d.ts +0 -0
  2121. /package/{lib → src/lib}/db/Enums/invite-status.enum.d.ts +0 -0
  2122. /package/{lib → src/lib}/db/Enums/phone-type.enum.d.ts +0 -0
  2123. /package/{lib → src/lib}/db/Enums/property/property-category-list.enum.d.ts +0 -0
  2124. /package/{lib → src/lib}/db/Enums/property/property-depreciation-calculation.enum.d.ts +0 -0
  2125. /package/{lib → src/lib}/db/Enums/property/property-sale/tax-exemption-meta-field.enum.d.ts +0 -0
  2126. /package/{lib → src/lib}/db/Enums/property/property-sale/tax-exemption.enum.d.ts +0 -0
  2127. /package/{lib → src/lib}/db/Enums/property/property-share-access.enum.d.ts +0 -0
  2128. /package/{lib → src/lib}/db/Enums/property/property-share-status.enum.d.ts +0 -0
  2129. /package/{lib → src/lib}/db/Enums/registration-invite-status.enum.d.ts +0 -0
  2130. /package/{lib → src/lib}/db/Enums/salary-forecast-frequency.enum.d.ts +0 -0
  2131. /package/{lib → src/lib}/db/Enums/service-notification-status.enum.d.ts +0 -0
  2132. /package/{lib → src/lib}/db/Enums/service-notification-type.enum.d.ts +0 -0
  2133. /package/{lib → src/lib}/db/Enums/setup-item-type.enum.d.ts +0 -0
  2134. /package/{lib → src/lib}/db/Enums/sole-depreciation-method.enum.d.ts +0 -0
  2135. /package/{lib → src/lib}/db/Enums/sole-invoice-statuses.enum.d.ts +0 -0
  2136. /package/{lib → src/lib}/db/Enums/sole-invoice-tax-type.enum.d.ts +0 -0
  2137. /package/{lib → src/lib}/db/Enums/sole-invoice-template-tax-type.enum.d.ts +0 -0
  2138. /package/{lib → src/lib}/db/Enums/spare-document-spare-type.enum.d.ts +0 -0
  2139. /package/{lib → src/lib}/db/Enums/subscription/index.d.ts +0 -0
  2140. /package/{lib → src/lib}/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts +0 -0
  2141. /package/{lib → src/lib}/db/Enums/subscription/service-payment-method-type.enum.d.ts +0 -0
  2142. /package/{lib → src/lib}/db/Enums/subscription/service-payment-status.enum.d.ts +0 -0
  2143. /package/{lib → src/lib}/db/Enums/subscription/service-price-list.enum.d.ts +0 -0
  2144. /package/{lib → src/lib}/db/Enums/subscription/service-price-recurring-interval.enum.d.ts +0 -0
  2145. /package/{lib → src/lib}/db/Enums/subscription/service-price-type.enum.d.ts +0 -0
  2146. /package/{lib → src/lib}/db/Enums/subscription/service-product-id.enum.d.ts +0 -0
  2147. /package/{lib → src/lib}/db/Enums/subscription/service-product-status.enum.d.ts +0 -0
  2148. /package/{lib → src/lib}/db/Enums/subscription/service-subscription-status.enum.d.ts +0 -0
  2149. /package/{lib → src/lib}/db/Enums/tank-type.enum.d.ts +0 -0
  2150. /package/{lib → src/lib}/db/Enums/tax-calculation-medicare-exemption.enum.d.ts +0 -0
  2151. /package/{lib → src/lib}/db/Enums/tax-calculation-type.enum.d.ts +0 -0
  2152. /package/{lib → src/lib}/db/Enums/tax-return/index.d.ts +0 -0
  2153. /package/{lib → src/lib}/db/Enums/tax-return/tax-return-category-list.enum.d.ts +0 -0
  2154. /package/{lib → src/lib}/db/Enums/tax-return/tax-return-category-section.enum.d.ts +0 -0
  2155. /package/{lib → src/lib}/db/Enums/tax-return/tax-return-item.enum.d.ts +0 -0
  2156. /package/{lib → src/lib}/db/Enums/tax-review-status.enum.d.ts +0 -0
  2157. /package/{lib → src/lib}/db/Enums/tax-summary-list.enum.d.ts +0 -0
  2158. /package/{lib → src/lib}/db/Enums/tax-summary-section.enum.d.ts +0 -0
  2159. /package/{lib → src/lib}/db/Enums/tax-summary-tax-summary.enum.d.ts +0 -0
  2160. /package/{lib → src/lib}/db/Enums/ticket-feedback.enum.d.ts +0 -0
  2161. /package/{lib → src/lib}/db/Enums/ticket-status.enum.d.ts +0 -0
  2162. /package/{lib → src/lib}/db/Enums/ticket-types.enum.d.ts +0 -0
  2163. /package/{lib → src/lib}/db/Enums/transaction-operation.enum.d.ts +0 -0
  2164. /package/{lib → src/lib}/db/Enums/transaction-source.enum.d.ts +0 -0
  2165. /package/{lib → src/lib}/db/Enums/transaction-type.enum.d.ts +0 -0
  2166. /package/{lib → src/lib}/db/Enums/user-event-status.enum.d.ts +0 -0
  2167. /package/{lib → src/lib}/db/Enums/user-event-type-client-type.enum.d.ts +0 -0
  2168. /package/{lib → src/lib}/db/Enums/user-event-type-employee-type.enum.d.ts +0 -0
  2169. /package/{lib → src/lib}/db/Enums/user-event-type-frequency.enum.d.ts +0 -0
  2170. /package/{lib → src/lib}/db/Enums/user-event-type-type.enum.d.ts +0 -0
  2171. /package/{lib → src/lib}/db/Enums/user-event-type-user-type.enum.d.ts +0 -0
  2172. /package/{lib → src/lib}/db/Enums/user-medicare-exemption.enum.d.ts +0 -0
  2173. /package/{lib → src/lib}/db/Enums/user-status.enum.d.ts +0 -0
  2174. /package/{lib → src/lib}/db/Enums/user-title.enum.d.ts +0 -0
  2175. /package/{lib → src/lib}/db/Enums/user-work-depreciation-calculation.enum.d.ts +0 -0
  2176. /package/{lib → src/lib}/db/Enums/user-working-holiday-maker.enum.d.ts +0 -0
  2177. /package/{lib → src/lib}/db/Enums/vehicle-claim-details-method.enum.d.ts +0 -0
  2178. /package/{lib → src/lib}/db/Enums/vehicle-logbook-purpose.enum.d.ts +0 -0
  2179. /package/{lib → src/lib}/db/Models/abstract-model.d.ts +0 -0
  2180. /package/{lib → src/lib}/db/Models/address.d.ts +0 -0
  2181. /package/{lib → src/lib}/db/Models/bank/bank-account-balance.d.ts +0 -0
  2182. /package/{lib → src/lib}/db/Models/bank/bank-account-property.d.ts +0 -0
  2183. /package/{lib → src/lib}/db/Models/bank/bank-account.d.ts +0 -0
  2184. /package/{lib → src/lib}/db/Models/bank/bank-connection.d.ts +0 -0
  2185. /package/{lib → src/lib}/db/Models/bank/bank-transaction-import.d.ts +0 -0
  2186. /package/{lib → src/lib}/db/Models/bank/bank-transaction.d.ts +0 -0
  2187. /package/{lib → src/lib}/db/Models/bank/bank.d.ts +0 -0
  2188. /package/{lib → src/lib}/db/Models/bank/basiq-job-step.enum.d.ts +0 -0
  2189. /package/{lib → src/lib}/db/Models/bank/basiq-job.d.ts +0 -0
  2190. /package/{lib → src/lib}/db/Models/budget/budget-rule.d.ts +0 -0
  2191. /package/{lib → src/lib}/db/Models/budget/budget.d.ts +0 -0
  2192. /package/{lib → src/lib}/db/Models/budget/index.d.ts +0 -0
  2193. /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-depreciation.d.ts +0 -0
  2194. /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-heading.d.ts +0 -0
  2195. /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-meta-field.d.ts +0 -0
  2196. /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-value.d.ts +0 -0
  2197. /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts.d.ts +0 -0
  2198. /package/{lib → src/lib}/db/Models/client/annual-client-details.d.ts +0 -0
  2199. /package/{lib → src/lib}/db/Models/client/client-details.d.ts +0 -0
  2200. /package/{lib → src/lib}/db/Models/client/index.d.ts +0 -0
  2201. /package/{lib → src/lib}/db/Models/client/occupation.d.ts +0 -0
  2202. /package/{lib → src/lib}/db/Models/country.d.ts +0 -0
  2203. /package/{lib → src/lib}/db/Models/depreciation/depreciation-capital-project.d.ts +0 -0
  2204. /package/{lib → src/lib}/db/Models/depreciation/depreciation-forecast.d.ts +0 -0
  2205. /package/{lib → src/lib}/db/Models/depreciation/depreciation.d.ts +0 -0
  2206. /package/{lib → src/lib}/db/Models/document/document-folder.d.ts +0 -0
  2207. /package/{lib → src/lib}/db/Models/document/folder-document.d.ts +0 -0
  2208. /package/{lib → src/lib}/db/Models/document/property-document.d.ts +0 -0
  2209. /package/{lib → src/lib}/db/Models/file.d.ts +0 -0
  2210. /package/{lib → src/lib}/db/Models/firm/accountant/tax-review.d.ts +0 -0
  2211. /package/{lib → src/lib}/db/Models/firm/accountant/ticket.d.ts +0 -0
  2212. /package/{lib → src/lib}/db/Models/firm/chat.d.ts +0 -0
  2213. /package/{lib → src/lib}/db/Models/firm/client-invite.d.ts +0 -0
  2214. /package/{lib → src/lib}/db/Models/firm/client-movement.d.ts +0 -0
  2215. /package/{lib → src/lib}/db/Models/firm/employee-invite.d.ts +0 -0
  2216. /package/{lib → src/lib}/db/Models/firm/firm-invite.d.ts +0 -0
  2217. /package/{lib → src/lib}/db/Models/firm/firm.d.ts +0 -0
  2218. /package/{lib → src/lib}/db/Models/firm/message-document.d.ts +0 -0
  2219. /package/{lib → src/lib}/db/Models/firm/message.d.ts +0 -0
  2220. /package/{lib → src/lib}/db/Models/holding/holding-import.d.ts +0 -0
  2221. /package/{lib → src/lib}/db/Models/holding/holding-sale.d.ts +0 -0
  2222. /package/{lib → src/lib}/db/Models/holding/holding-type-exchange.d.ts +0 -0
  2223. /package/{lib → src/lib}/db/Models/holding/holding-type.d.ts +0 -0
  2224. /package/{lib → src/lib}/db/Models/holding/holding.d.ts +0 -0
  2225. /package/{lib → src/lib}/db/Models/holding/index.d.ts +0 -0
  2226. /package/{lib → src/lib}/db/Models/incomeSource/income-source-forecast.d.ts +0 -0
  2227. /package/{lib → src/lib}/db/Models/incomeSource/income-source-type.d.ts +0 -0
  2228. /package/{lib → src/lib}/db/Models/incomeSource/income-source.d.ts +0 -0
  2229. /package/{lib → src/lib}/db/Models/incomeSource/salary-forecast.d.ts +0 -0
  2230. /package/{lib → src/lib}/db/Models/index.d.ts +0 -0
  2231. /package/{lib → src/lib}/db/Models/loan/borrowing-expense-loan.d.ts +0 -0
  2232. /package/{lib → src/lib}/db/Models/loan/borrowing-expense.d.ts +0 -0
  2233. /package/{lib → src/lib}/db/Models/loan/loan-payout.d.ts +0 -0
  2234. /package/{lib → src/lib}/db/Models/loan/loan.d.ts +0 -0
  2235. /package/{lib → src/lib}/db/Models/observable-model.d.ts +0 -0
  2236. /package/{lib → src/lib}/db/Models/phone.d.ts +0 -0
  2237. /package/{lib → src/lib}/db/Models/property/borrowing-report.d.ts +0 -0
  2238. /package/{lib → src/lib}/db/Models/property/property-category-movement.d.ts +0 -0
  2239. /package/{lib → src/lib}/db/Models/property/property-category.d.ts +0 -0
  2240. /package/{lib → src/lib}/db/Models/property/property-forecast.d.ts +0 -0
  2241. /package/{lib → src/lib}/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts +0 -0
  2242. /package/{lib → src/lib}/db/Models/property/property-sale/property-sale.d.ts +0 -0
  2243. /package/{lib → src/lib}/db/Models/property/property-sale/tax-exemption-meta-field.d.ts +0 -0
  2244. /package/{lib → src/lib}/db/Models/property/property-sale/tax-exemption.d.ts +0 -0
  2245. /package/{lib → src/lib}/db/Models/property/property-share.d.ts +0 -0
  2246. /package/{lib → src/lib}/db/Models/property/property-subscription.d.ts +0 -0
  2247. /package/{lib → src/lib}/db/Models/property/property-valuation.d.ts +0 -0
  2248. /package/{lib → src/lib}/db/Models/property/property.d.ts +0 -0
  2249. /package/{lib → src/lib}/db/Models/service-notification.d.ts +0 -0
  2250. /package/{lib → src/lib}/db/Models/sole/bas-report.d.ts +0 -0
  2251. /package/{lib → src/lib}/db/Models/sole/sole-business-activity.d.ts +0 -0
  2252. /package/{lib → src/lib}/db/Models/sole/sole-business-allocation.d.ts +0 -0
  2253. /package/{lib → src/lib}/db/Models/sole/sole-business-loss-offset-rule.d.ts +0 -0
  2254. /package/{lib → src/lib}/db/Models/sole/sole-business-loss.d.ts +0 -0
  2255. /package/{lib → src/lib}/db/Models/sole/sole-business.d.ts +0 -0
  2256. /package/{lib → src/lib}/db/Models/sole/sole-contact.d.ts +0 -0
  2257. /package/{lib → src/lib}/db/Models/sole/sole-depreciation-method.d.ts +0 -0
  2258. /package/{lib → src/lib}/db/Models/sole/sole-details.d.ts +0 -0
  2259. /package/{lib → src/lib}/db/Models/sole/sole-forecast.d.ts +0 -0
  2260. /package/{lib → src/lib}/db/Models/sole/sole-invoice-item.d.ts +0 -0
  2261. /package/{lib → src/lib}/db/Models/sole/sole-invoice-template.d.ts +0 -0
  2262. /package/{lib → src/lib}/db/Models/sole/sole-invoice.d.ts +0 -0
  2263. /package/{lib → src/lib}/db/Models/spare/spare-document-category.d.ts +0 -0
  2264. /package/{lib → src/lib}/db/Models/spare/spare-document.d.ts +0 -0
  2265. /package/{lib → src/lib}/db/Models/subscription/service-payment-method.d.ts +0 -0
  2266. /package/{lib → src/lib}/db/Models/subscription/service-payment.d.ts +0 -0
  2267. /package/{lib → src/lib}/db/Models/subscription/service-price.d.ts +0 -0
  2268. /package/{lib → src/lib}/db/Models/subscription/service-subscription-item.d.ts +0 -0
  2269. /package/{lib → src/lib}/db/Models/tax-calculation.d.ts +0 -0
  2270. /package/{lib → src/lib}/db/Models/tax-return/index.d.ts +0 -0
  2271. /package/{lib → src/lib}/db/Models/tax-return/tax-return-category.d.ts +0 -0
  2272. /package/{lib → src/lib}/db/Models/tax-return/tax-return-item.d.ts +0 -0
  2273. /package/{lib → src/lib}/db/Models/tax-return/tax-return.d.ts +0 -0
  2274. /package/{lib → src/lib}/db/Models/transaction/allocation-rule-condition.d.ts +0 -0
  2275. /package/{lib → src/lib}/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts +0 -0
  2276. /package/{lib → src/lib}/db/Models/transaction/allocation-rule-transaction.d.ts +0 -0
  2277. /package/{lib → src/lib}/db/Models/transaction/allocation-rule.d.ts +0 -0
  2278. /package/{lib → src/lib}/db/Models/transaction/transaction-allocation.d.ts +0 -0
  2279. /package/{lib → src/lib}/db/Models/transaction/transaction-base.d.ts +0 -0
  2280. /package/{lib → src/lib}/db/Models/transaction/transaction-meta-field.d.ts +0 -0
  2281. /package/{lib → src/lib}/db/Models/transaction/transaction.d.ts +0 -0
  2282. /package/{lib → src/lib}/db/Models/user/employee-details.d.ts +0 -0
  2283. /package/{lib → src/lib}/db/Models/user/registration-invite.d.ts +0 -0
  2284. /package/{lib → src/lib}/db/Models/user/user-event-setting.d.ts +0 -0
  2285. /package/{lib → src/lib}/db/Models/user/user-event-type-category.d.ts +0 -0
  2286. /package/{lib → src/lib}/db/Models/user/user-event-type.d.ts +0 -0
  2287. /package/{lib → src/lib}/db/Models/user/user-event.d.ts +0 -0
  2288. /package/{lib → src/lib}/db/Models/vehicle/vehicle-claim-details.d.ts +0 -0
  2289. /package/{lib → src/lib}/db/Models/vehicle/vehicle-claim.d.ts +0 -0
  2290. /package/{lib → src/lib}/db/Models/vehicle/vehicle-logbook.d.ts +0 -0
  2291. /package/{lib → src/lib}/db/Models/vehicle/vehicle.d.ts +0 -0
  2292. /package/{lib → src/lib}/db-static/chart-accounts/chart-accounts-values.d.ts +0 -0
  2293. /package/{lib → src/lib}/forms/abstract.form.d.ts +0 -0
  2294. /package/{lib → src/lib}/forms/address/address.form.d.ts +0 -0
  2295. /package/{lib → src/lib}/forms/address/index.d.ts +0 -0
  2296. /package/{lib → src/lib}/forms/bank/bank-account/bank-account-add-manual.form.d.ts +0 -0
  2297. /package/{lib → src/lib}/forms/bank/bank-account/bank-account-allocation.form.d.ts +0 -0
  2298. /package/{lib → src/lib}/forms/bank/bank-account/bank-account-import.form.d.ts +0 -0
  2299. /package/{lib → src/lib}/forms/bank/bank-account/bank-account-properties.form.d.ts +0 -0
  2300. /package/{lib → src/lib}/forms/bank/bank-account/bank-accounts-import.form.d.ts +0 -0
  2301. /package/{lib → src/lib}/forms/budget/budget.form.d.ts +0 -0
  2302. /package/{lib → src/lib}/forms/budget/index.d.ts +0 -0
  2303. /package/{lib → src/lib}/forms/chart-accounts/chart-accounts.form.d.ts +0 -0
  2304. /package/{lib → src/lib}/forms/chart-accounts/index.d.ts +0 -0
  2305. /package/{lib → src/lib}/forms/client/annual-client-details.form.d.ts +0 -0
  2306. /package/{lib → src/lib}/forms/client/index.d.ts +0 -0
  2307. /package/{lib → src/lib}/forms/depreciation/depreciation.form.d.ts +0 -0
  2308. /package/{lib → src/lib}/forms/depreciation/index.d.ts +0 -0
  2309. /package/{lib → src/lib}/forms/document-folder/document-folder.form.d.ts +0 -0
  2310. /package/{lib → src/lib}/forms/document-folder/document.form.d.ts +0 -0
  2311. /package/{lib → src/lib}/forms/document-folder/index.d.ts +0 -0
  2312. /package/{lib → src/lib}/forms/firm/firm.form.d.ts +0 -0
  2313. /package/{lib → src/lib}/forms/firm/index.d.ts +0 -0
  2314. /package/{lib → src/lib}/forms/form-validations.enum.d.ts +0 -0
  2315. /package/{lib → src/lib}/forms/holding/holding-import.form.d.ts +0 -0
  2316. /package/{lib → src/lib}/forms/holding/holding-reinvest.form.d.ts +0 -0
  2317. /package/{lib → src/lib}/forms/holding/holding-sale.form.d.ts +0 -0
  2318. /package/{lib → src/lib}/forms/holding/holding-type.form.d.ts +0 -0
  2319. /package/{lib → src/lib}/forms/holding/holding.form.d.ts +0 -0
  2320. /package/{lib → src/lib}/forms/holding/index.d.ts +0 -0
  2321. /package/{lib → src/lib}/forms/index.d.ts +0 -0
  2322. /package/{lib → src/lib}/forms/loan/index.d.ts +0 -0
  2323. /package/{lib → src/lib}/forms/loan/loan.form.d.ts +0 -0
  2324. /package/{lib → src/lib}/forms/login/login.form.d.ts +0 -0
  2325. /package/{lib → src/lib}/forms/phone/index.d.ts +0 -0
  2326. /package/{lib → src/lib}/forms/phone/phone.form.d.ts +0 -0
  2327. /package/{lib → src/lib}/forms/property/borrowing-report.form.d.ts +0 -0
  2328. /package/{lib → src/lib}/forms/property/index.d.ts +0 -0
  2329. /package/{lib → src/lib}/forms/property/property-add.form.d.ts +0 -0
  2330. /package/{lib → src/lib}/forms/property/property-category-movement-form.d.ts +0 -0
  2331. /package/{lib → src/lib}/forms/property/property-document.form.d.ts +0 -0
  2332. /package/{lib → src/lib}/forms/property/property-edit.form.d.ts +0 -0
  2333. /package/{lib → src/lib}/forms/property/property-forecast.form.d.ts +0 -0
  2334. /package/{lib → src/lib}/forms/property/property-sale/index.d.ts +0 -0
  2335. /package/{lib → src/lib}/forms/property/property-sale/property-sale-cost-base.form.d.ts +0 -0
  2336. /package/{lib → src/lib}/forms/property/property-sale/property-sale-cost-sale.form.d.ts +0 -0
  2337. /package/{lib → src/lib}/forms/property/property-sale/property-sale-exemptions.form.d.ts +0 -0
  2338. /package/{lib → src/lib}/forms/property/property-share.form.d.ts +0 -0
  2339. /package/{lib → src/lib}/forms/property/property-valuation.form.d.ts +0 -0
  2340. /package/{lib → src/lib}/forms/register/register-client.form.d.ts +0 -0
  2341. /package/{lib → src/lib}/forms/register/register-firm.form.d.ts +0 -0
  2342. /package/{lib → src/lib}/forms/report/my-tax/index.d.ts +0 -0
  2343. /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts +0 -0
  2344. /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts +0 -0
  2345. /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts +0 -0
  2346. /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts +0 -0
  2347. /package/{lib → src/lib}/forms/report/my-tax/my-tax-cgt.form.d.ts +0 -0
  2348. /package/{lib → src/lib}/forms/report/my-tax/my-tax-deductions.form.d.ts +0 -0
  2349. /package/{lib → src/lib}/forms/report/my-tax/my-tax-dividends.form.d.ts +0 -0
  2350. /package/{lib → src/lib}/forms/report/my-tax/my-tax-income-statements.form.d.ts +0 -0
  2351. /package/{lib → src/lib}/forms/report/my-tax/my-tax-income-tests.form.d.ts +0 -0
  2352. /package/{lib → src/lib}/forms/report/my-tax/my-tax-interest.form.d.ts +0 -0
  2353. /package/{lib → src/lib}/forms/report/my-tax/my-tax-losses.form.d.ts +0 -0
  2354. /package/{lib → src/lib}/forms/report/my-tax/my-tax-medicare.form.d.ts +0 -0
  2355. /package/{lib → src/lib}/forms/report/my-tax/my-tax-offsets.form.d.ts +0 -0
  2356. /package/{lib → src/lib}/forms/report/my-tax/my-tax-other-income.form.d.ts +0 -0
  2357. /package/{lib → src/lib}/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts +0 -0
  2358. /package/{lib → src/lib}/forms/report/my-tax/my-tax-rent.form.d.ts +0 -0
  2359. /package/{lib → src/lib}/forms/sole/bas-report.form.d.ts +0 -0
  2360. /package/{lib → src/lib}/forms/sole/index.d.ts +0 -0
  2361. /package/{lib → src/lib}/forms/sole/invoice-payment.form.d.ts +0 -0
  2362. /package/{lib → src/lib}/forms/sole/sole-business-allocations.form.d.ts +0 -0
  2363. /package/{lib → src/lib}/forms/sole/sole-business-loss.form.d.ts +0 -0
  2364. /package/{lib → src/lib}/forms/sole/sole-business.form.d.ts +0 -0
  2365. /package/{lib → src/lib}/forms/sole/sole-contact.form.d.ts +0 -0
  2366. /package/{lib → src/lib}/forms/sole/sole-depreciation-method.form.d.ts +0 -0
  2367. /package/{lib → src/lib}/forms/sole/sole-details.form.d.ts +0 -0
  2368. /package/{lib → src/lib}/forms/sole/sole-invoice-item.form.d.ts +0 -0
  2369. /package/{lib → src/lib}/forms/sole/sole-invoice-template.form.d.ts +0 -0
  2370. /package/{lib → src/lib}/forms/sole/sole-invoice.form.d.ts +0 -0
  2371. /package/{lib → src/lib}/forms/transaction/allocation-rule-condition.form.d.ts +0 -0
  2372. /package/{lib → src/lib}/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts +0 -0
  2373. /package/{lib → src/lib}/forms/transaction/allocation-rule-transaction.form.d.ts +0 -0
  2374. /package/{lib → src/lib}/forms/transaction/allocation-rule.form.d.ts +0 -0
  2375. /package/{lib → src/lib}/forms/transaction/holding/holding-income.form.d.ts +0 -0
  2376. /package/{lib → src/lib}/forms/transaction/index.d.ts +0 -0
  2377. /package/{lib → src/lib}/forms/transaction/messages.enum.d.ts +0 -0
  2378. /package/{lib → src/lib}/forms/transaction/sole/sole-income.form.d.ts +0 -0
  2379. /package/{lib → src/lib}/forms/transaction/sole/sole-transaction.form.d.ts +0 -0
  2380. /package/{lib → src/lib}/forms/transaction/transaction-base.form.d.ts +0 -0
  2381. /package/{lib → src/lib}/forms/transaction/transaction.form.d.ts +0 -0
  2382. /package/{lib → src/lib}/forms/transaction/work/work-expense.form.d.ts +0 -0
  2383. /package/{lib → src/lib}/forms/transaction/work/work-income.form.d.ts +0 -0
  2384. /package/{lib → src/lib}/forms/transaction/work/work-transaction.form.d.ts +0 -0
  2385. /package/{lib → src/lib}/forms/user/client-details.form.d.ts +0 -0
  2386. /package/{lib → src/lib}/forms/user/index.d.ts +0 -0
  2387. /package/{lib → src/lib}/forms/user/password.form.d.ts +0 -0
  2388. /package/{lib → src/lib}/forms/user/reset-password.form.d.ts +0 -0
  2389. /package/{lib → src/lib}/forms/user/user-invite.form.d.ts +0 -0
  2390. /package/{lib → src/lib}/forms/user/user.form.d.ts +0 -0
  2391. /package/{lib → src/lib}/forms/vehicle/index.d.ts +0 -0
  2392. /package/{lib → src/lib}/forms/vehicle/vehicle-claim-details.form.d.ts +0 -0
  2393. /package/{lib → src/lib}/forms/vehicle/vehicle-claim.form.d.ts +0 -0
  2394. /package/{lib → src/lib}/forms/vehicle/vehicle-logbook.form.d.ts +0 -0
  2395. /package/{lib → src/lib}/forms/vehicle/vehicle.form.d.ts +0 -0
  2396. /package/{lib → src/lib}/functions/array/index.d.ts +0 -0
  2397. /package/{lib → src/lib}/functions/array/replace.d.ts +0 -0
  2398. /package/{lib → src/lib}/functions/array/sort-deep.d.ts +0 -0
  2399. /package/{lib → src/lib}/functions/array/sort.d.ts +0 -0
  2400. /package/{lib → src/lib}/functions/array/to-array.d.ts +0 -0
  2401. /package/{lib → src/lib}/functions/clone-deep.d.ts +0 -0
  2402. /package/{lib → src/lib}/functions/create-date.d.ts +0 -0
  2403. /package/{lib → src/lib}/functions/enum-to-list.d.ts +0 -0
  2404. /package/{lib → src/lib}/functions/get-doc-icon.d.ts +0 -0
  2405. /package/{lib → src/lib}/functions/mat-options-functions.d.ts +0 -0
  2406. /package/{lib → src/lib}/functions/mat-sort-options.d.ts +0 -0
  2407. /package/{lib → src/lib}/functions/tax-review-filter-predicate.d.ts +0 -0
  2408. /package/{lib → src/lib}/interceptors/basiq-client-id.interceptor.d.ts +0 -0
  2409. /package/{lib → src/lib}/interceptors/basiq-token.interceptor.d.ts +0 -0
  2410. /package/{lib → src/lib}/interceptors/corelogic-interceptor.d.ts +0 -0
  2411. /package/{lib → src/lib}/interceptors/financial-year-interceptor.d.ts +0 -0
  2412. /package/{lib → src/lib}/interceptors/preloader.interceptor.d.ts +0 -0
  2413. /package/{lib → src/lib}/interceptors/rewardful.interceptor.d.ts +0 -0
  2414. /package/{lib → src/lib}/interceptors/user-switcher-interceptor.d.ts +0 -0
  2415. /package/{lib → src/lib}/interfaces/asset-entity-type.enum.d.ts +0 -0
  2416. /package/{lib → src/lib}/interfaces/asset-type.enum.d.ts +0 -0
  2417. /package/{lib → src/lib}/interfaces/asset.interface.d.ts +0 -0
  2418. /package/{lib → src/lib}/interfaces/chart-data.interface.d.ts +0 -0
  2419. /package/{lib → src/lib}/interfaces/chart-serie.interface.d.ts +0 -0
  2420. /package/{lib → src/lib}/interfaces/document.interface.d.ts +0 -0
  2421. /package/{lib → src/lib}/interfaces/documentable.interface.d.ts +0 -0
  2422. /package/{lib → src/lib}/interfaces/event-listener.interface.d.ts +0 -0
  2423. /package/{lib → src/lib}/interfaces/expense.interface.d.ts +0 -0
  2424. /package/{lib → src/lib}/interfaces/income-source-forecast.interface.d.ts +0 -0
  2425. /package/{lib → src/lib}/interfaces/option.interface.d.ts +0 -0
  2426. /package/{lib → src/lib}/interfaces/tank.interface.d.ts +0 -0
  2427. /package/{lib → src/lib}/interfaces/updatable.interface.d.ts +0 -0
  2428. /package/{lib → src/lib}/messages/index.d.ts +0 -0
  2429. /package/{lib → src/lib}/messages/messages.enum.d.ts +0 -0
  2430. /package/{lib → src/lib}/models/account-setup/account-setup-item.d.ts +0 -0
  2431. /package/{lib → src/lib}/models/account-setup/account-setup-items.enum.d.ts +0 -0
  2432. /package/{lib → src/lib}/models/address/address.d.ts +0 -0
  2433. /package/{lib → src/lib}/models/address/country.d.ts +0 -0
  2434. /package/{lib → src/lib}/models/address/index.d.ts +0 -0
  2435. /package/{lib → src/lib}/models/address/states.enum.d.ts +0 -0
  2436. /package/{lib → src/lib}/models/asset-sale.d.ts +0 -0
  2437. /package/{lib → src/lib}/models/badge/badge-color.enum.d.ts +0 -0
  2438. /package/{lib → src/lib}/models/badge/badge.d.ts +0 -0
  2439. /package/{lib → src/lib}/models/bank/allocation-group.d.ts +0 -0
  2440. /package/{lib → src/lib}/models/bank/bank-account-chart-data.d.ts +0 -0
  2441. /package/{lib → src/lib}/models/bank/bank-account-property.d.ts +0 -0
  2442. /package/{lib → src/lib}/models/bank/bank-account-types.const.d.ts +0 -0
  2443. /package/{lib → src/lib}/models/bank/bank-account.d.ts +0 -0
  2444. /package/{lib → src/lib}/models/bank/bank-connection.d.ts +0 -0
  2445. /package/{lib → src/lib}/models/bank/bank-external-stats.d.ts +0 -0
  2446. /package/{lib → src/lib}/models/bank/bank-transaction-chart-data.d.ts +0 -0
  2447. /package/{lib → src/lib}/models/bank/bank-transaction-summary-fields.enum.d.ts +0 -0
  2448. /package/{lib → src/lib}/models/bank/bank-transaction.d.ts +0 -0
  2449. /package/{lib → src/lib}/models/bank/bank.d.ts +0 -0
  2450. /package/{lib → src/lib}/models/bank/basiq/basiq-config.d.ts +0 -0
  2451. /package/{lib → src/lib}/models/bank/basiq/basiq-connection-data.interface.d.ts +0 -0
  2452. /package/{lib → src/lib}/models/bank/basiq/basiq-connections-response.interface.d.ts +0 -0
  2453. /package/{lib → src/lib}/models/bank/basiq/basiq-job-response.d.ts +0 -0
  2454. /package/{lib → src/lib}/models/bank/basiq/basiq-job-step.d.ts +0 -0
  2455. /package/{lib → src/lib}/models/bank/basiq/basiq-job.d.ts +0 -0
  2456. /package/{lib → src/lib}/models/bank/basiq/basiq-token-response.interface.d.ts +0 -0
  2457. /package/{lib → src/lib}/models/bank/basiq/basiq-token.d.ts +0 -0
  2458. /package/{lib → src/lib}/models/bank/basiq/index.d.ts +0 -0
  2459. /package/{lib → src/lib}/models/bank/index.d.ts +0 -0
  2460. /package/{lib → src/lib}/models/bank/type-loan.const.d.ts +0 -0
  2461. /package/{lib → src/lib}/models/borrowing-expense/borrowing-expense-loan.d.ts +0 -0
  2462. /package/{lib → src/lib}/models/borrowing-expense/borrowing-expense.d.ts +0 -0
  2463. /package/{lib → src/lib}/models/borrowing-expense/index.d.ts +0 -0
  2464. /package/{lib → src/lib}/models/budget/budget-rule.d.ts +0 -0
  2465. /package/{lib → src/lib}/models/budget/budget.d.ts +0 -0
  2466. /package/{lib → src/lib}/models/budget/index.d.ts +0 -0
  2467. /package/{lib → src/lib}/models/chart/chart-data.d.ts +0 -0
  2468. /package/{lib → src/lib}/models/chart/chart-serie.d.ts +0 -0
  2469. /package/{lib → src/lib}/models/chart-accounts/chart-accounts-categories.const.d.ts +0 -0
  2470. /package/{lib → src/lib}/models/chart-accounts/chart-accounts-category.e-collection.d.ts +0 -0
  2471. /package/{lib → src/lib}/models/chart-accounts/chart-accounts-depreciation.d.ts +0 -0
  2472. /package/{lib → src/lib}/models/chart-accounts/chart-accounts-heading.d.ts +0 -0
  2473. /package/{lib → src/lib}/models/chart-accounts/chart-accounts-meta-field.d.ts +0 -0
  2474. /package/{lib → src/lib}/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts +0 -0
  2475. /package/{lib → src/lib}/models/chart-accounts/chart-accounts-value.d.ts +0 -0
  2476. /package/{lib → src/lib}/models/chart-accounts/chart-accounts.d.ts +0 -0
  2477. /package/{lib → src/lib}/models/chart-accounts/index.d.ts +0 -0
  2478. /package/{lib → src/lib}/models/chat/chat-view-type.enum.d.ts +0 -0
  2479. /package/{lib → src/lib}/models/chat/chat.d.ts +0 -0
  2480. /package/{lib → src/lib}/models/chat/index.d.ts +0 -0
  2481. /package/{lib → src/lib}/models/chat/message-document.d.ts +0 -0
  2482. /package/{lib → src/lib}/models/chat/message.d.ts +0 -0
  2483. /package/{lib → src/lib}/models/client/annual-client-details.d.ts +0 -0
  2484. /package/{lib → src/lib}/models/client/client-details.d.ts +0 -0
  2485. /package/{lib → src/lib}/models/client/client-invite.d.ts +0 -0
  2486. /package/{lib → src/lib}/models/client/client-movement.d.ts +0 -0
  2487. /package/{lib → src/lib}/models/client/client-portfolio-chart-data.d.ts +0 -0
  2488. /package/{lib → src/lib}/models/client/client-portfolio-report.d.ts +0 -0
  2489. /package/{lib → src/lib}/models/client/index.d.ts +0 -0
  2490. /package/{lib → src/lib}/models/color/alphabet-colors.enum.d.ts +0 -0
  2491. /package/{lib → src/lib}/models/depreciation/depreciation-capital-project.d.ts +0 -0
  2492. /package/{lib → src/lib}/models/depreciation/depreciation-forecast.d.ts +0 -0
  2493. /package/{lib → src/lib}/models/depreciation/depreciation-group-item.d.ts +0 -0
  2494. /package/{lib → src/lib}/models/depreciation/depreciation-group.d.ts +0 -0
  2495. /package/{lib → src/lib}/models/depreciation/depreciation-group.enum.d.ts +0 -0
  2496. /package/{lib → src/lib}/models/depreciation/depreciation-groups.const.d.ts +0 -0
  2497. /package/{lib → src/lib}/models/depreciation/depreciation-lvp-rate.enum.d.ts +0 -0
  2498. /package/{lib → src/lib}/models/depreciation/depreciation.d.ts +0 -0
  2499. /package/{lib → src/lib}/models/depreciation/index.d.ts +0 -0
  2500. /package/{lib → src/lib}/models/dictionary/dictionary.d.ts +0 -0
  2501. /package/{lib → src/lib}/models/dictionary/index.d.ts +0 -0
  2502. /package/{lib → src/lib}/models/document/document-api-url-prefix.enum.d.ts +0 -0
  2503. /package/{lib → src/lib}/models/document/document-file-types.const.d.ts +0 -0
  2504. /package/{lib → src/lib}/models/document/document-folder.d.ts +0 -0
  2505. /package/{lib → src/lib}/models/document/document.d.ts +0 -0
  2506. /package/{lib → src/lib}/models/document/index.d.ts +0 -0
  2507. /package/{lib → src/lib}/models/employee/employee-details.d.ts +0 -0
  2508. /package/{lib → src/lib}/models/employee/employee-invite.d.ts +0 -0
  2509. /package/{lib → src/lib}/models/endpoint/endpoint.d.ts +0 -0
  2510. /package/{lib → src/lib}/models/endpoint/endpoints.const.d.ts +0 -0
  2511. /package/{lib → src/lib}/models/event/app-event-type.enum.d.ts +0 -0
  2512. /package/{lib → src/lib}/models/event/app-event.d.ts +0 -0
  2513. /package/{lib → src/lib}/models/event/index.d.ts +0 -0
  2514. /package/{lib → src/lib}/models/export/export-cell-type.enum.d.ts +0 -0
  2515. /package/{lib → src/lib}/models/export/export-cell.d.ts +0 -0
  2516. /package/{lib → src/lib}/models/export/export-data-table.d.ts +0 -0
  2517. /package/{lib → src/lib}/models/export/export-format.enum.d.ts +0 -0
  2518. /package/{lib → src/lib}/models/file/file.d.ts +0 -0
  2519. /package/{lib → src/lib}/models/file/icons-file.enum.d.ts +0 -0
  2520. /package/{lib → src/lib}/models/file/index.d.ts +0 -0
  2521. /package/{lib → src/lib}/models/financial-year/financial-year.d.ts +0 -0
  2522. /package/{lib → src/lib}/models/financial-year/index.d.ts +0 -0
  2523. /package/{lib → src/lib}/models/financial-year/month-name-short.enum.d.ts +0 -0
  2524. /package/{lib → src/lib}/models/financial-year/month-number.enum.d.ts +0 -0
  2525. /package/{lib → src/lib}/models/financial-year/months.const.d.ts +0 -0
  2526. /package/{lib → src/lib}/models/firm/firm.d.ts +0 -0
  2527. /package/{lib → src/lib}/models/holding/holding-import.d.ts +0 -0
  2528. /package/{lib → src/lib}/models/holding/holding-reinvest.d.ts +0 -0
  2529. /package/{lib → src/lib}/models/holding/holding-sale.d.ts +0 -0
  2530. /package/{lib → src/lib}/models/holding/holding-type-exchange.d.ts +0 -0
  2531. /package/{lib → src/lib}/models/holding/holding-type.d.ts +0 -0
  2532. /package/{lib → src/lib}/models/holding/holding.d.ts +0 -0
  2533. /package/{lib → src/lib}/models/holding/index.d.ts +0 -0
  2534. /package/{lib → src/lib}/models/income-position/income-position.d.ts +0 -0
  2535. /package/{lib → src/lib}/models/income-source/income-source-chart-data.d.ts +0 -0
  2536. /package/{lib → src/lib}/models/income-source/income-source-forecast.d.ts +0 -0
  2537. /package/{lib → src/lib}/models/income-source/income-source-type.d.ts +0 -0
  2538. /package/{lib → src/lib}/models/income-source/income-source.d.ts +0 -0
  2539. /package/{lib → src/lib}/models/income-source/index.d.ts +0 -0
  2540. /package/{lib → src/lib}/models/income-source/salary-forecast.d.ts +0 -0
  2541. /package/{lib → src/lib}/models/income-source/sole-forecast.d.ts +0 -0
  2542. /package/{lib → src/lib}/models/index.d.ts +0 -0
  2543. /package/{lib → src/lib}/models/loan/index.d.ts +0 -0
  2544. /package/{lib → src/lib}/models/loan/loan-max-number-of-payments.enum.d.ts +0 -0
  2545. /package/{lib → src/lib}/models/loan/loan-payment.d.ts +0 -0
  2546. /package/{lib → src/lib}/models/loan/loan-payout.d.ts +0 -0
  2547. /package/{lib → src/lib}/models/loan/loan.d.ts +0 -0
  2548. /package/{lib → src/lib}/models/notification/index.d.ts +0 -0
  2549. /package/{lib → src/lib}/models/notification/notification.d.ts +0 -0
  2550. /package/{lib → src/lib}/models/pdf/pdf-orientation.enum.d.ts +0 -0
  2551. /package/{lib → src/lib}/models/pdf/pdf-settings.d.ts +0 -0
  2552. /package/{lib → src/lib}/models/phone/phone.d.ts +0 -0
  2553. /package/{lib → src/lib}/models/property/borrowing-report.d.ts +0 -0
  2554. /package/{lib → src/lib}/models/property/calculation-form-item.d.ts +0 -0
  2555. /package/{lib → src/lib}/models/property/calculation-form-type.enum.d.ts +0 -0
  2556. /package/{lib → src/lib}/models/property/capital-costs-itmes.const.d.ts +0 -0
  2557. /package/{lib → src/lib}/models/property/corelogic-suggestion.d.ts +0 -0
  2558. /package/{lib → src/lib}/models/property/index.d.ts +0 -0
  2559. /package/{lib → src/lib}/models/property/property-category-movement.d.ts +0 -0
  2560. /package/{lib → src/lib}/models/property/property-category.d.ts +0 -0
  2561. /package/{lib → src/lib}/models/property/property-document.d.ts +0 -0
  2562. /package/{lib → src/lib}/models/property/property-equity-chart-data.d.ts +0 -0
  2563. /package/{lib → src/lib}/models/property/property-equity-chart-item.d.ts +0 -0
  2564. /package/{lib → src/lib}/models/property/property-equity-chart-type.enum.d.ts +0 -0
  2565. /package/{lib → src/lib}/models/property/property-forecast.d.ts +0 -0
  2566. /package/{lib → src/lib}/models/property/property-sale/index.d.ts +0 -0
  2567. /package/{lib → src/lib}/models/property/property-sale/property-sale-cost-base.d.ts +0 -0
  2568. /package/{lib → src/lib}/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts +0 -0
  2569. /package/{lib → src/lib}/models/property/property-sale/property-sale.d.ts +0 -0
  2570. /package/{lib → src/lib}/models/property/property-sale/tax-exemption-meta-field.d.ts +0 -0
  2571. /package/{lib → src/lib}/models/property/property-sale/tax-exemption.d.ts +0 -0
  2572. /package/{lib → src/lib}/models/property/property-share.d.ts +0 -0
  2573. /package/{lib → src/lib}/models/property/property-subscription.d.ts +0 -0
  2574. /package/{lib → src/lib}/models/property/property-valuation.d.ts +0 -0
  2575. /package/{lib → src/lib}/models/property/property.d.ts +0 -0
  2576. /package/{lib → src/lib}/models/registration-invite/registration-invite.d.ts +0 -0
  2577. /package/{lib → src/lib}/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts +0 -0
  2578. /package/{lib → src/lib}/models/report/depreciation/depreciation-lvp-report-item.d.ts +0 -0
  2579. /package/{lib → src/lib}/models/report/depreciation/depreciation-report-item.d.ts +0 -0
  2580. /package/{lib → src/lib}/models/report/depreciation/index.d.ts +0 -0
  2581. /package/{lib → src/lib}/models/report/index.d.ts +0 -0
  2582. /package/{lib → src/lib}/models/report/my-tax/ato-links.d.ts +0 -0
  2583. /package/{lib → src/lib}/models/report/my-tax/index.d.ts +0 -0
  2584. /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts +0 -0
  2585. /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts +0 -0
  2586. /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts +0 -0
  2587. /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts +0 -0
  2588. /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts +0 -0
  2589. /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts +0 -0
  2590. /package/{lib → src/lib}/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts +0 -0
  2591. /package/{lib → src/lib}/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts +0 -0
  2592. /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts +0 -0
  2593. /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts +0 -0
  2594. /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts +0 -0
  2595. /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +0 -0
  2596. /package/{lib → src/lib}/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts +0 -0
  2597. /package/{lib → src/lib}/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts +0 -0
  2598. /package/{lib → src/lib}/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts +0 -0
  2599. /package/{lib → src/lib}/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts +0 -0
  2600. /package/{lib → src/lib}/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts +0 -0
  2601. /package/{lib → src/lib}/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts +0 -0
  2602. /package/{lib → src/lib}/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts +0 -0
  2603. /package/{lib → src/lib}/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts +0 -0
  2604. /package/{lib → src/lib}/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts +0 -0
  2605. /package/{lib → src/lib}/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts +0 -0
  2606. /package/{lib → src/lib}/models/report/property/index.d.ts +0 -0
  2607. /package/{lib → src/lib}/models/report/property/property-report-item-depreciation.d.ts +0 -0
  2608. /package/{lib → src/lib}/models/report/property/property-report-item-transaction.d.ts +0 -0
  2609. /package/{lib → src/lib}/models/report/property/property-report-item.d.ts +0 -0
  2610. /package/{lib → src/lib}/models/report/sole/index.d.ts +0 -0
  2611. /package/{lib → src/lib}/models/report/sole/sole-business/sole-business-loss-report.d.ts +0 -0
  2612. /package/{lib → src/lib}/models/report/vehicle-expense/vehicle-expense.d.ts +0 -0
  2613. /package/{lib → src/lib}/models/service-subscription/index.d.ts +0 -0
  2614. /package/{lib → src/lib}/models/service-subscription/module-url-list.const.d.ts +0 -0
  2615. /package/{lib → src/lib}/models/service-subscription/payment-method-brand.enum.d.ts +0 -0
  2616. /package/{lib → src/lib}/models/service-subscription/service-payment-method.d.ts +0 -0
  2617. /package/{lib → src/lib}/models/service-subscription/service-payment.d.ts +0 -0
  2618. /package/{lib → src/lib}/models/service-subscription/service-price.d.ts +0 -0
  2619. /package/{lib → src/lib}/models/service-subscription/service-product-icons.enum.d.ts +0 -0
  2620. /package/{lib → src/lib}/models/service-subscription/service-product.d.ts +0 -0
  2621. /package/{lib → src/lib}/models/service-subscription/service-promo-code-duration.enum.d.ts +0 -0
  2622. /package/{lib → src/lib}/models/service-subscription/service-promo-code.d.ts +0 -0
  2623. /package/{lib → src/lib}/models/service-subscription/service-subscription-item.d.ts +0 -0
  2624. /package/{lib → src/lib}/models/service-subscription/service-subscription.d.ts +0 -0
  2625. /package/{lib → src/lib}/models/sole/bas-report.d.ts +0 -0
  2626. /package/{lib → src/lib}/models/sole/index.d.ts +0 -0
  2627. /package/{lib → src/lib}/models/sole/sole-business-activity.d.ts +0 -0
  2628. /package/{lib → src/lib}/models/sole/sole-business-allocation.d.ts +0 -0
  2629. /package/{lib → src/lib}/models/sole/sole-business-loss-offset-rule.d.ts +0 -0
  2630. /package/{lib → src/lib}/models/sole/sole-business-loss.d.ts +0 -0
  2631. /package/{lib → src/lib}/models/sole/sole-business.d.ts +0 -0
  2632. /package/{lib → src/lib}/models/sole/sole-contact.d.ts +0 -0
  2633. /package/{lib → src/lib}/models/sole/sole-depreciation-method.d.ts +0 -0
  2634. /package/{lib → src/lib}/models/sole/sole-details.d.ts +0 -0
  2635. /package/{lib → src/lib}/models/sole/sole-invoice-item.d.ts +0 -0
  2636. /package/{lib → src/lib}/models/sole/sole-invoice-template.d.ts +0 -0
  2637. /package/{lib → src/lib}/models/sole/sole-invoice.d.ts +0 -0
  2638. /package/{lib → src/lib}/models/tax-return/index.d.ts +0 -0
  2639. /package/{lib → src/lib}/models/tax-return/tax-return-category.d.ts +0 -0
  2640. /package/{lib → src/lib}/models/tax-return/tax-return-item.d.ts +0 -0
  2641. /package/{lib → src/lib}/models/tax-return/tax-return.d.ts +0 -0
  2642. /package/{lib → src/lib}/models/tax-review/tax-review.d.ts +0 -0
  2643. /package/{lib → src/lib}/models/tax-summary/report-item-details.d.ts +0 -0
  2644. /package/{lib → src/lib}/models/tax-summary/report-item.d.ts +0 -0
  2645. /package/{lib → src/lib}/models/tax-summary/tax-summary-section.d.ts +0 -0
  2646. /package/{lib → src/lib}/models/tax-summary/tax-summary-type.enum.d.ts +0 -0
  2647. /package/{lib → src/lib}/models/tax-summary/tax-summary.d.ts +0 -0
  2648. /package/{lib → src/lib}/models/toast/toast-type.enum.d.ts +0 -0
  2649. /package/{lib → src/lib}/models/toast/toast.d.ts +0 -0
  2650. /package/{lib → src/lib}/models/transaction/allocation-rule-condition.d.ts +0 -0
  2651. /package/{lib → src/lib}/models/transaction/allocation-rule-transaction-meta-field.d.ts +0 -0
  2652. /package/{lib → src/lib}/models/transaction/allocation-rule-transaction.d.ts +0 -0
  2653. /package/{lib → src/lib}/models/transaction/allocation-rule.d.ts +0 -0
  2654. /package/{lib → src/lib}/models/transaction/income-amount-type.enum.d.ts +0 -0
  2655. /package/{lib → src/lib}/models/transaction/index.d.ts +0 -0
  2656. /package/{lib → src/lib}/models/transaction/transaction-allocation.d.ts +0 -0
  2657. /package/{lib → src/lib}/models/transaction/transaction-category.enum.d.ts +0 -0
  2658. /package/{lib → src/lib}/models/transaction/transaction-meta-field.d.ts +0 -0
  2659. /package/{lib → src/lib}/models/transaction/transaction.d.ts +0 -0
  2660. /package/{lib → src/lib}/models/user/index.d.ts +0 -0
  2661. /package/{lib → src/lib}/models/user/my-account-history-initiated-by.enum.d.ts +0 -0
  2662. /package/{lib → src/lib}/models/user/my-account-history-status.enum.d.ts +0 -0
  2663. /package/{lib → src/lib}/models/user/my-account-history-type.enum.d.ts +0 -0
  2664. /package/{lib → src/lib}/models/user/my-account-history.d.ts +0 -0
  2665. /package/{lib → src/lib}/models/user/occupation.d.ts +0 -0
  2666. /package/{lib → src/lib}/models/user/user-to-register.d.ts +0 -0
  2667. /package/{lib → src/lib}/models/user/user-work-position.const.d.ts +0 -0
  2668. /package/{lib → src/lib}/models/user-event/user-event-setting-field.enum.d.ts +0 -0
  2669. /package/{lib → src/lib}/models/user-event/user-event-setting.d.ts +0 -0
  2670. /package/{lib → src/lib}/models/user-event/user-event-type-category.d.ts +0 -0
  2671. /package/{lib → src/lib}/models/user-event/user-event-type.d.ts +0 -0
  2672. /package/{lib → src/lib}/models/vehicle/index.d.ts +0 -0
  2673. /package/{lib → src/lib}/models/vehicle/vehicle-claim-details.d.ts +0 -0
  2674. /package/{lib → src/lib}/models/vehicle/vehicle-claim.d.ts +0 -0
  2675. /package/{lib → src/lib}/models/vehicle/vehicle-logbook.d.ts +0 -0
  2676. /package/{lib → src/lib}/models/vehicle/vehicle.d.ts +0 -0
  2677. /package/{lib → src/lib}/pipes/index.d.ts +0 -0
  2678. /package/{lib → src/lib}/pipes/safe-url.pipe.d.ts +0 -0
  2679. /package/{lib → src/lib}/services/account-setup/account-setup.service.d.ts +0 -0
  2680. /package/{lib → src/lib}/services/account-setup/index.d.ts +0 -0
  2681. /package/{lib → src/lib}/services/asset/assets.service.d.ts +0 -0
  2682. /package/{lib → src/lib}/services/asset/index.d.ts +0 -0
  2683. /package/{lib → src/lib}/services/bank/bank-account-calculation.service.d.ts +0 -0
  2684. /package/{lib → src/lib}/services/bank/index.d.ts +0 -0
  2685. /package/{lib → src/lib}/services/data.service.d.ts +0 -0
  2686. /package/{lib → src/lib}/services/event/event-dispatcher.service.d.ts +0 -0
  2687. /package/{lib → src/lib}/services/event/index.d.ts +0 -0
  2688. /package/{lib → src/lib}/services/export/export-formatter.service.d.ts +0 -0
  2689. /package/{lib → src/lib}/services/export/index.d.ts +0 -0
  2690. /package/{lib → src/lib}/services/header-title/header-title.service.d.ts +0 -0
  2691. /package/{lib → src/lib}/services/header-title/index.d.ts +0 -0
  2692. /package/{lib → src/lib}/services/http/address/address.service.d.ts +0 -0
  2693. /package/{lib → src/lib}/services/http/address/index.d.ts +0 -0
  2694. /package/{lib → src/lib}/services/http/bank/bank-account/bank-account.service.d.ts +0 -0
  2695. /package/{lib → src/lib}/services/http/bank/bank-account/index.d.ts +0 -0
  2696. /package/{lib → src/lib}/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +0 -0
  2697. /package/{lib → src/lib}/services/http/bank/bank-connection/bank-connection.service.d.ts +0 -0
  2698. /package/{lib → src/lib}/services/http/bank/bank-connection/index.d.ts +0 -0
  2699. /package/{lib → src/lib}/services/http/bank/bank-transaction/bank-transaction.service.d.ts +0 -0
  2700. /package/{lib → src/lib}/services/http/bank/bank-transaction/index.d.ts +0 -0
  2701. /package/{lib → src/lib}/services/http/bank/bank.service.d.ts +0 -0
  2702. /package/{lib → src/lib}/services/http/bank/basiq/basiq-messages.enum.d.ts +0 -0
  2703. /package/{lib → src/lib}/services/http/bank/basiq/basiq-token.service.d.ts +0 -0
  2704. /package/{lib → src/lib}/services/http/bank/basiq/basiq.service.d.ts +0 -0
  2705. /package/{lib → src/lib}/services/http/bank/basiq/index.d.ts +0 -0
  2706. /package/{lib → src/lib}/services/http/bank/index.d.ts +0 -0
  2707. /package/{lib → src/lib}/services/http/budget/budget-messages.enum.d.ts +0 -0
  2708. /package/{lib → src/lib}/services/http/budget/budget.service.d.ts +0 -0
  2709. /package/{lib → src/lib}/services/http/budget/index.d.ts +0 -0
  2710. /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +0 -0
  2711. /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts +0 -0
  2712. /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-messages.enum.d.ts +0 -0
  2713. /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts.service.d.ts +0 -0
  2714. /package/{lib → src/lib}/services/http/chart-accounts/index.d.ts +0 -0
  2715. /package/{lib → src/lib}/services/http/chat/chat.service.d.ts +0 -0
  2716. /package/{lib → src/lib}/services/http/chat/index.d.ts +0 -0
  2717. /package/{lib → src/lib}/services/http/chat/message-document.service.d.ts +0 -0
  2718. /package/{lib → src/lib}/services/http/chat/message.service.d.ts +0 -0
  2719. /package/{lib → src/lib}/services/http/client/capital-gain/annual-client-details.service.d.ts +0 -0
  2720. /package/{lib → src/lib}/services/http/client/client-coupon.service.d.ts +0 -0
  2721. /package/{lib → src/lib}/services/http/client/index.d.ts +0 -0
  2722. /package/{lib → src/lib}/services/http/client/occupation/occupation.service.d.ts +0 -0
  2723. /package/{lib → src/lib}/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts +0 -0
  2724. /package/{lib → src/lib}/services/http/depreciation/depreciation-capital-project/index.d.ts +0 -0
  2725. /package/{lib → src/lib}/services/http/depreciation/depreciation.service.d.ts +0 -0
  2726. /package/{lib → src/lib}/services/http/depreciation/index.d.ts +0 -0
  2727. /package/{lib → src/lib}/services/http/document/document-folder/document-folder-messages.enum.d.ts +0 -0
  2728. /package/{lib → src/lib}/services/http/document/document-folder/document-folder.service.d.ts +0 -0
  2729. /package/{lib → src/lib}/services/http/document/document-folder/index.d.ts +0 -0
  2730. /package/{lib → src/lib}/services/http/document/document-messages.enum.d.ts +0 -0
  2731. /package/{lib → src/lib}/services/http/document/document.service.d.ts +0 -0
  2732. /package/{lib → src/lib}/services/http/document/index.d.ts +0 -0
  2733. /package/{lib → src/lib}/services/http/facebook/facebook-auth-options.interface.d.ts +0 -0
  2734. /package/{lib → src/lib}/services/http/facebook/facebook-auth-response.interface.d.ts +0 -0
  2735. /package/{lib → src/lib}/services/http/facebook/facebook-status-response.interface.d.ts +0 -0
  2736. /package/{lib → src/lib}/services/http/facebook/index.d.ts +0 -0
  2737. /package/{lib → src/lib}/services/http/file/file.service.d.ts +0 -0
  2738. /package/{lib → src/lib}/services/http/file/index.d.ts +0 -0
  2739. /package/{lib → src/lib}/services/http/firm/client-invite/client-invite-messages.enum.d.ts +0 -0
  2740. /package/{lib → src/lib}/services/http/firm/client-invite/client-invite.service.d.ts +0 -0
  2741. /package/{lib → src/lib}/services/http/firm/client-invite/index.d.ts +0 -0
  2742. /package/{lib → src/lib}/services/http/firm/client-movement/client-movement.service.d.ts +0 -0
  2743. /package/{lib → src/lib}/services/http/firm/client-movement/index.d.ts +0 -0
  2744. /package/{lib → src/lib}/services/http/firm/employee/employee-messages.enum.d.ts +0 -0
  2745. /package/{lib → src/lib}/services/http/firm/employee/index.d.ts +0 -0
  2746. /package/{lib → src/lib}/services/http/firm/employee-invite/index.d.ts +0 -0
  2747. /package/{lib → src/lib}/services/http/firm/firm-messages.enum.d.ts +0 -0
  2748. /package/{lib → src/lib}/services/http/firm/firm.service.d.ts +0 -0
  2749. /package/{lib → src/lib}/services/http/firm/index.d.ts +0 -0
  2750. /package/{lib → src/lib}/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts +0 -0
  2751. /package/{lib → src/lib}/services/http/firm/portfolio-report/index.d.ts +0 -0
  2752. /package/{lib → src/lib}/services/http/google/index.d.ts +0 -0
  2753. /package/{lib → src/lib}/services/http/holding/holding-import/holding-import-messages.enum.d.ts +0 -0
  2754. /package/{lib → src/lib}/services/http/holding/holding-messages.enum.d.ts +0 -0
  2755. /package/{lib → src/lib}/services/http/holding/holding-sale-messages.enum.d.ts +0 -0
  2756. /package/{lib → src/lib}/services/http/holding/holding-sale.service.d.ts +0 -0
  2757. /package/{lib → src/lib}/services/http/holding/holding-type-messages.enum.d.ts +0 -0
  2758. /package/{lib → src/lib}/services/http/holding/holding-type.service.d.ts +0 -0
  2759. /package/{lib → src/lib}/services/http/holding/index.d.ts +0 -0
  2760. /package/{lib → src/lib}/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts +0 -0
  2761. /package/{lib → src/lib}/services/http/income-source/income-source-forecast/index.d.ts +0 -0
  2762. /package/{lib → src/lib}/services/http/income-source/income-source-messages.enum.d.ts +0 -0
  2763. /package/{lib → src/lib}/services/http/income-source/income-source.service.d.ts +0 -0
  2764. /package/{lib → src/lib}/services/http/income-source/index.d.ts +0 -0
  2765. /package/{lib → src/lib}/services/http/income-source/salary-forecast/index.d.ts +0 -0
  2766. /package/{lib → src/lib}/services/http/income-source/salary-forecast/salary-forecast.service.d.ts +0 -0
  2767. /package/{lib → src/lib}/services/http/income-source/sole-forecast/index.d.ts +0 -0
  2768. /package/{lib → src/lib}/services/http/income-source/sole-forecast/sole-forecast.service.d.ts +0 -0
  2769. /package/{lib → src/lib}/services/http/index.d.ts +0 -0
  2770. /package/{lib → src/lib}/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts +0 -0
  2771. /package/{lib → src/lib}/services/http/loan/borrowing-expense/index.d.ts +0 -0
  2772. /package/{lib → src/lib}/services/http/loan/index.d.ts +0 -0
  2773. /package/{lib → src/lib}/services/http/loan/loan.service.d.ts +0 -0
  2774. /package/{lib → src/lib}/services/http/pdf/pdf.service.d.ts +0 -0
  2775. /package/{lib → src/lib}/services/http/property/borrowing-report/borrowing-report-messages.enum.d.ts +0 -0
  2776. /package/{lib → src/lib}/services/http/property/borrowing-report/borrowing-report.service.d.ts +0 -0
  2777. /package/{lib → src/lib}/services/http/property/borrowing-report/index.d.ts +0 -0
  2778. /package/{lib → src/lib}/services/http/property/index.d.ts +0 -0
  2779. /package/{lib → src/lib}/services/http/property/property-category/index.d.ts +0 -0
  2780. /package/{lib → src/lib}/services/http/property/property-category/property-category.service.d.ts +0 -0
  2781. /package/{lib → src/lib}/services/http/property/property-category-movement/index.d.ts +0 -0
  2782. /package/{lib → src/lib}/services/http/property/property-category-movement/property-category-movement.service.d.ts +0 -0
  2783. /package/{lib → src/lib}/services/http/property/property-document/index.d.ts +0 -0
  2784. /package/{lib → src/lib}/services/http/property/property-document/property-document-messages.enum.d.ts +0 -0
  2785. /package/{lib → src/lib}/services/http/property/property-document/property-document.service.d.ts +0 -0
  2786. /package/{lib → src/lib}/services/http/property/property-messages.enum.d.ts +0 -0
  2787. /package/{lib → src/lib}/services/http/property/property-sale/index.d.ts +0 -0
  2788. /package/{lib → src/lib}/services/http/property/property-sale/property-sale.service.d.ts +0 -0
  2789. /package/{lib → src/lib}/services/http/property/property-share/index.d.ts +0 -0
  2790. /package/{lib → src/lib}/services/http/property/property-share/property-share.service.d.ts +0 -0
  2791. /package/{lib → src/lib}/services/http/property/property-valuation/index.d.ts +0 -0
  2792. /package/{lib → src/lib}/services/http/property/property-valuation/property-valuation-messages.enum.d.ts +0 -0
  2793. /package/{lib → src/lib}/services/http/property/property-valuation/property-valuation.service.d.ts +0 -0
  2794. /package/{lib → src/lib}/services/http/property/property.service.d.ts +0 -0
  2795. /package/{lib → src/lib}/services/http/rest/http-method.type.d.ts +0 -0
  2796. /package/{lib → src/lib}/services/http/rest/index.d.ts +0 -0
  2797. /package/{lib → src/lib}/services/http/rest/rest-method.type.d.ts +0 -0
  2798. /package/{lib → src/lib}/services/http/service-notification/index.d.ts +0 -0
  2799. /package/{lib → src/lib}/services/http/service-notification/service-notification.service.d.ts +0 -0
  2800. /package/{lib → src/lib}/services/http/setup-item/setup-item.service.d.ts +0 -0
  2801. /package/{lib → src/lib}/services/http/sole/bas-report/bas-report.service.d.ts +0 -0
  2802. /package/{lib → src/lib}/services/http/sole/index.d.ts +0 -0
  2803. /package/{lib → src/lib}/services/http/sole/sole-business/index.d.ts +0 -0
  2804. /package/{lib → src/lib}/services/http/sole/sole-business/sole-business-messages.enum.d.ts +0 -0
  2805. /package/{lib → src/lib}/services/http/sole/sole-business/sole-business.service.d.ts +0 -0
  2806. /package/{lib → src/lib}/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts +0 -0
  2807. /package/{lib → src/lib}/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts +0 -0
  2808. /package/{lib → src/lib}/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts +0 -0
  2809. /package/{lib → src/lib}/services/http/sole/sole-contact/sole-contact.service.d.ts +0 -0
  2810. /package/{lib → src/lib}/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts +0 -0
  2811. /package/{lib → src/lib}/services/http/sole/sole-details/sole-details.service.d.ts +0 -0
  2812. /package/{lib → src/lib}/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts +0 -0
  2813. /package/{lib → src/lib}/services/http/subscription/index.d.ts +0 -0
  2814. /package/{lib → src/lib}/services/http/subscription/service-payment/service-payment.service.d.ts +0 -0
  2815. /package/{lib → src/lib}/services/http/subscription/service-payment-method/service-payment-method.service.d.ts +0 -0
  2816. /package/{lib → src/lib}/services/http/subscription/service-price/service-price.service.d.ts +0 -0
  2817. /package/{lib → src/lib}/services/http/subscription/service-product/service-product.service.d.ts +0 -0
  2818. /package/{lib → src/lib}/services/http/subscription/service-subscription/subscription-messages.enum.d.ts +0 -0
  2819. /package/{lib → src/lib}/services/http/subscription/service-subscription/subscription.service.d.ts +0 -0
  2820. /package/{lib → src/lib}/services/http/tax-review/index.d.ts +0 -0
  2821. /package/{lib → src/lib}/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts +0 -0
  2822. /package/{lib → src/lib}/services/http/tax-review/tax-review-messages.enum.d.ts +0 -0
  2823. /package/{lib → src/lib}/services/http/tax-review/tax-review.service.d.ts +0 -0
  2824. /package/{lib → src/lib}/services/http/tax-summary/index.d.ts +0 -0
  2825. /package/{lib → src/lib}/services/http/tax-summary/tax-summary.service.d.ts +0 -0
  2826. /package/{lib → src/lib}/services/http/transaction/index.d.ts +0 -0
  2827. /package/{lib → src/lib}/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts +0 -0
  2828. /package/{lib → src/lib}/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts +0 -0
  2829. /package/{lib → src/lib}/services/http/transaction/transaction.service.d.ts +0 -0
  2830. /package/{lib → src/lib}/services/http/user/financial-year/financial-year.service.d.ts +0 -0
  2831. /package/{lib → src/lib}/services/http/user/index.d.ts +0 -0
  2832. /package/{lib → src/lib}/services/http/user/user-event-setting/user-event-setting.service.d.ts +0 -0
  2833. /package/{lib → src/lib}/services/http/user/user-event-type/user-event-type.service.d.ts +0 -0
  2834. /package/{lib → src/lib}/services/http/user/user-messages.enum.d.ts +0 -0
  2835. /package/{lib → src/lib}/services/http/user/users-invite/users-invite.service.d.ts +0 -0
  2836. /package/{lib → src/lib}/services/http/vehicle/index.d.ts +0 -0
  2837. /package/{lib → src/lib}/services/http/vehicle/vehicle-claim-details.service.d.ts +0 -0
  2838. /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/index.d.ts +0 -0
  2839. /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.d.ts +0 -0
  2840. /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.d.ts +0 -0
  2841. /package/{lib → src/lib}/services/http/vehicle/vehicle-messages.enum.d.ts +0 -0
  2842. /package/{lib → src/lib}/services/http/vehicle/vehicle.service.d.ts +0 -0
  2843. /package/{lib → src/lib}/services/http/youtube/index.d.ts +0 -0
  2844. /package/{lib → src/lib}/services/http/youtube/youtube-video.interface.d.ts +0 -0
  2845. /package/{lib → src/lib}/services/http/youtube/youtube.service.d.ts +0 -0
  2846. /package/{lib → src/lib}/services/intercom/index.d.ts +0 -0
  2847. /package/{lib → src/lib}/services/intercom/intercom.service.d.ts +0 -0
  2848. /package/{lib → src/lib}/services/json/chart-accounts/chart-accounts-value.service.d.ts +0 -0
  2849. /package/{lib → src/lib}/services/json/holding/holding-type-exchange.service.d.ts +0 -0
  2850. /package/{lib → src/lib}/services/json/income-source/income-source-type.service.d.ts +0 -0
  2851. /package/{lib → src/lib}/services/json/index.d.ts +0 -0
  2852. /package/{lib → src/lib}/services/json/tax-exemption/tax-exemption.service.d.ts +0 -0
  2853. /package/{lib → src/lib}/services/json/tax-return/tax-return-item.service.d.ts +0 -0
  2854. /package/{lib → src/lib}/services/pdf/index.d.ts +0 -0
  2855. /package/{lib → src/lib}/services/pdf/js-pdf.d.ts +0 -0
  2856. /package/{lib → src/lib}/services/pdf/pdf-from-dom-element/file-settings.d.ts +0 -0
  2857. /package/{lib → src/lib}/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts +0 -0
  2858. /package/{lib → src/lib}/services/pdf/pdf-from-table/file-settings.d.ts +0 -0
  2859. /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts +0 -0
  2860. /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts +0 -0
  2861. /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-table.service.d.ts +0 -0
  2862. /package/{lib → src/lib}/services/preloader/index.d.ts +0 -0
  2863. /package/{lib → src/lib}/services/preloader/preloader.service.d.ts +0 -0
  2864. /package/{lib → src/lib}/services/property/corelogic/corelogic.service.d.ts +0 -0
  2865. /package/{lib → src/lib}/services/property/corelogic/index.d.ts +0 -0
  2866. /package/{lib → src/lib}/services/property/equity-position-chart/equity-position-chart.service.d.ts +0 -0
  2867. /package/{lib → src/lib}/services/property/equity-position-chart/index.d.ts +0 -0
  2868. /package/{lib → src/lib}/services/property/index.d.ts +0 -0
  2869. /package/{lib → src/lib}/services/property/property-calculation/index.d.ts +0 -0
  2870. /package/{lib → src/lib}/services/property/property-calculation/property-calculation.service.d.ts +0 -0
  2871. /package/{lib → src/lib}/services/report/index.d.ts +0 -0
  2872. /package/{lib → src/lib}/services/report/property/property-transaction-report.service.d.ts +0 -0
  2873. /package/{lib → src/lib}/services/toast/index.d.ts +0 -0
  2874. /package/{lib → src/lib}/services/toast/toast.service.d.ts +0 -0
  2875. /package/{lib → src/lib}/services/user/index.d.ts +0 -0
  2876. /package/{lib → src/lib}/services/user/user-switcher.service.d.ts +0 -0
  2877. /package/{lib → src/lib}/services/xlsx/index.d.ts +0 -0
  2878. /package/{lib → src/lib}/services/xlsx/xlsx.service.d.ts +0 -0
  2879. /package/{lib → src/lib}/validators/address-corelogic.validator.d.ts +0 -0
  2880. /package/{lib → src/lib}/validators/at-least-one-enabled.validator.d.ts +0 -0
  2881. /package/{lib → src/lib}/validators/at-least-one.validator.d.ts +0 -0
  2882. /package/{lib → src/lib}/validators/autocomplete.validator.d.ts +0 -0
  2883. /package/{lib → src/lib}/validators/conditional.validator.d.ts +0 -0
  2884. /package/{lib → src/lib}/validators/current-fin-year.validator.d.ts +0 -0
  2885. /package/{lib → src/lib}/validators/date-range.validator.d.ts +0 -0
  2886. /package/{lib → src/lib}/validators/fields-sum.validator.d.ts +0 -0
  2887. /package/{lib → src/lib}/validators/file.validator.d.ts +0 -0
  2888. /package/{lib → src/lib}/validators/greater-than.validator.d.ts +0 -0
  2889. /package/{lib → src/lib}/validators/group.validator.d.ts +0 -0
  2890. /package/{lib → src/lib}/validators/index.d.ts +0 -0
  2891. /package/{lib → src/lib}/validators/min-date/messages.enum.d.ts +0 -0
  2892. /package/{lib → src/lib}/validators/min-date/min-date.validator.d.ts +0 -0
  2893. /package/{lib → src/lib}/validators/password-match.validator.d.ts +0 -0
  2894. /package/{lib → src/lib}/validators/password.validator.d.ts +0 -0
  2895. /package/{lib → src/lib}/validators/phone-number.validator.d.ts +0 -0
  2896. /package/{lib → src/lib}/validators/required-length.validator.d.ts +0 -0
  2897. /package/{lib → src/lib}/validators/transactions-meta-fields.validator.d.ts +0 -0
  2898. /package/{lib → src/lib}/validators/unique-email.validator.d.ts +0 -0
@@ -0,0 +1,18 @@
1
+ import { AbstractForm } from '../abstract.form';
2
+ import { UntypedFormControl, Validators } from '@angular/forms';
3
+ import { phoneNumberValidator } from '../../validators/phone-number.validator';
4
+ import { PhoneTypeEnum } from '../../db/Enums/phone-type.enum';
5
+ import { Country } from '../../models';
6
+ export class PhoneForm extends AbstractForm {
7
+ constructor(
8
+ // no default value because Address form is always a child form. That's mean address value always passed and then default value never work.
9
+ // even if null passed, default value will not work
10
+ phone) {
11
+ super({
12
+ type: new UntypedFormControl(phone?.type || PhoneTypeEnum.MOBILE, Validators.required),
13
+ country: new UntypedFormControl(phone?.country || Country.australia, Validators.required),
14
+ number: new UntypedFormControl(phone?.number || null, [Validators.required, phoneNumberValidator()])
15
+ }, phone);
16
+ }
17
+ }
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9waG9uZS9waG9uZS5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVoRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDaEUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDL0UsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQy9ELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFdkMsTUFBTSxPQUFPLFNBQVUsU0FBUSxZQUFtQjtJQUNoRDtJQUNFLDJJQUEySTtJQUMzSSxtREFBb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1Y3RvcihcbiAgICAvLyBubyBkZWZhdWx0IHZhbHVlIGJlY2F1c2UgQWRkcmVzcyBmb3JtIGlzIGFsd2F5cyBhIGNoaWxkIGZvcm0uIFRoYXQncyBtZWFuIGFkZHJlc3MgdmFsdWUgYWx3YXlzIHBhc3NlZCBhbmQgdGhlbiBkZWZhdWx0IHZhbHVlIG5ldmVyIHdvcmsuXG4gICAgLy8gZXZlbiBpZiBudWxsIHBhc3NlZCwgZGVmYXVsdCB2YWx1ZSB3aWxsIG5vdCB3b3JrXG4gICAgcGhvbmU/OiBQaG9uZVxuICApIHtcbiAgICBzdXBlcih7XG4gICAgICB0eXBlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHBob25lPy50eXBlIHx8IFBob25lVHlwZUVudW0uTU9CSUxFLCBWYWxpZGF0b3JzLnJlcXVpcmVkKSxcbiAgICAgIGNvdW50cnk6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wocGhvbmU/LmNvdW50cnkgfHwgQ291bnRyeS5hdXN0cmFsaWEsIFZhbGlkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgbnVtYmVyOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHBob25lPy5udW1iZXIgfHwgbnVsbCwgW1ZhbGlkYXRvcnMucmVxdWlyZWQsIHBob25lTnVtYmVyVmFsaWRhdG9yKCldKVxuICAgIH0sIHBob25lKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,32 @@
1
+ import { AbstractForm } from '../abstract.form';
2
+ import { BorrowingReport } from '../../models';
3
+ import { FormControl, Validators } from '@angular/forms';
4
+ import { plainToClass } from 'class-transformer';
5
+ /**
6
+ * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4717608961/Borrowing+Power+Report+-+Property+Tank
7
+ */
8
+ export class BorrowingReportForm extends AbstractForm {
9
+ /**
10
+ * extra params are auto-calculated numbers used if user didn't specify manual numbers
11
+ */
12
+ constructor(report = plainToClass(BorrowingReport, {}), netSalary, spouseNetSalary) {
13
+ super({
14
+ netRentIncome: new FormControl(report.netRentIncome, Validators.required),
15
+ loanRepaymentAmount: new FormControl(report.loanRepaymentAmount, Validators.required),
16
+ netSalary: new FormControl(report.netSalary ?? netSalary),
17
+ spouseNetSalary: new FormControl(report.spouseNetSalary ?? spouseNetSalary),
18
+ otherLiabilities: new FormControl(report.otherLiabilities, Validators.required),
19
+ livingExpenses: new FormControl(report.livingExpenses, Validators.required),
20
+ }, report);
21
+ }
22
+ /**
23
+ * some fields are auto-calculated, shouldn't be updated until changed by user
24
+ */
25
+ submit(data = {}, includeDisabledFields = false) {
26
+ return super.submit({
27
+ netSalary: (this.model.netSalary || this.fieldChanged('netSalary')) ? this.get('netSalary').value : null,
28
+ spouseNetSalary: (this.model.netSalary || this.fieldChanged('spouseNetSalary')) ? this.get('spouseNetSalary').value : null,
29
+ }, includeDisabledFields);
30
+ }
31
+ }
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9ycm93aW5nLXJlcG9ydC5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL3Byb3BlcnR5L2JvcnJvd2luZy1yZXBvcnQuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDaEQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUMvQyxPQUFPLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUVqRDs7R0FFRztBQUNILE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxZQUE2QjtJQUNwRTs7T0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WJtaXQoe1xuICAgICAgbmV0U2FsYXJ5OiAodGhpcy5tb2RlbC5uZXRTYWxhcnkgfHwgdGhpcy5maWVsZENoYW5nZWQoJ25ldFNhbGFyeScpKSA/IHRoaXMuZ2V0KCduZXRTYWxhcnknKS52YWx1ZSA6IG51bGwsXG4gICAgICBzcG91c2VOZXRTYWxhcnk6ICh0aGlzLm1vZGVsLm5ldFNhbGFyeSB8fCB0aGlzLmZpZWxkQ2hhbmdlZCgnc3BvdXNlTmV0U2FsYXJ5JykpID8gdGhpcy5nZXQoJ3Nwb3VzZU5ldFNhbGFyeScpLnZhbHVlIDogbnVsbCxcbiAgICB9LCBpbmNsdWRlRGlzYWJsZWRGaWVsZHMpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,10 @@
1
+ export * from './borrowing-report.form';
2
+ export * from './property-sale';
3
+ export * from './property-edit.form';
4
+ export * from './property-document.form';
5
+ export * from './property-category-movement-form';
6
+ export * from './property-valuation.form';
7
+ export * from './property-share.form';
8
+ export * from './property-forecast.form';
9
+ export * from './property-add.form';
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JvcnJvd2luZy1yZXBvcnQuZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXNhbGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS1lZGl0LmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS1kb2N1bWVudC5mb3JtJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHktY2F0ZWdvcnktbW92ZW1lbnQtZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXZhbHVhdGlvbi5mb3JtJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHktc2hhcmUuZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LWZvcmVjYXN0LmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS1hZGQuZm9ybSc7XG5cbiJdfQ==
@@ -0,0 +1,69 @@
1
+ import { UntypedFormArray, UntypedFormControl, Validators } from '@angular/forms';
2
+ import { Property } from '../../models';
3
+ import { AbstractForm } from '../abstract.form';
4
+ import { plainToClass } from 'class-transformer';
5
+ import { PropertyShareForm } from './property-share.form';
6
+ import { PropertyForecastForm } from './property-forecast.form';
7
+ import { PropertyCategoryMovementForm } from './property-category-movement-form';
8
+ /**
9
+ * Form class for the single new property
10
+ */
11
+ export class PropertyAddForm extends AbstractForm {
12
+ constructor() {
13
+ super({
14
+ address: new UntypedFormControl(null, Validators.required),
15
+ purchasePrice: new UntypedFormControl(null, Validators.required),
16
+ contractDate: new UntypedFormControl(null, Validators.required),
17
+ settlementDate: new UntypedFormControl(null, Validators.required),
18
+ forecasts: new UntypedFormArray([
19
+ new PropertyForecastForm()
20
+ ]),
21
+ shares: new UntypedFormArray([
22
+ new PropertyShareForm()
23
+ ]),
24
+ categoryMovements: new UntypedFormArray([
25
+ new PropertyCategoryMovementForm()
26
+ ])
27
+ }, plainToClass(Property, {}));
28
+ // @TODO move to submit, no need to watch
29
+ // we should put the same market value to both, forecast and valuation.
30
+ this.valuationForm.get('marketValue').valueChanges.subscribe((marketValue) => {
31
+ this.forecastForm.get('marketValue').setValue(marketValue);
32
+ });
33
+ this.get('contractDate').valueChanges.subscribe((contractDate) => {
34
+ this.categoryMovementForm.get('fromDate').setValue(contractDate);
35
+ });
36
+ this.categoryMovementForm.get('propertyCategory').valueChanges.subscribe((category) => {
37
+ if (category.isShared()) {
38
+ this.forecastForm.get('claimPercent').enable();
39
+ }
40
+ else {
41
+ this.forecastForm.get('claimPercent').disable();
42
+ }
43
+ if (category.isOwnerOccupied() || category.isVacantLand()) {
44
+ this.forecastForm.get('income').disable();
45
+ this.forecastForm.get('depreciation').disable();
46
+ }
47
+ else {
48
+ this.forecastForm.get('income').enable();
49
+ this.forecastForm.get('depreciation').enable();
50
+ }
51
+ });
52
+ }
53
+ get valuationForm() {
54
+ return this.categoryMovementForm.get('valuation');
55
+ }
56
+ get forecastForm() {
57
+ // [0] because for property add form we have always 1 forecast form inside
58
+ return this.get('forecasts').controls[0];
59
+ }
60
+ get shareForm() {
61
+ // [0] because for property add form we have always 1 forecast form inside
62
+ return this.get('shares').controls[0];
63
+ }
64
+ get categoryMovementForm() {
65
+ // [0] because for property add form we always have 1 category movement form inside
66
+ return this.get('categoryMovements').controls[0];
67
+ }
68
+ }
69
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktYWRkLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvcHJvcGVydHktYWRkLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLGtCQUFrQixFQU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ntypedFormControl, Validators } from '@angular/forms';
2
+ import { plainToClass } from 'class-transformer';
3
+ import { AbstractForm } from '../abstract.form';
4
+ import { PropertyValuationForm } from './property-valuation.form';
5
+ import { PropertyCategoryMovement } from '../../models';
6
+ export class PropertyCategoryMovementForm extends AbstractForm {
7
+ constructor(movement = plainToClass(PropertyCategoryMovement, {})) {
8
+ super({
9
+ fromDate: new UntypedFormControl(movement.valuation?.date || new Date()),
10
+ propertyCategory: new UntypedFormControl(movement.propertyCategory, Validators.required),
11
+ valuation: new PropertyValuationForm(movement.valuation),
12
+ }, movement);
13
+ this.get('valuation').get('date').valueChanges.subscribe((value) => {
14
+ this.get('fromDate').setValue(value);
15
+ });
16
+ }
17
+ submit() {
18
+ return super.submit({ valuation: this.get('valuation').submit() });
19
+ }
20
+ }
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktY2F0ZWdvcnktbW92ZW1lbnQtZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1jYXRlZ29yeS1tb3ZlbWVudC1mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDakQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUV4RCxNQUFNL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O1xuICAgIH0pO1xuICB9XG5cbiAgc3VibWl0KCk6IFByb3BlcnR5Q2F0ZWdvcnlNb3ZlbWVudCB7XG4gICAgcmV0dXJuIHN1cGVyLnN1Ym1pdCh7IHZhbHVhdGlvbjogKHRoaXMuZ2V0KCd2YWx1YXRpb24nKSBhcyBQcm9wZXJ0eVZhbHVhdGlvbkZvcm0pLnN1Ym1pdCgpIH0pO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,14 @@
1
+ import { FormControl, Validators } from '@angular/forms';
2
+ import { AbstractForm } from '../abstract.form';
3
+ export class PropertyDocumentForm extends AbstractForm {
4
+ constructor(document) {
5
+ super({
6
+ property: new FormControl(document.property, Validators.required),
7
+ file: new FormControl(document.file)
8
+ }, document);
9
+ }
10
+ submit() {
11
+ return super.submit({ property: { id: this.value.property.id } });
12
+ }
13
+ }
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktZG9jdW1lbnQuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1kb2N1bWVudC5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxXQUFXLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFekQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRWhELE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxZQUE4QjtJQUN0RSxZQUFZLFFBQTBCO1FBQ3BDLEtBQUssQ0FBQztZQUNKLFFBQVEsRUFBRSxJQUFJLFdBQVcsQ0FBQyxRQUFRLENBQUMsUUFBUSxFQUFFLFVBQVUsQ0FBQyxRQUFRLENBQUM7WUFDakUsSUF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==
@@ -0,0 +1,17 @@
1
+ import { UntypedFormControl, Validators } from '@angular/forms';
2
+ import { AbstractForm } from '../abstract.form';
3
+ export class PropertyEditForm extends AbstractForm {
4
+ constructor(property) {
5
+ super({
6
+ address: new UntypedFormControl(property.address, Validators.required),
7
+ purchasePrice: new UntypedFormControl(property.purchasePrice, Validators.required),
8
+ contractDate: new UntypedFormControl(property.contractDate, Validators.required),
9
+ settlementDate: new UntypedFormControl(property.settlementDate, Validators.required),
10
+ stampDuty: new UntypedFormControl(property.stampDuty),
11
+ legalFees: new UntypedFormControl(property.legalFees),
12
+ otherCapitalCosts: new UntypedFormControl(property.otherCapitalCosts),
13
+ file: new UntypedFormControl(property.file)
14
+ }, property);
15
+ }
16
+ }
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktZWRpdC5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL3Byb3BlcnR5L3Byb3BlcnR5LWVkaXQuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFaEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRWhELE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxZQUFzQjtJQUMxRCxZQUFZLFFBQWtCO1FBQzVCLEtBQUssQ0FBQztZQUNKLE9BQU8sRUFBRSxJQUFJLGtCQUFrQixDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsVUFBVSxDQUFDLFFBQVEsQ0FBQztZQUN0RSxhQUFhLEVBQUUsSUFBSSxrQkFBa0IsQ0FBQyxRQUFRLENBQUMsYUFBYSxFQUFFLFVBQVUsQ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XG4gICAgICBwdXJjaGFzZVByaWNlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHByb3BlcnR5LnB1cmNoYXNlUHJpY2UsIFZhbGlkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgY29udHJhY3REYXRlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHByb3BlcnR5LmNvbnRyYWN0RGF0ZSwgVmFsaWRhdG9ycy5yZXF1aXJlZCksXG4gICAgICBzZXR0bGVtZW50RGF0ZTogbmV3IFVudHlwZWRGb3JtQ29udHJvbChwcm9wZXJ0eS5zZXR0bGVtZW50RGF0ZSwgVmFsaWRhdG9ycy5yZXF1aXJlZCksXG4gICAgICBzdGFtcER1dHk6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wocHJvcGVydHkuc3RhbXBEdXR5KSxcbiAgICAgIGxlZ2FsRmVlczogbmV3IFVudHlwZWRGb3JtQ29udHJvbChwcm9wZXJ0eS5sZWdhbEZlZXMpLFxuICAgICAgb3RoZXJDYXBpdGFsQ29zdHM6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wocHJvcGVydHkub3RoZXJDYXBpdGFsQ29zdHMpLFxuICAgICAgZmlsZTogbmV3IFVudHlwZWRGb3JtQ29udHJvbChwcm9wZXJ0eS5maWxlKVxuICAgIH0sIHByb3BlcnR5KTtcbiAgfVxufVxuIl19
@@ -0,0 +1,29 @@
1
+ import { UntypedFormControl, Validators } from '@angular/forms';
2
+ import { plainToClass } from 'class-transformer';
3
+ import { AbstractForm } from '../abstract.form';
4
+ import { PropertyForecast } from '../../models';
5
+ import { PropertyCategoryMovementCollection } from '../../collections';
6
+ import { PropertyCategoryListEnum } from '../../db/Enums/property/property-category-list.enum';
7
+ /**
8
+ * Class describes property forecast form fields and form logic
9
+ */
10
+ export class PropertyForecastForm extends AbstractForm {
11
+ /**
12
+ * @param forecast
13
+ * @param movements property could have multiple categories within forecast year, based on categories we hide/show some fields
14
+ */
15
+ constructor(forecast = plainToClass(PropertyForecast, {}), movements = new PropertyCategoryMovementCollection()) {
16
+ const noIncomeCategories = [PropertyCategoryListEnum.VACANT_LAND, PropertyCategoryListEnum.OWNER_OCCUPIED];
17
+ const noIncome = movements.filterBy('propertyCategory.id', noIncomeCategories).length === movements.length;
18
+ super({
19
+ financialYear: new UntypedFormControl({ value: forecast.financialYear, disabled: true }),
20
+ marketValue: new UntypedFormControl(forecast.marketValue, Validators.required),
21
+ income: new UntypedFormControl({ value: forecast.income, disabled: noIncome }, Validators.required),
22
+ expense: new UntypedFormControl(forecast.expense, Validators.required),
23
+ interest: new UntypedFormControl(forecast.interest, Validators.required),
24
+ depreciation: new UntypedFormControl({ value: forecast.depreciation, disabled: noIncome }, Validators.required),
25
+ claimPercent: new UntypedFormControl({ value: forecast.claimPercent, disabled: !movements.hasCategory(PropertyCategoryListEnum.SHARED) }, [Validators.min(0), Validators.max(100), Validators.required])
26
+ }, forecast);
27
+ }
28
+ }
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktZm9yZWNhc3QuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1mb3JlY2FzdC5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDakQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNoRCxPQUFPLEVBQUUsa0NBQWtD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F1aXJlZF1cbiAgICAgIClcbiAgICB9LCBmb3JlY2FzdCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,4 @@
1
+ export * from './property-sale-cost-base.form';
2
+ export * from './property-sale-cost-sale.form';
3
+ export * from './property-sale-exemptions.form';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvcHJvcGVydHktc2FsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHktc2FsZS1jb3N0LWJhc2UuZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXNhbGUtY29zdC1zYWxlLmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS1zYWxlLWV4ZW1wdGlvbnMuZm9ybSc7XG4iXX0=
@@ -0,0 +1,39 @@
1
+ import { AbstractForm } from '../../abstract.form';
2
+ import { PropertySale } from '../../../models/property/property-sale';
3
+ import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
4
+ import { plainToClass } from 'class-transformer';
5
+ import { Property } from '../../../models/property/property';
6
+ /**
7
+ * @Todo TT-2143 remove Property stuff and use this form just for PropertySale
8
+ * @Todo TT-2143 create and extend from abstract PropertySale form
9
+ */
10
+ export class PropertySaleCostBaseForm extends AbstractForm {
11
+ constructor(propertySaleCostBase) {
12
+ super({
13
+ property: new UntypedFormGroup({
14
+ purchasePrice: new UntypedFormControl(propertySaleCostBase.property.purchasePrice, Validators.required),
15
+ contractDate: new UntypedFormControl(propertySaleCostBase.property.contractDate, Validators.required),
16
+ stampDuty: new UntypedFormControl(propertySaleCostBase.property.stampDuty, Validators.required),
17
+ legalFees: new UntypedFormControl(propertySaleCostBase.property.legalFees, Validators.required),
18
+ otherCapitalCosts: new UntypedFormControl(propertySaleCostBase.property.otherCapitalCosts, Validators.required),
19
+ }),
20
+ sale: new UntypedFormGroup({
21
+ holdingCosts: new UntypedFormControl(propertySaleCostBase.sale.holdingCosts),
22
+ structuralImprovementsWDV: new UntypedFormControl(propertySaleCostBase.sale.structuralImprovementsWDV),
23
+ buildingAtCostClaimed: new UntypedFormControl(propertySaleCostBase.sale.buildingAtCostClaimed)
24
+ })
25
+ }, propertySaleCostBase);
26
+ this.propertySaleCostBase = propertySaleCostBase;
27
+ }
28
+ getProperty() {
29
+ return plainToClass(Property, Object.assign({}, this.propertySaleCostBase.property, this.get('property').value));
30
+ }
31
+ getPropertySale() {
32
+ return plainToClass(PropertySale, Object.assign({}, this.propertySaleCostBase.sale, this.get('sale').value));
33
+ }
34
+ submit(data = {}) {
35
+ Object.assign(data, { property: plainToClass(Property, Object.assign({}, this.propertySaleCostBase.property, this.get('property').value)) }, { sale: plainToClass(PropertySale, Object.assign({}, this.propertySaleCostBase.sale, this.get('sale').value)) });
36
+ return super.submit(data);
37
+ }
38
+ }
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2FsZS1jb3N0LWJhc2UuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1zYWxlL3Byb3BlcnR5LXNhbGUtY29zdC1iYXNlLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEs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ZUNvc3RCYXNlIHtcbiAgICBPYmplY3QuYXNzaWduKFxuICAgICAgZGF0YSxcbiAgICAgIHtwcm9wZXJ0eTogcGxhaW5Ub0NsYXNzKFByb3BlcnR5LCBPYmplY3QuYXNzaWduKHt9LCB0aGlzLnByb3BlcnR5U2FsZUNvc3RCYXNlLnByb3BlcnR5LCB0aGlzLmdldCgncHJvcGVydHknKS52YWx1ZSkpfSxcbiAgICAgIHtzYWxlOiBwbGFpblRvQ2xhc3MoUHJvcGVydHlTYWxlLCBPYmplY3QuYXNzaWduKHt9LCB0aGlzLnByb3BlcnR5U2FsZUNvc3RCYXNlLnNhbGUsIHRoaXMuZ2V0KCdzYWxlJykudmFsdWUpKX0sXG4gICAgKTtcbiAgICByZXR1cm4gc3VwZXIuc3VibWl0KGRhdGEpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,66 @@
1
+ import { AbstractForm } from '../../abstract.form';
2
+ import { UntypedFormControl, Validators } from '@angular/forms';
3
+ import { PropertySale } from '../../../models/property/property-sale';
4
+ import { plainToClass } from 'class-transformer';
5
+ /**
6
+ * @Todo TT-2143 Create and extend from abstract PropertySale form
7
+ */
8
+ export class PropertySaleCostSaleForm extends AbstractForm {
9
+ constructor(propertySale, property) {
10
+ super({
11
+ price: new UntypedFormControl(propertySale.price, Validators.required),
12
+ date: new UntypedFormControl(propertySale.date, Validators.required),
13
+ settlementDate: new UntypedFormControl(propertySale.settlementDate, Validators.required),
14
+ commission: new UntypedFormControl(propertySale.commission || 0, Validators.required),
15
+ legalFees: new UntypedFormControl(propertySale.legalFees || 0, Validators.required),
16
+ otherCost: new UntypedFormControl(propertySale.otherCost || 0, Validators.required),
17
+ grossCapitalGain: new UntypedFormControl({ value: propertySale.grossCapitalGain, disabled: true }, Validators.required),
18
+ }, propertySale);
19
+ this.propertySale = propertySale;
20
+ this.property = property;
21
+ this.listenEvents();
22
+ this.updateGrossCapitalGain();
23
+ }
24
+ listenEvents() {
25
+ this.listenCommissionUpdated();
26
+ this.listenLegalFeesUpdated();
27
+ this.listenOtherCostUpdated();
28
+ this.listenPriceUpdated();
29
+ }
30
+ /**
31
+ * Get property instance based on provided property and form value to get actual form calculations
32
+ * @Todo TT-2143 Move to parent abstract PropertySale form
33
+ */
34
+ getPropertySale() {
35
+ return plainToClass(PropertySale, Object.assign({}, this.propertySale, this.getRawValue()));
36
+ }
37
+ submit(data = {}) {
38
+ // 'grossCapitalGain' field is always disabled, but we need it to submit result
39
+ Object.assign(data, { grossCapitalGain: this.get('grossCapitalGain').value });
40
+ return super.submit(data);
41
+ }
42
+ updateGrossCapitalGain() {
43
+ this.get('grossCapitalGain').setValue(this.property.calculateGrossCapitalGain(this.getPropertySale()));
44
+ }
45
+ listenCommissionUpdated() {
46
+ this.get('commission').valueChanges.subscribe(() => {
47
+ this.updateGrossCapitalGain();
48
+ });
49
+ }
50
+ listenLegalFeesUpdated() {
51
+ this.get('legalFees').valueChanges.subscribe(() => {
52
+ this.updateGrossCapitalGain();
53
+ });
54
+ }
55
+ listenOtherCostUpdated() {
56
+ this.get('otherCost').valueChanges.subscribe(() => {
57
+ this.updateGrossCapitalGain();
58
+ });
59
+ }
60
+ listenPriceUpdated() {
61
+ this.get('price').valueChanges.subscribe(() => {
62
+ this.updateGrossCapitalGain();
63
+ });
64
+ }
65
+ }
66
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2FsZS1jb3N0LXNhbGUuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1zYWxlL3Byb3BlcnR5LXNhbGUtY29zdC1zYWxlLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUF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VnYWxGZWVzVXBkYXRlZCgpIHtcbiAgICB0aGlzLmdldCgnbGVnYWxGZWVzJykudmFsdWVDaGFuZ2VzLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICB0aGlzLnVwZGF0ZUdyb3NzQ2FwaXRhbEdhaW4oKTtcbiAgICB9KTtcbiAgfVxuXG4gIHByaXZhdGUgbGlzdGVuT3RoZXJDb3N0VXBkYXRlZCgpIHtcbiAgICB0aGlzLmdldCgnb3RoZXJDb3N0JykudmFsdWVDaGFuZ2VzLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICB0aGlzLnVwZGF0ZUdyb3NzQ2FwaXRhbEdhaW4oKTtcbiAgICB9KTtcbiAgfVxuXG4gIHByaXZhdGUgbGlzdGVuUHJpY2VVcGRhdGVkKCkge1xuICAgIHRoaXMuZ2V0KCdwcmljZScpLnZhbHVlQ2hhbmdlcy5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgdGhpcy51cGRhdGVHcm9zc0NhcGl0YWxHYWluKCk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,107 @@
1
+ import { AbstractForm } from '../../abstract.form';
2
+ import { Dictionary, PropertySale } from '../../../models';
3
+ import { UntypedFormArray, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
4
+ import { TaxExemptionMetaFieldEnum } from '../../../db/Enums/property/property-sale/tax-exemption-meta-field.enum';
5
+ import { plainToClass } from 'class-transformer';
6
+ import { TaxExemptionEnum } from '../../../db/Enums/property/property-sale/tax-exemption.enum';
7
+ /**
8
+ * @Todo TT-2143 Create and extend from abstract PropertySale form
9
+ */
10
+ export class PropertySaleExemptionsForm extends AbstractForm {
11
+ constructor(propertySale, property, taxExemptions, isResident) {
12
+ const taxExemption = isResident
13
+ ? taxExemptions.findBy('id', propertySale.taxExemption?.id ?? property.getCGTExemption(propertySale))
14
+ : null;
15
+ super({
16
+ taxExemption: new UntypedFormControl(taxExemption),
17
+ taxExemptionMetaFields: new UntypedFormArray([]),
18
+ grossCapitalGain: new UntypedFormControl(propertySale.grossCapitalGain),
19
+ netCapitalGain: new UntypedFormControl(propertySale.netCapitalGain),
20
+ }, propertySale);
21
+ this.propertySale = propertySale;
22
+ this.property = property;
23
+ this.taxExemptions = taxExemptions;
24
+ this.isResident = isResident;
25
+ this.disabledTaxExemptions = new Dictionary([]);
26
+ if (propertySale.taxExemption) {
27
+ this.setFormMetaFieldsControls();
28
+ }
29
+ this.setDisabledExemptions();
30
+ this.updateCapitalGains();
31
+ this.listenEvents();
32
+ }
33
+ listenEvents() {
34
+ this.listenTaxExemptionUpdated();
35
+ }
36
+ /**
37
+ * @Todo TT-2143 Move to parent abstract PropertySale form
38
+ */
39
+ getPropertySale() {
40
+ return plainToClass(PropertySale, Object.assign({}, this.propertySale, this.getRawValue()));
41
+ }
42
+ updateCapitalGains() {
43
+ this.updateGrossCapitalGain();
44
+ this.updateNetCapitalGain();
45
+ }
46
+ updateNetCapitalGain() {
47
+ this.get('netCapitalGain').setValue(this.property.calculateNetCapitalGain(this.getPropertySale()));
48
+ }
49
+ /**
50
+ * @TODO copypast
51
+ * @private
52
+ */
53
+ updateGrossCapitalGain() {
54
+ this.get('grossCapitalGain').setValue(this.property.calculateGrossCapitalGain(this.getPropertySale()));
55
+ }
56
+ listenTaxExemptionUpdated() {
57
+ this.get('taxExemption').valueChanges.subscribe((taxExemption) => {
58
+ this.updateCapitalGains();
59
+ this.setFormMetaFieldsControls(taxExemption);
60
+ });
61
+ }
62
+ /**
63
+ * show meta fields related to passed tax exemption or existing property sale meta fields
64
+ */
65
+ setFormMetaFieldsControls(taxExemption) {
66
+ // use property sale tax exemption if it exists to preselect data
67
+ const currentTaxExemption = this.propertySale.taxExemption ?
68
+ this.taxExemptions.findBy('id', this.propertySale.taxExemption.id) :
69
+ taxExemption;
70
+ const formArray = this.get('taxExemptionMetaFields');
71
+ // clean up
72
+ formArray.clear();
73
+ if (!currentTaxExemption) {
74
+ return;
75
+ }
76
+ // show all tax exemption meta fields
77
+ currentTaxExemption.metaFields.forEach((metaField) => {
78
+ // use property sale tax exemption meta field value if it exists
79
+ const metaFieldValue = this.propertySale.taxExemption ?
80
+ this.propertySale.taxExemptionMetaFields
81
+ .find((saleMetaField) => saleMetaField.metaField.id === metaField.id).value :
82
+ null;
83
+ const validators = [
84
+ // claim percent is optional
85
+ metaField.id !== TaxExemptionMetaFieldEnum.CLAIM_PERCENT && Validators.required,
86
+ // ppr days can't be more than ownership days
87
+ metaField.id === TaxExemptionMetaFieldEnum.PPR_DAYS && Validators.max(this.property.getOwnershipDuration(this.propertySale))
88
+ ].filter(Boolean);
89
+ formArray.push(new UntypedFormGroup({
90
+ metaField: new UntypedFormControl(metaField),
91
+ value: new UntypedFormControl(metaFieldValue, validators)
92
+ }));
93
+ });
94
+ }
95
+ /**
96
+ * available exemptions depend on tax residence
97
+ */
98
+ setDisabledExemptions() {
99
+ if (!this.property.isOneYearExemptionApplicable(this.propertySale)) {
100
+ this.disabledTaxExemptions.add(TaxExemptionEnum.ONE_YEAR_RULE, this.taxExemptions.findBy('id', TaxExemptionEnum.ONE_YEAR_RULE));
101
+ }
102
+ if (!this.isResident) {
103
+ this.disabledTaxExemptions = this.taxExemptions.getResidentOnly().indexBy('id');
104
+ }
105
+ }
106
+ }
107
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2FsZS1leGVtcHRpb25zLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvcHJvcGVydHktc2FsZS9wcm9wZXJ0eS1zYWxlLWV4ZW1wdGlvbnMuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbkQs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gICovXG4gIHByaXZhdGUgc2V0RGlzYWJsZWRFeGVtcHRpb25zKCk6IHZvaWQge1xuICAgIGlmICghdGhpcy5wcm9wZXJ0eS5pc09uZVllYXJFeGVtcHRpb25BcHBsaWNhYmxlKHRoaXMucHJvcGVydHlTYWxlKSkge1xuICAgICAgdGhpcy5kaXNhYmxlZFRheEV4ZW1wdGlvbnMuYWRkKFxuICAgICAgICBUYXhFeGVtcHRpb25FbnVtLk9ORV9ZRUFSX1JVTEUsXG4gICAgICAgIHRoaXMudGF4RXhlbXB0aW9ucy5maW5kQnkoJ2lkJywgVGF4RXhlbXB0aW9uRW51bS5PTkVfWUVBUl9SVUxFKVxuICAgICAgKTtcbiAgICB9XG5cbiAgICBpZiAoIXRoaXMuaXNSZXNpZGVudCkge1xuICAgICAgdGhpcy5kaXNhYmxlZFRheEV4ZW1wdGlvbnMgPSB0aGlzLnRheEV4ZW1wdGlvbnMuZ2V0UmVzaWRlbnRPbmx5KCkuaW5kZXhCeSgnaWQnKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,16 @@
1
+ import { AbstractForm } from '../abstract.form';
2
+ import { PropertyShare } from '../../models';
3
+ import { plainToClass } from 'class-transformer';
4
+ import { UntypedFormControl, Validators } from '@angular/forms';
5
+ /**
6
+ * Class describes property share form fields and form logic
7
+ */
8
+ export class PropertyShareForm extends AbstractForm {
9
+ constructor(share = plainToClass(PropertyShare, {})) {
10
+ super({
11
+ fromDate: new UntypedFormControl(share.fromDate || new Date()),
12
+ percent: new UntypedFormControl(share.percent, [Validators.required, Validators.min(0), Validators.max(100)])
13
+ }, share);
14
+ }
15
+ }
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2hhcmUuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xp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ic7XG5pbXBvcnQgeyBVbnR5cGVkRm9ybUNvbnRyb2wsIFZhbGlkYXRvcnMgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbi8qKlxuICogQ2xhc3MgZGVzY3JpYmVzIHByb3BlcnR5IHNoYXJlIGZvcm0gZmllbGRzIGFuZCBmb3JtIGxvZ2ljXG4gKi9cbmV4cG9ydCBjbGFzcyBQcm9wZXJ0eVNoYXJlRm9ybSBleHRlbmRzIEFic3RyYWN0Rm9ybTxQcm9wZXJ0eVNoYXJlPiB7XG4gIGNvbnN0cnVjdG9yKHNoYXJlOiBQcm9wZXJ0eVNoYXJlID0gcGxhaW5Ub0NsYXNzKFByb3BlcnR5U2hhcmUsIHt9KSkge1xuICAgIHN1cGVyKHtcbiAgICAgIGZyb21EYXRlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHNoYXJlLmZyb21EYXRlIHx8IG5ldyBEYXRlKCkpLFxuICAgICAgcGVyY2VudDogbmV3IFVudHlwZWRGb3JtQ29udHJvbChzaGFyZS5wZXJjZW50LCBbVmFsaWRhdG9ycy5yZXF1aXJlZCwgVmFsaWRhdG9ycy5taW4oMCksIFZhbGlkYXRvcnMubWF4KDEwMCldKVxuICAgIH0sIHNoYXJlKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,19 @@
1
+ import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
2
+ import { PropertyValuation } from '../../models';
3
+ import { AbstractForm } from '../abstract.form';
4
+ import { plainToClass } from 'class-transformer';
5
+ export class PropertyValuationForm extends AbstractForm {
6
+ constructor(valuation = plainToClass(PropertyValuation, {})) {
7
+ super({
8
+ date: new UntypedFormControl(valuation.date || new Date(), Validators.required),
9
+ marketValue: new UntypedFormControl(valuation.marketValue, Validators.required),
10
+ document: new UntypedFormGroup({
11
+ file: new UntypedFormControl(valuation.document?.file)
12
+ }),
13
+ }, valuation);
14
+ }
15
+ submit() {
16
+ return super.submit({ document: this.value.document.file ? this.value.document : null });
17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lkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgZG9jdW1lbnQ6IG5ldyBVbnR5cGVkRm9ybUdyb3VwKHtcbiAgICAgICAgZmlsZTogbmV3IFVudHlwZWRGb3JtQ29udHJvbCh2YWx1YXRpb24uZG9jdW1lbnQ/LmZpbGUpXG4gICAgICB9KSxcbiAgICB9LCB2YWx1YXRpb24pO1xuICB9XG5cbiAgc3VibWl0KCk6IFByb3BlcnR5VmFsdWF0aW9uIHtcbiAgICByZXR1cm4gc3VwZXIuc3VibWl0KHsgZG9jdW1lbnQ6IHRoaXMudmFsdWUuZG9jdW1lbnQuZmlsZSA/IHRoaXMudmFsdWUuZG9jdW1lbnQgOiBudWxsIH0pO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,19 @@
1
+ import { AbstractForm } from '../abstract.form';
2
+ import { UntypedFormControl, Validators } from '@angular/forms';
3
+ import { PasswordForm } from '../user';
4
+ // @TODO Alex: Create a model and handle request fields via class-transformer
5
+ export class RegisterClientForm extends AbstractForm {
6
+ constructor(referenceCode) {
7
+ super({
8
+ firstName: new UntypedFormControl('', [Validators.required]),
9
+ lastName: new UntypedFormControl('', [Validators.required]),
10
+ email: new UntypedFormControl('', [Validators.required, Validators.email]),
11
+ password: new PasswordForm(),
12
+ referenceCode: new UntypedFormControl(referenceCode)
13
+ });
14
+ }
15
+ submit(data = {}) {
16
+ return super.submit({ password: this.get('password').submit()?.password });
17
+ }
18
+ }
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXItY2xpZW50LmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcmVnaXN0ZXIvcmVnaXN0ZXItY2xpZW50LmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQV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