taxtank-core 0.30.18 → 0.30.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (619) hide show
  1. package/esm2020/lib/collections/allocation-rule.collection.mjs +14 -1
  2. package/esm2020/lib/models/chart-accounts/chart-accounts.mjs +4 -1
  3. package/esm2020/lib/models/transaction/allocation-rule-condition.mjs +32 -1
  4. package/esm2020/lib/models/transaction/allocation-rule-transaction.mjs +48 -9
  5. package/esm2020/lib/models/transaction/allocation-rule.mjs +64 -3
  6. package/fesm2015/taxtank-core.mjs +154 -13
  7. package/fesm2015/taxtank-core.mjs.map +1 -1
  8. package/fesm2020/taxtank-core.mjs +154 -13
  9. package/fesm2020/taxtank-core.mjs.map +1 -1
  10. package/lib/collections/account-setup-item.collection.d.ts.map +1 -0
  11. package/lib/collections/allocation-group.collection.d.ts.map +1 -0
  12. package/lib/collections/allocation-rule.collection.d.ts +8 -0
  13. package/lib/collections/allocation-rule.collection.d.ts.map +1 -0
  14. package/lib/collections/bank-account.collection.d.ts.map +1 -0
  15. package/lib/collections/bank-transaction.collection.d.ts.map +1 -0
  16. package/lib/collections/chart-accounts.collection.d.ts.map +1 -0
  17. package/lib/collections/client-invite.collection.d.ts.map +1 -0
  18. package/lib/collections/client-movement.collection.d.ts.map +1 -0
  19. package/lib/collections/client-portfolio-report.collection.d.ts.map +1 -0
  20. package/lib/collections/client.collection.d.ts.map +1 -0
  21. package/lib/collections/depreciation-forecast.collection.d.ts.map +1 -0
  22. package/lib/collections/depreciation.collection.d.ts.map +1 -0
  23. package/lib/collections/employee.collection.d.ts.map +1 -0
  24. package/lib/collections/exportable.collection.d.ts.map +1 -0
  25. package/lib/collections/income-source.collection.d.ts.map +1 -0
  26. package/lib/collections/index.d.ts.map +1 -0
  27. package/lib/collections/loan/index.d.ts.map +1 -0
  28. package/lib/collections/loan/loan-payment.collection.d.ts.map +1 -0
  29. package/lib/collections/loan/loan.collection.d.ts.map +1 -0
  30. package/lib/collections/property/index.d.ts.map +1 -0
  31. package/lib/collections/property/property-category-movement.collection.d.ts.map +1 -0
  32. package/lib/collections/property/property-sale/index.d.ts.map +1 -0
  33. package/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts.map +1 -0
  34. package/lib/collections/property/property-sale/property-sale.collection.d.ts.map +1 -0
  35. package/lib/collections/property/property-share.collection.d.ts.map +1 -0
  36. package/lib/collections/property/property.collection.d.ts.map +1 -0
  37. package/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts.map +1 -0
  38. package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts.map +1 -0
  39. package/lib/collections/report/index.d.ts.map +1 -0
  40. package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts.map +1 -0
  41. package/lib/collections/report/property/property-report-item-transaction.collection.d.ts.map +1 -0
  42. package/lib/collections/report/property/property-report-item.collection.d.ts.map +1 -0
  43. package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts.map +1 -0
  44. package/lib/collections/sole/index.d.ts.map +1 -0
  45. package/lib/collections/sole/sole-business-losses.collection.d.ts.map +1 -0
  46. package/lib/collections/sole/sole-invoice-item.collection.d.ts.map +1 -0
  47. package/lib/collections/sole/sole-invoice.collection.d.ts.map +1 -0
  48. package/lib/collections/subscription/index.d.ts.map +1 -0
  49. package/lib/collections/subscription/service-price.collection.d.ts.map +1 -0
  50. package/lib/collections/subscription/service-product.collection.d.ts.map +1 -0
  51. package/lib/collections/subscription/service-subscription.collection.d.ts.map +1 -0
  52. package/lib/collections/subscription/subscription-item.collection.d.ts.map +1 -0
  53. package/lib/collections/tax-review.collection.d.ts.map +1 -0
  54. package/lib/collections/tax-summary/index.d.ts.map +1 -0
  55. package/lib/collections/tax-summary/report-item.collection.d.ts.map +1 -0
  56. package/lib/collections/tax-summary/tax-return-categories.const.d.ts.map +1 -0
  57. package/lib/collections/transaction/index.d.ts.map +1 -0
  58. package/lib/collections/transaction/transaction-allocation.collection.d.ts.map +1 -0
  59. package/lib/collections/transaction/transaction.collection.d.ts.map +1 -0
  60. package/lib/collections/user-event-setting.collection.d.ts.map +1 -0
  61. package/lib/collections/user-event-type-collection.d.ts.map +1 -0
  62. package/lib/collections/vehicle/index.d.ts.map +1 -0
  63. package/lib/collections/vehicle/vehicle-claim.collection.d.ts.map +1 -0
  64. package/lib/collections/vehicle/vehicle-logbook.collection.d.ts.map +1 -0
  65. package/lib/db/Enums/bank-popular.enum.d.ts.map +1 -0
  66. package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts.map +1 -0
  67. package/lib/db/Enums/income-source-type-list-other.enum.d.ts.map +1 -0
  68. package/lib/db/Enums/income-source-type-list-sole.enum.d.ts.map +1 -0
  69. package/lib/db/Enums/income-source-type-list-work.enum.d.ts.map +1 -0
  70. package/lib/db/Enums/invite-status.enum.d.ts.map +1 -0
  71. package/lib/db/Enums/loan-bank-type.enum.d.ts.map +1 -0
  72. package/lib/db/Enums/loan-frequency.enum.d.ts.map +1 -0
  73. package/lib/db/Enums/property/property-category-list.enum.d.ts.map +1 -0
  74. package/lib/db/Enums/service-notification-status.enum.d.ts.map +1 -0
  75. package/lib/db/Enums/service-notification-type.enum.d.ts.map +1 -0
  76. package/lib/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts.map +1 -0
  77. package/lib/db/Enums/subscription/service-payment-method-type.enum.d.ts.map +1 -0
  78. package/lib/db/Enums/tax-return-category-list.enum.d.ts.map +1 -0
  79. package/lib/db/Enums/tax-return-category-section.enum.d.ts.map +1 -0
  80. package/lib/db/Enums/tax-summary-list.enum.d.ts.map +1 -0
  81. package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts.map +1 -0
  82. package/lib/db/Enums/ticket-types.enum.d.ts.map +1 -0
  83. package/lib/db/Enums/user-event-type-client-type.enum.d.ts.map +1 -0
  84. package/lib/db/Enums/user-event-type-employee-type.enum.d.ts.map +1 -0
  85. package/lib/db/Enums/user-event-type-type.enum.d.ts.map +1 -0
  86. package/lib/db/Enums/user-event-type-user-type.enum.d.ts.map +1 -0
  87. package/lib/db/Enums/user-medicare-exemption.enum.d.ts.map +1 -0
  88. package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts.map +1 -0
  89. package/lib/db/Enums/user-working-holiday-maker.enum.d.ts.map +1 -0
  90. package/lib/db/Models/bank/bank-connection.d.ts.map +1 -0
  91. package/lib/db/Models/bank/basiq-job.d.ts.map +1 -0
  92. package/lib/db/Models/observable-model.d.ts.map +1 -0
  93. package/lib/db/Models/property/property-category.d.ts.map +1 -0
  94. package/lib/db/Models/property/property.d.ts.map +1 -0
  95. package/lib/db/Models/subscription/service-payment-method.d.ts.map +1 -0
  96. package/lib/db/Models/transaction/allocation-rule-condition.d.ts.map +1 -0
  97. package/lib/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts.map +1 -0
  98. package/lib/db/Models/transaction/allocation-rule-transaction.d.ts.map +1 -0
  99. package/lib/db/Models/transaction/allocation-rule.d.ts.map +1 -0
  100. package/lib/db/Models/user/user.d.ts.map +1 -0
  101. package/lib/db-static/chart-accounts/chart-accounts-values.d.ts.map +1 -0
  102. package/lib/forms/abstract.form.d.ts.map +1 -0
  103. package/lib/forms/address/address.form.d.ts.map +1 -0
  104. package/lib/forms/address/index.d.ts.map +1 -0
  105. package/lib/forms/bank/bank-account/bank-account-add-manual.form.d.ts.map +1 -0
  106. package/lib/forms/bank/bank-account/bank-account-allocation.form.d.ts.map +1 -0
  107. package/lib/forms/bank/bank-account/bank-account-import.form.d.ts.map +1 -0
  108. package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts.map +1 -0
  109. package/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts.map +1 -0
  110. package/lib/forms/bank/bank-login.form.d.ts.map +1 -0
  111. package/lib/forms/client/client-income-types.form.d.ts.map +1 -0
  112. package/lib/forms/depreciation/depreciation.form.d.ts.map +1 -0
  113. package/lib/forms/depreciation/index.d.ts.map +1 -0
  114. package/lib/forms/form-validations.enum.d.ts.map +1 -0
  115. package/lib/forms/index.d.ts.map +1 -0
  116. package/lib/forms/loan/index.d.ts.map +1 -0
  117. package/lib/forms/loan/loan.form.d.ts.map +1 -0
  118. package/lib/forms/login/login.form.d.ts.map +1 -0
  119. package/lib/forms/phone/index.d.ts.map +1 -0
  120. package/lib/forms/phone/phone.form.d.ts.map +1 -0
  121. package/lib/forms/property/index.d.ts.map +1 -0
  122. package/lib/forms/property/property-sale/index.d.ts.map +1 -0
  123. package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts.map +1 -0
  124. package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts.map +1 -0
  125. package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts.map +1 -0
  126. package/lib/forms/register/register-client.form.d.ts.map +1 -0
  127. package/lib/forms/register/register-firm.form.d.ts.map +1 -0
  128. package/lib/forms/report/my-tax/index.d.ts.map +1 -0
  129. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts.map +1 -0
  130. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts.map +1 -0
  131. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts.map +1 -0
  132. package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts.map +1 -0
  133. package/lib/forms/report/my-tax/my-tax-cgt.form.d.ts.map +1 -0
  134. package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts.map +1 -0
  135. package/lib/forms/report/my-tax/my-tax-dividends.form.d.ts.map +1 -0
  136. package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts.map +1 -0
  137. package/lib/forms/report/my-tax/my-tax-income-tests.form.d.ts.map +1 -0
  138. package/lib/forms/report/my-tax/my-tax-interest.form.d.ts.map +1 -0
  139. package/lib/forms/report/my-tax/my-tax-losses.form.d.ts.map +1 -0
  140. package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts.map +1 -0
  141. package/lib/forms/report/my-tax/my-tax-offsets.form.d.ts.map +1 -0
  142. package/lib/forms/report/my-tax/my-tax-other-income.form.d.ts.map +1 -0
  143. package/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts.map +1 -0
  144. package/lib/forms/report/my-tax/my-tax-rent.form.d.ts.map +1 -0
  145. package/lib/forms/sole/bas-report.form.d.ts.map +1 -0
  146. package/lib/forms/sole/index.d.ts.map +1 -0
  147. package/lib/forms/sole/sole-business-allocations.form.d.ts.map +1 -0
  148. package/lib/forms/sole/sole-business-loss.form.d.ts.map +1 -0
  149. package/lib/forms/sole/sole-business.form.d.ts.map +1 -0
  150. package/lib/forms/sole/sole-contact.form.d.ts.map +1 -0
  151. package/lib/forms/sole/sole-depreciation-method.form.d.ts.map +1 -0
  152. package/lib/forms/sole/sole-details.form.d.ts.map +1 -0
  153. package/lib/forms/sole/sole-invoice-item.form.d.ts.map +1 -0
  154. package/lib/forms/sole/sole-invoice-template.form.d.ts.map +1 -0
  155. package/lib/forms/sole/sole-invoice.form.d.ts.map +1 -0
  156. package/lib/forms/transaction/allocation-rule-condition.form.d.ts.map +1 -0
  157. package/lib/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts.map +1 -0
  158. package/lib/forms/transaction/allocation-rule-transaction.form.d.ts.map +1 -0
  159. package/lib/forms/transaction/allocation-rule.form.d.ts.map +1 -0
  160. package/lib/forms/transaction/index.d.ts.map +1 -0
  161. package/lib/forms/transaction/messages.enum.d.ts.map +1 -0
  162. package/lib/forms/transaction/transaction-base.form.d.ts.map +1 -0
  163. package/lib/forms/transaction/transaction.form.d.ts.map +1 -0
  164. package/lib/forms/transaction/work/work-expense.form.d.ts.map +1 -0
  165. package/lib/forms/transaction/work/work-income.form.d.ts.map +1 -0
  166. package/lib/forms/transaction/work/work-transaction.form.d.ts.map +1 -0
  167. package/lib/forms/user/index.d.ts.map +1 -0
  168. package/lib/forms/user/password.form.d.ts.map +1 -0
  169. package/lib/forms/user/reset-password.form.d.ts.map +1 -0
  170. package/lib/forms/user/user-invite.form.d.ts.map +1 -0
  171. package/lib/forms/vehicle/index.d.ts.map +1 -0
  172. package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +1 -0
  173. package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +1 -0
  174. package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +1 -0
  175. package/lib/forms/vehicle/vehicle.form.d.ts.map +1 -0
  176. package/lib/functions/clone-deep.d.ts.map +1 -0
  177. package/lib/functions/create-date.d.ts.map +1 -0
  178. package/lib/functions/enum-to-list.d.ts.map +1 -0
  179. package/lib/functions/get-doc-icon.d.ts.map +1 -0
  180. package/lib/functions/mat-options-functions.d.ts.map +1 -0
  181. package/lib/functions/mat-sort-options.d.ts.map +1 -0
  182. package/lib/functions/round-to.d.ts.map +1 -0
  183. package/lib/functions/tax-review-filter-predicate.d.ts.map +1 -0
  184. package/lib/interceptors/basiq-client-id.interceptor.d.ts.map +1 -0
  185. package/lib/interceptors/basiq-token.interceptor.d.ts.map +1 -0
  186. package/lib/interceptors/interceptors.module.d.ts.map +1 -0
  187. package/lib/interceptors/jwt-interceptor.d.ts.map +1 -0
  188. package/lib/interceptors/preloader.interceptor.d.ts.map +1 -0
  189. package/lib/interceptors/user-switcher-interceptor.d.ts.map +1 -0
  190. package/lib/interfaces/asset.interface.d.ts.map +1 -0
  191. package/lib/interfaces/auth-tokens.interface.d.ts.map +1 -0
  192. package/lib/interfaces/chart-data.interface.d.ts.map +1 -0
  193. package/lib/interfaces/chart-serie.interface.d.ts.map +1 -0
  194. package/lib/interfaces/event-listener.interface.d.ts.map +1 -0
  195. package/lib/interfaces/expense.interface.d.ts.map +1 -0
  196. package/lib/interfaces/income-source-forecast.interface.d.ts.map +1 -0
  197. package/lib/interfaces/index.d.ts.map +1 -0
  198. package/lib/interfaces/option.interface.d.ts.map +1 -0
  199. package/lib/interfaces/receipt.interface.d.ts.map +1 -0
  200. package/lib/interfaces/table-exportable.interface.d.ts.map +1 -0
  201. package/lib/interfaces/tank.interface.d.ts.map +1 -0
  202. package/lib/interfaces/updatable.interface.d.ts.map +1 -0
  203. package/lib/models/account-setup/account-setup-item.d.ts.map +1 -0
  204. package/lib/models/account-setup/account-setup-items.const.d.ts.map +1 -0
  205. package/lib/models/account-setup/account-setup-items.enum.d.ts.map +1 -0
  206. package/lib/models/badge/badge-color.enum.d.ts.map +1 -0
  207. package/lib/models/badge/badge.d.ts.map +1 -0
  208. package/lib/models/bank/allocation-group.d.ts.map +1 -0
  209. package/lib/models/bank/bank-account-chart-data.d.ts.map +1 -0
  210. package/lib/models/bank/bank-account-property.d.ts.map +1 -0
  211. package/lib/models/bank/bank-account-types.const.d.ts.map +1 -0
  212. package/lib/models/bank/bank-account.d.ts.map +1 -0
  213. package/lib/models/bank/bank-connection.d.ts.map +1 -0
  214. package/lib/models/bank/bank-external-stats.d.ts.map +1 -0
  215. package/lib/models/bank/bank-login-data.d.ts.map +1 -0
  216. package/lib/models/bank/bank-transaction-chart-data.d.ts.map +1 -0
  217. package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts.map +1 -0
  218. package/lib/models/bank/bank-transaction.d.ts.map +1 -0
  219. package/lib/models/bank/bank.d.ts.map +1 -0
  220. package/lib/models/bank/basiq/basiq-job-response.d.ts.map +1 -0
  221. package/lib/models/bank/basiq/basiq-job-step.d.ts.map +1 -0
  222. package/lib/models/bank/basiq/basiq-job.d.ts.map +1 -0
  223. package/lib/models/bank/basiq/basiq-token-response.interface.d.ts.map +1 -0
  224. package/lib/models/bank/basiq/basiq-token.d.ts.map +1 -0
  225. package/lib/models/bank/basiq/index.d.ts.map +1 -0
  226. package/lib/models/bank/index.d.ts.map +1 -0
  227. package/lib/models/bank/type-loan.const.d.ts.map +1 -0
  228. package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts.map +1 -0
  229. package/lib/models/borrowing-expense/borrowing-expense.d.ts.map +1 -0
  230. package/lib/models/borrowing-expense/index.d.ts.map +1 -0
  231. package/lib/models/chart/chart-data.d.ts.map +1 -0
  232. package/lib/models/chart/chart-serie.d.ts.map +1 -0
  233. package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts.map +1 -0
  234. package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts.map +1 -0
  235. package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
  236. package/lib/models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
  237. package/lib/models/chart-accounts/chart-accounts-meta-field.d.ts.map +1 -0
  238. package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts.map +1 -0
  239. package/lib/models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
  240. package/lib/models/chart-accounts/chart-accounts.d.ts +1 -0
  241. package/lib/models/chart-accounts/chart-accounts.d.ts.map +1 -0
  242. package/lib/models/chart-accounts/index.d.ts.map +1 -0
  243. package/lib/models/chat/chat-view-type.enum.d.ts.map +1 -0
  244. package/lib/models/chat/chat.d.ts.map +1 -0
  245. package/lib/models/chat/index.d.ts.map +1 -0
  246. package/lib/models/chat/message-document.d.ts.map +1 -0
  247. package/lib/models/chat/message.d.ts.map +1 -0
  248. package/lib/models/client/client-income-types.d.ts.map +1 -0
  249. package/lib/models/client/client-invite.d.ts.map +1 -0
  250. package/lib/models/client/client-movement.d.ts.map +1 -0
  251. package/lib/models/client/client-portfolio-chart-data.d.ts.map +1 -0
  252. package/lib/models/client/client-portfolio-report.d.ts.map +1 -0
  253. package/lib/models/color/alphabet-colors.enum.d.ts.map +1 -0
  254. package/lib/models/depreciation/depreciation-capital-project.d.ts.map +1 -0
  255. package/lib/models/depreciation/depreciation-forecast.d.ts.map +1 -0
  256. package/lib/models/depreciation/depreciation-group-item.d.ts.map +1 -0
  257. package/lib/models/depreciation/depreciation-group.d.ts.map +1 -0
  258. package/lib/models/depreciation/depreciation-group.enum.d.ts.map +1 -0
  259. package/lib/models/depreciation/depreciation-groups.const.d.ts.map +1 -0
  260. package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts.map +1 -0
  261. package/lib/models/depreciation/depreciation-receipt.d.ts.map +1 -0
  262. package/lib/models/depreciation/depreciation.d.ts.map +1 -0
  263. package/lib/models/depreciation/index.d.ts.map +1 -0
  264. package/lib/models/dictionary/dictionary.d.ts.map +1 -0
  265. package/lib/models/dictionary/index.d.ts.map +1 -0
  266. package/lib/models/document/document-api-url-prefix.enum.d.ts.map +1 -0
  267. package/lib/models/document/document-file-types.const.d.ts.map +1 -0
  268. package/lib/models/document/document-folder.d.ts.map +1 -0
  269. package/lib/models/document/document.d.ts.map +1 -0
  270. package/lib/models/document/index.d.ts.map +1 -0
  271. package/lib/models/employee/employee-invite.d.ts.map +1 -0
  272. package/lib/models/endpoint/endpoint.d.ts.map +1 -0
  273. package/lib/models/endpoint/endpoints.const.d.ts.map +1 -0
  274. package/lib/models/event/index.d.ts.map +1 -0
  275. package/lib/models/export/export-format.enum.d.ts.map +1 -0
  276. package/lib/models/export/export-row-data-type.enum.d.ts.map +1 -0
  277. package/lib/models/export/export-row.d.ts.map +1 -0
  278. package/lib/models/file/file.d.ts.map +1 -0
  279. package/lib/models/file/icons-file.enum.d.ts.map +1 -0
  280. package/lib/models/file/index.d.ts.map +1 -0
  281. package/lib/models/financial-year/financial-year.d.ts.map +1 -0
  282. package/lib/models/financial-year/index.d.ts.map +1 -0
  283. package/lib/models/financial-year/month-name-short.enum.d.ts.map +1 -0
  284. package/lib/models/financial-year/month-number.enum.d.ts.map +1 -0
  285. package/lib/models/financial-year/months.const.d.ts.map +1 -0
  286. package/lib/models/income-position/income-position.d.ts.map +1 -0
  287. package/lib/models/income-source/income-source-chart-data.d.ts.map +1 -0
  288. package/lib/models/income-source/income-source-forecast.d.ts.map +1 -0
  289. package/lib/models/income-source/income-source-type.d.ts.map +1 -0
  290. package/lib/models/income-source/income-source.d.ts.map +1 -0
  291. package/lib/models/income-source/salary-forecast.d.ts.map +1 -0
  292. package/lib/models/income-source/sole-forecast.d.ts.map +1 -0
  293. package/lib/models/index.d.ts.map +1 -0
  294. package/lib/models/loan/index.d.ts.map +1 -0
  295. package/lib/models/loan/loan-max-number-of-payments.enum.d.ts.map +1 -0
  296. package/lib/models/loan/loan.d.ts.map +1 -0
  297. package/lib/models/notification/index.d.ts.map +1 -0
  298. package/lib/models/notification/notification.d.ts.map +1 -0
  299. package/lib/models/pdf/pdf-orientation.enum.d.ts.map +1 -0
  300. package/lib/models/pdf/pdf-settings.d.ts.map +1 -0
  301. package/lib/models/property/calculation-form-item.d.ts.map +1 -0
  302. package/lib/models/property/calculation-form-type.enum.d.ts.map +1 -0
  303. package/lib/models/property/capital-costs-itmes.const.d.ts.map +1 -0
  304. package/lib/models/property/index.d.ts.map +1 -0
  305. package/lib/models/property/property-category-movement.d.ts.map +1 -0
  306. package/lib/models/property/property-category.d.ts.map +1 -0
  307. package/lib/models/property/property-document.d.ts.map +1 -0
  308. package/lib/models/property/property-equity-chart-data.d.ts.map +1 -0
  309. package/lib/models/property/property-equity-chart-item.d.ts.map +1 -0
  310. package/lib/models/property/property-equity-chart-type.enum.d.ts.map +1 -0
  311. package/lib/models/property/property-forecast.d.ts.map +1 -0
  312. package/lib/models/property/property-sale/index.d.ts.map +1 -0
  313. package/lib/models/property/property-sale/property-sale-cost-base.d.ts.map +1 -0
  314. package/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +1 -0
  315. package/lib/models/property/property-sale/property-sale.d.ts.map +1 -0
  316. package/lib/models/property/property-sale/tax-exemption-meta-field.d.ts.map +1 -0
  317. package/lib/models/property/property-sale/tax-exemption.d.ts.map +1 -0
  318. package/lib/models/property/property-share.d.ts.map +1 -0
  319. package/lib/models/property/property-subscription.d.ts.map +1 -0
  320. package/lib/models/property/property-valuation.d.ts.map +1 -0
  321. package/lib/models/property/property.d.ts.map +1 -0
  322. package/lib/models/property/share-filter-options.enum.d.ts.map +1 -0
  323. package/lib/models/registration-invite/registration-invite.d.ts.map +1 -0
  324. package/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts.map +1 -0
  325. package/lib/models/report/depreciation/depreciation-lvp-report-item.d.ts.map +1 -0
  326. package/lib/models/report/depreciation/depreciation-report-item.d.ts.map +1 -0
  327. package/lib/models/report/depreciation/index.d.ts.map +1 -0
  328. package/lib/models/report/index.d.ts.map +1 -0
  329. package/lib/models/report/my-tax/ato-links.d.ts.map +1 -0
  330. package/lib/models/report/my-tax/index.d.ts.map +1 -0
  331. package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts.map +1 -0
  332. package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts.map +1 -0
  333. package/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts.map +1 -0
  334. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts.map +1 -0
  335. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts.map +1 -0
  336. package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts.map +1 -0
  337. package/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts.map +1 -0
  338. package/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts.map +1 -0
  339. package/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts.map +1 -0
  340. package/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts.map +1 -0
  341. package/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts.map +1 -0
  342. package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts.map +1 -0
  343. package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts.map +1 -0
  344. package/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts.map +1 -0
  345. package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts.map +1 -0
  346. package/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts.map +1 -0
  347. package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts.map +1 -0
  348. package/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts.map +1 -0
  349. package/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts.map +1 -0
  350. package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts.map +1 -0
  351. package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts.map +1 -0
  352. package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts.map +1 -0
  353. package/lib/models/report/property/index.d.ts.map +1 -0
  354. package/lib/models/report/property/property-report-item-depreciation.d.ts.map +1 -0
  355. package/lib/models/report/property/property-report-item-transaction.d.ts.map +1 -0
  356. package/lib/models/report/property/property-report-item.d.ts.map +1 -0
  357. package/lib/models/report/sole/index.d.ts.map +1 -0
  358. package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts.map +1 -0
  359. package/lib/models/report/vehicle-expense/vehicle-expense.d.ts.map +1 -0
  360. package/lib/models/service-subscription/index.d.ts.map +1 -0
  361. package/lib/models/service-subscription/module-url-list.const.d.ts.map +1 -0
  362. package/lib/models/service-subscription/payment-method-brand.enum.d.ts.map +1 -0
  363. package/lib/models/service-subscription/service-payment-method.d.ts.map +1 -0
  364. package/lib/models/service-subscription/service-payment.d.ts.map +1 -0
  365. package/lib/models/service-subscription/service-subscription.d.ts.map +1 -0
  366. package/lib/models/service-subscription/stripe-promo-code.d.ts.map +1 -0
  367. package/lib/models/sole/bas-report.d.ts.map +1 -0
  368. package/lib/models/sole/index.d.ts.map +1 -0
  369. package/lib/models/sole/sole-business-activity.d.ts.map +1 -0
  370. package/lib/models/sole/sole-business-allocation.d.ts.map +1 -0
  371. package/lib/models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
  372. package/lib/models/sole/sole-business-loss.d.ts.map +1 -0
  373. package/lib/models/sole/sole-business.d.ts.map +1 -0
  374. package/lib/models/sole/sole-contact.d.ts.map +1 -0
  375. package/lib/models/sole/sole-depreciation-method.d.ts.map +1 -0
  376. package/lib/models/sole/sole-details.d.ts.map +1 -0
  377. package/lib/models/sole/sole-invoice-item.d.ts.map +1 -0
  378. package/lib/models/sole/sole-invoice-template.d.ts.map +1 -0
  379. package/lib/models/sole/sole-invoice.d.ts.map +1 -0
  380. package/lib/models/tax-review/tax-review.d.ts.map +1 -0
  381. package/lib/models/tax-summary/report-item-details.d.ts.map +1 -0
  382. package/lib/models/tax-summary/report-item.d.ts.map +1 -0
  383. package/lib/models/tax-summary/tax-summary-section.d.ts.map +1 -0
  384. package/lib/models/tax-summary/tax-summary-type.enum.d.ts.map +1 -0
  385. package/lib/models/tax-summary/tax-summary.d.ts.map +1 -0
  386. package/lib/models/toast/toast-type.enum.d.ts.map +1 -0
  387. package/lib/models/toast/toast.d.ts.map +1 -0
  388. package/lib/models/transaction/allocation-rule-condition.d.ts +4 -0
  389. package/lib/models/transaction/allocation-rule-condition.d.ts.map +1 -0
  390. package/lib/models/transaction/allocation-rule-transaction-meta-field.d.ts.map +1 -0
  391. package/lib/models/transaction/allocation-rule-transaction.d.ts +5 -1
  392. package/lib/models/transaction/allocation-rule-transaction.d.ts.map +1 -0
  393. package/lib/models/transaction/allocation-rule.d.ts +19 -1
  394. package/lib/models/transaction/allocation-rule.d.ts.map +1 -0
  395. package/lib/models/transaction/income-amount-type.enum.d.ts.map +1 -0
  396. package/lib/models/transaction/index.d.ts.map +1 -0
  397. package/lib/models/transaction/transaction-allocation.d.ts.map +1 -0
  398. package/lib/models/transaction/transaction-category.enum.d.ts.map +1 -0
  399. package/lib/models/transaction/transaction-meta-field.d.ts.map +1 -0
  400. package/lib/models/transaction/transaction-receipt.d.ts.map +1 -0
  401. package/lib/models/transaction/transaction.d.ts.map +1 -0
  402. package/lib/models/user/index.d.ts.map +1 -0
  403. package/lib/models/user/my-account-history-initiated-by.enum.d.ts.map +1 -0
  404. package/lib/models/user/my-account-history-status.enum.d.ts.map +1 -0
  405. package/lib/models/user/my-account-history-type.enum.d.ts.map +1 -0
  406. package/lib/models/user/my-account-history.d.ts.map +1 -0
  407. package/lib/models/user/occupation.d.ts.map +1 -0
  408. package/lib/models/user/user-roles.const.d.ts.map +1 -0
  409. package/lib/models/user/user-to-register.d.ts.map +1 -0
  410. package/lib/models/user/user.d.ts.map +1 -0
  411. package/lib/models/user-event/user-event-setting-field.enum.d.ts.map +1 -0
  412. package/lib/models/user-event/user-event-setting.d.ts.map +1 -0
  413. package/lib/models/user-event/user-event-type-category.d.ts.map +1 -0
  414. package/lib/models/user-event/user-event-type.d.ts.map +1 -0
  415. package/lib/models/vehicle/index.d.ts.map +1 -0
  416. package/lib/models/vehicle/logbook-period.d.ts.map +1 -0
  417. package/lib/models/vehicle/vehicle-claim-details.d.ts.map +1 -0
  418. package/lib/models/vehicle/vehicle-claim.d.ts.map +1 -0
  419. package/lib/models/vehicle/vehicle-logbook.d.ts.map +1 -0
  420. package/lib/models/vehicle/vehicle.d.ts.map +1 -0
  421. package/lib/services/account-setup/account-setup.service.d.ts.map +1 -0
  422. package/lib/services/account-setup/index.d.ts.map +1 -0
  423. package/lib/services/affiliate/index.d.ts.map +1 -0
  424. package/lib/services/affiliate/rewardful/index.d.ts.map +1 -0
  425. package/lib/services/affiliate/rewardful/rewardful.service.d.ts.map +1 -0
  426. package/lib/services/asset/assets.service.d.ts.map +1 -0
  427. package/lib/services/asset/index.d.ts.map +1 -0
  428. package/lib/services/auth/auth.service.d.ts.map +1 -0
  429. package/lib/services/auth/index.d.ts.map +1 -0
  430. package/lib/services/auth/jwt.service.d.ts.map +1 -0
  431. package/lib/services/bank/bank-account-calculation.service.d.ts.map +1 -0
  432. package/lib/services/bank/bank-transaction-calculation.service.d.ts.map +1 -0
  433. package/lib/services/bank/index.d.ts.map +1 -0
  434. package/lib/services/export/export-formatter.service.d.ts.map +1 -0
  435. package/lib/services/export/index.d.ts.map +1 -0
  436. package/lib/services/header-title/header-title.service.d.ts.map +1 -0
  437. package/lib/services/header-title/index.d.ts.map +1 -0
  438. package/lib/services/http/address/address.service.d.ts.map +1 -0
  439. package/lib/services/http/address/index.d.ts.map +1 -0
  440. package/lib/services/http/bank/bank-account/bank-account.service.d.ts.map +1 -0
  441. package/lib/services/http/bank/bank-account/index.d.ts.map +1 -0
  442. package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts.map +1 -0
  443. package/lib/services/http/bank/bank-connection/index.d.ts.map +1 -0
  444. package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts.map +1 -0
  445. package/lib/services/http/bank/bank-transaction/index.d.ts.map +1 -0
  446. package/lib/services/http/bank/bank.service.d.ts.map +1 -0
  447. package/lib/services/http/bank/basiq/basiq-token.service.d.ts.map +1 -0
  448. package/lib/services/http/bank/basiq/basiq.service.d.ts.map +1 -0
  449. package/lib/services/http/bank/basiq/index.d.ts.map +1 -0
  450. package/lib/services/http/bank/index.d.ts.map +1 -0
  451. package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts.map +1 -0
  452. package/lib/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts.map +1 -0
  453. package/lib/services/http/chart-accounts/chart-accounts.service.d.ts.map +1 -0
  454. package/lib/services/http/chart-accounts/index.d.ts.map +1 -0
  455. package/lib/services/http/chat/chat.service.d.ts.map +1 -0
  456. package/lib/services/http/chat/index.d.ts.map +1 -0
  457. package/lib/services/http/chat/message-document.service.d.ts.map +1 -0
  458. package/lib/services/http/chat/message.service.d.ts.map +1 -0
  459. package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts.map +1 -0
  460. package/lib/services/http/depreciation/depreciation-capital-project/index.d.ts.map +1 -0
  461. package/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.d.ts.map +1 -0
  462. package/lib/services/http/depreciation/depreciation-receipt/index.d.ts.map +1 -0
  463. package/lib/services/http/depreciation/depreciation.service.d.ts.map +1 -0
  464. package/lib/services/http/depreciation/index.d.ts.map +1 -0
  465. package/lib/services/http/document/document-folder/document-folder.service.d.ts.map +1 -0
  466. package/lib/services/http/document/document.service.d.ts.map +1 -0
  467. package/lib/services/http/document/index.d.ts.map +1 -0
  468. package/lib/services/http/facebook/facebook-auth-options.interface.d.ts.map +1 -0
  469. package/lib/services/http/facebook/facebook-auth-response.interface.d.ts.map +1 -0
  470. package/lib/services/http/facebook/facebook-status-response.interface.d.ts.map +1 -0
  471. package/lib/services/http/facebook/facebook.service.d.ts.map +1 -0
  472. package/lib/services/http/facebook/index.d.ts.map +1 -0
  473. package/lib/services/http/file/file.service.d.ts.map +1 -0
  474. package/lib/services/http/file/index.d.ts.map +1 -0
  475. package/lib/services/http/firm/client-income/client-income-types.service.d.ts.map +1 -0
  476. package/lib/services/http/firm/client-income/index.d.ts.map +1 -0
  477. package/lib/services/http/firm/client-invite/client-invite.service.d.ts.map +1 -0
  478. package/lib/services/http/firm/client-invite/index.d.ts.map +1 -0
  479. package/lib/services/http/firm/client-movement/client-movement.service.d.ts.map +1 -0
  480. package/lib/services/http/firm/client-movement/index.d.ts.map +1 -0
  481. package/lib/services/http/firm/employee/employee.service.d.ts.map +1 -0
  482. package/lib/services/http/firm/employee/index.d.ts.map +1 -0
  483. package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts.map +1 -0
  484. package/lib/services/http/firm/employee-invite/index.d.ts.map +1 -0
  485. package/lib/services/http/firm/firm.service.d.ts.map +1 -0
  486. package/lib/services/http/firm/index.d.ts.map +1 -0
  487. package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts.map +1 -0
  488. package/lib/services/http/firm/portfolio-report/index.d.ts.map +1 -0
  489. package/lib/services/http/google/google.service.d.ts.map +1 -0
  490. package/lib/services/http/google/index.d.ts.map +1 -0
  491. package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts.map +1 -0
  492. package/lib/services/http/income-source/income-source-forecast/index.d.ts.map +1 -0
  493. package/lib/services/http/income-source/income-source.service.d.ts.map +1 -0
  494. package/lib/services/http/income-source/index.d.ts.map +1 -0
  495. package/lib/services/http/income-source/salary-forecast/index.d.ts.map +1 -0
  496. package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts.map +1 -0
  497. package/lib/services/http/income-source/sole-forecast/index.d.ts.map +1 -0
  498. package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts.map +1 -0
  499. package/lib/services/http/index.d.ts.map +1 -0
  500. package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts.map +1 -0
  501. package/lib/services/http/loan/borrowing-expense/index.d.ts.map +1 -0
  502. package/lib/services/http/loan/index.d.ts.map +1 -0
  503. package/lib/services/http/loan/loan.service.d.ts.map +1 -0
  504. package/lib/services/http/property/index.d.ts.map +1 -0
  505. package/lib/services/http/property/property-category/index.d.ts.map +1 -0
  506. package/lib/services/http/property/property-category/property-category.service.d.ts.map +1 -0
  507. package/lib/services/http/property/property-category-movement/index.d.ts.map +1 -0
  508. package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts.map +1 -0
  509. package/lib/services/http/property/property-document/index.d.ts.map +1 -0
  510. package/lib/services/http/property/property-document/property-document.service.d.ts.map +1 -0
  511. package/lib/services/http/property/property-sale/index.d.ts.map +1 -0
  512. package/lib/services/http/property/property-sale/property-sale.service.d.ts.map +1 -0
  513. package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts.map +1 -0
  514. package/lib/services/http/property/property-share/index.d.ts.map +1 -0
  515. package/lib/services/http/property/property-share/property-share.service.d.ts.map +1 -0
  516. package/lib/services/http/property/property.service.d.ts.map +1 -0
  517. package/lib/services/http/receipt/index.d.ts.map +1 -0
  518. package/lib/services/http/receipt/receipt.service.d.ts.map +1 -0
  519. package/lib/services/http/rest/http-method.type.d.ts.map +1 -0
  520. package/lib/services/http/rest/index.d.ts.map +1 -0
  521. package/lib/services/http/rest/rest-method.type.d.ts.map +1 -0
  522. package/lib/services/http/rest/rest-old.service.d.ts.map +1 -0
  523. package/lib/services/http/rest/rest.service.d.ts.map +1 -0
  524. package/lib/services/http/service-notification/index.d.ts.map +1 -0
  525. package/lib/services/http/service-notification/service-notification.service.d.ts.map +1 -0
  526. package/lib/services/http/sole/bas-report/bas-report.service.d.ts.map +1 -0
  527. package/lib/services/http/sole/index.d.ts.map +1 -0
  528. package/lib/services/http/sole/sole-business/messages.enum.d.ts.map +1 -0
  529. package/lib/services/http/sole/sole-business/sole-business.service.d.ts.map +1 -0
  530. package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts.map +1 -0
  531. package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts.map +1 -0
  532. package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts.map +1 -0
  533. package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts.map +1 -0
  534. package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts.map +1 -0
  535. package/lib/services/http/sole/sole-details/sole-details.service.d.ts.map +1 -0
  536. package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts.map +1 -0
  537. package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts.map +1 -0
  538. package/lib/services/http/subscription/index.d.ts.map +1 -0
  539. package/lib/services/http/subscription/service-payment/service-payment.service.d.ts.map +1 -0
  540. package/lib/services/http/subscription/service-payment-method/service-payment-method.service.d.ts.map +1 -0
  541. package/lib/services/http/subscription/service-price/service-price.service.d.ts.map +1 -0
  542. package/lib/services/http/subscription/service-product/service-product.service.d.ts.map +1 -0
  543. package/lib/services/http/subscription/service-subscription/subscription.service.d.ts.map +1 -0
  544. package/lib/services/http/tax-review/index.d.ts.map +1 -0
  545. package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts.map +1 -0
  546. package/lib/services/http/tax-review/tax-review.service.d.ts.map +1 -0
  547. package/lib/services/http/tax-summary/index.d.ts.map +1 -0
  548. package/lib/services/http/tax-summary/tax-summary.service.d.ts.map +1 -0
  549. package/lib/services/http/transaction/index.d.ts.map +1 -0
  550. package/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts.map +1 -0
  551. package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts.map +1 -0
  552. package/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.d.ts.map +1 -0
  553. package/lib/services/http/transaction/transaction.service.d.ts.map +1 -0
  554. package/lib/services/http/tutorial-video/index.d.ts.map +1 -0
  555. package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts.map +1 -0
  556. package/lib/services/http/tutorial-video/tutorial-video.service.d.ts.map +1 -0
  557. package/lib/services/http/tutorial-video/video-source.interface.d.ts.map +1 -0
  558. package/lib/services/http/user/index.d.ts.map +1 -0
  559. package/lib/services/http/user/occupation/occupation.service.d.ts.map +1 -0
  560. package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts.map +1 -0
  561. package/lib/services/http/user/user-event-type/user-event-type.service.d.ts.map +1 -0
  562. package/lib/services/http/user/user.service.d.ts.map +1 -0
  563. package/lib/services/http/user/users-invite/users-invite.service.d.ts.map +1 -0
  564. package/lib/services/http/vehicle/index.d.ts.map +1 -0
  565. package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts.map +1 -0
  566. package/lib/services/http/vehicle/vehicle-claim.service.d.ts.map +1 -0
  567. package/lib/services/http/vehicle/vehicle-logbook.service.d.ts.map +1 -0
  568. package/lib/services/http/vehicle/vehicle.service.d.ts.map +1 -0
  569. package/lib/services/index.d.ts.map +1 -0
  570. package/lib/services/intercom/index.d.ts.map +1 -0
  571. package/lib/services/intercom/intercom.service.d.ts.map +1 -0
  572. package/lib/services/pdf/index.d.ts.map +1 -0
  573. package/lib/services/pdf/js-pdf.d.ts.map +1 -0
  574. package/lib/services/pdf/pdf-from-dom-element/file-settings.d.ts.map +1 -0
  575. package/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts.map +1 -0
  576. package/lib/services/pdf/pdf-from-table/file-settings.d.ts.map +1 -0
  577. package/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts.map +1 -0
  578. package/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts.map +1 -0
  579. package/lib/services/pdf/pdf-from-table/pdf-from-table.service.d.ts.map +1 -0
  580. package/lib/services/preloader/index.d.ts.map +1 -0
  581. package/lib/services/preloader/preloader.service.d.ts.map +1 -0
  582. package/lib/services/property/corelogic/index.d.ts.map +1 -0
  583. package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts.map +1 -0
  584. package/lib/services/property/equity-position-chart/index.d.ts.map +1 -0
  585. package/lib/services/property/index.d.ts.map +1 -0
  586. package/lib/services/property/property-calculation/index.d.ts.map +1 -0
  587. package/lib/services/property/property-calculation/property-calculation.service.d.ts.map +1 -0
  588. package/lib/services/report/index.d.ts.map +1 -0
  589. package/lib/services/report/property/property-transaction-report.service.d.ts.map +1 -0
  590. package/lib/services/toast/index.d.ts.map +1 -0
  591. package/lib/services/toast/toast.service.d.ts.map +1 -0
  592. package/lib/services/transaction/index.d.ts.map +1 -0
  593. package/lib/services/transaction/transaction-calculation.service.d.ts.map +1 -0
  594. package/lib/services/user/index.d.ts.map +1 -0
  595. package/lib/services/user/user-switcher.service.d.ts.map +1 -0
  596. package/lib/services/vehicle/index.d.ts.map +1 -0
  597. package/lib/services/vehicle/logbook-best-period.service.d.ts.map +1 -0
  598. package/lib/services/xlsx/index.d.ts.map +1 -0
  599. package/lib/services/xlsx/xlsx.service.d.ts.map +1 -0
  600. package/lib/tt-core.module.d.ts.map +1 -0
  601. package/lib/validators/address-corelogic.validator.d.ts.map +1 -0
  602. package/lib/validators/at-least-one-enabled.validator.d.ts.map +1 -0
  603. package/lib/validators/at-least-one.validator.d.ts.map +1 -0
  604. package/lib/validators/autocomplete.validator.d.ts.map +1 -0
  605. package/lib/validators/conditional.validator.d.ts.map +1 -0
  606. package/lib/validators/current-fin-year.validator.d.ts.map +1 -0
  607. package/lib/validators/date-range.validator.d.ts.map +1 -0
  608. package/lib/validators/fields-sum.validator.d.ts.map +1 -0
  609. package/lib/validators/file.validator.d.ts.map +1 -0
  610. package/lib/validators/index.d.ts.map +1 -0
  611. package/lib/validators/min-date/messages.enum.d.ts.map +1 -0
  612. package/lib/validators/min-date/min-date.validator.d.ts.map +1 -0
  613. package/lib/validators/password-match.validator.d.ts.map +1 -0
  614. package/lib/validators/password.validator.d.ts.map +1 -0
  615. package/lib/validators/phone-number.validator.d.ts.map +1 -0
  616. package/lib/validators/required-length.validator.d.ts.map +1 -0
  617. package/package.json +1 -1
  618. package/public-api.d.ts.map +1 -0
  619. package/taxtank-core.d.ts.map +1 -0
