taxtank-core 0.13.4 → 0.13.7
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/README.md +5 -5
- package/bundles/taxtank-core.umd.js +13020 -12995
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/account-setup-item.collection.js +12 -12
- package/esm2015/lib/collections/bank-account.collection.js +135 -135
- package/esm2015/lib/collections/bank-transaction.collection.js +119 -119
- package/esm2015/lib/collections/client-movement.collection.js +31 -31
- package/esm2015/lib/collections/client-portfolio-report.collection.js +40 -40
- package/esm2015/lib/collections/client.collection.js +4 -4
- package/esm2015/lib/collections/collection-dictionary.js +86 -86
- package/esm2015/lib/collections/collection.js +110 -109
- package/esm2015/lib/collections/depreciation-forecast.collection.js +19 -19
- package/esm2015/lib/collections/depreciation.collection.js +101 -101
- package/esm2015/lib/collections/employee.collection.js +12 -12
- package/esm2015/lib/collections/income-source.collection.js +31 -31
- package/esm2015/lib/collections/loan.collection.js +18 -18
- package/esm2015/lib/collections/message-document.collection.js +13 -13
- package/esm2015/lib/collections/message.collection.js +21 -21
- package/esm2015/lib/collections/property/property-sale/property-sale-tax-exemption-metadata.collection.js +20 -20
- package/esm2015/lib/collections/property/property.collection.js +69 -69
- package/esm2015/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.js +12 -12
- package/esm2015/lib/collections/report/depreciation/depreciation-report-item.collection.js +14 -14
- package/esm2015/lib/collections/report/property/property-report-item-depreciation.collection.js +22 -22
- package/esm2015/lib/collections/report/property/property-report-item-transaction.collection.js +22 -22
- package/esm2015/lib/collections/report/property/property-report-item.collection.js +13 -13
- package/esm2015/lib/collections/report/vehicle-expense/vehicle-expense.collection.js +20 -20
- package/esm2015/lib/collections/subscription/service-subscription.collection.js +17 -17
- package/esm2015/lib/collections/tax-review.collection.js +55 -55
- package/esm2015/lib/collections/tax-summary/report-item.collection.js +141 -141
- package/esm2015/lib/collections/transaction-allocation.collection.js +40 -40
- package/esm2015/lib/collections/transaction.collection.js +143 -143
- package/esm2015/lib/collections/user-event-setting.collection.js +10 -10
- package/esm2015/lib/collections/vehicle-logbook.collection.js +88 -88
- package/esm2015/lib/collections/vehicle.collection.js +9 -9
- package/esm2015/lib/db/Enums/address-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/bank-account-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/bank-account-type.enum.js +12 -12
- package/esm2015/lib/db/Enums/bank-connection-status.enum.js +7 -7
- package/esm2015/lib/db/Enums/bank-transaction-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/chart-accounts-category.enum.js +18 -18
- package/esm2015/lib/db/Enums/chart-accounts-etp.enum.js +9 -9
- package/esm2015/lib/db/Enums/chart-accounts-heading-tax-deductible.enum.js +8 -8
- package/esm2015/lib/db/Enums/chart-accounts-heading-taxable.enum.js +8 -8
- package/esm2015/lib/db/Enums/chart-accounts-heading-vehicle-list.enum.js +8 -8
- package/esm2015/lib/db/Enums/chart-accounts-list.enum.js +22 -22
- package/esm2015/lib/db/Enums/chart-accounts-metadata-list.enum.js +16 -16
- package/esm2015/lib/db/Enums/chart-accounts-metadata-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/chart-accounts-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/chat-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/client-details-medicare-exemption.enum.js +7 -7
- package/esm2015/lib/db/Enums/client-details-work-depreciation-calculation.enum.js +6 -6
- package/esm2015/lib/db/Enums/client-details-working-holiday-maker.enum.js +7 -7
- package/esm2015/lib/db/Enums/client-invite-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/client-invite-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/depreciation-calculation-percent.enum.js +9 -9
- package/esm2015/lib/db/Enums/depreciation-calculation.enum.js +9 -9
- package/esm2015/lib/db/Enums/depreciation-type.enum.js +8 -8
- package/esm2015/lib/db/Enums/depreciation-write-off-amount.enum.js +6 -6
- package/esm2015/lib/db/Enums/firm-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/income-source-type-list-other.enum.js +8 -8
- package/esm2015/lib/db/Enums/income-source-type-list-salary.enum.js +5 -5
- package/esm2015/lib/db/Enums/income-source-type-list-work.enum.js +10 -10
- package/esm2015/lib/db/Enums/income-source-type.enum.js +8 -8
- package/esm2015/lib/db/Enums/invite-status.enum.js +7 -7
- package/esm2015/lib/db/Enums/loan-bank-type.enum.js +12 -12
- package/esm2015/lib/db/Enums/loan-frequency.enum.js +8 -8
- package/esm2015/lib/db/Enums/loan-interest-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/loan-payout-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/loan-repayment-frequency.enum.js +7 -7
- package/esm2015/lib/db/Enums/loan-repayment-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/loan-type.enum.js +14 -14
- package/esm2015/lib/db/Enums/loan-vehicle-type.enum.js +7 -7
- package/esm2015/lib/db/Enums/phone-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/property/property-category-list.enum.js +7 -6
- package/esm2015/lib/db/Enums/property/property-depreciation-calculation.enum.js +6 -6
- package/esm2015/lib/db/Enums/property/property-sale/tax-exemption-metadata.enum.js +9 -9
- package/esm2015/lib/db/Enums/property/property-sale/tax-exemption.enum.js +12 -12
- package/esm2015/lib/db/Enums/property/property-share-access.enum.js +6 -6
- package/esm2015/lib/db/Enums/property/property-share-status.enum.js +7 -7
- package/esm2015/lib/db/Enums/registration-invite-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/salary-forecast-frequency.enum.js +8 -8
- package/esm2015/lib/db/Enums/service-notification-status.enum.js +7 -7
- package/esm2015/lib/db/Enums/service-notification-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/spare-document-spare-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/subscription/service-payment-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/subscription/service-price-recurring-interval.enum.js +8 -8
- package/esm2015/lib/db/Enums/subscription/service-price-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/subscription/service-product-id.enum.js +10 -10
- package/esm2015/lib/db/Enums/subscription/service-product-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/subscription/service-subscription-status.enum.js +10 -10
- package/esm2015/lib/db/Enums/tank-type.enum.js +8 -8
- package/esm2015/lib/db/Enums/tax-calculation-medicare-exemption.enum.js +6 -6
- package/esm2015/lib/db/Enums/tax-calculation-type.enum.js +14 -14
- package/esm2015/lib/db/Enums/tax-return-category-list.enum.js +28 -28
- package/esm2015/lib/db/Enums/tax-return-category-section.enum.js +8 -8
- package/esm2015/lib/db/Enums/tax-review-status.enum.js +13 -13
- package/esm2015/lib/db/Enums/tax-summary-list.enum.js +17 -17
- package/esm2015/lib/db/Enums/tax-summary-section.enum.js +8 -8
- package/esm2015/lib/db/Enums/tax-summary-tax-summary.enum.js +17 -17
- package/esm2015/lib/db/Enums/ticket-feedback.enum.js +6 -6
- package/esm2015/lib/db/Enums/ticket-status.enum.js +9 -9
- package/esm2015/lib/db/Enums/ticket-types.enum.js +5 -5
- package/esm2015/lib/db/Enums/transaction-operation.enum.js +7 -7
- package/esm2015/lib/db/Enums/transaction-source.enum.js +6 -6
- package/esm2015/lib/db/Enums/transaction-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/user-event-status.enum.js +9 -9
- package/esm2015/lib/db/Enums/user-event-type-client-type.enum.js +29 -29
- package/esm2015/lib/db/Enums/user-event-type-employee-type.enum.js +17 -17
- package/esm2015/lib/db/Enums/user-event-type-frequency.enum.js +7 -7
- package/esm2015/lib/db/Enums/user-event-type-user-type.enum.js +7 -7
- package/esm2015/lib/db/Enums/user-medicare-exemption.enum.js +7 -7
- package/esm2015/lib/db/Enums/user-roles.enum.js +16 -16
- package/esm2015/lib/db/Enums/user-status.enum.js +7 -7
- package/esm2015/lib/db/Enums/user-title.enum.js +9 -9
- package/esm2015/lib/db/Enums/user-work-depreciation-calculation.enum.js +6 -6
- package/esm2015/lib/db/Enums/user-working-holiday-maker.enum.js +7 -7
- package/esm2015/lib/db/Enums/vehicle-claim-method.enum.js +6 -6
- package/esm2015/lib/db/Enums/vehicle-logbook-purpose.enum.js +6 -6
- package/esm2015/lib/db/Models/abstract-model.js +7 -7
- package/esm2015/lib/db/Models/address.js +4 -4
- package/esm2015/lib/db/Models/bank/bank-account-balance.js +4 -4
- package/esm2015/lib/db/Models/bank/bank-account-property.js +4 -4
- package/esm2015/lib/db/Models/bank/bank-account.js +4 -4
- package/esm2015/lib/db/Models/bank/bank-connection.js +4 -4
- package/esm2015/lib/db/Models/bank/bank-transaction-import.js +4 -4
- package/esm2015/lib/db/Models/bank/bank-transaction.js +4 -4
- package/esm2015/lib/db/Models/bank/bank.js +4 -4
- package/esm2015/lib/db/Models/bank/basiq-job.js +4 -4
- package/esm2015/lib/db/Models/bank/financial-data-system.js +4 -4
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-depreciation.js +4 -4
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-heading.js +4 -4
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-metadata.js +4 -4
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-value.js +4 -4
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts.js +4 -4
- package/esm2015/lib/db/Models/country.js +4 -4
- package/esm2015/lib/db/Models/depreciation/depreciation-capital-project.js +4 -4
- package/esm2015/lib/db/Models/depreciation/depreciation-forecast.js +4 -4
- package/esm2015/lib/db/Models/depreciation/depreciation-receipt.js +4 -4
- package/esm2015/lib/db/Models/depreciation/depreciation.js +4 -4
- package/esm2015/lib/db/Models/document/document-folder.js +4 -4
- package/esm2015/lib/db/Models/document/document.js +4 -4
- package/esm2015/lib/db/Models/document/property-document.js +10 -10
- package/esm2015/lib/db/Models/firm/accountant/tax-review.js +4 -4
- package/esm2015/lib/db/Models/firm/accountant/ticket.js +4 -4
- package/esm2015/lib/db/Models/firm/chat.js +4 -4
- package/esm2015/lib/db/Models/firm/client-invite.js +4 -4
- package/esm2015/lib/db/Models/firm/client-movement.js +4 -4
- package/esm2015/lib/db/Models/firm/employee-invite.js +4 -4
- package/esm2015/lib/db/Models/firm/firm.js +4 -4
- package/esm2015/lib/db/Models/firm/message-document.js +4 -4
- package/esm2015/lib/db/Models/firm/message.js +4 -4
- package/esm2015/lib/db/Models/incomeSource/income-source-forecast.js +4 -4
- package/esm2015/lib/db/Models/incomeSource/income-source-type.js +4 -4
- package/esm2015/lib/db/Models/incomeSource/income-source.js +4 -4
- package/esm2015/lib/db/Models/incomeSource/salary-forecast.js +4 -4
- package/esm2015/lib/db/Models/loan/borrowing-expense-loan.js +4 -4
- package/esm2015/lib/db/Models/loan/borrowing-expense.js +4 -4
- package/esm2015/lib/db/Models/loan/loan-payout.js +4 -4
- package/esm2015/lib/db/Models/loan/loan.js +4 -4
- package/esm2015/lib/db/Models/phone.js +4 -4
- package/esm2015/lib/db/Models/property/property-category-movement.js +4 -4
- package/esm2015/lib/db/Models/property/property-category.js +4 -4
- package/esm2015/lib/db/Models/property/property-forecast.js +4 -4
- package/esm2015/lib/db/Models/property/property-sale/property-sale-tax-exemption-metadata.js +4 -4
- package/esm2015/lib/db/Models/property/property-sale/property-sale.js +4 -4
- package/esm2015/lib/db/Models/property/property-sale/tax-exemption-metadata.js +4 -4
- package/esm2015/lib/db/Models/property/property-sale/tax-exemption.js +4 -4
- package/esm2015/lib/db/Models/property/property-share.js +4 -4
- package/esm2015/lib/db/Models/property/property-subscription.js +4 -4
- package/esm2015/lib/db/Models/property/property-valuation.js +4 -4
- package/esm2015/lib/db/Models/property/property.js +4 -4
- package/esm2015/lib/db/Models/service-notification.js +4 -4
- package/esm2015/lib/db/Models/sole/sole-forecast.js +4 -4
- package/esm2015/lib/db/Models/subscription/service-payment.js +4 -4
- package/esm2015/lib/db/Models/subscription/service-price.js +4 -4
- package/esm2015/lib/db/Models/subscription/service-product.js +4 -4
- package/esm2015/lib/db/Models/subscription/service-subscription-item.js +4 -4
- package/esm2015/lib/db/Models/subscription/service-subscription.js +4 -4
- package/esm2015/lib/db/Models/tax-return/tax-return-category.js +4 -4
- package/esm2015/lib/db/Models/tax-return/tax-return-item.js +4 -4
- package/esm2015/lib/db/Models/tax-return/tax-return.js +4 -4
- package/esm2015/lib/db/Models/transaction/transaction-allocation.js +4 -4
- package/esm2015/lib/db/Models/transaction/transaction-base.js +26 -26
- package/esm2015/lib/db/Models/transaction/transaction-metadata.js +4 -4
- package/esm2015/lib/db/Models/transaction/transaction-receipt.js +4 -4
- package/esm2015/lib/db/Models/transaction/transaction.js +4 -4
- package/esm2015/lib/db/Models/user/client-details.js +4 -4
- package/esm2015/lib/db/Models/user/client-income-types.js +4 -4
- package/esm2015/lib/db/Models/user/employee-details.js +4 -4
- package/esm2015/lib/db/Models/user/occupation.js +4 -4
- package/esm2015/lib/db/Models/user/registration-invite.js +4 -4
- package/esm2015/lib/db/Models/user/user-event-setting.js +4 -4
- package/esm2015/lib/db/Models/user/user-event-type-category.js +4 -4
- package/esm2015/lib/db/Models/user/user-event-type.js +4 -4
- package/esm2015/lib/db/Models/user/user-event.js +4 -4
- package/esm2015/lib/db/Models/user/user.js +4 -4
- package/esm2015/lib/db/Models/vehicle/vehicle-claim.js +4 -4
- package/esm2015/lib/db/Models/vehicle/vehicle-logbook.js +4 -4
- package/esm2015/lib/db/Models/vehicle/vehicle.js +4 -4
- package/esm2015/lib/forms/abstract.form.js +11 -11
- package/esm2015/lib/forms/client/client-income-types.form.js +22 -22
- package/esm2015/lib/forms/index.js +10 -10
- package/esm2015/lib/forms/login/login.form.js +11 -11
- package/esm2015/lib/forms/register/register-client.form.js +29 -29
- package/esm2015/lib/forms/register/register-firm.form.js +26 -26
- package/esm2015/lib/forms/user/password.form.js +13 -11
- package/esm2015/lib/forms/user/reset-password.form.js +10 -10
- package/esm2015/lib/forms/vehicle/vehicle-claim.form.js +114 -114
- package/esm2015/lib/forms/vehicle/vehicle.form.js +20 -20
- package/esm2015/lib/functions/array/index.js +3 -3
- package/esm2015/lib/functions/array/replace.js +5 -5
- package/esm2015/lib/functions/array/sort-deep.js +21 -21
- package/esm2015/lib/functions/array/sort.js +12 -12
- package/esm2015/lib/functions/clone-deep.js +5 -5
- package/esm2015/lib/functions/create-date.js +8 -8
- package/esm2015/lib/functions/enum-to-list.js +12 -12
- package/esm2015/lib/functions/get-doc-icon.js +18 -18
- package/esm2015/lib/functions/mat-options-functions.js +9 -9
- package/esm2015/lib/functions/mat-sort-options.js +10 -10
- package/esm2015/lib/functions/round-to.js +10 -10
- package/esm2015/lib/functions/tax-review-filter-predicate.js +10 -10
- package/esm2015/lib/interceptors/corelogic-interceptor.js +43 -43
- package/esm2015/lib/interceptors/financial-year-interceptor.js +29 -29
- package/esm2015/lib/interceptors/interceptors.module.js +73 -73
- package/esm2015/lib/interceptors/jwt-interceptor.js +137 -137
- package/esm2015/lib/interceptors/preloader.interceptor.js +32 -32
- package/esm2015/lib/interceptors/user-switcher-interceptor.js +42 -42
- package/esm2015/lib/interfaces/asset-entity-type.enum.js +12 -12
- package/esm2015/lib/interfaces/asset-type.enum.js +10 -10
- package/esm2015/lib/interfaces/asset.interface.js +2 -2
- package/esm2015/lib/interfaces/chart-data.interface.js +1 -1
- package/esm2015/lib/interfaces/chart-serie.interface.js +1 -1
- package/esm2015/lib/interfaces/document.interface.js +2 -2
- package/esm2015/lib/interfaces/documentable.interface.js +2 -2
- package/esm2015/lib/interfaces/event-listener.interface.js +1 -1
- package/esm2015/lib/interfaces/expense.interface.js +2 -2
- package/esm2015/lib/interfaces/exportable.interface.js +2 -2
- package/esm2015/lib/interfaces/income-source-forecast.interface.js +2 -2
- package/esm2015/lib/interfaces/option.interface.js +1 -1
- package/esm2015/lib/interfaces/photoable.js +1 -1
- package/esm2015/lib/interfaces/receipt.interface.js +2 -2
- package/esm2015/lib/interfaces/tank.interface.js +2 -2
- package/esm2015/lib/interfaces/updatable.interface.js +2 -2
- package/esm2015/lib/models/account-setup/account-setup-item.js +9 -9
- package/esm2015/lib/models/account-setup/account-setup-items.const.js +55 -55
- package/esm2015/lib/models/account-setup/account-setup-items.enum.js +14 -14
- package/esm2015/lib/models/address/address.js +23 -23
- package/esm2015/lib/models/address/country.js +15 -15
- package/esm2015/lib/models/bank/bank-account-chart-data.js +34 -34
- package/esm2015/lib/models/bank/bank-account-property.js +10 -10
- package/esm2015/lib/models/bank/bank-account-types.const.js +15 -15
- package/esm2015/lib/models/bank/bank-account.js +122 -122
- package/esm2015/lib/models/bank/bank-connection.js +21 -21
- package/esm2015/lib/models/bank/bank-transaction-chart-data.js +106 -106
- package/esm2015/lib/models/bank/bank-transaction-summary-fields.enum.js +6 -6
- package/esm2015/lib/models/bank/bank-transaction.js +67 -67
- package/esm2015/lib/models/bank/bank.js +13 -13
- package/esm2015/lib/models/bank/basiq-config.js +12 -12
- package/esm2015/lib/models/bank/basiq-job.js +4 -4
- package/esm2015/lib/models/bank/basiq-token.js +13 -13
- package/esm2015/lib/models/bank/type-loan.const.js +7 -7
- package/esm2015/lib/models/borrowing-expense/borrowing-expense-loan.js +4 -4
- package/esm2015/lib/models/borrowing-expense/borrowing-expense.js +4 -4
- package/esm2015/lib/models/chart/chart-data.js +12 -12
- package/esm2015/lib/models/chart/chart-serie.js +6 -6
- package/esm2015/lib/models/chart-accounts/chart-accounts-categories.const.js +105 -105
- package/esm2015/lib/models/chart-accounts/chart-accounts-depreciation.js +16 -16
- package/esm2015/lib/models/chart-accounts/chart-accounts-heading.js +3 -3
- package/esm2015/lib/models/chart-accounts/chart-accounts-metadata.js +13 -13
- package/esm2015/lib/models/chart-accounts/chart-accounts-tax-labels.enum.js +6 -6
- package/esm2015/lib/models/chart-accounts/chart-accounts-value.js +4 -4
- package/esm2015/lib/models/chart-accounts/chart-accounts.js +156 -156
- package/esm2015/lib/models/chat/chat-view-type.enum.js +6 -6
- package/esm2015/lib/models/chat/chat.js +22 -22
- package/esm2015/lib/models/chat/message-document.js +19 -19
- package/esm2015/lib/models/chat/message.js +38 -38
- package/esm2015/lib/models/client/client-details.js +4 -4
- package/esm2015/lib/models/client/client-income-types.js +10 -10
- package/esm2015/lib/models/client/client-invite.js +66 -66
- package/esm2015/lib/models/client/client-movement.js +26 -26
- package/esm2015/lib/models/client/client-portfolio-chart-data.js +57 -57
- package/esm2015/lib/models/client/client-portfolio-report.js +6 -6
- package/esm2015/lib/models/color/alphabet-colors.enum.js +29 -29
- package/esm2015/lib/models/depreciation/depreciation-capital-project.js +9 -9
- package/esm2015/lib/models/depreciation/depreciation-forecast.js +34 -34
- package/esm2015/lib/models/depreciation/depreciation-group-item.js +14 -14
- package/esm2015/lib/models/depreciation/depreciation-group.enum.js +9 -9
- package/esm2015/lib/models/depreciation/depreciation-group.js +15 -15
- package/esm2015/lib/models/depreciation/depreciation-groups.const.js +29 -29
- package/esm2015/lib/models/depreciation/depreciation-receipt.js +11 -11
- package/esm2015/lib/models/depreciation/depreciation.js +156 -156
- package/esm2015/lib/models/document/document-api-url-prefix.enum.js +9 -9
- package/esm2015/lib/models/document/document-file-types.const.js +23 -23
- package/esm2015/lib/models/document/document-folder.js +10 -10
- package/esm2015/lib/models/document/document.js +24 -24
- package/esm2015/lib/models/employee/employee-details.js +10 -10
- package/esm2015/lib/models/employee/employee-invite.js +13 -13
- package/esm2015/lib/models/endpoint/endpoint.js +22 -22
- package/esm2015/lib/models/endpoint/endpoints.const.js +142 -142
- package/esm2015/lib/models/event/app-event-type.enum.js +45 -45
- package/esm2015/lib/models/event/app-event.js +10 -10
- package/esm2015/lib/models/export/export-data-table.js +6 -6
- package/esm2015/lib/models/export/export-format.enum.js +6 -6
- package/esm2015/lib/models/file/icons-file.enum.js +7 -7
- package/esm2015/lib/models/financial-year/financial-year.js +43 -43
- package/esm2015/lib/models/financial-year/month-name-short.enum.js +20 -20
- package/esm2015/lib/models/financial-year/month-number.enum.js +20 -20
- package/esm2015/lib/models/financial-year/months.const.js +2 -2
- package/esm2015/lib/models/firm/firm.js +29 -29
- package/esm2015/lib/models/income-position/income-position.js +9 -9
- package/esm2015/lib/models/income-source/income-source-chart-data.js +45 -45
- package/esm2015/lib/models/income-source/income-source-forecast.js +31 -31
- package/esm2015/lib/models/income-source/income-source-type.js +32 -32
- package/esm2015/lib/models/income-source/income-source.js +57 -57
- package/esm2015/lib/models/income-source/salary-forecast.js +14 -14
- package/esm2015/lib/models/income-source/sole-forecast.js +14 -14
- package/esm2015/lib/models/loan/loan-max-number-of-payments.enum.js +10 -10
- package/esm2015/lib/models/loan/loan-payment.js +12 -12
- package/esm2015/lib/models/loan/loan-payout.js +11 -11
- package/esm2015/lib/models/loan/loan.js +39 -39
- package/esm2015/lib/models/logbook/default-vehicle-expense.js +20 -20
- package/esm2015/lib/models/logbook/logbook-period.js +18 -18
- package/esm2015/lib/models/logbook/logbook-purpose-options.const.js +6 -6
- package/esm2015/lib/models/logbook/vehicle-claim.js +91 -91
- package/esm2015/lib/models/logbook/vehicle-logbook.js +22 -22
- package/esm2015/lib/models/logbook/vehicle.js +17 -17
- package/esm2015/lib/models/notification/notification.js +39 -39
- package/esm2015/lib/models/pdf/pdf-config.js +43 -43
- package/esm2015/lib/models/pdf/pdf-orientation.enum.js +6 -6
- package/esm2015/lib/models/pdf/pdf-settings.js +10 -10
- package/esm2015/lib/models/phone/phone.js +11 -11
- package/esm2015/lib/models/property/calculation-form-item.js +17 -17
- package/esm2015/lib/models/property/calculation-form-type.enum.js +9 -9
- package/esm2015/lib/models/property/capital-costs-itmes.const.js +57 -57
- package/esm2015/lib/models/property/corelogic-suggestion.js +6 -6
- package/esm2015/lib/models/property/property-category-movement.js +20 -20
- package/esm2015/lib/models/property/property-category.js +11 -11
- package/esm2015/lib/models/property/property-document.js +17 -17
- package/esm2015/lib/models/property/property-equity-chart-data.js +155 -155
- package/esm2015/lib/models/property/property-equity-chart-item.js +24 -24
- package/esm2015/lib/models/property/property-equity-chart-type.enum.js +6 -6
- package/esm2015/lib/models/property/property-forecast.js +52 -52
- package/esm2015/lib/models/property/property-sale/property-sale-tax-exemption-metadata.js +4 -4
- package/esm2015/lib/models/property/property-sale/property-sale.js +19 -19
- package/esm2015/lib/models/property/property-sale/tax-exemption-metadata.js +4 -4
- package/esm2015/lib/models/property/property-sale/tax-exemption.js +4 -4
- package/esm2015/lib/models/property/property-share.js +48 -48
- package/esm2015/lib/models/property/property-subscription.js +13 -13
- package/esm2015/lib/models/property/property-valuation.js +23 -23
- package/esm2015/lib/models/property/property.js +218 -218
- package/esm2015/lib/models/property/share-filter-options.enum.js +11 -11
- package/esm2015/lib/models/registration-invite/registration-invite.js +10 -10
- package/esm2015/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.js +10 -10
- package/esm2015/lib/models/report/depreciation/depreciation-lvp-report-item.js +21 -21
- package/esm2015/lib/models/report/depreciation/depreciation-report-item.js +25 -25
- package/esm2015/lib/models/report/property/property-report-item-depreciation.js +19 -19
- package/esm2015/lib/models/report/property/property-report-item-transaction.js +12 -12
- package/esm2015/lib/models/report/property/property-report-item.js +27 -27
- package/esm2015/lib/models/report/vehicle-expense/vehicle-expense.js +14 -14
- package/esm2015/lib/models/service-subscription/module-url-list.const.js +12 -12
- package/esm2015/lib/models/service-subscription/service-payment.js +10 -10
- package/esm2015/lib/models/service-subscription/service-price.js +14 -10
- package/esm2015/lib/models/service-subscription/service-product.js +18 -18
- package/esm2015/lib/models/service-subscription/service-subscription-item.js +22 -22
- package/esm2015/lib/models/service-subscription/service-subscription.js +145 -145
- package/esm2015/lib/models/service-subscription/subscription-description.const.js +7 -7
- package/esm2015/lib/models/service-subscription/subscription-title.const.js +7 -7
- package/esm2015/lib/models/service-subscription/subscription-type.enum.js +7 -7
- package/esm2015/lib/models/tax-review/tax-review.js +86 -86
- package/esm2015/lib/models/tax-summary/report-item-details.js +9 -9
- package/esm2015/lib/models/tax-summary/report-item.js +15 -15
- package/esm2015/lib/models/tax-summary/tax-summary-section.js +30 -30
- package/esm2015/lib/models/tax-summary/tax-summary-type.enum.js +9 -9
- package/esm2015/lib/models/tax-summary/tax-summary.js +71 -71
- package/esm2015/lib/models/toast/toast-type.enum.js +8 -8
- package/esm2015/lib/models/toast/toast.js +9 -9
- package/esm2015/lib/models/transaction/income-amount-type.enum.js +9 -9
- package/esm2015/lib/models/transaction/transaction-allocation.js +21 -21
- package/esm2015/lib/models/transaction/transaction-metadata.js +10 -10
- package/esm2015/lib/models/transaction/transaction-receipt.js +11 -11
- package/esm2015/lib/models/transaction/transaction.js +225 -225
- package/esm2015/lib/models/user/my-account-history-initiated-by.enum.js +6 -6
- package/esm2015/lib/models/user/my-account-history-status.enum.js +6 -6
- package/esm2015/lib/models/user/my-account-history-type.enum.js +7 -7
- package/esm2015/lib/models/user/my-account-history.js +3 -3
- package/esm2015/lib/models/user/occupation.js +4 -4
- package/esm2015/lib/models/user/user-roles.const.js +14 -14
- package/esm2015/lib/models/user/user-to-register.js +6 -6
- package/esm2015/lib/models/user/user-work-position.const.js +6 -6
- package/esm2015/lib/models/user/user.js +138 -138
- package/esm2015/lib/models/user-event/user-event-setting-field.enum.js +10 -10
- package/esm2015/lib/models/user-event/user-event-setting.js +18 -18
- package/esm2015/lib/models/user-event/user-event-type-category.js +4 -4
- package/esm2015/lib/models/user-event/user-event-type.js +19 -19
- package/esm2015/lib/services/account-setup/account-setup.service.js +136 -136
- package/esm2015/lib/services/asset/assets.service.js +51 -51
- package/esm2015/lib/services/auth/auth.service.js +46 -46
- package/esm2015/lib/services/auth/jwt.service.js +36 -36
- package/esm2015/lib/services/bank/bank-account-calculation.service.js +30 -30
- package/esm2015/lib/services/bank/bank-transaction-calculation.service.js +65 -65
- package/esm2015/lib/services/event/event-dispatcher.service.js +30 -30
- package/esm2015/lib/services/event/sse.service.js +46 -46
- package/esm2015/lib/services/header-title/header-title.service.js +28 -28
- package/esm2015/lib/services/http/address/address.service.js +39 -39
- package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +109 -109
- package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +43 -43
- package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +80 -80
- package/esm2015/lib/services/http/bank/bank.service.js +24 -24
- package/esm2015/lib/services/http/bank/basiq/basiq.service.js +85 -85
- package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +38 -38
- package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +89 -89
- package/esm2015/lib/services/http/chat/chat.service.js +73 -73
- package/esm2015/lib/services/http/chat/message/message.service.js +61 -61
- package/esm2015/lib/services/http/chat/message-document/message-document.service.js +118 -118
- package/esm2015/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js +62 -62
- package/esm2015/lib/services/http/depreciation/depreciation.service.js +129 -129
- package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +76 -76
- package/esm2015/lib/services/http/firm/client-income/client-income-types.service.js +50 -50
- package/esm2015/lib/services/http/firm/client-invite/client-invite.service.js +102 -102
- package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +89 -89
- package/esm2015/lib/services/http/firm/employee/employee.service.js +39 -39
- package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +53 -53
- package/esm2015/lib/services/http/firm/firm.service.js +79 -79
- package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +37 -37
- package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +81 -81
- package/esm2015/lib/services/http/income-source/income-source.service.js +101 -101
- package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +81 -81
- package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +78 -78
- package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +73 -73
- package/esm2015/lib/services/http/loan/loan.service.js +136 -136
- package/esm2015/lib/services/http/property/property-category/property-category.service.js +23 -23
- package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +47 -47
- package/esm2015/lib/services/http/property/property-document/property-document.service.js +61 -61
- package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +20 -20
- package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +21 -21
- package/esm2015/lib/services/http/property/property-share/property-share.service.js +106 -106
- package/esm2015/lib/services/http/property/property.service.js +117 -117
- package/esm2015/lib/services/http/rest/rest.service.js +217 -217
- package/esm2015/lib/services/http/service-notification/service-notification.service.js +61 -61
- package/esm2015/lib/services/http/subscription/service-price.service.js +24 -24
- package/esm2015/lib/services/http/subscription/subscription.service.js +111 -111
- package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +40 -40
- package/esm2015/lib/services/http/tax-review/tax-review.service.js +94 -94
- package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +71 -71
- package/esm2015/lib/services/http/transaction/messages.enum.js +7 -7
- package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +82 -82
- package/esm2015/lib/services/http/transaction/transaction.service.js +323 -323
- package/esm2015/lib/services/http/user/occupation/occupation.service.js +45 -45
- package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +51 -51
- package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +21 -21
- package/esm2015/lib/services/http/user/user.service.js +124 -124
- package/esm2015/lib/services/http/vehicle/messages.enum.js +13 -13
- package/esm2015/lib/services/http/vehicle/vehicle-claim.service.js +24 -24
- package/esm2015/lib/services/http/vehicle/vehicle-logbook.service.js +59 -59
- package/esm2015/lib/services/http/vehicle/vehicle.service.js +73 -73
- package/esm2015/lib/services/intercom/intercom.service.js +41 -41
- package/esm2015/lib/services/kompassify/kompassify.service.js +30 -30
- package/esm2015/lib/services/pdf/pdf.service.js +94 -94
- package/esm2015/lib/services/preloader/preloader.service.js +30 -30
- package/esm2015/lib/services/property/corelogic/corelogic.service.js +46 -46
- package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +45 -45
- package/esm2015/lib/services/property/property-calculation/property-calculation.service.js +121 -121
- package/esm2015/lib/services/property/property-holding-costs/property-holding-costs.service.js +53 -53
- package/esm2015/lib/services/report/property/property-transaction-report.service.js +76 -76
- package/esm2015/lib/services/toast/toast.service.js +57 -57
- package/esm2015/lib/services/transaction/transaction-calculation.service.js +47 -47
- package/esm2015/lib/services/user/user-switcher.service.js +37 -37
- package/esm2015/lib/services/xlsx/xlsx.service.js +47 -47
- package/esm2015/lib/tt-core.module.js +36 -36
- package/esm2015/lib/validators/at-least-one.validator.js +11 -11
- package/esm2015/lib/validators/index.js +2 -2
- package/esm2015/lib/validators/password-match.validator.js +17 -0
- package/esm2015/lib/validators/password.validator.js +7 -0
- package/esm2015/public-api.js +392 -391
- package/esm2015/taxtank-core.js +4 -4
- package/fesm2015/taxtank-core.js +10879 -10855
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/account-setup-item.collection.d.ts +6 -6
- package/lib/collections/bank-account.collection.d.ts +67 -67
- package/lib/collections/bank-transaction.collection.d.ts +72 -72
- package/lib/collections/client-movement.collection.d.ts +17 -17
- package/lib/collections/client-portfolio-report.collection.d.ts +26 -26
- package/lib/collections/client.collection.d.ts +4 -4
- package/lib/collections/collection-dictionary.d.ts +47 -47
- package/lib/collections/collection.d.ts +49 -49
- package/lib/collections/depreciation-forecast.collection.d.ts +11 -11
- package/lib/collections/depreciation.collection.d.ts +37 -37
- package/lib/collections/employee.collection.d.ts +6 -6
- package/lib/collections/income-source.collection.d.ts +20 -20
- package/lib/collections/loan.collection.d.ts +14 -14
- package/lib/collections/message-document.collection.d.ts +11 -11
- package/lib/collections/message.collection.d.ts +14 -14
- package/lib/collections/property/property-sale/property-sale-tax-exemption-metadata.collection.d.ts +8 -8
- package/lib/collections/property/property.collection.d.ts +35 -35
- package/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts +8 -8
- package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts +8 -8
- package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts +12 -12
- package/lib/collections/report/property/property-report-item-transaction.collection.d.ts +12 -12
- package/lib/collections/report/property/property-report-item.collection.d.ts +9 -9
- package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts +9 -9
- package/lib/collections/subscription/service-subscription.collection.d.ts +8 -8
- package/lib/collections/tax-review.collection.d.ts +35 -35
- package/lib/collections/tax-summary/report-item.collection.d.ts +68 -68
- package/lib/collections/transaction-allocation.collection.d.ts +23 -23
- package/lib/collections/transaction.collection.d.ts +80 -80
- package/lib/collections/user-event-setting.collection.d.ts +8 -8
- package/lib/collections/vehicle-logbook.collection.d.ts +30 -30
- package/lib/collections/vehicle.collection.d.ts +6 -6
- package/lib/db/Enums/address-type.enum.d.ts +4 -4
- package/lib/db/Enums/bank-account-status.enum.d.ts +4 -4
- package/lib/db/Enums/bank-account-type.enum.d.ts +10 -10
- package/lib/db/Enums/bank-connection-status.enum.d.ts +5 -5
- package/lib/db/Enums/bank-transaction-type.enum.d.ts +4 -4
- package/lib/db/Enums/chart-accounts-category.enum.d.ts +16 -16
- package/lib/db/Enums/chart-accounts-etp.enum.d.ts +7 -7
- package/lib/db/Enums/chart-accounts-heading-tax-deductible.enum.d.ts +6 -6
- package/lib/db/Enums/chart-accounts-heading-taxable.enum.d.ts +6 -6
- package/lib/db/Enums/chart-accounts-heading-vehicle-list.enum.d.ts +6 -6
- package/lib/db/Enums/chart-accounts-list.enum.d.ts +20 -20
- package/lib/db/Enums/chart-accounts-metadata-list.enum.d.ts +14 -14
- package/lib/db/Enums/chart-accounts-metadata-type.enum.d.ts +4 -4
- package/lib/db/Enums/chart-accounts-type.enum.d.ts +4 -4
- package/lib/db/Enums/chat-status.enum.d.ts +4 -4
- package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts +5 -5
- package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts +4 -4
- package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts +5 -5
- package/lib/db/Enums/client-invite-status.enum.d.ts +4 -4
- package/lib/db/Enums/client-invite-type.enum.d.ts +4 -4
- package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts +7 -7
- package/lib/db/Enums/depreciation-calculation.enum.d.ts +7 -7
- package/lib/db/Enums/depreciation-type.enum.d.ts +6 -6
- package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts +4 -4
- package/lib/db/Enums/firm-type.enum.d.ts +4 -4
- package/lib/db/Enums/income-source-type-list-other.enum.d.ts +6 -6
- package/lib/db/Enums/income-source-type-list-salary.enum.d.ts +3 -3
- package/lib/db/Enums/income-source-type-list-work.enum.d.ts +8 -8
- package/lib/db/Enums/income-source-type.enum.d.ts +6 -6
- package/lib/db/Enums/invite-status.enum.d.ts +5 -5
- package/lib/db/Enums/loan-bank-type.enum.d.ts +10 -10
- package/lib/db/Enums/loan-frequency.enum.d.ts +6 -6
- package/lib/db/Enums/loan-interest-type.enum.d.ts +4 -4
- package/lib/db/Enums/loan-payout-type.enum.d.ts +4 -4
- package/lib/db/Enums/loan-repayment-frequency.enum.d.ts +5 -5
- package/lib/db/Enums/loan-repayment-type.enum.d.ts +4 -4
- package/lib/db/Enums/loan-type.enum.d.ts +12 -12
- package/lib/db/Enums/loan-vehicle-type.enum.d.ts +5 -5
- package/lib/db/Enums/phone-type.enum.d.ts +4 -4
- package/lib/db/Enums/property/property-category-list.enum.d.ts +4 -4
- package/lib/db/Enums/property/property-depreciation-calculation.enum.d.ts +4 -4
- package/lib/db/Enums/property/property-sale/tax-exemption-metadata.enum.d.ts +5 -5
- package/lib/db/Enums/property/property-sale/tax-exemption.enum.d.ts +9 -9
- package/lib/db/Enums/property/property-share-access.enum.d.ts +4 -4
- package/lib/db/Enums/property/property-share-status.enum.d.ts +5 -5
- package/lib/db/Enums/registration-invite-status.enum.d.ts +4 -4
- package/lib/db/Enums/salary-forecast-frequency.enum.d.ts +6 -6
- package/lib/db/Enums/service-notification-status.enum.d.ts +5 -5
- package/lib/db/Enums/service-notification-type.enum.d.ts +4 -4
- package/lib/db/Enums/spare-document-spare-type.enum.d.ts +4 -4
- package/lib/db/Enums/subscription/service-payment-status.enum.d.ts +4 -4
- package/lib/db/Enums/subscription/service-price-recurring-interval.enum.d.ts +6 -6
- package/lib/db/Enums/subscription/service-price-type.enum.d.ts +4 -4
- package/lib/db/Enums/subscription/service-product-id.enum.d.ts +8 -8
- package/lib/db/Enums/subscription/service-product-status.enum.d.ts +4 -4
- package/lib/db/Enums/subscription/service-subscription-status.enum.d.ts +8 -8
- package/lib/db/Enums/tank-type.enum.d.ts +6 -6
- package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts +4 -4
- package/lib/db/Enums/tax-calculation-type.enum.d.ts +12 -12
- package/lib/db/Enums/tax-return-category-list.enum.d.ts +26 -26
- package/lib/db/Enums/tax-return-category-section.enum.d.ts +6 -6
- package/lib/db/Enums/tax-review-status.enum.d.ts +11 -11
- package/lib/db/Enums/tax-summary-list.enum.d.ts +15 -15
- package/lib/db/Enums/tax-summary-section.enum.d.ts +6 -6
- package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts +15 -15
- package/lib/db/Enums/ticket-feedback.enum.d.ts +4 -4
- package/lib/db/Enums/ticket-status.enum.d.ts +7 -7
- package/lib/db/Enums/ticket-types.enum.d.ts +3 -3
- package/lib/db/Enums/transaction-operation.enum.d.ts +5 -5
- package/lib/db/Enums/transaction-source.enum.d.ts +4 -4
- package/lib/db/Enums/transaction-type.enum.d.ts +4 -4
- package/lib/db/Enums/user-event-status.enum.d.ts +7 -7
- package/lib/db/Enums/user-event-type-client-type.enum.d.ts +27 -27
- package/lib/db/Enums/user-event-type-employee-type.enum.d.ts +15 -15
- package/lib/db/Enums/user-event-type-frequency.enum.d.ts +5 -5
- package/lib/db/Enums/user-event-type-user-type.enum.d.ts +5 -5
- package/lib/db/Enums/user-medicare-exemption.enum.d.ts +5 -5
- package/lib/db/Enums/user-roles.enum.d.ts +14 -14
- package/lib/db/Enums/user-status.enum.d.ts +5 -5
- package/lib/db/Enums/user-title.enum.d.ts +7 -7
- package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts +4 -4
- package/lib/db/Enums/user-working-holiday-maker.enum.d.ts +5 -5
- package/lib/db/Enums/vehicle-claim-method.enum.d.ts +4 -4
- package/lib/db/Enums/vehicle-logbook-purpose.enum.d.ts +4 -4
- package/lib/db/Models/abstract-model.d.ts +3 -3
- package/lib/db/Models/address.d.ts +20 -20
- package/lib/db/Models/bank/bank-account-balance.d.ts +13 -13
- package/lib/db/Models/bank/bank-account-property.d.ts +9 -9
- package/lib/db/Models/bank/bank-account.d.ts +34 -34
- package/lib/db/Models/bank/bank-connection.d.ts +15 -15
- package/lib/db/Models/bank/bank-transaction-import.d.ts +12 -12
- package/lib/db/Models/bank/bank-transaction.d.ts +17 -17
- package/lib/db/Models/bank/bank.d.ts +12 -12
- package/lib/db/Models/bank/basiq-job.d.ts +9 -9
- package/lib/db/Models/bank/financial-data-system.d.ts +10 -10
- package/lib/db/Models/chart-accounts/chart-accounts-depreciation.d.ts +11 -11
- package/lib/db/Models/chart-accounts/chart-accounts-heading.d.ts +7 -7
- package/lib/db/Models/chart-accounts/chart-accounts-metadata.d.ts +12 -12
- package/lib/db/Models/chart-accounts/chart-accounts-value.d.ts +13 -13
- package/lib/db/Models/chart-accounts/chart-accounts.d.ts +24 -24
- package/lib/db/Models/country.d.ts +6 -6
- package/lib/db/Models/depreciation/depreciation-capital-project.d.ts +14 -14
- package/lib/db/Models/depreciation/depreciation-forecast.d.ts +18 -18
- package/lib/db/Models/depreciation/depreciation-receipt.d.ts +12 -12
- package/lib/db/Models/depreciation/depreciation.d.ts +42 -42
- package/lib/db/Models/document/document-folder.d.ts +10 -10
- package/lib/db/Models/document/document.d.ts +12 -12
- package/lib/db/Models/document/property-document.d.ts +18 -18
- package/lib/db/Models/firm/accountant/tax-review.d.ts +14 -14
- package/lib/db/Models/firm/accountant/ticket.d.ts +20 -20
- package/lib/db/Models/firm/chat.d.ts +18 -18
- package/lib/db/Models/firm/client-invite.d.ts +17 -17
- package/lib/db/Models/firm/client-movement.d.ts +13 -13
- package/lib/db/Models/firm/employee-invite.d.ts +10 -10
- package/lib/db/Models/firm/firm.d.ts +29 -29
- package/lib/db/Models/firm/message-document.d.ts +16 -16
- package/lib/db/Models/firm/message.d.ts +16 -16
- package/lib/db/Models/incomeSource/income-source-forecast.d.ts +13 -13
- package/lib/db/Models/incomeSource/income-source-type.d.ts +9 -9
- package/lib/db/Models/incomeSource/income-source.d.ts +23 -23
- package/lib/db/Models/incomeSource/salary-forecast.d.ts +16 -16
- package/lib/db/Models/loan/borrowing-expense-loan.d.ts +15 -15
- package/lib/db/Models/loan/borrowing-expense.d.ts +8 -8
- package/lib/db/Models/loan/loan-payout.d.ts +13 -13
- package/lib/db/Models/loan/loan.d.ts +34 -34
- package/lib/db/Models/phone.d.ts +13 -13
- package/lib/db/Models/property/property-category-movement.d.ts +18 -18
- package/lib/db/Models/property/property-category.d.ts +14 -14
- package/lib/db/Models/property/property-forecast.d.ts +15 -15
- package/lib/db/Models/property/property-sale/property-sale-tax-exemption-metadata.d.ts +9 -9
- package/lib/db/Models/property/property-sale/property-sale.d.ts +23 -22
- package/lib/db/Models/property/property-sale/tax-exemption-metadata.d.ts +7 -7
- package/lib/db/Models/property/property-sale/tax-exemption.d.ts +8 -8
- package/lib/db/Models/property/property-share.d.ts +21 -21
- package/lib/db/Models/property/property-subscription.d.ts +10 -10
- package/lib/db/Models/property/property-valuation.d.ts +13 -13
- package/lib/db/Models/property/property.d.ts +43 -43
- package/lib/db/Models/service-notification.d.ts +14 -14
- package/lib/db/Models/sole/sole-forecast.d.ts +9 -9
- package/lib/db/Models/subscription/service-payment.d.ts +12 -12
- package/lib/db/Models/subscription/service-price.d.ts +16 -16
- package/lib/db/Models/subscription/service-product.d.ts +19 -19
- package/lib/db/Models/subscription/service-subscription-item.d.ts +10 -10
- package/lib/db/Models/subscription/service-subscription.d.ts +15 -15
- package/lib/db/Models/tax-return/tax-return-category.d.ts +13 -13
- package/lib/db/Models/tax-return/tax-return-item.d.ts +16 -16
- package/lib/db/Models/tax-return/tax-return.d.ts +9 -9
- package/lib/db/Models/transaction/transaction-allocation.d.ts +9 -9
- package/lib/db/Models/transaction/transaction-base.d.ts +25 -25
- package/lib/db/Models/transaction/transaction-metadata.d.ts +12 -12
- package/lib/db/Models/transaction/transaction-receipt.d.ts +12 -12
- package/lib/db/Models/transaction/transaction.d.ts +43 -43
- package/lib/db/Models/user/client-details.d.ts +35 -35
- package/lib/db/Models/user/client-income-types.d.ts +12 -12
- package/lib/db/Models/user/employee-details.d.ts +8 -8
- package/lib/db/Models/user/occupation.d.ts +6 -6
- package/lib/db/Models/user/registration-invite.d.ts +13 -13
- package/lib/db/Models/user/user-event-setting.d.ts +11 -11
- package/lib/db/Models/user/user-event-type-category.d.ts +5 -5
- package/lib/db/Models/user/user-event-type.d.ts +18 -18
- package/lib/db/Models/user/user-event.d.ts +16 -16
- package/lib/db/Models/user/user.d.ts +52 -52
- package/lib/db/Models/vehicle/vehicle-claim.d.ts +14 -14
- package/lib/db/Models/vehicle/vehicle-logbook.d.ts +17 -17
- package/lib/db/Models/vehicle/vehicle.d.ts +11 -11
- package/lib/forms/abstract.form.d.ts +4 -4
- package/lib/forms/client/client-income-types.form.d.ts +7 -7
- package/lib/forms/index.d.ts +9 -9
- package/lib/forms/login/login.form.d.ts +4 -4
- package/lib/forms/register/register-client.form.d.ts +5 -5
- package/lib/forms/register/register-firm.form.d.ts +7 -7
- package/lib/forms/user/password.form.d.ts +4 -4
- package/lib/forms/user/reset-password.form.d.ts +4 -4
- package/lib/forms/vehicle/vehicle-claim.form.d.ts +43 -43
- package/lib/forms/vehicle/vehicle.form.d.ts +11 -11
- package/lib/functions/array/index.d.ts +3 -3
- package/lib/functions/array/replace.d.ts +1 -1
- package/lib/functions/array/sort-deep.d.ts +1 -1
- package/lib/functions/array/sort.d.ts +1 -1
- package/lib/functions/clone-deep.d.ts +1 -1
- package/lib/functions/create-date.d.ts +5 -5
- package/lib/functions/enum-to-list.d.ts +2 -2
- package/lib/functions/get-doc-icon.d.ts +7 -7
- package/lib/functions/mat-options-functions.d.ts +2 -2
- package/lib/functions/mat-sort-options.d.ts +7 -7
- package/lib/functions/round-to.d.ts +6 -6
- package/lib/functions/tax-review-filter-predicate.d.ts +7 -7
- package/lib/interceptors/corelogic-interceptor.d.ts +20 -20
- package/lib/interceptors/financial-year-interceptor.d.ts +12 -12
- package/lib/interceptors/interceptors.module.d.ts +6 -6
- package/lib/interceptors/jwt-interceptor.d.ts +42 -42
- package/lib/interceptors/preloader.interceptor.d.ts +15 -15
- package/lib/interceptors/user-switcher-interceptor.d.ts +19 -19
- package/lib/interfaces/asset-entity-type.enum.d.ts +10 -10
- package/lib/interfaces/asset-type.enum.d.ts +8 -8
- package/lib/interfaces/asset.interface.d.ts +17 -17
- package/lib/interfaces/chart-data.interface.d.ts +10 -10
- package/lib/interfaces/chart-serie.interface.d.ts +8 -8
- package/lib/interfaces/document.interface.d.ts +18 -18
- package/lib/interfaces/documentable.interface.d.ts +8 -8
- package/lib/interfaces/event-listener.interface.d.ts +10 -10
- package/lib/interfaces/expense.interface.d.ts +12 -12
- package/lib/interfaces/exportable.interface.d.ts +9 -9
- package/lib/interfaces/income-source-forecast.interface.d.ts +10 -10
- package/lib/interfaces/option.interface.d.ts +4 -4
- package/lib/interfaces/photoable.d.ts +13 -13
- package/lib/interfaces/receipt.interface.d.ts +12 -12
- package/lib/interfaces/tank.interface.d.ts +9 -9
- package/lib/interfaces/updatable.interface.d.ts +8 -8
- package/lib/models/account-setup/account-setup-item.d.ts +11 -11
- package/lib/models/account-setup/account-setup-items.const.d.ts +7 -7
- package/lib/models/account-setup/account-setup-items.enum.d.ts +12 -12
- package/lib/models/address/address.d.ts +11 -11
- package/lib/models/address/country.d.ts +11 -11
- package/lib/models/bank/bank-account-chart-data.d.ts +17 -17
- package/lib/models/bank/bank-account-property.d.ts +5 -5
- package/lib/models/bank/bank-account-types.const.d.ts +7 -7
- package/lib/models/bank/bank-account.d.ts +72 -72
- package/lib/models/bank/bank-connection.d.ts +11 -11
- package/lib/models/bank/bank-transaction-chart-data.d.ts +30 -30
- package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts +4 -4
- package/lib/models/bank/bank-transaction.d.ts +38 -38
- package/lib/models/bank/bank.d.ts +6 -6
- package/lib/models/bank/basiq-config.d.ts +17 -17
- package/lib/models/bank/basiq-job.d.ts +3 -3
- package/lib/models/bank/basiq-token.d.ts +9 -9
- package/lib/models/bank/type-loan.const.d.ts +2 -2
- package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts +3 -3
- package/lib/models/borrowing-expense/borrowing-expense.d.ts +3 -3
- package/lib/models/chart/chart-data.d.ts +9 -9
- package/lib/models/chart/chart-serie.d.ts +8 -8
- package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts +8 -8
- package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts +7 -7
- package/lib/models/chart-accounts/chart-accounts-heading.d.ts +5 -5
- package/lib/models/chart-accounts/chart-accounts-metadata.d.ts +8 -8
- package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts +5 -5
- package/lib/models/chart-accounts/chart-accounts-value.d.ts +3 -3
- package/lib/models/chart-accounts/chart-accounts.d.ts +85 -85
- package/lib/models/chat/chat-view-type.enum.d.ts +4 -4
- package/lib/models/chat/chat.d.ts +10 -10
- package/lib/models/chat/message-document.d.ts +11 -11
- package/lib/models/chat/message.d.ts +20 -20
- package/lib/models/client/client-details.d.ts +3 -3
- package/lib/models/client/client-income-types.d.ts +7 -7
- package/lib/models/client/client-invite.d.ts +34 -34
- package/lib/models/client/client-movement.d.ts +12 -12
- package/lib/models/client/client-portfolio-chart-data.d.ts +11 -11
- package/lib/models/client/client-portfolio-report.d.ts +10 -10
- package/lib/models/color/alphabet-colors.enum.d.ts +28 -28
- package/lib/models/depreciation/depreciation-capital-project.d.ts +5 -5
- package/lib/models/depreciation/depreciation-forecast.d.ts +12 -12
- package/lib/models/depreciation/depreciation-group-item.d.ts +10 -10
- package/lib/models/depreciation/depreciation-group.d.ts +11 -11
- package/lib/models/depreciation/depreciation-group.enum.d.ts +7 -7
- package/lib/models/depreciation/depreciation-groups.const.d.ts +9 -9
- package/lib/models/depreciation/depreciation-receipt.d.ts +8 -8
- package/lib/models/depreciation/depreciation.d.ts +71 -71
- package/lib/models/document/document-api-url-prefix.enum.d.ts +7 -7
- package/lib/models/document/document-file-types.const.d.ts +3 -3
- package/lib/models/document/document-folder.d.ts +7 -7
- package/lib/models/document/document.d.ts +21 -21
- package/lib/models/employee/employee-details.d.ts +5 -5
- package/lib/models/employee/employee-invite.d.ts +7 -7
- package/lib/models/endpoint/endpoint.d.ts +22 -22
- package/lib/models/endpoint/endpoints.const.d.ts +7 -7
- package/lib/models/event/app-event-type.enum.d.ts +43 -43
- package/lib/models/event/app-event.d.ts +9 -9
- package/lib/models/export/export-data-table.d.ts +9 -9
- package/lib/models/export/export-format.enum.d.ts +4 -4
- package/lib/models/file/icons-file.enum.d.ts +5 -5
- package/lib/models/financial-year/financial-year.d.ts +19 -19
- package/lib/models/financial-year/month-name-short.enum.d.ts +19 -19
- package/lib/models/financial-year/month-number.enum.d.ts +19 -19
- package/lib/models/financial-year/months.const.d.ts +1 -1
- package/lib/models/firm/firm.d.ts +18 -18
- package/lib/models/income-position/income-position.d.ts +9 -9
- package/lib/models/income-source/income-source-chart-data.d.ts +14 -14
- package/lib/models/income-source/income-source-forecast.d.ts +18 -18
- package/lib/models/income-source/income-source-type.d.ts +9 -9
- package/lib/models/income-source/income-source.d.ts +29 -29
- package/lib/models/income-source/salary-forecast.d.ts +7 -7
- package/lib/models/income-source/sole-forecast.d.ts +7 -7
- package/lib/models/loan/loan-max-number-of-payments.enum.d.ts +8 -8
- package/lib/models/loan/loan-payment.d.ts +13 -13
- package/lib/models/loan/loan-payout.d.ts +9 -9
- package/lib/models/loan/loan.d.ts +20 -20
- package/lib/models/logbook/default-vehicle-expense.d.ts +5 -5
- package/lib/models/logbook/logbook-period.d.ts +10 -10
- package/lib/models/logbook/logbook-purpose-options.const.d.ts +4 -4
- package/lib/models/logbook/vehicle-claim.d.ts +36 -36
- package/lib/models/logbook/vehicle-logbook.d.ts +12 -12
- package/lib/models/logbook/vehicle.d.ts +10 -10
- package/lib/models/notification/notification.d.ts +14 -14
- package/lib/models/pdf/pdf-config.d.ts +8 -8
- package/lib/models/pdf/pdf-orientation.enum.d.ts +4 -4
- package/lib/models/pdf/pdf-settings.d.ts +9 -9
- package/lib/models/phone/phone.d.ts +6 -6
- package/lib/models/property/calculation-form-item.d.ts +15 -15
- package/lib/models/property/calculation-form-type.enum.d.ts +7 -7
- package/lib/models/property/capital-costs-itmes.const.d.ts +2 -2
- package/lib/models/property/corelogic-suggestion.d.ts +18 -18
- package/lib/models/property/property-category-movement.d.ts +9 -9
- package/lib/models/property/property-category.d.ts +5 -5
- package/lib/models/property/property-document.d.ts +14 -14
- package/lib/models/property/property-equity-chart-data.d.ts +62 -62
- package/lib/models/property/property-equity-chart-item.d.ts +19 -19
- package/lib/models/property/property-equity-chart-type.enum.d.ts +4 -4
- package/lib/models/property/property-forecast.d.ts +28 -28
- package/lib/models/property/property-sale/property-sale-tax-exemption-metadata.d.ts +3 -3
- package/lib/models/property/property-sale/property-sale.d.ts +8 -8
- package/lib/models/property/property-sale/tax-exemption-metadata.d.ts +3 -3
- package/lib/models/property/property-sale/tax-exemption.d.ts +3 -3
- package/lib/models/property/property-share.d.ts +21 -21
- package/lib/models/property/property-subscription.d.ts +6 -6
- package/lib/models/property/property-valuation.d.ts +9 -9
- package/lib/models/property/property.d.ts +86 -86
- package/lib/models/property/share-filter-options.enum.d.ts +9 -9
- package/lib/models/registration-invite/registration-invite.d.ts +6 -6
- package/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts +8 -8
- package/lib/models/report/depreciation/depreciation-lvp-report-item.d.ts +8 -8
- package/lib/models/report/depreciation/depreciation-report-item.d.ts +9 -9
- package/lib/models/report/property/property-report-item-depreciation.d.ts +10 -10
- package/lib/models/report/property/property-report-item-transaction.d.ts +10 -10
- package/lib/models/report/property/property-report-item.d.ts +22 -22
- package/lib/models/report/vehicle-expense/vehicle-expense.d.ts +10 -10
- package/lib/models/service-subscription/module-url-list.const.d.ts +6 -6
- package/lib/models/service-subscription/service-payment.d.ts +5 -5
- package/lib/models/service-subscription/service-price.d.ts +7 -5
- package/lib/models/service-subscription/service-product.d.ts +7 -7
- package/lib/models/service-subscription/service-subscription-item.d.ts +6 -6
- package/lib/models/service-subscription/service-subscription.d.ts +65 -65
- package/lib/models/service-subscription/subscription-description.const.d.ts +3 -3
- package/lib/models/service-subscription/subscription-title.const.d.ts +3 -3
- package/lib/models/service-subscription/subscription-type.enum.d.ts +6 -6
- package/lib/models/tax-review/tax-review.d.ts +52 -52
- package/lib/models/tax-summary/report-item-details.d.ts +13 -13
- package/lib/models/tax-summary/report-item.d.ts +18 -18
- package/lib/models/tax-summary/tax-summary-section.d.ts +12 -12
- package/lib/models/tax-summary/tax-summary-type.enum.d.ts +7 -7
- package/lib/models/tax-summary/tax-summary.d.ts +44 -44
- package/lib/models/toast/toast-type.enum.d.ts +6 -6
- package/lib/models/toast/toast.d.ts +10 -10
- package/lib/models/transaction/income-amount-type.enum.d.ts +7 -7
- package/lib/models/transaction/transaction-allocation.d.ts +12 -12
- package/lib/models/transaction/transaction-metadata.d.ts +5 -5
- package/lib/models/transaction/transaction-receipt.d.ts +8 -8
- package/lib/models/transaction/transaction.d.ts +99 -99
- package/lib/models/user/my-account-history-initiated-by.enum.d.ts +4 -4
- package/lib/models/user/my-account-history-status.enum.d.ts +4 -4
- package/lib/models/user/my-account-history-type.enum.d.ts +5 -5
- package/lib/models/user/my-account-history.d.ts +11 -11
- package/lib/models/user/occupation.d.ts +3 -3
- package/lib/models/user/user-roles.const.d.ts +4 -4
- package/lib/models/user/user-to-register.d.ts +7 -7
- package/lib/models/user/user-work-position.const.d.ts +3 -3
- package/lib/models/user/user.d.ts +64 -64
- package/lib/models/user-event/user-event-setting-field.enum.d.ts +8 -8
- package/lib/models/user-event/user-event-setting.d.ts +6 -6
- package/lib/models/user-event/user-event-type-category.d.ts +3 -3
- package/lib/models/user-event/user-event-type.d.ts +7 -7
- package/lib/services/account-setup/account-setup.service.d.ts +56 -56
- package/lib/services/asset/assets.service.d.ts +34 -34
- package/lib/services/auth/auth.service.d.ts +17 -17
- package/lib/services/auth/jwt.service.d.ts +16 -16
- package/lib/services/bank/bank-account-calculation.service.d.ts +19 -19
- package/lib/services/bank/bank-transaction-calculation.service.d.ts +41 -41
- package/lib/services/event/event-dispatcher.service.d.ts +17 -17
- package/lib/services/event/sse.service.d.ts +16 -16
- package/lib/services/header-title/header-title.service.d.ts +11 -11
- package/lib/services/http/address/address.service.d.ts +14 -14
- package/lib/services/http/bank/bank-account/bank-account.service.d.ts +43 -43
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +19 -19
- package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts +33 -33
- package/lib/services/http/bank/bank.service.d.ts +14 -14
- package/lib/services/http/bank/basiq/basiq.service.d.ts +37 -37
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +19 -19
- package/lib/services/http/chart-accounts/chart-accounts.service.d.ts +37 -37
- package/lib/services/http/chat/chat.service.d.ts +28 -28
- package/lib/services/http/chat/message/message.service.d.ts +28 -28
- package/lib/services/http/chat/message-document/message-document.service.d.ts +50 -50
- package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts +20 -20
- package/lib/services/http/depreciation/depreciation.service.d.ts +50 -50
- package/lib/services/http/document/document-folder/document-folder.service.d.ts +34 -34
- package/lib/services/http/firm/client-income/client-income-types.service.d.ts +18 -18
- package/lib/services/http/firm/client-invite/client-invite.service.d.ts +36 -36
- package/lib/services/http/firm/client-movement/client-movement.service.d.ts +35 -35
- package/lib/services/http/firm/employee/employee.service.d.ts +16 -16
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +21 -21
- package/lib/services/http/firm/firm.service.d.ts +27 -27
- package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts +16 -16
- package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts +31 -31
- package/lib/services/http/income-source/income-source.service.d.ts +42 -42
- package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts +31 -31
- package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts +28 -28
- package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts +19 -19
- package/lib/services/http/loan/loan.service.d.ts +58 -58
- package/lib/services/http/property/property-category/property-category.service.d.ts +13 -13
- package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts +15 -15
- package/lib/services/http/property/property-document/property-document.service.d.ts +26 -26
- package/lib/services/http/property/property-sale/property-sale.service.d.ts +10 -10
- package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts +11 -11
- package/lib/services/http/property/property-share/property-share.service.d.ts +39 -39
- package/lib/services/http/property/property.service.d.ts +49 -49
- package/lib/services/http/rest/rest.service.d.ts +106 -106
- package/lib/services/http/service-notification/service-notification.service.d.ts +28 -28
- package/lib/services/http/subscription/service-price.service.d.ts +14 -14
- package/lib/services/http/subscription/subscription.service.d.ts +44 -44
- package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts +19 -19
- package/lib/services/http/tax-review/tax-review.service.d.ts +38 -38
- package/lib/services/http/tax-summary/tax-summary.service.d.ts +32 -32
- package/lib/services/http/transaction/messages.enum.d.ts +5 -5
- package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts +38 -38
- package/lib/services/http/transaction/transaction.service.d.ts +90 -90
- package/lib/services/http/user/occupation/occupation.service.d.ts +20 -20
- package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts +16 -16
- package/lib/services/http/user/user-event-type/user-event-type.service.d.ts +11 -11
- package/lib/services/http/user/user.service.d.ts +60 -60
- package/lib/services/http/vehicle/messages.enum.d.ts +11 -11
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts +13 -13
- package/lib/services/http/vehicle/vehicle-logbook.service.d.ts +22 -22
- package/lib/services/http/vehicle/vehicle.service.d.ts +31 -31
- package/lib/services/intercom/intercom.service.d.ts +21 -21
- package/lib/services/kompassify/kompassify.service.d.ts +13 -13
- package/lib/services/pdf/pdf.service.d.ts +26 -26
- package/lib/services/preloader/preloader.service.d.ts +12 -12
- package/lib/services/property/corelogic/corelogic.service.d.ts +15 -15
- package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts +15 -15
- package/lib/services/property/property-calculation/property-calculation.service.d.ts +33 -33
- package/lib/services/property/property-holding-costs/property-holding-costs.service.d.ts +24 -24
- package/lib/services/report/property/property-transaction-report.service.d.ts +42 -42
- package/lib/services/toast/toast.service.d.ts +17 -17
- package/lib/services/transaction/transaction-calculation.service.d.ts +29 -29
- package/lib/services/user/user-switcher.service.d.ts +20 -20
- package/lib/services/xlsx/xlsx.service.d.ts +10 -10
- package/lib/tt-core.module.d.ts +10 -10
- package/lib/validators/at-least-one.validator.d.ts +6 -6
- package/lib/validators/index.d.ts +1 -1
- package/lib/validators/password-match.validator.d.ts +2 -0
- package/lib/validators/password.validator.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +391 -390
- package/taxtank-core.d.ts +5 -5
- package/esm2015/lib/db/Enums/subscription/service-price-list.enum.js +0 -5
- package/lib/db/Enums/subscription/service-price-list.enum.d.ts +0 -3
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
import { Transaction as TransactionBase } from '../../db/Models/transaction/transaction';
|
|
2
|
-
import { ChartAccountsCategoryEnum } from '../../db/Enums/chart-accounts-category.enum';
|
|
3
|
-
import { TransactionOperationEnum } from '../../db/Enums/transaction-operation.enum';
|
|
4
|
-
import { Property } from '../property/property';
|
|
5
|
-
import { TransactionReceipt } from './transaction-receipt';
|
|
6
|
-
import { ChartAccounts } from '../chart-accounts/chart-accounts';
|
|
7
|
-
import { IncomeSource } from '../income-source/income-source';
|
|
8
|
-
import { TransactionMetadata } from './transaction-metadata';
|
|
9
|
-
import { Loan } from '../loan/loan';
|
|
10
|
-
import { TransactionAllocation } from './transaction-allocation';
|
|
11
|
-
import { IReceipt } from '../../interfaces/receipt.interface';
|
|
12
|
-
import { TransactionAllocationCollection } from '../../collections/transaction-allocation.collection';
|
|
13
|
-
import { Depreciation } from '../depreciation/depreciation';
|
|
14
|
-
import { Expense } from '../../interfaces/expense.interface';
|
|
15
|
-
export declare class Transaction extends TransactionBase implements Expense, IReceipt {
|
|
16
|
-
transactions: Transaction[];
|
|
17
|
-
property: Property;
|
|
18
|
-
receipt: TransactionReceipt;
|
|
19
|
-
chartAccounts: ChartAccounts;
|
|
20
|
-
incomeSource: IncomeSource;
|
|
21
|
-
metadata: TransactionMetadata[];
|
|
22
|
-
transfer: Transaction;
|
|
23
|
-
loan: Loan;
|
|
24
|
-
date: Date;
|
|
25
|
-
allocations: TransactionAllocation[];
|
|
26
|
-
file: File;
|
|
27
|
-
tax: number;
|
|
28
|
-
operation: TransactionOperationEnum;
|
|
29
|
-
allocatedAmount: number;
|
|
30
|
-
unallocatedAmount: number;
|
|
31
|
-
isSelected: boolean;
|
|
32
|
-
claimPercent: number;
|
|
33
|
-
amount: number;
|
|
34
|
-
isDebit(): boolean;
|
|
35
|
-
isCredit(): boolean;
|
|
36
|
-
isIncome(): boolean;
|
|
37
|
-
isExpense(): boolean;
|
|
38
|
-
isPersonal(): boolean;
|
|
39
|
-
get chartAccountsCategories(): ChartAccountsCategoryEnum[];
|
|
40
|
-
/**
|
|
41
|
-
* Check if transaction has 'Klms travelled for work' chart accounts category
|
|
42
|
-
*/
|
|
43
|
-
get isKlmsChartAccountsCategory(): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Get transaction date
|
|
46
|
-
*/
|
|
47
|
-
getDate(): Date;
|
|
48
|
-
/**
|
|
49
|
-
* Check if transaction type is vehicle
|
|
50
|
-
*/
|
|
51
|
-
isVehicleTransaction(): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Get net amount (clean amount after all deductions)
|
|
54
|
-
*/
|
|
55
|
-
getNetAmount(): number;
|
|
56
|
-
/**
|
|
57
|
-
* Get gross income amount
|
|
58
|
-
*/
|
|
59
|
-
getGrossIncome(): number;
|
|
60
|
-
get taxFreeComponent(): number;
|
|
61
|
-
get frankingCredit(): number;
|
|
62
|
-
get eligibleForReduction(): number;
|
|
63
|
-
get untaxedElement(): number;
|
|
64
|
-
/**
|
|
65
|
-
* Check if transaction reconcile operation if TRANSFER
|
|
66
|
-
* @TODO bad usage of get (and all is* methods), getter should sound like a noun
|
|
67
|
-
*/
|
|
68
|
-
get isTransfer(): boolean;
|
|
69
|
-
get debit(): number;
|
|
70
|
-
get credit(): number;
|
|
71
|
-
/**
|
|
72
|
-
* Get value of transaction metadata field
|
|
73
|
-
* @param field for which value should be returned
|
|
74
|
-
*/
|
|
75
|
-
private getMetadataFieldValue;
|
|
76
|
-
/**
|
|
77
|
-
* Returns Net or Gross income amount based on provided income type
|
|
78
|
-
* @param incomeType by which amount should be returned
|
|
79
|
-
*/
|
|
80
|
-
private getIncomeAmountByType;
|
|
81
|
-
isInterest(): boolean;
|
|
82
|
-
isCash(): boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Create Depreciation instance based on Transaction
|
|
85
|
-
*/
|
|
86
|
-
toDepreciation(): Depreciation;
|
|
87
|
-
/**
|
|
88
|
-
* Check if transaction is completely allocated
|
|
89
|
-
*/
|
|
90
|
-
isAllocated(allocations: TransactionAllocationCollection): boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Get transaction allocated amount
|
|
93
|
-
*/
|
|
94
|
-
getAllocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
95
|
-
/**
|
|
96
|
-
* Get transaction unallocated amount
|
|
97
|
-
*/
|
|
98
|
-
getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
99
|
-
}
|
|
1
|
+
import { Transaction as TransactionBase } from '../../db/Models/transaction/transaction';
|
|
2
|
+
import { ChartAccountsCategoryEnum } from '../../db/Enums/chart-accounts-category.enum';
|
|
3
|
+
import { TransactionOperationEnum } from '../../db/Enums/transaction-operation.enum';
|
|
4
|
+
import { Property } from '../property/property';
|
|
5
|
+
import { TransactionReceipt } from './transaction-receipt';
|
|
6
|
+
import { ChartAccounts } from '../chart-accounts/chart-accounts';
|
|
7
|
+
import { IncomeSource } from '../income-source/income-source';
|
|
8
|
+
import { TransactionMetadata } from './transaction-metadata';
|
|
9
|
+
import { Loan } from '../loan/loan';
|
|
10
|
+
import { TransactionAllocation } from './transaction-allocation';
|
|
11
|
+
import { IReceipt } from '../../interfaces/receipt.interface';
|
|
12
|
+
import { TransactionAllocationCollection } from '../../collections/transaction-allocation.collection';
|
|
13
|
+
import { Depreciation } from '../depreciation/depreciation';
|
|
14
|
+
import { Expense } from '../../interfaces/expense.interface';
|
|
15
|
+
export declare class Transaction extends TransactionBase implements Expense, IReceipt {
|
|
16
|
+
transactions: Transaction[];
|
|
17
|
+
property: Property;
|
|
18
|
+
receipt: TransactionReceipt;
|
|
19
|
+
chartAccounts: ChartAccounts;
|
|
20
|
+
incomeSource: IncomeSource;
|
|
21
|
+
metadata: TransactionMetadata[];
|
|
22
|
+
transfer: Transaction;
|
|
23
|
+
loan: Loan;
|
|
24
|
+
date: Date;
|
|
25
|
+
allocations: TransactionAllocation[];
|
|
26
|
+
file: File;
|
|
27
|
+
tax: number;
|
|
28
|
+
operation: TransactionOperationEnum;
|
|
29
|
+
allocatedAmount: number;
|
|
30
|
+
unallocatedAmount: number;
|
|
31
|
+
isSelected: boolean;
|
|
32
|
+
claimPercent: number;
|
|
33
|
+
amount: number;
|
|
34
|
+
isDebit(): boolean;
|
|
35
|
+
isCredit(): boolean;
|
|
36
|
+
isIncome(): boolean;
|
|
37
|
+
isExpense(): boolean;
|
|
38
|
+
isPersonal(): boolean;
|
|
39
|
+
get chartAccountsCategories(): ChartAccountsCategoryEnum[];
|
|
40
|
+
/**
|
|
41
|
+
* Check if transaction has 'Klms travelled for work' chart accounts category
|
|
42
|
+
*/
|
|
43
|
+
get isKlmsChartAccountsCategory(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Get transaction date
|
|
46
|
+
*/
|
|
47
|
+
getDate(): Date;
|
|
48
|
+
/**
|
|
49
|
+
* Check if transaction type is vehicle
|
|
50
|
+
*/
|
|
51
|
+
isVehicleTransaction(): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Get net amount (clean amount after all deductions)
|
|
54
|
+
*/
|
|
55
|
+
getNetAmount(): number;
|
|
56
|
+
/**
|
|
57
|
+
* Get gross income amount
|
|
58
|
+
*/
|
|
59
|
+
getGrossIncome(): number;
|
|
60
|
+
get taxFreeComponent(): number;
|
|
61
|
+
get frankingCredit(): number;
|
|
62
|
+
get eligibleForReduction(): number;
|
|
63
|
+
get untaxedElement(): number;
|
|
64
|
+
/**
|
|
65
|
+
* Check if transaction reconcile operation if TRANSFER
|
|
66
|
+
* @TODO bad usage of get (and all is* methods), getter should sound like a noun
|
|
67
|
+
*/
|
|
68
|
+
get isTransfer(): boolean;
|
|
69
|
+
get debit(): number;
|
|
70
|
+
get credit(): number;
|
|
71
|
+
/**
|
|
72
|
+
* Get value of transaction metadata field
|
|
73
|
+
* @param field for which value should be returned
|
|
74
|
+
*/
|
|
75
|
+
private getMetadataFieldValue;
|
|
76
|
+
/**
|
|
77
|
+
* Returns Net or Gross income amount based on provided income type
|
|
78
|
+
* @param incomeType by which amount should be returned
|
|
79
|
+
*/
|
|
80
|
+
private getIncomeAmountByType;
|
|
81
|
+
isInterest(): boolean;
|
|
82
|
+
isCash(): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Create Depreciation instance based on Transaction
|
|
85
|
+
*/
|
|
86
|
+
toDepreciation(): Depreciation;
|
|
87
|
+
/**
|
|
88
|
+
* Check if transaction is completely allocated
|
|
89
|
+
*/
|
|
90
|
+
isAllocated(allocations: TransactionAllocationCollection): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Get transaction allocated amount
|
|
93
|
+
*/
|
|
94
|
+
getAllocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
95
|
+
/**
|
|
96
|
+
* Get transaction unallocated amount
|
|
97
|
+
*/
|
|
98
|
+
getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
99
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum MyAccountHistoryInitiatedByEnum {
|
|
2
|
-
OWNER = 0,
|
|
3
|
-
ACCOUNTANT = 1
|
|
4
|
-
}
|
|
1
|
+
export declare enum MyAccountHistoryInitiatedByEnum {
|
|
2
|
+
OWNER = 0,
|
|
3
|
+
ACCOUNTANT = 1
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum MyAccountHistoryStatusEnum {
|
|
2
|
-
SUCCESS = 0,
|
|
3
|
-
ERROR = 1
|
|
4
|
-
}
|
|
1
|
+
export declare enum MyAccountHistoryStatusEnum {
|
|
2
|
+
SUCCESS = 0,
|
|
3
|
+
ERROR = 1
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum MyAccountHistoryTypeEnum {
|
|
2
|
-
REVIEW = 0,
|
|
3
|
-
UPGRADE_PLAN = 1,
|
|
4
|
-
UPLOAD_DOCUMENT = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum MyAccountHistoryTypeEnum {
|
|
2
|
+
REVIEW = 0,
|
|
3
|
+
UPGRADE_PLAN = 1,
|
|
4
|
+
UPLOAD_DOCUMENT = 2
|
|
5
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { MyAccountHistoryTypeEnum } from './my-account-history-type.enum';
|
|
2
|
-
import { MyAccountHistoryInitiatedByEnum } from './my-account-history-initiated-by.enum';
|
|
3
|
-
import { MyAccountHistoryStatusEnum } from './my-account-history-status.enum';
|
|
4
|
-
export declare class MyAccountHistory {
|
|
5
|
-
id: number;
|
|
6
|
-
name: string;
|
|
7
|
-
type: MyAccountHistoryTypeEnum;
|
|
8
|
-
initiatedBy: MyAccountHistoryInitiatedByEnum;
|
|
9
|
-
date: Date;
|
|
10
|
-
status: MyAccountHistoryStatusEnum;
|
|
11
|
-
}
|
|
1
|
+
import { MyAccountHistoryTypeEnum } from './my-account-history-type.enum';
|
|
2
|
+
import { MyAccountHistoryInitiatedByEnum } from './my-account-history-initiated-by.enum';
|
|
3
|
+
import { MyAccountHistoryStatusEnum } from './my-account-history-status.enum';
|
|
4
|
+
export declare class MyAccountHistory {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
type: MyAccountHistoryTypeEnum;
|
|
8
|
+
initiatedBy: MyAccountHistoryInitiatedByEnum;
|
|
9
|
+
date: Date;
|
|
10
|
+
status: MyAccountHistoryStatusEnum;
|
|
11
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Occupation as OccupationBase } from '../../db/Models/user/occupation';
|
|
2
|
-
export declare class Occupation extends OccupationBase {
|
|
3
|
-
}
|
|
1
|
+
import { Occupation as OccupationBase } from '../../db/Models/user/occupation';
|
|
2
|
+
export declare class Occupation extends OccupationBase {
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserRolesEnum } from '../../db/Enums/user-roles.enum';
|
|
2
|
-
export declare const USER_ROLES: {
|
|
3
|
-
[key: string]: UserRolesEnum[];
|
|
4
|
-
};
|
|
1
|
+
import { UserRolesEnum } from '../../db/Enums/user-roles.enum';
|
|
2
|
+
export declare const USER_ROLES: {
|
|
3
|
+
[key: string]: UserRolesEnum[];
|
|
4
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Class with basic information about registering user
|
|
3
|
-
*/
|
|
4
|
-
export declare class UserToRegister {
|
|
5
|
-
firstName: string;
|
|
6
|
-
email: string;
|
|
7
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Class with basic information about registering user
|
|
3
|
+
*/
|
|
4
|
+
export declare class UserToRegister {
|
|
5
|
+
firstName: string;
|
|
6
|
+
email: string;
|
|
7
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const USER_WORK_POSITION: {
|
|
2
|
-
[key: string]: string;
|
|
3
|
-
};
|
|
1
|
+
export declare const USER_WORK_POSITION: {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
};
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import { User as BaseUser } from '../../db/Models/user/user';
|
|
2
|
-
import { UserRolesEnum } from '../../db/Enums/user-roles.enum';
|
|
3
|
-
import { Address } from '../address/address';
|
|
4
|
-
import { ClientDetails } from '../client/client-details';
|
|
5
|
-
import { EmployeeDetails } from '../employee/employee-details';
|
|
6
|
-
import { Phone } from '../phone/phone';
|
|
7
|
-
import { ServiceSubscription } from '../service-subscription/service-subscription';
|
|
8
|
-
import { ServiceSubscriptionItem } from '../service-subscription/service-subscription-item';
|
|
9
|
-
import { Photoable } from '../../interfaces/photoable';
|
|
10
|
-
export declare class User extends BaseUser implements Photoable {
|
|
11
|
-
subscriptions: ServiceSubscription[];
|
|
12
|
-
clientDetails: ClientDetails;
|
|
13
|
-
employeeDetails: EmployeeDetails;
|
|
14
|
-
address: Address;
|
|
15
|
-
phone: Phone;
|
|
16
|
-
createdAt: Date;
|
|
17
|
-
clients: User[];
|
|
18
|
-
get fullName(): string;
|
|
19
|
-
get activeSubscription(): ServiceSubscription;
|
|
20
|
-
get lastSubscription(): ServiceSubscription;
|
|
21
|
-
/**
|
|
22
|
-
* @TODO refactor
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
get position(): string;
|
|
26
|
-
hasRole(role: UserRolesEnum): boolean;
|
|
27
|
-
isOnboarding(): boolean;
|
|
28
|
-
hasSubscription(): boolean;
|
|
29
|
-
isLoggedIn(): boolean;
|
|
30
|
-
isClient(): boolean;
|
|
31
|
-
isEmployee(): boolean;
|
|
32
|
-
isAccountant(): boolean;
|
|
33
|
-
isAdvisor(): boolean;
|
|
34
|
-
isImpersonator(): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Check if current user is firm owner
|
|
37
|
-
*/
|
|
38
|
-
isFirmOwner(): boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Check if current user is firm manager
|
|
41
|
-
*/
|
|
42
|
-
isManager(): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* check if user has property tank access
|
|
45
|
-
*/
|
|
46
|
-
hasPropertyTank(): boolean;
|
|
47
|
-
/**
|
|
48
|
-
* check if user has property tank access
|
|
49
|
-
*/
|
|
50
|
-
hasWorkTank(): boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Get user subscription role by provided role type
|
|
53
|
-
* @param roleType by which role should be returned
|
|
54
|
-
*/
|
|
55
|
-
getSubscriptionRole(roleType: UserRolesEnum): ServiceSubscriptionItem;
|
|
56
|
-
/**
|
|
57
|
-
* Get user's photo link
|
|
58
|
-
*/
|
|
59
|
-
getPhoto(): string;
|
|
60
|
-
/**
|
|
61
|
-
* get user's initials
|
|
62
|
-
*/
|
|
63
|
-
getInitials(): string;
|
|
64
|
-
}
|
|
1
|
+
import { User as BaseUser } from '../../db/Models/user/user';
|
|
2
|
+
import { UserRolesEnum } from '../../db/Enums/user-roles.enum';
|
|
3
|
+
import { Address } from '../address/address';
|
|
4
|
+
import { ClientDetails } from '../client/client-details';
|
|
5
|
+
import { EmployeeDetails } from '../employee/employee-details';
|
|
6
|
+
import { Phone } from '../phone/phone';
|
|
7
|
+
import { ServiceSubscription } from '../service-subscription/service-subscription';
|
|
8
|
+
import { ServiceSubscriptionItem } from '../service-subscription/service-subscription-item';
|
|
9
|
+
import { Photoable } from '../../interfaces/photoable';
|
|
10
|
+
export declare class User extends BaseUser implements Photoable {
|
|
11
|
+
subscriptions: ServiceSubscription[];
|
|
12
|
+
clientDetails: ClientDetails;
|
|
13
|
+
employeeDetails: EmployeeDetails;
|
|
14
|
+
address: Address;
|
|
15
|
+
phone: Phone;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
clients: User[];
|
|
18
|
+
get fullName(): string;
|
|
19
|
+
get activeSubscription(): ServiceSubscription;
|
|
20
|
+
get lastSubscription(): ServiceSubscription;
|
|
21
|
+
/**
|
|
22
|
+
* @TODO refactor
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
get position(): string;
|
|
26
|
+
hasRole(role: UserRolesEnum): boolean;
|
|
27
|
+
isOnboarding(): boolean;
|
|
28
|
+
hasSubscription(): boolean;
|
|
29
|
+
isLoggedIn(): boolean;
|
|
30
|
+
isClient(): boolean;
|
|
31
|
+
isEmployee(): boolean;
|
|
32
|
+
isAccountant(): boolean;
|
|
33
|
+
isAdvisor(): boolean;
|
|
34
|
+
isImpersonator(): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Check if current user is firm owner
|
|
37
|
+
*/
|
|
38
|
+
isFirmOwner(): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Check if current user is firm manager
|
|
41
|
+
*/
|
|
42
|
+
isManager(): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* check if user has property tank access
|
|
45
|
+
*/
|
|
46
|
+
hasPropertyTank(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* check if user has property tank access
|
|
49
|
+
*/
|
|
50
|
+
hasWorkTank(): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Get user subscription role by provided role type
|
|
53
|
+
* @param roleType by which role should be returned
|
|
54
|
+
*/
|
|
55
|
+
getSubscriptionRole(roleType: UserRolesEnum): ServiceSubscriptionItem;
|
|
56
|
+
/**
|
|
57
|
+
* Get user's photo link
|
|
58
|
+
*/
|
|
59
|
+
getPhoto(): string;
|
|
60
|
+
/**
|
|
61
|
+
* get user's initials
|
|
62
|
+
*/
|
|
63
|
+
getInitials(): string;
|
|
64
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Enum with user event setting fields
|
|
3
|
-
*/
|
|
4
|
-
export declare enum UserEventSettingFieldEnum {
|
|
5
|
-
BY_EMAIL = "byEmail",
|
|
6
|
-
BY_NOTIFICATION = "byNotification",
|
|
7
|
-
FREQUENCY = "frequency"
|
|
8
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Enum with user event setting fields
|
|
3
|
+
*/
|
|
4
|
+
export declare enum UserEventSettingFieldEnum {
|
|
5
|
+
BY_EMAIL = "byEmail",
|
|
6
|
+
BY_NOTIFICATION = "byNotification",
|
|
7
|
+
FREQUENCY = "frequency"
|
|
8
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UserEventSetting as UserEventSettingBase } from '../../db/Models/user/user-event-setting';
|
|
2
|
-
import { UserEventType } from './user-event-type';
|
|
3
|
-
export declare class UserEventSetting extends UserEventSettingBase {
|
|
4
|
-
type: UserEventType;
|
|
5
|
-
isUpdating?: boolean;
|
|
6
|
-
}
|
|
1
|
+
import { UserEventSetting as UserEventSettingBase } from '../../db/Models/user/user-event-setting';
|
|
2
|
+
import { UserEventType } from './user-event-type';
|
|
3
|
+
export declare class UserEventSetting extends UserEventSettingBase {
|
|
4
|
+
type: UserEventType;
|
|
5
|
+
isUpdating?: boolean;
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { UserEventTypeCategory as UserEventTypeCategoryBase } from '../../db/Models/user/user-event-type-category';
|
|
2
|
-
export declare class UserEventTypeCategory extends UserEventTypeCategoryBase {
|
|
3
|
-
}
|
|
1
|
+
import { UserEventTypeCategory as UserEventTypeCategoryBase } from '../../db/Models/user/user-event-type-category';
|
|
2
|
+
export declare class UserEventTypeCategory extends UserEventTypeCategoryBase {
|
|
3
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UserEventType as UserEventTypeBase } from '../../db/Models/user/user-event-type';
|
|
2
|
-
import { UserEventTypeCategory } from './user-event-type-category';
|
|
3
|
-
import { UserEventSetting } from './user-event-setting';
|
|
4
|
-
export declare class UserEventType extends UserEventTypeBase {
|
|
5
|
-
category: UserEventTypeCategory;
|
|
6
|
-
toSetting(): UserEventSetting;
|
|
7
|
-
}
|
|
1
|
+
import { UserEventType as UserEventTypeBase } from '../../db/Models/user/user-event-type';
|
|
2
|
+
import { UserEventTypeCategory } from './user-event-type-category';
|
|
3
|
+
import { UserEventSetting } from './user-event-setting';
|
|
4
|
+
export declare class UserEventType extends UserEventTypeBase {
|
|
5
|
+
category: UserEventTypeCategory;
|
|
6
|
+
toSetting(): UserEventSetting;
|
|
7
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { AccountSetupItem } from '../../models/account-setup/account-setup-item';
|
|
2
|
-
import { BankAccountService } from '../http/bank/bank-account/bank-account.service';
|
|
3
|
-
import { ClientIncomeTypes } from '../../models/client/client-income-types';
|
|
4
|
-
import { ClientIncomeTypesService } from '../http/firm/client-income/client-income-types.service';
|
|
5
|
-
import { IncomeSourceService } from '../http/income-source/income-source.service';
|
|
6
|
-
import { PropertyService } from '../http/property/property.service';
|
|
7
|
-
import { TransactionAllocationService } from '../http/transaction/transaction-allocation/transaction-allocation.service';
|
|
8
|
-
import { Observable, ReplaySubject } from 'rxjs';
|
|
9
|
-
import { AccountSetupItemCollection } from '../../collections/account-setup-item.collection';
|
|
10
|
-
import { VehicleClaimService } from '../http/vehicle/vehicle-claim.service';
|
|
11
|
-
import { TransactionService } from '../http/transaction/transaction.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Service handling user's account setup process.
|
|
15
|
-
* Checks required steps and their completion
|
|
16
|
-
*/
|
|
17
|
-
export declare class AccountSetupService {
|
|
18
|
-
private clientIncomeTypesService;
|
|
19
|
-
private propertyService;
|
|
20
|
-
private incomeSourceService;
|
|
21
|
-
private bankAccountsService;
|
|
22
|
-
private transactionAllocationService;
|
|
23
|
-
private vehicleClaimService;
|
|
24
|
-
private transactionService;
|
|
25
|
-
cache: AccountSetupItemCollection;
|
|
26
|
-
cacheSubject: ReplaySubject<AccountSetupItemCollection>;
|
|
27
|
-
clientIncomeTypesId: number;
|
|
28
|
-
constructor(clientIncomeTypesService: ClientIncomeTypesService, propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankAccountsService: BankAccountService, transactionAllocationService: TransactionAllocationService, vehicleClaimService: VehicleClaimService, transactionService: TransactionService);
|
|
29
|
-
/**
|
|
30
|
-
* Get list of account setup items for current user
|
|
31
|
-
*/
|
|
32
|
-
get(): Observable<AccountSetupItemCollection>;
|
|
33
|
-
/**
|
|
34
|
-
* Prepare client income types to update to hide depended account setup items
|
|
35
|
-
*/
|
|
36
|
-
prepareIncomeTypes(item: AccountSetupItem): ClientIncomeTypes;
|
|
37
|
-
/**
|
|
38
|
-
* Get a single AccountSetupItem and check it's completion
|
|
39
|
-
*/
|
|
40
|
-
private create;
|
|
41
|
-
/**
|
|
42
|
-
* Get batch of requests to get list of required AccountSetupItem's.
|
|
43
|
-
* Some items are optional and depends of user's client income types
|
|
44
|
-
*/
|
|
45
|
-
private createBatch;
|
|
46
|
-
/**
|
|
47
|
-
* @TODO work with collection when services refactored
|
|
48
|
-
*/
|
|
49
|
-
private getIncomeSourcesByType;
|
|
50
|
-
/**
|
|
51
|
-
* Show logbook item when user has at least 1 vehicle transaction
|
|
52
|
-
*/
|
|
53
|
-
private getLogbookItem;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccountSetupService, never>;
|
|
55
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AccountSetupService>;
|
|
56
|
-
}
|
|
1
|
+
import { AccountSetupItem } from '../../models/account-setup/account-setup-item';
|
|
2
|
+
import { BankAccountService } from '../http/bank/bank-account/bank-account.service';
|
|
3
|
+
import { ClientIncomeTypes } from '../../models/client/client-income-types';
|
|
4
|
+
import { ClientIncomeTypesService } from '../http/firm/client-income/client-income-types.service';
|
|
5
|
+
import { IncomeSourceService } from '../http/income-source/income-source.service';
|
|
6
|
+
import { PropertyService } from '../http/property/property.service';
|
|
7
|
+
import { TransactionAllocationService } from '../http/transaction/transaction-allocation/transaction-allocation.service';
|
|
8
|
+
import { Observable, ReplaySubject } from 'rxjs';
|
|
9
|
+
import { AccountSetupItemCollection } from '../../collections/account-setup-item.collection';
|
|
10
|
+
import { VehicleClaimService } from '../http/vehicle/vehicle-claim.service';
|
|
11
|
+
import { TransactionService } from '../http/transaction/transaction.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
/**
|
|
14
|
+
* Service handling user's account setup process.
|
|
15
|
+
* Checks required steps and their completion
|
|
16
|
+
*/
|
|
17
|
+
export declare class AccountSetupService {
|
|
18
|
+
private clientIncomeTypesService;
|
|
19
|
+
private propertyService;
|
|
20
|
+
private incomeSourceService;
|
|
21
|
+
private bankAccountsService;
|
|
22
|
+
private transactionAllocationService;
|
|
23
|
+
private vehicleClaimService;
|
|
24
|
+
private transactionService;
|
|
25
|
+
cache: AccountSetupItemCollection;
|
|
26
|
+
cacheSubject: ReplaySubject<AccountSetupItemCollection>;
|
|
27
|
+
clientIncomeTypesId: number;
|
|
28
|
+
constructor(clientIncomeTypesService: ClientIncomeTypesService, propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankAccountsService: BankAccountService, transactionAllocationService: TransactionAllocationService, vehicleClaimService: VehicleClaimService, transactionService: TransactionService);
|
|
29
|
+
/**
|
|
30
|
+
* Get list of account setup items for current user
|
|
31
|
+
*/
|
|
32
|
+
get(): Observable<AccountSetupItemCollection>;
|
|
33
|
+
/**
|
|
34
|
+
* Prepare client income types to update to hide depended account setup items
|
|
35
|
+
*/
|
|
36
|
+
prepareIncomeTypes(item: AccountSetupItem): ClientIncomeTypes;
|
|
37
|
+
/**
|
|
38
|
+
* Get a single AccountSetupItem and check it's completion
|
|
39
|
+
*/
|
|
40
|
+
private create;
|
|
41
|
+
/**
|
|
42
|
+
* Get batch of requests to get list of required AccountSetupItem's.
|
|
43
|
+
* Some items are optional and depends of user's client income types
|
|
44
|
+
*/
|
|
45
|
+
private createBatch;
|
|
46
|
+
/**
|
|
47
|
+
* @TODO work with collection when services refactored
|
|
48
|
+
*/
|
|
49
|
+
private getIncomeSourcesByType;
|
|
50
|
+
/**
|
|
51
|
+
* Show logbook item when user has at least 1 vehicle transaction
|
|
52
|
+
*/
|
|
53
|
+
private getLogbookItem;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountSetupService, never>;
|
|
55
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AccountSetupService>;
|
|
56
|
+
}
|