taxtank-core 0.32.89 → 0.33.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/common/index.d.ts +5 -0
- package/common/public-api.d.ts +3 -0
- package/common/src/common.module.d.ts +13 -0
- package/common/src/db/enums/index.d.ts +1 -0
- package/common/src/db/enums/user/index.d.ts +1 -0
- package/common/src/db/index.d.ts +1 -0
- package/common/src/interceptors/jwt-interceptor.d.ts +41 -0
- package/common/src/services/auth/auth-messages.enum.d.ts +3 -0
- package/common/src/services/auth/auth-tokens.interface.d.ts +7 -0
- package/common/src/services/auth/auth.service.d.ts +19 -0
- package/common/src/services/auth/index.d.ts +5 -0
- package/common/src/services/auth/jwt-decoded.interface.d.ts +11 -0
- package/common/src/services/auth/jwt.service.d.ts +17 -0
- package/common/src/services/index.d.ts +2 -0
- package/esm2022/common/public-api.mjs +4 -0
- package/esm2022/common/src/common.module.mjs +36 -0
- package/esm2022/common/src/db/enums/index.mjs +2 -0
- package/esm2022/common/src/db/enums/user/index.mjs +2 -0
- package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +17 -0
- package/esm2022/common/src/db/index.mjs +2 -0
- package/esm2022/common/src/interceptors/interceptors.module.mjs +28 -0
- package/esm2022/common/src/interceptors/jwt-interceptor.mjs +138 -0
- package/esm2022/common/src/services/auth/auth-messages.enum.mjs +5 -0
- package/esm2022/common/src/services/auth/auth-tokens.interface.mjs +2 -0
- package/esm2022/common/src/services/auth/auth.service.mjs +56 -0
- package/esm2022/common/src/services/auth/index.mjs +6 -0
- package/esm2022/common/src/services/auth/jwt-decoded.interface.mjs +2 -0
- package/esm2022/common/src/services/auth/jwt.service.mjs +48 -0
- package/esm2022/common/src/services/index.mjs +3 -0
- package/esm2022/common/src/services/mixpanel.service.mjs +54 -0
- package/esm2022/common/taxtank-core-common.mjs +5 -0
- package/esm2022/public-api.mjs +159 -160
- package/esm2022/src/lib/collections/account-setup-item.collection.mjs +12 -0
- package/esm2022/src/lib/collections/allocation-group.collection.mjs +9 -0
- package/esm2022/src/lib/collections/allocation-rule.collection.mjs +26 -0
- package/esm2022/src/lib/collections/asset-sale.collection.mjs +56 -0
- package/esm2022/src/lib/collections/bank-account.collection.mjs +153 -0
- package/esm2022/src/lib/collections/bank-transaction.collection.mjs +131 -0
- package/esm2022/src/lib/collections/chart-accounts.collection.mjs +26 -0
- package/esm2022/src/lib/collections/chat/chat.collection.mjs +26 -0
- package/esm2022/src/lib/collections/chat/index.mjs +4 -0
- package/esm2022/src/lib/collections/chat/message-document.collection.mjs +13 -0
- package/esm2022/src/lib/collections/chat/message.collection.mjs +31 -0
- package/esm2022/src/lib/collections/client-invite.collection.mjs +7 -0
- package/esm2022/src/lib/collections/client-movement.collection.mjs +47 -0
- package/esm2022/src/lib/collections/client-portfolio-report.collection.mjs +40 -0
- package/esm2022/src/lib/collections/client.collection.mjs +4 -0
- package/esm2022/src/lib/collections/collection-dictionary.mjs +110 -0
- package/esm2022/src/lib/collections/collection.mjs +163 -0
- package/esm2022/src/lib/collections/depreciation-forecast.collection.mjs +19 -0
- package/esm2022/src/lib/collections/depreciation.collection.mjs +116 -0
- package/esm2022/src/lib/collections/employee.collection.mjs +11 -0
- package/esm2022/src/lib/collections/exportable.collection.mjs +23 -0
- package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +41 -0
- package/esm2022/src/lib/collections/holding/holding-type.collection.mjs +13 -0
- package/esm2022/src/lib/collections/holding/holding.collection.mjs +68 -0
- package/esm2022/src/lib/collections/holding/index.mjs +4 -0
- package/esm2022/src/lib/collections/income-source/income-source-forecast.collection.mjs +11 -0
- package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +43 -0
- package/esm2022/src/lib/collections/income-source/index.mjs +3 -0
- package/esm2022/src/lib/collections/index.mjs +34 -0
- package/esm2022/src/lib/collections/loan/index.mjs +3 -0
- package/esm2022/src/lib/collections/loan/loan-payment.collection.mjs +40 -0
- package/esm2022/src/lib/collections/loan/loan.collection.mjs +46 -0
- package/esm2022/src/lib/collections/property/index.mjs +7 -0
- package/esm2022/src/lib/collections/property/property-category-movement.collection.mjs +23 -0
- package/esm2022/src/lib/collections/property/property-sale/index.mjs +3 -0
- package/esm2022/src/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +17 -0
- package/esm2022/src/lib/collections/property/property-sale/property-sale.collection.mjs +13 -0
- package/esm2022/src/lib/collections/property/property-share.collection.mjs +20 -0
- package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +4 -0
- package/esm2022/src/lib/collections/property/property.collection.mjs +113 -0
- package/esm2022/src/lib/collections/property/tax-exemption.collection.mjs +11 -0
- package/esm2022/src/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +12 -0
- package/esm2022/src/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +12 -0
- package/esm2022/src/lib/collections/report/index.mjs +7 -0
- package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +21 -0
- package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +21 -0
- package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +13 -0
- package/esm2022/src/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +17 -0
- package/esm2022/src/lib/collections/sole/index.mjs +4 -0
- package/esm2022/src/lib/collections/sole/sole-business-losses.collection.mjs +41 -0
- package/esm2022/src/lib/collections/sole/sole-invoice-item.collection.mjs +10 -0
- package/esm2022/src/lib/collections/sole/sole-invoice.collection.mjs +30 -0
- package/esm2022/src/lib/collections/subscription/index.mjs +5 -0
- package/esm2022/src/lib/collections/subscription/service-price.collection.mjs +50 -0
- package/esm2022/src/lib/collections/subscription/service-product.collection.mjs +11 -0
- package/esm2022/src/lib/collections/subscription/service-subscription.collection.mjs +58 -0
- package/esm2022/src/lib/collections/subscription/subscription-item.collection.mjs +17 -0
- package/esm2022/src/lib/collections/tax-review.collection.mjs +53 -0
- package/esm2022/src/lib/collections/tax-summary/index.mjs +3 -0
- package/esm2022/src/lib/collections/tax-summary/report-item.collection.mjs +101 -0
- package/esm2022/src/lib/collections/tax-summary/tax-return-categories.const.mjs +113 -0
- package/esm2022/src/lib/collections/transaction/index.mjs +3 -0
- package/esm2022/src/lib/collections/transaction/transaction-allocation.collection.mjs +39 -0
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +240 -0
- package/esm2022/src/lib/collections/user-event-setting.collection.mjs +10 -0
- package/esm2022/src/lib/collections/user-event-type-collection.mjs +11 -0
- package/esm2022/src/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +90 -0
- package/esm2022/src/lib/collections/vehicle/index.mjs +4 -0
- package/esm2022/src/lib/collections/vehicle/vehicle-claim.collection.mjs +25 -0
- package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +31 -0
- package/esm2022/src/lib/core.module.mjs +37 -0
- package/esm2022/src/lib/db/Enums/address-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-field.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/annual-frequency.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/bank/bank-account-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/bank-account-type.enum.mjs +13 -0
- package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/bank-popular.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/bank/bank-provider.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/bank-transaction-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/index.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/loan/index.mjs +11 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +12 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-type.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +16 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +20 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +50 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +11 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +25 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +102 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +19 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +50 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +17 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +18 -0
- package/esm2022/src/lib/db/Enums/chat-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/client-details-medicare-exemption.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/client-invite-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/client-invite-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/depreciation-calculation-percent.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/depreciation-calculation.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/depreciation-type.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/depreciation-write-off-amount.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/document-type.enum.mjs +5 -0
- package/esm2022/src/lib/db/Enums/file-type.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/firm-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/holding/holding-type-category.enum.mjs +18 -0
- package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/holding/index.mjs +3 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +15 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +5 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type.enum.mjs +11 -0
- package/esm2022/src/lib/db/Enums/income-source/index.mjs +7 -0
- package/esm2022/src/lib/db/Enums/index.mjs +13 -0
- package/esm2022/src/lib/db/Enums/invite-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/phone-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/property/property-category-list.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +12 -0
- package/esm2022/src/lib/db/Enums/property/property-share-access.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/property/property-share-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/registration-invite-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/salary-forecast-frequency.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/service-notification-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/service-notification-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/setup-item-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/sole-depreciation-method.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/sole-invoice-statuses.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/sole-invoice-tax-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/spare-document-spare-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/subscription/index.mjs +2 -0
- package/esm2022/src/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +12 -0
- package/esm2022/src/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/subscription/service-payment-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/subscription/service-price-list.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/subscription/service-price-type.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/subscription/service-product-id.enum.mjs +11 -0
- package/esm2022/src/lib/db/Enums/subscription/service-product-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/subscription/service-subscription-status.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/tax-calculation-type.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/tax-return/index.mjs +4 -0
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +66 -0
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-item.enum.mjs +20 -0
- package/esm2022/src/lib/db/Enums/tax-review-status.enum.mjs +13 -0
- package/esm2022/src/lib/db/Enums/tax-summary-list.enum.mjs +17 -0
- package/esm2022/src/lib/db/Enums/tax-summary-section.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/tax-summary-tax-summary.enum.mjs +17 -0
- package/esm2022/src/lib/db/Enums/ticket-feedback.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/ticket-status.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/ticket-types.enum.mjs +5 -0
- package/esm2022/src/lib/db/Enums/transaction-operation.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/transaction-source.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/transaction-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/user-event-status.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/user-event-type-client-type.enum.mjs +29 -0
- package/esm2022/src/lib/db/Enums/user-event-type-employee-type.enum.mjs +17 -0
- package/esm2022/src/lib/db/Enums/user-event-type-frequency.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/user-event-type-type.enum.mjs +51 -0
- package/esm2022/src/lib/db/Enums/user-event-type-user-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/user-medicare-exemption.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/user-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/user-title.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/user-working-holiday-maker.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/vehicle-claim-details-method.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +6 -0
- package/esm2022/src/lib/db/Models/abstract-model.mjs +14 -0
- package/esm2022/src/lib/db/Models/address.mjs +4 -0
- package/esm2022/src/lib/db/Models/bank/bank-account-balance.mjs +9 -0
- package/esm2022/src/lib/db/Models/bank/bank-account-property.mjs +9 -0
- package/esm2022/src/lib/db/Models/bank/bank-account.mjs +10 -0
- package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +5 -0
- package/esm2022/src/lib/db/Models/bank/bank-transaction-import.mjs +4 -0
- package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +5 -0
- package/esm2022/src/lib/db/Models/bank/bank.mjs +4 -0
- package/esm2022/src/lib/db/Models/bank/basiq-job-step.enum.mjs +8 -0
- package/esm2022/src/lib/db/Models/bank/basiq-job.mjs +4 -0
- package/esm2022/src/lib/db/Models/budget/budget-rule.mjs +4 -0
- package/esm2022/src/lib/db/Models/budget/budget.mjs +4 -0
- package/esm2022/src/lib/db/Models/budget/index.mjs +3 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +4 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +4 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-value.mjs +4 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts.mjs +4 -0
- package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +3 -0
- package/esm2022/src/lib/db/Models/client/client-details.mjs +4 -0
- package/esm2022/src/lib/db/Models/client/index.mjs +4 -0
- package/esm2022/src/lib/db/Models/client/occupation.mjs +4 -0
- package/esm2022/src/lib/db/Models/country.mjs +4 -0
- package/esm2022/src/lib/db/Models/depreciation/depreciation-capital-project.mjs +4 -0
- package/esm2022/src/lib/db/Models/depreciation/depreciation-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +5 -0
- package/esm2022/src/lib/db/Models/document/document-folder.mjs +4 -0
- package/esm2022/src/lib/db/Models/document/folder-document.mjs +4 -0
- package/esm2022/src/lib/db/Models/document/property-document.mjs +4 -0
- package/esm2022/src/lib/db/Models/file.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/accountant/ticket.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/chat.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/client-invite.mjs +5 -0
- package/esm2022/src/lib/db/Models/firm/client-movement.mjs +5 -0
- package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/firm-invite.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/firm.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/message-document.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/message.mjs +5 -0
- package/esm2022/src/lib/db/Models/holding/holding-import.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/holding-sale.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/holding-type-exchange.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/holding-type.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/holding.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/index.mjs +5 -0
- package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/incomeSource/income-source-type.mjs +4 -0
- package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +4 -0
- package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/index.mjs +96 -0
- package/esm2022/src/lib/db/Models/loan/borrowing-expense-loan.mjs +4 -0
- package/esm2022/src/lib/db/Models/loan/borrowing-expense.mjs +4 -0
- package/esm2022/src/lib/db/Models/loan/loan-payout.mjs +13 -0
- package/esm2022/src/lib/db/Models/loan/loan.mjs +22 -0
- package/esm2022/src/lib/db/Models/observable-model.mjs +14 -0
- package/esm2022/src/lib/db/Models/phone.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/borrowing-report.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-category-movement.mjs +5 -0
- package/esm2022/src/lib/db/Models/property/property-category.mjs +5 -0
- package/esm2022/src/lib/db/Models/property/property-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-sale/property-sale.mjs +5 -0
- package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-share.mjs +10 -0
- package/esm2022/src/lib/db/Models/property/property-subscription.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-valuation.mjs +5 -0
- package/esm2022/src/lib/db/Models/property/property.mjs +22 -0
- package/esm2022/src/lib/db/Models/service-notification.mjs +4 -0
- package/esm2022/src/lib/db/Models/setup-item.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/bas-report.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business-activity.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business-allocation.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-contact.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-depreciation-method.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-details.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-invoice-item.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-invoice-template.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-invoice.mjs +4 -0
- package/esm2022/src/lib/db/Models/spare/spare-document-category.mjs +4 -0
- package/esm2022/src/lib/db/Models/spare/spare-document.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-payment-method.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-payment.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-price.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-product.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-subscription-item.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-subscription.mjs +5 -0
- package/esm2022/src/lib/db/Models/tax-calculation.mjs +4 -0
- package/esm2022/src/lib/db/Models/tax-return/index.mjs +4 -0
- package/esm2022/src/lib/db/Models/tax-return/tax-return-category.mjs +4 -0
- package/esm2022/src/lib/db/Models/tax-return/tax-return-item.mjs +4 -0
- package/esm2022/src/lib/db/Models/tax-return/tax-return.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-condition.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction.mjs +5 -0
- package/esm2022/src/lib/db/Models/transaction/allocation-rule.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/transaction-allocation.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +123 -0
- package/esm2022/src/lib/db/Models/transaction/transaction-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/transaction.mjs +5 -0
- package/esm2022/src/lib/db/Models/user/employee-details.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/registration-invite.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user-event-setting.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user-event-type-category.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user-event-type.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user-event.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user.mjs +5 -0
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +4 -0
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +4 -0
- package/esm2022/src/lib/db/Models/vehicle/vehicle-logbook.mjs +4 -0
- package/esm2022/src/lib/db/Models/vehicle/vehicle.mjs +4 -0
- package/esm2022/src/lib/db-static/chart-accounts/chart-accounts-values.mjs +9 -0
- package/esm2022/src/lib/forms/abstract.form.mjs +111 -0
- package/esm2022/src/lib/forms/address/address.form.mjs +190 -0
- package/esm2022/src/lib/forms/address/index.mjs +2 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +46 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +45 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-import.form.mjs +24 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +64 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +50 -0
- package/esm2022/src/lib/forms/budget/budget.form.mjs +69 -0
- package/esm2022/src/lib/forms/budget/index.mjs +2 -0
- package/esm2022/src/lib/forms/chart-accounts/chart-accounts.form.mjs +14 -0
- package/esm2022/src/lib/forms/chart-accounts/index.mjs +2 -0
- package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +39 -0
- package/esm2022/src/lib/forms/client/index.mjs +2 -0
- package/esm2022/src/lib/forms/depreciation/depreciation.form.mjs +40 -0
- package/esm2022/src/lib/forms/depreciation/index.mjs +2 -0
- package/esm2022/src/lib/forms/document-folder/document-folder.form.mjs +11 -0
- package/esm2022/src/lib/forms/document-folder/document.form.mjs +11 -0
- package/esm2022/src/lib/forms/document-folder/index.mjs +3 -0
- package/esm2022/src/lib/forms/firm/firm.form.mjs +18 -0
- package/esm2022/src/lib/forms/firm/index.mjs +2 -0
- package/esm2022/src/lib/forms/form-validations.enum.mjs +12 -0
- package/esm2022/src/lib/forms/holding/holding-import.form.mjs +25 -0
- package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +59 -0
- package/esm2022/src/lib/forms/holding/holding-sale.form.mjs +52 -0
- package/esm2022/src/lib/forms/holding/holding-type.form.mjs +16 -0
- package/esm2022/src/lib/forms/holding/holding.form.mjs +28 -0
- package/esm2022/src/lib/forms/holding/index.mjs +6 -0
- package/esm2022/src/lib/forms/index.mjs +27 -0
- package/esm2022/src/lib/forms/loan/index.mjs +2 -0
- package/esm2022/src/lib/forms/loan/loan.form.mjs +90 -0
- package/esm2022/src/lib/forms/login/login.form.mjs +11 -0
- package/esm2022/src/lib/forms/phone/index.mjs +2 -0
- package/esm2022/src/lib/forms/phone/phone.form.mjs +18 -0
- package/esm2022/src/lib/forms/property/borrowing-report.form.mjs +32 -0
- package/esm2022/src/lib/forms/property/index.mjs +10 -0
- package/esm2022/src/lib/forms/property/property-add.form.mjs +69 -0
- package/esm2022/src/lib/forms/property/property-category-movement-form.mjs +21 -0
- package/esm2022/src/lib/forms/property/property-document.form.mjs +14 -0
- package/esm2022/src/lib/forms/property/property-edit.form.mjs +17 -0
- package/esm2022/src/lib/forms/property/property-forecast.form.mjs +29 -0
- package/esm2022/src/lib/forms/property/property-sale/index.mjs +4 -0
- package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +39 -0
- package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +66 -0
- package/esm2022/src/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +107 -0
- package/esm2022/src/lib/forms/property/property-share.form.mjs +16 -0
- package/esm2022/src/lib/forms/property/property-valuation.form.mjs +19 -0
- package/esm2022/src/lib/forms/register/register-client.form.mjs +19 -0
- package/esm2022/src/lib/forms/register/register-firm.form.mjs +22 -0
- package/esm2022/src/lib/forms/report/my-tax/index.mjs +17 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +31 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +81 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +14 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +79 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-cgt.form.mjs +30 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +85 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-dividends.form.mjs +23 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +108 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +10 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-interest.form.mjs +12 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-losses.form.mjs +11 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-medicare.form.mjs +38 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-offsets.form.mjs +10 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-other-income.form.mjs +43 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +37 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +13 -0
- package/esm2022/src/lib/forms/sole/bas-report.form.mjs +62 -0
- package/esm2022/src/lib/forms/sole/index.mjs +12 -0
- package/esm2022/src/lib/forms/sole/invoice-payment.form.mjs +14 -0
- package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +64 -0
- package/esm2022/src/lib/forms/sole/sole-business-loss.form.mjs +24 -0
- package/esm2022/src/lib/forms/sole/sole-business.form.mjs +70 -0
- package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +19 -0
- package/esm2022/src/lib/forms/sole/sole-depreciation-method.form.mjs +10 -0
- package/esm2022/src/lib/forms/sole/sole-details.form.mjs +12 -0
- package/esm2022/src/lib/forms/sole/sole-invoice-item.form.mjs +15 -0
- package/esm2022/src/lib/forms/sole/sole-invoice-template.form.mjs +15 -0
- package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +157 -0
- package/esm2022/src/lib/forms/transaction/allocation-rule-condition.form.mjs +16 -0
- package/esm2022/src/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +12 -0
- package/esm2022/src/lib/forms/transaction/allocation-rule-transaction.form.mjs +144 -0
- package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +188 -0
- package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +49 -0
- package/esm2022/src/lib/forms/transaction/index.mjs +8 -0
- package/esm2022/src/lib/forms/transaction/messages.enum.mjs +5 -0
- package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +17 -0
- package/esm2022/src/lib/forms/transaction/sole/sole-transaction.form.mjs +7 -0
- package/esm2022/src/lib/forms/transaction/transaction-base.form.mjs +98 -0
- package/esm2022/src/lib/forms/transaction/transaction.form.mjs +62 -0
- package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +33 -0
- package/esm2022/src/lib/forms/transaction/work/work-income.form.mjs +86 -0
- package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +40 -0
- package/esm2022/src/lib/forms/user/client-details.form.mjs +34 -0
- package/esm2022/src/lib/forms/user/index.mjs +6 -0
- package/esm2022/src/lib/forms/user/password.form.mjs +14 -0
- package/esm2022/src/lib/forms/user/reset-password.form.mjs +11 -0
- package/esm2022/src/lib/forms/user/user-invite.form.mjs +16 -0
- package/esm2022/src/lib/forms/user/user.form.mjs +15 -0
- package/esm2022/src/lib/forms/vehicle/index.mjs +5 -0
- package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +17 -0
- package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +30 -0
- package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +63 -0
- package/esm2022/src/lib/forms/vehicle/vehicle.form.mjs +17 -0
- package/esm2022/src/lib/functions/array/index.mjs +5 -0
- package/esm2022/src/lib/functions/array/replace.mjs +6 -0
- package/esm2022/src/lib/functions/array/sort-deep.mjs +22 -0
- package/esm2022/src/lib/functions/array/sort.mjs +13 -0
- package/esm2022/src/lib/functions/array/to-array.mjs +7 -0
- package/esm2022/src/lib/functions/clone-deep.mjs +5 -0
- package/esm2022/src/lib/functions/create-date.mjs +8 -0
- package/esm2022/src/lib/functions/enum-to-list.mjs +13 -0
- package/esm2022/src/lib/functions/get-doc-icon.mjs +18 -0
- package/esm2022/src/lib/functions/mat-options-functions.mjs +13 -0
- package/esm2022/src/lib/functions/mat-sort-options.mjs +10 -0
- package/esm2022/src/lib/functions/tax-review-filter-predicate.mjs +10 -0
- package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +31 -0
- package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +33 -0
- package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +41 -0
- package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +42 -0
- package/esm2022/src/lib/interceptors/interceptors.module.mjs +96 -0
- package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +32 -0
- package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +42 -0
- package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +40 -0
- package/esm2022/src/lib/interfaces/asset-entity-type.enum.mjs +12 -0
- package/esm2022/src/lib/interfaces/asset-type.enum.mjs +13 -0
- package/esm2022/src/lib/interfaces/asset.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/chart-data.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/chart-serie.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/document.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/documentable.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/event-listener.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/expense.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/income-source-forecast.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/index.mjs +14 -0
- package/esm2022/src/lib/interfaces/option.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/tank.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/updatable.interface.mjs +2 -0
- package/esm2022/src/lib/messages/index.mjs +2 -0
- package/esm2022/src/lib/messages/messages.enum.mjs +16 -0
- package/esm2022/src/lib/models/account-setup/account-setup-item.mjs +38 -0
- package/esm2022/src/lib/models/account-setup/account-setup-items.enum.mjs +19 -0
- package/esm2022/src/lib/models/address/address.mjs +50 -0
- package/esm2022/src/lib/models/address/country.mjs +18 -0
- package/esm2022/src/lib/models/address/index.mjs +4 -0
- package/esm2022/src/lib/models/address/states.enum.mjs +12 -0
- package/esm2022/src/lib/models/asset-sale.mjs +10 -0
- package/esm2022/src/lib/models/badge/badge-color.enum.mjs +8 -0
- package/esm2022/src/lib/models/badge/badge.mjs +14 -0
- package/esm2022/src/lib/models/bank/allocation-group.mjs +57 -0
- package/esm2022/src/lib/models/bank/bank-account-chart-data.mjs +30 -0
- package/esm2022/src/lib/models/bank/bank-account-property.mjs +14 -0
- package/esm2022/src/lib/models/bank/bank-account-types.const.mjs +14 -0
- package/esm2022/src/lib/models/bank/bank-account.mjs +176 -0
- package/esm2022/src/lib/models/bank/bank-connection.mjs +55 -0
- package/esm2022/src/lib/models/bank/bank-external-stats.mjs +8 -0
- package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +100 -0
- package/esm2022/src/lib/models/bank/bank-transaction-summary-fields.enum.mjs +6 -0
- package/esm2022/src/lib/models/bank/bank-transaction.mjs +77 -0
- package/esm2022/src/lib/models/bank/bank.mjs +37 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-config.mjs +12 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-connection-data.interface.mjs +2 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-connections-response.interface.mjs +2 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-job-response.mjs +15 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-job-step.mjs +18 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-job.mjs +4 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-token-response.interface.mjs +2 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-token.mjs +15 -0
- package/esm2022/src/lib/models/bank/basiq/index.mjs +9 -0
- package/esm2022/src/lib/models/bank/index.mjs +14 -0
- package/esm2022/src/lib/models/bank/type-loan.const.mjs +9 -0
- package/esm2022/src/lib/models/borrowing-expense/borrowing-expense-loan.mjs +4 -0
- package/esm2022/src/lib/models/borrowing-expense/borrowing-expense.mjs +4 -0
- package/esm2022/src/lib/models/borrowing-expense/index.mjs +3 -0
- package/esm2022/src/lib/models/budget/budget-rule.mjs +14 -0
- package/esm2022/src/lib/models/budget/budget.mjs +18 -0
- package/esm2022/src/lib/models/budget/index.mjs +3 -0
- package/esm2022/src/lib/models/chart/chart-data.mjs +13 -0
- package/esm2022/src/lib/models/chart/chart-serie.mjs +7 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-categories.const.mjs +122 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +48 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-depreciation.mjs +16 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-heading.mjs +4 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-meta-field.mjs +20 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-tax-labels.enum.mjs +7 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-value.mjs +4 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +249 -0
- package/esm2022/src/lib/models/chart-accounts/index.mjs +9 -0
- package/esm2022/src/lib/models/chat/chat-view-type.enum.mjs +6 -0
- package/esm2022/src/lib/models/chat/chat.mjs +26 -0
- package/esm2022/src/lib/models/chat/index.mjs +5 -0
- package/esm2022/src/lib/models/chat/message-document.mjs +21 -0
- package/esm2022/src/lib/models/chat/message.mjs +43 -0
- package/esm2022/src/lib/models/client/annual-client-details.mjs +19 -0
- package/esm2022/src/lib/models/client/client-details.mjs +4 -0
- package/esm2022/src/lib/models/client/client-invite.mjs +68 -0
- package/esm2022/src/lib/models/client/client-movement.mjs +23 -0
- package/esm2022/src/lib/models/client/client-portfolio-chart-data.mjs +55 -0
- package/esm2022/src/lib/models/client/client-portfolio-report.mjs +7 -0
- package/esm2022/src/lib/models/client/index.mjs +7 -0
- package/esm2022/src/lib/models/color/alphabet-colors.enum.mjs +30 -0
- package/esm2022/src/lib/models/depreciation/depreciation-capital-project.mjs +9 -0
- package/esm2022/src/lib/models/depreciation/depreciation-forecast.mjs +42 -0
- package/esm2022/src/lib/models/depreciation/depreciation-group-item.mjs +18 -0
- package/esm2022/src/lib/models/depreciation/depreciation-group.enum.mjs +10 -0
- package/esm2022/src/lib/models/depreciation/depreciation-group.mjs +20 -0
- package/esm2022/src/lib/models/depreciation/depreciation-groups.const.mjs +34 -0
- package/esm2022/src/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +9 -0
- package/esm2022/src/lib/models/depreciation/depreciation.mjs +188 -0
- package/esm2022/src/lib/models/depreciation/index.mjs +9 -0
- package/esm2022/src/lib/models/dictionary/dictionary.mjs +49 -0
- package/esm2022/src/lib/models/dictionary/index.mjs +2 -0
- package/esm2022/src/lib/models/document/document-api-url-prefix.enum.mjs +9 -0
- package/esm2022/src/lib/models/document/document-file-types.const.mjs +23 -0
- package/esm2022/src/lib/models/document/document-folder.mjs +4 -0
- package/esm2022/src/lib/models/document/document.mjs +17 -0
- package/esm2022/src/lib/models/document/index.mjs +5 -0
- package/esm2022/src/lib/models/employee/employee-details.mjs +10 -0
- package/esm2022/src/lib/models/employee/employee-invite.mjs +14 -0
- package/esm2022/src/lib/models/endpoint/endpoint.mjs +23 -0
- package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +248 -0
- package/esm2022/src/lib/models/event/app-event-type.enum.mjs +66 -0
- package/esm2022/src/lib/models/event/app-event.mjs +21 -0
- package/esm2022/src/lib/models/event/index.mjs +3 -0
- package/esm2022/src/lib/models/export/export-cell-type.enum.mjs +11 -0
- package/esm2022/src/lib/models/export/export-cell.mjs +6 -0
- package/esm2022/src/lib/models/export/export-data-table.mjs +3 -0
- package/esm2022/src/lib/models/export/export-format.enum.mjs +6 -0
- package/esm2022/src/lib/models/file/file.mjs +12 -0
- package/esm2022/src/lib/models/file/icons-file.enum.mjs +7 -0
- package/esm2022/src/lib/models/file/index.mjs +2 -0
- package/esm2022/src/lib/models/financial-year/financial-year.mjs +57 -0
- package/esm2022/src/lib/models/financial-year/index.mjs +5 -0
- package/esm2022/src/lib/models/financial-year/month-name-short.enum.mjs +21 -0
- package/esm2022/src/lib/models/financial-year/month-number.enum.mjs +21 -0
- package/esm2022/src/lib/models/financial-year/months.const.mjs +2 -0
- package/esm2022/src/lib/models/firm/firm.mjs +26 -0
- package/esm2022/src/lib/models/holding/holding-import.mjs +16 -0
- package/esm2022/src/lib/models/holding/holding-reinvest.mjs +22 -0
- package/esm2022/src/lib/models/holding/holding-sale.mjs +37 -0
- package/esm2022/src/lib/models/holding/holding-type-exchange.mjs +13 -0
- package/esm2022/src/lib/models/holding/holding-type.mjs +64 -0
- package/esm2022/src/lib/models/holding/holding.mjs +82 -0
- package/esm2022/src/lib/models/holding/index.mjs +7 -0
- package/esm2022/src/lib/models/income-position/income-position.mjs +9 -0
- package/esm2022/src/lib/models/income-source/income-source-chart-data.mjs +45 -0
- package/esm2022/src/lib/models/income-source/income-source-forecast.mjs +34 -0
- package/esm2022/src/lib/models/income-source/income-source-type.mjs +20 -0
- package/esm2022/src/lib/models/income-source/income-source.mjs +58 -0
- package/esm2022/src/lib/models/income-source/index.mjs +7 -0
- package/esm2022/src/lib/models/income-source/salary-forecast.mjs +36 -0
- package/esm2022/src/lib/models/income-source/sole-forecast.mjs +13 -0
- package/esm2022/src/lib/models/index.mjs +26 -0
- package/esm2022/src/lib/models/loan/index.mjs +5 -0
- package/esm2022/src/lib/models/loan/loan-max-number-of-payments.enum.mjs +11 -0
- package/esm2022/src/lib/models/loan/loan-payment.mjs +13 -0
- package/esm2022/src/lib/models/loan/loan-payout.mjs +11 -0
- package/esm2022/src/lib/models/loan/loan.mjs +84 -0
- package/esm2022/src/lib/models/notification/index.mjs +2 -0
- package/esm2022/src/lib/models/notification/notification.mjs +39 -0
- package/esm2022/src/lib/models/pdf/pdf-orientation.enum.mjs +6 -0
- package/esm2022/src/lib/models/pdf/pdf-settings.mjs +17 -0
- package/esm2022/src/lib/models/phone/phone.mjs +19 -0
- package/esm2022/src/lib/models/property/borrowing-report.mjs +50 -0
- package/esm2022/src/lib/models/property/calculation-form-item.mjs +17 -0
- package/esm2022/src/lib/models/property/calculation-form-type.enum.mjs +9 -0
- package/esm2022/src/lib/models/property/capital-costs-itmes.const.mjs +57 -0
- package/esm2022/src/lib/models/property/corelogic-suggestion.mjs +7 -0
- package/esm2022/src/lib/models/property/index.mjs +18 -0
- package/esm2022/src/lib/models/property/property-category-movement.mjs +24 -0
- package/esm2022/src/lib/models/property/property-category.mjs +15 -0
- package/esm2022/src/lib/models/property/property-document.mjs +17 -0
- package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +157 -0
- package/esm2022/src/lib/models/property/property-equity-chart-item.mjs +24 -0
- package/esm2022/src/lib/models/property/property-equity-chart-type.enum.mjs +6 -0
- package/esm2022/src/lib/models/property/property-forecast.mjs +56 -0
- package/esm2022/src/lib/models/property/property-sale/index.mjs +6 -0
- package/esm2022/src/lib/models/property/property-sale/property-sale-cost-base.mjs +20 -0
- package/esm2022/src/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +4 -0
- package/esm2022/src/lib/models/property/property-sale/property-sale.mjs +55 -0
- package/esm2022/src/lib/models/property/property-sale/tax-exemption-meta-field.mjs +4 -0
- package/esm2022/src/lib/models/property/property-sale/tax-exemption.mjs +8 -0
- package/esm2022/src/lib/models/property/property-share.mjs +47 -0
- package/esm2022/src/lib/models/property/property-subscription.mjs +13 -0
- package/esm2022/src/lib/models/property/property-valuation.mjs +24 -0
- package/esm2022/src/lib/models/property/property.mjs +249 -0
- package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +13 -0
- package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +10 -0
- package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +21 -0
- package/esm2022/src/lib/models/report/depreciation/depreciation-report-item.mjs +25 -0
- package/esm2022/src/lib/models/report/depreciation/index.mjs +4 -0
- package/esm2022/src/lib/models/report/index.mjs +6 -0
- package/esm2022/src/lib/models/report/my-tax/ato-links.mjs +11 -0
- package/esm2022/src/lib/models/report/my-tax/index.mjs +26 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +27 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +11 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +16 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +15 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +74 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +70 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +9 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +30 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +13 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +62 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +10 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +96 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +17 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +40 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +75 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +8 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +11 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +11 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +8 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +47 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +30 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +48 -0
- package/esm2022/src/lib/models/report/property/index.mjs +4 -0
- package/esm2022/src/lib/models/report/property/property-report-item-depreciation.mjs +19 -0
- package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +12 -0
- package/esm2022/src/lib/models/report/property/property-report-item.mjs +30 -0
- package/esm2022/src/lib/models/report/sole/index.mjs +2 -0
- package/esm2022/src/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +17 -0
- package/esm2022/src/lib/models/report/vehicle-expense/vehicle-expense.mjs +17 -0
- package/esm2022/src/lib/models/service-subscription/index.mjs +10 -0
- package/esm2022/src/lib/models/service-subscription/module-url-list.const.mjs +12 -0
- package/esm2022/src/lib/models/service-subscription/payment-method-brand.enum.mjs +12 -0
- package/esm2022/src/lib/models/service-subscription/service-payment-method.mjs +31 -0
- package/esm2022/src/lib/models/service-subscription/service-payment.mjs +22 -0
- package/esm2022/src/lib/models/service-subscription/service-price.mjs +25 -0
- package/esm2022/src/lib/models/service-subscription/service-product-icons.enum.mjs +11 -0
- package/esm2022/src/lib/models/service-subscription/service-product-roles.const.mjs +11 -0
- package/esm2022/src/lib/models/service-subscription/service-product.mjs +27 -0
- package/esm2022/src/lib/models/service-subscription/service-promo-code-duration.enum.mjs +7 -0
- package/esm2022/src/lib/models/service-subscription/service-promo-code.mjs +30 -0
- package/esm2022/src/lib/models/service-subscription/service-subscription-item.mjs +24 -0
- package/esm2022/src/lib/models/service-subscription/service-subscription.mjs +161 -0
- package/esm2022/src/lib/models/sole/bas-report.mjs +39 -0
- package/esm2022/src/lib/models/sole/index.mjs +13 -0
- package/esm2022/src/lib/models/sole/sole-business-activity.mjs +4 -0
- package/esm2022/src/lib/models/sole/sole-business-allocation.mjs +18 -0
- package/esm2022/src/lib/models/sole/sole-business-loss-offset-rule.mjs +9 -0
- package/esm2022/src/lib/models/sole/sole-business-loss.mjs +27 -0
- package/esm2022/src/lib/models/sole/sole-business.mjs +57 -0
- package/esm2022/src/lib/models/sole/sole-contact.mjs +30 -0
- package/esm2022/src/lib/models/sole/sole-depreciation-method.mjs +8 -0
- package/esm2022/src/lib/models/sole/sole-details.mjs +10 -0
- package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +47 -0
- package/esm2022/src/lib/models/sole/sole-invoice-template.mjs +31 -0
- package/esm2022/src/lib/models/sole/sole-invoice.mjs +142 -0
- package/esm2022/src/lib/models/tax-return/index.mjs +4 -0
- package/esm2022/src/lib/models/tax-return/tax-return-category.mjs +19 -0
- package/esm2022/src/lib/models/tax-return/tax-return-item.mjs +40 -0
- package/esm2022/src/lib/models/tax-return/tax-return.mjs +10 -0
- package/esm2022/src/lib/models/tax-review/tax-review.mjs +86 -0
- package/esm2022/src/lib/models/tax-summary/report-item-details.mjs +10 -0
- package/esm2022/src/lib/models/tax-summary/report-item.mjs +29 -0
- package/esm2022/src/lib/models/tax-summary/tax-summary-section.mjs +32 -0
- package/esm2022/src/lib/models/tax-summary/tax-summary-type.enum.mjs +9 -0
- package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +152 -0
- package/esm2022/src/lib/models/toast/toast-type.enum.mjs +8 -0
- package/esm2022/src/lib/models/toast/toast.mjs +10 -0
- package/esm2022/src/lib/models/transaction/allocation-rule-condition.mjs +40 -0
- package/esm2022/src/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +4 -0
- package/esm2022/src/lib/models/transaction/allocation-rule-transaction.mjs +110 -0
- package/esm2022/src/lib/models/transaction/allocation-rule.mjs +131 -0
- package/esm2022/src/lib/models/transaction/income-amount-type.enum.mjs +9 -0
- package/esm2022/src/lib/models/transaction/index.mjs +9 -0
- package/esm2022/src/lib/models/transaction/transaction-allocation.mjs +21 -0
- package/esm2022/src/lib/models/transaction/transaction-category.enum.mjs +8 -0
- package/esm2022/src/lib/models/transaction/transaction-meta-field.mjs +17 -0
- package/esm2022/src/lib/models/transaction/transaction.mjs +249 -0
- package/esm2022/src/lib/models/user/index.mjs +10 -0
- package/esm2022/src/lib/models/user/my-account-history-initiated-by.enum.mjs +6 -0
- package/esm2022/src/lib/models/user/my-account-history-status.enum.mjs +6 -0
- package/esm2022/src/lib/models/user/my-account-history-type.enum.mjs +7 -0
- package/esm2022/src/lib/models/user/my-account-history.mjs +3 -0
- package/esm2022/src/lib/models/user/occupation.mjs +4 -0
- package/esm2022/src/lib/models/user/user-roles.const.mjs +20 -0
- package/esm2022/src/lib/models/user/user-to-register.mjs +6 -0
- package/esm2022/src/lib/models/user/user-work-position.const.mjs +7 -0
- package/esm2022/src/lib/models/user/user.mjs +171 -0
- package/esm2022/src/lib/models/user-event/user-event-setting-field.enum.mjs +10 -0
- package/esm2022/src/lib/models/user-event/user-event-setting.mjs +18 -0
- package/esm2022/src/lib/models/user-event/user-event-type-category.mjs +4 -0
- package/esm2022/src/lib/models/user-event/user-event-type.mjs +23 -0
- package/esm2022/src/lib/models/vehicle/index.mjs +5 -0
- package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +27 -0
- package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +60 -0
- package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +27 -0
- package/esm2022/src/lib/models/vehicle/vehicle.mjs +10 -0
- package/esm2022/src/lib/pipes/app-currency.pipe.mjs +23 -0
- package/esm2022/src/lib/pipes/index.mjs +3 -0
- package/esm2022/src/lib/pipes/safe-url.pipe.mjs +21 -0
- package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +168 -0
- package/esm2022/src/lib/services/account-setup/index.mjs +2 -0
- package/esm2022/src/lib/services/asset/assets.service.mjs +51 -0
- package/esm2022/src/lib/services/asset/index.mjs +2 -0
- package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +32 -0
- package/esm2022/src/lib/services/bank/index.mjs +2 -0
- package/esm2022/src/lib/services/data.service.mjs +44 -0
- package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +41 -0
- package/esm2022/src/lib/services/event/index.mjs +3 -0
- package/esm2022/src/lib/services/event/sse.service.mjs +48 -0
- package/esm2022/src/lib/services/export/export-formatter.service.mjs +34 -0
- package/esm2022/src/lib/services/export/index.mjs +2 -0
- package/esm2022/src/lib/services/header-title/header-title.service.mjs +28 -0
- package/esm2022/src/lib/services/header-title/index.mjs +2 -0
- package/esm2022/src/lib/services/http/address/address.service.mjs +37 -0
- package/esm2022/src/lib/services/http/address/index.mjs +2 -0
- package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +84 -0
- package/esm2022/src/lib/services/http/bank/bank-account/index.mjs +2 -0
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +23 -0
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +78 -0
- package/esm2022/src/lib/services/http/bank/bank-connection/index.mjs +3 -0
- package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +77 -0
- package/esm2022/src/lib/services/http/bank/bank-transaction/index.mjs +2 -0
- package/esm2022/src/lib/services/http/bank/bank.service.mjs +26 -0
- package/esm2022/src/lib/services/http/bank/basiq/basiq-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +39 -0
- package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +142 -0
- package/esm2022/src/lib/services/http/bank/basiq/index.mjs +4 -0
- package/esm2022/src/lib/services/http/bank/index.mjs +6 -0
- package/esm2022/src/lib/services/http/budget/budget-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/budget/budget.service.mjs +23 -0
- package/esm2022/src/lib/services/http/budget/index.mjs +3 -0
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +26 -0
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +2 -0
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +49 -0
- package/esm2022/src/lib/services/http/chart-accounts/index.mjs +4 -0
- package/esm2022/src/lib/services/http/chat/chat.service.mjs +88 -0
- package/esm2022/src/lib/services/http/chat/index.mjs +4 -0
- package/esm2022/src/lib/services/http/chat/message-document.service.mjs +80 -0
- package/esm2022/src/lib/services/http/chat/message.service.mjs +35 -0
- package/esm2022/src/lib/services/http/client/capital-gain/annual-client-details.service.mjs +23 -0
- package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +27 -0
- package/esm2022/src/lib/services/http/client/index.mjs +4 -0
- package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +43 -0
- package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +27 -0
- package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/index.mjs +2 -0
- package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +106 -0
- package/esm2022/src/lib/services/http/depreciation/index.mjs +3 -0
- package/esm2022/src/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +26 -0
- package/esm2022/src/lib/services/http/document/document-folder/index.mjs +3 -0
- package/esm2022/src/lib/services/http/document/document-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/document/document.service.mjs +23 -0
- package/esm2022/src/lib/services/http/document/index.mjs +4 -0
- package/esm2022/src/lib/services/http/facebook/facebook-auth-options.interface.mjs +2 -0
- package/esm2022/src/lib/services/http/facebook/facebook-auth-response.interface.mjs +2 -0
- package/esm2022/src/lib/services/http/facebook/facebook-status-response.interface.mjs +2 -0
- package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +87 -0
- package/esm2022/src/lib/services/http/facebook/index.mjs +2 -0
- package/esm2022/src/lib/services/http/file/file.service.mjs +39 -0
- package/esm2022/src/lib/services/http/file/index.mjs +2 -0
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +15 -0
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +100 -0
- package/esm2022/src/lib/services/http/firm/client-invite/index.mjs +3 -0
- package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +87 -0
- package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +2 -0
- package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +13 -0
- package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +42 -0
- package/esm2022/src/lib/services/http/firm/employee/index.mjs +3 -0
- package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +48 -0
- package/esm2022/src/lib/services/http/firm/employee-invite/index.mjs +2 -0
- package/esm2022/src/lib/services/http/firm/firm-messages.enum.mjs +6 -0
- package/esm2022/src/lib/services/http/firm/firm.service.mjs +63 -0
- package/esm2022/src/lib/services/http/firm/index.mjs +8 -0
- package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +37 -0
- package/esm2022/src/lib/services/http/firm/portfolio-report/index.mjs +2 -0
- package/esm2022/src/lib/services/http/google/google.service.mjs +77 -0
- package/esm2022/src/lib/services/http/google/index.mjs +2 -0
- package/esm2022/src/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +9 -0
- package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +37 -0
- package/esm2022/src/lib/services/http/holding/holding-messages.enum.mjs +10 -0
- package/esm2022/src/lib/services/http/holding/holding-sale-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +23 -0
- package/esm2022/src/lib/services/http/holding/holding-type-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +23 -0
- package/esm2022/src/lib/services/http/holding/holding.service.mjs +35 -0
- package/esm2022/src/lib/services/http/holding/index.mjs +10 -0
- package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +84 -0
- package/esm2022/src/lib/services/http/income-source/income-source-forecast/index.mjs +2 -0
- package/esm2022/src/lib/services/http/income-source/income-source-messages.enum.mjs +10 -0
- package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +93 -0
- package/esm2022/src/lib/services/http/income-source/index.mjs +6 -0
- package/esm2022/src/lib/services/http/income-source/salary-forecast/index.mjs +2 -0
- package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +83 -0
- package/esm2022/src/lib/services/http/income-source/sole-forecast/index.mjs +2 -0
- package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +90 -0
- package/esm2022/src/lib/services/http/index.mjs +29 -0
- package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +74 -0
- package/esm2022/src/lib/services/http/loan/borrowing-expense/index.mjs +2 -0
- package/esm2022/src/lib/services/http/loan/index.mjs +3 -0
- package/esm2022/src/lib/services/http/loan/loan.service.mjs +91 -0
- package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +30 -0
- package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +23 -0
- package/esm2022/src/lib/services/http/property/borrowing-report/index.mjs +3 -0
- package/esm2022/src/lib/services/http/property/index.mjs +10 -0
- package/esm2022/src/lib/services/http/property/property-category/index.mjs +2 -0
- package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +26 -0
- package/esm2022/src/lib/services/http/property/property-category-movement/index.mjs +2 -0
- package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +23 -0
- package/esm2022/src/lib/services/http/property/property-document/index.mjs +3 -0
- package/esm2022/src/lib/services/http/property/property-document/property-document-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +33 -0
- package/esm2022/src/lib/services/http/property/property-messages.enum.mjs +6 -0
- package/esm2022/src/lib/services/http/property/property-sale/index.mjs +3 -0
- package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +23 -0
- package/esm2022/src/lib/services/http/property/property-share/index.mjs +2 -0
- package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +66 -0
- package/esm2022/src/lib/services/http/property/property-valuation/index.mjs +3 -0
- package/esm2022/src/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +23 -0
- package/esm2022/src/lib/services/http/property/property.service.mjs +87 -0
- package/esm2022/src/lib/services/http/rest/http-method.type.mjs +2 -0
- package/esm2022/src/lib/services/http/rest/index.mjs +4 -0
- package/esm2022/src/lib/services/http/rest/rest-method.type.mjs +2 -0
- package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +240 -0
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +296 -0
- package/esm2022/src/lib/services/http/service-notification/index.mjs +2 -0
- package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +72 -0
- package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +23 -0
- package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +20 -0
- package/esm2022/src/lib/services/http/sole/index.mjs +11 -0
- package/esm2022/src/lib/services/http/sole/sole-business/index.mjs +3 -0
- package/esm2022/src/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +5 -0
- package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +28 -0
- package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +20 -0
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +23 -0
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +37 -0
- package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +20 -0
- package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +73 -0
- package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +64 -0
- package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +48 -0
- package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +20 -0
- package/esm2022/src/lib/services/http/subscription/index.mjs +7 -0
- package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +33 -0
- package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +45 -0
- package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +26 -0
- package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +23 -0
- package/esm2022/src/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +10 -0
- package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +84 -0
- package/esm2022/src/lib/services/http/tax-review/index.mjs +4 -0
- package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +45 -0
- package/esm2022/src/lib/services/http/tax-review/tax-review-messages.enum.mjs +20 -0
- package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +106 -0
- package/esm2022/src/lib/services/http/tax-summary/index.mjs +2 -0
- package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +71 -0
- package/esm2022/src/lib/services/http/transaction/index.mjs +4 -0
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +22 -0
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +117 -0
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +288 -0
- package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +29 -0
- package/esm2022/src/lib/services/http/user/index.mjs +8 -0
- package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +23 -0
- package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +23 -0
- package/esm2022/src/lib/services/http/user/user-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/user/user.service.mjs +105 -0
- package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +23 -0
- package/esm2022/src/lib/services/http/vehicle/index.mjs +6 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +74 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +50 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/index.mjs +3 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +25 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +25 -0
- package/esm2022/src/lib/services/http/youtube/index.mjs +3 -0
- package/esm2022/src/lib/services/http/youtube/youtube-video.interface.mjs +2 -0
- package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +34 -0
- package/esm2022/src/lib/services/index.mjs +17 -0
- package/esm2022/src/lib/services/intercom/index.mjs +2 -0
- package/esm2022/src/lib/services/intercom/intercom.service.mjs +41 -0
- package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +31 -0
- package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +23 -0
- package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +23 -0
- package/esm2022/src/lib/services/json/index.mjs +6 -0
- package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +23 -0
- package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +23 -0
- package/esm2022/src/lib/services/pdf/index.mjs +6 -0
- package/esm2022/src/lib/services/pdf/js-pdf.mjs +10 -0
- package/esm2022/src/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +21 -0
- package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +47 -0
- package/esm2022/src/lib/services/pdf/pdf-from-table/file-settings.mjs +36 -0
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +46 -0
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +42 -0
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +63 -0
- package/esm2022/src/lib/services/preloader/index.mjs +2 -0
- package/esm2022/src/lib/services/preloader/preloader.service.mjs +30 -0
- package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +42 -0
- package/esm2022/src/lib/services/property/corelogic/index.mjs +2 -0
- package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +39 -0
- package/esm2022/src/lib/services/property/equity-position-chart/index.mjs +2 -0
- package/esm2022/src/lib/services/property/index.mjs +4 -0
- package/esm2022/src/lib/services/property/property-calculation/index.mjs +2 -0
- package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +158 -0
- package/esm2022/src/lib/services/report/index.mjs +2 -0
- package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +65 -0
- package/esm2022/src/lib/services/toast/index.mjs +2 -0
- package/esm2022/src/lib/services/toast/toast.service.mjs +59 -0
- package/esm2022/src/lib/services/user/index.mjs +2 -0
- package/esm2022/src/lib/services/user/user-switcher.service.mjs +37 -0
- package/esm2022/src/lib/services/xlsx/index.mjs +2 -0
- package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +84 -0
- package/esm2022/src/lib/validators/address-corelogic.validator.mjs +19 -0
- package/esm2022/src/lib/validators/at-least-one-enabled.validator.mjs +9 -0
- package/esm2022/src/lib/validators/at-least-one.validator.mjs +9 -0
- package/esm2022/src/lib/validators/autocomplete.validator.mjs +8 -0
- package/esm2022/src/lib/validators/conditional.validator.mjs +26 -0
- package/esm2022/src/lib/validators/current-fin-year.validator.mjs +14 -0
- package/esm2022/src/lib/validators/date-range.validator.mjs +22 -0
- package/esm2022/src/lib/validators/fields-sum.validator.mjs +24 -0
- package/esm2022/src/lib/validators/file.validator.mjs +36 -0
- package/esm2022/src/lib/validators/greater-than.validator.mjs +12 -0
- package/esm2022/src/lib/validators/group.validator.mjs +11 -0
- package/esm2022/src/lib/validators/index.mjs +12 -0
- package/esm2022/src/lib/validators/min-date/messages.enum.mjs +5 -0
- package/esm2022/src/lib/validators/min-date/min-date.validator.mjs +18 -0
- package/esm2022/src/lib/validators/password-match.validator.mjs +17 -0
- package/esm2022/src/lib/validators/password.validator.mjs +20 -0
- package/esm2022/src/lib/validators/phone-number.validator.mjs +9 -0
- package/esm2022/src/lib/validators/required-length.validator.mjs +12 -0
- package/esm2022/src/lib/validators/transactions-meta-fields.validator.mjs +33 -0
- package/esm2022/src/lib/validators/unique-email.validator.mjs +19 -0
- package/esm2022/taxtank-core.mjs +1 -1
- package/fesm2022/taxtank-core-common.mjs +369 -0
- package/fesm2022/taxtank-core-common.mjs.map +1 -0
- package/fesm2022/taxtank-core.mjs +497 -793
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +30 -24
- package/public-api.d.ts +158 -159
- package/src/lib/collections/subscription/service-subscription.collection.d.ts +23 -0
- package/src/lib/core.module.d.ts +13 -0
- package/src/lib/db/Models/setup-item.d.ts +11 -0
- package/src/lib/db/Models/subscription/service-product.d.ts +19 -0
- package/src/lib/db/Models/subscription/service-subscription.d.ts +23 -0
- package/src/lib/db/Models/user/user.d.ts +59 -0
- package/src/lib/interceptors/interceptors.module.d.ts +6 -0
- package/src/lib/interfaces/index.d.ts +13 -0
- package/src/lib/models/service-subscription/service-product-roles.const.d.ts +5 -0
- package/src/lib/models/user/user-roles.const.d.ts +7 -0
- package/src/lib/models/user/user.d.ts +72 -0
- package/src/lib/pipes/app-currency.pipe.d.ts +11 -0
- package/src/lib/services/event/sse.service.d.ts +20 -0
- package/src/lib/services/http/facebook/facebook.service.d.ts +38 -0
- package/src/lib/services/http/firm/employee/employee.service.d.ts +20 -0
- package/src/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +25 -0
- package/src/lib/services/http/google/google.service.d.ts +43 -0
- package/src/lib/services/http/holding/holding-import/holding-import.service.d.ts +17 -0
- package/src/lib/services/http/holding/holding.service.d.ts +19 -0
- package/src/lib/services/http/rest/rest-old.service.d.ts +117 -0
- package/src/lib/services/http/rest/rest.service.d.ts +121 -0
- package/src/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +24 -0
- package/src/lib/services/http/user/user.service.d.ts +43 -0
- package/src/lib/services/http/vehicle/vehicle-claim.service.d.ts +21 -0
- package/src/lib/services/index.d.ts +16 -0
- package/esm2022/lib/collections/account-setup-item.collection.mjs +0 -12
- package/esm2022/lib/collections/allocation-group.collection.mjs +0 -9
- package/esm2022/lib/collections/allocation-rule.collection.mjs +0 -26
- package/esm2022/lib/collections/asset-sale.collection.mjs +0 -56
- package/esm2022/lib/collections/bank-account.collection.mjs +0 -153
- package/esm2022/lib/collections/bank-transaction.collection.mjs +0 -131
- package/esm2022/lib/collections/chart-accounts.collection.mjs +0 -26
- package/esm2022/lib/collections/chat/chat.collection.mjs +0 -26
- package/esm2022/lib/collections/chat/index.mjs +0 -4
- package/esm2022/lib/collections/chat/message-document.collection.mjs +0 -13
- package/esm2022/lib/collections/chat/message.collection.mjs +0 -31
- package/esm2022/lib/collections/client-invite.collection.mjs +0 -7
- package/esm2022/lib/collections/client-movement.collection.mjs +0 -47
- package/esm2022/lib/collections/client-portfolio-report.collection.mjs +0 -40
- package/esm2022/lib/collections/client.collection.mjs +0 -4
- package/esm2022/lib/collections/collection-dictionary.mjs +0 -110
- package/esm2022/lib/collections/collection.mjs +0 -163
- package/esm2022/lib/collections/depreciation-forecast.collection.mjs +0 -19
- package/esm2022/lib/collections/depreciation.collection.mjs +0 -116
- package/esm2022/lib/collections/employee.collection.mjs +0 -11
- package/esm2022/lib/collections/exportable.collection.mjs +0 -23
- package/esm2022/lib/collections/holding/holding-sale.collection.mjs +0 -41
- package/esm2022/lib/collections/holding/holding-type.collection.mjs +0 -13
- package/esm2022/lib/collections/holding/holding.collection.mjs +0 -68
- package/esm2022/lib/collections/holding/index.mjs +0 -4
- package/esm2022/lib/collections/income-source/income-source-forecast.collection.mjs +0 -11
- package/esm2022/lib/collections/income-source/income-source.collection.mjs +0 -43
- package/esm2022/lib/collections/income-source/index.mjs +0 -3
- package/esm2022/lib/collections/index.mjs +0 -34
- package/esm2022/lib/collections/loan/index.mjs +0 -3
- package/esm2022/lib/collections/loan/loan-payment.collection.mjs +0 -40
- package/esm2022/lib/collections/loan/loan.collection.mjs +0 -46
- package/esm2022/lib/collections/property/index.mjs +0 -7
- package/esm2022/lib/collections/property/property-category-movement.collection.mjs +0 -23
- package/esm2022/lib/collections/property/property-sale/index.mjs +0 -3
- package/esm2022/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +0 -17
- package/esm2022/lib/collections/property/property-sale/property-sale.collection.mjs +0 -13
- package/esm2022/lib/collections/property/property-share.collection.mjs +0 -20
- package/esm2022/lib/collections/property/property-valuation.collection.mjs +0 -4
- package/esm2022/lib/collections/property/property.collection.mjs +0 -113
- package/esm2022/lib/collections/property/tax-exemption.collection.mjs +0 -11
- package/esm2022/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +0 -12
- package/esm2022/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +0 -12
- package/esm2022/lib/collections/report/index.mjs +0 -7
- package/esm2022/lib/collections/report/property/property-report-item-depreciation.collection.mjs +0 -21
- package/esm2022/lib/collections/report/property/property-report-item-transaction.collection.mjs +0 -21
- package/esm2022/lib/collections/report/property/property-report-item.collection.mjs +0 -13
- package/esm2022/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +0 -17
- package/esm2022/lib/collections/sole/index.mjs +0 -4
- package/esm2022/lib/collections/sole/sole-business-losses.collection.mjs +0 -41
- package/esm2022/lib/collections/sole/sole-invoice-item.collection.mjs +0 -10
- package/esm2022/lib/collections/sole/sole-invoice.collection.mjs +0 -30
- package/esm2022/lib/collections/subscription/index.mjs +0 -5
- package/esm2022/lib/collections/subscription/service-price.collection.mjs +0 -50
- package/esm2022/lib/collections/subscription/service-product.collection.mjs +0 -11
- package/esm2022/lib/collections/subscription/service-subscription.collection.mjs +0 -58
- package/esm2022/lib/collections/subscription/subscription-item.collection.mjs +0 -17
- package/esm2022/lib/collections/tax-review.collection.mjs +0 -53
- package/esm2022/lib/collections/tax-summary/index.mjs +0 -3
- package/esm2022/lib/collections/tax-summary/report-item.collection.mjs +0 -101
- package/esm2022/lib/collections/tax-summary/tax-return-categories.const.mjs +0 -113
- package/esm2022/lib/collections/transaction/index.mjs +0 -3
- package/esm2022/lib/collections/transaction/transaction-allocation.collection.mjs +0 -39
- package/esm2022/lib/collections/transaction/transaction.collection.mjs +0 -240
- package/esm2022/lib/collections/user-event-setting.collection.mjs +0 -10
- package/esm2022/lib/collections/user-event-type-collection.mjs +0 -11
- package/esm2022/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +0 -90
- package/esm2022/lib/collections/vehicle/index.mjs +0 -4
- package/esm2022/lib/collections/vehicle/vehicle-claim.collection.mjs +0 -25
- package/esm2022/lib/collections/vehicle/vehicle-logbook.collection.mjs +0 -31
- package/esm2022/lib/db/Enums/address-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/allocation-rule-condition-field.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/annual-frequency.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/bank/bank-account-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/bank-account-type.enum.mjs +0 -13
- package/esm2022/lib/db/Enums/bank/bank-connection-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/bank-popular.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/bank/bank-provider.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/bank-transaction-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/index.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/loan/index.mjs +0 -11
- package/esm2022/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +0 -16
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +0 -20
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +0 -50
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +0 -102
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +0 -19
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +0 -50
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/index.mjs +0 -18
- package/esm2022/lib/db/Enums/chat-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-details-medicare-exemption.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/client-invite-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-invite-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/depreciation-calculation-percent.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/depreciation-calculation.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/depreciation-type.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/depreciation-write-off-amount.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/document-type.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/file-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/firm-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/holding/holding-type-category.enum.mjs +0 -18
- package/esm2022/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/holding/index.mjs +0 -3
- package/esm2022/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +0 -15
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/income-source/income-source-type.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/income-source/index.mjs +0 -7
- package/esm2022/lib/db/Enums/index.mjs +0 -13
- package/esm2022/lib/db/Enums/invite-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/phone-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-category-list.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/property/property-share-access.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-share-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/registration-invite-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/salary-forecast-frequency.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/service-notification-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/service-notification-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/setup-item-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/sole-depreciation-method.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/sole-invoice-statuses.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/sole-invoice-tax-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/spare-document-spare-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/index.mjs +0 -2
- package/esm2022/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-payment-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-price-list.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/subscription/service-price-type.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/subscription/service-product-id.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/subscription/service-product-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-subscription-status.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/tank-type.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/tax-calculation-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/tax-return/index.mjs +0 -4
- package/esm2022/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +0 -66
- package/esm2022/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/tax-return/tax-return-item.enum.mjs +0 -20
- package/esm2022/lib/db/Enums/tax-review-status.enum.mjs +0 -13
- package/esm2022/lib/db/Enums/tax-summary-list.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/tax-summary-section.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/tax-summary-tax-summary.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/ticket-feedback.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/ticket-status.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/ticket-types.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/transaction-operation.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/transaction-source.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/transaction-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/user-event-status.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/user-event-type-client-type.enum.mjs +0 -29
- package/esm2022/lib/db/Enums/user-event-type-employee-type.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/user-event-type-frequency.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-event-type-type.enum.mjs +0 -51
- package/esm2022/lib/db/Enums/user-event-type-user-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-medicare-exemption.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-roles.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/user-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-title.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/user-working-holiday-maker.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/vehicle-claim-details-method.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +0 -6
- package/esm2022/lib/db/Models/abstract-model.mjs +0 -14
- package/esm2022/lib/db/Models/address.mjs +0 -4
- package/esm2022/lib/db/Models/bank/bank-account-balance.mjs +0 -9
- package/esm2022/lib/db/Models/bank/bank-account-property.mjs +0 -9
- package/esm2022/lib/db/Models/bank/bank-account.mjs +0 -10
- package/esm2022/lib/db/Models/bank/bank-connection.mjs +0 -5
- package/esm2022/lib/db/Models/bank/bank-transaction-import.mjs +0 -4
- package/esm2022/lib/db/Models/bank/bank-transaction.mjs +0 -5
- package/esm2022/lib/db/Models/bank/bank.mjs +0 -4
- package/esm2022/lib/db/Models/bank/basiq-job-step.enum.mjs +0 -8
- package/esm2022/lib/db/Models/bank/basiq-job.mjs +0 -4
- package/esm2022/lib/db/Models/budget/budget-rule.mjs +0 -4
- package/esm2022/lib/db/Models/budget/budget.mjs +0 -4
- package/esm2022/lib/db/Models/budget/index.mjs +0 -3
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-value.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts.mjs +0 -4
- package/esm2022/lib/db/Models/client/annual-client-details.mjs +0 -3
- package/esm2022/lib/db/Models/client/client-details.mjs +0 -4
- package/esm2022/lib/db/Models/client/index.mjs +0 -4
- package/esm2022/lib/db/Models/client/occupation.mjs +0 -4
- package/esm2022/lib/db/Models/country.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation-capital-project.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation.mjs +0 -5
- package/esm2022/lib/db/Models/document/document-folder.mjs +0 -4
- package/esm2022/lib/db/Models/document/folder-document.mjs +0 -4
- package/esm2022/lib/db/Models/document/property-document.mjs +0 -4
- package/esm2022/lib/db/Models/file.mjs +0 -4
- package/esm2022/lib/db/Models/firm/accountant/tax-review.mjs +0 -4
- package/esm2022/lib/db/Models/firm/accountant/ticket.mjs +0 -4
- package/esm2022/lib/db/Models/firm/chat.mjs +0 -4
- package/esm2022/lib/db/Models/firm/client-invite.mjs +0 -5
- package/esm2022/lib/db/Models/firm/client-movement.mjs +0 -5
- package/esm2022/lib/db/Models/firm/employee-invite.mjs +0 -4
- package/esm2022/lib/db/Models/firm/firm-invite.mjs +0 -4
- package/esm2022/lib/db/Models/firm/firm.mjs +0 -4
- package/esm2022/lib/db/Models/firm/message-document.mjs +0 -4
- package/esm2022/lib/db/Models/firm/message.mjs +0 -5
- package/esm2022/lib/db/Models/holding/holding-import.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-sale.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-type-exchange.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-type.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding.mjs +0 -3
- package/esm2022/lib/db/Models/holding/index.mjs +0 -5
- package/esm2022/lib/db/Models/incomeSource/income-source-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/income-source-type.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/income-source.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/salary-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/index.mjs +0 -96
- package/esm2022/lib/db/Models/loan/borrowing-expense-loan.mjs +0 -4
- package/esm2022/lib/db/Models/loan/borrowing-expense.mjs +0 -4
- package/esm2022/lib/db/Models/loan/loan-payout.mjs +0 -13
- package/esm2022/lib/db/Models/loan/loan.mjs +0 -22
- package/esm2022/lib/db/Models/observable-model.mjs +0 -14
- package/esm2022/lib/db/Models/phone.mjs +0 -4
- package/esm2022/lib/db/Models/property/borrowing-report.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-category-movement.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-category.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/property-sale.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/tax-exemption.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-share.mjs +0 -10
- package/esm2022/lib/db/Models/property/property-subscription.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-valuation.mjs +0 -5
- package/esm2022/lib/db/Models/property/property.mjs +0 -22
- package/esm2022/lib/db/Models/service-notification.mjs +0 -4
- package/esm2022/lib/db/Models/setup-item.mjs +0 -4
- package/esm2022/lib/db/Models/sole/bas-report.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-activity.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-allocation.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-loss.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-contact.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-depreciation-method.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-details.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice-item.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice-template.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice.mjs +0 -4
- package/esm2022/lib/db/Models/spare/spare-document-category.mjs +0 -4
- package/esm2022/lib/db/Models/spare/spare-document.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-payment-method.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-payment.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-price.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-product.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-subscription-item.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-subscription.mjs +0 -5
- package/esm2022/lib/db/Models/tax-calculation.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/index.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return-category.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return-item.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-condition.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-transaction.mjs +0 -5
- package/esm2022/lib/db/Models/transaction/allocation-rule.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction-allocation.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction-base.mjs +0 -123
- package/esm2022/lib/db/Models/transaction/transaction-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction.mjs +0 -5
- package/esm2022/lib/db/Models/user/employee-details.mjs +0 -4
- package/esm2022/lib/db/Models/user/registration-invite.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-setting.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-type-category.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-type.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event.mjs +0 -4
- package/esm2022/lib/db/Models/user/user.mjs +0 -5
- package/esm2022/lib/db/Models/vehicle/vehicle-claim-details.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle-claim.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle-logbook.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle.mjs +0 -4
- package/esm2022/lib/db-static/chart-accounts/chart-accounts-values.mjs +0 -9
- package/esm2022/lib/forms/abstract.form.mjs +0 -111
- package/esm2022/lib/forms/address/address.form.mjs +0 -190
- package/esm2022/lib/forms/address/index.mjs +0 -2
- package/esm2022/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +0 -46
- package/esm2022/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +0 -45
- package/esm2022/lib/forms/bank/bank-account/bank-account-import.form.mjs +0 -24
- package/esm2022/lib/forms/bank/bank-account/bank-account-properties.form.mjs +0 -64
- package/esm2022/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +0 -50
- package/esm2022/lib/forms/budget/budget.form.mjs +0 -69
- package/esm2022/lib/forms/budget/index.mjs +0 -2
- package/esm2022/lib/forms/chart-accounts/chart-accounts.form.mjs +0 -14
- package/esm2022/lib/forms/chart-accounts/index.mjs +0 -2
- package/esm2022/lib/forms/client/annual-client-details.form.mjs +0 -39
- package/esm2022/lib/forms/client/index.mjs +0 -2
- package/esm2022/lib/forms/depreciation/depreciation.form.mjs +0 -40
- package/esm2022/lib/forms/depreciation/index.mjs +0 -2
- package/esm2022/lib/forms/document-folder/document-folder.form.mjs +0 -11
- package/esm2022/lib/forms/document-folder/document.form.mjs +0 -11
- package/esm2022/lib/forms/document-folder/index.mjs +0 -3
- package/esm2022/lib/forms/firm/firm.form.mjs +0 -18
- package/esm2022/lib/forms/firm/index.mjs +0 -2
- package/esm2022/lib/forms/form-validations.enum.mjs +0 -12
- package/esm2022/lib/forms/holding/holding-import.form.mjs +0 -25
- package/esm2022/lib/forms/holding/holding-reinvest.form.mjs +0 -59
- package/esm2022/lib/forms/holding/holding-sale.form.mjs +0 -52
- package/esm2022/lib/forms/holding/holding-type.form.mjs +0 -16
- package/esm2022/lib/forms/holding/holding.form.mjs +0 -28
- package/esm2022/lib/forms/holding/index.mjs +0 -6
- package/esm2022/lib/forms/index.mjs +0 -27
- package/esm2022/lib/forms/loan/index.mjs +0 -2
- package/esm2022/lib/forms/loan/loan.form.mjs +0 -90
- package/esm2022/lib/forms/login/login.form.mjs +0 -11
- package/esm2022/lib/forms/phone/index.mjs +0 -2
- package/esm2022/lib/forms/phone/phone.form.mjs +0 -18
- package/esm2022/lib/forms/property/borrowing-report.form.mjs +0 -32
- package/esm2022/lib/forms/property/index.mjs +0 -10
- package/esm2022/lib/forms/property/property-add.form.mjs +0 -69
- package/esm2022/lib/forms/property/property-category-movement-form.mjs +0 -21
- package/esm2022/lib/forms/property/property-document.form.mjs +0 -14
- package/esm2022/lib/forms/property/property-edit.form.mjs +0 -17
- package/esm2022/lib/forms/property/property-forecast.form.mjs +0 -29
- package/esm2022/lib/forms/property/property-sale/index.mjs +0 -4
- package/esm2022/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +0 -39
- package/esm2022/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +0 -66
- package/esm2022/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +0 -107
- package/esm2022/lib/forms/property/property-share.form.mjs +0 -16
- package/esm2022/lib/forms/property/property-valuation.form.mjs +0 -19
- package/esm2022/lib/forms/register/register-client.form.mjs +0 -19
- package/esm2022/lib/forms/register/register-firm.form.mjs +0 -22
- package/esm2022/lib/forms/report/my-tax/index.mjs +0 -17
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +0 -31
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +0 -81
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +0 -14
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +0 -79
- package/esm2022/lib/forms/report/my-tax/my-tax-cgt.form.mjs +0 -30
- package/esm2022/lib/forms/report/my-tax/my-tax-deductions.form.mjs +0 -85
- package/esm2022/lib/forms/report/my-tax/my-tax-dividends.form.mjs +0 -23
- package/esm2022/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +0 -108
- package/esm2022/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +0 -10
- package/esm2022/lib/forms/report/my-tax/my-tax-interest.form.mjs +0 -12
- package/esm2022/lib/forms/report/my-tax/my-tax-losses.form.mjs +0 -11
- package/esm2022/lib/forms/report/my-tax/my-tax-medicare.form.mjs +0 -38
- package/esm2022/lib/forms/report/my-tax/my-tax-offsets.form.mjs +0 -10
- package/esm2022/lib/forms/report/my-tax/my-tax-other-income.form.mjs +0 -43
- package/esm2022/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +0 -37
- package/esm2022/lib/forms/report/my-tax/my-tax-rent.form.mjs +0 -13
- package/esm2022/lib/forms/sole/bas-report.form.mjs +0 -62
- package/esm2022/lib/forms/sole/index.mjs +0 -12
- package/esm2022/lib/forms/sole/invoice-payment.form.mjs +0 -14
- package/esm2022/lib/forms/sole/sole-business-allocations.form.mjs +0 -64
- package/esm2022/lib/forms/sole/sole-business-loss.form.mjs +0 -24
- package/esm2022/lib/forms/sole/sole-business.form.mjs +0 -70
- package/esm2022/lib/forms/sole/sole-contact.form.mjs +0 -19
- package/esm2022/lib/forms/sole/sole-depreciation-method.form.mjs +0 -10
- package/esm2022/lib/forms/sole/sole-details.form.mjs +0 -12
- package/esm2022/lib/forms/sole/sole-invoice-item.form.mjs +0 -15
- package/esm2022/lib/forms/sole/sole-invoice-template.form.mjs +0 -15
- package/esm2022/lib/forms/sole/sole-invoice.form.mjs +0 -157
- package/esm2022/lib/forms/transaction/allocation-rule-condition.form.mjs +0 -16
- package/esm2022/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +0 -12
- package/esm2022/lib/forms/transaction/allocation-rule-transaction.form.mjs +0 -144
- package/esm2022/lib/forms/transaction/allocation-rule.form.mjs +0 -188
- package/esm2022/lib/forms/transaction/holding/holding-income.form.mjs +0 -49
- package/esm2022/lib/forms/transaction/index.mjs +0 -8
- package/esm2022/lib/forms/transaction/messages.enum.mjs +0 -5
- package/esm2022/lib/forms/transaction/sole/sole-income.form.mjs +0 -17
- package/esm2022/lib/forms/transaction/sole/sole-transaction.form.mjs +0 -7
- package/esm2022/lib/forms/transaction/transaction-base.form.mjs +0 -98
- package/esm2022/lib/forms/transaction/transaction.form.mjs +0 -62
- package/esm2022/lib/forms/transaction/work/work-expense.form.mjs +0 -33
- package/esm2022/lib/forms/transaction/work/work-income.form.mjs +0 -86
- package/esm2022/lib/forms/transaction/work/work-transaction.form.mjs +0 -40
- package/esm2022/lib/forms/user/client-details.form.mjs +0 -34
- package/esm2022/lib/forms/user/index.mjs +0 -6
- package/esm2022/lib/forms/user/password.form.mjs +0 -14
- package/esm2022/lib/forms/user/reset-password.form.mjs +0 -11
- package/esm2022/lib/forms/user/user-invite.form.mjs +0 -16
- package/esm2022/lib/forms/user/user.form.mjs +0 -15
- package/esm2022/lib/forms/vehicle/index.mjs +0 -5
- package/esm2022/lib/forms/vehicle/vehicle-claim-details.form.mjs +0 -17
- package/esm2022/lib/forms/vehicle/vehicle-claim.form.mjs +0 -30
- package/esm2022/lib/forms/vehicle/vehicle-logbook.form.mjs +0 -63
- package/esm2022/lib/forms/vehicle/vehicle.form.mjs +0 -17
- package/esm2022/lib/functions/array/index.mjs +0 -5
- package/esm2022/lib/functions/array/replace.mjs +0 -6
- package/esm2022/lib/functions/array/sort-deep.mjs +0 -22
- package/esm2022/lib/functions/array/sort.mjs +0 -13
- package/esm2022/lib/functions/array/to-array.mjs +0 -7
- package/esm2022/lib/functions/clone-deep.mjs +0 -5
- package/esm2022/lib/functions/create-date.mjs +0 -8
- package/esm2022/lib/functions/enum-to-list.mjs +0 -13
- package/esm2022/lib/functions/get-doc-icon.mjs +0 -18
- package/esm2022/lib/functions/mat-options-functions.mjs +0 -13
- package/esm2022/lib/functions/mat-sort-options.mjs +0 -10
- package/esm2022/lib/functions/tax-review-filter-predicate.mjs +0 -10
- package/esm2022/lib/interceptors/basiq-client-id.interceptor.mjs +0 -31
- package/esm2022/lib/interceptors/basiq-token.interceptor.mjs +0 -33
- package/esm2022/lib/interceptors/corelogic-interceptor.mjs +0 -41
- package/esm2022/lib/interceptors/financial-year-interceptor.mjs +0 -42
- package/esm2022/lib/interceptors/interceptors.module.mjs +0 -107
- package/esm2022/lib/interceptors/jwt-interceptor.mjs +0 -138
- package/esm2022/lib/interceptors/preloader.interceptor.mjs +0 -32
- package/esm2022/lib/interceptors/rewardful.interceptor.mjs +0 -42
- package/esm2022/lib/interceptors/user-switcher-interceptor.mjs +0 -40
- package/esm2022/lib/interfaces/asset-entity-type.enum.mjs +0 -12
- package/esm2022/lib/interfaces/asset-type.enum.mjs +0 -13
- package/esm2022/lib/interfaces/asset.interface.mjs +0 -2
- package/esm2022/lib/interfaces/auth-tokens.interface.mjs +0 -2
- package/esm2022/lib/interfaces/chart-data.interface.mjs +0 -2
- package/esm2022/lib/interfaces/chart-serie.interface.mjs +0 -2
- package/esm2022/lib/interfaces/document.interface.mjs +0 -2
- package/esm2022/lib/interfaces/documentable.interface.mjs +0 -2
- package/esm2022/lib/interfaces/event-listener.interface.mjs +0 -2
- package/esm2022/lib/interfaces/expense.interface.mjs +0 -2
- package/esm2022/lib/interfaces/income-source-forecast.interface.mjs +0 -2
- package/esm2022/lib/interfaces/index.mjs +0 -15
- package/esm2022/lib/interfaces/option.interface.mjs +0 -2
- package/esm2022/lib/interfaces/tank.interface.mjs +0 -2
- package/esm2022/lib/interfaces/updatable.interface.mjs +0 -2
- package/esm2022/lib/messages/index.mjs +0 -2
- package/esm2022/lib/messages/messages.enum.mjs +0 -16
- package/esm2022/lib/models/account-setup/account-setup-item.mjs +0 -38
- package/esm2022/lib/models/account-setup/account-setup-items.enum.mjs +0 -19
- package/esm2022/lib/models/address/address.mjs +0 -50
- package/esm2022/lib/models/address/country.mjs +0 -18
- package/esm2022/lib/models/address/index.mjs +0 -4
- package/esm2022/lib/models/address/states.enum.mjs +0 -12
- package/esm2022/lib/models/asset-sale.mjs +0 -10
- package/esm2022/lib/models/badge/badge-color.enum.mjs +0 -8
- package/esm2022/lib/models/badge/badge.mjs +0 -14
- package/esm2022/lib/models/bank/allocation-group.mjs +0 -57
- package/esm2022/lib/models/bank/bank-account-chart-data.mjs +0 -30
- package/esm2022/lib/models/bank/bank-account-property.mjs +0 -14
- package/esm2022/lib/models/bank/bank-account-types.const.mjs +0 -14
- package/esm2022/lib/models/bank/bank-account.mjs +0 -176
- package/esm2022/lib/models/bank/bank-connection.mjs +0 -55
- package/esm2022/lib/models/bank/bank-external-stats.mjs +0 -8
- package/esm2022/lib/models/bank/bank-transaction-chart-data.mjs +0 -100
- package/esm2022/lib/models/bank/bank-transaction-summary-fields.enum.mjs +0 -6
- package/esm2022/lib/models/bank/bank-transaction.mjs +0 -77
- package/esm2022/lib/models/bank/bank.mjs +0 -37
- package/esm2022/lib/models/bank/basiq/basiq-config.mjs +0 -12
- package/esm2022/lib/models/bank/basiq/basiq-connection-data.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-connections-response.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-job-response.mjs +0 -15
- package/esm2022/lib/models/bank/basiq/basiq-job-step.mjs +0 -18
- package/esm2022/lib/models/bank/basiq/basiq-job.mjs +0 -4
- package/esm2022/lib/models/bank/basiq/basiq-token-response.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-token.mjs +0 -15
- package/esm2022/lib/models/bank/basiq/index.mjs +0 -9
- package/esm2022/lib/models/bank/index.mjs +0 -14
- package/esm2022/lib/models/bank/type-loan.const.mjs +0 -9
- package/esm2022/lib/models/borrowing-expense/borrowing-expense-loan.mjs +0 -4
- package/esm2022/lib/models/borrowing-expense/borrowing-expense.mjs +0 -4
- package/esm2022/lib/models/borrowing-expense/index.mjs +0 -3
- package/esm2022/lib/models/budget/budget-rule.mjs +0 -14
- package/esm2022/lib/models/budget/budget.mjs +0 -18
- package/esm2022/lib/models/budget/index.mjs +0 -3
- package/esm2022/lib/models/chart/chart-data.mjs +0 -13
- package/esm2022/lib/models/chart/chart-serie.mjs +0 -7
- package/esm2022/lib/models/chart-accounts/chart-accounts-categories.const.mjs +0 -122
- package/esm2022/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +0 -48
- package/esm2022/lib/models/chart-accounts/chart-accounts-depreciation.mjs +0 -16
- package/esm2022/lib/models/chart-accounts/chart-accounts-heading.mjs +0 -4
- package/esm2022/lib/models/chart-accounts/chart-accounts-meta-field.mjs +0 -20
- package/esm2022/lib/models/chart-accounts/chart-accounts-tax-labels.enum.mjs +0 -7
- package/esm2022/lib/models/chart-accounts/chart-accounts-value.mjs +0 -4
- package/esm2022/lib/models/chart-accounts/chart-accounts.mjs +0 -249
- package/esm2022/lib/models/chart-accounts/index.mjs +0 -9
- package/esm2022/lib/models/chat/chat-view-type.enum.mjs +0 -6
- package/esm2022/lib/models/chat/chat.mjs +0 -26
- package/esm2022/lib/models/chat/index.mjs +0 -5
- package/esm2022/lib/models/chat/message-document.mjs +0 -21
- package/esm2022/lib/models/chat/message.mjs +0 -43
- package/esm2022/lib/models/client/annual-client-details.mjs +0 -19
- package/esm2022/lib/models/client/client-details.mjs +0 -4
- package/esm2022/lib/models/client/client-invite.mjs +0 -68
- package/esm2022/lib/models/client/client-movement.mjs +0 -23
- package/esm2022/lib/models/client/client-portfolio-chart-data.mjs +0 -55
- package/esm2022/lib/models/client/client-portfolio-report.mjs +0 -7
- package/esm2022/lib/models/client/index.mjs +0 -7
- package/esm2022/lib/models/color/alphabet-colors.enum.mjs +0 -30
- package/esm2022/lib/models/depreciation/depreciation-capital-project.mjs +0 -9
- package/esm2022/lib/models/depreciation/depreciation-forecast.mjs +0 -42
- package/esm2022/lib/models/depreciation/depreciation-group-item.mjs +0 -18
- package/esm2022/lib/models/depreciation/depreciation-group.enum.mjs +0 -10
- package/esm2022/lib/models/depreciation/depreciation-group.mjs +0 -20
- package/esm2022/lib/models/depreciation/depreciation-groups.const.mjs +0 -34
- package/esm2022/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +0 -9
- package/esm2022/lib/models/depreciation/depreciation.mjs +0 -188
- package/esm2022/lib/models/depreciation/index.mjs +0 -9
- package/esm2022/lib/models/dictionary/dictionary.mjs +0 -49
- package/esm2022/lib/models/dictionary/index.mjs +0 -2
- package/esm2022/lib/models/document/document-api-url-prefix.enum.mjs +0 -9
- package/esm2022/lib/models/document/document-file-types.const.mjs +0 -23
- package/esm2022/lib/models/document/document-folder.mjs +0 -4
- package/esm2022/lib/models/document/document.mjs +0 -17
- package/esm2022/lib/models/document/index.mjs +0 -5
- package/esm2022/lib/models/employee/employee-details.mjs +0 -10
- package/esm2022/lib/models/employee/employee-invite.mjs +0 -14
- package/esm2022/lib/models/endpoint/endpoint.mjs +0 -23
- package/esm2022/lib/models/endpoint/endpoints.const.mjs +0 -248
- package/esm2022/lib/models/event/app-event-type.enum.mjs +0 -66
- package/esm2022/lib/models/event/app-event.mjs +0 -21
- package/esm2022/lib/models/event/index.mjs +0 -3
- package/esm2022/lib/models/export/export-cell-type.enum.mjs +0 -11
- package/esm2022/lib/models/export/export-cell.mjs +0 -6
- package/esm2022/lib/models/export/export-data-table.mjs +0 -3
- package/esm2022/lib/models/export/export-format.enum.mjs +0 -6
- package/esm2022/lib/models/file/file.mjs +0 -12
- package/esm2022/lib/models/file/icons-file.enum.mjs +0 -7
- package/esm2022/lib/models/file/index.mjs +0 -2
- package/esm2022/lib/models/financial-year/financial-year.mjs +0 -57
- package/esm2022/lib/models/financial-year/index.mjs +0 -5
- package/esm2022/lib/models/financial-year/month-name-short.enum.mjs +0 -21
- package/esm2022/lib/models/financial-year/month-number.enum.mjs +0 -21
- package/esm2022/lib/models/financial-year/months.const.mjs +0 -2
- package/esm2022/lib/models/firm/firm.mjs +0 -26
- package/esm2022/lib/models/holding/holding-import.mjs +0 -16
- package/esm2022/lib/models/holding/holding-reinvest.mjs +0 -22
- package/esm2022/lib/models/holding/holding-sale.mjs +0 -37
- package/esm2022/lib/models/holding/holding-type-exchange.mjs +0 -13
- package/esm2022/lib/models/holding/holding-type.mjs +0 -64
- package/esm2022/lib/models/holding/holding.mjs +0 -82
- package/esm2022/lib/models/holding/index.mjs +0 -7
- package/esm2022/lib/models/income-position/income-position.mjs +0 -9
- package/esm2022/lib/models/income-source/income-source-chart-data.mjs +0 -45
- package/esm2022/lib/models/income-source/income-source-forecast.mjs +0 -34
- package/esm2022/lib/models/income-source/income-source-type.mjs +0 -20
- package/esm2022/lib/models/income-source/income-source.mjs +0 -58
- package/esm2022/lib/models/income-source/index.mjs +0 -7
- package/esm2022/lib/models/income-source/salary-forecast.mjs +0 -36
- package/esm2022/lib/models/income-source/sole-forecast.mjs +0 -13
- package/esm2022/lib/models/index.mjs +0 -26
- package/esm2022/lib/models/loan/index.mjs +0 -5
- package/esm2022/lib/models/loan/loan-max-number-of-payments.enum.mjs +0 -11
- package/esm2022/lib/models/loan/loan-payment.mjs +0 -13
- package/esm2022/lib/models/loan/loan-payout.mjs +0 -11
- package/esm2022/lib/models/loan/loan.mjs +0 -84
- package/esm2022/lib/models/notification/index.mjs +0 -2
- package/esm2022/lib/models/notification/notification.mjs +0 -39
- package/esm2022/lib/models/pdf/pdf-orientation.enum.mjs +0 -6
- package/esm2022/lib/models/pdf/pdf-settings.mjs +0 -17
- package/esm2022/lib/models/phone/phone.mjs +0 -19
- package/esm2022/lib/models/property/borrowing-report.mjs +0 -50
- package/esm2022/lib/models/property/calculation-form-item.mjs +0 -17
- package/esm2022/lib/models/property/calculation-form-type.enum.mjs +0 -9
- package/esm2022/lib/models/property/capital-costs-itmes.const.mjs +0 -57
- package/esm2022/lib/models/property/corelogic-suggestion.mjs +0 -7
- package/esm2022/lib/models/property/index.mjs +0 -18
- package/esm2022/lib/models/property/property-category-movement.mjs +0 -24
- package/esm2022/lib/models/property/property-category.mjs +0 -15
- package/esm2022/lib/models/property/property-document.mjs +0 -17
- package/esm2022/lib/models/property/property-equity-chart-data.mjs +0 -157
- package/esm2022/lib/models/property/property-equity-chart-item.mjs +0 -24
- package/esm2022/lib/models/property/property-equity-chart-type.enum.mjs +0 -6
- package/esm2022/lib/models/property/property-forecast.mjs +0 -56
- package/esm2022/lib/models/property/property-sale/index.mjs +0 -6
- package/esm2022/lib/models/property/property-sale/property-sale-cost-base.mjs +0 -20
- package/esm2022/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/models/property/property-sale/property-sale.mjs +0 -55
- package/esm2022/lib/models/property/property-sale/tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/models/property/property-sale/tax-exemption.mjs +0 -8
- package/esm2022/lib/models/property/property-share.mjs +0 -47
- package/esm2022/lib/models/property/property-subscription.mjs +0 -13
- package/esm2022/lib/models/property/property-valuation.mjs +0 -24
- package/esm2022/lib/models/property/property.mjs +0 -249
- package/esm2022/lib/models/registration-invite/registration-invite.mjs +0 -13
- package/esm2022/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +0 -10
- package/esm2022/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +0 -21
- package/esm2022/lib/models/report/depreciation/depreciation-report-item.mjs +0 -25
- package/esm2022/lib/models/report/depreciation/index.mjs +0 -4
- package/esm2022/lib/models/report/index.mjs +0 -6
- package/esm2022/lib/models/report/my-tax/ato-links.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/index.mjs +0 -26
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +0 -27
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +0 -16
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +0 -15
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +0 -74
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +0 -70
- package/esm2022/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +0 -9
- package/esm2022/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +0 -30
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +0 -13
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +0 -62
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +0 -10
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +0 -96
- package/esm2022/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +0 -17
- package/esm2022/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +0 -40
- package/esm2022/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +0 -75
- package/esm2022/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +0 -8
- package/esm2022/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +0 -8
- package/esm2022/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +0 -47
- package/esm2022/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +0 -30
- package/esm2022/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +0 -48
- package/esm2022/lib/models/report/property/index.mjs +0 -4
- package/esm2022/lib/models/report/property/property-report-item-depreciation.mjs +0 -19
- package/esm2022/lib/models/report/property/property-report-item-transaction.mjs +0 -12
- package/esm2022/lib/models/report/property/property-report-item.mjs +0 -30
- package/esm2022/lib/models/report/sole/index.mjs +0 -2
- package/esm2022/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +0 -17
- package/esm2022/lib/models/report/vehicle-expense/vehicle-expense.mjs +0 -17
- package/esm2022/lib/models/service-subscription/index.mjs +0 -10
- package/esm2022/lib/models/service-subscription/module-url-list.const.mjs +0 -12
- package/esm2022/lib/models/service-subscription/payment-method-brand.enum.mjs +0 -12
- package/esm2022/lib/models/service-subscription/service-payment-method.mjs +0 -31
- package/esm2022/lib/models/service-subscription/service-payment.mjs +0 -22
- package/esm2022/lib/models/service-subscription/service-price.mjs +0 -25
- package/esm2022/lib/models/service-subscription/service-product-icons.enum.mjs +0 -11
- package/esm2022/lib/models/service-subscription/service-product-roles.const.mjs +0 -11
- package/esm2022/lib/models/service-subscription/service-product.mjs +0 -27
- package/esm2022/lib/models/service-subscription/service-promo-code-duration.enum.mjs +0 -7
- package/esm2022/lib/models/service-subscription/service-promo-code.mjs +0 -30
- package/esm2022/lib/models/service-subscription/service-subscription-item.mjs +0 -24
- package/esm2022/lib/models/service-subscription/service-subscription.mjs +0 -161
- package/esm2022/lib/models/sole/bas-report.mjs +0 -39
- package/esm2022/lib/models/sole/index.mjs +0 -13
- package/esm2022/lib/models/sole/sole-business-activity.mjs +0 -4
- package/esm2022/lib/models/sole/sole-business-allocation.mjs +0 -18
- package/esm2022/lib/models/sole/sole-business-loss-offset-rule.mjs +0 -9
- package/esm2022/lib/models/sole/sole-business-loss.mjs +0 -27
- package/esm2022/lib/models/sole/sole-business.mjs +0 -57
- package/esm2022/lib/models/sole/sole-contact.mjs +0 -30
- package/esm2022/lib/models/sole/sole-depreciation-method.mjs +0 -8
- package/esm2022/lib/models/sole/sole-details.mjs +0 -10
- package/esm2022/lib/models/sole/sole-invoice-item.mjs +0 -47
- package/esm2022/lib/models/sole/sole-invoice-template.mjs +0 -31
- package/esm2022/lib/models/sole/sole-invoice.mjs +0 -142
- package/esm2022/lib/models/tax-return/index.mjs +0 -4
- package/esm2022/lib/models/tax-return/tax-return-category.mjs +0 -19
- package/esm2022/lib/models/tax-return/tax-return-item.mjs +0 -40
- package/esm2022/lib/models/tax-return/tax-return.mjs +0 -10
- package/esm2022/lib/models/tax-review/tax-review.mjs +0 -86
- package/esm2022/lib/models/tax-summary/report-item-details.mjs +0 -10
- package/esm2022/lib/models/tax-summary/report-item.mjs +0 -29
- package/esm2022/lib/models/tax-summary/tax-summary-section.mjs +0 -32
- package/esm2022/lib/models/tax-summary/tax-summary-type.enum.mjs +0 -9
- package/esm2022/lib/models/tax-summary/tax-summary.mjs +0 -152
- package/esm2022/lib/models/toast/toast-type.enum.mjs +0 -8
- package/esm2022/lib/models/toast/toast.mjs +0 -10
- package/esm2022/lib/models/transaction/allocation-rule-condition.mjs +0 -40
- package/esm2022/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +0 -4
- package/esm2022/lib/models/transaction/allocation-rule-transaction.mjs +0 -110
- package/esm2022/lib/models/transaction/allocation-rule.mjs +0 -131
- package/esm2022/lib/models/transaction/income-amount-type.enum.mjs +0 -9
- package/esm2022/lib/models/transaction/index.mjs +0 -9
- package/esm2022/lib/models/transaction/transaction-allocation.mjs +0 -21
- package/esm2022/lib/models/transaction/transaction-category.enum.mjs +0 -8
- package/esm2022/lib/models/transaction/transaction-meta-field.mjs +0 -17
- package/esm2022/lib/models/transaction/transaction.mjs +0 -249
- package/esm2022/lib/models/user/index.mjs +0 -10
- package/esm2022/lib/models/user/my-account-history-initiated-by.enum.mjs +0 -6
- package/esm2022/lib/models/user/my-account-history-status.enum.mjs +0 -6
- package/esm2022/lib/models/user/my-account-history-type.enum.mjs +0 -7
- package/esm2022/lib/models/user/my-account-history.mjs +0 -3
- package/esm2022/lib/models/user/occupation.mjs +0 -4
- package/esm2022/lib/models/user/user-roles.const.mjs +0 -20
- package/esm2022/lib/models/user/user-to-register.mjs +0 -6
- package/esm2022/lib/models/user/user-work-position.const.mjs +0 -7
- package/esm2022/lib/models/user/user.mjs +0 -171
- package/esm2022/lib/models/user-event/user-event-setting-field.enum.mjs +0 -10
- package/esm2022/lib/models/user-event/user-event-setting.mjs +0 -18
- package/esm2022/lib/models/user-event/user-event-type-category.mjs +0 -4
- package/esm2022/lib/models/user-event/user-event-type.mjs +0 -23
- package/esm2022/lib/models/vehicle/index.mjs +0 -5
- package/esm2022/lib/models/vehicle/vehicle-claim-details.mjs +0 -27
- package/esm2022/lib/models/vehicle/vehicle-claim.mjs +0 -60
- package/esm2022/lib/models/vehicle/vehicle-logbook.mjs +0 -27
- package/esm2022/lib/models/vehicle/vehicle.mjs +0 -10
- package/esm2022/lib/pipes/app-currency.pipe.mjs +0 -23
- package/esm2022/lib/pipes/index.mjs +0 -3
- package/esm2022/lib/pipes/safe-url.pipe.mjs +0 -21
- package/esm2022/lib/services/account-setup/account-setup.service.mjs +0 -168
- package/esm2022/lib/services/account-setup/index.mjs +0 -2
- package/esm2022/lib/services/asset/assets.service.mjs +0 -51
- package/esm2022/lib/services/asset/index.mjs +0 -2
- package/esm2022/lib/services/auth/auth.service.mjs +0 -50
- package/esm2022/lib/services/auth/index.mjs +0 -3
- package/esm2022/lib/services/auth/jwt.service.mjs +0 -48
- package/esm2022/lib/services/bank/bank-account-calculation.service.mjs +0 -32
- package/esm2022/lib/services/bank/index.mjs +0 -2
- package/esm2022/lib/services/data.service.mjs +0 -44
- package/esm2022/lib/services/event/event-dispatcher.service.mjs +0 -41
- package/esm2022/lib/services/event/index.mjs +0 -3
- package/esm2022/lib/services/event/sse.service.mjs +0 -48
- package/esm2022/lib/services/export/export-formatter.service.mjs +0 -34
- package/esm2022/lib/services/export/index.mjs +0 -2
- package/esm2022/lib/services/header-title/header-title.service.mjs +0 -28
- package/esm2022/lib/services/header-title/index.mjs +0 -2
- package/esm2022/lib/services/http/address/address.service.mjs +0 -37
- package/esm2022/lib/services/http/address/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank-account/bank-account.service.mjs +0 -84
- package/esm2022/lib/services/http/bank/bank-account/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +0 -23
- package/esm2022/lib/services/http/bank/bank-connection/bank-connection.service.mjs +0 -78
- package/esm2022/lib/services/http/bank/bank-connection/index.mjs +0 -3
- package/esm2022/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +0 -77
- package/esm2022/lib/services/http/bank/bank-transaction/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank.service.mjs +0 -26
- package/esm2022/lib/services/http/bank/basiq/basiq-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/bank/basiq/basiq-token.service.mjs +0 -39
- package/esm2022/lib/services/http/bank/basiq/basiq.service.mjs +0 -142
- package/esm2022/lib/services/http/bank/basiq/index.mjs +0 -4
- package/esm2022/lib/services/http/bank/index.mjs +0 -6
- package/esm2022/lib/services/http/budget/budget-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/budget/budget.service.mjs +0 -23
- package/esm2022/lib/services/http/budget/index.mjs +0 -3
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +0 -26
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +0 -2
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/chart-accounts/chart-accounts.service.mjs +0 -49
- package/esm2022/lib/services/http/chart-accounts/index.mjs +0 -4
- package/esm2022/lib/services/http/chat/chat.service.mjs +0 -88
- package/esm2022/lib/services/http/chat/index.mjs +0 -4
- package/esm2022/lib/services/http/chat/message-document.service.mjs +0 -80
- package/esm2022/lib/services/http/chat/message.service.mjs +0 -35
- package/esm2022/lib/services/http/client/capital-gain/annual-client-details.service.mjs +0 -23
- package/esm2022/lib/services/http/client/client-coupon.service.mjs +0 -27
- package/esm2022/lib/services/http/client/index.mjs +0 -4
- package/esm2022/lib/services/http/client/occupation/occupation.service.mjs +0 -43
- package/esm2022/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +0 -27
- package/esm2022/lib/services/http/depreciation/depreciation-capital-project/index.mjs +0 -2
- package/esm2022/lib/services/http/depreciation/depreciation.service.mjs +0 -106
- package/esm2022/lib/services/http/depreciation/index.mjs +0 -3
- package/esm2022/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/document/document-folder/document-folder.service.mjs +0 -26
- package/esm2022/lib/services/http/document/document-folder/index.mjs +0 -3
- package/esm2022/lib/services/http/document/document-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/document/document.service.mjs +0 -23
- package/esm2022/lib/services/http/document/index.mjs +0 -4
- package/esm2022/lib/services/http/facebook/facebook-auth-options.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook-auth-response.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook-status-response.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook.service.mjs +0 -87
- package/esm2022/lib/services/http/facebook/index.mjs +0 -2
- package/esm2022/lib/services/http/file/file.service.mjs +0 -39
- package/esm2022/lib/services/http/file/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +0 -15
- package/esm2022/lib/services/http/firm/client-invite/client-invite.service.mjs +0 -100
- package/esm2022/lib/services/http/firm/client-invite/index.mjs +0 -3
- package/esm2022/lib/services/http/firm/client-movement/client-movement.service.mjs +0 -87
- package/esm2022/lib/services/http/firm/client-movement/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/employee/employee-messages.enum.mjs +0 -13
- package/esm2022/lib/services/http/firm/employee/employee.service.mjs +0 -42
- package/esm2022/lib/services/http/firm/employee/index.mjs +0 -3
- package/esm2022/lib/services/http/firm/employee-invite/employee-invite.service.mjs +0 -48
- package/esm2022/lib/services/http/firm/employee-invite/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/firm-messages.enum.mjs +0 -6
- package/esm2022/lib/services/http/firm/firm.service.mjs +0 -63
- package/esm2022/lib/services/http/firm/index.mjs +0 -8
- package/esm2022/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +0 -37
- package/esm2022/lib/services/http/firm/portfolio-report/index.mjs +0 -2
- package/esm2022/lib/services/http/google/google.service.mjs +0 -77
- package/esm2022/lib/services/http/google/index.mjs +0 -2
- package/esm2022/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +0 -9
- package/esm2022/lib/services/http/holding/holding-import/holding-import.service.mjs +0 -37
- package/esm2022/lib/services/http/holding/holding-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/holding/holding-sale-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/holding/holding-sale.service.mjs +0 -23
- package/esm2022/lib/services/http/holding/holding-type-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/holding/holding-type.service.mjs +0 -23
- package/esm2022/lib/services/http/holding/holding.service.mjs +0 -35
- package/esm2022/lib/services/http/holding/index.mjs +0 -10
- package/esm2022/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +0 -84
- package/esm2022/lib/services/http/income-source/income-source-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/income-source-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/income-source/income-source.service.mjs +0 -93
- package/esm2022/lib/services/http/income-source/index.mjs +0 -6
- package/esm2022/lib/services/http/income-source/salary-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +0 -83
- package/esm2022/lib/services/http/income-source/sole-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +0 -90
- package/esm2022/lib/services/http/index.mjs +0 -29
- package/esm2022/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +0 -74
- package/esm2022/lib/services/http/loan/borrowing-expense/index.mjs +0 -2
- package/esm2022/lib/services/http/loan/index.mjs +0 -3
- package/esm2022/lib/services/http/loan/loan.service.mjs +0 -91
- package/esm2022/lib/services/http/pdf/pdf.service.mjs +0 -30
- package/esm2022/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +0 -23
- package/esm2022/lib/services/http/property/borrowing-report/index.mjs +0 -3
- package/esm2022/lib/services/http/property/index.mjs +0 -10
- package/esm2022/lib/services/http/property/property-category/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-category/property-category.service.mjs +0 -26
- package/esm2022/lib/services/http/property/property-category-movement/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property-document/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-document/property-document-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/property/property-document/property-document.service.mjs +0 -33
- package/esm2022/lib/services/http/property/property-messages.enum.mjs +0 -6
- package/esm2022/lib/services/http/property/property-sale/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-sale/property-sale.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property-share/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-share/property-share.service.mjs +0 -66
- package/esm2022/lib/services/http/property/property-valuation/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/property/property-valuation/property-valuation.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property.service.mjs +0 -87
- package/esm2022/lib/services/http/rest/http-method.type.mjs +0 -2
- package/esm2022/lib/services/http/rest/index.mjs +0 -4
- package/esm2022/lib/services/http/rest/rest-method.type.mjs +0 -2
- package/esm2022/lib/services/http/rest/rest-old.service.mjs +0 -240
- package/esm2022/lib/services/http/rest/rest.service.mjs +0 -297
- package/esm2022/lib/services/http/service-notification/index.mjs +0 -2
- package/esm2022/lib/services/http/service-notification/service-notification.service.mjs +0 -72
- package/esm2022/lib/services/http/setup-item/setup-item.service.mjs +0 -23
- package/esm2022/lib/services/http/sole/bas-report/bas-report.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/index.mjs +0 -11
- package/esm2022/lib/services/http/sole/sole-business/index.mjs +0 -3
- package/esm2022/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +0 -5
- package/esm2022/lib/services/http/sole/sole-business/sole-business.service.mjs +0 -28
- package/esm2022/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +0 -23
- package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +0 -37
- package/esm2022/lib/services/http/sole/sole-contact/sole-contact.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +0 -73
- package/esm2022/lib/services/http/sole/sole-details/sole-details.service.mjs +0 -64
- package/esm2022/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +0 -48
- package/esm2022/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +0 -20
- package/esm2022/lib/services/http/subscription/index.mjs +0 -7
- package/esm2022/lib/services/http/subscription/service-payment/service-payment.service.mjs +0 -33
- package/esm2022/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +0 -45
- package/esm2022/lib/services/http/subscription/service-price/service-price.service.mjs +0 -26
- package/esm2022/lib/services/http/subscription/service-product/service-product.service.mjs +0 -23
- package/esm2022/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/subscription/service-subscription/subscription.service.mjs +0 -84
- package/esm2022/lib/services/http/tax-review/index.mjs +0 -4
- package/esm2022/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +0 -45
- package/esm2022/lib/services/http/tax-review/tax-review-messages.enum.mjs +0 -20
- package/esm2022/lib/services/http/tax-review/tax-review.service.mjs +0 -106
- package/esm2022/lib/services/http/tax-summary/index.mjs +0 -2
- package/esm2022/lib/services/http/tax-summary/tax-summary.service.mjs +0 -71
- package/esm2022/lib/services/http/transaction/index.mjs +0 -4
- package/esm2022/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +0 -22
- package/esm2022/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +0 -117
- package/esm2022/lib/services/http/transaction/transaction.service.mjs +0 -288
- package/esm2022/lib/services/http/user/financial-year/financial-year.service.mjs +0 -29
- package/esm2022/lib/services/http/user/index.mjs +0 -8
- package/esm2022/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +0 -23
- package/esm2022/lib/services/http/user/user-event-type/user-event-type.service.mjs +0 -23
- package/esm2022/lib/services/http/user/user-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/user/user.service.mjs +0 -105
- package/esm2022/lib/services/http/user/users-invite/users-invite.service.mjs +0 -23
- package/esm2022/lib/services/http/vehicle/index.mjs +0 -6
- package/esm2022/lib/services/http/vehicle/vehicle-claim-details.service.mjs +0 -74
- package/esm2022/lib/services/http/vehicle/vehicle-claim.service.mjs +0 -50
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/index.mjs +0 -3
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +0 -25
- package/esm2022/lib/services/http/vehicle/vehicle-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/vehicle/vehicle.service.mjs +0 -25
- package/esm2022/lib/services/http/youtube/index.mjs +0 -3
- package/esm2022/lib/services/http/youtube/youtube-video.interface.mjs +0 -2
- package/esm2022/lib/services/http/youtube/youtube.service.mjs +0 -34
- package/esm2022/lib/services/index.mjs +0 -19
- package/esm2022/lib/services/intercom/index.mjs +0 -2
- package/esm2022/lib/services/intercom/intercom.service.mjs +0 -41
- package/esm2022/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +0 -31
- package/esm2022/lib/services/json/holding/holding-type-exchange.service.mjs +0 -23
- package/esm2022/lib/services/json/income-source/income-source-type.service.mjs +0 -23
- package/esm2022/lib/services/json/index.mjs +0 -6
- package/esm2022/lib/services/json/tax-exemption/tax-exemption.service.mjs +0 -23
- package/esm2022/lib/services/json/tax-return/tax-return-item.service.mjs +0 -23
- package/esm2022/lib/services/mixpanel/mixpanel.service.mjs +0 -54
- package/esm2022/lib/services/pdf/index.mjs +0 -6
- package/esm2022/lib/services/pdf/js-pdf.mjs +0 -10
- package/esm2022/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +0 -21
- package/esm2022/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +0 -47
- package/esm2022/lib/services/pdf/pdf-from-table/file-settings.mjs +0 -36
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +0 -46
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +0 -42
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +0 -63
- package/esm2022/lib/services/preloader/index.mjs +0 -2
- package/esm2022/lib/services/preloader/preloader.service.mjs +0 -30
- package/esm2022/lib/services/property/corelogic/corelogic.service.mjs +0 -42
- package/esm2022/lib/services/property/corelogic/index.mjs +0 -2
- package/esm2022/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +0 -39
- package/esm2022/lib/services/property/equity-position-chart/index.mjs +0 -2
- package/esm2022/lib/services/property/index.mjs +0 -4
- package/esm2022/lib/services/property/property-calculation/index.mjs +0 -2
- package/esm2022/lib/services/property/property-calculation/property-calculation.service.mjs +0 -158
- package/esm2022/lib/services/report/index.mjs +0 -2
- package/esm2022/lib/services/report/property/property-transaction-report.service.mjs +0 -65
- package/esm2022/lib/services/toast/index.mjs +0 -2
- package/esm2022/lib/services/toast/toast.service.mjs +0 -59
- package/esm2022/lib/services/user/index.mjs +0 -2
- package/esm2022/lib/services/user/user-switcher.service.mjs +0 -37
- package/esm2022/lib/services/xlsx/index.mjs +0 -2
- package/esm2022/lib/services/xlsx/xlsx.service.mjs +0 -84
- package/esm2022/lib/tt-core.module.mjs +0 -37
- package/esm2022/lib/validators/address-corelogic.validator.mjs +0 -19
- package/esm2022/lib/validators/at-least-one-enabled.validator.mjs +0 -9
- package/esm2022/lib/validators/at-least-one.validator.mjs +0 -9
- package/esm2022/lib/validators/autocomplete.validator.mjs +0 -8
- package/esm2022/lib/validators/conditional.validator.mjs +0 -26
- package/esm2022/lib/validators/current-fin-year.validator.mjs +0 -14
- package/esm2022/lib/validators/date-range.validator.mjs +0 -22
- package/esm2022/lib/validators/fields-sum.validator.mjs +0 -24
- package/esm2022/lib/validators/file.validator.mjs +0 -36
- package/esm2022/lib/validators/greater-than.validator.mjs +0 -12
- package/esm2022/lib/validators/group.validator.mjs +0 -11
- package/esm2022/lib/validators/index.mjs +0 -12
- package/esm2022/lib/validators/min-date/messages.enum.mjs +0 -5
- package/esm2022/lib/validators/min-date/min-date.validator.mjs +0 -18
- package/esm2022/lib/validators/password-match.validator.mjs +0 -17
- package/esm2022/lib/validators/password.validator.mjs +0 -20
- package/esm2022/lib/validators/phone-number.validator.mjs +0 -9
- package/esm2022/lib/validators/required-length.validator.mjs +0 -12
- package/esm2022/lib/validators/transactions-meta-fields.validator.mjs +0 -33
- package/esm2022/lib/validators/unique-email.validator.mjs +0 -19
- package/lib/collections/subscription/service-subscription.collection.d.ts +0 -23
- package/lib/db/Models/setup-item.d.ts +0 -11
- package/lib/db/Models/subscription/service-product.d.ts +0 -19
- package/lib/db/Models/subscription/service-subscription.d.ts +0 -23
- package/lib/db/Models/user/user.d.ts +0 -59
- package/lib/interceptors/jwt-interceptor.d.ts +0 -41
- package/lib/interfaces/auth-tokens.interface.d.ts +0 -7
- package/lib/interfaces/index.d.ts +0 -14
- package/lib/models/service-subscription/service-product-roles.const.d.ts +0 -5
- package/lib/models/user/user-roles.const.d.ts +0 -7
- package/lib/models/user/user.d.ts +0 -72
- package/lib/pipes/app-currency.pipe.d.ts +0 -11
- package/lib/services/auth/auth.service.d.ts +0 -20
- package/lib/services/auth/index.d.ts +0 -2
- package/lib/services/auth/jwt.service.d.ts +0 -17
- package/lib/services/event/sse.service.d.ts +0 -20
- package/lib/services/http/facebook/facebook.service.d.ts +0 -38
- package/lib/services/http/firm/employee/employee.service.d.ts +0 -20
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +0 -25
- package/lib/services/http/google/google.service.d.ts +0 -43
- package/lib/services/http/holding/holding-import/holding-import.service.d.ts +0 -17
- package/lib/services/http/holding/holding.service.d.ts +0 -19
- package/lib/services/http/rest/rest-old.service.d.ts +0 -117
- package/lib/services/http/rest/rest.service.d.ts +0 -121
- package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +0 -24
- package/lib/services/http/user/user.service.d.ts +0 -43
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts +0 -21
- package/lib/services/index.d.ts +0 -18
- package/lib/tt-core.module.d.ts +0 -13
- /package/{lib/db/Enums → common/src/db/enums/user}/user-roles.enum.d.ts +0 -0
- /package/{lib → common/src}/interceptors/interceptors.module.d.ts +0 -0
- /package/{lib/services/mixpanel → common/src/services}/mixpanel.service.d.ts +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/chart-accounts/chart-accounts-value.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/holding/holding-type-exchange.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/income-source/income_source_type.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/property/tax-exemption.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/tax-return/tax-return-item.json +0 -0
- /package/{lib → src/lib}/collections/account-setup-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/allocation-group.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/allocation-rule.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/asset-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/bank-account.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/bank-transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chart-accounts.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/chat.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/message-document.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/message.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-invite.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-movement.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-portfolio-report.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/collection-dictionary.d.ts +0 -0
- /package/{lib → src/lib}/collections/collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/depreciation-forecast.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/depreciation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/employee.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/exportable.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding-type.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/income-source-forecast.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/income-source.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/loan-payment.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/loan.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-category-movement.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/property-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-share.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-valuation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/tax-exemption.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/depreciation/depreciation-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item-depreciation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item-transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/vehicle-expense/vehicle-expense.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-business-losses.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-invoice-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-invoice.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/service-price.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/service-product.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/subscription-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-review.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/tax-return-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/transaction-allocation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/user-event-setting.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/user-event-type-collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/best-vehicle-logbook.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/vehicle-claim.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/vehicle-logbook.collection.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/address-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-comparison-operator.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-operator.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/annual-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-account-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-account-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-connection-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-popular.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-provider.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-transaction-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-bank-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-interest-type-label.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-interest-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-payout-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-type-label.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-vehicle-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chat-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-work-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-working-holiday-maker.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-invite-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-calculation-percent.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-write-off-amount.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/document-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/file-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/firm-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/holding-type-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/holding-type-exchange-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-forecast-trust-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-holding.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-other.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-sole.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-work.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/phone-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-category-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-sale/tax-exemption-meta-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-sale/tax-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-share-access.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-share-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/registration-invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/salary-forecast-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/service-notification-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/service-notification-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/setup-item-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-depreciation-method.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-statuses.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-tax-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-template-tax-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/spare-document-spare-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-method-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-recurring-interval.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-product-id.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-product-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-subscription-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tank-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-calculation-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-calculation-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-category-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-category-section.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-item.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-review-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-section.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-tax-summary.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-feedback.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-types.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-operation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-source.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-client-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-employee-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-user-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-title.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-work-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-working-holiday-maker.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/vehicle-claim-details-method.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/vehicle-logbook-purpose.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/abstract-model.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/address.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account-balance.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account-property.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-connection.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-transaction-import.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/basiq-job-step.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/basiq-job.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/budget-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/budget.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-heading.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-value.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/annual-client-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/client-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/occupation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/country.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation-capital-project.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/document-folder.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/folder-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/property-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/file.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/accountant/tax-review.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/accountant/ticket.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/chat.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/client-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/client-movement.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/employee-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/firm-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/firm.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/message-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/message.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-import.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-sale.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-type-exchange.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/salary-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/borrowing-expense-loan.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/borrowing-expense.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/loan-payout.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/loan.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/observable-model.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/phone.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/borrowing-report.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-category-movement.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/property-sale.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/tax-exemption.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-share.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-subscription.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-valuation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/service-notification.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/bas-report.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-activity.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-allocation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-loss-offset-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-loss.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-contact.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-depreciation-method.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice-template.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/spare/spare-document-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/spare/spare-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-payment-method.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-payment.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-price.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-subscription-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-calculation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-condition.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-allocation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-base.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/employee-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/registration-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-setting.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-type-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-claim-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-claim.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-logbook.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle.d.ts +0 -0
- /package/{lib → src/lib}/db-static/chart-accounts/chart-accounts-values.d.ts +0 -0
- /package/{lib → src/lib}/forms/abstract.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/address/address.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/address/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-add-manual.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-allocation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-properties.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-accounts-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/budget/budget.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/chart-accounts/chart-accounts.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/client/annual-client-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/client/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/depreciation/depreciation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/document-folder.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/document.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/firm/firm.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/firm/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/form-validations.enum.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-reinvest.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-sale.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-type.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/loan/loan.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/login/login.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/phone/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/phone/phone.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/borrowing-report.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-add.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-category-movement-form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-document.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-edit.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-forecast.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-cost-base.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-cost-sale.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-exemptions.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-share.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-valuation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/register/register-client.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/register/register-firm.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-cgt.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-deductions.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-dividends.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-income-statements.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-income-tests.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-interest.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-medicare.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-offsets.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-other-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-rent.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/bas-report.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/invoice-payment.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business-allocations.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business-loss.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-contact.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-depreciation-method.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice-item.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice-template.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-condition.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/holding/holding-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/sole/sole-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/sole/sole-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/transaction-base.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-expense.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/client-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/password.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/reset-password.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/user-invite.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/user.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-claim-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-claim.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-logbook.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle.form.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/index.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/replace.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/sort-deep.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/sort.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/to-array.d.ts +0 -0
- /package/{lib → src/lib}/functions/clone-deep.d.ts +0 -0
- /package/{lib → src/lib}/functions/create-date.d.ts +0 -0
- /package/{lib → src/lib}/functions/enum-to-list.d.ts +0 -0
- /package/{lib → src/lib}/functions/get-doc-icon.d.ts +0 -0
- /package/{lib → src/lib}/functions/mat-options-functions.d.ts +0 -0
- /package/{lib → src/lib}/functions/mat-sort-options.d.ts +0 -0
- /package/{lib → src/lib}/functions/tax-review-filter-predicate.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/basiq-client-id.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/basiq-token.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/corelogic-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/financial-year-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/preloader.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/rewardful.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/user-switcher-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset-entity-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/chart-data.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/chart-serie.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/document.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/documentable.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/event-listener.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/expense.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/income-source-forecast.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/option.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/tank.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/updatable.interface.d.ts +0 -0
- /package/{lib → src/lib}/messages/index.d.ts +0 -0
- /package/{lib → src/lib}/messages/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/account-setup/account-setup-item.d.ts +0 -0
- /package/{lib → src/lib}/models/account-setup/account-setup-items.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/address/address.d.ts +0 -0
- /package/{lib → src/lib}/models/address/country.d.ts +0 -0
- /package/{lib → src/lib}/models/address/index.d.ts +0 -0
- /package/{lib → src/lib}/models/address/states.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/asset-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/badge/badge-color.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/badge/badge.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/allocation-group.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-property.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-types.const.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-connection.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-external-stats.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction-summary-fields.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-config.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-connection-data.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-connections-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job-response.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job-step.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-token-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-token.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/index.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/type-loan.const.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/borrowing-expense-loan.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/borrowing-expense.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/index.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/budget-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/budget.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chart/chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/chart/chart-serie.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-category.e-collection.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-heading.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-value.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/chat-view-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/chat.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/message-document.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/message.d.ts +0 -0
- /package/{lib → src/lib}/models/client/annual-client-details.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-details.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-movement.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-portfolio-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-portfolio-report.d.ts +0 -0
- /package/{lib → src/lib}/models/client/index.d.ts +0 -0
- /package/{lib → src/lib}/models/color/alphabet-colors.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-capital-project.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group-item.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-groups.const.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-lvp-rate.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/models/dictionary/dictionary.d.ts +0 -0
- /package/{lib → src/lib}/models/dictionary/index.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-api-url-prefix.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-file-types.const.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-folder.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document.d.ts +0 -0
- /package/{lib → src/lib}/models/document/index.d.ts +0 -0
- /package/{lib → src/lib}/models/employee/employee-details.d.ts +0 -0
- /package/{lib → src/lib}/models/employee/employee-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/endpoint/endpoint.d.ts +0 -0
- /package/{lib → src/lib}/models/endpoint/endpoints.const.d.ts +0 -0
- /package/{lib → src/lib}/models/event/app-event-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/event/app-event.d.ts +0 -0
- /package/{lib → src/lib}/models/event/index.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-cell-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-cell.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-data-table.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-format.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/file/file.d.ts +0 -0
- /package/{lib → src/lib}/models/file/icons-file.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/file/index.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/financial-year.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/index.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/month-name-short.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/month-number.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/months.const.d.ts +0 -0
- /package/{lib → src/lib}/models/firm/firm.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-import.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-reinvest.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-type-exchange.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-type.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/models/income-position/income-position.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-type.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/salary-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/sole-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/index.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-max-number-of-payments.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-payment.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-payout.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan.d.ts +0 -0
- /package/{lib → src/lib}/models/notification/index.d.ts +0 -0
- /package/{lib → src/lib}/models/notification/notification.d.ts +0 -0
- /package/{lib → src/lib}/models/pdf/pdf-orientation.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/pdf/pdf-settings.d.ts +0 -0
- /package/{lib → src/lib}/models/phone/phone.d.ts +0 -0
- /package/{lib → src/lib}/models/property/borrowing-report.d.ts +0 -0
- /package/{lib → src/lib}/models/property/calculation-form-item.d.ts +0 -0
- /package/{lib → src/lib}/models/property/calculation-form-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/property/capital-costs-itmes.const.d.ts +0 -0
- /package/{lib → src/lib}/models/property/corelogic-suggestion.d.ts +0 -0
- /package/{lib → src/lib}/models/property/index.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-category-movement.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-category.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-document.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-item.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale-cost-base.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/tax-exemption.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-share.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-subscription.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-valuation.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property.d.ts +0 -0
- /package/{lib → src/lib}/models/registration-invite/registration-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-lvp-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/ato-links.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/sole/sole-business/sole-business-loss-report.d.ts +0 -0
- /package/{lib → src/lib}/models/report/vehicle-expense/vehicle-expense.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/module-url-list.const.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/payment-method-brand.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-payment-method.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-payment.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-price.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-product-icons.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-product.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-promo-code-duration.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-promo-code.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-subscription-item.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-subscription.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/bas-report.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-activity.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-allocation.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-loss-offset-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-loss.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-contact.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-depreciation-method.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-details.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice-item.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice-template.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return-category.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return-item.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-review/tax-review.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/report-item-details.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary-section.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary.d.ts +0 -0
- /package/{lib → src/lib}/models/toast/toast-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/toast/toast.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-condition.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/income-amount-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-allocation.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/user/index.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-initiated-by.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history.d.ts +0 -0
- /package/{lib → src/lib}/models/user/occupation.d.ts +0 -0
- /package/{lib → src/lib}/models/user/user-to-register.d.ts +0 -0
- /package/{lib → src/lib}/models/user/user-work-position.const.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-setting-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-setting.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-type-category.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-type.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-claim-details.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-claim.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-logbook.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle.d.ts +0 -0
- /package/{lib → src/lib}/pipes/index.d.ts +0 -0
- /package/{lib → src/lib}/pipes/safe-url.pipe.d.ts +0 -0
- /package/{lib → src/lib}/services/account-setup/account-setup.service.d.ts +0 -0
- /package/{lib → src/lib}/services/account-setup/index.d.ts +0 -0
- /package/{lib → src/lib}/services/asset/assets.service.d.ts +0 -0
- /package/{lib → src/lib}/services/asset/index.d.ts +0 -0
- /package/{lib → src/lib}/services/bank/bank-account-calculation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/services/data.service.d.ts +0 -0
- /package/{lib → src/lib}/services/event/event-dispatcher.service.d.ts +0 -0
- /package/{lib → src/lib}/services/event/index.d.ts +0 -0
- /package/{lib → src/lib}/services/export/export-formatter.service.d.ts +0 -0
- /package/{lib → src/lib}/services/export/index.d.ts +0 -0
- /package/{lib → src/lib}/services/header-title/header-title.service.d.ts +0 -0
- /package/{lib → src/lib}/services/header-title/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/address/address.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/address/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-account/bank-account.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-account/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/bank-connection.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-transaction/bank-transaction.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq-token.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/budget-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/budget.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/chat.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/message-document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/message.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/capital-gain/annual-client-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/client-coupon.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/occupation/occupation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation-capital-project/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/document-folder-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/document-folder.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-auth-options.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-auth-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-status-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/file/file.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/file/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/client-invite-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/client-invite.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-movement/client-movement.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-movement/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee/employee-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee-invite/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/firm-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/firm.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/portfolio-report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/google/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-import/holding-import-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-sale-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-sale.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-type-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/salary-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/salary-forecast/salary-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/sole-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/sole-forecast/sole-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/borrowing-expense/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/loan.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/pdf/pdf.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/borrowing-report-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/borrowing-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category/property-category.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category-movement/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category-movement/property-category-movement.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/property-document-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/property-document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-sale/property-sale.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-share/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-share/property-share.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/property-valuation-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/property-valuation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/http-method.type.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/rest-method.type.d.ts +0 -0
- /package/{lib → src/lib}/services/http/service-notification/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/service-notification/service-notification.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/setup-item/setup-item.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/bas-report/bas-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/sole-business-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/sole-business.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-contact/sole-contact.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-details/sole-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-payment/service-payment.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-payment-method/service-payment-method.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-price/service-price.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-product/service-product.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-subscription/subscription-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-subscription/subscription.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-summary/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-summary/tax-summary.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/financial-year/financial-year.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-event-setting/user-event-setting.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-event-type/user-event-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/users-invite/users-invite.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-claim-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/youtube-video.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/youtube.service.d.ts +0 -0
- /package/{lib → src/lib}/services/intercom/index.d.ts +0 -0
- /package/{lib → src/lib}/services/intercom/intercom.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/chart-accounts/chart-accounts-value.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/holding/holding-type-exchange.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/income-source/income-source-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/index.d.ts +0 -0
- /package/{lib → src/lib}/services/json/tax-exemption/tax-exemption.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/tax-return/tax-return-item.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/index.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/js-pdf.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-dom-element/file-settings.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/file-settings.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/preloader/index.d.ts +0 -0
- /package/{lib → src/lib}/services/preloader/preloader.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/corelogic/corelogic.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/corelogic/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/equity-position-chart/equity-position-chart.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/equity-position-chart/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/property-calculation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/property-calculation/property-calculation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/report/property/property-transaction-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/toast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/toast/toast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/user/index.d.ts +0 -0
- /package/{lib → src/lib}/services/user/user-switcher.service.d.ts +0 -0
- /package/{lib → src/lib}/services/xlsx/index.d.ts +0 -0
- /package/{lib → src/lib}/services/xlsx/xlsx.service.d.ts +0 -0
- /package/{lib → src/lib}/validators/address-corelogic.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/at-least-one-enabled.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/at-least-one.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/autocomplete.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/conditional.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/current-fin-year.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/date-range.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/fields-sum.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/file.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/greater-than.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/group.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/index.d.ts +0 -0
- /package/{lib → src/lib}/validators/min-date/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/validators/min-date/min-date.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/password-match.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/password.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/phone-number.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/required-length.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/transactions-meta-fields.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/unique-email.validator.d.ts +0 -0
@@ -0,0 +1,56 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
export class AssetSaleCollection extends Collection {
|
3
|
+
get grossCapitalProfit() {
|
4
|
+
return this.filter((sale) => sale.grossCapitalGain > 0)
|
5
|
+
.sumBy('grossCapitalGain');
|
6
|
+
}
|
7
|
+
get fullExemptionSales() {
|
8
|
+
return this.filter((sale) => sale.grossCapitalGain != 0 && sale.netCapitalGain == 0);
|
9
|
+
}
|
10
|
+
get fullExemptionGrossCapitalProfit() {
|
11
|
+
return this.filter((sale) => sale.grossCapitalGain > 0 && sale.netCapitalGain == 0).grossCapitalProfit;
|
12
|
+
}
|
13
|
+
get halfExemptionGrossCapitalProfit() {
|
14
|
+
return this.filter((sale) => sale.netCapitalGain > 0 && sale.netCapitalGain !== sale.grossCapitalGain).grossCapitalProfit;
|
15
|
+
}
|
16
|
+
get noExemptionGrossCapitalProfit() {
|
17
|
+
return this.filter((sale) => sale.netCapitalGain > 0 && sale.netCapitalGain === sale.grossCapitalGain).grossCapitalProfit;
|
18
|
+
}
|
19
|
+
get taxableGrossCapitalProfit() {
|
20
|
+
return this.halfExemptionGrossCapitalProfit + this.noExemptionGrossCapitalProfit;
|
21
|
+
}
|
22
|
+
get currentYearCapitalLoss() {
|
23
|
+
return Math.abs(this.filterByFinancialYear('date').filter((sale) => sale.netCapitalGain < 0).sumBy('grossCapitalGain'));
|
24
|
+
}
|
25
|
+
calculateForwardCapitalLoss(priorCapitalLoss) {
|
26
|
+
// gross capital profit
|
27
|
+
const taxableGrossCapitalProfit = this.taxableGrossCapitalProfit;
|
28
|
+
// gross capital loss
|
29
|
+
const currentYearCapitalLoss = this.currentYearCapitalLoss;
|
30
|
+
const currentYearCapitalLossApplied = Math.min(taxableGrossCapitalProfit, currentYearCapitalLoss);
|
31
|
+
const priorYearCapitalLossApplied = Math.min(priorCapitalLoss, taxableGrossCapitalProfit - currentYearCapitalLossApplied);
|
32
|
+
const capitalLossApplied = currentYearCapitalLossApplied + priorYearCapitalLossApplied;
|
33
|
+
return this.currentYearCapitalLoss + priorCapitalLoss - capitalLossApplied;
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* NET CAPITAL GAIN/(LOSS) AFTER CONCESSIONS & DISCOUNTS
|
37
|
+
*/
|
38
|
+
calculateNetCapitalGain(priorCapitalLoss) {
|
39
|
+
// gross capital profit
|
40
|
+
const noExemptionGrossCapitalProfit = this.noExemptionGrossCapitalProfit;
|
41
|
+
const taxableGrossCapitalProfit = this.taxableGrossCapitalProfit;
|
42
|
+
// gross capital loss
|
43
|
+
const currentYearCapitalLoss = this.currentYearCapitalLoss;
|
44
|
+
const currentYearCapitalLossApplied = Math.min(taxableGrossCapitalProfit, currentYearCapitalLoss);
|
45
|
+
const priorYearCapitalLossApplied = Math.min(priorCapitalLoss, taxableGrossCapitalProfit - currentYearCapitalLossApplied);
|
46
|
+
const capitalLossApplied = currentYearCapitalLossApplied + priorYearCapitalLossApplied;
|
47
|
+
// grossCapitalProfit after loss
|
48
|
+
const noExemptionCapitalGain = Math.max(noExemptionGrossCapitalProfit - capitalLossApplied, 0);
|
49
|
+
const halfExemptionCapitalGain = Math.max(this.halfExemptionGrossCapitalProfit - (capitalLossApplied - noExemptionGrossCapitalProfit), 0);
|
50
|
+
const capitalGain = noExemptionCapitalGain + halfExemptionCapitalGain;
|
51
|
+
// capitalGain after exemption
|
52
|
+
const cgtDiscount = halfExemptionCapitalGain / 2;
|
53
|
+
return noExemptionCapitalGain + cgtDiscount - currentYearCapitalLoss + currentYearCapitalLossApplied;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXQtc2FsZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2Fzc2V0LXNhbGUuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sY0FBYyxDQUFDO0FBR3hDLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxVQUFxQjtJQUM1RCxJQUFJLGtCQUFrQjtRQUNwQixPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxnQkFBZ0IsR0FBRyxDQUFDLENBQUM7YUFDcEQsS0FBSyxDQUFDLGtCQUFrQixDQUFDLENBQUM7SUFDL0IsQ0FBQztJQUVELElBQUksa0JBQWtCO1FBQ3BCLE9BQU8sSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDLElBQUksRUFBRSxFQUFFLENBQUMsSUFBSSxDQUFDLGdCQUFnQixJQUFJLENBQUMsSUFBSSxJQUFJLENBQUMsY0FBYyxJQUFJLENBQUMsQ0FBQyxDQUFDO0lBQ3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V4ZW1wdGlvbkdyb3NzQ2FwaXRhbFByb2ZpdCAtIGNhcGl0YWxMb3NzQXBwbGllZCwgMCk7XG4gICAgY29uc3QgaGFsZkV4ZW1wdGlvbkNhcGl0YWxHYWluID0gTWF0aC5tYXgodGhpcy5oYWxmRXhlbXB0aW9uR3Jvc3NDYXBpdGFsUHJvZml0IC0gKGNhcGl0YWxMb3NzQXBwbGllZCAtIG5vRXhlbXB0aW9uR3Jvc3NDYXBpdGFsUHJvZml0KSwgMCk7XG4gICAgY29uc3QgY2FwaXRhbEdhaW4gPSBub0V4ZW1wdGlvbkNhcGl0YWxHYWluICsgaGFsZkV4ZW1wdGlvbkNhcGl0YWxHYWluO1xuICAgIC8vIGNhcGl0YWxHYWluIGFmdGVyIGV4ZW1wdGlvblxuICAgIGNvbnN0IGNndERpc2NvdW50ID0gaGFsZkV4ZW1wdGlvbkNhcGl0YWxHYWluIC8gMjtcblxuICAgIHJldHVybiBub0V4ZW1wdGlvbkNhcGl0YWxHYWluICsgY2d0RGlzY291bnQgLSBjdXJyZW50WWVhckNhcGl0YWxMb3NzICsgY3VycmVudFllYXJDYXBpdGFsTG9zc0FwcGxpZWQ7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,153 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
import { BankAccountTypeEnum } from '../db/Enums';
|
3
|
+
import { TYPE_LOAN } from '../models';
|
4
|
+
import flatten from 'lodash/flatten';
|
5
|
+
import uniqBy from 'lodash/uniqBy';
|
6
|
+
import uniq from 'lodash/uniq';
|
7
|
+
import concat from 'lodash/concat';
|
8
|
+
import { CollectionDictionary } from './collection-dictionary';
|
9
|
+
import { LoanCollection } from './loan';
|
10
|
+
/**
|
11
|
+
* Collection of bank accounts.
|
12
|
+
*/
|
13
|
+
export class BankAccountCollection extends Collection {
|
14
|
+
/**
|
15
|
+
* get list of bank accounts with passed types
|
16
|
+
*/
|
17
|
+
getByType(types, isExclude = false) {
|
18
|
+
// get types always as array (if only one passed)
|
19
|
+
const typesArray = concat(types);
|
20
|
+
return this.items.filter((bankAccount) => {
|
21
|
+
if (isExclude) {
|
22
|
+
return !typesArray.includes(bankAccount.type);
|
23
|
+
}
|
24
|
+
return typesArray.includes(bankAccount.type);
|
25
|
+
});
|
26
|
+
}
|
27
|
+
/**
|
28
|
+
* get amount of current loans
|
29
|
+
*/
|
30
|
+
getCurrentLoanAmount() {
|
31
|
+
return this.getByType(TYPE_LOAN)
|
32
|
+
.reduce((sum, bankAccount) => sum += bankAccount.currentBalance, 0);
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* get collection filtered by property id
|
36
|
+
*/
|
37
|
+
getByPropertyId(id) {
|
38
|
+
return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.bankAccountProperties.find((bankAccountProperty) => bankAccountProperty.property.id === id)));
|
39
|
+
}
|
40
|
+
groupByProperty() {
|
41
|
+
const dictionary = new CollectionDictionary(new BankAccountCollection());
|
42
|
+
this.items.forEach((bankAccount) => {
|
43
|
+
bankAccount.bankAccountProperties.forEach((bankAccountProperty) => {
|
44
|
+
dictionary.addTo(bankAccountProperty.property.id, bankAccount);
|
45
|
+
});
|
46
|
+
});
|
47
|
+
return dictionary;
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* get collection filtered by properties ids
|
51
|
+
*/
|
52
|
+
getByPropertiesIds(ids) {
|
53
|
+
return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.bankAccountProperties.find((bankAccountProperty) => ids.includes(bankAccountProperty.property.id))));
|
54
|
+
}
|
55
|
+
/**
|
56
|
+
* @TODO feature functionality allow to work with shared accounts
|
57
|
+
* get collection of active bank accounts
|
58
|
+
*/
|
59
|
+
getActive() {
|
60
|
+
return this.getOwn().filter((bankAccount) => bankAccount.isActive());
|
61
|
+
}
|
62
|
+
/**
|
63
|
+
* Get collection of loan bank accounts
|
64
|
+
*/
|
65
|
+
getLoanAccounts() {
|
66
|
+
return new BankAccountCollection(this.getByType(TYPE_LOAN));
|
67
|
+
}
|
68
|
+
get loans() {
|
69
|
+
return new LoanCollection(this.filterBy('type', BankAccountTypeEnum.LOAN).map((bankAccount) => bankAccount.loan));
|
70
|
+
}
|
71
|
+
getSavingsAccounts() {
|
72
|
+
return new BankAccountCollection(this.getByType(TYPE_LOAN, true));
|
73
|
+
}
|
74
|
+
getOpeningBalance() {
|
75
|
+
return this.items.reduce((sum, bankAccount) => sum + bankAccount.getOpeningBalance(), 0);
|
76
|
+
}
|
77
|
+
get currentBalance() {
|
78
|
+
return this.sumBy('currentBalance');
|
79
|
+
}
|
80
|
+
get bankShortNames() {
|
81
|
+
return uniq(this.map((bankAccount) => bankAccount.bank.shortName)).join(', ');
|
82
|
+
}
|
83
|
+
/**
|
84
|
+
* Get Collection of bank accounts with property tank type
|
85
|
+
*/
|
86
|
+
getPropertyBankAccounts() {
|
87
|
+
return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.isPropertyTank()));
|
88
|
+
}
|
89
|
+
/**
|
90
|
+
* Get Collection of bank accounts with work tank type
|
91
|
+
*/
|
92
|
+
getWorkBankAccounts() {
|
93
|
+
return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.isWorkTank()));
|
94
|
+
}
|
95
|
+
/**
|
96
|
+
* Get Collection of bank accounts by tank type
|
97
|
+
*/
|
98
|
+
getByTankType(tankType) {
|
99
|
+
return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.tankType === tankType));
|
100
|
+
}
|
101
|
+
/**
|
102
|
+
* Get list of all bank account properties
|
103
|
+
*/
|
104
|
+
getBankAccountPropertiesList() {
|
105
|
+
return flatten(this.items.map((bankAccount) => bankAccount.bankAccountProperties));
|
106
|
+
}
|
107
|
+
/**
|
108
|
+
* Get lis of unique properties from all bank accounts properties
|
109
|
+
*/
|
110
|
+
getProperties() {
|
111
|
+
return uniqBy(this.getBankAccountPropertiesList().map((bankAccountProperty) => bankAccountProperty.property), 'id');
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* @TODO Alex not efficient, filter bankAccounts by property first
|
115
|
+
*/
|
116
|
+
getPropertyBalanceAmount(propertyId) {
|
117
|
+
return this.items.reduce((sum, bankAccount) => sum + bankAccount.getPropertyBalanceAmount(propertyId), 0);
|
118
|
+
}
|
119
|
+
get propertiesBalanceAmount() {
|
120
|
+
let balanceAmount = 0;
|
121
|
+
this.items.forEach((bankAccount) => {
|
122
|
+
bankAccount.bankAccountProperties.forEach((bankAccountProperty) => {
|
123
|
+
balanceAmount += Math.abs(bankAccount.getPropertyBalanceAmount(bankAccountProperty.property.id));
|
124
|
+
});
|
125
|
+
});
|
126
|
+
return balanceAmount;
|
127
|
+
}
|
128
|
+
get propertiesMonthlyRepaymentAmount() {
|
129
|
+
let repaymentAmount = 0;
|
130
|
+
this.getLoanAccounts().items.forEach((bankAccount) => {
|
131
|
+
bankAccount.bankAccountProperties.forEach((bankAccountProperty) => {
|
132
|
+
repaymentAmount += bankAccount.getMonthlyRepaymentAmount(bankAccountProperty.property.id);
|
133
|
+
});
|
134
|
+
});
|
135
|
+
return repaymentAmount;
|
136
|
+
}
|
137
|
+
getPropertyMonthlyRepaymentAmount(propertyId) {
|
138
|
+
return this.getLoanAccounts().reduce((sum, bankAccount) => sum + bankAccount.getMonthlyRepaymentAmount(propertyId), 0);
|
139
|
+
}
|
140
|
+
getLVR(property) {
|
141
|
+
return this.getPropertyBalanceAmount(property.id) / property.currentYearForecast.marketValue;
|
142
|
+
}
|
143
|
+
/**
|
144
|
+
* @TODO Alex/Vik: maybe we should get it from jwtToken or think about some localStorageService?
|
145
|
+
*/
|
146
|
+
getOwn() {
|
147
|
+
return this.filter((bankAccount) => bankAccount.isOwner(+localStorage.getItem('userId')));
|
148
|
+
}
|
149
|
+
getActiveLoanAccountsByProperties(ids) {
|
150
|
+
return this.getActive().getLoanAccounts().getByPropertiesIds(ids);
|
151
|
+
}
|
152
|
+
}
|
153
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1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TtcbiAgfVxuXG4gIC8qKlxuICAgKiBAVE9ETyBBbGV4L1ZpazogbWF5YmUgd2Ugc2hvdWxkIGdldCBpdCBmcm9tIGp3dFRva2VuIG9yIHRoaW5rIGFib3V0IHNvbWUgbG9jYWxTdG9yYWdlU2VydmljZT9cbiAgICovXG4gIGdldE93bigpOiB0aGlzIHtcbiAgICByZXR1cm4gdGhpcy5maWx0ZXIoKGJhbmtBY2NvdW50OiBCYW5rQWNjb3VudCkgPT4gYmFua0FjY291bnQuaXNPd25lcigrbG9jYWxTdG9yYWdlLmdldEl0ZW0oJ3VzZXJJZCcpKSk7XG4gIH1cblxuICBnZXRBY3RpdmVMb2FuQWNjb3VudHNCeVByb3BlcnRpZXMoaWRzOiBudW1iZXJbXSk6IEJhbmtBY2NvdW50Q29sbGVjdGlvbiB7XG4gICAgcmV0dXJuIHRoaXMuZ2V0QWN0aXZlKCkuZ2V0TG9hbkFjY291bnRzKCkuZ2V0QnlQcm9wZXJ0aWVzSWRzKGlkcyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,131 @@
|
|
1
|
+
import { TransactionOperationEnum } from '../db/Enums/transaction-operation.enum';
|
2
|
+
import { Collection } from './collection';
|
3
|
+
/**
|
4
|
+
* Maximal delay between transfer transactions
|
5
|
+
*/
|
6
|
+
const TRANSACTION_TRANSFER_DELAY = 96 * 3600 * 1000;
|
7
|
+
/**
|
8
|
+
* Collection of bank transactions.
|
9
|
+
* IMPORTANT: Create this collection based on bank transactions from TransactionAllocationService
|
10
|
+
* @TODO find way to accept interface with allocation instead of bankTransaction to prevent wrong usage
|
11
|
+
* because all amounts calculates with allocated amounts but not from bank transactions amounts.
|
12
|
+
*/
|
13
|
+
export class BankTransactionCollection extends Collection {
|
14
|
+
getAmount() {
|
15
|
+
return this.sumBy('amount');
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Difference between total bank transactions amount and sum of allocations for passed bank transactions
|
19
|
+
*/
|
20
|
+
getUnallocatedAmount(allocations) {
|
21
|
+
return this.getAmount() - allocations.getByBankTransactionsIds(this.getIds()).amount;
|
22
|
+
}
|
23
|
+
getAllocatedAmount(allocations) {
|
24
|
+
return allocations.getByBankTransactionsIds(this.getIds()).amount;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* get date of the last transaction
|
28
|
+
*/
|
29
|
+
getLastTransactionDate() {
|
30
|
+
return new Date(Math.max.apply(Math, this.items.map((bankTransaction) => bankTransaction.date)));
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* get list of credit transactions
|
34
|
+
*/
|
35
|
+
get creditTransactions() {
|
36
|
+
return new BankTransactionCollection(this.items.filter((bankTransaction) => bankTransaction.isCredit()));
|
37
|
+
}
|
38
|
+
/**
|
39
|
+
* get list of debit transactions
|
40
|
+
*/
|
41
|
+
get debitTransactions() {
|
42
|
+
return new BankTransactionCollection(this.items.filter((bankTransaction) => bankTransaction.isDebit()));
|
43
|
+
}
|
44
|
+
/**
|
45
|
+
* get difference between debit and credit transactions amounts
|
46
|
+
*/
|
47
|
+
get balanceAmount() {
|
48
|
+
return this.items.reduce((sum, bankTransaction) => sum + bankTransaction.balanceAmount, 0);
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* get list of transactions for passed month
|
52
|
+
* @param monthIndex Month number from 0 to 11
|
53
|
+
*/
|
54
|
+
getTransactionsByMonth(monthIndex) {
|
55
|
+
return new BankTransactionCollection(this.items.filter((bankTransaction) => bankTransaction.date.getMonth() === monthIndex));
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
* get list of transactions by provided bank accounts
|
59
|
+
* @param bankAccounts by which transactions should be returned
|
60
|
+
*/
|
61
|
+
getByBankAccounts(bankAccounts) {
|
62
|
+
const bankAccountIds = bankAccounts.map((bankAccount) => bankAccount.id);
|
63
|
+
return this.items.filter((bankTransaction) => bankAccountIds.includes(bankTransaction.bankAccount.id));
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* get list of transactions by provided ids of bank accounts
|
67
|
+
* @param ids of bank accounts
|
68
|
+
*/
|
69
|
+
getByBankAccountsIds(ids) {
|
70
|
+
return new BankTransactionCollection(this.items.filter((bankTransaction) => ids.includes(bankTransaction.bankAccount.id)));
|
71
|
+
}
|
72
|
+
/**
|
73
|
+
* Find Bank Transaction available for transfer
|
74
|
+
*/
|
75
|
+
findTransfer(bankTransaction) {
|
76
|
+
return this.items.find((item) => item.amount + bankTransaction.amount === 0 &&
|
77
|
+
Math.abs(bankTransaction.date.getTime() - item.date.getTime()) < TRANSACTION_TRANSFER_DELAY);
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* Group bank transactions by transaction id.
|
81
|
+
* Each group is bank transaction collection and contains bank transactions related to transactions via allocations
|
82
|
+
*/
|
83
|
+
groupByTransaction(allocations) {
|
84
|
+
// Group allocations by transaction id
|
85
|
+
const allocationsByTransactions = allocations.groupBy('transaction.id');
|
86
|
+
// Init an empty dictionary we will fill below
|
87
|
+
const bankTransactionsByTransactions = new BankTransactionCollection([]).groupBy();
|
88
|
+
// Fill dictionary with the same keys as at allocationsByTransactions
|
89
|
+
allocationsByTransactions.keys.forEach((key) => {
|
90
|
+
bankTransactionsByTransactions.add(key, this.getByAllocations(allocationsByTransactions.get(key)));
|
91
|
+
});
|
92
|
+
return bankTransactionsByTransactions;
|
93
|
+
}
|
94
|
+
/**
|
95
|
+
* Get collection of bank transactions related with passed allocations
|
96
|
+
*/
|
97
|
+
getByAllocations(allocations) {
|
98
|
+
return new BankTransactionCollection(this.items.filter((bankTransaction) => allocations.hasBankTransaction(bankTransaction)));
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* Set allocate operation for bank transactions with amounts equal to salary
|
102
|
+
*/
|
103
|
+
preselectAllocateOperationForSalary(salaryIncomeSources) {
|
104
|
+
// incomeSource.salaryForecasts[0] because each income source has only one forecast for current fin year
|
105
|
+
const salaryAmounts = salaryIncomeSources.map((incomeSource) => incomeSource.salaryForecasts[0]?.netPay || 0);
|
106
|
+
this.items.forEach((bankTransaction) => {
|
107
|
+
if (salaryAmounts.includes(bankTransaction.amount)) {
|
108
|
+
bankTransaction.operation = TransactionOperationEnum.ALLOCATE;
|
109
|
+
}
|
110
|
+
});
|
111
|
+
}
|
112
|
+
getAllocated(allocations) {
|
113
|
+
return this.filter((bankTransaction) => bankTransaction.isAllocated(allocations));
|
114
|
+
}
|
115
|
+
getUnallocated(allocations) {
|
116
|
+
return this.filter((bankTransaction) => !bankTransaction.isAllocated(allocations));
|
117
|
+
}
|
118
|
+
/**
|
119
|
+
* Allocated sum of credit transactions
|
120
|
+
*/
|
121
|
+
getCreditAmount(allocations) {
|
122
|
+
return this.creditTransactions.getAllocatedAmount(allocations);
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* Allocated sum of debit transactions
|
126
|
+
*/
|
127
|
+
getDebitAmount(allocations) {
|
128
|
+
return this.debitTransactions.getAllocatedAmount(allocations);
|
129
|
+
}
|
130
|
+
}
|
131
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay10cmFuc2FjdGlvbi5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2JhbmstdHJhbnNhY3Rpb24uY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUVsRixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBSTFDOztHQUVHO0FBQ0gsTUFBTSwwQkFBMEIsR0FBVyxFQUFFLEdBQUcsSUFBSSxHQUFHLElBQUksQ0FBQztBQUU1RDs7Ozs7R0FLRztBQUNILE1BQU0sT0FBTyx5QkFBMEIsU0FBUSxVQUEyQjtJQUN4RSxTQUFTO1FBQ1AsT0FB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KiBBbGxvY2F0ZWQgc3VtIG9mIGNyZWRpdCB0cmFuc2FjdGlvbnNcbiAgICovXG4gIGdldENyZWRpdEFtb3VudChhbGxvY2F0aW9uczogVHJhbnNhY3Rpb25BbGxvY2F0aW9uQ29sbGVjdGlvbik6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMuY3JlZGl0VHJhbnNhY3Rpb25zLmdldEFsbG9jYXRlZEFtb3VudChhbGxvY2F0aW9ucyk7XG4gIH1cblxuICAvKipcbiAgICogQWxsb2NhdGVkIHN1bSBvZiBkZWJpdCB0cmFuc2FjdGlvbnNcbiAgICovXG4gIGdldERlYml0QW1vdW50KGFsbG9jYXRpb25zOiBUcmFuc2FjdGlvbkFsbG9jYXRpb25Db2xsZWN0aW9uKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5kZWJpdFRyYW5zYWN0aW9ucy5nZXRBbGxvY2F0ZWRBbW91bnQoYWxsb2NhdGlvbnMpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
import { FinancialYear } from '../models';
|
3
|
+
import { ChartAccountsListEnum } from '../db/Enums';
|
4
|
+
export class ChartAccountsCollection extends Collection {
|
5
|
+
constructor(items = []) {
|
6
|
+
super(items);
|
7
|
+
// Sort personal chart accounts by name (TT-1950)
|
8
|
+
// @TODO Alex: implement general initial sorting solution in parent class
|
9
|
+
this.items.sort((a, b) => {
|
10
|
+
if (a.isPersonal() && b.isPersonal()) {
|
11
|
+
return a.name > b.name ? 1 : -1;
|
12
|
+
}
|
13
|
+
return 0;
|
14
|
+
});
|
15
|
+
}
|
16
|
+
getManual() {
|
17
|
+
return this.filter(chartAccounts => !!chartAccounts.user);
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* Get 'Kms travelled for work' related chart account value
|
21
|
+
*/
|
22
|
+
getVehicleKmsRate(year = new FinancialYear().year) {
|
23
|
+
return this.findBy('id', ChartAccountsListEnum.KLMS_TR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aXNQZXJzb25hbCgpKSB7XG4gICAgICAgIHJldHVybiBhLm5hbWUgPiBiLm5hbWUgPyAxIDogLTE7XG4gICAgICB9XG5cbiAgICAgIHJldHVybiAwO1xuICAgIH0pO1xuICB9XG5cbiAgZ2V0TWFudWFsKCk6IHRoaXMge1xuICAgIHJldHVybiB0aGlzLmZpbHRlcihjaGFydEFjY291bnRzID0+ICEhY2hhcnRBY2NvdW50cy51c2VyKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBHZXQgJ0ttcyB0cmF2ZWxsZWQgZm9yIHdvcmsnIHJlbGF0ZWQgY2hhcnQgYWNjb3VudCB2YWx1ZVxuICAgKi9cbiAgZ2V0VmVoaWNsZUttc1JhdGUoeWVhcjogbnVtYmVyID0gbmV3IEZpbmFuY2lhbFllYXIoKS55ZWFyKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5maW5kQnkoJ2lkJywgQ2hhcnRBY2NvdW50c0xpc3RFbnVtLktMTVNfVFJBVkVMTEVEX0ZPUl9XT1JLKS5nZXRWYWx1ZUJ5WWVhcih5ZWFyKS52YWx1ZVxuICB9XG59XG4iXX0=
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { Dictionary } from '../../models';
|
3
|
+
import { MessageCollection } from './message.collection';
|
4
|
+
import uniqBy from 'lodash/uniqBy';
|
5
|
+
import differenceBy from 'lodash/differenceBy';
|
6
|
+
import { ChatStatusEnum } from '../../db/Enums/chat-status.enum';
|
7
|
+
export class ChatCollection extends Collection {
|
8
|
+
/**
|
9
|
+
* Sort chats by last messages (newest first) + empty chats in the end
|
10
|
+
*/
|
11
|
+
getSortedByNewest(messages) {
|
12
|
+
const chatsById = new Dictionary(this.toArray());
|
13
|
+
// get chats array sorted from newest to oldest
|
14
|
+
const chats = uniqBy(new MessageCollection(messages)
|
15
|
+
.filterBy('chat.id', this.getIds())
|
16
|
+
.sortBy('createdAt')
|
17
|
+
.toArray()
|
18
|
+
.map((message) => chatsById.get(message.chat.id)), 'id');
|
19
|
+
const emptyChats = differenceBy(this.toArray(), chats, 'id');
|
20
|
+
return this.create([...chats, ...emptyChats]);
|
21
|
+
}
|
22
|
+
getActive() {
|
23
|
+
return this.filterBy('status', ChatStatusEnum.ACTIVE);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2NoYXQvY2hhdC5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFRLFVBQVUsRUFBVyxNQUFNLGNBQWMsQ0FBQztBQUN6RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RCxPQUFPLE1BQU0sTUFBTSxlQUFlLENBQUM7QUFDbkMsT0FBTyxZQUFZLE1BQU0scUJBQXFCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBRWpFLE1BQU0sT0FBTyxjQUFlLFNBQVEsVUFBZ0I7SUFDbEQ7O09BRUc7SUFDSCxpQkFBaUIsQ0FBQyxRQUFtQjtRQUNuQyxNQUFNLFNBQVMsR0FBcUIsSUFBSSxVQUFVLENBQU8sSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFDLENBQUM7UUFFekUsK0NBQStDO1FBQy9DLE1BQU0sS0FBSyxHQUFXLE1BQU0sQ0FDMUIsSUFBSSxpQkFBaUIsQ0FBQyxRQUFRLENBQUM7YUFDNUIsUUFBUSxDQUFDLFN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ElWRSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './chat.collection';
|
2
|
+
export * from './message-document.collection';
|
3
|
+
export * from './message.collection';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvY2hhdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyxzQkFBc0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2hhdC5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vbWVzc2FnZS1kb2N1bWVudC5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vbWVzc2FnZS5jb2xsZWN0aW9uJztcbiJdfQ==
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
/**
|
3
|
+
* Collection of MessageDocument instances
|
4
|
+
*/
|
5
|
+
export class MessageDocumentCollection extends Collection {
|
6
|
+
/**
|
7
|
+
* get list of documents which are not attached to any message
|
8
|
+
*/
|
9
|
+
getUnattached() {
|
10
|
+
return new MessageDocumentCollection(this.items.filter((doc) => !doc.message));
|
11
|
+
}
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS1kb2N1bWVudC5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbG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biA9PiAhZG9jLm1lc3NhZ2UpXG4gICAgKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import uniqBy from 'lodash/uniqBy';
|
3
|
+
export class MessageCollection extends Collection {
|
4
|
+
getFirstUnreadMessage(user) {
|
5
|
+
return this.items.find((message) => !message.isRead() && message.isFromEmployee() !== user.isEmployee());
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* Get List of unread chats
|
9
|
+
*/
|
10
|
+
getUnread() {
|
11
|
+
return this.items.filter((message) => !message.readAt);
|
12
|
+
}
|
13
|
+
getFromActiveChats() {
|
14
|
+
return this.filter((message) => message.chat.isActive());
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* Get amount of chats that contains unread messages
|
18
|
+
*/
|
19
|
+
getUnreadChatsAmount(isFromEmployee = false) {
|
20
|
+
// filtered messages for client/employee
|
21
|
+
const filteredMessages = this.filter((message) => isFromEmployee ? message.isFromEmployee() : !message.isFromEmployee());
|
22
|
+
return uniqBy(filteredMessages.getFromActiveChats().getUnread(), 'chat.id').length;
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* Check if chat has unread chats
|
26
|
+
*/
|
27
|
+
hasUnread() {
|
28
|
+
return !!this.getUnread().length;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2NoYXQvbWVzc2FnZS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxNQUFNLE1BQU0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gICAqIEdldCBhbW91bnQgb2YgY2hhdHMgdGhhdCBjb250YWlucyB1bnJlYWQgbWVzc2FnZXNcbiAgICovXG4gIGdldFVucmVhZENoYXRzQW1vdW50KGlzRnJvbUVtcGxveWVlID0gZmFsc2UpOiBudW1iZXIge1xuICAgIC8vIGZpbHRlcmVkIG1lc3NhZ2VzIGZvciBjbGllbnQvZW1wbG95ZWVcbiAgICBjb25zdCBmaWx0ZXJlZE1lc3NhZ2VzOiB0aGlzID0gdGhpcy5maWx0ZXIoKG1lc3NhZ2U6IE1lc3NhZ2UpID0+IGlzRnJvbUVtcGxveWVlID8gbWVzc2FnZS5pc0Zyb21FbXBsb3llZSgpIDogIW1lc3NhZ2UuaXNGcm9tRW1wbG95ZWUoKSk7XG5cbiAgICByZXR1cm4gdW5pcUJ5KGZpbHRlcmVkTWVzc2FnZXMuZ2V0RnJvbUFjdGl2ZUNoYXRzKCkuZ2V0VW5yZWFkKCksICdjaGF0LmlkJykubGVuZ3RoO1xuICB9XG5cbiAgLyoqXG4gICAqIENoZWNrIGlmIGNoYXQgaGFzIHVucmVhZCBjaGF0c1xuICAgKi9cbiAgaGFzVW5yZWFkKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhIXRoaXMuZ2V0VW5yZWFkKCkubGVuZ3RoO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
export class ClientInviteCollection extends Collection {
|
3
|
+
getPending() {
|
4
|
+
return this.filter((invite) => invite.isPending());
|
5
|
+
}
|
6
|
+
}
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LWludml0ZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2NsaWVudC1pbnZpdGUuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRzFDLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxVQUF3QjtJQUNsRSxVQUFVO1FBQ1IsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsTUFBb0IsRUFBRSxFQUFFLENBQUMsTUFBTSxDQUFDLFNBQVMsRUFBRSxDQUFDLENBQUM7SUFDbkUsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29sbGVjdGlvbiB9IGZyb20gJy4vY29sbGVjdGlvbic7XG5pbXBvcnQgeyBDbGllbnRJbnZpdGUgfSBmcm9tICcuLi9tb2RlbHMvY2xpZW50L2NsaWVudC1pbnZpdGUnO1xuXG5leHBvcnQgY2xhc3MgQ2xpZW50SW52aXRlQ29sbGVjdGlvbiBleHRlbmRzIENvbGxlY3Rpb248Q2xpZW50SW52aXRlPiB7XG4gIGdldFBlbmRpbmcoKTogdGhpcyB7XG4gICAgcmV0dXJuIHRoaXMuZmlsdGVyKChpbnZpdGU6IENsaWVudEludml0ZSkgPT4gaW52aXRlLmlzUGVuZGluZygpKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
import { SERVICE_PRODUCT_ROLES } from '../models';
|
3
|
+
import { EmployeeCollection } from './employee.collection';
|
4
|
+
import { FirmTypeEnum } from '../db/Enums/firm-type.enum';
|
5
|
+
import { CollectionDictionary } from './collection-dictionary';
|
6
|
+
import { ServiceSubscriptionCollection } from './subscription';
|
7
|
+
/**
|
8
|
+
* Collection of tax review
|
9
|
+
*/
|
10
|
+
export class ClientMovementCollection extends Collection {
|
11
|
+
get active() {
|
12
|
+
return new ClientMovementCollection(this.items.filter((clientMovement) => !clientMovement.dateTo));
|
13
|
+
}
|
14
|
+
get employees() {
|
15
|
+
return new EmployeeCollection(this.items.map((clientMovement) => clientMovement.employee));
|
16
|
+
}
|
17
|
+
get clients() {
|
18
|
+
return new EmployeeCollection(this.items.map((clientMovement) => clientMovement.client));
|
19
|
+
}
|
20
|
+
get accountant() {
|
21
|
+
return this.items.filter((clientMovement) => clientMovement.firm.type === FirmTypeEnum.ACCOUNTANT)[0] ?? null;
|
22
|
+
}
|
23
|
+
get advisors() {
|
24
|
+
return new ClientMovementCollection(this.items.filter((clientMovement) => clientMovement.firm.type === FirmTypeEnum.ADVISOR));
|
25
|
+
}
|
26
|
+
getByEmployeeId(id) {
|
27
|
+
return new ClientMovementCollection(this.items.filter((clientMovement) => clientMovement.employee.id === id));
|
28
|
+
}
|
29
|
+
getByFirmType(firmType) {
|
30
|
+
return new ClientMovementCollection(this.items.filter((clientMovement) => clientMovement.firm.type === firmType));
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* group clients (client movements) by tanks
|
34
|
+
*/
|
35
|
+
groupByRoles() {
|
36
|
+
const dictionary = new CollectionDictionary(new ClientMovementCollection());
|
37
|
+
SERVICE_PRODUCT_ROLES.forEach((role) => {
|
38
|
+
const movements = this.filter(movement => {
|
39
|
+
const subscriptions = new ServiceSubscriptionCollection(movement.client.subscriptions).filterByRole(role);
|
40
|
+
return (subscriptions.getPaid().last ?? subscriptions.getTrials().first)?.isActive;
|
41
|
+
});
|
42
|
+
dictionary.add(role, movements);
|
43
|
+
});
|
44
|
+
return dictionary;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LW1vdmVtZW50LmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvY2xpZW50LW1vdmVtZW50LmNvbGxlY3Rpb24udHMiXSwibmFtZ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