@@ -18,8 +18,8 @@ import uniqBy from 'lodash/uniqBy';
18
18
  import differenceBy from 'lodash/differenceBy';
19
19
  import moment from 'moment';
20
20
  import { DateRange } from 'moment-range';
21
- import { Validators, UntypedFormGroup, UntypedFormControl, UntypedFormArray, FormArray, FormGroup, FormControl } from '@angular/forms';
22
21
  import intersection from 'lodash/intersection';
22
+ import { Validators, UntypedFormGroup, UntypedFormControl, UntypedFormArray, FormArray, FormGroup, FormControl } from '@angular/forms';
23
23
  import compact from 'lodash/compact';
24
24
  import concat from 'lodash/concat';
25
25
  import cloneDeep$1 from 'lodash/cloneDeep';
@@ -3024,6 +3024,9 @@ class ChartAccounts extends ChartAccounts$1 {
3024
3024
  isTaxable() {
3025
3025
  return !this.isNRAS() && this.isWorkIncome();
3026
3026
  }
3027
+ isTransfer() {
3028
+ return this.id === ChartAccountsListEnum.TRANSFER;
3029
+ }
3027
3030
  }
3028
3031
  /**
3029
3032
  * Australian GST percent value (VAT)
@@ -3063,6 +3066,36 @@ let AllocationRuleCondition$1 = class AllocationRuleCondition extends AbstractMo
3063
3066
  };
3064
3067
 
3065
3068
  class AllocationRuleCondition extends AllocationRuleCondition$1 {
3069
+ matchBankTransaction(bankTransaction) {
3070
+ return this.field === AllocationRuleConditionFieldEnum.AMOUNT ? this.matchBankTransactionByAmount(bankTransaction) : this.matchBankTransactionByDescription(bankTransaction);
3071
+ }
3072
+ matchBankTransactionByAmount(bankTransaction) {
3073
+ // Amount should be compared as number
3074
+ const value = +this.value;
3075
+ switch (this.comparisonOperator) {
3076
+ case AllocationRuleConditionComparisonOperatorEnum.EQUALS:
3077
+ return bankTransaction.amount === value;
3078
+ case AllocationRuleConditionComparisonOperatorEnum.EQUALS_OR_LESS:
3079
+ return bankTransaction.amount <= value;
3080
+ case AllocationRuleConditionComparisonOperatorEnum.EQUALS_OR_GREATER:
3081
+ return bankTransaction.amount >= value;
3082
+ }
3083
+ return false;
3084
+ }
3085
+ matchBankTransactionByDescription(bankTransaction) {
3086
+ // Prepare value and description for comparison
3087
+ const description = bankTransaction.description.toLowerCase();
3088
+ const value = this.value.trim().toLowerCase();
3089
+ switch (this.comparisonOperator) {
3090
+ case AllocationRuleConditionComparisonOperatorEnum.EQUALS:
3091
+ return description === value;
3092
+ case AllocationRuleConditionComparisonOperatorEnum.CONTAINS:
3093
+ return description.includes(value);
3094
+ case AllocationRuleConditionComparisonOperatorEnum.STARTS:
3095
+ return description.startsWith(value);
3096
+ }
3097
+ return false;
3098
+ }
3066
3099
  }
3067
3100
 
3068
3101
  let AllocationRuleTransaction$1 = class AllocationRuleTransaction extends TransactionBase {
@@ -3239,6 +3272,12 @@ __decorate([
3239
3272
  Type(() => Date)
3240
3273
  ], IncomeSource.prototype, "dateTo", void 0);
3241
3274
 
3275
+ var TransactionSourceEnum;
3276
+ (function (TransactionSourceEnum) {
3277
+ TransactionSourceEnum[TransactionSourceEnum["CASH"] = 1] = "CASH";
3278
+ TransactionSourceEnum[TransactionSourceEnum["BANK_TRANSACTION"] = 2] = "BANK_TRANSACTION";
3279
+ })(TransactionSourceEnum || (TransactionSourceEnum = {}));
3280
+
3242
3281
  class AllocationRuleTransaction extends AllocationRuleTransaction$1 {
3243
3282
  calculateClaimPercent() {
3244
3283
  if (!this.chartAccounts) {
@@ -3253,26 +3292,63 @@ class AllocationRuleTransaction extends AllocationRuleTransaction$1 {
3253
3292
  }
3254
3293
  return claimPercent;
3255
3294
  }
3295
+ /**
3296
+ * Create Transaction instance based on passed bank transaction and rule transaction
3297
+ */
3298
+ toTransaction(bankTransaction) {
3299
+ return plainToClass(Transaction, {
3300
+ amount: bankTransaction.amount,
3301
+ description: bankTransaction.description,
3302
+ type: bankTransaction.type,
3303
+ date: bankTransaction.date,
3304
+ source: TransactionSourceEnum.BANK_TRANSACTION,
3305
+ tax: this.tax,
3306
+ claimPercent: this.claimPercent,
3307
+ isGST: this.isGST,
3308
+ chartAccounts: this.chartAccounts,
3309
+ property: this.property,
3310
+ loan: this.loan,
3311
+ incomeSource: this.incomeSource,
3312
+ metaFields: this.metaFields,
3313
+ parentTransaction: this.parentTransaction,
3314
+ childTransactions: this.childTransactions,
3315
+ business: this.business,
3316
+ operation: TransactionOperationEnum.ALLOCATE,
3317
+ allocations: [TransactionAllocation.create(bankTransaction.amount, bankTransaction)],
3318
+ });
3319
+ }
3256
3320
  }
