taxtank-core 0.30.142 → 0.31.0
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/collection.mjs +2 -2
- package/esm2020/lib/db/Enums/user-roles.enum.mjs +2 -2
- package/esm2020/lib/db/Models/depreciation/depreciation.mjs +1 -1
- package/esm2020/lib/db/Models/document/document-folder.mjs +1 -1
- package/esm2020/lib/db/Models/document/document.mjs +1 -1
- package/esm2020/lib/db/Models/document/property-document.mjs +1 -7
- package/esm2020/lib/db/Models/firm/firm.mjs +1 -1
- package/esm2020/lib/db/Models/index.mjs +1 -3
- package/esm2020/lib/db/Models/property/property-valuation.mjs +3 -8
- package/esm2020/lib/db/Models/property/property.mjs +1 -1
- package/esm2020/lib/db/Models/sole/sole-business.mjs +1 -1
- package/esm2020/lib/db/Models/transaction/transaction-base.mjs +10 -7
- package/esm2020/lib/db/Models/transaction/transaction.mjs +1 -1
- package/esm2020/lib/db/Models/user/user.mjs +1 -1
- package/esm2020/lib/forms/document-folder/document-folder.form.mjs +11 -0
- package/esm2020/lib/forms/document-folder/document.form.mjs +11 -0
- package/esm2020/lib/forms/document-folder/index.mjs +3 -0
- package/esm2020/lib/forms/firm/firm.form.mjs +17 -0
- package/esm2020/lib/forms/firm/index.mjs +2 -0
- package/esm2020/lib/forms/index.mjs +3 -1
- package/esm2020/lib/forms/property/borrowing-report.form.mjs +12 -7
- package/esm2020/lib/forms/property/index.mjs +5 -2
- package/esm2020/lib/forms/property/property-document.form.mjs +14 -0
- package/esm2020/lib/forms/property/property-edit.form.mjs +17 -0
- package/esm2020/lib/forms/property/property-valuation.form.mjs +17 -0
- package/esm2020/lib/forms/sole/sole-business.form.mjs +4 -3
- package/esm2020/lib/forms/transaction/transaction-base.form.mjs +4 -7
- package/esm2020/lib/forms/user/client-details.form.mjs +34 -0
- package/esm2020/lib/forms/user/index.mjs +3 -1
- package/esm2020/lib/forms/user/user.form.mjs +15 -0
- package/esm2020/lib/functions/get-doc-icon.mjs +2 -2
- package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/corelogic-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/financial-year-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
- package/esm2020/lib/interceptors/jwt-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/preloader.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +3 -3
- package/esm2020/lib/interfaces/asset-type.enum.mjs +1 -3
- package/esm2020/lib/interfaces/document.interface.mjs +1 -1
- package/esm2020/lib/interfaces/documentable.interface.mjs +1 -1
- package/esm2020/lib/interfaces/fileable.interface.mjs +2 -0
- package/esm2020/lib/interfaces/index.mjs +2 -3
- package/esm2020/lib/models/bank/bank.mjs +5 -10
- package/esm2020/lib/models/chat/message-document.mjs +4 -3
- package/esm2020/lib/models/depreciation/depreciation.mjs +1 -1
- package/esm2020/lib/models/depreciation/index.mjs +1 -2
- package/esm2020/lib/models/document/document-folder.mjs +1 -7
- package/esm2020/lib/models/document/document.mjs +12 -19
- package/esm2020/lib/models/endpoint/endpoints.const.mjs +7 -8
- package/esm2020/lib/models/event/app-event-type.enum.mjs +45 -53
- package/esm2020/lib/models/file/file.mjs +5 -1
- package/esm2020/lib/models/firm/firm.mjs +5 -13
- package/esm2020/lib/models/property/borrowing-report.mjs +4 -8
- package/esm2020/lib/models/property/property-document.mjs +12 -12
- package/esm2020/lib/models/property/property-valuation.mjs +2 -5
- package/esm2020/lib/models/property/property.mjs +5 -13
- package/esm2020/lib/models/registration-invite/registration-invite.mjs +7 -7
- package/esm2020/lib/models/sole/sole-business.mjs +6 -8
- package/esm2020/lib/models/sole/sole-contact.mjs +5 -8
- package/esm2020/lib/models/sole/sole-invoice-template.mjs +1 -1
- package/esm2020/lib/models/transaction/index.mjs +1 -2
- package/esm2020/lib/models/transaction/transaction.mjs +1 -5
- package/esm2020/lib/models/user/user.mjs +6 -14
- package/esm2020/lib/services/account-setup/account-setup.service.mjs +3 -3
- package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +3 -3
- package/esm2020/lib/services/asset/assets.service.mjs +3 -3
- package/esm2020/lib/services/auth/auth.service.mjs +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +3 -3
- package/esm2020/lib/services/http/budget/budget.service.mjs +3 -3
- package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
- package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
- package/esm2020/lib/services/http/chat/chat.service.mjs +3 -3
- package/esm2020/lib/services/http/chat/message-document.service.mjs +5 -5
- package/esm2020/lib/services/http/chat/message.service.mjs +3 -3
- package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +3 -3
- package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +7 -55
- package/esm2020/lib/services/http/depreciation/index.mjs +1 -2
- package/esm2020/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +8 -0
- package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +9 -59
- package/esm2020/lib/services/http/document/document-folder/index.mjs +3 -0
- package/esm2020/lib/services/http/document/document-messages.enum.mjs +8 -0
- package/esm2020/lib/services/http/document/document.service.mjs +10 -6
- package/esm2020/lib/services/http/document/index.mjs +3 -2
- package/esm2020/lib/services/http/facebook/facebook.service.mjs +3 -3
- package/esm2020/lib/services/http/file/file.service.mjs +10 -4
- package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/employee/employee.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/firm-messages.enum.mjs +6 -0
- package/esm2020/lib/services/http/firm/firm.service.mjs +4 -12
- package/esm2020/lib/services/http/firm/index.mjs +2 -1
- package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +3 -3
- package/esm2020/lib/services/http/google/google.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding-sale.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding-type.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/income-source.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/index.mjs +1 -2
- package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +3 -3
- package/esm2020/lib/services/http/loan/loan.service.mjs +3 -3
- package/esm2020/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +3 -3
- package/esm2020/lib/services/http/property/index.mjs +3 -1
- package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-document/index.mjs +2 -1
- package/esm2020/lib/services/http/property/property-document/property-document-messages.enum.mjs +8 -0
- package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +7 -6
- package/esm2020/lib/services/http/property/property-messages.enum.mjs +6 -0
- package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-valuation/index.mjs +3 -0
- package/esm2020/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +6 -0
- package/esm2020/lib/services/http/property/property-valuation/property-valuation.service.mjs +39 -0
- package/esm2020/lib/services/http/property/property.service.mjs +9 -5
- package/esm2020/lib/services/http/rest/rest-old.service.mjs +3 -3
- package/esm2020/lib/services/http/rest/rest.service.mjs +9 -9
- package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/index.mjs +2 -2
- package/esm2020/lib/services/http/sole/sole-business/index.mjs +3 -0
- package/esm2020/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +5 -0
- package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +5 -28
- package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/index.mjs +1 -2
- package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction.service.mjs +6 -43
- package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +3 -3
- package/esm2020/lib/services/http/user/financial-year/financial-year.service.mjs +3 -3
- package/esm2020/lib/services/http/user/index.mjs +2 -1
- package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
- package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
- package/esm2020/lib/services/http/user/user-messages.enum.mjs +7 -0
- package/esm2020/lib/services/http/user/user.service.mjs +3 -3
- package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +3 -3
- package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
- package/esm2020/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +3 -3
- package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
- package/esm2020/lib/services/json/income-source/income-source-type.service.mjs +3 -3
- package/esm2020/lib/services/json/tax-exemption/tax-exemption.service.mjs +3 -3
- package/esm2020/lib/services/json/tax-return/tax-return-item.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
- package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +3 -3
- package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +3 -3
- package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
- package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +3 -3
- package/esm2020/lib/services/toast/toast.service.mjs +3 -3
- package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +3 -3
- package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
- package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +3 -3
- package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
- package/esm2020/lib/tt-core.module.mjs +4 -4
- package/esm2020/public-api.mjs +2 -18
- package/fesm2015/taxtank-core.mjs +1130 -1311
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +1120 -1299
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/collections/account-setup-item.collection.d.ts.map +1 -0
- package/lib/collections/allocation-group.collection.d.ts.map +1 -0
- package/lib/collections/allocation-rule.collection.d.ts.map +1 -0
- package/lib/collections/asset-sale.collection.d.ts.map +1 -0
- package/lib/collections/bank-account.collection.d.ts.map +1 -0
- package/lib/collections/bank-transaction.collection.d.ts.map +1 -0
- package/lib/collections/chart-accounts.collection.d.ts.map +1 -0
- package/lib/collections/chat/chat.collection.d.ts.map +1 -0
- package/lib/collections/chat/index.d.ts.map +1 -0
- package/lib/collections/chat/message-document.collection.d.ts.map +1 -0
- package/lib/collections/chat/message.collection.d.ts.map +1 -0
- package/lib/collections/client-invite.collection.d.ts.map +1 -0
- package/lib/collections/client-movement.collection.d.ts.map +1 -0
- package/lib/collections/client-portfolio-report.collection.d.ts.map +1 -0
- package/lib/collections/client.collection.d.ts.map +1 -0
- package/lib/collections/collection-dictionary.d.ts.map +1 -0
- package/lib/collections/collection.d.ts.map +1 -0
- package/lib/collections/depreciation-forecast.collection.d.ts.map +1 -0
- package/lib/collections/depreciation.collection.d.ts.map +1 -0
- package/lib/collections/employee.collection.d.ts.map +1 -0
- package/lib/collections/exportable.collection.d.ts.map +1 -0
- package/lib/collections/holding/holding-sale.collection.d.ts.map +1 -0
- package/lib/collections/holding/holding-type.collection.d.ts.map +1 -0
- package/lib/collections/holding/holding.collection.d.ts.map +1 -0
- package/lib/collections/holding/index.d.ts.map +1 -0
- package/lib/collections/income-source/income-source-forecast.collection.d.ts.map +1 -0
- package/lib/collections/income-source/income-source.collection.d.ts.map +1 -0
- package/lib/collections/income-source/index.d.ts.map +1 -0
- package/lib/collections/index.d.ts.map +1 -0
- package/lib/collections/loan/index.d.ts.map +1 -0
- package/lib/collections/loan/loan-payment.collection.d.ts.map +1 -0
- package/lib/collections/loan/loan.collection.d.ts.map +1 -0
- package/lib/collections/property/index.d.ts.map +1 -0
- package/lib/collections/property/property-category-movement.collection.d.ts.map +1 -0
- package/lib/collections/property/property-sale/index.d.ts.map +1 -0
- package/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.d.ts.map +1 -0
- package/lib/collections/property/property-sale/property-sale.collection.d.ts.map +1 -0
- package/lib/collections/property/property-share.collection.d.ts.map +1 -0
- package/lib/collections/property/property.collection.d.ts.map +1 -0
- package/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/index.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item-transaction.collection.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts.map +1 -0
- package/lib/collections/sole/index.d.ts.map +1 -0
- package/lib/collections/sole/sole-business-losses.collection.d.ts.map +1 -0
- package/lib/collections/sole/sole-invoice-item.collection.d.ts.map +1 -0
- package/lib/collections/sole/sole-invoice.collection.d.ts.map +1 -0
- package/lib/collections/subscription/index.d.ts.map +1 -0
- package/lib/collections/subscription/service-price.collection.d.ts.map +1 -0
- package/lib/collections/subscription/service-product.collection.d.ts.map +1 -0
- package/lib/collections/subscription/service-subscription.collection.d.ts.map +1 -0
- package/lib/collections/subscription/subscription-item.collection.d.ts.map +1 -0
- package/lib/collections/tax-review.collection.d.ts.map +1 -0
- package/lib/collections/tax-summary/index.d.ts.map +1 -0
- package/lib/collections/tax-summary/report-item.collection.d.ts.map +1 -0
- package/lib/collections/tax-summary/tax-return-categories.const.d.ts.map +1 -0
- package/lib/collections/transaction/index.d.ts.map +1 -0
- package/lib/collections/transaction/transaction-allocation.collection.d.ts.map +1 -0
- package/lib/collections/transaction/transaction.collection.d.ts.map +1 -0
- package/lib/collections/user-event-setting.collection.d.ts.map +1 -0
- package/lib/collections/user-event-type-collection.d.ts.map +1 -0
- package/lib/collections/vehicle/index.d.ts.map +1 -0
- package/lib/collections/vehicle/vehicle-claim.collection.d.ts.map +1 -0
- package/lib/collections/vehicle/vehicle-logbook.collection.d.ts.map +1 -0
- package/lib/db/Enums/address-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.d.ts.map +1 -0
- package/lib/db/Enums/allocation-rule-condition-field.enum.d.ts.map +1 -0
- package/lib/db/Enums/allocation-rule-condition-operator.enum.d.ts.map +1 -0
- package/lib/db/Enums/allocation-rule-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/annual-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/bank-account-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/bank-account-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/bank-connection-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/bank-popular.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/bank-provider.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/bank-transaction-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/index.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/index.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-bank-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-interest-type-label.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-interest-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-payout-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-repayment-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank/loan/loan-vehicle-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-invoice-expense.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/index.d.ts.map +1 -0
- package/lib/db/Enums/chat-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-invite-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-invite-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts.map +1 -0
- package/lib/db/Enums/document-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/file-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/firm-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/holding/holding-type-category.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source/income-source-type-list-holding.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source/income-source-type-list-other.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source/income-source-type-list-sole.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source/income-source-type-list-work.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source/income-source-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source/index.d.ts.map +1 -0
- package/lib/db/Enums/index.d.ts.map +1 -0
- package/lib/db/Enums/invite-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/phone-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-category-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-sale/tax-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-share-access.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-share-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/registration-invite-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/salary-forecast-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/service-notification-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/service-notification-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/sole-depreciation-method.enum.d.ts.map +1 -0
- package/lib/db/Enums/sole-invoice-statuses.enum.d.ts.map +1 -0
- package/lib/db/Enums/sole-invoice-tax-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/sole-invoice-template-tax-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/spare-document-spare-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-payment-method-card-brand.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-payment-method-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-payment-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-price-recurring-interval.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-price-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-product-id.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-product-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-subscription-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/tank-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-calculation-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-return/index.d.ts.map +1 -0
- package/lib/db/Enums/tax-return/tax-return-category-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-return/tax-return-category-section.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-return/tax-return-item.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-review-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-summary-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-summary-section.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts.map +1 -0
- package/lib/db/Enums/ticket-feedback.enum.d.ts.map +1 -0
- package/lib/db/Enums/ticket-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/ticket-types.enum.d.ts.map +1 -0
- package/lib/db/Enums/transaction-operation.enum.d.ts.map +1 -0
- package/lib/db/Enums/transaction-source.enum.d.ts.map +1 -0
- package/lib/db/Enums/transaction-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-client-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-employee-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-user-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-medicare-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-roles.enum.d.ts +1 -1
- package/lib/db/Enums/user-roles.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-title.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-working-holiday-maker.enum.d.ts.map +1 -0
- package/lib/db/Enums/vehicle-claim-details-method.enum.d.ts.map +1 -0
- package/lib/db/Enums/vehicle-logbook-purpose.enum.d.ts.map +1 -0
- package/lib/db/Models/abstract-model.d.ts.map +1 -0
- package/lib/db/Models/address.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-account-balance.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-account-property.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-account.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-connection.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-transaction-import.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-transaction.d.ts.map +1 -0
- package/lib/db/Models/bank/bank.d.ts.map +1 -0
- package/lib/db/Models/bank/basiq-job-step.enum.d.ts.map +1 -0
- package/lib/db/Models/bank/basiq-job.d.ts.map +1 -0
- package/lib/db/Models/budget/budget-rule.d.ts.map +1 -0
- package/lib/db/Models/budget/budget.d.ts.map +1 -0
- package/lib/db/Models/budget/index.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts-meta-field.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts.d.ts.map +1 -0
- package/lib/db/Models/client/annual-client-details.d.ts.map +1 -0
- package/lib/db/Models/client/client-details.d.ts.map +1 -0
- package/lib/db/Models/client/client-income-types.d.ts.map +1 -0
- package/lib/db/Models/client/index.d.ts.map +1 -0
- package/lib/db/Models/client/occupation.d.ts.map +1 -0
- package/lib/db/Models/country.d.ts.map +1 -0
- package/lib/db/Models/depreciation/depreciation-capital-project.d.ts.map +1 -0
- package/lib/db/Models/depreciation/depreciation-forecast.d.ts.map +1 -0
- package/lib/db/Models/depreciation/depreciation.d.ts +0 -2
- package/lib/db/Models/depreciation/depreciation.d.ts.map +1 -0
- package/lib/db/Models/document/document-base.d.ts.map +1 -0
- package/lib/db/Models/document/document-folder.d.ts +1 -2
- package/lib/db/Models/document/document-folder.d.ts.map +1 -0
- package/lib/db/Models/document/document.d.ts.map +1 -0
- package/lib/db/Models/document/property-document.d.ts +6 -5
- package/lib/db/Models/document/property-document.d.ts.map +1 -0
- package/lib/db/Models/file.d.ts.map +1 -0
- package/lib/db/Models/firm/accountant/tax-review.d.ts.map +1 -0
- package/lib/db/Models/firm/accountant/ticket.d.ts.map +1 -0
- package/lib/db/Models/firm/chat.d.ts.map +1 -0
- package/lib/db/Models/firm/client-invite.d.ts.map +1 -0
- package/lib/db/Models/firm/client-movement.d.ts.map +1 -0
- package/lib/db/Models/firm/employee-invite.d.ts.map +1 -0
- package/lib/db/Models/firm/firm-invite.d.ts.map +1 -0
- package/lib/db/Models/firm/firm.d.ts +2 -0
- package/lib/db/Models/firm/firm.d.ts.map +1 -0
- package/lib/db/Models/firm/message-document.d.ts.map +1 -0
- package/lib/db/Models/firm/message.d.ts.map +1 -0
- package/lib/db/Models/holding/holding-sale.d.ts.map +1 -0
- package/lib/db/Models/holding/holding-type-exchange.d.ts.map +1 -0
- package/lib/db/Models/holding/holding-type.d.ts.map +1 -0
- package/lib/db/Models/holding/holding.d.ts.map +1 -0
- package/lib/db/Models/holding/index.d.ts.map +1 -0
- package/lib/db/Models/incomeSource/income-source-forecast.d.ts.map +1 -0
- package/lib/db/Models/incomeSource/income-source-type.d.ts.map +1 -0
- package/lib/db/Models/incomeSource/income-source.d.ts.map +1 -0
- package/lib/db/Models/incomeSource/salary-forecast.d.ts.map +1 -0
- package/lib/db/Models/index.d.ts +0 -2
- package/lib/db/Models/index.d.ts.map +1 -0
- package/lib/db/Models/loan/borrowing-expense-loan.d.ts.map +1 -0
- package/lib/db/Models/loan/borrowing-expense.d.ts.map +1 -0
- package/lib/db/Models/loan/loan-payout.d.ts.map +1 -0
- package/lib/db/Models/loan/loan.d.ts.map +1 -0
- package/lib/db/Models/observable-model.d.ts.map +1 -0
- package/lib/db/Models/phone.d.ts.map +1 -0
- package/lib/db/Models/property/borrowing-report.d.ts.map +1 -0
- package/lib/db/Models/property/property-category-movement.d.ts.map +1 -0
- package/lib/db/Models/property/property-category.d.ts.map +1 -0
- package/lib/db/Models/property/property-forecast.d.ts.map +1 -0
- package/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +1 -0
- package/lib/db/Models/property/property-sale/property-sale.d.ts.map +1 -0
- package/lib/db/Models/property/property-sale/tax-exemption-meta-field.d.ts.map +1 -0
- package/lib/db/Models/property/property-sale/tax-exemption.d.ts.map +1 -0
- package/lib/db/Models/property/property-share.d.ts.map +1 -0
- package/lib/db/Models/property/property-subscription.d.ts.map +1 -0
- package/lib/db/Models/property/property-valuation.d.ts +2 -2
- package/lib/db/Models/property/property-valuation.d.ts.map +1 -0
- package/lib/db/Models/property/property.d.ts +2 -0
- package/lib/db/Models/property/property.d.ts.map +1 -0
- package/lib/db/Models/service-notification.d.ts.map +1 -0
- package/lib/db/Models/sole/bas-report.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business-activity.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business-allocation.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business-loss.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business.d.ts +2 -0
- package/lib/db/Models/sole/sole-business.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-contact.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-depreciation-method.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-details.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-forecast.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-invoice-item.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-invoice-template.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-invoice.d.ts.map +1 -0
- package/lib/db/Models/spare/spare-document-category.d.ts.map +1 -0
- package/lib/db/Models/spare/spare-document.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-payment-method.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-payment.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-price.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-product.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-subscription-item.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-subscription.d.ts.map +1 -0
- package/lib/db/Models/tax-calculation.d.ts.map +1 -0
- package/lib/db/Models/tax-return/index.d.ts.map +1 -0
- package/lib/db/Models/tax-return/tax-return-category.d.ts.map +1 -0
- package/lib/db/Models/tax-return/tax-return-item.d.ts.map +1 -0
- package/lib/db/Models/tax-return/tax-return.d.ts.map +1 -0
- package/lib/db/Models/transaction/allocation-rule-condition.d.ts.map +1 -0
- package/lib/db/Models/transaction/allocation-rule-transaction-meta-field.d.ts.map +1 -0
- package/lib/db/Models/transaction/allocation-rule-transaction.d.ts.map +1 -0
- package/lib/db/Models/transaction/allocation-rule.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction-allocation.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction-base.d.ts +5 -7
- package/lib/db/Models/transaction/transaction-base.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction-meta-field.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction.d.ts +0 -2
- package/lib/db/Models/transaction/transaction.d.ts.map +1 -0
- package/lib/db/Models/user/employee-details.d.ts.map +1 -0
- package/lib/db/Models/user/registration-invite.d.ts.map +1 -0
- package/lib/db/Models/user/user-event-setting.d.ts.map +1 -0
- package/lib/db/Models/user/user-event-type-category.d.ts.map +1 -0
- package/lib/db/Models/user/user-event-type.d.ts.map +1 -0
- package/lib/db/Models/user/user-event.d.ts.map +1 -0
- package/lib/db/Models/user/user.d.ts +2 -1
- package/lib/db/Models/user/user.d.ts.map +1 -0
- package/lib/db/Models/vehicle/vehicle-claim-details.d.ts.map +1 -0
- package/lib/db/Models/vehicle/vehicle-claim.d.ts.map +1 -0
- package/lib/db/Models/vehicle/vehicle-logbook.d.ts.map +1 -0
- package/lib/db/Models/vehicle/vehicle.d.ts.map +1 -0
- package/lib/db-static/chart-accounts/chart-accounts-values.d.ts.map +1 -0
- package/lib/forms/abstract.form.d.ts.map +1 -0
- package/lib/forms/address/address.form.d.ts.map +1 -0
- package/lib/forms/address/index.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-add-manual.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-allocation.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-import.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts.map +1 -0
- package/lib/forms/budget/budget.form.d.ts.map +1 -0
- package/lib/forms/budget/index.d.ts.map +1 -0
- package/lib/forms/client/annual-client-details.form.d.ts.map +1 -0
- package/lib/forms/client/client-income-types.form.d.ts.map +1 -0
- package/lib/forms/client/index.d.ts.map +1 -0
- package/lib/forms/depreciation/depreciation.form.d.ts.map +1 -0
- package/lib/forms/depreciation/index.d.ts.map +1 -0
- package/lib/forms/document-folder/document-folder.form.d.ts +5 -0
- package/lib/forms/document-folder/document-folder.form.d.ts.map +1 -0
- package/lib/forms/document-folder/document.form.d.ts +5 -0
- package/lib/forms/document-folder/document.form.d.ts.map +1 -0
- package/lib/forms/document-folder/index.d.ts +2 -0
- package/lib/forms/document-folder/index.d.ts.map +1 -0
- package/lib/forms/firm/firm.form.d.ts +5 -0
- package/lib/forms/firm/firm.form.d.ts.map +1 -0
- package/lib/forms/firm/index.d.ts +1 -0
- package/lib/forms/firm/index.d.ts.map +1 -0
- package/lib/forms/form-validations.enum.d.ts.map +1 -0
- package/lib/forms/holding/holding-reinvest.form.d.ts.map +1 -0
- package/lib/forms/holding/holding-sale.form.d.ts.map +1 -0
- package/lib/forms/holding/holding-type.form.d.ts.map +1 -0
- package/lib/forms/holding/holding.form.d.ts.map +1 -0
- package/lib/forms/holding/index.d.ts.map +1 -0
- package/lib/forms/index.d.ts +2 -0
- package/lib/forms/index.d.ts.map +1 -0
- package/lib/forms/loan/index.d.ts.map +1 -0
- package/lib/forms/loan/loan.form.d.ts.map +1 -0
- package/lib/forms/login/login.form.d.ts.map +1 -0
- package/lib/forms/phone/index.d.ts.map +1 -0
- package/lib/forms/phone/phone.form.d.ts.map +1 -0
- package/lib/forms/property/borrowing-report.form.d.ts +5 -2
- package/lib/forms/property/borrowing-report.form.d.ts.map +1 -0
- package/lib/forms/property/index.d.ts +4 -1
- package/lib/forms/property/index.d.ts.map +1 -0
- package/lib/forms/property/property-document.form.d.ts +6 -0
- package/lib/forms/property/property-document.form.d.ts.map +1 -0
- package/lib/forms/property/property-edit.form.d.ts +5 -0
- package/lib/forms/property/property-edit.form.d.ts.map +1 -0
- package/lib/forms/property/property-sale/index.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts.map +1 -0
- package/lib/forms/property/property-valuation.form.d.ts +6 -0
- package/lib/forms/property/property-valuation.form.d.ts.map +1 -0
- package/lib/forms/register/register-client.form.d.ts.map +1 -0
- package/lib/forms/register/register-firm.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/index.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-cgt.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-dividends.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-income-tests.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-interest.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-losses.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-offsets.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-other-income.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-rent.form.d.ts.map +1 -0
- package/lib/forms/sole/bas-report.form.d.ts.map +1 -0
- package/lib/forms/sole/index.d.ts.map +1 -0
- package/lib/forms/sole/sole-business-allocations.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-business-loss.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-business.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-contact.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-depreciation-method.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-details.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice-item.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice-template.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice.form.d.ts.map +1 -0
- package/lib/forms/transaction/allocation-rule-condition.form.d.ts.map +1 -0
- package/lib/forms/transaction/allocation-rule-transaction-meta-field.form.d.ts.map +1 -0
- package/lib/forms/transaction/allocation-rule-transaction.form.d.ts.map +1 -0
- package/lib/forms/transaction/allocation-rule.form.d.ts.map +1 -0
- package/lib/forms/transaction/holding/holding-income.form.d.ts.map +1 -0
- package/lib/forms/transaction/index.d.ts.map +1 -0
- package/lib/forms/transaction/messages.enum.d.ts.map +1 -0
- package/lib/forms/transaction/transaction-base.form.d.ts.map +1 -0
- package/lib/forms/transaction/transaction.form.d.ts.map +1 -0
- package/lib/forms/transaction/work/work-expense.form.d.ts.map +1 -0
- package/lib/forms/transaction/work/work-income.form.d.ts.map +1 -0
- package/lib/forms/transaction/work/work-transaction.form.d.ts.map +1 -0
- package/lib/forms/user/client-details.form.d.ts +7 -0
- package/lib/forms/user/client-details.form.d.ts.map +1 -0
- package/lib/forms/user/index.d.ts +2 -0
- package/lib/forms/user/index.d.ts.map +1 -0
- package/lib/forms/user/password.form.d.ts.map +1 -0
- package/lib/forms/user/reset-password.form.d.ts.map +1 -0
- package/lib/forms/user/user-invite.form.d.ts.map +1 -0
- package/lib/forms/user/user.form.d.ts +5 -0
- package/lib/forms/user/user.form.d.ts.map +1 -0
- package/lib/forms/vehicle/index.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle.form.d.ts.map +1 -0
- package/lib/functions/array/index.d.ts.map +1 -0
- package/lib/functions/array/replace.d.ts.map +1 -0
- package/lib/functions/array/sort-deep.d.ts.map +1 -0
- package/lib/functions/array/sort.d.ts.map +1 -0
- package/lib/functions/array/to-array.d.ts.map +1 -0
- package/lib/functions/clone-deep.d.ts.map +1 -0
- package/lib/functions/create-date.d.ts.map +1 -0
- package/lib/functions/enum-to-list.d.ts.map +1 -0
- package/lib/functions/get-doc-icon.d.ts +2 -2
- package/lib/functions/get-doc-icon.d.ts.map +1 -0
- package/lib/functions/mat-options-functions.d.ts.map +1 -0
- package/lib/functions/mat-sort-options.d.ts.map +1 -0
- package/lib/functions/tax-review-filter-predicate.d.ts.map +1 -0
- package/lib/interceptors/basiq-client-id.interceptor.d.ts.map +1 -0
- package/lib/interceptors/basiq-token.interceptor.d.ts.map +1 -0
- package/lib/interceptors/corelogic-interceptor.d.ts.map +1 -0
- package/lib/interceptors/financial-year-interceptor.d.ts.map +1 -0
- package/lib/interceptors/interceptors.module.d.ts.map +1 -0
- package/lib/interceptors/jwt-interceptor.d.ts.map +1 -0
- package/lib/interceptors/preloader.interceptor.d.ts.map +1 -0
- package/lib/interceptors/user-switcher-interceptor.d.ts.map +1 -0
- package/lib/interfaces/asset-entity-type.enum.d.ts.map +1 -0
- package/lib/interfaces/asset-type.enum.d.ts +0 -2
- package/lib/interfaces/asset-type.enum.d.ts.map +1 -0
- package/lib/interfaces/asset.interface.d.ts.map +1 -0
- package/lib/interfaces/auth-tokens.interface.d.ts.map +1 -0
- package/lib/interfaces/chart-data.interface.d.ts.map +1 -0
- package/lib/interfaces/chart-serie.interface.d.ts.map +1 -0
- package/lib/interfaces/document.interface.d.ts +4 -14
- package/lib/interfaces/document.interface.d.ts.map +1 -0
- package/lib/interfaces/documentable.interface.d.ts +2 -2
- package/lib/interfaces/documentable.interface.d.ts.map +1 -0
- package/lib/interfaces/event-listener.interface.d.ts.map +1 -0
- package/lib/interfaces/expense.interface.d.ts.map +1 -0
- package/lib/interfaces/fileable.interface.d.ts +8 -0
- package/lib/interfaces/fileable.interface.d.ts.map +1 -0
- package/lib/interfaces/income-source-forecast.interface.d.ts.map +1 -0
- package/lib/interfaces/index.d.ts +1 -2
- package/lib/interfaces/index.d.ts.map +1 -0
- package/lib/interfaces/option.interface.d.ts.map +1 -0
- package/lib/interfaces/table-exportable.interface.d.ts.map +1 -0
- package/lib/interfaces/tank.interface.d.ts.map +1 -0
- package/lib/interfaces/updatable.interface.d.ts.map +1 -0
- package/lib/messages/index.d.ts.map +1 -0
- package/lib/messages/messages.enum.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-item.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-items.const.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-items.enum.d.ts.map +1 -0
- package/lib/models/address/address.d.ts.map +1 -0
- package/lib/models/address/country.d.ts.map +1 -0
- package/lib/models/address/index.d.ts.map +1 -0
- package/lib/models/address/states.enum.d.ts.map +1 -0
- package/lib/models/asset-sale.d.ts.map +1 -0
- package/lib/models/badge/badge-color.enum.d.ts.map +1 -0
- package/lib/models/badge/badge.d.ts.map +1 -0
- package/lib/models/bank/allocation-group.d.ts.map +1 -0
- package/lib/models/bank/bank-account-chart-data.d.ts.map +1 -0
- package/lib/models/bank/bank-account-property.d.ts.map +1 -0
- package/lib/models/bank/bank-account-types.const.d.ts.map +1 -0
- package/lib/models/bank/bank-account.d.ts.map +1 -0
- package/lib/models/bank/bank-connection.d.ts.map +1 -0
- package/lib/models/bank/bank-external-stats.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction-chart-data.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction.d.ts.map +1 -0
- package/lib/models/bank/bank.d.ts +4 -4
- package/lib/models/bank/bank.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-config.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-connection-data.interface.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-connections-response.interface.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job-response.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job-step.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-token-response.interface.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-token.d.ts.map +1 -0
- package/lib/models/bank/basiq/index.d.ts.map +1 -0
- package/lib/models/bank/index.d.ts.map +1 -0
- package/lib/models/bank/type-loan.const.d.ts.map +1 -0
- package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts.map +1 -0
- package/lib/models/borrowing-expense/borrowing-expense.d.ts.map +1 -0
- package/lib/models/borrowing-expense/index.d.ts.map +1 -0
- package/lib/models/budget/budget-rule.d.ts.map +1 -0
- package/lib/models/budget/budget.d.ts.map +1 -0
- package/lib/models/budget/index.d.ts.map +1 -0
- package/lib/models/chart/chart-data.d.ts.map +1 -0
- package/lib/models/chart/chart-serie.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-meta-field.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts.d.ts.map +1 -0
- package/lib/models/chart-accounts/index.d.ts.map +1 -0
- package/lib/models/chat/chat-view-type.enum.d.ts.map +1 -0
- package/lib/models/chat/chat.d.ts.map +1 -0
- package/lib/models/chat/index.d.ts.map +1 -0
- package/lib/models/chat/message-document.d.ts +2 -1
- package/lib/models/chat/message-document.d.ts.map +1 -0
- package/lib/models/chat/message.d.ts.map +1 -0
- package/lib/models/client/annual-client-details.d.ts.map +1 -0
- package/lib/models/client/client-details.d.ts.map +1 -0
- package/lib/models/client/client-income-types.d.ts.map +1 -0
- package/lib/models/client/client-invite.d.ts.map +1 -0
- package/lib/models/client/client-movement.d.ts.map +1 -0
- package/lib/models/client/client-portfolio-chart-data.d.ts.map +1 -0
- package/lib/models/client/client-portfolio-report.d.ts.map +1 -0
- package/lib/models/client/index.d.ts.map +1 -0
- package/lib/models/color/alphabet-colors.enum.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-capital-project.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-forecast.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group-item.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group.enum.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-groups.const.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation.d.ts +2 -4
- package/lib/models/depreciation/depreciation.d.ts.map +1 -0
- package/lib/models/depreciation/index.d.ts +0 -1
- package/lib/models/depreciation/index.d.ts.map +1 -0
- package/lib/models/dictionary/dictionary.d.ts.map +1 -0
- package/lib/models/dictionary/index.d.ts.map +1 -0
- package/lib/models/document/document-api-url-prefix.enum.d.ts.map +1 -0
- package/lib/models/document/document-file-types.const.d.ts.map +1 -0
- package/lib/models/document/document-folder.d.ts +1 -5
- package/lib/models/document/document-folder.d.ts.map +1 -0
- package/lib/models/document/document.d.ts +5 -17
- package/lib/models/document/document.d.ts.map +1 -0
- package/lib/models/document/index.d.ts.map +1 -0
- package/lib/models/employee/employee-details.d.ts.map +1 -0
- package/lib/models/employee/employee-invite.d.ts.map +1 -0
- package/lib/models/endpoint/endpoint.d.ts.map +1 -0
- package/lib/models/endpoint/endpoints.const.d.ts.map +1 -0
- package/lib/models/event/app-event-type.enum.d.ts +44 -52
- package/lib/models/event/app-event-type.enum.d.ts.map +1 -0
- package/lib/models/event/app-event.d.ts.map +1 -0
- package/lib/models/event/index.d.ts.map +1 -0
- package/lib/models/export/export-cell-type.enum.d.ts.map +1 -0
- package/lib/models/export/export-cell.d.ts.map +1 -0
- package/lib/models/export/export-data-table.d.ts.map +1 -0
- package/lib/models/export/export-format.enum.d.ts.map +1 -0
- package/lib/models/export/export-row-data-type.enum.d.ts.map +1 -0
- package/lib/models/export/export-row.d.ts.map +1 -0
- package/lib/models/file/file.d.ts +2 -0
- package/lib/models/file/file.d.ts.map +1 -0
- package/lib/models/file/icons-file.enum.d.ts.map +1 -0
- package/lib/models/file/index.d.ts.map +1 -0
- package/lib/models/financial-year/financial-year.d.ts.map +1 -0
- package/lib/models/financial-year/index.d.ts.map +1 -0
- package/lib/models/financial-year/month-name-short.enum.d.ts.map +1 -0
- package/lib/models/financial-year/month-number.enum.d.ts.map +1 -0
- package/lib/models/financial-year/months.const.d.ts.map +1 -0
- package/lib/models/firm/firm.d.ts +4 -10
- package/lib/models/firm/firm.d.ts.map +1 -0
- package/lib/models/holding/holding-reinvest.d.ts.map +1 -0
- package/lib/models/holding/holding-sale.d.ts.map +1 -0
- package/lib/models/holding/holding-type-exchange.d.ts.map +1 -0
- package/lib/models/holding/holding-type.d.ts.map +1 -0
- package/lib/models/holding/holding.d.ts.map +1 -0
- package/lib/models/holding/index.d.ts.map +1 -0
- package/lib/models/income-position/income-position.d.ts.map +1 -0
- package/lib/models/income-source/income-source-chart-data.d.ts.map +1 -0
- package/lib/models/income-source/income-source-forecast.d.ts.map +1 -0
- package/lib/models/income-source/income-source-type.d.ts.map +1 -0
- package/lib/models/income-source/income-source.d.ts.map +1 -0
- package/lib/models/income-source/index.d.ts.map +1 -0
- package/lib/models/income-source/salary-forecast.d.ts.map +1 -0
- package/lib/models/income-source/sole-forecast.d.ts.map +1 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/loan/index.d.ts.map +1 -0
- package/lib/models/loan/loan-max-number-of-payments.enum.d.ts.map +1 -0
- package/lib/models/loan/loan-payment.d.ts.map +1 -0
- package/lib/models/loan/loan-payout.d.ts.map +1 -0
- package/lib/models/loan/loan.d.ts.map +1 -0
- package/lib/models/notification/index.d.ts.map +1 -0
- package/lib/models/notification/notification.d.ts.map +1 -0
- package/lib/models/pdf/pdf-orientation.enum.d.ts.map +1 -0
- package/lib/models/pdf/pdf-settings.d.ts.map +1 -0
- package/lib/models/phone/phone.d.ts.map +1 -0
- package/lib/models/property/borrowing-report.d.ts.map +1 -0
- package/lib/models/property/calculation-form-item.d.ts.map +1 -0
- package/lib/models/property/calculation-form-type.enum.d.ts.map +1 -0
- package/lib/models/property/capital-costs-itmes.const.d.ts.map +1 -0
- package/lib/models/property/corelogic-suggestion.d.ts.map +1 -0
- package/lib/models/property/index.d.ts.map +1 -0
- package/lib/models/property/property-category-movement.d.ts.map +1 -0
- package/lib/models/property/property-category.d.ts.map +1 -0
- package/lib/models/property/property-document.d.ts +5 -10
- package/lib/models/property/property-document.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-data.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-item.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-type.enum.d.ts.map +1 -0
- package/lib/models/property/property-forecast.d.ts.map +1 -0
- package/lib/models/property/property-sale/index.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale-cost-base.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale.d.ts.map +1 -0
- package/lib/models/property/property-sale/tax-exemption-meta-field.d.ts.map +1 -0
- package/lib/models/property/property-sale/tax-exemption.d.ts.map +1 -0
- package/lib/models/property/property-share.d.ts.map +1 -0
- package/lib/models/property/property-subscription.d.ts.map +1 -0
- package/lib/models/property/property-valuation.d.ts +0 -1
- package/lib/models/property/property-valuation.d.ts.map +1 -0
- package/lib/models/property/property.d.ts +4 -10
- package/lib/models/property/property.d.ts.map +1 -0
- package/lib/models/property/share-filter-options.enum.d.ts.map +1 -0
- package/lib/models/registration-invite/registration-invite.d.ts +4 -4
- package/lib/models/registration-invite/registration-invite.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-lvp-report-item.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-report-item.d.ts.map +1 -0
- package/lib/models/report/depreciation/index.d.ts.map +1 -0
- package/lib/models/report/index.d.ts.map +1 -0
- package/lib/models/report/my-tax/ato-links.d.ts.map +1 -0
- package/lib/models/report/my-tax/index.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts.map +1 -0
- package/lib/models/report/property/index.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item-depreciation.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item-transaction.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item.d.ts.map +1 -0
- package/lib/models/report/sole/index.d.ts.map +1 -0
- package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts.map +1 -0
- package/lib/models/report/vehicle-expense/vehicle-expense.d.ts.map +1 -0
- package/lib/models/service-subscription/index.d.ts.map +1 -0
- package/lib/models/service-subscription/module-url-list.const.d.ts.map +1 -0
- package/lib/models/service-subscription/payment-method-brand.enum.d.ts.map +1 -0
- package/lib/models/service-subscription/service-payment-method.d.ts.map +1 -0
- package/lib/models/service-subscription/service-payment.d.ts.map +1 -0
- package/lib/models/service-subscription/service-price.d.ts.map +1 -0
- package/lib/models/service-subscription/service-product.d.ts.map +1 -0
- package/lib/models/service-subscription/service-promo-code-duration.enum.d.ts.map +1 -0
- package/lib/models/service-subscription/service-promo-code.d.ts.map +1 -0
- package/lib/models/service-subscription/service-subscription-item.d.ts.map +1 -0
- package/lib/models/service-subscription/service-subscription.d.ts.map +1 -0
- package/lib/models/sole/bas-report.d.ts.map +1 -0
- package/lib/models/sole/index.d.ts.map +1 -0
- package/lib/models/sole/sole-business-activity.d.ts.map +1 -0
- package/lib/models/sole/sole-business-allocation.d.ts.map +1 -0
- package/lib/models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
- package/lib/models/sole/sole-business-loss.d.ts.map +1 -0
- package/lib/models/sole/sole-business.d.ts +4 -4
- package/lib/models/sole/sole-business.d.ts.map +1 -0
- package/lib/models/sole/sole-contact.d.ts +4 -4
- package/lib/models/sole/sole-contact.d.ts.map +1 -0
- package/lib/models/sole/sole-depreciation-method.d.ts.map +1 -0
- package/lib/models/sole/sole-details.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice-item.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice-template.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice.d.ts.map +1 -0
- package/lib/models/tax-return/index.d.ts.map +1 -0
- package/lib/models/tax-return/tax-return-category.d.ts.map +1 -0
- package/lib/models/tax-return/tax-return-item.d.ts.map +1 -0
- package/lib/models/tax-return/tax-return.d.ts.map +1 -0
- package/lib/models/tax-review/tax-review.d.ts.map +1 -0
- package/lib/models/tax-summary/report-item-details.d.ts.map +1 -0
- package/lib/models/tax-summary/report-item.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary-section.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary-type.enum.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary.d.ts.map +1 -0
- package/lib/models/toast/toast-type.enum.d.ts.map +1 -0
- package/lib/models/toast/toast.d.ts.map +1 -0
- package/lib/models/transaction/allocation-rule-condition.d.ts.map +1 -0
- package/lib/models/transaction/allocation-rule-transaction-meta-field.d.ts.map +1 -0
- package/lib/models/transaction/allocation-rule-transaction.d.ts.map +1 -0
- package/lib/models/transaction/allocation-rule.d.ts.map +1 -0
- package/lib/models/transaction/income-amount-type.enum.d.ts.map +1 -0
- package/lib/models/transaction/index.d.ts +0 -1
- package/lib/models/transaction/index.d.ts.map +1 -0
- package/lib/models/transaction/transaction-allocation.d.ts.map +1 -0
- package/lib/models/transaction/transaction-category.enum.d.ts.map +1 -0
- package/lib/models/transaction/transaction-meta-field.d.ts.map +1 -0
- package/lib/models/transaction/transaction.d.ts +2 -5
- package/lib/models/transaction/transaction.d.ts.map +1 -0
- package/lib/models/user/index.d.ts.map +1 -0
- package/lib/models/user/my-account-history-initiated-by.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history-status.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history-type.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history.d.ts.map +1 -0
- package/lib/models/user/occupation.d.ts.map +1 -0
- package/lib/models/user/user-roles.const.d.ts.map +1 -0
- package/lib/models/user/user-to-register.d.ts.map +1 -0
- package/lib/models/user/user-work-position.const.d.ts.map +1 -0
- package/lib/models/user/user.d.ts +6 -12
- package/lib/models/user/user.d.ts.map +1 -0
- package/lib/models/user-event/user-event-setting-field.enum.d.ts.map +1 -0
- package/lib/models/user-event/user-event-setting.d.ts.map +1 -0
- package/lib/models/user-event/user-event-type-category.d.ts.map +1 -0
- package/lib/models/user-event/user-event-type.d.ts.map +1 -0
- package/lib/models/vehicle/index.d.ts.map +1 -0
- package/lib/models/vehicle/logbook-period.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-claim-details.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-claim.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-logbook.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle.d.ts.map +1 -0
- package/lib/services/account-setup/account-setup.service.d.ts.map +1 -0
- package/lib/services/account-setup/index.d.ts.map +1 -0
- package/lib/services/affiliate/index.d.ts.map +1 -0
- package/lib/services/affiliate/rewardful/index.d.ts.map +1 -0
- package/lib/services/affiliate/rewardful/rewardful.service.d.ts.map +1 -0
- package/lib/services/asset/assets.service.d.ts.map +1 -0
- package/lib/services/asset/index.d.ts.map +1 -0
- package/lib/services/auth/auth.service.d.ts.map +1 -0
- package/lib/services/auth/index.d.ts.map +1 -0
- package/lib/services/auth/jwt.service.d.ts.map +1 -0
- package/lib/services/bank/bank-account-calculation.service.d.ts.map +1 -0
- package/lib/services/bank/bank-transaction-calculation.service.d.ts.map +1 -0
- package/lib/services/bank/index.d.ts.map +1 -0
- package/lib/services/data.service.d.ts.map +1 -0
- package/lib/services/event/event-dispatcher.service.d.ts.map +1 -0
- package/lib/services/event/index.d.ts.map +1 -0
- package/lib/services/event/sse.service.d.ts.map +1 -0
- package/lib/services/export/export-formatter.service.d.ts.map +1 -0
- package/lib/services/export/index.d.ts.map +1 -0
- package/lib/services/header-title/header-title.service.d.ts.map +1 -0
- package/lib/services/header-title/index.d.ts.map +1 -0
- package/lib/services/http/address/address.service.d.ts.map +1 -0
- package/lib/services/http/address/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-account/bank-account.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-account/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts.map +1 -0
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-connection/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-transaction/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/basiq-messages.enum.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/basiq-token.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/basiq.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/index.d.ts.map +1 -0
- package/lib/services/http/bank/index.d.ts.map +1 -0
- package/lib/services/http/budget/budget-messages.enum.d.ts.map +1 -0
- package/lib/services/http/budget/budget.service.d.ts.map +1 -0
- package/lib/services/http/budget/index.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts.service.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/index.d.ts.map +1 -0
- package/lib/services/http/chat/chat.service.d.ts.map +1 -0
- package/lib/services/http/chat/index.d.ts.map +1 -0
- package/lib/services/http/chat/message-document.service.d.ts.map +1 -0
- package/lib/services/http/chat/message.service.d.ts.map +1 -0
- package/lib/services/http/client/capital-gain/annual-client-details.service.d.ts.map +1 -0
- package/lib/services/http/client/index.d.ts.map +1 -0
- package/lib/services/http/client/occupation/occupation.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-capital-project/index.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation.service.d.ts +1 -7
- package/lib/services/http/depreciation/depreciation.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/index.d.ts +0 -1
- package/lib/services/http/depreciation/index.d.ts.map +1 -0
- package/lib/services/http/document/document-folder/document-folder-messages.enum.d.ts +6 -0
- package/lib/services/http/document/document-folder/document-folder-messages.enum.d.ts.map +1 -0
- package/lib/services/http/document/document-folder/document-folder.service.d.ts +6 -24
- package/lib/services/http/document/document-folder/document-folder.service.d.ts.map +1 -0
- package/lib/services/http/document/document-folder/index.d.ts +2 -0
- package/lib/services/http/document/document-folder/index.d.ts.map +1 -0
- package/lib/services/http/document/document-messages.enum.d.ts +6 -0
- package/lib/services/http/document/document-messages.enum.d.ts.map +1 -0
- package/lib/services/http/document/document.service.d.ts +7 -3
- package/lib/services/http/document/document.service.d.ts.map +1 -0
- package/lib/services/http/document/index.d.ts +2 -1
- package/lib/services/http/document/index.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-auth-options.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-auth-response.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-status-response.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook.service.d.ts.map +1 -0
- package/lib/services/http/facebook/index.d.ts.map +1 -0
- package/lib/services/http/file/file.service.d.ts +2 -0
- package/lib/services/http/file/file.service.d.ts.map +1 -0
- package/lib/services/http/file/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-income/client-income-types.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-income/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-invite/client-invite-messages.enum.d.ts.map +1 -0
- package/lib/services/http/firm/client-invite/client-invite.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-invite/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-movement/client-movement.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-movement/index.d.ts.map +1 -0
- package/lib/services/http/firm/employee/employee-messages.enum.d.ts.map +1 -0
- package/lib/services/http/firm/employee/employee.service.d.ts.map +1 -0
- package/lib/services/http/firm/employee/index.d.ts.map +1 -0
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts.map +1 -0
- package/lib/services/http/firm/employee-invite/index.d.ts.map +1 -0
- package/lib/services/http/firm/firm-messages.enum.d.ts +4 -0
- package/lib/services/http/firm/firm-messages.enum.d.ts.map +1 -0
- package/lib/services/http/firm/firm.service.d.ts +0 -1
- package/lib/services/http/firm/firm.service.d.ts.map +1 -0
- package/lib/services/http/firm/index.d.ts +1 -0
- package/lib/services/http/firm/index.d.ts.map +1 -0
- package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts.map +1 -0
- package/lib/services/http/firm/portfolio-report/index.d.ts.map +1 -0
- package/lib/services/http/google/google.service.d.ts.map +1 -0
- package/lib/services/http/google/index.d.ts.map +1 -0
- package/lib/services/http/holding/holding-messages.enum.d.ts.map +1 -0
- package/lib/services/http/holding/holding-sale-messages.enum.d.ts.map +1 -0
- package/lib/services/http/holding/holding-sale.service.d.ts.map +1 -0
- package/lib/services/http/holding/holding-type-messages.enum.d.ts.map +1 -0
- package/lib/services/http/holding/holding-type.service.d.ts.map +1 -0
- package/lib/services/http/holding/holding.service.d.ts.map +1 -0
- package/lib/services/http/holding/index.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source.service.d.ts.map +1 -0
- package/lib/services/http/income-source/index.d.ts.map +1 -0
- package/lib/services/http/income-source/salary-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts.map +1 -0
- package/lib/services/http/income-source/sole-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts.map +1 -0
- package/lib/services/http/index.d.ts +0 -1
- package/lib/services/http/index.d.ts.map +1 -0
- package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts.map +1 -0
- package/lib/services/http/loan/borrowing-expense/index.d.ts.map +1 -0
- package/lib/services/http/loan/index.d.ts.map +1 -0
- package/lib/services/http/loan/loan.service.d.ts.map +1 -0
- package/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.d.ts.map +1 -0
- package/lib/services/http/property/borrowing-report/borrowing-report.service.d.ts.map +1 -0
- package/lib/services/http/property/borrowing-report/index.d.ts.map +1 -0
- package/lib/services/http/property/index.d.ts +2 -0
- package/lib/services/http/property/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category/property-category.service.d.ts.map +1 -0
- package/lib/services/http/property/property-category-movement/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts.map +1 -0
- package/lib/services/http/property/property-document/index.d.ts +1 -0
- package/lib/services/http/property/property-document/index.d.ts.map +1 -0
- package/lib/services/http/property/property-document/property-document-messages.enum.d.ts +6 -0
- package/lib/services/http/property/property-document/property-document-messages.enum.d.ts.map +1 -0
- package/lib/services/http/property/property-document/property-document.service.d.ts +1 -0
- package/lib/services/http/property/property-document/property-document.service.d.ts.map +1 -0
- package/lib/services/http/property/property-messages.enum.d.ts +4 -0
- package/lib/services/http/property/property-messages.enum.d.ts.map +1 -0
- package/lib/services/http/property/property-sale/index.d.ts.map +1 -0
- package/lib/services/http/property/property-sale/property-sale.service.d.ts.map +1 -0
- package/lib/services/http/property/property-share/index.d.ts.map +1 -0
- package/lib/services/http/property/property-share/property-share.service.d.ts.map +1 -0
- package/lib/services/http/property/property-valuation/index.d.ts +2 -0
- package/lib/services/http/property/property-valuation/index.d.ts.map +1 -0
- package/lib/services/http/property/property-valuation/property-valuation-messages.enum.d.ts +4 -0
- package/lib/services/http/property/property-valuation/property-valuation-messages.enum.d.ts.map +1 -0
- package/lib/services/http/property/property-valuation/property-valuation.service.d.ts +21 -0
- package/lib/services/http/property/property-valuation/property-valuation.service.d.ts.map +1 -0
- package/lib/services/http/property/property.service.d.ts +1 -0
- package/lib/services/http/property/property.service.d.ts.map +1 -0
- package/lib/services/http/rest/http-method.type.d.ts.map +1 -0
- package/lib/services/http/rest/index.d.ts.map +1 -0
- package/lib/services/http/rest/rest-method.type.d.ts.map +1 -0
- package/lib/services/http/rest/rest-old.service.d.ts.map +1 -0
- package/lib/services/http/rest/rest.service.d.ts +2 -2
- package/lib/services/http/rest/rest.service.d.ts.map +1 -0
- package/lib/services/http/service-notification/index.d.ts.map +1 -0
- package/lib/services/http/service-notification/service-notification.service.d.ts.map +1 -0
- package/lib/services/http/sole/bas-report/bas-report.service.d.ts.map +1 -0
- package/lib/services/http/sole/index.d.ts +1 -1
- package/lib/services/http/sole/index.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business/index.d.ts +2 -0
- package/lib/services/http/sole/sole-business/index.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business/sole-business-messages.enum.d.ts +3 -0
- package/lib/services/http/sole/sole-business/sole-business-messages.enum.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business/sole-business.service.d.ts +0 -1
- package/lib/services/http/sole/sole-business/sole-business.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-details/sole-details.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts.map +1 -0
- package/lib/services/http/subscription/index.d.ts.map +1 -0
- package/lib/services/http/subscription/service-payment/service-payment.service.d.ts.map +1 -0
- package/lib/services/http/subscription/service-payment-method/service-payment-method.service.d.ts.map +1 -0
- package/lib/services/http/subscription/service-price/service-price.service.d.ts.map +1 -0
- package/lib/services/http/subscription/service-product/service-product.service.d.ts.map +1 -0
- package/lib/services/http/subscription/service-subscription/subscription.service.d.ts.map +1 -0
- package/lib/services/http/tax-review/index.d.ts.map +1 -0
- package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts.map +1 -0
- package/lib/services/http/tax-review/tax-review.service.d.ts.map +1 -0
- package/lib/services/http/tax-summary/index.d.ts.map +1 -0
- package/lib/services/http/tax-summary/tax-summary.service.d.ts.map +1 -0
- package/lib/services/http/transaction/index.d.ts +0 -1
- package/lib/services/http/transaction/index.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction.service.d.ts +1 -5
- package/lib/services/http/transaction/transaction.service.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/index.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/tutorial-video.service.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/video-source.interface.d.ts.map +1 -0
- package/lib/services/http/user/financial-year/financial-year.service.d.ts.map +1 -0
- package/lib/services/http/user/index.d.ts +1 -0
- package/lib/services/http/user/index.d.ts.map +1 -0
- package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts.map +1 -0
- package/lib/services/http/user/user-event-type/user-event-type.service.d.ts.map +1 -0
- package/lib/services/http/user/user-messages.enum.d.ts +5 -0
- package/lib/services/http/user/user-messages.enum.d.ts.map +1 -0
- package/lib/services/http/user/user.service.d.ts.map +1 -0
- package/lib/services/http/user/users-invite/users-invite.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/index.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-logbook.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle.service.d.ts.map +1 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/intercom/index.d.ts.map +1 -0
- package/lib/services/intercom/intercom.service.d.ts.map +1 -0
- package/lib/services/json/chart-accounts/chart-accounts-value.service.d.ts.map +1 -0
- package/lib/services/json/holding/holding-type-exchange.service.d.ts.map +1 -0
- package/lib/services/json/income-source/income-source-type.service.d.ts.map +1 -0
- package/lib/services/json/index.d.ts.map +1 -0
- package/lib/services/json/tax-exemption/tax-exemption.service.d.ts.map +1 -0
- package/lib/services/json/tax-return/tax-return-item.service.d.ts.map +1 -0
- package/lib/services/pdf/index.d.ts.map +1 -0
- package/lib/services/pdf/js-pdf.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-dom-element/file-settings.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/file-settings.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-table.service.d.ts.map +1 -0
- package/lib/services/preloader/index.d.ts.map +1 -0
- package/lib/services/preloader/preloader.service.d.ts.map +1 -0
- package/lib/services/property/corelogic/corelogic.service.d.ts.map +1 -0
- package/lib/services/property/corelogic/index.d.ts.map +1 -0
- package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts.map +1 -0
- package/lib/services/property/equity-position-chart/index.d.ts.map +1 -0
- package/lib/services/property/index.d.ts.map +1 -0
- package/lib/services/property/property-calculation/index.d.ts.map +1 -0
- package/lib/services/property/property-calculation/property-calculation.service.d.ts.map +1 -0
- package/lib/services/report/index.d.ts.map +1 -0
- package/lib/services/report/property/property-transaction-report.service.d.ts.map +1 -0
- package/lib/services/toast/index.d.ts.map +1 -0
- package/lib/services/toast/toast.service.d.ts.map +1 -0
- package/lib/services/transaction/index.d.ts.map +1 -0
- package/lib/services/transaction/transaction-calculation.service.d.ts.map +1 -0
- package/lib/services/user/index.d.ts.map +1 -0
- package/lib/services/user/user-switcher.service.d.ts.map +1 -0
- package/lib/services/vehicle/index.d.ts.map +1 -0
- package/lib/services/vehicle/logbook-best-period.service.d.ts.map +1 -0
- package/lib/services/xlsx/index.d.ts.map +1 -0
- package/lib/services/xlsx/xlsx.service.d.ts.map +1 -0
- package/lib/tt-core.module.d.ts.map +1 -0
- package/lib/validators/address-corelogic.validator.d.ts.map +1 -0
- package/lib/validators/at-least-one-enabled.validator.d.ts.map +1 -0
- package/lib/validators/at-least-one.validator.d.ts.map +1 -0
- package/lib/validators/autocomplete.validator.d.ts.map +1 -0
- package/lib/validators/conditional.validator.d.ts.map +1 -0
- package/lib/validators/current-fin-year.validator.d.ts.map +1 -0
- package/lib/validators/date-range.validator.d.ts.map +1 -0
- package/lib/validators/fields-sum.validator.d.ts.map +1 -0
- package/lib/validators/file.validator.d.ts.map +1 -0
- package/lib/validators/greater-than.validator.d.ts.map +1 -0
- package/lib/validators/index.d.ts.map +1 -0
- package/lib/validators/min-date/messages.enum.d.ts.map +1 -0
- package/lib/validators/min-date/min-date.validator.d.ts.map +1 -0
- package/lib/validators/password-match.validator.d.ts.map +1 -0
- package/lib/validators/password.validator.d.ts.map +1 -0
- package/lib/validators/phone-number.validator.d.ts.map +1 -0
- package/lib/validators/required-length.validator.d.ts.map +1 -0
- package/lib/validators/transactions-meta-fields.validator.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -17
- package/public-api.d.ts.map +1 -0
- package/taxtank-core.d.ts.map +1 -0
- package/esm2020/lib/db/Models/depreciation/depreciation-receipt.mjs +0 -4
- package/esm2020/lib/db/Models/transaction/transaction-receipt.mjs +0 -4
- package/esm2020/lib/interfaces/photoable.mjs +0 -2
- package/esm2020/lib/interfaces/receipt.interface.mjs +0 -2
- package/esm2020/lib/models/depreciation/depreciation-receipt.mjs +0 -11
- package/esm2020/lib/models/transaction/transaction-receipt.mjs +0 -11
- package/esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs +0 -40
- package/esm2020/lib/services/http/depreciation/depreciation-receipt/index.mjs +0 -2
- package/esm2020/lib/services/http/receipt/index.mjs +0 -2
- package/esm2020/lib/services/http/receipt/receipt.service.mjs +0 -76
- package/esm2020/lib/services/http/sole/sole-business/messages.enum.mjs +0 -7
- package/esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs +0 -40
- package/lib/db/Models/depreciation/depreciation-receipt.d.ts +0 -12
- package/lib/db/Models/transaction/transaction-receipt.d.ts +0 -12
- package/lib/interfaces/photoable.d.ts +0 -13
- package/lib/interfaces/receipt.interface.d.ts +0 -12
- package/lib/models/depreciation/depreciation-receipt.d.ts +0 -8
- package/lib/models/transaction/transaction-receipt.d.ts +0 -8
- package/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.d.ts +0 -28
- package/lib/services/http/depreciation/depreciation-receipt/index.d.ts +0 -1
- package/lib/services/http/receipt/index.d.ts +0 -1
- package/lib/services/http/receipt/receipt.service.d.ts +0 -62
- package/lib/services/http/sole/sole-business/messages.enum.d.ts +0 -5
- package/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.d.ts +0 -28
|
@@ -72,9 +72,9 @@ class CorelogicService {
|
|
|
72
72
|
.pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))));
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
76
|
-
CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
75
|
+
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 });
|
|
76
|
+
CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, providedIn: 'root' });
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicService, decorators: [{
|
|
78
78
|
type: Injectable,
|
|
79
79
|
args: [{
|
|
80
80
|
providedIn: 'root'
|
|
@@ -112,9 +112,9 @@ class CorelogicInterceptor {
|
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
116
|
-
CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
115
|
+
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 });
|
|
116
|
+
CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor });
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CorelogicInterceptor, decorators: [{
|
|
118
118
|
type: Injectable
|
|
119
119
|
}], ctorParameters: function () { return [{ type: CorelogicService }, { type: undefined, decorators: [{
|
|
120
120
|
type: Inject,
|
|
@@ -151,9 +151,9 @@ class FinancialYearInterceptor {
|
|
|
151
151
|
return next.handle(clonedReq);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
155
|
-
FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
154
|
+
FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
155
|
+
FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor });
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
|
|
157
157
|
type: Injectable
|
|
158
158
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
159
159
|
type: Inject,
|
|
@@ -206,9 +206,9 @@ class AddressService {
|
|
|
206
206
|
return this.countriesSubject.asObservable();
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
210
|
-
AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
209
|
+
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 });
|
|
210
|
+
AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, providedIn: 'root' });
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AddressService, decorators: [{
|
|
212
212
|
type: Injectable,
|
|
213
213
|
args: [{
|
|
214
214
|
providedIn: 'root'
|
|
@@ -393,9 +393,6 @@ let DepreciationCapitalProject$1 = class DepreciationCapitalProject extends Abst
|
|
|
393
393
|
let DepreciationForecast$1 = class DepreciationForecast extends AbstractModel {
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
-
let DepreciationReceipt$1 = class DepreciationReceipt extends AbstractModel {
|
|
397
|
-
};
|
|
398
|
-
|
|
399
396
|
var TankTypeEnum;
|
|
400
397
|
(function (TankTypeEnum) {
|
|
401
398
|
TankTypeEnum[TankTypeEnum["PROPERTY"] = 1] = "PROPERTY";
|
|
@@ -426,8 +423,7 @@ class TransactionBase extends ObservableModel {
|
|
|
426
423
|
/**
|
|
427
424
|
* @TODO remove when AllocateForm is refactored and not merging with Transaction class which cause the issue
|
|
428
425
|
*/
|
|
429
|
-
set tankType(tankType) {
|
|
430
|
-
}
|
|
426
|
+
set tankType(tankType) { }
|
|
431
427
|
/**
|
|
432
428
|
* Check if current tank is Property
|
|
433
429
|
*/
|
|
@@ -466,6 +462,12 @@ class TransactionBase extends ObservableModel {
|
|
|
466
462
|
// @TODO Alex we need another way to distinguish work/holding
|
|
467
463
|
return !this.isPropertyTank() && !this.isSoleTank();
|
|
468
464
|
}
|
|
465
|
+
isPersonalTank() {
|
|
466
|
+
if (!this.chartAccounts) {
|
|
467
|
+
return false;
|
|
468
|
+
}
|
|
469
|
+
return CHART_ACCOUNTS_CATEGORIES.personal.includes(this.chartAccounts?.category);
|
|
470
|
+
}
|
|
469
471
|
get amountWithGst() {
|
|
470
472
|
return this.isGST ? round(this.amount * ChartAccounts.GSTCoefficient, 2) : this.amount;
|
|
471
473
|
}
|
|
@@ -489,9 +491,7 @@ __decorate([
|
|
|
489
491
|
Transform(({ value }) => +value)
|
|
490
492
|
], TransactionBase.prototype, "amount", void 0);
|
|
491
493
|
__decorate([
|
|
492
|
-
|
|
493
|
-
Type(() => Object),
|
|
494
|
-
Transform(({ obj }) => obj.file)
|
|
494
|
+
Type(() => AppFile)
|
|
495
495
|
], TransactionBase.prototype, "file", void 0);
|
|
496
496
|
__decorate([
|
|
497
497
|
Transform(({ value }) => +value)
|
|
@@ -519,12 +519,6 @@ let Document$1 = class Document extends AbstractModel {
|
|
|
519
519
|
};
|
|
520
520
|
|
|
521
521
|
let PropertyDocument$1 = class PropertyDocument extends AbstractModel {
|
|
522
|
-
getApiUrlPrefix() {
|
|
523
|
-
return '';
|
|
524
|
-
}
|
|
525
|
-
getEntity() {
|
|
526
|
-
return undefined;
|
|
527
|
-
}
|
|
528
522
|
};
|
|
529
523
|
|
|
530
524
|
let TaxReview$1 = class TaxReview extends AbstractModel {
|
|
@@ -632,11 +626,8 @@ __decorate([
|
|
|
632
626
|
let PropertySubscription$1 = class PropertySubscription extends AbstractModel {
|
|
633
627
|
};
|
|
634
628
|
|
|
635
|
-
let PropertyValuation$1 = class PropertyValuation extends
|
|
629
|
+
let PropertyValuation$1 = class PropertyValuation extends ObservableModel {
|
|
636
630
|
};
|
|
637
|
-
__decorate([
|
|
638
|
-
Type(() => Number)
|
|
639
|
-
], PropertyValuation$1.prototype, "marketValue", void 0);
|
|
640
631
|
|
|
641
632
|
let Property$1 = class Property extends ObservableModel {
|
|
642
633
|
};
|
|
@@ -731,9 +722,6 @@ let TransactionAllocation$1 = class TransactionAllocation extends AbstractModel
|
|
|
731
722
|
let TransactionMetaField$1 = class TransactionMetaField extends AbstractModel {
|
|
732
723
|
};
|
|
733
724
|
|
|
734
|
-
let TransactionReceipt$1 = class TransactionReceipt extends AbstractModel {
|
|
735
|
-
};
|
|
736
|
-
|
|
737
725
|
let Transaction$1 = class Transaction extends TransactionBase {
|
|
738
726
|
};
|
|
739
727
|
|
|
@@ -1397,22 +1385,24 @@ var TaxReturnItemEnum;
|
|
|
1397
1385
|
class BankExternalStats {
|
|
1398
1386
|
}
|
|
1399
1387
|
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1388
|
+
/**
|
|
1389
|
+
* The model renamed for more comfortable work because File already exist in JS
|
|
1390
|
+
* @TODO Alex: consider a better name like document
|
|
1391
|
+
*/
|
|
1392
|
+
class AppFile extends File$1 {
|
|
1393
|
+
isImage() {
|
|
1394
|
+
return AppFile.imageMimeTypes.includes[this.mimeType];
|
|
1403
1395
|
}
|
|
1396
|
+
}
|
|
1397
|
+
AppFile.imageMimeTypes = ['image/jpg, image/jpeg, image/png, image/tiff, image/bmp'];
|
|
1398
|
+
|
|
1399
|
+
class Bank extends Bank$1 {
|
|
1404
1400
|
isManual() {
|
|
1405
1401
|
return this.provider === BankProviderEnum.MANUAL;
|
|
1406
1402
|
}
|
|
1407
1403
|
isBasiq() {
|
|
1408
1404
|
return this.provider !== BankProviderEnum.MANUAL;
|
|
1409
1405
|
}
|
|
1410
|
-
getPhoto() {
|
|
1411
|
-
if (!this.logo) {
|
|
1412
|
-
return null;
|
|
1413
|
-
}
|
|
1414
|
-
return this.logo.includes('http') ? `${this.logo}` : `${localStorage.getItem('api_uri')}${this.logo}`;
|
|
1415
|
-
}
|
|
1416
1406
|
}
|
|
1417
1407
|
__decorate([
|
|
1418
1408
|
Transform(({ value }) => value ? value.replace(' ', '%20') : null)
|
|
@@ -1424,6 +1414,9 @@ __decorate([
|
|
|
1424
1414
|
__decorate([
|
|
1425
1415
|
Type(() => BankExternalStats)
|
|
1426
1416
|
], Bank.prototype, "externalStats", void 0);
|
|
1417
|
+
__decorate([
|
|
1418
|
+
Type(() => AppFile)
|
|
1419
|
+
], Bank.prototype, "file", void 0);
|
|
1427
1420
|
|
|
1428
1421
|
/**
|
|
1429
1422
|
* Enum with maximum number of payments, depending on the frequency.
|
|
@@ -1858,7 +1851,7 @@ class Collection {
|
|
|
1858
1851
|
if (index >= 0) {
|
|
1859
1852
|
this.items.splice(index, 1, item);
|
|
1860
1853
|
}
|
|
1861
|
-
return this;
|
|
1854
|
+
return this.create(this.items);
|
|
1862
1855
|
}
|
|
1863
1856
|
diff(items) {
|
|
1864
1857
|
return this.filter((model) => !items.map((item) => item.id).includes(model.id));
|
|
@@ -3807,7 +3800,7 @@ var UserRolesEnum;
|
|
|
3807
3800
|
UserRolesEnum["PROPERTY_TANK"] = "ROLE_USER_PROPERTY";
|
|
3808
3801
|
UserRolesEnum["SOLE_TANK"] = "ROLE_USER_SOLE";
|
|
3809
3802
|
UserRolesEnum["HOLDING_TANK"] = "ROLE_USER_HOLDING";
|
|
3810
|
-
UserRolesEnum["SWITCH_USER"] = "
|
|
3803
|
+
UserRolesEnum["SWITCH_USER"] = "IS_IMPERSONATOR";
|
|
3811
3804
|
})(UserRolesEnum || (UserRolesEnum = {}));
|
|
3812
3805
|
|
|
3813
3806
|
const USER_WORK_POSITION = {
|
|
@@ -3855,13 +3848,10 @@ var ClientInviteTypeEnum;
|
|
|
3855
3848
|
})(ClientInviteTypeEnum || (ClientInviteTypeEnum = {}));
|
|
3856
3849
|
|
|
3857
3850
|
class RegistrationInvite extends RegistrationInvite$1 {
|
|
3858
|
-
getPhotoPlaceholder() {
|
|
3859
|
-
return `${this.firstName[0].toUpperCase()}${this.firstName[1]}`;
|
|
3860
|
-
}
|
|
3861
|
-
getPhoto() {
|
|
3862
|
-
return null;
|
|
3863
|
-
}
|
|
3864
3851
|
}
|
|
3852
|
+
__decorate([
|
|
3853
|
+
Type(() => AppFile)
|
|
3854
|
+
], RegistrationInvite.prototype, "file", void 0);
|
|
3865
3855
|
|
|
3866
3856
|
var PhoneTypeEnum;
|
|
3867
3857
|
(function (PhoneTypeEnum) {
|
|
@@ -3934,18 +3924,6 @@ class UserToRegister {
|
|
|
3934
3924
|
}
|
|
3935
3925
|
|
|
3936
3926
|
class Firm extends Firm$1 {
|
|
3937
|
-
/**
|
|
3938
|
-
* get firm photo link
|
|
3939
|
-
*/
|
|
3940
|
-
getPhoto() {
|
|
3941
|
-
return this.photo;
|
|
3942
|
-
}
|
|
3943
|
-
/**
|
|
3944
|
-
* get firm initials
|
|
3945
|
-
*/
|
|
3946
|
-
getPhotoPlaceholder() {
|
|
3947
|
-
return `${this.name[0].toUpperCase()}${this.name[1]}`;
|
|
3948
|
-
}
|
|
3949
3927
|
}
|
|
3950
3928
|
__decorate([
|
|
3951
3929
|
Type(() => User)
|
|
@@ -3956,6 +3934,9 @@ __decorate([
|
|
|
3956
3934
|
__decorate([
|
|
3957
3935
|
Type(() => Phone)
|
|
3958
3936
|
], Firm.prototype, "phone", void 0);
|
|
3937
|
+
__decorate([
|
|
3938
|
+
Type(() => AppFile)
|
|
3939
|
+
], Firm.prototype, "file", void 0);
|
|
3959
3940
|
|
|
3960
3941
|
class ClientInvite extends ClientInvite$1 {
|
|
3961
3942
|
/**
|
|
@@ -4372,84 +4353,6 @@ __decorate([
|
|
|
4372
4353
|
Type(() => Firm)
|
|
4373
4354
|
], EmployeeDetails.prototype, "firm", void 0);
|
|
4374
4355
|
|
|
4375
|
-
class ServicePayment extends ServicePayment$1 {
|
|
4376
|
-
/**
|
|
4377
|
-
* Stripe stores actual links to payment invoices for 30 days.
|
|
4378
|
-
* Link expires after 30 days
|
|
4379
|
-
*/
|
|
4380
|
-
isInvoiceLinkExpired() {
|
|
4381
|
-
const expirationDate = new Date(this.date.setDate(this.date.getDate() + ServicePayment.daysToInvoiceUrlExpired));
|
|
4382
|
-
return expirationDate.getTime() < new Date().getTime();
|
|
4383
|
-
}
|
|
4384
|
-
}
|
|
4385
|
-
ServicePayment.daysToInvoiceUrlExpired = 30;
|
|
4386
|
-
__decorate([
|
|
4387
|
-
Type(() => ServiceSubscription)
|
|
4388
|
-
], ServicePayment.prototype, "subscription", void 0);
|
|
4389
|
-
__decorate([
|
|
4390
|
-
Type(() => Date)
|
|
4391
|
-
], ServicePayment.prototype, "date", void 0);
|
|
4392
|
-
|
|
4393
|
-
let ServicePaymentMethod$1 = class ServicePaymentMethod extends AbstractModel {
|
|
4394
|
-
};
|
|
4395
|
-
|
|
4396
|
-
var PaymentMethodBrandEnum;
|
|
4397
|
-
(function (PaymentMethodBrandEnum) {
|
|
4398
|
-
PaymentMethodBrandEnum["UNKNOWN"] = "Unknown";
|
|
4399
|
-
PaymentMethodBrandEnum["AMEX"] = "American Express";
|
|
4400
|
-
PaymentMethodBrandEnum["DINERS"] = "Diners Club";
|
|
4401
|
-
PaymentMethodBrandEnum["DISCOVER"] = "Discover";
|
|
4402
|
-
PaymentMethodBrandEnum["JCB"] = "JCB";
|
|
4403
|
-
PaymentMethodBrandEnum["MASTERCARD"] = "Mastercard";
|
|
4404
|
-
PaymentMethodBrandEnum["UNIONPAY"] = "UnionPay";
|
|
4405
|
-
PaymentMethodBrandEnum["VISA"] = "Visa";
|
|
4406
|
-
})(PaymentMethodBrandEnum || (PaymentMethodBrandEnum = {}));
|
|
4407
|
-
|
|
4408
|
-
var ServicePaymentMethodCardBrandEnum;
|
|
4409
|
-
(function (ServicePaymentMethodCardBrandEnum) {
|
|
4410
|
-
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["UNKNOWN"] = 0] = "UNKNOWN";
|
|
4411
|
-
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["AMEX"] = 1] = "AMEX";
|
|
4412
|
-
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["DINERS"] = 2] = "DINERS";
|
|
4413
|
-
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["DISCOVER"] = 3] = "DISCOVER";
|
|
4414
|
-
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["JCB"] = 4] = "JCB";
|
|
4415
|
-
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["MASTERCARD"] = 5] = "MASTERCARD";
|
|
4416
|
-
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["UNIONPAY"] = 6] = "UNIONPAY";
|
|
4417
|
-
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["VISA"] = 7] = "VISA";
|
|
4418
|
-
})(ServicePaymentMethodCardBrandEnum || (ServicePaymentMethodCardBrandEnum = {}));
|
|
4419
|
-
|
|
4420
|
-
var ServicePaymentMethodTypeEnum;
|
|
4421
|
-
(function (ServicePaymentMethodTypeEnum) {
|
|
4422
|
-
ServicePaymentMethodTypeEnum[ServicePaymentMethodTypeEnum["AU_BECS_DEBIT"] = 1] = "AU_BECS_DEBIT";
|
|
4423
|
-
ServicePaymentMethodTypeEnum[ServicePaymentMethodTypeEnum["CARD"] = 2] = "CARD";
|
|
4424
|
-
})(ServicePaymentMethodTypeEnum || (ServicePaymentMethodTypeEnum = {}));
|
|
4425
|
-
|
|
4426
|
-
class ServicePaymentMethod extends ServicePaymentMethod$1 {
|
|
4427
|
-
get logo() {
|
|
4428
|
-
if (!this.isCard()) {
|
|
4429
|
-
return null;
|
|
4430
|
-
}
|
|
4431
|
-
return `/assets/img/payment-methods/${this.cardBrand}.svg`;
|
|
4432
|
-
}
|
|
4433
|
-
get brandName() {
|
|
4434
|
-
return this.isCard() ? PaymentMethodBrandEnum[ServicePaymentMethodCardBrandEnum[this.cardBrand]] : 'BECS Direct Debit (AU)';
|
|
4435
|
-
}
|
|
4436
|
-
/**
|
|
4437
|
-
* Get expiration date formatted string (MM/YY)
|
|
4438
|
-
*/
|
|
4439
|
-
get expirationDate() {
|
|
4440
|
-
if (!this.isCard()) {
|
|
4441
|
-
return null;
|
|
4442
|
-
}
|
|
4443
|
-
return `${('0' + this.cardExpirationMonth).slice(-2)}/${this.cardExpirationYear.toString().slice(-2)}`;
|
|
4444
|
-
}
|
|
4445
|
-
get description() {
|
|
4446
|
-
return `${this.brandName} ***${this.lastFourDigits}`;
|
|
4447
|
-
}
|
|
4448
|
-
isCard() {
|
|
4449
|
-
return this.type === ServicePaymentMethodTypeEnum.CARD;
|
|
4450
|
-
}
|
|
4451
|
-
}
|
|
4452
|
-
|
|
4453
4356
|
class SoleBusinessAllocation extends SoleBusinessAllocation$1 {
|
|
4454
4357
|
}
|
|
4455
4358
|
__decorate([
|
|
@@ -4514,13 +4417,6 @@ class SoleContact extends SoleContact$1 {
|
|
|
4514
4417
|
get fullName() {
|
|
4515
4418
|
return `${this.firstName} ${this.lastName}`;
|
|
4516
4419
|
}
|
|
4517
|
-
getPhotoPlaceholder() {
|
|
4518
|
-
return `${this.firstName[0].toUpperCase()}${this.lastName[0].toUpperCase()}`;
|
|
4519
|
-
}
|
|
4520
|
-
// @TODO Vik: add photo field to SoleContact
|
|
4521
|
-
getPhoto() {
|
|
4522
|
-
return '';
|
|
4523
|
-
}
|
|
4524
4420
|
}
|
|
4525
4421
|
__decorate([
|
|
4526
4422
|
Type(() => User)
|
|
@@ -4534,6 +4430,9 @@ __decorate([
|
|
|
4534
4430
|
__decorate([
|
|
4535
4431
|
Type(() => SoleInvoice)
|
|
4536
4432
|
], SoleContact.prototype, "invoices", void 0);
|
|
4433
|
+
__decorate([
|
|
4434
|
+
Type(() => AppFile)
|
|
4435
|
+
], SoleContact.prototype, "file", void 0);
|
|
4537
4436
|
|
|
4538
4437
|
var SoleInvoiceStatusesEnum;
|
|
4539
4438
|
(function (SoleInvoiceStatusesEnum) {
|
|
@@ -4951,41 +4850,6 @@ var DepreciationLvpRateEnum;
|
|
|
4951
4850
|
DepreciationLvpRateEnum[DepreciationLvpRateEnum["DEFAULT"] = 0.375] = "DEFAULT";
|
|
4952
4851
|
})(DepreciationLvpRateEnum || (DepreciationLvpRateEnum = {}));
|
|
4953
4852
|
|
|
4954
|
-
/**
|
|
4955
|
-
* Enum with asset types
|
|
4956
|
-
*/
|
|
4957
|
-
var AssetTypeEnum;
|
|
4958
|
-
(function (AssetTypeEnum) {
|
|
4959
|
-
AssetTypeEnum["TRANSACTION_RECEIPT"] = "transactionReceipt";
|
|
4960
|
-
AssetTypeEnum["PROPERTY"] = "property";
|
|
4961
|
-
AssetTypeEnum["DOCUMENT"] = "document";
|
|
4962
|
-
AssetTypeEnum["MESSAGE"] = "message";
|
|
4963
|
-
AssetTypeEnum["USER_PHOTO"] = "userPhoto";
|
|
4964
|
-
AssetTypeEnum["PROPERTY_PHOTO"] = "propertyPhoto";
|
|
4965
|
-
AssetTypeEnum["DEPRECIATION_RECEIPT"] = "depreciationReceipt";
|
|
4966
|
-
AssetTypeEnum["FIRM_PHOTO"] = "firmPhoto";
|
|
4967
|
-
})(AssetTypeEnum || (AssetTypeEnum = {}));
|
|
4968
|
-
|
|
4969
|
-
/**
|
|
4970
|
-
* Enum with asset entity types
|
|
4971
|
-
*/
|
|
4972
|
-
var AssetEntityTypeEnum;
|
|
4973
|
-
(function (AssetEntityTypeEnum) {
|
|
4974
|
-
AssetEntityTypeEnum["PROPERTIES"] = "properties";
|
|
4975
|
-
AssetEntityTypeEnum["FOLDERS"] = "folders";
|
|
4976
|
-
AssetEntityTypeEnum["DEPRECIATIONS"] = "depreciations";
|
|
4977
|
-
AssetEntityTypeEnum["TRANSACTIONS"] = "transactions";
|
|
4978
|
-
AssetEntityTypeEnum["MESSAGES"] = "messages";
|
|
4979
|
-
})(AssetEntityTypeEnum || (AssetEntityTypeEnum = {}));
|
|
4980
|
-
|
|
4981
|
-
class DepreciationReceipt extends DepreciationReceipt$1 {
|
|
4982
|
-
constructor() {
|
|
4983
|
-
super(...arguments);
|
|
4984
|
-
this.type = AssetTypeEnum.DEPRECIATION_RECEIPT;
|
|
4985
|
-
this.entityType = AssetEntityTypeEnum.DEPRECIATIONS;
|
|
4986
|
-
}
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
4853
|
/**
|
|
4990
4854
|
* Income sources chart data
|
|
4991
4855
|
*/
|
|
@@ -5029,12 +4893,6 @@ class IncomeSourceChartData {
|
|
|
5029
4893
|
}
|
|
5030
4894
|
|
|
5031
4895
|
class SoleBusiness extends SoleBusiness$1 {
|
|
5032
|
-
getPhotoPlaceholder() {
|
|
5033
|
-
return `${this.name[0]}${this.name[1]}`;
|
|
5034
|
-
}
|
|
5035
|
-
getPhoto() {
|
|
5036
|
-
return this.logo;
|
|
5037
|
-
}
|
|
5038
4896
|
}
|
|
5039
4897
|
/**
|
|
5040
4898
|
* Maximum number of businesses that a person can have, according to the ATO
|
|
@@ -5073,6 +4931,9 @@ __decorate([
|
|
|
5073
4931
|
__decorate([
|
|
5074
4932
|
Transform(({ value }) => value || false)
|
|
5075
4933
|
], SoleBusiness.prototype, "isPrimaryProduction", void 0);
|
|
4934
|
+
__decorate([
|
|
4935
|
+
Type(() => AppFile)
|
|
4936
|
+
], SoleBusiness.prototype, "file", void 0);
|
|
5076
4937
|
|
|
5077
4938
|
class SoleBusinessActivity extends SoleBusinessActivity$1 {
|
|
5078
4939
|
}
|
|
@@ -5234,18 +5095,6 @@ class User extends User$1 {
|
|
|
5234
5095
|
return this.activeSubscription?.items
|
|
5235
5096
|
.find((subscriptionItem) => subscriptionItem.price.product.role.includes(roleType));
|
|
5236
5097
|
}
|
|
5237
|
-
/**
|
|
5238
|
-
* Get user's photo link
|
|
5239
|
-
*/
|
|
5240
|
-
getPhoto() {
|
|
5241
|
-
return this.photo;
|
|
5242
|
-
}
|
|
5243
|
-
/**
|
|
5244
|
-
* get user's initials
|
|
5245
|
-
*/
|
|
5246
|
-
getPhotoPlaceholder() {
|
|
5247
|
-
return `${this.firstName[0].toUpperCase()}${this.firstName[1]}`;
|
|
5248
|
-
}
|
|
5249
5098
|
isCurrentFinancialYear() {
|
|
5250
5099
|
return new FinancialYear(new Date()).year === this.financialYear;
|
|
5251
5100
|
}
|
|
@@ -5281,6 +5130,9 @@ __decorate([
|
|
|
5281
5130
|
__decorate([
|
|
5282
5131
|
Type(() => User)
|
|
5283
5132
|
], User.prototype, "clients", void 0);
|
|
5133
|
+
__decorate([
|
|
5134
|
+
Type(() => AppFile)
|
|
5135
|
+
], User.prototype, "file", void 0);
|
|
5284
5136
|
|
|
5285
5137
|
class PropertySubscription extends PropertySubscription$1 {
|
|
5286
5138
|
}
|
|
@@ -5312,18 +5164,16 @@ class PropertyCategory extends PropertyCategory$1 {
|
|
|
5312
5164
|
}
|
|
5313
5165
|
|
|
5314
5166
|
class PropertyDocument extends PropertyDocument$1 {
|
|
5315
|
-
|
|
5316
|
-
super(...arguments);
|
|
5317
|
-
this.type = AssetTypeEnum.PROPERTY;
|
|
5318
|
-
this.entityType = AssetEntityTypeEnum.PROPERTIES;
|
|
5319
|
-
}
|
|
5320
|
-
getApiUrlPrefix() {
|
|
5321
|
-
return '';
|
|
5322
|
-
}
|
|
5323
|
-
getEntity() {
|
|
5167
|
+
get parent() {
|
|
5324
5168
|
return this.property;
|
|
5325
5169
|
}
|
|
5326
5170
|
}
|
|
5171
|
+
__decorate([
|
|
5172
|
+
Type(() => Property)
|
|
5173
|
+
], PropertyDocument.prototype, "property", void 0);
|
|
5174
|
+
__decorate([
|
|
5175
|
+
Type(() => AppFile)
|
|
5176
|
+
], PropertyDocument.prototype, "file", void 0);
|
|
5327
5177
|
|
|
5328
5178
|
class PropertyValuation extends PropertyValuation$1 {
|
|
5329
5179
|
get financialYear() {
|
|
@@ -5342,9 +5192,6 @@ __decorate([
|
|
|
5342
5192
|
__decorate([
|
|
5343
5193
|
Type(() => Number)
|
|
5344
5194
|
], PropertyValuation.prototype, "marketValue", void 0);
|
|
5345
|
-
__decorate([
|
|
5346
|
-
Exclude()
|
|
5347
|
-
], PropertyValuation.prototype, "documentFile", void 0);
|
|
5348
5195
|
|
|
5349
5196
|
class PropertyForecast extends PropertyForecast$1 {
|
|
5350
5197
|
constructor() {
|
|
@@ -5429,18 +5276,6 @@ class Property extends Property$1 {
|
|
|
5429
5276
|
isSold() {
|
|
5430
5277
|
return !!this.myShare?.sale;
|
|
5431
5278
|
}
|
|
5432
|
-
/**
|
|
5433
|
-
* Get initials of property. Required by Photoable interface
|
|
5434
|
-
*/
|
|
5435
|
-
getPhotoPlaceholder() {
|
|
5436
|
-
return this.name.split(' ')[1].slice(0, 2);
|
|
5437
|
-
}
|
|
5438
|
-
/**
|
|
5439
|
-
* Get property photo. Required by Photoable interface
|
|
5440
|
-
*/
|
|
5441
|
-
getPhoto() {
|
|
5442
|
-
return this.photo;
|
|
5443
|
-
}
|
|
5444
5279
|
get capitalCostsTotalAmount() {
|
|
5445
5280
|
return this.stampDuty + this.legalFees + this.otherCapitalCosts;
|
|
5446
5281
|
}
|
|
@@ -5658,6 +5493,9 @@ __decorate([
|
|
|
5658
5493
|
__decorate([
|
|
5659
5494
|
Type(() => PropertySubscription)
|
|
5660
5495
|
], Property.prototype, "subscriptions", void 0);
|
|
5496
|
+
__decorate([
|
|
5497
|
+
Type(() => AppFile)
|
|
5498
|
+
], Property.prototype, "file", void 0);
|
|
5661
5499
|
__decorate([
|
|
5662
5500
|
Exclude()
|
|
5663
5501
|
], Property.prototype, "documentFile", void 0);
|
|
@@ -6008,13 +5846,9 @@ class BorrowingReport extends BorrowingReport$1 {
|
|
|
6008
5846
|
* some fields calculated automatically until user filled them manually
|
|
6009
5847
|
*/
|
|
6010
5848
|
static calculate(salaryForecasts, incomeSourceForecasts, clientDetails = plainToClass(AnnualClientDetails, {}), report = plainToClass(BorrowingReport, {})) {
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
}
|
|
6015
|
-
if (!report.spouseNetSalary) {
|
|
6016
|
-
report.spouseNetSalary = clientDetails.spouseMonthlyIncome;
|
|
6017
|
-
}
|
|
5849
|
+
report.netSalary = report.netSalary ?? new Collection(salaryForecasts).sumBy('monthlyAmount')
|
|
5850
|
+
+ new IncomeSourceForecastCollection(incomeSourceForecasts).bonuses.sumBy('monthlyAmount');
|
|
5851
|
+
report.spouseNetSalary = report.spouseNetSalary ?? clientDetails.spouseMonthlyIncome;
|
|
6018
5852
|
return report;
|
|
6019
5853
|
}
|
|
6020
5854
|
/**
|
|
@@ -6050,14 +5884,6 @@ var ShareFilterOptionsEnum;
|
|
|
6050
5884
|
ShareFilterOptionsEnum[ShareFilterOptionsEnum["SHARED"] = 3] = "SHARED";
|
|
6051
5885
|
})(ShareFilterOptionsEnum || (ShareFilterOptionsEnum = {}));
|
|
6052
5886
|
|
|
6053
|
-
class TransactionReceipt extends TransactionReceipt$1 {
|
|
6054
|
-
constructor() {
|
|
6055
|
-
super(...arguments);
|
|
6056
|
-
this.type = AssetTypeEnum.TRANSACTION_RECEIPT;
|
|
6057
|
-
this.entityType = AssetEntityTypeEnum.TRANSACTIONS;
|
|
6058
|
-
}
|
|
6059
|
-
}
|
|
6060
|
-
|
|
6061
5887
|
class TransactionMetaField extends TransactionMetaField$1 {
|
|
6062
5888
|
}
|
|
6063
5889
|
__decorate([
|
|
@@ -6344,9 +6170,6 @@ __decorate([
|
|
|
6344
6170
|
__decorate([
|
|
6345
6171
|
Type(() => Property)
|
|
6346
6172
|
], Transaction.prototype, "property", void 0);
|
|
6347
|
-
__decorate([
|
|
6348
|
-
Type(() => TransactionReceipt)
|
|
6349
|
-
], Transaction.prototype, "receipt", void 0);
|
|
6350
6173
|
__decorate([
|
|
6351
6174
|
Type(() => ChartAccounts)
|
|
6352
6175
|
], Transaction.prototype, "chartAccounts", void 0);
|
|
@@ -9625,6 +9448,31 @@ __decorate([
|
|
|
9625
9448
|
Type(() => Date)
|
|
9626
9449
|
], Chat.prototype, "updatedAt", void 0);
|
|
9627
9450
|
|
|
9451
|
+
/**
|
|
9452
|
+
* Enum with asset entity types
|
|
9453
|
+
*/
|
|
9454
|
+
var AssetEntityTypeEnum;
|
|
9455
|
+
(function (AssetEntityTypeEnum) {
|
|
9456
|
+
AssetEntityTypeEnum["PROPERTIES"] = "properties";
|
|
9457
|
+
AssetEntityTypeEnum["FOLDERS"] = "folders";
|
|
9458
|
+
AssetEntityTypeEnum["DEPRECIATIONS"] = "depreciations";
|
|
9459
|
+
AssetEntityTypeEnum["TRANSACTIONS"] = "transactions";
|
|
9460
|
+
AssetEntityTypeEnum["MESSAGES"] = "messages";
|
|
9461
|
+
})(AssetEntityTypeEnum || (AssetEntityTypeEnum = {}));
|
|
9462
|
+
|
|
9463
|
+
/**
|
|
9464
|
+
* Enum with asset types
|
|
9465
|
+
*/
|
|
9466
|
+
var AssetTypeEnum;
|
|
9467
|
+
(function (AssetTypeEnum) {
|
|
9468
|
+
AssetTypeEnum["PROPERTY"] = "property";
|
|
9469
|
+
AssetTypeEnum["DOCUMENT"] = "document";
|
|
9470
|
+
AssetTypeEnum["MESSAGE"] = "message";
|
|
9471
|
+
AssetTypeEnum["USER_PHOTO"] = "userPhoto";
|
|
9472
|
+
AssetTypeEnum["PROPERTY_PHOTO"] = "propertyPhoto";
|
|
9473
|
+
AssetTypeEnum["FIRM_PHOTO"] = "firmPhoto";
|
|
9474
|
+
})(AssetTypeEnum || (AssetTypeEnum = {}));
|
|
9475
|
+
|
|
9628
9476
|
class MessageDocument extends MessageDocument$1 {
|
|
9629
9477
|
constructor() {
|
|
9630
9478
|
super(...arguments);
|
|
@@ -9636,7 +9484,7 @@ __decorate([
|
|
|
9636
9484
|
Type(() => User)
|
|
9637
9485
|
], MessageDocument.prototype, "user", void 0);
|
|
9638
9486
|
__decorate([
|
|
9639
|
-
|
|
9487
|
+
Type(() => AppFile)
|
|
9640
9488
|
], MessageDocument.prototype, "file", void 0);
|
|
9641
9489
|
|
|
9642
9490
|
class Message extends Message$1 {
|
|
@@ -9698,58 +9546,50 @@ var AppEventTypeEnum;
|
|
|
9698
9546
|
AppEventTypeEnum[AppEventTypeEnum["CURRENT_USER_GET_FAILED"] = 14] = "CURRENT_USER_GET_FAILED";
|
|
9699
9547
|
AppEventTypeEnum[AppEventTypeEnum["DEPRECIATION_DELETED"] = 15] = "DEPRECIATION_DELETED";
|
|
9700
9548
|
AppEventTypeEnum[AppEventTypeEnum["DEPRECIATIONS_CREATED"] = 16] = "DEPRECIATIONS_CREATED";
|
|
9701
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9702
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9703
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9704
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9705
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9706
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9707
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9708
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9709
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9710
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9711
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9712
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9713
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9714
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9715
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9716
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9717
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9718
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9719
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9720
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9721
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9722
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9723
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9724
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9725
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9726
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9727
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9728
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9729
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9730
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9731
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9732
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9733
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9734
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9735
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9736
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9737
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9738
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9739
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9740
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9741
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9742
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9743
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9744
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
9745
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_UPDATED"] = 61] = "VEHICLE_CLAIM_UPDATED";
|
|
9746
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_CREATED"] = 62] = "VEHICLE_CLAIM_CREATED";
|
|
9747
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_UPDATED"] = 63] = "VEHICLE_CLAIM_DETAILS_UPDATED";
|
|
9748
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_CREATED"] = 64] = "VEHICLE_CLAIM_DETAILS_CREATED";
|
|
9749
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_CREATED"] = 65] = "VEHICLE_LOGBOOK_CREATED";
|
|
9750
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_UPDATED"] = 66] = "VEHICLE_LOGBOOK_UPDATED";
|
|
9751
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_DELETED"] = 67] = "VEHICLE_LOGBOOK_DELETED";
|
|
9752
|
-
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED"] = 68] = "VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED";
|
|
9549
|
+
AppEventTypeEnum[AppEventTypeEnum["INCOME_SOURCES_CREATED"] = 17] = "INCOME_SOURCES_CREATED";
|
|
9550
|
+
AppEventTypeEnum[AppEventTypeEnum["INCOME_SOURCES_UPDATED"] = 18] = "INCOME_SOURCES_UPDATED";
|
|
9551
|
+
AppEventTypeEnum[AppEventTypeEnum["INCOME_SOURCES_FORECASTS_CREATED"] = 19] = "INCOME_SOURCES_FORECASTS_CREATED";
|
|
9552
|
+
AppEventTypeEnum[AppEventTypeEnum["INCOME_SOURCES_FORECASTS_UPDATED"] = 20] = "INCOME_SOURCES_FORECASTS_UPDATED";
|
|
9553
|
+
AppEventTypeEnum[AppEventTypeEnum["LOAN_UPDATED"] = 21] = "LOAN_UPDATED";
|
|
9554
|
+
AppEventTypeEnum[AppEventTypeEnum["LOAN_PAYOUT_UPDATED"] = 22] = "LOAN_PAYOUT_UPDATED";
|
|
9555
|
+
AppEventTypeEnum[AppEventTypeEnum["MESSAGE_CREATED"] = 23] = "MESSAGE_CREATED";
|
|
9556
|
+
AppEventTypeEnum[AppEventTypeEnum["MESSAGE_FILE_CREATED"] = 24] = "MESSAGE_FILE_CREATED";
|
|
9557
|
+
AppEventTypeEnum[AppEventTypeEnum["MESSAGE_FILE_DELETED"] = 25] = "MESSAGE_FILE_DELETED";
|
|
9558
|
+
AppEventTypeEnum[AppEventTypeEnum["NOTIFICATION_ADDED"] = 26] = "NOTIFICATION_ADDED";
|
|
9559
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_DEPRECIATION_CALCULATION_UPDATED"] = 27] = "PROPERTY_DEPRECIATION_CALCULATION_UPDATED";
|
|
9560
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_UPDATED"] = 28] = "PROPERTY_UPDATED";
|
|
9561
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_UPDATED_WITH_DOCUMENT"] = 29] = "PROPERTY_UPDATED_WITH_DOCUMENT";
|
|
9562
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_DOCUMENT_ADDED"] = 30] = "PROPERTY_DOCUMENT_ADDED";
|
|
9563
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_CREATED"] = 31] = "PROPERTY_MOVEMENT_CREATED";
|
|
9564
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_UPDATED"] = 32] = "PROPERTY_MOVEMENT_UPDATED";
|
|
9565
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_DELETED"] = 33] = "PROPERTY_MOVEMENT_DELETED";
|
|
9566
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SHARE_UPDATED"] = 34] = "PROPERTY_SHARE_UPDATED";
|
|
9567
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SALE_ADDED"] = 35] = "PROPERTY_SALE_ADDED";
|
|
9568
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SALE_DELETED"] = 36] = "PROPERTY_SALE_DELETED";
|
|
9569
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_ADDED"] = 37] = "PROPERTY_SUBSCRIPTION_ADDED";
|
|
9570
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_DELETED"] = 38] = "PROPERTY_SUBSCRIPTION_DELETED";
|
|
9571
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_VALUATION_DOCUMENT_CREATED"] = 39] = "PROPERTY_VALUATION_DOCUMENT_CREATED";
|
|
9572
|
+
AppEventTypeEnum[AppEventTypeEnum["SERVICE_SUBSCRIPTION_UPDATED"] = 40] = "SERVICE_SUBSCRIPTION_UPDATED";
|
|
9573
|
+
AppEventTypeEnum[AppEventTypeEnum["SOLE_BUSINESS_CREATED"] = 41] = "SOLE_BUSINESS_CREATED";
|
|
9574
|
+
AppEventTypeEnum[AppEventTypeEnum["SOLE_DEPRECIATION_METHOD_UPDATED"] = 42] = "SOLE_DEPRECIATION_METHOD_UPDATED";
|
|
9575
|
+
AppEventTypeEnum[AppEventTypeEnum["SOLE_DETAILS_CREATED"] = 43] = "SOLE_DETAILS_CREATED";
|
|
9576
|
+
AppEventTypeEnum[AppEventTypeEnum["SOLE_DETAILS_UPDATED"] = 44] = "SOLE_DETAILS_UPDATED";
|
|
9577
|
+
AppEventTypeEnum[AppEventTypeEnum["SOLE_INVOICE_PUBLISHED"] = 45] = "SOLE_INVOICE_PUBLISHED";
|
|
9578
|
+
AppEventTypeEnum[AppEventTypeEnum["TAX_REVIEW_UPDATED"] = 46] = "TAX_REVIEW_UPDATED";
|
|
9579
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_ALLOCATION_CREATED"] = 47] = "TRANSACTION_ALLOCATION_CREATED";
|
|
9580
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_ALLOCATION_DELETED"] = 48] = "TRANSACTION_ALLOCATION_DELETED";
|
|
9581
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_CREATED"] = 49] = "TRANSACTION_CREATED";
|
|
9582
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_DELETED"] = 50] = "TRANSACTION_DELETED";
|
|
9583
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTION_UPDATED"] = 51] = "TRANSACTION_UPDATED";
|
|
9584
|
+
AppEventTypeEnum[AppEventTypeEnum["TRANSACTIONS_CREATED"] = 52] = "TRANSACTIONS_CREATED";
|
|
9585
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_UPDATED"] = 53] = "VEHICLE_CLAIM_UPDATED";
|
|
9586
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_CREATED"] = 54] = "VEHICLE_CLAIM_CREATED";
|
|
9587
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_UPDATED"] = 55] = "VEHICLE_CLAIM_DETAILS_UPDATED";
|
|
9588
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_CLAIM_DETAILS_CREATED"] = 56] = "VEHICLE_CLAIM_DETAILS_CREATED";
|
|
9589
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_CREATED"] = 57] = "VEHICLE_LOGBOOK_CREATED";
|
|
9590
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_UPDATED"] = 58] = "VEHICLE_LOGBOOK_UPDATED";
|
|
9591
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_DELETED"] = 59] = "VEHICLE_LOGBOOK_DELETED";
|
|
9592
|
+
AppEventTypeEnum[AppEventTypeEnum["VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED"] = 60] = "VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED";
|
|
9753
9593
|
})(AppEventTypeEnum || (AppEventTypeEnum = {}));
|
|
9754
9594
|
|
|
9755
9595
|
/**
|
|
@@ -9773,13 +9613,6 @@ class AppEvent2 {
|
|
|
9773
9613
|
}
|
|
9774
9614
|
}
|
|
9775
9615
|
|
|
9776
|
-
/**
|
|
9777
|
-
* The model renamed for more comfortable work because File already exist in JS
|
|
9778
|
-
* @TODO Alex: consider a better name like document
|
|
9779
|
-
*/
|
|
9780
|
-
class AppFile extends File$1 {
|
|
9781
|
-
}
|
|
9782
|
-
|
|
9783
9616
|
class Notification extends ServiceNotification {
|
|
9784
9617
|
get eventType() {
|
|
9785
9618
|
return this.userEvent.type.type;
|
|
@@ -9815,37 +9648,110 @@ __decorate([
|
|
|
9815
9648
|
})
|
|
9816
9649
|
], Notification.prototype, "redirectionLink", void 0);
|
|
9817
9650
|
|
|
9818
|
-
|
|
9819
|
-
* Enum with document types which used to API url prefix
|
|
9820
|
-
*/
|
|
9821
|
-
var DocumentApiUrlPrefixEnum;
|
|
9822
|
-
(function (DocumentApiUrlPrefixEnum) {
|
|
9823
|
-
DocumentApiUrlPrefixEnum["FOLDERS"] = "folders";
|
|
9824
|
-
DocumentApiUrlPrefixEnum["PROPERTIES"] = "properties";
|
|
9825
|
-
})(DocumentApiUrlPrefixEnum || (DocumentApiUrlPrefixEnum = {}));
|
|
9826
|
-
|
|
9827
|
-
class Document extends Document$1 {
|
|
9828
|
-
constructor() {
|
|
9829
|
-
super(...arguments);
|
|
9830
|
-
this.type = AssetTypeEnum.DOCUMENT;
|
|
9831
|
-
this.entityType = AssetEntityTypeEnum.FOLDERS;
|
|
9832
|
-
}
|
|
9833
|
-
/**
|
|
9834
|
-
* Get folder as document parent entity
|
|
9835
|
-
*/
|
|
9836
|
-
getEntity() {
|
|
9837
|
-
return this.folder;
|
|
9838
|
-
}
|
|
9651
|
+
class ServicePayment extends ServicePayment$1 {
|
|
9839
9652
|
/**
|
|
9840
|
-
*
|
|
9653
|
+
* Stripe stores actual links to payment invoices for 30 days.
|
|
9654
|
+
* Link expires after 30 days
|
|
9841
9655
|
*/
|
|
9842
|
-
|
|
9843
|
-
|
|
9656
|
+
isInvoiceLinkExpired() {
|
|
9657
|
+
const expirationDate = new Date(this.date.setDate(this.date.getDate() + ServicePayment.daysToInvoiceUrlExpired));
|
|
9658
|
+
return expirationDate.getTime() < new Date().getTime();
|
|
9844
9659
|
}
|
|
9845
9660
|
}
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9661
|
+
ServicePayment.daysToInvoiceUrlExpired = 30;
|
|
9662
|
+
__decorate([
|
|
9663
|
+
Type(() => ServiceSubscription)
|
|
9664
|
+
], ServicePayment.prototype, "subscription", void 0);
|
|
9665
|
+
__decorate([
|
|
9666
|
+
Type(() => Date)
|
|
9667
|
+
], ServicePayment.prototype, "date", void 0);
|
|
9668
|
+
|
|
9669
|
+
let ServicePaymentMethod$1 = class ServicePaymentMethod extends AbstractModel {
|
|
9670
|
+
};
|
|
9671
|
+
|
|
9672
|
+
var PaymentMethodBrandEnum;
|
|
9673
|
+
(function (PaymentMethodBrandEnum) {
|
|
9674
|
+
PaymentMethodBrandEnum["UNKNOWN"] = "Unknown";
|
|
9675
|
+
PaymentMethodBrandEnum["AMEX"] = "American Express";
|
|
9676
|
+
PaymentMethodBrandEnum["DINERS"] = "Diners Club";
|
|
9677
|
+
PaymentMethodBrandEnum["DISCOVER"] = "Discover";
|
|
9678
|
+
PaymentMethodBrandEnum["JCB"] = "JCB";
|
|
9679
|
+
PaymentMethodBrandEnum["MASTERCARD"] = "Mastercard";
|
|
9680
|
+
PaymentMethodBrandEnum["UNIONPAY"] = "UnionPay";
|
|
9681
|
+
PaymentMethodBrandEnum["VISA"] = "Visa";
|
|
9682
|
+
})(PaymentMethodBrandEnum || (PaymentMethodBrandEnum = {}));
|
|
9683
|
+
|
|
9684
|
+
var ServicePaymentMethodCardBrandEnum;
|
|
9685
|
+
(function (ServicePaymentMethodCardBrandEnum) {
|
|
9686
|
+
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["UNKNOWN"] = 0] = "UNKNOWN";
|
|
9687
|
+
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["AMEX"] = 1] = "AMEX";
|
|
9688
|
+
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["DINERS"] = 2] = "DINERS";
|
|
9689
|
+
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["DISCOVER"] = 3] = "DISCOVER";
|
|
9690
|
+
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["JCB"] = 4] = "JCB";
|
|
9691
|
+
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["MASTERCARD"] = 5] = "MASTERCARD";
|
|
9692
|
+
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["UNIONPAY"] = 6] = "UNIONPAY";
|
|
9693
|
+
ServicePaymentMethodCardBrandEnum[ServicePaymentMethodCardBrandEnum["VISA"] = 7] = "VISA";
|
|
9694
|
+
})(ServicePaymentMethodCardBrandEnum || (ServicePaymentMethodCardBrandEnum = {}));
|
|
9695
|
+
|
|
9696
|
+
var ServicePaymentMethodTypeEnum;
|
|
9697
|
+
(function (ServicePaymentMethodTypeEnum) {
|
|
9698
|
+
ServicePaymentMethodTypeEnum[ServicePaymentMethodTypeEnum["AU_BECS_DEBIT"] = 1] = "AU_BECS_DEBIT";
|
|
9699
|
+
ServicePaymentMethodTypeEnum[ServicePaymentMethodTypeEnum["CARD"] = 2] = "CARD";
|
|
9700
|
+
})(ServicePaymentMethodTypeEnum || (ServicePaymentMethodTypeEnum = {}));
|
|
9701
|
+
|
|
9702
|
+
class ServicePaymentMethod extends ServicePaymentMethod$1 {
|
|
9703
|
+
get logo() {
|
|
9704
|
+
if (!this.isCard()) {
|
|
9705
|
+
return null;
|
|
9706
|
+
}
|
|
9707
|
+
return `/assets/img/payment-methods/${this.cardBrand}.svg`;
|
|
9708
|
+
}
|
|
9709
|
+
get brandName() {
|
|
9710
|
+
return this.isCard() ? PaymentMethodBrandEnum[ServicePaymentMethodCardBrandEnum[this.cardBrand]] : 'BECS Direct Debit (AU)';
|
|
9711
|
+
}
|
|
9712
|
+
/**
|
|
9713
|
+
* Get expiration date formatted string (MM/YY)
|
|
9714
|
+
*/
|
|
9715
|
+
get expirationDate() {
|
|
9716
|
+
if (!this.isCard()) {
|
|
9717
|
+
return null;
|
|
9718
|
+
}
|
|
9719
|
+
return `${('0' + this.cardExpirationMonth).slice(-2)}/${this.cardExpirationYear.toString().slice(-2)}`;
|
|
9720
|
+
}
|
|
9721
|
+
get description() {
|
|
9722
|
+
return `${this.brandName} ***${this.lastFourDigits}`;
|
|
9723
|
+
}
|
|
9724
|
+
isCard() {
|
|
9725
|
+
return this.type === ServicePaymentMethodTypeEnum.CARD;
|
|
9726
|
+
}
|
|
9727
|
+
}
|
|
9728
|
+
|
|
9729
|
+
class DocumentFolder extends DocumentFolder$1 {
|
|
9730
|
+
}
|
|
9731
|
+
|
|
9732
|
+
class Document extends Document$1 {
|
|
9733
|
+
get parent() {
|
|
9734
|
+
return this.folder;
|
|
9735
|
+
}
|
|
9736
|
+
}
|
|
9737
|
+
__decorate([
|
|
9738
|
+
Type(() => DocumentFolder)
|
|
9739
|
+
], Document.prototype, "folder", void 0);
|
|
9740
|
+
__decorate([
|
|
9741
|
+
Type(() => AppFile)
|
|
9742
|
+
], Document.prototype, "file", void 0);
|
|
9743
|
+
|
|
9744
|
+
/**
|
|
9745
|
+
* Enum with document types which used to API url prefix
|
|
9746
|
+
*/
|
|
9747
|
+
var DocumentApiUrlPrefixEnum;
|
|
9748
|
+
(function (DocumentApiUrlPrefixEnum) {
|
|
9749
|
+
DocumentApiUrlPrefixEnum["FOLDERS"] = "folders";
|
|
9750
|
+
DocumentApiUrlPrefixEnum["PROPERTIES"] = "properties";
|
|
9751
|
+
})(DocumentApiUrlPrefixEnum || (DocumentApiUrlPrefixEnum = {}));
|
|
9752
|
+
|
|
9753
|
+
const DOCUMENT_FILE_TYPES = {
|
|
9754
|
+
image: [
|
|
9849
9755
|
'image/png',
|
|
9850
9756
|
'image/jpg',
|
|
9851
9757
|
'image/jpeg',
|
|
@@ -9867,12 +9773,6 @@ const DOCUMENT_FILE_TYPES = {
|
|
|
9867
9773
|
]
|
|
9868
9774
|
};
|
|
9869
9775
|
|
|
9870
|
-
class DocumentFolder extends DocumentFolder$1 {
|
|
9871
|
-
}
|
|
9872
|
-
__decorate([
|
|
9873
|
-
Type(() => Document)
|
|
9874
|
-
], DocumentFolder.prototype, "documents", void 0);
|
|
9875
|
-
|
|
9876
9776
|
class HoldingTypeExchange extends AbstractModel {
|
|
9877
9777
|
}
|
|
9878
9778
|
__decorate([
|
|
@@ -10207,9 +10107,9 @@ class DataService {
|
|
|
10207
10107
|
this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
|
|
10208
10108
|
}
|
|
10209
10109
|
}
|
|
10210
|
-
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10211
|
-
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10110
|
+
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10111
|
+
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, providedIn: 'root' });
|
|
10112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataService, decorators: [{
|
|
10213
10113
|
type: Injectable,
|
|
10214
10114
|
args: [{
|
|
10215
10115
|
providedIn: 'root'
|
|
@@ -10244,9 +10144,9 @@ class JwtService extends JwtHelperService {
|
|
|
10244
10144
|
return this.getUser().id === userId;
|
|
10245
10145
|
}
|
|
10246
10146
|
}
|
|
10247
|
-
JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10248
|
-
JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10147
|
+
JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10148
|
+
JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, providedIn: 'root' });
|
|
10149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtService, decorators: [{
|
|
10250
10150
|
type: Injectable,
|
|
10251
10151
|
args: [{
|
|
10252
10152
|
providedIn: 'root'
|
|
@@ -10281,9 +10181,9 @@ class AuthService {
|
|
|
10281
10181
|
location.replace(url);
|
|
10282
10182
|
}
|
|
10283
10183
|
}
|
|
10284
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10285
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10184
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10185
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
10186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AuthService, decorators: [{
|
|
10287
10187
|
type: Injectable,
|
|
10288
10188
|
args: [{
|
|
10289
10189
|
providedIn: 'root'
|
|
@@ -10321,9 +10221,9 @@ class EventDispatcherService {
|
|
|
10321
10221
|
this.eventSubject2.next(event);
|
|
10322
10222
|
}
|
|
10323
10223
|
}
|
|
10324
|
-
EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10325
|
-
EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10224
|
+
EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10225
|
+
EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
|
|
10226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EventDispatcherService, decorators: [{
|
|
10327
10227
|
type: Injectable,
|
|
10328
10228
|
args: [{
|
|
10329
10229
|
providedIn: 'root'
|
|
@@ -10360,9 +10260,9 @@ class SseService {
|
|
|
10360
10260
|
.pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
|
|
10361
10261
|
}
|
|
10362
10262
|
}
|
|
10363
|
-
SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10364
|
-
SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10263
|
+
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 });
|
|
10264
|
+
SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, providedIn: 'root' });
|
|
10265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SseService, decorators: [{
|
|
10366
10266
|
type: Injectable,
|
|
10367
10267
|
args: [{
|
|
10368
10268
|
providedIn: 'root'
|
|
@@ -10429,9 +10329,9 @@ let RestService$1 = class RestService extends DataService {
|
|
|
10429
10329
|
return this.cache;
|
|
10430
10330
|
}));
|
|
10431
10331
|
}
|
|
10432
|
-
get() {
|
|
10332
|
+
get(path = this.apiUrl) {
|
|
10433
10333
|
if (!this.cache) {
|
|
10434
|
-
this.jwtService.getUser().hasRoles(this.roles) ? this.fetch().pipe(first$1()).subscribe() : this.setCache([], true);
|
|
10334
|
+
this.jwtService.getUser().hasRoles(this.roles) ? this.fetch(path).pipe(first$1()).subscribe() : this.setCache([], true);
|
|
10435
10335
|
}
|
|
10436
10336
|
return this.cacheSubject.asObservable();
|
|
10437
10337
|
}
|
|
@@ -10445,9 +10345,9 @@ let RestService$1 = class RestService extends DataService {
|
|
|
10445
10345
|
/**
|
|
10446
10346
|
* Create a new Model instance in database
|
|
10447
10347
|
*/
|
|
10448
|
-
post(model) {
|
|
10348
|
+
post(model, path = this.apiUrl) {
|
|
10449
10349
|
this.handleAccessError('post');
|
|
10450
|
-
return this.http.post(
|
|
10350
|
+
return this.http.post(path, classToPlain(model))
|
|
10451
10351
|
.pipe(map((response) => {
|
|
10452
10352
|
const result = this.createModelInstance(response);
|
|
10453
10353
|
this.handleResponse([result], 'post');
|
|
@@ -10583,9 +10483,9 @@ let RestService$1 = class RestService extends DataService {
|
|
|
10583
10483
|
*/
|
|
10584
10484
|
listenEvents() { }
|
|
10585
10485
|
};
|
|
10586
|
-
RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10587
|
-
RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10486
|
+
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 });
|
|
10487
|
+
RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, providedIn: 'root' });
|
|
10488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService$1, decorators: [{
|
|
10589
10489
|
type: Injectable,
|
|
10590
10490
|
args: [{
|
|
10591
10491
|
providedIn: 'root'
|
|
@@ -10653,9 +10553,9 @@ class BankAccountService extends RestService$1 {
|
|
|
10653
10553
|
});
|
|
10654
10554
|
}
|
|
10655
10555
|
}
|
|
10656
|
-
BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10657
|
-
BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10556
|
+
BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10557
|
+
BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, providedIn: 'root' });
|
|
10558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountService, decorators: [{
|
|
10659
10559
|
type: Injectable,
|
|
10660
10560
|
args: [{
|
|
10661
10561
|
providedIn: 'root'
|
|
@@ -10750,9 +10650,9 @@ class ToastService {
|
|
|
10750
10650
|
}));
|
|
10751
10651
|
}
|
|
10752
10652
|
}
|
|
10753
|
-
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10754
|
-
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10653
|
+
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10654
|
+
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, providedIn: 'root' });
|
|
10655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastService, decorators: [{
|
|
10756
10656
|
type: Injectable,
|
|
10757
10657
|
args: [{
|
|
10758
10658
|
providedIn: 'root'
|
|
@@ -10830,9 +10730,9 @@ class BankConnectionService extends RestService$1 {
|
|
|
10830
10730
|
});
|
|
10831
10731
|
}
|
|
10832
10732
|
}
|
|
10833
|
-
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10834
|
-
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10733
|
+
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10734
|
+
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
|
|
10735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankConnectionService, decorators: [{
|
|
10836
10736
|
type: Injectable,
|
|
10837
10737
|
args: [{
|
|
10838
10738
|
providedIn: 'root'
|
|
@@ -10945,9 +10845,9 @@ class BankTransactionService extends RestService$1 {
|
|
|
10945
10845
|
});
|
|
10946
10846
|
}
|
|
10947
10847
|
}
|
|
10948
|
-
BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10949
|
-
BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10848
|
+
BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10849
|
+
BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
|
|
10850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionService, decorators: [{
|
|
10951
10851
|
type: Injectable,
|
|
10952
10852
|
args: [{
|
|
10953
10853
|
providedIn: 'root'
|
|
@@ -10979,9 +10879,9 @@ class BasiqTokenService extends RestService$1 {
|
|
|
10979
10879
|
return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
|
|
10980
10880
|
}
|
|
10981
10881
|
}
|
|
10982
|
-
BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
10983
|
-
BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
10984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
10882
|
+
BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10883
|
+
BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
|
|
10884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenService, decorators: [{
|
|
10985
10885
|
type: Injectable,
|
|
10986
10886
|
args: [{
|
|
10987
10887
|
providedIn: 'root'
|
|
@@ -11107,9 +11007,9 @@ BasiqService.retrieveAccountsCheckInterval = 3000;
|
|
|
11107
11007
|
* How long we will wait accounts retrieving, break after timeout if not retireved
|
|
11108
11008
|
*/
|
|
11109
11009
|
BasiqService.retrieveAccountsTimeout = 20000;
|
|
11110
|
-
BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11111
|
-
BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11010
|
+
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 });
|
|
11011
|
+
BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, providedIn: 'root' });
|
|
11012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqService, decorators: [{
|
|
11113
11013
|
type: Injectable,
|
|
11114
11014
|
args: [{
|
|
11115
11015
|
providedIn: 'root'
|
|
@@ -11139,9 +11039,9 @@ class BankService extends RestService$1 {
|
|
|
11139
11039
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
11140
11040
|
}
|
|
11141
11041
|
}
|
|
11142
|
-
BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11143
|
-
BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11042
|
+
BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11043
|
+
BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, providedIn: 'root' });
|
|
11044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankService, decorators: [{
|
|
11145
11045
|
type: Injectable,
|
|
11146
11046
|
args: [{
|
|
11147
11047
|
providedIn: 'root'
|
|
@@ -11158,9 +11058,9 @@ class BudgetService extends RestService$1 {
|
|
|
11158
11058
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
11159
11059
|
}
|
|
11160
11060
|
}
|
|
11161
|
-
BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11162
|
-
BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11061
|
+
BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11062
|
+
BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, providedIn: 'root' });
|
|
11063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BudgetService, decorators: [{
|
|
11164
11064
|
type: Injectable,
|
|
11165
11065
|
args: [{
|
|
11166
11066
|
providedIn: 'root'
|
|
@@ -11188,9 +11088,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
|
|
|
11188
11088
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
11189
11089
|
}
|
|
11190
11090
|
}
|
|
11191
|
-
ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11192
|
-
ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11091
|
+
ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11092
|
+
ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
|
|
11093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
|
|
11194
11094
|
type: Injectable,
|
|
11195
11095
|
args: [{
|
|
11196
11096
|
providedIn: 'root'
|
|
@@ -11230,9 +11130,9 @@ class ChartAccountsService extends RestService$1 {
|
|
|
11230
11130
|
}));
|
|
11231
11131
|
}
|
|
11232
11132
|
}
|
|
11233
|
-
ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11234
|
-
ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11133
|
+
ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11134
|
+
ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
|
|
11135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsService, decorators: [{
|
|
11236
11136
|
type: Injectable,
|
|
11237
11137
|
args: [{
|
|
11238
11138
|
providedIn: 'root'
|
|
@@ -11301,9 +11201,9 @@ class ChatService extends RestService$1 {
|
|
|
11301
11201
|
});
|
|
11302
11202
|
}
|
|
11303
11203
|
}
|
|
11304
|
-
ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11305
|
-
ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11204
|
+
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 });
|
|
11205
|
+
ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, providedIn: 'root' });
|
|
11206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChatService, decorators: [{
|
|
11307
11207
|
type: Injectable,
|
|
11308
11208
|
args: [{
|
|
11309
11209
|
providedIn: 'root'
|
|
@@ -11360,9 +11260,9 @@ class MessageService extends RestService$1 {
|
|
|
11360
11260
|
});
|
|
11361
11261
|
}
|
|
11362
11262
|
}
|
|
11363
|
-
MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11364
|
-
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11263
|
+
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 });
|
|
11264
|
+
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, providedIn: 'root' });
|
|
11265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageService, decorators: [{
|
|
11366
11266
|
type: Injectable,
|
|
11367
11267
|
args: [{
|
|
11368
11268
|
providedIn: 'root'
|
|
@@ -11381,7 +11281,7 @@ class MessageDocumentService extends RestService$1 {
|
|
|
11381
11281
|
this.modelClass = MessageDocument;
|
|
11382
11282
|
this.collectionClass = MessageDocumentCollection;
|
|
11383
11283
|
this.endpointUri = 'message-documents';
|
|
11384
|
-
this.disabledMethods = ['postBatch', '
|
|
11284
|
+
this.disabledMethods = ['postBatch', 'deleteBatch', 'put', 'putBatch'];
|
|
11385
11285
|
this.isApiPlatform = true;
|
|
11386
11286
|
}
|
|
11387
11287
|
/**
|
|
@@ -11431,161 +11331,31 @@ class MessageDocumentService extends RestService$1 {
|
|
|
11431
11331
|
return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
|
|
11432
11332
|
}
|
|
11433
11333
|
}
|
|
11434
|
-
MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11435
|
-
MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11334
|
+
MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11335
|
+
MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
|
|
11336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: MessageDocumentService, decorators: [{
|
|
11437
11337
|
type: Injectable,
|
|
11438
11338
|
args: [{
|
|
11439
11339
|
providedIn: 'root'
|
|
11440
11340
|
}]
|
|
11441
11341
|
}] });
|
|
11442
11342
|
|
|
11443
|
-
/**
|
|
11444
|
-
* Abstract service class to work with transactions-like receipt files (transactions, depreciations, e.t.c.)
|
|
11445
|
-
* @Todo TT-2191 refactor service when receipts API will be updated
|
|
11446
|
-
*/
|
|
11447
|
-
class ReceiptService {
|
|
11448
|
-
constructor(http, eventDispatcherService, environment, toastService) {
|
|
11449
|
-
this.http = http;
|
|
11450
|
-
this.eventDispatcherService = eventDispatcherService;
|
|
11451
|
-
this.environment = environment;
|
|
11452
|
-
this.toastService = toastService;
|
|
11453
|
-
}
|
|
11454
|
-
listenEvents() {
|
|
11455
|
-
this.listenParentWithReceiptUpdated();
|
|
11456
|
-
this.listenParentWithoutReceiptUpdated();
|
|
11457
|
-
}
|
|
11458
|
-
/**
|
|
11459
|
-
* Entity is necessary to take the ID and the receipt file from it.
|
|
11460
|
-
*/
|
|
11461
|
-
add(receiptEntity) {
|
|
11462
|
-
const formData = new FormData();
|
|
11463
|
-
formData.append('file', receiptEntity.file);
|
|
11464
|
-
return this.http.post(`${this.environment.apiV2}/${this.entityType}/${receiptEntity.id}/receipts`, formData)
|
|
11465
|
-
.pipe(map((receipt) => {
|
|
11466
|
-
const uploadedReceipt = this.createModelInstance(receipt);
|
|
11467
|
-
this.eventDispatcherService.dispatch(new AppEvent(this.receiptCreatedEvent, uploadedReceipt));
|
|
11468
|
-
return uploadedReceipt;
|
|
11469
|
-
}));
|
|
11470
|
-
}
|
|
11471
|
-
delete(receiptEntity) {
|
|
11472
|
-
return this.http.delete(`${this.environment.apiV2}/${this.entityType}/${receiptEntity.id}/receipts/${receiptEntity.receipt.id}`)
|
|
11473
|
-
.pipe(map(() => {
|
|
11474
|
-
this.eventDispatcherService.dispatch(new AppEvent(this.receiptDeletedEvent, receiptEntity));
|
|
11475
|
-
}));
|
|
11476
|
-
}
|
|
11477
|
-
/**
|
|
11478
|
-
* Parent entity was updated with attached receipt
|
|
11479
|
-
*/
|
|
11480
|
-
listenParentWithReceiptUpdated() {
|
|
11481
|
-
this.eventDispatcherService.on(this.entityUpdatedWithReceiptEvent)
|
|
11482
|
-
.subscribe((receiptEntity) => {
|
|
11483
|
-
this.add(receiptEntity).subscribe();
|
|
11484
|
-
});
|
|
11485
|
-
}
|
|
11486
|
-
/**
|
|
11487
|
-
* Parent entity was updated, but receipt was removed
|
|
11488
|
-
*/
|
|
11489
|
-
listenParentWithoutReceiptUpdated() {
|
|
11490
|
-
this.eventDispatcherService.on(this.entityUpdatedWithDeletedReceiptEvent)
|
|
11491
|
-
.subscribe((receiptEntity) => {
|
|
11492
|
-
this.delete(receiptEntity).subscribe();
|
|
11493
|
-
});
|
|
11494
|
-
}
|
|
11495
|
-
createModelInstance(data) {
|
|
11496
|
-
return plainToClass(this.modelClass, data);
|
|
11497
|
-
}
|
|
11498
|
-
}
|
|
11499
|
-
ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11500
|
-
ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReceiptService, providedIn: 'root' });
|
|
11501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReceiptService, decorators: [{
|
|
11502
|
-
type: Injectable,
|
|
11503
|
-
args: [{
|
|
11504
|
-
providedIn: 'root'
|
|
11505
|
-
}]
|
|
11506
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
11507
|
-
type: Inject,
|
|
11508
|
-
args: ['environment']
|
|
11509
|
-
}] }, { type: ToastService }]; } });
|
|
11510
|
-
|
|
11511
|
-
/**
|
|
11512
|
-
* @Todo TT-2191 refactor service when receipts API will be updated
|
|
11513
|
-
*/
|
|
11514
|
-
class DepreciationReceiptService extends ReceiptService {
|
|
11515
|
-
constructor(http, eventDispatcherService, environment, toastService) {
|
|
11516
|
-
super(http, eventDispatcherService, environment, toastService);
|
|
11517
|
-
this.http = http;
|
|
11518
|
-
this.eventDispatcherService = eventDispatcherService;
|
|
11519
|
-
this.environment = environment;
|
|
11520
|
-
this.toastService = toastService;
|
|
11521
|
-
this.modelClass = DepreciationReceipt;
|
|
11522
|
-
this.entityType = AssetEntityTypeEnum.DEPRECIATIONS;
|
|
11523
|
-
this.receiptCreatedEvent = AppEventTypeEnum.DEPRECIATION_RECEIPT_CREATED;
|
|
11524
|
-
this.receiptDeletedEvent = AppEventTypeEnum.DEPRECIATION_RECEIPT_DELETED;
|
|
11525
|
-
this.entityUpdatedWithDeletedReceiptEvent = AppEventTypeEnum.DEPRECIATION_UPDATED_WITH_DELETED_RECEIPT;
|
|
11526
|
-
this.entityUpdatedWithReceiptEvent = AppEventTypeEnum.DEPRECIATION_UPDATED_WITH_RECEIPT;
|
|
11527
|
-
this.listenEvents();
|
|
11528
|
-
}
|
|
11529
|
-
}
|
|
11530
|
-
DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11531
|
-
DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
|
|
11532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DepreciationReceiptService, decorators: [{
|
|
11533
|
-
type: Injectable,
|
|
11534
|
-
args: [{
|
|
11535
|
-
providedIn: 'root'
|
|
11536
|
-
}]
|
|
11537
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
11538
|
-
type: Inject,
|
|
11539
|
-
args: ['environment']
|
|
11540
|
-
}] }, { type: ToastService }]; } });
|
|
11541
|
-
|
|
11542
11343
|
class DepreciationService extends RestService$1 {
|
|
11543
|
-
constructor(http, eventDispatcherService, environment
|
|
11344
|
+
constructor(http, eventDispatcherService, environment) {
|
|
11544
11345
|
super(http, eventDispatcherService, environment);
|
|
11545
11346
|
this.http = http;
|
|
11546
11347
|
this.eventDispatcherService = eventDispatcherService;
|
|
11547
11348
|
this.environment = environment;
|
|
11548
|
-
this.depreciationReceiptService = depreciationReceiptService;
|
|
11549
11349
|
this.modelClass = Depreciation;
|
|
11550
11350
|
this.collectionClass = DepreciationCollection;
|
|
11551
11351
|
this.endpointUri = 'depreciations';
|
|
11552
11352
|
this.disabledMethods = ['post', 'putBatch', 'deleteBatch'];
|
|
11553
11353
|
}
|
|
11554
|
-
postBatch(depreciations) {
|
|
11555
|
-
return super.postBatch(depreciations).pipe(map((newDepreciations) => {
|
|
11556
|
-
depreciations.forEach((depreciation, index) => {
|
|
11557
|
-
// @TODO backend: need to upload file in the same backend endpoint with depreciation add/update
|
|
11558
|
-
// check if passed receipt and upload file
|
|
11559
|
-
if (depreciation.file && (depreciation.file instanceof File)) {
|
|
11560
|
-
depreciation.id = newDepreciations[index].id;
|
|
11561
|
-
newDepreciations[index].file = depreciation.file;
|
|
11562
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.DEPRECIATION_UPDATED_WITH_RECEIPT, newDepreciations[index]));
|
|
11563
|
-
}
|
|
11564
|
-
});
|
|
11565
|
-
return depreciations;
|
|
11566
|
-
}));
|
|
11567
|
-
}
|
|
11568
|
-
put(depreciation) {
|
|
11569
|
-
return super.put(depreciation)
|
|
11570
|
-
.pipe(map((updatedDepreciation) => {
|
|
11571
|
-
if (depreciation.file && (depreciation.file instanceof File)) {
|
|
11572
|
-
updatedDepreciation.file = depreciation.file;
|
|
11573
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.DEPRECIATION_UPDATED_WITH_RECEIPT, updatedDepreciation));
|
|
11574
|
-
// receipt file was removed from form - we should delete receipt from transaction
|
|
11575
|
-
}
|
|
11576
|
-
else if (!depreciation.file && depreciation.receipt) {
|
|
11577
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.DEPRECIATION_UPDATED_WITH_DELETED_RECEIPT, updatedDepreciation));
|
|
11578
|
-
}
|
|
11579
|
-
return updatedDepreciation;
|
|
11580
|
-
}));
|
|
11581
|
-
}
|
|
11582
11354
|
/**
|
|
11583
11355
|
* Listen to Depreciations events
|
|
11584
11356
|
*/
|
|
11585
11357
|
listenEvents() {
|
|
11586
11358
|
this.listenToUpdatedLoan();
|
|
11587
|
-
this.listenReceiptAdded();
|
|
11588
|
-
this.listenReceiptDeleted();
|
|
11589
11359
|
this.listenVehicleClaimChanges();
|
|
11590
11360
|
this.listenToUpdatedBankAccount();
|
|
11591
11361
|
this.listenSoleDepreciationMethodChanges();
|
|
@@ -11595,22 +11365,6 @@ class DepreciationService extends RestService$1 {
|
|
|
11595
11365
|
return this.http.post(`${this.apiUrl}/opening-balance?financialYear=${new FinancialYear().year}`, depreciation)
|
|
11596
11366
|
.pipe(map((response) => response || 0));
|
|
11597
11367
|
}
|
|
11598
|
-
listenReceiptAdded() {
|
|
11599
|
-
this.eventDispatcherService.on(AppEventTypeEnum.DEPRECIATION_RECEIPT_CREATED).subscribe((receipt) => {
|
|
11600
|
-
const depreciationToUpdate = this.cache.findBy('id', receipt.depreciation.id);
|
|
11601
|
-
// we don't need to keep file after save
|
|
11602
|
-
depreciationToUpdate.file = null;
|
|
11603
|
-
depreciationToUpdate.receipt = receipt;
|
|
11604
|
-
this.updateCache([depreciationToUpdate], 'put');
|
|
11605
|
-
});
|
|
11606
|
-
}
|
|
11607
|
-
listenReceiptDeleted() {
|
|
11608
|
-
this.eventDispatcherService.on(AppEventTypeEnum.DEPRECIATION_RECEIPT_DELETED).subscribe((depreciation) => {
|
|
11609
|
-
const depreciationToUpdate = this.cache.findBy('id', depreciation.id);
|
|
11610
|
-
depreciationToUpdate.receipt = null;
|
|
11611
|
-
this.updateCache([depreciationToUpdate], 'put');
|
|
11612
|
-
});
|
|
11613
|
-
}
|
|
11614
11368
|
/**
|
|
11615
11369
|
* Listen to EventDispatcherService event related to updated bank loan
|
|
11616
11370
|
*/
|
|
@@ -11662,9 +11416,9 @@ class DepreciationService extends RestService$1 {
|
|
|
11662
11416
|
});
|
|
11663
11417
|
}
|
|
11664
11418
|
}
|
|
11665
|
-
DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11666
|
-
DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11419
|
+
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 });
|
|
11420
|
+
DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, providedIn: 'root' });
|
|
11421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationService, decorators: [{
|
|
11668
11422
|
type: Injectable,
|
|
11669
11423
|
args: [{
|
|
11670
11424
|
providedIn: 'root'
|
|
@@ -11672,7 +11426,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
11672
11426
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
11673
11427
|
type: Inject,
|
|
11674
11428
|
args: ['environment']
|
|
11675
|
-
}] }
|
|
11429
|
+
}] }]; } });
|
|
11676
11430
|
|
|
11677
11431
|
/**
|
|
11678
11432
|
* Service for work with DepreciationCapitalProjects
|
|
@@ -11714,9 +11468,9 @@ class DepreciationCapitalProjectService {
|
|
|
11714
11468
|
}));
|
|
11715
11469
|
}
|
|
11716
11470
|
}
|
|
11717
|
-
DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
11718
|
-
DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
11719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11471
|
+
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 });
|
|
11472
|
+
DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
|
|
11473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
|
|
11720
11474
|
type: Injectable,
|
|
11721
11475
|
args: [{
|
|
11722
11476
|
providedIn: 'root'
|
|
@@ -11726,49 +11480,308 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
11726
11480
|
args: ['environment']
|
|
11727
11481
|
}] }]; } });
|
|
11728
11482
|
|
|
11483
|
+
var DocumentFolderMessagesEnum;
|
|
11484
|
+
(function (DocumentFolderMessagesEnum) {
|
|
11485
|
+
DocumentFolderMessagesEnum["CREATED"] = "Folder created!";
|
|
11486
|
+
DocumentFolderMessagesEnum["UPDATED"] = "Folder updated!";
|
|
11487
|
+
DocumentFolderMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete the folder?";
|
|
11488
|
+
DocumentFolderMessagesEnum["DELETED"] = "Folder deleted!";
|
|
11489
|
+
})(DocumentFolderMessagesEnum || (DocumentFolderMessagesEnum = {}));
|
|
11490
|
+
|
|
11729
11491
|
/**
|
|
11730
|
-
*
|
|
11731
|
-
* and describe abstract methods/properties that have to be implemented in child services
|
|
11732
|
-
* Model - entity service is working with
|
|
11733
|
-
* BaseModel - base entity model that extends by Model
|
|
11734
|
-
* @TODO TT-1777 Alex: remove when all services refactored
|
|
11492
|
+
* Service to handle document-folders and depending documents logic
|
|
11735
11493
|
*/
|
|
11736
|
-
class RestService {
|
|
11737
|
-
constructor(
|
|
11738
|
-
|
|
11739
|
-
this.
|
|
11740
|
-
this.
|
|
11741
|
-
this.
|
|
11742
|
-
this.
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11494
|
+
class DocumentFolderService extends RestService$1 {
|
|
11495
|
+
constructor() {
|
|
11496
|
+
super(...arguments);
|
|
11497
|
+
this.endpointUri = 'folders';
|
|
11498
|
+
this.collectionClass = Collection;
|
|
11499
|
+
this.modelClass = DocumentFolder;
|
|
11500
|
+
this.disabledMethods = ['deleteBatch', 'postBatch', 'putBatch'];
|
|
11501
|
+
}
|
|
11502
|
+
}
|
|
11503
|
+
DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11504
|
+
DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
|
|
11505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentFolderService, decorators: [{
|
|
11506
|
+
type: Injectable,
|
|
11507
|
+
args: [{
|
|
11508
|
+
providedIn: 'root'
|
|
11509
|
+
}]
|
|
11510
|
+
}] });
|
|
11511
|
+
|
|
11512
|
+
class DocumentService extends RestService$1 {
|
|
11513
|
+
constructor() {
|
|
11514
|
+
super(...arguments);
|
|
11515
|
+
this.endpointUri = 'folder-documents';
|
|
11516
|
+
this.modelClass = Document;
|
|
11517
|
+
this.collectionClass = Collection;
|
|
11518
|
+
this.disabledMethods = ['postBatch', 'putBatch'];
|
|
11519
|
+
this.isApiPlatform = true;
|
|
11747
11520
|
}
|
|
11521
|
+
}
|
|
11522
|
+
DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11523
|
+
DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, providedIn: 'root' });
|
|
11524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DocumentService, decorators: [{
|
|
11525
|
+
type: Injectable,
|
|
11526
|
+
args: [{
|
|
11527
|
+
providedIn: 'root'
|
|
11528
|
+
}]
|
|
11529
|
+
}] });
|
|
11530
|
+
|
|
11531
|
+
var DocumentMessagesEnum;
|
|
11532
|
+
(function (DocumentMessagesEnum) {
|
|
11533
|
+
DocumentMessagesEnum["CREATED"] = "Document created!";
|
|
11534
|
+
DocumentMessagesEnum["UPDATED"] = "Document updated!";
|
|
11535
|
+
DocumentMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete the document?";
|
|
11536
|
+
DocumentMessagesEnum["DELETED"] = "Document deleted!";
|
|
11537
|
+
})(DocumentMessagesEnum || (DocumentMessagesEnum = {}));
|
|
11538
|
+
|
|
11539
|
+
const ERROR_EMAIL_PERMISSION = 'Access to email denied. Please provide access to email in facebook.';
|
|
11540
|
+
class FacebookService {
|
|
11748
11541
|
/**
|
|
11749
|
-
*
|
|
11542
|
+
* @TODO when google login will be done, it needs to be moved to an abstract class
|
|
11750
11543
|
*/
|
|
11751
|
-
|
|
11752
|
-
this.
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11544
|
+
constructor(http, toastService, jwtService, router, environment) {
|
|
11545
|
+
this.http = http;
|
|
11546
|
+
this.toastService = toastService;
|
|
11547
|
+
this.jwtService = jwtService;
|
|
11548
|
+
this.router = router;
|
|
11549
|
+
this.environment = environment;
|
|
11550
|
+
this.isLoggedInSubject = new BehaviorSubject(!this.jwtService.isTokenExpired());
|
|
11551
|
+
this.isFacebookEnabled = !!environment['facebookAppId'];
|
|
11552
|
+
}
|
|
11553
|
+
async login(redirectUrl = '/client') {
|
|
11554
|
+
const accessToken = await this.getAccessToken();
|
|
11555
|
+
this.http.post(`${this.environment.apiV2}/users/authentication/facebook`, { accessToken })
|
|
11556
|
+
.subscribe((response) => {
|
|
11557
|
+
this.setAuth(response);
|
|
11558
|
+
this.router.navigate([redirectUrl]);
|
|
11559
|
+
}, (error) => {
|
|
11560
|
+
this.toastService.error(error.error.violations[0].message);
|
|
11561
|
+
this.logout();
|
|
11562
|
+
});
|
|
11760
11563
|
}
|
|
11761
11564
|
/**
|
|
11762
|
-
*
|
|
11565
|
+
* save user's auth tokens
|
|
11566
|
+
* @TODO move to abstract class
|
|
11763
11567
|
*/
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
}
|
|
11768
|
-
return this.cacheSubject.asObservable();
|
|
11568
|
+
setAuth(response) {
|
|
11569
|
+
this.jwtService.saveTokens(response);
|
|
11570
|
+
this.isLoggedInSubject.next(true);
|
|
11769
11571
|
}
|
|
11770
11572
|
/**
|
|
11771
|
-
* get
|
|
11573
|
+
* get facebook auth access token
|
|
11574
|
+
*/
|
|
11575
|
+
getAccessToken() {
|
|
11576
|
+
return new Promise((resolve) => {
|
|
11577
|
+
FB.login((response) => {
|
|
11578
|
+
// authResponse will be empty if you close the Facebook login window or enter incorrect user data
|
|
11579
|
+
if (!response.authResponse) {
|
|
11580
|
+
return;
|
|
11581
|
+
}
|
|
11582
|
+
if (!response.authResponse.grantedScopes.includes('email')) {
|
|
11583
|
+
this.toastService.error(ERROR_EMAIL_PERMISSION);
|
|
11584
|
+
return;
|
|
11585
|
+
}
|
|
11586
|
+
resolve(response.authResponse.accessToken);
|
|
11587
|
+
}, FacebookService.authOptions);
|
|
11588
|
+
});
|
|
11589
|
+
}
|
|
11590
|
+
/**
|
|
11591
|
+
* logout user from facebook.
|
|
11592
|
+
* Need to logout when user is trying to login with facebook with manually registered email
|
|
11593
|
+
*/
|
|
11594
|
+
logout() {
|
|
11595
|
+
return new Promise((resolve, reject) => {
|
|
11596
|
+
FB.logout((response) => {
|
|
11597
|
+
resolve(response);
|
|
11598
|
+
});
|
|
11599
|
+
});
|
|
11600
|
+
}
|
|
11601
|
+
}
|
|
11602
|
+
FacebookService.authOptions = {
|
|
11603
|
+
scope: 'email, public_profile',
|
|
11604
|
+
auth_type: 'rerequest',
|
|
11605
|
+
return_scopes: true
|
|
11606
|
+
};
|
|
11607
|
+
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 });
|
|
11608
|
+
FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, providedIn: 'root' });
|
|
11609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FacebookService, decorators: [{
|
|
11610
|
+
type: Injectable,
|
|
11611
|
+
args: [{
|
|
11612
|
+
providedIn: 'root'
|
|
11613
|
+
}]
|
|
11614
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ToastService }, { type: JwtService }, { type: i4.Router }, { type: undefined, decorators: [{
|
|
11615
|
+
type: Inject,
|
|
11616
|
+
args: ['environment']
|
|
11617
|
+
}] }]; } });
|
|
11618
|
+
|
|
11619
|
+
/**
|
|
11620
|
+
* Google instance
|
|
11621
|
+
* https://developers.google.com/identity/oauth2/web/guides/overview
|
|
11622
|
+
* https://developers.google.com/identity/gsi/web/guides/overview
|
|
11623
|
+
*/
|
|
11624
|
+
class GoogleService {
|
|
11625
|
+
constructor(http, toastService, jwtService, router, environment) {
|
|
11626
|
+
this.http = http;
|
|
11627
|
+
this.toastService = toastService;
|
|
11628
|
+
this.jwtService = jwtService;
|
|
11629
|
+
this.router = router;
|
|
11630
|
+
this.environment = environment;
|
|
11631
|
+
this.isLoggedInSubject = new BehaviorSubject(!this.jwtService.isTokenExpired());
|
|
11632
|
+
this.isGoogleEnabled = !!this.environment['googleClientId'];
|
|
11633
|
+
// depending on the level of access
|
|
11634
|
+
this.googleScope = 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email';
|
|
11635
|
+
}
|
|
11636
|
+
/**
|
|
11637
|
+
* prompt for user consent and obtain an access token to work with user data
|
|
11638
|
+
* requestAccessToken() method to trigger the token UX flow and obtain an access token.
|
|
11639
|
+
* https://developers.google.com/identity/oauth2/web/guides/use-token-model
|
|
11640
|
+
*/
|
|
11641
|
+
// prompt for user consent and obtain an access token to work with user data
|
|
11642
|
+
login() {
|
|
11643
|
+
return google.accounts.oauth2.initTokenClient({
|
|
11644
|
+
client_id: this.environment['googleClientId'],
|
|
11645
|
+
scope: this.googleScope,
|
|
11646
|
+
callback: (response) => {
|
|
11647
|
+
this.setAuth(response.access_token);
|
|
11648
|
+
},
|
|
11649
|
+
}).requestAccessToken();
|
|
11650
|
+
}
|
|
11651
|
+
/**
|
|
11652
|
+
* requestAccessToken() method to trigger the token UX flow and obtain an access token:
|
|
11653
|
+
* Choose their account;
|
|
11654
|
+
* sign-in to the Google Account if not already signed-in;
|
|
11655
|
+
* grant consent for your web app to access each requested scope.
|
|
11656
|
+
*/
|
|
11657
|
+
setAuth(accessToken, redirectUrl = '/client') {
|
|
11658
|
+
this.http.post(`${this.environment.apiV2}/users/authentication/google`, { accessToken })
|
|
11659
|
+
.subscribe((response) => {
|
|
11660
|
+
this.jwtService.saveTokens(response);
|
|
11661
|
+
this.isLoggedInSubject.next(true);
|
|
11662
|
+
this.router.navigate([redirectUrl]);
|
|
11663
|
+
}, (error) => {
|
|
11664
|
+
this.toastService.error(error.error.violations[0].message);
|
|
11665
|
+
this.logout();
|
|
11666
|
+
});
|
|
11667
|
+
}
|
|
11668
|
+
/**
|
|
11669
|
+
* When the user signs out of your website, you need to call the method
|
|
11670
|
+
* google.accounts.id.disableAutoSelect to record the status in cookies.
|
|
11671
|
+
* https://developers.google.com/identity/oauth2/web/guides/use-token-model
|
|
11672
|
+
*/
|
|
11673
|
+
logout() {
|
|
11674
|
+
google.accounts.id.disableAutoSelect();
|
|
11675
|
+
}
|
|
11676
|
+
}
|
|
11677
|
+
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 });
|
|
11678
|
+
GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, providedIn: 'root' });
|
|
11679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: GoogleService, decorators: [{
|
|
11680
|
+
type: Injectable,
|
|
11681
|
+
args: [{
|
|
11682
|
+
providedIn: 'root'
|
|
11683
|
+
}]
|
|
11684
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ToastService }, { type: JwtService }, { type: i4.Router }, { type: undefined, decorators: [{
|
|
11685
|
+
type: Inject,
|
|
11686
|
+
args: ['environment']
|
|
11687
|
+
}] }]; } });
|
|
11688
|
+
|
|
11689
|
+
class FileService extends RestService$1 {
|
|
11690
|
+
constructor() {
|
|
11691
|
+
super(...arguments);
|
|
11692
|
+
this.endpointUri = 'files';
|
|
11693
|
+
this.modelClass = AppFile;
|
|
11694
|
+
this.collectionClass = Collection;
|
|
11695
|
+
this.isApiPlatform = true;
|
|
11696
|
+
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
11697
|
+
}
|
|
11698
|
+
getById(id) {
|
|
11699
|
+
return this.http.get(this.apiUrl + '/' + id).pipe(map((response) => plainToClass(AppFile, response)));
|
|
11700
|
+
}
|
|
11701
|
+
getLink(id) {
|
|
11702
|
+
return this.http.get(this.apiUrl + '/' + id + '/view').pipe(map((response) => response));
|
|
11703
|
+
}
|
|
11704
|
+
upload(file) {
|
|
11705
|
+
const formData = new FormData();
|
|
11706
|
+
formData.append('file', file);
|
|
11707
|
+
return this.http.post(this.apiUrl, formData)
|
|
11708
|
+
.pipe(map((fileBase) => plainToClass(AppFile, fileBase)));
|
|
11709
|
+
}
|
|
11710
|
+
download(file) {
|
|
11711
|
+
return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
|
|
11712
|
+
}
|
|
11713
|
+
}
|
|
11714
|
+
FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11715
|
+
FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, providedIn: 'root' });
|
|
11716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FileService, decorators: [{
|
|
11717
|
+
type: Injectable,
|
|
11718
|
+
args: [{
|
|
11719
|
+
providedIn: 'root'
|
|
11720
|
+
}]
|
|
11721
|
+
}] });
|
|
11722
|
+
|
|
11723
|
+
class ClientIncomeTypesService extends RestService$1 {
|
|
11724
|
+
constructor() {
|
|
11725
|
+
super(...arguments);
|
|
11726
|
+
this.modelClass = ClientIncomeTypes;
|
|
11727
|
+
this.collectionClass = Collection;
|
|
11728
|
+
this.endpointUri = 'client-income-types';
|
|
11729
|
+
this.isApiPlatform = true;
|
|
11730
|
+
this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
|
|
11731
|
+
}
|
|
11732
|
+
}
|
|
11733
|
+
ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11734
|
+
ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
|
|
11735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
|
|
11736
|
+
type: Injectable,
|
|
11737
|
+
args: [{
|
|
11738
|
+
providedIn: 'root'
|
|
11739
|
+
}]
|
|
11740
|
+
}] });
|
|
11741
|
+
|
|
11742
|
+
/**
|
|
11743
|
+
* Abstract base service that implements common services functionality
|
|
11744
|
+
* and describe abstract methods/properties that have to be implemented in child services
|
|
11745
|
+
* Model - entity service is working with
|
|
11746
|
+
* BaseModel - base entity model that extends by Model
|
|
11747
|
+
* @TODO TT-1777 Alex: remove when all services refactored
|
|
11748
|
+
*/
|
|
11749
|
+
class RestService {
|
|
11750
|
+
constructor(http, eventDispatcherService, environment, toastService) {
|
|
11751
|
+
this.http = http;
|
|
11752
|
+
this.eventDispatcherService = eventDispatcherService;
|
|
11753
|
+
this.environment = environment;
|
|
11754
|
+
this.toastService = toastService;
|
|
11755
|
+
this.jwtService = inject(JwtService);
|
|
11756
|
+
// subject for service cache
|
|
11757
|
+
this.cacheSubject = new ReplaySubject(1);
|
|
11758
|
+
this.roles = [];
|
|
11759
|
+
this.listenEvents();
|
|
11760
|
+
}
|
|
11761
|
+
/**
|
|
11762
|
+
* get list of base class instances directly from backend
|
|
11763
|
+
*/
|
|
11764
|
+
fetch() {
|
|
11765
|
+
this.setCache([]);
|
|
11766
|
+
return this.http.get(`${this.environment.apiV2}/${this.url}`)
|
|
11767
|
+
.pipe(map((response) => {
|
|
11768
|
+
const items = (this.isHydra ? response['hydra:member'] : response)
|
|
11769
|
+
.map((item) => this.createModelInstance(item));
|
|
11770
|
+
this.setCache(items, true);
|
|
11771
|
+
return items;
|
|
11772
|
+
}));
|
|
11773
|
+
}
|
|
11774
|
+
/**
|
|
11775
|
+
* get cached list of all instances
|
|
11776
|
+
*/
|
|
11777
|
+
get() {
|
|
11778
|
+
if (!this.cache) {
|
|
11779
|
+
this.jwtService.getUser().hasRoles(this.roles) ? this.fetch().pipe(first$1()).subscribe() : this.setCache([], true);
|
|
11780
|
+
}
|
|
11781
|
+
return this.cacheSubject.asObservable();
|
|
11782
|
+
}
|
|
11783
|
+
/**
|
|
11784
|
+
* get instance by id from cache
|
|
11772
11785
|
* @param id ID of required item
|
|
11773
11786
|
*/
|
|
11774
11787
|
findById(id) {
|
|
@@ -11910,320 +11923,39 @@ class RestService {
|
|
|
11910
11923
|
setCache(data, next = false) {
|
|
11911
11924
|
this.cache = data;
|
|
11912
11925
|
if (next) {
|
|
11913
|
-
this.updateCache();
|
|
11914
|
-
}
|
|
11915
|
-
}
|
|
11916
|
-
/**
|
|
11917
|
-
* Update cache subject with current cache array value
|
|
11918
|
-
*/
|
|
11919
|
-
updateCache() {
|
|
11920
|
-
this.cacheSubject.next(this.cache.slice());
|
|
11921
|
-
}
|
|
11922
|
-
/**
|
|
11923
|
-
* @TODO use excludeExtraneousValues when all models refactored (exposed all needed properties)
|
|
11924
|
-
* Create new instance of class
|
|
11925
|
-
* @param model instance that we will use as constructor options
|
|
11926
|
-
*/
|
|
11927
|
-
createModelInstance(model) {
|
|
11928
|
-
return plainToClass(this.modelClass, model, { excludePrefixes: ['@'] });
|
|
11929
|
-
}
|
|
11930
|
-
/**
|
|
11931
|
-
* Method that call all listeners. Empty by default. Should be redefined by child services if required
|
|
11932
|
-
*/
|
|
11933
|
-
listenEvents() { }
|
|
11934
|
-
}
|
|
11935
|
-
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11936
|
-
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
11937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RestService, decorators: [{
|
|
11938
|
-
type: Injectable,
|
|
11939
|
-
args: [{
|
|
11940
|
-
providedIn: 'root'
|
|
11941
|
-
}]
|
|
11942
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
11943
|
-
type: Inject,
|
|
11944
|
-
args: ['environment']
|
|
11945
|
-
}] }, { type: ToastService }]; } });
|
|
11946
|
-
|
|
11947
|
-
class DocumentService extends RestService {
|
|
11948
|
-
constructor() {
|
|
11949
|
-
super(...arguments);
|
|
11950
|
-
this.url = 'documents';
|
|
11951
|
-
this.modelClass = Document;
|
|
11952
|
-
}
|
|
11953
|
-
}
|
|
11954
|
-
DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11955
|
-
DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, providedIn: 'root' });
|
|
11956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentService, decorators: [{
|
|
11957
|
-
type: Injectable,
|
|
11958
|
-
args: [{
|
|
11959
|
-
providedIn: 'root'
|
|
11960
|
-
}]
|
|
11961
|
-
}] });
|
|
11962
|
-
|
|
11963
|
-
/**
|
|
11964
|
-
* Service to handle document-folders and depending documents logic
|
|
11965
|
-
*/
|
|
11966
|
-
class DocumentFolderService extends RestService {
|
|
11967
|
-
constructor() {
|
|
11968
|
-
super(...arguments);
|
|
11969
|
-
this.url = 'folders';
|
|
11970
|
-
this.modelClass = DocumentFolder;
|
|
11971
|
-
}
|
|
11972
|
-
/**
|
|
11973
|
-
* Add new document to the folder
|
|
11974
|
-
* @param file to be uploaded to the folder
|
|
11975
|
-
* @param folder for document
|
|
11976
|
-
*/
|
|
11977
|
-
addDocument(file, folder) {
|
|
11978
|
-
// create formData object with provided file
|
|
11979
|
-
const formDataDocument = new FormData();
|
|
11980
|
-
formDataDocument.append('file', file);
|
|
11981
|
-
return this.http.post(`${this.environment.apiV2}/folders/${folder.id}/documents`, formDataDocument).pipe(map((response) => {
|
|
11982
|
-
const updatedFolder = Object.assign(plainToClass(DocumentFolder, {}), folder);
|
|
11983
|
-
updatedFolder.documents.push(plainToClass(Document, response));
|
|
11984
|
-
replace(this.cache, plainToClass(DocumentFolder, updatedFolder));
|
|
11985
|
-
this.cacheSubject.next(this.cache);
|
|
11986
|
-
}));
|
|
11987
|
-
}
|
|
11988
|
-
/**
|
|
11989
|
-
* Edit folder document by moving it from one folder to another
|
|
11990
|
-
* @param editedDocument
|
|
11991
|
-
* @param selectedFolder to move the document to
|
|
11992
|
-
* @param oldFolderId: id of old folder from which need to remove the document
|
|
11993
|
-
*/
|
|
11994
|
-
updateDocument(editedDocument, selectedFolder, oldFolderId) {
|
|
11995
|
-
return this.http.put(`${this.environment.apiV2}/folders/${selectedFolder.id}/documents/${editedDocument.id}`, editedDocument).pipe(map((response) => {
|
|
11996
|
-
const oldFolder = this.cache.find((folder) => folder.id === oldFolderId);
|
|
11997
|
-
// Remove document from old folder
|
|
11998
|
-
oldFolder.documents = oldFolder.documents.filter((deletedDocument) => deletedDocument.id !== response.id);
|
|
11999
|
-
// update old folder and replace it in cache
|
|
12000
|
-
response.folder = plainToClass(DocumentFolder, { id: selectedFolder.id, name: selectedFolder.name });
|
|
12001
|
-
replace(this.cache, plainToClass(DocumentFolder, oldFolder));
|
|
12002
|
-
// update new document folder and replace it in cache
|
|
12003
|
-
selectedFolder.documents.push(plainToClass(Document, response));
|
|
12004
|
-
replace(this.cache, plainToClass(DocumentFolder, selectedFolder));
|
|
12005
|
-
this.cacheSubject.next(this.cache);
|
|
12006
|
-
}));
|
|
12007
|
-
}
|
|
12008
|
-
/**
|
|
12009
|
-
* Delete document from folder
|
|
12010
|
-
* @param document to remove
|
|
12011
|
-
* @param folder from which document should be removed
|
|
12012
|
-
*/
|
|
12013
|
-
deleteDocument(document, folder) {
|
|
12014
|
-
return this.http.delete(`${this.environment.apiV2}/folders/${folder.id}/documents/${document.id}`).pipe(map(() => {
|
|
12015
|
-
folder.documents = folder.documents
|
|
12016
|
-
.filter((deletedDocument) => deletedDocument.id !== document.id);
|
|
12017
|
-
replace(this.cache, plainToClass(DocumentFolder, folder));
|
|
12018
|
-
this.cacheSubject.next(this.cache);
|
|
12019
|
-
}));
|
|
12020
|
-
}
|
|
12021
|
-
}
|
|
12022
|
-
DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12023
|
-
DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
|
|
12024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentFolderService, decorators: [{
|
|
12025
|
-
type: Injectable,
|
|
12026
|
-
args: [{
|
|
12027
|
-
providedIn: 'root'
|
|
12028
|
-
}]
|
|
12029
|
-
}] });
|
|
12030
|
-
|
|
12031
|
-
const ERROR_EMAIL_PERMISSION = 'Access to email denied. Please provide access to email in facebook.';
|
|
12032
|
-
class FacebookService {
|
|
12033
|
-
/**
|
|
12034
|
-
* @TODO when google login will be done, it needs to be moved to an abstract class
|
|
12035
|
-
*/
|
|
12036
|
-
constructor(http, toastService, jwtService, router, environment) {
|
|
12037
|
-
this.http = http;
|
|
12038
|
-
this.toastService = toastService;
|
|
12039
|
-
this.jwtService = jwtService;
|
|
12040
|
-
this.router = router;
|
|
12041
|
-
this.environment = environment;
|
|
12042
|
-
this.isLoggedInSubject = new BehaviorSubject(!this.jwtService.isTokenExpired());
|
|
12043
|
-
this.isFacebookEnabled = !!environment['facebookAppId'];
|
|
12044
|
-
}
|
|
12045
|
-
async login(redirectUrl = '/client') {
|
|
12046
|
-
const accessToken = await this.getAccessToken();
|
|
12047
|
-
this.http.post(`${this.environment.apiV2}/users/authentication/facebook`, { accessToken })
|
|
12048
|
-
.subscribe((response) => {
|
|
12049
|
-
this.setAuth(response);
|
|
12050
|
-
this.router.navigate([redirectUrl]);
|
|
12051
|
-
}, (error) => {
|
|
12052
|
-
this.toastService.error(error.error.violations[0].message);
|
|
12053
|
-
this.logout();
|
|
12054
|
-
});
|
|
12055
|
-
}
|
|
12056
|
-
/**
|
|
12057
|
-
* save user's auth tokens
|
|
12058
|
-
* @TODO move to abstract class
|
|
12059
|
-
*/
|
|
12060
|
-
setAuth(response) {
|
|
12061
|
-
this.jwtService.saveTokens(response);
|
|
12062
|
-
this.isLoggedInSubject.next(true);
|
|
12063
|
-
}
|
|
12064
|
-
/**
|
|
12065
|
-
* get facebook auth access token
|
|
12066
|
-
*/
|
|
12067
|
-
getAccessToken() {
|
|
12068
|
-
return new Promise((resolve) => {
|
|
12069
|
-
FB.login((response) => {
|
|
12070
|
-
// authResponse will be empty if you close the Facebook login window or enter incorrect user data
|
|
12071
|
-
if (!response.authResponse) {
|
|
12072
|
-
return;
|
|
12073
|
-
}
|
|
12074
|
-
if (!response.authResponse.grantedScopes.includes('email')) {
|
|
12075
|
-
this.toastService.error(ERROR_EMAIL_PERMISSION);
|
|
12076
|
-
return;
|
|
12077
|
-
}
|
|
12078
|
-
resolve(response.authResponse.accessToken);
|
|
12079
|
-
}, FacebookService.authOptions);
|
|
12080
|
-
});
|
|
12081
|
-
}
|
|
12082
|
-
/**
|
|
12083
|
-
* logout user from facebook.
|
|
12084
|
-
* Need to logout when user is trying to login with facebook with manually registered email
|
|
12085
|
-
*/
|
|
12086
|
-
logout() {
|
|
12087
|
-
return new Promise((resolve, reject) => {
|
|
12088
|
-
FB.logout((response) => {
|
|
12089
|
-
resolve(response);
|
|
12090
|
-
});
|
|
12091
|
-
});
|
|
12092
|
-
}
|
|
12093
|
-
}
|
|
12094
|
-
FacebookService.authOptions = {
|
|
12095
|
-
scope: 'email, public_profile',
|
|
12096
|
-
auth_type: 'rerequest',
|
|
12097
|
-
return_scopes: true
|
|
12098
|
-
};
|
|
12099
|
-
FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12100
|
-
FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, providedIn: 'root' });
|
|
12101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FacebookService, decorators: [{
|
|
12102
|
-
type: Injectable,
|
|
12103
|
-
args: [{
|
|
12104
|
-
providedIn: 'root'
|
|
12105
|
-
}]
|
|
12106
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ToastService }, { type: JwtService }, { type: i4.Router }, { type: undefined, decorators: [{
|
|
12107
|
-
type: Inject,
|
|
12108
|
-
args: ['environment']
|
|
12109
|
-
}] }]; } });
|
|
12110
|
-
|
|
12111
|
-
/**
|
|
12112
|
-
* Google instance
|
|
12113
|
-
* https://developers.google.com/identity/oauth2/web/guides/overview
|
|
12114
|
-
* https://developers.google.com/identity/gsi/web/guides/overview
|
|
12115
|
-
*/
|
|
12116
|
-
class GoogleService {
|
|
12117
|
-
constructor(http, toastService, jwtService, router, environment) {
|
|
12118
|
-
this.http = http;
|
|
12119
|
-
this.toastService = toastService;
|
|
12120
|
-
this.jwtService = jwtService;
|
|
12121
|
-
this.router = router;
|
|
12122
|
-
this.environment = environment;
|
|
12123
|
-
this.isLoggedInSubject = new BehaviorSubject(!this.jwtService.isTokenExpired());
|
|
12124
|
-
this.isGoogleEnabled = !!this.environment['googleClientId'];
|
|
12125
|
-
// depending on the level of access
|
|
12126
|
-
this.googleScope = 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email';
|
|
11926
|
+
this.updateCache();
|
|
11927
|
+
}
|
|
12127
11928
|
}
|
|
12128
11929
|
/**
|
|
12129
|
-
*
|
|
12130
|
-
* requestAccessToken() method to trigger the token UX flow and obtain an access token.
|
|
12131
|
-
* https://developers.google.com/identity/oauth2/web/guides/use-token-model
|
|
11930
|
+
* Update cache subject with current cache array value
|
|
12132
11931
|
*/
|
|
12133
|
-
|
|
12134
|
-
|
|
12135
|
-
return google.accounts.oauth2.initTokenClient({
|
|
12136
|
-
client_id: this.environment['googleClientId'],
|
|
12137
|
-
scope: this.googleScope,
|
|
12138
|
-
callback: (response) => {
|
|
12139
|
-
this.setAuth(response.access_token);
|
|
12140
|
-
},
|
|
12141
|
-
}).requestAccessToken();
|
|
11932
|
+
updateCache() {
|
|
11933
|
+
this.cacheSubject.next(this.cache.slice());
|
|
12142
11934
|
}
|
|
12143
11935
|
/**
|
|
12144
|
-
*
|
|
12145
|
-
*
|
|
12146
|
-
*
|
|
12147
|
-
* grant consent for your web app to access each requested scope.
|
|
11936
|
+
* @TODO use excludeExtraneousValues when all models refactored (exposed all needed properties)
|
|
11937
|
+
* Create new instance of class
|
|
11938
|
+
* @param model instance that we will use as constructor options
|
|
12148
11939
|
*/
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
.subscribe((response) => {
|
|
12152
|
-
this.jwtService.saveTokens(response);
|
|
12153
|
-
this.isLoggedInSubject.next(true);
|
|
12154
|
-
this.router.navigate([redirectUrl]);
|
|
12155
|
-
}, (error) => {
|
|
12156
|
-
this.toastService.error(error.error.violations[0].message);
|
|
12157
|
-
this.logout();
|
|
12158
|
-
});
|
|
11940
|
+
createModelInstance(model) {
|
|
11941
|
+
return plainToClass(this.modelClass, model, { excludePrefixes: ['@'] });
|
|
12159
11942
|
}
|
|
12160
11943
|
/**
|
|
12161
|
-
*
|
|
12162
|
-
* google.accounts.id.disableAutoSelect to record the status in cookies.
|
|
12163
|
-
* https://developers.google.com/identity/oauth2/web/guides/use-token-model
|
|
11944
|
+
* Method that call all listeners. Empty by default. Should be redefined by child services if required
|
|
12164
11945
|
*/
|
|
12165
|
-
|
|
12166
|
-
google.accounts.id.disableAutoSelect();
|
|
12167
|
-
}
|
|
11946
|
+
listenEvents() { }
|
|
12168
11947
|
}
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
11948
|
+
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 });
|
|
11949
|
+
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
11950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RestService, decorators: [{
|
|
12172
11951
|
type: Injectable,
|
|
12173
11952
|
args: [{
|
|
12174
11953
|
providedIn: 'root'
|
|
12175
11954
|
}]
|
|
12176
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type:
|
|
11955
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
12177
11956
|
type: Inject,
|
|
12178
11957
|
args: ['environment']
|
|
12179
|
-
}] }]; } });
|
|
12180
|
-
|
|
12181
|
-
class FileService extends RestService$1 {
|
|
12182
|
-
constructor() {
|
|
12183
|
-
super(...arguments);
|
|
12184
|
-
this.endpointUri = 'files';
|
|
12185
|
-
this.modelClass = AppFile;
|
|
12186
|
-
this.collectionClass = Collection;
|
|
12187
|
-
this.isApiPlatform = true;
|
|
12188
|
-
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
12189
|
-
}
|
|
12190
|
-
upload(file) {
|
|
12191
|
-
const formData = new FormData();
|
|
12192
|
-
formData.append('file', file);
|
|
12193
|
-
return this.http.post(this.apiUrl, formData)
|
|
12194
|
-
.pipe(map((fileBase) => plainToClass(AppFile, fileBase)));
|
|
12195
|
-
}
|
|
12196
|
-
download(file) {
|
|
12197
|
-
return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
|
|
12198
|
-
}
|
|
12199
|
-
}
|
|
12200
|
-
FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12201
|
-
FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, providedIn: 'root' });
|
|
12202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileService, decorators: [{
|
|
12203
|
-
type: Injectable,
|
|
12204
|
-
args: [{
|
|
12205
|
-
providedIn: 'root'
|
|
12206
|
-
}]
|
|
12207
|
-
}] });
|
|
12208
|
-
|
|
12209
|
-
class ClientIncomeTypesService extends RestService$1 {
|
|
12210
|
-
constructor() {
|
|
12211
|
-
super(...arguments);
|
|
12212
|
-
this.modelClass = ClientIncomeTypes;
|
|
12213
|
-
this.collectionClass = Collection;
|
|
12214
|
-
this.endpointUri = 'client-income-types';
|
|
12215
|
-
this.isApiPlatform = true;
|
|
12216
|
-
this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
|
|
12217
|
-
}
|
|
12218
|
-
}
|
|
12219
|
-
ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12220
|
-
ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
|
|
12221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
|
|
12222
|
-
type: Injectable,
|
|
12223
|
-
args: [{
|
|
12224
|
-
providedIn: 'root'
|
|
12225
|
-
}]
|
|
12226
|
-
}] });
|
|
11958
|
+
}] }, { type: ToastService }]; } });
|
|
12227
11959
|
|
|
12228
11960
|
class ClientInviteService extends RestService {
|
|
12229
11961
|
constructor() {
|
|
@@ -12335,9 +12067,9 @@ class ClientInviteService extends RestService {
|
|
|
12335
12067
|
});
|
|
12336
12068
|
}
|
|
12337
12069
|
}
|
|
12338
|
-
ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12339
|
-
ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12070
|
+
ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12071
|
+
ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
|
|
12072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientInviteService, decorators: [{
|
|
12341
12073
|
type: Injectable,
|
|
12342
12074
|
args: [{
|
|
12343
12075
|
providedIn: 'root'
|
|
@@ -12424,9 +12156,9 @@ class ClientMovementService extends RestService {
|
|
|
12424
12156
|
});
|
|
12425
12157
|
}
|
|
12426
12158
|
}
|
|
12427
|
-
ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12428
|
-
ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12159
|
+
ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12160
|
+
ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
|
|
12161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientMovementService, decorators: [{
|
|
12430
12162
|
type: Injectable,
|
|
12431
12163
|
args: [{
|
|
12432
12164
|
providedIn: 'root'
|
|
@@ -12477,9 +12209,9 @@ class EmployeeService extends RestService {
|
|
|
12477
12209
|
}));
|
|
12478
12210
|
}
|
|
12479
12211
|
}
|
|
12480
|
-
EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12481
|
-
EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12212
|
+
EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12213
|
+
EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, providedIn: 'root' });
|
|
12214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeService, decorators: [{
|
|
12483
12215
|
type: Injectable,
|
|
12484
12216
|
args: [{
|
|
12485
12217
|
providedIn: 'root'
|
|
@@ -12541,9 +12273,9 @@ class EmployeeInviteService extends RestService {
|
|
|
12541
12273
|
}));
|
|
12542
12274
|
}
|
|
12543
12275
|
}
|
|
12544
|
-
EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12545
|
-
EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12276
|
+
EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12277
|
+
EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
|
|
12278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EmployeeInviteService, decorators: [{
|
|
12547
12279
|
type: Injectable,
|
|
12548
12280
|
args: [{
|
|
12549
12281
|
providedIn: 'root'
|
|
@@ -12568,9 +12300,9 @@ class ClientPortfolioReportService {
|
|
|
12568
12300
|
}));
|
|
12569
12301
|
}
|
|
12570
12302
|
}
|
|
12571
|
-
ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12572
|
-
ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12303
|
+
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 });
|
|
12304
|
+
ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
|
|
12305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
|
|
12574
12306
|
type: Injectable,
|
|
12575
12307
|
args: [{
|
|
12576
12308
|
providedIn: 'root'
|
|
@@ -12580,6 +12312,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
12580
12312
|
args: ['environment']
|
|
12581
12313
|
}] }]; } });
|
|
12582
12314
|
|
|
12315
|
+
var FirmMessagesEnum;
|
|
12316
|
+
(function (FirmMessagesEnum) {
|
|
12317
|
+
FirmMessagesEnum["LOGO_UPDATED"] = "Firm logo updated";
|
|
12318
|
+
FirmMessagesEnum["DATA_UPDATED"] = "Firm data updated";
|
|
12319
|
+
})(FirmMessagesEnum || (FirmMessagesEnum = {}));
|
|
12320
|
+
|
|
12583
12321
|
// @TODO Alex: think about extend base rest service
|
|
12584
12322
|
class FirmService {
|
|
12585
12323
|
constructor(http, environment) {
|
|
@@ -12623,18 +12361,10 @@ class FirmService {
|
|
|
12623
12361
|
getByType(type) {
|
|
12624
12362
|
return this.getAll().pipe(map((firms) => firms.filter((firm) => firm.type === type)));
|
|
12625
12363
|
}
|
|
12626
|
-
updatePhoto(firm, photo) {
|
|
12627
|
-
return this.http.post(`${this.environment.apiV2}/firms/photo?_method=PUT`, photo)
|
|
12628
|
-
.pipe(map((firmPhoto) => {
|
|
12629
|
-
this.firm = plainToClass(Firm, Object.assign(firm, { photo: firmPhoto }));
|
|
12630
|
-
this.firmSubject.next(this.firm);
|
|
12631
|
-
return firm;
|
|
12632
|
-
}));
|
|
12633
|
-
}
|
|
12634
12364
|
}
|
|
12635
|
-
FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12636
|
-
FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12365
|
+
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 });
|
|
12366
|
+
FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, providedIn: 'root' });
|
|
12367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FirmService, decorators: [{
|
|
12638
12368
|
type: Injectable,
|
|
12639
12369
|
args: [{
|
|
12640
12370
|
providedIn: 'root'
|
|
@@ -12708,9 +12438,9 @@ class IncomeSourceForecastService extends RestService {
|
|
|
12708
12438
|
}).flat();
|
|
12709
12439
|
}
|
|
12710
12440
|
}
|
|
12711
|
-
IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12712
|
-
IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12441
|
+
IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12442
|
+
IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
|
|
12443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
|
|
12714
12444
|
type: Injectable,
|
|
12715
12445
|
args: [{
|
|
12716
12446
|
providedIn: 'root'
|
|
@@ -12780,9 +12510,9 @@ class SalaryForecastService extends RestService {
|
|
|
12780
12510
|
}).flat();
|
|
12781
12511
|
}
|
|
12782
12512
|
}
|
|
12783
|
-
SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12784
|
-
SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12513
|
+
SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12514
|
+
SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
|
|
12515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SalaryForecastService, decorators: [{
|
|
12786
12516
|
type: Injectable,
|
|
12787
12517
|
args: [{
|
|
12788
12518
|
providedIn: 'root'
|
|
@@ -12858,9 +12588,9 @@ class SoleForecastService extends RestService {
|
|
|
12858
12588
|
});
|
|
12859
12589
|
}
|
|
12860
12590
|
}
|
|
12861
|
-
SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12862
|
-
SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12591
|
+
SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12592
|
+
SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
|
|
12593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleForecastService, decorators: [{
|
|
12864
12594
|
type: Injectable,
|
|
12865
12595
|
args: [{
|
|
12866
12596
|
providedIn: 'root'
|
|
@@ -12939,9 +12669,9 @@ class IncomeSourceService extends RestService {
|
|
|
12939
12669
|
});
|
|
12940
12670
|
}
|
|
12941
12671
|
}
|
|
12942
|
-
IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
12943
|
-
IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
12944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12672
|
+
IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12673
|
+
IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
|
|
12674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceService, decorators: [{
|
|
12945
12675
|
type: Injectable,
|
|
12946
12676
|
args: [{
|
|
12947
12677
|
providedIn: 'root'
|
|
@@ -13002,9 +12732,9 @@ class BorrowingExpenseService {
|
|
|
13002
12732
|
}));
|
|
13003
12733
|
}
|
|
13004
12734
|
}
|
|
13005
|
-
BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13006
|
-
BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12735
|
+
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 });
|
|
12736
|
+
BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
|
|
12737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingExpenseService, decorators: [{
|
|
13008
12738
|
type: Injectable,
|
|
13009
12739
|
args: [{
|
|
13010
12740
|
providedIn: 'root'
|
|
@@ -13084,9 +12814,9 @@ class LoanService extends RestService$1 {
|
|
|
13084
12814
|
}));
|
|
13085
12815
|
}
|
|
13086
12816
|
}
|
|
13087
|
-
LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13088
|
-
LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12817
|
+
LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12818
|
+
LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, providedIn: 'root' });
|
|
12819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LoanService, decorators: [{
|
|
13090
12820
|
type: Injectable,
|
|
13091
12821
|
args: [{
|
|
13092
12822
|
providedIn: 'root'
|
|
@@ -13103,9 +12833,9 @@ class BorrowingReportService extends RestService$1 {
|
|
|
13103
12833
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13104
12834
|
}
|
|
13105
12835
|
}
|
|
13106
|
-
BorrowingReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13107
|
-
BorrowingReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12836
|
+
BorrowingReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12837
|
+
BorrowingReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, providedIn: 'root' });
|
|
12838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BorrowingReportService, decorators: [{
|
|
13109
12839
|
type: Injectable,
|
|
13110
12840
|
args: [{
|
|
13111
12841
|
providedIn: 'root'
|
|
@@ -13131,9 +12861,9 @@ class PropertyCategoryService extends RestService$1 {
|
|
|
13131
12861
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13132
12862
|
}
|
|
13133
12863
|
}
|
|
13134
|
-
PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13135
|
-
PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12864
|
+
PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12865
|
+
PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
|
|
12866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryService, decorators: [{
|
|
13137
12867
|
type: Injectable,
|
|
13138
12868
|
args: [{
|
|
13139
12869
|
providedIn: 'root'
|
|
@@ -13149,15 +12879,23 @@ class PropertyCategoryMovementService extends RestService$1 {
|
|
|
13149
12879
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13150
12880
|
}
|
|
13151
12881
|
}
|
|
13152
|
-
PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13153
|
-
PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12882
|
+
PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12883
|
+
PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
|
|
12884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
|
|
13155
12885
|
type: Injectable,
|
|
13156
12886
|
args: [{
|
|
13157
12887
|
providedIn: 'root'
|
|
13158
12888
|
}]
|
|
13159
12889
|
}] });
|
|
13160
12890
|
|
|
12891
|
+
var PropertyDocumentMessagesEnum;
|
|
12892
|
+
(function (PropertyDocumentMessagesEnum) {
|
|
12893
|
+
PropertyDocumentMessagesEnum["CREATED"] = "Property document created";
|
|
12894
|
+
PropertyDocumentMessagesEnum["UPDATED"] = "Property document updated";
|
|
12895
|
+
PropertyDocumentMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete the document?";
|
|
12896
|
+
PropertyDocumentMessagesEnum["DELETED"] = "Property document deleted";
|
|
12897
|
+
})(PropertyDocumentMessagesEnum || (PropertyDocumentMessagesEnum = {}));
|
|
12898
|
+
|
|
13161
12899
|
/**
|
|
13162
12900
|
* Class for work with Property Documents
|
|
13163
12901
|
*/
|
|
@@ -13166,8 +12904,9 @@ class PropertyDocumentService extends RestService$1 {
|
|
|
13166
12904
|
super(...arguments);
|
|
13167
12905
|
this.modelClass = PropertyDocument;
|
|
13168
12906
|
this.collectionClass = Collection;
|
|
13169
|
-
this.endpointUri = '
|
|
13170
|
-
this.disabledMethods = ['
|
|
12907
|
+
this.endpointUri = 'property-documents';
|
|
12908
|
+
this.disabledMethods = ['postBatch', 'putBatch'];
|
|
12909
|
+
this.isApiPlatform = true;
|
|
13171
12910
|
}
|
|
13172
12911
|
/**
|
|
13173
12912
|
* Add new Property Document
|
|
@@ -13193,9 +12932,9 @@ class PropertyDocumentService extends RestService$1 {
|
|
|
13193
12932
|
});
|
|
13194
12933
|
}
|
|
13195
12934
|
}
|
|
13196
|
-
PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13197
|
-
PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
12935
|
+
PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12936
|
+
PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
|
|
12937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyDocumentService, decorators: [{
|
|
13199
12938
|
type: Injectable,
|
|
13200
12939
|
args: [{
|
|
13201
12940
|
providedIn: 'root'
|
|
@@ -13274,9 +13013,9 @@ class TaxExemptionService extends DataService {
|
|
|
13274
13013
|
this.setCache(TaxExemptions);
|
|
13275
13014
|
}
|
|
13276
13015
|
}
|
|
13277
|
-
TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13278
|
-
TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13016
|
+
TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13017
|
+
TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
|
|
13018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxExemptionService, decorators: [{
|
|
13280
13019
|
type: Injectable,
|
|
13281
13020
|
args: [{
|
|
13282
13021
|
providedIn: 'root'
|
|
@@ -13292,9 +13031,9 @@ class PropertySaleService extends RestService$1 {
|
|
|
13292
13031
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13293
13032
|
}
|
|
13294
13033
|
}
|
|
13295
|
-
PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13296
|
-
PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13034
|
+
PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13035
|
+
PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
|
|
13036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertySaleService, decorators: [{
|
|
13298
13037
|
type: Injectable,
|
|
13299
13038
|
args: [{
|
|
13300
13039
|
providedIn: 'root'
|
|
@@ -13340,15 +13079,59 @@ class PropertyShareService extends RestService$1 {
|
|
|
13340
13079
|
this.listenCSE(PropertySale, ['post', 'delete'], this.refreshCache);
|
|
13341
13080
|
}
|
|
13342
13081
|
}
|
|
13343
|
-
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13344
|
-
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13082
|
+
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13083
|
+
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
|
|
13084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyShareService, decorators: [{
|
|
13085
|
+
type: Injectable,
|
|
13086
|
+
args: [{
|
|
13087
|
+
providedIn: 'root'
|
|
13088
|
+
}]
|
|
13089
|
+
}] });
|
|
13090
|
+
|
|
13091
|
+
/**
|
|
13092
|
+
* @TODO Alex: refacotor with api platform (old endpoint)
|
|
13093
|
+
*/
|
|
13094
|
+
class PropertyValuationService extends RestService$1 {
|
|
13095
|
+
constructor() {
|
|
13096
|
+
super(...arguments);
|
|
13097
|
+
this.endpointUri = 'properties';
|
|
13098
|
+
this.modelClass = PropertyValuation;
|
|
13099
|
+
this.collectionClass = (Collection);
|
|
13100
|
+
this.disabledMethods = ['postBatch', 'putBatch'];
|
|
13101
|
+
this.isApiPlatform = true;
|
|
13102
|
+
}
|
|
13103
|
+
get(propertyId) {
|
|
13104
|
+
return this.http.get(`${this.apiUrl}/${propertyId}/valuations`)
|
|
13105
|
+
.pipe(map((valuations) => new Collection(valuations.map((valuation) => plainToClass(PropertyValuation, valuation)))));
|
|
13106
|
+
}
|
|
13107
|
+
post(valuation, propertyId) {
|
|
13108
|
+
return super.post(valuation, `${this.apiUrl}/${propertyId}/valuations`);
|
|
13109
|
+
}
|
|
13110
|
+
put(valuation, propertyId) {
|
|
13111
|
+
return super.put(valuation, `${this.apiUrl}/${propertyId}/valuations/${valuation.id}`);
|
|
13112
|
+
}
|
|
13113
|
+
}
|
|
13114
|
+
PropertyValuationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13115
|
+
PropertyValuationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, providedIn: 'root' });
|
|
13116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyValuationService, decorators: [{
|
|
13346
13117
|
type: Injectable,
|
|
13347
13118
|
args: [{
|
|
13348
13119
|
providedIn: 'root'
|
|
13349
13120
|
}]
|
|
13350
13121
|
}] });
|
|
13351
13122
|
|
|
13123
|
+
var PropertyValuationMessages;
|
|
13124
|
+
(function (PropertyValuationMessages) {
|
|
13125
|
+
PropertyValuationMessages["CREATED"] = "Property valuation created";
|
|
13126
|
+
PropertyValuationMessages["UPDATED"] = "Property valuation updated";
|
|
13127
|
+
})(PropertyValuationMessages || (PropertyValuationMessages = {}));
|
|
13128
|
+
|
|
13129
|
+
var PropertyMessagesEnum;
|
|
13130
|
+
(function (PropertyMessagesEnum) {
|
|
13131
|
+
PropertyMessagesEnum["PHOTO_UPDATED"] = "Property photo updated";
|
|
13132
|
+
PropertyMessagesEnum["PROPERTY_UPDATED"] = "Property updated";
|
|
13133
|
+
})(PropertyMessagesEnum || (PropertyMessagesEnum = {}));
|
|
13134
|
+
|
|
13352
13135
|
/**
|
|
13353
13136
|
* @Todo Alex remove functionality related to PropertyShare
|
|
13354
13137
|
* @TODO Alex (TT-1777): replace all event listeners with the new this.listen()
|
|
@@ -13380,6 +13163,7 @@ class PropertyService extends RestService$1 {
|
|
|
13380
13163
|
// @TODO Alex: consider to refactor property movements logic similar to client-movements
|
|
13381
13164
|
this.listenMovementsChanges();
|
|
13382
13165
|
this.listenSalesChanges();
|
|
13166
|
+
this.listenValuations();
|
|
13383
13167
|
}
|
|
13384
13168
|
/**
|
|
13385
13169
|
* Update cache when share invitation accepted
|
|
@@ -13399,6 +13183,9 @@ class PropertyService extends RestService$1 {
|
|
|
13399
13183
|
listenSalesChanges() {
|
|
13400
13184
|
this.listenCSE(PropertySale, ['post', 'delete'], this.refreshCache);
|
|
13401
13185
|
}
|
|
13186
|
+
listenValuations() {
|
|
13187
|
+
this.listenCSE(PropertyValuation, ['post', 'put'], this.refreshCache);
|
|
13188
|
+
}
|
|
13402
13189
|
updateDepreciationCalculation(property) {
|
|
13403
13190
|
const propertyToUpdate = plainToClass(Property, { id: property.id, depreciationCalculation: property.depreciationCalculation });
|
|
13404
13191
|
return this.put(propertyToUpdate)
|
|
@@ -13439,9 +13226,9 @@ class PropertyService extends RestService$1 {
|
|
|
13439
13226
|
}));
|
|
13440
13227
|
}
|
|
13441
13228
|
}
|
|
13442
|
-
PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13443
|
-
PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13229
|
+
PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13230
|
+
PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, providedIn: 'root' });
|
|
13231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyService, decorators: [{
|
|
13445
13232
|
type: Injectable,
|
|
13446
13233
|
args: [{
|
|
13447
13234
|
providedIn: 'root'
|
|
@@ -13495,9 +13282,9 @@ class ServiceNotificationService extends RestService {
|
|
|
13495
13282
|
});
|
|
13496
13283
|
}
|
|
13497
13284
|
}
|
|
13498
|
-
ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13499
|
-
ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13285
|
+
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 });
|
|
13286
|
+
ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
|
|
13287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceNotificationService, decorators: [{
|
|
13501
13288
|
type: Injectable,
|
|
13502
13289
|
args: [{
|
|
13503
13290
|
providedIn: 'root'
|
|
@@ -13507,12 +13294,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
13507
13294
|
args: ['environment']
|
|
13508
13295
|
}] }, { type: ToastService }, { type: SseService }]; } });
|
|
13509
13296
|
|
|
13510
|
-
var
|
|
13511
|
-
(function (
|
|
13512
|
-
|
|
13513
|
-
|
|
13514
|
-
MessagesEnum["LOGO_ERROR_SIZE"] = "The file is too big. Maximum size is 2mb";
|
|
13515
|
-
})(MessagesEnum$3 || (MessagesEnum$3 = {}));
|
|
13297
|
+
var SoleBusinessMessagesEnum;
|
|
13298
|
+
(function (SoleBusinessMessagesEnum) {
|
|
13299
|
+
SoleBusinessMessagesEnum["LOGO_UPDATED"] = "Logo updated successfully";
|
|
13300
|
+
})(SoleBusinessMessagesEnum || (SoleBusinessMessagesEnum = {}));
|
|
13516
13301
|
|
|
13517
13302
|
class SoleBusinessService extends RestService {
|
|
13518
13303
|
constructor() {
|
|
@@ -13527,28 +13312,10 @@ class SoleBusinessService extends RestService {
|
|
|
13527
13312
|
return business;
|
|
13528
13313
|
}));
|
|
13529
13314
|
}
|
|
13530
|
-
uploadLogo(business, file) {
|
|
13531
|
-
const formData = new FormData();
|
|
13532
|
-
formData.append('file', file);
|
|
13533
|
-
return this.http.post(`${this.environment.apiV2}/${this.url}/${business.id}/logo`, formData)
|
|
13534
|
-
.pipe(map((updatedBusiness) => {
|
|
13535
|
-
const tempCache = cloneDeep$1(this.cache);
|
|
13536
|
-
replace(tempCache, plainToClass(SoleBusiness, updatedBusiness));
|
|
13537
|
-
this.cache = tempCache;
|
|
13538
|
-
this.cacheSubject.next(this.cache);
|
|
13539
|
-
this.toastService.success(MessagesEnum$3.LOGO_UPDATED);
|
|
13540
|
-
}), catchError((error) => {
|
|
13541
|
-
// Show error when user provided wrong image (format or size)
|
|
13542
|
-
if (error.status === 422) {
|
|
13543
|
-
this.toastService.error(error.error.violations[0].message);
|
|
13544
|
-
}
|
|
13545
|
-
return throwError(error);
|
|
13546
|
-
}));
|
|
13547
|
-
}
|
|
13548
13315
|
}
|
|
13549
|
-
SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13550
|
-
SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13316
|
+
SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13317
|
+
SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
|
|
13318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessService, decorators: [{
|
|
13552
13319
|
type: Injectable,
|
|
13553
13320
|
args: [{
|
|
13554
13321
|
providedIn: 'root'
|
|
@@ -13563,9 +13330,9 @@ class SoleBusinessActivityService extends RestService {
|
|
|
13563
13330
|
this.isHydra = true;
|
|
13564
13331
|
}
|
|
13565
13332
|
}
|
|
13566
|
-
SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13567
|
-
SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13333
|
+
SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13334
|
+
SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
|
|
13335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
|
|
13569
13336
|
type: Injectable,
|
|
13570
13337
|
args: [{
|
|
13571
13338
|
providedIn: 'root'
|
|
@@ -13591,9 +13358,9 @@ class SoleBusinessLossService extends RestService {
|
|
|
13591
13358
|
});
|
|
13592
13359
|
}
|
|
13593
13360
|
}
|
|
13594
|
-
SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13595
|
-
SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13361
|
+
SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13362
|
+
SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
|
|
13363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossService, decorators: [{
|
|
13597
13364
|
type: Injectable,
|
|
13598
13365
|
args: [{
|
|
13599
13366
|
providedIn: 'root'
|
|
@@ -13611,9 +13378,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
|
|
|
13611
13378
|
this.isHydra = true;
|
|
13612
13379
|
}
|
|
13613
13380
|
}
|
|
13614
|
-
SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13615
|
-
SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13381
|
+
SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13382
|
+
SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
|
|
13383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
|
|
13617
13384
|
type: Injectable,
|
|
13618
13385
|
args: [{
|
|
13619
13386
|
providedIn: 'root'
|
|
@@ -13628,9 +13395,9 @@ class SoleContactService extends RestService {
|
|
|
13628
13395
|
this.isHydra = true;
|
|
13629
13396
|
}
|
|
13630
13397
|
}
|
|
13631
|
-
SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13632
|
-
SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13398
|
+
SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13399
|
+
SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, providedIn: 'root' });
|
|
13400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleContactService, decorators: [{
|
|
13634
13401
|
type: Injectable,
|
|
13635
13402
|
args: [{
|
|
13636
13403
|
providedIn: 'root'
|
|
@@ -13686,9 +13453,9 @@ class SoleDepreciationMethodService {
|
|
|
13686
13453
|
});
|
|
13687
13454
|
}
|
|
13688
13455
|
}
|
|
13689
|
-
SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13690
|
-
SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13456
|
+
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 });
|
|
13457
|
+
SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
|
|
13458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
|
|
13692
13459
|
type: Injectable,
|
|
13693
13460
|
args: [{
|
|
13694
13461
|
providedIn: 'root'
|
|
@@ -13741,9 +13508,9 @@ class SoleDetailsService {
|
|
|
13741
13508
|
}));
|
|
13742
13509
|
}
|
|
13743
13510
|
}
|
|
13744
|
-
SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13745
|
-
SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13511
|
+
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 });
|
|
13512
|
+
SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
|
|
13513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleDetailsService, decorators: [{
|
|
13747
13514
|
type: Injectable,
|
|
13748
13515
|
args: [{
|
|
13749
13516
|
providedIn: 'root'
|
|
@@ -13817,9 +13584,9 @@ class SoleInvoiceService extends RestService {
|
|
|
13817
13584
|
});
|
|
13818
13585
|
}
|
|
13819
13586
|
}
|
|
13820
|
-
SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13821
|
-
SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13587
|
+
SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13588
|
+
SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
|
|
13589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceService, decorators: [{
|
|
13823
13590
|
type: Injectable,
|
|
13824
13591
|
args: [{
|
|
13825
13592
|
providedIn: 'root'
|
|
@@ -13834,9 +13601,9 @@ class SoleInvoiceTemplateService extends RestService {
|
|
|
13834
13601
|
this.isHydra = true;
|
|
13835
13602
|
}
|
|
13836
13603
|
}
|
|
13837
|
-
SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13838
|
-
SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13604
|
+
SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13605
|
+
SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
|
|
13606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
|
|
13840
13607
|
type: Injectable,
|
|
13841
13608
|
args: [{
|
|
13842
13609
|
providedIn: 'root'
|
|
@@ -13851,9 +13618,9 @@ class BasReportService extends RestService {
|
|
|
13851
13618
|
this.isHydra = true;
|
|
13852
13619
|
}
|
|
13853
13620
|
}
|
|
13854
|
-
BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13855
|
-
BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13621
|
+
BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13622
|
+
BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, providedIn: 'root' });
|
|
13623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasReportService, decorators: [{
|
|
13857
13624
|
type: Injectable,
|
|
13858
13625
|
args: [{
|
|
13859
13626
|
providedIn: 'root'
|
|
@@ -13879,9 +13646,9 @@ class ServicePaymentService extends RestService$1 {
|
|
|
13879
13646
|
return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
|
|
13880
13647
|
}
|
|
13881
13648
|
}
|
|
13882
|
-
ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13883
|
-
ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13649
|
+
ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13650
|
+
ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
|
|
13651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentService, decorators: [{
|
|
13885
13652
|
type: Injectable,
|
|
13886
13653
|
args: [{
|
|
13887
13654
|
providedIn: 'root'
|
|
@@ -13929,9 +13696,9 @@ class ServicePaymentMethodService extends RestService$1 {
|
|
|
13929
13696
|
});
|
|
13930
13697
|
}
|
|
13931
13698
|
}
|
|
13932
|
-
ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13933
|
-
ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13699
|
+
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 });
|
|
13700
|
+
ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
|
|
13701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
|
|
13935
13702
|
type: Injectable,
|
|
13936
13703
|
args: [{
|
|
13937
13704
|
providedIn: 'root'
|
|
@@ -13954,9 +13721,9 @@ class ServicePriceService extends RestService$1 {
|
|
|
13954
13721
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13955
13722
|
}
|
|
13956
13723
|
}
|
|
13957
|
-
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
13958
|
-
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
13959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13724
|
+
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13725
|
+
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
|
|
13726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServicePriceService, decorators: [{
|
|
13960
13727
|
type: Injectable,
|
|
13961
13728
|
args: [{
|
|
13962
13729
|
providedIn: 'root'
|
|
@@ -14071,9 +13838,9 @@ class SubscriptionService extends RestService$1 {
|
|
|
14071
13838
|
});
|
|
14072
13839
|
}
|
|
14073
13840
|
}
|
|
14074
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14075
|
-
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
14076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13841
|
+
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 });
|
|
13842
|
+
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
|
|
13843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
14077
13844
|
type: Injectable,
|
|
14078
13845
|
args: [{
|
|
14079
13846
|
providedIn: 'root'
|
|
@@ -14093,9 +13860,9 @@ class ServiceProductService extends RestService$1 {
|
|
|
14093
13860
|
this.isApiPlatform = true;
|
|
14094
13861
|
}
|
|
14095
13862
|
}
|
|
14096
|
-
ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14097
|
-
ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
14098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13863
|
+
ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13864
|
+
ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
|
|
13865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ServiceProductService, decorators: [{
|
|
14099
13866
|
type: Injectable,
|
|
14100
13867
|
args: [{
|
|
14101
13868
|
providedIn: 'root'
|
|
@@ -14221,9 +13988,9 @@ class TaxReviewHistoryService extends RestService {
|
|
|
14221
13988
|
});
|
|
14222
13989
|
}
|
|
14223
13990
|
}
|
|
14224
|
-
TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14225
|
-
TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
14226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13991
|
+
TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13992
|
+
TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
|
|
13993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
|
|
14227
13994
|
type: Injectable,
|
|
14228
13995
|
args: [{
|
|
14229
13996
|
providedIn: 'root'
|
|
@@ -14312,9 +14079,9 @@ class TaxReviewService extends RestService {
|
|
|
14312
14079
|
});
|
|
14313
14080
|
}
|
|
14314
14081
|
}
|
|
14315
|
-
TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14316
|
-
TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
14317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14082
|
+
TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14083
|
+
TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
|
|
14084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReviewService, decorators: [{
|
|
14318
14085
|
type: Injectable,
|
|
14319
14086
|
args: [{
|
|
14320
14087
|
providedIn: 'root'
|
|
@@ -14585,9 +14352,9 @@ class TaxSummaryService {
|
|
|
14585
14352
|
});
|
|
14586
14353
|
}
|
|
14587
14354
|
}
|
|
14588
|
-
TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14589
|
-
TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
14590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14355
|
+
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 });
|
|
14356
|
+
TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
|
|
14357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxSummaryService, decorators: [{
|
|
14591
14358
|
type: Injectable,
|
|
14592
14359
|
args: [{
|
|
14593
14360
|
providedIn: 'root'
|
|
@@ -14606,9 +14373,9 @@ class AllocationRuleService extends RestService$1 {
|
|
|
14606
14373
|
this.isApiPlatform = true;
|
|
14607
14374
|
}
|
|
14608
14375
|
}
|
|
14609
|
-
AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14610
|
-
AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
14611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14376
|
+
AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14377
|
+
AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
|
|
14378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AllocationRuleService, decorators: [{
|
|
14612
14379
|
type: Injectable,
|
|
14613
14380
|
args: [{
|
|
14614
14381
|
providedIn: 'root'
|
|
@@ -14698,57 +14465,25 @@ class TransactionAllocationService extends RestService {
|
|
|
14698
14465
|
});
|
|
14699
14466
|
}
|
|
14700
14467
|
}
|
|
14701
|
-
TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14702
|
-
TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
14703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14468
|
+
TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14469
|
+
TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
|
|
14470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionAllocationService, decorators: [{
|
|
14704
14471
|
type: Injectable,
|
|
14705
14472
|
args: [{
|
|
14706
14473
|
providedIn: 'root'
|
|
14707
14474
|
}]
|
|
14708
14475
|
}] });
|
|
14709
14476
|
|
|
14710
|
-
/**
|
|
14711
|
-
* @Todo TT-2191 refactor service when receipts API will be updated
|
|
14712
|
-
*/
|
|
14713
|
-
class TransactionReceiptService extends ReceiptService {
|
|
14714
|
-
constructor(http, eventDispatcherService, environment, toastService) {
|
|
14715
|
-
super(http, eventDispatcherService, environment, toastService);
|
|
14716
|
-
this.http = http;
|
|
14717
|
-
this.eventDispatcherService = eventDispatcherService;
|
|
14718
|
-
this.environment = environment;
|
|
14719
|
-
this.toastService = toastService;
|
|
14720
|
-
this.modelClass = TransactionReceipt;
|
|
14721
|
-
this.entityType = AssetEntityTypeEnum.TRANSACTIONS;
|
|
14722
|
-
this.receiptCreatedEvent = AppEventTypeEnum.TRANSACTION_RECEIPT_CREATED;
|
|
14723
|
-
this.receiptDeletedEvent = AppEventTypeEnum.TRANSACTION_RECEIPT_DELETED;
|
|
14724
|
-
this.entityUpdatedWithReceiptEvent = AppEventTypeEnum.TRANSACTION_UPDATED_WITH_RECEIPT;
|
|
14725
|
-
this.entityUpdatedWithDeletedReceiptEvent = AppEventTypeEnum.TRANSACTION_UPDATED_WITH_DELETED_RECEIPT;
|
|
14726
|
-
this.listenEvents();
|
|
14727
|
-
}
|
|
14728
|
-
}
|
|
14729
|
-
TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14730
|
-
TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
|
|
14731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TransactionReceiptService, decorators: [{
|
|
14732
|
-
type: Injectable,
|
|
14733
|
-
args: [{
|
|
14734
|
-
providedIn: 'root'
|
|
14735
|
-
}]
|
|
14736
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
14737
|
-
type: Inject,
|
|
14738
|
-
args: ['environment']
|
|
14739
|
-
}] }, { type: ToastService }]; } });
|
|
14740
|
-
|
|
14741
14477
|
/**
|
|
14742
14478
|
* Service for transactions business logic
|
|
14743
14479
|
*/
|
|
14744
14480
|
class TransactionService extends RestService {
|
|
14745
|
-
constructor(http, eventDispatcherService, environment, toastService
|
|
14481
|
+
constructor(http, eventDispatcherService, environment, toastService) {
|
|
14746
14482
|
super(http, eventDispatcherService, environment, toastService);
|
|
14747
14483
|
this.http = http;
|
|
14748
14484
|
this.eventDispatcherService = eventDispatcherService;
|
|
14749
14485
|
this.environment = environment;
|
|
14750
14486
|
this.toastService = toastService;
|
|
14751
|
-
this.transactionReceiptService = transactionReceiptService;
|
|
14752
14487
|
// url part for Transaction API
|
|
14753
14488
|
this.url = 'transactions';
|
|
14754
14489
|
this.modelClass = Transaction;
|
|
@@ -14760,8 +14495,6 @@ class TransactionService extends RestService {
|
|
|
14760
14495
|
listenEvents() {
|
|
14761
14496
|
this.listenDepreciationChange();
|
|
14762
14497
|
this.listenPropertyShareUpdate();
|
|
14763
|
-
this.listenReceiptAdded();
|
|
14764
|
-
this.listenReceiptDeleted();
|
|
14765
14498
|
this.listenVehicleClaimChanges();
|
|
14766
14499
|
this.listenPropertyForecastUpdate();
|
|
14767
14500
|
this.listenInvoicesPublish();
|
|
@@ -14836,13 +14569,6 @@ class TransactionService extends RestService {
|
|
|
14836
14569
|
.pipe(map((response) => {
|
|
14837
14570
|
const addedTransactions = response.map((item) => this.createModelInstance(item));
|
|
14838
14571
|
transactions.forEach((transaction, index) => {
|
|
14839
|
-
// @TODO backend: need to upload file in the same backend endpoint with transaction add/update
|
|
14840
|
-
// check if passed receipt and upload file
|
|
14841
|
-
if (transaction.file) {
|
|
14842
|
-
transaction.id = response[index].id;
|
|
14843
|
-
addedTransactions[index].file = transaction.file;
|
|
14844
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.TRANSACTION_UPDATED_WITH_RECEIPT, addedTransactions[index]));
|
|
14845
|
-
}
|
|
14846
14572
|
// @TODO Viktor: implement API for saving of nested transactions
|
|
14847
14573
|
// add child transactions if exist
|
|
14848
14574
|
if (transaction.transactions.length) {
|
|
@@ -14872,16 +14598,6 @@ class TransactionService extends RestService {
|
|
|
14872
14598
|
return this.http.put(`${this.environment.apiV2}/${this.url}/${transaction.id}`, classToPlain(transaction))
|
|
14873
14599
|
.pipe(map((response) => {
|
|
14874
14600
|
const updatedTransaction = this.createModelInstance(response);
|
|
14875
|
-
// @TODO need to upload file in the same backend endpoint with transaction add/update
|
|
14876
|
-
// check if passed new receipt and upload file
|
|
14877
|
-
if (transaction.file) {
|
|
14878
|
-
updatedTransaction.file = transaction.file;
|
|
14879
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.TRANSACTION_UPDATED_WITH_RECEIPT, updatedTransaction));
|
|
14880
|
-
// receipt file was removed from form - we should delete receipt from transaction
|
|
14881
|
-
}
|
|
14882
|
-
else if (!transaction.file && transaction.receipt) {
|
|
14883
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.TRANSACTION_UPDATED_WITH_DELETED_RECEIPT, updatedTransaction));
|
|
14884
|
-
}
|
|
14885
14601
|
// @TODO Viktor: implement API for saving of nested transactions
|
|
14886
14602
|
if (transaction.transactions.length) {
|
|
14887
14603
|
// add parent transaction to child transactions
|
|
@@ -14980,22 +14696,6 @@ class TransactionService extends RestService {
|
|
|
14980
14696
|
listenPropertyShareUpdate() {
|
|
14981
14697
|
this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(() => this.refreshCache());
|
|
14982
14698
|
}
|
|
14983
|
-
listenReceiptAdded() {
|
|
14984
|
-
this.eventDispatcherService.on(AppEventTypeEnum.TRANSACTION_RECEIPT_CREATED).subscribe((transactionReceipt) => {
|
|
14985
|
-
const transactionToUpdate = this.find(transactionReceipt.transaction.id);
|
|
14986
|
-
// we don't need to keep file after save
|
|
14987
|
-
transactionToUpdate.file = null;
|
|
14988
|
-
transactionToUpdate.receipt = transactionReceipt;
|
|
14989
|
-
this.replaceInCache(transactionToUpdate);
|
|
14990
|
-
});
|
|
14991
|
-
}
|
|
14992
|
-
listenReceiptDeleted() {
|
|
14993
|
-
this.eventDispatcherService.on(AppEventTypeEnum.TRANSACTION_RECEIPT_DELETED).subscribe((transaction) => {
|
|
14994
|
-
const transactionToUpdate = this.find(transaction.id);
|
|
14995
|
-
transactionToUpdate.receipt = null;
|
|
14996
|
-
this.replaceInCache(transactionToUpdate);
|
|
14997
|
-
});
|
|
14998
|
-
}
|
|
14999
14699
|
listenVehicleClaimChanges() {
|
|
15000
14700
|
this.eventDispatcherService.on([
|
|
15001
14701
|
AppEventTypeEnum.VEHICLE_CLAIM_CREATED,
|
|
@@ -15024,9 +14724,9 @@ class TransactionService extends RestService {
|
|
|
15024
14724
|
});
|
|
15025
14725
|
}
|
|
15026
14726
|
}
|
|
15027
|
-
TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15028
|
-
TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14727
|
+
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 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14728
|
+
TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, providedIn: 'root' });
|
|
14729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionService, decorators: [{
|
|
15030
14730
|
type: Injectable,
|
|
15031
14731
|
args: [{
|
|
15032
14732
|
providedIn: 'root'
|
|
@@ -15034,7 +14734,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
15034
14734
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
15035
14735
|
type: Inject,
|
|
15036
14736
|
args: ['environment']
|
|
15037
|
-
}] }, { type: ToastService }
|
|
14737
|
+
}] }, { type: ToastService }]; } });
|
|
15038
14738
|
|
|
15039
14739
|
// @TODO Artem: implement cache and extend rest?
|
|
15040
14740
|
class TutorialVideoService {
|
|
@@ -15055,9 +14755,9 @@ class TutorialVideoService {
|
|
|
15055
14755
|
}
|
|
15056
14756
|
TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
|
|
15057
14757
|
TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
|
|
15058
|
-
TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15059
|
-
TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14758
|
+
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 });
|
|
14759
|
+
TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
|
|
14760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TutorialVideoService, decorators: [{
|
|
15061
14761
|
type: Injectable,
|
|
15062
14762
|
args: [{
|
|
15063
14763
|
providedIn: 'root'
|
|
@@ -15077,9 +14777,9 @@ class VehicleService extends RestService {
|
|
|
15077
14777
|
this.modelClass = Vehicle;
|
|
15078
14778
|
}
|
|
15079
14779
|
}
|
|
15080
|
-
VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15081
|
-
VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14780
|
+
VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14781
|
+
VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, providedIn: 'root' });
|
|
14782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleService, decorators: [{
|
|
15083
14783
|
type: Injectable,
|
|
15084
14784
|
args: [{
|
|
15085
14785
|
providedIn: 'root'
|
|
@@ -15152,9 +14852,9 @@ class VehicleClaimService extends RestService {
|
|
|
15152
14852
|
combineLatest(batch$).subscribe();
|
|
15153
14853
|
}
|
|
15154
14854
|
}
|
|
15155
|
-
VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15156
|
-
VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14855
|
+
VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14856
|
+
VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
|
|
14857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimService, decorators: [{
|
|
15158
14858
|
type: Injectable,
|
|
15159
14859
|
args: [{
|
|
15160
14860
|
providedIn: 'root'
|
|
@@ -15231,9 +14931,9 @@ class VehicleClaimDetailsService {
|
|
|
15231
14931
|
this.update(vehicleClaimDetails).subscribe();
|
|
15232
14932
|
}
|
|
15233
14933
|
}
|
|
15234
|
-
VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15235
|
-
VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14934
|
+
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 });
|
|
14935
|
+
VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
|
|
14936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
|
|
15237
14937
|
type: Injectable,
|
|
15238
14938
|
args: [{
|
|
15239
14939
|
providedIn: 'root'
|
|
@@ -15253,9 +14953,9 @@ class VehicleLogbookService extends RestService {
|
|
|
15253
14953
|
this.modelClass = VehicleLogbook;
|
|
15254
14954
|
}
|
|
15255
14955
|
}
|
|
15256
|
-
VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15257
|
-
VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14956
|
+
VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14957
|
+
VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
|
|
14958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: VehicleLogbookService, decorators: [{
|
|
15259
14959
|
type: Injectable,
|
|
15260
14960
|
args: [{
|
|
15261
14961
|
providedIn: 'root'
|
|
@@ -15272,9 +14972,9 @@ class AnnualClientDetailsService extends RestService$1 {
|
|
|
15272
14972
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
|
|
15273
14973
|
}
|
|
15274
14974
|
}
|
|
15275
|
-
AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15276
|
-
AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
14975
|
+
AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14976
|
+
AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
|
|
14977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
|
|
15278
14978
|
type: Injectable,
|
|
15279
14979
|
args: [{
|
|
15280
14980
|
providedIn: 'root'
|
|
@@ -15305,9 +15005,9 @@ class OccupationService {
|
|
|
15305
15005
|
return this.occupationsSubject.asObservable();
|
|
15306
15006
|
}
|
|
15307
15007
|
}
|
|
15308
|
-
OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15309
|
-
OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15008
|
+
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 });
|
|
15009
|
+
OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, providedIn: 'root' });
|
|
15010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: OccupationService, decorators: [{
|
|
15311
15011
|
type: Injectable,
|
|
15312
15012
|
args: [{
|
|
15313
15013
|
providedIn: 'root'
|
|
@@ -15382,9 +15082,9 @@ class UserEventSettingService extends RestService {
|
|
|
15382
15082
|
}));
|
|
15383
15083
|
}
|
|
15384
15084
|
}
|
|
15385
|
-
UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15386
|
-
UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15085
|
+
UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15086
|
+
UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
|
|
15087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventSettingService, decorators: [{
|
|
15388
15088
|
type: Injectable,
|
|
15389
15089
|
args: [{
|
|
15390
15090
|
providedIn: 'root'
|
|
@@ -15399,15 +15099,22 @@ class UserEventTypeService extends RestService {
|
|
|
15399
15099
|
this.isHydra = true;
|
|
15400
15100
|
}
|
|
15401
15101
|
}
|
|
15402
|
-
UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15403
|
-
UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15102
|
+
UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15103
|
+
UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
|
|
15104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserEventTypeService, decorators: [{
|
|
15405
15105
|
type: Injectable,
|
|
15406
15106
|
args: [{
|
|
15407
15107
|
providedIn: 'root'
|
|
15408
15108
|
}]
|
|
15409
15109
|
}] });
|
|
15410
15110
|
|
|
15111
|
+
var UserMessagesEnum;
|
|
15112
|
+
(function (UserMessagesEnum) {
|
|
15113
|
+
UserMessagesEnum["PHOTO_UPDATED"] = "Profile photo updated";
|
|
15114
|
+
UserMessagesEnum["USER_DATA_UPDATED"] = "Data was successfully updated!";
|
|
15115
|
+
UserMessagesEnum["CLIENT_DETAILS_UPDATED"] = "Client details updated";
|
|
15116
|
+
})(UserMessagesEnum || (UserMessagesEnum = {}));
|
|
15117
|
+
|
|
15411
15118
|
/**
|
|
15412
15119
|
* Service to work with invitations for unregistered users
|
|
15413
15120
|
*/
|
|
@@ -15418,9 +15125,9 @@ class UsersInviteService extends RestService {
|
|
|
15418
15125
|
this.url = 'users/invite';
|
|
15419
15126
|
}
|
|
15420
15127
|
}
|
|
15421
|
-
UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15422
|
-
UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15128
|
+
UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15129
|
+
UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
|
|
15130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UsersInviteService, decorators: [{
|
|
15424
15131
|
type: Injectable,
|
|
15425
15132
|
args: [{
|
|
15426
15133
|
providedIn: 'root'
|
|
@@ -15505,9 +15212,9 @@ class UserService extends RestService$1 {
|
|
|
15505
15212
|
this.eventDispatcherService.on(AppEventTypeEnum.BASIQ_CONSENT_UPDATED).subscribe(() => this.refreshCache());
|
|
15506
15213
|
}
|
|
15507
15214
|
}
|
|
15508
|
-
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15509
|
-
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15215
|
+
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15216
|
+
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
15217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserService, decorators: [{
|
|
15511
15218
|
type: Injectable,
|
|
15512
15219
|
args: [{
|
|
15513
15220
|
providedIn: 'root'
|
|
@@ -15529,9 +15236,9 @@ class FinancialYearService {
|
|
|
15529
15236
|
}));
|
|
15530
15237
|
}
|
|
15531
15238
|
}
|
|
15532
|
-
FinancialYearService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15533
|
-
FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15239
|
+
FinancialYearService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15240
|
+
FinancialYearService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearService, providedIn: 'root' });
|
|
15241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: FinancialYearService, decorators: [{
|
|
15535
15242
|
type: Injectable,
|
|
15536
15243
|
args: [{
|
|
15537
15244
|
providedIn: 'root'
|
|
@@ -15555,9 +15262,9 @@ class HoldingService extends RestService$1 {
|
|
|
15555
15262
|
this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.refreshCache);
|
|
15556
15263
|
}
|
|
15557
15264
|
}
|
|
15558
|
-
HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15559
|
-
HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15265
|
+
HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15266
|
+
HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, providedIn: 'root' });
|
|
15267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingService, decorators: [{
|
|
15561
15268
|
type: Injectable,
|
|
15562
15269
|
args: [{
|
|
15563
15270
|
providedIn: 'root'
|
|
@@ -15574,9 +15281,9 @@ class HoldingTypeService extends RestService$1 {
|
|
|
15574
15281
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
15575
15282
|
}
|
|
15576
15283
|
}
|
|
15577
|
-
HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15578
|
-
HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15284
|
+
HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15285
|
+
HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
|
|
15286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeService, decorators: [{
|
|
15580
15287
|
type: Injectable,
|
|
15581
15288
|
args: [{
|
|
15582
15289
|
providedIn: 'root'
|
|
@@ -15593,9 +15300,9 @@ class HoldingSaleService extends RestService$1 {
|
|
|
15593
15300
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
15594
15301
|
}
|
|
15595
15302
|
}
|
|
15596
|
-
HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15597
|
-
HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15303
|
+
HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15304
|
+
HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
|
|
15305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingSaleService, decorators: [{
|
|
15599
15306
|
type: Injectable,
|
|
15600
15307
|
args: [{
|
|
15601
15308
|
providedIn: 'root'
|
|
@@ -15690,9 +15397,9 @@ class HoldingTypeExchangeService extends DataService {
|
|
|
15690
15397
|
this.setCache(HoldingTypeExchanges);
|
|
15691
15398
|
}
|
|
15692
15399
|
}
|
|
15693
|
-
HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15694
|
-
HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15400
|
+
HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15401
|
+
HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
|
|
15402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
|
|
15696
15403
|
type: Injectable,
|
|
15697
15404
|
args: [{
|
|
15698
15405
|
providedIn: 'root'
|
|
@@ -15796,9 +15503,9 @@ class IncomeSourceTypeService extends DataService {
|
|
|
15796
15503
|
this.setCache(IncomeSourceTypes);
|
|
15797
15504
|
}
|
|
15798
15505
|
}
|
|
15799
|
-
IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15800
|
-
IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15506
|
+
IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15507
|
+
IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
|
|
15508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
|
|
15802
15509
|
type: Injectable,
|
|
15803
15510
|
args: [{
|
|
15804
15511
|
providedIn: 'root'
|
|
@@ -15820,9 +15527,9 @@ class ChartAccountsValueService extends DataService {
|
|
|
15820
15527
|
return this.getCache().find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
|
|
15821
15528
|
}
|
|
15822
15529
|
}
|
|
15823
|
-
ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
15824
|
-
ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
15825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
15530
|
+
ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15531
|
+
ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
|
|
15532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ChartAccountsValueService, decorators: [{
|
|
15826
15533
|
type: Injectable,
|
|
15827
15534
|
args: [{
|
|
15828
15535
|
providedIn: 'root'
|
|
@@ -17912,9 +17619,9 @@ class TaxReturnItemService extends DataService {
|
|
|
17912
17619
|
this.setCache(TaxReturnItems);
|
|
17913
17620
|
}
|
|
17914
17621
|
}
|
|
17915
|
-
TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
17916
|
-
TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
17917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
17622
|
+
TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17623
|
+
TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
|
|
17624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TaxReturnItemService, decorators: [{
|
|
17918
17625
|
type: Injectable,
|
|
17919
17626
|
args: [{
|
|
17920
17627
|
providedIn: 'root'
|
|
@@ -18144,9 +17851,9 @@ class AccountSetupService {
|
|
|
18144
17851
|
return this.create(AccountSetupItemsEnum.BANK_FEEDS, this.bankAccountsService.getArray());
|
|
18145
17852
|
}
|
|
18146
17853
|
}
|
|
18147
|
-
AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18148
|
-
AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
17854
|
+
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 }, { token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17855
|
+
AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
|
|
17856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AccountSetupService, decorators: [{
|
|
18150
17857
|
type: Injectable,
|
|
18151
17858
|
args: [{
|
|
18152
17859
|
providedIn: 'root'
|
|
@@ -18172,9 +17879,9 @@ class RewardfulService {
|
|
|
18172
17879
|
});
|
|
18173
17880
|
}
|
|
18174
17881
|
}
|
|
18175
|
-
RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18176
|
-
RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
17882
|
+
RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17883
|
+
RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, providedIn: 'root' });
|
|
17884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: RewardfulService, decorators: [{
|
|
18178
17885
|
type: Injectable,
|
|
18179
17886
|
args: [{
|
|
18180
17887
|
providedIn: 'root'
|
|
@@ -18210,9 +17917,9 @@ class UserSwitcherService {
|
|
|
18210
17917
|
window.location.replace('/firm/dashboard');
|
|
18211
17918
|
}
|
|
18212
17919
|
}
|
|
18213
|
-
UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18214
|
-
UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
17920
|
+
UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17921
|
+
UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
|
|
17922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherService, decorators: [{
|
|
18216
17923
|
type: Injectable,
|
|
18217
17924
|
args: [{
|
|
18218
17925
|
providedIn: 'root'
|
|
@@ -18254,9 +17961,9 @@ class AssetsService {
|
|
|
18254
17961
|
return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
|
|
18255
17962
|
}
|
|
18256
17963
|
}
|
|
18257
|
-
AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18258
|
-
AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
17964
|
+
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 });
|
|
17965
|
+
AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, providedIn: 'root' });
|
|
17966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: AssetsService, decorators: [{
|
|
18260
17967
|
type: Injectable,
|
|
18261
17968
|
args: [{
|
|
18262
17969
|
providedIn: 'root'
|
|
@@ -18315,9 +18022,9 @@ class BankTransactionCalculationService {
|
|
|
18315
18022
|
return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
|
|
18316
18023
|
}
|
|
18317
18024
|
}
|
|
18318
|
-
BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18319
|
-
BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18025
|
+
BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18026
|
+
BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
|
|
18027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
|
|
18321
18028
|
type: Injectable,
|
|
18322
18029
|
args: [{
|
|
18323
18030
|
providedIn: 'root'
|
|
@@ -18346,9 +18053,9 @@ class BankAccountCalculationService {
|
|
|
18346
18053
|
return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
|
|
18347
18054
|
}
|
|
18348
18055
|
}
|
|
18349
|
-
BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18350
|
-
BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18056
|
+
BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18057
|
+
BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
|
|
18058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BankAccountCalculationService, decorators: [{
|
|
18352
18059
|
type: Injectable,
|
|
18353
18060
|
args: [{
|
|
18354
18061
|
providedIn: 'root'
|
|
@@ -18376,9 +18083,9 @@ class ExportFormatterService {
|
|
|
18376
18083
|
}));
|
|
18377
18084
|
}
|
|
18378
18085
|
}
|
|
18379
|
-
ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18380
|
-
ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18086
|
+
ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18087
|
+
ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
|
|
18088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ExportFormatterService, decorators: [{
|
|
18382
18089
|
type: Injectable,
|
|
18383
18090
|
args: [{
|
|
18384
18091
|
providedIn: 'root'
|
|
@@ -18399,9 +18106,9 @@ class HeaderTitleService {
|
|
|
18399
18106
|
}), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
|
|
18400
18107
|
}
|
|
18401
18108
|
}
|
|
18402
|
-
HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18403
|
-
HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18109
|
+
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 });
|
|
18110
|
+
HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
|
|
18111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: HeaderTitleService, decorators: [{
|
|
18405
18112
|
type: Injectable,
|
|
18406
18113
|
args: [{
|
|
18407
18114
|
providedIn: 'root'
|
|
@@ -18435,9 +18142,9 @@ class IntercomService {
|
|
|
18435
18142
|
window.Intercom('boot', connectionCredentials);
|
|
18436
18143
|
}
|
|
18437
18144
|
}
|
|
18438
|
-
IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18439
|
-
IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18145
|
+
IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18146
|
+
IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, providedIn: 'root' });
|
|
18147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: IntercomService, decorators: [{
|
|
18441
18148
|
type: Injectable,
|
|
18442
18149
|
args: [{
|
|
18443
18150
|
providedIn: 'root'
|
|
@@ -18507,9 +18214,9 @@ class PdfFromDomElementService {
|
|
|
18507
18214
|
.then((blob) => new File([blob], filename, { type: 'application/pdf' })));
|
|
18508
18215
|
}
|
|
18509
18216
|
}
|
|
18510
|
-
PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18511
|
-
PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18217
|
+
PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18218
|
+
PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
|
|
18219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDomElementService, decorators: [{
|
|
18513
18220
|
type: Injectable,
|
|
18514
18221
|
args: [{
|
|
18515
18222
|
providedIn: 'root'
|
|
@@ -18603,9 +18310,9 @@ class PdfFromTableService {
|
|
|
18603
18310
|
.setTextColor(FILE_SETTINGS.text.colorPrimary);
|
|
18604
18311
|
}
|
|
18605
18312
|
}
|
|
18606
|
-
PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18607
|
-
PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18313
|
+
PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18314
|
+
PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
|
|
18315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromTableService, decorators: [{
|
|
18609
18316
|
type: Injectable,
|
|
18610
18317
|
args: [{
|
|
18611
18318
|
providedIn: 'root'
|
|
@@ -18644,9 +18351,9 @@ class PdfFromDataTableService extends PdfFromTableService {
|
|
|
18644
18351
|
return pdf;
|
|
18645
18352
|
}
|
|
18646
18353
|
}
|
|
18647
|
-
PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18648
|
-
PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18354
|
+
PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18355
|
+
PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
|
|
18356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromDataTableService, decorators: [{
|
|
18650
18357
|
type: Injectable,
|
|
18651
18358
|
args: [{
|
|
18652
18359
|
providedIn: 'root'
|
|
@@ -18682,9 +18389,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
|
|
|
18682
18389
|
return pdf;
|
|
18683
18390
|
}
|
|
18684
18391
|
}
|
|
18685
|
-
PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18686
|
-
PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18392
|
+
PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
18393
|
+
PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
|
|
18394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
|
|
18688
18395
|
type: Injectable,
|
|
18689
18396
|
args: [{
|
|
18690
18397
|
providedIn: 'root'
|
|
@@ -18709,9 +18416,9 @@ class PreloaderService {
|
|
|
18709
18416
|
this.activePreloaders.next(activePreloaders);
|
|
18710
18417
|
}
|
|
18711
18418
|
}
|
|
18712
|
-
PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18713
|
-
PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18419
|
+
PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18420
|
+
PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, providedIn: 'root' });
|
|
18421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderService, decorators: [{
|
|
18715
18422
|
type: Injectable,
|
|
18716
18423
|
args: [{
|
|
18717
18424
|
providedIn: 'root'
|
|
@@ -18738,9 +18445,9 @@ class EquityPositionChartService {
|
|
|
18738
18445
|
}))));
|
|
18739
18446
|
}
|
|
18740
18447
|
}
|
|
18741
|
-
EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18742
|
-
EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18448
|
+
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 });
|
|
18449
|
+
EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
|
|
18450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: EquityPositionChartService, decorators: [{
|
|
18744
18451
|
type: Injectable,
|
|
18745
18452
|
args: [{
|
|
18746
18453
|
providedIn: 'root'
|
|
@@ -18913,9 +18620,9 @@ class PropertyCalculationService {
|
|
|
18913
18620
|
}
|
|
18914
18621
|
}
|
|
18915
18622
|
}
|
|
18916
|
-
PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18917
|
-
PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18623
|
+
PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18624
|
+
PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
|
|
18625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyCalculationService, decorators: [{
|
|
18919
18626
|
type: Injectable,
|
|
18920
18627
|
args: [{
|
|
18921
18628
|
providedIn: 'root'
|
|
@@ -18968,9 +18675,9 @@ class PropertyTransactionReportService {
|
|
|
18968
18675
|
.getWithoutBorrowingExpenses()));
|
|
18969
18676
|
}
|
|
18970
18677
|
}
|
|
18971
|
-
PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
18972
|
-
PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
18973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18678
|
+
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 });
|
|
18679
|
+
PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
|
|
18680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
|
|
18974
18681
|
type: Injectable,
|
|
18975
18682
|
args: [{
|
|
18976
18683
|
providedIn: 'root'
|
|
@@ -19041,9 +18748,9 @@ class TransactionCalculationService {
|
|
|
19041
18748
|
return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
|
|
19042
18749
|
}
|
|
19043
18750
|
}
|
|
19044
|
-
TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19045
|
-
TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
19046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18751
|
+
TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18752
|
+
TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
|
|
18753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TransactionCalculationService, decorators: [{
|
|
19047
18754
|
type: Injectable,
|
|
19048
18755
|
args: [{
|
|
19049
18756
|
providedIn: 'root'
|
|
@@ -19103,9 +18810,9 @@ class LogbookBestPeriodService {
|
|
|
19103
18810
|
});
|
|
19104
18811
|
}
|
|
19105
18812
|
}
|
|
19106
|
-
LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19107
|
-
LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
19108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18813
|
+
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 });
|
|
18814
|
+
LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
|
|
18815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
|
|
19109
18816
|
type: Injectable,
|
|
19110
18817
|
args: [{
|
|
19111
18818
|
providedIn: 'root'
|
|
@@ -19183,9 +18890,9 @@ class XlsxService {
|
|
|
19183
18890
|
FileSaver.saveAs(data, `${fileName}.xlsx`);
|
|
19184
18891
|
}
|
|
19185
18892
|
}
|
|
19186
|
-
XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19187
|
-
XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
19188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
18893
|
+
XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18894
|
+
XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, providedIn: 'root' });
|
|
18895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XlsxService, decorators: [{
|
|
19189
18896
|
type: Injectable,
|
|
19190
18897
|
args: [{
|
|
19191
18898
|
providedIn: 'root'
|
|
@@ -19315,9 +19022,9 @@ class JwtInterceptor {
|
|
|
19315
19022
|
});
|
|
19316
19023
|
}
|
|
19317
19024
|
}
|
|
19318
|
-
JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19319
|
-
JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
19320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
19025
|
+
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 });
|
|
19026
|
+
JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor });
|
|
19027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: JwtInterceptor, decorators: [{
|
|
19321
19028
|
type: Injectable
|
|
19322
19029
|
}], ctorParameters: function () { return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
|
|
19323
19030
|
type: Inject,
|
|
@@ -19363,9 +19070,9 @@ class UserSwitcherInterceptor {
|
|
|
19363
19070
|
return next.handle(this.switch(request, this.userSwitcherService.get()));
|
|
19364
19071
|
}
|
|
19365
19072
|
}
|
|
19366
|
-
UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19367
|
-
UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
19368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
19073
|
+
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 });
|
|
19074
|
+
UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor });
|
|
19075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
|
|
19369
19076
|
type: Injectable
|
|
19370
19077
|
}], ctorParameters: function () { return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
|
|
19371
19078
|
type: Inject,
|
|
@@ -19449,8 +19156,6 @@ const ENDPOINTS = {
|
|
|
19449
19156
|
DEPRECIATIONS_POST: new Endpoint('POST', '\\/depreciations'),
|
|
19450
19157
|
DEPRECIATIONS_PUT: new Endpoint('PUT', '\\/depreciations\\/\\d+'),
|
|
19451
19158
|
DEPRECIATIONS_DELETE: new Endpoint('DELETE', '\\/depreciations\\/\\d+'),
|
|
19452
|
-
DEPRECIATION_RECEIPTS_POST: new Endpoint('POST', '\\/depreciations\\/\\d+\\/receipts'),
|
|
19453
|
-
DEPRECIATION_RECEIPTS_DELETE: new Endpoint('DELETE', '\\/depreciations\\/\\d+\\/receipts\\/\\d+'),
|
|
19454
19159
|
DOWNLOAD_FILE_GET: new Endpoint('GET', '\\/files\\/\\d+\\/download'),
|
|
19455
19160
|
EMPLOYEES_GET: new Endpoint('GET', '\\/employees'),
|
|
19456
19161
|
EMPLOYEES_INVITES_GET: new Endpoint('GET', '\\/employees\\/\\invites'),
|
|
@@ -19461,17 +19166,20 @@ const ENDPOINTS = {
|
|
|
19461
19166
|
EMPLOYEES_DEACTIVATE_PUT: new Endpoint('PUT', '\\/employees\\/\\d+\\/\\deactivate'),
|
|
19462
19167
|
EMPLOYEES_ACTIVATE_PUT: new Endpoint('PUT', '\\/employees\\/\\d+\\/\\activate'),
|
|
19463
19168
|
FACEBOOK_LOGIN_POST: new Endpoint('POST', '\\/users\\/authentication\\/facebook'),
|
|
19169
|
+
FILE_POST: new Endpoint('POST', '\\/api\\/files'),
|
|
19464
19170
|
FIRM_GET: new Endpoint('GET', '\\/firms'),
|
|
19465
19171
|
FIRM_CURRENT_GET: new Endpoint('GET', '\\/firms\\/current'),
|
|
19466
19172
|
FIRM_CURRENT_PUT: new Endpoint('PUT', '\\/firms\\/current\.\*'),
|
|
19467
19173
|
FIRM_INVITE_POST: new Endpoint('POST', '\\/firms\\/invite'),
|
|
19468
19174
|
FIRM_REGISTRATION_POST: new Endpoint('POST', '\\/firms\\/registration'),
|
|
19469
|
-
FIRM_UPDATE_PHOTO_POST: new Endpoint('POST', '\\/firms\\/photo\.\*'),
|
|
19470
19175
|
FOLDERS_GET: new Endpoint('GET', '\\/folders'),
|
|
19471
19176
|
FOLDERS_POST: new Endpoint('POST', '\\/folders'),
|
|
19472
19177
|
FOLDERS_PUT: new Endpoint('PUT', '\\/folders\\/\\d+'),
|
|
19473
|
-
|
|
19474
|
-
|
|
19178
|
+
FOLDERS_DELETE: new Endpoint('DELETE', '\\/folders\\/\\d+'),
|
|
19179
|
+
DOCUMENTS_GET: new Endpoint('GET', '\\/folder-documents'),
|
|
19180
|
+
DOCUMENTS_POST: new Endpoint('POST', '\\/folder-documents'),
|
|
19181
|
+
DOCUMENTS_PUT: new Endpoint('PUT', '\\/folder-documents\\/\\d+'),
|
|
19182
|
+
DOCUMENTS_DELETE: new Endpoint('DELETE', '\\/folder-documents\\/\\d+'),
|
|
19475
19183
|
GOOGLE_LOGIN_POST: new Endpoint('POST', '\\/users\\/authentication\\/google'),
|
|
19476
19184
|
INCOME_SOURCES_GET: new Endpoint('GET', '\\/income-sources'),
|
|
19477
19185
|
INCOME_SOURCES_POST: new Endpoint('POST', '\\/income-sources'),
|
|
@@ -19599,8 +19307,6 @@ const ENDPOINTS = {
|
|
|
19599
19307
|
TRANSACTIONS_ALLOCATIONS_GET: new Endpoint('GET', '\\/transactions-allocations'),
|
|
19600
19308
|
TRANSACTIONS_ALLOCATIONS_POST: new Endpoint('POST', '\\/transactions-allocations'),
|
|
19601
19309
|
TRANSACTIONS_ALLOCATIONS_DELETE: new Endpoint('DELETE', '\\/transactions-allocations\\/\\d+'),
|
|
19602
|
-
TRANSACTION_RECEIPTS_POST: new Endpoint('POST', '\\/transactions\\/\\d+\\/receipts'),
|
|
19603
|
-
TRANSACTION_RECEIPTS_DELETE: new Endpoint('DELETE', '\\/transactions\\/\\d+\\/receipts\\/\\d+'),
|
|
19604
19310
|
USER_CONFIRMATION_POST: new Endpoint('POST', '\\/users\\/confirmation'),
|
|
19605
19311
|
USER_CONFIRMATION_RESEND_POST: new Endpoint('POST', '\\/users\\/confirmation\\/resend'),
|
|
19606
19312
|
USER_CURRENT_GET: new Endpoint('GET', '\\/users\\/current'),
|
|
@@ -19652,9 +19358,9 @@ class PreloaderInterceptor {
|
|
|
19652
19358
|
return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
|
|
19653
19359
|
}
|
|
19654
19360
|
}
|
|
19655
|
-
PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19656
|
-
PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
19657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
19361
|
+
PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19362
|
+
PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor });
|
|
19363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: PreloaderInterceptor, decorators: [{
|
|
19658
19364
|
type: Injectable
|
|
19659
19365
|
}], ctorParameters: function () { return [{ type: PreloaderService }]; } });
|
|
19660
19366
|
|
|
@@ -19680,9 +19386,9 @@ class BasiqTokenInterceptor {
|
|
|
19680
19386
|
});
|
|
19681
19387
|
}
|
|
19682
19388
|
}
|
|
19683
|
-
BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19684
|
-
BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
19685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
19389
|
+
BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19390
|
+
BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor });
|
|
19391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
|
|
19686
19392
|
type: Injectable
|
|
19687
19393
|
}], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
|
|
19688
19394
|
|
|
@@ -19706,17 +19412,17 @@ class BasiqClientIdInterceptor {
|
|
|
19706
19412
|
});
|
|
19707
19413
|
}
|
|
19708
19414
|
}
|
|
19709
|
-
BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19710
|
-
BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
19711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
19415
|
+
BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19416
|
+
BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor });
|
|
19417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
|
|
19712
19418
|
type: Injectable
|
|
19713
19419
|
}], ctorParameters: function () { return [{ type: UserService }]; } });
|
|
19714
19420
|
|
|
19715
19421
|
class InterceptorsModule {
|
|
19716
19422
|
}
|
|
19717
|
-
InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19718
|
-
InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
19719
|
-
InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
19423
|
+
InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19424
|
+
InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule });
|
|
19425
|
+
InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, providers: [
|
|
19720
19426
|
{
|
|
19721
19427
|
provide: HTTP_INTERCEPTORS,
|
|
19722
19428
|
useClass: CorelogicInterceptor,
|
|
@@ -19754,7 +19460,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
19754
19460
|
multi: true
|
|
19755
19461
|
}
|
|
19756
19462
|
] });
|
|
19757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
19463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: InterceptorsModule, decorators: [{
|
|
19758
19464
|
type: NgModule,
|
|
19759
19465
|
args: [{
|
|
19760
19466
|
providers: [
|
|
@@ -19812,12 +19518,12 @@ class TtCoreModule {
|
|
|
19812
19518
|
};
|
|
19813
19519
|
}
|
|
19814
19520
|
}
|
|
19815
|
-
TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
19816
|
-
TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
19521
|
+
TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19522
|
+
TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
|
|
19817
19523
|
InterceptorsModule] });
|
|
19818
|
-
TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
19524
|
+
TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
|
|
19819
19525
|
InterceptorsModule] });
|
|
19820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
19526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TtCoreModule, decorators: [{
|
|
19821
19527
|
type: NgModule,
|
|
19822
19528
|
args: [{
|
|
19823
19529
|
declarations: [],
|
|
@@ -20215,7 +19921,7 @@ function createDate(date) {
|
|
|
20215
19921
|
* @param document
|
|
20216
19922
|
*/
|
|
20217
19923
|
function getDocIcon(document) {
|
|
20218
|
-
switch (document.mimeType) {
|
|
19924
|
+
switch (document.file.mimeType) {
|
|
20219
19925
|
case 'image/gif':
|
|
20220
19926
|
case 'image/jpeg':
|
|
20221
19927
|
case 'image/png':
|
|
@@ -20610,6 +20316,35 @@ class BudgetForm extends AbstractForm {
|
|
|
20610
20316
|
}
|
|
20611
20317
|
}
|
|
20612
20318
|
|
|
20319
|
+
/**
|
|
20320
|
+
* general validation rules
|
|
20321
|
+
*/
|
|
20322
|
+
var FormValidationsEnum;
|
|
20323
|
+
(function (FormValidationsEnum) {
|
|
20324
|
+
FormValidationsEnum[FormValidationsEnum["INPUT_MAX_LENGTH"] = 60] = "INPUT_MAX_LENGTH";
|
|
20325
|
+
FormValidationsEnum[FormValidationsEnum["TEXT_MAX_LENGTH"] = 300] = "TEXT_MAX_LENGTH";
|
|
20326
|
+
FormValidationsEnum[FormValidationsEnum["FILE_MAX_SIZE"] = 4194304] = "FILE_MAX_SIZE";
|
|
20327
|
+
// @TODO move to file uploader component
|
|
20328
|
+
FormValidationsEnum["FILE_ACCEPTED_TYPES"] = "Accepted file type: .doc .jpg .png .pdf .tiff .bmp .excel .csv";
|
|
20329
|
+
})(FormValidationsEnum || (FormValidationsEnum = {}));
|
|
20330
|
+
|
|
20331
|
+
class DocumentFolderForm extends AbstractForm {
|
|
20332
|
+
constructor(folder) {
|
|
20333
|
+
super({
|
|
20334
|
+
name: new UntypedFormControl(folder.name, [Validators.required, Validators.maxLength(FormValidationsEnum.INPUT_MAX_LENGTH)])
|
|
20335
|
+
}, folder);
|
|
20336
|
+
}
|
|
20337
|
+
}
|
|
20338
|
+
|
|
20339
|
+
class DocumentForm extends AbstractForm {
|
|
20340
|
+
constructor(document) {
|
|
20341
|
+
super({
|
|
20342
|
+
folder: new FormControl(document.folder, Validators.required),
|
|
20343
|
+
file: new FormControl(document.file)
|
|
20344
|
+
}, document);
|
|
20345
|
+
}
|
|
20346
|
+
}
|
|
20347
|
+
|
|
20613
20348
|
/**
|
|
20614
20349
|
* Form with loan details.
|
|
20615
20350
|
* Loan could be created from bank account (Bank Loan) or directly from loan page (Vehicle Loan)
|
|
@@ -20691,6 +20426,21 @@ class LoanForm extends AbstractForm {
|
|
|
20691
20426
|
}
|
|
20692
20427
|
LoanForm.mortgageLoanTypes = [LoanTypeEnum.MORTGAGE, LoanTypeEnum.HOME_EQUITY_LINE_OF_CREDIT, LoanTypeEnum.HOME_LOAN];
|
|
20693
20428
|
|
|
20429
|
+
class FirmForm extends AbstractForm {
|
|
20430
|
+
constructor(firm) {
|
|
20431
|
+
super({
|
|
20432
|
+
name: new UntypedFormControl(firm.name, Validators.required),
|
|
20433
|
+
shortName: new UntypedFormControl(firm.shortName),
|
|
20434
|
+
abn: new UntypedFormControl(firm.abn, Validators.required),
|
|
20435
|
+
tan: new UntypedFormControl(firm.tan, Validators.required),
|
|
20436
|
+
website: new UntypedFormControl(firm.website),
|
|
20437
|
+
address: new UntypedFormControl(firm.address),
|
|
20438
|
+
phone: new UntypedFormControl(firm.phone),
|
|
20439
|
+
file: new UntypedFormControl(firm.file)
|
|
20440
|
+
}, firm);
|
|
20441
|
+
}
|
|
20442
|
+
}
|
|
20443
|
+
|
|
20694
20444
|
/**
|
|
20695
20445
|
* Check if at least one form field is true, otherwise form is invalid.
|
|
20696
20446
|
* Use with groups of boolean form controls (checkbox, toggle, etc.)
|
|
@@ -20939,6 +20689,7 @@ class SoleBusinessForm extends AbstractForm {
|
|
|
20939
20689
|
activity: new UntypedFormControl(business.activity, Validators.required),
|
|
20940
20690
|
description: new UntypedFormControl(business.description),
|
|
20941
20691
|
website: new UntypedFormControl(business.website),
|
|
20692
|
+
file: new UntypedFormControl(business.file),
|
|
20942
20693
|
isPrimaryProduction: new FormControl(business.isPrimaryProduction),
|
|
20943
20694
|
}, business);
|
|
20944
20695
|
this.business = business;
|
|
@@ -21674,6 +21425,77 @@ class UserInviteForm extends AbstractForm {
|
|
|
21674
21425
|
}
|
|
21675
21426
|
}
|
|
21676
21427
|
|
|
21428
|
+
class UserForm extends AbstractForm {
|
|
21429
|
+
constructor(user) {
|
|
21430
|
+
super({
|
|
21431
|
+
title: new UntypedFormControl(user.title),
|
|
21432
|
+
firstName: new UntypedFormControl(user.firstName, Validators.required),
|
|
21433
|
+
lastName: new UntypedFormControl(user.lastName, Validators.required),
|
|
21434
|
+
address: new UntypedFormControl(user.address),
|
|
21435
|
+
phone: new UntypedFormControl(user.phone),
|
|
21436
|
+
file: new UntypedFormControl(user.file)
|
|
21437
|
+
}, user);
|
|
21438
|
+
}
|
|
21439
|
+
}
|
|
21440
|
+
|
|
21441
|
+
class ClientDetailsForm extends AbstractForm {
|
|
21442
|
+
constructor(clientDetails) {
|
|
21443
|
+
super({
|
|
21444
|
+
isAustralianResident: new UntypedFormControl(clientDetails.isAustralianResident),
|
|
21445
|
+
taxFileNumber: new UntypedFormControl(clientDetails.taxFileNumber),
|
|
21446
|
+
occupation: new UntypedFormControl(clientDetails.occupation, autocompleteValidator()),
|
|
21447
|
+
medicareExemption: new UntypedFormControl({ value: clientDetails.medicareExemption, disabled: !clientDetails.medicareExemption }, Validators.required),
|
|
21448
|
+
pensionersTax: new UntypedFormControl(clientDetails.pensionersTax),
|
|
21449
|
+
workingHolidayMaker: new UntypedFormControl(clientDetails.workingHolidayMaker)
|
|
21450
|
+
}), clientDetails;
|
|
21451
|
+
}
|
|
21452
|
+
toggleMedicareExemption(enabled) {
|
|
21453
|
+
const control = this.get('medicareExemption');
|
|
21454
|
+
// @TODO Alex/Vik: think about FormControl extension and implement control.toggle() method
|
|
21455
|
+
// then we can optimize the code:
|
|
21456
|
+
// control.setValue(enabled ? null : UserMedicareExemptionEnum.NO)
|
|
21457
|
+
// control.toggle(enabled);
|
|
21458
|
+
if (enabled) {
|
|
21459
|
+
control.setValue(null);
|
|
21460
|
+
control.enable();
|
|
21461
|
+
return;
|
|
21462
|
+
}
|
|
21463
|
+
control.setValue(UserMedicareExemptionEnum.NO);
|
|
21464
|
+
control.disable();
|
|
21465
|
+
}
|
|
21466
|
+
submit() {
|
|
21467
|
+
return super.submit({}, true);
|
|
21468
|
+
}
|
|
21469
|
+
}
|
|
21470
|
+
|
|
21471
|
+
/**
|
|
21472
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4717608961/Borrowing+Power+Report+-+Property+Tank
|
|
21473
|
+
*/
|
|
21474
|
+
class BorrowingReportForm extends AbstractForm {
|
|
21475
|
+
/**
|
|
21476
|
+
* extra params are auto-calculated numbers used if user didn't specify manual numbers
|
|
21477
|
+
*/
|
|
21478
|
+
constructor(report = plainToClass(BorrowingReport, {}), netSalary, spouseNetSalary) {
|
|
21479
|
+
super({
|
|
21480
|
+
netRentIncome: new FormControl(report.netRentIncome, Validators.required),
|
|
21481
|
+
loanRepaymentAmount: new FormControl(report.loanRepaymentAmount, Validators.required),
|
|
21482
|
+
netSalary: new FormControl(report.netSalary ?? netSalary),
|
|
21483
|
+
spouseNetSalary: new FormControl(report.spouseNetSalary ?? spouseNetSalary),
|
|
21484
|
+
otherLiabilities: new FormControl(report.otherLiabilities, Validators.required),
|
|
21485
|
+
livingExpenses: new FormControl(report.livingExpenses, Validators.required),
|
|
21486
|
+
}, report);
|
|
21487
|
+
}
|
|
21488
|
+
/**
|
|
21489
|
+
* some fields are auto-calculated, shouldn't be updated until changed by user
|
|
21490
|
+
*/
|
|
21491
|
+
submit(data = {}, includeDisabledFields = false) {
|
|
21492
|
+
return super.submit({
|
|
21493
|
+
netSalary: (this.model.netSalary || this.fieldChanged('netSalary')) ? this.get('netSalary').value : null,
|
|
21494
|
+
spouseNetSalary: (this.model.netSalary || this.fieldChanged('spouseNetSalary')) ? this.get('spouseNetSalary').value : null,
|
|
21495
|
+
}, includeDisabledFields);
|
|
21496
|
+
}
|
|
21497
|
+
}
|
|
21498
|
+
|
|
21677
21499
|
/**
|
|
21678
21500
|
* @Todo TT-2143 remove Property stuff and use this form just for PropertySale
|
|
21679
21501
|
* @Todo TT-2143 create and extend from abstract PropertySale form
|
|
@@ -21854,28 +21676,45 @@ class PropertySaleExemptionsForm extends AbstractForm {
|
|
|
21854
21676
|
}
|
|
21855
21677
|
}
|
|
21856
21678
|
|
|
21857
|
-
|
|
21858
|
-
|
|
21859
|
-
*/
|
|
21860
|
-
class BorrowingReportForm extends AbstractForm {
|
|
21861
|
-
constructor(report) {
|
|
21679
|
+
class PropertyEditForm extends AbstractForm {
|
|
21680
|
+
constructor(property) {
|
|
21862
21681
|
super({
|
|
21863
|
-
|
|
21864
|
-
|
|
21865
|
-
|
|
21866
|
-
|
|
21867
|
-
|
|
21868
|
-
|
|
21869
|
-
|
|
21682
|
+
address: new UntypedFormControl(property.address, Validators.required),
|
|
21683
|
+
purchasePrice: new UntypedFormControl(property.purchasePrice, Validators.required),
|
|
21684
|
+
contractDate: new UntypedFormControl(property.contractDate, Validators.required),
|
|
21685
|
+
settlementDate: new UntypedFormControl(property.settlementDate, Validators.required),
|
|
21686
|
+
stampDuty: new UntypedFormControl(property.stampDuty),
|
|
21687
|
+
legalFees: new UntypedFormControl(property.legalFees),
|
|
21688
|
+
otherCapitalCosts: new UntypedFormControl(property.otherCapitalCosts),
|
|
21689
|
+
file: new UntypedFormControl(property.file)
|
|
21690
|
+
}, property);
|
|
21870
21691
|
}
|
|
21871
|
-
|
|
21872
|
-
|
|
21873
|
-
|
|
21874
|
-
|
|
21875
|
-
|
|
21876
|
-
|
|
21877
|
-
|
|
21878
|
-
},
|
|
21692
|
+
}
|
|
21693
|
+
|
|
21694
|
+
class PropertyDocumentForm extends AbstractForm {
|
|
21695
|
+
constructor(document) {
|
|
21696
|
+
super({
|
|
21697
|
+
property: new FormControl(document.property, Validators.required),
|
|
21698
|
+
file: new FormControl(document.file)
|
|
21699
|
+
}, document);
|
|
21700
|
+
}
|
|
21701
|
+
submit() {
|
|
21702
|
+
return super.submit({ property: { id: this.value.property.id } });
|
|
21703
|
+
}
|
|
21704
|
+
}
|
|
21705
|
+
|
|
21706
|
+
class PropertyValuationForm extends AbstractForm {
|
|
21707
|
+
constructor(valuation) {
|
|
21708
|
+
super({
|
|
21709
|
+
date: new UntypedFormControl(valuation.date || new Date(), Validators.required),
|
|
21710
|
+
marketValue: new UntypedFormControl(valuation.marketValue, Validators.required),
|
|
21711
|
+
document: new UntypedFormGroup({
|
|
21712
|
+
file: new UntypedFormControl(valuation.document?.file)
|
|
21713
|
+
})
|
|
21714
|
+
}, valuation);
|
|
21715
|
+
}
|
|
21716
|
+
submit() {
|
|
21717
|
+
return super.submit({ document: this.value.document.file ? this.value.document : null });
|
|
21879
21718
|
}
|
|
21880
21719
|
}
|
|
21881
21720
|
|
|
@@ -22578,18 +22417,6 @@ class VehicleLogbookForm extends AbstractForm {
|
|
|
22578
22417
|
}
|
|
22579
22418
|
VehicleLogbookForm.maxDescriptionLength = 60;
|
|
22580
22419
|
|
|
22581
|
-
/**
|
|
22582
|
-
* general validation rules
|
|
22583
|
-
*/
|
|
22584
|
-
var FormValidationsEnum;
|
|
22585
|
-
(function (FormValidationsEnum) {
|
|
22586
|
-
FormValidationsEnum[FormValidationsEnum["INPUT_MAX_LENGTH"] = 60] = "INPUT_MAX_LENGTH";
|
|
22587
|
-
FormValidationsEnum[FormValidationsEnum["TEXT_MAX_LENGTH"] = 300] = "TEXT_MAX_LENGTH";
|
|
22588
|
-
FormValidationsEnum[FormValidationsEnum["FILE_MAX_SIZE"] = 4194304] = "FILE_MAX_SIZE";
|
|
22589
|
-
// @TODO move to file uploader component
|
|
22590
|
-
FormValidationsEnum["FILE_ACCEPTED_TYPES"] = "Accepted file type: .doc .jpg .png .pdf .tiff .bmp .excel .csv";
|
|
22591
|
-
})(FormValidationsEnum || (FormValidationsEnum = {}));
|
|
22592
|
-
|
|
22593
22420
|
class AllocationRuleConditionForm extends AbstractForm {
|
|
22594
22421
|
constructor(condition = plainToClass(AllocationRuleCondition, {})) {
|
|
22595
22422
|
super({
|
|
@@ -22879,10 +22706,7 @@ class TransactionBaseForm extends AbstractForm {
|
|
|
22879
22706
|
gstAmount: new UntypedFormControl({ value: transaction.gstAmount, disabled: true }, Validators.required),
|
|
22880
22707
|
date: new UntypedFormControl(transaction.date, [Validators.required]),
|
|
22881
22708
|
description: new UntypedFormControl(transaction.description, Validators.maxLength(FormValidationsEnum.TEXT_MAX_LENGTH)),
|
|
22882
|
-
|
|
22883
|
-
file: new UntypedFormControl(transaction['receipt'], [
|
|
22884
|
-
FileValidator.fileExtensions(DOCUMENT_FILE_TYPES.all), FileValidator.fileMaxSize(+FormValidationsEnum.FILE_MAX_SIZE)
|
|
22885
|
-
]),
|
|
22709
|
+
file: new UntypedFormControl(transaction.file),
|
|
22886
22710
|
property: new UntypedFormControl({ value: transaction.property, disabled: transaction.chartAccounts }),
|
|
22887
22711
|
}, controls), transaction);
|
|
22888
22712
|
this.registeredForGst = registeredForGst;
|
|
@@ -23431,13 +23255,10 @@ var MessagesEnum;
|
|
|
23431
23255
|
})(MessagesEnum || (MessagesEnum = {}));
|
|
23432
23256
|
|
|
23433
23257
|
// @TODO Alex: Create indexes everywhere and break this file to imports from indexes
|
|
23434
|
-
/**
|
|
23435
|
-
* Public API Surface of tt-core
|
|
23436
|
-
*/
|
|
23437
23258
|
|
|
23438
23259
|
/**
|
|
23439
23260
|
* Generated bundle index. Do not edit.
|
|
23440
23261
|
*/
|
|
23441
23262
|
|
|
23442
|
-
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, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteMessages, 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, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, 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, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, 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, sort, sortDeep, taxReviewFilterPredicate, toArray };
|
|
23263
|
+
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, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceExpenseEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteMessages, 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, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, JsPdf, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, 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, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, 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, SoleBusinessMessagesEnum, 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, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, 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, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, 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, sort, sortDeep, taxReviewFilterPredicate, toArray };
|
|
23443
23264
|
//# sourceMappingURL=taxtank-core.mjs.map
|