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.
- package/esm2020/lib/collections/allocation-rule.collection.mjs +14 -1
- package/esm2020/lib/models/chart-accounts/chart-accounts.mjs +4 -1
- package/esm2020/lib/models/transaction/allocation-rule-condition.mjs +32 -1
- package/esm2020/lib/models/transaction/allocation-rule-transaction.mjs +48 -9
- package/esm2020/lib/models/transaction/allocation-rule.mjs +64 -3
- package/fesm2015/taxtank-core.mjs +154 -13
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +154 -13
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/collections/account-setup-item.collection.d.ts.map +1 -0
- package/lib/collections/allocation-group.collection.d.ts.map +1 -0
- package/lib/collections/allocation-rule.collection.d.ts +8 -0
- package/lib/collections/allocation-rule.collection.d.ts.map +1 -0
- package/lib/collections/bank-account.collection.d.ts.map +1 -0
- package/lib/collections/bank-transaction.collection.d.ts.map +1 -0
- package/lib/collections/chart-accounts.collection.d.ts.map +1 -0
- package/lib/collections/client-invite.collection.d.ts.map +1 -0
- package/lib/collections/client-movement.collection.d.ts.map +1 -0
- package/lib/collections/client-portfolio-report.collection.d.ts.map +1 -0
- package/lib/collections/client.collection.d.ts.map +1 -0
- package/lib/collections/depreciation-forecast.collection.d.ts.map +1 -0
- package/lib/collections/depreciation.collection.d.ts.map +1 -0
- package/lib/collections/employee.collection.d.ts.map +1 -0
- package/lib/collections/exportable.collection.d.ts.map +1 -0
- package/lib/collections/income-source.collection.d.ts.map +1 -0
- package/lib/collections/index.d.ts.map +1 -0
- package/lib/collections/loan/index.d.ts.map +1 -0
- package/lib/collections/loan/loan-payment.collection.d.ts.map +1 -0
- package/lib/collections/loan/loan.collection.d.ts.map +1 -0
- package/lib/collections/property/index.d.ts.map +1 -0
- package/lib/collections/property/property-category-movement.collection.d.ts.map +1 -0
- package/lib/collections/property/property-sale/index.d.ts.map +1 -0
- package/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts.map +1 -0
- package/lib/collections/property/property-sale/property-sale.collection.d.ts.map +1 -0
- package/lib/collections/property/property-share.collection.d.ts.map +1 -0
- package/lib/collections/property/property.collection.d.ts.map +1 -0
- package/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/index.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item-transaction.collection.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts.map +1 -0
- package/lib/collections/sole/index.d.ts.map +1 -0
- package/lib/collections/sole/sole-business-losses.collection.d.ts.map +1 -0
- package/lib/collections/sole/sole-invoice-item.collection.d.ts.map +1 -0
- package/lib/collections/sole/sole-invoice.collection.d.ts.map +1 -0
- package/lib/collections/subscription/index.d.ts.map +1 -0
- package/lib/collections/subscription/service-price.collection.d.ts.map +1 -0
- package/lib/collections/subscription/service-product.collection.d.ts.map +1 -0
- package/lib/collections/subscription/service-subscription.collection.d.ts.map +1 -0
- package/lib/collections/subscription/subscription-item.collection.d.ts.map +1 -0
- package/lib/collections/tax-review.collection.d.ts.map +1 -0
- package/lib/collections/tax-summary/index.d.ts.map +1 -0
- package/lib/collections/tax-summary/report-item.collection.d.ts.map +1 -0
- package/lib/collections/tax-summary/tax-return-categories.const.d.ts.map +1 -0
- package/lib/collections/transaction/index.d.ts.map +1 -0
- package/lib/collections/transaction/transaction-allocation.collection.d.ts.map +1 -0
- package/lib/collections/transaction/transaction.collection.d.ts.map +1 -0
- package/lib/collections/user-event-setting.collection.d.ts.map +1 -0
- package/lib/collections/user-event-type-collection.d.ts.map +1 -0
- package/lib/collections/vehicle/index.d.ts.map +1 -0
- package/lib/collections/vehicle/vehicle-claim.collection.d.ts.map +1 -0
- package/lib/collections/vehicle/vehicle-logbook.collection.d.ts.map +1 -0
- package/lib/db/Enums/bank-popular.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source-type-list-other.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source-type-list-sole.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source-type-list-work.enum.d.ts.map +1 -0
- package/lib/db/Enums/invite-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-bank-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-category-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/service-notification-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/service-notification-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-payment-method-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-return-category-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-return-category-section.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-summary-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts.map +1 -0
- package/lib/db/Enums/ticket-types.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-client-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-employee-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-user-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-medicare-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-working-holiday-maker.enum.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-connection.d.ts.map +1 -0
- package/lib/db/Models/bank/basiq-job.d.ts.map +1 -0
- package/lib/db/Models/observable-model.d.ts.map +1 -0
- package/lib/db/Models/property/property-category.d.ts.map +1 -0
- package/lib/db/Models/property/property.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-payment-method.d.ts.map +1 -0
- package/lib/db/Models/transaction/allocation-rule-condition.d.ts.map +1 -0
- package/lib/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts.map +1 -0
- package/lib/db/Models/transaction/allocation-rule-transaction.d.ts.map +1 -0
- package/lib/db/Models/transaction/allocation-rule.d.ts.map +1 -0
- package/lib/db/Models/user/user.d.ts.map +1 -0
- package/lib/db-static/chart-accounts/chart-accounts-values.d.ts.map +1 -0
- package/lib/forms/abstract.form.d.ts.map +1 -0
- package/lib/forms/address/address.form.d.ts.map +1 -0
- package/lib/forms/address/index.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-add-manual.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-allocation.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-import.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-login.form.d.ts.map +1 -0
- package/lib/forms/client/client-income-types.form.d.ts.map +1 -0
- package/lib/forms/depreciation/depreciation.form.d.ts.map +1 -0
- package/lib/forms/depreciation/index.d.ts.map +1 -0
- package/lib/forms/form-validations.enum.d.ts.map +1 -0
- package/lib/forms/index.d.ts.map +1 -0
- package/lib/forms/loan/index.d.ts.map +1 -0
- package/lib/forms/loan/loan.form.d.ts.map +1 -0
- package/lib/forms/login/login.form.d.ts.map +1 -0
- package/lib/forms/phone/index.d.ts.map +1 -0
- package/lib/forms/phone/phone.form.d.ts.map +1 -0
- package/lib/forms/property/index.d.ts.map +1 -0
- package/lib/forms/property/property-sale/index.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts.map +1 -0
- package/lib/forms/register/register-client.form.d.ts.map +1 -0
- package/lib/forms/register/register-firm.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/index.d.ts.map +1 -0
- 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
- 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
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts.map +1 -0
- 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
- package/lib/forms/report/my-tax/my-tax-cgt.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-dividends.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-income-tests.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-interest.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-losses.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-offsets.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-other-income.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-rent.form.d.ts.map +1 -0
- package/lib/forms/sole/bas-report.form.d.ts.map +1 -0
- package/lib/forms/sole/index.d.ts.map +1 -0
- package/lib/forms/sole/sole-business-allocations.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-business-loss.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-business.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-contact.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-depreciation-method.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-details.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice-item.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice-template.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice.form.d.ts.map +1 -0
- package/lib/forms/transaction/allocation-rule-condition.form.d.ts.map +1 -0
- package/lib/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts.map +1 -0
- package/lib/forms/transaction/allocation-rule-transaction.form.d.ts.map +1 -0
- package/lib/forms/transaction/allocation-rule.form.d.ts.map +1 -0
- package/lib/forms/transaction/index.d.ts.map +1 -0
- package/lib/forms/transaction/messages.enum.d.ts.map +1 -0
- package/lib/forms/transaction/transaction-base.form.d.ts.map +1 -0
- package/lib/forms/transaction/transaction.form.d.ts.map +1 -0
- package/lib/forms/transaction/work/work-expense.form.d.ts.map +1 -0
- package/lib/forms/transaction/work/work-income.form.d.ts.map +1 -0
- package/lib/forms/transaction/work/work-transaction.form.d.ts.map +1 -0
- package/lib/forms/user/index.d.ts.map +1 -0
- package/lib/forms/user/password.form.d.ts.map +1 -0
- package/lib/forms/user/reset-password.form.d.ts.map +1 -0
- package/lib/forms/user/user-invite.form.d.ts.map +1 -0
- package/lib/forms/vehicle/index.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle.form.d.ts.map +1 -0
- package/lib/functions/clone-deep.d.ts.map +1 -0
- package/lib/functions/create-date.d.ts.map +1 -0
- package/lib/functions/enum-to-list.d.ts.map +1 -0
- package/lib/functions/get-doc-icon.d.ts.map +1 -0
- package/lib/functions/mat-options-functions.d.ts.map +1 -0
- package/lib/functions/mat-sort-options.d.ts.map +1 -0
- package/lib/functions/round-to.d.ts.map +1 -0
- package/lib/functions/tax-review-filter-predicate.d.ts.map +1 -0
- package/lib/interceptors/basiq-client-id.interceptor.d.ts.map +1 -0
- package/lib/interceptors/basiq-token.interceptor.d.ts.map +1 -0
- package/lib/interceptors/interceptors.module.d.ts.map +1 -0
- package/lib/interceptors/jwt-interceptor.d.ts.map +1 -0
- package/lib/interceptors/preloader.interceptor.d.ts.map +1 -0
- package/lib/interceptors/user-switcher-interceptor.d.ts.map +1 -0
- package/lib/interfaces/asset.interface.d.ts.map +1 -0
- package/lib/interfaces/auth-tokens.interface.d.ts.map +1 -0
- package/lib/interfaces/chart-data.interface.d.ts.map +1 -0
- package/lib/interfaces/chart-serie.interface.d.ts.map +1 -0
- package/lib/interfaces/event-listener.interface.d.ts.map +1 -0
- package/lib/interfaces/expense.interface.d.ts.map +1 -0
- package/lib/interfaces/income-source-forecast.interface.d.ts.map +1 -0
- package/lib/interfaces/index.d.ts.map +1 -0
- package/lib/interfaces/option.interface.d.ts.map +1 -0
- package/lib/interfaces/receipt.interface.d.ts.map +1 -0
- package/lib/interfaces/table-exportable.interface.d.ts.map +1 -0
- package/lib/interfaces/tank.interface.d.ts.map +1 -0
- package/lib/interfaces/updatable.interface.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-item.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-items.const.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-items.enum.d.ts.map +1 -0
- package/lib/models/badge/badge-color.enum.d.ts.map +1 -0
- package/lib/models/badge/badge.d.ts.map +1 -0
- package/lib/models/bank/allocation-group.d.ts.map +1 -0
- package/lib/models/bank/bank-account-chart-data.d.ts.map +1 -0
- package/lib/models/bank/bank-account-property.d.ts.map +1 -0
- package/lib/models/bank/bank-account-types.const.d.ts.map +1 -0
- package/lib/models/bank/bank-account.d.ts.map +1 -0
- package/lib/models/bank/bank-connection.d.ts.map +1 -0
- package/lib/models/bank/bank-external-stats.d.ts.map +1 -0
- package/lib/models/bank/bank-login-data.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction-chart-data.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction.d.ts.map +1 -0
- package/lib/models/bank/bank.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job-response.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job-step.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-token-response.interface.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-token.d.ts.map +1 -0
- package/lib/models/bank/basiq/index.d.ts.map +1 -0
- package/lib/models/bank/index.d.ts.map +1 -0
- package/lib/models/bank/type-loan.const.d.ts.map +1 -0
- package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts.map +1 -0
- package/lib/models/borrowing-expense/borrowing-expense.d.ts.map +1 -0
- package/lib/models/borrowing-expense/index.d.ts.map +1 -0
- package/lib/models/chart/chart-data.d.ts.map +1 -0
- package/lib/models/chart/chart-serie.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-meta-field.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts.d.ts +1 -0
- package/lib/models/chart-accounts/chart-accounts.d.ts.map +1 -0
- package/lib/models/chart-accounts/index.d.ts.map +1 -0
- package/lib/models/chat/chat-view-type.enum.d.ts.map +1 -0
- package/lib/models/chat/chat.d.ts.map +1 -0
- package/lib/models/chat/index.d.ts.map +1 -0
- package/lib/models/chat/message-document.d.ts.map +1 -0
- package/lib/models/chat/message.d.ts.map +1 -0
- package/lib/models/client/client-income-types.d.ts.map +1 -0
- package/lib/models/client/client-invite.d.ts.map +1 -0
- package/lib/models/client/client-movement.d.ts.map +1 -0
- package/lib/models/client/client-portfolio-chart-data.d.ts.map +1 -0
- package/lib/models/client/client-portfolio-report.d.ts.map +1 -0
- package/lib/models/color/alphabet-colors.enum.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-capital-project.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-forecast.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group-item.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group.enum.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-groups.const.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-receipt.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation.d.ts.map +1 -0
- package/lib/models/depreciation/index.d.ts.map +1 -0
- package/lib/models/dictionary/dictionary.d.ts.map +1 -0
- package/lib/models/dictionary/index.d.ts.map +1 -0
- package/lib/models/document/document-api-url-prefix.enum.d.ts.map +1 -0
- package/lib/models/document/document-file-types.const.d.ts.map +1 -0
- package/lib/models/document/document-folder.d.ts.map +1 -0
- package/lib/models/document/document.d.ts.map +1 -0
- package/lib/models/document/index.d.ts.map +1 -0
- package/lib/models/employee/employee-invite.d.ts.map +1 -0
- package/lib/models/endpoint/endpoint.d.ts.map +1 -0
- package/lib/models/endpoint/endpoints.const.d.ts.map +1 -0
- package/lib/models/event/index.d.ts.map +1 -0
- package/lib/models/export/export-format.enum.d.ts.map +1 -0
- package/lib/models/export/export-row-data-type.enum.d.ts.map +1 -0
- package/lib/models/export/export-row.d.ts.map +1 -0
- package/lib/models/file/file.d.ts.map +1 -0
- package/lib/models/file/icons-file.enum.d.ts.map +1 -0
- package/lib/models/file/index.d.ts.map +1 -0
- package/lib/models/financial-year/financial-year.d.ts.map +1 -0
- package/lib/models/financial-year/index.d.ts.map +1 -0
- package/lib/models/financial-year/month-name-short.enum.d.ts.map +1 -0
- package/lib/models/financial-year/month-number.enum.d.ts.map +1 -0
- package/lib/models/financial-year/months.const.d.ts.map +1 -0
- package/lib/models/income-position/income-position.d.ts.map +1 -0
- package/lib/models/income-source/income-source-chart-data.d.ts.map +1 -0
- package/lib/models/income-source/income-source-forecast.d.ts.map +1 -0
- package/lib/models/income-source/income-source-type.d.ts.map +1 -0
- package/lib/models/income-source/income-source.d.ts.map +1 -0
- package/lib/models/income-source/salary-forecast.d.ts.map +1 -0
- package/lib/models/income-source/sole-forecast.d.ts.map +1 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/loan/index.d.ts.map +1 -0
- package/lib/models/loan/loan-max-number-of-payments.enum.d.ts.map +1 -0
- package/lib/models/loan/loan.d.ts.map +1 -0
- package/lib/models/notification/index.d.ts.map +1 -0
- package/lib/models/notification/notification.d.ts.map +1 -0
- package/lib/models/pdf/pdf-orientation.enum.d.ts.map +1 -0
- package/lib/models/pdf/pdf-settings.d.ts.map +1 -0
- package/lib/models/property/calculation-form-item.d.ts.map +1 -0
- package/lib/models/property/calculation-form-type.enum.d.ts.map +1 -0
- package/lib/models/property/capital-costs-itmes.const.d.ts.map +1 -0
- package/lib/models/property/index.d.ts.map +1 -0
- package/lib/models/property/property-category-movement.d.ts.map +1 -0
- package/lib/models/property/property-category.d.ts.map +1 -0
- package/lib/models/property/property-document.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-data.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-item.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-type.enum.d.ts.map +1 -0
- package/lib/models/property/property-forecast.d.ts.map +1 -0
- package/lib/models/property/property-sale/index.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale-cost-base.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale.d.ts.map +1 -0
- package/lib/models/property/property-sale/tax-exemption-meta-field.d.ts.map +1 -0
- package/lib/models/property/property-sale/tax-exemption.d.ts.map +1 -0
- package/lib/models/property/property-share.d.ts.map +1 -0
- package/lib/models/property/property-subscription.d.ts.map +1 -0
- package/lib/models/property/property-valuation.d.ts.map +1 -0
- package/lib/models/property/property.d.ts.map +1 -0
- package/lib/models/property/share-filter-options.enum.d.ts.map +1 -0
- package/lib/models/registration-invite/registration-invite.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-lvp-report-item.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-report-item.d.ts.map +1 -0
- package/lib/models/report/depreciation/index.d.ts.map +1 -0
- package/lib/models/report/index.d.ts.map +1 -0
- package/lib/models/report/my-tax/ato-links.d.ts.map +1 -0
- package/lib/models/report/my-tax/index.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts.map +1 -0
- 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
- 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
- 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
- package/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts.map +1 -0
- package/lib/models/report/property/index.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item-depreciation.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item-transaction.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item.d.ts.map +1 -0
- package/lib/models/report/sole/index.d.ts.map +1 -0
- package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts.map +1 -0
- package/lib/models/report/vehicle-expense/vehicle-expense.d.ts.map +1 -0
- package/lib/models/service-subscription/index.d.ts.map +1 -0
- package/lib/models/service-subscription/module-url-list.const.d.ts.map +1 -0
- package/lib/models/service-subscription/payment-method-brand.enum.d.ts.map +1 -0
- package/lib/models/service-subscription/service-payment-method.d.ts.map +1 -0
- package/lib/models/service-subscription/service-payment.d.ts.map +1 -0
- package/lib/models/service-subscription/service-subscription.d.ts.map +1 -0
- package/lib/models/service-subscription/stripe-promo-code.d.ts.map +1 -0
- package/lib/models/sole/bas-report.d.ts.map +1 -0
- package/lib/models/sole/index.d.ts.map +1 -0
- package/lib/models/sole/sole-business-activity.d.ts.map +1 -0
- package/lib/models/sole/sole-business-allocation.d.ts.map +1 -0
- package/lib/models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
- package/lib/models/sole/sole-business-loss.d.ts.map +1 -0
- package/lib/models/sole/sole-business.d.ts.map +1 -0
- package/lib/models/sole/sole-contact.d.ts.map +1 -0
- package/lib/models/sole/sole-depreciation-method.d.ts.map +1 -0
- package/lib/models/sole/sole-details.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice-item.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice-template.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice.d.ts.map +1 -0
- package/lib/models/tax-review/tax-review.d.ts.map +1 -0
- package/lib/models/tax-summary/report-item-details.d.ts.map +1 -0
- package/lib/models/tax-summary/report-item.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary-section.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary-type.enum.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary.d.ts.map +1 -0
- package/lib/models/toast/toast-type.enum.d.ts.map +1 -0
- package/lib/models/toast/toast.d.ts.map +1 -0
- package/lib/models/transaction/allocation-rule-condition.d.ts +4 -0
- package/lib/models/transaction/allocation-rule-condition.d.ts.map +1 -0
- package/lib/models/transaction/allocation-rule-transaction-meta-field.d.ts.map +1 -0
- package/lib/models/transaction/allocation-rule-transaction.d.ts +5 -1
- package/lib/models/transaction/allocation-rule-transaction.d.ts.map +1 -0
- package/lib/models/transaction/allocation-rule.d.ts +19 -1
- package/lib/models/transaction/allocation-rule.d.ts.map +1 -0
- package/lib/models/transaction/income-amount-type.enum.d.ts.map +1 -0
- package/lib/models/transaction/index.d.ts.map +1 -0
- package/lib/models/transaction/transaction-allocation.d.ts.map +1 -0
- package/lib/models/transaction/transaction-category.enum.d.ts.map +1 -0
- package/lib/models/transaction/transaction-meta-field.d.ts.map +1 -0
- package/lib/models/transaction/transaction-receipt.d.ts.map +1 -0
- package/lib/models/transaction/transaction.d.ts.map +1 -0
- package/lib/models/user/index.d.ts.map +1 -0
- package/lib/models/user/my-account-history-initiated-by.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history-status.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history-type.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history.d.ts.map +1 -0
- package/lib/models/user/occupation.d.ts.map +1 -0
- package/lib/models/user/user-roles.const.d.ts.map +1 -0
- package/lib/models/user/user-to-register.d.ts.map +1 -0
- package/lib/models/user/user.d.ts.map +1 -0
- package/lib/models/user-event/user-event-setting-field.enum.d.ts.map +1 -0
- package/lib/models/user-event/user-event-setting.d.ts.map +1 -0
- package/lib/models/user-event/user-event-type-category.d.ts.map +1 -0
- package/lib/models/user-event/user-event-type.d.ts.map +1 -0
- package/lib/models/vehicle/index.d.ts.map +1 -0
- package/lib/models/vehicle/logbook-period.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-claim-details.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-claim.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-logbook.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle.d.ts.map +1 -0
- package/lib/services/account-setup/account-setup.service.d.ts.map +1 -0
- package/lib/services/account-setup/index.d.ts.map +1 -0
- package/lib/services/affiliate/index.d.ts.map +1 -0
- package/lib/services/affiliate/rewardful/index.d.ts.map +1 -0
- package/lib/services/affiliate/rewardful/rewardful.service.d.ts.map +1 -0
- package/lib/services/asset/assets.service.d.ts.map +1 -0
- package/lib/services/asset/index.d.ts.map +1 -0
- package/lib/services/auth/auth.service.d.ts.map +1 -0
- package/lib/services/auth/index.d.ts.map +1 -0
- package/lib/services/auth/jwt.service.d.ts.map +1 -0
- package/lib/services/bank/bank-account-calculation.service.d.ts.map +1 -0
- package/lib/services/bank/bank-transaction-calculation.service.d.ts.map +1 -0
- package/lib/services/bank/index.d.ts.map +1 -0
- package/lib/services/export/export-formatter.service.d.ts.map +1 -0
- package/lib/services/export/index.d.ts.map +1 -0
- package/lib/services/header-title/header-title.service.d.ts.map +1 -0
- package/lib/services/header-title/index.d.ts.map +1 -0
- package/lib/services/http/address/address.service.d.ts.map +1 -0
- package/lib/services/http/address/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-account/bank-account.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-account/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-connection/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-transaction/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/basiq-token.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/basiq.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/index.d.ts.map +1 -0
- package/lib/services/http/bank/index.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts.service.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/index.d.ts.map +1 -0
- package/lib/services/http/chat/chat.service.d.ts.map +1 -0
- package/lib/services/http/chat/index.d.ts.map +1 -0
- package/lib/services/http/chat/message-document.service.d.ts.map +1 -0
- package/lib/services/http/chat/message.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-capital-project/index.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-receipt/index.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/index.d.ts.map +1 -0
- package/lib/services/http/document/document-folder/document-folder.service.d.ts.map +1 -0
- package/lib/services/http/document/document.service.d.ts.map +1 -0
- package/lib/services/http/document/index.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-auth-options.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-auth-response.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-status-response.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook.service.d.ts.map +1 -0
- package/lib/services/http/facebook/index.d.ts.map +1 -0
- package/lib/services/http/file/file.service.d.ts.map +1 -0
- package/lib/services/http/file/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-income/client-income-types.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-income/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-invite/client-invite.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-invite/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-movement/client-movement.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-movement/index.d.ts.map +1 -0
- package/lib/services/http/firm/employee/employee.service.d.ts.map +1 -0
- package/lib/services/http/firm/employee/index.d.ts.map +1 -0
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts.map +1 -0
- package/lib/services/http/firm/employee-invite/index.d.ts.map +1 -0
- package/lib/services/http/firm/firm.service.d.ts.map +1 -0
- package/lib/services/http/firm/index.d.ts.map +1 -0
- package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts.map +1 -0
- package/lib/services/http/firm/portfolio-report/index.d.ts.map +1 -0
- package/lib/services/http/google/google.service.d.ts.map +1 -0
- package/lib/services/http/google/index.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source.service.d.ts.map +1 -0
- package/lib/services/http/income-source/index.d.ts.map +1 -0
- package/lib/services/http/income-source/salary-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts.map +1 -0
- package/lib/services/http/income-source/sole-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts.map +1 -0
- package/lib/services/http/index.d.ts.map +1 -0
- package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts.map +1 -0
- package/lib/services/http/loan/borrowing-expense/index.d.ts.map +1 -0
- package/lib/services/http/loan/index.d.ts.map +1 -0
- package/lib/services/http/loan/loan.service.d.ts.map +1 -0
- package/lib/services/http/property/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category/property-category.service.d.ts.map +1 -0
- package/lib/services/http/property/property-category-movement/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts.map +1 -0
- package/lib/services/http/property/property-document/index.d.ts.map +1 -0
- package/lib/services/http/property/property-document/property-document.service.d.ts.map +1 -0
- package/lib/services/http/property/property-sale/index.d.ts.map +1 -0
- package/lib/services/http/property/property-sale/property-sale.service.d.ts.map +1 -0
- package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts.map +1 -0
- package/lib/services/http/property/property-share/index.d.ts.map +1 -0
- package/lib/services/http/property/property-share/property-share.service.d.ts.map +1 -0
- package/lib/services/http/property/property.service.d.ts.map +1 -0
- package/lib/services/http/receipt/index.d.ts.map +1 -0
- package/lib/services/http/receipt/receipt.service.d.ts.map +1 -0
- package/lib/services/http/rest/http-method.type.d.ts.map +1 -0
- package/lib/services/http/rest/index.d.ts.map +1 -0
- package/lib/services/http/rest/rest-method.type.d.ts.map +1 -0
- package/lib/services/http/rest/rest-old.service.d.ts.map +1 -0
- package/lib/services/http/rest/rest.service.d.ts.map +1 -0
- package/lib/services/http/service-notification/index.d.ts.map +1 -0
- package/lib/services/http/service-notification/service-notification.service.d.ts.map +1 -0
- package/lib/services/http/sole/bas-report/bas-report.service.d.ts.map +1 -0
- package/lib/services/http/sole/index.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business/messages.enum.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business/sole-business.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-details/sole-details.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts.map +1 -0
- package/lib/services/http/subscription/index.d.ts.map +1 -0
- package/lib/services/http/subscription/service-payment/service-payment.service.d.ts.map +1 -0
- package/lib/services/http/subscription/service-payment-method/service-payment-method.service.d.ts.map +1 -0
- package/lib/services/http/subscription/service-price/service-price.service.d.ts.map +1 -0
- package/lib/services/http/subscription/service-product/service-product.service.d.ts.map +1 -0
- package/lib/services/http/subscription/service-subscription/subscription.service.d.ts.map +1 -0
- package/lib/services/http/tax-review/index.d.ts.map +1 -0
- package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts.map +1 -0
- package/lib/services/http/tax-review/tax-review.service.d.ts.map +1 -0
- package/lib/services/http/tax-summary/index.d.ts.map +1 -0
- package/lib/services/http/tax-summary/tax-summary.service.d.ts.map +1 -0
- package/lib/services/http/transaction/index.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction.service.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/index.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/tutorial-video.service.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/video-source.interface.d.ts.map +1 -0
- package/lib/services/http/user/index.d.ts.map +1 -0
- package/lib/services/http/user/occupation/occupation.service.d.ts.map +1 -0
- package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts.map +1 -0
- package/lib/services/http/user/user-event-type/user-event-type.service.d.ts.map +1 -0
- package/lib/services/http/user/user.service.d.ts.map +1 -0
- package/lib/services/http/user/users-invite/users-invite.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/index.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-logbook.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle.service.d.ts.map +1 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/intercom/index.d.ts.map +1 -0
- package/lib/services/intercom/intercom.service.d.ts.map +1 -0
- package/lib/services/pdf/index.d.ts.map +1 -0
- package/lib/services/pdf/js-pdf.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-dom-element/file-settings.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/file-settings.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-table.service.d.ts.map +1 -0
- package/lib/services/preloader/index.d.ts.map +1 -0
- package/lib/services/preloader/preloader.service.d.ts.map +1 -0
- package/lib/services/property/corelogic/index.d.ts.map +1 -0
- package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts.map +1 -0
- package/lib/services/property/equity-position-chart/index.d.ts.map +1 -0
- package/lib/services/property/index.d.ts.map +1 -0
- package/lib/services/property/property-calculation/index.d.ts.map +1 -0
- package/lib/services/property/property-calculation/property-calculation.service.d.ts.map +1 -0
- package/lib/services/report/index.d.ts.map +1 -0
- package/lib/services/report/property/property-transaction-report.service.d.ts.map +1 -0
- package/lib/services/toast/index.d.ts.map +1 -0
- package/lib/services/toast/toast.service.d.ts.map +1 -0
- package/lib/services/transaction/index.d.ts.map +1 -0
- package/lib/services/transaction/transaction-calculation.service.d.ts.map +1 -0
- package/lib/services/user/index.d.ts.map +1 -0
- package/lib/services/user/user-switcher.service.d.ts.map +1 -0
- package/lib/services/vehicle/index.d.ts.map +1 -0
- package/lib/services/vehicle/logbook-best-period.service.d.ts.map +1 -0
- package/lib/services/xlsx/index.d.ts.map +1 -0
- package/lib/services/xlsx/xlsx.service.d.ts.map +1 -0
- package/lib/tt-core.module.d.ts.map +1 -0
- package/lib/validators/address-corelogic.validator.d.ts.map +1 -0
- package/lib/validators/at-least-one-enabled.validator.d.ts.map +1 -0
- package/lib/validators/at-least-one.validator.d.ts.map +1 -0
- package/lib/validators/autocomplete.validator.d.ts.map +1 -0
- package/lib/validators/conditional.validator.d.ts.map +1 -0
- package/lib/validators/current-fin-year.validator.d.ts.map +1 -0
- package/lib/validators/date-range.validator.d.ts.map +1 -0
- package/lib/validators/fields-sum.validator.d.ts.map +1 -0
- package/lib/validators/file.validator.d.ts.map +1 -0
- package/lib/validators/index.d.ts.map +1 -0
- package/lib/validators/min-date/messages.enum.d.ts.map +1 -0
- package/lib/validators/min-date/min-date.validator.d.ts.map +1 -0
- package/lib/validators/password-match.validator.d.ts.map +1 -0
- package/lib/validators/password.validator.d.ts.map +1 -0
- package/lib/validators/phone-number.validator.d.ts.map +1 -0
- package/lib/validators/required-length.validator.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts.map +1 -0
- 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';
|
|
@@ -3039,6 +3039,9 @@ class ChartAccounts extends ChartAccounts$1 {
|
|
|
3039
3039
|
isTaxable() {
|
|
3040
3040
|
return !this.isNRAS() && this.isWorkIncome();
|
|
3041
3041
|
}
|
|
3042
|
+
isTransfer() {
|
|
3043
|
+
return this.id === ChartAccountsListEnum.TRANSFER;
|
|
3044
|
+
}
|
|
3042
3045
|
}
|
|
3043
3046
|
/**
|
|
3044
3047
|
* Australian GST percent value (VAT)
|
|
@@ -3078,6 +3081,36 @@ let AllocationRuleCondition$1 = class AllocationRuleCondition extends AbstractMo
|
|
|
3078
3081
|
};
|
|
3079
3082
|
|
|
3080
3083
|
class AllocationRuleCondition extends AllocationRuleCondition$1 {
|
|
3084
|
+
matchBankTransaction(bankTransaction) {
|
|
3085
|
+
return this.field === AllocationRuleConditionFieldEnum.AMOUNT ? this.matchBankTransactionByAmount(bankTransaction) : this.matchBankTransactionByDescription(bankTransaction);
|
|
3086
|
+
}
|
|
3087
|
+
matchBankTransactionByAmount(bankTransaction) {
|
|
3088
|
+
// Amount should be compared as number
|
|
3089
|
+
const value = +this.value;
|
|
3090
|
+
switch (this.comparisonOperator) {
|
|
3091
|
+
case AllocationRuleConditionComparisonOperatorEnum.EQUALS:
|
|
3092
|
+
return bankTransaction.amount === value;
|
|
3093
|
+
case AllocationRuleConditionComparisonOperatorEnum.EQUALS_OR_LESS:
|
|
3094
|
+
return bankTransaction.amount <= value;
|
|
3095
|
+
case AllocationRuleConditionComparisonOperatorEnum.EQUALS_OR_GREATER:
|
|
3096
|
+
return bankTransaction.amount >= value;
|
|
3097
|
+
}
|
|
3098
|
+
return false;
|
|
3099
|
+
}
|
|
3100
|
+
matchBankTransactionByDescription(bankTransaction) {
|
|
3101
|
+
// Prepare value and description for comparison
|
|
3102
|
+
const description = bankTransaction.description.toLowerCase();
|
|
3103
|
+
const value = this.value.trim().toLowerCase();
|
|
3104
|
+
switch (this.comparisonOperator) {
|
|
3105
|
+
case AllocationRuleConditionComparisonOperatorEnum.EQUALS:
|
|
3106
|
+
return description === value;
|
|
3107
|
+
case AllocationRuleConditionComparisonOperatorEnum.CONTAINS:
|
|
3108
|
+
return description.includes(value);
|
|
3109
|
+
case AllocationRuleConditionComparisonOperatorEnum.STARTS:
|
|
3110
|
+
return description.startsWith(value);
|
|
3111
|
+
}
|
|
3112
|
+
return false;
|
|
3113
|
+
}
|
|
3081
3114
|
}
|
|
3082
3115
|
|
|
3083
3116
|
let AllocationRuleTransaction$1 = class AllocationRuleTransaction extends TransactionBase {
|
|
@@ -3254,6 +3287,12 @@ __decorate([
|
|
|
3254
3287
|
Type(() => Date)
|
|
3255
3288
|
], IncomeSource.prototype, "dateTo", void 0);
|
|
3256
3289
|
|
|
3290
|
+
var TransactionSourceEnum;
|
|
3291
|
+
(function (TransactionSourceEnum) {
|
|
3292
|
+
TransactionSourceEnum[TransactionSourceEnum["CASH"] = 1] = "CASH";
|
|
3293
|
+
TransactionSourceEnum[TransactionSourceEnum["BANK_TRANSACTION"] = 2] = "BANK_TRANSACTION";
|
|
3294
|
+
})(TransactionSourceEnum || (TransactionSourceEnum = {}));
|
|
3295
|
+
|
|
3257
3296
|
class AllocationRuleTransaction extends AllocationRuleTransaction$1 {
|
|
3258
3297
|
calculateClaimPercent() {
|
|
3259
3298
|
var _a, _b;
|
|
@@ -3269,26 +3308,63 @@ class AllocationRuleTransaction extends AllocationRuleTransaction$1 {
|
|
|
3269
3308
|
}
|
|
3270
3309
|
return claimPercent;
|
|
3271
3310
|
}
|
|
3311
|
+
/**
|
|
3312
|
+
* Create Transaction instance based on passed bank transaction and rule transaction
|
|
3313
|
+
*/
|
|
3314
|
+
toTransaction(bankTransaction) {
|
|
3315
|
+
return plainToClass(Transaction, {
|
|
3316
|
+
amount: bankTransaction.amount,
|
|
3317
|
+
description: bankTransaction.description,
|
|
3318
|
+
type: bankTransaction.type,
|
|
3319
|
+
date: bankTransaction.date,
|
|
3320
|
+
source: TransactionSourceEnum.BANK_TRANSACTION,
|
|
3321
|
+
tax: this.tax,
|
|
3322
|
+
claimPercent: this.claimPercent,
|
|
3323
|
+
isGST: this.isGST,
|
|
3324
|
+
chartAccounts: this.chartAccounts,
|
|
3325
|
+
property: this.property,
|
|
3326
|
+
loan: this.loan,
|
|
3327
|
+
incomeSource: this.incomeSource,
|
|
3328
|
+
metaFields: this.metaFields,
|
|
3329
|
+
parentTransaction: this.parentTransaction,
|
|
3330
|
+
childTransactions: this.childTransactions,
|
|
3331
|
+
business: this.business,
|
|
3332
|
+
operation: TransactionOperationEnum.ALLOCATE,
|
|
3333
|
+
allocations: [TransactionAllocation.create(bankTransaction.amount, bankTransaction)],
|
|
3334
|
+
});
|
|
3335
|
+
}
|
|
3272
3336
|
}
|
|
3273
3337
|
__decorate([
|
|
3274
|
-
Type(() => ChartAccounts)
|
|
3275
|
-
|
|
3338
|
+
Type(() => ChartAccounts)
|
|
3339
|
+
// @TODO Alex: Create custom decorator for this transform
|
|
3340
|
+
,
|
|
3341
|
+
Transform(({ value }) => {
|
|
3342
|
+
return { id: value.id };
|
|
3343
|
+
}, { toPlainOnly: true })
|
|
3276
3344
|
], AllocationRuleTransaction.prototype, "chartAccounts", void 0);
|
|
3277
3345
|
__decorate([
|
|
3278
3346
|
Type(() => Property),
|
|
3279
|
-
Transform(({ value }) => {
|
|
3347
|
+
Transform(({ value }) => {
|
|
3348
|
+
return value ? { id: value.id } : null;
|
|
3349
|
+
}, { toPlainOnly: true })
|
|
3280
3350
|
], AllocationRuleTransaction.prototype, "property", void 0);
|
|
3281
3351
|
__decorate([
|
|
3282
3352
|
Type(() => Loan),
|
|
3283
|
-
Transform(({ value }) => {
|
|
3353
|
+
Transform(({ value }) => {
|
|
3354
|
+
return value ? { id: value.id } : null;
|
|
3355
|
+
}, { toPlainOnly: true })
|
|
3284
3356
|
], AllocationRuleTransaction.prototype, "loan", void 0);
|
|
3285
3357
|
__decorate([
|
|
3286
3358
|
Type(() => IncomeSource),
|
|
3287
|
-
Transform(({ value }) => {
|
|
3359
|
+
Transform(({ value }) => {
|
|
3360
|
+
return value ? { id: value.id } : null;
|
|
3361
|
+
}, { toPlainOnly: true })
|
|
3288
3362
|
], AllocationRuleTransaction.prototype, "incomeSource", void 0);
|
|
3289
3363
|
__decorate([
|
|
3290
3364
|
Type(() => SoleBusiness),
|
|
3291
|
-
Transform(({ value }) => {
|
|
3365
|
+
Transform(({ value }) => {
|
|
3366
|
+
return value ? { id: value.id } : null;
|
|
3367
|
+
}, { toPlainOnly: true })
|
|
3292
3368
|
], AllocationRuleTransaction.prototype, "business", void 0);
|
|
3293
3369
|
__decorate([
|
|
3294
3370
|
Type(() => AllocationRuleTransactionMetaField)
|
|
@@ -3358,6 +3434,65 @@ class AllocationRule extends AllocationRule$1 {
|
|
|
3358
3434
|
isSoleIncome() {
|
|
3359
3435
|
return this.isIncome() && this.isSoleTank();
|
|
3360
3436
|
}
|
|
3437
|
+
/**
|
|
3438
|
+
* @TODO Alex: move to collection
|
|
3439
|
+
*/
|
|
3440
|
+
matchBankTransaction(bankTransaction) {
|
|
3441
|
+
return this.conditionOperator === AllocationRuleConditionOperatorEnum.AND ? this.checkAnd(bankTransaction) : this.checkOr(bankTransaction);
|
|
3442
|
+
}
|
|
3443
|
+
createTransaction(bankTransaction) {
|
|
3444
|
+
if (this.isTransfer()) {
|
|
3445
|
+
const transaction = bankTransaction.toTransaction();
|
|
3446
|
+
transaction.operation = TransactionOperationEnum.TRANSFER;
|
|
3447
|
+
transaction.chartAccounts = plainToClass(ChartAccounts, { id: ChartAccountsListEnum.TRANSFER });
|
|
3448
|
+
return transaction;
|
|
3449
|
+
}
|
|
3450
|
+
return this.transaction.toTransaction(bankTransaction);
|
|
3451
|
+
}
|
|
3452
|
+
/**
|
|
3453
|
+
* Rule is matched when all conditions matched
|
|
3454
|
+
*/
|
|
3455
|
+
checkAnd(bankTransaction) {
|
|
3456
|
+
for (let condition of this.conditions) {
|
|
3457
|
+
if (!condition.matchBankTransaction(bankTransaction)) {
|
|
3458
|
+
return false;
|
|
3459
|
+
}
|
|
3460
|
+
}
|
|
3461
|
+
return true;
|
|
3462
|
+
}
|
|
3463
|
+
/**
|
|
3464
|
+
* Rule is matched when at least one condition matched
|
|
3465
|
+
*/
|
|
3466
|
+
checkOr(bankTransaction) {
|
|
3467
|
+
for (let condition of this.conditions) {
|
|
3468
|
+
if (condition.matchBankTransaction(bankTransaction)) {
|
|
3469
|
+
return true;
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3472
|
+
return false;
|
|
3473
|
+
}
|
|
3474
|
+
/**
|
|
3475
|
+
* Create allocation rule based on bank transaction (just prefill rule fields with bank transaction values)
|
|
3476
|
+
*/
|
|
3477
|
+
static fromBankTransaction(bankTransaction) {
|
|
3478
|
+
return plainToClass(AllocationRule, {
|
|
3479
|
+
type: bankTransaction.isDebit() ? AllocationRuleTypeEnum.EXPENSE : AllocationRuleTypeEnum.INCOME,
|
|
3480
|
+
bankAccount: bankTransaction.bankAccount,
|
|
3481
|
+
conditionOperator: AllocationRuleConditionOperatorEnum.AND,
|
|
3482
|
+
conditions: [
|
|
3483
|
+
plainToClass(AllocationRuleCondition, {
|
|
3484
|
+
field: AllocationRuleConditionFieldEnum.AMOUNT,
|
|
3485
|
+
comparisonOperator: AllocationRuleConditionComparisonOperatorEnum.EQUALS,
|
|
3486
|
+
value: bankTransaction.amount
|
|
3487
|
+
}),
|
|
3488
|
+
plainToClass(AllocationRuleCondition, {
|
|
3489
|
+
field: AllocationRuleConditionFieldEnum.DESCRIPTION,
|
|
3490
|
+
comparisonOperator: AllocationRuleConditionComparisonOperatorEnum.EQUALS,
|
|
3491
|
+
value: bankTransaction.description
|
|
3492
|
+
})
|
|
3493
|
+
]
|
|
3494
|
+
});
|
|
3495
|
+
}
|
|
3361
3496
|
}
|
|
3362
3497
|
__decorate([
|
|
3363
3498
|
Type(() => BankAccount),
|
|
@@ -3388,12 +3523,6 @@ var TransactionTypeEnum;
|
|
|
3388
3523
|
TransactionTypeEnum[TransactionTypeEnum["CREDIT"] = 2] = "CREDIT";
|
|
3389
3524
|
})(TransactionTypeEnum || (TransactionTypeEnum = {}));
|
|
3390
3525
|
|
|
3391
|
-
var TransactionSourceEnum;
|
|
3392
|
-
(function (TransactionSourceEnum) {
|
|
3393
|
-
TransactionSourceEnum[TransactionSourceEnum["CASH"] = 1] = "CASH";
|
|
3394
|
-
TransactionSourceEnum[TransactionSourceEnum["BANK_TRANSACTION"] = 2] = "BANK_TRANSACTION";
|
|
3395
|
-
})(TransactionSourceEnum || (TransactionSourceEnum = {}));
|
|
3396
|
-
|
|
3397
3526
|
var TaxExemptionEnum;
|
|
3398
3527
|
(function (TaxExemptionEnum) {
|
|
3399
3528
|
TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
|
|
@@ -6354,6 +6483,18 @@ class AllocationRuleCollection extends Collection {
|
|
|
6354
6483
|
getTransfer() {
|
|
6355
6484
|
return this.filterBy('type', AllocationRuleTypeEnum.TRANSFER);
|
|
6356
6485
|
}
|
|
6486
|
+
/**
|
|
6487
|
+
* Get dictionary where key is bank transaction id and value is collection of matched rules.
|
|
6488
|
+
* Group by this way for better performance
|
|
6489
|
+
* @TODO Alex: break bank transactions by pagination in case of bad performance
|
|
6490
|
+
*/
|
|
6491
|
+
groupByBankTransaction(bankTransactions) {
|
|
6492
|
+
const rulesByBankTransaction = new CollectionDictionary(new AllocationRuleCollection([]));
|
|
6493
|
+
bankTransactions.toArray().forEach((bankTransaction) => {
|
|
6494
|
+
rulesByBankTransaction.add(bankTransaction.id, this.filter((rule) => rule.matchBankTransaction(bankTransaction)));
|
|
6495
|
+
});
|
|
6496
|
+
return rulesByBankTransaction;
|
|
6497
|
+
}
|
|
6357
6498
|
}
|
|
6358
6499
|
|
|
6359
6500
|
class AccountSetupItemCollection extends Collection {
|