3257
3321
  __decorate([
3258
- Type(() => ChartAccounts),
3259
- Transform(({ value }) => { return { id: value.id }; }, { toPlainOnly: true })
3322
+ Type(() => ChartAccounts)
3323
+ // @TODO Alex: Create custom decorator for this transform
3324
+ ,
3325
+ Transform(({ value }) => {
3326
+ return { id: value.id };
3327
+ }, { toPlainOnly: true })
3260
3328
  ], AllocationRuleTransaction.prototype, "chartAccounts", void 0);
3261
3329
  __decorate([
3262
3330
  Type(() => Property),
3263
- Transform(({ value }) => { return value ? { id: value.id } : null; }, { toPlainOnly: true })
3331
+ Transform(({ value }) => {
3332
+ return value ? { id: value.id } : null;
3333
+ }, { toPlainOnly: true })
3264
3334
  ], AllocationRuleTransaction.prototype, "property", void 0);
3265
3335
  __decorate([
3266
3336
  Type(() => Loan),
3267
- Transform(({ value }) => { return value ? { id: value.id } : null; }, { toPlainOnly: true })
3337
+ Transform(({ value }) => {
3338
+ return value ? { id: value.id } : null;
3339
+ }, { toPlainOnly: true })
3268
3340
  ], AllocationRuleTransaction.prototype, "loan", void 0);
