taxtank-core 0.32.88 → 0.33.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/common/index.d.ts +5 -0
- package/common/public-api.d.ts +3 -0
- package/common/src/common.module.d.ts +13 -0
- package/common/src/db/enums/index.d.ts +1 -0
- package/common/src/db/enums/user/index.d.ts +1 -0
- package/common/src/db/index.d.ts +1 -0
- package/common/src/interceptors/jwt-interceptor.d.ts +41 -0
- package/common/src/services/auth/auth-messages.enum.d.ts +3 -0
- package/common/src/services/auth/auth-tokens.interface.d.ts +7 -0
- package/common/src/services/auth/auth.service.d.ts +19 -0
- package/common/src/services/auth/index.d.ts +5 -0
- package/common/src/services/auth/jwt-decoded.interface.d.ts +11 -0
- package/common/src/services/auth/jwt.service.d.ts +17 -0
- package/common/src/services/index.d.ts +2 -0
- package/esm2022/common/public-api.mjs +4 -0
- package/esm2022/common/src/common.module.mjs +36 -0
- package/esm2022/common/src/db/enums/index.mjs +2 -0
- package/esm2022/common/src/db/enums/user/index.mjs +2 -0
- package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +17 -0
- package/esm2022/common/src/db/index.mjs +2 -0
- package/esm2022/common/src/interceptors/interceptors.module.mjs +28 -0
- package/esm2022/common/src/interceptors/jwt-interceptor.mjs +138 -0
- package/esm2022/common/src/services/auth/auth-messages.enum.mjs +5 -0
- package/esm2022/common/src/services/auth/auth-tokens.interface.mjs +2 -0
- package/esm2022/common/src/services/auth/auth.service.mjs +56 -0
- package/esm2022/common/src/services/auth/index.mjs +6 -0
- package/esm2022/common/src/services/auth/jwt-decoded.interface.mjs +2 -0
- package/esm2022/common/src/services/auth/jwt.service.mjs +48 -0
- package/esm2022/common/src/services/index.mjs +3 -0
- package/esm2022/common/src/services/mixpanel.service.mjs +54 -0
- package/esm2022/common/taxtank-core-common.mjs +5 -0
- package/esm2022/public-api.mjs +159 -160
- package/esm2022/src/lib/collections/account-setup-item.collection.mjs +12 -0
- package/esm2022/src/lib/collections/allocation-group.collection.mjs +9 -0
- package/esm2022/src/lib/collections/allocation-rule.collection.mjs +26 -0
- package/esm2022/src/lib/collections/asset-sale.collection.mjs +56 -0
- package/esm2022/src/lib/collections/bank-account.collection.mjs +153 -0
- package/esm2022/src/lib/collections/bank-transaction.collection.mjs +131 -0
- package/esm2022/src/lib/collections/chart-accounts.collection.mjs +26 -0
- package/esm2022/src/lib/collections/chat/chat.collection.mjs +26 -0
- package/esm2022/src/lib/collections/chat/index.mjs +4 -0
- package/esm2022/src/lib/collections/chat/message-document.collection.mjs +13 -0
- package/esm2022/src/lib/collections/chat/message.collection.mjs +31 -0
- package/esm2022/src/lib/collections/client-invite.collection.mjs +7 -0
- package/esm2022/src/lib/collections/client-movement.collection.mjs +47 -0
- package/esm2022/src/lib/collections/client-portfolio-report.collection.mjs +40 -0
- package/esm2022/src/lib/collections/client.collection.mjs +4 -0
- package/esm2022/src/lib/collections/collection-dictionary.mjs +110 -0
- package/esm2022/src/lib/collections/collection.mjs +163 -0
- package/esm2022/src/lib/collections/depreciation-forecast.collection.mjs +19 -0
- package/esm2022/src/lib/collections/depreciation.collection.mjs +116 -0
- package/esm2022/src/lib/collections/employee.collection.mjs +11 -0
- package/esm2022/src/lib/collections/exportable.collection.mjs +23 -0
- package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +41 -0
- package/esm2022/src/lib/collections/holding/holding-type.collection.mjs +13 -0
- package/esm2022/src/lib/collections/holding/holding.collection.mjs +68 -0
- package/esm2022/src/lib/collections/holding/index.mjs +4 -0
- package/esm2022/src/lib/collections/income-source/income-source-forecast.collection.mjs +11 -0
- package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +43 -0
- package/esm2022/src/lib/collections/income-source/index.mjs +3 -0
- package/esm2022/src/lib/collections/index.mjs +34 -0
- package/esm2022/src/lib/collections/loan/index.mjs +3 -0
- package/esm2022/src/lib/collections/loan/loan-payment.collection.mjs +40 -0
- package/esm2022/src/lib/collections/loan/loan.collection.mjs +46 -0
- package/esm2022/src/lib/collections/property/index.mjs +7 -0
- package/esm2022/src/lib/collections/property/property-category-movement.collection.mjs +23 -0
- package/esm2022/src/lib/collections/property/property-sale/index.mjs +3 -0
- package/esm2022/src/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +17 -0
- package/esm2022/src/lib/collections/property/property-sale/property-sale.collection.mjs +13 -0
- package/esm2022/src/lib/collections/property/property-share.collection.mjs +20 -0
- package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +4 -0
- package/esm2022/src/lib/collections/property/property.collection.mjs +113 -0
- package/esm2022/src/lib/collections/property/tax-exemption.collection.mjs +11 -0
- package/esm2022/src/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +12 -0
- package/esm2022/src/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +12 -0
- package/esm2022/src/lib/collections/report/index.mjs +7 -0
- package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +21 -0
- package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +21 -0
- package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +13 -0
- package/esm2022/src/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +17 -0
- package/esm2022/src/lib/collections/sole/index.mjs +4 -0
- package/esm2022/src/lib/collections/sole/sole-business-losses.collection.mjs +41 -0
- package/esm2022/src/lib/collections/sole/sole-invoice-item.collection.mjs +10 -0
- package/esm2022/src/lib/collections/sole/sole-invoice.collection.mjs +30 -0
- package/esm2022/src/lib/collections/subscription/index.mjs +5 -0
- package/esm2022/src/lib/collections/subscription/service-price.collection.mjs +50 -0
- package/esm2022/src/lib/collections/subscription/service-product.collection.mjs +11 -0
- package/esm2022/src/lib/collections/subscription/service-subscription.collection.mjs +58 -0
- package/esm2022/src/lib/collections/subscription/subscription-item.collection.mjs +17 -0
- package/esm2022/src/lib/collections/tax-review.collection.mjs +53 -0
- package/esm2022/src/lib/collections/tax-summary/index.mjs +3 -0
- package/esm2022/src/lib/collections/tax-summary/report-item.collection.mjs +101 -0
- package/esm2022/src/lib/collections/tax-summary/tax-return-categories.const.mjs +113 -0
- package/esm2022/src/lib/collections/transaction/index.mjs +3 -0
- package/esm2022/src/lib/collections/transaction/transaction-allocation.collection.mjs +39 -0
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +240 -0
- package/esm2022/src/lib/collections/user-event-setting.collection.mjs +10 -0
- package/esm2022/src/lib/collections/user-event-type-collection.mjs +11 -0
- package/esm2022/src/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +90 -0
- package/esm2022/src/lib/collections/vehicle/index.mjs +4 -0
- package/esm2022/src/lib/collections/vehicle/vehicle-claim.collection.mjs +25 -0
- package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +31 -0
- package/esm2022/src/lib/core.module.mjs +37 -0
- package/esm2022/src/lib/db/Enums/address-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-field.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/annual-frequency.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/bank/bank-account-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/bank-account-type.enum.mjs +13 -0
- package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/bank-popular.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/bank/bank-provider.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/bank-transaction-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/index.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/loan/index.mjs +11 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +12 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-type.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +16 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +20 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +50 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +11 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +25 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +102 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +19 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +50 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +17 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +18 -0
- package/esm2022/src/lib/db/Enums/chat-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/client-details-medicare-exemption.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/client-invite-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/client-invite-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/depreciation-calculation-percent.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/depreciation-calculation.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/depreciation-type.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/depreciation-write-off-amount.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/document-type.enum.mjs +5 -0
- package/esm2022/src/lib/db/Enums/file-type.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/firm-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/holding/holding-type-category.enum.mjs +18 -0
- package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/holding/index.mjs +3 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +15 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +5 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/income-source/income-source-type.enum.mjs +11 -0
- package/esm2022/src/lib/db/Enums/income-source/index.mjs +7 -0
- package/esm2022/src/lib/db/Enums/index.mjs +13 -0
- package/esm2022/src/lib/db/Enums/invite-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/phone-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/property/property-category-list.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +12 -0
- package/esm2022/src/lib/db/Enums/property/property-share-access.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/property/property-share-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/registration-invite-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/salary-forecast-frequency.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/service-notification-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/service-notification-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/setup-item-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/sole-depreciation-method.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/sole-invoice-statuses.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/sole-invoice-tax-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/spare-document-spare-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/subscription/index.mjs +2 -0
- package/esm2022/src/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +12 -0
- package/esm2022/src/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/subscription/service-payment-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/subscription/service-price-list.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/subscription/service-price-type.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/subscription/service-product-id.enum.mjs +11 -0
- package/esm2022/src/lib/db/Enums/subscription/service-product-status.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/subscription/service-subscription-status.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +10 -0
- package/esm2022/src/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/tax-calculation-type.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/tax-return/index.mjs +4 -0
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +66 -0
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/tax-return/tax-return-item.enum.mjs +20 -0
- package/esm2022/src/lib/db/Enums/tax-review-status.enum.mjs +13 -0
- package/esm2022/src/lib/db/Enums/tax-summary-list.enum.mjs +17 -0
- package/esm2022/src/lib/db/Enums/tax-summary-section.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/tax-summary-tax-summary.enum.mjs +17 -0
- package/esm2022/src/lib/db/Enums/ticket-feedback.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/ticket-status.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/ticket-types.enum.mjs +5 -0
- package/esm2022/src/lib/db/Enums/transaction-operation.enum.mjs +8 -0
- package/esm2022/src/lib/db/Enums/transaction-source.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/transaction-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/user-event-status.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/user-event-type-client-type.enum.mjs +29 -0
- package/esm2022/src/lib/db/Enums/user-event-type-employee-type.enum.mjs +17 -0
- package/esm2022/src/lib/db/Enums/user-event-type-frequency.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/user-event-type-type.enum.mjs +51 -0
- package/esm2022/src/lib/db/Enums/user-event-type-user-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/user-medicare-exemption.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/user-status.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/user-title.enum.mjs +9 -0
- package/esm2022/src/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/user-working-holiday-maker.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/vehicle-claim-details-method.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +6 -0
- package/esm2022/src/lib/db/Models/abstract-model.mjs +14 -0
- package/esm2022/src/lib/db/Models/address.mjs +4 -0
- package/esm2022/src/lib/db/Models/bank/bank-account-balance.mjs +9 -0
- package/esm2022/src/lib/db/Models/bank/bank-account-property.mjs +9 -0
- package/esm2022/src/lib/db/Models/bank/bank-account.mjs +10 -0
- package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +5 -0
- package/esm2022/src/lib/db/Models/bank/bank-transaction-import.mjs +4 -0
- package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +5 -0
- package/esm2022/src/lib/db/Models/bank/bank.mjs +4 -0
- package/esm2022/src/lib/db/Models/bank/basiq-job-step.enum.mjs +8 -0
- package/esm2022/src/lib/db/Models/bank/basiq-job.mjs +4 -0
- package/esm2022/src/lib/db/Models/budget/budget-rule.mjs +4 -0
- package/esm2022/src/lib/db/Models/budget/budget.mjs +4 -0
- package/esm2022/src/lib/db/Models/budget/index.mjs +3 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +4 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +4 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-value.mjs +4 -0
- package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts.mjs +4 -0
- package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +3 -0
- package/esm2022/src/lib/db/Models/client/client-details.mjs +4 -0
- package/esm2022/src/lib/db/Models/client/index.mjs +4 -0
- package/esm2022/src/lib/db/Models/client/occupation.mjs +4 -0
- package/esm2022/src/lib/db/Models/country.mjs +4 -0
- package/esm2022/src/lib/db/Models/depreciation/depreciation-capital-project.mjs +4 -0
- package/esm2022/src/lib/db/Models/depreciation/depreciation-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +5 -0
- package/esm2022/src/lib/db/Models/document/document-folder.mjs +4 -0
- package/esm2022/src/lib/db/Models/document/folder-document.mjs +4 -0
- package/esm2022/src/lib/db/Models/document/property-document.mjs +4 -0
- package/esm2022/src/lib/db/Models/file.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/accountant/ticket.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/chat.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/client-invite.mjs +5 -0
- package/esm2022/src/lib/db/Models/firm/client-movement.mjs +5 -0
- package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/firm-invite.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/firm.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/message-document.mjs +4 -0
- package/esm2022/src/lib/db/Models/firm/message.mjs +5 -0
- package/esm2022/src/lib/db/Models/holding/holding-import.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/holding-sale.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/holding-type-exchange.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/holding-type.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/holding.mjs +3 -0
- package/esm2022/src/lib/db/Models/holding/index.mjs +5 -0
- package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/incomeSource/income-source-type.mjs +4 -0
- package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +4 -0
- package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/index.mjs +96 -0
- package/esm2022/src/lib/db/Models/loan/borrowing-expense-loan.mjs +4 -0
- package/esm2022/src/lib/db/Models/loan/borrowing-expense.mjs +4 -0
- package/esm2022/src/lib/db/Models/loan/loan-payout.mjs +13 -0
- package/esm2022/src/lib/db/Models/loan/loan.mjs +22 -0
- package/esm2022/src/lib/db/Models/observable-model.mjs +14 -0
- package/esm2022/src/lib/db/Models/phone.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/borrowing-report.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-category-movement.mjs +5 -0
- package/esm2022/src/lib/db/Models/property/property-category.mjs +5 -0
- package/esm2022/src/lib/db/Models/property/property-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-sale/property-sale.mjs +5 -0
- package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-share.mjs +10 -0
- package/esm2022/src/lib/db/Models/property/property-subscription.mjs +4 -0
- package/esm2022/src/lib/db/Models/property/property-valuation.mjs +5 -0
- package/esm2022/src/lib/db/Models/property/property.mjs +22 -0
- package/esm2022/src/lib/db/Models/service-notification.mjs +4 -0
- package/esm2022/src/lib/db/Models/setup-item.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/bas-report.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business-activity.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business-allocation.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-business.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-contact.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-depreciation-method.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-details.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-invoice-item.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-invoice-template.mjs +4 -0
- package/esm2022/src/lib/db/Models/sole/sole-invoice.mjs +4 -0
- package/esm2022/src/lib/db/Models/spare/spare-document-category.mjs +4 -0
- package/esm2022/src/lib/db/Models/spare/spare-document.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-payment-method.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-payment.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-price.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-product.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-subscription-item.mjs +4 -0
- package/esm2022/src/lib/db/Models/subscription/service-subscription.mjs +5 -0
- package/esm2022/src/lib/db/Models/tax-calculation.mjs +4 -0
- package/esm2022/src/lib/db/Models/tax-return/index.mjs +4 -0
- package/esm2022/src/lib/db/Models/tax-return/tax-return-category.mjs +4 -0
- package/esm2022/src/lib/db/Models/tax-return/tax-return-item.mjs +4 -0
- package/esm2022/src/lib/db/Models/tax-return/tax-return.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-condition.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction.mjs +5 -0
- package/esm2022/src/lib/db/Models/transaction/allocation-rule.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/transaction-allocation.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +123 -0
- package/esm2022/src/lib/db/Models/transaction/transaction-meta-field.mjs +4 -0
- package/esm2022/src/lib/db/Models/transaction/transaction.mjs +5 -0
- package/esm2022/src/lib/db/Models/user/employee-details.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/registration-invite.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user-event-setting.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user-event-type-category.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user-event-type.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user-event.mjs +4 -0
- package/esm2022/src/lib/db/Models/user/user.mjs +5 -0
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +4 -0
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +4 -0
- package/esm2022/src/lib/db/Models/vehicle/vehicle-logbook.mjs +4 -0
- package/esm2022/src/lib/db/Models/vehicle/vehicle.mjs +4 -0
- package/esm2022/src/lib/db-static/chart-accounts/chart-accounts-values.mjs +9 -0
- package/esm2022/src/lib/forms/abstract.form.mjs +111 -0
- package/esm2022/src/lib/forms/address/address.form.mjs +190 -0
- package/esm2022/src/lib/forms/address/index.mjs +2 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +46 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +45 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-import.form.mjs +24 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +64 -0
- package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +50 -0
- package/esm2022/src/lib/forms/budget/budget.form.mjs +69 -0
- package/esm2022/src/lib/forms/budget/index.mjs +2 -0
- package/esm2022/src/lib/forms/chart-accounts/chart-accounts.form.mjs +14 -0
- package/esm2022/src/lib/forms/chart-accounts/index.mjs +2 -0
- package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +39 -0
- package/esm2022/src/lib/forms/client/index.mjs +2 -0
- package/esm2022/src/lib/forms/depreciation/depreciation.form.mjs +40 -0
- package/esm2022/src/lib/forms/depreciation/index.mjs +2 -0
- package/esm2022/src/lib/forms/document-folder/document-folder.form.mjs +11 -0
- package/esm2022/src/lib/forms/document-folder/document.form.mjs +11 -0
- package/esm2022/src/lib/forms/document-folder/index.mjs +3 -0
- package/esm2022/src/lib/forms/firm/firm.form.mjs +18 -0
- package/esm2022/src/lib/forms/firm/index.mjs +2 -0
- package/esm2022/src/lib/forms/form-validations.enum.mjs +12 -0
- package/esm2022/src/lib/forms/holding/holding-import.form.mjs +25 -0
- package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +59 -0
- package/esm2022/src/lib/forms/holding/holding-sale.form.mjs +52 -0
- package/esm2022/src/lib/forms/holding/holding-type.form.mjs +16 -0
- package/esm2022/src/lib/forms/holding/holding.form.mjs +28 -0
- package/esm2022/src/lib/forms/holding/index.mjs +6 -0
- package/esm2022/src/lib/forms/index.mjs +27 -0
- package/esm2022/src/lib/forms/loan/index.mjs +2 -0
- package/esm2022/src/lib/forms/loan/loan.form.mjs +90 -0
- package/esm2022/src/lib/forms/login/login.form.mjs +11 -0
- package/esm2022/src/lib/forms/phone/index.mjs +2 -0
- package/esm2022/src/lib/forms/phone/phone.form.mjs +18 -0
- package/esm2022/src/lib/forms/property/borrowing-report.form.mjs +32 -0
- package/esm2022/src/lib/forms/property/index.mjs +10 -0
- package/esm2022/src/lib/forms/property/property-add.form.mjs +69 -0
- package/esm2022/src/lib/forms/property/property-category-movement-form.mjs +21 -0
- package/esm2022/src/lib/forms/property/property-document.form.mjs +14 -0
- package/esm2022/src/lib/forms/property/property-edit.form.mjs +17 -0
- package/esm2022/src/lib/forms/property/property-forecast.form.mjs +29 -0
- package/esm2022/src/lib/forms/property/property-sale/index.mjs +4 -0
- package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +39 -0
- package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +66 -0
- package/esm2022/src/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +107 -0
- package/esm2022/src/lib/forms/property/property-share.form.mjs +16 -0
- package/esm2022/src/lib/forms/property/property-valuation.form.mjs +19 -0
- package/esm2022/src/lib/forms/register/register-client.form.mjs +19 -0
- package/esm2022/src/lib/forms/register/register-firm.form.mjs +22 -0
- package/esm2022/src/lib/forms/report/my-tax/index.mjs +17 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +31 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +81 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +14 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +79 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-cgt.form.mjs +30 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +85 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-dividends.form.mjs +23 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +108 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +10 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-interest.form.mjs +12 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-losses.form.mjs +11 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-medicare.form.mjs +38 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-offsets.form.mjs +10 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-other-income.form.mjs +43 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +37 -0
- package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +13 -0
- package/esm2022/src/lib/forms/sole/bas-report.form.mjs +62 -0
- package/esm2022/src/lib/forms/sole/index.mjs +12 -0
- package/esm2022/src/lib/forms/sole/invoice-payment.form.mjs +14 -0
- package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +64 -0
- package/esm2022/src/lib/forms/sole/sole-business-loss.form.mjs +24 -0
- package/esm2022/src/lib/forms/sole/sole-business.form.mjs +70 -0
- package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +19 -0
- package/esm2022/src/lib/forms/sole/sole-depreciation-method.form.mjs +10 -0
- package/esm2022/src/lib/forms/sole/sole-details.form.mjs +12 -0
- package/esm2022/src/lib/forms/sole/sole-invoice-item.form.mjs +15 -0
- package/esm2022/src/lib/forms/sole/sole-invoice-template.form.mjs +15 -0
- package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +157 -0
- package/esm2022/src/lib/forms/transaction/allocation-rule-condition.form.mjs +16 -0
- package/esm2022/src/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +12 -0
- package/esm2022/src/lib/forms/transaction/allocation-rule-transaction.form.mjs +144 -0
- package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +188 -0
- package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +49 -0
- package/esm2022/src/lib/forms/transaction/index.mjs +8 -0
- package/esm2022/src/lib/forms/transaction/messages.enum.mjs +5 -0
- package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +17 -0
- package/esm2022/src/lib/forms/transaction/sole/sole-transaction.form.mjs +7 -0
- package/esm2022/src/lib/forms/transaction/transaction-base.form.mjs +98 -0
- package/esm2022/src/lib/forms/transaction/transaction.form.mjs +62 -0
- package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +33 -0
- package/esm2022/src/lib/forms/transaction/work/work-income.form.mjs +86 -0
- package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +40 -0
- package/esm2022/src/lib/forms/user/client-details.form.mjs +34 -0
- package/esm2022/src/lib/forms/user/index.mjs +6 -0
- package/esm2022/src/lib/forms/user/password.form.mjs +14 -0
- package/esm2022/src/lib/forms/user/reset-password.form.mjs +11 -0
- package/esm2022/src/lib/forms/user/user-invite.form.mjs +16 -0
- package/esm2022/src/lib/forms/user/user.form.mjs +15 -0
- package/esm2022/src/lib/forms/vehicle/index.mjs +5 -0
- package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +17 -0
- package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +30 -0
- package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +63 -0
- package/esm2022/src/lib/forms/vehicle/vehicle.form.mjs +17 -0
- package/esm2022/src/lib/functions/array/index.mjs +5 -0
- package/esm2022/src/lib/functions/array/replace.mjs +6 -0
- package/esm2022/src/lib/functions/array/sort-deep.mjs +22 -0
- package/esm2022/src/lib/functions/array/sort.mjs +13 -0
- package/esm2022/src/lib/functions/array/to-array.mjs +7 -0
- package/esm2022/src/lib/functions/clone-deep.mjs +5 -0
- package/esm2022/src/lib/functions/create-date.mjs +8 -0
- package/esm2022/src/lib/functions/enum-to-list.mjs +13 -0
- package/esm2022/src/lib/functions/get-doc-icon.mjs +18 -0
- package/esm2022/src/lib/functions/mat-options-functions.mjs +13 -0
- package/esm2022/src/lib/functions/mat-sort-options.mjs +10 -0
- package/esm2022/src/lib/functions/tax-review-filter-predicate.mjs +10 -0
- package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +31 -0
- package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +33 -0
- package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +41 -0
- package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +42 -0
- package/esm2022/src/lib/interceptors/interceptors.module.mjs +96 -0
- package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +32 -0
- package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +42 -0
- package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +40 -0
- package/esm2022/src/lib/interfaces/asset-entity-type.enum.mjs +12 -0
- package/esm2022/src/lib/interfaces/asset-type.enum.mjs +13 -0
- package/esm2022/src/lib/interfaces/asset.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/chart-data.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/chart-serie.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/document.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/documentable.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/event-listener.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/expense.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/income-source-forecast.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/index.mjs +14 -0
- package/esm2022/src/lib/interfaces/option.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/tank.interface.mjs +2 -0
- package/esm2022/src/lib/interfaces/updatable.interface.mjs +2 -0
- package/esm2022/src/lib/messages/index.mjs +2 -0
- package/esm2022/src/lib/messages/messages.enum.mjs +16 -0
- package/esm2022/src/lib/models/account-setup/account-setup-item.mjs +38 -0
- package/esm2022/src/lib/models/account-setup/account-setup-items.enum.mjs +19 -0
- package/esm2022/src/lib/models/address/address.mjs +50 -0
- package/esm2022/src/lib/models/address/country.mjs +18 -0
- package/esm2022/src/lib/models/address/index.mjs +4 -0
- package/esm2022/src/lib/models/address/states.enum.mjs +12 -0
- package/esm2022/src/lib/models/asset-sale.mjs +10 -0
- package/esm2022/src/lib/models/badge/badge-color.enum.mjs +8 -0
- package/esm2022/src/lib/models/badge/badge.mjs +14 -0
- package/esm2022/src/lib/models/bank/allocation-group.mjs +57 -0
- package/esm2022/src/lib/models/bank/bank-account-chart-data.mjs +30 -0
- package/esm2022/src/lib/models/bank/bank-account-property.mjs +14 -0
- package/esm2022/src/lib/models/bank/bank-account-types.const.mjs +14 -0
- package/esm2022/src/lib/models/bank/bank-account.mjs +176 -0
- package/esm2022/src/lib/models/bank/bank-connection.mjs +55 -0
- package/esm2022/src/lib/models/bank/bank-external-stats.mjs +8 -0
- package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +100 -0
- package/esm2022/src/lib/models/bank/bank-transaction-summary-fields.enum.mjs +6 -0
- package/esm2022/src/lib/models/bank/bank-transaction.mjs +77 -0
- package/esm2022/src/lib/models/bank/bank.mjs +37 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-config.mjs +12 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-connection-data.interface.mjs +2 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-connections-response.interface.mjs +2 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-job-response.mjs +15 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-job-step.mjs +18 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-job.mjs +4 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-token-response.interface.mjs +2 -0
- package/esm2022/src/lib/models/bank/basiq/basiq-token.mjs +15 -0
- package/esm2022/src/lib/models/bank/basiq/index.mjs +9 -0
- package/esm2022/src/lib/models/bank/index.mjs +14 -0
- package/esm2022/src/lib/models/bank/type-loan.const.mjs +9 -0
- package/esm2022/src/lib/models/borrowing-expense/borrowing-expense-loan.mjs +4 -0
- package/esm2022/src/lib/models/borrowing-expense/borrowing-expense.mjs +4 -0
- package/esm2022/src/lib/models/borrowing-expense/index.mjs +3 -0
- package/esm2022/src/lib/models/budget/budget-rule.mjs +14 -0
- package/esm2022/src/lib/models/budget/budget.mjs +18 -0
- package/esm2022/src/lib/models/budget/index.mjs +3 -0
- package/esm2022/src/lib/models/chart/chart-data.mjs +13 -0
- package/esm2022/src/lib/models/chart/chart-serie.mjs +7 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-categories.const.mjs +122 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +48 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-depreciation.mjs +16 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-heading.mjs +4 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-meta-field.mjs +20 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-tax-labels.enum.mjs +7 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts-value.mjs +4 -0
- package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +249 -0
- package/esm2022/src/lib/models/chart-accounts/index.mjs +9 -0
- package/esm2022/src/lib/models/chat/chat-view-type.enum.mjs +6 -0
- package/esm2022/src/lib/models/chat/chat.mjs +26 -0
- package/esm2022/src/lib/models/chat/index.mjs +5 -0
- package/esm2022/src/lib/models/chat/message-document.mjs +21 -0
- package/esm2022/src/lib/models/chat/message.mjs +43 -0
- package/esm2022/src/lib/models/client/annual-client-details.mjs +19 -0
- package/esm2022/src/lib/models/client/client-details.mjs +4 -0
- package/esm2022/src/lib/models/client/client-invite.mjs +68 -0
- package/esm2022/src/lib/models/client/client-movement.mjs +23 -0
- package/esm2022/src/lib/models/client/client-portfolio-chart-data.mjs +55 -0
- package/esm2022/src/lib/models/client/client-portfolio-report.mjs +7 -0
- package/esm2022/src/lib/models/client/index.mjs +7 -0
- package/esm2022/src/lib/models/color/alphabet-colors.enum.mjs +30 -0
- package/esm2022/src/lib/models/depreciation/depreciation-capital-project.mjs +9 -0
- package/esm2022/src/lib/models/depreciation/depreciation-forecast.mjs +42 -0
- package/esm2022/src/lib/models/depreciation/depreciation-group-item.mjs +18 -0
- package/esm2022/src/lib/models/depreciation/depreciation-group.enum.mjs +10 -0
- package/esm2022/src/lib/models/depreciation/depreciation-group.mjs +20 -0
- package/esm2022/src/lib/models/depreciation/depreciation-groups.const.mjs +34 -0
- package/esm2022/src/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +9 -0
- package/esm2022/src/lib/models/depreciation/depreciation.mjs +188 -0
- package/esm2022/src/lib/models/depreciation/index.mjs +9 -0
- package/esm2022/src/lib/models/dictionary/dictionary.mjs +49 -0
- package/esm2022/src/lib/models/dictionary/index.mjs +2 -0
- package/esm2022/src/lib/models/document/document-api-url-prefix.enum.mjs +9 -0
- package/esm2022/src/lib/models/document/document-file-types.const.mjs +23 -0
- package/esm2022/src/lib/models/document/document-folder.mjs +4 -0
- package/esm2022/src/lib/models/document/document.mjs +17 -0
- package/esm2022/src/lib/models/document/index.mjs +5 -0
- package/esm2022/src/lib/models/employee/employee-details.mjs +10 -0
- package/esm2022/src/lib/models/employee/employee-invite.mjs +14 -0
- package/esm2022/src/lib/models/endpoint/endpoint.mjs +23 -0
- package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +248 -0
- package/esm2022/src/lib/models/event/app-event-type.enum.mjs +66 -0
- package/esm2022/src/lib/models/event/app-event.mjs +21 -0
- package/esm2022/src/lib/models/event/index.mjs +3 -0
- package/esm2022/src/lib/models/export/export-cell-type.enum.mjs +11 -0
- package/esm2022/src/lib/models/export/export-cell.mjs +6 -0
- package/esm2022/src/lib/models/export/export-data-table.mjs +3 -0
- package/esm2022/src/lib/models/export/export-format.enum.mjs +6 -0
- package/esm2022/src/lib/models/file/file.mjs +12 -0
- package/esm2022/src/lib/models/file/icons-file.enum.mjs +7 -0
- package/esm2022/src/lib/models/file/index.mjs +2 -0
- package/esm2022/src/lib/models/financial-year/financial-year.mjs +57 -0
- package/esm2022/src/lib/models/financial-year/index.mjs +5 -0
- package/esm2022/src/lib/models/financial-year/month-name-short.enum.mjs +21 -0
- package/esm2022/src/lib/models/financial-year/month-number.enum.mjs +21 -0
- package/esm2022/src/lib/models/financial-year/months.const.mjs +2 -0
- package/esm2022/src/lib/models/firm/firm.mjs +26 -0
- package/esm2022/src/lib/models/holding/holding-import.mjs +16 -0
- package/esm2022/src/lib/models/holding/holding-reinvest.mjs +22 -0
- package/esm2022/src/lib/models/holding/holding-sale.mjs +37 -0
- package/esm2022/src/lib/models/holding/holding-type-exchange.mjs +13 -0
- package/esm2022/src/lib/models/holding/holding-type.mjs +64 -0
- package/esm2022/src/lib/models/holding/holding.mjs +82 -0
- package/esm2022/src/lib/models/holding/index.mjs +7 -0
- package/esm2022/src/lib/models/income-position/income-position.mjs +9 -0
- package/esm2022/src/lib/models/income-source/income-source-chart-data.mjs +45 -0
- package/esm2022/src/lib/models/income-source/income-source-forecast.mjs +34 -0
- package/esm2022/src/lib/models/income-source/income-source-type.mjs +20 -0
- package/esm2022/src/lib/models/income-source/income-source.mjs +58 -0
- package/esm2022/src/lib/models/income-source/index.mjs +7 -0
- package/esm2022/src/lib/models/income-source/salary-forecast.mjs +36 -0
- package/esm2022/src/lib/models/income-source/sole-forecast.mjs +13 -0
- package/esm2022/src/lib/models/index.mjs +26 -0
- package/esm2022/src/lib/models/loan/index.mjs +5 -0
- package/esm2022/src/lib/models/loan/loan-max-number-of-payments.enum.mjs +11 -0
- package/esm2022/src/lib/models/loan/loan-payment.mjs +13 -0
- package/esm2022/src/lib/models/loan/loan-payout.mjs +11 -0
- package/esm2022/src/lib/models/loan/loan.mjs +84 -0
- package/esm2022/src/lib/models/notification/index.mjs +2 -0
- package/esm2022/src/lib/models/notification/notification.mjs +39 -0
- package/esm2022/src/lib/models/pdf/pdf-orientation.enum.mjs +6 -0
- package/esm2022/src/lib/models/pdf/pdf-settings.mjs +17 -0
- package/esm2022/src/lib/models/phone/phone.mjs +19 -0
- package/esm2022/src/lib/models/property/borrowing-report.mjs +50 -0
- package/esm2022/src/lib/models/property/calculation-form-item.mjs +17 -0
- package/esm2022/src/lib/models/property/calculation-form-type.enum.mjs +9 -0
- package/esm2022/src/lib/models/property/capital-costs-itmes.const.mjs +57 -0
- package/esm2022/src/lib/models/property/corelogic-suggestion.mjs +7 -0
- package/esm2022/src/lib/models/property/index.mjs +18 -0
- package/esm2022/src/lib/models/property/property-category-movement.mjs +24 -0
- package/esm2022/src/lib/models/property/property-category.mjs +15 -0
- package/esm2022/src/lib/models/property/property-document.mjs +17 -0
- package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +157 -0
- package/esm2022/src/lib/models/property/property-equity-chart-item.mjs +24 -0
- package/esm2022/src/lib/models/property/property-equity-chart-type.enum.mjs +6 -0
- package/esm2022/src/lib/models/property/property-forecast.mjs +56 -0
- package/esm2022/src/lib/models/property/property-sale/index.mjs +6 -0
- package/esm2022/src/lib/models/property/property-sale/property-sale-cost-base.mjs +20 -0
- package/esm2022/src/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +4 -0
- package/esm2022/src/lib/models/property/property-sale/property-sale.mjs +55 -0
- package/esm2022/src/lib/models/property/property-sale/tax-exemption-meta-field.mjs +4 -0
- package/esm2022/src/lib/models/property/property-sale/tax-exemption.mjs +8 -0
- package/esm2022/src/lib/models/property/property-share.mjs +47 -0
- package/esm2022/src/lib/models/property/property-subscription.mjs +13 -0
- package/esm2022/src/lib/models/property/property-valuation.mjs +24 -0
- package/esm2022/src/lib/models/property/property.mjs +249 -0
- package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +13 -0
- package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +10 -0
- package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +21 -0
- package/esm2022/src/lib/models/report/depreciation/depreciation-report-item.mjs +25 -0
- package/esm2022/src/lib/models/report/depreciation/index.mjs +4 -0
- package/esm2022/src/lib/models/report/index.mjs +6 -0
- package/esm2022/src/lib/models/report/my-tax/ato-links.mjs +11 -0
- package/esm2022/src/lib/models/report/my-tax/index.mjs +26 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +27 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +11 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +16 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +15 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +74 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +70 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +9 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +30 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +13 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +62 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +10 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +96 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +17 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +40 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +75 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +8 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +11 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +11 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +8 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +47 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +30 -0
- package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +48 -0
- package/esm2022/src/lib/models/report/property/index.mjs +4 -0
- package/esm2022/src/lib/models/report/property/property-report-item-depreciation.mjs +19 -0
- package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +12 -0
- package/esm2022/src/lib/models/report/property/property-report-item.mjs +30 -0
- package/esm2022/src/lib/models/report/sole/index.mjs +2 -0
- package/esm2022/src/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +17 -0
- package/esm2022/src/lib/models/report/vehicle-expense/vehicle-expense.mjs +17 -0
- package/esm2022/src/lib/models/service-subscription/index.mjs +10 -0
- package/esm2022/src/lib/models/service-subscription/module-url-list.const.mjs +12 -0
- package/esm2022/src/lib/models/service-subscription/payment-method-brand.enum.mjs +12 -0
- package/esm2022/src/lib/models/service-subscription/service-payment-method.mjs +31 -0
- package/esm2022/src/lib/models/service-subscription/service-payment.mjs +22 -0
- package/esm2022/src/lib/models/service-subscription/service-price.mjs +25 -0
- package/esm2022/src/lib/models/service-subscription/service-product-icons.enum.mjs +11 -0
- package/esm2022/src/lib/models/service-subscription/service-product-roles.const.mjs +11 -0
- package/esm2022/src/lib/models/service-subscription/service-product.mjs +27 -0
- package/esm2022/src/lib/models/service-subscription/service-promo-code-duration.enum.mjs +7 -0
- package/esm2022/src/lib/models/service-subscription/service-promo-code.mjs +30 -0
- package/esm2022/src/lib/models/service-subscription/service-subscription-item.mjs +24 -0
- package/esm2022/src/lib/models/service-subscription/service-subscription.mjs +161 -0
- package/esm2022/src/lib/models/sole/bas-report.mjs +39 -0
- package/esm2022/src/lib/models/sole/index.mjs +13 -0
- package/esm2022/src/lib/models/sole/sole-business-activity.mjs +4 -0
- package/esm2022/src/lib/models/sole/sole-business-allocation.mjs +18 -0
- package/esm2022/src/lib/models/sole/sole-business-loss-offset-rule.mjs +9 -0
- package/esm2022/src/lib/models/sole/sole-business-loss.mjs +27 -0
- package/esm2022/src/lib/models/sole/sole-business.mjs +57 -0
- package/esm2022/src/lib/models/sole/sole-contact.mjs +30 -0
- package/esm2022/src/lib/models/sole/sole-depreciation-method.mjs +8 -0
- package/esm2022/src/lib/models/sole/sole-details.mjs +10 -0
- package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +47 -0
- package/esm2022/src/lib/models/sole/sole-invoice-template.mjs +31 -0
- package/esm2022/src/lib/models/sole/sole-invoice.mjs +142 -0
- package/esm2022/src/lib/models/tax-return/index.mjs +4 -0
- package/esm2022/src/lib/models/tax-return/tax-return-category.mjs +19 -0
- package/esm2022/src/lib/models/tax-return/tax-return-item.mjs +40 -0
- package/esm2022/src/lib/models/tax-return/tax-return.mjs +10 -0
- package/esm2022/src/lib/models/tax-review/tax-review.mjs +86 -0
- package/esm2022/src/lib/models/tax-summary/report-item-details.mjs +10 -0
- package/esm2022/src/lib/models/tax-summary/report-item.mjs +29 -0
- package/esm2022/src/lib/models/tax-summary/tax-summary-section.mjs +32 -0
- package/esm2022/src/lib/models/tax-summary/tax-summary-type.enum.mjs +9 -0
- package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +152 -0
- package/esm2022/src/lib/models/toast/toast-type.enum.mjs +8 -0
- package/esm2022/src/lib/models/toast/toast.mjs +10 -0
- package/esm2022/src/lib/models/transaction/allocation-rule-condition.mjs +40 -0
- package/esm2022/src/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +4 -0
- package/esm2022/src/lib/models/transaction/allocation-rule-transaction.mjs +110 -0
- package/esm2022/src/lib/models/transaction/allocation-rule.mjs +131 -0
- package/esm2022/src/lib/models/transaction/income-amount-type.enum.mjs +9 -0
- package/esm2022/src/lib/models/transaction/index.mjs +9 -0
- package/esm2022/src/lib/models/transaction/transaction-allocation.mjs +21 -0
- package/esm2022/src/lib/models/transaction/transaction-category.enum.mjs +8 -0
- package/esm2022/src/lib/models/transaction/transaction-meta-field.mjs +17 -0
- package/esm2022/src/lib/models/transaction/transaction.mjs +249 -0
- package/esm2022/src/lib/models/user/index.mjs +10 -0
- package/esm2022/src/lib/models/user/my-account-history-initiated-by.enum.mjs +6 -0
- package/esm2022/src/lib/models/user/my-account-history-status.enum.mjs +6 -0
- package/esm2022/src/lib/models/user/my-account-history-type.enum.mjs +7 -0
- package/esm2022/src/lib/models/user/my-account-history.mjs +3 -0
- package/esm2022/src/lib/models/user/occupation.mjs +4 -0
- package/esm2022/src/lib/models/user/user-roles.const.mjs +20 -0
- package/esm2022/src/lib/models/user/user-to-register.mjs +6 -0
- package/esm2022/src/lib/models/user/user-work-position.const.mjs +7 -0
- package/esm2022/src/lib/models/user/user.mjs +171 -0
- package/esm2022/src/lib/models/user-event/user-event-setting-field.enum.mjs +10 -0
- package/esm2022/src/lib/models/user-event/user-event-setting.mjs +18 -0
- package/esm2022/src/lib/models/user-event/user-event-type-category.mjs +4 -0
- package/esm2022/src/lib/models/user-event/user-event-type.mjs +23 -0
- package/esm2022/src/lib/models/vehicle/index.mjs +5 -0
- package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +27 -0
- package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +60 -0
- package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +27 -0
- package/esm2022/src/lib/models/vehicle/vehicle.mjs +10 -0
- package/esm2022/src/lib/pipes/app-currency.pipe.mjs +23 -0
- package/esm2022/src/lib/pipes/index.mjs +3 -0
- package/esm2022/src/lib/pipes/safe-url.pipe.mjs +21 -0
- package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +168 -0
- package/esm2022/src/lib/services/account-setup/index.mjs +2 -0
- package/esm2022/src/lib/services/asset/assets.service.mjs +51 -0
- package/esm2022/src/lib/services/asset/index.mjs +2 -0
- package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +32 -0
- package/esm2022/src/lib/services/bank/index.mjs +2 -0
- package/esm2022/src/lib/services/data.service.mjs +44 -0
- package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +41 -0
- package/esm2022/src/lib/services/event/index.mjs +3 -0
- package/esm2022/src/lib/services/event/sse.service.mjs +48 -0
- package/esm2022/src/lib/services/export/export-formatter.service.mjs +34 -0
- package/esm2022/src/lib/services/export/index.mjs +2 -0
- package/esm2022/src/lib/services/header-title/header-title.service.mjs +28 -0
- package/esm2022/src/lib/services/header-title/index.mjs +2 -0
- package/esm2022/src/lib/services/http/address/address.service.mjs +37 -0
- package/esm2022/src/lib/services/http/address/index.mjs +2 -0
- package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +84 -0
- package/esm2022/src/lib/services/http/bank/bank-account/index.mjs +2 -0
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +23 -0
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +78 -0
- package/esm2022/src/lib/services/http/bank/bank-connection/index.mjs +3 -0
- package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +77 -0
- package/esm2022/src/lib/services/http/bank/bank-transaction/index.mjs +2 -0
- package/esm2022/src/lib/services/http/bank/bank.service.mjs +26 -0
- package/esm2022/src/lib/services/http/bank/basiq/basiq-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +39 -0
- package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +142 -0
- package/esm2022/src/lib/services/http/bank/basiq/index.mjs +4 -0
- package/esm2022/src/lib/services/http/bank/index.mjs +6 -0
- package/esm2022/src/lib/services/http/budget/budget-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/budget/budget.service.mjs +23 -0
- package/esm2022/src/lib/services/http/budget/index.mjs +3 -0
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +26 -0
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +2 -0
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +49 -0
- package/esm2022/src/lib/services/http/chart-accounts/index.mjs +4 -0
- package/esm2022/src/lib/services/http/chat/chat.service.mjs +88 -0
- package/esm2022/src/lib/services/http/chat/index.mjs +4 -0
- package/esm2022/src/lib/services/http/chat/message-document.service.mjs +80 -0
- package/esm2022/src/lib/services/http/chat/message.service.mjs +35 -0
- package/esm2022/src/lib/services/http/client/capital-gain/annual-client-details.service.mjs +23 -0
- package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +27 -0
- package/esm2022/src/lib/services/http/client/index.mjs +4 -0
- package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +43 -0
- package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +27 -0
- package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/index.mjs +2 -0
- package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +106 -0
- package/esm2022/src/lib/services/http/depreciation/index.mjs +3 -0
- package/esm2022/src/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +26 -0
- package/esm2022/src/lib/services/http/document/document-folder/index.mjs +3 -0
- package/esm2022/src/lib/services/http/document/document-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/document/document.service.mjs +23 -0
- package/esm2022/src/lib/services/http/document/index.mjs +4 -0
- package/esm2022/src/lib/services/http/facebook/facebook-auth-options.interface.mjs +2 -0
- package/esm2022/src/lib/services/http/facebook/facebook-auth-response.interface.mjs +2 -0
- package/esm2022/src/lib/services/http/facebook/facebook-status-response.interface.mjs +2 -0
- package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +87 -0
- package/esm2022/src/lib/services/http/facebook/index.mjs +2 -0
- package/esm2022/src/lib/services/http/file/file.service.mjs +39 -0
- package/esm2022/src/lib/services/http/file/index.mjs +2 -0
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +15 -0
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +100 -0
- package/esm2022/src/lib/services/http/firm/client-invite/index.mjs +3 -0
- package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +87 -0
- package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +2 -0
- package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +13 -0
- package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +42 -0
- package/esm2022/src/lib/services/http/firm/employee/index.mjs +3 -0
- package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +48 -0
- package/esm2022/src/lib/services/http/firm/employee-invite/index.mjs +2 -0
- package/esm2022/src/lib/services/http/firm/firm-messages.enum.mjs +6 -0
- package/esm2022/src/lib/services/http/firm/firm.service.mjs +63 -0
- package/esm2022/src/lib/services/http/firm/index.mjs +8 -0
- package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +37 -0
- package/esm2022/src/lib/services/http/firm/portfolio-report/index.mjs +2 -0
- package/esm2022/src/lib/services/http/google/google.service.mjs +77 -0
- package/esm2022/src/lib/services/http/google/index.mjs +2 -0
- package/esm2022/src/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +9 -0
- package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +37 -0
- package/esm2022/src/lib/services/http/holding/holding-messages.enum.mjs +10 -0
- package/esm2022/src/lib/services/http/holding/holding-sale-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +23 -0
- package/esm2022/src/lib/services/http/holding/holding-type-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +23 -0
- package/esm2022/src/lib/services/http/holding/holding.service.mjs +35 -0
- package/esm2022/src/lib/services/http/holding/index.mjs +10 -0
- package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +84 -0
- package/esm2022/src/lib/services/http/income-source/income-source-forecast/index.mjs +2 -0
- package/esm2022/src/lib/services/http/income-source/income-source-messages.enum.mjs +10 -0
- package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +93 -0
- package/esm2022/src/lib/services/http/income-source/index.mjs +6 -0
- package/esm2022/src/lib/services/http/income-source/salary-forecast/index.mjs +2 -0
- package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +83 -0
- package/esm2022/src/lib/services/http/income-source/sole-forecast/index.mjs +2 -0
- package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +90 -0
- package/esm2022/src/lib/services/http/index.mjs +29 -0
- package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +74 -0
- package/esm2022/src/lib/services/http/loan/borrowing-expense/index.mjs +2 -0
- package/esm2022/src/lib/services/http/loan/index.mjs +3 -0
- package/esm2022/src/lib/services/http/loan/loan.service.mjs +91 -0
- package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +30 -0
- package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +23 -0
- package/esm2022/src/lib/services/http/property/borrowing-report/index.mjs +3 -0
- package/esm2022/src/lib/services/http/property/index.mjs +10 -0
- package/esm2022/src/lib/services/http/property/property-category/index.mjs +2 -0
- package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +26 -0
- package/esm2022/src/lib/services/http/property/property-category-movement/index.mjs +2 -0
- package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +23 -0
- package/esm2022/src/lib/services/http/property/property-document/index.mjs +3 -0
- package/esm2022/src/lib/services/http/property/property-document/property-document-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +33 -0
- package/esm2022/src/lib/services/http/property/property-messages.enum.mjs +6 -0
- package/esm2022/src/lib/services/http/property/property-sale/index.mjs +3 -0
- package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +23 -0
- package/esm2022/src/lib/services/http/property/property-share/index.mjs +2 -0
- package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +66 -0
- package/esm2022/src/lib/services/http/property/property-valuation/index.mjs +3 -0
- package/esm2022/src/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +23 -0
- package/esm2022/src/lib/services/http/property/property.service.mjs +87 -0
- package/esm2022/src/lib/services/http/rest/http-method.type.mjs +2 -0
- package/esm2022/src/lib/services/http/rest/index.mjs +4 -0
- package/esm2022/src/lib/services/http/rest/rest-method.type.mjs +2 -0
- package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +240 -0
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +296 -0
- package/esm2022/src/lib/services/http/service-notification/index.mjs +2 -0
- package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +72 -0
- package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +23 -0
- package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +20 -0
- package/esm2022/src/lib/services/http/sole/index.mjs +11 -0
- package/esm2022/src/lib/services/http/sole/sole-business/index.mjs +3 -0
- package/esm2022/src/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +5 -0
- package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +28 -0
- package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +20 -0
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +23 -0
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +37 -0
- package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +20 -0
- package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +73 -0
- package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +64 -0
- package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +48 -0
- package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +20 -0
- package/esm2022/src/lib/services/http/subscription/index.mjs +7 -0
- package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +33 -0
- package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +45 -0
- package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +26 -0
- package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +23 -0
- package/esm2022/src/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +10 -0
- package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +84 -0
- package/esm2022/src/lib/services/http/tax-review/index.mjs +4 -0
- package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +45 -0
- package/esm2022/src/lib/services/http/tax-review/tax-review-messages.enum.mjs +20 -0
- package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +106 -0
- package/esm2022/src/lib/services/http/tax-summary/index.mjs +2 -0
- package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +71 -0
- package/esm2022/src/lib/services/http/transaction/index.mjs +4 -0
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +22 -0
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +117 -0
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +288 -0
- package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +29 -0
- package/esm2022/src/lib/services/http/user/index.mjs +8 -0
- package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +23 -0
- package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +23 -0
- package/esm2022/src/lib/services/http/user/user-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/user/user.service.mjs +105 -0
- package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +23 -0
- package/esm2022/src/lib/services/http/vehicle/index.mjs +6 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +74 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +50 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/index.mjs +3 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +25 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +25 -0
- package/esm2022/src/lib/services/http/youtube/index.mjs +3 -0
- package/esm2022/src/lib/services/http/youtube/youtube-video.interface.mjs +2 -0
- package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +34 -0
- package/esm2022/src/lib/services/index.mjs +17 -0
- package/esm2022/src/lib/services/intercom/index.mjs +2 -0
- package/esm2022/src/lib/services/intercom/intercom.service.mjs +41 -0
- package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +31 -0
- package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +23 -0
- package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +23 -0
- package/esm2022/src/lib/services/json/index.mjs +6 -0
- package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +23 -0
- package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +23 -0
- package/esm2022/src/lib/services/pdf/index.mjs +6 -0
- package/esm2022/src/lib/services/pdf/js-pdf.mjs +10 -0
- package/esm2022/src/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +21 -0
- package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +47 -0
- package/esm2022/src/lib/services/pdf/pdf-from-table/file-settings.mjs +36 -0
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +46 -0
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +42 -0
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +63 -0
- package/esm2022/src/lib/services/preloader/index.mjs +2 -0
- package/esm2022/src/lib/services/preloader/preloader.service.mjs +30 -0
- package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +42 -0
- package/esm2022/src/lib/services/property/corelogic/index.mjs +2 -0
- package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +39 -0
- package/esm2022/src/lib/services/property/equity-position-chart/index.mjs +2 -0
- package/esm2022/src/lib/services/property/index.mjs +4 -0
- package/esm2022/src/lib/services/property/property-calculation/index.mjs +2 -0
- package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +158 -0
- package/esm2022/src/lib/services/report/index.mjs +2 -0
- package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +65 -0
- package/esm2022/src/lib/services/toast/index.mjs +2 -0
- package/esm2022/src/lib/services/toast/toast.service.mjs +59 -0
- package/esm2022/src/lib/services/user/index.mjs +2 -0
- package/esm2022/src/lib/services/user/user-switcher.service.mjs +37 -0
- package/esm2022/src/lib/services/xlsx/index.mjs +2 -0
- package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +84 -0
- package/esm2022/src/lib/validators/address-corelogic.validator.mjs +19 -0
- package/esm2022/src/lib/validators/at-least-one-enabled.validator.mjs +9 -0
- package/esm2022/src/lib/validators/at-least-one.validator.mjs +9 -0
- package/esm2022/src/lib/validators/autocomplete.validator.mjs +8 -0
- package/esm2022/src/lib/validators/conditional.validator.mjs +26 -0
- package/esm2022/src/lib/validators/current-fin-year.validator.mjs +14 -0
- package/esm2022/src/lib/validators/date-range.validator.mjs +22 -0
- package/esm2022/src/lib/validators/fields-sum.validator.mjs +24 -0
- package/esm2022/src/lib/validators/file.validator.mjs +36 -0
- package/esm2022/src/lib/validators/greater-than.validator.mjs +12 -0
- package/esm2022/src/lib/validators/group.validator.mjs +11 -0
- package/esm2022/src/lib/validators/index.mjs +12 -0
- package/esm2022/src/lib/validators/min-date/messages.enum.mjs +5 -0
- package/esm2022/src/lib/validators/min-date/min-date.validator.mjs +18 -0
- package/esm2022/src/lib/validators/password-match.validator.mjs +17 -0
- package/esm2022/src/lib/validators/password.validator.mjs +20 -0
- package/esm2022/src/lib/validators/phone-number.validator.mjs +9 -0
- package/esm2022/src/lib/validators/required-length.validator.mjs +12 -0
- package/esm2022/src/lib/validators/transactions-meta-fields.validator.mjs +33 -0
- package/esm2022/src/lib/validators/unique-email.validator.mjs +19 -0
- package/esm2022/taxtank-core.mjs +1 -1
- package/fesm2022/taxtank-core-common.mjs +369 -0
- package/fesm2022/taxtank-core-common.mjs.map +1 -0
- package/fesm2022/taxtank-core.mjs +498 -794
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +30 -24
- package/public-api.d.ts +158 -159
- package/src/lib/collections/subscription/service-subscription.collection.d.ts +23 -0
- package/src/lib/core.module.d.ts +13 -0
- package/src/lib/db/Models/setup-item.d.ts +11 -0
- package/src/lib/db/Models/subscription/service-product.d.ts +19 -0
- package/src/lib/db/Models/subscription/service-subscription.d.ts +23 -0
- package/src/lib/db/Models/user/user.d.ts +59 -0
- package/src/lib/interceptors/interceptors.module.d.ts +6 -0
- package/src/lib/interfaces/index.d.ts +13 -0
- package/src/lib/models/service-subscription/service-product-roles.const.d.ts +5 -0
- package/src/lib/models/user/user-roles.const.d.ts +7 -0
- package/src/lib/models/user/user.d.ts +72 -0
- package/src/lib/pipes/app-currency.pipe.d.ts +11 -0
- package/src/lib/services/event/sse.service.d.ts +20 -0
- package/src/lib/services/http/facebook/facebook.service.d.ts +38 -0
- package/src/lib/services/http/firm/employee/employee.service.d.ts +20 -0
- package/src/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +25 -0
- package/src/lib/services/http/google/google.service.d.ts +43 -0
- package/src/lib/services/http/holding/holding-import/holding-import.service.d.ts +17 -0
- package/src/lib/services/http/holding/holding.service.d.ts +19 -0
- package/src/lib/services/http/rest/rest-old.service.d.ts +117 -0
- package/src/lib/services/http/rest/rest.service.d.ts +121 -0
- package/src/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +24 -0
- package/src/lib/services/http/user/user.service.d.ts +43 -0
- package/src/lib/services/http/vehicle/vehicle-claim.service.d.ts +21 -0
- package/src/lib/services/index.d.ts +16 -0
- package/esm2022/lib/collections/account-setup-item.collection.mjs +0 -12
- package/esm2022/lib/collections/allocation-group.collection.mjs +0 -9
- package/esm2022/lib/collections/allocation-rule.collection.mjs +0 -26
- package/esm2022/lib/collections/asset-sale.collection.mjs +0 -56
- package/esm2022/lib/collections/bank-account.collection.mjs +0 -153
- package/esm2022/lib/collections/bank-transaction.collection.mjs +0 -131
- package/esm2022/lib/collections/chart-accounts.collection.mjs +0 -26
- package/esm2022/lib/collections/chat/chat.collection.mjs +0 -26
- package/esm2022/lib/collections/chat/index.mjs +0 -4
- package/esm2022/lib/collections/chat/message-document.collection.mjs +0 -13
- package/esm2022/lib/collections/chat/message.collection.mjs +0 -31
- package/esm2022/lib/collections/client-invite.collection.mjs +0 -7
- package/esm2022/lib/collections/client-movement.collection.mjs +0 -47
- package/esm2022/lib/collections/client-portfolio-report.collection.mjs +0 -40
- package/esm2022/lib/collections/client.collection.mjs +0 -4
- package/esm2022/lib/collections/collection-dictionary.mjs +0 -110
- package/esm2022/lib/collections/collection.mjs +0 -163
- package/esm2022/lib/collections/depreciation-forecast.collection.mjs +0 -19
- package/esm2022/lib/collections/depreciation.collection.mjs +0 -116
- package/esm2022/lib/collections/employee.collection.mjs +0 -11
- package/esm2022/lib/collections/exportable.collection.mjs +0 -23
- package/esm2022/lib/collections/holding/holding-sale.collection.mjs +0 -41
- package/esm2022/lib/collections/holding/holding-type.collection.mjs +0 -13
- package/esm2022/lib/collections/holding/holding.collection.mjs +0 -68
- package/esm2022/lib/collections/holding/index.mjs +0 -4
- package/esm2022/lib/collections/income-source/income-source-forecast.collection.mjs +0 -11
- package/esm2022/lib/collections/income-source/income-source.collection.mjs +0 -43
- package/esm2022/lib/collections/income-source/index.mjs +0 -3
- package/esm2022/lib/collections/index.mjs +0 -34
- package/esm2022/lib/collections/loan/index.mjs +0 -3
- package/esm2022/lib/collections/loan/loan-payment.collection.mjs +0 -40
- package/esm2022/lib/collections/loan/loan.collection.mjs +0 -46
- package/esm2022/lib/collections/property/index.mjs +0 -7
- package/esm2022/lib/collections/property/property-category-movement.collection.mjs +0 -23
- package/esm2022/lib/collections/property/property-sale/index.mjs +0 -3
- package/esm2022/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +0 -17
- package/esm2022/lib/collections/property/property-sale/property-sale.collection.mjs +0 -13
- package/esm2022/lib/collections/property/property-share.collection.mjs +0 -20
- package/esm2022/lib/collections/property/property-valuation.collection.mjs +0 -4
- package/esm2022/lib/collections/property/property.collection.mjs +0 -113
- package/esm2022/lib/collections/property/tax-exemption.collection.mjs +0 -11
- package/esm2022/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +0 -12
- package/esm2022/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +0 -12
- package/esm2022/lib/collections/report/index.mjs +0 -7
- package/esm2022/lib/collections/report/property/property-report-item-depreciation.collection.mjs +0 -21
- package/esm2022/lib/collections/report/property/property-report-item-transaction.collection.mjs +0 -21
- package/esm2022/lib/collections/report/property/property-report-item.collection.mjs +0 -13
- package/esm2022/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +0 -17
- package/esm2022/lib/collections/sole/index.mjs +0 -4
- package/esm2022/lib/collections/sole/sole-business-losses.collection.mjs +0 -41
- package/esm2022/lib/collections/sole/sole-invoice-item.collection.mjs +0 -10
- package/esm2022/lib/collections/sole/sole-invoice.collection.mjs +0 -30
- package/esm2022/lib/collections/subscription/index.mjs +0 -5
- package/esm2022/lib/collections/subscription/service-price.collection.mjs +0 -50
- package/esm2022/lib/collections/subscription/service-product.collection.mjs +0 -11
- package/esm2022/lib/collections/subscription/service-subscription.collection.mjs +0 -58
- package/esm2022/lib/collections/subscription/subscription-item.collection.mjs +0 -17
- package/esm2022/lib/collections/tax-review.collection.mjs +0 -53
- package/esm2022/lib/collections/tax-summary/index.mjs +0 -3
- package/esm2022/lib/collections/tax-summary/report-item.collection.mjs +0 -101
- package/esm2022/lib/collections/tax-summary/tax-return-categories.const.mjs +0 -113
- package/esm2022/lib/collections/transaction/index.mjs +0 -3
- package/esm2022/lib/collections/transaction/transaction-allocation.collection.mjs +0 -39
- package/esm2022/lib/collections/transaction/transaction.collection.mjs +0 -240
- package/esm2022/lib/collections/user-event-setting.collection.mjs +0 -10
- package/esm2022/lib/collections/user-event-type-collection.mjs +0 -11
- package/esm2022/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +0 -90
- package/esm2022/lib/collections/vehicle/index.mjs +0 -4
- package/esm2022/lib/collections/vehicle/vehicle-claim.collection.mjs +0 -25
- package/esm2022/lib/collections/vehicle/vehicle-logbook.collection.mjs +0 -31
- package/esm2022/lib/db/Enums/address-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/allocation-rule-condition-field.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/annual-frequency.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/bank/bank-account-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/bank-account-type.enum.mjs +0 -13
- package/esm2022/lib/db/Enums/bank/bank-connection-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/bank-popular.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/bank/bank-provider.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/bank-transaction-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/index.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/loan/index.mjs +0 -11
- package/esm2022/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/bank/loan/loan-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +0 -16
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +0 -20
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +0 -50
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +0 -102
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +0 -19
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +0 -50
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/chart-accounts/index.mjs +0 -18
- package/esm2022/lib/db/Enums/chat-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-details-medicare-exemption.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/client-invite-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/client-invite-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/depreciation-calculation-percent.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/depreciation-calculation.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/depreciation-type.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/depreciation-write-off-amount.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/document-type.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/file-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/firm-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/holding/holding-type-category.enum.mjs +0 -18
- package/esm2022/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/holding/index.mjs +0 -3
- package/esm2022/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +0 -15
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/income-source/income-source-type.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/income-source/index.mjs +0 -7
- package/esm2022/lib/db/Enums/index.mjs +0 -13
- package/esm2022/lib/db/Enums/invite-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/phone-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-category-list.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/property/property-share-access.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/property/property-share-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/registration-invite-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/salary-forecast-frequency.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/service-notification-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/service-notification-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/setup-item-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/sole-depreciation-method.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/sole-invoice-statuses.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/sole-invoice-tax-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/spare-document-spare-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/index.mjs +0 -2
- package/esm2022/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +0 -12
- package/esm2022/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-payment-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-price-list.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/subscription/service-price-type.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/subscription/service-product-id.enum.mjs +0 -11
- package/esm2022/lib/db/Enums/subscription/service-product-status.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/subscription/service-subscription-status.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/tank-type.enum.mjs +0 -10
- package/esm2022/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/tax-calculation-type.enum.mjs +0 -14
- package/esm2022/lib/db/Enums/tax-return/index.mjs +0 -4
- package/esm2022/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +0 -66
- package/esm2022/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/tax-return/tax-return-item.enum.mjs +0 -20
- package/esm2022/lib/db/Enums/tax-review-status.enum.mjs +0 -13
- package/esm2022/lib/db/Enums/tax-summary-list.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/tax-summary-section.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/tax-summary-tax-summary.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/ticket-feedback.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/ticket-status.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/ticket-types.enum.mjs +0 -5
- package/esm2022/lib/db/Enums/transaction-operation.enum.mjs +0 -8
- package/esm2022/lib/db/Enums/transaction-source.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/transaction-type.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/user-event-status.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/user-event-type-client-type.enum.mjs +0 -29
- package/esm2022/lib/db/Enums/user-event-type-employee-type.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/user-event-type-frequency.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-event-type-type.enum.mjs +0 -51
- package/esm2022/lib/db/Enums/user-event-type-user-type.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-medicare-exemption.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-roles.enum.mjs +0 -17
- package/esm2022/lib/db/Enums/user-status.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/user-title.enum.mjs +0 -9
- package/esm2022/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/user-working-holiday-maker.enum.mjs +0 -7
- package/esm2022/lib/db/Enums/vehicle-claim-details-method.enum.mjs +0 -6
- package/esm2022/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +0 -6
- package/esm2022/lib/db/Models/abstract-model.mjs +0 -14
- package/esm2022/lib/db/Models/address.mjs +0 -4
- package/esm2022/lib/db/Models/bank/bank-account-balance.mjs +0 -9
- package/esm2022/lib/db/Models/bank/bank-account-property.mjs +0 -9
- package/esm2022/lib/db/Models/bank/bank-account.mjs +0 -10
- package/esm2022/lib/db/Models/bank/bank-connection.mjs +0 -5
- package/esm2022/lib/db/Models/bank/bank-transaction-import.mjs +0 -4
- package/esm2022/lib/db/Models/bank/bank-transaction.mjs +0 -5
- package/esm2022/lib/db/Models/bank/bank.mjs +0 -4
- package/esm2022/lib/db/Models/bank/basiq-job-step.enum.mjs +0 -8
- package/esm2022/lib/db/Models/bank/basiq-job.mjs +0 -4
- package/esm2022/lib/db/Models/budget/budget-rule.mjs +0 -4
- package/esm2022/lib/db/Models/budget/budget.mjs +0 -4
- package/esm2022/lib/db/Models/budget/index.mjs +0 -3
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts-value.mjs +0 -4
- package/esm2022/lib/db/Models/chart-accounts/chart-accounts.mjs +0 -4
- package/esm2022/lib/db/Models/client/annual-client-details.mjs +0 -3
- package/esm2022/lib/db/Models/client/client-details.mjs +0 -4
- package/esm2022/lib/db/Models/client/index.mjs +0 -4
- package/esm2022/lib/db/Models/client/occupation.mjs +0 -4
- package/esm2022/lib/db/Models/country.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation-capital-project.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/depreciation/depreciation.mjs +0 -5
- package/esm2022/lib/db/Models/document/document-folder.mjs +0 -4
- package/esm2022/lib/db/Models/document/folder-document.mjs +0 -4
- package/esm2022/lib/db/Models/document/property-document.mjs +0 -4
- package/esm2022/lib/db/Models/file.mjs +0 -4
- package/esm2022/lib/db/Models/firm/accountant/tax-review.mjs +0 -4
- package/esm2022/lib/db/Models/firm/accountant/ticket.mjs +0 -4
- package/esm2022/lib/db/Models/firm/chat.mjs +0 -4
- package/esm2022/lib/db/Models/firm/client-invite.mjs +0 -5
- package/esm2022/lib/db/Models/firm/client-movement.mjs +0 -5
- package/esm2022/lib/db/Models/firm/employee-invite.mjs +0 -4
- package/esm2022/lib/db/Models/firm/firm-invite.mjs +0 -4
- package/esm2022/lib/db/Models/firm/firm.mjs +0 -4
- package/esm2022/lib/db/Models/firm/message-document.mjs +0 -4
- package/esm2022/lib/db/Models/firm/message.mjs +0 -5
- package/esm2022/lib/db/Models/holding/holding-import.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-sale.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-type-exchange.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding-type.mjs +0 -3
- package/esm2022/lib/db/Models/holding/holding.mjs +0 -3
- package/esm2022/lib/db/Models/holding/index.mjs +0 -5
- package/esm2022/lib/db/Models/incomeSource/income-source-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/income-source-type.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/income-source.mjs +0 -4
- package/esm2022/lib/db/Models/incomeSource/salary-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/index.mjs +0 -96
- package/esm2022/lib/db/Models/loan/borrowing-expense-loan.mjs +0 -4
- package/esm2022/lib/db/Models/loan/borrowing-expense.mjs +0 -4
- package/esm2022/lib/db/Models/loan/loan-payout.mjs +0 -13
- package/esm2022/lib/db/Models/loan/loan.mjs +0 -22
- package/esm2022/lib/db/Models/observable-model.mjs +0 -14
- package/esm2022/lib/db/Models/phone.mjs +0 -4
- package/esm2022/lib/db/Models/property/borrowing-report.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-category-movement.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-category.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/property-sale.mjs +0 -5
- package/esm2022/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-sale/tax-exemption.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-share.mjs +0 -10
- package/esm2022/lib/db/Models/property/property-subscription.mjs +0 -4
- package/esm2022/lib/db/Models/property/property-valuation.mjs +0 -5
- package/esm2022/lib/db/Models/property/property.mjs +0 -22
- package/esm2022/lib/db/Models/service-notification.mjs +0 -4
- package/esm2022/lib/db/Models/setup-item.mjs +0 -4
- package/esm2022/lib/db/Models/sole/bas-report.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-activity.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-allocation.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business-loss.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-business.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-contact.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-depreciation-method.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-details.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-forecast.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice-item.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice-template.mjs +0 -4
- package/esm2022/lib/db/Models/sole/sole-invoice.mjs +0 -4
- package/esm2022/lib/db/Models/spare/spare-document-category.mjs +0 -4
- package/esm2022/lib/db/Models/spare/spare-document.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-payment-method.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-payment.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-price.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-product.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-subscription-item.mjs +0 -4
- package/esm2022/lib/db/Models/subscription/service-subscription.mjs +0 -5
- package/esm2022/lib/db/Models/tax-calculation.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/index.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return-category.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return-item.mjs +0 -4
- package/esm2022/lib/db/Models/tax-return/tax-return.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-condition.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/allocation-rule-transaction.mjs +0 -5
- package/esm2022/lib/db/Models/transaction/allocation-rule.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction-allocation.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction-base.mjs +0 -123
- package/esm2022/lib/db/Models/transaction/transaction-meta-field.mjs +0 -4
- package/esm2022/lib/db/Models/transaction/transaction.mjs +0 -5
- package/esm2022/lib/db/Models/user/employee-details.mjs +0 -4
- package/esm2022/lib/db/Models/user/registration-invite.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-setting.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-type-category.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event-type.mjs +0 -4
- package/esm2022/lib/db/Models/user/user-event.mjs +0 -4
- package/esm2022/lib/db/Models/user/user.mjs +0 -5
- package/esm2022/lib/db/Models/vehicle/vehicle-claim-details.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle-claim.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle-logbook.mjs +0 -4
- package/esm2022/lib/db/Models/vehicle/vehicle.mjs +0 -4
- package/esm2022/lib/db-static/chart-accounts/chart-accounts-values.mjs +0 -9
- package/esm2022/lib/forms/abstract.form.mjs +0 -111
- package/esm2022/lib/forms/address/address.form.mjs +0 -190
- package/esm2022/lib/forms/address/index.mjs +0 -2
- package/esm2022/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +0 -46
- package/esm2022/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +0 -45
- package/esm2022/lib/forms/bank/bank-account/bank-account-import.form.mjs +0 -24
- package/esm2022/lib/forms/bank/bank-account/bank-account-properties.form.mjs +0 -64
- package/esm2022/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +0 -50
- package/esm2022/lib/forms/budget/budget.form.mjs +0 -69
- package/esm2022/lib/forms/budget/index.mjs +0 -2
- package/esm2022/lib/forms/chart-accounts/chart-accounts.form.mjs +0 -14
- package/esm2022/lib/forms/chart-accounts/index.mjs +0 -2
- package/esm2022/lib/forms/client/annual-client-details.form.mjs +0 -39
- package/esm2022/lib/forms/client/index.mjs +0 -2
- package/esm2022/lib/forms/depreciation/depreciation.form.mjs +0 -40
- package/esm2022/lib/forms/depreciation/index.mjs +0 -2
- package/esm2022/lib/forms/document-folder/document-folder.form.mjs +0 -11
- package/esm2022/lib/forms/document-folder/document.form.mjs +0 -11
- package/esm2022/lib/forms/document-folder/index.mjs +0 -3
- package/esm2022/lib/forms/firm/firm.form.mjs +0 -18
- package/esm2022/lib/forms/firm/index.mjs +0 -2
- package/esm2022/lib/forms/form-validations.enum.mjs +0 -12
- package/esm2022/lib/forms/holding/holding-import.form.mjs +0 -25
- package/esm2022/lib/forms/holding/holding-reinvest.form.mjs +0 -59
- package/esm2022/lib/forms/holding/holding-sale.form.mjs +0 -52
- package/esm2022/lib/forms/holding/holding-type.form.mjs +0 -16
- package/esm2022/lib/forms/holding/holding.form.mjs +0 -28
- package/esm2022/lib/forms/holding/index.mjs +0 -6
- package/esm2022/lib/forms/index.mjs +0 -27
- package/esm2022/lib/forms/loan/index.mjs +0 -2
- package/esm2022/lib/forms/loan/loan.form.mjs +0 -90
- package/esm2022/lib/forms/login/login.form.mjs +0 -11
- package/esm2022/lib/forms/phone/index.mjs +0 -2
- package/esm2022/lib/forms/phone/phone.form.mjs +0 -18
- package/esm2022/lib/forms/property/borrowing-report.form.mjs +0 -32
- package/esm2022/lib/forms/property/index.mjs +0 -10
- package/esm2022/lib/forms/property/property-add.form.mjs +0 -69
- package/esm2022/lib/forms/property/property-category-movement-form.mjs +0 -21
- package/esm2022/lib/forms/property/property-document.form.mjs +0 -14
- package/esm2022/lib/forms/property/property-edit.form.mjs +0 -17
- package/esm2022/lib/forms/property/property-forecast.form.mjs +0 -29
- package/esm2022/lib/forms/property/property-sale/index.mjs +0 -4
- package/esm2022/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +0 -39
- package/esm2022/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +0 -66
- package/esm2022/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +0 -107
- package/esm2022/lib/forms/property/property-share.form.mjs +0 -16
- package/esm2022/lib/forms/property/property-valuation.form.mjs +0 -19
- package/esm2022/lib/forms/register/register-client.form.mjs +0 -19
- package/esm2022/lib/forms/register/register-firm.form.mjs +0 -22
- package/esm2022/lib/forms/report/my-tax/index.mjs +0 -17
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +0 -31
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +0 -81
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +0 -14
- package/esm2022/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +0 -79
- package/esm2022/lib/forms/report/my-tax/my-tax-cgt.form.mjs +0 -30
- package/esm2022/lib/forms/report/my-tax/my-tax-deductions.form.mjs +0 -85
- package/esm2022/lib/forms/report/my-tax/my-tax-dividends.form.mjs +0 -23
- package/esm2022/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +0 -108
- package/esm2022/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +0 -10
- package/esm2022/lib/forms/report/my-tax/my-tax-interest.form.mjs +0 -12
- package/esm2022/lib/forms/report/my-tax/my-tax-losses.form.mjs +0 -11
- package/esm2022/lib/forms/report/my-tax/my-tax-medicare.form.mjs +0 -38
- package/esm2022/lib/forms/report/my-tax/my-tax-offsets.form.mjs +0 -10
- package/esm2022/lib/forms/report/my-tax/my-tax-other-income.form.mjs +0 -43
- package/esm2022/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +0 -37
- package/esm2022/lib/forms/report/my-tax/my-tax-rent.form.mjs +0 -13
- package/esm2022/lib/forms/sole/bas-report.form.mjs +0 -62
- package/esm2022/lib/forms/sole/index.mjs +0 -12
- package/esm2022/lib/forms/sole/invoice-payment.form.mjs +0 -14
- package/esm2022/lib/forms/sole/sole-business-allocations.form.mjs +0 -64
- package/esm2022/lib/forms/sole/sole-business-loss.form.mjs +0 -24
- package/esm2022/lib/forms/sole/sole-business.form.mjs +0 -70
- package/esm2022/lib/forms/sole/sole-contact.form.mjs +0 -19
- package/esm2022/lib/forms/sole/sole-depreciation-method.form.mjs +0 -10
- package/esm2022/lib/forms/sole/sole-details.form.mjs +0 -12
- package/esm2022/lib/forms/sole/sole-invoice-item.form.mjs +0 -15
- package/esm2022/lib/forms/sole/sole-invoice-template.form.mjs +0 -15
- package/esm2022/lib/forms/sole/sole-invoice.form.mjs +0 -157
- package/esm2022/lib/forms/transaction/allocation-rule-condition.form.mjs +0 -16
- package/esm2022/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +0 -12
- package/esm2022/lib/forms/transaction/allocation-rule-transaction.form.mjs +0 -144
- package/esm2022/lib/forms/transaction/allocation-rule.form.mjs +0 -188
- package/esm2022/lib/forms/transaction/holding/holding-income.form.mjs +0 -49
- package/esm2022/lib/forms/transaction/index.mjs +0 -8
- package/esm2022/lib/forms/transaction/messages.enum.mjs +0 -5
- package/esm2022/lib/forms/transaction/sole/sole-income.form.mjs +0 -17
- package/esm2022/lib/forms/transaction/sole/sole-transaction.form.mjs +0 -7
- package/esm2022/lib/forms/transaction/transaction-base.form.mjs +0 -98
- package/esm2022/lib/forms/transaction/transaction.form.mjs +0 -62
- package/esm2022/lib/forms/transaction/work/work-expense.form.mjs +0 -33
- package/esm2022/lib/forms/transaction/work/work-income.form.mjs +0 -86
- package/esm2022/lib/forms/transaction/work/work-transaction.form.mjs +0 -40
- package/esm2022/lib/forms/user/client-details.form.mjs +0 -34
- package/esm2022/lib/forms/user/index.mjs +0 -6
- package/esm2022/lib/forms/user/password.form.mjs +0 -14
- package/esm2022/lib/forms/user/reset-password.form.mjs +0 -11
- package/esm2022/lib/forms/user/user-invite.form.mjs +0 -16
- package/esm2022/lib/forms/user/user.form.mjs +0 -15
- package/esm2022/lib/forms/vehicle/index.mjs +0 -5
- package/esm2022/lib/forms/vehicle/vehicle-claim-details.form.mjs +0 -17
- package/esm2022/lib/forms/vehicle/vehicle-claim.form.mjs +0 -30
- package/esm2022/lib/forms/vehicle/vehicle-logbook.form.mjs +0 -63
- package/esm2022/lib/forms/vehicle/vehicle.form.mjs +0 -17
- package/esm2022/lib/functions/array/index.mjs +0 -5
- package/esm2022/lib/functions/array/replace.mjs +0 -6
- package/esm2022/lib/functions/array/sort-deep.mjs +0 -22
- package/esm2022/lib/functions/array/sort.mjs +0 -13
- package/esm2022/lib/functions/array/to-array.mjs +0 -7
- package/esm2022/lib/functions/clone-deep.mjs +0 -5
- package/esm2022/lib/functions/create-date.mjs +0 -8
- package/esm2022/lib/functions/enum-to-list.mjs +0 -13
- package/esm2022/lib/functions/get-doc-icon.mjs +0 -18
- package/esm2022/lib/functions/mat-options-functions.mjs +0 -13
- package/esm2022/lib/functions/mat-sort-options.mjs +0 -10
- package/esm2022/lib/functions/tax-review-filter-predicate.mjs +0 -10
- package/esm2022/lib/interceptors/basiq-client-id.interceptor.mjs +0 -31
- package/esm2022/lib/interceptors/basiq-token.interceptor.mjs +0 -33
- package/esm2022/lib/interceptors/corelogic-interceptor.mjs +0 -41
- package/esm2022/lib/interceptors/financial-year-interceptor.mjs +0 -42
- package/esm2022/lib/interceptors/interceptors.module.mjs +0 -107
- package/esm2022/lib/interceptors/jwt-interceptor.mjs +0 -138
- package/esm2022/lib/interceptors/preloader.interceptor.mjs +0 -32
- package/esm2022/lib/interceptors/rewardful.interceptor.mjs +0 -42
- package/esm2022/lib/interceptors/user-switcher-interceptor.mjs +0 -40
- package/esm2022/lib/interfaces/asset-entity-type.enum.mjs +0 -12
- package/esm2022/lib/interfaces/asset-type.enum.mjs +0 -13
- package/esm2022/lib/interfaces/asset.interface.mjs +0 -2
- package/esm2022/lib/interfaces/auth-tokens.interface.mjs +0 -2
- package/esm2022/lib/interfaces/chart-data.interface.mjs +0 -2
- package/esm2022/lib/interfaces/chart-serie.interface.mjs +0 -2
- package/esm2022/lib/interfaces/document.interface.mjs +0 -2
- package/esm2022/lib/interfaces/documentable.interface.mjs +0 -2
- package/esm2022/lib/interfaces/event-listener.interface.mjs +0 -2
- package/esm2022/lib/interfaces/expense.interface.mjs +0 -2
- package/esm2022/lib/interfaces/income-source-forecast.interface.mjs +0 -2
- package/esm2022/lib/interfaces/index.mjs +0 -15
- package/esm2022/lib/interfaces/option.interface.mjs +0 -2
- package/esm2022/lib/interfaces/tank.interface.mjs +0 -2
- package/esm2022/lib/interfaces/updatable.interface.mjs +0 -2
- package/esm2022/lib/messages/index.mjs +0 -2
- package/esm2022/lib/messages/messages.enum.mjs +0 -16
- package/esm2022/lib/models/account-setup/account-setup-item.mjs +0 -38
- package/esm2022/lib/models/account-setup/account-setup-items.enum.mjs +0 -19
- package/esm2022/lib/models/address/address.mjs +0 -50
- package/esm2022/lib/models/address/country.mjs +0 -18
- package/esm2022/lib/models/address/index.mjs +0 -4
- package/esm2022/lib/models/address/states.enum.mjs +0 -12
- package/esm2022/lib/models/asset-sale.mjs +0 -10
- package/esm2022/lib/models/badge/badge-color.enum.mjs +0 -8
- package/esm2022/lib/models/badge/badge.mjs +0 -14
- package/esm2022/lib/models/bank/allocation-group.mjs +0 -57
- package/esm2022/lib/models/bank/bank-account-chart-data.mjs +0 -30
- package/esm2022/lib/models/bank/bank-account-property.mjs +0 -14
- package/esm2022/lib/models/bank/bank-account-types.const.mjs +0 -14
- package/esm2022/lib/models/bank/bank-account.mjs +0 -176
- package/esm2022/lib/models/bank/bank-connection.mjs +0 -55
- package/esm2022/lib/models/bank/bank-external-stats.mjs +0 -8
- package/esm2022/lib/models/bank/bank-transaction-chart-data.mjs +0 -100
- package/esm2022/lib/models/bank/bank-transaction-summary-fields.enum.mjs +0 -6
- package/esm2022/lib/models/bank/bank-transaction.mjs +0 -77
- package/esm2022/lib/models/bank/bank.mjs +0 -37
- package/esm2022/lib/models/bank/basiq/basiq-config.mjs +0 -12
- package/esm2022/lib/models/bank/basiq/basiq-connection-data.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-connections-response.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-job-response.mjs +0 -15
- package/esm2022/lib/models/bank/basiq/basiq-job-step.mjs +0 -18
- package/esm2022/lib/models/bank/basiq/basiq-job.mjs +0 -4
- package/esm2022/lib/models/bank/basiq/basiq-token-response.interface.mjs +0 -2
- package/esm2022/lib/models/bank/basiq/basiq-token.mjs +0 -15
- package/esm2022/lib/models/bank/basiq/index.mjs +0 -9
- package/esm2022/lib/models/bank/index.mjs +0 -14
- package/esm2022/lib/models/bank/type-loan.const.mjs +0 -9
- package/esm2022/lib/models/borrowing-expense/borrowing-expense-loan.mjs +0 -4
- package/esm2022/lib/models/borrowing-expense/borrowing-expense.mjs +0 -4
- package/esm2022/lib/models/borrowing-expense/index.mjs +0 -3
- package/esm2022/lib/models/budget/budget-rule.mjs +0 -14
- package/esm2022/lib/models/budget/budget.mjs +0 -18
- package/esm2022/lib/models/budget/index.mjs +0 -3
- package/esm2022/lib/models/chart/chart-data.mjs +0 -13
- package/esm2022/lib/models/chart/chart-serie.mjs +0 -7
- package/esm2022/lib/models/chart-accounts/chart-accounts-categories.const.mjs +0 -122
- package/esm2022/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +0 -48
- package/esm2022/lib/models/chart-accounts/chart-accounts-depreciation.mjs +0 -16
- package/esm2022/lib/models/chart-accounts/chart-accounts-heading.mjs +0 -4
- package/esm2022/lib/models/chart-accounts/chart-accounts-meta-field.mjs +0 -20
- package/esm2022/lib/models/chart-accounts/chart-accounts-tax-labels.enum.mjs +0 -7
- package/esm2022/lib/models/chart-accounts/chart-accounts-value.mjs +0 -4
- package/esm2022/lib/models/chart-accounts/chart-accounts.mjs +0 -249
- package/esm2022/lib/models/chart-accounts/index.mjs +0 -9
- package/esm2022/lib/models/chat/chat-view-type.enum.mjs +0 -6
- package/esm2022/lib/models/chat/chat.mjs +0 -26
- package/esm2022/lib/models/chat/index.mjs +0 -5
- package/esm2022/lib/models/chat/message-document.mjs +0 -21
- package/esm2022/lib/models/chat/message.mjs +0 -43
- package/esm2022/lib/models/client/annual-client-details.mjs +0 -19
- package/esm2022/lib/models/client/client-details.mjs +0 -4
- package/esm2022/lib/models/client/client-invite.mjs +0 -68
- package/esm2022/lib/models/client/client-movement.mjs +0 -23
- package/esm2022/lib/models/client/client-portfolio-chart-data.mjs +0 -55
- package/esm2022/lib/models/client/client-portfolio-report.mjs +0 -7
- package/esm2022/lib/models/client/index.mjs +0 -7
- package/esm2022/lib/models/color/alphabet-colors.enum.mjs +0 -30
- package/esm2022/lib/models/depreciation/depreciation-capital-project.mjs +0 -9
- package/esm2022/lib/models/depreciation/depreciation-forecast.mjs +0 -42
- package/esm2022/lib/models/depreciation/depreciation-group-item.mjs +0 -18
- package/esm2022/lib/models/depreciation/depreciation-group.enum.mjs +0 -10
- package/esm2022/lib/models/depreciation/depreciation-group.mjs +0 -20
- package/esm2022/lib/models/depreciation/depreciation-groups.const.mjs +0 -34
- package/esm2022/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +0 -9
- package/esm2022/lib/models/depreciation/depreciation.mjs +0 -188
- package/esm2022/lib/models/depreciation/index.mjs +0 -9
- package/esm2022/lib/models/dictionary/dictionary.mjs +0 -49
- package/esm2022/lib/models/dictionary/index.mjs +0 -2
- package/esm2022/lib/models/document/document-api-url-prefix.enum.mjs +0 -9
- package/esm2022/lib/models/document/document-file-types.const.mjs +0 -23
- package/esm2022/lib/models/document/document-folder.mjs +0 -4
- package/esm2022/lib/models/document/document.mjs +0 -17
- package/esm2022/lib/models/document/index.mjs +0 -5
- package/esm2022/lib/models/employee/employee-details.mjs +0 -10
- package/esm2022/lib/models/employee/employee-invite.mjs +0 -14
- package/esm2022/lib/models/endpoint/endpoint.mjs +0 -23
- package/esm2022/lib/models/endpoint/endpoints.const.mjs +0 -248
- package/esm2022/lib/models/event/app-event-type.enum.mjs +0 -66
- package/esm2022/lib/models/event/app-event.mjs +0 -21
- package/esm2022/lib/models/event/index.mjs +0 -3
- package/esm2022/lib/models/export/export-cell-type.enum.mjs +0 -11
- package/esm2022/lib/models/export/export-cell.mjs +0 -6
- package/esm2022/lib/models/export/export-data-table.mjs +0 -3
- package/esm2022/lib/models/export/export-format.enum.mjs +0 -6
- package/esm2022/lib/models/file/file.mjs +0 -12
- package/esm2022/lib/models/file/icons-file.enum.mjs +0 -7
- package/esm2022/lib/models/file/index.mjs +0 -2
- package/esm2022/lib/models/financial-year/financial-year.mjs +0 -57
- package/esm2022/lib/models/financial-year/index.mjs +0 -5
- package/esm2022/lib/models/financial-year/month-name-short.enum.mjs +0 -21
- package/esm2022/lib/models/financial-year/month-number.enum.mjs +0 -21
- package/esm2022/lib/models/financial-year/months.const.mjs +0 -2
- package/esm2022/lib/models/firm/firm.mjs +0 -26
- package/esm2022/lib/models/holding/holding-import.mjs +0 -16
- package/esm2022/lib/models/holding/holding-reinvest.mjs +0 -22
- package/esm2022/lib/models/holding/holding-sale.mjs +0 -37
- package/esm2022/lib/models/holding/holding-type-exchange.mjs +0 -13
- package/esm2022/lib/models/holding/holding-type.mjs +0 -64
- package/esm2022/lib/models/holding/holding.mjs +0 -82
- package/esm2022/lib/models/holding/index.mjs +0 -7
- package/esm2022/lib/models/income-position/income-position.mjs +0 -9
- package/esm2022/lib/models/income-source/income-source-chart-data.mjs +0 -45
- package/esm2022/lib/models/income-source/income-source-forecast.mjs +0 -34
- package/esm2022/lib/models/income-source/income-source-type.mjs +0 -20
- package/esm2022/lib/models/income-source/income-source.mjs +0 -58
- package/esm2022/lib/models/income-source/index.mjs +0 -7
- package/esm2022/lib/models/income-source/salary-forecast.mjs +0 -36
- package/esm2022/lib/models/income-source/sole-forecast.mjs +0 -13
- package/esm2022/lib/models/index.mjs +0 -26
- package/esm2022/lib/models/loan/index.mjs +0 -5
- package/esm2022/lib/models/loan/loan-max-number-of-payments.enum.mjs +0 -11
- package/esm2022/lib/models/loan/loan-payment.mjs +0 -13
- package/esm2022/lib/models/loan/loan-payout.mjs +0 -11
- package/esm2022/lib/models/loan/loan.mjs +0 -84
- package/esm2022/lib/models/notification/index.mjs +0 -2
- package/esm2022/lib/models/notification/notification.mjs +0 -39
- package/esm2022/lib/models/pdf/pdf-orientation.enum.mjs +0 -6
- package/esm2022/lib/models/pdf/pdf-settings.mjs +0 -17
- package/esm2022/lib/models/phone/phone.mjs +0 -19
- package/esm2022/lib/models/property/borrowing-report.mjs +0 -50
- package/esm2022/lib/models/property/calculation-form-item.mjs +0 -17
- package/esm2022/lib/models/property/calculation-form-type.enum.mjs +0 -9
- package/esm2022/lib/models/property/capital-costs-itmes.const.mjs +0 -57
- package/esm2022/lib/models/property/corelogic-suggestion.mjs +0 -7
- package/esm2022/lib/models/property/index.mjs +0 -18
- package/esm2022/lib/models/property/property-category-movement.mjs +0 -24
- package/esm2022/lib/models/property/property-category.mjs +0 -15
- package/esm2022/lib/models/property/property-document.mjs +0 -17
- package/esm2022/lib/models/property/property-equity-chart-data.mjs +0 -157
- package/esm2022/lib/models/property/property-equity-chart-item.mjs +0 -24
- package/esm2022/lib/models/property/property-equity-chart-type.enum.mjs +0 -6
- package/esm2022/lib/models/property/property-forecast.mjs +0 -56
- package/esm2022/lib/models/property/property-sale/index.mjs +0 -6
- package/esm2022/lib/models/property/property-sale/property-sale-cost-base.mjs +0 -20
- package/esm2022/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/models/property/property-sale/property-sale.mjs +0 -55
- package/esm2022/lib/models/property/property-sale/tax-exemption-meta-field.mjs +0 -4
- package/esm2022/lib/models/property/property-sale/tax-exemption.mjs +0 -8
- package/esm2022/lib/models/property/property-share.mjs +0 -47
- package/esm2022/lib/models/property/property-subscription.mjs +0 -13
- package/esm2022/lib/models/property/property-valuation.mjs +0 -24
- package/esm2022/lib/models/property/property.mjs +0 -249
- package/esm2022/lib/models/registration-invite/registration-invite.mjs +0 -13
- package/esm2022/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +0 -10
- package/esm2022/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +0 -21
- package/esm2022/lib/models/report/depreciation/depreciation-report-item.mjs +0 -25
- package/esm2022/lib/models/report/depreciation/index.mjs +0 -4
- package/esm2022/lib/models/report/index.mjs +0 -6
- package/esm2022/lib/models/report/my-tax/ato-links.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/index.mjs +0 -26
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +0 -27
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +0 -16
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +0 -15
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +0 -74
- package/esm2022/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +0 -70
- package/esm2022/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +0 -9
- package/esm2022/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +0 -30
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +0 -13
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +0 -62
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +0 -10
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +0 -96
- package/esm2022/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +0 -17
- package/esm2022/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +0 -40
- package/esm2022/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +0 -75
- package/esm2022/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +0 -8
- package/esm2022/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +0 -11
- package/esm2022/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +0 -8
- package/esm2022/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +0 -47
- package/esm2022/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +0 -30
- package/esm2022/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +0 -48
- package/esm2022/lib/models/report/property/index.mjs +0 -4
- package/esm2022/lib/models/report/property/property-report-item-depreciation.mjs +0 -19
- package/esm2022/lib/models/report/property/property-report-item-transaction.mjs +0 -12
- package/esm2022/lib/models/report/property/property-report-item.mjs +0 -30
- package/esm2022/lib/models/report/sole/index.mjs +0 -2
- package/esm2022/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +0 -17
- package/esm2022/lib/models/report/vehicle-expense/vehicle-expense.mjs +0 -17
- package/esm2022/lib/models/service-subscription/index.mjs +0 -10
- package/esm2022/lib/models/service-subscription/module-url-list.const.mjs +0 -12
- package/esm2022/lib/models/service-subscription/payment-method-brand.enum.mjs +0 -12
- package/esm2022/lib/models/service-subscription/service-payment-method.mjs +0 -31
- package/esm2022/lib/models/service-subscription/service-payment.mjs +0 -22
- package/esm2022/lib/models/service-subscription/service-price.mjs +0 -25
- package/esm2022/lib/models/service-subscription/service-product-icons.enum.mjs +0 -11
- package/esm2022/lib/models/service-subscription/service-product-roles.const.mjs +0 -11
- package/esm2022/lib/models/service-subscription/service-product.mjs +0 -27
- package/esm2022/lib/models/service-subscription/service-promo-code-duration.enum.mjs +0 -7
- package/esm2022/lib/models/service-subscription/service-promo-code.mjs +0 -30
- package/esm2022/lib/models/service-subscription/service-subscription-item.mjs +0 -24
- package/esm2022/lib/models/service-subscription/service-subscription.mjs +0 -161
- package/esm2022/lib/models/sole/bas-report.mjs +0 -39
- package/esm2022/lib/models/sole/index.mjs +0 -13
- package/esm2022/lib/models/sole/sole-business-activity.mjs +0 -4
- package/esm2022/lib/models/sole/sole-business-allocation.mjs +0 -18
- package/esm2022/lib/models/sole/sole-business-loss-offset-rule.mjs +0 -9
- package/esm2022/lib/models/sole/sole-business-loss.mjs +0 -27
- package/esm2022/lib/models/sole/sole-business.mjs +0 -57
- package/esm2022/lib/models/sole/sole-contact.mjs +0 -30
- package/esm2022/lib/models/sole/sole-depreciation-method.mjs +0 -8
- package/esm2022/lib/models/sole/sole-details.mjs +0 -10
- package/esm2022/lib/models/sole/sole-invoice-item.mjs +0 -47
- package/esm2022/lib/models/sole/sole-invoice-template.mjs +0 -31
- package/esm2022/lib/models/sole/sole-invoice.mjs +0 -142
- package/esm2022/lib/models/tax-return/index.mjs +0 -4
- package/esm2022/lib/models/tax-return/tax-return-category.mjs +0 -19
- package/esm2022/lib/models/tax-return/tax-return-item.mjs +0 -40
- package/esm2022/lib/models/tax-return/tax-return.mjs +0 -10
- package/esm2022/lib/models/tax-review/tax-review.mjs +0 -86
- package/esm2022/lib/models/tax-summary/report-item-details.mjs +0 -10
- package/esm2022/lib/models/tax-summary/report-item.mjs +0 -29
- package/esm2022/lib/models/tax-summary/tax-summary-section.mjs +0 -32
- package/esm2022/lib/models/tax-summary/tax-summary-type.enum.mjs +0 -9
- package/esm2022/lib/models/tax-summary/tax-summary.mjs +0 -152
- package/esm2022/lib/models/toast/toast-type.enum.mjs +0 -8
- package/esm2022/lib/models/toast/toast.mjs +0 -10
- package/esm2022/lib/models/transaction/allocation-rule-condition.mjs +0 -40
- package/esm2022/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +0 -4
- package/esm2022/lib/models/transaction/allocation-rule-transaction.mjs +0 -110
- package/esm2022/lib/models/transaction/allocation-rule.mjs +0 -131
- package/esm2022/lib/models/transaction/income-amount-type.enum.mjs +0 -9
- package/esm2022/lib/models/transaction/index.mjs +0 -9
- package/esm2022/lib/models/transaction/transaction-allocation.mjs +0 -21
- package/esm2022/lib/models/transaction/transaction-category.enum.mjs +0 -8
- package/esm2022/lib/models/transaction/transaction-meta-field.mjs +0 -17
- package/esm2022/lib/models/transaction/transaction.mjs +0 -249
- package/esm2022/lib/models/user/index.mjs +0 -10
- package/esm2022/lib/models/user/my-account-history-initiated-by.enum.mjs +0 -6
- package/esm2022/lib/models/user/my-account-history-status.enum.mjs +0 -6
- package/esm2022/lib/models/user/my-account-history-type.enum.mjs +0 -7
- package/esm2022/lib/models/user/my-account-history.mjs +0 -3
- package/esm2022/lib/models/user/occupation.mjs +0 -4
- package/esm2022/lib/models/user/user-roles.const.mjs +0 -20
- package/esm2022/lib/models/user/user-to-register.mjs +0 -6
- package/esm2022/lib/models/user/user-work-position.const.mjs +0 -7
- package/esm2022/lib/models/user/user.mjs +0 -171
- package/esm2022/lib/models/user-event/user-event-setting-field.enum.mjs +0 -10
- package/esm2022/lib/models/user-event/user-event-setting.mjs +0 -18
- package/esm2022/lib/models/user-event/user-event-type-category.mjs +0 -4
- package/esm2022/lib/models/user-event/user-event-type.mjs +0 -23
- package/esm2022/lib/models/vehicle/index.mjs +0 -5
- package/esm2022/lib/models/vehicle/vehicle-claim-details.mjs +0 -27
- package/esm2022/lib/models/vehicle/vehicle-claim.mjs +0 -60
- package/esm2022/lib/models/vehicle/vehicle-logbook.mjs +0 -27
- package/esm2022/lib/models/vehicle/vehicle.mjs +0 -10
- package/esm2022/lib/pipes/app-currency.pipe.mjs +0 -23
- package/esm2022/lib/pipes/index.mjs +0 -3
- package/esm2022/lib/pipes/safe-url.pipe.mjs +0 -21
- package/esm2022/lib/services/account-setup/account-setup.service.mjs +0 -168
- package/esm2022/lib/services/account-setup/index.mjs +0 -2
- package/esm2022/lib/services/asset/assets.service.mjs +0 -51
- package/esm2022/lib/services/asset/index.mjs +0 -2
- package/esm2022/lib/services/auth/auth.service.mjs +0 -50
- package/esm2022/lib/services/auth/index.mjs +0 -3
- package/esm2022/lib/services/auth/jwt.service.mjs +0 -48
- package/esm2022/lib/services/bank/bank-account-calculation.service.mjs +0 -32
- package/esm2022/lib/services/bank/index.mjs +0 -2
- package/esm2022/lib/services/data.service.mjs +0 -44
- package/esm2022/lib/services/event/event-dispatcher.service.mjs +0 -41
- package/esm2022/lib/services/event/index.mjs +0 -3
- package/esm2022/lib/services/event/sse.service.mjs +0 -48
- package/esm2022/lib/services/export/export-formatter.service.mjs +0 -34
- package/esm2022/lib/services/export/index.mjs +0 -2
- package/esm2022/lib/services/header-title/header-title.service.mjs +0 -28
- package/esm2022/lib/services/header-title/index.mjs +0 -2
- package/esm2022/lib/services/http/address/address.service.mjs +0 -37
- package/esm2022/lib/services/http/address/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank-account/bank-account.service.mjs +0 -84
- package/esm2022/lib/services/http/bank/bank-account/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +0 -23
- package/esm2022/lib/services/http/bank/bank-connection/bank-connection.service.mjs +0 -78
- package/esm2022/lib/services/http/bank/bank-connection/index.mjs +0 -3
- package/esm2022/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +0 -77
- package/esm2022/lib/services/http/bank/bank-transaction/index.mjs +0 -2
- package/esm2022/lib/services/http/bank/bank.service.mjs +0 -26
- package/esm2022/lib/services/http/bank/basiq/basiq-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/bank/basiq/basiq-token.service.mjs +0 -39
- package/esm2022/lib/services/http/bank/basiq/basiq.service.mjs +0 -142
- package/esm2022/lib/services/http/bank/basiq/index.mjs +0 -4
- package/esm2022/lib/services/http/bank/index.mjs +0 -6
- package/esm2022/lib/services/http/budget/budget-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/budget/budget.service.mjs +0 -23
- package/esm2022/lib/services/http/budget/index.mjs +0 -3
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +0 -26
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +0 -2
- package/esm2022/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/chart-accounts/chart-accounts.service.mjs +0 -49
- package/esm2022/lib/services/http/chart-accounts/index.mjs +0 -4
- package/esm2022/lib/services/http/chat/chat.service.mjs +0 -88
- package/esm2022/lib/services/http/chat/index.mjs +0 -4
- package/esm2022/lib/services/http/chat/message-document.service.mjs +0 -80
- package/esm2022/lib/services/http/chat/message.service.mjs +0 -35
- package/esm2022/lib/services/http/client/capital-gain/annual-client-details.service.mjs +0 -23
- package/esm2022/lib/services/http/client/client-coupon.service.mjs +0 -27
- package/esm2022/lib/services/http/client/index.mjs +0 -4
- package/esm2022/lib/services/http/client/occupation/occupation.service.mjs +0 -43
- package/esm2022/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +0 -27
- package/esm2022/lib/services/http/depreciation/depreciation-capital-project/index.mjs +0 -2
- package/esm2022/lib/services/http/depreciation/depreciation.service.mjs +0 -106
- package/esm2022/lib/services/http/depreciation/index.mjs +0 -3
- package/esm2022/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/document/document-folder/document-folder.service.mjs +0 -26
- package/esm2022/lib/services/http/document/document-folder/index.mjs +0 -3
- package/esm2022/lib/services/http/document/document-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/document/document.service.mjs +0 -23
- package/esm2022/lib/services/http/document/index.mjs +0 -4
- package/esm2022/lib/services/http/facebook/facebook-auth-options.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook-auth-response.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook-status-response.interface.mjs +0 -2
- package/esm2022/lib/services/http/facebook/facebook.service.mjs +0 -87
- package/esm2022/lib/services/http/facebook/index.mjs +0 -2
- package/esm2022/lib/services/http/file/file.service.mjs +0 -39
- package/esm2022/lib/services/http/file/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +0 -15
- package/esm2022/lib/services/http/firm/client-invite/client-invite.service.mjs +0 -100
- package/esm2022/lib/services/http/firm/client-invite/index.mjs +0 -3
- package/esm2022/lib/services/http/firm/client-movement/client-movement.service.mjs +0 -87
- package/esm2022/lib/services/http/firm/client-movement/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/employee/employee-messages.enum.mjs +0 -13
- package/esm2022/lib/services/http/firm/employee/employee.service.mjs +0 -42
- package/esm2022/lib/services/http/firm/employee/index.mjs +0 -3
- package/esm2022/lib/services/http/firm/employee-invite/employee-invite.service.mjs +0 -48
- package/esm2022/lib/services/http/firm/employee-invite/index.mjs +0 -2
- package/esm2022/lib/services/http/firm/firm-messages.enum.mjs +0 -6
- package/esm2022/lib/services/http/firm/firm.service.mjs +0 -63
- package/esm2022/lib/services/http/firm/index.mjs +0 -8
- package/esm2022/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +0 -37
- package/esm2022/lib/services/http/firm/portfolio-report/index.mjs +0 -2
- package/esm2022/lib/services/http/google/google.service.mjs +0 -77
- package/esm2022/lib/services/http/google/index.mjs +0 -2
- package/esm2022/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +0 -9
- package/esm2022/lib/services/http/holding/holding-import/holding-import.service.mjs +0 -37
- package/esm2022/lib/services/http/holding/holding-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/holding/holding-sale-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/holding/holding-sale.service.mjs +0 -23
- package/esm2022/lib/services/http/holding/holding-type-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/holding/holding-type.service.mjs +0 -23
- package/esm2022/lib/services/http/holding/holding.service.mjs +0 -35
- package/esm2022/lib/services/http/holding/index.mjs +0 -10
- package/esm2022/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +0 -84
- package/esm2022/lib/services/http/income-source/income-source-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/income-source-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/income-source/income-source.service.mjs +0 -93
- package/esm2022/lib/services/http/income-source/index.mjs +0 -6
- package/esm2022/lib/services/http/income-source/salary-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +0 -83
- package/esm2022/lib/services/http/income-source/sole-forecast/index.mjs +0 -2
- package/esm2022/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +0 -90
- package/esm2022/lib/services/http/index.mjs +0 -29
- package/esm2022/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +0 -74
- package/esm2022/lib/services/http/loan/borrowing-expense/index.mjs +0 -2
- package/esm2022/lib/services/http/loan/index.mjs +0 -3
- package/esm2022/lib/services/http/loan/loan.service.mjs +0 -91
- package/esm2022/lib/services/http/pdf/pdf.service.mjs +0 -30
- package/esm2022/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +0 -23
- package/esm2022/lib/services/http/property/borrowing-report/index.mjs +0 -3
- package/esm2022/lib/services/http/property/index.mjs +0 -10
- package/esm2022/lib/services/http/property/property-category/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-category/property-category.service.mjs +0 -26
- package/esm2022/lib/services/http/property/property-category-movement/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property-document/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-document/property-document-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/property/property-document/property-document.service.mjs +0 -33
- package/esm2022/lib/services/http/property/property-messages.enum.mjs +0 -6
- package/esm2022/lib/services/http/property/property-sale/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-sale/property-sale.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property-share/index.mjs +0 -2
- package/esm2022/lib/services/http/property/property-share/property-share.service.mjs +0 -66
- package/esm2022/lib/services/http/property/property-valuation/index.mjs +0 -3
- package/esm2022/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/property/property-valuation/property-valuation.service.mjs +0 -23
- package/esm2022/lib/services/http/property/property.service.mjs +0 -87
- package/esm2022/lib/services/http/rest/http-method.type.mjs +0 -2
- package/esm2022/lib/services/http/rest/index.mjs +0 -4
- package/esm2022/lib/services/http/rest/rest-method.type.mjs +0 -2
- package/esm2022/lib/services/http/rest/rest-old.service.mjs +0 -240
- package/esm2022/lib/services/http/rest/rest.service.mjs +0 -297
- package/esm2022/lib/services/http/service-notification/index.mjs +0 -2
- package/esm2022/lib/services/http/service-notification/service-notification.service.mjs +0 -72
- package/esm2022/lib/services/http/setup-item/setup-item.service.mjs +0 -23
- package/esm2022/lib/services/http/sole/bas-report/bas-report.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/index.mjs +0 -11
- package/esm2022/lib/services/http/sole/sole-business/index.mjs +0 -3
- package/esm2022/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +0 -5
- package/esm2022/lib/services/http/sole/sole-business/sole-business.service.mjs +0 -28
- package/esm2022/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +0 -23
- package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +0 -37
- package/esm2022/lib/services/http/sole/sole-contact/sole-contact.service.mjs +0 -20
- package/esm2022/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +0 -73
- package/esm2022/lib/services/http/sole/sole-details/sole-details.service.mjs +0 -64
- package/esm2022/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +0 -48
- package/esm2022/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +0 -20
- package/esm2022/lib/services/http/subscription/index.mjs +0 -7
- package/esm2022/lib/services/http/subscription/service-payment/service-payment.service.mjs +0 -33
- package/esm2022/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +0 -45
- package/esm2022/lib/services/http/subscription/service-price/service-price.service.mjs +0 -26
- package/esm2022/lib/services/http/subscription/service-product/service-product.service.mjs +0 -23
- package/esm2022/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +0 -10
- package/esm2022/lib/services/http/subscription/service-subscription/subscription.service.mjs +0 -84
- package/esm2022/lib/services/http/tax-review/index.mjs +0 -4
- package/esm2022/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +0 -45
- package/esm2022/lib/services/http/tax-review/tax-review-messages.enum.mjs +0 -20
- package/esm2022/lib/services/http/tax-review/tax-review.service.mjs +0 -106
- package/esm2022/lib/services/http/tax-summary/index.mjs +0 -2
- package/esm2022/lib/services/http/tax-summary/tax-summary.service.mjs +0 -71
- package/esm2022/lib/services/http/transaction/index.mjs +0 -4
- package/esm2022/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +0 -22
- package/esm2022/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +0 -117
- package/esm2022/lib/services/http/transaction/transaction.service.mjs +0 -288
- package/esm2022/lib/services/http/user/financial-year/financial-year.service.mjs +0 -29
- package/esm2022/lib/services/http/user/index.mjs +0 -8
- package/esm2022/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +0 -23
- package/esm2022/lib/services/http/user/user-event-type/user-event-type.service.mjs +0 -23
- package/esm2022/lib/services/http/user/user-messages.enum.mjs +0 -7
- package/esm2022/lib/services/http/user/user.service.mjs +0 -105
- package/esm2022/lib/services/http/user/users-invite/users-invite.service.mjs +0 -23
- package/esm2022/lib/services/http/vehicle/index.mjs +0 -6
- package/esm2022/lib/services/http/vehicle/vehicle-claim-details.service.mjs +0 -74
- package/esm2022/lib/services/http/vehicle/vehicle-claim.service.mjs +0 -50
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/index.mjs +0 -3
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +0 -25
- package/esm2022/lib/services/http/vehicle/vehicle-messages.enum.mjs +0 -8
- package/esm2022/lib/services/http/vehicle/vehicle.service.mjs +0 -25
- package/esm2022/lib/services/http/youtube/index.mjs +0 -3
- package/esm2022/lib/services/http/youtube/youtube-video.interface.mjs +0 -2
- package/esm2022/lib/services/http/youtube/youtube.service.mjs +0 -34
- package/esm2022/lib/services/index.mjs +0 -19
- package/esm2022/lib/services/intercom/index.mjs +0 -2
- package/esm2022/lib/services/intercom/intercom.service.mjs +0 -41
- package/esm2022/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +0 -31
- package/esm2022/lib/services/json/holding/holding-type-exchange.service.mjs +0 -23
- package/esm2022/lib/services/json/income-source/income-source-type.service.mjs +0 -23
- package/esm2022/lib/services/json/index.mjs +0 -6
- package/esm2022/lib/services/json/tax-exemption/tax-exemption.service.mjs +0 -23
- package/esm2022/lib/services/json/tax-return/tax-return-item.service.mjs +0 -23
- package/esm2022/lib/services/mixpanel/mixpanel.service.mjs +0 -54
- package/esm2022/lib/services/pdf/index.mjs +0 -6
- package/esm2022/lib/services/pdf/js-pdf.mjs +0 -10
- package/esm2022/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +0 -21
- package/esm2022/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +0 -47
- package/esm2022/lib/services/pdf/pdf-from-table/file-settings.mjs +0 -36
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +0 -46
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +0 -42
- package/esm2022/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +0 -63
- package/esm2022/lib/services/preloader/index.mjs +0 -2
- package/esm2022/lib/services/preloader/preloader.service.mjs +0 -30
- package/esm2022/lib/services/property/corelogic/corelogic.service.mjs +0 -42
- package/esm2022/lib/services/property/corelogic/index.mjs +0 -2
- package/esm2022/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +0 -39
- package/esm2022/lib/services/property/equity-position-chart/index.mjs +0 -2
- package/esm2022/lib/services/property/index.mjs +0 -4
- package/esm2022/lib/services/property/property-calculation/index.mjs +0 -2
- package/esm2022/lib/services/property/property-calculation/property-calculation.service.mjs +0 -158
- package/esm2022/lib/services/report/index.mjs +0 -2
- package/esm2022/lib/services/report/property/property-transaction-report.service.mjs +0 -65
- package/esm2022/lib/services/toast/index.mjs +0 -2
- package/esm2022/lib/services/toast/toast.service.mjs +0 -59
- package/esm2022/lib/services/user/index.mjs +0 -2
- package/esm2022/lib/services/user/user-switcher.service.mjs +0 -37
- package/esm2022/lib/services/xlsx/index.mjs +0 -2
- package/esm2022/lib/services/xlsx/xlsx.service.mjs +0 -84
- package/esm2022/lib/tt-core.module.mjs +0 -37
- package/esm2022/lib/validators/address-corelogic.validator.mjs +0 -19
- package/esm2022/lib/validators/at-least-one-enabled.validator.mjs +0 -9
- package/esm2022/lib/validators/at-least-one.validator.mjs +0 -9
- package/esm2022/lib/validators/autocomplete.validator.mjs +0 -8
- package/esm2022/lib/validators/conditional.validator.mjs +0 -26
- package/esm2022/lib/validators/current-fin-year.validator.mjs +0 -14
- package/esm2022/lib/validators/date-range.validator.mjs +0 -22
- package/esm2022/lib/validators/fields-sum.validator.mjs +0 -24
- package/esm2022/lib/validators/file.validator.mjs +0 -36
- package/esm2022/lib/validators/greater-than.validator.mjs +0 -12
- package/esm2022/lib/validators/group.validator.mjs +0 -11
- package/esm2022/lib/validators/index.mjs +0 -12
- package/esm2022/lib/validators/min-date/messages.enum.mjs +0 -5
- package/esm2022/lib/validators/min-date/min-date.validator.mjs +0 -18
- package/esm2022/lib/validators/password-match.validator.mjs +0 -17
- package/esm2022/lib/validators/password.validator.mjs +0 -20
- package/esm2022/lib/validators/phone-number.validator.mjs +0 -9
- package/esm2022/lib/validators/required-length.validator.mjs +0 -12
- package/esm2022/lib/validators/transactions-meta-fields.validator.mjs +0 -33
- package/esm2022/lib/validators/unique-email.validator.mjs +0 -19
- package/lib/collections/subscription/service-subscription.collection.d.ts +0 -23
- package/lib/db/Models/setup-item.d.ts +0 -11
- package/lib/db/Models/subscription/service-product.d.ts +0 -19
- package/lib/db/Models/subscription/service-subscription.d.ts +0 -23
- package/lib/db/Models/user/user.d.ts +0 -59
- package/lib/interceptors/jwt-interceptor.d.ts +0 -41
- package/lib/interfaces/auth-tokens.interface.d.ts +0 -7
- package/lib/interfaces/index.d.ts +0 -14
- package/lib/models/service-subscription/service-product-roles.const.d.ts +0 -5
- package/lib/models/user/user-roles.const.d.ts +0 -7
- package/lib/models/user/user.d.ts +0 -72
- package/lib/pipes/app-currency.pipe.d.ts +0 -11
- package/lib/services/auth/auth.service.d.ts +0 -20
- package/lib/services/auth/index.d.ts +0 -2
- package/lib/services/auth/jwt.service.d.ts +0 -17
- package/lib/services/event/sse.service.d.ts +0 -20
- package/lib/services/http/facebook/facebook.service.d.ts +0 -38
- package/lib/services/http/firm/employee/employee.service.d.ts +0 -20
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +0 -25
- package/lib/services/http/google/google.service.d.ts +0 -43
- package/lib/services/http/holding/holding-import/holding-import.service.d.ts +0 -17
- package/lib/services/http/holding/holding.service.d.ts +0 -19
- package/lib/services/http/rest/rest-old.service.d.ts +0 -117
- package/lib/services/http/rest/rest.service.d.ts +0 -121
- package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +0 -24
- package/lib/services/http/user/user.service.d.ts +0 -43
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts +0 -21
- package/lib/services/index.d.ts +0 -18
- package/lib/tt-core.module.d.ts +0 -13
- /package/{lib/db/Enums → common/src/db/enums/user}/user-roles.enum.d.ts +0 -0
- /package/{lib → common/src}/interceptors/interceptors.module.d.ts +0 -0
- /package/{lib/services/mixpanel → common/src/services}/mixpanel.service.d.ts +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/chart-accounts/chart-accounts-value.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/holding/holding-type-exchange.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/income-source/income_source_type.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/property/tax-exemption.json +0 -0
- /package/esm2022/{lib → src/lib}/db/Json/tax-return/tax-return-item.json +0 -0
- /package/{lib → src/lib}/collections/account-setup-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/allocation-group.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/allocation-rule.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/asset-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/bank-account.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/bank-transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chart-accounts.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/chat.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/message-document.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/chat/message.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-invite.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-movement.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client-portfolio-report.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/client.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/collection-dictionary.d.ts +0 -0
- /package/{lib → src/lib}/collections/collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/depreciation-forecast.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/depreciation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/employee.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/exportable.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding-type.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/holding.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/income-source-forecast.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/income-source.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/loan-payment.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/loan/loan.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-category-movement.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-sale/property-sale.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-share.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property-valuation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/property.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/property/tax-exemption.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/depreciation/depreciation-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item-depreciation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item-transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/property/property-report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/report/vehicle-expense/vehicle-expense.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-business-losses.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-invoice-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/sole/sole-invoice.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/service-price.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/service-product.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/subscription/subscription-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-review.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/report-item.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/tax-summary/tax-return-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/transaction-allocation.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/transaction/transaction.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/user-event-setting.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/user-event-type-collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/best-vehicle-logbook.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/vehicle-claim.collection.d.ts +0 -0
- /package/{lib → src/lib}/collections/vehicle/vehicle-logbook.collection.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/address-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-comparison-operator.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-condition-operator.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/allocation-rule-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/annual-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-account-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-account-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-connection-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-popular.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-provider.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/bank-transaction-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-bank-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-interest-type-label.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-interest-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-payout-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-type-label.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-repayment-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/bank/loan/loan-vehicle-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/chat-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-work-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-details-working-holiday-maker.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/client-invite-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-calculation-percent.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/depreciation-write-off-amount.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/document-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/file-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/firm-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/holding-type-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/holding-type-exchange-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-forecast-trust-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-holding.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-other.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-sole.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type-list-work.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/income-source-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/phone-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-category-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-sale/tax-exemption-meta-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-sale/tax-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-share-access.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/property/property-share-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/registration-invite-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/salary-forecast-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/service-notification-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/service-notification-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/setup-item-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-depreciation-method.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-statuses.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-tax-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/sole-invoice-template-tax-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/spare-document-spare-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-method-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-payment-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-recurring-interval.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-price-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-product-id.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-product-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/subscription/service-subscription-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tank-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-calculation-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-calculation-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-category-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-category-section.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-return/tax-return-item.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-review-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-list.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-section.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/tax-summary-tax-summary.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-feedback.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/ticket-types.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-operation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-source.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/transaction-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-client-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-employee-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-frequency.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-event-type-user-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-medicare-exemption.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-title.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-work-depreciation-calculation.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/user-working-holiday-maker.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/vehicle-claim-details-method.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Enums/vehicle-logbook-purpose.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/abstract-model.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/address.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account-balance.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account-property.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-account.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-connection.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-transaction-import.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank-transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/bank.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/basiq-job-step.enum.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/bank/basiq-job.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/budget-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/budget.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-heading.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts-value.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/chart-accounts/chart-accounts.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/annual-client-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/client-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/client/occupation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/country.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation-capital-project.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/depreciation/depreciation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/document-folder.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/folder-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/document/property-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/file.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/accountant/tax-review.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/accountant/ticket.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/chat.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/client-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/client-movement.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/employee-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/firm-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/firm.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/message-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/firm/message.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-import.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-sale.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-type-exchange.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/holding.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/income-source.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/incomeSource/salary-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/borrowing-expense-loan.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/borrowing-expense.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/loan-payout.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/loan/loan.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/observable-model.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/phone.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/borrowing-report.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-category-movement.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/property-sale.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-sale/tax-exemption.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-share.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-subscription.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property-valuation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/property/property.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/service-notification.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/bas-report.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-activity.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-allocation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-loss-offset-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business-loss.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-business.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-contact.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-depreciation-method.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-forecast.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice-template.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/sole/sole-invoice.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/spare/spare-document-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/spare/spare-document.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-payment-method.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-payment.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-price.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/subscription/service-subscription-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-calculation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return-item.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/tax-return/tax-return.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-condition.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule-transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/allocation-rule.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-allocation.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-base.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/transaction/transaction.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/employee-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/registration-invite.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-setting.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-type-category.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event-type.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/user/user-event.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-claim-details.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-claim.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle-logbook.d.ts +0 -0
- /package/{lib → src/lib}/db/Models/vehicle/vehicle.d.ts +0 -0
- /package/{lib → src/lib}/db-static/chart-accounts/chart-accounts-values.d.ts +0 -0
- /package/{lib → src/lib}/forms/abstract.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/address/address.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/address/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-add-manual.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-allocation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-account-properties.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/bank/bank-account/bank-accounts-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/budget/budget.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/chart-accounts/chart-accounts.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/client/annual-client-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/client/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/depreciation/depreciation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/document-folder.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/document.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/document-folder/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/firm/firm.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/firm/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/form-validations.enum.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-import.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-reinvest.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-sale.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding-type.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/holding.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/loan/loan.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/login/login.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/phone/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/phone/phone.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/borrowing-report.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-add.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-category-movement-form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-document.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-edit.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-forecast.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-cost-base.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-cost-sale.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-sale/property-sale-exemptions.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-share.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/property/property-valuation.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/register/register-client.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/register/register-firm.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-cgt.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-deductions.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-dividends.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-income-statements.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-income-tests.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-interest.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-losses.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-medicare.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-offsets.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-other-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/report/my-tax/my-tax-rent.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/bas-report.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/invoice-payment.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business-allocations.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business-loss.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-business.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-contact.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-depreciation-method.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice-item.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice-template.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/sole/sole-invoice.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-condition.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/allocation-rule.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/holding/holding-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/sole/sole-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/sole/sole-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/transaction-base.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-expense.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-income.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/transaction/work/work-transaction.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/client-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/password.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/reset-password.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/user-invite.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/user/user.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-claim-details.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-claim.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle-logbook.form.d.ts +0 -0
- /package/{lib → src/lib}/forms/vehicle/vehicle.form.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/index.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/replace.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/sort-deep.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/sort.d.ts +0 -0
- /package/{lib → src/lib}/functions/array/to-array.d.ts +0 -0
- /package/{lib → src/lib}/functions/clone-deep.d.ts +0 -0
- /package/{lib → src/lib}/functions/create-date.d.ts +0 -0
- /package/{lib → src/lib}/functions/enum-to-list.d.ts +0 -0
- /package/{lib → src/lib}/functions/get-doc-icon.d.ts +0 -0
- /package/{lib → src/lib}/functions/mat-options-functions.d.ts +0 -0
- /package/{lib → src/lib}/functions/mat-sort-options.d.ts +0 -0
- /package/{lib → src/lib}/functions/tax-review-filter-predicate.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/basiq-client-id.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/basiq-token.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/corelogic-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/financial-year-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/preloader.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/rewardful.interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interceptors/user-switcher-interceptor.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset-entity-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/asset.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/chart-data.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/chart-serie.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/document.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/documentable.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/event-listener.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/expense.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/income-source-forecast.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/option.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/tank.interface.d.ts +0 -0
- /package/{lib → src/lib}/interfaces/updatable.interface.d.ts +0 -0
- /package/{lib → src/lib}/messages/index.d.ts +0 -0
- /package/{lib → src/lib}/messages/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/account-setup/account-setup-item.d.ts +0 -0
- /package/{lib → src/lib}/models/account-setup/account-setup-items.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/address/address.d.ts +0 -0
- /package/{lib → src/lib}/models/address/country.d.ts +0 -0
- /package/{lib → src/lib}/models/address/index.d.ts +0 -0
- /package/{lib → src/lib}/models/address/states.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/asset-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/badge/badge-color.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/badge/badge.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/allocation-group.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-property.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account-types.const.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-account.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-connection.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-external-stats.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction-summary-fields.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/bank.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-config.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-connection-data.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-connections-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job-response.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job-step.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-job.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-token-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/basiq-token.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/basiq/index.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/models/bank/type-loan.const.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/borrowing-expense-loan.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/borrowing-expense.d.ts +0 -0
- /package/{lib → src/lib}/models/borrowing-expense/index.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/budget-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/budget.d.ts +0 -0
- /package/{lib → src/lib}/models/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chart/chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/chart/chart-serie.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-category.e-collection.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-heading.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts-value.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/chart-accounts.d.ts +0 -0
- /package/{lib → src/lib}/models/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/chat-view-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/chat.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/message-document.d.ts +0 -0
- /package/{lib → src/lib}/models/chat/message.d.ts +0 -0
- /package/{lib → src/lib}/models/client/annual-client-details.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-details.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-movement.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-portfolio-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/client/client-portfolio-report.d.ts +0 -0
- /package/{lib → src/lib}/models/client/index.d.ts +0 -0
- /package/{lib → src/lib}/models/color/alphabet-colors.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-capital-project.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group-item.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-group.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-groups.const.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation-lvp-rate.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/models/dictionary/dictionary.d.ts +0 -0
- /package/{lib → src/lib}/models/dictionary/index.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-api-url-prefix.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-file-types.const.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document-folder.d.ts +0 -0
- /package/{lib → src/lib}/models/document/document.d.ts +0 -0
- /package/{lib → src/lib}/models/document/index.d.ts +0 -0
- /package/{lib → src/lib}/models/employee/employee-details.d.ts +0 -0
- /package/{lib → src/lib}/models/employee/employee-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/endpoint/endpoint.d.ts +0 -0
- /package/{lib → src/lib}/models/endpoint/endpoints.const.d.ts +0 -0
- /package/{lib → src/lib}/models/event/app-event-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/event/app-event.d.ts +0 -0
- /package/{lib → src/lib}/models/event/index.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-cell-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-cell.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-data-table.d.ts +0 -0
- /package/{lib → src/lib}/models/export/export-format.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/file/file.d.ts +0 -0
- /package/{lib → src/lib}/models/file/icons-file.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/file/index.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/financial-year.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/index.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/month-name-short.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/month-number.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/financial-year/months.const.d.ts +0 -0
- /package/{lib → src/lib}/models/firm/firm.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-import.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-reinvest.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-type-exchange.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding-type.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/holding.d.ts +0 -0
- /package/{lib → src/lib}/models/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/models/income-position/income-position.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source-type.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/income-source.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/salary-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/income-source/sole-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/index.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-max-number-of-payments.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-payment.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan-payout.d.ts +0 -0
- /package/{lib → src/lib}/models/loan/loan.d.ts +0 -0
- /package/{lib → src/lib}/models/notification/index.d.ts +0 -0
- /package/{lib → src/lib}/models/notification/notification.d.ts +0 -0
- /package/{lib → src/lib}/models/pdf/pdf-orientation.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/pdf/pdf-settings.d.ts +0 -0
- /package/{lib → src/lib}/models/phone/phone.d.ts +0 -0
- /package/{lib → src/lib}/models/property/borrowing-report.d.ts +0 -0
- /package/{lib → src/lib}/models/property/calculation-form-item.d.ts +0 -0
- /package/{lib → src/lib}/models/property/calculation-form-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/property/capital-costs-itmes.const.d.ts +0 -0
- /package/{lib → src/lib}/models/property/corelogic-suggestion.d.ts +0 -0
- /package/{lib → src/lib}/models/property/index.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-category-movement.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-category.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-document.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-data.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-item.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-equity-chart-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-forecast.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale-cost-base.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/property-sale.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/tax-exemption-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-sale/tax-exemption.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-share.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-subscription.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property-valuation.d.ts +0 -0
- /package/{lib → src/lib}/models/property/property.d.ts +0 -0
- /package/{lib → src/lib}/models/registration-invite/registration-invite.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-lvp-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/depreciation-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/ato-links.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts +0 -0
- /package/{lib → src/lib}/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item-depreciation.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/report/property/property-report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/report/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/models/report/sole/sole-business/sole-business-loss-report.d.ts +0 -0
- /package/{lib → src/lib}/models/report/vehicle-expense/vehicle-expense.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/module-url-list.const.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/payment-method-brand.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-payment-method.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-payment.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-price.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-product-icons.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-product.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-promo-code-duration.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-promo-code.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-subscription-item.d.ts +0 -0
- /package/{lib → src/lib}/models/service-subscription/service-subscription.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/bas-report.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-activity.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-allocation.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-loss-offset-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business-loss.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-business.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-contact.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-depreciation-method.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-details.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice-item.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice-template.d.ts +0 -0
- /package/{lib → src/lib}/models/sole/sole-invoice.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/index.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return-category.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return-item.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-return/tax-return.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-review/tax-review.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/report-item-details.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/report-item.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary-section.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/tax-summary/tax-summary.d.ts +0 -0
- /package/{lib → src/lib}/models/toast/toast-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/toast/toast.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-condition.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule-transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/allocation-rule.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/income-amount-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-allocation.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-category.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction-meta-field.d.ts +0 -0
- /package/{lib → src/lib}/models/transaction/transaction.d.ts +0 -0
- /package/{lib → src/lib}/models/user/index.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-initiated-by.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-status.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history-type.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user/my-account-history.d.ts +0 -0
- /package/{lib → src/lib}/models/user/occupation.d.ts +0 -0
- /package/{lib → src/lib}/models/user/user-to-register.d.ts +0 -0
- /package/{lib → src/lib}/models/user/user-work-position.const.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-setting-field.enum.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-setting.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-type-category.d.ts +0 -0
- /package/{lib → src/lib}/models/user-event/user-event-type.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-claim-details.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-claim.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle-logbook.d.ts +0 -0
- /package/{lib → src/lib}/models/vehicle/vehicle.d.ts +0 -0
- /package/{lib → src/lib}/pipes/index.d.ts +0 -0
- /package/{lib → src/lib}/pipes/safe-url.pipe.d.ts +0 -0
- /package/{lib → src/lib}/services/account-setup/account-setup.service.d.ts +0 -0
- /package/{lib → src/lib}/services/account-setup/index.d.ts +0 -0
- /package/{lib → src/lib}/services/asset/assets.service.d.ts +0 -0
- /package/{lib → src/lib}/services/asset/index.d.ts +0 -0
- /package/{lib → src/lib}/services/bank/bank-account-calculation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/services/data.service.d.ts +0 -0
- /package/{lib → src/lib}/services/event/event-dispatcher.service.d.ts +0 -0
- /package/{lib → src/lib}/services/event/index.d.ts +0 -0
- /package/{lib → src/lib}/services/export/export-formatter.service.d.ts +0 -0
- /package/{lib → src/lib}/services/export/index.d.ts +0 -0
- /package/{lib → src/lib}/services/header-title/header-title.service.d.ts +0 -0
- /package/{lib → src/lib}/services/header-title/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/address/address.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/address/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-account/bank-account.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-account/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/bank-connection.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-connection/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-transaction/bank-transaction.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank-transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/bank.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq-token.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/basiq.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/basiq/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/bank/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/budget-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/budget.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/budget/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/chart-accounts.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chart-accounts/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/chat.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/message-document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/chat/message.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/capital-gain/annual-client-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/client-coupon.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/client/occupation/occupation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation-capital-project/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/depreciation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/depreciation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/document-folder-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/document-folder.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-folder/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/document/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-auth-options.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-auth-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/facebook-status-response.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/facebook/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/file/file.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/file/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/client-invite-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/client-invite.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-invite/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-movement/client-movement.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/client-movement/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee/employee-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/employee-invite/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/firm-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/firm.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/firm/portfolio-report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/google/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-import/holding-import-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-sale-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-sale.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-type-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/holding-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/holding/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/income-source.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/salary-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/salary-forecast/salary-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/sole-forecast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/income-source/sole-forecast/sole-forecast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/borrowing-expense/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/loan/loan.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/pdf/pdf.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/borrowing-report-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/borrowing-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/borrowing-report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category/property-category.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category-movement/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-category-movement/property-category-movement.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/property-document-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-document/property-document.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-sale/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-sale/property-sale.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-share/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-share/property-share.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/property-valuation-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property-valuation/property-valuation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/property/property.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/http-method.type.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/rest/rest-method.type.d.ts +0 -0
- /package/{lib → src/lib}/services/http/service-notification/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/service-notification/service-notification.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/setup-item/setup-item.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/bas-report/bas-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/sole-business-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business/sole-business.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-contact/sole-contact.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-details/sole-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-payment/service-payment.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-payment-method/service-payment-method.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-price/service-price.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-product/service-product.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-subscription/subscription-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/subscription/service-subscription/subscription.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-review/tax-review.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-summary/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/tax-summary/tax-summary.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/transaction/transaction.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/financial-year/financial-year.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-event-setting/user-event-setting.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-event-type/user-event-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/user-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/user/users-invite/users-invite.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-claim-details.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle-messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/services/http/vehicle/vehicle.service.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/index.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/youtube-video.interface.d.ts +0 -0
- /package/{lib → src/lib}/services/http/youtube/youtube.service.d.ts +0 -0
- /package/{lib → src/lib}/services/intercom/index.d.ts +0 -0
- /package/{lib → src/lib}/services/intercom/intercom.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/chart-accounts/chart-accounts-value.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/holding/holding-type-exchange.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/income-source/income-source-type.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/index.d.ts +0 -0
- /package/{lib → src/lib}/services/json/tax-exemption/tax-exemption.service.d.ts +0 -0
- /package/{lib → src/lib}/services/json/tax-return/tax-return-item.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/index.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/js-pdf.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-dom-element/file-settings.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/file-settings.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/pdf/pdf-from-table/pdf-from-table.service.d.ts +0 -0
- /package/{lib → src/lib}/services/preloader/index.d.ts +0 -0
- /package/{lib → src/lib}/services/preloader/preloader.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/corelogic/corelogic.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/corelogic/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/equity-position-chart/equity-position-chart.service.d.ts +0 -0
- /package/{lib → src/lib}/services/property/equity-position-chart/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/property-calculation/index.d.ts +0 -0
- /package/{lib → src/lib}/services/property/property-calculation/property-calculation.service.d.ts +0 -0
- /package/{lib → src/lib}/services/report/index.d.ts +0 -0
- /package/{lib → src/lib}/services/report/property/property-transaction-report.service.d.ts +0 -0
- /package/{lib → src/lib}/services/toast/index.d.ts +0 -0
- /package/{lib → src/lib}/services/toast/toast.service.d.ts +0 -0
- /package/{lib → src/lib}/services/user/index.d.ts +0 -0
- /package/{lib → src/lib}/services/user/user-switcher.service.d.ts +0 -0
- /package/{lib → src/lib}/services/xlsx/index.d.ts +0 -0
- /package/{lib → src/lib}/services/xlsx/xlsx.service.d.ts +0 -0
- /package/{lib → src/lib}/validators/address-corelogic.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/at-least-one-enabled.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/at-least-one.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/autocomplete.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/conditional.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/current-fin-year.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/date-range.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/fields-sum.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/file.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/greater-than.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/group.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/index.d.ts +0 -0
- /package/{lib → src/lib}/validators/min-date/messages.enum.d.ts +0 -0
- /package/{lib → src/lib}/validators/min-date/min-date.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/password-match.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/password.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/phone-number.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/required-length.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/transactions-meta-fields.validator.d.ts +0 -0
- /package/{lib → src/lib}/validators/unique-email.validator.d.ts +0 -0
package/esm2022/src/lib/collections/report/depreciation/depreciation-report-item.collection.mjs
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import { plainToClass } from 'class-transformer';
|
2
|
+
import { DepreciationCollection } from '../../depreciation.collection';
|
3
|
+
import { DepreciationReportItem } from '../../../models/report/depreciation/depreciation-report-item';
|
4
|
+
export class DepreciationReportItemCollection extends DepreciationCollection {
|
5
|
+
/**
|
6
|
+
* Create new collection from provided depreciations list
|
7
|
+
*/
|
8
|
+
static fromDepreciations(deprectiations) {
|
9
|
+
return new DepreciationReportItemCollection(deprectiations.map((depreciation) => plainToClass(DepreciationReportItem, depreciation)));
|
10
|
+
}
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjaWF0aW9uLXJlcG9ydC1pdGVtLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wc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sYXNzIERlcHJlY2lhdGlvblJlcG9ydEl0ZW1Db2xsZWN0aW9uIGV4dGVuZHMgRGVwcmVjaWF0aW9uQ29sbGVjdGlvbiB7XG4gIC8qKlxuICAgKiBDcmVhdGUgbmV3IGNvbGxlY3Rpb24gZnJvbSBwcm92aWRlZCBkZXByZWNpYXRpb25zIGxpc3RcbiAgICovXG4gIHN0YXRpYyBmcm9tRGVwcmVjaWF0aW9ucyhkZXByZWN0aWF0aW9uczogRGVwcmVjaWF0aW9uW10pOiBEZXByZWNpYXRpb25SZXBvcnRJdGVtQ29sbGVjdGlvbiB7XG4gICAgcmV0dXJuIG5ldyBEZXByZWNpYXRpb25SZXBvcnRJdGVtQ29sbGVjdGlvbihcbiAgICAgIGRlcHJlY3RpYXRpb25zLm1hcCgoZGVwcmVjaWF0aW9uOiBEZXByZWNpYXRpb24pID0+IHBsYWluVG9DbGFzcyhEZXByZWNpYXRpb25SZXBvcnRJdGVtLCBkZXByZWNpYXRpb24pKVxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from './depreciation/depreciation-lvp-report-item.collection';
|
2
|
+
export * from './depreciation/depreciation-report-item.collection';
|
3
|
+
export * from './property/property-report-item-depreciation.collection';
|
4
|
+
export * from './property/property-report-item-transaction.collection';
|
5
|
+
export * from './property/property-report-item.collection';
|
6
|
+
export * from './vehicle-expense/vehicle-expense.collection';
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvcmVwb3J0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0RBQXdELENBQUM7QUFDdkUsY0FBYyxvREFBb0QsQ0FBQztBQUVuRSxjQUFjLHlEQUF5RCxDQUFDO0FBQ3hFLGNBQWMsd0RBQXdELENBQUM7QUFDdkUsY0FBYyw0Q0FBNEMsQ0FBQztBQUUzRCxjQUFjLDhDQUE4QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kZXByZWNpYXRpb24vZGVwcmVjaWF0aW9uLWx2cC1yZXBvcnQtaXRlbS5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vZGVwcmVjaWF0aW9uL2RlcHJlY2lhdGlvbi1yZXBvcnQtaXRlbS5jb2xsZWN0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS9wcm9wZXJ0eS1yZXBvcnQtaXRlbS1kZXByZWNpYXRpb24uY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3Byb3BlcnR5L3Byb3BlcnR5LXJlcG9ydC1pdGVtLXRyYW5zYWN0aW9uLmNvbGxlY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9wZXJ0eS9wcm9wZXJ0eS1yZXBvcnQtaXRlbS5jb2xsZWN0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi92ZWhpY2xlLWV4cGVuc2UvdmVoaWNsZS1leHBlbnNlLmNvbGxlY3Rpb24nO1xuIl19
|
package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
import { PropertyReportItemDepreciation } from '../../../models/report/property/property-report-item-depreciation';
|
2
|
+
import { PropertyReportItemCollection } from './property-report-item.collection';
|
3
|
+
/**
|
4
|
+
* Collection to work with depreciation-based property report items
|
5
|
+
*/
|
6
|
+
export class PropertyReportItemDepreciationCollection extends PropertyReportItemCollection {
|
7
|
+
constructor(depreciations, properties, chartAccounts) {
|
8
|
+
super();
|
9
|
+
this.setItems(depreciations, properties, chartAccounts);
|
10
|
+
}
|
11
|
+
setItems(depreciations, properties, chartAccounts) {
|
12
|
+
this.items = [];
|
13
|
+
properties.items.forEach((property) => {
|
14
|
+
const depreciationsByType = depreciations.filterBy('property.id', property.id).groupBy('type');
|
15
|
+
depreciationsByType.keys.map((type) => {
|
16
|
+
this.items.push(new PropertyReportItemDepreciation(depreciationsByType.get(type), property, chartAccounts.findBy('id', depreciationsByType.get(type).first.chartAccounts.id)));
|
17
|
+
});
|
18
|
+
});
|
19
|
+
}
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktcmVwb3J0LWl0ZW0tZGVwcmVjaWF0aW9uLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvcmVwb3J0L3Byb3BlcnR5L3Byb3BlcnR5LXJlcG9ydC1pdGVtLWRlcHJlY2lhdGlvbi5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtBLE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLG1FQUFtRSxDQUFDO0FBQ25ILE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBR2pGOztHQUVHO0FBQ0gsTUFBTSxPQUFPLHdDQUF5QyxTQUFRLDRCQUE0QjtJQUN4RixZQUNFLGFBQXFDLEVBQ3JDLFVBQThCLEVBQzlCLGFBQXdDO1FBRXhDLEtBQUssRUFBRSxDQUFDO1FBQ1IsSUFBSSxDQUFDLFFBQVEsQ0FBQyxhQUFhLEVBQUUsVUFBVSxFQUFFLGFBQWEsQ0FBQyxDQUFBO0lBQ3pELENBQUM7SUFFTyxRQUFRLENBQUMsYUFBcUMsRUFBRSxVQUE4QixFQUFFLGFBQXdDO1FBQzlILElBQUksQ0FBQyxLQUFLLEdBQUcsRU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0aWVzOiBQcm9wZXJ0eUNvbGxlY3Rpb24sIGNoYXJ0QWNjb3VudHM6IENvbGxlY3Rpb248Q2hhcnRBY2NvdW50cz4pOiB2b2lkIHtcbiAgICB0aGlzLml0ZW1zID0gW107XG5cbiAgICBwcm9wZXJ0aWVzLml0ZW1zLmZvckVhY2goKHByb3BlcnR5OiBQcm9wZXJ0eSkgPT4ge1xuICAgICAgY29uc3QgZGVwcmVjaWF0aW9uc0J5VHlwZSA9IGRlcHJlY2lhdGlvbnMuZmlsdGVyQnkoJ3Byb3BlcnR5LmlkJywgcHJvcGVydHkuaWQpLmdyb3VwQnkoJ3R5cGUnKTtcblxuICAgICAgZGVwcmVjaWF0aW9uc0J5VHlwZS5rZXlzLm1hcCgodHlwZTogc3RyaW5nKSA9PiB7XG4gICAgICAgIHRoaXMuaXRlbXMucHVzaChuZXcgUHJvcGVydHlSZXBvcnRJdGVtRGVwcmVjaWF0aW9uKFxuICAgICAgICAgIGRlcHJlY2lhdGlvbnNCeVR5cGUuZ2V0KHR5cGUpLFxuICAgICAgICAgIHByb3BlcnR5LFxuICAgICAgICAgIGNoYXJ0QWNjb3VudHMuZmluZEJ5KCdpZCcsIGRlcHJlY2lhdGlvbnNCeVR5cGUuZ2V0KHR5cGUpLmZpcnN0LmNoYXJ0QWNjb3VudHMuaWQpXG4gICAgICAgICkpO1xuICAgICAgfSk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
import { PropertyReportItemTransaction } from '../../../models/report/property/property-report-item-transaction';
|
2
|
+
import { PropertyReportItemCollection } from './property-report-item.collection';
|
3
|
+
/**
|
4
|
+
* Collection to work with transaction-based property report items
|
5
|
+
*/
|
6
|
+
export class PropertyReportItemTransactionCollection extends PropertyReportItemCollection {
|
7
|
+
constructor(transactions, properties, chartAccounts) {
|
8
|
+
super();
|
9
|
+
this.setItems(transactions, properties, chartAccounts);
|
10
|
+
}
|
11
|
+
setItems(transactions, properties, chartAccounts) {
|
12
|
+
this.items = [];
|
13
|
+
properties.items.forEach((property) => {
|
14
|
+
const transactionsDictionary = transactions.getByPropertiesIds([property.id]).groupBy('chartAccounts.id');
|
15
|
+
transactionsDictionary.keys.map((chartAccountId) => {
|
16
|
+
this.items.push(new PropertyReportItemTransaction(transactionsDictionary.get(chartAccountId), property, chartAccounts.findBy('id', +chartAccountId)));
|
17
|
+
});
|
18
|
+
});
|
19
|
+
}
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktcmVwb3J0LWl0ZW0tdHJhbnNhY3Rpb24uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9yZXBvcnQvcHJvcGVydHkvcHJvcGVydHktcmVwb3J0LWl0ZW0tdHJhbnNhY3Rpb24uY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLQSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxrRUFBa0UsQ0FBQztBQUNqSCxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUdqRjs7R0FFRztBQUNILE1BQU0sT0FBTyx1Q0FBd0MsU0FBUSw0QkFBNEI7SUFDdkYsWUFDRSxZQUFtQyxFQUNuQyxVQUE4QixFQUM5QixhQUF3QztRQUV4QyxLQUFLLEVBQUUsQ0FBQztRQUNSLElBQUksQ0FBQyxRQUFRLENBQUMsWUFBWSxFQUFFLFVBQVUsRUFBRSxhQUFhLENBQUMsQ0FBQztJQUN6RCxDQUFDO0lBRU8sUUFBUSxDQUFDLFlBQW1DLEVBQUUsVUFBOEIsRUF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cGVydGllczogUHJvcGVydHlDb2xsZWN0aW9uLCBjaGFydEFjY291bnRzOiBDb2xsZWN0aW9uPENoYXJ0QWNjb3VudHM+KTogdm9pZCB7XG4gICAgdGhpcy5pdGVtcyA9IFtdO1xuICAgIHByb3BlcnRpZXMuaXRlbXMuZm9yRWFjaCgocHJvcGVydHk6IFByb3BlcnR5KSA9PiB7XG4gICAgICBjb25zdCB0cmFuc2FjdGlvbnNEaWN0aW9uYXJ5ID0gdHJhbnNhY3Rpb25zLmdldEJ5UHJvcGVydGllc0lkcyhbcHJvcGVydHkuaWRdKS5ncm91cEJ5KCdjaGFydEFjY291bnRzLmlkJyk7XG5cbiAgICAgIHRyYW5zYWN0aW9uc0RpY3Rpb25hcnkua2V5cy5tYXAoKGNoYXJ0QWNjb3VudElkOiBzdHJpbmcpID0+IHtcbiAgICAgICAgdGhpcy5pdGVtcy5wdXNoKG5ldyBQcm9wZXJ0eVJlcG9ydEl0ZW1UcmFuc2FjdGlvbihcbiAgICAgICAgICB0cmFuc2FjdGlvbnNEaWN0aW9uYXJ5LmdldChjaGFydEFjY291bnRJZCksXG4gICAgICAgICAgcHJvcGVydHksXG4gICAgICAgICAgY2hhcnRBY2NvdW50cy5maW5kQnkoJ2lkJywgK2NoYXJ0QWNjb3VudElkKVxuICAgICAgICApKTtcbiAgICAgIH0pO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Collection } from '../../collection';
|
2
|
+
/**
|
3
|
+
* Base collection to work with property report items
|
4
|
+
*/
|
5
|
+
export class PropertyReportItemCollection extends Collection {
|
6
|
+
getIncomes() {
|
7
|
+
return this.create(this.items.filter((item) => item.isIncome()));
|
8
|
+
}
|
9
|
+
getExpenses() {
|
10
|
+
return this.create(this.items.filter((item) => item.isExpense()));
|
11
|
+
}
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktcmV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cnQgaXRlbXNcbiAqL1xuZXhwb3J0IGNsYXNzIFByb3BlcnR5UmVwb3J0SXRlbUNvbGxlY3Rpb24gZXh0ZW5kcyBDb2xsZWN0aW9uPFByb3BlcnR5UmVwb3J0SXRlbT4ge1xuICBnZXRJbmNvbWVzKCk6IHRoaXMge1xuICAgIHJldHVybiB0aGlzLmNyZWF0ZShcbiAgICAgIHRoaXMuaXRlbXMuZmlsdGVyKChpdGVtOiBQcm9wZXJ0eVJlcG9ydEl0ZW0pID0+IGl0ZW0uaXNJbmNvbWUoKSlcbiAgICApO1xuICB9XG5cbiAgZ2V0RXhwZW5zZXMoKTogdGhpcyB7XG4gICAgcmV0dXJuIHRoaXMuY3JlYXRlKFxuICAgICAgdGhpcy5pdGVtcy5maWx0ZXIoKGl0ZW06IFByb3BlcnR5UmVwb3J0SXRlbSkgPT4gaXRlbS5pc0V4cGVuc2UoKSlcbiAgICApO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Collection } from '../../collection';
|
2
|
+
import { VehicleExpense } from '../../../models/report';
|
3
|
+
export class VehicleExpenseCollection extends Collection {
|
4
|
+
constructor(transactions, depreciations) {
|
5
|
+
super();
|
6
|
+
this.setItems(transactions, depreciations);
|
7
|
+
}
|
8
|
+
setItems(transactions, depreciations) {
|
9
|
+
this.items = [];
|
10
|
+
const transactionsByChartAccounts = transactions.groupBy('chartAccounts.name');
|
11
|
+
const transactionExpenses = transactionsByChartAccounts.keys.map((chartAccountsName) => new VehicleExpense(transactionsByChartAccounts.get(chartAccountsName).amount, transactionsByChartAccounts.get(chartAccountsName).first.claimPercent, chartAccountsName));
|
12
|
+
// group all depreciations into one expense item
|
13
|
+
const depreciationExpense = new VehicleExpense(-depreciations.getCurrentYearForecastAmount(), depreciations.first?.currentYearForecast?.claimPercent ?? 0, 'Depreciation');
|
14
|
+
this.items.push(...[depreciationExpense, ...transactionExpenses]);
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMapp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G4gICAgdGhpcy5pdGVtcy5wdXNoKC4uLltkZXByZWNpYXRpb25FeHBlbnNlLCAuLi50cmFuc2FjdGlvbkV4cGVuc2VzXSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './sole-business-losses.collection';
|
2
|
+
export * from './sole-invoice-item.collection';
|
3
|
+
export * from './sole-invoice.collection';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvc29sZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc29sZS1idXNpbmVzcy1sb3NzZXMuY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3NvbGUtaW52b2ljZS1pdGVtLmNvbGxlY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9zb2xlLWludm9pY2UuY29sbGVjdGlvbic7XG4iXX0=
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { Dictionary } from '../../models';
|
3
|
+
export class SoleBusinessLossesCollection extends Collection {
|
4
|
+
/**
|
5
|
+
* Business loss applied in current year, includes previous year losses and current year losses for businesses matching offset rule
|
6
|
+
*/
|
7
|
+
calculateBusinessLossApplied(transactions) {
|
8
|
+
// claim amounts for businesses that can be applied to be reduced by prior year business losses
|
9
|
+
const claimAmountsByBusinessId = this.getClaimAmountsByBusinessId(transactions);
|
10
|
+
return Object.keys(claimAmountsByBusinessId.items).reduce((sum, businessId) => {
|
11
|
+
const loss = this.findBy('business.id', +businessId);
|
12
|
+
const lossOpenBalance = loss?.openBalance || 0;
|
13
|
+
// business loss can be applied to business profit or other income types profit in case in offset rule met
|
14
|
+
return sum + (loss?.offsetRule ? lossOpenBalance : Math.min(lossOpenBalance, claimAmountsByBusinessId.get(businessId)));
|
15
|
+
}, 0);
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Get business claim amounts that can be applied to be reduced by prior year business losses:
|
19
|
+
* businesses with income or businesses with a loss, but which met the non-commercial loss rules
|
20
|
+
* https://www.ato.gov.au/Business/Non-commercial-losses/
|
21
|
+
*/
|
22
|
+
getClaimAmountsByBusinessId(transactions) {
|
23
|
+
const claimAmountsByBusinessId = new Dictionary([]);
|
24
|
+
const transactionsByBusinessId = transactions.groupBy('business.id');
|
25
|
+
transactionsByBusinessId.keys.forEach((businessId) => {
|
26
|
+
// business loss may not exist if, when creating a business, user didn't add losses for previous years
|
27
|
+
const lossOffsetRule = this.findBy('business.id', +businessId)?.offsetRule;
|
28
|
+
const businessClaimAmount = transactionsByBusinessId
|
29
|
+
.get(businessId)
|
30
|
+
.getBusinessClaimAmount(+businessId);
|
31
|
+
// @TODO vik it has nothing to do with getClaimAmountsByBusinessId
|
32
|
+
// no way to apply loss for business without profit if offset rules not met
|
33
|
+
if (businessClaimAmount < 0 && !lossOffsetRule) {
|
34
|
+
return;
|
35
|
+
}
|
36
|
+
claimAmountsByBusinessId.add(businessId, businessClaimAmount);
|
37
|
+
});
|
38
|
+
return claimAmountsByBusinessId;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy1sb3NzZXMuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN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tcblxuICAgIHJldHVybiBjbGFpbUFtb3VudHNCeUJ1c2luZXNzSWQ7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
export class SoleInvoiceItemCollection extends Collection {
|
3
|
+
get gstItems() {
|
4
|
+
return this.filterBy('isGST', true);
|
5
|
+
}
|
6
|
+
getTotalPrice(taxType, includeGST = false) {
|
7
|
+
return this.reduce((sum, item) => sum + item.getTotalPrice(taxType, includeGST));
|
8
|
+
}
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLWl0ZW0uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9zb2xlL3NvbGUtaW52b2ljZS1pdGVtLmNvbGxlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUkzQyxNQUFNLE9BQU8seUJBQTBCLFNBQVEsVUFBMkI7SUFDeEUsSUFBSSxRQUFRO1FBQ1YsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLE9BQU8sRUFBRSxJQUFJLENBQUMsQ0FBQztJQUN0QyxDQUFDO0lBRUQsYUFBYSxDQUFDLE9BQStCLEVBQUUsVUFBVSxHQUFHLEtBQUs7UUFDL0QsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxFQUFFLElBQUksRUFBRSxFQUFFLENBQUMsR0FBRyxHQUFHLElBQUksQ0FBQyxhQUFhLENBQUMsT0FBTyxFQUFFLFVBQVUsQ0FBQyxDQUFDLENBQUM7SUFDbkYsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29sbGVjdGlvbiB9IGZyb20gJy4uL2NvbGxlY3Rpb24nO1xuaW1wb3J0IHsgU29sZUludm9pY2VJdGVtIH0gZnJvbSAnLi4vLi4vbW9kZWxzJztcbmltcG9ydCB7IFNvbGVJbnZvaWNlVGF4VHlwZUVudW0gfSBmcm9tICcuLi8uLi9kYi9FbnVtcy9zb2xlLWludm9pY2UtdGF4LXR5cGUuZW51bSc7XG5cbmV4cG9ydCBjbGFzcyBTb2xlSW52b2ljZUl0ZW1Db2xsZWN0aW9uIGV4dGVuZHMgQ29sbGVjdGlvbjxTb2xlSW52b2ljZUl0ZW0+e1xuICBnZXQgZ3N0SXRlbXMoKTogdGhpcyB7XG4gICAgcmV0dXJuIHRoaXMuZmlsdGVyQnkoJ2lzR1NUJywgdHJ1ZSk7XG4gIH1cblxuICBnZXRUb3RhbFByaWNlKHRheFR5cGU6IFNvbGVJbnZvaWNlVGF4VHlwZUVudW0sIGluY2x1ZGVHU1QgPSBmYWxzZSk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMucmVkdWNlKChzdW0sIGl0ZW0pID0+IHN1bSArIGl0ZW0uZ2V0VG90YWxQcmljZSh0YXhUeXBlLCBpbmNsdWRlR1NUKSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import flatten from 'lodash/flatten';
|
3
|
+
export class SoleInvoiceCollection extends Collection {
|
4
|
+
getOverdue() {
|
5
|
+
return this.filter((invoice) => invoice.isOverdue());
|
6
|
+
}
|
7
|
+
getPending() {
|
8
|
+
return this.filter((invoice) => invoice.isPending());
|
9
|
+
}
|
10
|
+
getPaid(transactions) {
|
11
|
+
return this.filter(invoice => invoice.grossPrice > 0
|
12
|
+
&& transactions.getAmountPerInvoice().get(invoice.id) >= invoice.grossPrice);
|
13
|
+
}
|
14
|
+
getUnpaid(transactions) {
|
15
|
+
return this.getOpen().filter(invoice => transactions.getAmountPerInvoice().get(invoice.id) < invoice.grossPrice);
|
16
|
+
}
|
17
|
+
getOpen() {
|
18
|
+
return this.filter((invoice) => invoice.isOpen());
|
19
|
+
}
|
20
|
+
getInvoiceItemsIds() {
|
21
|
+
return flatten(this.map(invoice => invoice.items.map(item => item.id)));
|
22
|
+
}
|
23
|
+
getUnpaidAmount(transactions) {
|
24
|
+
return this.sumBy('grossPrice') - transactions.getByInvoices(this).sumBy('grossAmount');
|
25
|
+
}
|
26
|
+
allocate(bankTransaction, amount) {
|
27
|
+
return flatten(this.map(invoice => invoice.allocate(bankTransaction, amount)));
|
28
|
+
}
|
29
|
+
}
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvc29sZS9zb2xlLWludm9pY2UuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sT0FBTyxNQUFNLGdCQUFnQixDQUFDO0FBR3JDLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxVQUF1QjtJQUNoRSxVQUFVO1FBQ1IsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsT0FBb0IsRUFBRSxFQUFFLENBQUMsT0FBTyxDQUFDLFNBQVMsRUFBRSxDQUFDLENBQUM7SUFDcEUsQ0FBQztJQUVELFVBQVU7UUFDUixPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxPQUFvQixFQUFFLEVBQUUsQ0FBQyxPQUFPLENBQUMsU0FBUyxFQUFFLENBQUMsQ0FBQztJQUNwRSxD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pbnZvaWNlID0+IGludm9pY2UuYWxsb2NhdGUoYmFua1RyYW5zYWN0aW9uLCBhbW91bnQpKSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from './service-price.collection';
|
2
|
+
export * from './service-product.collection';
|
3
|
+
export * from './service-subscription.collection';
|
4
|
+
export * from './subscription-item.collection';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvc3Vic2NyaXB0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyw4QkFBOEIsQ0FBQTtBQUM1QyxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsZ0NBQWdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NlcnZpY2UtcHJpY2UuY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2UtcHJvZHVjdC5jb2xsZWN0aW9uJ1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlLXN1YnNjcmlwdGlvbi5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uLWl0ZW0uY29sbGVjdGlvbic7XG4iXX0=
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { ServicePriceTypeEnum } from '../../db/Enums/subscription/service-price-type.enum';
|
3
|
+
import { ServiceProductIdEnum } from '../../db/Enums/subscription/service-product-id.enum';
|
4
|
+
import { ServiceProductCollection } from './service-product.collection';
|
5
|
+
/**
|
6
|
+
* @TODO vik refactor
|
7
|
+
*/
|
8
|
+
export class ServicePriceCollection extends Collection {
|
9
|
+
getActive() {
|
10
|
+
return this.filterBy('isActive', true);
|
11
|
+
}
|
12
|
+
get monthly() {
|
13
|
+
return this.filterBy('type', ServicePriceTypeEnum.MONTHLY);
|
14
|
+
}
|
15
|
+
get monthlyPackage() {
|
16
|
+
return this.filterBy('type', ServicePriceTypeEnum.MONTHLY_PACKAGE);
|
17
|
+
}
|
18
|
+
getMonthlyPackageSum(propertyQuantity) {
|
19
|
+
const property = this.monthlyPackage.findBy('product.id', ServiceProductIdEnum.PROPERTIES);
|
20
|
+
// @TODO move to const
|
21
|
+
// default number of properties should be 5
|
22
|
+
return this.monthlyPackage.sumBy('amount') + property.amount * (propertyQuantity - 1);
|
23
|
+
}
|
24
|
+
get annual() {
|
25
|
+
return this.filterBy('type', ServicePriceTypeEnum.YEARLY);
|
26
|
+
}
|
27
|
+
get annualPackage() {
|
28
|
+
return this.filterBy('type', ServicePriceTypeEnum.YEARLY_PACKAGE);
|
29
|
+
}
|
30
|
+
getAnnualPackageSum(propertyQuantity) {
|
31
|
+
const property = this.annualPackage.findBy('product.id', ServiceProductIdEnum.PROPERTIES);
|
32
|
+
// @TODO move to const
|
33
|
+
// the default number of properties should be 5.
|
34
|
+
return this.annualPackage.sumBy('amount') + property.amount * (propertyQuantity - 1);
|
35
|
+
}
|
36
|
+
getProperty(isAnnual, isPackage) {
|
37
|
+
let type;
|
38
|
+
if (isAnnual) {
|
39
|
+
type = isPackage ? ServicePriceTypeEnum.YEARLY_PACKAGE : ServicePriceTypeEnum.YEARLY;
|
40
|
+
}
|
41
|
+
else {
|
42
|
+
type = isPackage ? ServicePriceTypeEnum.MONTHLY_PACKAGE : ServicePriceTypeEnum.MONTHLY;
|
43
|
+
}
|
44
|
+
return this.filterBy('type', type).findBy('product.id', ServiceProductIdEnum.PROPERTIES);
|
45
|
+
}
|
46
|
+
get products() {
|
47
|
+
return new ServiceProductCollection(this.mapBy('product'));
|
48
|
+
}
|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gICByZXR1cm4gbmV3IFNlcnZpY2VQcm9kdWN0Q29sbGVjdGlvbih0aGlzLm1hcEJ5KCdwcm9kdWN0JykpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { ServiceProductStatusEnum } from '../../db/Enums/subscription/service-product-status.enum';
|
3
|
+
export class ServiceProductCollection extends Collection {
|
4
|
+
get title() {
|
5
|
+
return this.mapBy('title').join(', ');
|
6
|
+
}
|
7
|
+
getActive() {
|
8
|
+
return this.filterBy('status', ServiceProductStatusEnum.ACTIVE);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1wcm9kdWN0LmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvc3Vic2NyaXB0aW9uL3NlcnZpY2UtcHJvZHVjdC5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0seURBQXlELENBQUM7QUFFbkcsTUFBTSxPQUFPLHdCQUF5QixTQUFRLFVBQTBCO0lBQ3RFLElBQUksS0FBSztRQUNQLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDeEMsQ0FBQztJQUVELFNBQVM7UUFDUCxPQUFPLElBQUksQ0FBQyxRQUFRLENBQUMsUUFBUSxFQUFFLHdCQUF3QixDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ2xFLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbGxlY3Rpb24gfSBmcm9tICcuLi9jb2xsZWN0aW9uJztcbmltcG9ydCB7IFNlcnZpY2VQcm9kdWN0IH0gZnJvbSAnLi4vLi4vbW9kZWxzJztcbmltcG9ydCB7IFNlcnZpY2VQcm9kdWN0U3RhdHVzRW51bSB9IGZyb20gJy4uLy4uL2RiL0VudW1zL3N1YnNjcmlwdGlvbi9zZXJ2aWNlLXByb2R1Y3Qtc3RhdHVzLmVudW0nO1xuXG5leHBvcnQgY2xhc3MgU2VydmljZVByb2R1Y3RDb2xsZWN0aW9uIGV4dGVuZHMgQ29sbGVjdGlvbjxTZXJ2aWNlUHJvZHVjdD4ge1xuICBnZXQgdGl0bGUoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5tYXBCeSgndGl0bGUnKS5qb2luKCcsICcpO1xuICB9XG5cbiAgZ2V0QWN0aXZlKCk6IHRoaXMge1xuICAgIHJldHVybiB0aGlzLmZpbHRlckJ5KCdzdGF0dXMnLCBTZXJ2aWNlUHJvZHVjdFN0YXR1c0VudW0uQUNUSVZFKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import flatten from 'lodash/flatten';
|
3
|
+
import { SubscriptionItemCollection } from './subscription-item.collection';
|
4
|
+
import { Dictionary, } from '../../models';
|
5
|
+
export class ServiceSubscriptionCollection extends Collection {
|
6
|
+
getActive() {
|
7
|
+
return this.filter((subscription) => subscription.isActive);
|
8
|
+
}
|
9
|
+
getInactive() {
|
10
|
+
return this.filter((subscription) => !subscription.isActive);
|
11
|
+
}
|
12
|
+
getTrials() {
|
13
|
+
return this.filterBy('stripeId', null);
|
14
|
+
}
|
15
|
+
getActiveTrials() {
|
16
|
+
return this.getActive().getTrials();
|
17
|
+
}
|
18
|
+
getExpiredTrials() {
|
19
|
+
// @TODO vik remove paid products
|
20
|
+
return this.getInactive().getTrials();
|
21
|
+
}
|
22
|
+
getExpiredAfter(date) {
|
23
|
+
return this.getInactive().filter((item) => !date || item.endDate >= date);
|
24
|
+
}
|
25
|
+
getPaid() {
|
26
|
+
return this.filter((subscription) => !!subscription.stripeId);
|
27
|
+
}
|
28
|
+
getActivePaid() {
|
29
|
+
return this.getActive().find((subscription) => !!subscription.stripeId);
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* @TODO vik remove trials replaced by paid item
|
33
|
+
*/
|
34
|
+
getItems() {
|
35
|
+
return new SubscriptionItemCollection(flatten(this.sortBy('endDate', ['asc']).mapBy('items')));
|
36
|
+
}
|
37
|
+
groupByProduct(products) {
|
38
|
+
const dictionary = new Dictionary([]);
|
39
|
+
products.toArray().forEach((product) => {
|
40
|
+
const subscriptions = this.filterByProduct(product);
|
41
|
+
dictionary.add(product.id, (subscriptions.getPaid().last ?? subscriptions.getTrials().first));
|
42
|
+
});
|
43
|
+
return dictionary;
|
44
|
+
}
|
45
|
+
findByProduct(product) {
|
46
|
+
return this.find((subscription) => subscription.roles.includes(product.role));
|
47
|
+
}
|
48
|
+
filterByProduct(product) {
|
49
|
+
return this.filter((subscription) => subscription.roles.includes(product.role));
|
50
|
+
}
|
51
|
+
filterByRole(role) {
|
52
|
+
return this.filter((subscription) => subscription.roles.includes(role));
|
53
|
+
}
|
54
|
+
hasPropertyTank() {
|
55
|
+
return !!this.getItems().propertiesItem;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1zdWJzY3JpcHRpb24uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9zdWJzY3JpcHRpb24vc2VydmljZS1zdWJzY3JpcHRpb24uY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10s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BkaWN0aW9uYXJ5O1xuICB9XG5cbiAgZmluZEJ5UHJvZHVjdChwcm9kdWN0OiBTZXJ2aWNlUHJvZHVjdCk6IFNlcnZpY2VTdWJzY3JpcHRpb24ge1xuICAgIHJldHVybiB0aGlzLmZpbmQoKHN1YnNjcmlwdGlvbjogU2VydmljZVN1YnNjcmlwdGlvbikgPT4gc3Vic2NyaXB0aW9uLnJvbGVzLmluY2x1ZGVzKHByb2R1Y3Qucm9sZSkpO1xuICB9XG5cbiAgZmlsdGVyQnlQcm9kdWN0KHByb2R1Y3Q6IFNlcnZpY2VQcm9kdWN0KTogdGhpcyB7XG4gICAgcmV0dXJuIHRoaXMuZmlsdGVyKChzdWJzY3JpcHRpb246IFNlcnZpY2VTdWJzY3JpcHRpb24pID0+IHN1YnNjcmlwdGlvbi5yb2xlcy5pbmNsdWRlcyhwcm9kdWN0LnJvbGUpKTtcbiAgfVxuXG4gIGZpbHRlckJ5Um9sZShyb2xlOiBVc2VyUm9sZXNFbnVtKTogdGhpcyB7XG4gICAgcmV0dXJuIHRoaXMuZmlsdGVyKChzdWJzY3JpcHRpb246IFNlcnZpY2VTdWJzY3JpcHRpb24pID0+IHN1YnNjcmlwdGlvbi5yb2xlcy5pbmNsdWRlcyhyb2xlKSk7XG4gIH1cblxuICBoYXNQcm9wZXJ0eVRhbmsoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuICEhdGhpcy5nZXRJdGVtcygpLnByb3BlcnRpZXNJdGVtO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import { ServicePriceCollection } from './service-price.collection';
|
3
|
+
export class SubscriptionItemCollection extends Collection {
|
4
|
+
get propertiesItem() {
|
5
|
+
return this.filter((item) => item.price.product.isProperties()).last;
|
6
|
+
}
|
7
|
+
get propertyQuantity() {
|
8
|
+
return this.propertiesItem ? this.propertiesItem.quantity : 0;
|
9
|
+
}
|
10
|
+
hasProduct(product) {
|
11
|
+
return !!this.findBy('price.product.id', product.id);
|
12
|
+
}
|
13
|
+
get prices() {
|
14
|
+
return new ServicePriceCollection(this.mapBy('price'));
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWl0ZW0uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9zdWJzY3JpcHRpb24vc3Vic2NyaXB0aW9uLWl0ZW0uY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLDRCQUE0QixDQUFDO0FBRWxFLE1BQU0sT0FBTywwQkFBMkIsU0FBUSxVQUFtQztJQUNqRixJQUFJLGNBQWM7UUFDaEIsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsSUFBNkIsRUFBVyxFQUFFLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsWUFBWSxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUM7SUFDekcsQ0FBQztJQUVELElBQUksZ0JBQWdCO1FBQ2xCLE9BQU8sSUFBSSxDQUFDLGNBQWMsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLGNBQWMsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUNoRSxDQUFDO0lBRUQsVUFBVSxDQUFDLE9BQXVCO1FBQ2hDLE9BQU8sQ0FBQyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsa0JBQWtCLEVBQUUsT0FBTyxDQUFDLEVBQUUsQ0FBQy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ByaWNlcygpOiBTZXJ2aWNlUHJpY2VDb2xsZWN0aW9uIHtcbiAgICByZXR1cm4gbmV3IFNlcnZpY2VQcmljZUNvbGxlY3Rpb24odGhpcy5tYXBCeSgncHJpY2UnKSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { Collection } from './collection';
|
2
|
+
import uniqBy from 'lodash/uniqBy';
|
3
|
+
/**
|
4
|
+
* Collection of tax review
|
5
|
+
*/
|
6
|
+
export class TaxReviewCollection extends Collection {
|
7
|
+
/**
|
8
|
+
* Get tax reviews items with SENT & COMPLETED statuses
|
9
|
+
*/
|
10
|
+
getCompleted() {
|
11
|
+
return this.items
|
12
|
+
.filter((taxReview) => taxReview.isSent() || taxReview.isCompleted());
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* Get tax reviews items with WAITING_FOR_APPROVAL status
|
16
|
+
*/
|
17
|
+
getReadyForReview() {
|
18
|
+
return this.items.filter((taxReview) => taxReview.isNew());
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* Get tax reviews items in work (In progress, Waiting for client, Waiting for Approval, Is approved)
|
22
|
+
*/
|
23
|
+
getInWork() {
|
24
|
+
return this.items
|
25
|
+
.filter((taxReview) => taxReview.isInProgress() ||
|
26
|
+
taxReview.isWaitingForClient() ||
|
27
|
+
taxReview.isWaitingForApproval() ||
|
28
|
+
taxReview.isApproved());
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Get percentage of completed reviews of the total review amount
|
32
|
+
*/
|
33
|
+
getCompletedPercentage() {
|
34
|
+
return 100 * this.getCompleted().length / this.items.length || 0;
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* get list of items filtered by status
|
38
|
+
* @param status
|
39
|
+
*/
|
40
|
+
getByStatus(status) {
|
41
|
+
return this.items.filter((item) => item.status === status);
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* get list of items by firm id
|
45
|
+
*/
|
46
|
+
getByEmployeeId(employeeId) {
|
47
|
+
return this.items.filter((item) => item.employee.id === employeeId);
|
48
|
+
}
|
49
|
+
getEmployees() {
|
50
|
+
return uniqBy(this.items.map((review) => review.employee), 'id');
|
51
|
+
}
|
52
|
+
}
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGF4LXJldmlldy5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL3RheC1yZXZpZXcuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBSTFDLE9BQU8sTUFBTSxNQUFNLGVBQWUsQ0FBQTtBQUVsQzs7R0FFRztBQUNILE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxVQUFxQjtJQUM1RDs7T0FFRztJQUNILFlBQVk7UUFDVixPQUFPLElBQUksQ0FBQyxLQUFLO2FBQ2QsTUFBTSxDQUFDLENBQUMsU0FBb0IsRUFBRSxFQUFFLENBQUMsU0FBUyxDQUFDLE1BQU0sRUFBRSxJQUFJLFNBQVMsQ0FBQyxXQUFXLEVBQUUsQ0FBQyxDQUFDO0lBQ3JGLENBQUM7SUFFRDs7T0FFRztJQUNILGlCQUFpQjtRQUNmLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsQ0FBQyxTQUFvQixFQUFFLEVBQUUsQ0FBQyxTQUFTLENBQUMsS0FBSyxFQUFFLENBQUMsQ0FBQztJQUN4RSxDQUFDO0lBRUQ7O09BRUc7SUFDSCxTQUFTO1FBQ1AsT0FBTyxJQUFJLENBQUMsS0FBSzthQUNkLE1BQU0sQ0FBQyxDQUFDLFNBQW9CLEVBQUUsRUFBRSxDQUFDLFNBQVMsQ0FBQyxZQUFZLEVB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lbXMuZmlsdGVyKChpdGVtOiBUYXhSZXZpZXcpOiBib29sZWFuID0+IGl0ZW0uZW1wbG95ZWUuaWQgPT09IGVtcGxveWVlSWQpO1xuICB9XG5cbiAgZ2V0RW1wbG95ZWVzKCk6IFVzZXJbXSB7XG4gICAgcmV0dXJuIHVuaXFCeSh0aGlzLml0ZW1zLm1hcCgocmV2aWV3OiBUYXhSZXZpZXcpOiBVc2VyID0+IHJldmlldy5lbXBsb3llZSksICdpZCcpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './report-item.collection';
|
2
|
+
export * from './tax-return-categories.const';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvdGF4LXN1bW1hcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLCtCQUErQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZXBvcnQtaXRlbS5jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vdGF4LXJldHVybi1jYXRlZ29yaWVzLmNvbnN0JztcbiJdfQ==
|
@@ -0,0 +1,101 @@
|
|
1
|
+
import { Collection } from '../collection';
|
2
|
+
import compact from 'lodash/compact';
|
3
|
+
/**
|
4
|
+
* collection for tax return category items
|
5
|
+
*/
|
6
|
+
export class ReportItemCollection extends Collection {
|
7
|
+
/**
|
8
|
+
* Recursively get collection of report items by Tax Summary Section.
|
9
|
+
* Search items which has details
|
10
|
+
*/
|
11
|
+
getBySection(section) {
|
12
|
+
const result = [];
|
13
|
+
for (const reportItem of this.items) {
|
14
|
+
if ((reportItem.details.length || reportItem.amount) && reportItem.taxReturnCategory.section === section) {
|
15
|
+
result.push(reportItem);
|
16
|
+
}
|
17
|
+
else {
|
18
|
+
result.push(...reportItem.items.getBySection(section).toArray());
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return this.create(result);
|
22
|
+
}
|
23
|
+
getByCategory(categoryId) {
|
24
|
+
const result = [];
|
25
|
+
for (const reportItem of this.items) {
|
26
|
+
if (reportItem.taxReturnCategory.id === categoryId) {
|
27
|
+
result.push(reportItem);
|
28
|
+
}
|
29
|
+
else if (reportItem.items && reportItem.items.getByCategory(categoryId).length) {
|
30
|
+
result.push(...reportItem.items.getByCategory(categoryId));
|
31
|
+
}
|
32
|
+
}
|
33
|
+
return result;
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* Recursively find report item by Tax Return Category ID
|
37
|
+
*/
|
38
|
+
findByCategory(categoryId) {
|
39
|
+
let result;
|
40
|
+
for (const reportItem of this.items) {
|
41
|
+
if (result) {
|
42
|
+
break;
|
43
|
+
}
|
44
|
+
if (reportItem.taxReturnCategory.id === categoryId) {
|
45
|
+
result = reportItem;
|
46
|
+
}
|
47
|
+
else {
|
48
|
+
result = reportItem.items.findByCategory(categoryId);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
return result;
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* get Collection of report items by Tax Return Categories IDs (one item per category)
|
55
|
+
*/
|
56
|
+
findByCategories(categories) {
|
57
|
+
return this.create(compact(categories.map((category) => this.findByCategory(category))));
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* Get Collection of report items by Tax Return Categories IDs (all items per category)
|
61
|
+
*/
|
62
|
+
getByCategories(categories) {
|
63
|
+
const reportItems = [];
|
64
|
+
categories.forEach((category) => {
|
65
|
+
reportItems.push(...this.getByCategory(category));
|
66
|
+
});
|
67
|
+
return this.create(reportItems);
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* A short call to a chain of methods that we often use.
|
71
|
+
* Get total amount of report items by Tax Return categories and Tax Summary Section.
|
72
|
+
*/
|
73
|
+
sumByCategoriesAndSection(categories, section) {
|
74
|
+
return this.findByCategories(categories).getBySection(section).sumBy('amount');
|
75
|
+
}
|
76
|
+
/**
|
77
|
+
* @TODO vik refactor once Nicole approved
|
78
|
+
* unlike sumByCategoriesAndSection, which find just one reportItem per category,
|
79
|
+
* this method will search for recursively for all matches
|
80
|
+
*/
|
81
|
+
sumByCategories(categories) {
|
82
|
+
return this.getByCategories(categories).sumBy('amount');
|
83
|
+
}
|
84
|
+
/**
|
85
|
+
* Get collection of all report item details related to passed income source
|
86
|
+
* @TODO Alex: consider to create and move to ReportItemDetailsCollection
|
87
|
+
*/
|
88
|
+
getDetailsByIncomeSource(incomeSource) {
|
89
|
+
const result = [];
|
90
|
+
for (const reportItem of this.items) {
|
91
|
+
if (reportItem.details.length) {
|
92
|
+
result.push(...reportItem.details.filter((details) => details.name === incomeSource.name));
|
93
|
+
}
|
94
|
+
else {
|
95
|
+
result.push(...reportItem.items.getDetailsByIncomeSource(incomeSource).toArray());
|
96
|
+
}
|
97
|
+
}
|
98
|
+
return new Collection(result);
|
99
|
+
}
|
100
|
+
}
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LWl0ZW0uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy90YXgtc3VtbWFyeS9yZXBvcnQtaXRlbS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFNekMsT0FBTyxPQUFPLE1BQU0sZ0JBQWdCLENBQUM7QUFFckM7O0dBRUc7QUFDSCxNQUFNLE9BQU8sb0JBQ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