taxtank-core 0.17.7 → 0.17.8
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 +13161 -13154
- 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 +101 -101
- package/esm2015/lib/collections/collection.js +109 -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/exportable.collection.js +17 -17
- package/esm2015/lib/collections/income-source.collection.js +34 -34
- package/esm2015/lib/collections/loan/loan-payment.collection.js +31 -31
- package/esm2015/lib/collections/loan/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 +71 -71
- package/esm2015/lib/collections/tax-summary/tax-return-categories.const.js +65 -65
- package/esm2015/lib/collections/transaction/transaction-allocation.collection.js +40 -40
- package/esm2015/lib/collections/transaction/transaction.collection.js +167 -167
- 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-list.enum.js +5 -5
- 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-sole.enum.js +5 -5
- package/esm2015/lib/db/Enums/income-source-type-list-work.enum.js +11 -11
- package/esm2015/lib/db/Enums/income-source-type.enum.js +7 -7
- 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 +6 -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 +42 -42
- 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 +35 -35
- 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 -13
- 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/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/table-exportable.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 +143 -143
- package/esm2015/lib/models/event/app-event-type.enum.js +47 -47
- package/esm2015/lib/models/event/app-event.js +10 -10
- package/esm2015/lib/models/export/export-cell-type.enum.js +10 -10
- package/esm2015/lib/models/export/export-cell.js +6 -6
- package/esm2015/lib/models/export/export-data-table.js +3 -3
- package/esm2015/lib/models/export/export-format.enum.js +6 -6
- package/esm2015/lib/models/export/export-row-data-type.enum.js +10 -10
- package/esm2015/lib/models/export/export-row.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 +30 -30
- package/esm2015/lib/models/income-source/income-source.js +59 -59
- 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 +28 -28
- 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 +221 -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 -14
- 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 +22 -22
- 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 +90 -90
- package/esm2015/lib/models/toast/toast-type.enum.js +8 -8
- package/esm2015/lib/models/toast/toast.js +10 -10
- 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-category.enum.js +8 -8
- 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 +222 -222
- 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 +154 -154
- 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/export/export-formatter.service.js +31 -31
- 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 +86 -86
- 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 +52 -52
- 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 +110 -110
- package/esm2015/lib/services/http/rest/rest.service.js +218 -218
- 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 +157 -157
- 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 +99 -99
- 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/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 -17
- package/esm2015/lib/validators/password.validator.js +7 -7
- package/esm2015/public-api.js +394 -394
- package/esm2015/taxtank-core.js +4 -4
- package/fesm2015/taxtank-core.js +11049 -11046
- 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 +52 -52
- 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/exportable.collection.d.ts +9 -9
- package/lib/collections/income-source.collection.d.ts +21 -21
- package/lib/collections/loan/loan-payment.collection.d.ts +7 -7
- package/lib/collections/loan/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 +34 -34
- package/lib/collections/tax-summary/tax-return-categories.const.d.ts +6 -6
- package/lib/collections/transaction/transaction-allocation.collection.d.ts +23 -23
- package/lib/collections/transaction/transaction.collection.d.ts +84 -84
- 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-list.enum.d.ts +3 -3
- 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-sole.enum.d.ts +3 -3
- package/lib/db/Enums/income-source-type-list-work.enum.d.ts +9 -9
- package/lib/db/Enums/income-source-type.enum.d.ts +5 -5
- 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 +40 -40
- 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 +24 -24
- 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 +29 -29
- 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/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/table-exportable.interface.d.ts +7 -7
- 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 +45 -45
- package/lib/models/event/app-event.d.ts +9 -9
- package/lib/models/export/export-cell-type.enum.d.ts +8 -8
- package/lib/models/export/export-cell.d.ts +8 -8
- package/lib/models/export/export-data-table.d.ts +10 -10
- package/lib/models/export/export-format.enum.d.ts +4 -4
- package/lib/models/export/export-row-data-type.enum.d.ts +8 -8
- package/lib/models/export/export-row.d.ts +8 -8
- 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 +14 -14
- 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 +11 -11
- 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 +87 -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 -7
- 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 +19 -19
- 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 +11 -11
- 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-category.enum.d.ts +6 -6
- 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 +98 -98
- 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 +57 -57
- 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/export/export-formatter.service.d.ts +11 -11
- 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 +36 -36
- 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 +45 -45
- 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 +74 -74
- 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 +29 -29
- 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/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 -2
- package/lib/validators/password.validator.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +393 -393
- package/taxtank-core.d.ts +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AccountSetupItem } from '../models/account-setup/account-setup-item';
|
|
2
|
-
import { Collection } from './collection';
|
|
3
|
-
export declare class AccountSetupItemCollection extends Collection<AccountSetupItem> {
|
|
4
|
-
constructor(items: AccountSetupItem[]);
|
|
5
|
-
isCompleted(): boolean;
|
|
6
|
-
}
|
|
1
|
+
import { AccountSetupItem } from '../models/account-setup/account-setup-item';
|
|
2
|
+
import { Collection } from './collection';
|
|
3
|
+
export declare class AccountSetupItemCollection extends Collection<AccountSetupItem> {
|
|
4
|
+
constructor(items: AccountSetupItem[]);
|
|
5
|
+
isCompleted(): boolean;
|
|
6
|
+
}
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { Collection } from './collection';
|
|
2
|
-
import { BankAccountTypeEnum } from '../db/Enums/bank-account-type.enum';
|
|
3
|
-
import { TankTypeEnum } from '../db/Enums/tank-type.enum';
|
|
4
|
-
import { BankAccount } from '../models/bank/bank-account';
|
|
5
|
-
import { BankAccountProperty } from '../models/bank/bank-account-property';
|
|
6
|
-
import { Property } from '../models/property/property';
|
|
7
|
-
/**
|
|
8
|
-
* Collection of bank accounts.
|
|
9
|
-
*/
|
|
10
|
-
export declare class BankAccountCollection extends Collection<BankAccount> {
|
|
11
|
-
/**
|
|
12
|
-
* get list of bank accounts with passed types
|
|
13
|
-
*/
|
|
14
|
-
getByType(types: BankAccountTypeEnum | BankAccountTypeEnum[], isExclude?: boolean): BankAccount[];
|
|
15
|
-
/**
|
|
16
|
-
* get amount of initial loans
|
|
17
|
-
*/
|
|
18
|
-
getInitialLoanAmount(): number;
|
|
19
|
-
/**
|
|
20
|
-
* get amount of current loans
|
|
21
|
-
*/
|
|
22
|
-
getCurrentLoanAmount(): number;
|
|
23
|
-
/**
|
|
24
|
-
* get collection filtered by property id
|
|
25
|
-
*/
|
|
26
|
-
getByPropertyId(id: number): BankAccountCollection;
|
|
27
|
-
/**
|
|
28
|
-
* get collection filtered by properties ids
|
|
29
|
-
*/
|
|
30
|
-
getByPropertiesIds(ids: number[]): BankAccountCollection;
|
|
31
|
-
/**
|
|
32
|
-
* get collection of active bank accounts
|
|
33
|
-
*/
|
|
34
|
-
getActiveBankAccounts(): BankAccountCollection;
|
|
35
|
-
/**
|
|
36
|
-
* get reduction of loan (reduction of principle) percentage
|
|
37
|
-
*/
|
|
38
|
-
getPrincipleReductionPercent(): number;
|
|
39
|
-
/**
|
|
40
|
-
* Get collection of loan bank accounts
|
|
41
|
-
*/
|
|
42
|
-
getLoanAccounts(): BankAccountCollection;
|
|
43
|
-
getSavingsAccounts(): BankAccountCollection;
|
|
44
|
-
getOpeningBalance(): number;
|
|
45
|
-
get currentBalance(): number;
|
|
46
|
-
/**
|
|
47
|
-
* Get Collection of bank accounts with property tank type
|
|
48
|
-
*/
|
|
49
|
-
getPropertyBankAccounts(): BankAccountCollection;
|
|
50
|
-
/**
|
|
51
|
-
* Get Collection of bank accounts with work tank type
|
|
52
|
-
*/
|
|
53
|
-
getWorkBankAccounts(): BankAccountCollection;
|
|
54
|
-
/**
|
|
55
|
-
* Get Collection of bank accounts by tank type
|
|
56
|
-
*/
|
|
57
|
-
getByTankType(tankType: TankTypeEnum): BankAccountCollection;
|
|
58
|
-
/**
|
|
59
|
-
* Get list of all bank account properties
|
|
60
|
-
*/
|
|
61
|
-
getBankAccountPropertiesList(): BankAccountProperty[];
|
|
62
|
-
/**
|
|
63
|
-
* Get lis of unique properties from all bank accounts properties
|
|
64
|
-
*/
|
|
65
|
-
getProperties(): Property[];
|
|
66
|
-
getPropertyBalanceAmount(propertyId: number): number;
|
|
67
|
-
}
|
|
1
|
+
import { Collection } from './collection';
|
|
2
|
+
import { BankAccountTypeEnum } from '../db/Enums/bank-account-type.enum';
|
|
3
|
+
import { TankTypeEnum } from '../db/Enums/tank-type.enum';
|
|
4
|
+
import { BankAccount } from '../models/bank/bank-account';
|
|
5
|
+
import { BankAccountProperty } from '../models/bank/bank-account-property';
|
|
6
|
+
import { Property } from '../models/property/property';
|
|
7
|
+
/**
|
|
8
|
+
* Collection of bank accounts.
|
|
9
|
+
*/
|
|
10
|
+
export declare class BankAccountCollection extends Collection<BankAccount> {
|
|
11
|
+
/**
|
|
12
|
+
* get list of bank accounts with passed types
|
|
13
|
+
*/
|
|
14
|
+
getByType(types: BankAccountTypeEnum | BankAccountTypeEnum[], isExclude?: boolean): BankAccount[];
|
|
15
|
+
/**
|
|
16
|
+
* get amount of initial loans
|
|
17
|
+
*/
|
|
18
|
+
getInitialLoanAmount(): number;
|
|
19
|
+
/**
|
|
20
|
+
* get amount of current loans
|
|
21
|
+
*/
|
|
22
|
+
getCurrentLoanAmount(): number;
|
|
23
|
+
/**
|
|
24
|
+
* get collection filtered by property id
|
|
25
|
+
*/
|
|
26
|
+
getByPropertyId(id: number): BankAccountCollection;
|
|
27
|
+
/**
|
|
28
|
+
* get collection filtered by properties ids
|
|
29
|
+
*/
|
|
30
|
+
getByPropertiesIds(ids: number[]): BankAccountCollection;
|
|
31
|
+
/**
|
|
32
|
+
* get collection of active bank accounts
|
|
33
|
+
*/
|
|
34
|
+
getActiveBankAccounts(): BankAccountCollection;
|
|
35
|
+
/**
|
|
36
|
+
* get reduction of loan (reduction of principle) percentage
|
|
37
|
+
*/
|
|
38
|
+
getPrincipleReductionPercent(): number;
|
|
39
|
+
/**
|
|
40
|
+
* Get collection of loan bank accounts
|
|
41
|
+
*/
|
|
42
|
+
getLoanAccounts(): BankAccountCollection;
|
|
43
|
+
getSavingsAccounts(): BankAccountCollection;
|
|
44
|
+
getOpeningBalance(): number;
|
|
45
|
+
get currentBalance(): number;
|
|
46
|
+
/**
|
|
47
|
+
* Get Collection of bank accounts with property tank type
|
|
48
|
+
*/
|
|
49
|
+
getPropertyBankAccounts(): BankAccountCollection;
|
|
50
|
+
/**
|
|
51
|
+
* Get Collection of bank accounts with work tank type
|
|
52
|
+
*/
|
|
53
|
+
getWorkBankAccounts(): BankAccountCollection;
|
|
54
|
+
/**
|
|
55
|
+
* Get Collection of bank accounts by tank type
|
|
56
|
+
*/
|
|
57
|
+
getByTankType(tankType: TankTypeEnum): BankAccountCollection;
|
|
58
|
+
/**
|
|
59
|
+
* Get list of all bank account properties
|
|
60
|
+
*/
|
|
61
|
+
getBankAccountPropertiesList(): BankAccountProperty[];
|
|
62
|
+
/**
|
|
63
|
+
* Get lis of unique properties from all bank accounts properties
|
|
64
|
+
*/
|
|
65
|
+
getProperties(): Property[];
|
|
66
|
+
getPropertyBalanceAmount(propertyId: number): number;
|
|
67
|
+
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { BankTransaction } from '../models/bank/bank-transaction';
|
|
2
|
-
import { MonthNumberEnum } from '../models/financial-year/month-number.enum';
|
|
3
|
-
import { IncomeSource } from '../models/income-source/income-source';
|
|
4
|
-
import { BankAccount } from '../models/bank/bank-account';
|
|
5
|
-
import { Collection } from './collection';
|
|
6
|
-
import { CollectionDictionary } from './collection-dictionary';
|
|
7
|
-
import { TransactionAllocationCollection } from './transaction/transaction-allocation.collection';
|
|
8
|
-
/**
|
|
9
|
-
* Collection of bank transactions.
|
|
10
|
-
* IMPORTANT: Create this collection based on bank transactions from TransactionAllocationService
|
|
11
|
-
* @TODO find way to accept interface with allocation instead of bankTransaction to prevent wrong usage
|
|
12
|
-
* because all amounts calculates with allocated amounts but not from bank transactions amounts.
|
|
13
|
-
*/
|
|
14
|
-
export declare class BankTransactionCollection extends Collection<BankTransaction> {
|
|
15
|
-
getAmount(): number;
|
|
16
|
-
/**
|
|
17
|
-
* Difference between total bank transactions amount and sum of allocations for passed bank transactions
|
|
18
|
-
*/
|
|
19
|
-
getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
20
|
-
/**
|
|
21
|
-
* get date of the last transaction
|
|
22
|
-
*/
|
|
23
|
-
getLastTransactionDate(): Date;
|
|
24
|
-
/**
|
|
25
|
-
* get list of credit transactions
|
|
26
|
-
*/
|
|
27
|
-
get creditTransactions(): BankTransactionCollection;
|
|
28
|
-
/**
|
|
29
|
-
* get list of debit transactions
|
|
30
|
-
*/
|
|
31
|
-
get debitTransactions(): BankTransactionCollection;
|
|
32
|
-
/**
|
|
33
|
-
* get difference between debit and credit transactions amounts
|
|
34
|
-
*/
|
|
35
|
-
get balanceAmount(): number;
|
|
36
|
-
/**
|
|
37
|
-
* get list of transactions for passed month
|
|
38
|
-
* @param monthIndex Month number from 0 to 11
|
|
39
|
-
*/
|
|
40
|
-
getTransactionsByMonth(monthIndex: MonthNumberEnum): BankTransactionCollection;
|
|
41
|
-
/**
|
|
42
|
-
* get list of transactions by provided bank accounts
|
|
43
|
-
* @param bankAccounts by which transactions should be returned
|
|
44
|
-
*/
|
|
45
|
-
getByBankAccounts(bankAccounts: BankAccount[]): BankTransaction[];
|
|
46
|
-
/**
|
|
47
|
-
* get list of transactions by provided ids of bank accounts
|
|
48
|
-
* @param ids of bank accounts
|
|
49
|
-
*/
|
|
50
|
-
getByBankAccountsIds(ids: number[]): BankTransactionCollection;
|
|
51
|
-
/**
|
|
52
|
-
* Find Bank Transaction available for transfer
|
|
53
|
-
*/
|
|
54
|
-
findTransfer(bankTransaction: BankTransaction): BankTransaction;
|
|
55
|
-
/**
|
|
56
|
-
* Group bank transactions by transaction id.
|
|
57
|
-
* Each group is bank transaction collection and contains bank transactions related to transactions via allocations
|
|
58
|
-
*/
|
|
59
|
-
groupByTransaction(allocations: TransactionAllocationCollection): CollectionDictionary<BankTransactionCollection>;
|
|
60
|
-
/**
|
|
61
|
-
* Get collection of bank transactions related with passed allocations
|
|
62
|
-
*/
|
|
63
|
-
getByAllocations(allocations: TransactionAllocationCollection): BankTransactionCollection;
|
|
64
|
-
/**
|
|
65
|
-
* Set allocate operation for bank transactions with amounts equal to salary
|
|
66
|
-
*/
|
|
67
|
-
preselectAllocateOperationForSalary(salaryIncomeSources: IncomeSource[]): void;
|
|
68
|
-
/**
|
|
69
|
-
* Get collection of unallocated bankTransactions
|
|
70
|
-
*/
|
|
71
|
-
getUnallocatedBankTransactions(allocations: TransactionAllocationCollection): BankTransactionCollection;
|
|
72
|
-
}
|
|
1
|
+
import { BankTransaction } from '../models/bank/bank-transaction';
|
|
2
|
+
import { MonthNumberEnum } from '../models/financial-year/month-number.enum';
|
|
3
|
+
import { IncomeSource } from '../models/income-source/income-source';
|
|
4
|
+
import { BankAccount } from '../models/bank/bank-account';
|
|
5
|
+
import { Collection } from './collection';
|
|
6
|
+
import { CollectionDictionary } from './collection-dictionary';
|
|
7
|
+
import { TransactionAllocationCollection } from './transaction/transaction-allocation.collection';
|
|
8
|
+
/**
|
|
9
|
+
* Collection of bank transactions.
|
|
10
|
+
* IMPORTANT: Create this collection based on bank transactions from TransactionAllocationService
|
|
11
|
+
* @TODO find way to accept interface with allocation instead of bankTransaction to prevent wrong usage
|
|
12
|
+
* because all amounts calculates with allocated amounts but not from bank transactions amounts.
|
|
13
|
+
*/
|
|
14
|
+
export declare class BankTransactionCollection extends Collection<BankTransaction> {
|
|
15
|
+
getAmount(): number;
|
|
16
|
+
/**
|
|
17
|
+
* Difference between total bank transactions amount and sum of allocations for passed bank transactions
|
|
18
|
+
*/
|
|
19
|
+
getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
20
|
+
/**
|
|
21
|
+
* get date of the last transaction
|
|
22
|
+
*/
|
|
23
|
+
getLastTransactionDate(): Date;
|
|
24
|
+
/**
|
|
25
|
+
* get list of credit transactions
|
|
26
|
+
*/
|
|
27
|
+
get creditTransactions(): BankTransactionCollection;
|
|
28
|
+
/**
|
|
29
|
+
* get list of debit transactions
|
|
30
|
+
*/
|
|
31
|
+
get debitTransactions(): BankTransactionCollection;
|
|
32
|
+
/**
|
|
33
|
+
* get difference between debit and credit transactions amounts
|
|
34
|
+
*/
|
|
35
|
+
get balanceAmount(): number;
|
|
36
|
+
/**
|
|
37
|
+
* get list of transactions for passed month
|
|
38
|
+
* @param monthIndex Month number from 0 to 11
|
|
39
|
+
*/
|
|
40
|
+
getTransactionsByMonth(monthIndex: MonthNumberEnum): BankTransactionCollection;
|
|
41
|
+
/**
|
|
42
|
+
* get list of transactions by provided bank accounts
|
|
43
|
+
* @param bankAccounts by which transactions should be returned
|
|
44
|
+
*/
|
|
45
|
+
getByBankAccounts(bankAccounts: BankAccount[]): BankTransaction[];
|
|
46
|
+
/**
|
|
47
|
+
* get list of transactions by provided ids of bank accounts
|
|
48
|
+
* @param ids of bank accounts
|
|
49
|
+
*/
|
|
50
|
+
getByBankAccountsIds(ids: number[]): BankTransactionCollection;
|
|
51
|
+
/**
|
|
52
|
+
* Find Bank Transaction available for transfer
|
|
53
|
+
*/
|
|
54
|
+
findTransfer(bankTransaction: BankTransaction): BankTransaction;
|
|
55
|
+
/**
|
|
56
|
+
* Group bank transactions by transaction id.
|
|
57
|
+
* Each group is bank transaction collection and contains bank transactions related to transactions via allocations
|
|
58
|
+
*/
|
|
59
|
+
groupByTransaction(allocations: TransactionAllocationCollection): CollectionDictionary<BankTransactionCollection>;
|
|
60
|
+
/**
|
|
61
|
+
* Get collection of bank transactions related with passed allocations
|
|
62
|
+
*/
|
|
63
|
+
getByAllocations(allocations: TransactionAllocationCollection): BankTransactionCollection;
|
|
64
|
+
/**
|
|
65
|
+
* Set allocate operation for bank transactions with amounts equal to salary
|
|
66
|
+
*/
|
|
67
|
+
preselectAllocateOperationForSalary(salaryIncomeSources: IncomeSource[]): void;
|
|
68
|
+
/**
|
|
69
|
+
* Get collection of unallocated bankTransactions
|
|
70
|
+
*/
|
|
71
|
+
getUnallocatedBankTransactions(allocations: TransactionAllocationCollection): BankTransactionCollection;
|
|
72
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Collection } from './collection';
|
|
2
|
-
import { ClientMovement } from '../models/client/client-movement';
|
|
3
|
-
import { EmployeeCollection } from './employee.collection';
|
|
4
|
-
import { ClientCollection } from './client.collection';
|
|
5
|
-
import { FirmTypeEnum } from '../db/Enums/firm-type.enum';
|
|
6
|
-
/**
|
|
7
|
-
* Collection of tax review
|
|
8
|
-
*/
|
|
9
|
-
export declare class ClientMovementCollection extends Collection<ClientMovement> {
|
|
10
|
-
get active(): ClientMovementCollection;
|
|
11
|
-
get employees(): EmployeeCollection;
|
|
12
|
-
get clients(): ClientCollection;
|
|
13
|
-
get accountant(): ClientMovement;
|
|
14
|
-
get advisors(): ClientMovementCollection;
|
|
15
|
-
getByEmployeeId(id: number): ClientMovementCollection;
|
|
16
|
-
getByFirmType(firmType: FirmTypeEnum): ClientMovementCollection;
|
|
17
|
-
}
|
|
1
|
+
import { Collection } from './collection';
|
|
2
|
+
import { ClientMovement } from '../models/client/client-movement';
|
|
3
|
+
import { EmployeeCollection } from './employee.collection';
|
|
4
|
+
import { ClientCollection } from './client.collection';
|
|
5
|
+
import { FirmTypeEnum } from '../db/Enums/firm-type.enum';
|
|
6
|
+
/**
|
|
7
|
+
* Collection of tax review
|
|
8
|
+
*/
|
|
9
|
+
export declare class ClientMovementCollection extends Collection<ClientMovement> {
|
|
10
|
+
get active(): ClientMovementCollection;
|
|
11
|
+
get employees(): EmployeeCollection;
|
|
12
|
+
get clients(): ClientCollection;
|
|
13
|
+
get accountant(): ClientMovement;
|
|
14
|
+
get advisors(): ClientMovementCollection;
|
|
15
|
+
getByEmployeeId(id: number): ClientMovementCollection;
|
|
16
|
+
getByFirmType(firmType: FirmTypeEnum): ClientMovementCollection;
|
|
17
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Collection of employee clients tax summary information
|
|
3
|
-
*/
|
|
4
|
-
import { Collection } from './collection';
|
|
5
|
-
import { ClientPortfolioReport } from '../models/client/client-portfolio-report';
|
|
6
|
-
export declare class ClientPortfolioReportCollection extends Collection<ClientPortfolioReport> {
|
|
7
|
-
get marketValue(): number;
|
|
8
|
-
get loanBalance(): number;
|
|
9
|
-
get equityPosition(): number;
|
|
10
|
-
/**
|
|
11
|
-
* Get average market value if there are more than 1 item in the collection
|
|
12
|
-
*/
|
|
13
|
-
get averageMarketValue(): number;
|
|
14
|
-
/**
|
|
15
|
-
* Get average loan balance if there are more than 1 item in the collection
|
|
16
|
-
*/
|
|
17
|
-
get averageLoanBalance(): number;
|
|
18
|
-
/**
|
|
19
|
-
* Get average equity position if there are more than 1 item in the collection
|
|
20
|
-
*/
|
|
21
|
-
get averageEquityPosition(): number;
|
|
22
|
-
/**
|
|
23
|
-
* Return report by provided category name
|
|
24
|
-
*/
|
|
25
|
-
getByCategoryName(name: string): ClientPortfolioReport;
|
|
26
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Collection of employee clients tax summary information
|
|
3
|
+
*/
|
|
4
|
+
import { Collection } from './collection';
|
|
5
|
+
import { ClientPortfolioReport } from '../models/client/client-portfolio-report';
|
|
6
|
+
export declare class ClientPortfolioReportCollection extends Collection<ClientPortfolioReport> {
|
|
7
|
+
get marketValue(): number;
|
|
8
|
+
get loanBalance(): number;
|
|
9
|
+
get equityPosition(): number;
|
|
10
|
+
/**
|
|
11
|
+
* Get average market value if there are more than 1 item in the collection
|
|
12
|
+
*/
|
|
13
|
+
get averageMarketValue(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Get average loan balance if there are more than 1 item in the collection
|
|
16
|
+
*/
|
|
17
|
+
get averageLoanBalance(): number;
|
|
18
|
+
/**
|
|
19
|
+
* Get average equity position if there are more than 1 item in the collection
|
|
20
|
+
*/
|
|
21
|
+
get averageEquityPosition(): number;
|
|
22
|
+
/**
|
|
23
|
+
* Return report by provided category name
|
|
24
|
+
*/
|
|
25
|
+
getByCategoryName(name: string): ClientPortfolioReport;
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Collection } from './collection';
|
|
2
|
-
import { User } from '../models/user/user';
|
|
3
|
-
export declare class ClientCollection extends Collection<User> {
|
|
4
|
-
}
|
|
1
|
+
import { Collection } from './collection';
|
|
2
|
+
import { User } from '../models/user/user';
|
|
3
|
+
export declare class ClientCollection extends Collection<User> {
|
|
4
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { Collection as BaseCollection } from './collection';
|
|
2
|
-
/**
|
|
3
|
-
* List of collections grouped by passed property
|
|
4
|
-
*/
|
|
5
|
-
export declare class CollectionDictionary<Collection extends BaseCollection<object>> {
|
|
6
|
-
/**
|
|
7
|
-
* List of grouped collections
|
|
8
|
-
*/
|
|
9
|
-
items: {
|
|
10
|
-
[key: string]: Collection;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Constructor function of passed collection for creating new instances
|
|
14
|
-
*/
|
|
15
|
-
private collectionConstructor;
|
|
16
|
-
/**
|
|
17
|
-
* @param collection The Collection instance to be grouped
|
|
18
|
-
* @param path Path to the property to be grouped (Examples: 'transaction', 'property.category')
|
|
19
|
-
* @param prop Optional: Field to group by (Default 'id', Examples: 'id', 'amount', 'date')
|
|
20
|
-
*/
|
|
21
|
-
constructor(collection: Collection, path?: string);
|
|
22
|
-
/**
|
|
23
|
-
* List of collections keys
|
|
24
|
-
*/
|
|
25
|
-
get keys(): string[];
|
|
26
|
-
/**
|
|
27
|
-
* Get collection by key or return empty collection if key does not exist
|
|
28
|
-
*/
|
|
29
|
-
get(key: string | number): Collection;
|
|
30
|
-
/**
|
|
31
|
-
* Add new item by key
|
|
32
|
-
*/
|
|
33
|
-
add(key: string | number, value: Collection): void;
|
|
34
|
-
/**
|
|
35
|
-
* Join several collections by ids
|
|
36
|
-
*/
|
|
37
|
-
merge(keys: number[]): Collection;
|
|
38
|
-
/**
|
|
39
|
-
* Create instance of collection
|
|
40
|
-
*/
|
|
41
|
-
createCollection(items?: object[]): Collection;
|
|
42
|
-
length(): number;
|
|
43
|
-
/**
|
|
44
|
-
* @Todo find a better solution to get list of the sorted keys
|
|
45
|
-
* Get array of the "keys" by provided order
|
|
46
|
-
*/
|
|
47
|
-
getSortedKeys(isDesc?: boolean): string[];
|
|
48
|
-
/**
|
|
49
|
-
* Group collection items by passed path into items object
|
|
50
|
-
*/
|
|
51
|
-
private groupItems;
|
|
52
|
-
}
|
|
1
|
+
import { Collection as BaseCollection } from './collection';
|
|
2
|
+
/**
|
|
3
|
+
* List of collections grouped by passed property
|
|
4
|
+
*/
|
|
5
|
+
export declare class CollectionDictionary<Collection extends BaseCollection<object>> {
|
|
6
|
+
/**
|
|
7
|
+
* List of grouped collections
|
|
8
|
+
*/
|
|
9
|
+
items: {
|
|
10
|
+
[key: string]: Collection;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Constructor function of passed collection for creating new instances
|
|
14
|
+
*/
|
|
15
|
+
private collectionConstructor;
|
|
16
|
+
/**
|
|
17
|
+
* @param collection The Collection instance to be grouped
|
|
18
|
+
* @param path Path to the property to be grouped (Examples: 'transaction', 'property.category')
|
|
19
|
+
* @param prop Optional: Field to group by (Default 'id', Examples: 'id', 'amount', 'date')
|
|
20
|
+
*/
|
|
21
|
+
constructor(collection: Collection, path?: string);
|
|
22
|
+
/**
|
|
23
|
+
* List of collections keys
|
|
24
|
+
*/
|
|
25
|
+
get keys(): string[];
|
|
26
|
+
/**
|
|
27
|
+
* Get collection by key or return empty collection if key does not exist
|
|
28
|
+
*/
|
|
29
|
+
get(key: string | number): Collection;
|
|
30
|
+
/**
|
|
31
|
+
* Add new item by key
|
|
32
|
+
*/
|
|
33
|
+
add(key: string | number, value: Collection): void;
|
|
34
|
+
/**
|
|
35
|
+
* Join several collections by ids
|
|
36
|
+
*/
|
|
37
|
+
merge(keys: number[]): Collection;
|
|
38
|
+
/**
|
|
39
|
+
* Create instance of collection
|
|
40
|
+
*/
|
|
41
|
+
createCollection(items?: object[]): Collection;
|
|
42
|
+
length(): number;
|
|
43
|
+
/**
|
|
44
|
+
* @Todo find a better solution to get list of the sorted keys
|
|
45
|
+
* Get array of the "keys" by provided order
|
|
46
|
+
*/
|
|
47
|
+
getSortedKeys(isDesc?: boolean): string[];
|
|
48
|
+
/**
|
|
49
|
+
* Group collection items by passed path into items object
|
|
50
|
+
*/
|
|
51
|
+
private groupItems;
|
|
52
|
+
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { CollectionDictionary } from './collection-dictionary';
|
|
2
|
-
/**
|
|
3
|
-
* Base collection class. Contains common properties and methods for all collections
|
|
4
|
-
*/
|
|
5
|
-
export declare class Collection<Model extends object> implements Iterable<Model> {
|
|
6
|
-
items: Model[];
|
|
7
|
-
constructor(items?: Model[]);
|
|
8
|
-
create(items?: Model[]): this;
|
|
9
|
-
/**
|
|
10
|
-
* Iterator that allow to iterate collection items
|
|
11
|
-
*/
|
|
12
|
-
[Symbol.iterator](): Iterator<Model>;
|
|
13
|
-
get first(): Model;
|
|
14
|
-
get last(): Model;
|
|
15
|
-
push(item: Model): number;
|
|
16
|
-
replaceBy(path: string, item: Model): this;
|
|
17
|
-
removeBy(path: string, item: Model): this;
|
|
18
|
-
toArray(): Model[];
|
|
19
|
-
groupBy(path?: string): CollectionDictionary<Collection<Model>>;
|
|
20
|
-
/**
|
|
21
|
-
* @TODO remove and use dictionary instead
|
|
22
|
-
*/
|
|
23
|
-
indexBy(path: string): object;
|
|
24
|
-
/**
|
|
25
|
-
* get collection length
|
|
26
|
-
*/
|
|
27
|
-
get length(): number;
|
|
28
|
-
/**
|
|
29
|
-
* Get list of items ids
|
|
30
|
-
*/
|
|
31
|
-
getIds(): number[];
|
|
32
|
-
getBy(path: string, value: any): this;
|
|
33
|
-
getByIds(ids: number[]): Model[];
|
|
34
|
-
findBy(path: string, value: any): Model | null;
|
|
35
|
-
findIndexBy(path: string, value: any): number;
|
|
36
|
-
/**
|
|
37
|
-
* Get total sum of items by field
|
|
38
|
-
*/
|
|
39
|
-
sumBy(path: string): number;
|
|
40
|
-
/**
|
|
41
|
-
* Filter items by specific provided callback
|
|
42
|
-
*/
|
|
43
|
-
filter(callback: (item: Model) => boolean): Collection<Model>;
|
|
44
|
-
/**
|
|
45
|
-
* Sort collection items by provided field
|
|
46
|
-
*/
|
|
47
|
-
sortBy(field?: string, isDesc?: boolean): void;
|
|
48
|
-
getByDateRange(from: Date, to: Date, dateField?: string): this;
|
|
49
|
-
}
|
|
1
|
+
import { CollectionDictionary } from './collection-dictionary';
|
|
2
|
+
/**
|
|
3
|
+
* Base collection class. Contains common properties and methods for all collections
|
|
4
|
+
*/
|
|
5
|
+
export declare class Collection<Model extends object> implements Iterable<Model> {
|
|
6
|
+
items: Model[];
|
|
7
|
+
constructor(items?: Model[]);
|
|
8
|
+
create(items?: Model[]): this;
|
|
9
|
+
/**
|
|
10
|
+
* Iterator that allow to iterate collection items
|
|
11
|
+
*/
|
|
12
|
+
[Symbol.iterator](): Iterator<Model>;
|
|
13
|
+
get first(): Model;
|
|
14
|
+
get last(): Model;
|
|
15
|
+
push(item: Model): number;
|
|
16
|
+
replaceBy(path: string, item: Model): this;
|
|
17
|
+
removeBy(path: string, item: Model): this;
|
|
18
|
+
toArray(): Model[];
|
|
19
|
+
groupBy(path?: string): CollectionDictionary<Collection<Model>>;
|
|
20
|
+
/**
|
|
21
|
+
* @TODO remove and use dictionary instead
|
|
22
|
+
*/
|
|
23
|
+
indexBy(path: string): object;
|
|
24
|
+
/**
|
|
25
|
+
* get collection length
|
|
26
|
+
*/
|
|
27
|
+
get length(): number;
|
|
28
|
+
/**
|
|
29
|
+
* Get list of items ids
|
|
30
|
+
*/
|
|
31
|
+
getIds(): number[];
|
|
32
|
+
getBy(path: string, value: any): this;
|
|
33
|
+
getByIds(ids: number[]): Model[];
|
|
34
|
+
findBy(path: string, value: any): Model | null;
|
|
35
|
+
findIndexBy(path: string, value: any): number;
|
|
36
|
+
/**
|
|
37
|
+
* Get total sum of items by field
|
|
38
|
+
*/
|
|
39
|
+
sumBy(path: string): number;
|
|
40
|
+
/**
|
|
41
|
+
* Filter items by specific provided callback
|
|
42
|
+
*/
|
|
43
|
+
filter(callback: (item: Model) => boolean): Collection<Model>;
|
|
44
|
+
/**
|
|
45
|
+
* Sort collection items by provided field
|
|
46
|
+
*/
|
|
47
|
+
sortBy(field?: string, isDesc?: boolean): void;
|
|
48
|
+
getByDateRange(from: Date, to: Date, dateField?: string): this;
|
|
49
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Collection } from './collection';
|
|
2
|
-
import { DepreciationForecast } from '../models/depreciation/depreciation-forecast';
|
|
3
|
-
/**
|
|
4
|
-
* Collection of depreciations
|
|
5
|
-
*/
|
|
6
|
-
export declare class DepreciationForecastCollection extends Collection<DepreciationForecast> {
|
|
7
|
-
filterByYear(financialYear: number): any;
|
|
8
|
-
getClaimAmountByMonth(month: number): number;
|
|
9
|
-
get amount(): number;
|
|
10
|
-
get claimAmount(): number;
|
|
11
|
-
}
|
|
1
|
+
import { Collection } from './collection';
|
|
2
|
+
import { DepreciationForecast } from '../models/depreciation/depreciation-forecast';
|
|
3
|
+
/**
|
|
4
|
+
* Collection of depreciations
|
|
5
|
+
*/
|
|
6
|
+
export declare class DepreciationForecastCollection extends Collection<DepreciationForecast> {
|
|
7
|
+
filterByYear(financialYear: number): any;
|
|
8
|
+
getClaimAmountByMonth(month: number): number;
|
|
9
|
+
get amount(): number;
|
|
10
|
+
get claimAmount(): number;
|
|
11
|
+
}
|