3269
3341
  __decorate([
3270
3342
  Type(() => IncomeSource),
3271
- Transform(({ value }) => { return value ? { id: value.id } : null; }, { toPlainOnly: true })
3343
+ Transform(({ value }) => {
3344
+ return value ? { id: value.id } : null;
3345
+ }, { toPlainOnly: true })
3272
3346
  ], AllocationRuleTransaction.prototype, "incomeSource", void 0);
3273
3347
  __decorate([
3274
3348
  Type(() => SoleBusiness),
3275
- Transform(({ value }) => { return value ? { id: value.id } : null; }, { toPlainOnly: true })
3349
+ Transform(({ value }) => {
3350
+ return value ? { id: value.id } : null;
3351
+ }, { toPlainOnly: true })
3276
3352
  ], AllocationRuleTransaction.prototype, "business", void 0);
3277
3353
  __decorate([
3278
3354
  Type(() => AllocationRuleTransactionMetaField)
@@ -3342,6 +3418,65 @@ class AllocationRule extends AllocationRule$1 {
3342
3418
  isSoleIncome() {
3343
3419
  return this.isIncome() && this.isSoleTank();
3344
3420
  }
3421
+ /**
3422
+ * @TODO Alex: move to collection
3423
+ */
3424
+ matchBankTransaction(bankTransaction) {
3425
+ return this.conditionOperator === AllocationRuleConditionOperatorEnum.AND ? this.checkAnd(bankTransaction) : this.checkOr(bankTransaction);
3426
+ }
3427
+ createTransaction(bankTransaction) {
3428
+ if (this.isTransfer()) {
3429
+ const transaction = bankTransaction.toTransaction();
3430
+ transaction.operation = TransactionOperationEnum.TRANSFER;
3431
+ transaction.chartAccounts = plainToClass(ChartAccounts, { id: ChartAccountsListEnum.TRANSFER });
3432
+ return transaction;
3433
+ }
3434
+ return this.transaction.toTransaction(bankTransaction);
3435
+ }
3436
+ /**
3437
+ * Rule is matched when all conditions matched
3438
+ */
3439
+ checkAnd(bankTransaction) {
3440
+ for (let condition of this.conditions) {
3441
+ if (!condition.matchBankTransaction(bankTransaction)) {
3442
+ return false;
3443
+ }
3444
+ }
3445
+ return true;
3446
+ }
3447
+ /**
3448
+ * Rule is matched when at least one condition matched
3449
+ */
3450
+ checkOr(bankTransaction) {
3451
+ for (let condition of this.conditions) {
3452
+ if (condition.matchBankTransaction(bankTransaction)) {
3453
+ return true;
3454
+ }
3455
+ }
3456
+ return false;
3457
+ }
3458
+ /**
3459
+ * Create allocation rule based on bank transaction (just prefill rule fields with bank transaction values)
3460
+ */
3461
+ static fromBankTransaction(bankTransaction) {
3462
+ return plainToClass(AllocationRule, {
3463
+ type: bankTransaction.isDebit() ? AllocationRuleTypeEnum.EXPENSE : AllocationRuleTypeEnum.INCOME,
3464
+ bankAccount: bankTransaction.bankAccount,
3465
+ conditionOperator: AllocationRuleConditionOperatorEnum.AND,
3466
+ conditions: [
3467
+ plainToClass(AllocationRuleCondition, {
3468
+ field: AllocationRuleConditionFieldEnum.AMOUNT,
3469
+ comparisonOperator: AllocationRuleConditionComparisonOperatorEnum.EQUALS,
3470
+ value: bankTransaction.amount
3471
+ }),
3472
+ plainToClass(AllocationRuleCondition, {
3473
+ field: AllocationRuleConditionFieldEnum.DESCRIPTION,
3474
+ comparisonOperator: AllocationRuleConditionComparisonOperatorEnum.EQUALS,
3475
+ value: bankTransaction.description
3476
+ })
3477
+ ]
3478
+ });
3479
+ }
3345
3480
  }
3346
3481
  __decorate([
3347
3482
  Type(() => BankAccount),
@@ -3372,12 +3507,6 @@ var TransactionTypeEnum;
3372
3507
  TransactionTypeEnum[TransactionTypeEnum["CREDIT"] = 2] = "CREDIT";
3373
3508
  })(TransactionTypeEnum || (TransactionTypeEnum = {}));
3374
3509
 
3375
- var TransactionSourceEnum;
3376
- (function (TransactionSourceEnum) {
3377
- TransactionSourceEnum[TransactionSourceEnum["CASH"] = 1] = "CASH";
3378
- TransactionSourceEnum[TransactionSourceEnum["BANK_TRANSACTION"] = 2] = "BANK_TRANSACTION";
3379
- })(TransactionSourceEnum || (TransactionSourceEnum = {}));
3380
-
3381
3510
  var TaxExemptionEnum;
3382
3511
  (function (TaxExemptionEnum) {
3383
3512
  TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
@@ -6320,6 +6449,18 @@ class AllocationRuleCollection extends Collection {
6320
6449
  getTransfer() {
6321
6450
  return this.filterBy('type', AllocationRuleTypeEnum.TRANSFER);
6322
6451
  }
6452
+ /**
6453
+ * Get dictionary where key is bank transaction id and value is collection of matched rules.
6454
+ * Group by this way for better performance
6455
+ * @TODO Alex: break bank transactions by pagination in case of bad performance
6456
+ */
6457
+ groupByBankTransaction(bankTransactions) {
6458
+ const rulesByBankTransaction = new CollectionDictionary(new AllocationRuleCollection([]));
6459
+ bankTransactions.toArray().forEach((bankTransaction) => {
6460
+ rulesByBankTransaction.add(bankTransaction.id, this.filter((rule) => rule.matchBankTransaction(bankTransaction)));
6461
+ });
6462
+ return rulesByBankTransaction;
6463
+ }
6323
6464
  }
6324
6465
 
6325
6466
  class AccountSetupItemCollection extends Collection {