taxtank-core 0.32.88 → 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 +498 -794
- 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,40 @@
|
|
1
|
+
/**
|
2
|
+
* Collection of employee clients tax summary information
|
3
|
+
*/
|
4
|
+
import { Collection } from './collection';
|
5
|
+
export class ClientPortfolioReportCollection extends Collection {
|
6
|
+
get marketValue() {
|
7
|
+
return this.sumBy('marketValue');
|
8
|
+
}
|
9
|
+
get loanBalance() {
|
10
|
+
return this.sumBy('loanBalance');
|
11
|
+
}
|
12
|
+
get equityPosition() {
|
13
|
+
return this.sumBy('equityPosition');
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* Get average market value if there are more than 1 item in the collection
|
17
|
+
*/
|
18
|
+
get averageMarketValue() {
|
19
|
+
return this.items.length > 1 ? this.marketValue / this.items.length : null;
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* Get average loan balance if there are more than 1 item in the collection
|
23
|
+
*/
|
24
|
+
get averageLoanBalance() {
|
25
|
+
return this.items.length > 1 ? this.loanBalance / this.items.length : null;
|
26
|
+
}
|
27
|
+
/**
|
28
|
+
* Get average equity position if there are more than 1 item in the collection
|
29
|
+
*/
|
30
|
+
get averageEquityPosition() {
|
31
|
+
return this.items.length > 1 ? this.equityPosition / this.items.length : null;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Return report by provided category name
|
35
|
+
*/
|
36
|
+
getByCategoryName(name) {
|
37
|
+
return this.items.find((item) => item.category === name);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LXBvcnRmb2xpby1yZXBvcnQuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9jbGllbnQtcG9ydGZvbGlvLXJlcG9ydC5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUcxQyxNQUFNLE9BQU8sK0JBQWdDLFNBQVEsVUFBaUM7SUFDcEYsSUFBSSxXQUFXO1FBQ2IsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLGFBQWEsQ0FBQyxDQUFDO0lBQ25DLENBQUM7SUFFRCxJQUFJLFdBQVc7UUFDYixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsYUFBYSxDQUFDLENBQUM7SUFDbkMsQ0FBQztJQUVELElBQUksY0FBYztRQUNoQixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztJQUN0QyxDQUFDO0lBRUQ7O09BRUc7SUFDSCxJQUFJLGtCQUFrQjtRQUNwQixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLFdBQVcsR0FBRy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mUgbW9yZSB0aGFuIDEgaXRlbSBpbiB0aGUgY29sbGVjdGlvblxuICAgKi9cbiAgZ2V0IGF2ZXJhZ2VFcXVpdHlQb3NpdGlvbigpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLml0ZW1zLmxlbmd0aCA+IDEgPyB0aGlzLmVxdWl0eVBvc2l0aW9uIC8gdGhpcy5pdGVtcy5sZW5ndGggOiBudWxsO1xuICB9XG5cbiAgLyoqXG4gICAqIFJldHVybiByZXBvcnQgYnkgcHJvdmlkZWQgY2F0ZWdvcnkgbmFtZVxuICAgKi9cbiAgZ2V0QnlDYXRlZ29yeU5hbWUobmFtZTogc3RyaW5nKTogQ2xpZW50UG9ydGZvbGlvUmVwb3J0IHtcbiAgICByZXR1cm4gdGhpcy5pdGVtcy5maW5kKChpdGVtOiBDbGllbnRQb3J0Zm9saW9SZXBvcnQpOiBib29sZWFuID0+IGl0ZW0uY2F0ZWdvcnkgPT09IG5hbWUpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
export class ClientCollection extends Collection {
|
3
|
+
}
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvY2xpZW50LmNvbGxlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUcxQyxNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsVUFBZ0I7Q0FDckQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb2xsZWN0aW9uIH0gZnJvbSAnLi9jb2xsZWN0aW9uJztcbmltcG9ydCB7IFVzZXIgfSBmcm9tICcuLi9tb2RlbHMvdXNlci91c2VyJztcblxuZXhwb3J0IGNsYXNzIENsaWVudENvbGxlY3Rpb24gZXh0ZW5kcyBDb2xsZWN0aW9uPFVzZXI+IHtcbn1cbiJdfQ==
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import get from 'lodash/get';
|
2
|
+
import flatten from 'lodash/flatten';
|
3
|
+
import hasIn from 'lodash/hasIn';
|
4
|
+
import intersection from 'lodash/intersection';
|
5
|
+
import uniqBy from 'lodash/uniqBy';
|
6
|
+
/**
|
7
|
+
* @TODO refactor with Map
|
8
|
+
* List of collections grouped by passed property
|
9
|
+
*/
|
10
|
+
export class CollectionDictionary {
|
11
|
+
constructor(collection, path = 'id') {
|
12
|
+
/**
|
13
|
+
* List of grouped collections
|
14
|
+
*/
|
15
|
+
this.items = {};
|
16
|
+
this.collectionConstructor = collection.constructor;
|
17
|
+
// group if provided path was found in the 1st collection's item
|
18
|
+
if (collection.length && hasIn(collection.items[0], path.split('.')[0])) {
|
19
|
+
this.groupItems(collection, path);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* List of collections keys
|
24
|
+
*/
|
25
|
+
get keys() {
|
26
|
+
return Object.keys(this.items);
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* push new elements in existing item
|
30
|
+
*/
|
31
|
+
addTo(key, ...models) {
|
32
|
+
if (!this.items[key]) {
|
33
|
+
this.add(key);
|
34
|
+
}
|
35
|
+
this.items[key].push(...models);
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Add new item by key
|
39
|
+
*/
|
40
|
+
add(key, value = this.createCollection([])) {
|
41
|
+
this.items[key] = value;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Get collection by key or return empty collection if key does not exist
|
45
|
+
*/
|
46
|
+
get(key) {
|
47
|
+
return this.items[key] ? this.items[key] : this.createCollection([]);
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* @TODO bad name, it just gets items by keys, same as get method by multiple keys
|
51
|
+
* Join several collections by ids, return collection of uniq models (skip duplicates)
|
52
|
+
*/
|
53
|
+
merge(keys) {
|
54
|
+
if (!this.length) {
|
55
|
+
return this.createCollection([]);
|
56
|
+
}
|
57
|
+
return this.createCollection(uniqBy(flatten(keys.map((key) => this.get(key.toString()).items)), 'id'));
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* Create instance of collection
|
61
|
+
*/
|
62
|
+
createCollection(items = []) {
|
63
|
+
return new this.collectionConstructor(items);
|
64
|
+
}
|
65
|
+
get length() {
|
66
|
+
return this.keys.length;
|
67
|
+
}
|
68
|
+
/**
|
69
|
+
* @Todo find a better solution to get list of the sorted keys
|
70
|
+
* Get array of the "keys" by provided order
|
71
|
+
*/
|
72
|
+
getSortedKeys(isDesc = false) {
|
73
|
+
return this.keys.sort((a, b) => {
|
74
|
+
if (a > b) {
|
75
|
+
return !isDesc ? 1 : -1;
|
76
|
+
}
|
77
|
+
if (a < b) {
|
78
|
+
return !isDesc ? -1 : 1;
|
79
|
+
}
|
80
|
+
return 0;
|
81
|
+
});
|
82
|
+
}
|
83
|
+
keysIntersection(keys) {
|
84
|
+
return intersection(keys.map((key) => key.toString()), this.keys);
|
85
|
+
}
|
86
|
+
/**
|
87
|
+
* Group collection items by passed path into items object
|
88
|
+
*/
|
89
|
+
groupItems(collection, path) {
|
90
|
+
// Create empty initial object for groups
|
91
|
+
const obj = {};
|
92
|
+
// Group collection items
|
93
|
+
collection.items.forEach((item) => {
|
94
|
+
let key = get(item, path);
|
95
|
+
// if object does not have property for grouping it will be grouped as 'other'
|
96
|
+
if (key === undefined) {
|
97
|
+
key = 'other';
|
98
|
+
}
|
99
|
+
if (!obj[key]) {
|
100
|
+
obj[key] = [];
|
101
|
+
}
|
102
|
+
obj[key].push(item);
|
103
|
+
});
|
104
|
+
// Create collections from groups
|
105
|
+
Object.keys(obj).forEach((key) => {
|
106
|
+
this.items[key] = this.createCollection(obj[key]);
|
107
|
+
});
|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0gPSB7fTtcblxuICAgIC8vIEdyb3VwIGNvbGxlY3Rpb24gaXRlbXNcbiAgICBjb2xsZWN0aW9uLml0ZW1zLmZvckVhY2goKGl0ZW06IG9iamVjdCk6IHZvaWQgPT4ge1xuICAgICAgbGV0IGtleTogc3RyaW5nID0gZ2V0KGl0ZW0sIHBhdGgpO1xuXG4gICAgICAvLyBpZiBvYmplY3QgZG9lcyBub3QgaGF2ZSBwcm9wZXJ0eSBmb3IgZ3JvdXBpbmcgaXQgd2lsbCBiZSBncm91cGVkIGFzICdvdGhlcidcbiAgICAgIGlmIChrZXkgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICBrZXkgPSAnb3RoZXInO1xuICAgICAgfVxuXG4gICAgICBpZiAoIW9ialtrZXldKSB7XG4gICAgICAgIG9ialtrZXldID0gW107XG4gICAgICB9XG5cbiAgICAgIG9ialtrZXldLnB1c2goaXRlbSk7XG4gICAgfSk7XG5cbiAgICAvLyBDcmVhdGUgY29sbGVjdGlvbnMgZnJvbSBncm91cHNcbiAgICBPYmplY3Qua2V5cyhvYmopLmZvckVhY2goKGtleTogc3RyaW5nKTogdm9pZCA9PiB7XG4gICAgICB0aGlzLml0ZW1zW2tleV0gPSB0aGlzLmNyZWF0ZUNvbGxlY3Rpb24ob2JqW2tleV0pO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,163 @@
|
|
1
|
+
import { CollectionDictionary } from './collection-dictionary';
|
2
|
+
import first from 'lodash/first';
|
3
|
+
import last from 'lodash/last';
|
4
|
+
import get from 'lodash/get';
|
5
|
+
import { Dictionary, FinancialYear } from '../models';
|
6
|
+
import orderBy from 'lodash/orderBy';
|
7
|
+
/**
|
8
|
+
* Base collection class. Contains common properties and methods for all collections
|
9
|
+
*/
|
10
|
+
export class Collection {
|
11
|
+
constructor(items = []) {
|
12
|
+
/**
|
13
|
+
* index of current item, used to iterate over the collection
|
14
|
+
*/
|
15
|
+
this.index = 0;
|
16
|
+
this.items = items;
|
17
|
+
// @TODO Alex: Think and implement some smart solution for default sort
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* Iterator that allow to iterate collection items
|
21
|
+
*/
|
22
|
+
[Symbol.iterator]() {
|
23
|
+
return this.items.values();
|
24
|
+
}
|
25
|
+
create(items = []) {
|
26
|
+
return new this.constructor(items);
|
27
|
+
}
|
28
|
+
get length() {
|
29
|
+
return this.items.length;
|
30
|
+
}
|
31
|
+
toArray() {
|
32
|
+
return [...this.items];
|
33
|
+
}
|
34
|
+
get first() {
|
35
|
+
return first(this.items);
|
36
|
+
}
|
37
|
+
get last() {
|
38
|
+
return last(this.items);
|
39
|
+
}
|
40
|
+
get previous() {
|
41
|
+
return this.items[this.items.length - 2];
|
42
|
+
}
|
43
|
+
reset() {
|
44
|
+
this.index = 0;
|
45
|
+
return this.items[this.index];
|
46
|
+
}
|
47
|
+
next() {
|
48
|
+
if (this.index < this.length) {
|
49
|
+
this.index++;
|
50
|
+
return this.items[this.index];
|
51
|
+
}
|
52
|
+
return null;
|
53
|
+
}
|
54
|
+
back() {
|
55
|
+
if (this.index > 0) {
|
56
|
+
this.index--;
|
57
|
+
return this.items[this.index];
|
58
|
+
}
|
59
|
+
return null;
|
60
|
+
}
|
61
|
+
getIds() {
|
62
|
+
return this.items.map((item) => item['id']);
|
63
|
+
}
|
64
|
+
map(callback) {
|
65
|
+
return this.items.map(callback);
|
66
|
+
}
|
67
|
+
mapBy(path) {
|
68
|
+
return this
|
69
|
+
.filter((item) => !!get(item, path))
|
70
|
+
.map((item) => get(item, path));
|
71
|
+
}
|
72
|
+
sortBy(paths = ['id'], order = ['desc']) {
|
73
|
+
this.items = orderBy(this.items, paths instanceof Array ? paths : [paths], order instanceof Array ? order : [order]);
|
74
|
+
return this;
|
75
|
+
}
|
76
|
+
sort(callback) {
|
77
|
+
this.items.sort(callback);
|
78
|
+
return this;
|
79
|
+
}
|
80
|
+
/**
|
81
|
+
* Get total sum of items by field
|
82
|
+
*/
|
83
|
+
sumBy(path, abs = false) {
|
84
|
+
return this.reduce((sum, item) => sum + (abs ? Math.abs(Number(get(item, path))) : Number(get(item, path))));
|
85
|
+
}
|
86
|
+
groupBy(path = 'id') {
|
87
|
+
return new CollectionDictionary(this, path);
|
88
|
+
}
|
89
|
+
indexBy(path = 'id') {
|
90
|
+
return new Dictionary(this.items, path);
|
91
|
+
}
|
92
|
+
filter(callback) {
|
93
|
+
return this.create(this.items.filter(callback));
|
94
|
+
}
|
95
|
+
filterBy(path, values) {
|
96
|
+
return this.filter((item) => (Array.isArray(values) ? values : [values]).includes(get(item, path)));
|
97
|
+
}
|
98
|
+
filterByRange(path, from, to) {
|
99
|
+
return this.filter((item) => get(item, path) >= from && get(item, path) <= to);
|
100
|
+
}
|
101
|
+
filterByFinancialYear(pathFrom, pathTo, financialYear = new FinancialYear()) {
|
102
|
+
if (pathTo) {
|
103
|
+
return this.filter(model => get(model, pathFrom) <= financialYear.endDate && !get(model, pathTo) || get(model, pathTo) >= financialYear.startDate);
|
104
|
+
}
|
105
|
+
return this.filterByRange(pathFrom, financialYear.startDate, financialYear.endDate);
|
106
|
+
}
|
107
|
+
find(callback) {
|
108
|
+
return this.items.find(callback);
|
109
|
+
}
|
110
|
+
findBy(path, value) {
|
111
|
+
return this.items.find((model) => value === get(model, path));
|
112
|
+
}
|
113
|
+
findIndexBy(path, value) {
|
114
|
+
return this.items.findIndex((item) => get(item, path) === value) ?? null;
|
115
|
+
}
|
116
|
+
push(...items) {
|
117
|
+
this.items.push(...items);
|
118
|
+
return this.create(this.items);
|
119
|
+
}
|
120
|
+
remove(...items) {
|
121
|
+
items.forEach((item) => {
|
122
|
+
const index = this.findIndexBy('id', item.id);
|
123
|
+
if (index < 0) {
|
124
|
+
return;
|
125
|
+
}
|
126
|
+
this.items.splice(index, 1);
|
127
|
+
});
|
128
|
+
return this;
|
129
|
+
}
|
130
|
+
/**
|
131
|
+
* @TODO it's filter, not remove
|
132
|
+
*/
|
133
|
+
removeBy(path, values) {
|
134
|
+
return this.filter((item) => !(Array.isArray(values) ? values : [values]).includes(get(item, path)));
|
135
|
+
}
|
136
|
+
replaceBy(path, value, item) {
|
137
|
+
const index = this.findIndexBy(path, value);
|
138
|
+
if (index >= 0) {
|
139
|
+
this.items.splice(index, 1, item);
|
140
|
+
}
|
141
|
+
return this.create(this.items);
|
142
|
+
}
|
143
|
+
diff(items) {
|
144
|
+
return this.filter((model) => !items.map((item) => item.id).includes(model.id));
|
145
|
+
}
|
146
|
+
minBy(path) {
|
147
|
+
return this.items.reduce((prev, current) => (get(prev, path) < get(current, path) ? prev : current));
|
148
|
+
}
|
149
|
+
maxBy(path) {
|
150
|
+
return this.items.reduce((prev, current) => (get(prev, path) > get(current, path) ? prev : current));
|
151
|
+
}
|
152
|
+
/**
|
153
|
+
* float math issues https://stackoverflow.com/questions/12511057/float-sum-with-javascript
|
154
|
+
*/
|
155
|
+
reduce(callback, init = 0) {
|
156
|
+
return +this.items.reduce(callback, init).toFixed(10);
|
157
|
+
}
|
158
|
+
slice(from, to) {
|
159
|
+
this.items = this.items.slice(from, to);
|
160
|
+
return this;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQy9ELE9BQU8sS0FBSyxNQUFNLGNBQWMsQ0FBQztBQUNqQyxPQUFPLElBQUksTUFBTSxhQUFhLENBQUM7QUFDL0IsT0FBTyxHQUFHLE1BQU0sWUFBWSxDQUFDO0FBRTdCLE9BQU8sRUFBRSxVQUFVLEV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TogdGhpcyB7XHJcbiAgICB0aGlzLml0ZW1zID0gdGhpcy5pdGVtcy5zbGljZShmcm9tLCB0byk7XHJcblxyXG4gICAgcmV0dXJuIHRoaXM7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
/**
|
3
|
+
* Collection of depreciations
|
4
|
+
*/
|
5
|
+
export class DepreciationForecastCollection extends Collection {
|
6
|
+
filterByYear(financialYear) {
|
7
|
+
return new DepreciationForecastCollection(this.items.filter((forecast) => forecast.financialYear === financialYear));
|
8
|
+
}
|
9
|
+
getClaimAmountByMonth(month) {
|
10
|
+
return this.items.reduce((sum, item) => sum + item.getClaimAmountByMonth(month), 0);
|
11
|
+
}
|
12
|
+
get amount() {
|
13
|
+
return this.sumBy('amount');
|
14
|
+
}
|
15
|
+
get claimAmount() {
|
16
|
+
return this.sumBy('claimAmount');
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjaWF0aW9uLWZvcmVjYXN0LmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvZGVwcmVjaWF0aW9uLWZvcmVjYXN0LmNvbGxlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUcxQzs7R0FFRztBQUNILE1BQU0sT0FBTyw4QkFBK0IsU0FBUSxVQUFnQztJQUNsRixZQUFZLENBQUMsYUFBcUI7UUFDaEMsT0FBTyxJQUFJLDhCQUE4QixDQUN2QyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxDQUFDLFFBQThCLEVBQUUsRUF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XRpb25Gb3JlY2FzdCkgPT4gZm9yZWNhc3QuZmluYW5jaWFsWWVhciA9PT0gZmluYW5jaWFsWWVhcilcbiAgICApO1xuICB9XG5cbiAgZ2V0Q2xhaW1BbW91bnRCeU1vbnRoKG1vbnRoOiBudW1iZXIpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLml0ZW1zLnJlZHVjZSgoc3VtOiBudW1iZXIsIGl0ZW06IERlcHJlY2lhdGlvbkZvcmVjYXN0KTogbnVtYmVyID0+IHN1bSArIGl0ZW0uZ2V0Q2xhaW1BbW91bnRCeU1vbnRoKG1vbnRoKSwgMCk7XG4gIH1cblxuICBnZXQgYW1vdW50KCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMuc3VtQnkoJ2Ftb3VudCcpO1xuICB9XG5cbiAgZ2V0IGNsYWltQW1vdW50KCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMuc3VtQnkoJ2NsYWltQW1vdW50Jyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,116 @@
|
|
1
|
+
import { TankTypeEnum } from '../db/Enums/tank-type.enum';
|
2
|
+
import { Collection } from './collection';
|
3
|
+
import uniqBy from 'lodash/uniqBy';
|
4
|
+
import compact from 'lodash/compact';
|
5
|
+
import { TransactionCollection } from './transaction';
|
6
|
+
import round from 'lodash/round';
|
7
|
+
export class DepreciationCollection extends Collection {
|
8
|
+
getSoleDepreciations() {
|
9
|
+
return this.filter((depreciation) => depreciation.isSoleTank());
|
10
|
+
}
|
11
|
+
getNew() {
|
12
|
+
return this.filter((depreciation) => depreciation.isNew());
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* Get total amount of all depreciations in the collection
|
16
|
+
*/
|
17
|
+
get amount() {
|
18
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.amount, 0);
|
19
|
+
}
|
20
|
+
get claimAmount() {
|
21
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.claimAmount, 0);
|
22
|
+
}
|
23
|
+
getClaimedAmountByYear(year = +localStorage.getItem('financialYear')) {
|
24
|
+
const closeBalance = this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0);
|
25
|
+
return round(this.amount - closeBalance, 2);
|
26
|
+
}
|
27
|
+
getClaimAmountByYear(year = +localStorage.getItem('financialYear')) {
|
28
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.getClaimAmountByYear(year), 0);
|
29
|
+
}
|
30
|
+
getCloseBalanceByYear(year = +localStorage.getItem('financialYear')) {
|
31
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0);
|
32
|
+
}
|
33
|
+
getCurrentYearForecastAmount() {
|
34
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.amount, 0);
|
35
|
+
}
|
36
|
+
get closeBalance() {
|
37
|
+
return this.sumBy('currentYearForecast.closeBalance');
|
38
|
+
}
|
39
|
+
getByPropertiesIds(ids) {
|
40
|
+
return new DepreciationCollection(this.items.filter((depreciation) => ids.includes(depreciation.property?.id)));
|
41
|
+
}
|
42
|
+
getWithCapitalProject() {
|
43
|
+
return new DepreciationCollection(this.items.filter((depreciation) => !!depreciation.depreciationCapitalProject));
|
44
|
+
}
|
45
|
+
getWithoutCapitalProject() {
|
46
|
+
return new DepreciationCollection(this.items.filter((depreciation) => !depreciation.depreciationCapitalProject));
|
47
|
+
}
|
48
|
+
getWithoutBorrowingExpenses() {
|
49
|
+
return new DepreciationCollection(this.items.filter((depreciation) => !depreciation.isBorrowingExpense()));
|
50
|
+
}
|
51
|
+
getByChartAccountsCategories(categories) {
|
52
|
+
return this.create(this.items.filter((depreciation) => categories.includes(depreciation.chartAccounts.category)));
|
53
|
+
}
|
54
|
+
getAssets() {
|
55
|
+
return this.filter((depreciation) => depreciation.isAsset());
|
56
|
+
}
|
57
|
+
getPlantEquipment() {
|
58
|
+
return this.filter((depreciation) => depreciation.isPlantEquipmentPool());
|
59
|
+
}
|
60
|
+
getCapitalDepreciations() {
|
61
|
+
return this.filter((depreciation) => depreciation.isCapital());
|
62
|
+
}
|
63
|
+
getBorrowingExpenseDepreciations() {
|
64
|
+
return this.filter((depreciation) => depreciation.isBorrowingExpense());
|
65
|
+
}
|
66
|
+
getWrittenOffDepreciations() {
|
67
|
+
return this.filter((depreciation) => depreciation.isWrittenOff());
|
68
|
+
}
|
69
|
+
getLVPDepreciations() {
|
70
|
+
return this.filter((depreciation) => depreciation.isLVP());
|
71
|
+
}
|
72
|
+
getSBPDepreciations() {
|
73
|
+
return this.filter((depreciation) => depreciation.isSBP());
|
74
|
+
}
|
75
|
+
getCapitalProjects() {
|
76
|
+
return uniqBy(compact(this.items.map((depreciation) => depreciation.depreciationCapitalProject)), 'id');
|
77
|
+
}
|
78
|
+
/**
|
79
|
+
* Get a new collection of depreciations related to vehicles
|
80
|
+
*/
|
81
|
+
getVehicleDepreciations() {
|
82
|
+
return this.filter((depreciation) => depreciation.isVehicleDepreciation());
|
83
|
+
}
|
84
|
+
getByTankType(tankType) {
|
85
|
+
return this.create(this.items.filter((depreciation) => {
|
86
|
+
switch (tankType) {
|
87
|
+
case TankTypeEnum.PROPERTY:
|
88
|
+
return depreciation.isPropertyTank();
|
89
|
+
case TankTypeEnum.WORK:
|
90
|
+
return depreciation.isWorkTank();
|
91
|
+
case TankTypeEnum.SOLE:
|
92
|
+
return depreciation.isSoleTank();
|
93
|
+
// case for other tank or some extra
|
94
|
+
default:
|
95
|
+
return false;
|
96
|
+
}
|
97
|
+
}));
|
98
|
+
}
|
99
|
+
/**
|
100
|
+
* Create TransactionCollection from depreciation items
|
101
|
+
*/
|
102
|
+
toTransactions() {
|
103
|
+
return new TransactionCollection(this.items.map((item) => item.toTransaction()));
|
104
|
+
}
|
105
|
+
/**
|
106
|
+
* Get depreciations by vehicle claim. Only vehicle depreciations may be related to vehicle claim
|
107
|
+
*/
|
108
|
+
getByVehicleClaim(vehicleClaim) {
|
109
|
+
return vehicleClaim.isSoleTank()
|
110
|
+
// sole tank may have multiple vehicle claims, so we need to filter by business.id
|
111
|
+
? this.getVehicleDepreciations().filterBy('business.id', vehicleClaim.business.id)
|
112
|
+
// work tank may have only one vehicle claim, so we need to filter by tank type
|
113
|
+
: this.getVehicleDepreciations().filterBy('tankType', TankTypeEnum.WORK);
|
114
|
+
}
|
115
|
+
}
|
116
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjaWF0aW9uLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvZGVwcmVjaWF0aW9uLmNvbGxlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzFELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFMUMsT0FBTyxNQUFNLE1BQU0sZUFBZSxDQUFDO0FBQ25DLE9BQU8sT0FBTyxNQUFNLGdCQUFnQixDQUFDO0FBRXJDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUd0RCxPQUFPLEtBQUssTUFBTSxjQUFjLENBQUM7QUFFakMsTUFBTSxPQUFPLHNCQUF1QixTQUFRLFVBQXdCO0lBQ2xFLG9CQUFvQjtRQUNsQixPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxZQUEwQixFQUFFLEVBQUUsQ0FBQyxZQUFZLENBQUMsVUFBVSxFQUFFLENBQUMsQ0FBQztJQUNoRixDQUFDO0lBRUQsTUFBTTtRQUNKLE9BQU8sSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDLFlBQTBCLEVBQUUsRUFBRSxDQUFDLFlBQVksQ0FBQyxLQUFLLE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laGljbGVDbGFpbSh2ZWhpY2xlQ2xhaW06IFZlaGljbGVDbGFpbSk6IHRoaXMge1xuICAgIHJldHVybiB2ZWhpY2xlQ2xhaW0uaXNTb2xlVGFuaygpXG4gICAgICAvLyBzb2xlIHRhbmsgbWF5IGhhdmUgbXVsdGlwbGUgdmVoaWNsZSBjbGFpbXMsIHNvIHdlIG5lZWQgdG8gZmlsdGVyIGJ5IGJ1c2luZXNzLmlkXG4gICAgICA/IHRoaXMuZ2V0VmVoaWNsZURlcHJlY2lhdGlvbnMoKS5maWx0ZXJCeSgnYnVzaW5lc3MuaWQnLCB2ZWhpY2xlQ2xhaW0uYnVzaW5lc3MuaWQpXG4gICAgICAvLyB3b3JrIHRhbmsgbWF5IGhhdmUgb25seSBvbmUgdmVoaWNsZSBjbGFpbSwgc28gd2UgbmVlZCB0byBmaWx0ZXIgYnkgdGFuayB0eXBlXG4gICAgICA6IHRoaXMuZ2V0VmVoaWNsZURlcHJlY2lhdGlvbnMoKS5maWx0ZXJCeSgndGFua1R5cGUnLCBUYW5rVHlwZUVudW0uV09SSyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
import { FirmTypeEnum } from '../db/Enums/firm-type.enum';
|
3
|
+
export class EmployeeCollection extends Collection {
|
4
|
+
get accountant() {
|
5
|
+
return this.items.filter((user) => user.employeeDetails.firm.type === FirmTypeEnum.ACCOUNTANT)[0] ?? null;
|
6
|
+
}
|
7
|
+
get advisors() {
|
8
|
+
return this.items.filter((user) => user.employeeDetails.firm.type === FirmTypeEnum.ADVISOR);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wbG95ZWUuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvc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AgIHJldHVybiB0aGlzLml0ZW1zLmZpbHRlcigodXNlcjogVXNlcikgPT4gdXNlci5lbXBsb3llZURldGFpbHMuZmlybS50eXBlID09PSBGaXJtVHlwZUVudW0uQUNDT1VOVEFOVClbMF0gPz8gbnVsbDtcbiAgfVxuXG4gIGdldCBhZHZpc29ycygpOiBVc2VyW10ge1xuICAgIHJldHVybiB0aGlzLml0ZW1zLmZpbHRlcigodXNlcjogVXNlcikgPT4gdXNlci5lbXBsb3llZURldGFpbHMuZmlybS50eXBlID09PSBGaXJtVHlwZUVudW0uQURWSVNPUik7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
import { plainToClass } from 'class-transformer';
|
3
|
+
import { ExportDataTable } from '../models/export/export-data-table';
|
4
|
+
export class ExportableCollection extends Collection {
|
5
|
+
getExportFooter() {
|
6
|
+
return [];
|
7
|
+
}
|
8
|
+
getBodyAoa(exportData) {
|
9
|
+
return exportData.body.map(row => {
|
10
|
+
return row.map(cell => {
|
11
|
+
return cell.value;
|
12
|
+
});
|
13
|
+
});
|
14
|
+
}
|
15
|
+
export(params) {
|
16
|
+
return plainToClass(ExportDataTable, {
|
17
|
+
header: this.getExportHeader(),
|
18
|
+
body: this.getExportBody(params),
|
19
|
+
footer: [this.getExportFooter()]
|
20
|
+
});
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0YWJsZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2V4cG9ydGFibGUuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FB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{ ExportCell } from '../../models/export/export-cell';
|
3
|
+
import { ExportCellTypeEnum } from '../../models/export/export-cell-type.enum';
|
4
|
+
import { plainToClass } from 'class-transformer';
|
5
|
+
export class HoldingSaleCollection extends ExportableCollection {
|
6
|
+
filterByTaxFree(holdings, isTaxFree = false) {
|
7
|
+
return this.filterBy('holding.id', holdings.filterBy('isTaxFree', isTaxFree).getIds());
|
8
|
+
}
|
9
|
+
getExportHeader() {
|
10
|
+
return ['Ticker', 'Asset type', 'Date of buy', 'Date of sale', 'Cost base', 'Net sale', 'Ownership', 'Total capital Gain/(Loss)', 'My Capital Gain/(Loss)', 'Exempt or Concession'];
|
11
|
+
}
|
12
|
+
getExportFooter() {
|
13
|
+
return [
|
14
|
+
plainToClass(ExportCell, { value: '', type: ExportCellTypeEnum.STRING }),
|
15
|
+
];
|
16
|
+
}
|
17
|
+
getExportBody(holdingsById) {
|
18
|
+
return this.items.map((sale) => [
|
19
|
+
plainToClass(ExportCell, {
|
20
|
+
value: holdingsById.get(sale.holding.id).type.ticker,
|
21
|
+
type: ExportCellTypeEnum.STRING
|
22
|
+
}),
|
23
|
+
plainToClass(ExportCell, {
|
24
|
+
value: holdingsById.get(sale.holding.id).type.categoryLabel,
|
25
|
+
type: ExportCellTypeEnum.STRING
|
26
|
+
}),
|
27
|
+
plainToClass(ExportCell, { value: holdingsById.get(sale.holding.id)?.date, type: ExportCellTypeEnum.DATE }),
|
28
|
+
plainToClass(ExportCell, { value: sale.date, type: ExportCellTypeEnum.DATE }),
|
29
|
+
plainToClass(ExportCell, { value: sale.getCostBase(holdingsById.get(sale.holding.id)), type: ExportCellTypeEnum.CURRENCY }),
|
30
|
+
plainToClass(ExportCell, { value: sale.netCost, type: ExportCellTypeEnum.CURRENCY }),
|
31
|
+
plainToClass(ExportCell, { value: holdingsById.get(sale.holding.id).ownershipPercent, type: ExportCellTypeEnum.PERCENT }),
|
32
|
+
plainToClass(ExportCell, { value: sale.totalCapitalGain, type: ExportCellTypeEnum.CURRENCY }),
|
33
|
+
plainToClass(ExportCell, { value: sale.grossCapitalGain, type: ExportCellTypeEnum.CURRENCY }),
|
34
|
+
plainToClass(ExportCell, {
|
35
|
+
value: sale.concession,
|
36
|
+
type: ExportCellTypeEnum.STRING
|
37
|
+
}),
|
38
|
+
]);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZGluZy1zYWxlLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvaG9sZGluZy9ob2xkaW5nLXNhbGUuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDN0QsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDL0UsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBR2pELE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxvQkFBaUM7SUFDMUUsZUFBZSxDQUFDLFFBQTJCLEVBQUUsU0FBUyxHQUFHLEtBQUs7UUFDNUQsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLFlBQVksRUFBRSxRQUFRLENBQUMsUUFBUSxDQUFDLFdBQVcsRUFBRSxTQUFTLENBQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDO0lBQ3pGLENBQUM7SUFFRCxlQUFlO1FBQ2IsT0FBTyxDQUFDLFFBQVEsRUFBRSxZQUFZLEVBQUUsYUFBYSxFQUFFLGNBQWMsRUFBRSxXQUFXLEVB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