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,13 @@
|
|
1
|
+
import { HoldingTypeCategoryEnum } from '../../db/Enums';
|
2
|
+
import { Collection } from '../collection';
|
3
|
+
export class HoldingTypeCollection extends Collection {
|
4
|
+
getOthers() {
|
5
|
+
return this.filterBy('category', [
|
6
|
+
HoldingTypeCategoryEnum.COLLECTIBLE,
|
7
|
+
HoldingTypeCategoryEnum.UNLISTED_STOCK,
|
8
|
+
HoldingTypeCategoryEnum.UNLISTED_UNIT,
|
9
|
+
HoldingTypeCategoryEnum.OTHER
|
10
|
+
]);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZGluZy10eXBlLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvaG9sZGluZy9ob2xkaW5nLXR5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xkaW5nVHlwZUNhdGVnb3J5RW51bS5PVEhFUlxuICAgIF0pXG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,68 @@
|
|
1
|
+
import { plainToClass } from 'class-transformer';
|
2
|
+
import { ExportableCollection } from '../exportable.collection';
|
3
|
+
import { ExportCell } from '../../models/export/export-cell';
|
4
|
+
import { ExportCellTypeEnum } from '../../models/export/export-cell-type.enum';
|
5
|
+
import { HoldingTypeCategoryEnum } from '../../db/Enums';
|
6
|
+
export class HoldingCollection extends ExportableCollection {
|
7
|
+
getExportHeader() {
|
8
|
+
return ['Date', 'Ticker', 'Name', 'Asset type', 'Qty bought', 'Qty current', 'Buy price/Unit', 'Current price/Unit', 'Total MV', 'Profit/Loss'];
|
9
|
+
}
|
10
|
+
getExportFooter() {
|
11
|
+
return [
|
12
|
+
plainToClass(ExportCell, { value: '', type: ExportCellTypeEnum.STRING }),
|
13
|
+
];
|
14
|
+
}
|
15
|
+
getExportBody() {
|
16
|
+
return this.items.map((holding) => [
|
17
|
+
plainToClass(ExportCell, { value: holding.date, type: ExportCellTypeEnum.DATE }),
|
18
|
+
plainToClass(ExportCell, { value: holding.type.ticker, type: ExportCellTypeEnum.STRING }),
|
19
|
+
plainToClass(ExportCell, {
|
20
|
+
value: holding.type.name,
|
21
|
+
type: ExportCellTypeEnum.STRING
|
22
|
+
}),
|
23
|
+
plainToClass(ExportCell, { value: holding.type.categoryLabel, type: ExportCellTypeEnum.STRING }),
|
24
|
+
plainToClass(ExportCell, { value: holding.quantity, type: ExportCellTypeEnum.STRING }),
|
25
|
+
plainToClass(ExportCell, { value: holding.currentQuantity, type: ExportCellTypeEnum.STRING }),
|
26
|
+
plainToClass(ExportCell, { value: holding.price, type: ExportCellTypeEnum.CURRENCY }),
|
27
|
+
plainToClass(ExportCell, {
|
28
|
+
value: holding.type.price,
|
29
|
+
type: ExportCellTypeEnum.CURRENCY
|
30
|
+
}),
|
31
|
+
plainToClass(ExportCell, {
|
32
|
+
value: holding.marketValue,
|
33
|
+
type: ExportCellTypeEnum.CURRENCY
|
34
|
+
}),
|
35
|
+
plainToClass(ExportCell, {
|
36
|
+
value: holding.growthCoefficient,
|
37
|
+
type: ExportCellTypeEnum.PERCENT
|
38
|
+
}),
|
39
|
+
]);
|
40
|
+
}
|
41
|
+
getShares() {
|
42
|
+
return this.filterBy('type.category', HoldingTypeCategoryEnum.STOCK);
|
43
|
+
}
|
44
|
+
getCryptos() {
|
45
|
+
return this.filterBy('type.category', HoldingTypeCategoryEnum.CRYPTO);
|
46
|
+
}
|
47
|
+
getOthers() {
|
48
|
+
return this.filterBy('type.category', [
|
49
|
+
HoldingTypeCategoryEnum.COLLECTIBLE,
|
50
|
+
HoldingTypeCategoryEnum.UNLISTED_STOCK,
|
51
|
+
HoldingTypeCategoryEnum.UNLISTED_UNIT,
|
52
|
+
HoldingTypeCategoryEnum.OTHER
|
53
|
+
]);
|
54
|
+
}
|
55
|
+
getPurchaseValue() {
|
56
|
+
return this.sumBy('purchaseValue');
|
57
|
+
}
|
58
|
+
get marketValue() {
|
59
|
+
return this.sumBy('marketValue');
|
60
|
+
}
|
61
|
+
getGrowthCoefficient() {
|
62
|
+
return this.marketValue / this.getPurchaseValue() - 1;
|
63
|
+
}
|
64
|
+
getUnsold() {
|
65
|
+
return this.removeBy('currentQuantity', 0);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZGluZy5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2hvbGRpbmcvaG9sZGluZy5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQ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1iZXIge1xuICAgIHJldHVybiB0aGlzLnN1bUJ5KCdwdXJjaGFzZVZhbHVlJyk7XG4gIH1cblxuICBnZXQgbWFya2V0VmFsdWUoKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5zdW1CeSgnbWFya2V0VmFsdWUnKTtcbiAgfVxuXG4gIGdldEdyb3d0aENvZWZmaWNpZW50KCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMubWFya2V0VmFsdWUgLyB0aGlzLmdldFB1cmNoYXNlVmFsdWUoKSAtIDE7XG4gIH1cblxuICBnZXRVbnNvbGQoKTogdGhpcyB7XG4gICAgcmV0dXJuIHRoaXMucmVtb3ZlQnkoJ2N1cnJlbnRRdWFudGl0eScsIDApO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './holding.collection';
|
2
|
+
export * from './holding-sale.collection';
|
3
|
+
export * from './holding-type.collection';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvaG9sZGluZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaG9sZGluZy5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vaG9sZGluZy1zYWxlLmNvbGxlY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9ob2xkaW5nLXR5cGUuY29sbGVjdGlvbic7XG4iXX0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { IncomeSourceTypeListWorkEnum } from '../../db/Enums/income-source';
|
3
|
+
export class IncomeSourceForecastCollection extends Collection {
|
4
|
+
get bonuses() {
|
5
|
+
return this.filterBy('incomeSourceType.id', IncomeSourceTypeListWorkEnum.BONUSES);
|
6
|
+
}
|
7
|
+
get monthlyAmount() {
|
8
|
+
return this.sumBy('monthlyAmount');
|
9
|
+
}
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jb21lLXNvdXJjZS1mb3JlY2FzdC5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2luY29tZS1zb3VyY2UvaW5jb21lLXNvdXJjZS1mb3JlY2FzdC5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFFNUUsTUFBTSxPQUFPLDhCQUErQixTQUFRLFVBQWdDO0lBQ2xGLElBQUksT0FBTztRQUNULE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxxQkFBcUIsRUFBRSw0QkFBNEIsQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUNwRixDQUFDO0lBRUQsSUFBSSxhQUFhO1FBQ2YsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLGVBQWUsQ0FBQyxDQUFDO0lBQ3JDLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluY29tZVNvdXJjZUZvcmVjYXN0IH0gZnJvbSAnLi4vLi4vbW9kZWxzJztcbmltcG9ydCB7IENvbGxlY3Rpb24gfSBmcm9tICcuLi9jb2xsZWN0aW9uJztcbmltcG9ydCB7IEluY29tZVNvdXJjZVR5cGVMaXN0V29ya0VudW0gfSBmcm9tICcuLi8uLi9kYi9FbnVtcy9pbmNvbWUtc291cmNlJztcblxuZXhwb3J0IGNsYXNzIEluY29tZVNvdXJjZUZvcmVjYXN0Q29sbGVjdGlvbiBleHRlbmRzIENvbGxlY3Rpb248SW5jb21lU291cmNlRm9yZWNhc3Q+IHtcbiAgZ2V0IGJvbnVzZXMoKTogdGhpcyB7XG4gICAgcmV0dXJuIHRoaXMuZmlsdGVyQnkoJ2luY29tZVNvdXJjZVR5cGUuaWQnLCBJbmNvbWVTb3VyY2VUeXBlTGlzdFdvcmtFbnVtLkJPTlVTRVMpO1xuICB9XG5cbiAgZ2V0IG1vbnRobHlBbW91bnQoKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5zdW1CeSgnbW9udGhseUFtb3VudCcpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { TankTypeEnum } from '../../db/Enums/tank-type.enum';
|
3
|
+
/**
|
4
|
+
* Collection of income sources
|
5
|
+
*/
|
6
|
+
export class IncomeSourceCollection extends Collection {
|
7
|
+
filterByTank(tank) {
|
8
|
+
return this.items.filter((incomeSource) => {
|
9
|
+
switch (tank) {
|
10
|
+
case TankTypeEnum.OTHER:
|
11
|
+
return incomeSource.isOtherIncome();
|
12
|
+
default:
|
13
|
+
return incomeSource.isWorkIncome();
|
14
|
+
}
|
15
|
+
});
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Filter income sources by provided tyoes
|
19
|
+
* @param types
|
20
|
+
*/
|
21
|
+
filterByTypes(types) {
|
22
|
+
return this.items.filter((incomeSource) => types.includes(incomeSource.type));
|
23
|
+
}
|
24
|
+
getSalary() {
|
25
|
+
return this.items.filter((incomeSource) => incomeSource.isWorkIncome());
|
26
|
+
}
|
27
|
+
getOther() {
|
28
|
+
return this.items.filter((incomeSource) => incomeSource.isOtherIncome());
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Get income sources list of forecasts
|
32
|
+
*/
|
33
|
+
get forecasts() {
|
34
|
+
return this.items.map((incomeSource) => incomeSource.forecasts).flat();
|
35
|
+
}
|
36
|
+
get salaryForecasts() {
|
37
|
+
return this.items.map((incomeSource) => incomeSource.salaryForecasts).flat();
|
38
|
+
}
|
39
|
+
get incomeSourceForecasts() {
|
40
|
+
return this.items.map((incomeSource) => incomeSource.incomeSourceForecasts).flat();
|
41
|
+
}
|
42
|
+
}
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jb21lLXNvdXJjZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2luY29tZS1zb3VyY2UvaW5jb21lLXNvdXJjZS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBSTdEOztHQUVHO0FBQ0gsTUFBTSxPQUFPLHNCQUF1QixTQUFRLFVBQXdCO0lBQ2xFLFlBQVksQ0FBQyxJQUFrQjtRQUM3QixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsWUFBMEIsRUFBRSxFQUFFO1lBQ3RELFFBQVEsSUFBSSxFQUFFO2dCQUNaLEtBQUssWUFBWSxDQUFDLEtBQUs7b0JBQ3JCLE9BQU8sWUFBWSxDQUFDLGFBQWEsRUFBRSxDQUFDO2dCQUN0QztvQkFDRSxPQUFPLFlBQVksQ0FBQyxZQUF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lU291cmNlOiBJbmNvbWVTb3VyY2UpID0+IGluY29tZVNvdXJjZS5zYWxhcnlGb3JlY2FzdHMpLmZsYXQoKTtcbiAgfVxuXG4gIGdldCBpbmNvbWVTb3VyY2VGb3JlY2FzdHMoKTogSW5jb21lU291cmNlRm9yZWNhc3RbXSB7XG4gICAgcmV0dXJuIHRoaXMuaXRlbXMubWFwKChpbmNvbWVTb3VyY2U6IEluY29tZVNvdXJjZSkgPT4gaW5jb21lU291cmNlLmluY29tZVNvdXJjZUZvcmVjYXN0cykuZmxhdCgpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './income-source.collection';
|
2
|
+
export * from './income-source-forecast.collection';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvaW5jb21lLXNvdXJjZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMscUNBQXFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2luY29tZS1zb3VyY2UuY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL2luY29tZS1zb3VyY2UtZm9yZWNhc3QuY29sbGVjdGlvbic7XG4iXX0=
|
@@ -0,0 +1,34 @@
|
|
1
|
+
// @TODO Alex move here all collections
|
2
|
+
export * from './collection';
|
3
|
+
export * from './collection-dictionary';
|
4
|
+
export * from './chat';
|
5
|
+
export * from './loan';
|
6
|
+
export * from './property';
|
7
|
+
export * from './report';
|
8
|
+
export * from './sole';
|
9
|
+
export * from './subscription';
|
10
|
+
export * from './tax-summary';
|
11
|
+
export * from './transaction';
|
12
|
+
export * from './vehicle';
|
13
|
+
// @TODO break to folders
|
14
|
+
export * from './allocation-group.collection';
|
15
|
+
export * from './allocation-rule.collection';
|
16
|
+
export * from './account-setup-item.collection';
|
17
|
+
export * from './bank-account.collection';
|
18
|
+
export * from './bank-transaction.collection';
|
19
|
+
export * from './chart-accounts.collection';
|
20
|
+
export * from './client-invite.collection';
|
21
|
+
export * from './client-movement.collection';
|
22
|
+
export * from './client-portfolio-report.collection';
|
23
|
+
export * from './client.collection';
|
24
|
+
export * from './depreciation-forecast.collection';
|
25
|
+
export * from './depreciation.collection';
|
26
|
+
export * from './employee.collection';
|
27
|
+
export * from './exportable.collection';
|
28
|
+
export * from './income-source';
|
29
|
+
export * from './tax-review.collection';
|
30
|
+
export * from './user-event-setting.collection';
|
31
|
+
export * from './user-event-type-collection';
|
32
|
+
export * from './holding';
|
33
|
+
export * from './asset-sale.collection';
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdUNBQXVDO0FBQ3ZDLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMseUJBQXlCLENBQUM7QUFFeEMsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLFdBQVcsQ0FBQztBQUUxQix5QkFBeUI7QUFDekIsY0FBYywrQ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2VyLWV2ZW50LXNldHRpbmcuY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3VzZXItZXZlbnQtdHlwZS1jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vaG9sZGluZyc7XG5leHBvcnQgKiBmcm9tICcuL2Fzc2V0LXNhbGUuY29sbGVjdGlvbic7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './loan-payment.collection';
|
2
|
+
export * from './loan.collection';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvbG9hbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xvYW4tcGF5bWVudC5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vbG9hbi5jb2xsZWN0aW9uJztcbiJdfQ==
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { ExportableCollection } from '../exportable.collection';
|
2
|
+
import { ExportCell } from '../../models/export/export-cell';
|
3
|
+
import { plainToClass } from 'class-transformer';
|
4
|
+
import { ExportCellTypeEnum } from '../../models/export/export-cell-type.enum';
|
5
|
+
import { FinancialYear } from '../../models';
|
6
|
+
export class LoanPaymentCollection extends ExportableCollection {
|
7
|
+
getExportHeader() {
|
8
|
+
return [
|
9
|
+
'Pmt No.',
|
10
|
+
'Date',
|
11
|
+
'Payment Due',
|
12
|
+
'Interest Accrued',
|
13
|
+
'Principal Paid',
|
14
|
+
'Principal Balance',
|
15
|
+
'Payout'
|
16
|
+
];
|
17
|
+
}
|
18
|
+
getExportBody() {
|
19
|
+
return this.items.map((payment) => [
|
20
|
+
plainToClass(ExportCell, { value: payment.number, type: ExportCellTypeEnum.STRING }),
|
21
|
+
plainToClass(ExportCell, { value: payment.date, type: ExportCellTypeEnum.DATE }),
|
22
|
+
plainToClass(ExportCell, { value: payment.paymentDue, type: ExportCellTypeEnum.CURRENCY }),
|
23
|
+
plainToClass(ExportCell, { value: payment.interestAccrued, type: ExportCellTypeEnum.CURRENCY }),
|
24
|
+
plainToClass(ExportCell, { value: payment.principalPaid, type: ExportCellTypeEnum.CURRENCY }),
|
25
|
+
plainToClass(ExportCell, { value: payment.principalBalance, type: ExportCellTypeEnum.CURRENCY }),
|
26
|
+
plainToClass(ExportCell, { value: payment.payout, type: ExportCellTypeEnum.CURRENCY }),
|
27
|
+
]);
|
28
|
+
}
|
29
|
+
get paymentDue() {
|
30
|
+
return this.sumBy('paymentDue');
|
31
|
+
}
|
32
|
+
getByFinYear(finYear = new FinancialYear()) {
|
33
|
+
return this.filter((payment) => new Date(payment.date) >= finYear.startDate &&
|
34
|
+
new Date(payment.date) <= finYear.endDate);
|
35
|
+
}
|
36
|
+
getForCurrentYear() {
|
37
|
+
return this.getByFinYear(new FinancialYear());
|
38
|
+
}
|
39
|
+
}
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hbi1wYXltZW50LmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvbG9hbi9sb2FuLXBheW1lbnQuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sa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dldEZvckN1cnJlbnRZZWFyKCk6IHRoaXMge1xuICAgIHJldHVybiB0aGlzLmdldEJ5RmluWWVhcihuZXcgRmluYW5jaWFsWWVhcigpKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { LoanPaymentCollection } from './loan-payment.collection';
|
3
|
+
import uniq from 'lodash/uniq';
|
4
|
+
export class LoanCollection extends Collection {
|
5
|
+
/**
|
6
|
+
* Get new collection of loans filtered by bank accounts ids
|
7
|
+
* @param ids list of bank accounts ids for filter
|
8
|
+
*/
|
9
|
+
getByBankAccountsIds(ids) {
|
10
|
+
return new LoanCollection(this.items.filter((loan) => ids.includes(loan.bankAccount?.id)));
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* Get single loan by bank account id
|
14
|
+
* @param id id of bank account
|
15
|
+
*/
|
16
|
+
getByBankAccountId(id) {
|
17
|
+
return this.items.find((loan) => loan.bankAccount?.id === id);
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* Get list of current fin year payments grouped by loan id
|
21
|
+
*/
|
22
|
+
groupCurrentYearPaymentsByLoans() {
|
23
|
+
const dictionary = new LoanPaymentCollection([]).groupBy();
|
24
|
+
this.items.forEach((loan) => dictionary.add(loan.id, new LoanPaymentCollection(loan.payments).getForCurrentYear()));
|
25
|
+
return dictionary;
|
26
|
+
}
|
27
|
+
/**
|
28
|
+
* Get list of vehicle loans
|
29
|
+
*/
|
30
|
+
getVehicleLoans() {
|
31
|
+
return this.filter((loan) => loan.isVehicle());
|
32
|
+
}
|
33
|
+
get interestRate() {
|
34
|
+
return this.sumBy('interestRate') / this.length;
|
35
|
+
}
|
36
|
+
get monthlyRepaymentAmount() {
|
37
|
+
return this.sumBy('monthlyRepaymentAmount') / this.length;
|
38
|
+
}
|
39
|
+
get repaymentTypes() {
|
40
|
+
return uniq(this.map((loan) => loan.repaymentTypeLabel)).join(', ');
|
41
|
+
}
|
42
|
+
get interestTypes() {
|
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eSgnbW9udGhseVJlcGF5bWVudEFtb3VudCcpIC8gdGhpcy5sZW5ndGg7XG4gIH1cblxuICBnZXQgcmVwYXltZW50VHlwZXMoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdW5pcSh0aGlzLm1hcCgobG9hbikgPT4gbG9hbi5yZXBheW1lbnRUeXBlTGFiZWwpKS5qb2luKCcsICcpO1xuICB9XG5cbiAgZ2V0IGludGVyZXN0VHlwZXMoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdW5pcSh0aGlzLm1hcCgobG9hbikgPT4gbG9hbi5pbnRlcmVzdFR5cGVMYWJlbCkpLmpvaW4oJywgJyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from './property-sale';
|
2
|
+
export * from './property.collection';
|
3
|
+
export * from './property-category-movement.collection';
|
4
|
+
export * from './property-share.collection';
|
5
|
+
export * from './property-valuation.collection';
|
6
|
+
export * from './tax-exemption.collection';
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvcHJvcGVydHkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXNhbGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHktY2F0ZWdvcnktbW92ZW1lbnQuY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXNoYXJlLmNvbGxlY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS12YWx1YXRpb24uY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3RheC1leGVtcHRpb24uY29sbGVjdGlvbic7XG4iXX0=
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { FinancialYear } from '../../models';
|
3
|
+
export class PropertyCategoryMovementCollection extends Collection {
|
4
|
+
/**
|
5
|
+
* @TODO TT-2355 Alex refactor propertyForecast, use separated api (then I can remove property from param)
|
6
|
+
*/
|
7
|
+
filterByForecast(property, forecast) {
|
8
|
+
return this.filterBy('property.id', property.id)
|
9
|
+
.filterByFinancialYear('fromDate', 'toDate', new FinancialYear(forecast.financialYear));
|
10
|
+
}
|
11
|
+
hasCategory(categoryId) {
|
12
|
+
return !!this.findBy('propertyCategory.id', categoryId);
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* active movement by property based on selected year
|
16
|
+
*/
|
17
|
+
getCurrent() {
|
18
|
+
return this.create(this.filterByFinancialYear('fromDate', 'toDate')
|
19
|
+
.indexBy('property.id')
|
20
|
+
.toArray());
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktY2F0ZWdvcnktbW92ZW1lbnQuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9wcm9wZXJ0eS9wcm9wZXJ0eS1jYXRlZ29yeS1tb3ZlbWVudC5jb2xsZWN0aW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biJdfQ==
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './property-sale.collection';
|
2
|
+
export * from './property-sale-tax-exemption-meta-field.collection';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvcHJvcGVydHkvcHJvcGVydHktc2FsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMscURBQXFELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXNhbGUuY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXNhbGUtdGF4LWV4ZW1wdGlvbi1tZXRhLWZpZWxkLmNvbGxlY3Rpb24nO1xuIl19
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Collection } from '../../collection';
|
2
|
+
import { TaxExemptionMetaFieldEnum } from '../../../db/Enums/property/property-sale/tax-exemption-meta-field.enum';
|
3
|
+
export class PropertySaleTaxExemptionMetaFieldCollection extends Collection {
|
4
|
+
getPPRDays() {
|
5
|
+
return this.getByMetaFieldId(TaxExemptionMetaFieldEnum.PPR_DAYS)?.value ?? 0;
|
6
|
+
}
|
7
|
+
getMarketValue() {
|
8
|
+
return this.getByMetaFieldId(TaxExemptionMetaFieldEnum.MARKET_VALUE)?.value ?? 0;
|
9
|
+
}
|
10
|
+
getClaimPercent() {
|
11
|
+
return this.getByMetaFieldId(TaxExemptionMetaFieldEnum.CLAIM_PERCENT)?.value ?? 100;
|
12
|
+
}
|
13
|
+
getByMetaFieldId(id) {
|
14
|
+
return this.items.find((metaField) => metaField.metaField.id === id);
|
15
|
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5UKT8udmFsdWUgPz8gMTAwO1xuICB9XG5cbiAgZ2V0QnlNZXRhRmllbGRJZChpZDogbnVtYmVyKTogUHJvcGVydHlTYWxlVGF4RXhlbXB0aW9uTWV0YUZpZWxkIHtcbiAgICByZXR1cm4gdGhpcy5pdGVtcy5maW5kKFxuICAgICAgKG1ldGFGaWVsZDogUHJvcGVydHlTYWxlVGF4RXhlbXB0aW9uTWV0YUZpZWxkKSA9PiBtZXRhRmllbGQubWV0YUZpZWxkLmlkID09PSBpZFxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Collection } from '../../collection';
|
2
|
+
export class PropertySaleCollection extends Collection {
|
3
|
+
/**
|
4
|
+
* Property sales are CGT applicable unless it has "Principle place of residence" exemption type
|
5
|
+
*/
|
6
|
+
getCGTApplicable() {
|
7
|
+
return this.filter((propertySale) => propertySale.isCGTApplicable());
|
8
|
+
}
|
9
|
+
getByPropertyShareIds(ids) {
|
10
|
+
return this.filterBy('share.id', ids);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2FsZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL3Byb3BlcnR5L3Byb3BlcnR5LXNhbGUvcHJvcGVydHktc2FsZS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUc5QyxNQUFNLE9BQU8sc0JBQXVCLFNBQVEsVUFBd0I7SUFDbEU7O09BRUc7SUFDSCxnQkFBZ0I7UUFDZCxPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxZQUEwQixFQUFFLEVBQUUsQ0FBQyxZQUFZLENBQUMsZUFBZSxFQUFFLENBQUMsQ0FBQztJQUNyRixDQUFDO0lBRUQscUJBQXFCLENBQUMsR0FBYTtRQUNqQyxPQUFPLElBQUksQ0FBQyxRQUFRLENBQUMsVUFBVSxFQUFFLEdBQUcsQ0FBQyxDQUFDO0lBQ3hDLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbGxlY3Rpb24gfSBmcm9tICcuLi8uLi9jb2xsZWN0aW9uJztcbmltcG9ydCB7IFByb3BlcnR5U2FsZSB9IGZyb20gJy4uLy4uLy4uL21vZGVscyc7XG5cbmV4cG9ydCBjbGFzcyBQcm9wZXJ0eVNhbGVDb2xsZWN0aW9uIGV4dGVuZHMgQ29sbGVjdGlvbjxQcm9wZXJ0eVNhbGU+IHtcbiAgLyoqXG4gICAqIFByb3BlcnR5IHNhbGVzIGFyZSBDR1QgYXBwbGljYWJsZSB1bmxlc3MgaXQgaGFzIFwiUHJpbmNpcGxlIHBsYWNlIG9mIHJlc2lkZW5jZVwiIGV4ZW1wdGlvbiB0eXBlXG4gICAqL1xuICBnZXRDR1RBcHBsaWNhYmxlKCk6IHRoaXMge1xuICAgIHJldHVybiB0aGlzLmZpbHRlcigocHJvcGVydHlTYWxlOiBQcm9wZXJ0eVNhbGUpID0+IHByb3BlcnR5U2FsZS5pc0NHVEFwcGxpY2FibGUoKSk7XG4gIH1cblxuICBnZXRCeVByb3BlcnR5U2hhcmVJZHMoaWRzOiBudW1iZXJbXSk6IHRoaXMge1xuICAgIHJldHVybiB0aGlzLmZpbHRlckJ5KCdzaGFyZS5pZCcsIGlkcyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
export class PropertyShareCollection extends Collection {
|
3
|
+
/**
|
4
|
+
* Get list of incoming property shares
|
5
|
+
* (initiated not by current user)
|
6
|
+
* @TODO Alex: rename
|
7
|
+
*/
|
8
|
+
getIncoming() {
|
9
|
+
return this.filter((propertyShare) => propertyShare.user?.isLoggedIn() && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId'));
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* Get list of outcoming property shares
|
13
|
+
* (initiated by current user)
|
14
|
+
* @TODO Alex: rename
|
15
|
+
*/
|
16
|
+
getOutcoming() {
|
17
|
+
return this.filter((propertyShare) => !propertyShare.user?.isLoggedIn());
|
18
|
+
}
|
19
|
+
}
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2hhcmUuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9wcm9wZXJ0eS9wcm9wZXJ0eS1zaGFyZS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsTUFBTSxPQUFPLHVCQUF3QixTQUFRLFVBQXlCO0lBQ3BFOzs7O09BSUc7SUFDSCxXQUFXO1FBQ1QsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsYUFBNEIsRUFBRSxFQUFFLENBQUMsYUFBYSxDQUFDLElBQUksRUFBRSxVQUFVLEVBQUUsSUFBSSxhQUFhLENBQUMsU0FBUyxFQUFFLElBQUksYUFBYSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsRUFBRSxLQUFLLENBQUMsWUFBWSxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDO0lBQzVMLENBQUM7SUFFRDs7OztPQUlHO0lBQ0gsWUFBWTtRQUNWLE9BQU8sS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GVyKChwcm9wZXJ0eVNoYXJlOiBQcm9wZXJ0eVNoYXJlKSA9PiAhcHJvcGVydHlTaGFyZS51c2VyPy5pc0xvZ2dlZEluKCkpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
export class PropertyValuationCollection extends Collection {
|
3
|
+
}
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktdmFsdWF0aW9uLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvcHJvcGVydHkvcHJvcGVydHktdmFsdWF0aW9uLmNvbGxlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczQyxNQUFNLE9BQU8sMkJBQTRCLFNBQVEsVUFBNkI7Q0FBRyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbGxlY3Rpb24gfSBmcm9tICcuLi9jb2xsZWN0aW9uJztcbmltcG9ydCB7IFByb3BlcnR5VmFsdWF0aW9uIH0gZnJvbSAnLi4vLi4vbW9kZWxzJztcblxuZXhwb3J0IGNsYXNzIFByb3BlcnR5VmFsdWF0aW9uQ29sbGVjdGlvbiBleHRlbmRzIENvbGxlY3Rpb248UHJvcGVydHlWYWx1YXRpb24+IHt9XG4iXX0=
|
@@ -0,0 +1,113 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import uniqBy from 'lodash/uniqBy';
|
3
|
+
export class PropertyCollection extends Collection {
|
4
|
+
/**
|
5
|
+
* Get new property collection filtered by active status
|
6
|
+
*/
|
7
|
+
getActiveProperties() {
|
8
|
+
return new PropertyCollection(this.items.filter((property) => property.isActive));
|
9
|
+
}
|
10
|
+
getCreatedProperties() {
|
11
|
+
return new PropertyCollection(this.items.filter((property) => property.isOwn()));
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* Get new property collection filtered by shared
|
15
|
+
*/
|
16
|
+
getSharedProperties() {
|
17
|
+
return new PropertyCollection(this.items.filter((property) => !property.isOwn()));
|
18
|
+
}
|
19
|
+
getUnsold() {
|
20
|
+
return this.create(this.items.filter((property) => !property.isSold()));
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* Get total purchase price for all properties in the collection
|
24
|
+
*/
|
25
|
+
get purchasePrice() {
|
26
|
+
return this.sumBy('purchasePrice');
|
27
|
+
}
|
28
|
+
get growthPercent() {
|
29
|
+
return this.sumBy('growthPercent');
|
30
|
+
}
|
31
|
+
get marketValue() {
|
32
|
+
return this.sumBy('marketValue');
|
33
|
+
}
|
34
|
+
get marketValueGrowth() {
|
35
|
+
return (this.marketValue - this.purchasePrice) / this.purchasePrice;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Get list of unique property categories from collection
|
39
|
+
*/
|
40
|
+
getCategories() {
|
41
|
+
return uniqBy(this.items.map((property) => property.category), 'id');
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* list of properties
|
45
|
+
*/
|
46
|
+
getCGTApplicable() {
|
47
|
+
return this.create(this.items.filter((property) => property.isCGTApplicable()));
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* Get property with the highest growth percent
|
51
|
+
*/
|
52
|
+
getBestPerformanceGrowthProperty() {
|
53
|
+
return this.items.reduce((max, current) => max.growthPercent < current.growthPercent ? current : max, this.first);
|
54
|
+
}
|
55
|
+
/**
|
56
|
+
* Get property with the lowest tax position
|
57
|
+
*/
|
58
|
+
getBestPerformanceTaxProperty(transactions, depreciations) {
|
59
|
+
const transactionsByProperty = transactions.groupBy('property.id');
|
60
|
+
const depreciationsByProperty = depreciations.groupBy('property.id');
|
61
|
+
return this.items.reduce((min, current) => {
|
62
|
+
const minTaxPosition = min.getTaxPosition(transactionsByProperty.get(min.id), depreciationsByProperty.get(min.id));
|
63
|
+
const currentTaxPosition = current.getTaxPosition(transactionsByProperty.get(current.id), depreciationsByProperty.get(current.id));
|
64
|
+
return minTaxPosition > currentTaxPosition ? current : min;
|
65
|
+
}, this.first);
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* @TODO Nicole not needed anymore?
|
69
|
+
* Show best performance properties first
|
70
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677997/Property+Tank+Dashboard
|
71
|
+
*/
|
72
|
+
sortByBestPerformance(transactions, depreciations) {
|
73
|
+
const activeProperties = this.getActiveProperties();
|
74
|
+
// nothing to sort when no active properties
|
75
|
+
if (!activeProperties.length) {
|
76
|
+
return this;
|
77
|
+
}
|
78
|
+
const bestProperties = uniqBy(this.create([
|
79
|
+
activeProperties.getBestPerformanceGrowthProperty(),
|
80
|
+
activeProperties.getBestPerformanceTaxProperty(transactions, depreciations)
|
81
|
+
]).toArray(), 'id');
|
82
|
+
const newItems = this.diff(bestProperties).toArray();
|
83
|
+
newItems.unshift(...bestProperties);
|
84
|
+
return this.create(newItems);
|
85
|
+
}
|
86
|
+
get netMonthlyIncome() {
|
87
|
+
return this.sumBy('monthlyIncome') + this.sumBy('monthlyExpense');
|
88
|
+
}
|
89
|
+
getOwnerOccupiedProperties() {
|
90
|
+
return new PropertyCollection(this.items.filter((property) => property.category.isOwnerOccupied()));
|
91
|
+
}
|
92
|
+
/**
|
93
|
+
* Properties that are taxed and will be included in reports (Tax summary, My tax report, e.t.c.)
|
94
|
+
*/
|
95
|
+
getTaxInclusive() {
|
96
|
+
return this.create(this.items.filter((property) => property.category.isTaxInclusive));
|
97
|
+
}
|
98
|
+
groupByCategory(categories, movements, allowEmpty = false) {
|
99
|
+
const categoryById = categories.indexBy('id');
|
100
|
+
const movementsByCategory = movements.getCurrent().groupBy('propertyCategory.id');
|
101
|
+
const propertiesByCategory = new Map;
|
102
|
+
movementsByCategory.keys.forEach(key => {
|
103
|
+
propertiesByCategory.set(categoryById.get(key), this.filterBy('id', movementsByCategory.get(key).map(movement => movement.property.id)));
|
104
|
+
});
|
105
|
+
if (allowEmpty) {
|
106
|
+
categories.remove(...propertiesByCategory.keys()).toArray().forEach(category => {
|
107
|
+
propertiesByCategory.set(category, new PropertyCollection());
|
108
|
+
});
|
109
|
+
}
|
110
|
+
return propertiesByCategory;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHkuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9wcm9wZXJ0eS9wcm9wZXJ0eS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxNQUFNLE1BQU0sZUFBZSxDQUFDO0FBTW5DLE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxVQUFvQjtJQUMxRDs7T0FFRztJQUNILG1CQUFtQjtRQUNqQixPQUFPLElBQUksa0JBQWtCLENBQzNCLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsUUFBa0IsRUFBVyxFQUFFLENBQUMsUUFBUSxDQUFDLFFBQVEsQ0FBQyxDQUN0RSxDQUFDO0lBQ0osQ0FBQztJQUVELG9CQUFvQjtRQUNsQixPQUFPLElBQUksa0JBQWtCLENBQzNCLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsUUFBa0IsRUFBVyxFQUFFLENBQUMsUUFBUSxDQUFDLEtBQUssRUFBRSxDQUFDLENBQ3JFLENBQUM7SUFDSixDQUFDO0lBRUQ7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GVydGllc0J5Q2F0ZWdvcnkuc2V0KFxuICAgICAgICBjYXRlZ29yeUJ5SWQuZ2V0KGtleSksXG4gICAgICAgIHRoaXMuZmlsdGVyQnkoJ2lkJywgbW92ZW1lbnRzQnlDYXRlZ29yeS5nZXQoa2V5KS5tYXAobW92ZW1lbnQgPT4gbW92ZW1lbnQucHJvcGVydHkuaWQpKVxuICAgICAgKTtcbiAgICB9KTtcblxuICAgIGlmIChhbGxvd0VtcHR5KSB7XG4gICAgICBjYXRlZ29yaWVzLnJlbW92ZSguLi5wcm9wZXJ0aWVzQnlDYXRlZ29yeS5rZXlzKCkpLnRvQXJyYXkoKS5mb3JFYWNoKGNhdGVnb3J5ID0+IHtcbiAgICAgICAgcHJvcGVydGllc0J5Q2F0ZWdvcnkuc2V0KGNhdGVnb3J5LCBuZXcgUHJvcGVydHlDb2xsZWN0aW9uKCkpO1xuICAgICAgfSk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHByb3BlcnRpZXNCeUNhdGVnb3J5O1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { TaxExemptionEnum } from '../../db/Enums/property/property-sale/tax-exemption.enum';
|
3
|
+
export class TaxExemptionCollection extends Collection {
|
4
|
+
/**
|
5
|
+
* tax exemption eligible only for a resident
|
6
|
+
*/
|
7
|
+
getResidentOnly() {
|
8
|
+
return this.filter((taxExemption) => ![TaxExemptionEnum.TRANSFER, TaxExemptionEnum.OTHER].includes(taxExemption.id));
|
9
|
+
}
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGF4LWV4ZW1wdGlvbi5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL3Byb3BlcnR5L3R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HRpb25FbnVtLlRSQU5TRkVSLCBUYXhFeGVtcHRpb25FbnVtLk9USEVSXS5pbmNsdWRlcyh0YXhFeGVtcHRpb24uaWQpXG4gICAgKTtcbiAgfVxufVxuIl19
|
package/esm2022/src/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import { DepreciationLvpReportItem } from '../../../models/report/depreciation/depreciation-lvp-report-item';
|
2
|
+
import { plainToClass } from 'class-transformer';
|
3
|
+
import { DepreciationCollection } from '../../depreciation.collection';
|
4
|
+
/**
|
5
|
+
* Collection of depreciation Low Value Pool report items
|
6
|
+
*/
|
7
|
+
export class DepreciationLvpReportItemCollection extends DepreciationCollection {
|
8
|
+
static fromDepreciations(deprectiations) {
|
9
|
+
return new DepreciationLvpReportItemCollection(deprectiations.map((depreciation) => plainToClass(DepreciationLvpReportItem, depreciation)));
|
10
|
+
}
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjaWF0aW9uLWx2cC1yZXBvcnQtaXRlbS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL3JlcG9ydC9kZXByZWNpYXRpb24vZGVwcmVjaWF0aW9uLWx2cC1yZXBvcnQtaXRlbS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx5QkFBeUIsRUFDMUIsTUFBTSxrRUFBa0UsQ0FBQztBQUUxRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDakQsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFFdkU7O0dBRUc7QUFDSCxN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