taxtank-core 0.33.11 → 0.33.13
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/esm2022/common/public-api.mjs +1 -1
- package/esm2022/common/src/common.module.mjs +1 -1
- package/esm2022/common/src/db/enums/index.mjs +1 -1
- package/esm2022/common/src/db/enums/user/index.mjs +1 -1
- package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +1 -1
- package/esm2022/common/src/db/index.mjs +1 -1
- package/esm2022/common/src/interceptors/jwt-interceptor.mjs +1 -1
- package/esm2022/common/src/services/auth/auth-messages.enum.mjs +1 -1
- package/esm2022/common/src/services/auth/auth-tokens.interface.mjs +1 -1
- package/esm2022/common/src/services/auth/auth.service.mjs +1 -1
- package/esm2022/common/src/services/auth/index.mjs +1 -1
- package/esm2022/common/src/services/auth/jwt-decoded.interface.mjs +1 -1
- package/esm2022/common/src/services/auth/jwt.service.mjs +1 -1
- package/esm2022/common/src/services/index.mjs +1 -1
- package/esm2022/common/src/services/mixpanel.service.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/src/lib/collections/account-setup-item.collection.mjs +1 -1
- package/esm2022/src/lib/collections/allocation-group.collection.mjs +1 -1
- package/esm2022/src/lib/collections/allocation-rule.collection.mjs +1 -1
- package/esm2022/src/lib/collections/asset-sale.collection.mjs +1 -1
- package/esm2022/src/lib/collections/bank-account.collection.mjs +1 -1
- package/esm2022/src/lib/collections/bank-transaction.collection.mjs +1 -1
- package/esm2022/src/lib/collections/chart-accounts.collection.mjs +1 -1
- package/esm2022/src/lib/collections/chat/chat.collection.mjs +1 -1
- package/esm2022/src/lib/collections/chat/index.mjs +1 -1
- package/esm2022/src/lib/collections/chat/message-document.collection.mjs +1 -1
- package/esm2022/src/lib/collections/chat/message.collection.mjs +1 -1
- package/esm2022/src/lib/collections/client-invite.collection.mjs +1 -1
- package/esm2022/src/lib/collections/client-movement.collection.mjs +1 -1
- package/esm2022/src/lib/collections/client-portfolio-report.collection.mjs +1 -1
- package/esm2022/src/lib/collections/client.collection.mjs +1 -1
- package/esm2022/src/lib/collections/collection-dictionary.mjs +1 -1
- package/esm2022/src/lib/collections/depreciation-forecast.collection.mjs +1 -1
- package/esm2022/src/lib/collections/depreciation.collection.mjs +1 -1
- package/esm2022/src/lib/collections/exportable.collection.mjs +1 -1
- package/esm2022/src/lib/collections/firm/employee-invite.collection.mjs +1 -1
- package/esm2022/src/lib/collections/firm/employee.collection.mjs +1 -1
- package/esm2022/src/lib/collections/firm/index.mjs +1 -1
- package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +1 -1
- package/esm2022/src/lib/collections/holding/holding-type.collection.mjs +1 -1
- package/esm2022/src/lib/collections/holding/holding.collection.mjs +1 -1
- package/esm2022/src/lib/collections/holding/index.mjs +1 -1
- package/esm2022/src/lib/collections/income-source/income-source-forecast.collection.mjs +1 -1
- package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +1 -1
- package/esm2022/src/lib/collections/income-source/index.mjs +1 -1
- package/esm2022/src/lib/collections/index.mjs +1 -1
- package/esm2022/src/lib/collections/loan/index.mjs +1 -1
- package/esm2022/src/lib/collections/loan/loan-payment.collection.mjs +1 -1
- package/esm2022/src/lib/collections/loan/loan.collection.mjs +1 -1
- package/esm2022/src/lib/collections/property/index.mjs +1 -1
- package/esm2022/src/lib/collections/property/property-category-movement.collection.mjs +1 -1
- package/esm2022/src/lib/collections/property/property-sale/index.mjs +1 -1
- package/esm2022/src/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +1 -1
- package/esm2022/src/lib/collections/property/property-sale/property-sale.collection.mjs +1 -1
- package/esm2022/src/lib/collections/property/property-share.collection.mjs +1 -1
- package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +1 -1
- package/esm2022/src/lib/collections/property/property.collection.mjs +3 -7
- package/esm2022/src/lib/collections/property/tax-exemption.collection.mjs +1 -1
- package/esm2022/src/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +1 -1
- package/esm2022/src/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +1 -1
- package/esm2022/src/lib/collections/report/index.mjs +1 -1
- package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +1 -1
- package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +1 -1
- package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +1 -1
- package/esm2022/src/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +1 -1
- package/esm2022/src/lib/collections/sole/index.mjs +1 -1
- package/esm2022/src/lib/collections/sole/sole-business-losses.collection.mjs +1 -1
- package/esm2022/src/lib/collections/sole/sole-invoice-item.collection.mjs +1 -1
- package/esm2022/src/lib/collections/sole/sole-invoice.collection.mjs +1 -1
- package/esm2022/src/lib/collections/subscription/index.mjs +1 -1
- package/esm2022/src/lib/collections/subscription/service-price.collection.mjs +1 -1
- package/esm2022/src/lib/collections/subscription/service-product.collection.mjs +1 -1
- package/esm2022/src/lib/collections/subscription/service-subscription.collection.mjs +1 -1
- package/esm2022/src/lib/collections/subscription/subscription-item.collection.mjs +1 -1
- package/esm2022/src/lib/collections/tax-review.collection.mjs +1 -1
- package/esm2022/src/lib/collections/tax-summary/index.mjs +1 -1
- package/esm2022/src/lib/collections/tax-summary/report-item.collection.mjs +1 -1
- package/esm2022/src/lib/collections/tax-summary/tax-return-categories.const.mjs +1 -1
- package/esm2022/src/lib/collections/transaction/index.mjs +1 -1
- package/esm2022/src/lib/collections/transaction/transaction-allocation.collection.mjs +1 -1
- package/esm2022/src/lib/collections/transaction/transaction-base.collection.mjs +1 -1
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +1 -1
- package/esm2022/src/lib/collections/user/user.collection.mjs +1 -1
- package/esm2022/src/lib/collections/user-event-setting.collection.mjs +1 -1
- package/esm2022/src/lib/collections/user-event-type-collection.mjs +1 -1
- package/esm2022/src/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +1 -1
- package/esm2022/src/lib/collections/vehicle/index.mjs +1 -1
- package/esm2022/src/lib/collections/vehicle/vehicle-claim.collection.mjs +1 -1
- package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +1 -1
- package/esm2022/src/lib/core.module.mjs +1 -1
- package/esm2022/src/lib/db/Enums/address-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-field.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/annual-frequency.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/bank-account-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/bank-account-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/bank-popular.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/bank-provider.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/bank-transaction-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/chat-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/client/client-details-medicare-exemption.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/client/client-details-work-depreciation-calculation.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/client/client-details-working-holiday-maker.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/client/client-invite-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/client/client-invite-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/client/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/client/timezone.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/depreciation-calculation-percent.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/depreciation-calculation.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/depreciation-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/depreciation-write-off-amount.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/document-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/file-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/firm/employee-invite-role.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/firm/firm-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/firm/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/holding/holding-type-category.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/holding/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/income-source/income-source-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/income-source/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/invite-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/phone-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/property/property-category-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/property/property-share-access.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/property/property-share-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/registration-invite-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/salary-forecast-frequency.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/service-notification-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/service-notification-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/setup-item-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/sole-depreciation-method.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/sole-invoice-statuses.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/sole-invoice-tax-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/spare-document-spare-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-payment-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-price-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-price-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-product-id.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-product-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/subscription/service-subscription-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-calculation-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-return/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-item.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-review-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-summary-list.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-summary-section.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/tax-summary-tax-summary.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/ticket-feedback.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/ticket-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/ticket-types.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/transaction-operation.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/transaction-source.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/transaction-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user/gender.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user/index.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-event-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-event-type-client-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-event-type-employee-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-event-type-frequency.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-event-type-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-event-type-user-type.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-medicare-exemption.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-status.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-title.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/user-working-holiday-maker.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/vehicle-claim-details-method.enum.mjs +1 -1
- package/esm2022/src/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +1 -1
- package/esm2022/src/lib/db/Models/abstract-model.mjs +1 -1
- package/esm2022/src/lib/db/Models/address.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/bank-account-balance.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/bank-account-property.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/bank-transaction-import.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/bank.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/basiq-job-step.enum.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/basiq-job.mjs +1 -1
- package/esm2022/src/lib/db/Models/budget/budget-rule.mjs +1 -1
- package/esm2022/src/lib/db/Models/budget/budget.mjs +1 -1
- package/esm2022/src/lib/db/Models/budget/index.mjs +1 -1
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +1 -1
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +1 -1
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +1 -1
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-value.mjs +1 -1
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts.mjs +1 -1
- package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +1 -1
- package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
- package/esm2022/src/lib/db/Models/client/index.mjs +1 -1
- package/esm2022/src/lib/db/Models/client/occupation.mjs +1 -1
- package/esm2022/src/lib/db/Models/country.mjs +1 -1
- package/esm2022/src/lib/db/Models/depreciation/depreciation-capital-project.mjs +1 -1
- package/esm2022/src/lib/db/Models/depreciation/depreciation-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +1 -1
- package/esm2022/src/lib/db/Models/document/document-folder.mjs +1 -1
- package/esm2022/src/lib/db/Models/document/folder-document.mjs +1 -1
- package/esm2022/src/lib/db/Models/document/property-document.mjs +1 -1
- package/esm2022/src/lib/db/Models/file.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/accountant/ticket.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/chat.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/client-invite.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/client-movement.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/firm-invite.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/firm.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/message-document.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/message.mjs +1 -1
- package/esm2022/src/lib/db/Models/holding/holding-import.mjs +1 -1
- package/esm2022/src/lib/db/Models/holding/holding-sale.mjs +1 -1
- package/esm2022/src/lib/db/Models/holding/holding-type-exchange.mjs +1 -1
- package/esm2022/src/lib/db/Models/holding/holding-type.mjs +1 -1
- package/esm2022/src/lib/db/Models/holding/holding.mjs +1 -1
- package/esm2022/src/lib/db/Models/holding/index.mjs +1 -1
- package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/incomeSource/income-source-type.mjs +1 -1
- package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +1 -1
- package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/index.mjs +1 -1
- package/esm2022/src/lib/db/Models/loan/borrowing-expense-loan.mjs +1 -1
- package/esm2022/src/lib/db/Models/loan/borrowing-expense.mjs +1 -1
- package/esm2022/src/lib/db/Models/loan/loan-payout.mjs +1 -1
- package/esm2022/src/lib/db/Models/loan/loan.mjs +1 -1
- package/esm2022/src/lib/db/Models/observable-model.mjs +1 -1
- package/esm2022/src/lib/db/Models/phone.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/borrowing-report.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-category-movement.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-category.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-sale/property-sale.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-share.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-subscription.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-valuation.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property.mjs +1 -1
- package/esm2022/src/lib/db/Models/service-notification.mjs +1 -1
- package/esm2022/src/lib/db/Models/setup-item.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/bas-report.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-business-activity.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-business-allocation.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-business.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-contact.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-depreciation-method.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-details.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-invoice-item.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-invoice-template.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-invoice.mjs +1 -1
- package/esm2022/src/lib/db/Models/spare/spare-document-category.mjs +1 -1
- package/esm2022/src/lib/db/Models/spare/spare-document.mjs +1 -1
- package/esm2022/src/lib/db/Models/subscription/service-payment-method.mjs +1 -1
- package/esm2022/src/lib/db/Models/subscription/service-payment.mjs +1 -1
- package/esm2022/src/lib/db/Models/subscription/service-price.mjs +1 -1
- package/esm2022/src/lib/db/Models/subscription/service-product.mjs +1 -1
- package/esm2022/src/lib/db/Models/subscription/service-subscription-item.mjs +1 -1
- package/esm2022/src/lib/db/Models/subscription/service-subscription.mjs +1 -1
- package/esm2022/src/lib/db/Models/tax-calculation.mjs +1 -1
- package/esm2022/src/lib/db/Models/tax-return/index.mjs +1 -1
- package/esm2022/src/lib/db/Models/tax-return/tax-return-category.mjs +1 -1
- package/esm2022/src/lib/db/Models/tax-return/tax-return-item.mjs +1 -1
- package/esm2022/src/lib/db/Models/tax-return/tax-return.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-condition.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/allocation-rule.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/transaction-allocation.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/transaction-meta-field.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/transaction.mjs +1 -1
- package/esm2022/src/lib/db/Models/user/employee-details.mjs +1 -1
- package/esm2022/src/lib/db/Models/user/registration-invite.mjs +1 -1
- package/esm2022/src/lib/db/Models/user/user-event-setting.mjs +1 -1
- package/esm2022/src/lib/db/Models/user/user-event-type-category.mjs +1 -1
- package/esm2022/src/lib/db/Models/user/user-event-type.mjs +1 -1
- package/esm2022/src/lib/db/Models/user/user-event.mjs +1 -1
- package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +1 -1
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +1 -1
- package/esm2022/src/lib/db/Models/vehicle/vehicle-logbook.mjs +1 -1
- package/esm2022/src/lib/db/Models/vehicle/vehicle.mjs +1 -1
- package/esm2022/src/lib/db-static/chart-accounts/chart-accounts-values.mjs +1 -1
- package/esm2022/src/lib/forms/abstract.form.mjs +1 -1
- package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
- package/esm2022/src/lib/forms/address/index.mjs +1 -1
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +1 -1
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +1 -1
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-import.form.mjs +1 -1
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +1 -1
- package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +1 -1
- package/esm2022/src/lib/forms/budget/budget.form.mjs +1 -1
- package/esm2022/src/lib/forms/budget/index.mjs +1 -1
- package/esm2022/src/lib/forms/chart-accounts/chart-accounts.form.mjs +1 -1
- package/esm2022/src/lib/forms/chart-accounts/index.mjs +1 -1
- package/esm2022/src/lib/forms/chat/chat-filter.form.mjs +1 -1
- package/esm2022/src/lib/forms/chat/index.mjs +1 -1
- package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +1 -1
- package/esm2022/src/lib/forms/client/capital-loss.form.mjs +1 -1
- package/esm2022/src/lib/forms/client/index.mjs +1 -1
- package/esm2022/src/lib/forms/collection.form.mjs +1 -1
- package/esm2022/src/lib/forms/depreciation/depreciation.form.mjs +1 -1
- package/esm2022/src/lib/forms/depreciation/index.mjs +1 -1
- package/esm2022/src/lib/forms/document-folder/document-folder.form.mjs +1 -1
- package/esm2022/src/lib/forms/document-folder/document.form.mjs +1 -1
- package/esm2022/src/lib/forms/document-folder/index.mjs +1 -1
- package/esm2022/src/lib/forms/firm/client-invite-put.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/client-invite.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/client-movement.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/employee-details.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/employee-invite.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/firm-branch.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/firm-invite.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/firm.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/index.mjs +1 -1
- package/esm2022/src/lib/forms/form-validations.enum.mjs +1 -1
- package/esm2022/src/lib/forms/holding/holding-import.form.mjs +1 -1
- package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +1 -1
- package/esm2022/src/lib/forms/holding/holding-sale.form.mjs +1 -1
- package/esm2022/src/lib/forms/holding/holding-type.form.mjs +1 -1
- package/esm2022/src/lib/forms/holding/holding.form.mjs +1 -1
- package/esm2022/src/lib/forms/holding/index.mjs +1 -1
- package/esm2022/src/lib/forms/index.mjs +1 -1
- package/esm2022/src/lib/forms/loan/index.mjs +1 -1
- package/esm2022/src/lib/forms/loan/loan.form.mjs +1 -1
- package/esm2022/src/lib/forms/login/login.form.mjs +1 -1
- package/esm2022/src/lib/forms/phone/index.mjs +1 -1
- package/esm2022/src/lib/forms/phone/phone.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/borrowing-report.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/index.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-add.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-category-movement-form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-document.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-edit.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-forecast.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-sale/index.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-share.form.mjs +1 -1
- package/esm2022/src/lib/forms/property/property-valuation.form.mjs +1 -1
- package/esm2022/src/lib/forms/register/register-client.form.mjs +1 -1
- package/esm2022/src/lib/forms/register/register-firm.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/index.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-cgt.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-dividends.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-interest.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-losses.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-medicare.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-offsets.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-other-income.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/bas-report.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/index.mjs +1 -1
- package/esm2022/src/lib/forms/sole/invoice-payment.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-business-loss.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-business.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-depreciation-method.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-details.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-invoice-item.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-invoice-template.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +1 -1
- package/esm2022/src/lib/forms/tax-review/index.mjs +1 -1
- package/esm2022/src/lib/forms/tax-review/tax-review-filter-status.enum.mjs +1 -1
- package/esm2022/src/lib/forms/tax-review/tax-review-filter.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/allocation-rule-condition.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/allocation-rule-transaction.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/index.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/messages.enum.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/sole/sole-transaction.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/transaction-base.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/transaction.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/work/work-income.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +1 -1
- package/esm2022/src/lib/forms/user/client-details.form.mjs +1 -1
- package/esm2022/src/lib/forms/user/index.mjs +1 -1
- package/esm2022/src/lib/forms/user/password.form.mjs +1 -1
- package/esm2022/src/lib/forms/user/reset-password.form.mjs +1 -1
- package/esm2022/src/lib/forms/user/user-invite.form.mjs +1 -1
- package/esm2022/src/lib/forms/user/user.form.mjs +1 -1
- package/esm2022/src/lib/forms/vehicle/index.mjs +1 -1
- package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +1 -1
- package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +1 -1
- package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +1 -1
- package/esm2022/src/lib/forms/vehicle/vehicle.form.mjs +1 -1
- package/esm2022/src/lib/functions/array/to-array.mjs +1 -1
- package/esm2022/src/lib/functions/clone-deep.mjs +1 -1
- package/esm2022/src/lib/functions/create-date.mjs +1 -1
- package/esm2022/src/lib/functions/get-doc-icon.mjs +1 -1
- package/esm2022/src/lib/functions/mat-sort-options.mjs +1 -1
- package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +1 -1
- package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +1 -1
- package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +1 -1
- package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +1 -1
- package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +1 -1
- package/esm2022/src/lib/interfaces/asset-entity-type.enum.mjs +1 -1
- package/esm2022/src/lib/interfaces/asset.interface.mjs +1 -1
- package/esm2022/src/lib/interfaces/document.interface.mjs +1 -1
- package/esm2022/src/lib/interfaces/documentable.interface.mjs +1 -1
- package/esm2022/src/lib/interfaces/expense.interface.mjs +1 -1
- package/esm2022/src/lib/interfaces/income-source-forecast.interface.mjs +1 -1
- package/esm2022/src/lib/interfaces/index.mjs +1 -1
- package/esm2022/src/lib/interfaces/tank.interface.mjs +1 -1
- package/esm2022/src/lib/interfaces/updatable.interface.mjs +1 -1
- package/esm2022/src/lib/messages/index.mjs +1 -1
- package/esm2022/src/lib/messages/messages.enum.mjs +1 -1
- package/esm2022/src/lib/models/account-setup/account-setup-item.mjs +1 -1
- package/esm2022/src/lib/models/account-setup/account-setup-items.enum.mjs +1 -1
- package/esm2022/src/lib/models/address/index.mjs +1 -1
- package/esm2022/src/lib/models/address/states.enum.mjs +1 -1
- package/esm2022/src/lib/models/asset-sale.mjs +1 -1
- package/esm2022/src/lib/models/bank/allocation-group.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-account-chart-data.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-account-property.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-account-types.const.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-account.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-connection.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-external-stats.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-transaction-summary-fields.enum.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank-transaction.mjs +1 -1
- package/esm2022/src/lib/models/bank/bank.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/basiq-config.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/basiq-connection-data.interface.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/basiq-connections-response.interface.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/basiq-job-response.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/basiq-job-step.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/basiq-job.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/basiq-token-response.interface.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/basiq-token.mjs +1 -1
- package/esm2022/src/lib/models/bank/basiq/index.mjs +1 -1
- package/esm2022/src/lib/models/bank/index.mjs +1 -1
- package/esm2022/src/lib/models/bank/type-loan.const.mjs +1 -1
- package/esm2022/src/lib/models/borrowing-expense/borrowing-expense-loan.mjs +1 -1
- package/esm2022/src/lib/models/borrowing-expense/borrowing-expense.mjs +1 -1
- package/esm2022/src/lib/models/borrowing-expense/index.mjs +1 -1
- package/esm2022/src/lib/models/budget/budget-rule.mjs +1 -1
- package/esm2022/src/lib/models/budget/budget.mjs +1 -1
- package/esm2022/src/lib/models/budget/index.mjs +1 -1
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +1 -1
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-depreciation.mjs +1 -1
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-value.mjs +1 -1
- package/esm2022/src/lib/models/chart-accounts/index.mjs +1 -1
- package/esm2022/src/lib/models/chat/chat-view-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/chat/index.mjs +1 -1
- package/esm2022/src/lib/models/client/annual-client-details.mjs +1 -1
- package/esm2022/src/lib/models/client/capital-loss.interface.mjs +1 -1
- package/esm2022/src/lib/models/client/capital-loss.mjs +1 -1
- package/esm2022/src/lib/models/client/client-details.mjs +1 -1
- package/esm2022/src/lib/models/client/client-portfolio-chart-data.mjs +1 -1
- package/esm2022/src/lib/models/client/client-portfolio-report.mjs +1 -1
- package/esm2022/src/lib/models/client/index.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/depreciation-capital-project.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/depreciation-forecast.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/depreciation-group-item.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/depreciation-group.enum.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/depreciation-group.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/depreciation-groups.const.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/depreciation.mjs +1 -1
- package/esm2022/src/lib/models/depreciation/index.mjs +1 -1
- package/esm2022/src/lib/models/dictionary/dictionary.mjs +1 -1
- package/esm2022/src/lib/models/dictionary/index.mjs +1 -1
- package/esm2022/src/lib/models/document/document-api-url-prefix.enum.mjs +1 -1
- package/esm2022/src/lib/models/document/document-file-types.const.mjs +1 -1
- package/esm2022/src/lib/models/document/document-folder.mjs +1 -1
- package/esm2022/src/lib/models/document/document.mjs +1 -1
- package/esm2022/src/lib/models/document/index.mjs +1 -1
- package/esm2022/src/lib/models/employee/employee-details.mjs +1 -1
- package/esm2022/src/lib/models/event/app-event-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/event/app-event.mjs +1 -1
- package/esm2022/src/lib/models/event/index.mjs +1 -1
- package/esm2022/src/lib/models/export/export-cell-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/export/export-cell.mjs +1 -1
- package/esm2022/src/lib/models/export/export-data-table.mjs +1 -1
- package/esm2022/src/lib/models/export/export-format.enum.mjs +1 -1
- package/esm2022/src/lib/models/file/file.mjs +1 -1
- package/esm2022/src/lib/models/file/icons-file.enum.mjs +1 -1
- package/esm2022/src/lib/models/file/index.mjs +1 -1
- package/esm2022/src/lib/models/financial-year/index.mjs +1 -1
- package/esm2022/src/lib/models/financial-year/months.const.mjs +1 -1
- package/esm2022/src/lib/models/firm/firm-branch.interface.mjs +1 -1
- package/esm2022/src/lib/models/firm/firm-branch.mjs +1 -1
- package/esm2022/src/lib/models/firm/index.mjs +1 -1
- package/esm2022/src/lib/models/holding/holding-import.mjs +1 -1
- package/esm2022/src/lib/models/holding/holding-reinvest.mjs +1 -1
- package/esm2022/src/lib/models/holding/holding-sale.mjs +1 -1
- package/esm2022/src/lib/models/holding/holding-type-exchange.mjs +1 -1
- package/esm2022/src/lib/models/holding/holding-type.mjs +1 -1
- package/esm2022/src/lib/models/holding/holding.mjs +1 -1
- package/esm2022/src/lib/models/holding/index.mjs +1 -1
- package/esm2022/src/lib/models/income-position/income-position.mjs +1 -1
- package/esm2022/src/lib/models/income-source/income-source-chart-data.mjs +1 -1
- package/esm2022/src/lib/models/income-source/income-source-forecast.mjs +1 -1
- package/esm2022/src/lib/models/income-source/income-source-type.mjs +1 -1
- package/esm2022/src/lib/models/income-source/index.mjs +1 -1
- package/esm2022/src/lib/models/income-source/salary-forecast.mjs +1 -1
- package/esm2022/src/lib/models/income-source/sole-forecast.mjs +1 -1
- package/esm2022/src/lib/models/index.mjs +1 -1
- package/esm2022/src/lib/models/loan/index.mjs +1 -1
- package/esm2022/src/lib/models/loan/loan-max-number-of-payments.enum.mjs +1 -1
- package/esm2022/src/lib/models/loan/loan-payment.mjs +1 -1
- package/esm2022/src/lib/models/loan/loan-payout.mjs +1 -1
- package/esm2022/src/lib/models/loan/loan.mjs +1 -1
- package/esm2022/src/lib/models/notification/index.mjs +1 -1
- package/esm2022/src/lib/models/notification/notification.mjs +1 -1
- package/esm2022/src/lib/models/pdf/pdf-orientation.enum.mjs +1 -1
- package/esm2022/src/lib/models/pdf/pdf-settings.mjs +1 -1
- package/esm2022/src/lib/models/property/borrowing-report.mjs +1 -1
- package/esm2022/src/lib/models/property/calculation-form-item.mjs +1 -1
- package/esm2022/src/lib/models/property/calculation-form-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/property/capital-costs-itmes.const.mjs +1 -1
- package/esm2022/src/lib/models/property/index.mjs +1 -1
- package/esm2022/src/lib/models/property/property-category-movement.mjs +1 -1
- package/esm2022/src/lib/models/property/property-category.mjs +1 -1
- package/esm2022/src/lib/models/property/property-document.mjs +1 -1
- package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +1 -1
- package/esm2022/src/lib/models/property/property-equity-chart-item.mjs +1 -1
- package/esm2022/src/lib/models/property/property-equity-chart-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/property/property-forecast.mjs +1 -1
- package/esm2022/src/lib/models/property/property-sale/index.mjs +1 -1
- package/esm2022/src/lib/models/property/property-sale/property-sale-cost-base.mjs +1 -1
- package/esm2022/src/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +1 -1
- package/esm2022/src/lib/models/property/property-sale/property-sale.mjs +1 -1
- package/esm2022/src/lib/models/property/property-sale/tax-exemption-meta-field.mjs +1 -1
- package/esm2022/src/lib/models/property/property-sale/tax-exemption.mjs +1 -1
- package/esm2022/src/lib/models/property/property-share.mjs +1 -1
- package/esm2022/src/lib/models/property/property-subscription.mjs +1 -1
- package/esm2022/src/lib/models/property/property-valuation.mjs +1 -1
- package/esm2022/src/lib/models/property/property.mjs +7 -1
- package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +1 -1
- package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +1 -1
- package/esm2022/src/lib/models/report/depreciation/depreciation-report-item.mjs +1 -1
- package/esm2022/src/lib/models/report/depreciation/index.mjs +1 -1
- package/esm2022/src/lib/models/report/index.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/ato-links.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/index.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +1 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +1 -1
- package/esm2022/src/lib/models/report/property/index.mjs +1 -1
- package/esm2022/src/lib/models/report/property/property-report-item-depreciation.mjs +1 -1
- package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +1 -1
- package/esm2022/src/lib/models/report/property/property-report-item.mjs +1 -1
- package/esm2022/src/lib/models/report/report.interface.mjs +1 -1
- package/esm2022/src/lib/models/report/reports.const.mjs +1 -1
- package/esm2022/src/lib/models/report/sole/index.mjs +1 -1
- package/esm2022/src/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +1 -1
- package/esm2022/src/lib/models/report/vehicle-expense/vehicle-expense.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/index.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/module-url-list.const.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/payment-method-brand.enum.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-payment-method.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-payment.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-price.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-product-icons.enum.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-product-roles.const.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-product.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-promo-code-duration.enum.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-promo-code.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-subscription-item.mjs +1 -1
- package/esm2022/src/lib/models/service-subscription/service-subscription.mjs +1 -1
- package/esm2022/src/lib/models/sole/bas-report.mjs +1 -1
- package/esm2022/src/lib/models/sole/index.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-business-activity.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-business-allocation.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-business-loss-offset-rule.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-business-loss.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-business.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-contact.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-depreciation-method.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-details.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-invoice-template.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-invoice.mjs +1 -1
- package/esm2022/src/lib/models/tax-return/index.mjs +1 -1
- package/esm2022/src/lib/models/tax-return/tax-return-category.mjs +1 -1
- package/esm2022/src/lib/models/tax-return/tax-return-item.mjs +1 -1
- package/esm2022/src/lib/models/tax-return/tax-return.mjs +1 -1
- package/esm2022/src/lib/models/tax-review/tax-review.mjs +1 -1
- package/esm2022/src/lib/models/tax-summary/report-item-details.mjs +1 -1
- package/esm2022/src/lib/models/tax-summary/report-item.mjs +1 -1
- package/esm2022/src/lib/models/tax-summary/tax-summary-section.mjs +1 -1
- package/esm2022/src/lib/models/tax-summary/tax-summary-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +1 -1
- package/esm2022/src/lib/models/toast/toast-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/toast/toast.mjs +1 -1
- package/esm2022/src/lib/models/transaction/allocation-rule-condition.mjs +1 -1
- package/esm2022/src/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +1 -1
- package/esm2022/src/lib/models/transaction/allocation-rule-transaction.mjs +1 -1
- package/esm2022/src/lib/models/transaction/allocation-rule.mjs +1 -1
- package/esm2022/src/lib/models/transaction/income-amount-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/transaction/index.mjs +1 -1
- package/esm2022/src/lib/models/transaction/transaction-allocation.mjs +1 -1
- package/esm2022/src/lib/models/transaction/transaction-category.enum.mjs +1 -1
- package/esm2022/src/lib/models/transaction/transaction-meta-field.mjs +1 -1
- package/esm2022/src/lib/models/transaction/transaction.mjs +1 -1
- package/esm2022/src/lib/models/user/index.mjs +1 -1
- package/esm2022/src/lib/models/user/my-account-history-initiated-by.enum.mjs +1 -1
- package/esm2022/src/lib/models/user/my-account-history-status.enum.mjs +1 -1
- package/esm2022/src/lib/models/user/my-account-history-type.enum.mjs +1 -1
- package/esm2022/src/lib/models/user/my-account-history.mjs +1 -1
- package/esm2022/src/lib/models/user/occupation.mjs +1 -1
- package/esm2022/src/lib/models/user/user-roles.const.mjs +1 -1
- package/esm2022/src/lib/models/user/user-to-register.mjs +1 -1
- package/esm2022/src/lib/models/user/user.mjs +1 -1
- package/esm2022/src/lib/models/user-event/user-event-setting-field.enum.mjs +1 -1
- package/esm2022/src/lib/models/user-event/user-event-setting.mjs +1 -1
- package/esm2022/src/lib/models/user-event/user-event-type-category.mjs +1 -1
- package/esm2022/src/lib/models/user-event/user-event-type.mjs +1 -1
- package/esm2022/src/lib/models/vehicle/index.mjs +1 -1
- package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +1 -1
- package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +1 -1
- package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +1 -1
- package/esm2022/src/lib/models/vehicle/vehicle.mjs +1 -1
- package/esm2022/src/lib/pipes/app-currency.pipe.mjs +1 -1
- package/esm2022/src/lib/pipes/index.mjs +1 -1
- package/esm2022/src/lib/pipes/safe-url.pipe.mjs +1 -1
- package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +1 -1
- package/esm2022/src/lib/services/account-setup/index.mjs +1 -1
- package/esm2022/src/lib/services/asset/assets.service.mjs +1 -1
- package/esm2022/src/lib/services/asset/index.mjs +1 -1
- package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +1 -1
- package/esm2022/src/lib/services/bank/index.mjs +1 -1
- package/esm2022/src/lib/services/data.service.mjs +1 -1
- package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +1 -1
- package/esm2022/src/lib/services/event/index.mjs +1 -1
- package/esm2022/src/lib/services/event/sse.service.mjs +1 -1
- package/esm2022/src/lib/services/export/export-formatter.service.mjs +1 -1
- package/esm2022/src/lib/services/export/index.mjs +1 -1
- package/esm2022/src/lib/services/firm/current-firm-branch.service.mjs +1 -1
- package/esm2022/src/lib/services/firm/index.mjs +1 -1
- package/esm2022/src/lib/services/header-title/header-title.service.mjs +1 -1
- package/esm2022/src/lib/services/header-title/index.mjs +1 -1
- package/esm2022/src/lib/services/http/address/address.service.mjs +1 -1
- package/esm2022/src/lib/services/http/address/index.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/bank-account/index.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/bank-connection/index.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/bank-transaction/index.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/bank.service.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/basiq/basiq-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/basiq/index.mjs +1 -1
- package/esm2022/src/lib/services/http/bank/index.mjs +1 -1
- package/esm2022/src/lib/services/http/budget/budget-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/budget/budget.service.mjs +1 -1
- package/esm2022/src/lib/services/http/budget/index.mjs +1 -1
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +1 -1
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +1 -1
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +1 -1
- package/esm2022/src/lib/services/http/chart-accounts/index.mjs +1 -1
- package/esm2022/src/lib/services/http/chat/chat.service.mjs +1 -1
- package/esm2022/src/lib/services/http/chat/index.mjs +1 -1
- package/esm2022/src/lib/services/http/chat/message-document.service.mjs +1 -1
- package/esm2022/src/lib/services/http/chat/message.service.mjs +1 -1
- package/esm2022/src/lib/services/http/client/annual-client-details.service.mjs +1 -1
- package/esm2022/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/client/capital-loss/capital-loss.service.mjs +1 -1
- package/esm2022/src/lib/services/http/client/capital-loss/index.mjs +1 -1
- package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +1 -1
- package/esm2022/src/lib/services/http/client/index.mjs +1 -1
- package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +1 -1
- package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +1 -1
- package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/index.mjs +1 -1
- package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +1 -1
- package/esm2022/src/lib/services/http/depreciation/index.mjs +1 -1
- package/esm2022/src/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +1 -1
- package/esm2022/src/lib/services/http/document/document-folder/index.mjs +1 -1
- package/esm2022/src/lib/services/http/document/document-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/document/document.service.mjs +1 -1
- package/esm2022/src/lib/services/http/document/index.mjs +1 -1
- package/esm2022/src/lib/services/http/facebook/facebook-auth-options.interface.mjs +1 -1
- package/esm2022/src/lib/services/http/facebook/facebook-auth-response.interface.mjs +1 -1
- package/esm2022/src/lib/services/http/facebook/facebook-status-response.interface.mjs +1 -1
- package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +1 -1
- package/esm2022/src/lib/services/http/facebook/index.mjs +1 -1
- package/esm2022/src/lib/services/http/file/file.service.mjs +1 -1
- package/esm2022/src/lib/services/http/file/index.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/client-invite/index.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/client-movement/client-movement-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/employee/index.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/employee-invite/index.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch.service.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/firm-branch/index.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/firm-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/firm.service.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/index.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +1 -1
- package/esm2022/src/lib/services/http/firm/portfolio-report/index.mjs +1 -1
- package/esm2022/src/lib/services/http/google/google.service.mjs +1 -1
- package/esm2022/src/lib/services/http/google/index.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/holding-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/holding-sale-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/holding-type-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/holding.service.mjs +1 -1
- package/esm2022/src/lib/services/http/holding/index.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/income-source-forecast/index.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/income-source-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/index.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/salary-forecast/index.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/sole-forecast/index.mjs +1 -1
- package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +1 -1
- package/esm2022/src/lib/services/http/index.mjs +1 -1
- package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +1 -1
- package/esm2022/src/lib/services/http/loan/borrowing-expense/index.mjs +1 -1
- package/esm2022/src/lib/services/http/loan/index.mjs +1 -1
- package/esm2022/src/lib/services/http/loan/loan.service.mjs +1 -1
- package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +1 -1
- package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +1 -1
- package/esm2022/src/lib/services/http/property/borrowing-report/index.mjs +1 -1
- package/esm2022/src/lib/services/http/property/index.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-category/index.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-category-movement/index.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-document/index.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-document/property-document-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-sale/index.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-share/index.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-valuation/index.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +1 -1
- package/esm2022/src/lib/services/http/property/property.service.mjs +1 -1
- package/esm2022/src/lib/services/http/rest/http-method.type.mjs +1 -1
- package/esm2022/src/lib/services/http/rest/index.mjs +1 -1
- package/esm2022/src/lib/services/http/rest/rest-method.type.mjs +1 -1
- package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +1 -1
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +1 -1
- package/esm2022/src/lib/services/http/service-notification/index.mjs +1 -1
- package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +1 -1
- package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/bas-report/bas-report-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/bas-report/index.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/index.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-business/index.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +1 -1
- package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +1 -1
- package/esm2022/src/lib/services/http/subscription/index.mjs +1 -1
- package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +1 -1
- package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +1 -1
- package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +1 -1
- package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +1 -1
- package/esm2022/src/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +1 -1
- package/esm2022/src/lib/services/http/tax-review/index.mjs +1 -1
- package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +1 -1
- package/esm2022/src/lib/services/http/tax-review/tax-review-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +1 -1
- package/esm2022/src/lib/services/http/tax-summary/index.mjs +1 -1
- package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +1 -1
- package/esm2022/src/lib/services/http/transaction/index.mjs +1 -1
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +1 -1
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +1 -1
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +1 -1
- package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +1 -1
- package/esm2022/src/lib/services/http/user/index.mjs +1 -1
- package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +1 -1
- package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +1 -1
- package/esm2022/src/lib/services/http/user/user-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/user/user.service.mjs +1 -1
- package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +1 -1
- package/esm2022/src/lib/services/http/vehicle/index.mjs +1 -1
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +1 -1
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +1 -1
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/index.mjs +1 -1
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +1 -1
- package/esm2022/src/lib/services/http/vehicle/vehicle-messages.enum.mjs +1 -1
- package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +1 -1
- package/esm2022/src/lib/services/http/youtube/index.mjs +1 -1
- package/esm2022/src/lib/services/http/youtube/youtube-video.interface.mjs +1 -1
- package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +1 -1
- package/esm2022/src/lib/services/index.mjs +1 -1
- package/esm2022/src/lib/services/intercom/index.mjs +1 -1
- package/esm2022/src/lib/services/intercom/intercom.service.mjs +1 -1
- package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +1 -1
- package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +1 -1
- package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +1 -1
- package/esm2022/src/lib/services/json/index.mjs +1 -1
- package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +1 -1
- package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +1 -1
- package/esm2022/src/lib/services/pdf/index.mjs +1 -1
- package/esm2022/src/lib/services/pdf/js-pdf.mjs +1 -1
- package/esm2022/src/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +1 -1
- package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +1 -1
- package/esm2022/src/lib/services/pdf/pdf-from-table/file-settings.mjs +1 -1
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +1 -1
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +1 -1
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +1 -1
- package/esm2022/src/lib/services/preloader/index.mjs +1 -1
- package/esm2022/src/lib/services/preloader/preloader.service.mjs +1 -1
- package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +1 -1
- package/esm2022/src/lib/services/property/corelogic/index.mjs +1 -1
- package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +1 -1
- package/esm2022/src/lib/services/property/equity-position-chart/index.mjs +1 -1
- package/esm2022/src/lib/services/property/index.mjs +1 -1
- package/esm2022/src/lib/services/property/property-calculation/index.mjs +1 -1
- package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +1 -1
- package/esm2022/src/lib/services/report/index.mjs +1 -1
- package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +1 -1
- package/esm2022/src/lib/services/toast/index.mjs +1 -1
- package/esm2022/src/lib/services/toast/toast.service.mjs +1 -1
- package/esm2022/src/lib/services/user/index.mjs +1 -1
- package/esm2022/src/lib/services/user/user-switcher.service.mjs +1 -1
- package/esm2022/src/lib/services/xlsx/index.mjs +1 -1
- package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +1 -1
- package/esm2022/src/lib/validators/address-corelogic.validator.mjs +1 -1
- package/esm2022/src/lib/validators/at-least-one-enabled.validator.mjs +1 -1
- package/esm2022/src/lib/validators/at-least-one.validator.mjs +1 -1
- package/esm2022/src/lib/validators/autocomplete.validator.mjs +1 -1
- package/esm2022/src/lib/validators/conditional.validator.mjs +1 -1
- package/esm2022/src/lib/validators/current-fin-year.validator.mjs +1 -1
- package/esm2022/src/lib/validators/date-range.validator.mjs +1 -1
- package/esm2022/src/lib/validators/fields-sum.validator.mjs +1 -1
- package/esm2022/src/lib/validators/file.validator.mjs +1 -1
- package/esm2022/src/lib/validators/greater-than.validator.mjs +1 -1
- package/esm2022/src/lib/validators/group.validator.mjs +1 -1
- package/esm2022/src/lib/validators/index.mjs +1 -1
- package/esm2022/src/lib/validators/match-sum.validator.mjs +1 -1
- package/esm2022/src/lib/validators/min-date/messages.enum.mjs +1 -1
- package/esm2022/src/lib/validators/min-date/min-date.validator.mjs +1 -1
- package/esm2022/src/lib/validators/password-match.validator.mjs +1 -1
- package/esm2022/src/lib/validators/password.validator.mjs +1 -1
- package/esm2022/src/lib/validators/phone-number.validator.mjs +1 -1
- package/esm2022/src/lib/validators/required-length.validator.mjs +1 -1
- package/esm2022/src/lib/validators/string/alpha-space.validator.mjs +1 -1
- package/esm2022/src/lib/validators/unique-email.validator.mjs +1 -1
- package/fesm2022/taxtank-core-common.mjs.map +1 -1
- package/fesm2022/taxtank-core.mjs +8 -6
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -2
- package/src/lib/models/property/property.d.ts +1 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taxtank-core-common.mjs","sources":["../../../projects/tt-core/common/src/services/mixpanel.service.ts","../../../projects/tt-core/common/src/db/enums/user/user-roles.enum.ts","../../../projects/tt-core/common/src/services/auth/jwt.service.ts","../../../projects/tt-core/common/src/services/auth/auth.service.ts","../../../projects/tt-core/common/src/services/auth/auth-messages.enum.ts","../../../projects/tt-core/common/src/interceptors/jwt-interceptor.ts","../../../projects/tt-core/common/src/interceptors/interceptors.module.ts","../../../projects/tt-core/common/src/common.module.ts","../../../projects/tt-core/common/taxtank-core-common.ts"],"sourcesContent":["import { Inject, Injectable } from '@angular/core';\r\nimport mixpanel from 'mixpanel-browser';\r\n\r\n/**\r\n * Service to work with mixpanel https://docs.mixpanel.com/docs/tracking/reference/javascript\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MixpanelService {\r\n constructor(@Inject('environment') private environment: any) {}\r\n\r\n init(): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel.init(this.environment.mixpanelToken);\r\n }\r\n\r\n identify(id: string): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel.identify(id);\r\n mixpanel.people.set({ 'last seen': new Date(Date.now()).toLocaleString() })\r\n }\r\n\r\n reset(): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel.reset();\r\n }\r\n\r\n track(event: string, properties: { [key: string]: any } = {}): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel.track(event, properties);\r\n }\r\n\r\n trackLink(id: string, event: string): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel['track_links'](`#${id}`, event);\r\n }\r\n\r\n trackPageView(): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel['track_pageview']();\r\n }\r\n}\r\n","export enum UserRolesEnum {\r\n FIRM_OWNER = 'ROLE_FIRM_OWNER',\r\n FIRM_MANAGER = 'ROLE_FIRM_MANAGER',\r\n FIRM_TOP_MANAGER = 'ROLE_FIRM_TOP_MANAGER',\r\n CLIENT = 'ROLE_CLIENT',\r\n EMPLOYEE = 'ROLE_EMPLOYEE',\r\n ACCOUNTANT = 'ROLE_ACCOUNTANT',\r\n ADVISOR = 'ROLE_ADVISOR',\r\n USER = 'ROLE_USER',\r\n SUBSCRIPTION = 'ROLE_USER_SUBSCRIPTION',\r\n WORK_TANK = 'ROLE_USER_WORK',\r\n PROPERTY_TANK = 'ROLE_USER_PROPERTY',\r\n SOLE_TANK = 'ROLE_USER_SOLE',\r\n HOLDING_TANK = 'ROLE_USER_HOLDING',\r\n SWITCH_USER = 'IS_IMPERSONATOR',\r\n}\r\n","import { Injectable, inject } from '@angular/core';\r\nimport { JwtHelperService } from '@auth0/angular-jwt';\r\nimport { MixpanelService } from '../mixpanel.service';\r\nimport { JwtDecodedInterface } from './jwt-decoded.interface';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { AuthTokenInterface } from './auth-tokens.interface';\r\nimport { UserRolesEnum } from '../../db';\r\n\r\nconst NAME_TOKEN = 'token';\r\nconst NAME_REFRESH_TOKEN = 'refreshToken';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class JwtService extends JwtHelperService {\r\n private mpService: MixpanelService = inject(MixpanelService);\r\n isLoggedInSubject = new BehaviorSubject(!this.isTokenExpired());\r\n\r\n getToken(): string {\r\n return localStorage[NAME_TOKEN];\r\n }\r\n\r\n getRefreshToken(): string {\r\n return localStorage[NAME_REFRESH_TOKEN];\r\n }\r\n\r\n saveTokens(tokens: AuthTokenInterface): void {\r\n localStorage[NAME_TOKEN] = tokens.token;\r\n localStorage[NAME_REFRESH_TOKEN] = tokens.refreshToken;\r\n\r\n this.mpService.identify(this.decode(tokens.token).id.toString());\r\n this.isLoggedInSubject.next(true);\r\n }\r\n\r\n destroyTokens(): void {\r\n localStorage.removeItem(NAME_TOKEN);\r\n localStorage.removeItem(NAME_REFRESH_TOKEN);\r\n\r\n this.mpService.track('logout');\r\n this.mpService.reset();\r\n this.isLoggedInSubject.next(false);\r\n\r\n }\r\n\r\n decode(token?: string): JwtDecodedInterface {\r\n return super.decodeToken(token) as JwtDecodedInterface;\r\n }\r\n\r\n isClient(): boolean {\r\n return this.decode().roles.includes(UserRolesEnum.CLIENT);\r\n }\r\n\r\n isMe(userId: number): boolean {\r\n return this.decode().id === userId;\r\n }\r\n}\r\n","import { Inject, Injectable } from '@angular/core';\r\nimport { HttpClient, HttpErrorResponse } from '@angular/common/http';\r\nimport { JwtService } from './jwt.service';\r\nimport { map } from 'rxjs/operators';\r\nimport { AuthTokenInterface } from './auth-tokens.interface';\r\nimport { MixpanelService } from '../mixpanel.service';\r\nimport { UserRolesEnum } from '../../db';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthService {\r\n constructor(\r\n private http: HttpClient,\r\n private jwtService: JwtService,\r\n private mpService: MixpanelService,\r\n @Inject('environment') private environment: any\r\n ) {\r\n\r\n }\r\n\r\n setAuth(response: AuthTokenInterface) {\r\n this.jwtService.saveTokens(response);\r\n }\r\n\r\n login(username: string, password: string, role: UserRolesEnum = null) {\r\n return this.http.post(`${this.environment.apiV2}/login`, { username, password }).pipe(\r\n map((response: any) => {\r\n if (!role || this.jwtService.decodeToken(response.token).roles.includes(role)) {\r\n this.setAuth(response);\r\n } else {\r\n throw new HttpErrorResponse({\r\n error: { code: 401, message: 'Your TaxTank subscription is expired. Please reactivate your account to link the widget.' },\r\n status: 401,\r\n statusText: 'Unauthorized',\r\n })\r\n }\r\n\r\n return response;\r\n })\r\n );\r\n }\r\n\r\n refresh(refreshToken: string) {\r\n return this.http.post(`${this.environment.apiV2}/token/refresh`, { refreshToken }).pipe(\r\n map((response: any) => {\r\n this.setAuth(response);\r\n\r\n return response;\r\n })\r\n );\r\n }\r\n\r\n logoutFront(url = '/login'): void {\r\n this.jwtService.destroyTokens();\r\n localStorage.clear();\r\n location.replace(url);\r\n }\r\n}\r\n","export enum AuthMessagesEnum {\r\n ERROR_401 = 'Email or password is incorrect'\r\n}\r\n","import { BehaviorSubject, Observable, throwError as observableThrowError } from 'rxjs';\r\nimport { catchError, filter, finalize, switchMap, take } from 'rxjs/operators';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\r\nimport { AuthService, JwtService } from '../services';\r\n\r\nconst MESSAGE_DEFAULT_500_ERROR = 'Unexpected error! Please try again later. You can send us via chat your questions.';\r\n\r\n/**\r\n * JWT Interceptor add jwt token to each request related with TaxTank API\r\n */\r\n@Injectable()\r\nexport class JwtInterceptor implements HttpInterceptor {\r\n isRefreshingToken = false;\r\n tokenSubject: BehaviorSubject<string> = new BehaviorSubject<string>(null);\r\n\r\n constructor(\r\n public jwtService: JwtService,\r\n private authService: AuthService,\r\n @Inject('environment') private environment: any\r\n ) {}\r\n\r\n addToken(req: HttpRequest<any>): HttpRequest<any> {\r\n return req.clone({\r\n setHeaders: { Authorization: 'Bearer ' + this.jwtService.getToken() },\r\n withCredentials: true\r\n });\r\n }\r\n\r\n intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\r\n // skip third party requests\r\n if (!request.url.includes(this.environment.apiV2)) {\r\n return next.handle(request);\r\n }\r\n\r\n // add token to every api request\r\n return next.handle(this.addToken(request)).pipe(\r\n // handle errors\r\n catchError((err: HttpErrorResponse) => {\r\n if (err instanceof HttpErrorResponse) {\r\n switch ((err as HttpErrorResponse).status) {\r\n // unexpected errors\r\n case 405:\r\n case 500:\r\n this.handle500Error();\r\n break;\r\n // expected errors\r\n case 401:\r\n return this.handle401Error(request, next, err);\r\n case 400:\r\n case 403:\r\n // @TODO in most cases 404 is not an error, handle in components\r\n // case 404:\r\n this.showErrorMessages(err);\r\n break;\r\n }\r\n }\r\n\r\n return observableThrowError(err);\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * @TODO log\r\n * @TODO waiting for backend to handle errors in a better way\r\n */\r\n handle400Error(err: HttpErrorResponse): void {\r\n // this.snackBar.open(err.error['hydra:description'], '', {\r\n // panelClass: 'error'\r\n // });\r\n }\r\n\r\n /**\r\n * @TODO log\r\n * @TODO waiting for backend to handle errors in a better way\r\n */\r\n handle403Error(err: HttpErrorResponse): void {\r\n // this.snackBar.open(err.error['hydra:description'], '', {\r\n // panelClass: 'error'\r\n // });\r\n }\r\n\r\n /**\r\n * @TODO log\r\n */\r\n handle500Error(): void {\r\n // this.snackBar.open(MESSAGE_DEFAULT_500_ERROR, '', {\r\n // panelClass: 'error'\r\n // });\r\n }\r\n\r\n handle401Error(req: HttpRequest<any>, next: HttpHandler, err: HttpErrorResponse) {\r\n // skip 401 errors not from JWT (basiq login case or other)\r\n if (!err.error.message?.includes('JWT Token')) {\r\n return observableThrowError(err);\r\n }\r\n\r\n if (req.url.includes('token/refresh') || req.url.includes('login')) {\r\n if (req.url.includes('token/refresh')) {\r\n this.authService.logoutFront();\r\n }\r\n\r\n return observableThrowError(err);\r\n }\r\n\r\n // refreshing token, wait until it's done and retry the request\r\n if (this.isRefreshingToken) {\r\n return this.tokenSubject.pipe(\r\n filter(token => token != null),\r\n take(1),\r\n switchMap(token => next.handle(this.addToken(req)))\r\n );\r\n // refresh token\r\n }\r\n // subsequent requests should wait until refresh token is ready\r\n this.isRefreshingToken = true;\r\n this.tokenSubject.next(null);\r\n\r\n return this.authService.refresh(this.jwtService.getRefreshToken()).pipe(\r\n switchMap((tokens: { token: string, refreshToken: string }) => {\r\n this.tokenSubject.next(tokens.token);\r\n return next.handle(this.addToken(req));\r\n }),\r\n catchError(() => {\r\n this.authService.logoutFront();\r\n return observableThrowError(err);\r\n }),\r\n finalize(() => {\r\n this.isRefreshingToken = false;\r\n })\r\n );\r\n\r\n }\r\n\r\n /**\r\n * Handle error messages\r\n * @param errorResponse from which messages should be taken\r\n *\r\n * @TODO move to separated interceptor\r\n */\r\n private showErrorMessages(errorResponse: HttpErrorResponse): void {\r\n if (!errorResponse.error.violations) {\r\n // this.snackBar.open('Something went wrong', '', {\r\n // panelClass: 'error'\r\n // });\r\n\r\n return;\r\n }\r\n errorResponse.error.violations.forEach((violation: object): void => {\r\n // this.snackBar.open(violation['message'], '', {\r\n // panelClass: 'error'\r\n // });\r\n });\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { JwtInterceptor } from './jwt-interceptor';\r\n\r\n@NgModule({\r\n providers: [\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: JwtInterceptor,\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class InterceptorsModule {\r\n}\r\n","import { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { CommonModule as AngularCommonModule } from '@angular/common';\r\nimport { InterceptorsModule } from './interceptors/interceptors.module';\r\n\r\n/**\r\n * https://angular.io/guide/creating-libraries\r\n */\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n AngularCommonModule,\r\n InterceptorsModule\r\n ]\r\n})\r\nexport class CommonModule {\r\n public static forRoot(environment: object): ModuleWithProviders<CommonModule> {\r\n // @TODO remove when bank model refactored (the only use case)\r\n localStorage.setItem('api_uri', environment['api_uri']);\r\n\r\n return {\r\n ngModule: CommonModule,\r\n providers: [\r\n {\r\n provide: 'environment',\r\n useValue: environment\r\n }\r\n ]\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["observableThrowError","AngularCommonModule"],"mappings":";;;;;;;;;;AAGA;;AAEG;MAIU,eAAe,CAAA;AAC1B,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AA,EAAA,CAAA,CAAA,EAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJrBC,cAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJrBA,cAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGT,YAAY,EAAA,UAAA,EAAA,CAAA;kBAPxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACPA,cAAmB;wBACnB,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"taxtank-core-common.mjs","sources":["../../../projects/tt-core/common/src/services/mixpanel.service.ts","../../../projects/tt-core/common/src/db/enums/user/user-roles.enum.ts","../../../projects/tt-core/common/src/services/auth/jwt.service.ts","../../../projects/tt-core/common/src/services/auth/auth.service.ts","../../../projects/tt-core/common/src/services/auth/auth-messages.enum.ts","../../../projects/tt-core/common/src/interceptors/jwt-interceptor.ts","../../../projects/tt-core/common/src/interceptors/interceptors.module.ts","../../../projects/tt-core/common/src/common.module.ts","../../../projects/tt-core/common/taxtank-core-common.ts"],"sourcesContent":["import { Inject, Injectable } from '@angular/core';\nimport mixpanel from 'mixpanel-browser';\n\n/**\n * Service to work with mixpanel https://docs.mixpanel.com/docs/tracking/reference/javascript\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class MixpanelService {\n constructor(@Inject('environment') private environment: any) {}\n\n init(): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel.init(this.environment.mixpanelToken);\n }\n\n identify(id: string): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel.identify(id);\n mixpanel.people.set({ 'last seen': new Date(Date.now()).toLocaleString() })\n }\n\n reset(): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel.reset();\n }\n\n track(event: string, properties: { [key: string]: any } = {}): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel.track(event, properties);\n }\n\n trackLink(id: string, event: string): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel['track_links'](`#${id}`, event);\n }\n\n trackPageView(): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel['track_pageview']();\n }\n}\n","export enum UserRolesEnum {\n FIRM_OWNER = 'ROLE_FIRM_OWNER',\n FIRM_MANAGER = 'ROLE_FIRM_MANAGER',\n FIRM_TOP_MANAGER = 'ROLE_FIRM_TOP_MANAGER',\n CLIENT = 'ROLE_CLIENT',\n EMPLOYEE = 'ROLE_EMPLOYEE',\n ACCOUNTANT = 'ROLE_ACCOUNTANT',\n ADVISOR = 'ROLE_ADVISOR',\n USER = 'ROLE_USER',\n SUBSCRIPTION = 'ROLE_USER_SUBSCRIPTION',\n WORK_TANK = 'ROLE_USER_WORK',\n PROPERTY_TANK = 'ROLE_USER_PROPERTY',\n SOLE_TANK = 'ROLE_USER_SOLE',\n HOLDING_TANK = 'ROLE_USER_HOLDING',\n SWITCH_USER = 'IS_IMPERSONATOR',\n}\n","import { Injectable, inject } from '@angular/core';\nimport { JwtHelperService } from '@auth0/angular-jwt';\nimport { MixpanelService } from '../mixpanel.service';\nimport { JwtDecodedInterface } from './jwt-decoded.interface';\nimport { BehaviorSubject } from 'rxjs';\nimport { AuthTokenInterface } from './auth-tokens.interface';\nimport { UserRolesEnum } from '../../db';\n\nconst NAME_TOKEN = 'token';\nconst NAME_REFRESH_TOKEN = 'refreshToken';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class JwtService extends JwtHelperService {\n private mpService: MixpanelService = inject(MixpanelService);\n isLoggedInSubject = new BehaviorSubject(!this.isTokenExpired());\n\n getToken(): string {\n return localStorage[NAME_TOKEN];\n }\n\n getRefreshToken(): string {\n return localStorage[NAME_REFRESH_TOKEN];\n }\n\n saveTokens(tokens: AuthTokenInterface): void {\n localStorage[NAME_TOKEN] = tokens.token;\n localStorage[NAME_REFRESH_TOKEN] = tokens.refreshToken;\n\n this.mpService.identify(this.decode(tokens.token).id.toString());\n this.isLoggedInSubject.next(true);\n }\n\n destroyTokens(): void {\n localStorage.removeItem(NAME_TOKEN);\n localStorage.removeItem(NAME_REFRESH_TOKEN);\n\n this.mpService.track('logout');\n this.mpService.reset();\n this.isLoggedInSubject.next(false);\n\n }\n\n decode(token?: string): JwtDecodedInterface {\n return super.decodeToken(token) as JwtDecodedInterface;\n }\n\n isClient(): boolean {\n return this.decode().roles.includes(UserRolesEnum.CLIENT);\n }\n\n isMe(userId: number): boolean {\n return this.decode().id === userId;\n }\n}\n","import { Inject, Injectable } from '@angular/core';\nimport { HttpClient, HttpErrorResponse } from '@angular/common/http';\nimport { JwtService } from './jwt.service';\nimport { map } from 'rxjs/operators';\nimport { AuthTokenInterface } from './auth-tokens.interface';\nimport { MixpanelService } from '../mixpanel.service';\nimport { UserRolesEnum } from '../../db';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AuthService {\n constructor(\n private http: HttpClient,\n private jwtService: JwtService,\n private mpService: MixpanelService,\n @Inject('environment') private environment: any\n ) {\n\n }\n\n setAuth(response: AuthTokenInterface) {\n this.jwtService.saveTokens(response);\n }\n\n login(username: string, password: string, role: UserRolesEnum = null) {\n return this.http.post(`${this.environment.apiV2}/login`, { username, password }).pipe(\n map((response: any) => {\n if (!role || this.jwtService.decodeToken(response.token).roles.includes(role)) {\n this.setAuth(response);\n } else {\n throw new HttpErrorResponse({\n error: { code: 401, message: 'Your TaxTank subscription is expired. Please reactivate your account to link the widget.' },\n status: 401,\n statusText: 'Unauthorized',\n })\n }\n\n return response;\n })\n );\n }\n\n refresh(refreshToken: string) {\n return this.http.post(`${this.environment.apiV2}/token/refresh`, { refreshToken }).pipe(\n map((response: any) => {\n this.setAuth(response);\n\n return response;\n })\n );\n }\n\n logoutFront(url = '/login'): void {\n this.jwtService.destroyTokens();\n localStorage.clear();\n location.replace(url);\n }\n}\n","export enum AuthMessagesEnum {\n ERROR_401 = 'Email or password is incorrect'\n}\n","import { BehaviorSubject, Observable, throwError as observableThrowError } from 'rxjs';\nimport { catchError, filter, finalize, switchMap, take } from 'rxjs/operators';\nimport { Inject, Injectable } from '@angular/core';\nimport { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\nimport { AuthService, JwtService } from '../services';\n\nconst MESSAGE_DEFAULT_500_ERROR = 'Unexpected error! Please try again later. You can send us via chat your questions.';\n\n/**\n * JWT Interceptor add jwt token to each request related with TaxTank API\n */\n@Injectable()\nexport class JwtInterceptor implements HttpInterceptor {\n isRefreshingToken = false;\n tokenSubject: BehaviorSubject<string> = new BehaviorSubject<string>(null);\n\n constructor(\n public jwtService: JwtService,\n private authService: AuthService,\n @Inject('environment') private environment: any\n ) {}\n\n addToken(req: HttpRequest<any>): HttpRequest<any> {\n return req.clone({\n setHeaders: { Authorization: 'Bearer ' + this.jwtService.getToken() },\n withCredentials: true\n });\n }\n\n intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\n // skip third party requests\n if (!request.url.includes(this.environment.apiV2)) {\n return next.handle(request);\n }\n\n // add token to every api request\n return next.handle(this.addToken(request)).pipe(\n // handle errors\n catchError((err: HttpErrorResponse) => {\n if (err instanceof HttpErrorResponse) {\n switch ((err as HttpErrorResponse).status) {\n // unexpected errors\n case 405:\n case 500:\n this.handle500Error();\n break;\n // expected errors\n case 401:\n return this.handle401Error(request, next, err);\n case 400:\n case 403:\n // @TODO in most cases 404 is not an error, handle in components\n // case 404:\n this.showErrorMessages(err);\n break;\n }\n }\n\n return observableThrowError(err);\n })\n );\n }\n\n /**\n * @TODO log\n * @TODO waiting for backend to handle errors in a better way\n */\n handle400Error(err: HttpErrorResponse): void {\n // this.snackBar.open(err.error['hydra:description'], '', {\n // panelClass: 'error'\n // });\n }\n\n /**\n * @TODO log\n * @TODO waiting for backend to handle errors in a better way\n */\n handle403Error(err: HttpErrorResponse): void {\n // this.snackBar.open(err.error['hydra:description'], '', {\n // panelClass: 'error'\n // });\n }\n\n /**\n * @TODO log\n */\n handle500Error(): void {\n // this.snackBar.open(MESSAGE_DEFAULT_500_ERROR, '', {\n // panelClass: 'error'\n // });\n }\n\n handle401Error(req: HttpRequest<any>, next: HttpHandler, err: HttpErrorResponse) {\n // skip 401 errors not from JWT (basiq login case or other)\n if (!err.error.message?.includes('JWT Token')) {\n return observableThrowError(err);\n }\n\n if (req.url.includes('token/refresh') || req.url.includes('login')) {\n if (req.url.includes('token/refresh')) {\n this.authService.logoutFront();\n }\n\n return observableThrowError(err);\n }\n\n // refreshing token, wait until it's done and retry the request\n if (this.isRefreshingToken) {\n return this.tokenSubject.pipe(\n filter(token => token != null),\n take(1),\n switchMap(token => next.handle(this.addToken(req)))\n );\n // refresh token\n }\n // subsequent requests should wait until refresh token is ready\n this.isRefreshingToken = true;\n this.tokenSubject.next(null);\n\n return this.authService.refresh(this.jwtService.getRefreshToken()).pipe(\n switchMap((tokens: { token: string, refreshToken: string }) => {\n this.tokenSubject.next(tokens.token);\n return next.handle(this.addToken(req));\n }),\n catchError(() => {\n this.authService.logoutFront();\n return observableThrowError(err);\n }),\n finalize(() => {\n this.isRefreshingToken = false;\n })\n );\n\n }\n\n /**\n * Handle error messages\n * @param errorResponse from which messages should be taken\n *\n * @TODO move to separated interceptor\n */\n private showErrorMessages(errorResponse: HttpErrorResponse): void {\n if (!errorResponse.error.violations) {\n // this.snackBar.open('Something went wrong', '', {\n // panelClass: 'error'\n // });\n\n return;\n }\n errorResponse.error.violations.forEach((violation: object): void => {\n // this.snackBar.open(violation['message'], '', {\n // panelClass: 'error'\n // });\n });\n }\n}\n","import { NgModule } from '@angular/core';\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { JwtInterceptor } from './jwt-interceptor';\r\n\r\n@NgModule({\r\n providers: [\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: JwtInterceptor,\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class InterceptorsModule {\r\n}\r\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CommonModule as AngularCommonModule } from '@angular/common';\nimport { InterceptorsModule } from './interceptors/interceptors.module';\n\n/**\n * https://angular.io/guide/creating-libraries\n */\n@NgModule({\n declarations: [],\n imports: [\n AngularCommonModule,\n InterceptorsModule\n ]\n})\nexport class CommonModule {\n public static forRoot(environment: object): ModuleWithProviders<CommonModule> {\n // @TODO remove when bank model refactored (the only use case)\n localStorage.setItem('api_uri', environment['api_uri']);\n\n return {\n ngModule: CommonModule,\n providers: [\n {\n provide: 'environment',\n useValue: environment\n }\n ]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["observableThrowError","AngularCommonModule"],"mappings":";;;;;;;;;;AAGA;;AAEG;MAIU,eAAe,CAAA;AAC1B,IAAA,WAAA,CAA2C,WAAgB,EAAA;QAAhB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAK;KAAI;IAE/D,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;YACpC,OAAO;AACR,SAAA;QAED,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;KAC/C;AAED,IAAA,QAAQ,CAAC,EAAU,EAAA;AACjB,QAAA,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;YACpC,OAAO;AACR,SAAA;AAED,QAAA,QAAQ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IAAA,EAAA,YAAY,YAJrBA,cAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGT,YAAY,EAAA,UAAA,EAAA,CAAA;kBAPxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACPA,cAAmB;wBACnB,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
@@ -2339,14 +2339,10 @@ class PropertyCollection extends Collection {
|
|
2339
2339
|
return this.sumBy('growthPercent');
|
2340
2340
|
}
|
2341
2341
|
get marketValue() {
|
2342
|
-
return this.sumBy('
|
2342
|
+
return this.sumBy('marketValue');
|
2343
2343
|
}
|
2344
2344
|
get sharedMarketValue() {
|
2345
|
-
|
2346
|
-
this.items.forEach(property => {
|
2347
|
-
sharedMarketValue += property.shareRatio * property.marketValue;
|
2348
|
-
});
|
2349
|
-
return sharedMarketValue;
|
2345
|
+
return this.sumBy('sharedMarketValue');
|
2350
2346
|
}
|
2351
2347
|
/**
|
2352
2348
|
* Get list of unique property categories from collection
|
@@ -5800,6 +5796,12 @@ class Property extends Property$1 {
|
|
5800
5796
|
}
|
5801
5797
|
return this.valuation?.marketValue || 0;
|
5802
5798
|
}
|
5799
|
+
get sharedMarketValue() {
|
5800
|
+
if (this.isSold()) {
|
5801
|
+
return 0;
|
5802
|
+
}
|
5803
|
+
return this.shareRatio * this.marketValue;
|
5804
|
+
}
|
5803
5805
|
get currentYearForecast() {
|
5804
5806
|
const year = new FinancialYear().year;
|
5805
5807
|
return this.forecasts.find((forecast) => forecast.financialYear === year)
|