taxtank-core 0.33.2 → 0.33.4
Sign up to get free protection for your applications and to get access to all the features.
- package/common/src/db/enums/user/user-roles.enum.d.ts +1 -0
- package/common/src/services/mixpanel.service.d.ts +1 -0
- package/esm2022/common/src/common.module.mjs +7 -5
- package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +2 -1
- package/esm2022/common/src/interceptors/interceptors.module.mjs +5 -5
- package/esm2022/common/src/interceptors/jwt-interceptor.mjs +6 -6
- package/esm2022/common/src/services/auth/auth.service.mjs +6 -6
- package/esm2022/common/src/services/auth/jwt.service.mjs +4 -4
- package/esm2022/common/src/services/mixpanel.service.mjs +13 -7
- package/esm2022/public-api.mjs +2 -3
- package/esm2022/src/lib/collections/bank-transaction.collection.mjs +2 -2
- package/esm2022/src/lib/collections/chat/chat.collection.mjs +1 -19
- package/esm2022/src/lib/collections/client-movement.collection.mjs +5 -4
- package/esm2022/src/lib/collections/client.collection.mjs +1 -1
- package/esm2022/src/lib/collections/collection-dictionary.mjs +4 -1
- package/esm2022/src/lib/collections/collection.mjs +14 -3
- package/esm2022/src/lib/collections/firm/employee-invite.collection.mjs +10 -0
- package/esm2022/src/lib/collections/firm/employee.collection.mjs +18 -0
- package/esm2022/src/lib/collections/firm/index.mjs +3 -0
- package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +2 -2
- package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +2 -2
- package/esm2022/src/lib/collections/index.mjs +3 -2
- package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +11 -1
- package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +2 -2
- package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +2 -2
- package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +1 -1
- package/esm2022/src/lib/collections/tax-review.collection.mjs +1 -7
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +4 -1
- package/esm2022/src/lib/collections/user/user.collection.mjs +4 -0
- package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +13 -1
- package/esm2022/src/lib/core.module.mjs +6 -5
- package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +2 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +2 -2
- package/esm2022/src/lib/db/Enums/firm/employee-invite-role.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/firm/firm-type.enum.mjs +6 -0
- package/esm2022/src/lib/db/Enums/firm/index.mjs +3 -0
- package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +6 -5
- package/esm2022/src/lib/db/Enums/index.mjs +3 -1
- package/esm2022/src/lib/db/Enums/user/gender.enum.mjs +14 -0
- package/esm2022/src/lib/db/Enums/user/index.mjs +2 -0
- package/esm2022/src/lib/db/Json/chart-accounts/chart-accounts-value.json +59 -4
- package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
- package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +1 -1
- package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +1 -1
- package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/chat.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/client-invite.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/client-movement.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/firm.mjs +1 -1
- package/esm2022/src/lib/db/Models/firm/message-document.mjs +1 -1
- package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +1 -1
- package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/property/property-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +1 -1
- package/esm2022/src/lib/db/Models/sole/sole-business.mjs +3 -3
- package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +3 -4
- package/esm2022/src/lib/db/Models/user/employee-details.mjs +1 -1
- package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +1 -1
- package/esm2022/src/lib/forms/abstract.form.mjs +9 -4
- package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
- package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +2 -2
- package/esm2022/src/lib/forms/chat/chat-filter.form.mjs +36 -0
- package/esm2022/src/lib/forms/chat/index.mjs +2 -0
- package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +1 -2
- package/esm2022/src/lib/forms/client/capital-loss.form.mjs +13 -0
- package/esm2022/src/lib/forms/client/index.mjs +2 -1
- package/esm2022/src/lib/forms/collection.form.mjs +29 -0
- package/esm2022/src/lib/forms/firm/client-invite-put.form.mjs +13 -0
- package/esm2022/src/lib/forms/firm/client-invite.form.mjs +18 -0
- package/esm2022/src/lib/forms/firm/client-movement.form.mjs +22 -0
- package/esm2022/src/lib/forms/firm/employee-details.form.mjs +21 -0
- package/esm2022/src/lib/forms/firm/employee-invite.form.mjs +24 -0
- package/esm2022/src/lib/forms/firm/firm-branch.form.mjs +13 -0
- package/esm2022/src/lib/forms/firm/firm-invite.form.mjs +18 -0
- package/esm2022/src/lib/forms/firm/index.mjs +8 -1
- package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +30 -4
- package/esm2022/src/lib/forms/index.mjs +4 -1
- package/esm2022/src/lib/forms/loan/loan.form.mjs +3 -7
- package/esm2022/src/lib/forms/register/register-client.form.mjs +9 -6
- package/esm2022/src/lib/forms/register/register-firm.form.mjs +4 -4
- package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +1 -1
- package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +1 -1
- package/esm2022/src/lib/forms/sole/bas-report.form.mjs +3 -2
- package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +4 -3
- package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +3 -2
- package/esm2022/src/lib/forms/tax-review/index.mjs +3 -0
- package/esm2022/src/lib/forms/tax-review/tax-review-filter-status.enum.mjs +6 -0
- package/esm2022/src/lib/forms/tax-review/tax-review-filter.form.mjs +49 -0
- package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +19 -9
- package/esm2022/src/lib/forms/transaction/index.mjs +2 -1
- package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +35 -0
- package/esm2022/src/lib/forms/transaction/transaction.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +2 -4
- package/esm2022/src/lib/forms/user/client-details.form.mjs +2 -2
- package/esm2022/src/lib/forms/user/user-invite.form.mjs +3 -2
- package/esm2022/src/lib/forms/user/user.form.mjs +11 -8
- package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +1 -1
- package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +1 -3
- package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +3 -4
- package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +5 -5
- package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +5 -5
- package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +6 -6
- package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +6 -6
- package/esm2022/src/lib/interceptors/interceptors.module.mjs +5 -5
- package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +5 -5
- package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +7 -6
- package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +6 -6
- package/esm2022/src/lib/models/bank/bank-connection.mjs +22 -1
- package/esm2022/src/lib/models/chat/chat.mjs +6 -2
- package/esm2022/src/lib/models/chat/message-document.mjs +4 -4
- package/esm2022/src/lib/models/client/annual-client-details.mjs +1 -1
- package/esm2022/src/lib/models/client/capital-loss.interface.mjs +2 -0
- package/esm2022/src/lib/models/client/capital-loss.mjs +15 -0
- package/esm2022/src/lib/models/client/client-details.mjs +27 -1
- package/esm2022/src/lib/models/client/client-invite.mjs +8 -5
- package/esm2022/src/lib/models/client/client-movement.mjs +8 -5
- package/esm2022/src/lib/models/client/index.mjs +3 -1
- package/esm2022/src/lib/models/depreciation/depreciation.mjs +4 -2
- package/esm2022/src/lib/models/employee/employee-details.mjs +8 -2
- package/esm2022/src/lib/models/employee/employee-invite.mjs +18 -2
- package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +22 -13
- package/esm2022/src/lib/models/event/app-event-type.enum.mjs +20 -21
- package/esm2022/src/lib/models/file/file.mjs +4 -1
- package/esm2022/src/lib/models/financial-year/financial-year.mjs +3 -3
- package/esm2022/src/lib/models/firm/firm-branch.interface.mjs +2 -0
- package/esm2022/src/lib/models/firm/firm-branch.mjs +22 -0
- package/esm2022/src/lib/models/firm/firm.mjs +2 -2
- package/esm2022/src/lib/models/firm/index.mjs +3 -0
- package/esm2022/src/lib/models/holding/holding.mjs +4 -4
- package/esm2022/src/lib/models/income-source/salary-forecast.mjs +1 -1
- package/esm2022/src/lib/models/income-source/sole-forecast.mjs +1 -1
- package/esm2022/src/lib/models/index.mjs +2 -1
- package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +11 -7
- package/esm2022/src/lib/models/property/property-forecast.mjs +1 -7
- package/esm2022/src/lib/models/property/property.mjs +6 -2
- package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +5 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +4 -4
- package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +2 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +4 -9
- package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +1 -1
- package/esm2022/src/lib/models/sole/bas-report.mjs +4 -1
- package/esm2022/src/lib/models/sole/sole-business-loss.mjs +1 -1
- package/esm2022/src/lib/models/sole/sole-invoice.mjs +7 -6
- package/esm2022/src/lib/models/tax-review/tax-review.mjs +12 -2
- package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +3 -2
- package/esm2022/src/lib/models/transaction/transaction.mjs +1 -1
- package/esm2022/src/lib/models/user/user.mjs +8 -5
- package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +3 -3
- package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +1 -1
- package/esm2022/src/lib/pipes/app-currency.pipe.mjs +4 -4
- package/esm2022/src/lib/pipes/safe-url.pipe.mjs +5 -5
- package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +9 -9
- package/esm2022/src/lib/services/asset/assets.service.mjs +6 -6
- package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +4 -4
- package/esm2022/src/lib/services/data.service.mjs +4 -4
- package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +4 -4
- package/esm2022/src/lib/services/event/sse.service.mjs +6 -6
- package/esm2022/src/lib/services/export/export-formatter.service.mjs +5 -5
- package/esm2022/src/lib/services/firm/current-firm-branch.service.mjs +26 -0
- package/esm2022/src/lib/services/firm/index.mjs +2 -0
- package/esm2022/src/lib/services/header-title/header-title.service.mjs +5 -5
- package/esm2022/src/lib/services/http/address/address.service.mjs +6 -6
- package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +6 -6
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +5 -2
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +11 -7
- package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +6 -6
- package/esm2022/src/lib/services/http/bank/bank.service.mjs +4 -4
- package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +4 -4
- package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +22 -6
- package/esm2022/src/lib/services/http/budget/budget.service.mjs +4 -4
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +4 -4
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +4 -4
- package/esm2022/src/lib/services/http/chat/chat.service.mjs +10 -10
- package/esm2022/src/lib/services/http/chat/message-document.service.mjs +6 -6
- package/esm2022/src/lib/services/http/chat/message.service.mjs +10 -6
- package/esm2022/src/lib/services/http/client/annual-client-details.service.mjs +23 -0
- package/esm2022/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/client/capital-loss/capital-loss.service.mjs +23 -0
- package/esm2022/src/lib/services/http/client/capital-loss/index.mjs +3 -0
- package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +4 -4
- package/esm2022/src/lib/services/http/client/index.mjs +3 -2
- package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +6 -6
- package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +4 -4
- package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +6 -6
- package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +4 -4
- package/esm2022/src/lib/services/http/document/document.service.mjs +4 -4
- package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +6 -6
- package/esm2022/src/lib/services/http/file/file.service.mjs +4 -4
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +2 -2
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +9 -12
- package/esm2022/src/lib/services/http/firm/client-movement/client-movement-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +8 -7
- package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +2 -1
- package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +2 -1
- package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +14 -8
- package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +9 -9
- package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.mjs +9 -0
- package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch.service.mjs +23 -0
- package/esm2022/src/lib/services/http/firm/firm-branch/index.mjs +3 -0
- package/esm2022/src/lib/services/http/firm/firm.service.mjs +7 -7
- package/esm2022/src/lib/services/http/firm/index.mjs +2 -1
- package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +6 -6
- package/esm2022/src/lib/services/http/google/google.service.mjs +6 -6
- package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +4 -4
- package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +4 -4
- package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +4 -4
- package/esm2022/src/lib/services/http/holding/holding.service.mjs +7 -7
- package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +6 -6
- package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +8 -8
- package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +6 -6
- package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +9 -8
- package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +6 -6
- package/esm2022/src/lib/services/http/loan/loan.service.mjs +6 -6
- package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +6 -6
- package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +4 -4
- package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +4 -4
- package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +4 -4
- package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +4 -4
- package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +4 -4
- package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +6 -6
- package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +6 -6
- package/esm2022/src/lib/services/http/property/property.service.mjs +7 -6
- package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +6 -6
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +12 -7
- package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +6 -6
- package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +4 -4
- package/esm2022/src/lib/services/http/sole/bas-report/bas-report-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +4 -4
- package/esm2022/src/lib/services/http/sole/bas-report/index.mjs +3 -0
- package/esm2022/src/lib/services/http/sole/index.mjs +2 -2
- package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +10 -14
- package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +4 -4
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +4 -4
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +8 -9
- package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +4 -4
- package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +6 -6
- package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +6 -6
- package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +6 -6
- package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +4 -4
- package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +4 -4
- package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +6 -6
- package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +4 -4
- package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +4 -4
- package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +6 -6
- package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +6 -6
- package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +6 -6
- package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +6 -6
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +4 -4
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +6 -6
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +6 -6
- package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +6 -6
- package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +4 -4
- package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +4 -4
- package/esm2022/src/lib/services/http/user/user.service.mjs +6 -6
- package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +4 -4
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +6 -6
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +19 -8
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +6 -5
- package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +4 -4
- package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +6 -6
- package/esm2022/src/lib/services/index.mjs +2 -1
- package/esm2022/src/lib/services/intercom/intercom.service.mjs +6 -6
- package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +5 -5
- package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +5 -5
- package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +5 -5
- package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +5 -5
- package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +5 -5
- package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +4 -4
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +5 -5
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +4 -4
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +4 -4
- package/esm2022/src/lib/services/preloader/preloader.service.mjs +5 -5
- package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +6 -6
- package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +6 -6
- package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +4 -4
- package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +17 -12
- package/esm2022/src/lib/services/toast/toast.service.mjs +4 -4
- package/esm2022/src/lib/services/user/user-switcher.service.mjs +4 -4
- package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +4 -4
- package/esm2022/src/lib/validators/date-range.validator.mjs +1 -1
- package/esm2022/src/lib/validators/fields-sum.validator.mjs +1 -1
- package/esm2022/src/lib/validators/greater-than.validator.mjs +1 -1
- package/esm2022/src/lib/validators/index.mjs +3 -1
- package/esm2022/src/lib/validators/match-sum.validator.mjs +16 -0
- package/esm2022/src/lib/validators/string/alpha-space.validator.mjs +10 -0
- package/esm2022/src/lib/validators/unique-email.validator.mjs +5 -5
- package/fesm2022/taxtank-core-common.mjs +36 -27
- package/fesm2022/taxtank-core-common.mjs.map +1 -1
- package/fesm2022/taxtank-core.mjs +1544 -869
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -2
- package/src/lib/collections/bank-transaction.collection.d.ts +3 -2
- package/src/lib/collections/chat/chat.collection.d.ts +1 -5
- package/src/lib/collections/client-movement.collection.d.ts +2 -2
- package/src/lib/collections/client.collection.d.ts +1 -1
- package/src/lib/collections/collection-dictionary.d.ts +1 -0
- package/src/lib/collections/collection.d.ts +5 -1
- package/src/lib/collections/firm/employee-invite.collection.d.ts +5 -0
- package/src/lib/collections/firm/employee.collection.d.ts +6 -0
- package/src/lib/collections/firm/index.d.ts +2 -0
- package/src/lib/collections/income-source/income-source.collection.d.ts +1 -1
- package/src/lib/collections/index.d.ts +2 -1
- package/src/lib/collections/property/property-valuation.collection.d.ts +4 -0
- package/src/lib/collections/report/property/property-report-item-depreciation.collection.d.ts +2 -2
- package/src/lib/collections/report/property/property-report-item-transaction.collection.d.ts +3 -3
- package/src/lib/collections/report/property/property-report-item.collection.d.ts +1 -1
- package/src/lib/collections/tax-review.collection.d.ts +0 -4
- package/src/lib/collections/transaction/transaction.collection.d.ts +1 -0
- package/src/lib/collections/user/user.collection.d.ts +4 -0
- package/src/lib/collections/vehicle/vehicle-logbook.collection.d.ts +6 -0
- package/src/lib/core.module.d.ts +2 -1
- package/src/lib/db/Enums/bank/bank-connection-status.enum.d.ts +1 -0
- package/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.d.ts +1 -1
- package/src/lib/db/Enums/firm/employee-invite-role.enum.d.ts +4 -0
- package/src/lib/db/Enums/firm/index.d.ts +2 -0
- package/src/lib/db/Enums/holding/holding-type-exchange-list.enum.d.ts +5 -4
- package/src/lib/db/Enums/index.d.ts +2 -0
- package/src/lib/db/Enums/user/gender.enum.d.ts +12 -0
- package/src/lib/db/Enums/user/index.d.ts +1 -0
- package/src/lib/db/Models/bank/bank-connection.d.ts +1 -0
- package/src/lib/db/Models/client/annual-client-details.d.ts +0 -1
- package/src/lib/db/Models/client/client-details.d.ts +1 -0
- package/src/lib/db/Models/firm/accountant/tax-review.d.ts +2 -0
- package/src/lib/db/Models/firm/chat.d.ts +2 -0
- package/src/lib/db/Models/firm/client-invite.d.ts +5 -2
- package/src/lib/db/Models/firm/client-movement.d.ts +2 -2
- package/src/lib/db/Models/firm/employee-invite.d.ts +4 -2
- package/src/lib/db/Models/firm/firm.d.ts +1 -1
- package/src/lib/db/Models/firm/message-document.d.ts +2 -6
- package/src/lib/db/Models/incomeSource/income-source-forecast.d.ts +2 -1
- package/src/lib/db/Models/incomeSource/income-source.d.ts +1 -1
- package/src/lib/db/Models/incomeSource/salary-forecast.d.ts +1 -0
- package/src/lib/db/Models/property/property-forecast.d.ts +1 -0
- package/src/lib/db/Models/sole/sole-business-loss.d.ts +1 -0
- package/src/lib/db/Models/sole/sole-business.d.ts +2 -2
- package/src/lib/db/Models/sole/sole-forecast.d.ts +1 -0
- package/src/lib/db/Models/user/employee-details.d.ts +2 -0
- package/src/lib/db/Models/user/user.d.ts +2 -0
- package/src/lib/db/Models/vehicle/vehicle-claim-details.d.ts +1 -1
- package/src/lib/forms/abstract.form.d.ts +14 -7
- package/src/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts +1 -1
- package/src/lib/forms/chat/chat-filter.form.d.ts +18 -0
- package/src/lib/forms/chat/index.d.ts +1 -0
- package/src/lib/forms/client/capital-loss.form.d.ts +6 -0
- package/src/lib/forms/client/index.d.ts +1 -0
- package/src/lib/forms/collection.form.d.ts +14 -0
- package/src/lib/forms/firm/client-invite-put.form.d.ts +11 -0
- package/src/lib/forms/firm/client-invite.form.d.ts +15 -0
- package/src/lib/forms/firm/client-movement.form.d.ts +14 -0
- package/src/lib/forms/firm/employee-details.form.d.ts +14 -0
- package/src/lib/forms/firm/employee-invite.form.d.ts +17 -0
- package/src/lib/forms/firm/firm-branch.form.d.ts +5 -0
- package/src/lib/forms/firm/firm-invite.form.d.ts +15 -0
- package/src/lib/forms/firm/index.d.ts +7 -0
- package/src/lib/forms/holding/holding-reinvest.form.d.ts +7 -0
- package/src/lib/forms/index.d.ts +3 -0
- package/src/lib/forms/loan/loan.form.d.ts +2 -2
- package/src/lib/forms/register/register-client.form.d.ts +1 -1
- package/src/lib/forms/register/register-firm.form.d.ts +2 -2
- package/src/lib/forms/report/my-tax/my-tax-deductions.form.d.ts +1 -1
- package/src/lib/forms/report/my-tax/my-tax-rent.form.d.ts +1 -1
- package/src/lib/forms/tax-review/index.d.ts +2 -0
- package/src/lib/forms/tax-review/tax-review-filter-status.enum.d.ts +4 -0
- package/src/lib/forms/tax-review/tax-review-filter.form.d.ts +21 -0
- package/src/lib/forms/transaction/holding/holding-income.form.d.ts +8 -1
- package/src/lib/forms/transaction/index.d.ts +1 -0
- package/src/lib/forms/transaction/transaction-base-filter.form.d.ts +19 -0
- package/src/lib/forms/transaction/work/work-transaction.form.d.ts +1 -1
- package/src/lib/forms/user/user.form.d.ts +15 -3
- package/src/lib/forms/vehicle/vehicle-claim.form.d.ts +0 -2
- package/src/lib/models/bank/bank-connection.d.ts +8 -0
- package/src/lib/models/chat/chat.d.ts +3 -1
- package/src/lib/models/chat/message-document.d.ts +4 -4
- package/src/lib/models/client/annual-client-details.d.ts +0 -1
- package/src/lib/models/client/capital-loss.d.ts +9 -0
- package/src/lib/models/client/capital-loss.interface.d.ts +6 -0
- package/src/lib/models/client/client-details.d.ts +8 -0
- package/src/lib/models/client/client-invite.d.ts +3 -2
- package/src/lib/models/client/client-movement.d.ts +3 -2
- package/src/lib/models/client/index.d.ts +2 -0
- package/src/lib/models/employee/employee-details.d.ts +3 -1
- package/src/lib/models/employee/employee-invite.d.ts +7 -1
- package/src/lib/models/event/app-event-type.enum.d.ts +19 -20
- package/src/lib/models/file/file.d.ts +1 -0
- package/src/lib/models/firm/firm-branch.d.ts +12 -0
- package/src/lib/models/firm/firm-branch.interface.d.ts +7 -0
- package/src/lib/models/firm/index.d.ts +2 -0
- package/src/lib/models/holding/holding.d.ts +0 -1
- package/src/lib/models/index.d.ts +1 -0
- package/src/lib/models/property/property-equity-chart-data.d.ts +7 -7
- package/src/lib/models/property/property-forecast.d.ts +0 -4
- package/src/lib/models/registration-invite/registration-invite.d.ts +2 -0
- package/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +1 -1
- package/src/lib/models/report/property/property-report-item-transaction.d.ts +3 -3
- package/src/lib/models/tax-review/tax-review.d.ts +5 -1
- package/src/lib/models/user/user.d.ts +2 -3
- package/src/lib/models/vehicle/vehicle-claim-details.d.ts +1 -1
- package/src/lib/services/firm/current-firm-branch.service.d.ts +11 -0
- package/src/lib/services/firm/index.d.ts +1 -0
- package/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +5 -2
- package/src/lib/services/http/bank/basiq/basiq.service.d.ts +8 -0
- package/src/lib/services/http/chat/message.service.d.ts +2 -0
- package/src/lib/services/http/client/{capital-gain/annual-client-details.service.d.ts → annual-client-details.service.d.ts} +4 -4
- package/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.d.ts +5 -0
- package/src/lib/services/http/client/capital-loss/capital-loss.service.d.ts +12 -0
- package/src/lib/services/http/client/capital-loss/index.d.ts +2 -0
- package/src/lib/services/http/client/index.d.ts +2 -1
- package/src/lib/services/http/firm/client-invite/client-invite-messages.enum.d.ts +1 -1
- package/src/lib/services/http/firm/client-invite/client-invite.service.d.ts +0 -1
- package/src/lib/services/http/firm/client-movement/client-movement-messages.enum.d.ts +6 -0
- package/src/lib/services/http/firm/client-movement/client-movement.service.d.ts +2 -1
- package/src/lib/services/http/firm/client-movement/index.d.ts +1 -0
- package/src/lib/services/http/firm/employee/employee-messages.enum.d.ts +2 -1
- package/src/lib/services/http/firm/employee/employee.service.d.ts +4 -3
- package/src/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +3 -3
- package/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.d.ts +7 -0
- package/src/lib/services/http/firm/firm-branch/firm-branch.service.d.ts +13 -0
- package/src/lib/services/http/firm/firm-branch/index.d.ts +2 -0
- package/src/lib/services/http/firm/firm.service.d.ts +2 -2
- package/src/lib/services/http/firm/index.d.ts +1 -0
- package/src/lib/services/http/holding/holding-sale.service.d.ts +1 -2
- package/src/lib/services/http/property/property-valuation/property-valuation.service.d.ts +1 -2
- package/src/lib/services/http/rest/rest.service.d.ts +5 -0
- package/src/lib/services/http/sole/bas-report/bas-report-messages.enum.d.ts +6 -0
- package/src/lib/services/http/sole/bas-report/index.d.ts +2 -0
- package/src/lib/services/http/sole/index.d.ts +1 -1
- package/src/lib/services/http/sole/sole-business/sole-business.service.d.ts +7 -5
- package/src/lib/services/http/vehicle/vehicle-claim.service.d.ts +5 -1
- package/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.d.ts +2 -1
- package/src/lib/services/index.d.ts +1 -0
- package/src/lib/services/report/property/property-transaction-report.service.d.ts +4 -7
- package/src/lib/validators/index.d.ts +2 -0
- package/src/lib/validators/match-sum.validator.d.ts +6 -0
- package/src/lib/validators/string/alpha-space.validator.d.ts +5 -0
- package/esm2022/src/lib/collections/employee.collection.mjs +0 -11
- package/esm2022/src/lib/db/Enums/firm-type.enum.mjs +0 -6
- package/esm2022/src/lib/functions/tax-review-filter-predicate.mjs +0 -10
- package/esm2022/src/lib/services/http/client/capital-gain/annual-client-details.service.mjs +0 -23
- package/esm2022/src/lib/validators/transactions-meta-fields.validator.mjs +0 -33
- package/src/lib/collections/employee.collection.d.ts +0 -6
- package/src/lib/functions/tax-review-filter-predicate.d.ts +0 -7
- package/src/lib/validators/transactions-meta-fields.validator.d.ts +0 -5
- /package/src/lib/db/Enums/{firm-type.enum.d.ts → firm/firm-type.enum.d.ts} +0 -0
@@ -1,23 +0,0 @@
|
|
1
|
-
import { Injectable } from '@angular/core';
|
2
|
-
import { AnnualClientDetails } from '../../../../models';
|
3
|
-
import { RestService } from '../../rest';
|
4
|
-
import { Collection } from '../../../../collections';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export class AnnualClientDetailsService extends RestService {
|
7
|
-
constructor() {
|
8
|
-
super(...arguments);
|
9
|
-
this.modelClass = AnnualClientDetails;
|
10
|
-
this.collectionClass = Collection;
|
11
|
-
this.endpointUri = 'annual-client-details';
|
12
|
-
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
|
13
|
-
}
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
15
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' }); }
|
16
|
-
}
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
|
18
|
-
type: Injectable,
|
19
|
-
args: [{
|
20
|
-
providedIn: 'root'
|
21
|
-
}]
|
22
|
-
}] });
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5udWFsLWNsaWVudC1kZXRhaWxzLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9jbGllbnQvY2FwaXRhbC1nYWluL2FubnVhbC1jbGllbnQtZGV0YWlscy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDekQsT0FBTyxFQUFjLFdBQVcsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUNyRCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBS3JELE1BQU0sT0FBTywwQkFBMkIsU0FBUSxXQUEwRjtJQUgxSTs7UUFJRSxlQUFVLEdBQStCLG1CQUFtQixDQUFDO1FBQzdELG9CQUFlLEdBQXNCLFVBQVUsQ0FBQztRQUNoRCxnQkFBVyxHQUFHLHVCQUF1QixDQUFDO1FBQ3RDLG9CQUFlLEdBQWlCLENBQUMsV0FBVyxFQUFFLFVBQVUsRUFBRSxhQUFhLEVBQUUsUUFBUSxDQU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NoJywgJ3B1dEJhdGNoJywgJ2RlbGV0ZUJhdGNoJywgJ2RlbGV0ZSddO1xufVxuIl19
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { ChartAccountsMetaFieldListEnum } from '../db/Enums';
|
2
|
-
/**
|
3
|
-
* Validator that check fields for transaction meta
|
4
|
-
*/
|
5
|
-
export function transactionsMetaFieldsValidator() {
|
6
|
-
return (formGroup) => {
|
7
|
-
const chartAccounts = formGroup.get('chartAccounts').value;
|
8
|
-
if (!chartAccounts) {
|
9
|
-
return null;
|
10
|
-
}
|
11
|
-
const metaFields = chartAccounts.metaFields;
|
12
|
-
if (chartAccounts.isDividends()) {
|
13
|
-
return checkDividends(metaFields, formGroup);
|
14
|
-
}
|
15
|
-
return null;
|
16
|
-
};
|
17
|
-
}
|
18
|
-
/**
|
19
|
-
* the sum of the fields "Franked" and "Unfranked" must equal transactions amount
|
20
|
-
*/
|
21
|
-
function checkDividends(metaFields, formGroup) {
|
22
|
-
const frankedAndUnfrankedIds = [ChartAccountsMetaFieldListEnum.FRANKED, ChartAccountsMetaFieldListEnum.UNFRANKED];
|
23
|
-
const amount = Math.abs(formGroup.get('amount').value);
|
24
|
-
const frankedAndUnfrankedControls = formGroup.get('metaFields').controls
|
25
|
-
.filter((control) => frankedAndUnfrankedIds.includes(control.get('chartAccountsMetaField').value.id));
|
26
|
-
// no need to validate when one or both fields are empty
|
27
|
-
if (frankedAndUnfrankedControls.find((group) => group.get('value').value === null)) {
|
28
|
-
return null;
|
29
|
-
}
|
30
|
-
const frankedAndUnfrankedAmount = frankedAndUnfrankedControls.reduce((sum, group) => sum + (+group.get('value').value), 0);
|
31
|
-
return amount === frankedAndUnfrankedAmount ? null : { wrongAmountsSum: 'The total Franked and Unfranked amounts must equal the Total Payment received.' };
|
32
|
-
}
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb25zLW1ldGEtZmllbGRzLnZhbGlkYXR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Zvcm1Hcm91cCkgPT4gc3VtICsgKCtncm91cC5nZXQoJ3ZhbHVlJykudmFsdWUpLCAwKTtcblxuICByZXR1cm4gYW1vdW50ID09PSBmcmFua2VkQW5kVW5mcmFua2VkQW1vdW50ID8gbnVsbCA6IHsgd3JvbmdBbW91bnRzU3VtOiAnVGhlIHRvdGFsIEZyYW5rZWQgYW5kIFVuZnJhbmtlZCBhbW91bnRzIG11c3QgZXF1YWwgdGhlIFRvdGFsIFBheW1lbnQgcmVjZWl2ZWQuJyB9O1xufVxuIl19
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { TaxReview } from '../models/tax-review/tax-review';
|
2
|
-
/**
|
3
|
-
* Filter predicate function to search inside TaxReview class fields
|
4
|
-
* @param data in which query will be searched
|
5
|
-
* @param filter: search query
|
6
|
-
*/
|
7
|
-
export declare function taxReviewFilterPredicate(data: TaxReview, filter: string): boolean;
|
File without changes
|