taxtank-core 0.32.89 → 0.33.2
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 +18 -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 +52 -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 +372 -0
- package/fesm2022/taxtank-core-common.mjs.map +1 -0
- package/fesm2022/taxtank-core.mjs +497 -793
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +30 -24
- package/public-api.d.ts +158 -159
- package/src/lib/collections/subscription/service-subscription.collection.d.ts +23 -0
- package/src/lib/core.module.d.ts +13 -0
- package/src/lib/db/Models/setup-item.d.ts +11 -0
- package/src/lib/db/Models/subscription/service-product.d.ts +19 -0
- package/src/lib/db/Models/subscription/service-subscription.d.ts +23 -0
- package/src/lib/db/Models/user/user.d.ts +59 -0
- package/src/lib/interceptors/interceptors.module.d.ts +6 -0
- package/src/lib/interfaces/index.d.ts +13 -0
- package/src/lib/models/service-subscription/service-product-roles.const.d.ts +5 -0
- package/src/lib/models/user/user-roles.const.d.ts +7 -0
- package/src/lib/models/user/user.d.ts +72 -0
- package/src/lib/pipes/app-currency.pipe.d.ts +11 -0
- package/src/lib/services/event/sse.service.d.ts +20 -0
- package/src/lib/services/http/facebook/facebook.service.d.ts +38 -0
- package/src/lib/services/http/firm/employee/employee.service.d.ts +20 -0
- package/src/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +25 -0
- package/src/lib/services/http/google/google.service.d.ts +43 -0
- package/src/lib/services/http/holding/holding-import/holding-import.service.d.ts +17 -0
- package/src/lib/services/http/holding/holding.service.d.ts +19 -0
- package/src/lib/services/http/rest/rest-old.service.d.ts +117 -0
- package/src/lib/services/http/rest/rest.service.d.ts +121 -0
- package/src/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +24 -0
- package/src/lib/services/http/user/user.service.d.ts +43 -0
- package/src/lib/services/http/vehicle/vehicle-claim.service.d.ts +21 -0
- package/src/lib/services/index.d.ts +16 -0
- package/esm2022/lib/collections/account-setup-item.collection.mjs +0 -12
- package/esm2022/lib/collections/allocation-group.collection.mjs +0 -9
- package/esm2022/lib/collections/allocation-rule.collection.mjs +0 -26
- package/esm2022/lib/collections/asset-sale.collection.mjs +0 -56
- package/esm2022/lib/collections/bank-account.collection.mjs +0 -153
- package/esm2022/lib/collections/bank-transaction.collection.mjs +0 -131
- package/esm2022/lib/collections/chart-accounts.collection.mjs +0 -26
- package/esm2022/lib/collections/chat/chat.collection.mjs +0 -26
- package/esm2022/lib/collections/chat/index.mjs +0 -4
- package/esm2022/lib/collections/chat/message-document.collection.mjs +0 -13
- package/esm2022/lib/collections/chat/message.collection.mjs +0 -31
- package/esm2022/lib/collections/client-invite.collection.mjs +0 -7
- package/esm2022/lib/collections/client-movement.collection.mjs +0 -47
- package/esm2022/lib/collections/client-portfolio-report.collection.mjs +0 -40
- package/esm2022/lib/collections/client.collection.mjs +0 -4
- package/esm2022/lib/collections/collection-dictionary.mjs +0 -110
- package/esm2022/lib/collections/collection.mjs +0 -163
- package/esm2022/lib/collections/depreciation-forecast.collection.mjs +0 -19
- package/esm2022/lib/collections/depreciation.collection.mjs +0 -116
- package/esm2022/lib/collections/employee.collection.mjs +0 -11
- package/esm2022/lib/collections/exportable.collection.mjs +0 -23
- package/esm2022/lib/collections/holding/holding-sale.collection.mjs +0 -41
- package/esm2022/lib/collections/holding/holding-type.collection.mjs +0 -13
- package/esm2022/lib/collections/holding/holding.collection.mjs +0 -68
- package/esm2022/lib/collections/holding/index.mjs +0 -4
- package/esm2022/lib/collections/income-source/income-source-forecast.collection.mjs +0 -11
- package/esm2022/lib/collections/income-source/income-source.collection.mjs +0 -43
- package/esm2022/lib/collections/income-source/index.mjs +0 -3
- package/esm2022/lib/collections/index.mjs +0 -34
- package/esm2022/lib/collections/loan/index.mjs +0 -3
- package/esm2022/lib/collections/loan/loan-payment.collection.mjs +0 -40
- package/esm2022/lib/collections/loan/loan.collection.mjs +0 -46
- package/esm2022/lib/collections/property/index.mjs +0 -7
- package/esm2022/lib/collections/property/property-category-movement.collection.mjs +0 -23
- package/esm2022/lib/collections/property/property-sale/index.mjs +0 -3
- package/esm2022/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +0 -17
- package/esm2022/lib/collections/property/property-sale/property-sale.collection.mjs +0 -13
- package/esm2022/lib/collections/property/property-share.collection.mjs +0 -20
- package/esm2022/lib/collections/property/property-valuation.collection.mjs +0 -4
- package/esm2022/lib/collections/property/property.collection.mjs +0 -113
- package/esm2022/lib/collections/property/tax-exemption.collection.mjs +0 -11
- package/esm2022/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +0 -12
- package/esm2022/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +0 -12
- package/esm2022/lib/collections/report/index.mjs +0 -7
- package/esm2022/lib/collections/report/property/property-report-item-depreciation.collection.mjs +0 -21
- package/esm2022/lib/collections/report/property/property-report-item-transaction.collection.mjs +0 -21
- package/esm2022/lib/collections/report/property/property-report-item.collection.mjs +0 -13
- package/esm2022/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +0 -17
- package/esm2022/lib/collections/sole/index.mjs +0 -4
- package/esm2022/lib/collections/sole/sole-business-losses.collection.mjs +0 -41
- package/esm2022/lib/collections/sole/sole-invoice-item.collection.mjs +0 -10
- package/esm2022/lib/collections/sole/sole-invoice.collection.mjs +0 -30
- package/esm2022/lib/collections/subscription/index.mjs +0 -5
- package/esm2022/lib/collections/subscription/service-price.collection.mjs +0 -50
- package/esm2022/lib/collections/subscription/service-product.collection.mjs +0 -11
- package/esm2022/lib/collections/subscription/service-subscription.collection.mjs +0 -58
- package/esm2022/lib/collections/subscription/subscription-item.collection.mjs +0 -17
- package/esm2022/lib/collections/tax-review.collection.mjs +0 -53
- package/esm2022/lib/collections/tax-summary/index.mjs +0 -3
- package/esm2022/lib/collections/tax-summary/report-item.collection.mjs +0 -101
- package/esm2022/lib/collections/tax-summary/tax-return-categories.const.mjs +0 -113
- package/esm2022/lib/collections/transaction/index.mjs +0 -3
- package/esm2022/lib/collections/transaction/transaction-allocation.collection.mjs +0 -39
- package/esm2022/lib/collections/transaction/transaction.collection.mjs +0 -240
- package/esm2022/lib/collections/user-event-setting.collection.mjs +0 -10
- package/esm2022/lib/collections/user-event-type-collection.mjs +0 -11
- package/esm2022/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +0 -90
- package/esm2022/lib/collections/vehicle/index.mjs +0 -4
- package/esm2022/lib/collections/vehicle/vehicle-claim.collection.mjs +0 -25
- package/esm2022/lib/collections/vehicle/vehicle-logbook.collection.mjs +0 -31
- package/esm2022/lib/db/Enums/address-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/allocation-rule-condition-field.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/annual-frequency.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/bank/bank-account-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/bank-account-type.enum.mjs +0 -13
- package/esm2022/lib/db/Enums/bank/bank-connection-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/bank-popular.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/bank/bank-provider.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/bank-transaction-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/index.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/loan/index.mjs +0 -11
- package/esm2022/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +0 -16
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +0 -20
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +0 -50
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +0 -102
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +0 -19
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +0 -50
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/index.mjs +0 -18
- package/esm2022/lib/db/Enums/chat-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-details-medicare-exemption.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/client-invite-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-invite-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/depreciation-calculation-percent.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/depreciation-calculation.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/depreciation-type.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/depreciation-write-off-amount.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/document-type.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/file-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/firm-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/holding/holding-type-category.enum.mjs +0 -18
- package/esm2022/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/holding/index.mjs +0 -3
- package/esm2022/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +0 -15
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/income-source/income-source-type.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/income-source/index.mjs +0 -7
- package/esm2022/lib/db/Enums/index.mjs +0 -13
- package/esm2022/lib/db/Enums/invite-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/phone-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-category-list.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/property/property-share-access.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-share-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/registration-invite-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/salary-forecast-frequency.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/service-notification-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/service-notification-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/setup-item-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/sole-depreciation-method.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/sole-invoice-statuses.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/sole-invoice-tax-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/spare-document-spare-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/index.mjs +0 -2
- package/esm2022/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-payment-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-price-list.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/subscription/service-price-type.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/subscription/service-product-id.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/subscription/service-product-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-subscription-status.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/tank-type.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/tax-calculation-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/tax-return/index.mjs +0 -4
- package/esm2022/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +0 -66
- package/esm2022/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/tax-return/tax-return-item.enum.mjs +0 -20
- package/esm2022/lib/db/Enums/tax-review-status.enum.mjs +0 -13
- package/esm2022/lib/db/Enums/tax-summary-list.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/tax-summary-section.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/tax-summary-tax-summary.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/ticket-feedback.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/ticket-status.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/ticket-types.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/transaction-operation.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/transaction-source.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/transaction-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/user-event-status.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/user-event-type-client-type.enum.mjs +0 -29
- package/esm2022/lib/db/Enums/user-event-type-employee-type.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/user-event-type-frequency.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-event-type-type.enum.mjs +0 -51
- package/esm2022/lib/db/Enums/user-event-type-user-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-medicare-exemption.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-roles.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/user-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-title.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/user-working-holiday-maker.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/vehicle-claim-details-method.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +0 -6
- package/esm2022/lib/db/Models/abstract-model.mjs +0 -14
- package/esm2022/lib/db/Models/address.mjs +0 -4
- package/esm2022/lib/db/Models/bank/bank-account-balance.mjs +0 -9
- package/esm2022/lib/db/Models/bank/bank-account-property.mjs +0 -9
- package/esm2022/lib/db/Models/bank/bank-account.mjs +0 -10
- package/esm2022/lib/db/Models/bank/bank-connection.mjs +0 -5
- package/esm2022/lib/db/Models/bank/bank-transaction-import.mjs +0 -4
- package/esm2022/lib/db/Models/bank/bank-transaction.mjs +0 -5
- package/esm2022/lib/db/Models/bank/bank.mjs +0 -4
- package/esm2022/lib/db/Models/bank/basiq-job-step.enum.mjs +0 -8
- package/esm2022/lib/db/Models/bank/basiq-job.mjs +0 -4
- package/esm2022/lib/db/Models/budget/budget-rule.mjs +0 -4
- package/esm2022/lib/db/Models/budget/budget.mjs +0 -4
- package/esm2022/lib/db/Models/budget/index.mjs +0 -3
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-value.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts.mjs +0 -4
- package/esm2022/lib/db/Models/client/annual-client-details.mjs +0 -3
- package/esm2022/lib/db/Models/client/client-details.mjs +0 -4
- package/esm2022/lib/db/Models/client/index.mjs +0 -4
- package/esm2022/lib/db/Models/client/occupation.mjs +0 -4
- package/esm2022/lib/db/Models/country.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation-capital-project.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation.mjs +0 -5
- package/esm2022/lib/db/Models/document/document-folder.mjs +0 -4
- package/esm2022/lib/db/Models/document/folder-document.mjs +0 -4
- package/esm2022/lib/db/Models/document/property-document.mjs +0 -4
- package/esm2022/lib/db/Models/file.mjs +0 -4
- package/esm2022/lib/db/Models/firm/accountant/tax-review.mjs +0 -4
- package/esm2022/lib/db/Models/firm/accountant/ticket.mjs +0 -4
- package/esm2022/lib/db/Models/firm/chat.mjs +0 -4
- package/esm2022/lib/db/Models/firm/client-invite.mjs +0 -5
- package/esm2022/lib/db/Models/firm/client-movement.mjs +0 -5
- package/esm2022/lib/db/Models/firm/employee-invite.mjs +0 -4
- package/esm2022/lib/db/Models/firm/firm-invite.mjs +0 -4
- package/esm2022/lib/db/Models/firm/firm.mjs +0 -4
- package/esm2022/lib/db/Models/firm/message-document.mjs +0 -4
- package/esm2022/lib/db/Models/firm/message.mjs +0 -5
- package/esm2022/lib/db/Models/holding/holding-import.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-sale.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-type-exchange.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-type.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding.mjs +0 -3
- package/esm2022/lib/db/Models/holding/index.mjs +0 -5
- package/esm2022/lib/db/Models/incomeSource/income-source-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/income-source-type.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/income-source.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/salary-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/index.mjs +0 -96
- package/esm2022/lib/db/Models/loan/borrowing-expense-loan.mjs +0 -4
- package/esm2022/lib/db/Models/loan/borrowing-expense.mjs +0 -4
- package/esm2022/lib/db/Models/loan/loan-payout.mjs +0 -13
- package/esm2022/lib/db/Models/loan/loan.mjs +0 -22
- package/esm2022/lib/db/Models/observable-model.mjs +0 -14
- package/esm2022/lib/db/Models/phone.mjs +0 -4
- package/esm2022/lib/db/Models/property/borrowing-report.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-category-movement.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-category.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/property-sale.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/tax-exemption.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-share.mjs +0 -10
- package/esm2022/lib/db/Models/property/property-subscription.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-valuation.mjs +0 -5
- package/esm2022/lib/db/Models/property/property.mjs +0 -22
- package/esm2022/lib/db/Models/service-notification.mjs +0 -4
- package/esm2022/lib/db/Models/setup-item.mjs +0 -4
- package/esm2022/lib/db/Models/sole/bas-report.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-activity.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-allocation.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-loss.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-contact.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-depreciation-method.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-details.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice-item.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice-template.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice.mjs +0 -4
- package/esm2022/lib/db/Models/spare/spare-document-category.mjs +0 -4
- package/esm2022/lib/db/Models/spare/spare-document.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-payment-method.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-payment.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-price.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-product.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-subscription-item.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-subscription.mjs +0 -5
- package/esm2022/lib/db/Models/tax-calculation.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/index.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return-category.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return-item.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-condition.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-transaction.mjs +0 -5
- package/esm2022/lib/db/Models/transaction/allocation-rule.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction-allocation.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction-base.mjs +0 -123
- package/esm2022/lib/db/Models/transaction/transaction-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction.mjs +0 -5
- package/esm2022/lib/db/Models/user/employee-details.mjs +0 -4
- package/esm2022/lib/db/Models/user/registration-invite.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-setting.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-type-category.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-type.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event.mjs +0 -4
- package/esm2022/lib/db/Models/user/user.mjs +0 -5
- package/esm2022/lib/db/Models/vehicle/vehicle-claim-details.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle-claim.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle-logbook.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle.mjs +0 -4
- package/esm2022/lib/db-static/chart-accounts/chart-accounts-values.mjs +0 -9
- package/esm2022/lib/forms/abstract.form.mjs +0 -111
- package/esm2022/lib/forms/address/address.form.mjs +0 -190
- package/esm2022/lib/forms/address/index.mjs +0 -2
- package/esm2022/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +0 -46
- package/esm2022/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +0 -45
- package/esm2022/lib/forms/bank/bank-account/bank-account-import.form.mjs +0 -24
- package/esm2022/lib/forms/bank/bank-account/bank-account-properties.form.mjs +0 -64
- package/esm2022/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +0 -50
- package/esm2022/lib/forms/budget/budget.form.mjs +0 -69
- package/esm2022/lib/forms/budget/index.mjs +0 -2
- package/esm2022/lib/forms/chart-accounts/chart-accounts.form.mjs +0 -14
- package/esm2022/lib/forms/chart-accounts/index.mjs +0 -2
- package/esm2022/lib/forms/client/annual-client-details.form.mjs +0 -39
- package/esm2022/lib/forms/client/index.mjs +0 -2
- package/esm2022/lib/forms/depreciation/depreciation.form.mjs +0 -40
- package/esm2022/lib/forms/depreciation/index.mjs +0 -2
- package/esm2022/lib/forms/document-folder/document-folder.form.mjs +0 -11
- package/esm2022/lib/forms/document-folder/document.form.mjs +0 -11
- package/esm2022/lib/forms/document-folder/index.mjs +0 -3
- package/esm2022/lib/forms/firm/firm.form.mjs +0 -18
- package/esm2022/lib/forms/firm/index.mjs +0 -2
- package/esm2022/lib/forms/form-validations.enum.mjs +0 -12
- package/esm2022/lib/forms/holding/holding-import.form.mjs +0 -25
- package/esm2022/lib/forms/holding/holding-reinvest.form.mjs +0 -59
- package/esm2022/lib/forms/holding/holding-sale.form.mjs +0 -52
- package/esm2022/lib/forms/holding/holding-type.form.mjs +0 -16
- package/esm2022/lib/forms/holding/holding.form.mjs +0 -28
- package/esm2022/lib/forms/holding/index.mjs +0 -6
- package/esm2022/lib/forms/index.mjs +0 -27
- package/esm2022/lib/forms/loan/index.mjs +0 -2
- package/esm2022/lib/forms/loan/loan.form.mjs +0 -90
- package/esm2022/lib/forms/login/login.form.mjs +0 -11
- package/esm2022/lib/forms/phone/index.mjs +0 -2
- package/esm2022/lib/forms/phone/phone.form.mjs +0 -18
- package/esm2022/lib/forms/property/borrowing-report.form.mjs +0 -32
- package/esm2022/lib/forms/property/index.mjs +0 -10
- package/esm2022/lib/forms/property/property-add.form.mjs +0 -69
- package/esm2022/lib/forms/property/property-category-movement-form.mjs +0 -21
- package/esm2022/lib/forms/property/property-document.form.mjs +0 -14
- package/esm2022/lib/forms/property/property-edit.form.mjs +0 -17
- package/esm2022/lib/forms/property/property-forecast.form.mjs +0 -29
- package/esm2022/lib/forms/property/property-sale/index.mjs +0 -4
- package/esm2022/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +0 -39
- package/esm2022/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +0 -66
- package/esm2022/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +0 -107
- package/esm2022/lib/forms/property/property-share.form.mjs +0 -16
- package/esm2022/lib/forms/property/property-valuation.form.mjs +0 -19
- package/esm2022/lib/forms/register/register-client.form.mjs +0 -19
- package/esm2022/lib/forms/register/register-firm.form.mjs +0 -22
- package/esm2022/lib/forms/report/my-tax/index.mjs +0 -17
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +0 -31
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +0 -81
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +0 -14
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +0 -79
- package/esm2022/lib/forms/report/my-tax/my-tax-cgt.form.mjs +0 -30
- package/esm2022/lib/forms/report/my-tax/my-tax-deductions.form.mjs +0 -85
- package/esm2022/lib/forms/report/my-tax/my-tax-dividends.form.mjs +0 -23
- package/esm2022/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +0 -108
- package/esm2022/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +0 -10
- package/esm2022/lib/forms/report/my-tax/my-tax-interest.form.mjs +0 -12
- package/esm2022/lib/forms/report/my-tax/my-tax-losses.form.mjs +0 -11
- package/esm2022/lib/forms/report/my-tax/my-tax-medicare.form.mjs +0 -38
- package/esm2022/lib/forms/report/my-tax/my-tax-offsets.form.mjs +0 -10
- package/esm2022/lib/forms/report/my-tax/my-tax-other-income.form.mjs +0 -43
- package/esm2022/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +0 -37
- package/esm2022/lib/forms/report/my-tax/my-tax-rent.form.mjs +0 -13
- package/esm2022/lib/forms/sole/bas-report.form.mjs +0 -62
- package/esm2022/lib/forms/sole/index.mjs +0 -12
- package/esm2022/lib/forms/sole/invoice-payment.form.mjs +0 -14
- package/esm2022/lib/forms/sole/sole-business-allocations.form.mjs +0 -64
- package/esm2022/lib/forms/sole/sole-business-loss.form.mjs +0 -24
- package/esm2022/lib/forms/sole/sole-business.form.mjs +0 -70
- package/esm2022/lib/forms/sole/sole-contact.form.mjs +0 -19
- package/esm2022/lib/forms/sole/sole-depreciation-method.form.mjs +0 -10
- package/esm2022/lib/forms/sole/sole-details.form.mjs +0 -12
- package/esm2022/lib/forms/sole/sole-invoice-item.form.mjs +0 -15
- package/esm2022/lib/forms/sole/sole-invoice-template.form.mjs +0 -15
- package/esm2022/lib/forms/sole/sole-invoice.form.mjs +0 -157
- package/esm2022/lib/forms/transaction/allocation-rule-condition.form.mjs +0 -16
- package/esm2022/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +0 -12
- package/esm2022/lib/forms/transaction/allocation-rule-transaction.form.mjs +0 -144
- package/esm2022/lib/forms/transaction/allocation-rule.form.mjs +0 -188
- package/esm2022/lib/forms/transaction/holding/holding-income.form.mjs +0 -49
- package/esm2022/lib/forms/transaction/index.mjs +0 -8
- package/esm2022/lib/forms/transaction/messages.enum.mjs +0 -5
- package/esm2022/lib/forms/transaction/sole/sole-income.form.mjs +0 -17
- package/esm2022/lib/forms/transaction/sole/sole-transaction.form.mjs +0 -7
- package/esm2022/lib/forms/transaction/transaction-base.form.mjs +0 -98
- package/esm2022/lib/forms/transaction/transaction.form.mjs +0 -62
- package/esm2022/lib/forms/transaction/work/work-expense.form.mjs +0 -33
- package/esm2022/lib/forms/transaction/work/work-income.form.mjs +0 -86
- package/esm2022/lib/forms/transaction/work/work-transaction.form.mjs +0 -40
- package/esm2022/lib/forms/user/client-details.form.mjs +0 -34
- package/esm2022/lib/forms/user/index.mjs +0 -6
- package/esm2022/lib/forms/user/password.form.mjs +0 -14
- package/esm2022/lib/forms/user/reset-password.form.mjs +0 -11
- package/esm2022/lib/forms/user/user-invite.form.mjs +0 -16
- package/esm2022/lib/forms/user/user.form.mjs +0 -15
- package/esm2022/lib/forms/vehicle/index.mjs +0 -5
- package/esm2022/lib/forms/vehicle/vehicle-claim-details.form.mjs +0 -17
- package/esm2022/lib/forms/vehicle/vehicle-claim.form.mjs +0 -30
- package/esm2022/lib/forms/vehicle/vehicle-logbook.form.mjs +0 -63
- package/esm2022/lib/forms/vehicle/vehicle.form.mjs +0 -17
- package/esm2022/lib/functions/array/index.mjs +0 -5
- package/esm2022/lib/functions/array/replace.mjs +0 -6
- package/esm2022/lib/functions/array/sort-deep.mjs +0 -22
- package/esm2022/lib/functions/array/sort.mjs +0 -13
- package/esm2022/lib/functions/array/to-array.mjs +0 -7
- package/esm2022/lib/functions/clone-deep.mjs +0 -5
- package/esm2022/lib/functions/create-date.mjs +0 -8
- package/esm2022/lib/functions/enum-to-list.mjs +0 -13
- package/esm2022/lib/functions/get-doc-icon.mjs +0 -18
- package/esm2022/lib/functions/mat-options-functions.mjs +0 -13
- package/esm2022/lib/functions/mat-sort-options.mjs +0 -10
- package/esm2022/lib/functions/tax-review-filter-predicate.mjs +0 -10
- package/esm2022/lib/interceptors/basiq-client-id.interceptor.mjs +0 -31
- package/esm2022/lib/interceptors/basiq-token.interceptor.mjs +0 -33
- package/esm2022/lib/interceptors/corelogic-interceptor.mjs +0 -41
- package/esm2022/lib/interceptors/financial-year-interceptor.mjs +0 -42
- package/esm2022/lib/interceptors/interceptors.module.mjs +0 -107
- package/esm2022/lib/interceptors/jwt-interceptor.mjs +0 -138
- package/esm2022/lib/interceptors/preloader.interceptor.mjs +0 -32
- package/esm2022/lib/interceptors/rewardful.interceptor.mjs +0 -42
- package/esm2022/lib/interceptors/user-switcher-interceptor.mjs +0 -40
- package/esm2022/lib/interfaces/asset-entity-type.enum.mjs +0 -12
- package/esm2022/lib/interfaces/asset-type.enum.mjs +0 -13
- package/esm2022/lib/interfaces/asset.interface.mjs +0 -2
- package/esm2022/lib/interfaces/auth-tokens.interface.mjs +0 -2
- package/esm2022/lib/interfaces/chart-data.interface.mjs +0 -2
- package/esm2022/lib/interfaces/chart-serie.interface.mjs +0 -2
- package/esm2022/lib/interfaces/document.interface.mjs +0 -2
- package/esm2022/lib/interfaces/documentable.interface.mjs +0 -2
- package/esm2022/lib/interfaces/event-listener.interface.mjs +0 -2
- package/esm2022/lib/interfaces/expense.interface.mjs +0 -2
- package/esm2022/lib/interfaces/income-source-forecast.interface.mjs +0 -2
- package/esm2022/lib/interfaces/index.mjs +0 -15
- package/esm2022/lib/interfaces/option.interface.mjs +0 -2
- package/esm2022/lib/interfaces/tank.interface.mjs +0 -2
- package/esm2022/lib/interfaces/updatable.interface.mjs +0 -2
- package/esm2022/lib/messages/index.mjs +0 -2
- package/esm2022/lib/messages/messages.enum.mjs +0 -16
- package/esm2022/lib/models/account-setup/account-setup-item.mjs +0 -38
- package/esm2022/lib/models/account-setup/account-setup-items.enum.mjs +0 -19
- package/esm2022/lib/models/address/address.mjs +0 -50
- package/esm2022/lib/models/address/country.mjs +0 -18
- package/esm2022/lib/models/address/index.mjs +0 -4
- package/esm2022/lib/models/address/states.enum.mjs +0 -12
- package/esm2022/lib/models/asset-sale.mjs +0 -10
- package/esm2022/lib/models/badge/badge-color.enum.mjs +0 -8
- package/esm2022/lib/models/badge/badge.mjs +0 -14
- package/esm2022/lib/models/bank/allocation-group.mjs +0 -57
- package/esm2022/lib/models/bank/bank-account-chart-data.mjs +0 -30
- package/esm2022/lib/models/bank/bank-account-property.mjs +0 -14
- package/esm2022/lib/models/bank/bank-account-types.const.mjs +0 -14
- package/esm2022/lib/models/bank/bank-account.mjs +0 -176
- package/esm2022/lib/models/bank/bank-connection.mjs +0 -55
- package/esm2022/lib/models/bank/bank-external-stats.mjs +0 -8
- package/esm2022/lib/models/bank/bank-transaction-chart-data.mjs +0 -100
- package/esm2022/lib/models/bank/bank-transaction-summary-fields.enum.mjs +0 -6
- package/esm2022/lib/models/bank/bank-transaction.mjs +0 -77
- package/esm2022/lib/models/bank/bank.mjs +0 -37
- package/esm2022/lib/models/bank/basiq/basiq-config.mjs +0 -12
- package/esm2022/lib/models/bank/basiq/basiq-connection-data.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-connections-response.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-job-response.mjs +0 -15
- package/esm2022/lib/models/bank/basiq/basiq-job-step.mjs +0 -18
- package/esm2022/lib/models/bank/basiq/basiq-job.mjs +0 -4
- package/esm2022/lib/models/bank/basiq/basiq-token-response.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-token.mjs +0 -15
- package/esm2022/lib/models/bank/basiq/index.mjs +0 -9
- package/esm2022/lib/models/bank/index.mjs +0 -14
- package/esm2022/lib/models/bank/type-loan.const.mjs +0 -9
- package/esm2022/lib/models/borrowing-expense/borrowing-expense-loan.mjs +0 -4
- package/esm2022/lib/models/borrowing-expense/borrowing-expense.mjs +0 -4
- package/esm2022/lib/models/borrowing-expense/index.mjs +0 -3
- package/esm2022/lib/models/budget/budget-rule.mjs +0 -14
- package/esm2022/lib/models/budget/budget.mjs +0 -18
- package/esm2022/lib/models/budget/index.mjs +0 -3
- package/esm2022/lib/models/chart/chart-data.mjs +0 -13
- package/esm2022/lib/models/chart/chart-serie.mjs +0 -7
- package/esm2022/lib/models/chart-accounts/chart-accounts-categories.const.mjs +0 -122
- package/esm2022/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +0 -48
- package/esm2022/lib/models/chart-accounts/chart-accounts-depreciation.mjs +0 -16
- package/esm2022/lib/models/chart-accounts/chart-accounts-heading.mjs +0 -4
- package/esm2022/lib/models/chart-accounts/chart-accounts-meta-field.mjs +0 -20
- package/esm2022/lib/models/chart-accounts/chart-accounts-tax-labels.enum.mjs +0 -7
- package/esm2022/lib/models/chart-accounts/chart-accounts-value.mjs +0 -4
- package/esm2022/lib/models/chart-accounts/chart-accounts.mjs +0 -249
- package/esm2022/lib/models/chart-accounts/index.mjs +0 -9
- package/esm2022/lib/models/chat/chat-view-type.enum.mjs +0 -6
- package/esm2022/lib/models/chat/chat.mjs +0 -26
- package/esm2022/lib/models/chat/index.mjs +0 -5
- package/esm2022/lib/models/chat/message-document.mjs +0 -21
- package/esm2022/lib/models/chat/message.mjs +0 -43
- package/esm2022/lib/models/client/annual-client-details.mjs +0 -19
- package/esm2022/lib/models/client/client-details.mjs +0 -4
- package/esm2022/lib/models/client/client-invite.mjs +0 -68
- package/esm2022/lib/models/client/client-movement.mjs +0 -23
- package/esm2022/lib/models/client/client-portfolio-chart-data.mjs +0 -55
- package/esm2022/lib/models/client/client-portfolio-report.mjs +0 -7
- package/esm2022/lib/models/client/index.mjs +0 -7
- package/esm2022/lib/models/color/alphabet-colors.enum.mjs +0 -30
- package/esm2022/lib/models/depreciation/depreciation-capital-project.mjs +0 -9
- package/esm2022/lib/models/depreciation/depreciation-forecast.mjs +0 -42
- package/esm2022/lib/models/depreciation/depreciation-group-item.mjs +0 -18
- package/esm2022/lib/models/depreciation/depreciation-group.enum.mjs +0 -10
- package/esm2022/lib/models/depreciation/depreciation-group.mjs +0 -20
- package/esm2022/lib/models/depreciation/depreciation-groups.const.mjs +0 -34
- package/esm2022/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +0 -9
- package/esm2022/lib/models/depreciation/depreciation.mjs +0 -188
- package/esm2022/lib/models/depreciation/index.mjs +0 -9
- package/esm2022/lib/models/dictionary/dictionary.mjs +0 -49
- package/esm2022/lib/models/dictionary/index.mjs +0 -2
- package/esm2022/lib/models/document/document-api-url-prefix.enum.mjs +0 -9
- package/esm2022/lib/models/document/document-file-types.const.mjs +0 -23
- package/esm2022/lib/models/document/document-folder.mjs +0 -4
- package/esm2022/lib/models/document/document.mjs +0 -17
- package/esm2022/lib/models/document/index.mjs +0 -5
- package/esm2022/lib/models/employee/employee-details.mjs +0 -10
- package/esm2022/lib/models/employee/employee-invite.mjs +0 -14
- package/esm2022/lib/models/endpoint/endpoint.mjs +0 -23
- package/esm2022/lib/models/endpoint/endpoints.const.mjs +0 -248
- package/esm2022/lib/models/event/app-event-type.enum.mjs +0 -66
- package/esm2022/lib/models/event/app-event.mjs +0 -21
- package/esm2022/lib/models/event/index.mjs +0 -3
- package/esm2022/lib/models/export/export-cell-type.enum.mjs +0 -11
- package/esm2022/lib/models/export/export-cell.mjs +0 -6
- package/esm2022/lib/models/export/export-data-table.mjs +0 -3
- package/esm2022/lib/models/export/export-format.enum.mjs +0 -6
- package/esm2022/lib/models/file/file.mjs +0 -12
- package/esm2022/lib/models/file/icons-file.enum.mjs +0 -7
- package/esm2022/lib/models/file/index.mjs +0 -2
- package/esm2022/lib/models/financial-year/financial-year.mjs +0 -57
- package/esm2022/lib/models/financial-year/index.mjs +0 -5
- package/esm2022/lib/models/financial-year/month-name-short.enum.mjs +0 -21
- package/esm2022/lib/models/financial-year/month-number.enum.mjs +0 -21
- package/esm2022/lib/models/financial-year/months.const.mjs +0 -2
- package/esm2022/lib/models/firm/firm.mjs +0 -26
- package/esm2022/lib/models/holding/holding-import.mjs +0 -16
- package/esm2022/lib/models/holding/holding-reinvest.mjs +0 -22
- package/esm2022/lib/models/holding/holding-sale.mjs +0 -37
- package/esm2022/lib/models/holding/holding-type-exchange.mjs +0 -13
- package/esm2022/lib/models/holding/holding-type.mjs +0 -64
- package/esm2022/lib/models/holding/holding.mjs +0 -82
- package/esm2022/lib/models/holding/index.mjs +0 -7
- package/esm2022/lib/models/income-position/income-position.mjs +0 -9
- package/esm2022/lib/models/income-source/income-source-chart-data.mjs +0 -45
- package/esm2022/lib/models/income-source/income-source-forecast.mjs +0 -34
- package/esm2022/lib/models/income-source/income-source-type.mjs +0 -20
- package/esm2022/lib/models/income-source/income-source.mjs +0 -58
- package/esm2022/lib/models/income-source/index.mjs +0 -7
- package/esm2022/lib/models/income-source/salary-forecast.mjs +0 -36
- package/esm2022/lib/models/income-source/sole-forecast.mjs +0 -13
- package/esm2022/lib/models/index.mjs +0 -26
- package/esm2022/lib/models/loan/index.mjs +0 -5
- package/esm2022/lib/models/loan/loan-max-number-of-payments.enum.mjs +0 -11
- package/esm2022/lib/models/loan/loan-payment.mjs +0 -13
- package/esm2022/lib/models/loan/loan-payout.mjs +0 -11
- package/esm2022/lib/models/loan/loan.mjs +0 -84
- package/esm2022/lib/models/notification/index.mjs +0 -2
- package/esm2022/lib/models/notification/notification.mjs +0 -39
- package/esm2022/lib/models/pdf/pdf-orientation.enum.mjs +0 -6
- package/esm2022/lib/models/pdf/pdf-settings.mjs +0 -17
- package/esm2022/lib/models/phone/phone.mjs +0 -19
- package/esm2022/lib/models/property/borrowing-report.mjs +0 -50
- package/esm2022/lib/models/property/calculation-form-item.mjs +0 -17
- package/esm2022/lib/models/property/calculation-form-type.enum.mjs +0 -9
- package/esm2022/lib/models/property/capital-costs-itmes.const.mjs +0 -57
- package/esm2022/lib/models/property/corelogic-suggestion.mjs +0 -7
- package/esm2022/lib/models/property/index.mjs +0 -18
- package/esm2022/lib/models/property/property-category-movement.mjs +0 -24
- package/esm2022/lib/models/property/property-category.mjs +0 -15
- package/esm2022/lib/models/property/property-document.mjs +0 -17
- package/esm2022/lib/models/property/property-equity-chart-data.mjs +0 -157
- package/esm2022/lib/models/property/property-equity-chart-item.mjs +0 -24
- package/esm2022/lib/models/property/property-equity-chart-type.enum.mjs +0 -6
- package/esm2022/lib/models/property/property-forecast.mjs +0 -56
- package/esm2022/lib/models/property/property-sale/index.mjs +0 -6
- package/esm2022/lib/models/property/property-sale/property-sale-cost-base.mjs +0 -20
- package/esm2022/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/models/property/property-sale/property-sale.mjs +0 -55
- package/esm2022/lib/models/property/property-sale/tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/models/property/property-sale/tax-exemption.mjs +0 -8
- package/esm2022/lib/models/property/property-share.mjs +0 -47
- package/esm2022/lib/models/property/property-subscription.mjs +0 -13
- package/esm2022/lib/models/property/property-valuation.mjs +0 -24
- package/esm2022/lib/models/property/property.mjs +0 -249
- package/esm2022/lib/models/registration-invite/registration-invite.mjs +0 -13
- package/esm2022/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +0 -10
- package/esm2022/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +0 -21
- package/esm2022/lib/models/report/depreciation/depreciation-report-item.mjs +0 -25
- package/esm2022/lib/models/report/depreciation/index.mjs +0 -4
- package/esm2022/lib/models/report/index.mjs +0 -6
- package/esm2022/lib/models/report/my-tax/ato-links.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/index.mjs +0 -26
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +0 -27
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +0 -16
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +0 -15
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +0 -74
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +0 -70
- package/esm2022/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +0 -9
- package/esm2022/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +0 -30
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +0 -13
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +0 -62
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +0 -10
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +0 -96
- package/esm2022/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +0 -17
- package/esm2022/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +0 -40
- package/esm2022/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +0 -75
- package/esm2022/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +0 -8
- package/esm2022/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +0 -8
- package/esm2022/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +0 -47
- package/esm2022/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +0 -30
- package/esm2022/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +0 -48
- package/esm2022/lib/models/report/property/index.mjs +0 -4
- package/esm2022/lib/models/report/property/property-report-item-depreciation.mjs +0 -19
- package/esm2022/lib/models/report/property/property-report-item-transaction.mjs +0 -12
- package/esm2022/lib/models/report/property/property-report-item.mjs +0 -30
- package/esm2022/lib/models/report/sole/index.mjs +0 -2
- package/esm2022/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +0 -17
- package/esm2022/lib/models/report/vehicle-expense/vehicle-expense.mjs +0 -17
- package/esm2022/lib/models/service-subscription/index.mjs +0 -10
- package/esm2022/lib/models/service-subscription/module-url-list.const.mjs +0 -12
- package/esm2022/lib/models/service-subscription/payment-method-brand.enum.mjs +0 -12
- package/esm2022/lib/models/service-subscription/service-payment-method.mjs +0 -31
- package/esm2022/lib/models/service-subscription/service-payment.mjs +0 -22
- package/esm2022/lib/models/service-subscription/service-price.mjs +0 -25
- package/esm2022/lib/models/service-subscription/service-product-icons.enum.mjs +0 -11
- package/esm2022/lib/models/service-subscription/service-product-roles.const.mjs +0 -11
- package/esm2022/lib/models/service-subscription/service-product.mjs +0 -27
- package/esm2022/lib/models/service-subscription/service-promo-code-duration.enum.mjs +0 -7
- package/esm2022/lib/models/service-subscription/service-promo-code.mjs +0 -30
- package/esm2022/lib/models/service-subscription/service-subscription-item.mjs +0 -24
- package/esm2022/lib/models/service-subscription/service-subscription.mjs +0 -161
- package/esm2022/lib/models/sole/bas-report.mjs +0 -39
- package/esm2022/lib/models/sole/index.mjs +0 -13
- package/esm2022/lib/models/sole/sole-business-activity.mjs +0 -4
- package/esm2022/lib/models/sole/sole-business-allocation.mjs +0 -18
- package/esm2022/lib/models/sole/sole-business-loss-offset-rule.mjs +0 -9
- package/esm2022/lib/models/sole/sole-business-loss.mjs +0 -27
- package/esm2022/lib/models/sole/sole-business.mjs +0 -57
- package/esm2022/lib/models/sole/sole-contact.mjs +0 -30
- package/esm2022/lib/models/sole/sole-depreciation-method.mjs +0 -8
- package/esm2022/lib/models/sole/sole-details.mjs +0 -10
- package/esm2022/lib/models/sole/sole-invoice-item.mjs +0 -47
- package/esm2022/lib/models/sole/sole-invoice-template.mjs +0 -31
- package/esm2022/lib/models/sole/sole-invoice.mjs +0 -142
- package/esm2022/lib/models/tax-return/index.mjs +0 -4
- package/esm2022/lib/models/tax-return/tax-return-category.mjs +0 -19
- package/esm2022/lib/models/tax-return/tax-return-item.mjs +0 -40
- package/esm2022/lib/models/tax-return/tax-return.mjs +0 -10
- package/esm2022/lib/models/tax-review/tax-review.mjs +0 -86
- package/esm2022/lib/models/tax-summary/report-item-details.mjs +0 -10
- package/esm2022/lib/models/tax-summary/report-item.mjs +0 -29
- package/esm2022/lib/models/tax-summary/tax-summary-section.mjs +0 -32
- package/esm2022/lib/models/tax-summary/tax-summary-type.enum.mjs +0 -9
- package/esm2022/lib/models/tax-summary/tax-summary.mjs +0 -152
- package/esm2022/lib/models/toast/toast-type.enum.mjs +0 -8
- package/esm2022/lib/models/toast/toast.mjs +0 -10
- package/esm2022/lib/models/transaction/allocation-rule-condition.mjs +0 -40
- package/esm2022/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +0 -4
- package/esm2022/lib/models/transaction/allocation-rule-transaction.mjs +0 -110
- package/esm2022/lib/models/transaction/allocation-rule.mjs +0 -131
- package/esm2022/lib/models/transaction/income-amount-type.enum.mjs +0 -9
- package/esm2022/lib/models/transaction/index.mjs +0 -9
- package/esm2022/lib/models/transaction/transaction-allocation.mjs +0 -21
- package/esm2022/lib/models/transaction/transaction-category.enum.mjs +0 -8
- package/esm2022/lib/models/transaction/transaction-meta-field.mjs +0 -17
- package/esm2022/lib/models/transaction/transaction.mjs +0 -249
- package/esm2022/lib/models/user/index.mjs +0 -10
- package/esm2022/lib/models/user/my-account-history-initiated-by.enum.mjs +0 -6
- package/esm2022/lib/models/user/my-account-history-status.enum.mjs +0 -6
- package/esm2022/lib/models/user/my-account-history-type.enum.mjs +0 -7
- package/esm2022/lib/models/user/my-account-history.mjs +0 -3
- package/esm2022/lib/models/user/occupation.mjs +0 -4
- package/esm2022/lib/models/user/user-roles.const.mjs +0 -20
- package/esm2022/lib/models/user/user-to-register.mjs +0 -6
- package/esm2022/lib/models/user/user-work-position.const.mjs +0 -7
- package/esm2022/lib/models/user/user.mjs +0 -171
- package/esm2022/lib/models/user-event/user-event-setting-field.enum.mjs +0 -10
- package/esm2022/lib/models/user-event/user-event-setting.mjs +0 -18
- package/esm2022/lib/models/user-event/user-event-type-category.mjs +0 -4
- package/esm2022/lib/models/user-event/user-event-type.mjs +0 -23
- package/esm2022/lib/models/vehicle/index.mjs +0 -5
- package/esm2022/lib/models/vehicle/vehicle-claim-details.mjs +0 -27
- package/esm2022/lib/models/vehicle/vehicle-claim.mjs +0 -60
- package/esm2022/lib/models/vehicle/vehicle-logbook.mjs +0 -27
- package/esm2022/lib/models/vehicle/vehicle.mjs +0 -10
- package/esm2022/lib/pipes/app-currency.pipe.mjs +0 -23
- package/esm2022/lib/pipes/index.mjs +0 -3
- package/esm2022/lib/pipes/safe-url.pipe.mjs +0 -21
- package/esm2022/lib/services/account-setup/account-setup.service.mjs +0 -168
- package/esm2022/lib/services/account-setup/index.mjs +0 -2
- package/esm2022/lib/services/asset/assets.service.mjs +0 -51
- package/esm2022/lib/services/asset/index.mjs +0 -2
- package/esm2022/lib/services/auth/auth.service.mjs +0 -50
- package/esm2022/lib/services/auth/index.mjs +0 -3
- package/esm2022/lib/services/auth/jwt.service.mjs +0 -48
- package/esm2022/lib/services/bank/bank-account-calculation.service.mjs +0 -32
- package/esm2022/lib/services/bank/index.mjs +0 -2
- package/esm2022/lib/services/data.service.mjs +0 -44
- package/esm2022/lib/services/event/event-dispatcher.service.mjs +0 -41
- package/esm2022/lib/services/event/index.mjs +0 -3
- package/esm2022/lib/services/event/sse.service.mjs +0 -48
- package/esm2022/lib/services/export/export-formatter.service.mjs +0 -34
- package/esm2022/lib/services/export/index.mjs +0 -2
- package/esm2022/lib/services/header-title/header-title.service.mjs +0 -28
- package/esm2022/lib/services/header-title/index.mjs +0 -2
- package/esm2022/lib/services/http/address/address.service.mjs +0 -37
- package/esm2022/lib/services/http/address/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank-account/bank-account.service.mjs +0 -84
- package/esm2022/lib/services/http/bank/bank-account/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +0 -23
- package/esm2022/lib/services/http/bank/bank-connection/bank-connection.service.mjs +0 -78
- package/esm2022/lib/services/http/bank/bank-connection/index.mjs +0 -3
- package/esm2022/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +0 -77
- package/esm2022/lib/services/http/bank/bank-transaction/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank.service.mjs +0 -26
- package/esm2022/lib/services/http/bank/basiq/basiq-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/bank/basiq/basiq-token.service.mjs +0 -39
- package/esm2022/lib/services/http/bank/basiq/basiq.service.mjs +0 -142
- package/esm2022/lib/services/http/bank/basiq/index.mjs +0 -4
- package/esm2022/lib/services/http/bank/index.mjs +0 -6
- package/esm2022/lib/services/http/budget/budget-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/budget/budget.service.mjs +0 -23
- package/esm2022/lib/services/http/budget/index.mjs +0 -3
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +0 -26
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +0 -2
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/chart-accounts/chart-accounts.service.mjs +0 -49
- package/esm2022/lib/services/http/chart-accounts/index.mjs +0 -4
- package/esm2022/lib/services/http/chat/chat.service.mjs +0 -88
- package/esm2022/lib/services/http/chat/index.mjs +0 -4
- package/esm2022/lib/services/http/chat/message-document.service.mjs +0 -80
- package/esm2022/lib/services/http/chat/message.service.mjs +0 -35
- package/esm2022/lib/services/http/client/capital-gain/annual-client-details.service.mjs +0 -23
- package/esm2022/lib/services/http/client/client-coupon.service.mjs +0 -27
- package/esm2022/lib/services/http/client/index.mjs +0 -4
- package/esm2022/lib/services/http/client/occupation/occupation.service.mjs +0 -43
- package/esm2022/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +0 -27
- package/esm2022/lib/services/http/depreciation/depreciation-capital-project/index.mjs +0 -2
- package/esm2022/lib/services/http/depreciation/depreciation.service.mjs +0 -106
- package/esm2022/lib/services/http/depreciation/index.mjs +0 -3
- package/esm2022/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/document/document-folder/document-folder.service.mjs +0 -26
- package/esm2022/lib/services/http/document/document-folder/index.mjs +0 -3
- package/esm2022/lib/services/http/document/document-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/document/document.service.mjs +0 -23
- package/esm2022/lib/services/http/document/index.mjs +0 -4
- package/esm2022/lib/services/http/facebook/facebook-auth-options.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook-auth-response.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook-status-response.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook.service.mjs +0 -87
- package/esm2022/lib/services/http/facebook/index.mjs +0 -2
- package/esm2022/lib/services/http/file/file.service.mjs +0 -39
- package/esm2022/lib/services/http/file/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +0 -15
- package/esm2022/lib/services/http/firm/client-invite/client-invite.service.mjs +0 -100
- package/esm2022/lib/services/http/firm/client-invite/index.mjs +0 -3
- package/esm2022/lib/services/http/firm/client-movement/client-movement.service.mjs +0 -87
- package/esm2022/lib/services/http/firm/client-movement/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/employee/employee-messages.enum.mjs +0 -13
- package/esm2022/lib/services/http/firm/employee/employee.service.mjs +0 -42
- package/esm2022/lib/services/http/firm/employee/index.mjs +0 -3
- package/esm2022/lib/services/http/firm/employee-invite/employee-invite.service.mjs +0 -48
- package/esm2022/lib/services/http/firm/employee-invite/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/firm-messages.enum.mjs +0 -6
- package/esm2022/lib/services/http/firm/firm.service.mjs +0 -63
- package/esm2022/lib/services/http/firm/index.mjs +0 -8
- package/esm2022/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +0 -37
- package/esm2022/lib/services/http/firm/portfolio-report/index.mjs +0 -2
- package/esm2022/lib/services/http/google/google.service.mjs +0 -77
- package/esm2022/lib/services/http/google/index.mjs +0 -2
- package/esm2022/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +0 -9
- package/esm2022/lib/services/http/holding/holding-import/holding-import.service.mjs +0 -37
- package/esm2022/lib/services/http/holding/holding-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/holding/holding-sale-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/holding/holding-sale.service.mjs +0 -23
- package/esm2022/lib/services/http/holding/holding-type-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/holding/holding-type.service.mjs +0 -23
- package/esm2022/lib/services/http/holding/holding.service.mjs +0 -35
- package/esm2022/lib/services/http/holding/index.mjs +0 -10
- package/esm2022/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +0 -84
- package/esm2022/lib/services/http/income-source/income-source-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/income-source-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/income-source/income-source.service.mjs +0 -93
- package/esm2022/lib/services/http/income-source/index.mjs +0 -6
- package/esm2022/lib/services/http/income-source/salary-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +0 -83
- package/esm2022/lib/services/http/income-source/sole-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +0 -90
- package/esm2022/lib/services/http/index.mjs +0 -29
- package/esm2022/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +0 -74
- package/esm2022/lib/services/http/loan/borrowing-expense/index.mjs +0 -2
- package/esm2022/lib/services/http/loan/index.mjs +0 -3
- package/esm2022/lib/services/http/loan/loan.service.mjs +0 -91
- package/esm2022/lib/services/http/pdf/pdf.service.mjs +0 -30
- package/esm2022/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +0 -23
- package/esm2022/lib/services/http/property/borrowing-report/index.mjs +0 -3
- package/esm2022/lib/services/http/property/index.mjs +0 -10
- package/esm2022/lib/services/http/property/property-category/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-category/property-category.service.mjs +0 -26
- package/esm2022/lib/services/http/property/property-category-movement/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property-document/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-document/property-document-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/property/property-document/property-document.service.mjs +0 -33
- package/esm2022/lib/services/http/property/property-messages.enum.mjs +0 -6
- package/esm2022/lib/services/http/property/property-sale/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-sale/property-sale.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property-share/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-share/property-share.service.mjs +0 -66
- package/esm2022/lib/services/http/property/property-valuation/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/property/property-valuation/property-valuation.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property.service.mjs +0 -87
- package/esm2022/lib/services/http/rest/http-method.type.mjs +0 -2
- package/esm2022/lib/services/http/rest/index.mjs +0 -4
- package/esm2022/lib/services/http/rest/rest-method.type.mjs +0 -2
- package/esm2022/lib/services/http/rest/rest-old.service.mjs +0 -240
- package/esm2022/lib/services/http/rest/rest.service.mjs +0 -297
- package/esm2022/lib/services/http/service-notification/index.mjs +0 -2
- package/esm2022/lib/services/http/service-notification/service-notification.service.mjs +0 -72
- package/esm2022/lib/services/http/setup-item/setup-item.service.mjs +0 -23
- package/esm2022/lib/services/http/sole/bas-report/bas-report.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/index.mjs +0 -11
- package/esm2022/lib/services/http/sole/sole-business/index.mjs +0 -3
- package/esm2022/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +0 -5
- package/esm2022/lib/services/http/sole/sole-business/sole-business.service.mjs +0 -28
- package/esm2022/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +0 -23
- package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +0 -37
- package/esm2022/lib/services/http/sole/sole-contact/sole-contact.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +0 -73
- package/esm2022/lib/services/http/sole/sole-details/sole-details.service.mjs +0 -64
- package/esm2022/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +0 -48
- package/esm2022/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +0 -20
- package/esm2022/lib/services/http/subscription/index.mjs +0 -7
- package/esm2022/lib/services/http/subscription/service-payment/service-payment.service.mjs +0 -33
- package/esm2022/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +0 -45
- package/esm2022/lib/services/http/subscription/service-price/service-price.service.mjs +0 -26
- package/esm2022/lib/services/http/subscription/service-product/service-product.service.mjs +0 -23
- package/esm2022/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/subscription/service-subscription/subscription.service.mjs +0 -84
- package/esm2022/lib/services/http/tax-review/index.mjs +0 -4
- package/esm2022/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +0 -45
- package/esm2022/lib/services/http/tax-review/tax-review-messages.enum.mjs +0 -20
- package/esm2022/lib/services/http/tax-review/tax-review.service.mjs +0 -106
- package/esm2022/lib/services/http/tax-summary/index.mjs +0 -2
- package/esm2022/lib/services/http/tax-summary/tax-summary.service.mjs +0 -71
- package/esm2022/lib/services/http/transaction/index.mjs +0 -4
- package/esm2022/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +0 -22
- package/esm2022/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +0 -117
- package/esm2022/lib/services/http/transaction/transaction.service.mjs +0 -288
- package/esm2022/lib/services/http/user/financial-year/financial-year.service.mjs +0 -29
- package/esm2022/lib/services/http/user/index.mjs +0 -8
- package/esm2022/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +0 -23
- package/esm2022/lib/services/http/user/user-event-type/user-event-type.service.mjs +0 -23
- package/esm2022/lib/services/http/user/user-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/user/user.service.mjs +0 -105
- package/esm2022/lib/services/http/user/users-invite/users-invite.service.mjs +0 -23
- package/esm2022/lib/services/http/vehicle/index.mjs +0 -6
- package/esm2022/lib/services/http/vehicle/vehicle-claim-details.service.mjs +0 -74
- package/esm2022/lib/services/http/vehicle/vehicle-claim.service.mjs +0 -50
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/index.mjs +0 -3
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +0 -25
- package/esm2022/lib/services/http/vehicle/vehicle-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/vehicle/vehicle.service.mjs +0 -25
- package/esm2022/lib/services/http/youtube/index.mjs +0 -3
- package/esm2022/lib/services/http/youtube/youtube-video.interface.mjs +0 -2
- package/esm2022/lib/services/http/youtube/youtube.service.mjs +0 -34
- package/esm2022/lib/services/index.mjs +0 -19
- package/esm2022/lib/services/intercom/index.mjs +0 -2
- package/esm2022/lib/services/intercom/intercom.service.mjs +0 -41
- package/esm2022/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +0 -31
- package/esm2022/lib/services/json/holding/holding-type-exchange.service.mjs +0 -23
- package/esm2022/lib/services/json/income-source/income-source-type.service.mjs +0 -23
- package/esm2022/lib/services/json/index.mjs +0 -6
- package/esm2022/lib/services/json/tax-exemption/tax-exemption.service.mjs +0 -23
- package/esm2022/lib/services/json/tax-return/tax-return-item.service.mjs +0 -23
- package/esm2022/lib/services/mixpanel/mixpanel.service.mjs +0 -54
- package/esm2022/lib/services/pdf/index.mjs +0 -6
- package/esm2022/lib/services/pdf/js-pdf.mjs +0 -10
- package/esm2022/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +0 -21
- package/esm2022/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +0 -47
- package/esm2022/lib/services/pdf/pdf-from-table/file-settings.mjs +0 -36
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +0 -46
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +0 -42
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +0 -63
- package/esm2022/lib/services/preloader/index.mjs +0 -2
- package/esm2022/lib/services/preloader/preloader.service.mjs +0 -30
- package/esm2022/lib/services/property/corelogic/corelogic.service.mjs +0 -42
- package/esm2022/lib/services/property/corelogic/index.mjs +0 -2
- package/esm2022/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +0 -39
- package/esm2022/lib/services/property/equity-position-chart/index.mjs +0 -2
- package/esm2022/lib/services/property/index.mjs +0 -4
- package/esm2022/lib/services/property/property-calculation/index.mjs +0 -2
- package/esm2022/lib/services/property/property-calculation/property-calculation.service.mjs +0 -158
- package/esm2022/lib/services/report/index.mjs +0 -2
- package/esm2022/lib/services/report/property/property-transaction-report.service.mjs +0 -65
- package/esm2022/lib/services/toast/index.mjs +0 -2
- package/esm2022/lib/services/toast/toast.service.mjs +0 -59
- package/esm2022/lib/services/user/index.mjs +0 -2
- package/esm2022/lib/services/user/user-switcher.service.mjs +0 -37
- package/esm2022/lib/services/xlsx/index.mjs +0 -2
- package/esm2022/lib/services/xlsx/xlsx.service.mjs +0 -84
- package/esm2022/lib/tt-core.module.mjs +0 -37
- package/esm2022/lib/validators/address-corelogic.validator.mjs +0 -19
- package/esm2022/lib/validators/at-least-one-enabled.validator.mjs +0 -9
- package/esm2022/lib/validators/at-least-one.validator.mjs +0 -9
- package/esm2022/lib/validators/autocomplete.validator.mjs +0 -8
- package/esm2022/lib/validators/conditional.validator.mjs +0 -26
- package/esm2022/lib/validators/current-fin-year.validator.mjs +0 -14
- package/esm2022/lib/validators/date-range.validator.mjs +0 -22
- package/esm2022/lib/validators/fields-sum.validator.mjs +0 -24
- package/esm2022/lib/validators/file.validator.mjs +0 -36
- package/esm2022/lib/validators/greater-than.validator.mjs +0 -12
- package/esm2022/lib/validators/group.validator.mjs +0 -11
- package/esm2022/lib/validators/index.mjs +0 -12
- package/esm2022/lib/validators/min-date/messages.enum.mjs +0 -5
- package/esm2022/lib/validators/min-date/min-date.validator.mjs +0 -18
- package/esm2022/lib/validators/password-match.validator.mjs +0 -17
- package/esm2022/lib/validators/password.validator.mjs +0 -20
- package/esm2022/lib/validators/phone-number.validator.mjs +0 -9
- package/esm2022/lib/validators/required-length.validator.mjs +0 -12
- package/esm2022/lib/validators/transactions-meta-fields.validator.mjs +0 -33
- package/esm2022/lib/validators/unique-email.validator.mjs +0 -19
- package/lib/collections/subscription/service-subscription.collection.d.ts +0 -23
- package/lib/db/Models/setup-item.d.ts +0 -11
- package/lib/db/Models/subscription/service-product.d.ts +0 -19
- package/lib/db/Models/subscription/service-subscription.d.ts +0 -23
- package/lib/db/Models/user/user.d.ts +0 -59
- package/lib/interceptors/jwt-interceptor.d.ts +0 -41
- package/lib/interfaces/auth-tokens.interface.d.ts +0 -7
- package/lib/interfaces/index.d.ts +0 -14
- package/lib/models/service-subscription/service-product-roles.const.d.ts +0 -5
- package/lib/models/user/user-roles.const.d.ts +0 -7
- package/lib/models/user/user.d.ts +0 -72
- package/lib/pipes/app-currency.pipe.d.ts +0 -11
- package/lib/services/auth/auth.service.d.ts +0 -20
- package/lib/services/auth/index.d.ts +0 -2
- package/lib/services/auth/jwt.service.d.ts +0 -17
- package/lib/services/event/sse.service.d.ts +0 -20
- package/lib/services/http/facebook/facebook.service.d.ts +0 -38
- package/lib/services/http/firm/employee/employee.service.d.ts +0 -20
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +0 -25
- package/lib/services/http/google/google.service.d.ts +0 -43
- package/lib/services/http/holding/holding-import/holding-import.service.d.ts +0 -17
- package/lib/services/http/holding/holding.service.d.ts +0 -19
- package/lib/services/http/rest/rest-old.service.d.ts +0 -117
- package/lib/services/http/rest/rest.service.d.ts +0 -121
- package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +0 -24
- package/lib/services/http/user/user.service.d.ts +0 -43
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts +0 -21
- package/lib/services/index.d.ts +0 -18
- package/lib/tt-core.module.d.ts +0 -13
- /package/{lib/db/Enums → common/src/db/enums/user}/user-roles.enum.d.ts +0 -0
- /package/{lib → common/src}/interceptors/interceptors.module.d.ts +0 -0
- /package/{lib/services/mixpanel → common/src/services}/mixpanel.service.d.ts +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/chart-accounts/chart-accounts-value.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/holding/holding-type-exchange.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/income-source/income_source_type.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/property/tax-exemption.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/tax-return/tax-return-item.json +0 -0
- /package/{lib → src/lib}/collections/account-setup-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/allocation-group.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/allocation-rule.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/asset-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/bank-account.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/bank-transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chart-accounts.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/chat.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/message-document.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/message.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-invite.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-movement.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-portfolio-report.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/collection-dictionary.d.ts +0 -0
- /package/{lib → src/lib}/collections/collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/depreciation-forecast.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/depreciation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/employee.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/exportable.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding-type.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/income-source-forecast.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/income-source.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/loan-payment.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/loan.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-category-movement.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/property-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-share.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-valuation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/tax-exemption.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/depreciation/depreciation-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item-depreciation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item-transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/vehicle-expense/vehicle-expense.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-business-losses.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-invoice-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-invoice.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/service-price.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/service-product.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/subscription-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-review.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/tax-return-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/transaction-allocation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/user-event-setting.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/user-event-type-collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/best-vehicle-logbook.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/vehicle-claim.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/vehicle-logbook.collection.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/address-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-comparison-operator.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-operator.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/annual-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-account-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-account-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-connection-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-popular.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-provider.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-transaction-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-bank-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-interest-type-label.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-interest-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-payout-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-type-label.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-vehicle-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chat-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-work-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-working-holiday-maker.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-invite-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-calculation-percent.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-write-off-amount.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/document-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/file-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/firm-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/holding-type-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/holding-type-exchange-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-forecast-trust-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-holding.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-other.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-sole.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-work.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/phone-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-category-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-sale/tax-exemption-meta-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-sale/tax-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-share-access.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-share-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/registration-invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/salary-forecast-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/service-notification-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/service-notification-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/setup-item-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-depreciation-method.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-statuses.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-tax-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-template-tax-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/spare-document-spare-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-method-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-recurring-interval.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-product-id.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-product-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-subscription-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tank-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-calculation-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-calculation-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-category-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-category-section.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-item.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-review-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-section.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-tax-summary.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-feedback.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-types.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-operation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-source.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-client-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-employee-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-user-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-title.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-work-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-working-holiday-maker.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/vehicle-claim-details-method.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/vehicle-logbook-purpose.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/abstract-model.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/address.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account-balance.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account-property.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-connection.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-transaction-import.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/basiq-job-step.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/basiq-job.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/budget-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/budget.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-heading.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-value.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/annual-client-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/client-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/occupation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/country.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation-capital-project.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/document-folder.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/folder-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/property-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/file.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/accountant/tax-review.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/accountant/ticket.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/chat.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/client-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/client-movement.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/employee-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/firm-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/firm.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/message-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/message.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-import.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-sale.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-type-exchange.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/salary-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/borrowing-expense-loan.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/borrowing-expense.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/loan-payout.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/loan.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/observable-model.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/phone.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/borrowing-report.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-category-movement.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/property-sale.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/tax-exemption.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-share.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-subscription.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-valuation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/service-notification.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/bas-report.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-activity.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-allocation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-loss-offset-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-loss.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-contact.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-depreciation-method.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice-template.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/spare/spare-document-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/spare/spare-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-payment-method.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-payment.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-price.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-subscription-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-calculation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-condition.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-allocation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-base.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/employee-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/registration-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-setting.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-type-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-claim-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-claim.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-logbook.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle.d.ts +0 -0
- /package/{lib → src/lib}/db-static/chart-accounts/chart-accounts-values.d.ts +0 -0
- /package/{lib → src/lib}/forms/abstract.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/address/address.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/address/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-add-manual.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-allocation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-properties.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-accounts-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/budget/budget.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/chart-accounts/chart-accounts.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/client/annual-client-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/client/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/depreciation/depreciation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/document-folder.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/document.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/firm/firm.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/firm/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/form-validations.enum.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-reinvest.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-sale.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-type.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/loan/loan.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/login/login.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/phone/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/phone/phone.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/borrowing-report.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-add.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-category-movement-form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-document.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-edit.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-forecast.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-cost-base.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-cost-sale.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-exemptions.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-share.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-valuation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/register/register-client.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/register/register-firm.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-cgt.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-deductions.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-dividends.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-income-statements.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-income-tests.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-interest.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-medicare.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-offsets.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-other-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-rent.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/bas-report.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/invoice-payment.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business-allocations.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business-loss.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-contact.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-depreciation-method.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice-item.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice-template.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-condition.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/holding/holding-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/sole/sole-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/sole/sole-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/transaction-base.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-expense.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/client-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/password.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/reset-password.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/user-invite.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/user.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-claim-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-claim.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-logbook.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle.form.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/index.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/replace.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/sort-deep.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/sort.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/to-array.d.ts +0 -0
- /package/{lib → src/lib}/functions/clone-deep.d.ts +0 -0
- /package/{lib → src/lib}/functions/create-date.d.ts +0 -0
- /package/{lib → src/lib}/functions/enum-to-list.d.ts +0 -0
- /package/{lib → src/lib}/functions/get-doc-icon.d.ts +0 -0
- /package/{lib → src/lib}/functions/mat-options-functions.d.ts +0 -0
- /package/{lib → src/lib}/functions/mat-sort-options.d.ts +0 -0
- /package/{lib → src/lib}/functions/tax-review-filter-predicate.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/basiq-client-id.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/basiq-token.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/corelogic-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/financial-year-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/preloader.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/rewardful.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/user-switcher-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset-entity-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/chart-data.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/chart-serie.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/document.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/documentable.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/event-listener.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/expense.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/income-source-forecast.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/option.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/tank.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/updatable.interface.d.ts +0 -0
- /package/{lib → src/lib}/messages/index.d.ts +0 -0
- /package/{lib → src/lib}/messages/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/account-setup/account-setup-item.d.ts +0 -0
- /package/{lib → src/lib}/models/account-setup/account-setup-items.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/address/address.d.ts +0 -0
- /package/{lib → src/lib}/models/address/country.d.ts +0 -0
- /package/{lib → src/lib}/models/address/index.d.ts +0 -0
- /package/{lib → src/lib}/models/address/states.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/asset-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/badge/badge-color.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/badge/badge.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/allocation-group.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-property.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-types.const.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-connection.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-external-stats.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction-summary-fields.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-config.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-connection-data.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-connections-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job-response.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job-step.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-token-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-token.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/index.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/type-loan.const.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/borrowing-expense-loan.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/borrowing-expense.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/index.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/budget-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/budget.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chart/chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/chart/chart-serie.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-category.e-collection.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-heading.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-value.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/chat-view-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/chat.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/message-document.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/message.d.ts +0 -0
- /package/{lib → src/lib}/models/client/annual-client-details.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-details.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-movement.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-portfolio-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-portfolio-report.d.ts +0 -0
- /package/{lib → src/lib}/models/client/index.d.ts +0 -0
- /package/{lib → src/lib}/models/color/alphabet-colors.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-capital-project.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group-item.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-groups.const.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-lvp-rate.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/models/dictionary/dictionary.d.ts +0 -0
- /package/{lib → src/lib}/models/dictionary/index.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-api-url-prefix.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-file-types.const.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-folder.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document.d.ts +0 -0
- /package/{lib → src/lib}/models/document/index.d.ts +0 -0
- /package/{lib → src/lib}/models/employee/employee-details.d.ts +0 -0
- /package/{lib → src/lib}/models/employee/employee-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/endpoint/endpoint.d.ts +0 -0
- /package/{lib → src/lib}/models/endpoint/endpoints.const.d.ts +0 -0
- /package/{lib → src/lib}/models/event/app-event-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/event/app-event.d.ts +0 -0
- /package/{lib → src/lib}/models/event/index.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-cell-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-cell.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-data-table.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-format.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/file/file.d.ts +0 -0
- /package/{lib → src/lib}/models/file/icons-file.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/file/index.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/financial-year.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/index.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/month-name-short.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/month-number.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/months.const.d.ts +0 -0
- /package/{lib → src/lib}/models/firm/firm.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-import.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-reinvest.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-type-exchange.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-type.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/models/income-position/income-position.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-type.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/salary-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/sole-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/index.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-max-number-of-payments.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-payment.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-payout.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan.d.ts +0 -0
- /package/{lib → src/lib}/models/notification/index.d.ts +0 -0
- /package/{lib → src/lib}/models/notification/notification.d.ts +0 -0
- /package/{lib → src/lib}/models/pdf/pdf-orientation.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/pdf/pdf-settings.d.ts +0 -0
- /package/{lib → src/lib}/models/phone/phone.d.ts +0 -0
- /package/{lib → src/lib}/models/property/borrowing-report.d.ts +0 -0
- /package/{lib → src/lib}/models/property/calculation-form-item.d.ts +0 -0
- /package/{lib → src/lib}/models/property/calculation-form-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/property/capital-costs-itmes.const.d.ts +0 -0
- /package/{lib → src/lib}/models/property/corelogic-suggestion.d.ts +0 -0
- /package/{lib → src/lib}/models/property/index.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-category-movement.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-category.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-document.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-item.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale-cost-base.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/tax-exemption.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-share.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-subscription.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-valuation.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property.d.ts +0 -0
- /package/{lib → src/lib}/models/registration-invite/registration-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-lvp-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/ato-links.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/sole/sole-business/sole-business-loss-report.d.ts +0 -0
- /package/{lib → src/lib}/models/report/vehicle-expense/vehicle-expense.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/module-url-list.const.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/payment-method-brand.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-payment-method.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-payment.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-price.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-product-icons.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-product.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-promo-code-duration.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-promo-code.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-subscription-item.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-subscription.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/bas-report.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-activity.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-allocation.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-loss-offset-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-loss.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-contact.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-depreciation-method.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-details.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice-item.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice-template.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return-category.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return-item.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-review/tax-review.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/report-item-details.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary-section.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary.d.ts +0 -0
- /package/{lib → src/lib}/models/toast/toast-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/toast/toast.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-condition.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/income-amount-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-allocation.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/user/index.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-initiated-by.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history.d.ts +0 -0
- /package/{lib → src/lib}/models/user/occupation.d.ts +0 -0
- /package/{lib → src/lib}/models/user/user-to-register.d.ts +0 -0
- /package/{lib → src/lib}/models/user/user-work-position.const.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-setting-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-setting.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-type-category.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-type.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-claim-details.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-claim.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-logbook.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle.d.ts +0 -0
- /package/{lib → src/lib}/pipes/index.d.ts +0 -0
- /package/{lib → src/lib}/pipes/safe-url.pipe.d.ts +0 -0
- /package/{lib → src/lib}/services/account-setup/account-setup.service.d.ts +0 -0
- /package/{lib → src/lib}/services/account-setup/index.d.ts +0 -0
- /package/{lib → src/lib}/services/asset/assets.service.d.ts +0 -0
- /package/{lib → src/lib}/services/asset/index.d.ts +0 -0
- /package/{lib → src/lib}/services/bank/bank-account-calculation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/services/data.service.d.ts +0 -0
- /package/{lib → src/lib}/services/event/event-dispatcher.service.d.ts +0 -0
- /package/{lib → src/lib}/services/event/index.d.ts +0 -0
- /package/{lib → src/lib}/services/export/export-formatter.service.d.ts +0 -0
- /package/{lib → src/lib}/services/export/index.d.ts +0 -0
- /package/{lib → src/lib}/services/header-title/header-title.service.d.ts +0 -0
- /package/{lib → src/lib}/services/header-title/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/address/address.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/address/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-account/bank-account.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-account/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/bank-connection.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-transaction/bank-transaction.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq-token.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/budget-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/budget.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/chat.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/message-document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/message.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/capital-gain/annual-client-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/client-coupon.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/occupation/occupation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation-capital-project/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/document-folder-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/document-folder.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-auth-options.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-auth-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-status-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/file/file.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/file/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/client-invite-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/client-invite.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-movement/client-movement.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-movement/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee/employee-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee-invite/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/firm-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/firm.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/portfolio-report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/google/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-import/holding-import-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-sale-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-sale.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-type-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/salary-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/salary-forecast/salary-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/sole-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/sole-forecast/sole-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/borrowing-expense/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/loan.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/pdf/pdf.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/borrowing-report-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/borrowing-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category/property-category.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category-movement/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category-movement/property-category-movement.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/property-document-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/property-document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-sale/property-sale.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-share/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-share/property-share.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/property-valuation-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/property-valuation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/http-method.type.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/rest-method.type.d.ts +0 -0
- /package/{lib → src/lib}/services/http/service-notification/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/service-notification/service-notification.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/setup-item/setup-item.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/bas-report/bas-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/sole-business-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/sole-business.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-contact/sole-contact.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-details/sole-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-payment/service-payment.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-payment-method/service-payment-method.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-price/service-price.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-product/service-product.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-subscription/subscription-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-subscription/subscription.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-summary/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-summary/tax-summary.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/financial-year/financial-year.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-event-setting/user-event-setting.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-event-type/user-event-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/users-invite/users-invite.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-claim-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/youtube-video.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/youtube.service.d.ts +0 -0
- /package/{lib → src/lib}/services/intercom/index.d.ts +0 -0
- /package/{lib → src/lib}/services/intercom/intercom.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/chart-accounts/chart-accounts-value.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/holding/holding-type-exchange.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/income-source/income-source-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/index.d.ts +0 -0
- /package/{lib → src/lib}/services/json/tax-exemption/tax-exemption.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/tax-return/tax-return-item.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/index.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/js-pdf.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-dom-element/file-settings.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/file-settings.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/preloader/index.d.ts +0 -0
- /package/{lib → src/lib}/services/preloader/preloader.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/corelogic/corelogic.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/corelogic/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/equity-position-chart/equity-position-chart.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/equity-position-chart/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/property-calculation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/property-calculation/property-calculation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/report/property/property-transaction-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/toast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/toast/toast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/user/index.d.ts +0 -0
- /package/{lib → src/lib}/services/user/user-switcher.service.d.ts +0 -0
- /package/{lib → src/lib}/services/xlsx/index.d.ts +0 -0
- /package/{lib → src/lib}/services/xlsx/xlsx.service.d.ts +0 -0
- /package/{lib → src/lib}/validators/address-corelogic.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/at-least-one-enabled.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/at-least-one.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/autocomplete.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/conditional.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/current-fin-year.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/date-range.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/fields-sum.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/file.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/greater-than.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/group.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/index.d.ts +0 -0
- /package/{lib → src/lib}/validators/min-date/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/validators/min-date/min-date.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/password-match.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/password.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/phone-number.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/required-length.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/transactions-meta-fields.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/unique-email.validator.d.ts +0 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
import { AbstractForm } from '../abstract.form';
|
2
|
+
import { UntypedFormControl, Validators } from '@angular/forms';
|
3
|
+
import { phoneNumberValidator } from '../../validators/phone-number.validator';
|
4
|
+
import { PhoneTypeEnum } from '../../db/Enums/phone-type.enum';
|
5
|
+
import { Country } from '../../models';
|
6
|
+
export class PhoneForm extends AbstractForm {
|
7
|
+
constructor(
|
8
|
+
// no default value because Address form is always a child form. That's mean address value always passed and then default value never work.
|
9
|
+
// even if null passed, default value will not work
|
10
|
+
phone) {
|
11
|
+
super({
|
12
|
+
type: new UntypedFormControl(phone?.type || PhoneTypeEnum.MOBILE, Validators.required),
|
13
|
+
country: new UntypedFormControl(phone?.country || Country.australia, Validators.required),
|
14
|
+
number: new UntypedFormControl(phone?.number || null, [Validators.required, phoneNumberValidator()])
|
15
|
+
}, phone);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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R5cGVkRm9ybUNvbnRyb2wocGhvbmU/LmNvdW50cnkgfHwgQ291bnRyeS5hdXN0cmFsaWEsIFZhbGlkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgbnVtYmVyOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHBob25lPy5udW1iZXIgfHwgbnVsbCwgW1ZhbGlkYXRvcnMucmVxdWlyZWQsIHBob25lTnVtYmVyVmFsaWRhdG9yKCldKVxuICAgIH0sIHBob25lKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { AbstractForm } from '../abstract.form';
|
2
|
+
import { BorrowingReport } from '../../models';
|
3
|
+
import { FormControl, Validators } from '@angular/forms';
|
4
|
+
import { plainToClass } from 'class-transformer';
|
5
|
+
/**
|
6
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4717608961/Borrowing+Power+Report+-+Property+Tank
|
7
|
+
*/
|
8
|
+
export class BorrowingReportForm extends AbstractForm {
|
9
|
+
/**
|
10
|
+
* extra params are auto-calculated numbers used if user didn't specify manual numbers
|
11
|
+
*/
|
12
|
+
constructor(report = plainToClass(BorrowingReport, {}), netSalary, spouseNetSalary) {
|
13
|
+
super({
|
14
|
+
netRentIncome: new FormControl(report.netRentIncome, Validators.required),
|
15
|
+
loanRepaymentAmount: new FormControl(report.loanRepaymentAmount, Validators.required),
|
16
|
+
netSalary: new FormControl(report.netSalary ?? netSalary),
|
17
|
+
spouseNetSalary: new FormControl(report.spouseNetSalary ?? spouseNetSalary),
|
18
|
+
otherLiabilities: new FormControl(report.otherLiabilities, Validators.required),
|
19
|
+
livingExpenses: new FormControl(report.livingExpenses, Validators.required),
|
20
|
+
}, report);
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* some fields are auto-calculated, shouldn't be updated until changed by user
|
24
|
+
*/
|
25
|
+
submit(data = {}, includeDisabledFields = false) {
|
26
|
+
return super.submit({
|
27
|
+
netSalary: (this.model.netSalary || this.fieldChanged('netSalary')) ? this.get('netSalary').value : null,
|
28
|
+
spouseNetSalary: (this.model.netSalary || this.fieldChanged('spouseNetSalary')) ? this.get('spouseNetSalary').value : null,
|
29
|
+
}, includeDisabledFields);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9ycm93aW5nLXJlcG9ydC5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL3Byb3BlcnR5L2JvcnJvd2luZy1yZXBvcnQuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDaEQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUMvQyxPQUFPLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUVqRDs7R0FFRztBQUNILE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxZQUE2QjtJQUNwRTs7T0FFRztJQUNILFlBQVksU0FBMEIsWUFBWSxDQUFDLGVBQWUsRUFBRSxFQUFFLENBQUMsRUFBRSxTQUFrQixFQUFFLGVBQXdCO1FBQ25ILEtBQUssQ0FBQztZQUNKLGFBQWEsRUFBRSxJQUFJLFdBQVcsQ0FBQyxNQUFNLENBQUMsYUFBYSxFQUFFLFVBQVUsQ0FBQyxRQUFRLENBQUM7WUFDekUsbUJBQW1CLEVBQUUsSUFBSSxXQUFXLENBQUMsTUFBTSxDQUFDLG1CQUFtQixFQUFFLFVBQVUsQ0FBQyxRQUFRLENBQUM7WUFDckYsU0FBUyxFQUFFLElBQUksV0FB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B9LCBpbmNsdWRlRGlzYWJsZWRGaWVsZHMpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export * from './borrowing-report.form';
|
2
|
+
export * from './property-sale';
|
3
|
+
export * from './property-edit.form';
|
4
|
+
export * from './property-document.form';
|
5
|
+
export * from './property-category-movement-form';
|
6
|
+
export * from './property-valuation.form';
|
7
|
+
export * from './property-share.form';
|
8
|
+
export * from './property-forecast.form';
|
9
|
+
export * from './property-add.form';
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JvcnJvd2luZy1yZXBvcnQuZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXNhbGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS1lZGl0LmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS1kb2N1bWVudC5mb3JtJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHktY2F0ZWdvcnktbW92ZW1lbnQtZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXZhbHVhdGlvbi5mb3JtJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHktc2hhcmUuZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LWZvcmVjYXN0LmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS1hZGQuZm9ybSc7XG5cbiJdfQ==
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { UntypedFormArray, UntypedFormControl, Validators } from '@angular/forms';
|
2
|
+
import { Property } from '../../models';
|
3
|
+
import { AbstractForm } from '../abstract.form';
|
4
|
+
import { plainToClass } from 'class-transformer';
|
5
|
+
import { PropertyShareForm } from './property-share.form';
|
6
|
+
import { PropertyForecastForm } from './property-forecast.form';
|
7
|
+
import { PropertyCategoryMovementForm } from './property-category-movement-form';
|
8
|
+
/**
|
9
|
+
* Form class for the single new property
|
10
|
+
*/
|
11
|
+
export class PropertyAddForm extends AbstractForm {
|
12
|
+
constructor() {
|
13
|
+
super({
|
14
|
+
address: new UntypedFormControl(null, Validators.required),
|
15
|
+
purchasePrice: new UntypedFormControl(null, Validators.required),
|
16
|
+
contractDate: new UntypedFormControl(null, Validators.required),
|
17
|
+
settlementDate: new UntypedFormControl(null, Validators.required),
|
18
|
+
forecasts: new UntypedFormArray([
|
19
|
+
new PropertyForecastForm()
|
20
|
+
]),
|
21
|
+
shares: new UntypedFormArray([
|
22
|
+
new PropertyShareForm()
|
23
|
+
]),
|
24
|
+
categoryMovements: new UntypedFormArray([
|
25
|
+
new PropertyCategoryMovementForm()
|
26
|
+
])
|
27
|
+
}, plainToClass(Property, {}));
|
28
|
+
// @TODO move to submit, no need to watch
|
29
|
+
// we should put the same market value to both, forecast and valuation.
|
30
|
+
this.valuationForm.get('marketValue').valueChanges.subscribe((marketValue) => {
|
31
|
+
this.forecastForm.get('marketValue').setValue(marketValue);
|
32
|
+
});
|
33
|
+
this.get('contractDate').valueChanges.subscribe((contractDate) => {
|
34
|
+
this.categoryMovementForm.get('fromDate').setValue(contractDate);
|
35
|
+
});
|
36
|
+
this.categoryMovementForm.get('propertyCategory').valueChanges.subscribe((category) => {
|
37
|
+
if (category.isShared()) {
|
38
|
+
this.forecastForm.get('claimPercent').enable();
|
39
|
+
}
|
40
|
+
else {
|
41
|
+
this.forecastForm.get('claimPercent').disable();
|
42
|
+
}
|
43
|
+
if (category.isOwnerOccupied() || category.isVacantLand()) {
|
44
|
+
this.forecastForm.get('income').disable();
|
45
|
+
this.forecastForm.get('depreciation').disable();
|
46
|
+
}
|
47
|
+
else {
|
48
|
+
this.forecastForm.get('income').enable();
|
49
|
+
this.forecastForm.get('depreciation').enable();
|
50
|
+
}
|
51
|
+
});
|
52
|
+
}
|
53
|
+
get valuationForm() {
|
54
|
+
return this.categoryMovementForm.get('valuation');
|
55
|
+
}
|
56
|
+
get forecastForm() {
|
57
|
+
// [0] because for property add form we have always 1 forecast form inside
|
58
|
+
return this.get('forecasts').controls[0];
|
59
|
+
}
|
60
|
+
get shareForm() {
|
61
|
+
// [0] because for property add form we have always 1 forecast form inside
|
62
|
+
return this.get('shares').controls[0];
|
63
|
+
}
|
64
|
+
get categoryMovementForm() {
|
65
|
+
// [0] because for property add form we always have 1 category movement form inside
|
66
|
+
return this.get('categoryMovements').controls[0];
|
67
|
+
}
|
68
|
+
}
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktYWRkLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvcHJvcGVydHktYWRkLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLGtCQUFrQixFQUFFLFVBQV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ntypedFormControl, Validators } from '@angular/forms';
|
2
|
+
import { plainToClass } from 'class-transformer';
|
3
|
+
import { AbstractForm } from '../abstract.form';
|
4
|
+
import { PropertyValuationForm } from './property-valuation.form';
|
5
|
+
import { PropertyCategoryMovement } from '../../models';
|
6
|
+
export class PropertyCategoryMovementForm extends AbstractForm {
|
7
|
+
constructor(movement = plainToClass(PropertyCategoryMovement, {})) {
|
8
|
+
super({
|
9
|
+
fromDate: new UntypedFormControl(movement.valuation?.date || new Date()),
|
10
|
+
propertyCategory: new UntypedFormControl(movement.propertyCategory, Validators.required),
|
11
|
+
valuation: new PropertyValuationForm(movement.valuation),
|
12
|
+
}, movement);
|
13
|
+
this.get('valuation').get('date').valueChanges.subscribe((value) => {
|
14
|
+
this.get('fromDate').setValue(value);
|
15
|
+
});
|
16
|
+
}
|
17
|
+
submit() {
|
18
|
+
return super.submit({ valuation: this.get('valuation').submit() });
|
19
|
+
}
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktY2F0ZWdvcnktbW92ZW1lbnQtZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1jYXRlZ29yeS1tb3ZlbWVudC1mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDakQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQ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h2YWx1ZTogRGF0ZSkgPT4ge1xuICAgICAgdGhpcy5nZXQoJ2Zyb21EYXRlJykuc2V0VmFsdWUodmFsdWUpO1xuICAgIH0pO1xuICB9XG5cbiAgc3VibWl0KCk6IFByb3BlcnR5Q2F0ZWdvcnlNb3ZlbWVudCB7XG4gICAgcmV0dXJuIHN1cGVyLnN1Ym1pdCh7IHZhbHVhdGlvbjogKHRoaXMuZ2V0KCd2YWx1YXRpb24nKSBhcyBQcm9wZXJ0eVZhbHVhdGlvbkZvcm0pLnN1Ym1pdCgpIH0pO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { FormControl, Validators } from '@angular/forms';
|
2
|
+
import { AbstractForm } from '../abstract.form';
|
3
|
+
export class PropertyDocumentForm extends AbstractForm {
|
4
|
+
constructor(document) {
|
5
|
+
super({
|
6
|
+
property: new FormControl(document.property, Validators.required),
|
7
|
+
file: new FormControl(document.file)
|
8
|
+
}, document);
|
9
|
+
}
|
10
|
+
submit() {
|
11
|
+
return super.submit({ property: { id: this.value.property.id } });
|
12
|
+
}
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktZG9jdW1lbnQuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1kb2N1bWVudC5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxXQUFXLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFekQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRWhELE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxZQUE4QjtJQUN0RS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QoKTogUHJvcGVydHlEb2N1bWVudCB7XG4gICAgcmV0dXJuIHN1cGVyLnN1Ym1pdCh7IHByb3BlcnR5OiB7IGlkOiB0aGlzLnZhbHVlLnByb3BlcnR5LmlkIH0gfSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { UntypedFormControl, Validators } from '@angular/forms';
|
2
|
+
import { AbstractForm } from '../abstract.form';
|
3
|
+
export class PropertyEditForm extends AbstractForm {
|
4
|
+
constructor(property) {
|
5
|
+
super({
|
6
|
+
address: new UntypedFormControl(property.address, Validators.required),
|
7
|
+
purchasePrice: new UntypedFormControl(property.purchasePrice, Validators.required),
|
8
|
+
contractDate: new UntypedFormControl(property.contractDate, Validators.required),
|
9
|
+
settlementDate: new UntypedFormControl(property.settlementDate, Validators.required),
|
10
|
+
stampDuty: new UntypedFormControl(property.stampDuty),
|
11
|
+
legalFees: new UntypedFormControl(property.legalFees),
|
12
|
+
otherCapitalCosts: new UntypedFormControl(property.otherCapitalCosts),
|
13
|
+
file: new UntypedFormControl(property.file)
|
14
|
+
}, property);
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktZWRpdC5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL3Byb3BlcnR5L3Byb3BlcnR5LWVkaXQuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFaEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRWhELE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxZQUFzQjtJQUMxR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b3JtIGV4dGVuZHMgQWJzdHJhY3RGb3JtPFByb3BlcnR5PiB7XG4gIGNvbnN0cnVjdG9yKHByb3BlcnR5OiBQcm9wZXJ0eSkge1xuICAgIHN1cGVyKHtcbiAgICAgIGFkZHJlc3M6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wocHJvcGVydHkuYWRkcmVzcywgVmFsaWRhdG9ycy5yZXF1aXJlZCksXG4gICAgICBwdXJjaGFzZVByaWNlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHByb3BlcnR5LnB1cmNoYXNlUHJpY2UsIFZhbGlkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgY29udHJhY3REYXRlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHByb3BlcnR5LmNvbnRyYWN0RGF0ZSwgVmFsaWRhdG9ycy5yZXF1aXJlZCksXG4gICAgICBzZXR0bGVtZW50RGF0ZTogbmV3IFVudHlwZWRGb3JtQ29udHJvbChwcm9wZXJ0eS5zZXR0bGVtZW50RGF0ZSwgVmFsaWRhdG9ycy5yZXF1aXJlZCksXG4gICAgICBzdGFtcER1dHk6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wocHJvcGVydHkuc3RhbXBEdXR5KSxcbiAgICAgIGxlZ2FsRmVlczogbmV3IFVudHlwZWRGb3JtQ29udHJvbChwcm9wZXJ0eS5sZWdhbEZlZXMpLFxuICAgICAgb3RoZXJDYXBpdGFsQ29zdHM6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wocHJvcGVydHkub3RoZXJDYXBpdGFsQ29zdHMpLFxuICAgICAgZmlsZTogbmV3IFVudHlwZWRGb3JtQ29udHJvbChwcm9wZXJ0eS5maWxlKVxuICAgIH0sIHByb3BlcnR5KTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { UntypedFormControl, Validators } from '@angular/forms';
|
2
|
+
import { plainToClass } from 'class-transformer';
|
3
|
+
import { AbstractForm } from '../abstract.form';
|
4
|
+
import { PropertyForecast } from '../../models';
|
5
|
+
import { PropertyCategoryMovementCollection } from '../../collections';
|
6
|
+
import { PropertyCategoryListEnum } from '../../db/Enums/property/property-category-list.enum';
|
7
|
+
/**
|
8
|
+
* Class describes property forecast form fields and form logic
|
9
|
+
*/
|
10
|
+
export class PropertyForecastForm extends AbstractForm {
|
11
|
+
/**
|
12
|
+
* @param forecast
|
13
|
+
* @param movements property could have multiple categories within forecast year, based on categories we hide/show some fields
|
14
|
+
*/
|
15
|
+
constructor(forecast = plainToClass(PropertyForecast, {}), movements = new PropertyCategoryMovementCollection()) {
|
16
|
+
const noIncomeCategories = [PropertyCategoryListEnum.VACANT_LAND, PropertyCategoryListEnum.OWNER_OCCUPIED];
|
17
|
+
const noIncome = movements.filterBy('propertyCategory.id', noIncomeCategories).length === movements.length;
|
18
|
+
super({
|
19
|
+
financialYear: new UntypedFormControl({ value: forecast.financialYear, disabled: true }),
|
20
|
+
marketValue: new UntypedFormControl(forecast.marketValue, Validators.required),
|
21
|
+
income: new UntypedFormControl({ value: forecast.income, disabled: noIncome }, Validators.required),
|
22
|
+
expense: new UntypedFormControl(forecast.expense, Validators.required),
|
23
|
+
interest: new UntypedFormControl(forecast.interest, Validators.required),
|
24
|
+
depreciation: new UntypedFormControl({ value: forecast.depreciation, disabled: noIncome }, Validators.required),
|
25
|
+
claimPercent: new UntypedFormControl({ value: forecast.claimPercent, disabled: !movements.hasCategory(PropertyCategoryListEnum.SHARED) }, [Validators.min(0), Validators.max(100), Validators.required])
|
26
|
+
}, forecast);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktZm9yZWNhc3QuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9w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lzYWJsZWQ6IG5vSW5jb21lIH0sIFZhbGlkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgY2xhaW1QZXJjZW50OiBuZXcgVW50eXBlZEZvcm1Db250cm9sKFxuICAgICAgICB7IHZhbHVlOiBmb3JlY2FzdC5jbGFpbVBlcmNlbnQsIGRpc2FibGVkOiAhbW92ZW1lbnRzLmhhc0NhdGVnb3J5KFByb3BlcnR5Q2F0ZWdvcnlMaXN0RW51bS5TSEFSRUQpIH0sXG4gICAgICAgIFtWYWxpZGF0b3JzLm1pbigwKSwgVmFsaWRhdG9ycy5tYXgoMTAwKSwgVmFsaWRhdG9ycy5yZXF1aXJlZF1cbiAgICAgIClcbiAgICB9LCBmb3JlY2FzdCk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './property-sale-cost-base.form';
|
2
|
+
export * from './property-sale-cost-sale.form';
|
3
|
+
export * from './property-sale-exemptions.form';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvcHJvcGVydHktc2FsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHktc2FsZS1jb3N0LWJhc2UuZm9ybSc7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5LXNhbGUtY29zdC1zYWxlLmZvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS1zYWxlLWV4ZW1wdGlvbnMuZm9ybSc7XG4iXX0=
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { AbstractForm } from '../../abstract.form';
|
2
|
+
import { PropertySale } from '../../../models/property/property-sale';
|
3
|
+
import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
4
|
+
import { plainToClass } from 'class-transformer';
|
5
|
+
import { Property } from '../../../models/property/property';
|
6
|
+
/**
|
7
|
+
* @Todo TT-2143 remove Property stuff and use this form just for PropertySale
|
8
|
+
* @Todo TT-2143 create and extend from abstract PropertySale form
|
9
|
+
*/
|
10
|
+
export class PropertySaleCostBaseForm extends AbstractForm {
|
11
|
+
constructor(propertySaleCostBase) {
|
12
|
+
super({
|
13
|
+
property: new UntypedFormGroup({
|
14
|
+
purchasePrice: new UntypedFormControl(propertySaleCostBase.property.purchasePrice, Validators.required),
|
15
|
+
contractDate: new UntypedFormControl(propertySaleCostBase.property.contractDate, Validators.required),
|
16
|
+
stampDuty: new UntypedFormControl(propertySaleCostBase.property.stampDuty, Validators.required),
|
17
|
+
legalFees: new UntypedFormControl(propertySaleCostBase.property.legalFees, Validators.required),
|
18
|
+
otherCapitalCosts: new UntypedFormControl(propertySaleCostBase.property.otherCapitalCosts, Validators.required),
|
19
|
+
}),
|
20
|
+
sale: new UntypedFormGroup({
|
21
|
+
holdingCosts: new UntypedFormControl(propertySaleCostBase.sale.holdingCosts),
|
22
|
+
structuralImprovementsWDV: new UntypedFormControl(propertySaleCostBase.sale.structuralImprovementsWDV),
|
23
|
+
buildingAtCostClaimed: new UntypedFormControl(propertySaleCostBase.sale.buildingAtCostClaimed)
|
24
|
+
})
|
25
|
+
}, propertySaleCostBase);
|
26
|
+
this.propertySaleCostBase = propertySaleCostBase;
|
27
|
+
}
|
28
|
+
getProperty() {
|
29
|
+
return plainToClass(Property, Object.assign({}, this.propertySaleCostBase.property, this.get('property').value));
|
30
|
+
}
|
31
|
+
getPropertySale() {
|
32
|
+
return plainToClass(PropertySale, Object.assign({}, this.propertySaleCostBase.sale, this.get('sale').value));
|
33
|
+
}
|
34
|
+
submit(data = {}) {
|
35
|
+
Object.assign(data, { property: plainToClass(Property, Object.assign({}, this.propertySaleCostBase.property, this.get('property').value)) }, { sale: plainToClass(PropertySale, Object.assign({}, this.propertySaleCostBase.sale, this.get('sale').value)) });
|
36
|
+
return super.submit(data);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2FsZS1jb3N0LWJhc2UuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1zYWxlL3Byb3BlcnR5LXNhbGUtY29zdC1iYXNlLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxZQUFZLEVBQXdCLE1BQU0sd0NBQXdDLENBQUM7QUFDNUYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGdCQUFnQixFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFFN0Q7OztHQUdHO0FBQ0gsTUFBTSxPQUFPLHdCQUF5QixTQUFRLFlBQWtDO0lBQzlFLFlBQ1Usb0JBQTBDO1FBRWxELEtBQUssQ0FBQztZQUNKLFFBQVEsRUFBRSxJQUFJLGdCQUFnQixDQUFDO2dCQUM3QixhQUFhLEVBQUUsSUFBSSxrQkFBa0IsQ0FBQyxvQkFBb0IsQ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xcbiAgICBwcm9wZXJ0eVNhbGVDb3N0QmFzZVxuICAgICk7XG4gIH1cblxuICBnZXRQcm9wZXJ0eSgpOiBQcm9wZXJ0eSB7XG4gICAgcmV0dXJuIHBsYWluVG9DbGFzcyhQcm9wZXJ0eSwgT2JqZWN0LmFzc2lnbih7fSwgdGhpcy5wcm9wZXJ0eVNhbGVDb3N0QmFzZS5wcm9wZXJ0eSwgdGhpcy5nZXQoJ3Byb3BlcnR5JykudmFsdWUpKTtcbiAgfVxuXG4gIGdldFByb3BlcnR5U2FsZSgpOiBQcm9wZXJ0eVNhbGUge1xuICAgIHJldHVybiBwbGFpblRvQ2xhc3MoUHJvcGVydHlTYWxlLCBPYmplY3QuYXNzaWduKHt9LCB0aGlzLnByb3BlcnR5U2FsZUNvc3RCYXNlLnNhbGUsIHRoaXMuZ2V0KCdzYWxlJykudmFsdWUpKTtcbiAgfVxuXG4gIHN1Ym1pdChkYXRhOiBvYmplY3QgPSB7fSk6IFByb3BlcnR5U2FsZUNvc3RCYXNlIHtcbiAgICBPYmplY3QuYXNzaWduKFxuICAgICAgZGF0YSxcbiAgICAgIHtwcm9wZXJ0eTogcGxhaW5Ub0NsYXNzKFByb3BlcnR5LCBPYmplY3QuYXNzaWduKHt9LCB0aGlzLnByb3BlcnR5U2FsZUNvc3RCYXNlLnByb3BlcnR5LCB0aGlzLmdldCgncHJvcGVydHknKS52YWx1ZSkpfSxcbiAgICAgIHtzYWxlOiBwbGFpblRvQ2xhc3MoUHJvcGVydHlTYWxlLCBPYmplY3QuYXNzaWduKHt9LCB0aGlzLnByb3BlcnR5U2FsZUNvc3RCYXNlLnNhbGUsIHRoaXMuZ2V0KCdzYWxlJykudmFsdWUpKX0sXG4gICAgKTtcbiAgICByZXR1cm4gc3VwZXIuc3VibWl0KGRhdGEpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { AbstractForm } from '../../abstract.form';
|
2
|
+
import { UntypedFormControl, Validators } from '@angular/forms';
|
3
|
+
import { PropertySale } from '../../../models/property/property-sale';
|
4
|
+
import { plainToClass } from 'class-transformer';
|
5
|
+
/**
|
6
|
+
* @Todo TT-2143 Create and extend from abstract PropertySale form
|
7
|
+
*/
|
8
|
+
export class PropertySaleCostSaleForm extends AbstractForm {
|
9
|
+
constructor(propertySale, property) {
|
10
|
+
super({
|
11
|
+
price: new UntypedFormControl(propertySale.price, Validators.required),
|
12
|
+
date: new UntypedFormControl(propertySale.date, Validators.required),
|
13
|
+
settlementDate: new UntypedFormControl(propertySale.settlementDate, Validators.required),
|
14
|
+
commission: new UntypedFormControl(propertySale.commission || 0, Validators.required),
|
15
|
+
legalFees: new UntypedFormControl(propertySale.legalFees || 0, Validators.required),
|
16
|
+
otherCost: new UntypedFormControl(propertySale.otherCost || 0, Validators.required),
|
17
|
+
grossCapitalGain: new UntypedFormControl({ value: propertySale.grossCapitalGain, disabled: true }, Validators.required),
|
18
|
+
}, propertySale);
|
19
|
+
this.propertySale = propertySale;
|
20
|
+
this.property = property;
|
21
|
+
this.listenEvents();
|
22
|
+
this.updateGrossCapitalGain();
|
23
|
+
}
|
24
|
+
listenEvents() {
|
25
|
+
this.listenCommissionUpdated();
|
26
|
+
this.listenLegalFeesUpdated();
|
27
|
+
this.listenOtherCostUpdated();
|
28
|
+
this.listenPriceUpdated();
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Get property instance based on provided property and form value to get actual form calculations
|
32
|
+
* @Todo TT-2143 Move to parent abstract PropertySale form
|
33
|
+
*/
|
34
|
+
getPropertySale() {
|
35
|
+
return plainToClass(PropertySale, Object.assign({}, this.propertySale, this.getRawValue()));
|
36
|
+
}
|
37
|
+
submit(data = {}) {
|
38
|
+
// 'grossCapitalGain' field is always disabled, but we need it to submit result
|
39
|
+
Object.assign(data, { grossCapitalGain: this.get('grossCapitalGain').value });
|
40
|
+
return super.submit(data);
|
41
|
+
}
|
42
|
+
updateGrossCapitalGain() {
|
43
|
+
this.get('grossCapitalGain').setValue(this.property.calculateGrossCapitalGain(this.getPropertySale()));
|
44
|
+
}
|
45
|
+
listenCommissionUpdated() {
|
46
|
+
this.get('commission').valueChanges.subscribe(() => {
|
47
|
+
this.updateGrossCapitalGain();
|
48
|
+
});
|
49
|
+
}
|
50
|
+
listenLegalFeesUpdated() {
|
51
|
+
this.get('legalFees').valueChanges.subscribe(() => {
|
52
|
+
this.updateGrossCapitalGain();
|
53
|
+
});
|
54
|
+
}
|
55
|
+
listenOtherCostUpdated() {
|
56
|
+
this.get('otherCost').valueChanges.subscribe(() => {
|
57
|
+
this.updateGrossCapitalGain();
|
58
|
+
});
|
59
|
+
}
|
60
|
+
listenPriceUpdated() {
|
61
|
+
this.get('price').valueChanges.subscribe(() => {
|
62
|
+
this.updateGrossCapitalGain();
|
63
|
+
});
|
64
|
+
}
|
65
|
+
}
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2FsZS1jb3N0LXNhbGUuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1zYWxlL3Byb3BlcnR5LXNhbGUtY29zdC1zYWxlLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFFdEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBR2pEOztHQUVHO0FBQ0gsTUFBTSxPQUFPLHdCQUF5Q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3RoZXJDb3N0JykudmFsdWVDaGFuZ2VzLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICB0aGlzLnVwZGF0ZUdyb3NzQ2FwaXRhbEdhaW4oKTtcbiAgICB9KTtcbiAgfVxuXG4gIHByaXZhdGUgbGlzdGVuUHJpY2VVcGRhdGVkKCkge1xuICAgIHRoaXMuZ2V0KCdwcmljZScpLnZhbHVlQ2hhbmdlcy5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgdGhpcy51cGRhdGVHcm9zc0NhcGl0YWxHYWluKCk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,107 @@
|
|
1
|
+
import { AbstractForm } from '../../abstract.form';
|
2
|
+
import { Dictionary, PropertySale } from '../../../models';
|
3
|
+
import { UntypedFormArray, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
4
|
+
import { TaxExemptionMetaFieldEnum } from '../../../db/Enums/property/property-sale/tax-exemption-meta-field.enum';
|
5
|
+
import { plainToClass } from 'class-transformer';
|
6
|
+
import { TaxExemptionEnum } from '../../../db/Enums/property/property-sale/tax-exemption.enum';
|
7
|
+
/**
|
8
|
+
* @Todo TT-2143 Create and extend from abstract PropertySale form
|
9
|
+
*/
|
10
|
+
export class PropertySaleExemptionsForm extends AbstractForm {
|
11
|
+
constructor(propertySale, property, taxExemptions, isResident) {
|
12
|
+
const taxExemption = isResident
|
13
|
+
? taxExemptions.findBy('id', propertySale.taxExemption?.id ?? property.getCGTExemption(propertySale))
|
14
|
+
: null;
|
15
|
+
super({
|
16
|
+
taxExemption: new UntypedFormControl(taxExemption),
|
17
|
+
taxExemptionMetaFields: new UntypedFormArray([]),
|
18
|
+
grossCapitalGain: new UntypedFormControl(propertySale.grossCapitalGain),
|
19
|
+
netCapitalGain: new UntypedFormControl(propertySale.netCapitalGain),
|
20
|
+
}, propertySale);
|
21
|
+
this.propertySale = propertySale;
|
22
|
+
this.property = property;
|
23
|
+
this.taxExemptions = taxExemptions;
|
24
|
+
this.isResident = isResident;
|
25
|
+
this.disabledTaxExemptions = new Dictionary([]);
|
26
|
+
if (propertySale.taxExemption) {
|
27
|
+
this.setFormMetaFieldsControls();
|
28
|
+
}
|
29
|
+
this.setDisabledExemptions();
|
30
|
+
this.updateCapitalGains();
|
31
|
+
this.listenEvents();
|
32
|
+
}
|
33
|
+
listenEvents() {
|
34
|
+
this.listenTaxExemptionUpdated();
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* @Todo TT-2143 Move to parent abstract PropertySale form
|
38
|
+
*/
|
39
|
+
getPropertySale() {
|
40
|
+
return plainToClass(PropertySale, Object.assign({}, this.propertySale, this.getRawValue()));
|
41
|
+
}
|
42
|
+
updateCapitalGains() {
|
43
|
+
this.updateGrossCapitalGain();
|
44
|
+
this.updateNetCapitalGain();
|
45
|
+
}
|
46
|
+
updateNetCapitalGain() {
|
47
|
+
this.get('netCapitalGain').setValue(this.property.calculateNetCapitalGain(this.getPropertySale()));
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* @TODO copypast
|
51
|
+
* @private
|
52
|
+
*/
|
53
|
+
updateGrossCapitalGain() {
|
54
|
+
this.get('grossCapitalGain').setValue(this.property.calculateGrossCapitalGain(this.getPropertySale()));
|
55
|
+
}
|
56
|
+
listenTaxExemptionUpdated() {
|
57
|
+
this.get('taxExemption').valueChanges.subscribe((taxExemption) => {
|
58
|
+
this.updateCapitalGains();
|
59
|
+
this.setFormMetaFieldsControls(taxExemption);
|
60
|
+
});
|
61
|
+
}
|
62
|
+
/**
|
63
|
+
* show meta fields related to passed tax exemption or existing property sale meta fields
|
64
|
+
*/
|
65
|
+
setFormMetaFieldsControls(taxExemption) {
|
66
|
+
// use property sale tax exemption if it exists to preselect data
|
67
|
+
const currentTaxExemption = this.propertySale.taxExemption ?
|
68
|
+
this.taxExemptions.findBy('id', this.propertySale.taxExemption.id) :
|
69
|
+
taxExemption;
|
70
|
+
const formArray = this.get('taxExemptionMetaFields');
|
71
|
+
// clean up
|
72
|
+
formArray.clear();
|
73
|
+
if (!currentTaxExemption) {
|
74
|
+
return;
|
75
|
+
}
|
76
|
+
// show all tax exemption meta fields
|
77
|
+
currentTaxExemption.metaFields.forEach((metaField) => {
|
78
|
+
// use property sale tax exemption meta field value if it exists
|
79
|
+
const metaFieldValue = this.propertySale.taxExemption ?
|
80
|
+
this.propertySale.taxExemptionMetaFields
|
81
|
+
.find((saleMetaField) => saleMetaField.metaField.id === metaField.id).value :
|
82
|
+
null;
|
83
|
+
const validators = [
|
84
|
+
// claim percent is optional
|
85
|
+
metaField.id !== TaxExemptionMetaFieldEnum.CLAIM_PERCENT && Validators.required,
|
86
|
+
// ppr days can't be more than ownership days
|
87
|
+
metaField.id === TaxExemptionMetaFieldEnum.PPR_DAYS && Validators.max(this.property.getOwnershipDuration(this.propertySale))
|
88
|
+
].filter(Boolean);
|
89
|
+
formArray.push(new UntypedFormGroup({
|
90
|
+
metaField: new UntypedFormControl(metaField),
|
91
|
+
value: new UntypedFormControl(metaFieldValue, validators)
|
92
|
+
}));
|
93
|
+
});
|
94
|
+
}
|
95
|
+
/**
|
96
|
+
* available exemptions depend on tax residence
|
97
|
+
*/
|
98
|
+
setDisabledExemptions() {
|
99
|
+
if (!this.property.isOneYearExemptionApplicable(this.propertySale)) {
|
100
|
+
this.disabledTaxExemptions.add(TaxExemptionEnum.ONE_YEAR_RULE, this.taxExemptions.findBy('id', TaxExemptionEnum.ONE_YEAR_RULE));
|
101
|
+
}
|
102
|
+
if (!this.isResident) {
|
103
|
+
this.disabledTaxExemptions = this.taxExemptions.getResidentOnly().indexBy('id');
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2FsZS1leGVtcHRpb25zLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0c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bHVlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKG1ldGFGaWVsZFZhbHVlLCB2YWxpZGF0b3JzKVxuICAgICAgICAgIH1cbiAgICAgICAgKSk7XG4gICAgfSk7XG4gIH1cblxuICAvKipcbiAgICogYXZhaWxhYmxlIGV4ZW1wdGlvbnMgZGVwZW5kIG9uIHRheCByZXNpZGVuY2VcbiAgICovXG4gIHByaXZhdGUgc2V0RGlzYWJsZWRFeGVtcHRpb25zKCk6IHZvaWQge1xuICAgIGlmICghdGhpcy5wcm9wZXJ0eS5pc09uZVllYXJFeGVtcHRpb25BcHBsaWNhYmxlKHRoaXMucHJvcGVydHlTYWxlKSkge1xuICAgICAgdGhpcy5kaXNhYmxlZFRheEV4ZW1wdGlvbnMuYWRkKFxuICAgICAgICBUYXhFeGVtcHRpb25FbnVtLk9ORV9ZRUFSX1JVTEUsXG4gICAgICAgIHRoaXMudGF4RXhlbXB0aW9ucy5maW5kQnkoJ2lkJywgVGF4RXhlbXB0aW9uRW51bS5PTkVfWUVBUl9SVUxFKVxuICAgICAgKTtcbiAgICB9XG5cbiAgICBpZiAoIXRoaXMuaXNSZXNpZGVudCkge1xuICAgICAgdGhpcy5kaXNhYmxlZFRheEV4ZW1wdGlvbnMgPSB0aGlzLnRheEV4ZW1wdGlvbnMuZ2V0UmVzaWRlbnRPbmx5KCkuaW5kZXhCeSgnaWQnKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { AbstractForm } from '../abstract.form';
|
2
|
+
import { PropertyShare } from '../../models';
|
3
|
+
import { plainToClass } from 'class-transformer';
|
4
|
+
import { UntypedFormControl, Validators } from '@angular/forms';
|
5
|
+
/**
|
6
|
+
* Class describes property share form fields and form logic
|
7
|
+
*/
|
8
|
+
export class PropertyShareForm extends AbstractForm {
|
9
|
+
constructor(share = plainToClass(PropertyShare, {})) {
|
10
|
+
super({
|
11
|
+
fromDate: new UntypedFormControl(share.fromDate || new Date()),
|
12
|
+
percent: new UntypedFormControl(share.percent, [Validators.required, Validators.min(0), Validators.max(100)])
|
13
|
+
}, share);
|
14
|
+
}
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2hhcmUuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1zaGFyZS5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzdDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFaEU7O0dBRUc7QUFDSCxNQUFNLE9BQU8saUJBQWtCLFNBQVEsWUFBMkI7SUFDaEUsWUFBWSxRQUF1QixZQUFZLENBQUMsYUFBYSxFQUFFLEVBQUUsQ0FBQztRQUNoRSxLQUFLLENBQUM7WUFDSixRQUFRLEVBQUUsSUFBSSxrQkFBa0IsQ0FBQyxLQUFLLENBQUMsUUFBUSxJQUFJLElBQUksSUFBSSxFQUFFLENBQUM7WUFDOUQsT0FBTyxFQUFFLElBQUksa0JBQWtCLENBQUMsS0FBSyxDQUFDLE9BQU8sRUFBRSxDQUFDLFVBQVUsQ0FBQyxRQUFRLEVBQUUsVUFBVSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxVQUFVLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUM7U0FDOUcsRUFBRSxLQUFLLENBQUMsQ0FBQztJQUNaLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFic3RyYWN0Rm9ybSB9IGZyb20gJy4uL2Fic3RyYWN0LmZvcm0nO1xuaW1wb3J0IHsgUHJvcGVydHlTaGFyZSB9IGZyb20gJy4uLy4uL21vZGVscyc7XG5pbXBvcnQgeyBwbGFpblRvQ2xhc3MgfSBmcm9tICdjbGFzcy10cmFuc2Zvcm1lcic7XG5pbXBvcnQgeyBVbnR5cGVkRm9ybUNvbnRyb2wsIFZhbGlkYXRvcnMgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbi8qKlxuICogQ2xhc3MgZGVzY3JpYmVzIHByb3BlcnR5IHNoYXJlIGZvcm0gZmllbGRzIGFuZCBmb3JtIGxvZ2ljXG4gKi9cbmV4cG9ydCBjbGFzcyBQcm9wZXJ0eVNoYXJlRm9ybSBleHRlbmRzIEFic3RyYWN0Rm9ybTxQcm9wZXJ0eVNoYXJlPiB7XG4gIGNvbnN0cnVjdG9yKHNoYXJlOiBQcm9wZXJ0eVNoYXJlID0gcGxhaW5Ub0NsYXNzKFByb3BlcnR5U2hhcmUsIHt9KSkge1xuICAgIHN1cGVyKHtcbiAgICAgIGZyb21EYXRlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHNoYXJlLmZyb21EYXRlIHx8IG5ldyBEYXRlKCkpLFxuICAgICAgcGVyY2VudDogbmV3IFVudHlwZWRGb3JtQ29udHJvbChzaGFyZS5wZXJjZW50LCBbVmFsaWRhdG9ycy5yZXF1aXJlZCwgVmFsaWRhdG9ycy5taW4oMCksIFZhbGlkYXRvcnMubWF4KDEwMCldKVxuICAgIH0sIHNoYXJlKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
2
|
+
import { PropertyValuation } from '../../models';
|
3
|
+
import { AbstractForm } from '../abstract.form';
|
4
|
+
import { plainToClass } from 'class-transformer';
|
5
|
+
export class PropertyValuationForm extends AbstractForm {
|
6
|
+
constructor(valuation = plainToClass(PropertyValuation, {})) {
|
7
|
+
super({
|
8
|
+
date: new UntypedFormControl(valuation.date || new Date(), Validators.required),
|
9
|
+
marketValue: new UntypedFormControl(valuation.marketValue, Validators.required),
|
10
|
+
document: new UntypedFormGroup({
|
11
|
+
file: new UntypedFormControl(valuation.document?.file)
|
12
|
+
}),
|
13
|
+
}, valuation);
|
14
|
+
}
|
15
|
+
submit() {
|
16
|
+
return super.submit({ document: this.value.document.file ? this.value.document : null });
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktdmFsdWF0aW9uLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcHJvcGVydHkvcHJvcGVydHktdmFsdWF0aW9uLmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGdCQUFnQixFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xGLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNqRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDaEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRWpELE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxZQUErQjtJQUN4RSxZQUFZLFlBQStCLFlBQVksQ0FBQyxpQkFBaUIsRUFBRSxFQUFFLENBQUM7UUFDNUUsS0FBSyxDQUFDO1lBQ0osSUFBSSxFQUFFLElBQU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cnR5VmFsdWF0aW9uPiB7XG4gIGNvbnN0cnVjdG9yKHZhbHVhdGlvbjogUHJvcGVydHlWYWx1YXRpb24gPSBwbGFpblRvQ2xhc3MoUHJvcGVydHlWYWx1YXRpb24sIHt9KSkge1xuICAgIHN1cGVyKHtcbiAgICAgIGRhdGU6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2wodmFsdWF0aW9uLmRhdGUgfHwgbmV3IERhdGUoKSwgVmFsaWRhdG9ycy5yZXF1aXJlZCksXG4gICAgICBtYXJrZXRWYWx1ZTogbmV3IFVudHlwZWRGb3JtQ29udHJvbCh2YWx1YXRpb24ubWFya2V0VmFsdWUsIFZhbGlkYXRvcnMucmVxdWlyZWQpLFxuICAgICAgZG9jdW1lbnQ6IG5ldyBVbnR5cGVkRm9ybUdyb3VwKHtcbiAgICAgICAgZmlsZTogbmV3IFVudHlwZWRGb3JtQ29udHJvbCh2YWx1YXRpb24uZG9jdW1lbnQ/LmZpbGUpXG4gICAgICB9KSxcbiAgICB9LCB2YWx1YXRpb24pO1xuICB9XG5cbiAgc3VibWl0KCk6IFByb3BlcnR5VmFsdWF0aW9uIHtcbiAgICByZXR1cm4gc3VwZXIuc3VibWl0KHsgZG9jdW1lbnQ6IHRoaXMudmFsdWUuZG9jdW1lbnQuZmlsZSA/IHRoaXMudmFsdWUuZG9jdW1lbnQgOiBudWxsIH0pO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { AbstractForm } from '../abstract.form';
|
2
|
+
import { UntypedFormControl, Validators } from '@angular/forms';
|
3
|
+
import { PasswordForm } from '../user';
|
4
|
+
// @TODO Alex: Create a model and handle request fields via class-transformer
|
5
|
+
export class RegisterClientForm extends AbstractForm {
|
6
|
+
constructor(referenceCode) {
|
7
|
+
super({
|
8
|
+
firstName: new UntypedFormControl('', [Validators.required]),
|
9
|
+
lastName: new UntypedFormControl('', [Validators.required]),
|
10
|
+
email: new UntypedFormControl('', [Validators.required, Validators.email]),
|
11
|
+
password: new PasswordForm(),
|
12
|
+
referenceCode: new UntypedFormControl(referenceCode)
|
13
|
+
});
|
14
|
+
}
|
15
|
+
submit(data = {}) {
|
16
|
+
return super.submit({ password: this.get('password').submit()?.password });
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXItY2xpZW50LmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvcmVnaXN0ZXIvcmVnaXN0ZXItY2xpZW50LmZvcm0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBR3ZDLDZFQUE2RTtBQUM3RSxNQUFNLE9BQU8sa0JBQW1CLFNBQVEsWUFBa0I7SUFDeEQsWUFDRSxhQUFzQjtRQUV0QixLQUFLLENBQUM7WUFDSixTQUFTLEVBQUUsSUFBSSxrQkFBa0IsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxVQUFVLENBQUMsUUFBUSxDQUFDLENBQUM7WUFDNUQsUUFBUSxFQUFFLElBQUksa0JBQWtCLENBQUMsRUFBRSxFQUFFLENBQUMsVUFBVSxDQUFDLFFBQVEsQ0FBQyxDQUFDO1lBQzNELEtBQUssRUFBRSxJQUFJLGtCQUFrQixDQUFDLEVBQUUsRUFBRSxDQUFDLFVBQVUsQ0FBQyxRQUFRLEVBQUUsVUFBVSxDQUFDLEtBQUssQ0FBQyxDQUFDO1lBQzFFLFFBQVEsRUFBRSxJQ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