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
@@ -1,98 +0,0 @@
1
- import { UntypedFormControl, Validators } from '@angular/forms';
2
- import { autocompleteValidator } from '../../validators';
3
- import { AbstractForm } from '../abstract.form';
4
- import { ChartAccountsListEnum } from '../../db/Enums';
5
- import { ChartAccounts } from '../../models';
6
- import { FormValidationsEnum } from '../form-validations.enum';
7
- /**
8
- * @TODO refactor, move specific fields like property in separated forms
9
- * @TODO remove useless getters
10
- */
11
- export class TransactionBaseForm extends AbstractForm {
12
- constructor(transaction, registeredForGst, controls = {}) {
13
- super(Object.assign({
14
- chartAccounts: new UntypedFormControl(transaction.chartAccounts, [Validators.required, autocompleteValidator()]),
15
- claimPercent: new UntypedFormControl({ value: transaction.claimPercent, disabled: true }, [Validators.required, Validators.min(0), Validators.max(100)]),
16
- amount: new UntypedFormControl(transaction.amount, Validators.required),
17
- amountWithGST: new UntypedFormControl(transaction.amountWithGst, Validators.required),
18
- isGST: new UntypedFormControl({ value: transaction.isGST, disabled: !transaction.chartAccounts?.isGST || !registeredForGst }),
19
- gstAmount: new UntypedFormControl({ value: transaction.gstAmount, disabled: true }, Validators.required),
20
- date: new UntypedFormControl(transaction.date, [Validators.required]),
21
- description: new UntypedFormControl(transaction.description, Validators.maxLength(FormValidationsEnum.TEXT_MAX_LENGTH)),
22
- file: new UntypedFormControl(transaction.file),
23
- property: new UntypedFormControl({ value: transaction.property, disabled: transaction.chartAccounts }),
24
- }, controls), transaction);
25
- this.registeredForGst = registeredForGst;
26
- this.watchChartAccounts();
27
- this.watchAmountWithGST();
28
- this.watchIsGst();
29
- }
30
- watchIsGst() {
31
- this.get('isGST').valueChanges.subscribe((isGST) => {
32
- this.updateAmount();
33
- this.updateGstAmount();
34
- });
35
- }
36
- watchAmountWithGST() {
37
- this.get('amountWithGST').valueChanges.subscribe(() => {
38
- this.updateAmount();
39
- this.updateGstAmount();
40
- });
41
- }
42
- watchChartAccounts() {
43
- this.get('chartAccounts').valueChanges.subscribe((chartAccounts) => {
44
- // recalculate claim percent for selected chart accounts
45
- this.updateClaimPercent(chartAccounts);
46
- if (!this.isGstApplicable()) {
47
- return;
48
- }
49
- // update gst if applicable
50
- if (chartAccounts.isGST) {
51
- this.get('isGST').enable();
52
- this.get('isGST').patchValue(true);
53
- }
54
- else {
55
- this.get('isGST').patchValue(false);
56
- this.get('isGST').disable();
57
- }
58
- });
59
- }
60
- updateGstAmount() {
61
- this.get('gstAmount').patchValue(this.amountWithGST - this.amount);
62
- }
63
- updateAmount() {
64
- this.patchField('amount', this.isGST ? this.amountWithGST / ChartAccounts.GSTCoefficient : this.amountWithGST);
65
- }
66
- isGstApplicable() {
67
- return !!this.registeredForGst && !!this.model.business;
68
- }
69
- get amount() {
70
- return this.get('amount').value;
71
- }
72
- get amountWithGST() {
73
- return this.get('amountWithGST').value;
74
- }
75
- get isGST() {
76
- return this.get('isGST').value;
77
- }
78
- /**
79
- * propertyClaimPercent for propertyExpense (except platform fees, which already include claimPercent),
80
- * taxablePercent for others
81
- * can be adjusted only for property/sole expenses
82
- */
83
- updateClaimPercent(chartAccounts) {
84
- if (chartAccounts.isClaimPercentEditable()) {
85
- this.get('claimPercent').enable();
86
- }
87
- else {
88
- this.get('claimPercent').disable();
89
- }
90
- // property claim (ownership% x shared%) for property expenses, taxable percent for others
91
- let claimPercent = chartAccounts.taxablePercent;
92
- if (chartAccounts.isPropertyExpense() && chartAccounts.id !== ChartAccountsListEnum.PLATFORM_FEES) {
93
- claimPercent *= this.get('property').value.claimCoefficient;
94
- }
95
- this.get('claimPercent').setValue(claimPercent);
96
- }
97
- }
98
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYmFzZS5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL3RyYW5zYWN0aW9uL3RyYW5zYWN0aW9uLWJhc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udDtcbiAgICBpZiAoY2hhcnRBY2NvdW50cy5pc1Byb3BlcnR5RXhwZW5zZSgpICYmIGNoYXJ0QWNjb3VudHMuaWQgIT09IENoYXJ0QWNjb3VudHNMaXN0RW51bS5QTEFURk9STV9GRUVTKSB7XG4gICAgICBjbGFpbVBlcmNlbnQgKj0gdGhpcy5nZXQoJ3Byb3BlcnR5JykudmFsdWUuY2xhaW1Db2VmZmljaWVudDtcbiAgICB9XG4gICAgdGhpcy5nZXQoJ2NsYWltUGVyY2VudCcpLnNldFZhbHVlKGNsYWltUGVyY2VudCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,62 +0,0 @@
1
- import { Transaction } from '../../models';
2
- import { TransactionBaseForm } from './transaction-base.form';
3
- import { autocompleteValidator, currentFinYearValidator, minDateValidator } from '../../validators';
4
- import { MessagesEnum } from './messages.enum';
5
- import { UntypedFormArray, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
6
- import { plainToClass } from 'class-transformer';
7
- import { TransactionSourceEnum } from '../../db/Enums/transaction-source.enum';
8
- export class TransactionForm extends TransactionBaseForm {
9
- constructor(transaction, registeredForGst, allocations, controls = {}) {
10
- super(transaction, registeredForGst, Object.assign(controls, {
11
- transactions: new UntypedFormArray([]),
12
- source: new UntypedFormControl(transaction.source || TransactionSourceEnum.BANK_TRANSACTION, Validators.required)
13
- }));
14
- this.get('date').addValidators([currentFinYearValidator()]);
15
- // convert child transactions to controls
16
- transaction.transactions.map((transaction) => {
17
- this.addTransactionControl(transaction);
18
- });
19
- // forbid to add transactions before property ownership
20
- if (transaction.property) {
21
- this.get('date').addValidators(minDateValidator(transaction.property.myShare.fromDate, MessagesEnum.DATE_VALIDATION_ERROR));
22
- }
23
- // property income usually comes with fees, add empty control for new transactions
24
- if (!transaction.id && transaction.property && !transaction.transactions.length && transaction.isCredit()) {
25
- this.addTransactionControl();
26
- }
27
- // forbid to edit amount for allocated transactions to prevent wrong allocations
28
- if (allocations.length) {
29
- this.get('amount').disable();
30
- this.get('date').disable();
31
- }
32
- }
33
- addTransactionControl(transaction = plainToClass(Transaction, {})) {
34
- const formGroup = new UntypedFormGroup({
35
- id: new UntypedFormControl(transaction.id),
36
- chartAccounts: new UntypedFormControl(transaction.chartAccounts, [Validators.required, autocompleteValidator()]),
37
- amount: new UntypedFormControl(transaction.amount, [Validators.required]),
38
- });
39
- this.get('transactions').push(formGroup);
40
- }
41
- removeTransactionControl(index) {
42
- this.get('transactions').removeAt(index);
43
- }
44
- /**
45
- * income transactions might include adjustments (child transactions), like tips or fees.
46
- * Adjustments inherit most of the fields from parent transaction
47
- */
48
- buildTransactions(transaction) {
49
- return this.get('transactions').value.map((childTransaction) => Object.assign({
50
- description: childTransaction.chartAccounts?.name,
51
- date: transaction.date,
52
- claimPercent: (transaction.claimPercent * childTransaction.chartAccounts?.taxablePercent) / 100,
53
- source: TransactionSourceEnum.BANK_TRANSACTION,
54
- incomeSource: transaction.incomeSource,
55
- property: transaction.property
56
- }, this.model.transactions.find((transaction) => transaction.id === childTransaction['id']) || {}, childTransaction));
57
- }
58
- submit(data = {}) {
59
- return super.submit(Object.assign(data, { transactions: this.buildTransactions(this.currentValue) }), true);
60
- }
61
- }
62
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy90cmFuc2FjdGlvbi90cmFuc2FjdGlvbi5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxXQUFXLEVBQXlCLE1BQU0sY0FBYyxDQUFDO0FBQ2xFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzlELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSx1QkFBdU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YW5zYWN0aW9ucycpLnZhbHVlLm1hcCgoY2hpbGRUcmFuc2FjdGlvbjogVHJhbnNhY3Rpb24pID0+IE9iamVjdC5hc3NpZ24oXG4gICAgICB7XG4gICAgICAgIGRlc2NyaXB0aW9uOiBjaGlsZFRyYW5zYWN0aW9uLmNoYXJ0QWNjb3VudHM/Lm5hbWUsXG4gICAgICAgIGRhdGU6IHRyYW5zYWN0aW9uLmRhdGUsXG4gICAgICAgIGNsYWltUGVyY2VudDogKHRyYW5zYWN0aW9uLmNsYWltUGVyY2VudCAqIGNoaWxkVHJhbnNhY3Rpb24uY2hhcnRBY2NvdW50cz8udGF4YWJsZVBlcmNlbnQpIC8gMTAwLFxuICAgICAgICBzb3VyY2U6IFRyYW5zYWN0aW9uU291cmNlRW51bS5CQU5LX1RSQU5TQUNUSU9OLFxuICAgICAgICBpbmNvbWVTb3VyY2U6IHRyYW5zYWN0aW9uLmluY29tZVNvdXJjZSxcbiAgICAgICAgcHJvcGVydHk6IHRyYW5zYWN0aW9uLnByb3BlcnR5XG4gICAgICB9LFxuICAgICAgdGhpcy5tb2RlbC50cmFuc2FjdGlvbnMuZmluZCgodHJhbnNhY3Rpb24pID0+IHRyYW5zYWN0aW9uLmlkID09PSBjaGlsZFRyYW5zYWN0aW9uWydpZCddKSB8fCB7fSxcbiAgICAgIGNoaWxkVHJhbnNhY3Rpb24sXG4gICAgKSk7XG4gIH1cblxuICBzdWJtaXQoZGF0YTogb2JqZWN0ID0ge30pOiBUcmFuc2FjdGlvbiB7XG4gICAgcmV0dXJuIHN1cGVyLnN1Ym1pdChPYmplY3QuYXNzaWduKGRhdGEsIHsgdHJhbnNhY3Rpb25zOiB0aGlzLmJ1aWxkVHJhbnNhY3Rpb25zKHRoaXMuY3VycmVudFZhbHVlKSB9KSwgdHJ1ZSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,33 +0,0 @@
1
- import { WorkTransactionForm } from './work-transaction.form';
2
- import { Collection } from '../../../collections';
3
- import { ChartAccountsMetaFieldListEnum } from '../../../db/Enums';
4
- export class WorkExpenseForm extends WorkTransactionForm {
5
- constructor(transaction, registeredForGst, allocations, controls = {}) {
6
- super(transaction, registeredForGst, allocations, controls);
7
- // amount set automatically for chartAccounts with hours meta field
8
- if (transaction.getMetaFieldValue(ChartAccountsMetaFieldListEnum.HOURS)) {
9
- this.get('amount').disable();
10
- this.get('amountWithGST').disable();
11
- }
12
- }
13
- listenEvents() {
14
- this.watchChartAccountsMetaFields();
15
- }
16
- watchChartAccountsMetaFields() {
17
- this.get('metaFields').valueChanges.subscribe((metaFields) => {
18
- const hoursMetaField = new Collection(metaFields).findBy('chartAccountsMetaField.id', ChartAccountsMetaFieldListEnum.HOURS);
19
- if (!hoursMetaField) {
20
- return;
21
- }
22
- // for home office hours expense amount is a fixed rate per hour
23
- const amount = this.get('chartAccounts').value.getCurrentYearValue().value * +hoursMetaField.value;
24
- this.get('amount').reset();
25
- this.get('amount').disable();
26
- this.get('amount').setValue(amount);
27
- this.get('amountWithGST').reset();
28
- this.get('amountWithGST').disable();
29
- this.get('amountWithGST').setValue(amount);
30
- });
31
- }
32
- }
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29yay1leHBlbnNlLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvdHJhbnNhY3Rpb24vd29yay93b3JrLWV4cGVuc2UuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDbEQsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFHbkUsTUFBTSxPQU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ldyBDb2xsZWN0aW9uKG1ldGFGaWVsZHMpLmZpbmRCeSgnY2hhcnRBY2NvdW50c01ldGFGaWVsZC5pZCcsIENoYXJ0QWNjb3VudHNNZXRhRmllbGRMaXN0RW51bS5IT1VSUyk7XG4gICAgICBpZiAoIWhvdXJzTWV0YUZpZWxkKSB7XG4gICAgICAgIHJldHVybjtcbiAgICAgIH1cblxuICAgICAgLy8gZm9yIGhvbWUgb2ZmaWNlIGhvdXJzIGV4cGVuc2UgYW1vdW50IGlzIGEgZml4ZWQgcmF0ZSBwZXIgaG91clxuICAgICAgY29uc3QgYW1vdW50ID0gdGhpcy5nZXQoJ2NoYXJ0QWNjb3VudHMnKS52YWx1ZS5nZXRDdXJyZW50WWVhclZhbHVlKCkudmFsdWUgKiAraG91cnNNZXRhRmllbGQudmFsdWU7XG4gICAgICB0aGlzLmdldCgnYW1vdW50JykucmVzZXQoKTtcbiAgICAgIHRoaXMuZ2V0KCdhbW91bnQnKS5kaXNhYmxlKCk7XG4gICAgICB0aGlzLmdldCgnYW1vdW50Jykuc2V0VmFsdWUoYW1vdW50KTtcbiAgICAgIHRoaXMuZ2V0KCdhbW91bnRXaXRoR1NUJykucmVzZXQoKTtcbiAgICAgIHRoaXMuZ2V0KCdhbW91bnRXaXRoR1NUJykuZGlzYWJsZSgpO1xuICAgICAgdGhpcy5nZXQoJ2Ftb3VudFdpdGhHU1QnKS5zZXRWYWx1ZShhbW91bnQpO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -1,86 +0,0 @@
1
- import { UntypedFormControl, Validators } from '@angular/forms';
2
- import { IncomeSource } from '../../../models';
3
- import { autocompleteValidator } from '../../../validators';
4
- import { Collection } from '../../../collections';
5
- import { TransactionOperationEnum } from '../../../db/Enums/transaction-operation.enum';
6
- import { WorkTransactionForm } from './work-transaction.form';
7
- export class WorkIncomeForm extends WorkTransactionForm {
8
- constructor(transaction, registeredForGst, allocations) {
9
- // for work income we need to show netAmount instead of amount (because some adjustments are included in amount)
10
- transaction.amount = transaction.netAmount;
11
- super(transaction, registeredForGst, allocations, {
12
- tax: new UntypedFormControl({
13
- value: transaction.tax,
14
- disabled: !transaction.chartAccounts || transaction.chartAccounts.isNRAS(),
15
- }, Validators.required),
16
- incomeSource: new UntypedFormControl(transaction.incomeSource, [Validators.required, autocompleteValidator()]),
17
- });
18
- // forbid to edit some fields for allocated transaction
19
- if (allocations.length) {
20
- this.get('chartAccounts').disable();
21
- }
22
- // adjustments allowed only for salary
23
- if (!transaction.chartAccounts?.isSalary()) {
24
- this.get('transactions').disable();
25
- }
26
- // amount changes are not available for transactions with allocations or during allocate process
27
- if (allocations.length || transaction.operation === TransactionOperationEnum.ALLOCATE) {
28
- this.get('amount').disable();
29
- }
30
- // prefill tax value for preselected salary income source
31
- if (!this.get('tax').value && transaction.incomeSource && transaction.incomeSource.isWorkIncome()) {
32
- this.updateTaxValue(transaction.incomeSource);
33
- }
34
- this.listenEvents();
35
- }
36
- listenEvents() {
37
- super.listenEvents();
38
- this.watchIncomeSource();
39
- }
40
- watchIncomeSource() {
41
- this.get('incomeSource').valueChanges.subscribe((incomeSource) => {
42
- // prefill salary tax with its income source forecast
43
- if (incomeSource instanceof IncomeSource && incomeSource.isWorkIncome() && !this.get('tax').value) {
44
- this.updateTaxValue(incomeSource);
45
- }
46
- });
47
- }
48
- updateTaxValue(incomeSource) {
49
- this.get('tax').setValue(incomeSource.salaryForecasts[0].taxWithheld);
50
- }
51
- watchChartAccounts() {
52
- super.watchChartAccounts();
53
- this.get('chartAccounts').valueChanges.subscribe((chartAccounts) => {
54
- // tax make no sense for pre-paying tax category
55
- if (chartAccounts.isNRAS()) {
56
- this.get('tax').disable();
57
- }
58
- else {
59
- this.get('tax').enable();
60
- }
61
- // adjustments possible only for salary chartAccounts
62
- if (chartAccounts.isSalary()) {
63
- this.get('transactions').enable();
64
- }
65
- else {
66
- this.get('transactions').disable();
67
- }
68
- });
69
- }
70
- /**
71
- * salary comes to bankAccount together with related transactions like tips (kind of salary, but reported in different tax summary section),
72
- * adjustments used to clarify received payment by separating it into multiple transactions,
73
- * netAmount always match received payment and includes related adjustments
74
- * amount calculated as netAmount - salary included adjustments
75
- * ie bankTransaction=1000$ with 900$ salary and 100$ tips will create 2 transactions with 900$ and 100$
76
- */
77
- getAmount() {
78
- return this.get('amount').value - new Collection(this.currentValue.transactions)
79
- .filter((t) => t.chartAccounts?.isAdjustmentIncluded())
80
- .sumBy('amount');
81
- }
82
- submit(data = {}) {
83
- return super.submit(Object.assign(data, { amount: this.getAmount() }));
84
- }
85
- }
86
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29yay1pbmNvbWUuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy90cmFuc2FjdGlvbi93b3JrL3dvcmstaW5jb21lLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS0EsT0FBTyxFQUFFLGtCQUFrQixFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRWhFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDbEQsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sOENBQThDLENBQUM7QUFDeEYsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFFOUQsTUFBTSxPQUFPLGNBQWUsU0FBUSxtQkFBbUI7SUFDckQsWUFBWSxXQUF3QixFQUFFLGdCQUF5QixFQUFFLFdBQW9DO1FBQ25HLGdIQUFnSDtRQUNoSCxXQUF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ge30pOiBUcmFuc2FjdGlvbiB7XG4gICAgcmV0dXJuIHN1cGVyLnN1Ym1pdChPYmplY3QuYXNzaWduKGRhdGEsIHsgYW1vdW50OiB0aGlzLmdldEFtb3VudCgpIH0pKTtcbiAgfVxufVxuIl19
@@ -1,40 +0,0 @@
1
- import { TransactionForm } from '../transaction.form';
2
- import { FormArray, FormControl, FormGroup } from '@angular/forms';
3
- import { transactionsMetaFieldsValidator } from '../../../validators/transactions-meta-fields.validator';
4
- export class WorkTransactionForm extends TransactionForm {
5
- constructor(transaction, registeredForGst, allocations, controls = {}) {
6
- super(transaction, registeredForGst, allocations, Object.assign(controls, {
7
- // additional data related to work (like tax instalments)
8
- metaFields: new FormArray((transaction.metaFields || []).map((transactionMetaField) => new FormGroup({
9
- value: new FormControl(transactionMetaField.value),
10
- chartAccountsMetaField: new FormControl(transactionMetaField.chartAccountsMetaField)
11
- })))
12
- }));
13
- this.setValidators(transactionsMetaFieldsValidator());
14
- this.listenEvents();
15
- }
16
- listenEvents() {
17
- this.watchChartAccounts();
18
- }
19
- watchChartAccounts() {
20
- super.watchChartAccounts();
21
- this.get('chartAccounts').valueChanges.subscribe((chartAccounts) => {
22
- this.buildMetaFieldsForm();
23
- });
24
- }
25
- /**
26
- * depends on chartAccounts the form could include different extra fields
27
- */
28
- buildMetaFieldsForm() {
29
- // Remove all controls in the FormArray before pushing
30
- this.get('metaFields').clear();
31
- // create form controls for each metaField object from selected chart accounts
32
- (this.get('chartAccounts').value.metaFields).forEach((chartAccountsMetaField) => {
33
- this.get('metaFields').push(new FormGroup({
34
- value: new FormControl(chartAccountsMetaField.isSharePercentage() ? 100 : 0),
35
- chartAccountsMetaField: new FormControl(chartAccountsMetaField),
36
- }));
37
- });
38
- }
39
- }
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29yay10cmFuc2FjdGlvbi5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi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b3JtIGNvdWxkIGluY2x1ZGUgZGlmZmVyZW50IGV4dHJhIGZpZWxkc1xuICAgKi9cbiAgcHJpdmF0ZSBidWlsZE1ldGFGaWVsZHNGb3JtKCk6IHZvaWQge1xuICAgIC8vIFJlbW92ZSBhbGwgY29udHJvbHMgaW4gdGhlIEZvcm1BcnJheSBiZWZvcmUgcHVzaGluZ1xuICAgICh0aGlzLmdldCgnbWV0YUZpZWxkcycpIGFzIEZvcm1BcnJheSkuY2xlYXIoKTtcblxuICAgIC8vIGNyZWF0ZSBmb3JtIGNvbnRyb2xzIGZvciBlYWNoIG1ldGFGaWVsZCBvYmplY3QgZnJvbSBzZWxlY3RlZCBjaGFydCBhY2NvdW50c1xuICAgICh0aGlzLmdldCgnY2hhcnRBY2NvdW50cycpLnZhbHVlLm1ldGFGaWVsZHMpLmZvckVhY2goKGNoYXJ0QWNjb3VudHNNZXRhRmllbGQ6IENoYXJ0QWNjb3VudHNNZXRhRmllbGQpOiB2b2lkID0+IHtcbiAgICAgICh0aGlzLmdldCgnbWV0YUZpZWxkcycpIGFzIEZvcm1BcnJheSkucHVzaChcbiAgICAgICAgbmV3IEZvcm1Hcm91cCh7XG4gICAgICAgICAgdmFsdWU6IG5ldyBGb3JtQ29udHJvbChjaGFydEFjY291bnRzTWV0YUZpZWxkLmlzU2hhcmVQZXJjZW50YWdlKCkgPyAxMDAgOiAwKSxcbiAgICAgICAgICBjaGFydEFjY291bnRzTWV0YUZpZWxkOiBuZXcgRm9ybUNvbnRyb2woY2hhcnRBY2NvdW50c01ldGFGaWVsZCksXG4gICAgICAgIH0pXG4gICAgICApO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -1,34 +0,0 @@
1
- import { UntypedFormControl, Validators } from '@angular/forms';
2
- import { autocompleteValidator } from '../../validators';
3
- import { UserMedicareExemptionEnum } from '../../db/Enums/user-medicare-exemption.enum';
4
- import { AbstractForm } from '../abstract.form';
5
- export class ClientDetailsForm extends AbstractForm {
6
- constructor(clientDetails) {
7
- super({
8
- isAustralianResident: new UntypedFormControl(clientDetails.isAustralianResident),
9
- taxFileNumber: new UntypedFormControl(clientDetails.taxFileNumber),
10
- occupation: new UntypedFormControl(clientDetails.occupation, autocompleteValidator()),
11
- medicareExemption: new UntypedFormControl({ value: clientDetails.medicareExemption, disabled: !clientDetails.medicareExemption }, Validators.required),
12
- pensionersTax: new UntypedFormControl(clientDetails.pensionersTax),
13
- workingHolidayMaker: new UntypedFormControl(clientDetails.workingHolidayMaker)
14
- }), clientDetails;
15
- }
16
- toggleMedicareExemption(enabled) {
17
- const control = this.get('medicareExemption');
18
- // @TODO Alex/Vik: think about FormControl extension and implement control.toggle() method
19
- // then we can optimize the code:
20
- // control.setValue(enabled ? null : UserMedicareExemptionEnum.NO)
21
- // control.toggle(enabled);
22
- if (enabled) {
23
- control.setValue(null);
24
- control.enable();
25
- return;
26
- }
27
- control.setValue(UserMedicareExemptionEnum.NO);
28
- control.disable();
29
- }
30
- submit() {
31
- return super.submit({}, true);
32
- }
33
- }
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LWRldGFpbHMuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy91c2VyL2NsaWVudC1kZXRhaWxzLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRWhFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3pELE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBQ3hGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztB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WYgKGVuYWJsZWQpIHtcbiAgICAgIGNvbnRyb2wuc2V0VmFsdWUobnVsbCk7XG4gICAgICBjb250cm9sLmVuYWJsZSgpO1xuXG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgY29udHJvbC5zZXRWYWx1ZShVc2VyTWVkaWNhcmVFeGVtcHRpb25FbnVtLk5PKTtcbiAgICBjb250cm9sLmRpc2FibGUoKTtcbiAgfVxuXG4gIHN1Ym1pdCgpOiBDbGllbnREZXRhaWxzIHtcbiAgICByZXR1cm4gc3VwZXIuc3VibWl0KHt9LCB0cnVlKTtcbiAgfVxufVxuIl19
@@ -1,6 +0,0 @@
1
- export * from './password.form';
2
- export * from './reset-password.form';
3
- export * from './user-invite.form';
4
- export * from './user.form';
5
- export * from './client-details.form';
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvdXNlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wYXNzd29yZC5mb3JtJztcbmV4cG9ydCAqIGZyb20gJy4vcmVzZXQtcGFzc3dvcmQuZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3VzZXItaW52aXRlLmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi91c2VyLmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9jbGllbnQtZGV0YWlscy5mb3JtJztcbiJdfQ==
@@ -1,14 +0,0 @@
1
- import { AbstractForm } from '../abstract.form';
2
- import { UntypedFormControl, Validators } from '@angular/forms';
3
- import { passwordValidator } from '../../validators/password.validator';
4
- import { passwordMatchValidator } from '../../validators/password-match.validator';
5
- // @TODO Alex: Create a model and handle request fields via class-transformer
6
- export class PasswordForm extends AbstractForm {
7
- constructor() {
8
- super({
9
- password: new UntypedFormControl(null, [Validators.required, passwordValidator()]),
10
- confirm: new UntypedFormControl(null, Validators.required),
11
- }, { password: null, confirm: null }, passwordMatchValidator('password', 'confirm'));
12
- }
13
- }
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy91c2VyL3Bhc3N3b3JkLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUVuRiw2RUFBNkU7QUFDN0UsTUFBTSxPQUFPLFlBQWEsU0FBUSxZQUFpRDtJQUNqRjtRQUNFLEtBQUssQ0FBQztZQUNKLFFBQVEsRUFBRSxJQUFJLGtCQUFrQixDQUFDLElBQUksRUFBRSxDQUFDLFVBQVUsQ0FBQyxRQUFRLEVBQUUsaUJBQWlCLEVBQUUsQ0FBQyxDQUFDO1lBQ2xGLE9BQU8sRUFBRSxJQUFJLGtCQUFrQixDQUFDLElBQUks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1aXJlZCksXG4gICAgfSwge3Bhc3N3b3JkOiBudWxsLCBjb25maXJtOiBudWxsfSwgcGFzc3dvcmRNYXRjaFZhbGlkYXRvcigncGFzc3dvcmQnLCAnY29uZmlybScpKTtcbiAgfVxufVxuIl19
@@ -1,11 +0,0 @@
1
- import { AbstractForm } from '../abstract.form';
2
- import { UntypedFormControl, Validators } from '@angular/forms';
3
- // @TODO Alex: Create a model and handle request fields via class-transformer
4
- export class ResetPasswordForm extends AbstractForm {
5
- constructor() {
6
- super({
7
- email: new UntypedFormControl(null, [Validators.required, Validators.email]),
8
- });
9
- }
10
- }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXQtcGFzc3dvcmQuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy91c2VyL3Jlc2V0LXBhc3N3b3JkLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUVoRSw2RUFBNkU7QUFDN0UsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFlBQTZCO0lBQ2xFO1FBQ0UsS0FBSyxDQUFDO1lBQ0osS0FBSyxFQUFFLElBQUksa0JBQWtCLENBQUMsSUFBSSxFQUFFLENBQUMsVUFBVSxDQUFDLFFBQVEsRUFBRSxVQUFVLENBQUMsS0FBSyxDQUFDLENBQUM7U0FDN0UsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQWJzdHJhY3RGb3JtIH0gZnJvbSAnLi4vYWJzdHJhY3QuZm9ybSc7XG5pbXBvcnQgeyBVbnR5cGVkRm9ybUNvbnRyb2wsIFZhbGlkYXRvcnMgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbi8vIEBUT0RPIEFsZXg6IENyZWF0ZSBhIG1vZGVsIGFuZCBoYW5kbGUgcmVxdWVzdCBmaWVsZHMgdmlhIGNsYXNzLXRyYW5zZm9ybWVyXG5leHBvcnQgY2xhc3MgUmVzZXRQYXNzd29yZEZvcm0gZXh0ZW5kcyBBYnN0cmFjdEZvcm08e2VtYWlsOiBzdHJpbmd9PiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKHtcbiAgICAgIGVtYWlsOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKG51bGwsIFtWYWxpZGF0b3JzLnJlcXVpcmVkLCBWYWxpZGF0b3JzLmVtYWlsXSksXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,16 +0,0 @@
1
- import { AbstractForm } from '../abstract.form';
2
- import { RegistrationInvite } from '../../models/registration-invite/registration-invite';
3
- import { UntypedFormControl, Validators } from '@angular/forms';
4
- import { plainToClass } from 'class-transformer';
5
- /**
6
- * Form for inviting an unregistered user
7
- */
8
- export class UserInviteForm extends AbstractForm {
9
- constructor() {
10
- super({
11
- firstName: new UntypedFormControl(null, Validators.required),
12
- email: new UntypedFormControl(null, [Validators.required, Validators.email]),
13
- }, plainToClass(RegistrationInvite, {}));
14
- }
15
- }
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1pbnZpdGUuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy91c2VyL3VzZXItaW52aXRlLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRU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9ydCBjbGFzcyBVc2VySW52aXRlRm9ybSBleHRlbmRzIEFic3RyYWN0Rm9ybTxSZWdpc3RyYXRpb25JbnZpdGU+IHtcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoe1xuICAgICAgZmlyc3ROYW1lOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKG51bGwsIFZhbGlkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgZW1haWw6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wobnVsbCwgW1ZhbGlkYXRvcnMucmVxdWlyZWQsIFZhbGlkYXRvcnMuZW1haWxdKSxcbiAgICB9LFxuICAgIHBsYWluVG9DbGFzcyhSZWdpc3RyYXRpb25JbnZpdGUsIHt9KVxuICAgICk7XG4gIH1cbn1cbiJdfQ==
@@ -1,15 +0,0 @@
1
- import { UntypedFormControl, Validators } from '@angular/forms';
2
- import { AbstractForm } from '../abstract.form';
3
- export class UserForm extends AbstractForm {
4
- constructor(user) {
5
- super({
6
- title: new UntypedFormControl(user.title),
7
- firstName: new UntypedFormControl(user.firstName, Validators.required),
8
- lastName: new UntypedFormControl(user.lastName, Validators.required),
9
- address: new UntypedFormControl(user.address),
10
- phone: new UntypedFormControl(user.phone),
11
- file: new UntypedFormControl(user.file)
12
- }, user);
13
- }
14
- }
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL3VzZXIvdXNlci5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUVoRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QU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E5hbWU6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wodXNlci5maXJzdE5hbWUsIFZhbGlkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgbGFzdE5hbWU6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wodXNlci5sYXN0TmFtZSwgVmFsaWRhdG9ycy5yZXF1aXJlZCksXG4gICAgICBhZGRyZXNzOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHVzZXIuYWRkcmVzcyksXG4gICAgICBwaG9uZTogbmV3IFVudHlwZWRGb3JtQ29udHJvbCh1c2VyLnBob25lKSxcbiAgICAgIGZpbGU6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wodXNlci5maWxlKVxuICAgIH0sIHVzZXIpO1xuICB9XG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- export * from './vehicle.form';
2
- export * from './vehicle-claim.form';
3
- export * from './vehicle-claim-details.form';
4
- export * from './vehicle-logbook.form';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvdmVoaWNsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi92ZWhpY2xlLmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi92ZWhpY2xlLWNsYWltLmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi92ZWhpY2xlLWNsYWltLWRldGFpbHMuZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3ZlaGljbGUtbG9nYm9vay5mb3JtJztcbiJdfQ==
@@ -1,17 +0,0 @@
1
- import { AbstractForm } from '../abstract.form';
2
- import { UntypedFormControl, Validators } from '@angular/forms';
3
- /**
4
- * Add/Edit vehicle claim details form
5
- */
6
- export class VehicleClaimDetailsForm extends AbstractForm {
7
- constructor(vehicleClaimDetails, isBestPeriodExist) {
8
- super({
9
- method: new UntypedFormControl(vehicleClaimDetails.method, Validators.required),
10
- isManual: new UntypedFormControl({
11
- value: vehicleClaimDetails.isManual,
12
- disabled: !isBestPeriodExist
13
- }),
14
- }, vehicleClaimDetails);
15
- }
16
- }
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1jbGFpbS1kZXRhaWxzLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvdmVoaWNsZS92ZWhpY2xlLWNsYWltLWRldGFpbHMuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFFaEQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRWhFOztHQUVHO0FBQ0gsTUFBTSxPQUFPLHVCQUF3QixTQUFRLFlBQWlDO0lBQzVFLFlBQ0UsbUJBQXdDLEVBQ3hDLGlCQUEwQjtRQUUxQixLQUFLLENBQUM7WUFDSixNQUFNLEVBQUUsSUFBSSxrQkFBa0IsQ0FBQyxtQkFBbUIsQ0FBQyxNQUFNLEVBQUUsVUFBVSxDQUFDLFFBQVEsQ0FBQztZQUMvRSxRQUFRLEVBQUUsSUFBSSxrQkFBa0IsQ0FBQztnQkFDL0IsS0FBSyxFQUFFLG1CQUFtQixDQUFDLFFBQVE7Z0JB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stract.form';
2
- import { UntypedFormControl } from '@angular/forms';
3
- import { FinancialYear } from '../../models';
4
- /**
5
- * Add/Edit Vehicle Claim form
6
- */
7
- export class VehicleClaimForm extends AbstractForm {
8
- /**
9
- * @param vehicleClaim required even for the new claim, because claim needs business for sole tank
10
- * @param details required for form controls disabled state management
11
- */
12
- constructor(vehicleClaim, details) {
13
- super({
14
- kilometers: new UntypedFormControl({
15
- value: vehicleClaim.kilometers,
16
- disabled: !details.isManual || details.isLogbookMethod()
17
- }),
18
- workUsage: new UntypedFormControl({
19
- value: vehicleClaim.workUsage,
20
- disabled: !details.isManual || details.isKmsMethod()
21
- })
22
- }, vehicleClaim);
23
- this.vehicleClaim = vehicleClaim;
24
- this.details = details;
25
- }
26
- getAverageWeeklyKMS() {
27
- return this.get('kilometers').value / FinancialYear.weeksInYear;
28
- }
29
- }
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1jbGFpbS5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL3ZlaGljbGUvdmVoaWNsZS1jbGFpbS5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVoRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUVwRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRTdDOztHQUVHO0FBQ0gsTUFBTSxPQUFPLGdCQUFpQixTQUFRLFlBQTBCO0lBQzlEOzs7T0FHRztJQUNILFlBQ1UsWUFBMEIsRUFDMUIsT0FBNEI7UUFFcEMsS0FBSyxDQUFDO1lBQ0osVUFBVSxFQUFFLElBQUksa0JBQ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