taxtank-core 0.30.41 → 0.30.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/collections/bank-account.collection.mjs +9 -29
- package/esm2020/lib/collections/bank-transaction.collection.mjs +3 -5
- package/esm2020/lib/collections/chat/message.collection.mjs +2 -4
- package/esm2020/lib/collections/collection-dictionary.mjs +1 -1
- package/esm2020/lib/collections/collection.mjs +1 -1
- package/esm2020/lib/collections/depreciation.collection.mjs +7 -19
- package/esm2020/lib/collections/exportable.collection.mjs +1 -2
- package/esm2020/lib/collections/holding-type.collection.mjs +1 -1
- package/esm2020/lib/collections/holding.collection.mjs +4 -1
- package/esm2020/lib/collections/loan/loan-payment.collection.mjs +12 -16
- package/esm2020/lib/collections/property/property-category-movement.collection.mjs +2 -4
- package/esm2020/lib/collections/property/property-share.collection.mjs +2 -4
- package/esm2020/lib/collections/property/property.collection.mjs +3 -7
- package/esm2020/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +2 -4
- package/esm2020/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +2 -4
- package/esm2020/lib/collections/subscription/service-subscription.collection.mjs +3 -7
- package/esm2020/lib/collections/tax-review.collection.mjs +5 -7
- package/esm2020/lib/collections/tax-summary/report-item.collection.mjs +8 -8
- package/esm2020/lib/collections/transaction/transaction.collection.mjs +11 -21
- package/esm2020/lib/db/Enums/address-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/allocation-rule-condition-field.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/allocation-rule-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/bank-account-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/bank-connection-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/bank-transaction-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/client-details-medicare-exemption.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/client-details-working-holiday-maker.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/client-invite-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/depreciation-calculation-percent.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/depreciation-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/depreciation-write-off-amount.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/file-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/firm-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/index.mjs +1 -1
- package/esm2020/lib/db/Enums/invite-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/loan-bank-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/loan-frequency.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/loan-payout-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/loan-repayment-frequency.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/phone-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/registration-invite-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/salary-forecast-frequency.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/service-notification-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/service-notification-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/spare-document-spare-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/subscription/service-payment-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/subscription/service-subscription-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/tax-calculation-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/tax-summary-list.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/tax-summary-tax-summary.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/ticket-feedback.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/ticket-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/ticket-types.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/transaction-source.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/transaction-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/user-event-status.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/user-event-type-employee-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/user-event-type-frequency.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/user-event-type-user-type.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/user-medicare-exemption.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/user-working-holiday-maker.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/vehicle-claim-details-method.enum.mjs +1 -1
- package/esm2020/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +1 -1
- package/esm2020/lib/db/Models/abstract-model.mjs +1 -1
- package/esm2020/lib/db/Models/bank/bank-account-property.mjs +1 -1
- package/esm2020/lib/db/Models/bank/bank-account.mjs +1 -1
- package/esm2020/lib/db/Models/chart-accounts/chart-accounts.mjs +1 -1
- package/esm2020/lib/db/Models/client/occupation.mjs +1 -1
- package/esm2020/lib/db/Models/country.mjs +1 -1
- package/esm2020/lib/db/Models/document/document-base.mjs +1 -1
- package/esm2020/lib/db/Models/firm/client-movement.mjs +1 -1
- package/esm2020/lib/db/Models/firm/employee-invite.mjs +1 -1
- package/esm2020/lib/db/Models/loan/borrowing-expense.mjs +1 -1
- package/esm2020/lib/db/Models/loan/loan-payout.mjs +1 -1
- package/esm2020/lib/db/Models/loan/loan.mjs +1 -1
- package/esm2020/lib/db/Models/observable-model.mjs +2 -2
- package/esm2020/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +1 -1
- package/esm2020/lib/db/Models/property/property-sale/property-sale.mjs +1 -1
- package/esm2020/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +1 -1
- package/esm2020/lib/db/Models/property/property-sale/tax-exemption.mjs +1 -1
- package/esm2020/lib/db/Models/property/property-share.mjs +1 -1
- package/esm2020/lib/db/Models/property/property-valuation.mjs +1 -1
- package/esm2020/lib/db/Models/property/property.mjs +1 -1
- package/esm2020/lib/db/Models/sole/bas-report.mjs +1 -1
- package/esm2020/lib/db/Models/sole/sole-business-activity.mjs +1 -1
- package/esm2020/lib/db/Models/sole/sole-business-allocation.mjs +1 -1
- package/esm2020/lib/db/Models/sole/sole-contact.mjs +1 -1
- package/esm2020/lib/db/Models/sole/sole-forecast.mjs +1 -1
- package/esm2020/lib/db/Models/spare/spare-document-category.mjs +1 -1
- package/esm2020/lib/db/Models/subscription/service-payment-method.mjs +1 -1
- package/esm2020/lib/db/Models/subscription/service-subscription.mjs +1 -1
- package/esm2020/lib/db/Models/transaction/transaction-base.mjs +3 -5
- package/esm2020/lib/db/Models/user/user-event-setting.mjs +1 -1
- package/esm2020/lib/db/Models/user/user-event-type-category.mjs +1 -1
- package/esm2020/lib/db/Models/user/user-event-type.mjs +1 -1
- package/esm2020/lib/db/Models/user/user-event.mjs +1 -1
- package/esm2020/lib/forms/abstract.form.mjs +1 -1
- package/esm2020/lib/forms/address/address.form.mjs +2 -2
- package/esm2020/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +1 -1
- package/esm2020/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +1 -1
- package/esm2020/lib/forms/bank/bank-account/bank-account-properties.form.mjs +5 -7
- package/esm2020/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +2 -2
- package/esm2020/lib/forms/depreciation/depreciation.form.mjs +1 -1
- package/esm2020/lib/forms/holding/holding-sale.form.mjs +3 -2
- package/esm2020/lib/forms/holding/holding-type.form.mjs +4 -4
- package/esm2020/lib/forms/holding/holding.form.mjs +5 -4
- package/esm2020/lib/forms/holding/index.mjs +1 -1
- package/esm2020/lib/forms/index.mjs +1 -1
- package/esm2020/lib/forms/loan/loan.form.mjs +3 -3
- package/esm2020/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +1 -1
- package/esm2020/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +1 -1
- package/esm2020/lib/forms/sole/bas-report.form.mjs +1 -1
- package/esm2020/lib/forms/sole/sole-business-allocations.form.mjs +5 -7
- package/esm2020/lib/forms/sole/sole-invoice-item.form.mjs +1 -1
- package/esm2020/lib/forms/sole/sole-invoice.form.mjs +1 -1
- package/esm2020/lib/forms/transaction/allocation-rule-transaction.form.mjs +1 -1
- package/esm2020/lib/forms/transaction/transaction-base.form.mjs +1 -1
- package/esm2020/lib/forms/transaction/work/work-transaction.form.mjs +5 -7
- package/esm2020/lib/forms/user/user-invite.form.mjs +1 -1
- package/esm2020/lib/forms/vehicle/vehicle-logbook.form.mjs +1 -1
- package/esm2020/lib/forms/vehicle/vehicle.form.mjs +1 -1
- package/esm2020/lib/functions/array/replace.mjs +1 -1
- package/esm2020/lib/functions/array/sort-deep.mjs +1 -1
- package/esm2020/lib/functions/array/sort.mjs +1 -1
- package/esm2020/lib/functions/round-to.mjs +1 -1
- package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +5 -7
- package/esm2020/lib/interceptors/corelogic-interceptor.mjs +5 -7
- package/esm2020/lib/interceptors/financial-year-interceptor.mjs +4 -4
- package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
- package/esm2020/lib/interceptors/jwt-interceptor.mjs +16 -18
- package/esm2020/lib/interceptors/preloader.interceptor.mjs +5 -5
- package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +4 -4
- package/esm2020/lib/interfaces/income-source-forecast.interface.mjs +1 -1
- package/esm2020/lib/messages/index.mjs +1 -1
- package/esm2020/lib/messages/messages.enum.mjs +1 -1
- package/esm2020/lib/models/address/address.mjs +1 -1
- package/esm2020/lib/models/badge/badge.mjs +1 -1
- package/esm2020/lib/models/bank/bank-account-chart-data.mjs +9 -13
- package/esm2020/lib/models/bank/bank-account-property.mjs +1 -1
- package/esm2020/lib/models/bank/bank-account.mjs +1 -1
- package/esm2020/lib/models/bank/bank-connection.mjs +1 -1
- package/esm2020/lib/models/bank/bank-transaction-chart-data.mjs +4 -10
- package/esm2020/lib/models/bank/bank-transaction.mjs +2 -2
- package/esm2020/lib/models/bank/bank.mjs +1 -1
- package/esm2020/lib/models/bank/basiq/basiq-config.mjs +1 -1
- package/esm2020/lib/models/bank/basiq/basiq-job-response.mjs +1 -1
- package/esm2020/lib/models/bank/basiq/basiq-token.mjs +2 -2
- package/esm2020/lib/models/chart/chart-data.mjs +1 -1
- package/esm2020/lib/models/chart-accounts/chart-accounts-depreciation.mjs +1 -1
- package/esm2020/lib/models/chart-accounts/chart-accounts.mjs +3 -3
- package/esm2020/lib/models/chat/chat.mjs +1 -1
- package/esm2020/lib/models/chat/message-document.mjs +1 -1
- package/esm2020/lib/models/chat/message.mjs +1 -1
- package/esm2020/lib/models/client/annual-client-details.mjs +1 -1
- package/esm2020/lib/models/client/client-invite.mjs +1 -1
- package/esm2020/lib/models/client/client-movement.mjs +1 -1
- package/esm2020/lib/models/client/client-portfolio-chart-data.mjs +5 -7
- package/esm2020/lib/models/depreciation/depreciation-capital-project.mjs +1 -1
- package/esm2020/lib/models/depreciation/depreciation-forecast.mjs +1 -1
- package/esm2020/lib/models/depreciation/depreciation.mjs +4 -8
- package/esm2020/lib/models/dictionary/dictionary.mjs +1 -1
- package/esm2020/lib/models/document/document-folder.mjs +1 -1
- package/esm2020/lib/models/employee/employee-details.mjs +1 -1
- package/esm2020/lib/models/employee/employee-invite.mjs +1 -1
- package/esm2020/lib/models/financial-year/financial-year.mjs +1 -1
- package/esm2020/lib/models/firm/firm.mjs +1 -1
- package/esm2020/lib/models/holding/holding-sale.mjs +4 -4
- package/esm2020/lib/models/holding/holding-type-exchange.mjs +1 -1
- package/esm2020/lib/models/holding/holding-type.mjs +1 -1
- package/esm2020/lib/models/holding/holding.mjs +5 -2
- package/esm2020/lib/models/income-position/income-position.mjs +1 -1
- package/esm2020/lib/models/income-source/income-source-forecast.mjs +1 -1
- package/esm2020/lib/models/income-source/income-source.mjs +1 -1
- package/esm2020/lib/models/income-source/salary-forecast.mjs +1 -1
- package/esm2020/lib/models/income-source/sole-forecast.mjs +3 -4
- package/esm2020/lib/models/loan/loan-payment.mjs +1 -1
- package/esm2020/lib/models/loan/loan.mjs +1 -1
- package/esm2020/lib/models/notification/notification.mjs +1 -1
- package/esm2020/lib/models/pdf/pdf-settings.mjs +1 -1
- package/esm2020/lib/models/phone/phone.mjs +1 -1
- package/esm2020/lib/models/property/property-category-movement.mjs +1 -1
- package/esm2020/lib/models/property/property-equity-chart-data.mjs +5 -13
- package/esm2020/lib/models/property/property-forecast.mjs +1 -1
- package/esm2020/lib/models/property/property-sale/property-sale.mjs +1 -1
- package/esm2020/lib/models/property/property-share.mjs +1 -1
- package/esm2020/lib/models/property/property-subscription.mjs +1 -1
- package/esm2020/lib/models/property/property-valuation.mjs +1 -1
- package/esm2020/lib/models/property/property.mjs +3 -7
- package/esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +2 -2
- package/esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +2 -2
- package/esm2020/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +2 -2
- package/esm2020/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +2 -2
- package/esm2020/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +2 -2
- package/esm2020/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +1 -1
- package/esm2020/lib/models/report/property/property-report-item.mjs +1 -1
- package/esm2020/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +1 -1
- package/esm2020/lib/models/service-subscription/service-payment.mjs +1 -1
- package/esm2020/lib/models/service-subscription/service-price.mjs +2 -2
- package/esm2020/lib/models/service-subscription/service-promo-code.mjs +1 -1
- package/esm2020/lib/models/service-subscription/service-subscription-item.mjs +1 -1
- package/esm2020/lib/models/service-subscription/service-subscription.mjs +4 -8
- package/esm2020/lib/models/sole/bas-report.mjs +2 -2
- package/esm2020/lib/models/sole/sole-business-activity.mjs +2 -2
- package/esm2020/lib/models/sole/sole-business-allocation.mjs +1 -1
- package/esm2020/lib/models/sole/sole-business-loss-offset-rule.mjs +1 -1
- package/esm2020/lib/models/sole/sole-business-loss.mjs +1 -1
- package/esm2020/lib/models/sole/sole-business.mjs +1 -1
- package/esm2020/lib/models/sole/sole-contact.mjs +1 -1
- package/esm2020/lib/models/sole/sole-details.mjs +1 -1
- package/esm2020/lib/models/sole/sole-invoice-item.mjs +1 -1
- package/esm2020/lib/models/sole/sole-invoice-template.mjs +1 -1
- package/esm2020/lib/models/sole/sole-invoice.mjs +2 -2
- package/esm2020/lib/models/tax-review/tax-review.mjs +1 -1
- package/esm2020/lib/models/tax-summary/report-item.mjs +1 -1
- package/esm2020/lib/models/tax-summary/tax-summary-section.mjs +1 -1
- package/esm2020/lib/models/tax-summary/tax-summary.mjs +1 -1
- package/esm2020/lib/models/toast/toast.mjs +1 -1
- package/esm2020/lib/models/transaction/allocation-rule-condition.mjs +1 -1
- package/esm2020/lib/models/transaction/allocation-rule-transaction.mjs +7 -17
- package/esm2020/lib/models/transaction/allocation-rule.mjs +5 -5
- package/esm2020/lib/models/transaction/transaction-allocation.mjs +2 -2
- package/esm2020/lib/models/transaction/transaction-meta-field.mjs +1 -1
- package/esm2020/lib/models/transaction/transaction.mjs +4 -6
- package/esm2020/lib/models/user/user.mjs +1 -1
- package/esm2020/lib/models/user-event/user-event-setting.mjs +1 -1
- package/esm2020/lib/models/user-event/user-event-type.mjs +2 -2
- package/esm2020/lib/models/vehicle/logbook-period.mjs +1 -1
- package/esm2020/lib/models/vehicle/vehicle-claim-details.mjs +1 -1
- package/esm2020/lib/models/vehicle/vehicle-claim.mjs +1 -1
- package/esm2020/lib/models/vehicle/vehicle-logbook.mjs +1 -1
- package/esm2020/lib/models/vehicle/vehicle.mjs +1 -1
- package/esm2020/lib/services/account-setup/account-setup.service.mjs +5 -5
- package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +4 -4
- package/esm2020/lib/services/asset/assets.service.mjs +3 -3
- package/esm2020/lib/services/auth/auth.service.mjs +5 -5
- package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
- package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
- package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +6 -10
- package/esm2020/lib/services/data.service.mjs +3 -3
- package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
- package/esm2020/lib/services/event/sse.service.mjs +5 -7
- package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
- package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
- package/esm2020/lib/services/http/address/address.service.mjs +5 -7
- package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +4 -4
- package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +6 -6
- package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +5 -8
- package/esm2020/lib/services/http/bank/bank.service.mjs +8 -9
- package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +4 -4
- package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +4 -4
- package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +4 -4
- package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +5 -5
- package/esm2020/lib/services/http/chat/chat.service.mjs +5 -5
- package/esm2020/lib/services/http/chat/message-document.service.mjs +6 -8
- package/esm2020/lib/services/http/chat/message.service.mjs +4 -4
- package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +4 -4
- package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +5 -7
- package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +5 -7
- package/esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +5 -7
- package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +4 -4
- package/esm2020/lib/services/http/document/document.service.mjs +4 -4
- package/esm2020/lib/services/http/facebook/facebook.service.mjs +4 -4
- package/esm2020/lib/services/http/file/file.service.mjs +4 -4
- package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +4 -4
- package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +5 -7
- package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +7 -13
- package/esm2020/lib/services/http/firm/employee/employee.service.mjs +4 -4
- package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +5 -7
- package/esm2020/lib/services/http/firm/firm.service.mjs +8 -16
- package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +4 -4
- package/esm2020/lib/services/http/google/google.service.mjs +4 -4
- package/esm2020/lib/services/http/holding/holding-sale.service.mjs +4 -4
- package/esm2020/lib/services/http/holding/holding-type.service.mjs +4 -4
- package/esm2020/lib/services/http/holding/holding.service.mjs +8 -5
- package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +4 -4
- package/esm2020/lib/services/http/income-source/income-source.service.mjs +6 -10
- package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +4 -4
- package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +4 -4
- package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +5 -7
- package/esm2020/lib/services/http/loan/loan.service.mjs +5 -7
- package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +4 -4
- package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +4 -4
- package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +4 -4
- package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +4 -4
- package/esm2020/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.mjs +4 -4
- package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +5 -5
- package/esm2020/lib/services/http/property/property.service.mjs +5 -5
- package/esm2020/lib/services/http/receipt/receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/rest/rest-old.service.mjs +7 -11
- package/esm2020/lib/services/http/rest/rest.service.mjs +4 -6
- package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +4 -4
- package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +4 -4
- package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +5 -5
- package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +4 -4
- package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +4 -4
- package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +4 -4
- package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +4 -4
- package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +5 -5
- package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +4 -4
- package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +4 -4
- package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +4 -4
- package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +4 -4
- package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +4 -4
- package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +4 -4
- package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +5 -7
- package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +4 -4
- package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +4 -4
- package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +4 -4
- package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +4 -4
- package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +5 -7
- package/esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction.service.mjs +12 -22
- package/esm2020/lib/services/http/tutorial-video/tutorial-video-response.interface.mjs +1 -1
- package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +4 -4
- package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +4 -4
- package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +4 -4
- package/esm2020/lib/services/http/user/user.service.mjs +7 -9
- package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +4 -4
- package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +4 -4
- package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +4 -4
- package/esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs +4 -4
- package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +4 -4
- package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
- package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +4 -4
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +4 -4
- package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
- package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +6 -10
- package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +11 -17
- package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +13 -31
- package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +11 -17
- package/esm2020/lib/services/toast/toast.service.mjs +3 -3
- package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +5 -7
- package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
- package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +5 -5
- package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
- package/esm2020/lib/tt-core.module.mjs +4 -4
- package/esm2020/lib/validators/at-least-one-enabled.validator.mjs +4 -6
- package/esm2020/lib/validators/at-least-one.validator.mjs +3 -5
- package/esm2020/lib/validators/autocomplete.validator.mjs +2 -4
- package/esm2020/lib/validators/fields-sum.validator.mjs +8 -10
- package/esm2020/lib/validators/file.validator.mjs +1 -1
- package/esm2020/lib/validators/greater-than.validator.mjs +12 -0
- package/esm2020/lib/validators/index.mjs +2 -1
- package/esm2020/lib/validators/phone-number.validator.mjs +2 -4
- package/esm2020/lib/validators/transactions-meta-fields.validator.mjs +2 -2
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/taxtank-core.mjs +586 -813
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +586 -808
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/collections/holding.collection.d.ts +1 -0
- package/lib/collections/subscription/service-subscription.collection.d.ts +1 -1
- package/lib/db/Models/chart-accounts/chart-accounts.d.ts +1 -1
- package/lib/db/Models/observable-model.d.ts +2 -2
- package/lib/db/Models/subscription/service-subscription.d.ts +1 -1
- package/lib/forms/holding/holding-type.form.d.ts +2 -2
- package/lib/forms/holding/holding.form.d.ts +2 -2
- package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts +1 -1
- package/lib/forms/sole/bas-report.form.d.ts +1 -1
- package/lib/interceptors/basiq-client-id.interceptor.d.ts +1 -1
- package/lib/interceptors/basiq-token.interceptor.d.ts +1 -1
- package/lib/interceptors/corelogic-interceptor.d.ts +1 -1
- package/lib/interceptors/financial-year-interceptor.d.ts +1 -1
- package/lib/interceptors/preloader.interceptor.d.ts +1 -1
- package/lib/interceptors/user-switcher-interceptor.d.ts +1 -1
- package/lib/interfaces/income-source-forecast.interface.d.ts +1 -1
- package/lib/models/bank/basiq/basiq-token.d.ts +1 -1
- package/lib/models/holding/holding-sale.d.ts +2 -2
- package/lib/models/holding/holding.d.ts +1 -0
- package/lib/models/income-source/sole-forecast.d.ts +2 -2
- package/lib/models/property/property.d.ts +1 -1
- package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts +1 -1
- package/lib/models/service-subscription/service-promo-code.d.ts +1 -1
- package/lib/models/sole/bas-report.d.ts +1 -1
- package/lib/models/sole/sole-business-activity.d.ts +1 -1
- package/lib/services/auth/auth.service.d.ts +3 -3
- package/lib/services/http/bank/bank.service.d.ts +1 -1
- package/lib/services/http/chat/chat.service.d.ts +1 -1
- package/lib/services/http/client/capital-gain/annual-client-details.service.d.ts +1 -1
- package/lib/services/http/facebook/facebook.service.d.ts +2 -2
- package/lib/services/http/firm/client-invite/client-invite.service.d.ts +1 -1
- package/lib/services/http/google/google.service.d.ts +1 -1
- package/lib/services/http/holding/holding-sale.service.d.ts +1 -1
- package/lib/services/http/holding/holding-type.service.d.ts +1 -1
- package/lib/services/http/holding/holding.service.d.ts +4 -2
- package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts +1 -1
- package/lib/services/report/property/property-transaction-report.service.d.ts +1 -1
- package/lib/services/transaction/transaction-calculation.service.d.ts +1 -1
- package/lib/services/vehicle/logbook-best-period.service.d.ts +1 -1
- package/lib/validators/greater-than.validator.d.ts +5 -0
- package/lib/validators/index.d.ts +1 -0
- package/lib/validators/transactions-meta-fields.validator.d.ts +1 -1
- package/package.json +1 -1
- package/lib/collections/account-setup-item.collection.d.ts.map +0 -1
- package/lib/collections/allocation-group.collection.d.ts.map +0 -1
- package/lib/collections/allocation-rule.collection.d.ts.map +0 -1
- package/lib/collections/bank-account.collection.d.ts.map +0 -1
- package/lib/collections/bank-transaction.collection.d.ts.map +0 -1
- package/lib/collections/chart-accounts.collection.d.ts.map +0 -1
- package/lib/collections/chat/chat.collection.d.ts.map +0 -1
- package/lib/collections/chat/index.d.ts.map +0 -1
- package/lib/collections/chat/message-document.collection.d.ts.map +0 -1
- package/lib/collections/chat/message.collection.d.ts.map +0 -1
- package/lib/collections/client-invite.collection.d.ts.map +0 -1
- package/lib/collections/client-movement.collection.d.ts.map +0 -1
- package/lib/collections/client-portfolio-report.collection.d.ts.map +0 -1
- package/lib/collections/client.collection.d.ts.map +0 -1
- package/lib/collections/collection-dictionary.d.ts.map +0 -1
- package/lib/collections/collection.d.ts.map +0 -1
- package/lib/collections/depreciation-forecast.collection.d.ts.map +0 -1
- package/lib/collections/depreciation.collection.d.ts.map +0 -1
- package/lib/collections/employee.collection.d.ts.map +0 -1
- package/lib/collections/exportable.collection.d.ts.map +0 -1
- package/lib/collections/holding-type.collection.d.ts.map +0 -1
- package/lib/collections/holding.collection.d.ts.map +0 -1
- package/lib/collections/income-source.collection.d.ts.map +0 -1
- package/lib/collections/index.d.ts.map +0 -1
- package/lib/collections/loan/index.d.ts.map +0 -1
- package/lib/collections/loan/loan-payment.collection.d.ts.map +0 -1
- package/lib/collections/loan/loan.collection.d.ts.map +0 -1
- package/lib/collections/property/index.d.ts.map +0 -1
- package/lib/collections/property/property-category-movement.collection.d.ts.map +0 -1
- package/lib/collections/property/property-sale/index.d.ts.map +0 -1
- package/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts.map +0 -1
- package/lib/collections/property/property-sale/property-sale.collection.d.ts.map +0 -1
- package/lib/collections/property/property-share.collection.d.ts.map +0 -1
- package/lib/collections/property/property.collection.d.ts.map +0 -1
- package/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts.map +0 -1
- package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts.map +0 -1
- package/lib/collections/report/index.d.ts.map +0 -1
- package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts.map +0 -1
- package/lib/collections/report/property/property-report-item-transaction.collection.d.ts.map +0 -1
- package/lib/collections/report/property/property-report-item.collection.d.ts.map +0 -1
- package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts.map +0 -1
- package/lib/collections/sole/index.d.ts.map +0 -1
- package/lib/collections/sole/sole-business-losses.collection.d.ts.map +0 -1
- package/lib/collections/sole/sole-invoice-item.collection.d.ts.map +0 -1
- package/lib/collections/sole/sole-invoice.collection.d.ts.map +0 -1
- package/lib/collections/subscription/index.d.ts.map +0 -1
- package/lib/collections/subscription/service-price.collection.d.ts.map +0 -1
- package/lib/collections/subscription/service-product.collection.d.ts.map +0 -1
- package/lib/collections/subscription/service-subscription.collection.d.ts.map +0 -1
- package/lib/collections/subscription/subscription-item.collection.d.ts.map +0 -1
- package/lib/collections/tax-review.collection.d.ts.map +0 -1
- package/lib/collections/tax-summary/index.d.ts.map +0 -1
- package/lib/collections/tax-summary/report-item.collection.d.ts.map +0 -1
- package/lib/collections/tax-summary/tax-return-categories.const.d.ts.map +0 -1
- package/lib/collections/transaction/index.d.ts.map +0 -1
- package/lib/collections/transaction/transaction-allocation.collection.d.ts.map +0 -1
- package/lib/collections/transaction/transaction.collection.d.ts.map +0 -1
- package/lib/collections/user-event-setting.collection.d.ts.map +0 -1
- package/lib/collections/user-event-type-collection.d.ts.map +0 -1
- package/lib/collections/vehicle/index.d.ts.map +0 -1
- package/lib/collections/vehicle/vehicle-claim.collection.d.ts.map +0 -1
- package/lib/collections/vehicle/vehicle-logbook.collection.d.ts.map +0 -1
- package/lib/db/Enums/address-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.d.ts.map +0 -1
- package/lib/db/Enums/allocation-rule-condition-field.enum.d.ts.map +0 -1
- package/lib/db/Enums/allocation-rule-condition-operator.enum.d.ts.map +0 -1
- package/lib/db/Enums/allocation-rule-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/annual-frequency.enum.d.ts.map +0 -1
- package/lib/db/Enums/bank-account-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/bank-account-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/bank-connection-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/bank-popular.enum.d.ts.map +0 -1
- package/lib/db/Enums/bank-transaction-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/chart-accounts/index.d.ts.map +0 -1
- package/lib/db/Enums/chat-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts.map +0 -1
- package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts.map +0 -1
- package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts.map +0 -1
- package/lib/db/Enums/client-invite-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/client-invite-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts.map +0 -1
- package/lib/db/Enums/depreciation-calculation.enum.d.ts.map +0 -1
- package/lib/db/Enums/depreciation-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts.map +0 -1
- package/lib/db/Enums/document-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/file-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/firm-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/holding/holding-type-category.enum.d.ts.map +0 -1
- package/lib/db/Enums/income-source-forecast-trust-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/income-source-type-list-other.enum.d.ts.map +0 -1
- package/lib/db/Enums/income-source-type-list-sole.enum.d.ts.map +0 -1
- package/lib/db/Enums/income-source-type-list-work.enum.d.ts.map +0 -1
- package/lib/db/Enums/income-source-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/index.d.ts.map +0 -1
- package/lib/db/Enums/invite-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/loan-bank-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/loan-frequency.enum.d.ts.map +0 -1
- package/lib/db/Enums/loan-interest-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/loan-payout-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/loan-repayment-frequency.enum.d.ts.map +0 -1
- package/lib/db/Enums/loan-repayment-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/loan-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/loan-vehicle-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/phone-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/property/property-category-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/property/property-depreciation-calculation.enum.d.ts.map +0 -1
- package/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.d.ts.map +0 -1
- package/lib/db/Enums/property/property-sale/tax-exemption.enum.d.ts.map +0 -1
- package/lib/db/Enums/property/property-share-access.enum.d.ts.map +0 -1
- package/lib/db/Enums/property/property-share-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/registration-invite-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/salary-forecast-frequency.enum.d.ts.map +0 -1
- package/lib/db/Enums/service-notification-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/service-notification-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/sole-depreciation-method.enum.d.ts.map +0 -1
- package/lib/db/Enums/sole-invoice-statuses.enum.d.ts.map +0 -1
- package/lib/db/Enums/sole-invoice-tax-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/sole-invoice-template-tax-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/spare-document-spare-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts.map +0 -1
- package/lib/db/Enums/subscription/service-payment-method-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/subscription/service-payment-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/subscription/service-price-recurring-interval.enum.d.ts.map +0 -1
- package/lib/db/Enums/subscription/service-price-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/subscription/service-product-id.enum.d.ts.map +0 -1
- package/lib/db/Enums/subscription/service-product-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/subscription/service-subscription-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/tank-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts.map +0 -1
- package/lib/db/Enums/tax-calculation-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/tax-return-category-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/tax-return-category-section.enum.d.ts.map +0 -1
- package/lib/db/Enums/tax-review-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/tax-summary-list.enum.d.ts.map +0 -1
- package/lib/db/Enums/tax-summary-section.enum.d.ts.map +0 -1
- package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts.map +0 -1
- package/lib/db/Enums/ticket-feedback.enum.d.ts.map +0 -1
- package/lib/db/Enums/ticket-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/ticket-types.enum.d.ts.map +0 -1
- package/lib/db/Enums/transaction-operation.enum.d.ts.map +0 -1
- package/lib/db/Enums/transaction-source.enum.d.ts.map +0 -1
- package/lib/db/Enums/transaction-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-event-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-event-type-client-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-event-type-employee-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-event-type-frequency.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-event-type-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-event-type-user-type.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-medicare-exemption.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-roles.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-status.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-title.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts.map +0 -1
- package/lib/db/Enums/user-working-holiday-maker.enum.d.ts.map +0 -1
- package/lib/db/Enums/vehicle-claim-details-method.enum.d.ts.map +0 -1
- package/lib/db/Enums/vehicle-logbook-purpose.enum.d.ts.map +0 -1
- package/lib/db/Models/abstract-model.d.ts.map +0 -1
- package/lib/db/Models/address.d.ts.map +0 -1
- package/lib/db/Models/bank/bank-account-balance.d.ts.map +0 -1
- package/lib/db/Models/bank/bank-account-property.d.ts.map +0 -1
- package/lib/db/Models/bank/bank-account.d.ts.map +0 -1
- package/lib/db/Models/bank/bank-connection.d.ts.map +0 -1
- package/lib/db/Models/bank/bank-transaction-import.d.ts.map +0 -1
- package/lib/db/Models/bank/bank-transaction.d.ts.map +0 -1
- package/lib/db/Models/bank/bank.d.ts.map +0 -1
- package/lib/db/Models/bank/basiq-job.d.ts.map +0 -1
- package/lib/db/Models/bank/financial-data-system.d.ts.map +0 -1
- package/lib/db/Models/chart-accounts/chart-accounts-depreciation.d.ts.map +0 -1
- package/lib/db/Models/chart-accounts/chart-accounts-heading.d.ts.map +0 -1
- package/lib/db/Models/chart-accounts/chart-accounts-meta-field.d.ts.map +0 -1
- package/lib/db/Models/chart-accounts/chart-accounts-value.d.ts.map +0 -1
- package/lib/db/Models/chart-accounts/chart-accounts.d.ts.map +0 -1
- package/lib/db/Models/client/annual-client-details.d.ts.map +0 -1
- package/lib/db/Models/client/client-details.d.ts.map +0 -1
- package/lib/db/Models/client/client-income-types.d.ts.map +0 -1
- package/lib/db/Models/client/index.d.ts.map +0 -1
- package/lib/db/Models/client/occupation.d.ts.map +0 -1
- package/lib/db/Models/country.d.ts.map +0 -1
- package/lib/db/Models/depreciation/depreciation-capital-project.d.ts.map +0 -1
- package/lib/db/Models/depreciation/depreciation-forecast.d.ts.map +0 -1
- package/lib/db/Models/depreciation/depreciation-receipt.d.ts.map +0 -1
- package/lib/db/Models/depreciation/depreciation.d.ts.map +0 -1
- package/lib/db/Models/document/document-base.d.ts.map +0 -1
- package/lib/db/Models/document/document-folder.d.ts.map +0 -1
- package/lib/db/Models/document/document.d.ts.map +0 -1
- package/lib/db/Models/document/property-document.d.ts.map +0 -1
- package/lib/db/Models/file.d.ts.map +0 -1
- package/lib/db/Models/firm/accountant/tax-review.d.ts.map +0 -1
- package/lib/db/Models/firm/accountant/ticket.d.ts.map +0 -1
- package/lib/db/Models/firm/chat.d.ts.map +0 -1
- package/lib/db/Models/firm/client-invite.d.ts.map +0 -1
- package/lib/db/Models/firm/client-movement.d.ts.map +0 -1
- package/lib/db/Models/firm/employee-invite.d.ts.map +0 -1
- package/lib/db/Models/firm/firm-invite.d.ts.map +0 -1
- package/lib/db/Models/firm/firm.d.ts.map +0 -1
- package/lib/db/Models/firm/message-document.d.ts.map +0 -1
- package/lib/db/Models/firm/message.d.ts.map +0 -1
- package/lib/db/Models/holding/holding-sale.d.ts.map +0 -1
- package/lib/db/Models/holding/holding-type-exchange.d.ts.map +0 -1
- package/lib/db/Models/holding/holding-type.d.ts.map +0 -1
- package/lib/db/Models/holding/holding.d.ts.map +0 -1
- package/lib/db/Models/holding/index.d.ts.map +0 -1
- package/lib/db/Models/incomeSource/income-source-forecast.d.ts.map +0 -1
- package/lib/db/Models/incomeSource/income-source-type.d.ts.map +0 -1
- package/lib/db/Models/incomeSource/income-source.d.ts.map +0 -1
- package/lib/db/Models/incomeSource/salary-forecast.d.ts.map +0 -1
- package/lib/db/Models/index.d.ts.map +0 -1
- package/lib/db/Models/loan/borrowing-expense-loan.d.ts.map +0 -1
- package/lib/db/Models/loan/borrowing-expense.d.ts.map +0 -1
- package/lib/db/Models/loan/loan-payout.d.ts.map +0 -1
- package/lib/db/Models/loan/loan.d.ts.map +0 -1
- package/lib/db/Models/observable-model.d.ts.map +0 -1
- package/lib/db/Models/phone.d.ts.map +0 -1
- package/lib/db/Models/property/property-category-movement.d.ts.map +0 -1
- package/lib/db/Models/property/property-category.d.ts.map +0 -1
- package/lib/db/Models/property/property-forecast.d.ts.map +0 -1
- package/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +0 -1
- package/lib/db/Models/property/property-sale/property-sale.d.ts.map +0 -1
- package/lib/db/Models/property/property-sale/tax-exemption-meta-field.d.ts.map +0 -1
- package/lib/db/Models/property/property-sale/tax-exemption.d.ts.map +0 -1
- package/lib/db/Models/property/property-share.d.ts.map +0 -1
- package/lib/db/Models/property/property-subscription.d.ts.map +0 -1
- package/lib/db/Models/property/property-valuation.d.ts.map +0 -1
- package/lib/db/Models/property/property.d.ts.map +0 -1
- package/lib/db/Models/service-notification.d.ts.map +0 -1
- package/lib/db/Models/sole/bas-report.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-business-activity.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-business-allocation.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-business-loss-offset-rule.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-business-loss.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-business.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-contact.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-depreciation-method.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-details.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-forecast.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-invoice-item.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-invoice-template.d.ts.map +0 -1
- package/lib/db/Models/sole/sole-invoice.d.ts.map +0 -1
- package/lib/db/Models/spare/spare-document-category.d.ts.map +0 -1
- package/lib/db/Models/spare/spare-document.d.ts.map +0 -1
- package/lib/db/Models/subscription/service-payment-method.d.ts.map +0 -1
- package/lib/db/Models/subscription/service-payment.d.ts.map +0 -1
- package/lib/db/Models/subscription/service-price.d.ts.map +0 -1
- package/lib/db/Models/subscription/service-product.d.ts.map +0 -1
- package/lib/db/Models/subscription/service-subscription-item.d.ts.map +0 -1
- package/lib/db/Models/subscription/service-subscription.d.ts.map +0 -1
- package/lib/db/Models/tax-calculation.d.ts.map +0 -1
- package/lib/db/Models/tax-return/tax-return-category.d.ts.map +0 -1
- package/lib/db/Models/tax-return/tax-return-item.d.ts.map +0 -1
- package/lib/db/Models/tax-return/tax-return.d.ts.map +0 -1
- package/lib/db/Models/transaction/allocation-rule-condition.d.ts.map +0 -1
- package/lib/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts.map +0 -1
- package/lib/db/Models/transaction/allocation-rule-transaction.d.ts.map +0 -1
- package/lib/db/Models/transaction/allocation-rule.d.ts.map +0 -1
- package/lib/db/Models/transaction/transaction-allocation.d.ts.map +0 -1
- package/lib/db/Models/transaction/transaction-base.d.ts.map +0 -1
- package/lib/db/Models/transaction/transaction-meta-field.d.ts.map +0 -1
- package/lib/db/Models/transaction/transaction-receipt.d.ts.map +0 -1
- package/lib/db/Models/transaction/transaction.d.ts.map +0 -1
- package/lib/db/Models/user/employee-details.d.ts.map +0 -1
- package/lib/db/Models/user/registration-invite.d.ts.map +0 -1
- package/lib/db/Models/user/user-event-setting.d.ts.map +0 -1
- package/lib/db/Models/user/user-event-type-category.d.ts.map +0 -1
- package/lib/db/Models/user/user-event-type.d.ts.map +0 -1
- package/lib/db/Models/user/user-event.d.ts.map +0 -1
- package/lib/db/Models/user/user.d.ts.map +0 -1
- package/lib/db/Models/vehicle/vehicle-claim-details.d.ts.map +0 -1
- package/lib/db/Models/vehicle/vehicle-claim.d.ts.map +0 -1
- package/lib/db/Models/vehicle/vehicle-logbook.d.ts.map +0 -1
- package/lib/db/Models/vehicle/vehicle.d.ts.map +0 -1
- package/lib/db-static/chart-accounts/chart-accounts-values.d.ts.map +0 -1
- package/lib/forms/abstract.form.d.ts.map +0 -1
- package/lib/forms/address/address.form.d.ts.map +0 -1
- package/lib/forms/address/index.d.ts.map +0 -1
- package/lib/forms/bank/bank-account/bank-account-add-manual.form.d.ts.map +0 -1
- package/lib/forms/bank/bank-account/bank-account-allocation.form.d.ts.map +0 -1
- package/lib/forms/bank/bank-account/bank-account-import.form.d.ts.map +0 -1
- package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts.map +0 -1
- package/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts.map +0 -1
- package/lib/forms/bank/bank-login.form.d.ts.map +0 -1
- package/lib/forms/client/annual-client-details.form.d.ts.map +0 -1
- package/lib/forms/client/client-income-types.form.d.ts.map +0 -1
- package/lib/forms/client/index.d.ts.map +0 -1
- package/lib/forms/depreciation/depreciation.form.d.ts.map +0 -1
- package/lib/forms/depreciation/index.d.ts.map +0 -1
- package/lib/forms/form-validations.enum.d.ts.map +0 -1
- package/lib/forms/holding/holding-sale.form.d.ts.map +0 -1
- package/lib/forms/holding/holding-type.form.d.ts.map +0 -1
- package/lib/forms/holding/holding.form.d.ts.map +0 -1
- package/lib/forms/holding/index.d.ts.map +0 -1
- package/lib/forms/index.d.ts.map +0 -1
- package/lib/forms/loan/index.d.ts.map +0 -1
- package/lib/forms/loan/loan.form.d.ts.map +0 -1
- package/lib/forms/login/login.form.d.ts.map +0 -1
- package/lib/forms/phone/index.d.ts.map +0 -1
- package/lib/forms/phone/phone.form.d.ts.map +0 -1
- package/lib/forms/property/index.d.ts.map +0 -1
- package/lib/forms/property/property-sale/index.d.ts.map +0 -1
- package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts.map +0 -1
- package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts.map +0 -1
- package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts.map +0 -1
- package/lib/forms/register/register-client.form.d.ts.map +0 -1
- package/lib/forms/register/register-firm.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/index.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-cgt.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-dividends.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-income-tests.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-interest.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-losses.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-offsets.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-other-income.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts.map +0 -1
- package/lib/forms/report/my-tax/my-tax-rent.form.d.ts.map +0 -1
- package/lib/forms/sole/bas-report.form.d.ts.map +0 -1
- package/lib/forms/sole/index.d.ts.map +0 -1
- package/lib/forms/sole/sole-business-allocations.form.d.ts.map +0 -1
- package/lib/forms/sole/sole-business-loss.form.d.ts.map +0 -1
- package/lib/forms/sole/sole-business.form.d.ts.map +0 -1
- package/lib/forms/sole/sole-contact.form.d.ts.map +0 -1
- package/lib/forms/sole/sole-depreciation-method.form.d.ts.map +0 -1
- package/lib/forms/sole/sole-details.form.d.ts.map +0 -1
- package/lib/forms/sole/sole-invoice-item.form.d.ts.map +0 -1
- package/lib/forms/sole/sole-invoice-template.form.d.ts.map +0 -1
- package/lib/forms/sole/sole-invoice.form.d.ts.map +0 -1
- package/lib/forms/transaction/allocation-rule-condition.form.d.ts.map +0 -1
- package/lib/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts.map +0 -1
- package/lib/forms/transaction/allocation-rule-transaction.form.d.ts.map +0 -1
- package/lib/forms/transaction/allocation-rule.form.d.ts.map +0 -1
- package/lib/forms/transaction/index.d.ts.map +0 -1
- package/lib/forms/transaction/messages.enum.d.ts.map +0 -1
- package/lib/forms/transaction/transaction-base.form.d.ts.map +0 -1
- package/lib/forms/transaction/transaction.form.d.ts.map +0 -1
- package/lib/forms/transaction/work/work-expense.form.d.ts.map +0 -1
- package/lib/forms/transaction/work/work-income.form.d.ts.map +0 -1
- package/lib/forms/transaction/work/work-transaction.form.d.ts.map +0 -1
- package/lib/forms/user/index.d.ts.map +0 -1
- package/lib/forms/user/password.form.d.ts.map +0 -1
- package/lib/forms/user/reset-password.form.d.ts.map +0 -1
- package/lib/forms/user/user-invite.form.d.ts.map +0 -1
- package/lib/forms/vehicle/index.d.ts.map +0 -1
- package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +0 -1
- package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +0 -1
- package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +0 -1
- package/lib/forms/vehicle/vehicle.form.d.ts.map +0 -1
- package/lib/functions/array/index.d.ts.map +0 -1
- package/lib/functions/array/replace.d.ts.map +0 -1
- package/lib/functions/array/sort-deep.d.ts.map +0 -1
- package/lib/functions/array/sort.d.ts.map +0 -1
- package/lib/functions/array/to-array.d.ts.map +0 -1
- package/lib/functions/clone-deep.d.ts.map +0 -1
- package/lib/functions/create-date.d.ts.map +0 -1
- package/lib/functions/enum-to-list.d.ts.map +0 -1
- package/lib/functions/get-doc-icon.d.ts.map +0 -1
- package/lib/functions/mat-options-functions.d.ts.map +0 -1
- package/lib/functions/mat-sort-options.d.ts.map +0 -1
- package/lib/functions/round-to.d.ts.map +0 -1
- package/lib/functions/tax-review-filter-predicate.d.ts.map +0 -1
- package/lib/interceptors/basiq-client-id.interceptor.d.ts.map +0 -1
- package/lib/interceptors/basiq-token.interceptor.d.ts.map +0 -1
- package/lib/interceptors/corelogic-interceptor.d.ts.map +0 -1
- package/lib/interceptors/financial-year-interceptor.d.ts.map +0 -1
- package/lib/interceptors/interceptors.module.d.ts.map +0 -1
- package/lib/interceptors/jwt-interceptor.d.ts.map +0 -1
- package/lib/interceptors/preloader.interceptor.d.ts.map +0 -1
- package/lib/interceptors/user-switcher-interceptor.d.ts.map +0 -1
- package/lib/interfaces/asset-entity-type.enum.d.ts.map +0 -1
- package/lib/interfaces/asset-type.enum.d.ts.map +0 -1
- package/lib/interfaces/asset.interface.d.ts.map +0 -1
- package/lib/interfaces/auth-tokens.interface.d.ts.map +0 -1
- package/lib/interfaces/chart-data.interface.d.ts.map +0 -1
- package/lib/interfaces/chart-serie.interface.d.ts.map +0 -1
- package/lib/interfaces/document.interface.d.ts.map +0 -1
- package/lib/interfaces/documentable.interface.d.ts.map +0 -1
- package/lib/interfaces/event-listener.interface.d.ts.map +0 -1
- package/lib/interfaces/expense.interface.d.ts.map +0 -1
- package/lib/interfaces/income-source-forecast.interface.d.ts.map +0 -1
- package/lib/interfaces/index.d.ts.map +0 -1
- package/lib/interfaces/option.interface.d.ts.map +0 -1
- package/lib/interfaces/photoable.d.ts.map +0 -1
- package/lib/interfaces/receipt.interface.d.ts.map +0 -1
- package/lib/interfaces/table-exportable.interface.d.ts.map +0 -1
- package/lib/interfaces/tank.interface.d.ts.map +0 -1
- package/lib/interfaces/updatable.interface.d.ts.map +0 -1
- package/lib/messages/index.d.ts.map +0 -1
- package/lib/messages/messages.enum.d.ts.map +0 -1
- package/lib/models/account-setup/account-setup-item.d.ts.map +0 -1
- package/lib/models/account-setup/account-setup-items.const.d.ts.map +0 -1
- package/lib/models/account-setup/account-setup-items.enum.d.ts.map +0 -1
- package/lib/models/address/address.d.ts.map +0 -1
- package/lib/models/address/country.d.ts.map +0 -1
- package/lib/models/address/index.d.ts.map +0 -1
- package/lib/models/address/states.enum.d.ts.map +0 -1
- package/lib/models/badge/badge-color.enum.d.ts.map +0 -1
- package/lib/models/badge/badge.d.ts.map +0 -1
- package/lib/models/bank/allocation-group.d.ts.map +0 -1
- package/lib/models/bank/bank-account-chart-data.d.ts.map +0 -1
- package/lib/models/bank/bank-account-property.d.ts.map +0 -1
- package/lib/models/bank/bank-account-types.const.d.ts.map +0 -1
- package/lib/models/bank/bank-account.d.ts.map +0 -1
- package/lib/models/bank/bank-connection.d.ts.map +0 -1
- package/lib/models/bank/bank-external-stats.d.ts.map +0 -1
- package/lib/models/bank/bank-login-data.d.ts.map +0 -1
- package/lib/models/bank/bank-transaction-chart-data.d.ts.map +0 -1
- package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts.map +0 -1
- package/lib/models/bank/bank-transaction.d.ts.map +0 -1
- package/lib/models/bank/bank.d.ts.map +0 -1
- package/lib/models/bank/basiq/basiq-config.d.ts.map +0 -1
- package/lib/models/bank/basiq/basiq-connection-data.interface.d.ts.map +0 -1
- package/lib/models/bank/basiq/basiq-connections-response.interface.d.ts.map +0 -1
- package/lib/models/bank/basiq/basiq-job-response.d.ts.map +0 -1
- package/lib/models/bank/basiq/basiq-job-step.d.ts.map +0 -1
- package/lib/models/bank/basiq/basiq-job.d.ts.map +0 -1
- package/lib/models/bank/basiq/basiq-token-response.interface.d.ts.map +0 -1
- package/lib/models/bank/basiq/basiq-token.d.ts.map +0 -1
- package/lib/models/bank/basiq/index.d.ts.map +0 -1
- package/lib/models/bank/index.d.ts.map +0 -1
- package/lib/models/bank/type-loan.const.d.ts.map +0 -1
- package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts.map +0 -1
- package/lib/models/borrowing-expense/borrowing-expense.d.ts.map +0 -1
- package/lib/models/borrowing-expense/index.d.ts.map +0 -1
- package/lib/models/chart/chart-data.d.ts.map +0 -1
- package/lib/models/chart/chart-serie.d.ts.map +0 -1
- package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts.map +0 -1
- package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts.map +0 -1
- package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts.map +0 -1
- package/lib/models/chart-accounts/chart-accounts-heading.d.ts.map +0 -1
- package/lib/models/chart-accounts/chart-accounts-meta-field.d.ts.map +0 -1
- package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts.map +0 -1
- package/lib/models/chart-accounts/chart-accounts-value.d.ts.map +0 -1
- package/lib/models/chart-accounts/chart-accounts.d.ts.map +0 -1
- package/lib/models/chart-accounts/index.d.ts.map +0 -1
- package/lib/models/chat/chat-view-type.enum.d.ts.map +0 -1
- package/lib/models/chat/chat.d.ts.map +0 -1
- package/lib/models/chat/index.d.ts.map +0 -1
- package/lib/models/chat/message-document.d.ts.map +0 -1
- package/lib/models/chat/message.d.ts.map +0 -1
- package/lib/models/client/annual-client-details.d.ts.map +0 -1
- package/lib/models/client/client-details.d.ts.map +0 -1
- package/lib/models/client/client-income-types.d.ts.map +0 -1
- package/lib/models/client/client-invite.d.ts.map +0 -1
- package/lib/models/client/client-movement.d.ts.map +0 -1
- package/lib/models/client/client-portfolio-chart-data.d.ts.map +0 -1
- package/lib/models/client/client-portfolio-report.d.ts.map +0 -1
- package/lib/models/client/index.d.ts.map +0 -1
- package/lib/models/color/alphabet-colors.enum.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation-capital-project.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation-forecast.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation-group-item.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation-group.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation-group.enum.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation-groups.const.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation-receipt.d.ts.map +0 -1
- package/lib/models/depreciation/depreciation.d.ts.map +0 -1
- package/lib/models/depreciation/index.d.ts.map +0 -1
- package/lib/models/dictionary/dictionary.d.ts.map +0 -1
- package/lib/models/dictionary/index.d.ts.map +0 -1
- package/lib/models/document/document-api-url-prefix.enum.d.ts.map +0 -1
- package/lib/models/document/document-file-types.const.d.ts.map +0 -1
- package/lib/models/document/document-folder.d.ts.map +0 -1
- package/lib/models/document/document.d.ts.map +0 -1
- package/lib/models/document/index.d.ts.map +0 -1
- package/lib/models/employee/employee-details.d.ts.map +0 -1
- package/lib/models/employee/employee-invite.d.ts.map +0 -1
- package/lib/models/endpoint/endpoint.d.ts.map +0 -1
- package/lib/models/endpoint/endpoints.const.d.ts.map +0 -1
- package/lib/models/event/app-event-type.enum.d.ts.map +0 -1
- package/lib/models/event/app-event.d.ts.map +0 -1
- package/lib/models/event/index.d.ts.map +0 -1
- package/lib/models/export/export-cell-type.enum.d.ts.map +0 -1
- package/lib/models/export/export-cell.d.ts.map +0 -1
- package/lib/models/export/export-data-table.d.ts.map +0 -1
- package/lib/models/export/export-format.enum.d.ts.map +0 -1
- package/lib/models/export/export-row-data-type.enum.d.ts.map +0 -1
- package/lib/models/export/export-row.d.ts.map +0 -1
- package/lib/models/file/file.d.ts.map +0 -1
- package/lib/models/file/icons-file.enum.d.ts.map +0 -1
- package/lib/models/file/index.d.ts.map +0 -1
- package/lib/models/financial-year/financial-year.d.ts.map +0 -1
- package/lib/models/financial-year/index.d.ts.map +0 -1
- package/lib/models/financial-year/month-name-short.enum.d.ts.map +0 -1
- package/lib/models/financial-year/month-number.enum.d.ts.map +0 -1
- package/lib/models/financial-year/months.const.d.ts.map +0 -1
- package/lib/models/firm/firm.d.ts.map +0 -1
- package/lib/models/holding/holding-sale.d.ts.map +0 -1
- package/lib/models/holding/holding-type-exchange.d.ts.map +0 -1
- package/lib/models/holding/holding-type.d.ts.map +0 -1
- package/lib/models/holding/holding.d.ts.map +0 -1
- package/lib/models/holding/index.d.ts.map +0 -1
- package/lib/models/income-position/income-position.d.ts.map +0 -1
- package/lib/models/income-source/income-source-chart-data.d.ts.map +0 -1
- package/lib/models/income-source/income-source-forecast.d.ts.map +0 -1
- package/lib/models/income-source/income-source-type.d.ts.map +0 -1
- package/lib/models/income-source/income-source.d.ts.map +0 -1
- package/lib/models/income-source/salary-forecast.d.ts.map +0 -1
- package/lib/models/income-source/sole-forecast.d.ts.map +0 -1
- package/lib/models/index.d.ts.map +0 -1
- package/lib/models/loan/index.d.ts.map +0 -1
- package/lib/models/loan/loan-max-number-of-payments.enum.d.ts.map +0 -1
- package/lib/models/loan/loan-payment.d.ts.map +0 -1
- package/lib/models/loan/loan-payout.d.ts.map +0 -1
- package/lib/models/loan/loan.d.ts.map +0 -1
- package/lib/models/notification/index.d.ts.map +0 -1
- package/lib/models/notification/notification.d.ts.map +0 -1
- package/lib/models/pdf/pdf-orientation.enum.d.ts.map +0 -1
- package/lib/models/pdf/pdf-settings.d.ts.map +0 -1
- package/lib/models/phone/phone.d.ts.map +0 -1
- package/lib/models/property/calculation-form-item.d.ts.map +0 -1
- package/lib/models/property/calculation-form-type.enum.d.ts.map +0 -1
- package/lib/models/property/capital-costs-itmes.const.d.ts.map +0 -1
- package/lib/models/property/corelogic-suggestion.d.ts.map +0 -1
- package/lib/models/property/index.d.ts.map +0 -1
- package/lib/models/property/property-category-movement.d.ts.map +0 -1
- package/lib/models/property/property-category.d.ts.map +0 -1
- package/lib/models/property/property-document.d.ts.map +0 -1
- package/lib/models/property/property-equity-chart-data.d.ts.map +0 -1
- package/lib/models/property/property-equity-chart-item.d.ts.map +0 -1
- package/lib/models/property/property-equity-chart-type.enum.d.ts.map +0 -1
- package/lib/models/property/property-forecast.d.ts.map +0 -1
- package/lib/models/property/property-sale/index.d.ts.map +0 -1
- package/lib/models/property/property-sale/property-sale-cost-base.d.ts.map +0 -1
- package/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +0 -1
- package/lib/models/property/property-sale/property-sale.d.ts.map +0 -1
- package/lib/models/property/property-sale/tax-exemption-meta-field.d.ts.map +0 -1
- package/lib/models/property/property-sale/tax-exemption.d.ts.map +0 -1
- package/lib/models/property/property-share.d.ts.map +0 -1
- package/lib/models/property/property-subscription.d.ts.map +0 -1
- package/lib/models/property/property-valuation.d.ts.map +0 -1
- package/lib/models/property/property.d.ts.map +0 -1
- package/lib/models/property/share-filter-options.enum.d.ts.map +0 -1
- package/lib/models/registration-invite/registration-invite.d.ts.map +0 -1
- package/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts.map +0 -1
- package/lib/models/report/depreciation/depreciation-lvp-report-item.d.ts.map +0 -1
- package/lib/models/report/depreciation/depreciation-report-item.d.ts.map +0 -1
- package/lib/models/report/depreciation/index.d.ts.map +0 -1
- package/lib/models/report/index.d.ts.map +0 -1
- package/lib/models/report/my-tax/ato-links.d.ts.map +0 -1
- package/lib/models/report/my-tax/index.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts.map +0 -1
- package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts.map +0 -1
- package/lib/models/report/property/index.d.ts.map +0 -1
- package/lib/models/report/property/property-report-item-depreciation.d.ts.map +0 -1
- package/lib/models/report/property/property-report-item-transaction.d.ts.map +0 -1
- package/lib/models/report/property/property-report-item.d.ts.map +0 -1
- package/lib/models/report/sole/index.d.ts.map +0 -1
- package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts.map +0 -1
- package/lib/models/report/vehicle-expense/vehicle-expense.d.ts.map +0 -1
- package/lib/models/service-subscription/index.d.ts.map +0 -1
- package/lib/models/service-subscription/module-url-list.const.d.ts.map +0 -1
- package/lib/models/service-subscription/payment-method-brand.enum.d.ts.map +0 -1
- package/lib/models/service-subscription/service-payment-method.d.ts.map +0 -1
- package/lib/models/service-subscription/service-payment.d.ts.map +0 -1
- package/lib/models/service-subscription/service-price.d.ts.map +0 -1
- package/lib/models/service-subscription/service-product.d.ts.map +0 -1
- package/lib/models/service-subscription/service-promo-code-duration.enum.d.ts.map +0 -1
- package/lib/models/service-subscription/service-promo-code.d.ts.map +0 -1
- package/lib/models/service-subscription/service-subscription-item.d.ts.map +0 -1
- package/lib/models/service-subscription/service-subscription.d.ts.map +0 -1
- package/lib/models/sole/bas-report.d.ts.map +0 -1
- package/lib/models/sole/index.d.ts.map +0 -1
- package/lib/models/sole/sole-business-activity.d.ts.map +0 -1
- package/lib/models/sole/sole-business-allocation.d.ts.map +0 -1
- package/lib/models/sole/sole-business-loss-offset-rule.d.ts.map +0 -1
- package/lib/models/sole/sole-business-loss.d.ts.map +0 -1
- package/lib/models/sole/sole-business.d.ts.map +0 -1
- package/lib/models/sole/sole-contact.d.ts.map +0 -1
- package/lib/models/sole/sole-depreciation-method.d.ts.map +0 -1
- package/lib/models/sole/sole-details.d.ts.map +0 -1
- package/lib/models/sole/sole-invoice-item.d.ts.map +0 -1
- package/lib/models/sole/sole-invoice-template.d.ts.map +0 -1
- package/lib/models/sole/sole-invoice.d.ts.map +0 -1
- package/lib/models/tax-review/tax-review.d.ts.map +0 -1
- package/lib/models/tax-summary/report-item-details.d.ts.map +0 -1
- package/lib/models/tax-summary/report-item.d.ts.map +0 -1
- package/lib/models/tax-summary/tax-summary-section.d.ts.map +0 -1
- package/lib/models/tax-summary/tax-summary-type.enum.d.ts.map +0 -1
- package/lib/models/tax-summary/tax-summary.d.ts.map +0 -1
- package/lib/models/toast/toast-type.enum.d.ts.map +0 -1
- package/lib/models/toast/toast.d.ts.map +0 -1
- package/lib/models/transaction/allocation-rule-condition.d.ts.map +0 -1
- package/lib/models/transaction/allocation-rule-transaction-meta-field.d.ts.map +0 -1
- package/lib/models/transaction/allocation-rule-transaction.d.ts.map +0 -1
- package/lib/models/transaction/allocation-rule.d.ts.map +0 -1
- package/lib/models/transaction/income-amount-type.enum.d.ts.map +0 -1
- package/lib/models/transaction/index.d.ts.map +0 -1
- package/lib/models/transaction/transaction-allocation.d.ts.map +0 -1
- package/lib/models/transaction/transaction-category.enum.d.ts.map +0 -1
- package/lib/models/transaction/transaction-meta-field.d.ts.map +0 -1
- package/lib/models/transaction/transaction-receipt.d.ts.map +0 -1
- package/lib/models/transaction/transaction.d.ts.map +0 -1
- package/lib/models/user/index.d.ts.map +0 -1
- package/lib/models/user/my-account-history-initiated-by.enum.d.ts.map +0 -1
- package/lib/models/user/my-account-history-status.enum.d.ts.map +0 -1
- package/lib/models/user/my-account-history-type.enum.d.ts.map +0 -1
- package/lib/models/user/my-account-history.d.ts.map +0 -1
- package/lib/models/user/occupation.d.ts.map +0 -1
- package/lib/models/user/user-roles.const.d.ts.map +0 -1
- package/lib/models/user/user-to-register.d.ts.map +0 -1
- package/lib/models/user/user-work-position.const.d.ts.map +0 -1
- package/lib/models/user/user.d.ts.map +0 -1
- package/lib/models/user-event/user-event-setting-field.enum.d.ts.map +0 -1
- package/lib/models/user-event/user-event-setting.d.ts.map +0 -1
- package/lib/models/user-event/user-event-type-category.d.ts.map +0 -1
- package/lib/models/user-event/user-event-type.d.ts.map +0 -1
- package/lib/models/vehicle/index.d.ts.map +0 -1
- package/lib/models/vehicle/logbook-period.d.ts.map +0 -1
- package/lib/models/vehicle/vehicle-claim-details.d.ts.map +0 -1
- package/lib/models/vehicle/vehicle-claim.d.ts.map +0 -1
- package/lib/models/vehicle/vehicle-logbook.d.ts.map +0 -1
- package/lib/models/vehicle/vehicle.d.ts.map +0 -1
- package/lib/services/account-setup/account-setup.service.d.ts.map +0 -1
- package/lib/services/account-setup/index.d.ts.map +0 -1
- package/lib/services/affiliate/index.d.ts.map +0 -1
- package/lib/services/affiliate/rewardful/index.d.ts.map +0 -1
- package/lib/services/affiliate/rewardful/rewardful.service.d.ts.map +0 -1
- package/lib/services/asset/assets.service.d.ts.map +0 -1
- package/lib/services/asset/index.d.ts.map +0 -1
- package/lib/services/auth/auth.service.d.ts.map +0 -1
- package/lib/services/auth/index.d.ts.map +0 -1
- package/lib/services/auth/jwt.service.d.ts.map +0 -1
- package/lib/services/bank/bank-account-calculation.service.d.ts.map +0 -1
- package/lib/services/bank/bank-transaction-calculation.service.d.ts.map +0 -1
- package/lib/services/bank/index.d.ts.map +0 -1
- package/lib/services/data.service.d.ts.map +0 -1
- package/lib/services/event/event-dispatcher.service.d.ts.map +0 -1
- package/lib/services/event/index.d.ts.map +0 -1
- package/lib/services/event/sse.service.d.ts.map +0 -1
- package/lib/services/export/export-formatter.service.d.ts.map +0 -1
- package/lib/services/export/index.d.ts.map +0 -1
- package/lib/services/header-title/header-title.service.d.ts.map +0 -1
- package/lib/services/header-title/index.d.ts.map +0 -1
- package/lib/services/http/address/address.service.d.ts.map +0 -1
- package/lib/services/http/address/index.d.ts.map +0 -1
- package/lib/services/http/bank/bank-account/bank-account.service.d.ts.map +0 -1
- package/lib/services/http/bank/bank-account/index.d.ts.map +0 -1
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts.map +0 -1
- package/lib/services/http/bank/bank-connection/index.d.ts.map +0 -1
- package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts.map +0 -1
- package/lib/services/http/bank/bank-transaction/index.d.ts.map +0 -1
- package/lib/services/http/bank/bank.service.d.ts.map +0 -1
- package/lib/services/http/bank/basiq/basiq-token.service.d.ts.map +0 -1
- package/lib/services/http/bank/basiq/basiq.service.d.ts.map +0 -1
- package/lib/services/http/bank/basiq/index.d.ts.map +0 -1
- package/lib/services/http/bank/index.d.ts.map +0 -1
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts.map +0 -1
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts.map +0 -1
- package/lib/services/http/chart-accounts/chart-accounts.service.d.ts.map +0 -1
- package/lib/services/http/chart-accounts/index.d.ts.map +0 -1
- package/lib/services/http/chat/chat.service.d.ts.map +0 -1
- package/lib/services/http/chat/index.d.ts.map +0 -1
- package/lib/services/http/chat/message-document.service.d.ts.map +0 -1
- package/lib/services/http/chat/message.service.d.ts.map +0 -1
- package/lib/services/http/client/capital-gain/annual-client-details.service.d.ts.map +0 -1
- package/lib/services/http/client/index.d.ts.map +0 -1
- package/lib/services/http/client/occupation/occupation.service.d.ts.map +0 -1
- package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts.map +0 -1
- package/lib/services/http/depreciation/depreciation-capital-project/index.d.ts.map +0 -1
- package/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.d.ts.map +0 -1
- package/lib/services/http/depreciation/depreciation-receipt/index.d.ts.map +0 -1
- package/lib/services/http/depreciation/depreciation.service.d.ts.map +0 -1
- package/lib/services/http/depreciation/index.d.ts.map +0 -1
- package/lib/services/http/document/document-folder/document-folder.service.d.ts.map +0 -1
- package/lib/services/http/document/document.service.d.ts.map +0 -1
- package/lib/services/http/document/index.d.ts.map +0 -1
- package/lib/services/http/facebook/facebook-auth-options.interface.d.ts.map +0 -1
- package/lib/services/http/facebook/facebook-auth-response.interface.d.ts.map +0 -1
- package/lib/services/http/facebook/facebook-status-response.interface.d.ts.map +0 -1
- package/lib/services/http/facebook/facebook.service.d.ts.map +0 -1
- package/lib/services/http/facebook/index.d.ts.map +0 -1
- package/lib/services/http/file/file.service.d.ts.map +0 -1
- package/lib/services/http/file/index.d.ts.map +0 -1
- package/lib/services/http/firm/client-income/client-income-types.service.d.ts.map +0 -1
- package/lib/services/http/firm/client-income/index.d.ts.map +0 -1
- package/lib/services/http/firm/client-invite/client-invite.service.d.ts.map +0 -1
- package/lib/services/http/firm/client-invite/index.d.ts.map +0 -1
- package/lib/services/http/firm/client-movement/client-movement.service.d.ts.map +0 -1
- package/lib/services/http/firm/client-movement/index.d.ts.map +0 -1
- package/lib/services/http/firm/employee/employee.service.d.ts.map +0 -1
- package/lib/services/http/firm/employee/index.d.ts.map +0 -1
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts.map +0 -1
- package/lib/services/http/firm/employee-invite/index.d.ts.map +0 -1
- package/lib/services/http/firm/firm.service.d.ts.map +0 -1
- package/lib/services/http/firm/index.d.ts.map +0 -1
- package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts.map +0 -1
- package/lib/services/http/firm/portfolio-report/index.d.ts.map +0 -1
- package/lib/services/http/google/google.service.d.ts.map +0 -1
- package/lib/services/http/google/index.d.ts.map +0 -1
- package/lib/services/http/holding/holding-messages.enum.d.ts.map +0 -1
- package/lib/services/http/holding/holding-sale-messages.enum.d.ts.map +0 -1
- package/lib/services/http/holding/holding-sale.service.d.ts.map +0 -1
- package/lib/services/http/holding/holding-type-messages.enum.d.ts.map +0 -1
- package/lib/services/http/holding/holding-type.service.d.ts.map +0 -1
- package/lib/services/http/holding/holding.service.d.ts.map +0 -1
- package/lib/services/http/holding/index.d.ts.map +0 -1
- package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts.map +0 -1
- package/lib/services/http/income-source/income-source-forecast/index.d.ts.map +0 -1
- package/lib/services/http/income-source/income-source.service.d.ts.map +0 -1
- package/lib/services/http/income-source/index.d.ts.map +0 -1
- package/lib/services/http/income-source/salary-forecast/index.d.ts.map +0 -1
- package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts.map +0 -1
- package/lib/services/http/income-source/sole-forecast/index.d.ts.map +0 -1
- package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts.map +0 -1
- package/lib/services/http/index.d.ts.map +0 -1
- package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts.map +0 -1
- package/lib/services/http/loan/borrowing-expense/index.d.ts.map +0 -1
- package/lib/services/http/loan/index.d.ts.map +0 -1
- package/lib/services/http/loan/loan.service.d.ts.map +0 -1
- package/lib/services/http/property/index.d.ts.map +0 -1
- package/lib/services/http/property/property-category/index.d.ts.map +0 -1
- package/lib/services/http/property/property-category/property-category.service.d.ts.map +0 -1
- package/lib/services/http/property/property-category-movement/index.d.ts.map +0 -1
- package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts.map +0 -1
- package/lib/services/http/property/property-document/index.d.ts.map +0 -1
- package/lib/services/http/property/property-document/property-document.service.d.ts.map +0 -1
- package/lib/services/http/property/property-sale/index.d.ts.map +0 -1
- package/lib/services/http/property/property-sale/property-sale.service.d.ts.map +0 -1
- package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts.map +0 -1
- package/lib/services/http/property/property-share/index.d.ts.map +0 -1
- package/lib/services/http/property/property-share/property-share.service.d.ts.map +0 -1
- package/lib/services/http/property/property.service.d.ts.map +0 -1
- package/lib/services/http/receipt/index.d.ts.map +0 -1
- package/lib/services/http/receipt/receipt.service.d.ts.map +0 -1
- package/lib/services/http/rest/http-method.type.d.ts.map +0 -1
- package/lib/services/http/rest/index.d.ts.map +0 -1
- package/lib/services/http/rest/rest-method.type.d.ts.map +0 -1
- package/lib/services/http/rest/rest-old.service.d.ts.map +0 -1
- package/lib/services/http/rest/rest.service.d.ts.map +0 -1
- package/lib/services/http/service-notification/index.d.ts.map +0 -1
- package/lib/services/http/service-notification/service-notification.service.d.ts.map +0 -1
- package/lib/services/http/sole/bas-report/bas-report.service.d.ts.map +0 -1
- package/lib/services/http/sole/index.d.ts.map +0 -1
- package/lib/services/http/sole/sole-business/messages.enum.d.ts.map +0 -1
- package/lib/services/http/sole/sole-business/sole-business.service.d.ts.map +0 -1
- package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts.map +0 -1
- package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts.map +0 -1
- package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts.map +0 -1
- package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts.map +0 -1
- package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts.map +0 -1
- package/lib/services/http/sole/sole-details/sole-details.service.d.ts.map +0 -1
- package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts.map +0 -1
- package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts.map +0 -1
- package/lib/services/http/subscription/index.d.ts.map +0 -1
- package/lib/services/http/subscription/service-payment/service-payment.service.d.ts.map +0 -1
- package/lib/services/http/subscription/service-payment-method/service-payment-method.service.d.ts.map +0 -1
- package/lib/services/http/subscription/service-price/service-price.service.d.ts.map +0 -1
- package/lib/services/http/subscription/service-product/service-product.service.d.ts.map +0 -1
- package/lib/services/http/subscription/service-subscription/subscription.service.d.ts.map +0 -1
- package/lib/services/http/tax-review/index.d.ts.map +0 -1
- package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts.map +0 -1
- package/lib/services/http/tax-review/tax-review.service.d.ts.map +0 -1
- package/lib/services/http/tax-summary/index.d.ts.map +0 -1
- package/lib/services/http/tax-summary/tax-summary.service.d.ts.map +0 -1
- package/lib/services/http/transaction/index.d.ts.map +0 -1
- package/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts.map +0 -1
- package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts.map +0 -1
- package/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.d.ts.map +0 -1
- package/lib/services/http/transaction/transaction.service.d.ts.map +0 -1
- package/lib/services/http/tutorial-video/index.d.ts.map +0 -1
- package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts.map +0 -1
- package/lib/services/http/tutorial-video/tutorial-video.service.d.ts.map +0 -1
- package/lib/services/http/tutorial-video/video-source.interface.d.ts.map +0 -1
- package/lib/services/http/user/index.d.ts.map +0 -1
- package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts.map +0 -1
- package/lib/services/http/user/user-event-type/user-event-type.service.d.ts.map +0 -1
- package/lib/services/http/user/user.service.d.ts.map +0 -1
- package/lib/services/http/user/users-invite/users-invite.service.d.ts.map +0 -1
- package/lib/services/http/vehicle/index.d.ts.map +0 -1
- package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts.map +0 -1
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts.map +0 -1
- package/lib/services/http/vehicle/vehicle-logbook.service.d.ts.map +0 -1
- package/lib/services/http/vehicle/vehicle.service.d.ts.map +0 -1
- package/lib/services/index.d.ts.map +0 -1
- package/lib/services/intercom/index.d.ts.map +0 -1
- package/lib/services/intercom/intercom.service.d.ts.map +0 -1
- package/lib/services/json/holding/holding-type-exchange.service.d.ts.map +0 -1
- package/lib/services/pdf/index.d.ts.map +0 -1
- package/lib/services/pdf/js-pdf.d.ts.map +0 -1
- package/lib/services/pdf/pdf-from-dom-element/file-settings.d.ts.map +0 -1
- package/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts.map +0 -1
- package/lib/services/pdf/pdf-from-table/file-settings.d.ts.map +0 -1
- package/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts.map +0 -1
- package/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts.map +0 -1
- package/lib/services/pdf/pdf-from-table/pdf-from-table.service.d.ts.map +0 -1
- package/lib/services/preloader/index.d.ts.map +0 -1
- package/lib/services/preloader/preloader.service.d.ts.map +0 -1
- package/lib/services/property/corelogic/corelogic.service.d.ts.map +0 -1
- package/lib/services/property/corelogic/index.d.ts.map +0 -1
- package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts.map +0 -1
- package/lib/services/property/equity-position-chart/index.d.ts.map +0 -1
- package/lib/services/property/index.d.ts.map +0 -1
- package/lib/services/property/property-calculation/index.d.ts.map +0 -1
- package/lib/services/property/property-calculation/property-calculation.service.d.ts.map +0 -1
- package/lib/services/report/index.d.ts.map +0 -1
- package/lib/services/report/property/property-transaction-report.service.d.ts.map +0 -1
- package/lib/services/toast/index.d.ts.map +0 -1
- package/lib/services/toast/toast.service.d.ts.map +0 -1
- package/lib/services/transaction/index.d.ts.map +0 -1
- package/lib/services/transaction/transaction-calculation.service.d.ts.map +0 -1
- package/lib/services/user/index.d.ts.map +0 -1
- package/lib/services/user/user-switcher.service.d.ts.map +0 -1
- package/lib/services/vehicle/index.d.ts.map +0 -1
- package/lib/services/vehicle/logbook-best-period.service.d.ts.map +0 -1
- package/lib/services/xlsx/index.d.ts.map +0 -1
- package/lib/services/xlsx/xlsx.service.d.ts.map +0 -1
- package/lib/tt-core.module.d.ts.map +0 -1
- package/lib/validators/address-corelogic.validator.d.ts.map +0 -1
- package/lib/validators/at-least-one-enabled.validator.d.ts.map +0 -1
- package/lib/validators/at-least-one.validator.d.ts.map +0 -1
- package/lib/validators/autocomplete.validator.d.ts.map +0 -1
- package/lib/validators/conditional.validator.d.ts.map +0 -1
- package/lib/validators/current-fin-year.validator.d.ts.map +0 -1
- package/lib/validators/date-range.validator.d.ts.map +0 -1
- package/lib/validators/fields-sum.validator.d.ts.map +0 -1
- package/lib/validators/file.validator.d.ts.map +0 -1
- package/lib/validators/index.d.ts.map +0 -1
- package/lib/validators/min-date/messages.enum.d.ts.map +0 -1
- package/lib/validators/min-date/min-date.validator.d.ts.map +0 -1
- package/lib/validators/password-match.validator.d.ts.map +0 -1
- package/lib/validators/password.validator.d.ts.map +0 -1
- package/lib/validators/phone-number.validator.d.ts.map +0 -1
- package/lib/validators/required-length.validator.d.ts.map +0 -1
- package/lib/validators/transactions-meta-fields.validator.d.ts.map +0 -1
- package/public-api.d.ts.map +0 -1
- package/taxtank-core.d.ts.map +0 -1
|
@@ -25,7 +25,6 @@ import concat from 'lodash/concat';
|
|
|
25
25
|
import cloneDeep$1 from 'lodash/cloneDeep';
|
|
26
26
|
import clone from 'lodash/clone';
|
|
27
27
|
import { EventSourcePolyfill } from 'event-source-polyfill/src/eventsource.min.js';
|
|
28
|
-
import { throwError as throwError$1 } from 'rxjs/internal/observable/throwError';
|
|
29
28
|
import * as i4 from '@angular/router';
|
|
30
29
|
import { NavigationEnd } from '@angular/router';
|
|
31
30
|
import _ from 'lodash';
|
|
@@ -56,9 +55,7 @@ class CorelogicService {
|
|
|
56
55
|
getAccessToken(force = false) {
|
|
57
56
|
if (!this._accessToken || force) {
|
|
58
57
|
this.http.get(`${this.environment.coreLogicUrl}/access/oauth/token?grant_type=client_credentials&client_id=${this.environment.coreLogicId}&client_secret=${this.environment.coreLogicSecret}`)
|
|
59
|
-
.pipe(map((response) =>
|
|
60
|
-
return response.access_token;
|
|
61
|
-
}))
|
|
58
|
+
.pipe(map((response) => response.access_token))
|
|
62
59
|
.subscribe((token) => {
|
|
63
60
|
this._accessToken = token;
|
|
64
61
|
this.accessTokenSubject.next(this._accessToken);
|
|
@@ -69,14 +66,12 @@ class CorelogicService {
|
|
|
69
66
|
getSuggestions(query, country = 'au') {
|
|
70
67
|
// @TODO handle different countries in future
|
|
71
68
|
return this.http.get(`${this.environment.coreLogicUrl}/property/${country}/v2/suggest.json?q=${query}`)
|
|
72
|
-
.pipe(map((response) =>
|
|
73
|
-
return response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item));
|
|
74
|
-
}));
|
|
69
|
+
.pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))));
|
|
75
70
|
}
|
|
76
71
|
}
|
|
77
|
-
CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
78
|
-
CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
72
|
+
CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
73
|
+
CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, providedIn: 'root' });
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, decorators: [{
|
|
80
75
|
type: Injectable,
|
|
81
76
|
args: [{
|
|
82
77
|
providedIn: 'root'
|
|
@@ -106,9 +101,7 @@ class CorelogicInterceptor {
|
|
|
106
101
|
return next.handle(request);
|
|
107
102
|
}
|
|
108
103
|
return this.corelogicService.getAccessToken()
|
|
109
|
-
.pipe(mergeMap((token) =>
|
|
110
|
-
return next.handle(this.addToken(request, token));
|
|
111
|
-
}));
|
|
104
|
+
.pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
|
|
112
105
|
}
|
|
113
106
|
addToken(request, token) {
|
|
114
107
|
return request.clone({
|
|
@@ -118,9 +111,9 @@ class CorelogicInterceptor {
|
|
|
118
111
|
});
|
|
119
112
|
}
|
|
120
113
|
}
|
|
121
|
-
CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
122
|
-
CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
114
|
+
CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
115
|
+
CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor });
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, decorators: [{
|
|
124
117
|
type: Injectable
|
|
125
118
|
}], ctorParameters: function () {
|
|
126
119
|
return [{ type: CorelogicService }, { type: undefined, decorators: [{
|
|
@@ -159,9 +152,9 @@ class FinancialYearInterceptor {
|
|
|
159
152
|
return next.handle(clonedReq);
|
|
160
153
|
}
|
|
161
154
|
}
|
|
162
|
-
FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
163
|
-
FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
155
|
+
FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
156
|
+
FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor });
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
|
|
165
158
|
type: Injectable
|
|
166
159
|
}], ctorParameters: function () {
|
|
167
160
|
return [{ type: undefined, decorators: [{
|
|
@@ -464,9 +457,7 @@ __decorate([
|
|
|
464
457
|
__decorate([
|
|
465
458
|
Exclude({ toPlainOnly: true }),
|
|
466
459
|
Type(() => Object),
|
|
467
|
-
Transform(({ obj }) =>
|
|
468
|
-
return obj.file;
|
|
469
|
-
})
|
|
460
|
+
Transform(({ obj }) => obj.file)
|
|
470
461
|
], TransactionBase.prototype, "file", void 0);
|
|
471
462
|
__decorate([
|
|
472
463
|
Exclude()
|
|
@@ -1291,7 +1282,6 @@ class ExportableCollection extends Collection {
|
|
|
1291
1282
|
getExportFooter(type) {
|
|
1292
1283
|
return [];
|
|
1293
1284
|
}
|
|
1294
|
-
;
|
|
1295
1285
|
export(type) {
|
|
1296
1286
|
return plainToClass(ExportDataTable, {
|
|
1297
1287
|
header: this.getExportHeader(type),
|
|
@@ -1330,26 +1320,22 @@ class LoanPaymentCollection extends ExportableCollection {
|
|
|
1330
1320
|
];
|
|
1331
1321
|
}
|
|
1332
1322
|
getExportBody() {
|
|
1333
|
-
return this.items.map((payment) =>
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
];
|
|
1343
|
-
});
|
|
1323
|
+
return this.items.map((payment) => [
|
|
1324
|
+
plainToClass(ExportCell, { value: payment.number, type: ExportCellTypeEnum.STRING }),
|
|
1325
|
+
plainToClass(ExportCell, { value: payment.date, type: ExportCellTypeEnum.DATE }),
|
|
1326
|
+
plainToClass(ExportCell, { value: payment.paymentDue, type: ExportCellTypeEnum.CURRENCY }),
|
|
1327
|
+
plainToClass(ExportCell, { value: payment.interestAccrued, type: ExportCellTypeEnum.CURRENCY }),
|
|
1328
|
+
plainToClass(ExportCell, { value: payment.principalPaid, type: ExportCellTypeEnum.CURRENCY }),
|
|
1329
|
+
plainToClass(ExportCell, { value: payment.principalBalance, type: ExportCellTypeEnum.CURRENCY }),
|
|
1330
|
+
plainToClass(ExportCell, { value: payment.payout, type: ExportCellTypeEnum.CURRENCY }),
|
|
1331
|
+
]);
|
|
1344
1332
|
}
|
|
1345
1333
|
get paymentDue() {
|
|
1346
1334
|
return this.sumBy('paymentDue');
|
|
1347
1335
|
}
|
|
1348
1336
|
getByFinYear(finYear = new FinancialYear()) {
|
|
1349
|
-
return this.filter((payment) =>
|
|
1350
|
-
|
|
1351
|
-
new Date(payment.date) <= finYear.endDate;
|
|
1352
|
-
});
|
|
1337
|
+
return this.filter((payment) => new Date(payment.date) >= finYear.startDate &&
|
|
1338
|
+
new Date(payment.date) <= finYear.endDate);
|
|
1353
1339
|
}
|
|
1354
1340
|
getForCurrentYear() {
|
|
1355
1341
|
return this.getByFinYear(new FinancialYear());
|
|
@@ -1588,9 +1574,7 @@ var ServiceSubscriptionStatusEnum;
|
|
|
1588
1574
|
|
|
1589
1575
|
class MessageCollection extends Collection {
|
|
1590
1576
|
getFirstUnreadMessage(user) {
|
|
1591
|
-
return this.items.find((message) =>
|
|
1592
|
-
return !message.isRead() && message.isFromEmployee() !== user.isEmployee();
|
|
1593
|
-
});
|
|
1577
|
+
return this.items.find((message) => !message.isRead() && message.isFromEmployee() !== user.isEmployee());
|
|
1594
1578
|
}
|
|
1595
1579
|
/**
|
|
1596
1580
|
* Get List of unread chats
|
|
@@ -1791,9 +1775,7 @@ class PropertyCollection extends Collection {
|
|
|
1791
1775
|
return new PropertyCollection(this.items.filter((property) => property.category.isOwnerOccupied()));
|
|
1792
1776
|
}
|
|
1793
1777
|
get earliestContractDate() {
|
|
1794
|
-
return this.items.reduce((min, property) =>
|
|
1795
|
-
return min < property.contractDate ? min : property.contractDate;
|
|
1796
|
-
}, new FinancialYear(new Date()).startDate);
|
|
1778
|
+
return this.items.reduce((min, property) => min < property.contractDate ? min : property.contractDate, new FinancialYear(new Date()).startDate);
|
|
1797
1779
|
}
|
|
1798
1780
|
/**
|
|
1799
1781
|
* Get list of unique property categories from collection
|
|
@@ -1805,9 +1787,7 @@ class PropertyCollection extends Collection {
|
|
|
1805
1787
|
* Get property with the highest growth percent
|
|
1806
1788
|
*/
|
|
1807
1789
|
getBestPerformanceGrowthProperty() {
|
|
1808
|
-
return this.items.reduce((max, current) =>
|
|
1809
|
-
return max.growthPercent < current.growthPercent ? current : max;
|
|
1810
|
-
}, this.first);
|
|
1790
|
+
return this.items.reduce((max, current) => max.growthPercent < current.growthPercent ? current : max, this.first);
|
|
1811
1791
|
}
|
|
1812
1792
|
/**
|
|
1813
1793
|
* Get property with the lowest tax position
|
|
@@ -1847,9 +1827,7 @@ class PropertyCategoryMovementCollection extends Collection {
|
|
|
1847
1827
|
*/
|
|
1848
1828
|
getByForecast(property, forecast) {
|
|
1849
1829
|
const financialYear = new FinancialYear(forecast.financialYear);
|
|
1850
|
-
return this.filterBy('property.id', property.id).filter((movement) =>
|
|
1851
|
-
return movement.fromDate <= financialYear.endDate && !movement.toDate || movement.toDate >= financialYear.startDate;
|
|
1852
|
-
});
|
|
1830
|
+
return this.filterBy('property.id', property.id).filter((movement) => movement.fromDate <= financialYear.endDate && !movement.toDate || movement.toDate >= financialYear.startDate);
|
|
1853
1831
|
}
|
|
1854
1832
|
hasCategory(categoryId) {
|
|
1855
1833
|
return !!this.findBy('propertyCategory.id', categoryId);
|
|
@@ -1863,10 +1841,7 @@ class PropertyShareCollection extends Collection {
|
|
|
1863
1841
|
* @TODO Alex: rename
|
|
1864
1842
|
*/
|
|
1865
1843
|
getIncoming() {
|
|
1866
|
-
return this.filter((propertyShare) => {
|
|
1867
|
-
var _a;
|
|
1868
|
-
return ((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId');
|
|
1869
|
-
});
|
|
1844
|
+
return this.filter((propertyShare) => { var _a; return ((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId'); });
|
|
1870
1845
|
}
|
|
1871
1846
|
/**
|
|
1872
1847
|
* Get list of outcoming property shares
|
|
@@ -3280,7 +3255,6 @@ class SoleForecast extends SoleForecast$1 {
|
|
|
3280
3255
|
get netPay() {
|
|
3281
3256
|
return this.amount;
|
|
3282
3257
|
}
|
|
3283
|
-
;
|
|
3284
3258
|
}
|
|
3285
3259
|
__decorate([
|
|
3286
3260
|
Type(() => IncomeSource)
|
|
@@ -3472,33 +3446,23 @@ __decorate([
|
|
|
3472
3446
|
Type(() => ChartAccounts)
|
|
3473
3447
|
// @TODO Alex: Create custom decorator for this transform
|
|
3474
3448
|
,
|
|
3475
|
-
Transform(({ value }) => {
|
|
3476
|
-
return { id: value.id };
|
|
3477
|
-
}, { toPlainOnly: true })
|
|
3449
|
+
Transform(({ value }) => ({ id: value.id }), { toPlainOnly: true })
|
|
3478
3450
|
], AllocationRuleTransaction.prototype, "chartAccounts", void 0);
|
|
3479
3451
|
__decorate([
|
|
3480
3452
|
Type(() => Property),
|
|
3481
|
-
Transform(({ value }) => {
|
|
3482
|
-
return value ? { id: value.id } : null;
|
|
3483
|
-
}, { toPlainOnly: true })
|
|
3453
|
+
Transform(({ value }) => value ? { id: value.id } : null, { toPlainOnly: true })
|
|
3484
3454
|
], AllocationRuleTransaction.prototype, "property", void 0);
|
|
3485
3455
|
__decorate([
|
|
3486
3456
|
Type(() => Loan),
|
|
3487
|
-
Transform(({ value }) => {
|
|
3488
|
-
return value ? { id: value.id } : null;
|
|
3489
|
-
}, { toPlainOnly: true })
|
|
3457
|
+
Transform(({ value }) => value ? { id: value.id } : null, { toPlainOnly: true })
|
|
3490
3458
|
], AllocationRuleTransaction.prototype, "loan", void 0);
|
|
3491
3459
|
__decorate([
|
|
3492
3460
|
Type(() => IncomeSource),
|
|
3493
|
-
Transform(({ value }) => {
|
|
3494
|
-
return value ? { id: value.id } : null;
|
|
3495
|
-
}, { toPlainOnly: true })
|
|
3461
|
+
Transform(({ value }) => value ? { id: value.id } : null, { toPlainOnly: true })
|
|
3496
3462
|
], AllocationRuleTransaction.prototype, "incomeSource", void 0);
|
|
3497
3463
|
__decorate([
|
|
3498
3464
|
Type(() => SoleBusiness),
|
|
3499
|
-
Transform(({ value }) => {
|
|
3500
|
-
return value ? { id: value.id } : null;
|
|
3501
|
-
}, { toPlainOnly: true })
|
|
3465
|
+
Transform(({ value }) => value ? { id: value.id } : null, { toPlainOnly: true })
|
|
3502
3466
|
], AllocationRuleTransaction.prototype, "business", void 0);
|
|
3503
3467
|
__decorate([
|
|
3504
3468
|
Type(() => AllocationRuleTransactionMetaField)
|
|
@@ -3575,7 +3539,7 @@ class AllocationRule extends AllocationRule$1 {
|
|
|
3575
3539
|
* Rule is matched when all conditions matched
|
|
3576
3540
|
*/
|
|
3577
3541
|
checkAnd(bankTransaction) {
|
|
3578
|
-
for (
|
|
3542
|
+
for (const condition of this.conditions) {
|
|
3579
3543
|
if (!condition.matchBankTransaction(bankTransaction)) {
|
|
3580
3544
|
return false;
|
|
3581
3545
|
}
|
|
@@ -3586,7 +3550,7 @@ class AllocationRule extends AllocationRule$1 {
|
|
|
3586
3550
|
* Rule is matched when at least one condition matched
|
|
3587
3551
|
*/
|
|
3588
3552
|
checkOr(bankTransaction) {
|
|
3589
|
-
for (
|
|
3553
|
+
for (const condition of this.conditions) {
|
|
3590
3554
|
if (condition.matchBankTransaction(bankTransaction)) {
|
|
3591
3555
|
return true;
|
|
3592
3556
|
}
|
|
@@ -3618,7 +3582,7 @@ class AllocationRule extends AllocationRule$1 {
|
|
|
3618
3582
|
}
|
|
3619
3583
|
__decorate([
|
|
3620
3584
|
Type(() => BankAccount),
|
|
3621
|
-
Transform(({ value }) => {
|
|
3585
|
+
Transform(({ value }) => ({ id: value.id }), { toPlainOnly: true })
|
|
3622
3586
|
], AllocationRule.prototype, "bankAccount", void 0);
|
|
3623
3587
|
__decorate([
|
|
3624
3588
|
Type(() => AllocationRuleCondition)
|
|
@@ -4012,12 +3976,8 @@ class PropertyEquityChartData {
|
|
|
4012
3976
|
const items = this.list.filter((item) => item.year <= this.currentYear);
|
|
4013
3977
|
items.forEach((item) => {
|
|
4014
3978
|
// increase item values with property actual forecasts for item year
|
|
4015
|
-
item.marketValue = this.properties.items.reduce((sum, property) =>
|
|
4016
|
-
|
|
4017
|
-
}, 0);
|
|
4018
|
-
item.loanBalance = Math.abs(this.properties.items.reduce((sum, property) => {
|
|
4019
|
-
return sum + this.getLoanBalanceForPropertyByYear(property, item.year);
|
|
4020
|
-
}, 0));
|
|
3979
|
+
item.marketValue = this.properties.items.reduce((sum, property) => sum + this.getMarketValueForPropertyByYear(property, item.year), 0);
|
|
3980
|
+
item.loanBalance = Math.abs(this.properties.items.reduce((sum, property) => sum + this.getLoanBalanceForPropertyByYear(property, item.year), 0));
|
|
4021
3981
|
});
|
|
4022
3982
|
}
|
|
4023
3983
|
/**
|
|
@@ -4027,9 +3987,7 @@ class PropertyEquityChartData {
|
|
|
4027
3987
|
buildActualItem() {
|
|
4028
3988
|
const item = this.list.find((i) => i.year === this.currentYear);
|
|
4029
3989
|
item.marketValue = this.properties.marketValue;
|
|
4030
|
-
item.loanBalance = this.properties.items.reduce((sum, property) =>
|
|
4031
|
-
return sum + Math.abs(this.bankAccounts.getPropertyBalanceAmount(property.id));
|
|
4032
|
-
}, 0);
|
|
3990
|
+
item.loanBalance = this.properties.items.reduce((sum, property) => sum + Math.abs(this.bankAccounts.getPropertyBalanceAmount(property.id)), 0);
|
|
4033
3991
|
}
|
|
4034
3992
|
/**
|
|
4035
3993
|
* collect equity position items with forecasted (future) calculated values
|
|
@@ -4061,10 +4019,7 @@ class PropertyEquityChartData {
|
|
|
4061
4019
|
* @private
|
|
4062
4020
|
*/
|
|
4063
4021
|
getLoanBalanceByYear(property, year, bankAccounts, loans) {
|
|
4064
|
-
return bankAccounts.items.reduce((totalSum, bankAccount) => {
|
|
4065
|
-
var _a, _b;
|
|
4066
|
-
return totalSum + (bankAccount.getPropertyPercentage(property.id) * (((_b = (_a = loans.getByBankAccountId(bankAccount.id)) === null || _a === void 0 ? void 0 : _a.getLastPaymentByYear(year)) === null || _b === void 0 ? void 0 : _b.totalOwed) || 0));
|
|
4067
|
-
}, 0);
|
|
4022
|
+
return bankAccounts.items.reduce((totalSum, bankAccount) => { var _a, _b; return totalSum + (bankAccount.getPropertyPercentage(property.id) * (((_b = (_a = loans.getByBankAccountId(bankAccount.id)) === null || _a === void 0 ? void 0 : _a.getLastPaymentByYear(year)) === null || _b === void 0 ? void 0 : _b.totalOwed) || 0)); }, 0);
|
|
4068
4023
|
}
|
|
4069
4024
|
getMarketValueForPropertyByYear(property, year) {
|
|
4070
4025
|
if (new FinancialYear(property.contractDate).year > year) {
|
|
@@ -5102,9 +5057,7 @@ class Transaction extends Transaction$1 {
|
|
|
5102
5057
|
*/
|
|
5103
5058
|
getMetaFieldValue(field) {
|
|
5104
5059
|
var _a;
|
|
5105
|
-
return +((_a = this.metaFields.find((transactionMetaField) =>
|
|
5106
|
-
return transactionMetaField.chartAccountsMetaField.id === field;
|
|
5107
|
-
})) === null || _a === void 0 ? void 0 : _a.value) || 0;
|
|
5060
|
+
return +((_a = this.metaFields.find((transactionMetaField) => transactionMetaField.chartAccountsMetaField.id === field)) === null || _a === void 0 ? void 0 : _a.value) || 0;
|
|
5108
5061
|
}
|
|
5109
5062
|
isCash() {
|
|
5110
5063
|
return this.source === TransactionSourceEnum.CASH;
|
|
@@ -5298,9 +5251,7 @@ class Depreciation extends Depreciation$1 {
|
|
|
5298
5251
|
* @TODO Vik: Research a problem with depreciations without current year forecast
|
|
5299
5252
|
*/
|
|
5300
5253
|
get currentYearForecast() {
|
|
5301
|
-
return this.forecasts.find((forecast) => {
|
|
5302
|
-
return forecast.financialYear === new FinancialYear().year;
|
|
5303
|
-
}) || plainToClass(DepreciationForecast, {
|
|
5254
|
+
return this.forecasts.find((forecast) => forecast.financialYear === new FinancialYear().year) || plainToClass(DepreciationForecast, {
|
|
5304
5255
|
financialYear: new FinancialYear().year,
|
|
5305
5256
|
openBalance: 0,
|
|
5306
5257
|
closeBalance: 0,
|
|
@@ -5309,9 +5260,7 @@ class Depreciation extends Depreciation$1 {
|
|
|
5309
5260
|
});
|
|
5310
5261
|
}
|
|
5311
5262
|
getForecastByYear(year) {
|
|
5312
|
-
return this.forecasts.find((forecast) =>
|
|
5313
|
-
return forecast.financialYear === year;
|
|
5314
|
-
});
|
|
5263
|
+
return this.forecasts.find((forecast) => forecast.financialYear === year);
|
|
5315
5264
|
}
|
|
5316
5265
|
getClaimAmountByYear(year) {
|
|
5317
5266
|
var _a;
|
|
@@ -5461,14 +5410,10 @@ class TransactionCollection extends ExportableCollection {
|
|
|
5461
5410
|
return this.sumBy('amount');
|
|
5462
5411
|
}
|
|
5463
5412
|
getUnallocated(allocations) {
|
|
5464
|
-
return new TransactionCollection(this.items.filter((transaction) =>
|
|
5465
|
-
return !transaction.isAllocated(allocations);
|
|
5466
|
-
}));
|
|
5413
|
+
return new TransactionCollection(this.items.filter((transaction) => !transaction.isAllocated(allocations)));
|
|
5467
5414
|
}
|
|
5468
5415
|
getUnallocatedAmount(allocations) {
|
|
5469
|
-
return this.items.reduce((sum, transaction) =>
|
|
5470
|
-
return sum + transaction.getUnallocatedAmount(allocations.filterBy('transaction.id', transaction.id));
|
|
5471
|
-
}, 0);
|
|
5416
|
+
return this.items.reduce((sum, transaction) => sum + transaction.getUnallocatedAmount(allocations.filterBy('transaction.id', transaction.id)), 0);
|
|
5472
5417
|
}
|
|
5473
5418
|
/**
|
|
5474
5419
|
* get date of the last transaction
|
|
@@ -5528,10 +5473,7 @@ class TransactionCollection extends ExportableCollection {
|
|
|
5528
5473
|
* @param ids Ids of properties for filter
|
|
5529
5474
|
*/
|
|
5530
5475
|
getByPropertiesIds(ids) {
|
|
5531
|
-
return new TransactionCollection(this.items.filter((transaction) => {
|
|
5532
|
-
var _a;
|
|
5533
|
-
return ids.includes((_a = transaction.property) === null || _a === void 0 ? void 0 : _a.id);
|
|
5534
|
-
}));
|
|
5476
|
+
return new TransactionCollection(this.items.filter((transaction) => { var _a; return ids.includes((_a = transaction.property) === null || _a === void 0 ? void 0 : _a.id); }));
|
|
5535
5477
|
}
|
|
5536
5478
|
/**
|
|
5537
5479
|
* Get new collection filtered by income source id
|
|
@@ -5566,9 +5508,7 @@ class TransactionCollection extends ExportableCollection {
|
|
|
5566
5508
|
* Get transactions related to Vehicle category
|
|
5567
5509
|
*/
|
|
5568
5510
|
getVehicleTransactions() {
|
|
5569
|
-
return this.create(this.items.filter((transaction) =>
|
|
5570
|
-
return transaction.isVehicleTransaction();
|
|
5571
|
-
}));
|
|
5511
|
+
return this.create(this.items.filter((transaction) => transaction.isVehicleTransaction()));
|
|
5572
5512
|
}
|
|
5573
5513
|
/**
|
|
5574
5514
|
* Get new transaction collection filtered by tank type
|
|
@@ -5600,14 +5540,12 @@ class TransactionCollection extends ExportableCollection {
|
|
|
5600
5540
|
];
|
|
5601
5541
|
}
|
|
5602
5542
|
getExportBody() {
|
|
5603
|
-
return this.items.map((transaction) =>
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
];
|
|
5610
|
-
});
|
|
5543
|
+
return this.items.map((transaction) => [
|
|
5544
|
+
plainToClass(ExportCell, { value: transaction.date, type: ExportCellTypeEnum.DATE }),
|
|
5545
|
+
plainToClass(ExportCell, { value: transaction.description, type: ExportCellTypeEnum.STRING }),
|
|
5546
|
+
plainToClass(ExportCell, { value: transaction.debit, type: ExportCellTypeEnum.CURRENCY }),
|
|
5547
|
+
plainToClass(ExportCell, { value: transaction.credit, type: ExportCellTypeEnum.CURRENCY })
|
|
5548
|
+
]);
|
|
5611
5549
|
}
|
|
5612
5550
|
/**
|
|
5613
5551
|
* Get list of vehicle transactions filtered by vehicle claim
|
|
@@ -5727,29 +5665,19 @@ class DepreciationCollection extends Collection {
|
|
|
5727
5665
|
return this.items.reduce((sum, depreciation) => sum + depreciation.amount, 0);
|
|
5728
5666
|
}
|
|
5729
5667
|
get claimAmount() {
|
|
5730
|
-
return this.items.reduce((sum, depreciation) =>
|
|
5731
|
-
return sum + depreciation.currentYearForecast.claimAmount;
|
|
5732
|
-
}, 0);
|
|
5668
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.claimAmount, 0);
|
|
5733
5669
|
}
|
|
5734
5670
|
getClaimedAmountByYear(year = +localStorage.getItem('financialYear')) {
|
|
5735
|
-
return +Math.round(this.amount - this.items.reduce((sum, depreciation) =>
|
|
5736
|
-
return sum + depreciation.getCloseBalanceByYear(year);
|
|
5737
|
-
}, 0)).toFixed(2);
|
|
5671
|
+
return +Math.round(this.amount - this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0)).toFixed(2);
|
|
5738
5672
|
}
|
|
5739
5673
|
getClaimAmountByYear(year = +localStorage.getItem('financialYear')) {
|
|
5740
|
-
return this.items.reduce((sum, depreciation) =>
|
|
5741
|
-
return sum + depreciation.getClaimAmountByYear(year);
|
|
5742
|
-
}, 0);
|
|
5674
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.getClaimAmountByYear(year), 0);
|
|
5743
5675
|
}
|
|
5744
5676
|
getCloseBalanceByYear(year = +localStorage.getItem('financialYear')) {
|
|
5745
|
-
return this.items.reduce((sum, depreciation) =>
|
|
5746
|
-
return sum + depreciation.getCloseBalanceByYear(year);
|
|
5747
|
-
}, 0);
|
|
5677
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.getCloseBalanceByYear(year), 0);
|
|
5748
5678
|
}
|
|
5749
5679
|
getCurrentYearForecastAmount() {
|
|
5750
|
-
return this.items.reduce((sum, depreciation) =>
|
|
5751
|
-
return sum + depreciation.currentYearForecast.amount;
|
|
5752
|
-
}, 0);
|
|
5680
|
+
return this.items.reduce((sum, depreciation) => sum + depreciation.currentYearForecast.amount, 0);
|
|
5753
5681
|
}
|
|
5754
5682
|
get closeBalance() {
|
|
5755
5683
|
return this.sumBy('currentYearForecast.closeBalance');
|
|
@@ -5791,9 +5719,7 @@ class DepreciationCollection extends Collection {
|
|
|
5791
5719
|
return this.filter((depreciation) => depreciation.isSBP());
|
|
5792
5720
|
}
|
|
5793
5721
|
getCapitalProjects() {
|
|
5794
|
-
return uniqBy(compact(this.items.map((depreciation) =>
|
|
5795
|
-
return depreciation.depreciationCapitalProject;
|
|
5796
|
-
})), 'id');
|
|
5722
|
+
return uniqBy(compact(this.items.map((depreciation) => depreciation.depreciationCapitalProject)), 'id');
|
|
5797
5723
|
}
|
|
5798
5724
|
/**
|
|
5799
5725
|
* Get a new collection of depreciations related to vehicles
|
|
@@ -5872,9 +5798,7 @@ class DepreciationReportItemCollection extends DepreciationCollection {
|
|
|
5872
5798
|
* Create new collection from provided depreciations list
|
|
5873
5799
|
*/
|
|
5874
5800
|
static fromDepreciations(deprectiations) {
|
|
5875
|
-
return new DepreciationReportItemCollection(deprectiations.map((depreciation) =>
|
|
5876
|
-
return plainToClass(DepreciationReportItem, depreciation);
|
|
5877
|
-
}));
|
|
5801
|
+
return new DepreciationReportItemCollection(deprectiations.map((depreciation) => plainToClass(DepreciationReportItem, depreciation)));
|
|
5878
5802
|
}
|
|
5879
5803
|
}
|
|
5880
5804
|
|
|
@@ -6007,9 +5931,7 @@ class VehicleExpenseCollection extends Collection {
|
|
|
6007
5931
|
setItems(transactions, depreciations, vehicleClaim) {
|
|
6008
5932
|
this.items = [];
|
|
6009
5933
|
const transactionsByChartAccounts = new CollectionDictionary(transactions, 'chartAccounts.name');
|
|
6010
|
-
const transactionExpenses = transactionsByChartAccounts.keys.map((chartAccountsName) =>
|
|
6011
|
-
return new VehicleExpense(transactionsByChartAccounts.get(chartAccountsName).amount, vehicleClaim.workUsage, chartAccountsName);
|
|
6012
|
-
});
|
|
5934
|
+
const transactionExpenses = transactionsByChartAccounts.keys.map((chartAccountsName) => new VehicleExpense(transactionsByChartAccounts.get(chartAccountsName).amount, vehicleClaim.workUsage, chartAccountsName));
|
|
6013
5935
|
// group all depreciations into one expense item
|
|
6014
5936
|
const depreciationExpense = new VehicleExpense(depreciations.getCurrentYearForecastAmount(), vehicleClaim.workUsage, 'Depreciation');
|
|
6015
5937
|
this.items.push(...[depreciationExpense, ...transactionExpenses]);
|
|
@@ -6225,14 +6147,10 @@ class ServiceSubscriptionCollection extends Collection {
|
|
|
6225
6147
|
return dictionary;
|
|
6226
6148
|
}
|
|
6227
6149
|
findByProduct(product) {
|
|
6228
|
-
return this.find((subscription) =>
|
|
6229
|
-
return !!subscription.items.find((item) => item.price.product.id === product.id);
|
|
6230
|
-
});
|
|
6150
|
+
return this.find((subscription) => !!subscription.items.find((item) => item.price.product.id === product.id));
|
|
6231
6151
|
}
|
|
6232
6152
|
filterByProduct(product) {
|
|
6233
|
-
return this.filter((subscription) =>
|
|
6234
|
-
return !!subscription.items.find((item) => item.price.product.id === product.id);
|
|
6235
|
-
});
|
|
6153
|
+
return this.filter((subscription) => !!subscription.items.find((item) => item.price.product.id === product.id));
|
|
6236
6154
|
}
|
|
6237
6155
|
hasPropertyTank() {
|
|
6238
6156
|
return !!this.getItems().propertiesItem;
|
|
@@ -6248,8 +6166,8 @@ class ReportItemCollection extends Collection {
|
|
|
6248
6166
|
* Search items which has details
|
|
6249
6167
|
*/
|
|
6250
6168
|
getBySection(section) {
|
|
6251
|
-
|
|
6252
|
-
for (
|
|
6169
|
+
const result = [];
|
|
6170
|
+
for (const reportItem of this.items) {
|
|
6253
6171
|
if ((reportItem.details.length || reportItem.amount) && reportItem.taxReturnCategory.section === section) {
|
|
6254
6172
|
result.push(reportItem);
|
|
6255
6173
|
}
|
|
@@ -6260,8 +6178,8 @@ class ReportItemCollection extends Collection {
|
|
|
6260
6178
|
return this.create(result);
|
|
6261
6179
|
}
|
|
6262
6180
|
getByCategory(categoryId) {
|
|
6263
|
-
|
|
6264
|
-
for (
|
|
6181
|
+
const result = [];
|
|
6182
|
+
for (const reportItem of this.items) {
|
|
6265
6183
|
if (reportItem.taxReturnCategory.id === categoryId) {
|
|
6266
6184
|
result.push(reportItem);
|
|
6267
6185
|
}
|
|
@@ -6276,7 +6194,7 @@ class ReportItemCollection extends Collection {
|
|
|
6276
6194
|
*/
|
|
6277
6195
|
findByCategory(categoryId) {
|
|
6278
6196
|
let result;
|
|
6279
|
-
for (
|
|
6197
|
+
for (const reportItem of this.items) {
|
|
6280
6198
|
if (result) {
|
|
6281
6199
|
break;
|
|
6282
6200
|
}
|
|
@@ -6325,8 +6243,8 @@ class ReportItemCollection extends Collection {
|
|
|
6325
6243
|
* @TODO Alex: consider to create and move to ReportItemDetailsCollection
|
|
6326
6244
|
*/
|
|
6327
6245
|
getDetailsByIncomeSource(incomeSource) {
|
|
6328
|
-
|
|
6329
|
-
for (
|
|
6246
|
+
const result = [];
|
|
6247
|
+
for (const reportItem of this.items) {
|
|
6330
6248
|
if (reportItem.details.length) {
|
|
6331
6249
|
result.push(...reportItem.details.filter((details) => details.name === incomeSource.name));
|
|
6332
6250
|
}
|
|
@@ -6684,46 +6602,32 @@ class BankAccountCollection extends Collection {
|
|
|
6684
6602
|
*/
|
|
6685
6603
|
getInitialLoanAmount() {
|
|
6686
6604
|
return this.getByType(TYPE_LOAN)
|
|
6687
|
-
.reduce((sum, bankAccount) =>
|
|
6688
|
-
return sum += bankAccount.balances.length ? bankAccount.getOpeningBalance() : 0;
|
|
6689
|
-
}, 0);
|
|
6605
|
+
.reduce((sum, bankAccount) => sum += bankAccount.balances.length ? bankAccount.getOpeningBalance() : 0, 0);
|
|
6690
6606
|
}
|
|
6691
6607
|
/**
|
|
6692
6608
|
* get amount of current loans
|
|
6693
6609
|
*/
|
|
6694
6610
|
getCurrentLoanAmount() {
|
|
6695
6611
|
return this.getByType(TYPE_LOAN)
|
|
6696
|
-
.reduce((sum, bankAccount) =>
|
|
6697
|
-
return sum += bankAccount.currentBalance;
|
|
6698
|
-
}, 0);
|
|
6612
|
+
.reduce((sum, bankAccount) => sum += bankAccount.currentBalance, 0);
|
|
6699
6613
|
}
|
|
6700
6614
|
/**
|
|
6701
6615
|
* get collection filtered by property id
|
|
6702
6616
|
*/
|
|
6703
6617
|
getByPropertyId(id) {
|
|
6704
|
-
return new BankAccountCollection(this.items.filter((bankAccount) =>
|
|
6705
|
-
return bankAccount.bankAccountProperties.find((bankAccountProperty) => {
|
|
6706
|
-
return bankAccountProperty.property.id === id;
|
|
6707
|
-
});
|
|
6708
|
-
}));
|
|
6618
|
+
return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.bankAccountProperties.find((bankAccountProperty) => bankAccountProperty.property.id === id)));
|
|
6709
6619
|
}
|
|
6710
6620
|
/**
|
|
6711
6621
|
* get collection filtered by properties ids
|
|
6712
6622
|
*/
|
|
6713
6623
|
getByPropertiesIds(ids) {
|
|
6714
|
-
return new BankAccountCollection(this.items.filter((bankAccount) =>
|
|
6715
|
-
return bankAccount.bankAccountProperties.find((bankAccountProperty) => {
|
|
6716
|
-
return ids.includes(bankAccountProperty.property.id);
|
|
6717
|
-
});
|
|
6718
|
-
}));
|
|
6624
|
+
return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.bankAccountProperties.find((bankAccountProperty) => ids.includes(bankAccountProperty.property.id))));
|
|
6719
6625
|
}
|
|
6720
6626
|
/**
|
|
6721
6627
|
* get collection of active bank accounts
|
|
6722
6628
|
*/
|
|
6723
6629
|
getActiveBankAccounts() {
|
|
6724
|
-
return new BankAccountCollection(this.items.filter((bankAccount) =>
|
|
6725
|
-
return bankAccount.isActive();
|
|
6726
|
-
}));
|
|
6630
|
+
return new BankAccountCollection(this.items.filter((bankAccount) => bankAccount.isActive()));
|
|
6727
6631
|
}
|
|
6728
6632
|
/**
|
|
6729
6633
|
* get reduction of loan (reduction of principle) percentage
|
|
@@ -6773,22 +6677,16 @@ class BankAccountCollection extends Collection {
|
|
|
6773
6677
|
* Get list of all bank account properties
|
|
6774
6678
|
*/
|
|
6775
6679
|
getBankAccountPropertiesList() {
|
|
6776
|
-
return flatten(this.items.map((bankAccount) =>
|
|
6777
|
-
return bankAccount.bankAccountProperties;
|
|
6778
|
-
}));
|
|
6680
|
+
return flatten(this.items.map((bankAccount) => bankAccount.bankAccountProperties));
|
|
6779
6681
|
}
|
|
6780
6682
|
/**
|
|
6781
6683
|
* Get lis of unique properties from all bank accounts properties
|
|
6782
6684
|
*/
|
|
6783
6685
|
getProperties() {
|
|
6784
|
-
return uniqBy(this.getBankAccountPropertiesList().map((bankAccountProperty) =>
|
|
6785
|
-
return bankAccountProperty.property;
|
|
6786
|
-
}), 'id');
|
|
6686
|
+
return uniqBy(this.getBankAccountPropertiesList().map((bankAccountProperty) => bankAccountProperty.property), 'id');
|
|
6787
6687
|
}
|
|
6788
6688
|
getPropertyBalanceAmount(propertyId) {
|
|
6789
|
-
return this.items.reduce((sum, bankAccount) =>
|
|
6790
|
-
return sum + bankAccount.getPropertyBalanceAmount(propertyId);
|
|
6791
|
-
}, 0);
|
|
6689
|
+
return this.items.reduce((sum, bankAccount) => sum + bankAccount.getPropertyBalanceAmount(propertyId), 0);
|
|
6792
6690
|
}
|
|
6793
6691
|
getOwn() {
|
|
6794
6692
|
// TODO Alex/Vik: maybe we should get it from jwtToken or think about some localStorageService?
|
|
@@ -6866,10 +6764,8 @@ class BankTransactionCollection extends Collection {
|
|
|
6866
6764
|
* Find Bank Transaction available for transfer
|
|
6867
6765
|
*/
|
|
6868
6766
|
findTransfer(bankTransaction) {
|
|
6869
|
-
return this.items.find((item) =>
|
|
6870
|
-
|
|
6871
|
-
Math.abs(bankTransaction.date.getTime() - item.date.getTime()) < TRANSACTION_TRANSFER_DELAY;
|
|
6872
|
-
});
|
|
6767
|
+
return this.items.find((item) => item.amount + bankTransaction.amount === 0 &&
|
|
6768
|
+
Math.abs(bankTransaction.date.getTime() - item.date.getTime()) < TRANSACTION_TRANSFER_DELAY);
|
|
6873
6769
|
}
|
|
6874
6770
|
/**
|
|
6875
6771
|
* Group bank transactions by transaction id.
|
|
@@ -7099,12 +6995,10 @@ class TaxReviewCollection extends Collection {
|
|
|
7099
6995
|
*/
|
|
7100
6996
|
getInWork() {
|
|
7101
6997
|
return this.items
|
|
7102
|
-
.filter((taxReview) =>
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
taxReview.isApproved();
|
|
7107
|
-
});
|
|
6998
|
+
.filter((taxReview) => taxReview.isInProgress() ||
|
|
6999
|
+
taxReview.isWaitingForClient() ||
|
|
7000
|
+
taxReview.isWaitingForApproval() ||
|
|
7001
|
+
taxReview.isApproved());
|
|
7108
7002
|
}
|
|
7109
7003
|
/**
|
|
7110
7004
|
* Get percentage of completed reviews of the total review amount
|
|
@@ -7169,6 +7063,9 @@ class HoldingCollection extends Collection {
|
|
|
7169
7063
|
getGrowthCoefficient(holdingTypesById) {
|
|
7170
7064
|
return this.getMarketValue(holdingTypesById) / this.getPurchaseValue() - 1;
|
|
7171
7065
|
}
|
|
7066
|
+
getUnsold() {
|
|
7067
|
+
return this.removeBy('currentQuantity', 0);
|
|
7068
|
+
}
|
|
7172
7069
|
}
|
|
7173
7070
|
|
|
7174
7071
|
class HoldingTypeCollection extends Collection {
|
|
@@ -7202,7 +7099,7 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
7202
7099
|
return !!this.stripeId;
|
|
7203
7100
|
}
|
|
7204
7101
|
get initialPrice() {
|
|
7205
|
-
|
|
7102
|
+
const price = this.items.reduce((sum, item) => sum + item.total, 0);
|
|
7206
7103
|
return price;
|
|
7207
7104
|
}
|
|
7208
7105
|
get discountAmount() {
|
|
@@ -7249,14 +7146,10 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
7249
7146
|
return this.items.find((item) => item.price.product.isProperties());
|
|
7250
7147
|
}
|
|
7251
7148
|
hasPropertyTank() {
|
|
7252
|
-
return !!this.items.find((subscriptionItem) =>
|
|
7253
|
-
return subscriptionItem.price.product.role.includes(UserRolesEnum.PROPERTY_TANK);
|
|
7254
|
-
});
|
|
7149
|
+
return !!this.items.find((subscriptionItem) => subscriptionItem.price.product.role.includes(UserRolesEnum.PROPERTY_TANK));
|
|
7255
7150
|
}
|
|
7256
7151
|
hasWorkTank() {
|
|
7257
|
-
return !!this.items.find((subscriptionItem) =>
|
|
7258
|
-
return subscriptionItem.price.product.role.includes(UserRolesEnum.WORK_TANK);
|
|
7259
|
-
});
|
|
7152
|
+
return !!this.items.find((subscriptionItem) => subscriptionItem.price.product.role.includes(UserRolesEnum.WORK_TANK));
|
|
7260
7153
|
}
|
|
7261
7154
|
/**
|
|
7262
7155
|
* bought before price updates, active for some time to let customer select a new plan
|
|
@@ -7518,9 +7411,7 @@ class Property extends Property$1 {
|
|
|
7518
7411
|
return ((_a = this.currentYearForecast) === null || _a === void 0 ? void 0 : _a.cashPosition) || 0;
|
|
7519
7412
|
}
|
|
7520
7413
|
get firstForecastYear() {
|
|
7521
|
-
return this.forecasts.reduce((min, forecast) =>
|
|
7522
|
-
return min > forecast.financialYear ? forecast.financialYear : min;
|
|
7523
|
-
}, new FinancialYear().year);
|
|
7414
|
+
return this.forecasts.reduce((min, forecast) => min > forecast.financialYear ? forecast.financialYear : min, new FinancialYear().year);
|
|
7524
7415
|
}
|
|
7525
7416
|
get marketValueGrowth() {
|
|
7526
7417
|
return (this.marketValue - this.purchasePrice) / this.marketValue;
|
|
@@ -7529,9 +7420,7 @@ class Property extends Property$1 {
|
|
|
7529
7420
|
return this.shares.find((share) => share.user.id === +localStorage.getItem('userId'));
|
|
7530
7421
|
}
|
|
7531
7422
|
get actualValuation() {
|
|
7532
|
-
return this.valuations.reduce((maxDateValuation, valuation) =>
|
|
7533
|
-
return maxDateValuation.date > valuation.date ? maxDateValuation : valuation;
|
|
7534
|
-
}, this.valuations[0]);
|
|
7423
|
+
return this.valuations.reduce((maxDateValuation, valuation) => maxDateValuation.date > valuation.date ? maxDateValuation : valuation, this.valuations[0]);
|
|
7535
7424
|
}
|
|
7536
7425
|
get claimPercent() {
|
|
7537
7426
|
return this.currentYearForecast.claimPercent;
|
|
@@ -7937,12 +7826,10 @@ class BankAccountChartData {
|
|
|
7937
7826
|
* set value of pie chart data
|
|
7938
7827
|
*/
|
|
7939
7828
|
getBalancePieChartData() {
|
|
7940
|
-
return this.bankAccounts.map((bankAccount) => {
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
};
|
|
7945
|
-
});
|
|
7829
|
+
return this.bankAccounts.map((bankAccount) => ({
|
|
7830
|
+
name: bankAccount.accountName,
|
|
7831
|
+
data: Math.abs(bankAccount.currentBalance)
|
|
7832
|
+
}));
|
|
7946
7833
|
}
|
|
7947
7834
|
/**
|
|
7948
7835
|
* set value of bar chart data
|
|
@@ -7950,12 +7837,10 @@ class BankAccountChartData {
|
|
|
7950
7837
|
getBalanceBarChartData() {
|
|
7951
7838
|
return [{
|
|
7952
7839
|
name: 'Balance',
|
|
7953
|
-
data: this.bankAccounts.map((bankAccount) => {
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
};
|
|
7958
|
-
})
|
|
7840
|
+
data: this.bankAccounts.map((bankAccount) => ({
|
|
7841
|
+
label: bankAccount.accountName,
|
|
7842
|
+
value: bankAccount.currentBalance
|
|
7843
|
+
}))
|
|
7959
7844
|
}];
|
|
7960
7845
|
}
|
|
7961
7846
|
}
|
|
@@ -8019,9 +7904,7 @@ class BankTransactionChartData {
|
|
|
8019
7904
|
}];
|
|
8020
7905
|
for (const key in MonthNameShortEnum) {
|
|
8021
7906
|
if (MonthNameShortEnum.hasOwnProperty(key)) {
|
|
8022
|
-
const bankTransactionsForMonth = this.bankTransactions.filter((bankTransaction) =>
|
|
8023
|
-
return +bankTransaction.date.getMonth() === +MonthNumberEnum[key];
|
|
8024
|
-
});
|
|
7907
|
+
const bankTransactionsForMonth = this.bankTransactions.filter((bankTransaction) => +bankTransaction.date.getMonth() === +MonthNumberEnum[key]);
|
|
8025
7908
|
const cashInForMonth = bankTransactionsForMonth
|
|
8026
7909
|
.filter((bankTransaction) => bankTransaction.isCredit())
|
|
8027
7910
|
.reduce((sum, bankTransaction) => sum += bankTransaction.allocatedAmount, 0);
|
|
@@ -8050,16 +7933,12 @@ class BankTransactionChartData {
|
|
|
8050
7933
|
}];
|
|
8051
7934
|
for (const key in MonthNameShortEnum) {
|
|
8052
7935
|
if (MonthNameShortEnum.hasOwnProperty(key)) {
|
|
8053
|
-
const bankTransactionsForMonth = this.bankTransactions.filter((bankTransaction) =>
|
|
8054
|
-
return +bankTransaction.date.getMonth() === +MonthNumberEnum[key];
|
|
8055
|
-
});
|
|
7936
|
+
const bankTransactionsForMonth = this.bankTransactions.filter((bankTransaction) => +bankTransaction.date.getMonth() === +MonthNumberEnum[key]);
|
|
8056
7937
|
const balanceForMonth = bankTransactionsForMonth.reduce((sum, bankTransaction) => {
|
|
8057
7938
|
if (bankTransaction.isCredit()) {
|
|
8058
7939
|
return sum += bankTransaction.allocatedAmount;
|
|
8059
7940
|
}
|
|
8060
|
-
|
|
8061
|
-
return sum -= bankTransaction.allocatedAmount;
|
|
8062
|
-
}
|
|
7941
|
+
return sum -= bankTransaction.allocatedAmount;
|
|
8063
7942
|
}, 0);
|
|
8064
7943
|
chartData[0].data.push({
|
|
8065
7944
|
label: MonthNameShortEnum[key],
|
|
@@ -8504,10 +8383,10 @@ __decorate([
|
|
|
8504
8383
|
Type(() => HoldingTypeExchange)
|
|
8505
8384
|
], HoldingType.prototype, "exchange", void 0);
|
|
8506
8385
|
|
|
8507
|
-
class HoldingSale extends
|
|
8386
|
+
class HoldingSale extends ObservableModel {
|
|
8508
8387
|
}
|
|
8509
8388
|
__decorate([
|
|
8510
|
-
Transform(({ value }) => {
|
|
8389
|
+
Transform(({ value }) => ({ id: value.id }), { toPlainOnly: true })
|
|
8511
8390
|
], HoldingSale.prototype, "holding", void 0);
|
|
8512
8391
|
__decorate([
|
|
8513
8392
|
Type(() => Date)
|
|
@@ -8547,6 +8426,9 @@ class Holding extends AbstractModel {
|
|
|
8547
8426
|
const yearTime = 1000 * 60 * 60 * 24 * 365;
|
|
8548
8427
|
return (new FinancialYear().startDate.getTime() - this.date.getTime()) > yearTime;
|
|
8549
8428
|
}
|
|
8429
|
+
isSold() {
|
|
8430
|
+
return this.currentQuantity === 0;
|
|
8431
|
+
}
|
|
8550
8432
|
}
|
|
8551
8433
|
__decorate([
|
|
8552
8434
|
Type(() => Date)
|
|
@@ -8684,12 +8566,10 @@ class ClientPortfolioChartData {
|
|
|
8684
8566
|
this.clientsPortfolioReportCollection = clientsPortfolioReportCollection;
|
|
8685
8567
|
}
|
|
8686
8568
|
getPieChartData() {
|
|
8687
|
-
return this.clientsPortfolioReportCollection.items.map((clientPortfolioReport) => {
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
});
|
|
8692
|
-
});
|
|
8569
|
+
return this.clientsPortfolioReportCollection.items.map((clientPortfolioReport) => plainToClass(ChartData, {
|
|
8570
|
+
name: clientPortfolioReport.category,
|
|
8571
|
+
data: clientPortfolioReport.count
|
|
8572
|
+
}));
|
|
8693
8573
|
}
|
|
8694
8574
|
getBarChartData() {
|
|
8695
8575
|
return [
|
|
@@ -8765,9 +8645,9 @@ class JwtService extends JwtHelperService {
|
|
|
8765
8645
|
return this.getUser().id === userId;
|
|
8766
8646
|
}
|
|
8767
8647
|
}
|
|
8768
|
-
JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
8769
|
-
JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
8770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
8648
|
+
JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
8649
|
+
JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, providedIn: 'root' });
|
|
8650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, decorators: [{
|
|
8771
8651
|
type: Injectable,
|
|
8772
8652
|
args: [{
|
|
8773
8653
|
providedIn: 'root'
|
|
@@ -8802,9 +8682,9 @@ class EventDispatcherService {
|
|
|
8802
8682
|
this.eventSubject2.next(event);
|
|
8803
8683
|
}
|
|
8804
8684
|
}
|
|
8805
|
-
EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
8806
|
-
EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
8807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
8685
|
+
EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8686
|
+
EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
|
|
8687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, decorators: [{
|
|
8808
8688
|
type: Injectable,
|
|
8809
8689
|
args: [{
|
|
8810
8690
|
providedIn: 'root'
|
|
@@ -8853,9 +8733,9 @@ class AuthService {
|
|
|
8853
8733
|
location.replace(url);
|
|
8854
8734
|
}
|
|
8855
8735
|
}
|
|
8856
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
8857
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
8858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
8736
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8737
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
8738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, decorators: [{
|
|
8859
8739
|
type: Injectable,
|
|
8860
8740
|
args: [{
|
|
8861
8741
|
providedIn: 'root'
|
|
@@ -8958,20 +8838,18 @@ class JwtInterceptor {
|
|
|
8958
8838
|
return this.tokenSubject.pipe(filter(token => token != null), take(1), switchMap(token => next.handle(this.addToken(req))));
|
|
8959
8839
|
// refresh token
|
|
8960
8840
|
}
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
}));
|
|
8974
|
-
}
|
|
8841
|
+
// subsequent requests should wait until refresh token is ready
|
|
8842
|
+
this.isRefreshingToken = true;
|
|
8843
|
+
this.tokenSubject.next(null);
|
|
8844
|
+
return this.authService.refresh(this.jwtService.getRefreshToken()).pipe(switchMap((tokens) => {
|
|
8845
|
+
this.tokenSubject.next(tokens.token);
|
|
8846
|
+
return next.handle(this.addToken(req));
|
|
8847
|
+
}), catchError(() => {
|
|
8848
|
+
this.authService.logoutFront();
|
|
8849
|
+
return throwError(err);
|
|
8850
|
+
}), finalize(() => {
|
|
8851
|
+
this.isRefreshingToken = false;
|
|
8852
|
+
}));
|
|
8975
8853
|
}
|
|
8976
8854
|
/**
|
|
8977
8855
|
* Handle error messages
|
|
@@ -8993,9 +8871,9 @@ class JwtInterceptor {
|
|
|
8993
8871
|
});
|
|
8994
8872
|
}
|
|
8995
8873
|
}
|
|
8996
|
-
JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
8997
|
-
JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
8998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
8874
|
+
JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8875
|
+
JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor });
|
|
8876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, decorators: [{
|
|
8999
8877
|
type: Injectable
|
|
9000
8878
|
}], ctorParameters: function () {
|
|
9001
8879
|
return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
|
|
@@ -9030,9 +8908,9 @@ class UserSwitcherService {
|
|
|
9030
8908
|
window.location.replace('/firm/dashboard');
|
|
9031
8909
|
}
|
|
9032
8910
|
}
|
|
9033
|
-
UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9034
|
-
UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
8911
|
+
UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8912
|
+
UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
|
|
8913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, decorators: [{
|
|
9036
8914
|
type: Injectable,
|
|
9037
8915
|
args: [{
|
|
9038
8916
|
providedIn: 'root'
|
|
@@ -9078,9 +8956,9 @@ class UserSwitcherInterceptor {
|
|
|
9078
8956
|
return next.handle(this.switch(request, this.userSwitcherService.get()));
|
|
9079
8957
|
}
|
|
9080
8958
|
}
|
|
9081
|
-
UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9082
|
-
UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
8959
|
+
UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8960
|
+
UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor });
|
|
8961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
|
|
9084
8962
|
type: Injectable
|
|
9085
8963
|
}], ctorParameters: function () {
|
|
9086
8964
|
return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
|
|
@@ -9354,9 +9232,9 @@ class PreloaderService {
|
|
|
9354
9232
|
this.activePreloaders.next(activePreloaders);
|
|
9355
9233
|
}
|
|
9356
9234
|
}
|
|
9357
|
-
PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9358
|
-
PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9235
|
+
PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9236
|
+
PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, providedIn: 'root' });
|
|
9237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, decorators: [{
|
|
9360
9238
|
type: Injectable,
|
|
9361
9239
|
args: [{
|
|
9362
9240
|
providedIn: 'root'
|
|
@@ -9372,7 +9250,7 @@ class PreloaderInterceptor {
|
|
|
9372
9250
|
}
|
|
9373
9251
|
intercept(request, next) {
|
|
9374
9252
|
const endpoint = this.findEndpoint(`${request.method} ${request.url}`);
|
|
9375
|
-
if (
|
|
9253
|
+
if (endpoint) {
|
|
9376
9254
|
this.preloaderService.add(endpoint);
|
|
9377
9255
|
return next.handle(request).pipe(finalize(() => {
|
|
9378
9256
|
this.preloaderService.delete(endpoint);
|
|
@@ -9384,9 +9262,9 @@ class PreloaderInterceptor {
|
|
|
9384
9262
|
return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
|
|
9385
9263
|
}
|
|
9386
9264
|
}
|
|
9387
|
-
PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9388
|
-
PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9265
|
+
PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9266
|
+
PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor });
|
|
9267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, decorators: [{
|
|
9390
9268
|
type: Injectable
|
|
9391
9269
|
}], ctorParameters: function () { return [{ type: PreloaderService }]; } });
|
|
9392
9270
|
|
|
@@ -9413,9 +9291,9 @@ class DataService {
|
|
|
9413
9291
|
this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
|
|
9414
9292
|
}
|
|
9415
9293
|
}
|
|
9416
|
-
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9417
|
-
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9294
|
+
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9295
|
+
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, providedIn: 'root' });
|
|
9296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, decorators: [{
|
|
9419
9297
|
type: Injectable,
|
|
9420
9298
|
args: [{
|
|
9421
9299
|
providedIn: 'root'
|
|
@@ -9449,14 +9327,12 @@ class SseService {
|
|
|
9449
9327
|
this.zone.run(() => observer.next(event));
|
|
9450
9328
|
};
|
|
9451
9329
|
})
|
|
9452
|
-
.pipe(map((messageEvent) =>
|
|
9453
|
-
return JSON.parse(messageEvent.data);
|
|
9454
|
-
}));
|
|
9330
|
+
.pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
|
|
9455
9331
|
}
|
|
9456
9332
|
}
|
|
9457
|
-
SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9458
|
-
SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9333
|
+
SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9334
|
+
SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, providedIn: 'root' });
|
|
9335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, decorators: [{
|
|
9460
9336
|
type: Injectable,
|
|
9461
9337
|
args: [{
|
|
9462
9338
|
providedIn: 'root'
|
|
@@ -9504,7 +9380,6 @@ let RestService$1 = class RestService extends DataService {
|
|
|
9504
9380
|
}
|
|
9505
9381
|
return this.cacheSubject.asObservable();
|
|
9506
9382
|
}
|
|
9507
|
-
;
|
|
9508
9383
|
getSingle() {
|
|
9509
9384
|
this.handleAccessError('get');
|
|
9510
9385
|
return this.get().pipe(map((collection) => collection.first));
|
|
@@ -9597,7 +9472,6 @@ let RestService$1 = class RestService extends DataService {
|
|
|
9597
9472
|
return this.cache;
|
|
9598
9473
|
}));
|
|
9599
9474
|
}
|
|
9600
|
-
;
|
|
9601
9475
|
/**
|
|
9602
9476
|
* Handle response data - update cache and dispatch event if it is needed
|
|
9603
9477
|
*/
|
|
@@ -9668,9 +9542,9 @@ let RestService$1 = class RestService extends DataService {
|
|
|
9668
9542
|
*/
|
|
9669
9543
|
listenEvents() { }
|
|
9670
9544
|
};
|
|
9671
|
-
RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9672
|
-
RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9545
|
+
RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9546
|
+
RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, providedIn: 'root' });
|
|
9547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, decorators: [{
|
|
9674
9548
|
type: Injectable,
|
|
9675
9549
|
args: [{
|
|
9676
9550
|
providedIn: 'root'
|
|
@@ -9790,9 +9664,9 @@ class ToastService {
|
|
|
9790
9664
|
}));
|
|
9791
9665
|
}
|
|
9792
9666
|
}
|
|
9793
|
-
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9794
|
-
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9667
|
+
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9668
|
+
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, providedIn: 'root' });
|
|
9669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, decorators: [{
|
|
9796
9670
|
type: Injectable,
|
|
9797
9671
|
args: [{
|
|
9798
9672
|
providedIn: 'root'
|
|
@@ -9843,7 +9717,7 @@ class BankConnectionService extends RestService$1 {
|
|
|
9843
9717
|
if (error.status === 400) {
|
|
9844
9718
|
this.toastService.error('Please enter the login you used before');
|
|
9845
9719
|
}
|
|
9846
|
-
return throwError
|
|
9720
|
+
return throwError(error);
|
|
9847
9721
|
}));
|
|
9848
9722
|
}
|
|
9849
9723
|
/**
|
|
@@ -9882,9 +9756,9 @@ BankConnectionService.userEventTypes = [
|
|
|
9882
9756
|
UserEventTypeTypeEnum.BASIQ_NEW_ACCOUNTS,
|
|
9883
9757
|
UserEventTypeTypeEnum.BASIQ_AUTHORIZATION_FAIL
|
|
9884
9758
|
];
|
|
9885
|
-
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9886
|
-
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9759
|
+
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9760
|
+
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
|
|
9761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, decorators: [{
|
|
9888
9762
|
type: Injectable,
|
|
9889
9763
|
args: [{
|
|
9890
9764
|
providedIn: 'root'
|
|
@@ -9996,9 +9870,9 @@ BasiqService.basiqApiUrl = 'https://au-api.basiq.io';
|
|
|
9996
9870
|
* Basiq does not provide a hook, so we have to check job status manually every x seconds
|
|
9997
9871
|
*/
|
|
9998
9872
|
BasiqService.bankCredintialsCheckInterval = 3000;
|
|
9999
|
-
BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10000
|
-
BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9873
|
+
BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9874
|
+
BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, providedIn: 'root' });
|
|
9875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, decorators: [{
|
|
10002
9876
|
type: Injectable,
|
|
10003
9877
|
args: [{
|
|
10004
9878
|
providedIn: 'root'
|
|
@@ -10035,9 +9909,9 @@ class BasiqTokenService extends RestService$1 {
|
|
|
10035
9909
|
return this.cacheSubject.asObservable();
|
|
10036
9910
|
}
|
|
10037
9911
|
}
|
|
10038
|
-
BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10039
|
-
BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9912
|
+
BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
9913
|
+
BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
|
|
9914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, decorators: [{
|
|
10041
9915
|
type: Injectable,
|
|
10042
9916
|
args: [{
|
|
10043
9917
|
providedIn: 'root'
|
|
@@ -10056,9 +9930,7 @@ class BasiqTokenInterceptor {
|
|
|
10056
9930
|
if (!request.url.includes(BasiqService.basiqApiUrl)) {
|
|
10057
9931
|
return next.handle(request);
|
|
10058
9932
|
}
|
|
10059
|
-
return this.basiqTokenService.getSingle().pipe(mergeMap((token) =>
|
|
10060
|
-
return next.handle(this.addToken(request, token));
|
|
10061
|
-
}));
|
|
9933
|
+
return this.basiqTokenService.getSingle().pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
|
|
10062
9934
|
}
|
|
10063
9935
|
addToken(request, token) {
|
|
10064
9936
|
return request.clone({
|
|
@@ -10068,9 +9940,9 @@ class BasiqTokenInterceptor {
|
|
|
10068
9940
|
});
|
|
10069
9941
|
}
|
|
10070
9942
|
}
|
|
10071
|
-
BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10072
|
-
BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9943
|
+
BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9944
|
+
BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor });
|
|
9945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
|
|
10074
9946
|
type: Injectable
|
|
10075
9947
|
}], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
|
|
10076
9948
|
|
|
@@ -10171,9 +10043,7 @@ class UserService {
|
|
|
10171
10043
|
*/
|
|
10172
10044
|
search(email) {
|
|
10173
10045
|
return this.http.get(`${this.environment.apiV2}/users/search?email=${email}`)
|
|
10174
|
-
.pipe(map((userBase) =>
|
|
10175
|
-
return plainToClass(User, userBase);
|
|
10176
|
-
}));
|
|
10046
|
+
.pipe(map((userBase) => plainToClass(User, userBase)));
|
|
10177
10047
|
}
|
|
10178
10048
|
/**
|
|
10179
10049
|
* Finish onboarding process
|
|
@@ -10247,9 +10117,9 @@ class UserService {
|
|
|
10247
10117
|
});
|
|
10248
10118
|
}
|
|
10249
10119
|
}
|
|
10250
|
-
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10251
|
-
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10120
|
+
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10121
|
+
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
10122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, decorators: [{
|
|
10253
10123
|
type: Injectable,
|
|
10254
10124
|
args: [{
|
|
10255
10125
|
providedIn: 'root'
|
|
@@ -10281,17 +10151,17 @@ class BasiqClientIdInterceptor {
|
|
|
10281
10151
|
});
|
|
10282
10152
|
}
|
|
10283
10153
|
}
|
|
10284
|
-
BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10285
|
-
BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10154
|
+
BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10155
|
+
BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor });
|
|
10156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
|
|
10287
10157
|
type: Injectable
|
|
10288
10158
|
}], ctorParameters: function () { return [{ type: UserService }]; } });
|
|
10289
10159
|
|
|
10290
10160
|
class InterceptorsModule {
|
|
10291
10161
|
}
|
|
10292
|
-
InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10293
|
-
InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
10294
|
-
InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
10162
|
+
InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10163
|
+
InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule });
|
|
10164
|
+
InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, providers: [
|
|
10295
10165
|
{
|
|
10296
10166
|
provide: HTTP_INTERCEPTORS,
|
|
10297
10167
|
useClass: CorelogicInterceptor,
|
|
@@ -10329,7 +10199,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
10329
10199
|
multi: true
|
|
10330
10200
|
}
|
|
10331
10201
|
] });
|
|
10332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, decorators: [{
|
|
10333
10203
|
type: NgModule,
|
|
10334
10204
|
args: [{
|
|
10335
10205
|
providers: [
|
|
@@ -10387,12 +10257,12 @@ class TtCoreModule {
|
|
|
10387
10257
|
};
|
|
10388
10258
|
}
|
|
10389
10259
|
}
|
|
10390
|
-
TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10391
|
-
TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
10260
|
+
TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10261
|
+
TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
|
|
10392
10262
|
InterceptorsModule] });
|
|
10393
|
-
TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
10263
|
+
TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
|
|
10394
10264
|
InterceptorsModule] });
|
|
10395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, decorators: [{
|
|
10396
10266
|
type: NgModule,
|
|
10397
10267
|
args: [{
|
|
10398
10268
|
declarations: [],
|
|
@@ -11990,9 +11860,7 @@ class AddressService {
|
|
|
11990
11860
|
getCountries() {
|
|
11991
11861
|
if (!this._countries) {
|
|
11992
11862
|
this.http.get(`${this.environment.apiV2}/countries`)
|
|
11993
|
-
.pipe(map((response) =>
|
|
11994
|
-
return response['hydra:member'].map((item) => plainToClass(Country, item));
|
|
11995
|
-
}))
|
|
11863
|
+
.pipe(map((response) => response['hydra:member'].map((item) => plainToClass(Country, item))))
|
|
11996
11864
|
.subscribe((countries) => {
|
|
11997
11865
|
this._countries = countries;
|
|
11998
11866
|
this.countriesSubject.next(countries);
|
|
@@ -12001,9 +11869,9 @@ class AddressService {
|
|
|
12001
11869
|
return this.countriesSubject.asObservable();
|
|
12002
11870
|
}
|
|
12003
11871
|
}
|
|
12004
|
-
AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12005
|
-
AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
11872
|
+
AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11873
|
+
AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, providedIn: 'root' });
|
|
11874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, decorators: [{
|
|
12007
11875
|
type: Injectable,
|
|
12008
11876
|
args: [{
|
|
12009
11877
|
providedIn: 'root'
|
|
@@ -12059,9 +11927,9 @@ class BankAccountService extends RestService$1 {
|
|
|
12059
11927
|
});
|
|
12060
11928
|
}
|
|
12061
11929
|
}
|
|
12062
|
-
BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12063
|
-
BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
11930
|
+
BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11931
|
+
BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, providedIn: 'root' });
|
|
11932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, decorators: [{
|
|
12065
11933
|
type: Injectable,
|
|
12066
11934
|
args: [{
|
|
12067
11935
|
providedIn: 'root'
|
|
@@ -12082,16 +11950,13 @@ class BankTransactionService extends RestService$1 {
|
|
|
12082
11950
|
listenEvents() {
|
|
12083
11951
|
this.listenBankTransactionsImport();
|
|
12084
11952
|
}
|
|
12085
|
-
;
|
|
12086
11953
|
/**
|
|
12087
11954
|
* Get list of bank transactions for provided financial year
|
|
12088
11955
|
* @TODO VIK/Alex: consider to use one endpoint to get bank transactions for 2 fin years
|
|
12089
11956
|
*/
|
|
12090
11957
|
getByYear(finYear) {
|
|
12091
11958
|
return this.http.get(`${this.environment.apiV2}/bank-transactions?financialYear=${finYear}`)
|
|
12092
|
-
.pipe(map((bankTransactionsBase) =>
|
|
12093
|
-
return bankTransactionsBase.map((bankTransaction) => plainToClass(BankTransaction, bankTransaction));
|
|
12094
|
-
}));
|
|
11959
|
+
.pipe(map((bankTransactionsBase) => bankTransactionsBase.map((bankTransaction) => plainToClass(BankTransaction, bankTransaction))));
|
|
12095
11960
|
}
|
|
12096
11961
|
/**
|
|
12097
11962
|
* import bank transactions from csv file
|
|
@@ -12126,9 +11991,9 @@ class BankTransactionService extends RestService$1 {
|
|
|
12126
11991
|
});
|
|
12127
11992
|
}
|
|
12128
11993
|
}
|
|
12129
|
-
BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12130
|
-
BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
11994
|
+
BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11995
|
+
BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
|
|
11996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, decorators: [{
|
|
12132
11997
|
type: Injectable,
|
|
12133
11998
|
args: [{
|
|
12134
11999
|
providedIn: 'root'
|
|
@@ -12149,16 +12014,15 @@ class BankService extends RestService$1 {
|
|
|
12149
12014
|
}
|
|
12150
12015
|
get() {
|
|
12151
12016
|
return super.get()
|
|
12152
|
-
.pipe(map((banks) =>
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
}));
|
|
12017
|
+
.pipe(map((banks) =>
|
|
12018
|
+
// exclude basiq banks without login fields (basiq may return broken banks without loginFields)
|
|
12019
|
+
// @TODO Vik/Nikita: do it on backend
|
|
12020
|
+
banks.filter((bank) => bank.isManual || (!!bank.externalId && !!bank.loginFields))));
|
|
12157
12021
|
}
|
|
12158
12022
|
}
|
|
12159
|
-
BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12160
|
-
BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12023
|
+
BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12024
|
+
BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, providedIn: 'root' });
|
|
12025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, decorators: [{
|
|
12162
12026
|
type: Injectable,
|
|
12163
12027
|
args: [{
|
|
12164
12028
|
providedIn: 'root'
|
|
@@ -12178,9 +12042,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
|
|
|
12178
12042
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
12179
12043
|
}
|
|
12180
12044
|
}
|
|
12181
|
-
ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12182
|
-
ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12045
|
+
ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12046
|
+
ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
|
|
12047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
|
|
12184
12048
|
type: Injectable,
|
|
12185
12049
|
args: [{
|
|
12186
12050
|
providedIn: 'root'
|
|
@@ -12220,9 +12084,9 @@ class ChartAccountsService extends RestService$1 {
|
|
|
12220
12084
|
}));
|
|
12221
12085
|
}
|
|
12222
12086
|
}
|
|
12223
|
-
ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12224
|
-
ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12087
|
+
ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12088
|
+
ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
|
|
12089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, decorators: [{
|
|
12226
12090
|
type: Injectable,
|
|
12227
12091
|
args: [{
|
|
12228
12092
|
providedIn: 'root'
|
|
@@ -12252,7 +12116,7 @@ class ChatService extends RestService$1 {
|
|
|
12252
12116
|
*/
|
|
12253
12117
|
listenChats() {
|
|
12254
12118
|
this.sseService.on(`chats`).subscribe((chatBase) => {
|
|
12255
|
-
|
|
12119
|
+
const array = this.cache.toArray();
|
|
12256
12120
|
// chat instance from event
|
|
12257
12121
|
const eventChat = plainToClass(Chat, chatBase);
|
|
12258
12122
|
// chat instance from cache
|
|
@@ -12291,9 +12155,9 @@ class ChatService extends RestService$1 {
|
|
|
12291
12155
|
});
|
|
12292
12156
|
}
|
|
12293
12157
|
}
|
|
12294
|
-
ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12295
|
-
ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12158
|
+
ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12159
|
+
ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, providedIn: 'root' });
|
|
12160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, decorators: [{
|
|
12297
12161
|
type: Injectable,
|
|
12298
12162
|
args: [{
|
|
12299
12163
|
providedIn: 'root'
|
|
@@ -12352,9 +12216,9 @@ class MessageService extends RestService$1 {
|
|
|
12352
12216
|
});
|
|
12353
12217
|
}
|
|
12354
12218
|
}
|
|
12355
|
-
MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12356
|
-
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12219
|
+
MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12220
|
+
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, providedIn: 'root' });
|
|
12221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, decorators: [{
|
|
12358
12222
|
type: Injectable,
|
|
12359
12223
|
args: [{
|
|
12360
12224
|
providedIn: 'root'
|
|
@@ -12423,14 +12287,12 @@ class MessageDocumentService extends RestService$1 {
|
|
|
12423
12287
|
* Upload multiple files to chat
|
|
12424
12288
|
*/
|
|
12425
12289
|
addBatch(chatId, files) {
|
|
12426
|
-
return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) =>
|
|
12427
|
-
return docsBase.map((docBase) => plainToClass(MessageDocument, docBase));
|
|
12428
|
-
}));
|
|
12290
|
+
return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
|
|
12429
12291
|
}
|
|
12430
12292
|
}
|
|
12431
|
-
MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12432
|
-
MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12293
|
+
MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12294
|
+
MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
|
|
12295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, decorators: [{
|
|
12434
12296
|
type: Injectable,
|
|
12435
12297
|
args: [{
|
|
12436
12298
|
providedIn: 'root'
|
|
@@ -12490,9 +12352,7 @@ class DepreciationService extends RestService$1 {
|
|
|
12490
12352
|
}
|
|
12491
12353
|
getOpenBalance(depreciation) {
|
|
12492
12354
|
return this.http.post(`${this.apiUrl}/opening-balance?financialYear=${new FinancialYear().year}`, depreciation)
|
|
12493
|
-
.pipe(map((response) =>
|
|
12494
|
-
return response || 0;
|
|
12495
|
-
}));
|
|
12355
|
+
.pipe(map((response) => response || 0));
|
|
12496
12356
|
}
|
|
12497
12357
|
listenReceiptAdded() {
|
|
12498
12358
|
this.eventDispatcherService.on(AppEventTypeEnum.DEPRECIATION_RECEIPT_CREATED).subscribe((receipt) => {
|
|
@@ -12555,9 +12415,9 @@ class DepreciationService extends RestService$1 {
|
|
|
12555
12415
|
});
|
|
12556
12416
|
}
|
|
12557
12417
|
}
|
|
12558
|
-
DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12559
|
-
DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12418
|
+
DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12419
|
+
DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, providedIn: 'root' });
|
|
12420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, decorators: [{
|
|
12561
12421
|
type: Injectable,
|
|
12562
12422
|
args: [{
|
|
12563
12423
|
providedIn: 'root'
|
|
@@ -12582,9 +12442,7 @@ class DepreciationCapitalProjectService {
|
|
|
12582
12442
|
this.cacheSubject.next([]);
|
|
12583
12443
|
this.http.get(`${this.environment.apiV2}/properties/${propertyId}/depreciation-capital-projects`)
|
|
12584
12444
|
.subscribe((capitalProjectsBase) => {
|
|
12585
|
-
this.cache = capitalProjectsBase.map((capitalProjectBase) =>
|
|
12586
|
-
return plainToClass(DepreciationCapitalProject, capitalProjectBase);
|
|
12587
|
-
});
|
|
12445
|
+
this.cache = capitalProjectsBase.map((capitalProjectBase) => plainToClass(DepreciationCapitalProject, capitalProjectBase));
|
|
12588
12446
|
this.cacheSubject.next(this.cache);
|
|
12589
12447
|
});
|
|
12590
12448
|
return this.cacheSubject.asObservable();
|
|
@@ -12611,9 +12469,9 @@ class DepreciationCapitalProjectService {
|
|
|
12611
12469
|
}));
|
|
12612
12470
|
}
|
|
12613
12471
|
}
|
|
12614
|
-
DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12615
|
-
DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12472
|
+
DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12473
|
+
DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
|
|
12474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
|
|
12617
12475
|
type: Injectable,
|
|
12618
12476
|
args: [{
|
|
12619
12477
|
providedIn: 'root'
|
|
@@ -12681,9 +12539,9 @@ class ReceiptService {
|
|
|
12681
12539
|
return plainToClass(this.modelClass, data);
|
|
12682
12540
|
}
|
|
12683
12541
|
}
|
|
12684
|
-
ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12685
|
-
ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12542
|
+
ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12543
|
+
ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, providedIn: 'root' });
|
|
12544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ReceiptService, decorators: [{
|
|
12687
12545
|
type: Injectable,
|
|
12688
12546
|
args: [{
|
|
12689
12547
|
providedIn: 'root'
|
|
@@ -12714,9 +12572,9 @@ class DepreciationReceiptService extends ReceiptService {
|
|
|
12714
12572
|
this.listenEvents();
|
|
12715
12573
|
}
|
|
12716
12574
|
}
|
|
12717
|
-
DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12718
|
-
DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12575
|
+
DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12576
|
+
DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
|
|
12577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationReceiptService, decorators: [{
|
|
12720
12578
|
type: Injectable,
|
|
12721
12579
|
args: [{
|
|
12722
12580
|
providedIn: 'root'
|
|
@@ -12761,9 +12619,7 @@ class RestService {
|
|
|
12761
12619
|
*/
|
|
12762
12620
|
findById(id) {
|
|
12763
12621
|
return this.get()
|
|
12764
|
-
.pipe(map((items) =>
|
|
12765
|
-
return items.find((item) => item['id'] === id);
|
|
12766
|
-
}));
|
|
12622
|
+
.pipe(map((items) => items.find((item) => item['id'] === id)));
|
|
12767
12623
|
}
|
|
12768
12624
|
find(id) {
|
|
12769
12625
|
return this.cache.find((item) => item['id'] === id);
|
|
@@ -12800,7 +12656,7 @@ class RestService {
|
|
|
12800
12656
|
postForm(file, params = {}) {
|
|
12801
12657
|
const formData = new FormData();
|
|
12802
12658
|
formData.append('file', file);
|
|
12803
|
-
for (
|
|
12659
|
+
for (const key in params) {
|
|
12804
12660
|
formData.append(key, params[key]);
|
|
12805
12661
|
}
|
|
12806
12662
|
return this.create(formData);
|
|
@@ -12905,9 +12761,7 @@ class RestService {
|
|
|
12905
12761
|
return this.http.get(`${this.environment.apiV2}/${this.url}`)
|
|
12906
12762
|
.pipe(map((response) => {
|
|
12907
12763
|
const items = (this.isHydra ? response['hydra:member'] : response)
|
|
12908
|
-
.map((item) =>
|
|
12909
|
-
return this.createModelInstance(item);
|
|
12910
|
-
});
|
|
12764
|
+
.map((item) => this.createModelInstance(item));
|
|
12911
12765
|
this.cache = items;
|
|
12912
12766
|
this.updateCache();
|
|
12913
12767
|
return items;
|
|
@@ -12932,9 +12786,9 @@ class RestService {
|
|
|
12932
12786
|
*/
|
|
12933
12787
|
listenEvents() { }
|
|
12934
12788
|
}
|
|
12935
|
-
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12936
|
-
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12789
|
+
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12790
|
+
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
12791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, decorators: [{
|
|
12938
12792
|
type: Injectable,
|
|
12939
12793
|
args: [{
|
|
12940
12794
|
providedIn: 'root'
|
|
@@ -12953,9 +12807,9 @@ class DocumentService extends RestService {
|
|
|
12953
12807
|
this.modelClass = Document;
|
|
12954
12808
|
}
|
|
12955
12809
|
}
|
|
12956
|
-
DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12957
|
-
DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12810
|
+
DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12811
|
+
DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, providedIn: 'root' });
|
|
12812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, decorators: [{
|
|
12959
12813
|
type: Injectable,
|
|
12960
12814
|
args: [{
|
|
12961
12815
|
providedIn: 'root'
|
|
@@ -13021,9 +12875,9 @@ class DocumentFolderService extends RestService {
|
|
|
13021
12875
|
}));
|
|
13022
12876
|
}
|
|
13023
12877
|
}
|
|
13024
|
-
DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13025
|
-
DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12878
|
+
DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12879
|
+
DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
|
|
12880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, decorators: [{
|
|
13027
12881
|
type: Injectable,
|
|
13028
12882
|
args: [{
|
|
13029
12883
|
providedIn: 'root'
|
|
@@ -13100,9 +12954,9 @@ FacebookService.authOptions = {
|
|
|
13100
12954
|
auth_type: 'rerequest',
|
|
13101
12955
|
return_scopes: true
|
|
13102
12956
|
};
|
|
13103
|
-
FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13104
|
-
FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12957
|
+
FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12958
|
+
FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, providedIn: 'root' });
|
|
12959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, decorators: [{
|
|
13106
12960
|
type: Injectable,
|
|
13107
12961
|
args: [{
|
|
13108
12962
|
providedIn: 'root'
|
|
@@ -13172,9 +13026,9 @@ class GoogleService {
|
|
|
13172
13026
|
google.accounts.id.disableAutoSelect();
|
|
13173
13027
|
}
|
|
13174
13028
|
}
|
|
13175
|
-
GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13176
|
-
GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13029
|
+
GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13030
|
+
GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, providedIn: 'root' });
|
|
13031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, decorators: [{
|
|
13178
13032
|
type: Injectable,
|
|
13179
13033
|
args: [{
|
|
13180
13034
|
providedIn: 'root'
|
|
@@ -13205,9 +13059,9 @@ class FileService extends RestService$1 {
|
|
|
13205
13059
|
return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
|
|
13206
13060
|
}
|
|
13207
13061
|
}
|
|
13208
|
-
FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13209
|
-
FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13062
|
+
FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13063
|
+
FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, providedIn: 'root' });
|
|
13064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, decorators: [{
|
|
13211
13065
|
type: Injectable,
|
|
13212
13066
|
args: [{
|
|
13213
13067
|
providedIn: 'root'
|
|
@@ -13224,9 +13078,9 @@ class ClientIncomeTypesService extends RestService$1 {
|
|
|
13224
13078
|
this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
|
|
13225
13079
|
}
|
|
13226
13080
|
}
|
|
13227
|
-
ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13228
|
-
ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13081
|
+
ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13082
|
+
ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
|
|
13083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
|
|
13230
13084
|
type: Injectable,
|
|
13231
13085
|
args: [{
|
|
13232
13086
|
providedIn: 'root'
|
|
@@ -13262,9 +13116,7 @@ class ClientInviteService extends RestService {
|
|
|
13262
13116
|
const formData = new FormData();
|
|
13263
13117
|
formData.append('file', file);
|
|
13264
13118
|
return this.http.post(`${this.environment.apiV2}/${this.url}/import`, formData)
|
|
13265
|
-
.pipe(map((clientInvite) =>
|
|
13266
|
-
return clientInvite;
|
|
13267
|
-
}));
|
|
13119
|
+
.pipe(map((clientInvite) => clientInvite));
|
|
13268
13120
|
}
|
|
13269
13121
|
/**
|
|
13270
13122
|
* Accept client invitation from firm to user
|
|
@@ -13341,9 +13193,9 @@ class ClientInviteService extends RestService {
|
|
|
13341
13193
|
});
|
|
13342
13194
|
}
|
|
13343
13195
|
}
|
|
13344
|
-
ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13345
|
-
ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13196
|
+
ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13197
|
+
ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
|
|
13198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, decorators: [{
|
|
13347
13199
|
type: Injectable,
|
|
13348
13200
|
args: [{
|
|
13349
13201
|
providedIn: 'root'
|
|
@@ -13365,19 +13217,13 @@ class ClientMovementService extends RestService {
|
|
|
13365
13217
|
* @TODO BaseRestService should return collection
|
|
13366
13218
|
*/
|
|
13367
13219
|
getAll() {
|
|
13368
|
-
return this.get().pipe(map((clientMovements) =>
|
|
13369
|
-
return new ClientMovementCollection(clientMovements);
|
|
13370
|
-
}));
|
|
13220
|
+
return this.get().pipe(map((clientMovements) => new ClientMovementCollection(clientMovements)));
|
|
13371
13221
|
}
|
|
13372
13222
|
getActive() {
|
|
13373
|
-
return this.getAll().pipe(map((clientMovements) =>
|
|
13374
|
-
return clientMovements.active;
|
|
13375
|
-
}));
|
|
13223
|
+
return this.getAll().pipe(map((clientMovements) => clientMovements.active));
|
|
13376
13224
|
}
|
|
13377
13225
|
getActiveByFirmType(type) {
|
|
13378
|
-
return this.getActive().pipe(map((clientMovements) =>
|
|
13379
|
-
return clientMovements.getByFirmType(type);
|
|
13380
|
-
}));
|
|
13226
|
+
return this.getActive().pipe(map((clientMovements) => clientMovements.getByFirmType(type)));
|
|
13381
13227
|
}
|
|
13382
13228
|
update(movement) {
|
|
13383
13229
|
// extend base 'add' method and pass into it movement without id
|
|
@@ -13422,9 +13268,9 @@ class ClientMovementService extends RestService {
|
|
|
13422
13268
|
});
|
|
13423
13269
|
}
|
|
13424
13270
|
}
|
|
13425
|
-
ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13426
|
-
ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13271
|
+
ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13272
|
+
ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
|
|
13273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, decorators: [{
|
|
13428
13274
|
type: Injectable,
|
|
13429
13275
|
args: [{
|
|
13430
13276
|
providedIn: 'root'
|
|
@@ -13453,9 +13299,9 @@ class EmployeeService extends RestService {
|
|
|
13453
13299
|
}));
|
|
13454
13300
|
}
|
|
13455
13301
|
}
|
|
13456
|
-
EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13457
|
-
EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13302
|
+
EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13303
|
+
EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, providedIn: 'root' });
|
|
13304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, decorators: [{
|
|
13459
13305
|
type: Injectable,
|
|
13460
13306
|
args: [{
|
|
13461
13307
|
providedIn: 'root'
|
|
@@ -13476,9 +13322,7 @@ class EmployeeInviteService extends RestService {
|
|
|
13476
13322
|
const formData = new FormData();
|
|
13477
13323
|
formData.append('file', file);
|
|
13478
13324
|
return this.http.post(`${this.environment.apiV2}/${this.url}/import`, formData)
|
|
13479
|
-
.pipe(map((employeeInvite) =>
|
|
13480
|
-
return employeeInvite;
|
|
13481
|
-
}));
|
|
13325
|
+
.pipe(map((employeeInvite) => employeeInvite));
|
|
13482
13326
|
}
|
|
13483
13327
|
/**
|
|
13484
13328
|
* Resend invitation from firm to client
|
|
@@ -13498,9 +13342,9 @@ class EmployeeInviteService extends RestService {
|
|
|
13498
13342
|
}));
|
|
13499
13343
|
}
|
|
13500
13344
|
}
|
|
13501
|
-
EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13502
|
-
EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13345
|
+
EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13346
|
+
EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
|
|
13347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, decorators: [{
|
|
13504
13348
|
type: Injectable,
|
|
13505
13349
|
args: [{
|
|
13506
13350
|
providedIn: 'root'
|
|
@@ -13525,9 +13369,9 @@ class ClientPortfolioReportService {
|
|
|
13525
13369
|
}));
|
|
13526
13370
|
}
|
|
13527
13371
|
}
|
|
13528
|
-
ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13529
|
-
ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13372
|
+
ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13373
|
+
ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
|
|
13374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
|
|
13531
13375
|
type: Injectable,
|
|
13532
13376
|
args: [{
|
|
13533
13377
|
providedIn: 'root'
|
|
@@ -13552,16 +13396,12 @@ class FirmService {
|
|
|
13552
13396
|
*/
|
|
13553
13397
|
register(data) {
|
|
13554
13398
|
return this.http.post(`${this.environment.apiV2}/firms/registration`, data)
|
|
13555
|
-
.pipe(map((firm) =>
|
|
13556
|
-
return plainToClass(Firm, firm);
|
|
13557
|
-
}));
|
|
13399
|
+
.pipe(map((firm) => plainToClass(Firm, firm)));
|
|
13558
13400
|
}
|
|
13559
13401
|
get() {
|
|
13560
13402
|
if (!this.firm) {
|
|
13561
13403
|
this.http.get(`${this.environment.apiV2}/firms/current`)
|
|
13562
|
-
.pipe(map((firm) =>
|
|
13563
|
-
return plainToClass(Firm, firm);
|
|
13564
|
-
}))
|
|
13404
|
+
.pipe(map((firm) => plainToClass(Firm, firm)))
|
|
13565
13405
|
.subscribe((firm) => {
|
|
13566
13406
|
this.firm = firm;
|
|
13567
13407
|
this.firmSubject.next(this.firm);
|
|
@@ -13581,14 +13421,10 @@ class FirmService {
|
|
|
13581
13421
|
*/
|
|
13582
13422
|
getAll() {
|
|
13583
13423
|
return this.http.get(`${this.environment.apiV2}/firms`)
|
|
13584
|
-
.pipe(map((response) =>
|
|
13585
|
-
return response['hydra:member'].map((firmBase) => plainToClass(Firm, firmBase));
|
|
13586
|
-
}));
|
|
13424
|
+
.pipe(map((response) => response['hydra:member'].map((firmBase) => plainToClass(Firm, firmBase))));
|
|
13587
13425
|
}
|
|
13588
13426
|
getByType(type) {
|
|
13589
|
-
return this.getAll().pipe(map((firms) =>
|
|
13590
|
-
return firms.filter((firm) => firm.type === type);
|
|
13591
|
-
}));
|
|
13427
|
+
return this.getAll().pipe(map((firms) => firms.filter((firm) => firm.type === type)));
|
|
13592
13428
|
}
|
|
13593
13429
|
updatePhoto(firm, photo) {
|
|
13594
13430
|
return this.http.post(`${this.environment.apiV2}/firms/photo?_method=PUT`, photo)
|
|
@@ -13599,9 +13435,9 @@ class FirmService {
|
|
|
13599
13435
|
}));
|
|
13600
13436
|
}
|
|
13601
13437
|
}
|
|
13602
|
-
FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13603
|
-
FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13438
|
+
FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13439
|
+
FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, providedIn: 'root' });
|
|
13440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, decorators: [{
|
|
13605
13441
|
type: Injectable,
|
|
13606
13442
|
args: [{
|
|
13607
13443
|
providedIn: 'root'
|
|
@@ -13676,9 +13512,9 @@ class IncomeSourceForecastService extends RestService {
|
|
|
13676
13512
|
}).flat();
|
|
13677
13513
|
}
|
|
13678
13514
|
}
|
|
13679
|
-
IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13680
|
-
IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13515
|
+
IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13516
|
+
IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
|
|
13517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
|
|
13682
13518
|
type: Injectable,
|
|
13683
13519
|
args: [{
|
|
13684
13520
|
providedIn: 'root'
|
|
@@ -13748,9 +13584,9 @@ class SalaryForecastService extends RestService {
|
|
|
13748
13584
|
}).flat();
|
|
13749
13585
|
}
|
|
13750
13586
|
}
|
|
13751
|
-
SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13752
|
-
SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13587
|
+
SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13588
|
+
SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
|
|
13589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, decorators: [{
|
|
13754
13590
|
type: Injectable,
|
|
13755
13591
|
args: [{
|
|
13756
13592
|
providedIn: 'root'
|
|
@@ -13826,9 +13662,9 @@ class SoleForecastService extends RestService {
|
|
|
13826
13662
|
});
|
|
13827
13663
|
}
|
|
13828
13664
|
}
|
|
13829
|
-
SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13830
|
-
SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13665
|
+
SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13666
|
+
SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
|
|
13667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, decorators: [{
|
|
13832
13668
|
type: Injectable,
|
|
13833
13669
|
args: [{
|
|
13834
13670
|
providedIn: 'root'
|
|
@@ -13854,9 +13690,7 @@ class IncomeSourceService extends RestService {
|
|
|
13854
13690
|
*/
|
|
13855
13691
|
getTaxCalculation(salaryForecast) {
|
|
13856
13692
|
return this.http.post(`${this.environment.apiV2}/${this.url}/tax-calculation`, salaryForecast)
|
|
13857
|
-
.pipe(map((response) =>
|
|
13858
|
-
return plainToClass(SalaryForecast, response);
|
|
13859
|
-
}));
|
|
13693
|
+
.pipe(map((response) => plainToClass(SalaryForecast, response)));
|
|
13860
13694
|
}
|
|
13861
13695
|
/**
|
|
13862
13696
|
* Add batch of income sources
|
|
@@ -13907,9 +13741,7 @@ class IncomeSourceService extends RestService {
|
|
|
13907
13741
|
if (!this.incomeSourceTypes) {
|
|
13908
13742
|
this.incomeSourceTypes = [];
|
|
13909
13743
|
this.http.get(`${this.environment.apiV2}/income-source-types`)
|
|
13910
|
-
.pipe(map((response) =>
|
|
13911
|
-
return response.map((item) => plainToClass(IncomeSourceType, item));
|
|
13912
|
-
}))
|
|
13744
|
+
.pipe(map((response) => response.map((item) => plainToClass(IncomeSourceType, item))))
|
|
13913
13745
|
.subscribe((otherIncomesTypes) => {
|
|
13914
13746
|
this.incomeSourceTypes = otherIncomesTypes;
|
|
13915
13747
|
this.incomeSourceTypeSubject.next(this.incomeSourceTypes);
|
|
@@ -13927,9 +13759,9 @@ class IncomeSourceService extends RestService {
|
|
|
13927
13759
|
});
|
|
13928
13760
|
}
|
|
13929
13761
|
}
|
|
13930
|
-
IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13931
|
-
IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13762
|
+
IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13763
|
+
IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
|
|
13764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, decorators: [{
|
|
13933
13765
|
type: Injectable,
|
|
13934
13766
|
args: [{
|
|
13935
13767
|
providedIn: 'root'
|
|
@@ -13951,9 +13783,7 @@ class BorrowingExpenseService {
|
|
|
13951
13783
|
get() {
|
|
13952
13784
|
if (!this._borrowingExpenses) {
|
|
13953
13785
|
this.http.get(`${this.environment.apiV2}/borrowing-expenses`)
|
|
13954
|
-
.pipe(map((response) =>
|
|
13955
|
-
return response.map((item) => plainToClass(BorrowingExpense, item));
|
|
13956
|
-
}))
|
|
13786
|
+
.pipe(map((response) => response.map((item) => plainToClass(BorrowingExpense, item))))
|
|
13957
13787
|
.subscribe((borrowingExpenses) => {
|
|
13958
13788
|
this._borrowingExpenses = borrowingExpenses;
|
|
13959
13789
|
this.borrowingExpensesSubject.next(this._borrowingExpenses);
|
|
@@ -13992,9 +13822,9 @@ class BorrowingExpenseService {
|
|
|
13992
13822
|
}));
|
|
13993
13823
|
}
|
|
13994
13824
|
}
|
|
13995
|
-
BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13996
|
-
BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13825
|
+
BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13826
|
+
BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
|
|
13827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, decorators: [{
|
|
13998
13828
|
type: Injectable,
|
|
13999
13829
|
args: [{
|
|
14000
13830
|
providedIn: 'root'
|
|
@@ -14033,9 +13863,7 @@ class LoanService extends RestService$1 {
|
|
|
14033
13863
|
* Calculate loan payments
|
|
14034
13864
|
*/
|
|
14035
13865
|
calculateLoanPayments(loan) {
|
|
14036
|
-
return this.http.post(`${this.apiUrl}/calculation`, loan).pipe(map((response) =>
|
|
14037
|
-
return plainToClass(Loan, response);
|
|
14038
|
-
}));
|
|
13866
|
+
return this.http.post(`${this.apiUrl}/calculation`, loan).pipe(map((response) => plainToClass(Loan, response)));
|
|
14039
13867
|
}
|
|
14040
13868
|
/**
|
|
14041
13869
|
* Add new loan payout
|
|
@@ -14078,9 +13906,9 @@ class LoanService extends RestService$1 {
|
|
|
14078
13906
|
}));
|
|
14079
13907
|
}
|
|
14080
13908
|
}
|
|
14081
|
-
LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14082
|
-
LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13909
|
+
LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13910
|
+
LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, providedIn: 'root' });
|
|
13911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, decorators: [{
|
|
14084
13912
|
type: Injectable,
|
|
14085
13913
|
args: [{
|
|
14086
13914
|
providedIn: 'root'
|
|
@@ -14099,9 +13927,9 @@ class PropertyCategoryService extends RestService$1 {
|
|
|
14099
13927
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14100
13928
|
}
|
|
14101
13929
|
}
|
|
14102
|
-
PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14103
|
-
PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13930
|
+
PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13931
|
+
PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
|
|
13932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, decorators: [{
|
|
14105
13933
|
type: Injectable,
|
|
14106
13934
|
args: [{
|
|
14107
13935
|
providedIn: 'root'
|
|
@@ -14117,9 +13945,9 @@ class PropertyCategoryMovementService extends RestService$1 {
|
|
|
14117
13945
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14118
13946
|
}
|
|
14119
13947
|
}
|
|
14120
|
-
PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14121
|
-
PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13948
|
+
PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13949
|
+
PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
|
|
13950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
|
|
14123
13951
|
type: Injectable,
|
|
14124
13952
|
args: [{
|
|
14125
13953
|
providedIn: 'root'
|
|
@@ -14161,9 +13989,9 @@ class PropertyDocumentService extends RestService$1 {
|
|
|
14161
13989
|
});
|
|
14162
13990
|
}
|
|
14163
13991
|
}
|
|
14164
|
-
PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14165
|
-
PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13992
|
+
PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13993
|
+
PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
|
|
13994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, decorators: [{
|
|
14167
13995
|
type: Injectable,
|
|
14168
13996
|
args: [{
|
|
14169
13997
|
providedIn: 'root'
|
|
@@ -14180,9 +14008,9 @@ class TaxExemptionService extends RestService$1 {
|
|
|
14180
14008
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
14181
14009
|
}
|
|
14182
14010
|
}
|
|
14183
|
-
TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14184
|
-
TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14011
|
+
TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14012
|
+
TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
|
|
14013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, decorators: [{
|
|
14186
14014
|
type: Injectable,
|
|
14187
14015
|
args: [{
|
|
14188
14016
|
providedIn: 'root'
|
|
@@ -14198,9 +14026,9 @@ class PropertySaleService extends RestService$1 {
|
|
|
14198
14026
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14199
14027
|
}
|
|
14200
14028
|
}
|
|
14201
|
-
PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14202
|
-
PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14029
|
+
PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14030
|
+
PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
|
|
14031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, decorators: [{
|
|
14204
14032
|
type: Injectable,
|
|
14205
14033
|
args: [{
|
|
14206
14034
|
providedIn: 'root'
|
|
@@ -14247,9 +14075,9 @@ class PropertyShareService extends RestService$1 {
|
|
|
14247
14075
|
this.listenCSE(PropertySale, ['post', 'delete'], this.resetCache);
|
|
14248
14076
|
}
|
|
14249
14077
|
}
|
|
14250
|
-
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14251
|
-
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14078
|
+
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14079
|
+
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
|
|
14080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, decorators: [{
|
|
14253
14081
|
type: Injectable,
|
|
14254
14082
|
args: [{
|
|
14255
14083
|
providedIn: 'root'
|
|
@@ -14346,9 +14174,9 @@ class PropertyService extends RestService$1 {
|
|
|
14346
14174
|
}));
|
|
14347
14175
|
}
|
|
14348
14176
|
}
|
|
14349
|
-
PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14350
|
-
PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14177
|
+
PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14178
|
+
PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, providedIn: 'root' });
|
|
14179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, decorators: [{
|
|
14352
14180
|
type: Injectable,
|
|
14353
14181
|
args: [{
|
|
14354
14182
|
providedIn: 'root'
|
|
@@ -14392,9 +14220,9 @@ class ServiceNotificationService extends RestService {
|
|
|
14392
14220
|
});
|
|
14393
14221
|
}
|
|
14394
14222
|
}
|
|
14395
|
-
ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14396
|
-
ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14397
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14223
|
+
ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14224
|
+
ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
|
|
14225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, decorators: [{
|
|
14398
14226
|
type: Injectable,
|
|
14399
14227
|
args: [{
|
|
14400
14228
|
providedIn: 'root'
|
|
@@ -14441,13 +14269,13 @@ class SoleBusinessService extends RestService {
|
|
|
14441
14269
|
if (error.status === 422) {
|
|
14442
14270
|
this.toastService.error(error.error.violations[0].message);
|
|
14443
14271
|
}
|
|
14444
|
-
return throwError
|
|
14272
|
+
return throwError(error);
|
|
14445
14273
|
}));
|
|
14446
14274
|
}
|
|
14447
14275
|
}
|
|
14448
|
-
SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14449
|
-
SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14276
|
+
SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14277
|
+
SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
|
|
14278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, decorators: [{
|
|
14451
14279
|
type: Injectable,
|
|
14452
14280
|
args: [{
|
|
14453
14281
|
providedIn: 'root'
|
|
@@ -14462,9 +14290,9 @@ class SoleBusinessActivityService extends RestService {
|
|
|
14462
14290
|
this.isHydra = true;
|
|
14463
14291
|
}
|
|
14464
14292
|
}
|
|
14465
|
-
SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14466
|
-
SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14293
|
+
SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14294
|
+
SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
|
|
14295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
|
|
14468
14296
|
type: Injectable,
|
|
14469
14297
|
args: [{
|
|
14470
14298
|
providedIn: 'root'
|
|
@@ -14490,9 +14318,9 @@ class SoleBusinessLossService extends RestService {
|
|
|
14490
14318
|
});
|
|
14491
14319
|
}
|
|
14492
14320
|
}
|
|
14493
|
-
SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14494
|
-
SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14321
|
+
SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14322
|
+
SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
|
|
14323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, decorators: [{
|
|
14496
14324
|
type: Injectable,
|
|
14497
14325
|
args: [{
|
|
14498
14326
|
providedIn: 'root'
|
|
@@ -14510,9 +14338,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
|
|
|
14510
14338
|
this.isHydra = true;
|
|
14511
14339
|
}
|
|
14512
14340
|
}
|
|
14513
|
-
SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14514
|
-
SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14341
|
+
SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14342
|
+
SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
|
|
14343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
|
|
14516
14344
|
type: Injectable,
|
|
14517
14345
|
args: [{
|
|
14518
14346
|
providedIn: 'root'
|
|
@@ -14527,9 +14355,9 @@ class SoleContactService extends RestService {
|
|
|
14527
14355
|
this.isHydra = true;
|
|
14528
14356
|
}
|
|
14529
14357
|
}
|
|
14530
|
-
SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14531
|
-
SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14358
|
+
SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14359
|
+
SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, providedIn: 'root' });
|
|
14360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, decorators: [{
|
|
14533
14361
|
type: Injectable,
|
|
14534
14362
|
args: [{
|
|
14535
14363
|
providedIn: 'root'
|
|
@@ -14574,7 +14402,7 @@ class SoleDepreciationMethodService {
|
|
|
14574
14402
|
return this.cache;
|
|
14575
14403
|
}), catchError((error) => {
|
|
14576
14404
|
this.toastService.error(error.error['hydra:description']);
|
|
14577
|
-
return throwError
|
|
14405
|
+
return throwError(error);
|
|
14578
14406
|
}));
|
|
14579
14407
|
}
|
|
14580
14408
|
listenSoleDetailsChanges() {
|
|
@@ -14585,9 +14413,9 @@ class SoleDepreciationMethodService {
|
|
|
14585
14413
|
});
|
|
14586
14414
|
}
|
|
14587
14415
|
}
|
|
14588
|
-
SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14589
|
-
SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14416
|
+
SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14417
|
+
SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
|
|
14418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
|
|
14591
14419
|
type: Injectable,
|
|
14592
14420
|
args: [{
|
|
14593
14421
|
providedIn: 'root'
|
|
@@ -14642,9 +14470,9 @@ class SoleDetailsService {
|
|
|
14642
14470
|
}));
|
|
14643
14471
|
}
|
|
14644
14472
|
}
|
|
14645
|
-
SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14646
|
-
SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14473
|
+
SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14474
|
+
SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
|
|
14475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, decorators: [{
|
|
14648
14476
|
type: Injectable,
|
|
14649
14477
|
args: [{
|
|
14650
14478
|
providedIn: 'root'
|
|
@@ -14720,9 +14548,9 @@ class SoleInvoiceService extends RestService {
|
|
|
14720
14548
|
});
|
|
14721
14549
|
}
|
|
14722
14550
|
}
|
|
14723
|
-
SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14724
|
-
SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14551
|
+
SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14552
|
+
SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
|
|
14553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, decorators: [{
|
|
14726
14554
|
type: Injectable,
|
|
14727
14555
|
args: [{
|
|
14728
14556
|
providedIn: 'root'
|
|
@@ -14737,9 +14565,9 @@ class SoleInvoiceTemplateService extends RestService {
|
|
|
14737
14565
|
this.isHydra = true;
|
|
14738
14566
|
}
|
|
14739
14567
|
}
|
|
14740
|
-
SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14741
|
-
SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14568
|
+
SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14569
|
+
SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
|
|
14570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
|
|
14743
14571
|
type: Injectable,
|
|
14744
14572
|
args: [{
|
|
14745
14573
|
providedIn: 'root'
|
|
@@ -14754,9 +14582,9 @@ class BasReportService extends RestService {
|
|
|
14754
14582
|
this.isHydra = true;
|
|
14755
14583
|
}
|
|
14756
14584
|
}
|
|
14757
|
-
BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14758
|
-
BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14585
|
+
BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14586
|
+
BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, providedIn: 'root' });
|
|
14587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, decorators: [{
|
|
14760
14588
|
type: Injectable,
|
|
14761
14589
|
args: [{
|
|
14762
14590
|
providedIn: 'root'
|
|
@@ -14782,9 +14610,9 @@ class ServicePaymentService extends RestService$1 {
|
|
|
14782
14610
|
return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
|
|
14783
14611
|
}
|
|
14784
14612
|
}
|
|
14785
|
-
ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14786
|
-
ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14613
|
+
ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14614
|
+
ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
|
|
14615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, decorators: [{
|
|
14788
14616
|
type: Injectable,
|
|
14789
14617
|
args: [{
|
|
14790
14618
|
providedIn: 'root'
|
|
@@ -14832,9 +14660,9 @@ class ServicePaymentMethodService extends RestService$1 {
|
|
|
14832
14660
|
});
|
|
14833
14661
|
}
|
|
14834
14662
|
}
|
|
14835
|
-
ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14836
|
-
ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14663
|
+
ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14664
|
+
ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
|
|
14665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
|
|
14838
14666
|
type: Injectable,
|
|
14839
14667
|
args: [{
|
|
14840
14668
|
providedIn: 'root'
|
|
@@ -14859,9 +14687,9 @@ class ServicePriceService extends RestService$1 {
|
|
|
14859
14687
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
14860
14688
|
}
|
|
14861
14689
|
}
|
|
14862
|
-
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14863
|
-
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14690
|
+
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14691
|
+
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
|
|
14692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, decorators: [{
|
|
14865
14693
|
type: Injectable,
|
|
14866
14694
|
args: [{
|
|
14867
14695
|
providedIn: 'root'
|
|
@@ -14939,9 +14767,7 @@ class SubscriptionService extends RestService$1 {
|
|
|
14939
14767
|
* Get difference between current subscription and selected new subscription
|
|
14940
14768
|
*/
|
|
14941
14769
|
getProrationCost(subscription) {
|
|
14942
|
-
return this.http.put(`${this.environment.apiV2}/service-subscriptions/${subscription.id}/proration-cost`, subscription).pipe(map((prorationCost) =>
|
|
14943
|
-
return prorationCost;
|
|
14944
|
-
}));
|
|
14770
|
+
return this.http.put(`${this.environment.apiV2}/service-subscriptions/${subscription.id}/proration-cost`, subscription).pipe(map((prorationCost) => prorationCost));
|
|
14945
14771
|
}
|
|
14946
14772
|
/**
|
|
14947
14773
|
* Change subscription plan
|
|
@@ -14979,9 +14805,9 @@ class SubscriptionService extends RestService$1 {
|
|
|
14979
14805
|
});
|
|
14980
14806
|
}
|
|
14981
14807
|
}
|
|
14982
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14983
|
-
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14808
|
+
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14809
|
+
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
|
|
14810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
14985
14811
|
type: Injectable,
|
|
14986
14812
|
args: [{
|
|
14987
14813
|
providedIn: 'root'
|
|
@@ -15003,9 +14829,9 @@ class ServiceProductService extends RestService$1 {
|
|
|
15003
14829
|
this.isApiPlatform = true;
|
|
15004
14830
|
}
|
|
15005
14831
|
}
|
|
15006
|
-
ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15007
|
-
ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14832
|
+
ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14833
|
+
ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
|
|
14834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, decorators: [{
|
|
15009
14835
|
type: Injectable,
|
|
15010
14836
|
args: [{
|
|
15011
14837
|
providedIn: 'root'
|
|
@@ -15037,9 +14863,9 @@ class TaxReviewHistoryService extends RestService {
|
|
|
15037
14863
|
});
|
|
15038
14864
|
}
|
|
15039
14865
|
}
|
|
15040
|
-
TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15041
|
-
TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14866
|
+
TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14867
|
+
TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
|
|
14868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
|
|
15043
14869
|
type: Injectable,
|
|
15044
14870
|
args: [{
|
|
15045
14871
|
providedIn: 'root'
|
|
@@ -15128,9 +14954,9 @@ class TaxReviewService extends RestService {
|
|
|
15128
14954
|
});
|
|
15129
14955
|
}
|
|
15130
14956
|
}
|
|
15131
|
-
TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15132
|
-
TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14957
|
+
TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14958
|
+
TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
|
|
14959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, decorators: [{
|
|
15134
14960
|
type: Injectable,
|
|
15135
14961
|
args: [{
|
|
15136
14962
|
providedIn: 'root'
|
|
@@ -15187,9 +15013,9 @@ class TaxSummaryService {
|
|
|
15187
15013
|
});
|
|
15188
15014
|
}
|
|
15189
15015
|
}
|
|
15190
|
-
TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15191
|
-
TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15016
|
+
TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15017
|
+
TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
|
|
15018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, decorators: [{
|
|
15193
15019
|
type: Injectable,
|
|
15194
15020
|
args: [{
|
|
15195
15021
|
providedIn: 'root'
|
|
@@ -15210,9 +15036,9 @@ class AllocationRuleService extends RestService$1 {
|
|
|
15210
15036
|
this.isApiPlatform = true;
|
|
15211
15037
|
}
|
|
15212
15038
|
}
|
|
15213
|
-
AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15214
|
-
AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15039
|
+
AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15040
|
+
AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
|
|
15041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, decorators: [{
|
|
15216
15042
|
type: Injectable,
|
|
15217
15043
|
args: [{
|
|
15218
15044
|
providedIn: 'root'
|
|
@@ -15262,9 +15088,7 @@ class TransactionAllocationService extends RestService {
|
|
|
15262
15088
|
getByTransactions(transactions) {
|
|
15263
15089
|
const ids = transactions.map((transaction) => transaction.id);
|
|
15264
15090
|
return this.get()
|
|
15265
|
-
.pipe(map((transactionAllocations) =>
|
|
15266
|
-
return transactionAllocations.filter((allocation) => ids.includes(allocation.transaction.id));
|
|
15267
|
-
}));
|
|
15091
|
+
.pipe(map((transactionAllocations) => transactionAllocations.filter((allocation) => ids.includes(allocation.transaction.id))));
|
|
15268
15092
|
}
|
|
15269
15093
|
listenEvents() {
|
|
15270
15094
|
this.onTransactionsCreated();
|
|
@@ -15303,9 +15127,9 @@ class TransactionAllocationService extends RestService {
|
|
|
15303
15127
|
});
|
|
15304
15128
|
}
|
|
15305
15129
|
}
|
|
15306
|
-
TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15307
|
-
TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15130
|
+
TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15131
|
+
TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
|
|
15132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, decorators: [{
|
|
15309
15133
|
type: Injectable,
|
|
15310
15134
|
args: [{
|
|
15311
15135
|
providedIn: 'root'
|
|
@@ -15331,9 +15155,9 @@ class TransactionReceiptService extends ReceiptService {
|
|
|
15331
15155
|
this.listenEvents();
|
|
15332
15156
|
}
|
|
15333
15157
|
}
|
|
15334
|
-
TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15335
|
-
TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15158
|
+
TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15159
|
+
TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
|
|
15160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionReceiptService, decorators: [{
|
|
15337
15161
|
type: Injectable,
|
|
15338
15162
|
args: [{
|
|
15339
15163
|
providedIn: 'root'
|
|
@@ -15416,42 +15240,31 @@ class TransactionService extends RestService {
|
|
|
15416
15240
|
*/
|
|
15417
15241
|
getByPropertyId(propertyId) {
|
|
15418
15242
|
return this.get()
|
|
15419
|
-
.pipe(map((transactions) => {
|
|
15420
|
-
return transactions.filter((transaction) => {
|
|
15421
|
-
var _a;
|
|
15422
|
-
return ((_a = transaction.property) === null || _a === void 0 ? void 0 : _a.id) === propertyId;
|
|
15423
|
-
});
|
|
15424
|
-
}));
|
|
15243
|
+
.pipe(map((transactions) => transactions.filter((transaction) => { var _a; return ((_a = transaction.property) === null || _a === void 0 ? void 0 : _a.id) === propertyId; })));
|
|
15425
15244
|
}
|
|
15426
15245
|
/**
|
|
15427
15246
|
* get list of transactions with tank type 'Work'
|
|
15428
15247
|
*/
|
|
15429
15248
|
getWorkTransactions() {
|
|
15430
15249
|
return this.get()
|
|
15431
|
-
.pipe(map((transactions) =>
|
|
15432
|
-
return transactions.filter((transaction) => transaction.isWorkTank());
|
|
15433
|
-
}));
|
|
15250
|
+
.pipe(map((transactions) => transactions.filter((transaction) => transaction.isWorkTank())));
|
|
15434
15251
|
}
|
|
15435
15252
|
/**
|
|
15436
15253
|
* Get list of property holding costs (transactions related to vacant land property)
|
|
15437
15254
|
*/
|
|
15438
15255
|
getPropertyHoldingCosts(propertyId) {
|
|
15439
15256
|
return this.get()
|
|
15440
|
-
.pipe(map((transactions) =>
|
|
15441
|
-
|
|
15442
|
-
|
|
15443
|
-
|
|
15444
|
-
.toArray();
|
|
15445
|
-
}));
|
|
15257
|
+
.pipe(map((transactions) => new TransactionCollection(transactions)
|
|
15258
|
+
.filterBy('property.id', propertyId)
|
|
15259
|
+
.filterBy('property.category.id', PropertyCategoryListEnum.VACANT_LAND)
|
|
15260
|
+
.toArray()));
|
|
15446
15261
|
}
|
|
15447
15262
|
/**
|
|
15448
15263
|
* get list of taxable transactions with tank type 'Work'
|
|
15449
15264
|
*/
|
|
15450
15265
|
getTaxableWorkTransactions() {
|
|
15451
15266
|
return this.getWorkTransactions()
|
|
15452
|
-
.pipe(map((transactions) =>
|
|
15453
|
-
return transactions.filter((transaction) => !!transaction.chartAccounts.taxReturnItem);
|
|
15454
|
-
}));
|
|
15267
|
+
.pipe(map((transactions) => transactions.filter((transaction) => !!transaction.chartAccounts.taxReturnItem)));
|
|
15455
15268
|
}
|
|
15456
15269
|
/**
|
|
15457
15270
|
* add multiple transactions
|
|
@@ -15656,9 +15469,9 @@ class TransactionService extends RestService {
|
|
|
15656
15469
|
});
|
|
15657
15470
|
}
|
|
15658
15471
|
}
|
|
15659
|
-
TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15660
|
-
TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15472
|
+
TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15473
|
+
TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, providedIn: 'root' });
|
|
15474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, decorators: [{
|
|
15662
15475
|
type: Injectable,
|
|
15663
15476
|
args: [{
|
|
15664
15477
|
providedIn: 'root'
|
|
@@ -15689,9 +15502,9 @@ class TutorialVideoService {
|
|
|
15689
15502
|
}
|
|
15690
15503
|
TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
|
|
15691
15504
|
TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
|
|
15692
|
-
TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15693
|
-
TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15505
|
+
TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15506
|
+
TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
|
|
15507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, decorators: [{
|
|
15695
15508
|
type: Injectable,
|
|
15696
15509
|
args: [{
|
|
15697
15510
|
providedIn: 'root'
|
|
@@ -15713,9 +15526,9 @@ class VehicleService extends RestService {
|
|
|
15713
15526
|
this.modelClass = Vehicle;
|
|
15714
15527
|
}
|
|
15715
15528
|
}
|
|
15716
|
-
VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15717
|
-
VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15529
|
+
VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15530
|
+
VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, providedIn: 'root' });
|
|
15531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, decorators: [{
|
|
15719
15532
|
type: Injectable,
|
|
15720
15533
|
args: [{
|
|
15721
15534
|
providedIn: 'root'
|
|
@@ -15787,9 +15600,9 @@ class VehicleClaimService extends RestService {
|
|
|
15787
15600
|
combineLatest(batch$).subscribe();
|
|
15788
15601
|
}
|
|
15789
15602
|
}
|
|
15790
|
-
VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15791
|
-
VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15603
|
+
VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15604
|
+
VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
|
|
15605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, decorators: [{
|
|
15793
15606
|
type: Injectable,
|
|
15794
15607
|
args: [{
|
|
15795
15608
|
providedIn: 'root'
|
|
@@ -15866,9 +15679,9 @@ class VehicleClaimDetailsService {
|
|
|
15866
15679
|
this.update(vehicleClaimDetails).subscribe();
|
|
15867
15680
|
}
|
|
15868
15681
|
}
|
|
15869
|
-
VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15870
|
-
VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15682
|
+
VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15683
|
+
VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
|
|
15684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
|
|
15872
15685
|
type: Injectable,
|
|
15873
15686
|
args: [{
|
|
15874
15687
|
providedIn: 'root'
|
|
@@ -15890,9 +15703,9 @@ class VehicleLogbookService extends RestService {
|
|
|
15890
15703
|
this.modelClass = VehicleLogbook;
|
|
15891
15704
|
}
|
|
15892
15705
|
}
|
|
15893
|
-
VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15894
|
-
VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15706
|
+
VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15707
|
+
VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
|
|
15708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, decorators: [{
|
|
15896
15709
|
type: Injectable,
|
|
15897
15710
|
args: [{
|
|
15898
15711
|
providedIn: 'root'
|
|
@@ -15909,9 +15722,9 @@ class AnnualClientDetailsService extends RestService$1 {
|
|
|
15909
15722
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
|
|
15910
15723
|
}
|
|
15911
15724
|
}
|
|
15912
|
-
AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15913
|
-
AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15725
|
+
AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15726
|
+
AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
|
|
15727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
|
|
15915
15728
|
type: Injectable,
|
|
15916
15729
|
args: [{
|
|
15917
15730
|
providedIn: 'root'
|
|
@@ -15933,9 +15746,7 @@ class OccupationService {
|
|
|
15933
15746
|
getOccupations() {
|
|
15934
15747
|
if (!this._occupations) {
|
|
15935
15748
|
this.http.get(`${this.environment.apiV2}/occupations`)
|
|
15936
|
-
.pipe(map((response) =>
|
|
15937
|
-
return response.map((item) => plainToClass(Occupation, item));
|
|
15938
|
-
}))
|
|
15749
|
+
.pipe(map((response) => response.map((item) => plainToClass(Occupation, item))))
|
|
15939
15750
|
.subscribe((occupations) => {
|
|
15940
15751
|
this._occupations = occupations;
|
|
15941
15752
|
this.occupationsSubject.next(occupations);
|
|
@@ -15944,9 +15755,9 @@ class OccupationService {
|
|
|
15944
15755
|
return this.occupationsSubject.asObservable();
|
|
15945
15756
|
}
|
|
15946
15757
|
}
|
|
15947
|
-
OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15948
|
-
OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15758
|
+
OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15759
|
+
OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, providedIn: 'root' });
|
|
15760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, decorators: [{
|
|
15950
15761
|
type: Injectable,
|
|
15951
15762
|
args: [{
|
|
15952
15763
|
providedIn: 'root'
|
|
@@ -15992,9 +15803,9 @@ class UserEventSettingService extends RestService {
|
|
|
15992
15803
|
}));
|
|
15993
15804
|
}
|
|
15994
15805
|
}
|
|
15995
|
-
UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15996
|
-
UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15806
|
+
UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15807
|
+
UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
|
|
15808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, decorators: [{
|
|
15998
15809
|
type: Injectable,
|
|
15999
15810
|
args: [{
|
|
16000
15811
|
providedIn: 'root'
|
|
@@ -16009,9 +15820,9 @@ class UserEventTypeService extends RestService {
|
|
|
16009
15820
|
this.isHydra = true;
|
|
16010
15821
|
}
|
|
16011
15822
|
}
|
|
16012
|
-
UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16013
|
-
UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15823
|
+
UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15824
|
+
UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
|
|
15825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, decorators: [{
|
|
16015
15826
|
type: Injectable,
|
|
16016
15827
|
args: [{
|
|
16017
15828
|
providedIn: 'root'
|
|
@@ -16028,9 +15839,9 @@ class UsersInviteService extends RestService {
|
|
|
16028
15839
|
this.url = 'users/invite';
|
|
16029
15840
|
}
|
|
16030
15841
|
}
|
|
16031
|
-
UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16032
|
-
UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15842
|
+
UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15843
|
+
UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
|
|
15844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, decorators: [{
|
|
16034
15845
|
type: Injectable,
|
|
16035
15846
|
args: [{
|
|
16036
15847
|
providedIn: 'root'
|
|
@@ -16046,10 +15857,13 @@ class HoldingService extends RestService$1 {
|
|
|
16046
15857
|
this.isApiPlatform = true;
|
|
16047
15858
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
16048
15859
|
}
|
|
15860
|
+
listenEvents() {
|
|
15861
|
+
this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.resetCache);
|
|
15862
|
+
}
|
|
16049
15863
|
}
|
|
16050
|
-
HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16051
|
-
HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15864
|
+
HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15865
|
+
HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, providedIn: 'root' });
|
|
15866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, decorators: [{
|
|
16053
15867
|
type: Injectable,
|
|
16054
15868
|
args: [{
|
|
16055
15869
|
providedIn: 'root'
|
|
@@ -16066,9 +15880,9 @@ class HoldingTypeService extends RestService$1 {
|
|
|
16066
15880
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
16067
15881
|
}
|
|
16068
15882
|
}
|
|
16069
|
-
HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16070
|
-
HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15883
|
+
HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15884
|
+
HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
|
|
15885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, decorators: [{
|
|
16072
15886
|
type: Injectable,
|
|
16073
15887
|
args: [{
|
|
16074
15888
|
providedIn: 'root'
|
|
@@ -16085,9 +15899,9 @@ class HoldingSaleService extends RestService$1 {
|
|
|
16085
15899
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
16086
15900
|
}
|
|
16087
15901
|
}
|
|
16088
|
-
HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16089
|
-
HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15902
|
+
HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15903
|
+
HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
|
|
15904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, decorators: [{
|
|
16091
15905
|
type: Injectable,
|
|
16092
15906
|
args: [{
|
|
16093
15907
|
providedIn: 'root'
|
|
@@ -16182,9 +15996,9 @@ class HoldingTypeExchangeService extends DataService {
|
|
|
16182
15996
|
this.setCache(HoldingTypeExchanges);
|
|
16183
15997
|
}
|
|
16184
15998
|
}
|
|
16185
|
-
HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16186
|
-
HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15999
|
+
HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16000
|
+
HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
|
|
16001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
|
|
16188
16002
|
type: Injectable,
|
|
16189
16003
|
args: [{
|
|
16190
16004
|
providedIn: 'root'
|
|
@@ -16415,9 +16229,9 @@ class AccountSetupService {
|
|
|
16415
16229
|
}));
|
|
16416
16230
|
}
|
|
16417
16231
|
}
|
|
16418
|
-
AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16419
|
-
AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16232
|
+
AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16233
|
+
AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
|
|
16234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, decorators: [{
|
|
16421
16235
|
type: Injectable,
|
|
16422
16236
|
args: [{
|
|
16423
16237
|
providedIn: 'root'
|
|
@@ -16443,9 +16257,9 @@ class RewardfulService {
|
|
|
16443
16257
|
});
|
|
16444
16258
|
}
|
|
16445
16259
|
}
|
|
16446
|
-
RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16447
|
-
RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16260
|
+
RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16261
|
+
RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, providedIn: 'root' });
|
|
16262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, decorators: [{
|
|
16449
16263
|
type: Injectable,
|
|
16450
16264
|
args: [{
|
|
16451
16265
|
providedIn: 'root'
|
|
@@ -16492,9 +16306,9 @@ class AssetsService {
|
|
|
16492
16306
|
return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
|
|
16493
16307
|
}
|
|
16494
16308
|
}
|
|
16495
|
-
AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16496
|
-
AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16309
|
+
AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16310
|
+
AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, providedIn: 'root' });
|
|
16311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, decorators: [{
|
|
16498
16312
|
type: Injectable,
|
|
16499
16313
|
args: [{
|
|
16500
16314
|
providedIn: 'root'
|
|
@@ -16533,18 +16347,14 @@ class BankTransactionCalculationService {
|
|
|
16533
16347
|
* @TODO Alex: consider to move to collection
|
|
16534
16348
|
*/
|
|
16535
16349
|
getAllocatedBankTransactions(bankTransactions, allocations) {
|
|
16536
|
-
return new BankTransactionCollection(bankTransactions.items.filter((bankTransaction) =>
|
|
16537
|
-
return this.isAllocated(bankTransaction, allocations);
|
|
16538
|
-
}));
|
|
16350
|
+
return new BankTransactionCollection(bankTransactions.items.filter((bankTransaction) => this.isAllocated(bankTransaction, allocations)));
|
|
16539
16351
|
}
|
|
16540
16352
|
/**
|
|
16541
16353
|
* Get collection of unallocated bank transactions
|
|
16542
16354
|
* @TODO Alex: consider to move to collection
|
|
16543
16355
|
*/
|
|
16544
16356
|
getUnallocated(bankTransactions, allocations) {
|
|
16545
|
-
return new BankTransactionCollection(bankTransactions.items.filter((bankTransaction) =>
|
|
16546
|
-
return !this.isAllocated(bankTransaction, allocations);
|
|
16547
|
-
}));
|
|
16357
|
+
return new BankTransactionCollection(bankTransactions.items.filter((bankTransaction) => !this.isAllocated(bankTransaction, allocations)));
|
|
16548
16358
|
}
|
|
16549
16359
|
/**
|
|
16550
16360
|
* Allocated sum of credit transactions
|
|
@@ -16559,9 +16369,9 @@ class BankTransactionCalculationService {
|
|
|
16559
16369
|
return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
|
|
16560
16370
|
}
|
|
16561
16371
|
}
|
|
16562
|
-
BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16563
|
-
BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16372
|
+
BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16373
|
+
BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
|
|
16374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
|
|
16565
16375
|
type: Injectable,
|
|
16566
16376
|
args: [{
|
|
16567
16377
|
providedIn: 'root'
|
|
@@ -16590,9 +16400,9 @@ class BankAccountCalculationService {
|
|
|
16590
16400
|
return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
|
|
16591
16401
|
}
|
|
16592
16402
|
}
|
|
16593
|
-
BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16594
|
-
BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16403
|
+
BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16404
|
+
BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
|
|
16405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, decorators: [{
|
|
16596
16406
|
type: Injectable,
|
|
16597
16407
|
args: [{
|
|
16598
16408
|
providedIn: 'root'
|
|
@@ -16617,9 +16427,9 @@ class ExportFormatterService {
|
|
|
16617
16427
|
}));
|
|
16618
16428
|
}
|
|
16619
16429
|
}
|
|
16620
|
-
ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16621
|
-
ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16430
|
+
ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16431
|
+
ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
|
|
16432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, decorators: [{
|
|
16623
16433
|
type: Injectable,
|
|
16624
16434
|
args: [{
|
|
16625
16435
|
providedIn: 'root'
|
|
@@ -16640,9 +16450,9 @@ class HeaderTitleService {
|
|
|
16640
16450
|
}), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
|
|
16641
16451
|
}
|
|
16642
16452
|
}
|
|
16643
|
-
HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16644
|
-
HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16453
|
+
HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16454
|
+
HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
|
|
16455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, decorators: [{
|
|
16646
16456
|
type: Injectable,
|
|
16647
16457
|
args: [{
|
|
16648
16458
|
providedIn: 'root'
|
|
@@ -16676,9 +16486,9 @@ class IntercomService {
|
|
|
16676
16486
|
window.Intercom('boot', connectionCredentials);
|
|
16677
16487
|
}
|
|
16678
16488
|
}
|
|
16679
|
-
IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16680
|
-
IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16489
|
+
IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16490
|
+
IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, providedIn: 'root' });
|
|
16491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, decorators: [{
|
|
16682
16492
|
type: Injectable,
|
|
16683
16493
|
args: [{
|
|
16684
16494
|
providedIn: 'root'
|
|
@@ -16750,9 +16560,9 @@ class PdfFromDomElementService {
|
|
|
16750
16560
|
.then((blob) => new File([blob], filename, { type: 'application/pdf' })));
|
|
16751
16561
|
}
|
|
16752
16562
|
}
|
|
16753
|
-
PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16754
|
-
PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16563
|
+
PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16564
|
+
PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
|
|
16565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, decorators: [{
|
|
16756
16566
|
type: Injectable,
|
|
16757
16567
|
args: [{
|
|
16758
16568
|
providedIn: 'root'
|
|
@@ -16831,9 +16641,9 @@ class PdfFromTableService {
|
|
|
16831
16641
|
doc.addImage(logo, 'PNG', doc.internal.pageSize.width - FILE_SETTINGS.logo.positionX, FILE_SETTINGS.logo.positionY, FILE_SETTINGS.logo.width, FILE_SETTINGS.logo.height);
|
|
16832
16642
|
}
|
|
16833
16643
|
}
|
|
16834
|
-
PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16835
|
-
PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16644
|
+
PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16645
|
+
PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
|
|
16646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, decorators: [{
|
|
16837
16647
|
type: Injectable,
|
|
16838
16648
|
args: [{
|
|
16839
16649
|
providedIn: 'root'
|
|
@@ -16865,9 +16675,9 @@ class PdfFromDataTableService extends PdfFromTableService {
|
|
|
16865
16675
|
return pdf;
|
|
16866
16676
|
}
|
|
16867
16677
|
}
|
|
16868
|
-
PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16869
|
-
PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16678
|
+
PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16679
|
+
PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
|
|
16680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, decorators: [{
|
|
16871
16681
|
type: Injectable,
|
|
16872
16682
|
args: [{
|
|
16873
16683
|
providedIn: 'root'
|
|
@@ -16900,9 +16710,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
|
|
|
16900
16710
|
return pdf;
|
|
16901
16711
|
}
|
|
16902
16712
|
}
|
|
16903
|
-
PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16904
|
-
PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16905
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16713
|
+
PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16714
|
+
PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
|
|
16715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
|
|
16906
16716
|
type: Injectable,
|
|
16907
16717
|
args: [{
|
|
16908
16718
|
providedIn: 'root'
|
|
@@ -16920,24 +16730,18 @@ class EquityPositionChartService {
|
|
|
16920
16730
|
get() {
|
|
16921
16731
|
// @TODO refactor backend
|
|
16922
16732
|
return this.http.get(`${this.environment.apiV2}/properties/categories/equity`)
|
|
16923
|
-
.pipe(map((response) => {
|
|
16924
|
-
|
|
16925
|
-
|
|
16926
|
-
|
|
16927
|
-
|
|
16928
|
-
|
|
16929
|
-
|
|
16930
|
-
value: serie.amount
|
|
16931
|
-
});
|
|
16932
|
-
})
|
|
16933
|
-
});
|
|
16934
|
-
});
|
|
16935
|
-
}));
|
|
16733
|
+
.pipe(map((response) => response.map((item) => plainToClass(ChartData, {
|
|
16734
|
+
name: item.category.name,
|
|
16735
|
+
data: item.equity.map((serie) => plainToClass(ChartSerie, {
|
|
16736
|
+
label: serie.date,
|
|
16737
|
+
value: serie.amount
|
|
16738
|
+
}))
|
|
16739
|
+
}))));
|
|
16936
16740
|
}
|
|
16937
16741
|
}
|
|
16938
|
-
EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16939
|
-
EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16742
|
+
EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16743
|
+
EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
|
|
16744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, decorators: [{
|
|
16941
16745
|
type: Injectable,
|
|
16942
16746
|
args: [{
|
|
16943
16747
|
providedIn: 'root'
|
|
@@ -16962,9 +16766,7 @@ class PropertyCalculationService {
|
|
|
16962
16766
|
return combineLatest([
|
|
16963
16767
|
transactions$,
|
|
16964
16768
|
depreciations$
|
|
16965
|
-
]).pipe(map(([transactions, depreciations]) =>
|
|
16966
|
-
return this.getTaxPosition(transactions, depreciations);
|
|
16967
|
-
}));
|
|
16769
|
+
]).pipe(map(([transactions, depreciations]) => this.getTaxPosition(transactions, depreciations)));
|
|
16968
16770
|
}
|
|
16969
16771
|
taxPositionGrowth(properties, transactions, depreciations) {
|
|
16970
16772
|
const forecastedTaxPosition = properties.sumBy('forecastedTaxPosition');
|
|
@@ -16979,29 +16781,18 @@ class PropertyCalculationService {
|
|
|
16979
16781
|
properties$,
|
|
16980
16782
|
transactions$,
|
|
16981
16783
|
depreciations$
|
|
16982
|
-
]).pipe(map(([properties, transactions, depreciations]) =>
|
|
16983
|
-
return this.taxPositionGrowth(properties, transactions, depreciations);
|
|
16984
|
-
}));
|
|
16784
|
+
]).pipe(map(([properties, transactions, depreciations]) => this.taxPositionGrowth(properties, transactions, depreciations)));
|
|
16985
16785
|
}
|
|
16986
16786
|
getRentalReturn(properties, transactions) {
|
|
16987
16787
|
return transactions.claimIncome / properties.marketValue;
|
|
16988
16788
|
}
|
|
16989
16789
|
getLoanAmount(properties, bankAccounts, loans) {
|
|
16990
|
-
return properties.items.reduce((totalAmount, property) =>
|
|
16991
|
-
return
|
|
16992
|
-
.reduce((propertyAmount, bankAccount) => {
|
|
16993
|
-
var _a;
|
|
16994
|
-
return propertyAmount + bankAccount.getPropertyPercentage(property.id) * (((_a = loans.getByBankAccountId(bankAccount.id)) === null || _a === void 0 ? void 0 : _a.amount) || 0);
|
|
16995
|
-
}, 0);
|
|
16996
|
-
}, 0);
|
|
16790
|
+
return properties.items.reduce((totalAmount, property) => totalAmount + bankAccounts.items
|
|
16791
|
+
.reduce((propertyAmount, bankAccount) => { var _a; return propertyAmount + bankAccount.getPropertyPercentage(property.id) * (((_a = loans.getByBankAccountId(bankAccount.id)) === null || _a === void 0 ? void 0 : _a.amount) || 0); }, 0), 0);
|
|
16997
16792
|
}
|
|
16998
16793
|
getLoanValue(properties, bankAccounts) {
|
|
16999
|
-
return properties.items.reduce((totalAmount, property) =>
|
|
17000
|
-
|
|
17001
|
-
.reduce((propertyAmount, bankAccount) => {
|
|
17002
|
-
return propertyAmount + bankAccount.getPropertyBalanceAmount(property.id);
|
|
17003
|
-
}, 0);
|
|
17004
|
-
}, 0);
|
|
16794
|
+
return properties.items.reduce((totalAmount, property) => totalAmount + bankAccounts.items
|
|
16795
|
+
.reduce((propertyAmount, bankAccount) => propertyAmount + bankAccount.getPropertyBalanceAmount(property.id), 0), 0);
|
|
17005
16796
|
}
|
|
17006
16797
|
/**
|
|
17007
16798
|
* LVR
|
|
@@ -17014,9 +16805,7 @@ class PropertyCalculationService {
|
|
|
17014
16805
|
return combineLatest([
|
|
17015
16806
|
properties$,
|
|
17016
16807
|
bankAccounts$
|
|
17017
|
-
]).pipe(map(([properties, bankAccounts]) =>
|
|
17018
|
-
return this.getLvr(properties, bankAccounts);
|
|
17019
|
-
}));
|
|
16808
|
+
]).pipe(map(([properties, bankAccounts]) => this.getLvr(properties, bankAccounts)));
|
|
17020
16809
|
}
|
|
17021
16810
|
getLvrCommencement(properties, loans, bankAccounts) {
|
|
17022
16811
|
// Math abs is required for correct percentage calculation
|
|
@@ -17027,9 +16816,7 @@ class PropertyCalculationService {
|
|
|
17027
16816
|
properties$,
|
|
17028
16817
|
bankAccounts$,
|
|
17029
16818
|
loans$
|
|
17030
|
-
]).pipe(map(([properties, bankAccounts, loans]) =>
|
|
17031
|
-
return this.getLvrCommencement(properties, loans, bankAccounts);
|
|
17032
|
-
}));
|
|
16819
|
+
]).pipe(map(([properties, bankAccounts, loans]) => this.getLvrCommencement(properties, loans, bankAccounts)));
|
|
17033
16820
|
}
|
|
17034
16821
|
getLvrGrowth(properties, bankAccounts, loans) {
|
|
17035
16822
|
const lvr = this.getLvr(properties, bankAccounts);
|
|
@@ -17045,9 +16832,7 @@ class PropertyCalculationService {
|
|
|
17045
16832
|
properties$,
|
|
17046
16833
|
bankAccounts$,
|
|
17047
16834
|
loans$
|
|
17048
|
-
]).pipe(map(([properties, bankAccounts, loans]) =>
|
|
17049
|
-
return this.getLvrGrowth(properties, bankAccounts, loans);
|
|
17050
|
-
}));
|
|
16835
|
+
]).pipe(map(([properties, bankAccounts, loans]) => this.getLvrGrowth(properties, bankAccounts, loans)));
|
|
17051
16836
|
}
|
|
17052
16837
|
/**
|
|
17053
16838
|
* Equity position = Market value - current loan value
|
|
@@ -17111,9 +16896,9 @@ class PropertyCalculationService {
|
|
|
17111
16896
|
}
|
|
17112
16897
|
}
|
|
17113
16898
|
}
|
|
17114
|
-
PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
17115
|
-
PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
17116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16899
|
+
PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16900
|
+
PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
|
|
16901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, decorators: [{
|
|
17117
16902
|
type: Injectable,
|
|
17118
16903
|
args: [{
|
|
17119
16904
|
providedIn: 'root'
|
|
@@ -17139,9 +16924,7 @@ class PropertyTransactionReportService {
|
|
|
17139
16924
|
this.getTransactions(),
|
|
17140
16925
|
this.getDepreciations(),
|
|
17141
16926
|
this.chartAccountsService.get()
|
|
17142
|
-
]).pipe(map(([properties, transactions, depreciations, chartAccounts]) =>
|
|
17143
|
-
return new CollectionDictionary(this.create(transactions, depreciations, properties, chartAccounts), 'propertyId');
|
|
17144
|
-
}));
|
|
16927
|
+
]).pipe(map(([properties, transactions, depreciations, chartAccounts]) => new CollectionDictionary(this.create(transactions, depreciations, properties, chartAccounts), 'propertyId')));
|
|
17145
16928
|
}
|
|
17146
16929
|
create(transactions, depreciations, properties, chartAccounts) {
|
|
17147
16930
|
return new PropertyReportItemCollection([
|
|
@@ -17153,26 +16936,22 @@ class PropertyTransactionReportService {
|
|
|
17153
16936
|
* Get collection of property transactions
|
|
17154
16937
|
*/
|
|
17155
16938
|
getTransactions() {
|
|
17156
|
-
return this.transactionService.get().pipe(map((transactions) =>
|
|
17157
|
-
|
|
17158
|
-
.getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property);
|
|
17159
|
-
}));
|
|
16939
|
+
return this.transactionService.get().pipe(map((transactions) => new TransactionCollection(transactions)
|
|
16940
|
+
.getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property)));
|
|
17160
16941
|
}
|
|
17161
16942
|
/**
|
|
17162
16943
|
* Get list of asset & capital property depreciations
|
|
17163
16944
|
*/
|
|
17164
16945
|
getDepreciations() {
|
|
17165
|
-
return this.depreciationService.get().pipe(map((depreciations) =>
|
|
17166
|
-
|
|
17167
|
-
|
|
17168
|
-
|
|
17169
|
-
.getWithoutBorrowingExpenses();
|
|
17170
|
-
}));
|
|
16946
|
+
return this.depreciationService.get().pipe(map((depreciations) => depreciations
|
|
16947
|
+
.getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property)
|
|
16948
|
+
// we don't need borrowing expenses for this report
|
|
16949
|
+
.getWithoutBorrowingExpenses()));
|
|
17171
16950
|
}
|
|
17172
16951
|
}
|
|
17173
|
-
PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
17174
|
-
PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
17175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16952
|
+
PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16953
|
+
PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
|
|
16954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
|
|
17176
16955
|
type: Injectable,
|
|
17177
16956
|
args: [{
|
|
17178
16957
|
providedIn: 'root'
|
|
@@ -17200,9 +16979,7 @@ class TransactionCalculationService {
|
|
|
17200
16979
|
* @TODO Alex: consider to move to collection
|
|
17201
16980
|
*/
|
|
17202
16981
|
getAllocatedTransactions(transactions, allocations) {
|
|
17203
|
-
return new TransactionCollection(transactions.items.filter((transaction) =>
|
|
17204
|
-
return transaction.isAllocated(allocations);
|
|
17205
|
-
}));
|
|
16982
|
+
return new TransactionCollection(transactions.items.filter((transaction) => transaction.isAllocated(allocations)));
|
|
17206
16983
|
}
|
|
17207
16984
|
getUnallocatedInvoices(invoices, allocations) {
|
|
17208
16985
|
return invoices.filter((invoice) => {
|
|
@@ -17242,9 +17019,9 @@ class TransactionCalculationService {
|
|
|
17242
17019
|
return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
|
|
17243
17020
|
}
|
|
17244
17021
|
}
|
|
17245
|
-
TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
17246
|
-
TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
17247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
17022
|
+
TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17023
|
+
TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
|
|
17024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, decorators: [{
|
|
17248
17025
|
type: Injectable,
|
|
17249
17026
|
args: [{
|
|
17250
17027
|
providedIn: 'root'
|
|
@@ -17304,9 +17081,9 @@ class LogbookBestPeriodService {
|
|
|
17304
17081
|
});
|
|
17305
17082
|
}
|
|
17306
17083
|
}
|
|
17307
|
-
LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
17308
|
-
LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
17309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
17084
|
+
LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17085
|
+
LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
|
|
17086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
|
|
17310
17087
|
type: Injectable,
|
|
17311
17088
|
args: [{
|
|
17312
17089
|
providedIn: 'root'
|
|
@@ -17347,9 +17124,9 @@ class XlsxService {
|
|
|
17347
17124
|
return xlsx.write(workbook, { bookType: 'xlsx', type: 'array' });
|
|
17348
17125
|
}
|
|
17349
17126
|
}
|
|
17350
|
-
XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
17351
|
-
XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
17352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
17127
|
+
XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17128
|
+
XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, providedIn: 'root' });
|
|
17129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, decorators: [{
|
|
17353
17130
|
type: Injectable,
|
|
17354
17131
|
args: [{
|
|
17355
17132
|
providedIn: 'root'
|
|
@@ -17745,7 +17522,7 @@ class LoanForm extends AbstractForm {
|
|
|
17745
17522
|
listenEvents() {
|
|
17746
17523
|
// We need to set term automatically only for bank loans.
|
|
17747
17524
|
// For vehicle loans user should fill it manually with validation depended of frequency
|
|
17748
|
-
if (
|
|
17525
|
+
if (this.loan.bankAccount) {
|
|
17749
17526
|
this.listenTypeChanges();
|
|
17750
17527
|
}
|
|
17751
17528
|
else {
|
|
@@ -17773,7 +17550,7 @@ class LoanForm extends AbstractForm {
|
|
|
17773
17550
|
*/
|
|
17774
17551
|
updateTermValidation() {
|
|
17775
17552
|
// no need terms for bank loans
|
|
17776
|
-
if (
|
|
17553
|
+
if (this.loan.bankAccount) {
|
|
17777
17554
|
return;
|
|
17778
17555
|
}
|
|
17779
17556
|
const currentRepaymentFrequency = this.get('repaymentFrequency').value;
|
|
@@ -17795,10 +17572,8 @@ LoanForm.mortgageLoanTypes = [LoanTypeEnum.MORTGAGE, LoanTypeEnum.HOME_EQUITY_LI
|
|
|
17795
17572
|
* Use with groups of boolean form controls (checkbox, toggle, etc.)
|
|
17796
17573
|
*/
|
|
17797
17574
|
function atLeastOneCheckedValidator() {
|
|
17798
|
-
return (formGroup) =>
|
|
17799
|
-
|
|
17800
|
-
.find((control) => control.value) ? null : { nothingChecked: true };
|
|
17801
|
-
};
|
|
17575
|
+
return (formGroup) => Object.values(formGroup.controls)
|
|
17576
|
+
.find((control) => control.value) ? null : { nothingChecked: true };
|
|
17802
17577
|
}
|
|
17803
17578
|
|
|
17804
17579
|
/**
|
|
@@ -17806,9 +17581,7 @@ function atLeastOneCheckedValidator() {
|
|
|
17806
17581
|
* @TODO Alex: create class AppValidators with static methods and move there all custom validators (line Angular Validators)
|
|
17807
17582
|
*/
|
|
17808
17583
|
function autocompleteValidator() {
|
|
17809
|
-
return (control) => {
|
|
17810
|
-
return (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
|
|
17811
|
-
};
|
|
17584
|
+
return (control) => (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
|
|
17812
17585
|
}
|
|
17813
17586
|
|
|
17814
17587
|
function conditionalValidator(condition, validator) {
|
|
@@ -17908,15 +17681,13 @@ function fieldsSumValidator(field, summary = 100, fieldAlias) {
|
|
|
17908
17681
|
if (fieldsSum <= summary) {
|
|
17909
17682
|
return null;
|
|
17910
17683
|
}
|
|
17911
|
-
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
|
|
17918
|
-
};
|
|
17919
|
-
}
|
|
17684
|
+
return {
|
|
17685
|
+
fieldsSum: {
|
|
17686
|
+
name: field,
|
|
17687
|
+
alias: fieldAlias,
|
|
17688
|
+
summary
|
|
17689
|
+
}
|
|
17690
|
+
};
|
|
17920
17691
|
};
|
|
17921
17692
|
}
|
|
17922
17693
|
|
|
@@ -17967,6 +17738,18 @@ class FileValidator {
|
|
|
17967
17738
|
}
|
|
17968
17739
|
}
|
|
17969
17740
|
|
|
17741
|
+
/**
|
|
17742
|
+
* Validator is checking if field value is greater than passed value
|
|
17743
|
+
*/
|
|
17744
|
+
function greaterThanValidator(value) {
|
|
17745
|
+
return (control) => {
|
|
17746
|
+
if (!control.value && (control.value !== 0)) {
|
|
17747
|
+
return null;
|
|
17748
|
+
}
|
|
17749
|
+
return control.value > value ? null : { greaterThan: `The value should be greater than ${value}` };
|
|
17750
|
+
};
|
|
17751
|
+
}
|
|
17752
|
+
|
|
17970
17753
|
/**
|
|
17971
17754
|
* Form array with bank account properties
|
|
17972
17755
|
* @TODO create AbstractFormArray
|
|
@@ -17974,12 +17757,10 @@ class FileValidator {
|
|
|
17974
17757
|
class BankAccountPropertiesForm extends UntypedFormArray {
|
|
17975
17758
|
constructor(bankAccountProperties) {
|
|
17976
17759
|
super(((bankAccountProperties === null || bankAccountProperties === void 0 ? void 0 : bankAccountProperties.length) ? bankAccountProperties : [plainToClass(BankAccountProperty, {})])
|
|
17977
|
-
.map((bankAccountProperty) => {
|
|
17978
|
-
|
|
17979
|
-
|
|
17980
|
-
|
|
17981
|
-
});
|
|
17982
|
-
}), [
|
|
17760
|
+
.map((bankAccountProperty) => new UntypedFormGroup({
|
|
17761
|
+
property: new UntypedFormControl(bankAccountProperty === null || bankAccountProperty === void 0 ? void 0 : bankAccountProperty.property, Validators.required),
|
|
17762
|
+
percent: new UntypedFormControl(bankAccountProperty.percent, Validators.required)
|
|
17763
|
+
})), [
|
|
17983
17764
|
conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.PROPERTY, Validators.required),
|
|
17984
17765
|
fieldsSumValidator('percent', 100)
|
|
17985
17766
|
]);
|
|
@@ -18098,12 +17879,10 @@ class SoleBusinessForm extends AbstractForm {
|
|
|
18098
17879
|
class SoleBusinessAllocationsForm extends UntypedFormArray {
|
|
18099
17880
|
constructor(businessAllocations) {
|
|
18100
17881
|
super(((businessAllocations === null || businessAllocations === void 0 ? void 0 : businessAllocations.length) ? businessAllocations : [plainToClass(SoleBusinessAllocation, {})])
|
|
18101
|
-
.map((businessAllocation) => {
|
|
18102
|
-
|
|
18103
|
-
|
|
18104
|
-
|
|
18105
|
-
});
|
|
18106
|
-
}), [
|
|
17882
|
+
.map((businessAllocation) => new UntypedFormGroup({
|
|
17883
|
+
business: new UntypedFormControl(businessAllocation === null || businessAllocation === void 0 ? void 0 : businessAllocation.business, Validators.required),
|
|
17884
|
+
percent: new UntypedFormControl(businessAllocation.percent, Validators.required)
|
|
17885
|
+
})), [
|
|
18107
17886
|
conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.SOLE, Validators.required),
|
|
18108
17887
|
fieldsSumValidator('percent', 100)
|
|
18109
17888
|
]);
|
|
@@ -18582,11 +18361,9 @@ function dateRangeValidator(dateStart, dateEnd) {
|
|
|
18582
18361
|
* Validator check if at least one control in formArray is enabled
|
|
18583
18362
|
*/
|
|
18584
18363
|
function atLeastOneEnabledValidator(arrayName) {
|
|
18585
|
-
return (formGroup) =>
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
: { arrayControlsDisabled: true };
|
|
18589
|
-
};
|
|
18364
|
+
return (formGroup) => formGroup.get(arrayName).controls.find((control) => control.enabled)
|
|
18365
|
+
? null
|
|
18366
|
+
: { arrayControlsDisabled: true };
|
|
18590
18367
|
}
|
|
18591
18368
|
|
|
18592
18369
|
/**
|
|
@@ -18610,7 +18387,7 @@ class BankAccountsImportForm extends AbstractForm {
|
|
|
18610
18387
|
}
|
|
18611
18388
|
const bankAccounts = [];
|
|
18612
18389
|
// form is valid when all selected bank accounts forms are valid
|
|
18613
|
-
for (
|
|
18390
|
+
for (const bankAccountImportForm of this.get('bankAccounts').controls) {
|
|
18614
18391
|
// skip disabled forms
|
|
18615
18392
|
if (bankAccountImportForm.disabled) {
|
|
18616
18393
|
continue;
|
|
@@ -18707,9 +18484,7 @@ const phonePattern = /^(((\s*)?([- ()]?\d[- ()]?){0,30}(\s*)?)|)$/;
|
|
|
18707
18484
|
* Allowed special symbols"-", "(", ")"
|
|
18708
18485
|
*/
|
|
18709
18486
|
function phoneNumberValidator() {
|
|
18710
|
-
return (control) => {
|
|
18711
|
-
return phonePattern.test(control.value) ? null : { phoneInvalid: true };
|
|
18712
|
-
};
|
|
18487
|
+
return (control) => phonePattern.test(control.value) ? null : { phoneInvalid: true };
|
|
18713
18488
|
}
|
|
18714
18489
|
|
|
18715
18490
|
class PhoneForm extends AbstractForm {
|
|
@@ -20135,7 +19910,7 @@ function checkDividends(metaFields, formGroup) {
|
|
|
20135
19910
|
const frankedAndUnfrankedControls = (formGroup.get('metaFields')).controls
|
|
20136
19911
|
.filter((control) => frankedAndUnfrankedIds.includes(control.get('chartAccountsMetaField').value.id));
|
|
20137
19912
|
const frankedAndUnfrankedAmount = frankedAndUnfrankedControls.reduce((sum, control) => sum + (+control.get('value').value), 0);
|
|
20138
|
-
for (
|
|
19913
|
+
for (const control of frankedAndUnfrankedControls) {
|
|
20139
19914
|
if (control.get('value').value !== null && frankedAndUnfrankedAmount !== amount) {
|
|
20140
19915
|
return { metaFields: `Field ${control.get('chartAccountsMetaField').value.label} is required` };
|
|
20141
19916
|
}
|
|
@@ -20147,12 +19922,10 @@ class WorkTransactionForm extends TransactionForm {
|
|
|
20147
19922
|
constructor(transaction, registeredForGst, allocations, controls = {}) {
|
|
20148
19923
|
super(transaction, registeredForGst, allocations, Object.assign(controls, {
|
|
20149
19924
|
// additional data related to work (like tax instalments)
|
|
20150
|
-
metaFields: new FormArray((transaction.metaFields || []).map((transactionMetaField) => {
|
|
20151
|
-
|
|
20152
|
-
|
|
20153
|
-
|
|
20154
|
-
});
|
|
20155
|
-
}))
|
|
19925
|
+
metaFields: new FormArray((transaction.metaFields || []).map((transactionMetaField) => new FormGroup({
|
|
19926
|
+
value: new FormControl(transactionMetaField.value),
|
|
19927
|
+
chartAccountsMetaField: new FormControl(transactionMetaField.chartAccountsMetaField)
|
|
19928
|
+
})))
|
|
20156
19929
|
}));
|
|
20157
19930
|
this.setValidators(transactionsMetaFieldsValidator());
|
|
20158
19931
|
this.listenEvents();
|
|
@@ -20326,7 +20099,7 @@ class DepreciationForm extends TransactionBaseForm {
|
|
|
20326
20099
|
class HoldingSaleForm extends AbstractForm {
|
|
20327
20100
|
constructor(sale, holding, type) {
|
|
20328
20101
|
super({
|
|
20329
|
-
quantity: new UntypedFormControl(sale.quantity, [Validators.required, Validators.max(holding.currentQuantity)]),
|
|
20102
|
+
quantity: new UntypedFormControl(sale.quantity, [Validators.required, Validators.max(holding.currentQuantity), greaterThanValidator(0)]),
|
|
20330
20103
|
price: new UntypedFormControl(sale.price || type.price, Validators.required),
|
|
20331
20104
|
fee: new UntypedFormControl(sale.fee, Validators.required),
|
|
20332
20105
|
date: new UntypedFormControl(sale.date, Validators.required),
|
|
@@ -20384,7 +20157,7 @@ class HoldingForm extends AbstractForm {
|
|
|
20384
20157
|
constructor(holding) {
|
|
20385
20158
|
super({
|
|
20386
20159
|
isTaxFree: new UntypedFormControl(holding.isTaxFree, Validators.required),
|
|
20387
|
-
quantity: new UntypedFormControl(holding.quantity, [Validators.required,
|
|
20160
|
+
quantity: new UntypedFormControl(holding.quantity, [Validators.required, greaterThanValidator(0)]),
|
|
20388
20161
|
price: new UntypedFormControl(holding.price, [Validators.required, Validators.min(0)]),
|
|
20389
20162
|
fee: new UntypedFormControl(holding.fee, [Validators.required, Validators.min(0)]),
|
|
20390
20163
|
date: new UntypedFormControl(holding.date, Validators.required),
|
|
@@ -20417,5 +20190,5 @@ var MessagesEnum;
|
|
|
20417
20190
|
* Generated bundle index. Do not edit.
|
|
20418
20191
|
*/
|
|
20419
20192
|
|
|
20420
|
-
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingMessagesEnum, HoldingSale, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
|
|
20193
|
+
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingMessagesEnum, HoldingSale, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
|
|
20421
20194
|
//# sourceMappingURL=taxtank-core.mjs.map
|