taxtank-core 0.12.2 → 0.13.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/bundles/taxtank-core.umd.js +460 -275
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/collection.js +42 -26
- package/esm2015/lib/collections/income-source.collection.js +1 -8
- package/esm2015/lib/collections/report/property/property-report-item-depreciation.collection.js +2 -2
- package/esm2015/lib/collections/report/property/property-report-item-transaction.collection.js +2 -2
- package/esm2015/lib/collections/subscription/service-subscription.collection.js +17 -0
- package/esm2015/lib/db/Enums/subscription/service-payment-status.enum.js +6 -0
- package/esm2015/lib/db/Enums/subscription/service-price-list.enum.js +5 -0
- package/esm2015/lib/db/Enums/{service-price-recurring-interval.enum.js → subscription/service-price-recurring-interval.enum.js} +1 -1
- package/esm2015/lib/db/Enums/subscription/service-price-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/subscription/service-product-id.enum.js +10 -0
- package/esm2015/lib/db/Enums/subscription/service-product-status.enum.js +6 -0
- package/esm2015/lib/db/Enums/{service-subscription-status.enum.js → subscription/service-subscription-status.enum.js} +1 -1
- package/esm2015/lib/db/Models/abstract-model.js +7 -0
- package/esm2015/lib/db/Models/address.js +3 -2
- package/esm2015/lib/db/Models/bank/bank-account-balance.js +4 -0
- package/esm2015/lib/db/Models/bank/bank-account-property.js +4 -0
- package/esm2015/lib/db/Models/bank/bank-account.js +4 -0
- package/esm2015/lib/db/Models/bank/bank-connection.js +4 -0
- package/esm2015/lib/db/Models/bank/bank-transaction-import.js +4 -0
- package/esm2015/lib/db/Models/bank/bank-transaction.js +4 -0
- package/esm2015/lib/db/Models/bank/bank.js +4 -0
- package/esm2015/lib/db/Models/bank/basiq-job.js +4 -0
- package/esm2015/lib/db/Models/bank/financial-data-system.js +4 -0
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-depreciation.js +4 -0
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-heading.js +4 -0
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-metadata.js +4 -0
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-value.js +4 -0
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts.js +4 -0
- package/esm2015/lib/db/Models/country.js +3 -2
- package/esm2015/lib/db/Models/depreciation/depreciation-capital-project.js +4 -0
- package/esm2015/lib/db/Models/depreciation/depreciation-forecast.js +4 -0
- package/esm2015/lib/db/Models/depreciation/depreciation-receipt.js +4 -0
- package/esm2015/lib/db/Models/depreciation/depreciation.js +4 -0
- package/esm2015/lib/db/Models/document/document-folder.js +4 -0
- package/esm2015/lib/db/Models/document/document.js +4 -0
- package/esm2015/lib/db/Models/document/property-document.js +10 -0
- package/esm2015/lib/db/Models/firm/accountant/tax-review.js +4 -0
- package/esm2015/lib/db/Models/firm/accountant/ticket.js +4 -0
- package/esm2015/lib/db/Models/firm/chat.js +4 -0
- package/esm2015/lib/db/Models/firm/client-invite.js +4 -0
- package/esm2015/lib/db/Models/firm/client-movement.js +4 -0
- package/esm2015/lib/db/Models/firm/employee-invite.js +4 -0
- package/esm2015/lib/db/Models/firm/firm.js +4 -0
- package/esm2015/lib/db/Models/firm/message-document.js +4 -0
- package/esm2015/lib/db/Models/firm/message.js +4 -0
- package/esm2015/lib/db/Models/incomeSource/income-source-forecast.js +4 -0
- package/esm2015/lib/db/Models/incomeSource/income-source-type.js +4 -0
- package/esm2015/lib/db/Models/incomeSource/income-source.js +4 -0
- package/esm2015/lib/db/Models/incomeSource/salary-forecast.js +4 -0
- package/esm2015/lib/db/Models/loan/borrowing-expense-loan.js +4 -0
- package/esm2015/lib/db/Models/loan/borrowing-expense.js +4 -0
- package/esm2015/lib/db/Models/loan/loan-payout.js +4 -0
- package/esm2015/lib/db/Models/loan/loan.js +4 -0
- package/esm2015/lib/db/Models/phone.js +3 -2
- package/esm2015/lib/db/Models/property/property-category-movement.js +3 -2
- package/esm2015/lib/db/Models/property/property-category.js +3 -2
- package/esm2015/lib/db/Models/property/property-forecast.js +3 -2
- package/esm2015/lib/db/Models/property/property-sale/property-sale-tax-exemption-metadata.js +3 -2
- package/esm2015/lib/db/Models/property/property-sale/property-sale.js +3 -2
- package/esm2015/lib/db/Models/property/property-sale/tax-exemption-metadata.js +3 -2
- package/esm2015/lib/db/Models/property/property-sale/tax-exemption.js +3 -2
- package/esm2015/lib/db/Models/property/property-share.js +3 -2
- package/esm2015/lib/db/Models/property/property-subscription.js +3 -2
- package/esm2015/lib/db/Models/property/property-valuation.js +3 -2
- package/esm2015/lib/db/Models/property/property.js +3 -2
- package/esm2015/lib/db/Models/service-notification.js +3 -2
- package/esm2015/lib/db/Models/sole/sole-forecast.js +4 -0
- package/esm2015/lib/db/Models/subscription/service-payment.js +4 -0
- package/esm2015/lib/db/Models/subscription/service-price.js +4 -0
- package/esm2015/lib/db/Models/subscription/service-product.js +4 -0
- package/esm2015/lib/db/Models/subscription/service-subscription-item.js +4 -0
- package/esm2015/lib/db/Models/subscription/service-subscription.js +4 -0
- package/esm2015/lib/db/Models/tax-return/tax-return-category.js +4 -0
- package/esm2015/lib/db/Models/tax-return/tax-return-item.js +4 -0
- package/esm2015/lib/db/Models/tax-return/tax-return.js +4 -0
- package/esm2015/lib/db/Models/transaction/transaction-allocation.js +4 -0
- package/esm2015/lib/db/Models/transaction/transaction-base.js +26 -0
- package/esm2015/lib/db/Models/transaction/transaction-metadata.js +4 -0
- package/esm2015/lib/db/Models/transaction/transaction-receipt.js +4 -0
- package/esm2015/lib/db/Models/transaction/transaction.js +4 -0
- package/esm2015/lib/db/Models/user/client-details.js +4 -0
- package/esm2015/lib/db/Models/user/client-income-types.js +4 -0
- package/esm2015/lib/db/Models/user/employee-details.js +4 -0
- package/esm2015/lib/db/Models/user/occupation.js +4 -0
- package/esm2015/lib/db/Models/user/registration-invite.js +4 -0
- package/esm2015/lib/db/Models/user/user-event-setting.js +4 -0
- package/esm2015/lib/db/Models/user/user-event-type-category.js +4 -0
- package/esm2015/lib/db/Models/user/user-event-type.js +4 -0
- package/esm2015/lib/db/Models/user/user-event.js +4 -0
- package/esm2015/lib/db/Models/user/user.js +4 -0
- package/esm2015/lib/db/Models/vehicle/vehicle-claim.js +4 -0
- package/esm2015/lib/db/Models/vehicle/vehicle-logbook.js +4 -0
- package/esm2015/lib/db/Models/vehicle/vehicle.js +4 -0
- package/esm2015/lib/interfaces/document.interface.js +1 -1
- package/esm2015/lib/models/bank/bank-account-property.js +2 -2
- package/esm2015/lib/models/bank/bank-account.js +3 -3
- package/esm2015/lib/models/bank/bank-connection.js +2 -2
- package/esm2015/lib/models/bank/bank-transaction.js +2 -2
- package/esm2015/lib/models/bank/bank.js +2 -2
- package/esm2015/lib/models/bank/basiq-job.js +2 -2
- package/esm2015/lib/models/borrowing-expense/borrowing-expense-loan.js +2 -2
- package/esm2015/lib/models/borrowing-expense/borrowing-expense.js +2 -2
- package/esm2015/lib/models/chart-accounts/chart-accounts-depreciation.js +2 -2
- package/esm2015/lib/models/chart-accounts/chart-accounts-heading.js +2 -2
- package/esm2015/lib/models/chart-accounts/chart-accounts-metadata.js +2 -2
- package/esm2015/lib/models/chart-accounts/chart-accounts-value.js +2 -2
- package/esm2015/lib/models/chart-accounts/chart-accounts.js +2 -2
- package/esm2015/lib/models/chat/chat.js +2 -2
- package/esm2015/lib/models/chat/message-document.js +2 -2
- package/esm2015/lib/models/chat/message.js +2 -2
- package/esm2015/lib/models/client/client-details.js +2 -2
- package/esm2015/lib/models/client/client-income-types.js +2 -2
- package/esm2015/lib/models/client/client-invite.js +2 -2
- package/esm2015/lib/models/client/client-movement.js +2 -2
- package/esm2015/lib/models/depreciation/depreciation-capital-project.js +2 -2
- package/esm2015/lib/models/depreciation/depreciation-forecast.js +2 -2
- package/esm2015/lib/models/depreciation/depreciation-receipt.js +2 -2
- package/esm2015/lib/models/depreciation/depreciation.js +2 -2
- package/esm2015/lib/models/document/document-folder.js +2 -2
- package/esm2015/lib/models/document/document.js +2 -2
- package/esm2015/lib/models/employee/employee-details.js +2 -2
- package/esm2015/lib/models/employee/employee-invite.js +2 -2
- package/esm2015/lib/models/firm/firm.js +2 -2
- package/esm2015/lib/models/income-source/income-source-forecast.js +2 -2
- package/esm2015/lib/models/income-source/income-source-type.js +2 -2
- package/esm2015/lib/models/income-source/income-source.js +2 -2
- package/esm2015/lib/models/income-source/salary-forecast.js +2 -2
- package/esm2015/lib/models/income-source/sole-forecast.js +2 -2
- package/esm2015/lib/models/loan/loan-payout.js +2 -2
- package/esm2015/lib/models/loan/loan.js +2 -2
- package/esm2015/lib/models/logbook/vehicle-claim.js +2 -2
- package/esm2015/lib/models/logbook/vehicle-logbook.js +2 -2
- package/esm2015/lib/models/logbook/vehicle.js +2 -2
- package/esm2015/lib/models/property/property-document.js +2 -2
- package/esm2015/lib/models/property/property.js +1 -1
- package/esm2015/lib/models/registration-invite/registration-invite.js +2 -2
- package/esm2015/lib/models/service-subscription/service-payment.js +2 -2
- package/esm2015/lib/models/service-subscription/service-price.js +2 -2
- package/esm2015/lib/models/service-subscription/service-product.js +14 -6
- package/esm2015/lib/models/service-subscription/service-subscription-item.js +12 -3
- package/esm2015/lib/models/service-subscription/service-subscription.js +29 -12
- package/esm2015/lib/models/tax-review/tax-review.js +2 -2
- package/esm2015/lib/models/tax-summary/report-item.js +1 -1
- package/esm2015/lib/models/transaction/transaction-allocation.js +2 -2
- package/esm2015/lib/models/transaction/transaction-metadata.js +2 -2
- package/esm2015/lib/models/transaction/transaction-receipt.js +2 -2
- package/esm2015/lib/models/transaction/transaction.js +2 -2
- package/esm2015/lib/models/user/occupation.js +2 -2
- package/esm2015/lib/models/user/user.js +2 -2
- package/esm2015/lib/models/user-event/user-event-setting.js +2 -2
- package/esm2015/lib/models/user-event/user-event-type-category.js +2 -2
- package/esm2015/lib/models/user-event/user-event-type.js +2 -2
- package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +1 -1
- package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +1 -1
- package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +1 -1
- package/esm2015/lib/services/http/bank/bank.service.js +1 -1
- package/esm2015/lib/services/http/bank/basiq/basiq.service.js +1 -1
- package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +1 -1
- package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +1 -1
- package/esm2015/lib/services/http/chat/chat.service.js +1 -1
- package/esm2015/lib/services/http/chat/message/message.service.js +1 -1
- package/esm2015/lib/services/http/chat/message-document/message-document.service.js +1 -1
- package/esm2015/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js +1 -1
- package/esm2015/lib/services/http/depreciation/depreciation.service.js +1 -1
- package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +1 -1
- package/esm2015/lib/services/http/firm/client-income/client-income-types.service.js +1 -1
- package/esm2015/lib/services/http/firm/client-invite/client-invite.service.js +1 -1
- package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +1 -1
- package/esm2015/lib/services/http/firm/employee/employee.service.js +1 -1
- package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +1 -1
- package/esm2015/lib/services/http/firm/firm.service.js +1 -1
- package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +1 -1
- package/esm2015/lib/services/http/income-source/income-source.service.js +1 -1
- package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +1 -1
- package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +1 -1
- package/esm2015/lib/services/http/loan/loan.service.js +1 -1
- package/esm2015/lib/services/http/property/property-document/property-document.service.js +1 -1
- package/esm2015/lib/services/http/rest/rest.service.js +2 -2
- package/esm2015/lib/services/http/subscription/service-price.service.js +24 -0
- package/esm2015/lib/services/http/subscription/subscription.service.js +5 -48
- package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +1 -1
- package/esm2015/lib/services/http/tax-review/tax-review.service.js +1 -1
- package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +1 -1
- package/esm2015/lib/services/http/transaction/transaction.service.js +1 -1
- package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +1 -1
- package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +1 -1
- package/esm2015/lib/services/http/user/user.service.js +1 -1
- package/esm2015/lib/services/http/vehicle/vehicle-claim.service.js +1 -1
- package/esm2015/lib/services/http/vehicle/vehicle-logbook.service.js +1 -1
- package/esm2015/lib/services/http/vehicle/vehicle.service.js +1 -1
- package/esm2015/public-api.js +9 -8
- package/fesm2015/taxtank-core.js +219 -174
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/collection.d.ts +13 -10
- package/lib/collections/income-source.collection.d.ts +0 -5
- package/lib/collections/{service-subscription.collection.d.ts → subscription/service-subscription.collection.d.ts} +2 -2
- package/lib/db/Enums/{service-payment-status.enum.d.ts → subscription/service-payment-status.enum.d.ts} +0 -0
- package/lib/db/Enums/subscription/service-price-list.enum.d.ts +3 -0
- package/lib/db/Enums/{service-price-recurring-interval.enum.d.ts → subscription/service-price-recurring-interval.enum.d.ts} +0 -0
- package/lib/db/Enums/{service-price-type.enum.d.ts → subscription/service-price-type.enum.d.ts} +0 -0
- package/lib/db/Enums/subscription/service-product-id.enum.d.ts +8 -0
- package/lib/db/Enums/subscription/service-product-status.enum.d.ts +4 -0
- package/lib/db/Enums/{service-subscription-status.enum.d.ts → subscription/service-subscription-status.enum.d.ts} +0 -0
- package/lib/db/Models/abstract-model.d.ts +3 -0
- package/lib/db/Models/address.d.ts +2 -1
- package/lib/db/Models/{bank-account-balance.d.ts → bank/bank-account-balance.d.ts} +2 -1
- package/lib/db/Models/bank/bank-account-property.d.ts +9 -0
- package/lib/db/Models/{bank-account.d.ts → bank/bank-account.d.ts} +6 -5
- package/lib/db/Models/{bank-connection.d.ts → bank/bank-connection.d.ts} +4 -3
- package/lib/db/Models/{bank-transaction-import.d.ts → bank/bank-transaction-import.d.ts} +2 -1
- package/lib/db/Models/{bank-transaction.d.ts → bank/bank-transaction.d.ts} +4 -3
- package/lib/db/Models/{bank.d.ts → bank/bank.d.ts} +2 -1
- package/lib/db/Models/{basiq-job.d.ts → bank/basiq-job.d.ts} +2 -1
- package/lib/db/Models/{financial-data-system.d.ts → bank/financial-data-system.d.ts} +2 -1
- package/lib/db/Models/{chart-accounts-depreciation.d.ts → chart-accounts/chart-accounts-depreciation.d.ts} +2 -1
- package/lib/db/Models/{chart-accounts-heading.d.ts → chart-accounts/chart-accounts-heading.d.ts} +2 -1
- package/lib/db/Models/chart-accounts/chart-accounts-metadata.d.ts +12 -0
- package/lib/db/Models/{chart-accounts-value.d.ts → chart-accounts/chart-accounts-value.d.ts} +2 -1
- package/lib/db/Models/{chart-accounts.d.ts → chart-accounts/chart-accounts.d.ts} +5 -4
- package/lib/db/Models/country.d.ts +2 -1
- package/lib/db/Models/depreciation/depreciation-capital-project.d.ts +14 -0
- package/lib/db/Models/{depreciation-forecast.d.ts → depreciation/depreciation-forecast.d.ts} +3 -2
- package/lib/db/Models/{depreciation-receipt.d.ts → depreciation/depreciation-receipt.d.ts} +2 -1
- package/lib/db/Models/{depreciation.d.ts → depreciation/depreciation.d.ts} +9 -9
- package/lib/db/Models/{document-folder.d.ts → document/document-folder.d.ts} +3 -2
- package/lib/db/Models/{document.d.ts → document/document.d.ts} +2 -1
- package/lib/db/Models/document/property-document.d.ts +18 -0
- package/lib/db/Models/firm/accountant/tax-review.d.ts +14 -0
- package/lib/db/Models/firm/accountant/ticket.d.ts +20 -0
- package/lib/db/Models/{chat.d.ts → firm/chat.d.ts} +4 -3
- package/lib/db/Models/firm/client-invite.d.ts +17 -0
- package/lib/db/Models/firm/client-movement.d.ts +13 -0
- package/lib/db/Models/firm/employee-invite.d.ts +10 -0
- package/lib/db/Models/{firm.d.ts → firm/firm.d.ts} +7 -6
- package/lib/db/Models/{message-document.d.ts → firm/message-document.d.ts} +3 -2
- package/lib/db/Models/{message.d.ts → firm/message.d.ts} +4 -3
- package/lib/db/Models/{income-source-forecast.d.ts → incomeSource/income-source-forecast.d.ts} +2 -1
- package/lib/db/Models/{income-source-type.d.ts → incomeSource/income-source-type.d.ts} +3 -2
- package/lib/db/Models/{income-source.d.ts → incomeSource/income-source.d.ts} +5 -4
- package/lib/db/Models/{salary-forecast.d.ts → incomeSource/salary-forecast.d.ts} +3 -2
- package/lib/db/Models/{borrowing-expense-loan.d.ts → loan/borrowing-expense-loan.d.ts} +3 -2
- package/lib/db/Models/loan/borrowing-expense.d.ts +8 -0
- package/lib/db/Models/{loan-payout.d.ts → loan/loan-payout.d.ts} +3 -2
- package/lib/db/Models/{loan.d.ts → loan/loan.d.ts} +9 -8
- package/lib/db/Models/phone.d.ts +2 -1
- package/lib/db/Models/property/property-category-movement.d.ts +3 -2
- package/lib/db/Models/property/property-category.d.ts +3 -2
- package/lib/db/Models/property/property-forecast.d.ts +2 -1
- package/lib/db/Models/property/property-sale/property-sale-tax-exemption-metadata.d.ts +2 -1
- package/lib/db/Models/property/property-sale/property-sale.d.ts +2 -1
- package/lib/db/Models/property/property-sale/tax-exemption-metadata.d.ts +2 -1
- package/lib/db/Models/property/property-sale/tax-exemption.d.ts +2 -1
- package/lib/db/Models/property/property-share.d.ts +4 -3
- package/lib/db/Models/property/property-subscription.d.ts +3 -2
- package/lib/db/Models/property/property-valuation.d.ts +3 -2
- package/lib/db/Models/property/property.d.ts +6 -5
- package/lib/db/Models/service-notification.d.ts +4 -3
- package/lib/db/Models/sole/sole-forecast.d.ts +9 -0
- package/lib/db/Models/{service-payment.d.ts → subscription/service-payment.d.ts} +3 -2
- package/lib/db/Models/{service-price.d.ts → subscription/service-price.d.ts} +4 -3
- package/lib/db/Models/subscription/service-product.d.ts +19 -0
- package/lib/db/Models/{service-subscription-item.d.ts → subscription/service-subscription-item.d.ts} +2 -1
- package/lib/db/Models/{service-subscription.d.ts → subscription/service-subscription.d.ts} +4 -3
- package/lib/db/Models/{tax-return-category.d.ts → tax-return/tax-return-category.d.ts} +3 -2
- package/lib/db/Models/{tax-return-item.d.ts → tax-return/tax-return-item.d.ts} +2 -1
- package/lib/db/Models/{tax-return.d.ts → tax-return/tax-return.d.ts} +2 -1
- package/lib/db/Models/transaction/transaction-allocation.d.ts +9 -0
- package/lib/db/Models/{transaction-base.d.ts → transaction/transaction-base.d.ts} +4 -3
- package/lib/db/Models/{transaction-metadata.d.ts → transaction/transaction-metadata.d.ts} +3 -2
- package/lib/db/Models/{transaction-receipt.d.ts → transaction/transaction-receipt.d.ts} +2 -1
- package/lib/db/Models/{transaction.d.ts → transaction/transaction.d.ts} +9 -9
- package/lib/db/Models/{client-details.d.ts → user/client-details.d.ts} +7 -6
- package/lib/db/Models/{client-income-types.d.ts → user/client-income-types.d.ts} +2 -1
- package/lib/db/Models/user/employee-details.d.ts +8 -0
- package/lib/db/Models/user/occupation.d.ts +6 -0
- package/lib/db/Models/{registration-invite.d.ts → user/registration-invite.d.ts} +3 -2
- package/lib/db/Models/{user-event-setting.d.ts → user/user-event-setting.d.ts} +2 -1
- package/lib/db/Models/user/user-event-type-category.d.ts +5 -0
- package/lib/db/Models/{user-event-type.d.ts → user/user-event-type.d.ts} +3 -2
- package/lib/db/Models/{user-event.d.ts → user/user-event.d.ts} +3 -2
- package/lib/db/Models/{user.d.ts → user/user.d.ts} +14 -13
- package/lib/db/Models/vehicle/vehicle-claim.d.ts +14 -0
- package/lib/db/Models/{vehicle-logbook.d.ts → vehicle/vehicle-logbook.d.ts} +4 -3
- package/lib/db/Models/vehicle/vehicle.d.ts +11 -0
- package/lib/models/bank/bank-account-property.d.ts +1 -1
- package/lib/models/bank/bank-account.d.ts +2 -2
- package/lib/models/bank/bank-connection.d.ts +1 -1
- package/lib/models/bank/bank-transaction.d.ts +1 -1
- package/lib/models/bank/bank.d.ts +1 -1
- package/lib/models/bank/basiq-job.d.ts +1 -1
- package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts +1 -1
- package/lib/models/borrowing-expense/borrowing-expense.d.ts +1 -1
- package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts +1 -1
- package/lib/models/chart-accounts/chart-accounts-heading.d.ts +1 -1
- package/lib/models/chart-accounts/chart-accounts-metadata.d.ts +1 -1
- package/lib/models/chart-accounts/chart-accounts-value.d.ts +1 -1
- package/lib/models/chart-accounts/chart-accounts.d.ts +1 -1
- package/lib/models/chat/chat.d.ts +1 -1
- package/lib/models/chat/message-document.d.ts +1 -1
- package/lib/models/chat/message.d.ts +1 -1
- package/lib/models/client/client-details.d.ts +1 -1
- package/lib/models/client/client-income-types.d.ts +1 -1
- package/lib/models/client/client-invite.d.ts +1 -1
- package/lib/models/client/client-movement.d.ts +1 -1
- package/lib/models/depreciation/depreciation-capital-project.d.ts +1 -1
- package/lib/models/depreciation/depreciation-forecast.d.ts +1 -1
- package/lib/models/depreciation/depreciation-receipt.d.ts +1 -1
- package/lib/models/depreciation/depreciation.d.ts +3 -3
- package/lib/models/document/document-folder.d.ts +1 -1
- package/lib/models/document/document.d.ts +1 -1
- package/lib/models/employee/employee-details.d.ts +1 -1
- package/lib/models/employee/employee-invite.d.ts +1 -1
- package/lib/models/firm/firm.d.ts +1 -1
- package/lib/models/income-source/income-source-forecast.d.ts +1 -1
- package/lib/models/income-source/income-source-type.d.ts +1 -1
- package/lib/models/income-source/income-source.d.ts +1 -1
- package/lib/models/income-source/salary-forecast.d.ts +1 -1
- package/lib/models/income-source/sole-forecast.d.ts +1 -1
- package/lib/models/loan/loan-payout.d.ts +1 -1
- package/lib/models/loan/loan.d.ts +1 -1
- package/lib/models/logbook/vehicle-claim.d.ts +1 -1
- package/lib/models/logbook/vehicle-logbook.d.ts +1 -1
- package/lib/models/logbook/vehicle.d.ts +1 -1
- package/lib/models/property/property-document.d.ts +1 -1
- package/lib/models/property/property.d.ts +0 -2
- package/lib/models/registration-invite/registration-invite.d.ts +1 -1
- package/lib/models/service-subscription/service-payment.d.ts +1 -1
- package/lib/models/service-subscription/service-price.d.ts +1 -1
- package/lib/models/service-subscription/service-product.d.ts +5 -3
- package/lib/models/service-subscription/service-subscription-item.d.ts +1 -1
- package/lib/models/service-subscription/service-subscription.d.ts +13 -3
- package/lib/models/tax-review/tax-review.d.ts +1 -1
- package/lib/models/tax-summary/report-item.d.ts +1 -1
- package/lib/models/transaction/transaction-allocation.d.ts +1 -1
- package/lib/models/transaction/transaction-metadata.d.ts +1 -1
- package/lib/models/transaction/transaction-receipt.d.ts +1 -1
- package/lib/models/transaction/transaction.d.ts +1 -1
- package/lib/models/user/occupation.d.ts +1 -1
- package/lib/models/user/user.d.ts +1 -1
- package/lib/models/user-event/user-event-setting.d.ts +1 -1
- package/lib/models/user-event/user-event-type-category.d.ts +1 -1
- package/lib/models/user-event/user-event-type.d.ts +1 -1
- package/lib/services/http/bank/bank-account/bank-account.service.d.ts +1 -1
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +1 -1
- package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts +1 -1
- package/lib/services/http/bank/bank.service.d.ts +1 -1
- package/lib/services/http/bank/basiq/basiq.service.d.ts +1 -1
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +1 -1
- package/lib/services/http/chat/chat.service.d.ts +1 -1
- package/lib/services/http/chat/message/message.service.d.ts +1 -1
- package/lib/services/http/depreciation/depreciation.service.d.ts +1 -1
- package/lib/services/http/document/document-folder/document-folder.service.d.ts +1 -1
- package/lib/services/http/firm/client-invite/client-invite.service.d.ts +1 -1
- package/lib/services/http/firm/client-movement/client-movement.service.d.ts +1 -1
- package/lib/services/http/firm/employee/employee.service.d.ts +1 -1
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +1 -1
- package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts +1 -1
- package/lib/services/http/income-source/income-source.service.d.ts +1 -1
- package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts +1 -1
- package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts +1 -1
- package/lib/services/http/loan/loan.service.d.ts +1 -1
- package/lib/services/http/property/property-document/property-document.service.d.ts +1 -1
- package/lib/services/http/rest/rest.service.d.ts +1 -1
- package/lib/services/http/subscription/service-price.service.d.ts +14 -0
- package/lib/services/http/subscription/subscription.service.d.ts +2 -9
- package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts +1 -1
- package/lib/services/http/tax-review/tax-review.service.d.ts +1 -1
- package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts +1 -1
- package/lib/services/http/transaction/transaction.service.d.ts +1 -1
- package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts +1 -1
- package/lib/services/http/user/user-event-type/user-event-type.service.d.ts +1 -1
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts +1 -1
- package/lib/services/http/vehicle/vehicle.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +8 -7
- package/esm2015/lib/collections/service-price.collection.js +0 -10
- package/esm2015/lib/collections/service-subscription.collection.js +0 -17
- package/esm2015/lib/db/Enums/service-payment-status.enum.js +0 -6
- package/esm2015/lib/db/Enums/service-price-type.enum.js +0 -6
- package/esm2015/lib/db/Models/bank-account-balance.js +0 -3
- package/esm2015/lib/db/Models/bank-account-property.js +0 -3
- package/esm2015/lib/db/Models/bank-account.js +0 -3
- package/esm2015/lib/db/Models/bank-connection.js +0 -3
- package/esm2015/lib/db/Models/bank-transaction-import.js +0 -3
- package/esm2015/lib/db/Models/bank-transaction.js +0 -3
- package/esm2015/lib/db/Models/bank.js +0 -3
- package/esm2015/lib/db/Models/basiq-job.js +0 -3
- package/esm2015/lib/db/Models/borrowing-expense-loan.js +0 -3
- package/esm2015/lib/db/Models/borrowing-expense.js +0 -3
- package/esm2015/lib/db/Models/chart-accounts-depreciation.js +0 -3
- package/esm2015/lib/db/Models/chart-accounts-heading.js +0 -3
- package/esm2015/lib/db/Models/chart-accounts-metadata.js +0 -3
- package/esm2015/lib/db/Models/chart-accounts-value.js +0 -3
- package/esm2015/lib/db/Models/chart-accounts.js +0 -3
- package/esm2015/lib/db/Models/chat.js +0 -3
- package/esm2015/lib/db/Models/client-details.js +0 -3
- package/esm2015/lib/db/Models/client-income-types.js +0 -3
- package/esm2015/lib/db/Models/client-invite.js +0 -3
- package/esm2015/lib/db/Models/client-movement.js +0 -3
- package/esm2015/lib/db/Models/depreciation-capital-project.js +0 -3
- package/esm2015/lib/db/Models/depreciation-forecast.js +0 -3
- package/esm2015/lib/db/Models/depreciation-receipt.js +0 -3
- package/esm2015/lib/db/Models/depreciation.js +0 -4
- package/esm2015/lib/db/Models/document-folder.js +0 -3
- package/esm2015/lib/db/Models/document.js +0 -3
- package/esm2015/lib/db/Models/employee-details.js +0 -3
- package/esm2015/lib/db/Models/employee-invite.js +0 -3
- package/esm2015/lib/db/Models/financial-data-system.js +0 -3
- package/esm2015/lib/db/Models/firm.js +0 -3
- package/esm2015/lib/db/Models/income-source-forecast.js +0 -3
- package/esm2015/lib/db/Models/income-source-type.js +0 -3
- package/esm2015/lib/db/Models/income-source.js +0 -3
- package/esm2015/lib/db/Models/loan-payout.js +0 -3
- package/esm2015/lib/db/Models/loan.js +0 -3
- package/esm2015/lib/db/Models/message-document.js +0 -3
- package/esm2015/lib/db/Models/message.js +0 -3
- package/esm2015/lib/db/Models/occupation.js +0 -3
- package/esm2015/lib/db/Models/property/property-document.js +0 -3
- package/esm2015/lib/db/Models/registration-invite.js +0 -3
- package/esm2015/lib/db/Models/salary-forecast.js +0 -3
- package/esm2015/lib/db/Models/service-payment.js +0 -3
- package/esm2015/lib/db/Models/service-price.js +0 -3
- package/esm2015/lib/db/Models/service-product.js +0 -3
- package/esm2015/lib/db/Models/service-subscription-item.js +0 -3
- package/esm2015/lib/db/Models/service-subscription.js +0 -3
- package/esm2015/lib/db/Models/sole-forecast.js +0 -3
- package/esm2015/lib/db/Models/tax-return-category.js +0 -3
- package/esm2015/lib/db/Models/tax-return-item.js +0 -3
- package/esm2015/lib/db/Models/tax-return.js +0 -3
- package/esm2015/lib/db/Models/tax-review.js +0 -3
- package/esm2015/lib/db/Models/ticket.js +0 -3
- package/esm2015/lib/db/Models/transaction-allocation.js +0 -3
- package/esm2015/lib/db/Models/transaction-base.js +0 -25
- package/esm2015/lib/db/Models/transaction-metadata.js +0 -3
- package/esm2015/lib/db/Models/transaction-receipt.js +0 -3
- package/esm2015/lib/db/Models/transaction.js +0 -4
- package/esm2015/lib/db/Models/user-event-setting.js +0 -3
- package/esm2015/lib/db/Models/user-event-type-category.js +0 -3
- package/esm2015/lib/db/Models/user-event-type.js +0 -3
- package/esm2015/lib/db/Models/user-event.js +0 -3
- package/esm2015/lib/db/Models/user.js +0 -3
- package/esm2015/lib/db/Models/vehicle-claim.js +0 -3
- package/esm2015/lib/db/Models/vehicle-logbook.js +0 -3
- package/esm2015/lib/db/Models/vehicle.js +0 -3
- package/lib/collections/service-price.collection.d.ts +0 -6
- package/lib/db/Models/bank-account-property.d.ts +0 -8
- package/lib/db/Models/borrowing-expense.d.ts +0 -7
- package/lib/db/Models/chart-accounts-metadata.d.ts +0 -11
- package/lib/db/Models/client-invite.d.ts +0 -16
- package/lib/db/Models/client-movement.d.ts +0 -12
- package/lib/db/Models/depreciation-capital-project.d.ts +0 -13
- package/lib/db/Models/employee-details.d.ts +0 -7
- package/lib/db/Models/employee-invite.d.ts +0 -9
- package/lib/db/Models/occupation.d.ts +0 -5
- package/lib/db/Models/property/property-document.d.ts +0 -13
- package/lib/db/Models/service-product.d.ts +0 -12
- package/lib/db/Models/sole-forecast.d.ts +0 -8
- package/lib/db/Models/tax-review.d.ts +0 -13
- package/lib/db/Models/ticket.d.ts +0 -19
- package/lib/db/Models/transaction-allocation.d.ts +0 -8
- package/lib/db/Models/user-event-type-category.d.ts +0 -4
- package/lib/db/Models/vehicle-claim.d.ts +0 -13
- package/lib/db/Models/vehicle.d.ts +0 -10
package/fesm2015/taxtank-core.js
CHANGED
|
@@ -874,9 +874,44 @@ class Collection {
|
|
|
874
874
|
create(items = []) {
|
|
875
875
|
return new this.constructor(items);
|
|
876
876
|
}
|
|
877
|
+
/**
|
|
878
|
+
* Iterator that allow to iterate collection items
|
|
879
|
+
*/
|
|
880
|
+
[Symbol.iterator]() {
|
|
881
|
+
return this.items.values();
|
|
882
|
+
}
|
|
883
|
+
get first() {
|
|
884
|
+
return first(this.items);
|
|
885
|
+
}
|
|
886
|
+
get last() {
|
|
887
|
+
return last(this.items);
|
|
888
|
+
}
|
|
889
|
+
push(item) {
|
|
890
|
+
return this.items.push(item);
|
|
891
|
+
}
|
|
892
|
+
replaceBy(path, item) {
|
|
893
|
+
const index = this.findIndexBy(path, get(item, path));
|
|
894
|
+
if (index >= 0) {
|
|
895
|
+
this.items.splice(index, 1, item);
|
|
896
|
+
}
|
|
897
|
+
return this;
|
|
898
|
+
}
|
|
899
|
+
removeBy(path, item) {
|
|
900
|
+
const index = this.findIndexBy(path, get(item, path));
|
|
901
|
+
if (index >= 0) {
|
|
902
|
+
this.items.splice(index, 1);
|
|
903
|
+
}
|
|
904
|
+
return this;
|
|
905
|
+
}
|
|
906
|
+
toArray() {
|
|
907
|
+
return [...this.items];
|
|
908
|
+
}
|
|
877
909
|
groupBy(path = '') {
|
|
878
910
|
return new CollectionDictionary(this, path);
|
|
879
911
|
}
|
|
912
|
+
/**
|
|
913
|
+
* @TODO remove and use dictionary instead
|
|
914
|
+
*/
|
|
880
915
|
indexBy(path) {
|
|
881
916
|
// Create empty initial object for groups
|
|
882
917
|
const result = {};
|
|
@@ -885,13 +920,6 @@ class Collection {
|
|
|
885
920
|
});
|
|
886
921
|
return result;
|
|
887
922
|
}
|
|
888
|
-
/**
|
|
889
|
-
* Iterator that allow to iterate collection items
|
|
890
|
-
*/
|
|
891
|
-
[Symbol.iterator]() {
|
|
892
|
-
// .values() returns Iterator instance for array
|
|
893
|
-
return this.items.values();
|
|
894
|
-
}
|
|
895
923
|
/**
|
|
896
924
|
* get collection length
|
|
897
925
|
*/
|
|
@@ -904,30 +932,24 @@ class Collection {
|
|
|
904
932
|
getIds() {
|
|
905
933
|
return this.items.map((item) => item['id']);
|
|
906
934
|
}
|
|
907
|
-
findBy(path, value) {
|
|
908
|
-
return this.items.find((item) => get(item, path) === value);
|
|
909
|
-
}
|
|
910
935
|
getBy(path, value) {
|
|
911
936
|
return this.create(this.items.filter((item) => get(item, path) === value));
|
|
912
937
|
}
|
|
913
|
-
/**
|
|
914
|
-
* Get single item by id
|
|
915
|
-
*/
|
|
916
|
-
getById(id) {
|
|
917
|
-
return this.items.find((item) => item['id'] === id);
|
|
918
|
-
}
|
|
919
938
|
getByIds(ids) {
|
|
920
939
|
return this.items.filter((item) => ids.includes(item['id']));
|
|
921
940
|
}
|
|
941
|
+
findBy(path, value) {
|
|
942
|
+
return this.items.find((item) => get(item, path) === value);
|
|
943
|
+
}
|
|
944
|
+
findIndexBy(path, value) {
|
|
945
|
+
return this.items.findIndex((item) => get(item, path) === value);
|
|
946
|
+
}
|
|
922
947
|
/**
|
|
923
948
|
* Get total sum of items by field
|
|
924
949
|
*/
|
|
925
950
|
sumBy(path) {
|
|
926
951
|
return +this.items.reduce((sum, item) => sum + Number(get(item, path)), 0).toFixed(2);
|
|
927
952
|
}
|
|
928
|
-
toArray() {
|
|
929
|
-
return [...this.items];
|
|
930
|
-
}
|
|
931
953
|
/**
|
|
932
954
|
* Filter items by specific provided callback
|
|
933
955
|
*/
|
|
@@ -940,12 +962,6 @@ class Collection {
|
|
|
940
962
|
sortBy(filed = 'id', isDesc = true) {
|
|
941
963
|
sort(this.items, filed, isDesc);
|
|
942
964
|
}
|
|
943
|
-
get first() {
|
|
944
|
-
return first(this.items);
|
|
945
|
-
}
|
|
946
|
-
get last() {
|
|
947
|
-
return last(this.items);
|
|
948
|
-
}
|
|
949
965
|
getByDateRange(from, to, dateField = 'date') {
|
|
950
966
|
return this.create(this.items.filter((item) => item[dateField] >= from && item[dateField] <= to));
|
|
951
967
|
}
|
|
@@ -1602,13 +1618,6 @@ class IncomeSourceCollection extends Collection {
|
|
|
1602
1618
|
filterByTypes(types) {
|
|
1603
1619
|
return this.items.filter((incomeSource) => types.includes(incomeSource.type));
|
|
1604
1620
|
}
|
|
1605
|
-
/**
|
|
1606
|
-
* Get income source by provided Id
|
|
1607
|
-
* @param id
|
|
1608
|
-
*/
|
|
1609
|
-
getById(id) {
|
|
1610
|
-
return this.items.find((incomeSource) => incomeSource.id === id);
|
|
1611
|
-
}
|
|
1612
1621
|
/**
|
|
1613
1622
|
* Get income sources list of forecasts
|
|
1614
1623
|
*/
|
|
@@ -1909,7 +1918,13 @@ const CHART_ACCOUNTS_CATEGORIES = {
|
|
|
1909
1918
|
]
|
|
1910
1919
|
};
|
|
1911
1920
|
|
|
1912
|
-
class
|
|
1921
|
+
class AbstractModel {
|
|
1922
|
+
hasValue(value, path = 'id') {
|
|
1923
|
+
return get(path) === value;
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
class TransactionBase extends AbstractModel {
|
|
1913
1928
|
/**
|
|
1914
1929
|
* Check if current tank is Property
|
|
1915
1930
|
*/
|
|
@@ -1983,7 +1998,7 @@ var ChartAccountsListEnum;
|
|
|
1983
1998
|
ChartAccountsListEnum[ChartAccountsListEnum["TAX_OFFSETS_N_R_A_S"] = 571] = "TAX_OFFSETS_N_R_A_S";
|
|
1984
1999
|
})(ChartAccountsListEnum || (ChartAccountsListEnum = {}));
|
|
1985
2000
|
|
|
1986
|
-
class DepreciationCapitalProject$1 {
|
|
2001
|
+
class DepreciationCapitalProject$1 extends AbstractModel {
|
|
1987
2002
|
}
|
|
1988
2003
|
|
|
1989
2004
|
class DepreciationCapitalProject extends DepreciationCapitalProject$1 {
|
|
@@ -1992,7 +2007,7 @@ __decorate([
|
|
|
1992
2007
|
Type(() => Date)
|
|
1993
2008
|
], DepreciationCapitalProject.prototype, "effectiveDate", void 0);
|
|
1994
2009
|
|
|
1995
|
-
class DepreciationForecast$1 {
|
|
2010
|
+
class DepreciationForecast$1 extends AbstractModel {
|
|
1996
2011
|
}
|
|
1997
2012
|
|
|
1998
2013
|
class DepreciationForecast extends DepreciationForecast$1 {
|
|
@@ -2026,16 +2041,16 @@ class DepreciationForecast extends DepreciationForecast$1 {
|
|
|
2026
2041
|
}
|
|
2027
2042
|
}
|
|
2028
2043
|
|
|
2029
|
-
class ChartAccounts$1 {
|
|
2044
|
+
class ChartAccounts$1 extends AbstractModel {
|
|
2030
2045
|
}
|
|
2031
2046
|
|
|
2032
|
-
class ChartAccountsHeading$1 {
|
|
2047
|
+
class ChartAccountsHeading$1 extends AbstractModel {
|
|
2033
2048
|
}
|
|
2034
2049
|
|
|
2035
2050
|
class ChartAccountsHeading extends ChartAccountsHeading$1 {
|
|
2036
2051
|
}
|
|
2037
2052
|
|
|
2038
|
-
class ChartAccountsMetadata$1 {
|
|
2053
|
+
class ChartAccountsMetadata$1 extends AbstractModel {
|
|
2039
2054
|
}
|
|
2040
2055
|
|
|
2041
2056
|
var ChartAccountsMetadataListEnum;
|
|
@@ -2212,7 +2227,7 @@ __decorate([
|
|
|
2212
2227
|
Type(() => ChartAccountsMetadata)
|
|
2213
2228
|
], ChartAccounts.prototype, "metadata", void 0);
|
|
2214
2229
|
|
|
2215
|
-
class BankTransaction$1 {
|
|
2230
|
+
class BankTransaction$1 extends AbstractModel {
|
|
2216
2231
|
}
|
|
2217
2232
|
|
|
2218
2233
|
var BankTransactionTypeEnum;
|
|
@@ -2236,13 +2251,13 @@ var TransactionTypeEnum;
|
|
|
2236
2251
|
TransactionTypeEnum[TransactionTypeEnum["CREDIT"] = 2] = "CREDIT";
|
|
2237
2252
|
})(TransactionTypeEnum || (TransactionTypeEnum = {}));
|
|
2238
2253
|
|
|
2239
|
-
class Property$1 {
|
|
2254
|
+
class Property$1 extends AbstractModel {
|
|
2240
2255
|
}
|
|
2241
2256
|
|
|
2242
|
-
class PropertySubscription$1 {
|
|
2257
|
+
class PropertySubscription$1 extends AbstractModel {
|
|
2243
2258
|
}
|
|
2244
2259
|
|
|
2245
|
-
class User$1 {
|
|
2260
|
+
class User$1 extends AbstractModel {
|
|
2246
2261
|
}
|
|
2247
2262
|
|
|
2248
2263
|
var UserStatusEnum;
|
|
@@ -2267,10 +2282,10 @@ var UserRolesEnum;
|
|
|
2267
2282
|
UserRolesEnum["SWITCH_USER"] = "ROLE_PREVIOUS_ADMIN";
|
|
2268
2283
|
})(UserRolesEnum || (UserRolesEnum = {}));
|
|
2269
2284
|
|
|
2270
|
-
class Address$1 {
|
|
2285
|
+
class Address$1 extends AbstractModel {
|
|
2271
2286
|
}
|
|
2272
2287
|
|
|
2273
|
-
class Country$1 {
|
|
2288
|
+
class Country$1 extends AbstractModel {
|
|
2274
2289
|
}
|
|
2275
2290
|
|
|
2276
2291
|
class Country extends Country$1 {
|
|
@@ -2319,19 +2334,19 @@ const USER_WORK_POSITION = {
|
|
|
2319
2334
|
[UserRolesEnum.FIRM_OWNER]: 'Firm Owner'
|
|
2320
2335
|
};
|
|
2321
2336
|
|
|
2322
|
-
class ClientDetails$1 {
|
|
2337
|
+
class ClientDetails$1 extends AbstractModel {
|
|
2323
2338
|
}
|
|
2324
2339
|
|
|
2325
2340
|
class ClientDetails extends ClientDetails$1 {
|
|
2326
2341
|
}
|
|
2327
2342
|
|
|
2328
|
-
class EmployeeDetails$1 {
|
|
2343
|
+
class EmployeeDetails$1 extends AbstractModel {
|
|
2329
2344
|
}
|
|
2330
2345
|
|
|
2331
|
-
class Firm$1 {
|
|
2346
|
+
class Firm$1 extends AbstractModel {
|
|
2332
2347
|
}
|
|
2333
2348
|
|
|
2334
|
-
class Phone$1 {
|
|
2349
|
+
class Phone$1 extends AbstractModel {
|
|
2335
2350
|
}
|
|
2336
2351
|
|
|
2337
2352
|
var PhoneTypeEnum;
|
|
@@ -2380,24 +2395,46 @@ __decorate([
|
|
|
2380
2395
|
Type(() => Firm)
|
|
2381
2396
|
], EmployeeDetails.prototype, "firm", void 0);
|
|
2382
2397
|
|
|
2383
|
-
class ServiceSubscription$1 {
|
|
2398
|
+
class ServiceSubscription$1 extends AbstractModel {
|
|
2384
2399
|
}
|
|
2385
2400
|
|
|
2386
|
-
class ServiceSubscriptionItem$1 {
|
|
2401
|
+
class ServiceSubscriptionItem$1 extends AbstractModel {
|
|
2387
2402
|
}
|
|
2388
2403
|
|
|
2389
|
-
class ServicePrice$1 {
|
|
2404
|
+
class ServicePrice$1 extends AbstractModel {
|
|
2390
2405
|
}
|
|
2391
2406
|
|
|
2392
|
-
class ServiceProduct$1 {
|
|
2407
|
+
class ServiceProduct$1 extends AbstractModel {
|
|
2393
2408
|
}
|
|
2394
2409
|
|
|
2410
|
+
var ServiceProductStatusEnum;
|
|
2411
|
+
(function (ServiceProductStatusEnum) {
|
|
2412
|
+
ServiceProductStatusEnum[ServiceProductStatusEnum["ARCHIVED"] = 0] = "ARCHIVED";
|
|
2413
|
+
ServiceProductStatusEnum[ServiceProductStatusEnum["ACTIVE"] = 1] = "ACTIVE";
|
|
2414
|
+
})(ServiceProductStatusEnum || (ServiceProductStatusEnum = {}));
|
|
2415
|
+
|
|
2416
|
+
var ServiceProductIdEnum;
|
|
2417
|
+
(function (ServiceProductIdEnum) {
|
|
2418
|
+
ServiceProductIdEnum[ServiceProductIdEnum["WORK_TANK_OLD"] = 1] = "WORK_TANK_OLD";
|
|
2419
|
+
ServiceProductIdEnum[ServiceProductIdEnum["PROPERTY_OLD"] = 2] = "PROPERTY_OLD";
|
|
2420
|
+
ServiceProductIdEnum[ServiceProductIdEnum["PROPERTY_TANK"] = 3] = "PROPERTY_TANK";
|
|
2421
|
+
ServiceProductIdEnum[ServiceProductIdEnum["WORK_TANK"] = 4] = "WORK_TANK";
|
|
2422
|
+
ServiceProductIdEnum[ServiceProductIdEnum["PROPERTIES"] = 5] = "PROPERTIES";
|
|
2423
|
+
ServiceProductIdEnum[ServiceProductIdEnum["SOLE_TANK"] = 6] = "SOLE_TANK";
|
|
2424
|
+
})(ServiceProductIdEnum || (ServiceProductIdEnum = {}));
|
|
2425
|
+
|
|
2395
2426
|
class ServiceProduct extends ServiceProduct$1 {
|
|
2396
|
-
|
|
2397
|
-
return this.
|
|
2427
|
+
isProperties() {
|
|
2428
|
+
return [ServiceProductIdEnum.PROPERTY_OLD, ServiceProductIdEnum.PROPERTIES].includes(this.id);
|
|
2398
2429
|
}
|
|
2399
|
-
|
|
2400
|
-
return this.
|
|
2430
|
+
isWorkTank() {
|
|
2431
|
+
return [ServiceProductIdEnum.WORK_TANK_OLD, ServiceProductIdEnum.WORK_TANK].includes(this.id);
|
|
2432
|
+
}
|
|
2433
|
+
isSoleTank() {
|
|
2434
|
+
return this.id === ServiceProductIdEnum.SOLE_TANK;
|
|
2435
|
+
}
|
|
2436
|
+
isArchived() {
|
|
2437
|
+
return this.status === ServiceProductStatusEnum.ARCHIVED;
|
|
2401
2438
|
}
|
|
2402
2439
|
}
|
|
2403
2440
|
|
|
@@ -2407,9 +2444,22 @@ __decorate([
|
|
|
2407
2444
|
Type(() => ServiceProduct)
|
|
2408
2445
|
], ServicePrice.prototype, "product", void 0);
|
|
2409
2446
|
|
|
2447
|
+
var ServicePriceListEnum;
|
|
2448
|
+
(function (ServicePriceListEnum) {
|
|
2449
|
+
ServicePriceListEnum[ServicePriceListEnum["PROPERTIES"] = 5] = "PROPERTIES";
|
|
2450
|
+
})(ServicePriceListEnum || (ServicePriceListEnum = {}));
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* backend bd doesn't support dynamic prices, as far as we have just one product like that we keep it hardcoded
|
|
2454
|
+
*/
|
|
2455
|
+
const PROPERTY_TANK_PRICE = 9;
|
|
2410
2456
|
class ServiceSubscriptionItem extends ServiceSubscriptionItem$1 {
|
|
2411
2457
|
get total() {
|
|
2412
|
-
|
|
2458
|
+
let price = this.price.amount * this.quantity;
|
|
2459
|
+
if (this.price.id === ServicePriceListEnum.PROPERTIES) {
|
|
2460
|
+
price += PROPERTY_TANK_PRICE;
|
|
2461
|
+
}
|
|
2462
|
+
return price;
|
|
2413
2463
|
}
|
|
2414
2464
|
}
|
|
2415
2465
|
__decorate([
|
|
@@ -2452,14 +2502,14 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
2452
2502
|
return this.items.reduce((sum, item) => sum + item.total, 0);
|
|
2453
2503
|
}
|
|
2454
2504
|
get propertyQuantity() {
|
|
2455
|
-
return this.
|
|
2505
|
+
return this.propertiesItem ? this.propertiesItem.quantity : 0;
|
|
2456
2506
|
}
|
|
2457
2507
|
/**
|
|
2458
2508
|
* get type of subscription
|
|
2459
2509
|
*/
|
|
2460
2510
|
get type() {
|
|
2461
2511
|
const workTankProduct = this.items.find((item) => {
|
|
2462
|
-
return item.price.product.
|
|
2512
|
+
return item.price.product.isWorkTank();
|
|
2463
2513
|
});
|
|
2464
2514
|
if (!this.workTankItem || !this.isActive) {
|
|
2465
2515
|
return SubscriptionTypeEnum.WITHOUT_SUBSCRIPTION;
|
|
@@ -2468,9 +2518,9 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
2468
2518
|
return SubscriptionTypeEnum.INDIVIDUAL;
|
|
2469
2519
|
}
|
|
2470
2520
|
const propertyTankProduct = this.items.find((item) => {
|
|
2471
|
-
return item.price.product.
|
|
2521
|
+
return item.price.product.isProperties();
|
|
2472
2522
|
});
|
|
2473
|
-
if (!!this.
|
|
2523
|
+
if (!!this.propertiesItem && propertyTankProduct.quantity === PROPERTY_INVESTOR_MAX_PROPERTIES) {
|
|
2474
2524
|
return SubscriptionTypeEnum.INVESTOR;
|
|
2475
2525
|
}
|
|
2476
2526
|
return SubscriptionTypeEnum.INVESTOR_PLUS;
|
|
@@ -2487,12 +2537,6 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
2487
2537
|
get description() {
|
|
2488
2538
|
return SUBSCRIPTION_DESCRIPTION[this.type];
|
|
2489
2539
|
}
|
|
2490
|
-
get workTankItem() {
|
|
2491
|
-
return this.items.find((item) => item.price.product.isWork());
|
|
2492
|
-
}
|
|
2493
|
-
get propertyTankItem() {
|
|
2494
|
-
return this.items.find((item) => item.price.product.isProperty());
|
|
2495
|
-
}
|
|
2496
2540
|
/**
|
|
2497
2541
|
* This check on getIsActive need for firm. Accountant has a endDate, but user has not endDate
|
|
2498
2542
|
* and for user we add check for endDate
|
|
@@ -2537,6 +2581,21 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
2537
2581
|
isTrialExpiring() {
|
|
2538
2582
|
return this.daysRemain > 0 && this.daysRemain <= this.lastTrialDays;
|
|
2539
2583
|
}
|
|
2584
|
+
isRenewable() {
|
|
2585
|
+
return !this.isTrial && !this.isArchived() && this.isActive;
|
|
2586
|
+
}
|
|
2587
|
+
/**
|
|
2588
|
+
* @TODO move to collection
|
|
2589
|
+
*/
|
|
2590
|
+
get workTankItem() {
|
|
2591
|
+
return this.items.find((item) => item.price.product.isWorkTank());
|
|
2592
|
+
}
|
|
2593
|
+
get soleTankItem() {
|
|
2594
|
+
return this.items.find((item) => item.price.product.isSoleTank());
|
|
2595
|
+
}
|
|
2596
|
+
get propertiesItem() {
|
|
2597
|
+
return this.items.find((item) => item.price.product.isProperties());
|
|
2598
|
+
}
|
|
2540
2599
|
hasPropertyTank() {
|
|
2541
2600
|
return !!this.items.find((subscriptionItem) => {
|
|
2542
2601
|
return subscriptionItem.price.product.role.includes(UserRolesEnum.PROPERTY_TANK);
|
|
@@ -2547,6 +2606,14 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
2547
2606
|
return subscriptionItem.price.product.role.includes(UserRolesEnum.WORK_TANK);
|
|
2548
2607
|
});
|
|
2549
2608
|
}
|
|
2609
|
+
/**
|
|
2610
|
+
* bought before price updates, active for some time to let customer select a new plan
|
|
2611
|
+
* impossible to update, only prolong or buy new
|
|
2612
|
+
*/
|
|
2613
|
+
isArchived() {
|
|
2614
|
+
// subscription with at least one archived product considered as archived
|
|
2615
|
+
return !!this.items.map((item) => item.price.product.isArchived()).length;
|
|
2616
|
+
}
|
|
2550
2617
|
}
|
|
2551
2618
|
__decorate([
|
|
2552
2619
|
Type(() => Date)
|
|
@@ -2694,7 +2761,7 @@ __decorate([
|
|
|
2694
2761
|
Type(() => User)
|
|
2695
2762
|
], PropertySubscription.prototype, "user", void 0);
|
|
2696
2763
|
|
|
2697
|
-
class PropertyCategory$1 {
|
|
2764
|
+
class PropertyCategory$1 extends AbstractModel {
|
|
2698
2765
|
}
|
|
2699
2766
|
|
|
2700
2767
|
class PropertyCategory extends PropertyCategory$1 {
|
|
@@ -2707,10 +2774,16 @@ class PropertyCategory extends PropertyCategory$1 {
|
|
|
2707
2774
|
}
|
|
2708
2775
|
}
|
|
2709
2776
|
|
|
2710
|
-
class PropertyValuation$1 {
|
|
2777
|
+
class PropertyValuation$1 extends AbstractModel {
|
|
2711
2778
|
}
|
|
2712
2779
|
|
|
2713
|
-
class PropertyDocument$1 {
|
|
2780
|
+
class PropertyDocument$1 extends AbstractModel {
|
|
2781
|
+
getApiUrlPrefix() {
|
|
2782
|
+
return '';
|
|
2783
|
+
}
|
|
2784
|
+
getEntity() {
|
|
2785
|
+
return undefined;
|
|
2786
|
+
}
|
|
2714
2787
|
}
|
|
2715
2788
|
|
|
2716
2789
|
// @TODO this enum should come from backend
|
|
@@ -2768,7 +2841,7 @@ __decorate([
|
|
|
2768
2841
|
Exclude()
|
|
2769
2842
|
], PropertyValuation.prototype, "documentFile", void 0);
|
|
2770
2843
|
|
|
2771
|
-
class PropertyForecast$1 {
|
|
2844
|
+
class PropertyForecast$1 extends AbstractModel {
|
|
2772
2845
|
}
|
|
2773
2846
|
|
|
2774
2847
|
class PropertyForecast extends PropertyForecast$1 {
|
|
@@ -2819,7 +2892,7 @@ __decorate([
|
|
|
2819
2892
|
Transform(({ value }) => +value)
|
|
2820
2893
|
], PropertyForecast.prototype, "marketValue", void 0);
|
|
2821
2894
|
|
|
2822
|
-
class PropertyCategoryMovement$1 {
|
|
2895
|
+
class PropertyCategoryMovement$1 extends AbstractModel {
|
|
2823
2896
|
}
|
|
2824
2897
|
|
|
2825
2898
|
class PropertyCategoryMovement extends PropertyCategoryMovement$1 {
|
|
@@ -3085,7 +3158,7 @@ __decorate([
|
|
|
3085
3158
|
Exclude()
|
|
3086
3159
|
], Property.prototype, "documentFile", void 0);
|
|
3087
3160
|
|
|
3088
|
-
class TransactionReceipt$1 {
|
|
3161
|
+
class TransactionReceipt$1 extends AbstractModel {
|
|
3089
3162
|
}
|
|
3090
3163
|
|
|
3091
3164
|
class TransactionReceipt extends TransactionReceipt$1 {
|
|
@@ -3096,7 +3169,7 @@ class TransactionReceipt extends TransactionReceipt$1 {
|
|
|
3096
3169
|
}
|
|
3097
3170
|
}
|
|
3098
3171
|
|
|
3099
|
-
class IncomeSource$1 {
|
|
3172
|
+
class IncomeSource$1 extends AbstractModel {
|
|
3100
3173
|
}
|
|
3101
3174
|
|
|
3102
3175
|
var IncomeSourceTypeEnum;
|
|
@@ -3107,7 +3180,7 @@ var IncomeSourceTypeEnum;
|
|
|
3107
3180
|
IncomeSourceTypeEnum[IncomeSourceTypeEnum["SOLE"] = 4] = "SOLE";
|
|
3108
3181
|
})(IncomeSourceTypeEnum || (IncomeSourceTypeEnum = {}));
|
|
3109
3182
|
|
|
3110
|
-
class SalaryForecast$1 {
|
|
3183
|
+
class SalaryForecast$1 extends AbstractModel {
|
|
3111
3184
|
}
|
|
3112
3185
|
|
|
3113
3186
|
class SalaryForecast extends SalaryForecast$1 {
|
|
@@ -3120,7 +3193,7 @@ __decorate([
|
|
|
3120
3193
|
Type(() => IncomeSource)
|
|
3121
3194
|
], SalaryForecast.prototype, "incomeSource", void 0);
|
|
3122
3195
|
|
|
3123
|
-
class SoleForecast$1 {
|
|
3196
|
+
class SoleForecast$1 extends AbstractModel {
|
|
3124
3197
|
}
|
|
3125
3198
|
|
|
3126
3199
|
class SoleForecast extends SoleForecast$1 {
|
|
@@ -3133,7 +3206,7 @@ __decorate([
|
|
|
3133
3206
|
Type(() => IncomeSource)
|
|
3134
3207
|
], SoleForecast.prototype, "incomeSource", void 0);
|
|
3135
3208
|
|
|
3136
|
-
class IncomeSourceForecast$1 {
|
|
3209
|
+
class IncomeSourceForecast$1 extends AbstractModel {
|
|
3137
3210
|
}
|
|
3138
3211
|
|
|
3139
3212
|
var SalaryForecastFrequencyEnum;
|
|
@@ -3144,7 +3217,7 @@ var SalaryForecastFrequencyEnum;
|
|
|
3144
3217
|
SalaryForecastFrequencyEnum[SalaryForecastFrequencyEnum["WEEKLY"] = 52] = "WEEKLY";
|
|
3145
3218
|
})(SalaryForecastFrequencyEnum || (SalaryForecastFrequencyEnum = {}));
|
|
3146
3219
|
|
|
3147
|
-
class IncomeSourceType$1 {
|
|
3220
|
+
class IncomeSourceType$1 extends AbstractModel {
|
|
3148
3221
|
}
|
|
3149
3222
|
|
|
3150
3223
|
var IncomeSourceTypeListSalaryEnum;
|
|
@@ -3272,7 +3345,7 @@ __decorate([
|
|
|
3272
3345
|
Type(() => Date)
|
|
3273
3346
|
], IncomeSource.prototype, "dateTo", void 0);
|
|
3274
3347
|
|
|
3275
|
-
class TransactionMetadata$1 {
|
|
3348
|
+
class TransactionMetadata$1 extends AbstractModel {
|
|
3276
3349
|
}
|
|
3277
3350
|
|
|
3278
3351
|
class TransactionMetadata extends TransactionMetadata$1 {
|
|
@@ -3281,7 +3354,7 @@ __decorate([
|
|
|
3281
3354
|
Type(() => ChartAccountsMetadata)
|
|
3282
3355
|
], TransactionMetadata.prototype, "metadata", void 0);
|
|
3283
3356
|
|
|
3284
|
-
class Loan$1 {
|
|
3357
|
+
class Loan$1 extends AbstractModel {
|
|
3285
3358
|
}
|
|
3286
3359
|
|
|
3287
3360
|
var LoanRepaymentTypeEnum;
|
|
@@ -3307,7 +3380,7 @@ __decorate([
|
|
|
3307
3380
|
Type(() => Date)
|
|
3308
3381
|
], LoanPayment.prototype, "date", void 0);
|
|
3309
3382
|
|
|
3310
|
-
class LoanPayout$1 {
|
|
3383
|
+
class LoanPayout$1 extends AbstractModel {
|
|
3311
3384
|
}
|
|
3312
3385
|
|
|
3313
3386
|
var LoanPayoutTypeEnum;
|
|
@@ -3355,7 +3428,7 @@ __decorate([
|
|
|
3355
3428
|
Type(() => LoanPayout)
|
|
3356
3429
|
], Loan.prototype, "payout", void 0);
|
|
3357
3430
|
|
|
3358
|
-
class TransactionAllocation$1 {
|
|
3431
|
+
class TransactionAllocation$1 extends AbstractModel {
|
|
3359
3432
|
}
|
|
3360
3433
|
|
|
3361
3434
|
class TransactionAllocation extends TransactionAllocation$1 {
|
|
@@ -3914,7 +3987,7 @@ class PropertyReportItemTransactionCollection extends PropertyReportItemCollecti
|
|
|
3914
3987
|
properties.items.forEach((property) => {
|
|
3915
3988
|
const transactionsDictionary = new CollectionDictionary(transactions.getByPropertiesIds([property.id]), 'chartAccounts.id');
|
|
3916
3989
|
transactionsDictionary.keys.map((chartAccountId) => {
|
|
3917
|
-
this.items.push(new PropertyReportItemTransaction(transactionsDictionary.get(chartAccountId), property, chartAccounts.
|
|
3990
|
+
this.items.push(new PropertyReportItemTransaction(transactionsDictionary.get(chartAccountId), property, chartAccounts.findBy('id', +chartAccountId)));
|
|
3918
3991
|
});
|
|
3919
3992
|
});
|
|
3920
3993
|
}
|
|
@@ -3951,21 +4024,12 @@ class PropertyReportItemDepreciationCollection extends PropertyReportItemCollect
|
|
|
3951
4024
|
properties.items.forEach((property) => {
|
|
3952
4025
|
const depreciationsByType = new CollectionDictionary(depreciations, 'type');
|
|
3953
4026
|
depreciationsByType.keys.map((type) => {
|
|
3954
|
-
this.items.push(new PropertyReportItemDepreciation(depreciationsByType.get(type), property, chartAccounts.
|
|
4027
|
+
this.items.push(new PropertyReportItemDepreciation(depreciationsByType.get(type), property, chartAccounts.findBy('id', depreciationsByType.get(type).first.chartAccounts.id)));
|
|
3955
4028
|
});
|
|
3956
4029
|
});
|
|
3957
4030
|
}
|
|
3958
4031
|
}
|
|
3959
4032
|
|
|
3960
|
-
class ServicePriceCollection extends Collection {
|
|
3961
|
-
get work() {
|
|
3962
|
-
return this.items.filter((price) => price.product.isWork())[0];
|
|
3963
|
-
}
|
|
3964
|
-
get property() {
|
|
3965
|
-
return this.items.filter((price) => price.product.isProperty())[0];
|
|
3966
|
-
}
|
|
3967
|
-
}
|
|
3968
|
-
|
|
3969
4033
|
class ServiceSubscriptionCollection extends Collection {
|
|
3970
4034
|
get individual() {
|
|
3971
4035
|
return this.items.filter((subscription) => subscription.isIndividual())[0];
|
|
@@ -4803,7 +4867,7 @@ var VehicleLogbookPurposeEnum;
|
|
|
4803
4867
|
class AccountSetupItem {
|
|
4804
4868
|
}
|
|
4805
4869
|
|
|
4806
|
-
class Bank$1 {
|
|
4870
|
+
class Bank$1 extends AbstractModel {
|
|
4807
4871
|
}
|
|
4808
4872
|
|
|
4809
4873
|
class Bank extends Bank$1 {
|
|
@@ -4818,13 +4882,13 @@ class Bank extends Bank$1 {
|
|
|
4818
4882
|
}
|
|
4819
4883
|
}
|
|
4820
4884
|
|
|
4821
|
-
class BankAccount$1 {
|
|
4885
|
+
class BankAccount$1 extends AbstractModel {
|
|
4822
4886
|
}
|
|
4823
4887
|
|
|
4824
|
-
class BankAccountBalance {
|
|
4888
|
+
class BankAccountBalance extends AbstractModel {
|
|
4825
4889
|
}
|
|
4826
4890
|
|
|
4827
|
-
class BankAccountProperty$1 {
|
|
4891
|
+
class BankAccountProperty$1 extends AbstractModel {
|
|
4828
4892
|
}
|
|
4829
4893
|
|
|
4830
4894
|
class BankAccountProperty extends BankAccountProperty$1 {
|
|
@@ -4833,10 +4897,10 @@ __decorate([
|
|
|
4833
4897
|
Type(() => Property)
|
|
4834
4898
|
], BankAccountProperty.prototype, "property", void 0);
|
|
4835
4899
|
|
|
4836
|
-
class BankConnection$1 {
|
|
4900
|
+
class BankConnection$1 extends AbstractModel {
|
|
4837
4901
|
}
|
|
4838
4902
|
|
|
4839
|
-
class BasiqJob$1 {
|
|
4903
|
+
class BasiqJob$1 extends AbstractModel {
|
|
4840
4904
|
}
|
|
4841
4905
|
|
|
4842
4906
|
class BasiqJob extends BasiqJob$1 {
|
|
@@ -5192,13 +5256,13 @@ class BasiqToken {
|
|
|
5192
5256
|
}
|
|
5193
5257
|
}
|
|
5194
5258
|
|
|
5195
|
-
class BorrowingExpense$1 {
|
|
5259
|
+
class BorrowingExpense$1 extends AbstractModel {
|
|
5196
5260
|
}
|
|
5197
5261
|
|
|
5198
5262
|
class BorrowingExpense extends BorrowingExpense$1 {
|
|
5199
5263
|
}
|
|
5200
5264
|
|
|
5201
|
-
class BorrowingExpenseLoan$1 {
|
|
5265
|
+
class BorrowingExpenseLoan$1 extends AbstractModel {
|
|
5202
5266
|
}
|
|
5203
5267
|
|
|
5204
5268
|
class BorrowingExpenseLoan extends BorrowingExpenseLoan$1 {
|
|
@@ -5221,7 +5285,7 @@ __decorate([
|
|
|
5221
5285
|
Type(() => ChartSerie)
|
|
5222
5286
|
], ChartData.prototype, "data", void 0);
|
|
5223
5287
|
|
|
5224
|
-
class ChartAccountsDepreciation$1 {
|
|
5288
|
+
class ChartAccountsDepreciation$1 extends AbstractModel {
|
|
5225
5289
|
}
|
|
5226
5290
|
|
|
5227
5291
|
class ChartAccountsDepreciation extends ChartAccountsDepreciation$1 {
|
|
@@ -5243,13 +5307,13 @@ var ChartAccountsTaxLabelsEnum;
|
|
|
5243
5307
|
ChartAccountsTaxLabelsEnum["TAX_DEDUCTED"] = "Tax Deducted";
|
|
5244
5308
|
})(ChartAccountsTaxLabelsEnum || (ChartAccountsTaxLabelsEnum = {}));
|
|
5245
5309
|
|
|
5246
|
-
class ChartAccountsValue$1 {
|
|
5310
|
+
class ChartAccountsValue$1 extends AbstractModel {
|
|
5247
5311
|
}
|
|
5248
5312
|
|
|
5249
5313
|
class ChartAccountsValue extends ChartAccountsValue$1 {
|
|
5250
5314
|
}
|
|
5251
5315
|
|
|
5252
|
-
class Chat$1 {
|
|
5316
|
+
class Chat$1 extends AbstractModel {
|
|
5253
5317
|
}
|
|
5254
5318
|
|
|
5255
5319
|
class Chat extends Chat$1 {
|
|
@@ -5276,10 +5340,10 @@ var ChatViewTypeEnum;
|
|
|
5276
5340
|
ChatViewTypeEnum[ChatViewTypeEnum["ATTACHMENTS"] = 1] = "ATTACHMENTS";
|
|
5277
5341
|
})(ChatViewTypeEnum || (ChatViewTypeEnum = {}));
|
|
5278
5342
|
|
|
5279
|
-
class Message$1 {
|
|
5343
|
+
class Message$1 extends AbstractModel {
|
|
5280
5344
|
}
|
|
5281
5345
|
|
|
5282
|
-
class MessageDocument$1 {
|
|
5346
|
+
class MessageDocument$1 extends AbstractModel {
|
|
5283
5347
|
}
|
|
5284
5348
|
|
|
5285
5349
|
class MessageDocument extends MessageDocument$1 {
|
|
@@ -5330,7 +5394,7 @@ __decorate([
|
|
|
5330
5394
|
Expose()
|
|
5331
5395
|
], Message.prototype, "documents", void 0);
|
|
5332
5396
|
|
|
5333
|
-
class ClientIncomeTypes$1 {
|
|
5397
|
+
class ClientIncomeTypes$1 extends AbstractModel {
|
|
5334
5398
|
}
|
|
5335
5399
|
|
|
5336
5400
|
class ClientIncomeTypes extends ClientIncomeTypes$1 {
|
|
@@ -5342,10 +5406,10 @@ class ClientIncomeTypes extends ClientIncomeTypes$1 {
|
|
|
5342
5406
|
}
|
|
5343
5407
|
}
|
|
5344
5408
|
|
|
5345
|
-
class ClientInvite$1 {
|
|
5409
|
+
class ClientInvite$1 extends AbstractModel {
|
|
5346
5410
|
}
|
|
5347
5411
|
|
|
5348
|
-
class RegistrationInvite$1 {
|
|
5412
|
+
class RegistrationInvite$1 extends AbstractModel {
|
|
5349
5413
|
}
|
|
5350
5414
|
|
|
5351
5415
|
class RegistrationInvite extends RegistrationInvite$1 {
|
|
@@ -5416,7 +5480,7 @@ __decorate([
|
|
|
5416
5480
|
Type(() => RegistrationInvite)
|
|
5417
5481
|
], ClientInvite.prototype, "registrationInvite", void 0);
|
|
5418
5482
|
|
|
5419
|
-
class ClientMovement$1 {
|
|
5483
|
+
class ClientMovement$1 extends AbstractModel {
|
|
5420
5484
|
}
|
|
5421
5485
|
|
|
5422
5486
|
class ClientMovement extends ClientMovement$1 {
|
|
@@ -5596,7 +5660,7 @@ const DEPRECIATION_GROUPS = {
|
|
|
5596
5660
|
}
|
|
5597
5661
|
};
|
|
5598
5662
|
|
|
5599
|
-
class DepreciationReceipt$1 {
|
|
5663
|
+
class DepreciationReceipt$1 extends AbstractModel {
|
|
5600
5664
|
}
|
|
5601
5665
|
|
|
5602
5666
|
class DepreciationReceipt extends DepreciationReceipt$1 {
|
|
@@ -5607,7 +5671,7 @@ class DepreciationReceipt extends DepreciationReceipt$1 {
|
|
|
5607
5671
|
}
|
|
5608
5672
|
}
|
|
5609
5673
|
|
|
5610
|
-
class Document$1 {
|
|
5674
|
+
class Document$1 extends AbstractModel {
|
|
5611
5675
|
}
|
|
5612
5676
|
|
|
5613
5677
|
/**
|
|
@@ -5662,7 +5726,7 @@ const DOCUMENT_FILE_TYPES = {
|
|
|
5662
5726
|
]
|
|
5663
5727
|
};
|
|
5664
5728
|
|
|
5665
|
-
class DocumentFolder$1 {
|
|
5729
|
+
class DocumentFolder$1 extends AbstractModel {
|
|
5666
5730
|
}
|
|
5667
5731
|
|
|
5668
5732
|
class DocumentFolder extends DocumentFolder$1 {
|
|
@@ -5671,7 +5735,7 @@ __decorate([
|
|
|
5671
5735
|
Type(() => Document)
|
|
5672
5736
|
], DocumentFolder.prototype, "documents", void 0);
|
|
5673
5737
|
|
|
5674
|
-
class EmployeeInvite$1 {
|
|
5738
|
+
class EmployeeInvite$1 extends AbstractModel {
|
|
5675
5739
|
}
|
|
5676
5740
|
|
|
5677
5741
|
class EmployeeInvite extends EmployeeInvite$1 {
|
|
@@ -5838,10 +5902,10 @@ const WORK_TANK_LOGBOOK_PURPOSE_OPTIONS = [
|
|
|
5838
5902
|
{ label: 'Personal', value: VehicleLogbookPurposeEnum.PERSONAL }
|
|
5839
5903
|
];
|
|
5840
5904
|
|
|
5841
|
-
class Vehicle$1 {
|
|
5905
|
+
class Vehicle$1 extends AbstractModel {
|
|
5842
5906
|
}
|
|
5843
5907
|
|
|
5844
|
-
class VehicleLogbook$1 {
|
|
5908
|
+
class VehicleLogbook$1 extends AbstractModel {
|
|
5845
5909
|
}
|
|
5846
5910
|
|
|
5847
5911
|
class VehicleLogbook extends VehicleLogbook$1 {
|
|
@@ -5874,7 +5938,7 @@ __decorate([
|
|
|
5874
5938
|
Type(() => VehicleLogbook)
|
|
5875
5939
|
], Vehicle.prototype, "logbook", void 0);
|
|
5876
5940
|
|
|
5877
|
-
class VehicleClaim$1 {
|
|
5941
|
+
class VehicleClaim$1 extends AbstractModel {
|
|
5878
5942
|
}
|
|
5879
5943
|
|
|
5880
5944
|
const WEEKS_IN_YEAR = 52;
|
|
@@ -5959,7 +6023,7 @@ class VehicleClaim extends VehicleClaim$1 {
|
|
|
5959
6023
|
}
|
|
5960
6024
|
}
|
|
5961
6025
|
|
|
5962
|
-
class ServiceNotification {
|
|
6026
|
+
class ServiceNotification extends AbstractModel {
|
|
5963
6027
|
}
|
|
5964
6028
|
|
|
5965
6029
|
class Notification extends ServiceNotification {
|
|
@@ -6280,7 +6344,7 @@ class PropertyEquityChartData {
|
|
|
6280
6344
|
}
|
|
6281
6345
|
}
|
|
6282
6346
|
|
|
6283
|
-
class PropertyShare$1 {
|
|
6347
|
+
class PropertyShare$1 extends AbstractModel {
|
|
6284
6348
|
}
|
|
6285
6349
|
|
|
6286
6350
|
class PropertyShare extends PropertyShare$1 {
|
|
@@ -6324,10 +6388,10 @@ __decorate([
|
|
|
6324
6388
|
Transform(({ obj }) => obj.user ? obj.user.email : obj.invite.email)
|
|
6325
6389
|
], PropertyShare.prototype, "email", void 0);
|
|
6326
6390
|
|
|
6327
|
-
class PropertySale$1 {
|
|
6391
|
+
class PropertySale$1 extends AbstractModel {
|
|
6328
6392
|
}
|
|
6329
6393
|
|
|
6330
|
-
class PropertySaleTaxExemptionMetadata$1 {
|
|
6394
|
+
class PropertySaleTaxExemptionMetadata$1 extends AbstractModel {
|
|
6331
6395
|
}
|
|
6332
6396
|
|
|
6333
6397
|
class PropertySale extends PropertySale$1 {
|
|
@@ -6345,13 +6409,13 @@ __decorate([
|
|
|
6345
6409
|
Type(() => PropertySaleTaxExemptionMetadata$1)
|
|
6346
6410
|
], PropertySale.prototype, "taxExemptionMetadata", void 0);
|
|
6347
6411
|
|
|
6348
|
-
class TaxExemption$1 {
|
|
6412
|
+
class TaxExemption$1 extends AbstractModel {
|
|
6349
6413
|
}
|
|
6350
6414
|
|
|
6351
6415
|
class TaxExemption extends TaxExemption$1 {
|
|
6352
6416
|
}
|
|
6353
6417
|
|
|
6354
|
-
class TaxExemptionMetadata$1 {
|
|
6418
|
+
class TaxExemptionMetadata$1 extends AbstractModel {
|
|
6355
6419
|
}
|
|
6356
6420
|
|
|
6357
6421
|
class TaxExemptionMetadata extends TaxExemptionMetadata$1 {
|
|
@@ -6372,7 +6436,7 @@ const MODULE_URL_LIST = {
|
|
|
6372
6436
|
myAccount: '/client/my-account/subscription'
|
|
6373
6437
|
};
|
|
6374
6438
|
|
|
6375
|
-
class ServicePayment$1 {
|
|
6439
|
+
class ServicePayment$1 extends AbstractModel {
|
|
6376
6440
|
}
|
|
6377
6441
|
|
|
6378
6442
|
class ServicePayment extends ServicePayment$1 {
|
|
@@ -6381,7 +6445,7 @@ __decorate([
|
|
|
6381
6445
|
Type(() => ServiceSubscription)
|
|
6382
6446
|
], ServicePayment.prototype, "subscription", void 0);
|
|
6383
6447
|
|
|
6384
|
-
class TaxReview$1 {
|
|
6448
|
+
class TaxReview$1 extends AbstractModel {
|
|
6385
6449
|
}
|
|
6386
6450
|
|
|
6387
6451
|
class TaxReview extends TaxReview$1 {
|
|
@@ -6629,7 +6693,7 @@ var MyAccountHistoryTypeEnum;
|
|
|
6629
6693
|
MyAccountHistoryTypeEnum[MyAccountHistoryTypeEnum["UPLOAD_DOCUMENT"] = 2] = "UPLOAD_DOCUMENT";
|
|
6630
6694
|
})(MyAccountHistoryTypeEnum || (MyAccountHistoryTypeEnum = {}));
|
|
6631
6695
|
|
|
6632
|
-
class Occupation$1 {
|
|
6696
|
+
class Occupation$1 extends AbstractModel {
|
|
6633
6697
|
}
|
|
6634
6698
|
|
|
6635
6699
|
class Occupation extends Occupation$1 {
|
|
@@ -6653,16 +6717,16 @@ const USER_ROLES = {
|
|
|
6653
6717
|
class UserToRegister {
|
|
6654
6718
|
}
|
|
6655
6719
|
|
|
6656
|
-
class UserEventTypeCategory$1 {
|
|
6720
|
+
class UserEventTypeCategory$1 extends AbstractModel {
|
|
6657
6721
|
}
|
|
6658
6722
|
|
|
6659
6723
|
class UserEventTypeCategory extends UserEventTypeCategory$1 {
|
|
6660
6724
|
}
|
|
6661
6725
|
|
|
6662
|
-
class UserEventSetting$1 {
|
|
6726
|
+
class UserEventSetting$1 extends AbstractModel {
|
|
6663
6727
|
}
|
|
6664
6728
|
|
|
6665
|
-
class UserEventType$1 {
|
|
6729
|
+
class UserEventType$1 extends AbstractModel {
|
|
6666
6730
|
}
|
|
6667
6731
|
|
|
6668
6732
|
class UserEventType extends UserEventType$1 {
|
|
@@ -6909,7 +6973,7 @@ class RestService {
|
|
|
6909
6973
|
* get instance by id from cache
|
|
6910
6974
|
* @param id ID of required item
|
|
6911
6975
|
*/
|
|
6912
|
-
|
|
6976
|
+
findById(id) {
|
|
6913
6977
|
return this.get()
|
|
6914
6978
|
.pipe(map((items) => {
|
|
6915
6979
|
return items.find((item) => item['id'] === id);
|
|
@@ -10414,55 +10478,16 @@ class SubscriptionService {
|
|
|
10414
10478
|
}
|
|
10415
10479
|
return this.serviceSubscriptionSubject.asObservable();
|
|
10416
10480
|
}
|
|
10417
|
-
/**
|
|
10418
|
-
* @TODO right now we have only monthly prices, the function should be refactored to support other options in future
|
|
10419
|
-
*
|
|
10420
|
-
* create available subscription plans based on existing products
|
|
10421
|
-
*/
|
|
10422
|
-
getSubscriptionPlans() {
|
|
10423
|
-
if (!this._serviceSubscriptions) {
|
|
10424
|
-
this.http.get(`${this.environment.apiV2}/service-prices`)
|
|
10425
|
-
.pipe(map((response) => {
|
|
10426
|
-
return new ServicePriceCollection(response['hydra:member'].map((item) => plainToClass(ServicePrice, item)));
|
|
10427
|
-
}))
|
|
10428
|
-
.subscribe((prices) => {
|
|
10429
|
-
this._serviceSubscriptions = new ServiceSubscriptionCollection([
|
|
10430
|
-
plainToClass(ServiceSubscription, { items: [] }),
|
|
10431
|
-
plainToClass(ServiceSubscription, {
|
|
10432
|
-
items: [plainToClass(ServiceSubscriptionItem, {
|
|
10433
|
-
price: prices.property,
|
|
10434
|
-
quantity: 2
|
|
10435
|
-
})]
|
|
10436
|
-
}),
|
|
10437
|
-
plainToClass(ServiceSubscription, {
|
|
10438
|
-
items: [plainToClass(ServiceSubscriptionItem, {
|
|
10439
|
-
price: prices.property,
|
|
10440
|
-
quantity: 3
|
|
10441
|
-
})]
|
|
10442
|
-
})
|
|
10443
|
-
]);
|
|
10444
|
-
this._serviceSubscriptions.items.forEach((subscription) => {
|
|
10445
|
-
subscription.items.push(plainToClass(ServiceSubscriptionItem, { price: prices.work, quantity: 1 }));
|
|
10446
|
-
});
|
|
10447
|
-
this.serviceSubscriptionsSubject.next(this._serviceSubscriptions);
|
|
10448
|
-
});
|
|
10449
|
-
}
|
|
10450
|
-
return this.serviceSubscriptionsSubject.asObservable();
|
|
10451
|
-
}
|
|
10452
10481
|
/**
|
|
10453
10482
|
* redirect to stripe payment page
|
|
10454
10483
|
*/
|
|
10455
|
-
checkoutRedirect(subscription
|
|
10484
|
+
checkoutRedirect(subscription) {
|
|
10456
10485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10457
10486
|
const stripe = yield loadStripe(this.environment.stripePk);
|
|
10458
|
-
// @TODO vik
|
|
10459
|
-
const lineItems = subscription.items.map((item) => {
|
|
10460
|
-
return { servicePriceId: item.price.id, quantity: item.quantity };
|
|
10461
|
-
});
|
|
10462
10487
|
this.http.post(`${this.environment.apiV2}/stripe/checkout-session`, {
|
|
10463
|
-
|
|
10464
|
-
successUrl:
|
|
10465
|
-
cancelUrl:
|
|
10488
|
+
items: subscription.items,
|
|
10489
|
+
successUrl: window.location.href,
|
|
10490
|
+
cancelUrl: window.location.href
|
|
10466
10491
|
})
|
|
10467
10492
|
.subscribe((session) => {
|
|
10468
10493
|
// @Todo remove user TRIAL status
|
|
@@ -10525,6 +10550,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
10525
10550
|
args: ['environment']
|
|
10526
10551
|
}] }]; } });
|
|
10527
10552
|
|
|
10553
|
+
/**
|
|
10554
|
+
* Service that handling banks logic
|
|
10555
|
+
*/
|
|
10556
|
+
class ServicePriceService extends RestService {
|
|
10557
|
+
constructor() {
|
|
10558
|
+
super(...arguments);
|
|
10559
|
+
this.modelClass = ServicePrice;
|
|
10560
|
+
this.url = 'service-prices';
|
|
10561
|
+
this.isHydra = true;
|
|
10562
|
+
}
|
|
10563
|
+
}
|
|
10564
|
+
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10565
|
+
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
|
|
10566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, decorators: [{
|
|
10567
|
+
type: Injectable,
|
|
10568
|
+
args: [{
|
|
10569
|
+
providedIn: 'root'
|
|
10570
|
+
}]
|
|
10571
|
+
}] });
|
|
10572
|
+
|
|
10528
10573
|
/**
|
|
10529
10574
|
* Service to work with tax review
|
|
10530
10575
|
*/
|
|
@@ -11448,5 +11493,5 @@ class VehicleClaimForm extends AbstractForm {
|
|
|
11448
11493
|
* Generated bundle index. Do not edit.
|
|
11449
11494
|
*/
|
|
11450
11495
|
|
|
11451
|
-
export { AbstractForm, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, KompassifyService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, Occupation, OccupationService, PasswordForm, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyHoldingCostsService, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice,
|
|
11496
|
+
export { AbstractForm, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, KompassifyService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, Occupation, OccupationService, PasswordForm, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyHoldingCostsService, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleForecast, SoleForecastService, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionCalculationService, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, Vehicle, VehicleClaim, VehicleClaimForm, VehicleClaimMethodEnum, VehicleClaimService, VehicleCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, XlsxService, cloneDeep, compare, compareMatOptions, createDate, displayMatOptions, enumToList, getDocIcon, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
|
|
11452
11497
|
//# sourceMappingURL=taxtank-core.js.map
|