taxtank-core 0.5.1 → 0.5.2-1
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 +11897 -11899
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/bank-account.collection.js +135 -135
- package/esm2015/lib/collections/bank-transaction.collection.js +119 -119
- package/esm2015/lib/collections/client-movement.collection.js +31 -31
- package/esm2015/lib/collections/client-portfolio-report.collection.js +40 -40
- package/esm2015/lib/collections/client.collection.js +4 -4
- package/esm2015/lib/collections/collection-dictionary.js +86 -86
- package/esm2015/lib/collections/collection.js +74 -74
- package/esm2015/lib/collections/depreciation-forecast.collection.js +19 -19
- package/esm2015/lib/collections/depreciation.collection.js +72 -72
- package/esm2015/lib/collections/employee.collection.js +12 -12
- package/esm2015/lib/collections/income-source.collection.js +38 -38
- package/esm2015/lib/collections/loan.collection.js +18 -18
- package/esm2015/lib/collections/logbook.collection.js +97 -97
- package/esm2015/lib/collections/message-document.collection.js +13 -13
- package/esm2015/lib/collections/message.collection.js +21 -21
- package/esm2015/lib/collections/property.collection.js +72 -72
- package/esm2015/lib/collections/service-price.collection.js +10 -10
- package/esm2015/lib/collections/service-subscription.collection.js +17 -17
- package/esm2015/lib/collections/tax-return-category-item.collection.js +141 -141
- package/esm2015/lib/collections/tax-review.collection.js +55 -55
- package/esm2015/lib/collections/transaction-allocation.collection.js +40 -40
- package/esm2015/lib/collections/transaction.collection.js +120 -120
- package/esm2015/lib/collections/user-event-setting.collection.js +10 -10
- 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 +15 -15
- package/esm2015/lib/db/Enums/chart-accounts-etp.enum.js +9 -9
- package/esm2015/lib/db/Enums/chart-accounts-heading-tax-deductible.enum.js +8 -8
- package/esm2015/lib/db/Enums/chart-accounts-heading-taxable.enum.js +8 -8
- package/esm2015/lib/db/Enums/chart-accounts-heading-vehicle-list.enum.js +6 -6
- package/esm2015/lib/db/Enums/chart-accounts-list.enum.js +21 -21
- package/esm2015/lib/db/Enums/chart-accounts-metadata-list.enum.js +16 -16
- package/esm2015/lib/db/Enums/chart-accounts-metadata-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/chart-accounts-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/chat-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/client-details-medicare-exemption.enum.js +7 -7
- package/esm2015/lib/db/Enums/client-details-work-depreciation-calculation.enum.js +6 -6
- package/esm2015/lib/db/Enums/client-details-working-holiday-maker.enum.js +7 -7
- package/esm2015/lib/db/Enums/client-invite-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/client-invite-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/depreciation-calculation-percent.enum.js +9 -9
- package/esm2015/lib/db/Enums/depreciation-calculation.enum.js +9 -9
- package/esm2015/lib/db/Enums/depreciation-type.enum.js +8 -8
- package/esm2015/lib/db/Enums/depreciation-write-off-amount.enum.js +6 -6
- package/esm2015/lib/db/Enums/firm-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/income-source-type-list-other.enum.js +8 -8
- package/esm2015/lib/db/Enums/income-source-type-list-salary.enum.js +5 -5
- package/esm2015/lib/db/Enums/income-source-type-list-work.enum.js +10 -10
- package/esm2015/lib/db/Enums/income-source-type.enum.js +8 -8
- package/esm2015/lib/db/Enums/invite-status.enum.js +7 -7
- package/esm2015/lib/db/Enums/loan-bank-type.enum.js +12 -12
- package/esm2015/lib/db/Enums/loan-frequency.enum.js +8 -8
- package/esm2015/lib/db/Enums/loan-interest-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/loan-payout-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/loan-repayment-frequency.enum.js +7 -7
- package/esm2015/lib/db/Enums/loan-repayment-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/loan-type.enum.js +14 -14
- package/esm2015/lib/db/Enums/loan-vehicle-type.enum.js +7 -7
- package/esm2015/lib/db/Enums/phone-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/property-depreciation-calculation.enum.js +6 -6
- package/esm2015/lib/db/Enums/property-owner-access.enum.js +6 -6
- package/esm2015/lib/db/Enums/property-owner-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/service-payment-status.enum.js +6 -6
- package/esm2015/lib/db/Enums/service-price-recurring-interval.enum.js +8 -8
- package/esm2015/lib/db/Enums/service-price-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/service-subscription-status.enum.js +10 -10
- package/esm2015/lib/db/Enums/spare-document-spare-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/tank-type.enum.js +7 -7
- package/esm2015/lib/db/Enums/tax-calculation-medicare-exemption.enum.js +6 -6
- package/esm2015/lib/db/Enums/tax-calculation-type.enum.js +14 -14
- package/esm2015/lib/db/Enums/tax-return-category-list.enum.js +28 -28
- package/esm2015/lib/db/Enums/tax-return-category-section.enum.js +8 -8
- package/esm2015/lib/db/Enums/tax-review-status.enum.js +13 -13
- package/esm2015/lib/db/Enums/tax-summary-list.enum.js +17 -17
- package/esm2015/lib/db/Enums/tax-summary-section.enum.js +8 -8
- package/esm2015/lib/db/Enums/tax-summary-tax-summary.enum.js +17 -17
- package/esm2015/lib/db/Enums/ticket-feedback.enum.js +6 -6
- package/esm2015/lib/db/Enums/ticket-status.enum.js +9 -9
- package/esm2015/lib/db/Enums/ticket-types.enum.js +5 -5
- package/esm2015/lib/db/Enums/transaction-operation.enum.js +7 -7
- package/esm2015/lib/db/Enums/transaction-source.enum.js +6 -6
- package/esm2015/lib/db/Enums/transaction-type.enum.js +6 -6
- package/esm2015/lib/db/Enums/user-event-status.enum.js +9 -9
- package/esm2015/lib/db/Enums/user-event-type-client-type.enum.js +29 -29
- package/esm2015/lib/db/Enums/user-event-type-employee-type.enum.js +17 -17
- package/esm2015/lib/db/Enums/user-event-type-frequency.enum.js +7 -7
- package/esm2015/lib/db/Enums/user-event-type-user-type.enum.js +7 -7
- package/esm2015/lib/db/Enums/user-medicare-exemption.enum.js +7 -7
- package/esm2015/lib/db/Enums/user-roles.enum.js +15 -15
- package/esm2015/lib/db/Enums/user-status.enum.js +8 -8
- 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/address.js +3 -3
- package/esm2015/lib/db/Models/bank-account-balance.js +3 -3
- package/esm2015/lib/db/Models/bank-account-property.js +3 -3
- package/esm2015/lib/db/Models/bank-account.js +3 -3
- package/esm2015/lib/db/Models/bank-connection.js +3 -3
- package/esm2015/lib/db/Models/bank-transaction-import.js +3 -3
- package/esm2015/lib/db/Models/bank-transaction.js +3 -3
- package/esm2015/lib/db/Models/bank.js +3 -3
- package/esm2015/lib/db/Models/basiq-job.js +3 -3
- package/esm2015/lib/db/Models/borrowing-expense-loan.js +3 -3
- package/esm2015/lib/db/Models/borrowing-expense.js +3 -3
- package/esm2015/lib/db/Models/capital-cost-property.js +3 -3
- package/esm2015/lib/db/Models/capital-cost.js +3 -3
- package/esm2015/lib/db/Models/chart-accounts-depreciation.js +3 -3
- package/esm2015/lib/db/Models/chart-accounts-heading.js +3 -3
- package/esm2015/lib/db/Models/chart-accounts-metadata.js +3 -3
- package/esm2015/lib/db/Models/chart-accounts-value.js +3 -3
- package/esm2015/lib/db/Models/chart-accounts.js +3 -3
- package/esm2015/lib/db/Models/chat.js +3 -3
- package/esm2015/lib/db/Models/client-details.js +3 -3
- package/esm2015/lib/db/Models/client-invite.js +3 -3
- package/esm2015/lib/db/Models/client-movement.js +3 -3
- package/esm2015/lib/db/Models/country.js +3 -3
- package/esm2015/lib/db/Models/depreciation-capital-project.js +3 -3
- package/esm2015/lib/db/Models/depreciation-forecast.js +3 -3
- package/esm2015/lib/db/Models/depreciation-receipt.js +3 -3
- package/esm2015/lib/db/Models/depreciation.js +4 -4
- package/esm2015/lib/db/Models/document-folder.js +3 -3
- package/esm2015/lib/db/Models/document.js +3 -3
- package/esm2015/lib/db/Models/employee-details.js +3 -3
- package/esm2015/lib/db/Models/employee-invite.js +3 -3
- package/esm2015/lib/db/Models/financial-data-system.js +3 -3
- package/esm2015/lib/db/Models/firm.js +3 -3
- package/esm2015/lib/db/Models/income-source-forecast.js +3 -3
- package/esm2015/lib/db/Models/income-source-type.js +3 -3
- package/esm2015/lib/db/Models/income-source.js +3 -3
- package/esm2015/lib/db/Models/loan-payout.js +3 -3
- package/esm2015/lib/db/Models/loan.js +3 -3
- package/esm2015/lib/db/Models/message-document.js +3 -3
- package/esm2015/lib/db/Models/message.js +3 -3
- package/esm2015/lib/db/Models/occupation.js +3 -3
- package/esm2015/lib/db/Models/phone.js +3 -3
- package/esm2015/lib/db/Models/property-capital-cost.js +3 -3
- package/esm2015/lib/db/Models/property-category-movement.js +3 -3
- package/esm2015/lib/db/Models/property-category.js +3 -3
- package/esm2015/lib/db/Models/property-document.js +3 -3
- package/esm2015/lib/db/Models/property-forecast.js +3 -3
- package/esm2015/lib/db/Models/property-owner.js +3 -3
- package/esm2015/lib/db/Models/property-sold.js +3 -3
- package/esm2015/lib/db/Models/property-subscription.js +3 -3
- package/esm2015/lib/db/Models/property-valuation.js +3 -3
- package/esm2015/lib/db/Models/property.js +3 -3
- package/esm2015/lib/db/Models/registration-invite.js +3 -3
- package/esm2015/lib/db/Models/salary-forecast.js +3 -3
- package/esm2015/lib/db/Models/service-notification.js +3 -3
- package/esm2015/lib/db/Models/service-payment.js +3 -3
- package/esm2015/lib/db/Models/service-price.js +3 -3
- package/esm2015/lib/db/Models/service-product.js +3 -3
- package/esm2015/lib/db/Models/service-subscription-item.js +3 -3
- package/esm2015/lib/db/Models/service-subscription.js +3 -3
- package/esm2015/lib/db/Models/sole-forecast.js +3 -3
- package/esm2015/lib/db/Models/tax-return-category.js +3 -3
- package/esm2015/lib/db/Models/tax-return-item.js +3 -3
- package/esm2015/lib/db/Models/tax-return.js +3 -3
- package/esm2015/lib/db/Models/tax-review.js +3 -3
- package/esm2015/lib/db/Models/ticket.js +3 -3
- package/esm2015/lib/db/Models/transaction-allocation.js +3 -3
- package/esm2015/lib/db/Models/transaction-base.js +20 -20
- package/esm2015/lib/db/Models/transaction-metadata.js +3 -3
- package/esm2015/lib/db/Models/transaction-receipt.js +3 -3
- package/esm2015/lib/db/Models/transaction.js +4 -4
- package/esm2015/lib/db/Models/user-event-setting.js +3 -3
- package/esm2015/lib/db/Models/user-event-type-category.js +3 -3
- package/esm2015/lib/db/Models/user-event-type.js +3 -3
- package/esm2015/lib/db/Models/user-event.js +3 -3
- package/esm2015/lib/db/Models/user.js +3 -3
- package/esm2015/lib/db/Models/vehicle-claim.js +3 -3
- package/esm2015/lib/db/Models/vehicle-logbook.js +3 -3
- package/esm2015/lib/db/Models/vehicle.js +3 -3
- 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/income-source-forecast.interface.js +2 -2
- package/esm2015/lib/interfaces/option.interface.js +1 -1
- package/esm2015/lib/interfaces/photoable.js +1 -1
- package/esm2015/lib/interfaces/receipt.interface.js +2 -2
- package/esm2015/lib/interfaces/tank.interface.js +2 -2
- package/esm2015/lib/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-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 +84 -84
- 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.js +119 -119
- 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-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/data-table/data-table-column.js +13 -13
- package/esm2015/lib/models/data-table/data-table.js +42 -42
- package/esm2015/lib/models/depreciation/depreciation-capital-project.js +9 -9
- package/esm2015/lib/models/depreciation/depreciation-forecast.js +22 -22
- 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 +163 -163
- 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 +42 -42
- package/esm2015/lib/models/event/app-event.js +10 -10
- package/esm2015/lib/models/file/icons-file.enum.js +7 -7
- package/esm2015/lib/models/financial-year/financial-year.js +43 -43
- package/esm2015/lib/models/financial-year/month-name-short.enum.js +20 -20
- package/esm2015/lib/models/financial-year/month-number.enum.js +20 -20
- package/esm2015/lib/models/financial-year/months.const.js +2 -2
- package/esm2015/lib/models/firm/firm.js +29 -29
- package/esm2015/lib/models/income-position/income-position.js +9 -9
- package/esm2015/lib/models/income-source/income-source-chart-data.js +45 -45
- package/esm2015/lib/models/income-source/income-source-forecast.js +31 -31
- package/esm2015/lib/models/income-source/income-source-type.js +32 -32
- package/esm2015/lib/models/income-source/income-source.js +57 -57
- package/esm2015/lib/models/income-source/salary-forecast.js +14 -14
- package/esm2015/lib/models/income-source/sole-forecast.js +10 -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 +11 -11
- package/esm2015/lib/models/logbook/logbook-purpose-options.const.js +6 -6
- package/esm2015/lib/models/logbook/vehicle-claim.js +32 -32
- package/esm2015/lib/models/logbook/vehicle-logbook.js +16 -16
- package/esm2015/lib/models/logbook/vehicle.js +39 -39
- package/esm2015/lib/models/notification/notification.js +39 -39
- package/esm2015/lib/models/pdf/pdf-config.js +24 -24
- 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/ownership-filter-options.enum.js +10 -10
- package/esm2015/lib/models/property/property-capital-cost.js +4 -4
- package/esm2015/lib/models/property/property-category-movement.js +20 -20
- package/esm2015/lib/models/property/property-category.js +8 -8
- 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-owner.js +48 -48
- package/esm2015/lib/models/property/property-sold.js +12 -12
- 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 +130 -130
- package/esm2015/lib/models/registration-invite/registration-invite.js +10 -10
- 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 +10 -10
- package/esm2015/lib/models/service-subscription/service-product.js +10 -10
- package/esm2015/lib/models/service-subscription/service-subscription-item.js +13 -13
- package/esm2015/lib/models/service-subscription/service-subscription.js +128 -128
- 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/tax-return-category-item-details.js +9 -9
- package/esm2015/lib/models/tax-summary/tax-return-category-item.js +15 -15
- package/esm2015/lib/models/tax-summary/tax-summary-section.js +30 -30
- package/esm2015/lib/models/tax-summary/tax-summary-type.enum.js +9 -9
- package/esm2015/lib/models/tax-summary/tax-summary.js +71 -71
- package/esm2015/lib/models/transaction/income-amount-type.enum.js +9 -9
- package/esm2015/lib/models/transaction/transaction-allocation.js +21 -21
- package/esm2015/lib/models/transaction/transaction-metadata.js +10 -10
- package/esm2015/lib/models/transaction/transaction-receipt.js +11 -11
- package/esm2015/lib/models/transaction/transaction.js +223 -223
- 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 +13 -13
- 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/address/address.service.js +39 -39
- 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-account.service.js +118 -118
- package/esm2015/lib/services/bank/bank-connection.service.js +52 -52
- package/esm2015/lib/services/bank/bank-transaction-calculation.service.js +65 -65
- package/esm2015/lib/services/bank/bank-transaction.service.js +89 -89
- package/esm2015/lib/services/bank/bank.service.js +24 -24
- package/esm2015/lib/services/bank/basiq.service.js +94 -94
- package/esm2015/lib/services/base-rest.service.js +190 -190
- package/esm2015/lib/services/borrowing-expense/borrowing-expense.service.js +73 -73
- package/esm2015/lib/services/chart-accounts/chart-accounts-depreciations.service.js +38 -38
- package/esm2015/lib/services/chart-accounts/chart-accounts.service.js +89 -89
- package/esm2015/lib/services/chat/chat.service.js +77 -77
- package/esm2015/lib/services/chat/message-document.service.js +118 -118
- package/esm2015/lib/services/chat/message.service.js +65 -65
- package/esm2015/lib/services/client/client-invite.service.js +102 -102
- package/esm2015/lib/services/client/client-movement.service.js +98 -98
- package/esm2015/lib/services/client/client-portfolio-report.service.js +37 -37
- package/esm2015/lib/services/depreciation/capital-project.service.js +62 -62
- package/esm2015/lib/services/depreciation/depreciation.service.js +146 -146
- package/esm2015/lib/services/document/document-folder.service.js +84 -84
- package/esm2015/lib/services/employee/employee-invite.service.js +53 -53
- package/esm2015/lib/services/employee/employee.service.js +39 -39
- 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/firm/firm.service.js +79 -79
- package/esm2015/lib/services/header-title/header-title.service.js +28 -28
- package/esm2015/lib/services/income-source/income-source-forecast.service.js +90 -90
- package/esm2015/lib/services/income-source/income-source.service.js +109 -109
- package/esm2015/lib/services/income-source/salary-forecast.service.js +90 -90
- package/esm2015/lib/services/income-source/sole-forecast.service.js +87 -87
- package/esm2015/lib/services/intercom/intercom.service.js +41 -41
- package/esm2015/lib/services/loan/loan.service.js +145 -145
- package/esm2015/lib/services/notification/notification.service.js +65 -65
- package/esm2015/lib/services/pdf/pdf.service.js +88 -88
- package/esm2015/lib/services/preloader/preloader.service.js +30 -30
- package/esm2015/lib/services/property/corelogic.service.js +46 -46
- package/esm2015/lib/services/property/equity-position-chart.service.js +45 -45
- package/esm2015/lib/services/property/property-calculation.service.js +121 -121
- package/esm2015/lib/services/property/property-capital-cost.service.js +46 -46
- package/esm2015/lib/services/property/property-category-movement.service.js +47 -47
- package/esm2015/lib/services/property/property-category.service.js +23 -23
- package/esm2015/lib/services/property/property-document.service.js +68 -68
- package/esm2015/lib/services/property/property-owner.service.js +123 -123
- package/esm2015/lib/services/property/property-sold.service.js +23 -23
- package/esm2015/lib/services/property/property.service.js +126 -126
- package/esm2015/lib/services/subscription/subscription.service.js +138 -138
- package/esm2015/lib/services/tax-review/tax-review-history.service.js +41 -41
- package/esm2015/lib/services/tax-review/tax-review.service.js +103 -103
- package/esm2015/lib/services/tax-summary/tax-summary.service.js +71 -71
- package/esm2015/lib/services/transaction/transaction-allocation.service.js +91 -85
- package/esm2015/lib/services/transaction/transaction-calculation.service.js +47 -47
- package/esm2015/lib/services/transaction/transaction.service.js +319 -319
- package/esm2015/lib/services/user/occupation.service.js +45 -45
- package/esm2015/lib/services/user/user-switcher.service.js +37 -37
- package/esm2015/lib/services/user/user.service.js +124 -124
- package/esm2015/lib/services/user-event/user-event-setting.service.js +59 -59
- package/esm2015/lib/services/user-event/user-event-type.service.js +29 -29
- package/esm2015/lib/services/work/work-tank.service.js +236 -236
- package/esm2015/lib/services/xlsx/xlsx.service.js +54 -54
- package/esm2015/lib/tt-core.module.js +36 -36
- package/esm2015/public-api.js +347 -347
- package/esm2015/taxtank-core.js +4 -4
- package/fesm2015/taxtank-core.js +9848 -9846
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/bank-account.collection.d.ts +67 -67
- package/lib/collections/bank-transaction.collection.d.ts +72 -72
- package/lib/collections/client-movement.collection.d.ts +17 -17
- package/lib/collections/client-portfolio-report.collection.d.ts +26 -26
- package/lib/collections/client.collection.d.ts +4 -4
- package/lib/collections/collection-dictionary.d.ts +47 -47
- package/lib/collections/collection.d.ts +37 -37
- package/lib/collections/depreciation-forecast.collection.d.ts +11 -11
- package/lib/collections/depreciation.collection.d.ts +28 -28
- package/lib/collections/employee.collection.d.ts +6 -6
- package/lib/collections/income-source.collection.d.ts +25 -25
- package/lib/collections/loan.collection.d.ts +14 -14
- package/lib/collections/logbook.collection.d.ts +19 -19
- package/lib/collections/message-document.collection.d.ts +11 -11
- package/lib/collections/message.collection.d.ts +14 -14
- package/lib/collections/property.collection.d.ts +38 -38
- package/lib/collections/service-price.collection.d.ts +6 -6
- package/lib/collections/service-subscription.collection.d.ts +8 -8
- package/lib/collections/tax-return-category-item.collection.d.ts +68 -68
- package/lib/collections/tax-review.collection.d.ts +35 -35
- package/lib/collections/transaction-allocation.collection.d.ts +23 -23
- package/lib/collections/transaction.collection.d.ts +76 -76
- package/lib/collections/user-event-setting.collection.d.ts +8 -8
- 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 +13 -13
- package/lib/db/Enums/chart-accounts-etp.enum.d.ts +7 -7
- package/lib/db/Enums/chart-accounts-heading-tax-deductible.enum.d.ts +6 -6
- package/lib/db/Enums/chart-accounts-heading-taxable.enum.d.ts +6 -6
- package/lib/db/Enums/chart-accounts-heading-vehicle-list.enum.d.ts +4 -4
- package/lib/db/Enums/chart-accounts-list.enum.d.ts +19 -19
- package/lib/db/Enums/chart-accounts-metadata-list.enum.d.ts +14 -14
- package/lib/db/Enums/chart-accounts-metadata-type.enum.d.ts +4 -4
- package/lib/db/Enums/chart-accounts-type.enum.d.ts +4 -4
- package/lib/db/Enums/chat-status.enum.d.ts +4 -4
- package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts +5 -5
- package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts +4 -4
- package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts +5 -5
- package/lib/db/Enums/client-invite-status.enum.d.ts +4 -4
- package/lib/db/Enums/client-invite-type.enum.d.ts +4 -4
- package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts +7 -7
- package/lib/db/Enums/depreciation-calculation.enum.d.ts +7 -7
- package/lib/db/Enums/depreciation-type.enum.d.ts +6 -6
- package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts +4 -4
- package/lib/db/Enums/firm-type.enum.d.ts +4 -4
- package/lib/db/Enums/income-source-type-list-other.enum.d.ts +6 -6
- package/lib/db/Enums/income-source-type-list-salary.enum.d.ts +3 -3
- package/lib/db/Enums/income-source-type-list-work.enum.d.ts +8 -8
- package/lib/db/Enums/income-source-type.enum.d.ts +6 -6
- package/lib/db/Enums/invite-status.enum.d.ts +5 -5
- package/lib/db/Enums/loan-bank-type.enum.d.ts +10 -10
- package/lib/db/Enums/loan-frequency.enum.d.ts +6 -6
- package/lib/db/Enums/loan-interest-type.enum.d.ts +4 -4
- package/lib/db/Enums/loan-payout-type.enum.d.ts +4 -4
- package/lib/db/Enums/loan-repayment-frequency.enum.d.ts +5 -5
- package/lib/db/Enums/loan-repayment-type.enum.d.ts +4 -4
- package/lib/db/Enums/loan-type.enum.d.ts +12 -12
- package/lib/db/Enums/loan-vehicle-type.enum.d.ts +5 -5
- package/lib/db/Enums/phone-type.enum.d.ts +4 -4
- package/lib/db/Enums/property-depreciation-calculation.enum.d.ts +4 -4
- package/lib/db/Enums/property-owner-access.enum.d.ts +4 -4
- package/lib/db/Enums/property-owner-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/service-payment-status.enum.d.ts +4 -4
- package/lib/db/Enums/service-price-recurring-interval.enum.d.ts +6 -6
- package/lib/db/Enums/service-price-type.enum.d.ts +4 -4
- package/lib/db/Enums/service-subscription-status.enum.d.ts +8 -8
- package/lib/db/Enums/spare-document-spare-type.enum.d.ts +4 -4
- package/lib/db/Enums/tank-type.enum.d.ts +5 -5
- package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts +4 -4
- package/lib/db/Enums/tax-calculation-type.enum.d.ts +12 -12
- package/lib/db/Enums/tax-return-category-list.enum.d.ts +26 -26
- package/lib/db/Enums/tax-return-category-section.enum.d.ts +6 -6
- package/lib/db/Enums/tax-review-status.enum.d.ts +11 -11
- package/lib/db/Enums/tax-summary-list.enum.d.ts +15 -15
- package/lib/db/Enums/tax-summary-section.enum.d.ts +6 -6
- package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts +15 -15
- package/lib/db/Enums/ticket-feedback.enum.d.ts +4 -4
- package/lib/db/Enums/ticket-status.enum.d.ts +7 -7
- package/lib/db/Enums/ticket-types.enum.d.ts +3 -3
- package/lib/db/Enums/transaction-operation.enum.d.ts +5 -5
- package/lib/db/Enums/transaction-source.enum.d.ts +4 -4
- package/lib/db/Enums/transaction-type.enum.d.ts +4 -4
- package/lib/db/Enums/user-event-status.enum.d.ts +7 -7
- package/lib/db/Enums/user-event-type-client-type.enum.d.ts +27 -27
- package/lib/db/Enums/user-event-type-employee-type.enum.d.ts +15 -15
- package/lib/db/Enums/user-event-type-frequency.enum.d.ts +5 -5
- package/lib/db/Enums/user-event-type-user-type.enum.d.ts +5 -5
- package/lib/db/Enums/user-medicare-exemption.enum.d.ts +5 -5
- package/lib/db/Enums/user-roles.enum.d.ts +13 -13
- package/lib/db/Enums/user-status.enum.d.ts +6 -6
- 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/address.d.ts +19 -19
- package/lib/db/Models/bank-account-balance.d.ts +12 -12
- package/lib/db/Models/bank-account-property.d.ts +8 -8
- package/lib/db/Models/bank-account.d.ts +33 -33
- package/lib/db/Models/bank-connection.d.ts +14 -14
- package/lib/db/Models/bank-transaction-import.d.ts +11 -11
- package/lib/db/Models/bank-transaction.d.ts +16 -16
- package/lib/db/Models/bank.d.ts +11 -11
- package/lib/db/Models/basiq-job.d.ts +8 -8
- package/lib/db/Models/borrowing-expense-loan.d.ts +14 -14
- package/lib/db/Models/borrowing-expense.d.ts +7 -7
- package/lib/db/Models/capital-cost-property.d.ts +13 -13
- package/lib/db/Models/capital-cost.d.ts +4 -4
- package/lib/db/Models/chart-accounts-depreciation.d.ts +10 -10
- package/lib/db/Models/chart-accounts-heading.d.ts +6 -6
- package/lib/db/Models/chart-accounts-metadata.d.ts +11 -11
- package/lib/db/Models/chart-accounts-value.d.ts +12 -12
- package/lib/db/Models/chart-accounts.d.ts +23 -23
- package/lib/db/Models/chat.d.ts +17 -17
- package/lib/db/Models/client-details.d.ts +29 -29
- package/lib/db/Models/client-invite.d.ts +16 -16
- package/lib/db/Models/client-movement.d.ts +12 -12
- package/lib/db/Models/country.d.ts +5 -5
- package/lib/db/Models/depreciation-capital-project.d.ts +13 -13
- package/lib/db/Models/depreciation-forecast.d.ts +18 -18
- package/lib/db/Models/depreciation-receipt.d.ts +11 -11
- package/lib/db/Models/depreciation.d.ts +42 -42
- package/lib/db/Models/document-folder.d.ts +9 -9
- package/lib/db/Models/document.d.ts +11 -11
- package/lib/db/Models/employee-details.d.ts +7 -7
- package/lib/db/Models/employee-invite.d.ts +9 -9
- package/lib/db/Models/financial-data-system.d.ts +9 -9
- package/lib/db/Models/firm.d.ts +28 -28
- package/lib/db/Models/income-source-forecast.d.ts +12 -12
- package/lib/db/Models/income-source-type.d.ts +8 -8
- package/lib/db/Models/income-source.d.ts +22 -22
- package/lib/db/Models/loan-payout.d.ts +12 -12
- package/lib/db/Models/loan.d.ts +33 -33
- package/lib/db/Models/message-document.d.ts +15 -15
- package/lib/db/Models/message.d.ts +15 -15
- package/lib/db/Models/occupation.d.ts +5 -5
- package/lib/db/Models/phone.d.ts +12 -12
- package/lib/db/Models/property-capital-cost.d.ts +13 -13
- package/lib/db/Models/property-category-movement.d.ts +17 -17
- package/lib/db/Models/property-category.d.ts +13 -13
- package/lib/db/Models/property-document.d.ts +13 -13
- package/lib/db/Models/property-forecast.d.ts +14 -14
- package/lib/db/Models/property-owner.d.ts +20 -20
- package/lib/db/Models/property-sold.d.ts +12 -12
- package/lib/db/Models/property-subscription.d.ts +9 -9
- package/lib/db/Models/property-valuation.d.ts +12 -12
- package/lib/db/Models/property.d.ts +41 -41
- package/lib/db/Models/registration-invite.d.ts +12 -12
- package/lib/db/Models/salary-forecast.d.ts +15 -15
- package/lib/db/Models/service-notification.d.ts +13 -13
- package/lib/db/Models/service-payment.d.ts +11 -11
- package/lib/db/Models/service-price.d.ts +15 -15
- package/lib/db/Models/service-product.d.ts +12 -12
- package/lib/db/Models/service-subscription-item.d.ts +9 -9
- package/lib/db/Models/service-subscription.d.ts +14 -14
- package/lib/db/Models/sole-forecast.d.ts +8 -8
- package/lib/db/Models/tax-return-category.d.ts +12 -12
- package/lib/db/Models/tax-return-item.d.ts +15 -15
- package/lib/db/Models/tax-return.d.ts +8 -8
- package/lib/db/Models/tax-review.d.ts +13 -13
- package/lib/db/Models/ticket.d.ts +19 -19
- package/lib/db/Models/transaction-allocation.d.ts +8 -8
- package/lib/db/Models/transaction-base.d.ts +22 -22
- package/lib/db/Models/transaction-metadata.d.ts +11 -11
- package/lib/db/Models/transaction-receipt.d.ts +11 -11
- package/lib/db/Models/transaction.d.ts +43 -43
- package/lib/db/Models/user-event-setting.d.ts +10 -10
- package/lib/db/Models/user-event-type-category.d.ts +4 -4
- package/lib/db/Models/user-event-type.d.ts +17 -17
- package/lib/db/Models/user-event.d.ts +15 -15
- package/lib/db/Models/user.d.ts +51 -51
- package/lib/db/Models/vehicle-claim.d.ts +11 -11
- package/lib/db/Models/vehicle-logbook.d.ts +16 -16
- package/lib/db/Models/vehicle.d.ts +8 -8
- 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 +9 -9
- package/lib/interfaces/income-source-forecast.interface.d.ts +10 -10
- package/lib/interfaces/option.interface.d.ts +4 -4
- package/lib/interfaces/photoable.d.ts +13 -13
- package/lib/interfaces/receipt.interface.d.ts +12 -12
- package/lib/interfaces/tank.interface.d.ts +7 -7
- 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-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 +4 -4
- 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.d.ts +66 -66
- 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-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/data-table/data-table-column.d.ts +20 -20
- package/lib/models/data-table/data-table.d.ts +24 -24
- package/lib/models/depreciation/depreciation-capital-project.d.ts +5 -5
- package/lib/models/depreciation/depreciation-forecast.d.ts +8 -8
- 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 +70 -70
- 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 +40 -40
- package/lib/models/event/app-event.d.ts +9 -9
- 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 +21 -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 +15 -7
- package/lib/models/income-source/sole-forecast.d.ts +10 -7
- package/lib/models/loan/loan-max-number-of-payments.enum.d.ts +8 -8
- package/lib/models/loan/loan-payment.d.ts +13 -13
- package/lib/models/loan/loan-payout.d.ts +9 -9
- package/lib/models/loan/loan.d.ts +20 -20
- package/lib/models/logbook/default-vehicle-expense.d.ts +5 -5
- package/lib/models/logbook/logbook-period.d.ts +6 -6
- package/lib/models/logbook/logbook-purpose-options.const.d.ts +4 -4
- package/lib/models/logbook/vehicle-claim.d.ts +19 -19
- package/lib/models/logbook/vehicle-logbook.d.ts +6 -6
- package/lib/models/logbook/vehicle.d.ts +12 -12
- package/lib/models/notification/notification.d.ts +14 -14
- package/lib/models/pdf/pdf-config.d.ts +8 -8
- 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/ownership-filter-options.enum.d.ts +8 -8
- package/lib/models/property/property-capital-cost.d.ts +3 -3
- package/lib/models/property/property-category-movement.d.ts +9 -9
- package/lib/models/property/property-category.d.ts +4 -4
- 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-owner.d.ts +21 -21
- package/lib/models/property/property-sold.d.ts +5 -5
- 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 +55 -55
- package/lib/models/registration-invite/registration-invite.d.ts +6 -6
- 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 +5 -5
- package/lib/models/service-subscription/service-product.d.ts +5 -5
- package/lib/models/service-subscription/service-subscription-item.d.ts +6 -6
- package/lib/models/service-subscription/service-subscription.d.ts +55 -55
- 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/tax-return-category-item-details.d.ts +13 -13
- package/lib/models/tax-summary/tax-return-category-item.d.ts +18 -18
- package/lib/models/tax-summary/tax-summary-section.d.ts +12 -12
- package/lib/models/tax-summary/tax-summary-type.enum.d.ts +7 -7
- package/lib/models/tax-summary/tax-summary.d.ts +44 -44
- package/lib/models/transaction/income-amount-type.enum.d.ts +7 -7
- package/lib/models/transaction/transaction-allocation.d.ts +12 -12
- package/lib/models/transaction/transaction-metadata.d.ts +5 -5
- package/lib/models/transaction/transaction-receipt.d.ts +8 -8
- package/lib/models/transaction/transaction.d.ts +99 -99
- package/lib/models/user/my-account-history-initiated-by.enum.d.ts +4 -4
- package/lib/models/user/my-account-history-status.enum.d.ts +4 -4
- package/lib/models/user/my-account-history-type.enum.d.ts +5 -5
- package/lib/models/user/my-account-history.d.ts +11 -11
- package/lib/models/user/occupation.d.ts +3 -3
- package/lib/models/user/user-roles.const.d.ts +4 -4
- package/lib/models/user/user-to-register.d.ts +7 -7
- package/lib/models/user/user-work-position.const.d.ts +3 -3
- package/lib/models/user/user.d.ts +64 -64
- package/lib/models/user-event/user-event-setting-field.enum.d.ts +8 -8
- package/lib/models/user-event/user-event-setting.d.ts +6 -6
- package/lib/models/user-event/user-event-type-category.d.ts +3 -3
- package/lib/models/user-event/user-event-type.d.ts +7 -7
- package/lib/services/address/address.service.d.ts +14 -14
- 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-account.service.d.ts +48 -48
- package/lib/services/bank/bank-connection.service.d.ts +24 -24
- package/lib/services/bank/bank-transaction-calculation.service.d.ts +41 -41
- package/lib/services/bank/bank-transaction.service.d.ts +38 -38
- package/lib/services/bank/bank.service.d.ts +14 -14
- package/lib/services/bank/basiq.service.d.ts +42 -42
- package/lib/services/base-rest.service.d.ts +91 -91
- package/lib/services/borrowing-expense/borrowing-expense.service.d.ts +19 -19
- package/lib/services/chart-accounts/chart-accounts-depreciations.service.d.ts +19 -19
- package/lib/services/chart-accounts/chart-accounts.service.d.ts +37 -37
- package/lib/services/chat/chat.service.d.ts +31 -31
- package/lib/services/chat/message-document.service.d.ts +50 -50
- package/lib/services/chat/message.service.d.ts +31 -31
- package/lib/services/client/client-invite.service.d.ts +36 -36
- package/lib/services/client/client-movement.service.d.ts +40 -40
- package/lib/services/client/client-portfolio-report.service.d.ts +16 -16
- package/lib/services/depreciation/capital-project.service.d.ts +20 -20
- package/lib/services/depreciation/depreciation.service.d.ts +59 -59
- package/lib/services/document/document-folder.service.d.ts +40 -40
- package/lib/services/employee/employee-invite.service.d.ts +21 -21
- package/lib/services/employee/employee.service.d.ts +16 -16
- package/lib/services/event/event-dispatcher.service.d.ts +17 -17
- package/lib/services/event/sse.service.d.ts +16 -16
- package/lib/services/firm/firm.service.d.ts +27 -27
- package/lib/services/header-title/header-title.service.d.ts +11 -11
- package/lib/services/income-source/income-source-forecast.service.d.ts +36 -36
- package/lib/services/income-source/income-source.service.d.ts +48 -48
- package/lib/services/income-source/salary-forecast.service.d.ts +37 -37
- package/lib/services/income-source/sole-forecast.service.d.ts +33 -33
- package/lib/services/intercom/intercom.service.d.ts +21 -21
- package/lib/services/loan/loan.service.d.ts +63 -63
- package/lib/services/notification/notification.service.d.ts +31 -31
- package/lib/services/pdf/pdf.service.d.ts +23 -23
- package/lib/services/preloader/preloader.service.d.ts +12 -12
- package/lib/services/property/corelogic.service.d.ts +15 -15
- package/lib/services/property/equity-position-chart.service.d.ts +15 -15
- package/lib/services/property/property-calculation.service.d.ts +33 -33
- package/lib/services/property/property-capital-cost.service.d.ts +20 -20
- package/lib/services/property/property-category-movement.service.d.ts +15 -15
- package/lib/services/property/property-category.service.d.ts +13 -13
- package/lib/services/property/property-document.service.d.ts +31 -31
- package/lib/services/property/property-owner.service.d.ts +52 -52
- package/lib/services/property/property-sold.service.d.ts +13 -13
- package/lib/services/property/property.service.d.ts +54 -54
- package/lib/services/subscription/subscription.service.d.ts +47 -47
- package/lib/services/tax-review/tax-review-history.service.d.ts +19 -19
- package/lib/services/tax-review/tax-review.service.d.ts +44 -44
- package/lib/services/tax-summary/tax-summary.service.d.ts +31 -31
- package/lib/services/transaction/transaction-allocation.service.d.ts +43 -43
- package/lib/services/transaction/transaction-calculation.service.d.ts +29 -29
- package/lib/services/transaction/transaction.service.d.ts +92 -92
- package/lib/services/user/occupation.service.d.ts +20 -20
- package/lib/services/user/user-switcher.service.d.ts +20 -20
- package/lib/services/user/user.service.d.ts +60 -60
- package/lib/services/user-event/user-event-setting.service.d.ts +22 -22
- package/lib/services/user-event/user-event-type.service.d.ts +17 -17
- package/lib/services/work/work-tank.service.d.ts +93 -93
- package/lib/services/xlsx/xlsx.service.d.ts +11 -11
- package/lib/tt-core.module.d.ts +10 -10
- package/package.json +1 -1
- package/public-api.d.ts +346 -346
- package/taxtank-core.d.ts +5 -5
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { PropertyEquityChartItem } from './property-equity-chart-item';
|
|
2
|
-
import { PropertyCollection } from '../../collections/property.collection';
|
|
3
|
-
import { BankAccountCollection } from '../../collections/bank-account.collection';
|
|
4
|
-
import { LoanCollection } from '../../collections/loan.collection';
|
|
5
|
-
import { PropertyEquityChartTypeEnum } from './property-equity-chart-type.enum';
|
|
6
|
-
import { Property } from './property';
|
|
7
|
-
/**
|
|
8
|
-
* class contain actual and forecasted market values and loan balances for passed properties
|
|
9
|
-
* X axis - years from the first actual data year to the last forecasted year
|
|
10
|
-
* Y axis - amounts of market values, loan balances
|
|
11
|
-
* Also on hover appear equity positions point
|
|
12
|
-
*/
|
|
13
|
-
export declare class PropertyEquityChartData {
|
|
14
|
-
private registerDate;
|
|
15
|
-
list: PropertyEquityChartItem[];
|
|
16
|
-
currentYear: number;
|
|
17
|
-
private properties;
|
|
18
|
-
private bankAccounts;
|
|
19
|
-
private loans;
|
|
20
|
-
constructor(properties: PropertyCollection, bankAccounts: BankAccountCollection, loans: LoanCollection, registerDate: Date);
|
|
21
|
-
/**
|
|
22
|
-
* get items list in chart series format
|
|
23
|
-
* @param type
|
|
24
|
-
*/
|
|
25
|
-
getChartSeries(type: PropertyEquityChartTypeEnum): number[][];
|
|
26
|
-
/**
|
|
27
|
-
* get prepared chart data
|
|
28
|
-
*/
|
|
29
|
-
getChartData(): object[];
|
|
30
|
-
/**
|
|
31
|
-
* create empty equity position item for each year in collection
|
|
32
|
-
*/
|
|
33
|
-
private initItems;
|
|
34
|
-
/**
|
|
35
|
-
* collect equity position items with past values from properties forecasts
|
|
36
|
-
*/
|
|
37
|
-
private buildHistoryItems;
|
|
38
|
-
/**
|
|
39
|
-
* set actual year's real data
|
|
40
|
-
* @private
|
|
41
|
-
*/
|
|
42
|
-
private buildActualItem;
|
|
43
|
-
/**
|
|
44
|
-
* collect equity position items with forecasted (future) calculated values
|
|
45
|
-
*/
|
|
46
|
-
private buildForecastedItems;
|
|
47
|
-
/**
|
|
48
|
-
* Get property loan balance by financial year
|
|
49
|
-
* @param property Property instance for filter
|
|
50
|
-
* @param year Financial year number
|
|
51
|
-
* @param bankAccounts List of bank accounts
|
|
52
|
-
* @param loans List of loans
|
|
53
|
-
* @private
|
|
54
|
-
*/
|
|
55
|
-
private getLoanBalanceByYear;
|
|
56
|
-
getMarketValueForPropertyByYear(property: Property, year: number): number;
|
|
57
|
-
getLoanBalanceForPropertyByYear(property: Property, year: number): number;
|
|
58
|
-
/**
|
|
59
|
-
* Check if loan balance is 0 and set it as null (to not to draw point on the chart)
|
|
60
|
-
*/
|
|
61
|
-
private checkZeroLoanBalance;
|
|
62
|
-
}
|
|
1
|
+
import { PropertyEquityChartItem } from './property-equity-chart-item';
|
|
2
|
+
import { PropertyCollection } from '../../collections/property.collection';
|
|
3
|
+
import { BankAccountCollection } from '../../collections/bank-account.collection';
|
|
4
|
+
import { LoanCollection } from '../../collections/loan.collection';
|
|
5
|
+
import { PropertyEquityChartTypeEnum } from './property-equity-chart-type.enum';
|
|
6
|
+
import { Property } from './property';
|
|
7
|
+
/**
|
|
8
|
+
* class contain actual and forecasted market values and loan balances for passed properties
|
|
9
|
+
* X axis - years from the first actual data year to the last forecasted year
|
|
10
|
+
* Y axis - amounts of market values, loan balances
|
|
11
|
+
* Also on hover appear equity positions point
|
|
12
|
+
*/
|
|
13
|
+
export declare class PropertyEquityChartData {
|
|
14
|
+
private registerDate;
|
|
15
|
+
list: PropertyEquityChartItem[];
|
|
16
|
+
currentYear: number;
|
|
17
|
+
private properties;
|
|
18
|
+
private bankAccounts;
|
|
19
|
+
private loans;
|
|
20
|
+
constructor(properties: PropertyCollection, bankAccounts: BankAccountCollection, loans: LoanCollection, registerDate: Date);
|
|
21
|
+
/**
|
|
22
|
+
* get items list in chart series format
|
|
23
|
+
* @param type
|
|
24
|
+
*/
|
|
25
|
+
getChartSeries(type: PropertyEquityChartTypeEnum): number[][];
|
|
26
|
+
/**
|
|
27
|
+
* get prepared chart data
|
|
28
|
+
*/
|
|
29
|
+
getChartData(): object[];
|
|
30
|
+
/**
|
|
31
|
+
* create empty equity position item for each year in collection
|
|
32
|
+
*/
|
|
33
|
+
private initItems;
|
|
34
|
+
/**
|
|
35
|
+
* collect equity position items with past values from properties forecasts
|
|
36
|
+
*/
|
|
37
|
+
private buildHistoryItems;
|
|
38
|
+
/**
|
|
39
|
+
* set actual year's real data
|
|
40
|
+
* @private
|
|
41
|
+
*/
|
|
42
|
+
private buildActualItem;
|
|
43
|
+
/**
|
|
44
|
+
* collect equity position items with forecasted (future) calculated values
|
|
45
|
+
*/
|
|
46
|
+
private buildForecastedItems;
|
|
47
|
+
/**
|
|
48
|
+
* Get property loan balance by financial year
|
|
49
|
+
* @param property Property instance for filter
|
|
50
|
+
* @param year Financial year number
|
|
51
|
+
* @param bankAccounts List of bank accounts
|
|
52
|
+
* @param loans List of loans
|
|
53
|
+
* @private
|
|
54
|
+
*/
|
|
55
|
+
private getLoanBalanceByYear;
|
|
56
|
+
getMarketValueForPropertyByYear(property: Property, year: number): number;
|
|
57
|
+
getLoanBalanceForPropertyByYear(property: Property, year: number): number;
|
|
58
|
+
/**
|
|
59
|
+
* Check if loan balance is 0 and set it as null (to not to draw point on the chart)
|
|
60
|
+
*/
|
|
61
|
+
private checkZeroLoanBalance;
|
|
62
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { PropertyEquityChartTypeEnum } from './property-equity-chart-type.enum';
|
|
2
|
-
/**
|
|
3
|
-
* class contains equity information for passed financial year
|
|
4
|
-
*/
|
|
5
|
-
export declare class PropertyEquityChartItem {
|
|
6
|
-
year: number;
|
|
7
|
-
marketValue: number;
|
|
8
|
-
loanBalance: number;
|
|
9
|
-
constructor(year: number, marketValue?: number, loanBalance?: number);
|
|
10
|
-
/**
|
|
11
|
-
* calculate equity position
|
|
12
|
-
*/
|
|
13
|
-
get equityPosition(): number;
|
|
14
|
-
/**
|
|
15
|
-
* return this equity position instance as chart serie
|
|
16
|
-
* @param type
|
|
17
|
-
*/
|
|
18
|
-
getSerie(type: PropertyEquityChartTypeEnum): number[];
|
|
19
|
-
}
|
|
1
|
+
import { PropertyEquityChartTypeEnum } from './property-equity-chart-type.enum';
|
|
2
|
+
/**
|
|
3
|
+
* class contains equity information for passed financial year
|
|
4
|
+
*/
|
|
5
|
+
export declare class PropertyEquityChartItem {
|
|
6
|
+
year: number;
|
|
7
|
+
marketValue: number;
|
|
8
|
+
loanBalance: number;
|
|
9
|
+
constructor(year: number, marketValue?: number, loanBalance?: number);
|
|
10
|
+
/**
|
|
11
|
+
* calculate equity position
|
|
12
|
+
*/
|
|
13
|
+
get equityPosition(): number;
|
|
14
|
+
/**
|
|
15
|
+
* return this equity position instance as chart serie
|
|
16
|
+
* @param type
|
|
17
|
+
*/
|
|
18
|
+
getSerie(type: PropertyEquityChartTypeEnum): number[];
|
|
19
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum PropertyEquityChartTypeEnum {
|
|
2
|
-
MARKET_VALUE = "marketValue",
|
|
3
|
-
LOAN_BALANCE = "loanBalance"
|
|
4
|
-
}
|
|
1
|
+
export declare enum PropertyEquityChartTypeEnum {
|
|
2
|
+
MARKET_VALUE = "marketValue",
|
|
3
|
+
LOAN_BALANCE = "loanBalance"
|
|
4
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { PropertyForecast as PropertyForecastBase } from '../../db/Models/property-forecast';
|
|
2
|
-
export declare class PropertyForecast extends PropertyForecastBase {
|
|
3
|
-
income: number;
|
|
4
|
-
expense: number;
|
|
5
|
-
interest: number;
|
|
6
|
-
depreciation: number;
|
|
7
|
-
loanBalance: number;
|
|
8
|
-
marketValue: number;
|
|
9
|
-
/**
|
|
10
|
-
* Get cash position
|
|
11
|
-
* Cash Position = Income - Expense - Interest
|
|
12
|
-
*/
|
|
13
|
-
get cashPosition(): number;
|
|
14
|
-
/**
|
|
15
|
-
* Get tax position
|
|
16
|
-
* Tax Position = Income - Expense - Interest - Depreciation
|
|
17
|
-
*/
|
|
18
|
-
get taxPosition(): number;
|
|
19
|
-
/**
|
|
20
|
-
* Get rental return percent
|
|
21
|
-
* Rental Return = Income / Market Value
|
|
22
|
-
*/
|
|
23
|
-
get rentalReturn(): number;
|
|
24
|
-
/**
|
|
25
|
-
* Check if forecast is for real current fin year (not selected in the sidebar)
|
|
26
|
-
*/
|
|
27
|
-
isCurrentYear(): boolean;
|
|
28
|
-
}
|
|
1
|
+
import { PropertyForecast as PropertyForecastBase } from '../../db/Models/property-forecast';
|
|
2
|
+
export declare class PropertyForecast extends PropertyForecastBase {
|
|
3
|
+
income: number;
|
|
4
|
+
expense: number;
|
|
5
|
+
interest: number;
|
|
6
|
+
depreciation: number;
|
|
7
|
+
loanBalance: number;
|
|
8
|
+
marketValue: number;
|
|
9
|
+
/**
|
|
10
|
+
* Get cash position
|
|
11
|
+
* Cash Position = Income - Expense - Interest
|
|
12
|
+
*/
|
|
13
|
+
get cashPosition(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Get tax position
|
|
16
|
+
* Tax Position = Income - Expense - Interest - Depreciation
|
|
17
|
+
*/
|
|
18
|
+
get taxPosition(): number;
|
|
19
|
+
/**
|
|
20
|
+
* Get rental return percent
|
|
21
|
+
* Rental Return = Income / Market Value
|
|
22
|
+
*/
|
|
23
|
+
get rentalReturn(): number;
|
|
24
|
+
/**
|
|
25
|
+
* Check if forecast is for real current fin year (not selected in the sidebar)
|
|
26
|
+
*/
|
|
27
|
+
isCurrentYear(): boolean;
|
|
28
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { PropertyOwner as PropertyOwnerBase } from '../../db/Models/property-owner';
|
|
2
|
-
import { User } from '../user/user';
|
|
3
|
-
import { RegistrationInvite } from '../registration-invite/registration-invite';
|
|
4
|
-
import { Property } from './property';
|
|
5
|
-
export declare class PropertyOwner extends PropertyOwnerBase {
|
|
6
|
-
fromDate: Date;
|
|
7
|
-
toDate: Date;
|
|
8
|
-
user: User;
|
|
9
|
-
invite: RegistrationInvite;
|
|
10
|
-
property: Property;
|
|
11
|
-
email: string;
|
|
12
|
-
isAccepted(): boolean;
|
|
13
|
-
isPending(): boolean;
|
|
14
|
-
isRejected(): boolean;
|
|
15
|
-
get statusName(): string;
|
|
16
|
-
/**
|
|
17
|
-
* Return full user name if user is already registered.
|
|
18
|
-
* Otherwise - return first name from invitation
|
|
19
|
-
*/
|
|
20
|
-
get fullName(): string;
|
|
21
|
-
}
|
|
1
|
+
import { PropertyOwner as PropertyOwnerBase } from '../../db/Models/property-owner';
|
|
2
|
+
import { User } from '../user/user';
|
|
3
|
+
import { RegistrationInvite } from '../registration-invite/registration-invite';
|
|
4
|
+
import { Property } from './property';
|
|
5
|
+
export declare class PropertyOwner extends PropertyOwnerBase {
|
|
6
|
+
fromDate: Date;
|
|
7
|
+
toDate: Date;
|
|
8
|
+
user: User;
|
|
9
|
+
invite: RegistrationInvite;
|
|
10
|
+
property: Property;
|
|
11
|
+
email: string;
|
|
12
|
+
isAccepted(): boolean;
|
|
13
|
+
isPending(): boolean;
|
|
14
|
+
isRejected(): boolean;
|
|
15
|
+
get statusName(): string;
|
|
16
|
+
/**
|
|
17
|
+
* Return full user name if user is already registered.
|
|
18
|
+
* Otherwise - return first name from invitation
|
|
19
|
+
*/
|
|
20
|
+
get fullName(): string;
|
|
21
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropertySold as PropertySoldBase } from '../../db/Models/property-sold';
|
|
2
|
-
export declare class PropertySold extends PropertySoldBase {
|
|
3
|
-
date: Date;
|
|
4
|
-
contractDate: Date;
|
|
5
|
-
}
|
|
1
|
+
import { PropertySold as PropertySoldBase } from '../../db/Models/property-sold';
|
|
2
|
+
export declare class PropertySold extends PropertySoldBase {
|
|
3
|
+
date: Date;
|
|
4
|
+
contractDate: Date;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropertySubscription as PropertySubscriptionBase } from '../../db/Models/property-subscription';
|
|
2
|
-
import { User } from '../user/user';
|
|
3
|
-
export declare class PropertySubscription extends PropertySubscriptionBase {
|
|
4
|
-
createdAt: Date;
|
|
5
|
-
user: User;
|
|
6
|
-
}
|
|
1
|
+
import { PropertySubscription as PropertySubscriptionBase } from '../../db/Models/property-subscription';
|
|
2
|
+
import { User } from '../user/user';
|
|
3
|
+
export declare class PropertySubscription extends PropertySubscriptionBase {
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
user: User;
|
|
6
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PropertyValuation as PropertyValuationBase } from '../../db/Models/property-valuation';
|
|
2
|
-
import { PropertyDocument } from './property-document';
|
|
3
|
-
export declare class PropertyValuation extends PropertyValuationBase {
|
|
4
|
-
date: Date;
|
|
5
|
-
document: PropertyDocument;
|
|
6
|
-
documentFile: File;
|
|
7
|
-
get financialYear(): number;
|
|
8
|
-
isCurrentYear(): boolean;
|
|
9
|
-
}
|
|
1
|
+
import { PropertyValuation as PropertyValuationBase } from '../../db/Models/property-valuation';
|
|
2
|
+
import { PropertyDocument } from './property-document';
|
|
3
|
+
export declare class PropertyValuation extends PropertyValuationBase {
|
|
4
|
+
date: Date;
|
|
5
|
+
document: PropertyDocument;
|
|
6
|
+
documentFile: File;
|
|
7
|
+
get financialYear(): number;
|
|
8
|
+
isCurrentYear(): boolean;
|
|
9
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { Property as PropertyBase } from '../../db/Models/property';
|
|
2
|
-
import { Documentable } from '../../interfaces/documentable.interface';
|
|
3
|
-
import { IDocument } from '../../interfaces/document.interface';
|
|
4
|
-
import { PropertyOwner } from '../../db/Models/property-owner';
|
|
5
|
-
import { PropertySubscription } from './property-subscription';
|
|
6
|
-
import { Photoable } from '../../interfaces/photoable';
|
|
7
|
-
import { Address } from '../address/address';
|
|
8
|
-
import { PropertyCategory } from './property-category';
|
|
9
|
-
import { PropertyValuation } from './property-valuation';
|
|
10
|
-
import { PropertyForecast } from './property-forecast';
|
|
11
|
-
import { PropertyCategoryMovement } from './property-category-movement';
|
|
12
|
-
import { User } from '../user/user';
|
|
13
|
-
export declare class Property extends PropertyBase implements Photoable, Documentable {
|
|
14
|
-
purchaseDate: Date;
|
|
15
|
-
settlementDate: Date;
|
|
16
|
-
address: Address;
|
|
17
|
-
category: PropertyCategory;
|
|
18
|
-
valuations: PropertyValuation[];
|
|
19
|
-
forecasts: PropertyForecast[];
|
|
20
|
-
categoryMovements: PropertyCategoryMovement[];
|
|
21
|
-
user: User;
|
|
22
|
-
subscriptions: PropertySubscription[];
|
|
23
|
-
documentFile: File;
|
|
24
|
-
documents: IDocument[];
|
|
25
|
-
get name(): string;
|
|
26
|
-
get isActive(): boolean;
|
|
27
|
-
isOwn(): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Get initials of property. Required by Photoable interface
|
|
30
|
-
*/
|
|
31
|
-
getInitials(): string;
|
|
32
|
-
/**
|
|
33
|
-
* Get property photo. Required by Photoable interface
|
|
34
|
-
*/
|
|
35
|
-
getPhoto(): string;
|
|
36
|
-
get capitalCostsTotalAmount(): number;
|
|
37
|
-
get currentYearValuations(): PropertyValuation[];
|
|
38
|
-
get marketValue(): number;
|
|
39
|
-
get currentYearForecast(): PropertyForecast;
|
|
40
|
-
get forecastedRentalReturn(): number;
|
|
41
|
-
get forecastedTaxPosition(): number;
|
|
42
|
-
get firstForecastYear(): number;
|
|
43
|
-
get marketValueGrowth(): number;
|
|
44
|
-
get myShare(): PropertyOwner;
|
|
45
|
-
/**
|
|
46
|
-
* exact claim percent includes ownership
|
|
47
|
-
*/
|
|
48
|
-
get ownershipClaimPercent(): number;
|
|
49
|
-
get actualValuation(): PropertyValuation;
|
|
50
|
-
get ownershipPercent(): number;
|
|
51
|
-
get previousCategory(): PropertyCategory;
|
|
52
|
-
getCurrentSubscription(): PropertySubscription;
|
|
53
|
-
getForecastByYear(year: number): PropertyForecast;
|
|
54
|
-
get isShared(): boolean;
|
|
55
|
-
}
|
|
1
|
+
import { Property as PropertyBase } from '../../db/Models/property';
|
|
2
|
+
import { Documentable } from '../../interfaces/documentable.interface';
|
|
3
|
+
import { IDocument } from '../../interfaces/document.interface';
|
|
4
|
+
import { PropertyOwner } from '../../db/Models/property-owner';
|
|
5
|
+
import { PropertySubscription } from './property-subscription';
|
|
6
|
+
import { Photoable } from '../../interfaces/photoable';
|
|
7
|
+
import { Address } from '../address/address';
|
|
8
|
+
import { PropertyCategory } from './property-category';
|
|
9
|
+
import { PropertyValuation } from './property-valuation';
|
|
10
|
+
import { PropertyForecast } from './property-forecast';
|
|
11
|
+
import { PropertyCategoryMovement } from './property-category-movement';
|
|
12
|
+
import { User } from '../user/user';
|
|
13
|
+
export declare class Property extends PropertyBase implements Photoable, Documentable {
|
|
14
|
+
purchaseDate: Date;
|
|
15
|
+
settlementDate: Date;
|
|
16
|
+
address: Address;
|
|
17
|
+
category: PropertyCategory;
|
|
18
|
+
valuations: PropertyValuation[];
|
|
19
|
+
forecasts: PropertyForecast[];
|
|
20
|
+
categoryMovements: PropertyCategoryMovement[];
|
|
21
|
+
user: User;
|
|
22
|
+
subscriptions: PropertySubscription[];
|
|
23
|
+
documentFile: File;
|
|
24
|
+
documents: IDocument[];
|
|
25
|
+
get name(): string;
|
|
26
|
+
get isActive(): boolean;
|
|
27
|
+
isOwn(): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Get initials of property. Required by Photoable interface
|
|
30
|
+
*/
|
|
31
|
+
getInitials(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Get property photo. Required by Photoable interface
|
|
34
|
+
*/
|
|
35
|
+
getPhoto(): string;
|
|
36
|
+
get capitalCostsTotalAmount(): number;
|
|
37
|
+
get currentYearValuations(): PropertyValuation[];
|
|
38
|
+
get marketValue(): number;
|
|
39
|
+
get currentYearForecast(): PropertyForecast;
|
|
40
|
+
get forecastedRentalReturn(): number;
|
|
41
|
+
get forecastedTaxPosition(): number;
|
|
42
|
+
get firstForecastYear(): number;
|
|
43
|
+
get marketValueGrowth(): number;
|
|
44
|
+
get myShare(): PropertyOwner;
|
|
45
|
+
/**
|
|
46
|
+
* exact claim percent includes ownership
|
|
47
|
+
*/
|
|
48
|
+
get ownershipClaimPercent(): number;
|
|
49
|
+
get actualValuation(): PropertyValuation;
|
|
50
|
+
get ownershipPercent(): number;
|
|
51
|
+
get previousCategory(): PropertyCategory;
|
|
52
|
+
getCurrentSubscription(): PropertySubscription;
|
|
53
|
+
getForecastByYear(year: number): PropertyForecast;
|
|
54
|
+
get isShared(): boolean;
|
|
55
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RegistrationInvite as RegistrationInviteBase } from '../../db/Models/registration-invite';
|
|
2
|
-
import { Photoable } from '../../interfaces/photoable';
|
|
3
|
-
export declare class RegistrationInvite extends RegistrationInviteBase implements Photoable {
|
|
4
|
-
getInitials(): string;
|
|
5
|
-
getPhoto(): string;
|
|
6
|
-
}
|
|
1
|
+
import { RegistrationInvite as RegistrationInviteBase } from '../../db/Models/registration-invite';
|
|
2
|
+
import { Photoable } from '../../interfaces/photoable';
|
|
3
|
+
export declare class RegistrationInvite extends RegistrationInviteBase implements Photoable {
|
|
4
|
+
getInitials(): string;
|
|
5
|
+
getPhoto(): string;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constant with list of URLs
|
|
3
|
-
*/
|
|
4
|
-
export declare const MODULE_URL_LIST: {
|
|
5
|
-
[key: string]: string;
|
|
6
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Constant with list of URLs
|
|
3
|
+
*/
|
|
4
|
+
export declare const MODULE_URL_LIST: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ServicePayment as BaseServicePayment } from '../../db/Models/service-payment';
|
|
2
|
-
import { ServiceSubscription } from './service-subscription';
|
|
3
|
-
export declare class ServicePayment extends BaseServicePayment {
|
|
4
|
-
subscription: ServiceSubscription;
|
|
5
|
-
}
|
|
1
|
+
import { ServicePayment as BaseServicePayment } from '../../db/Models/service-payment';
|
|
2
|
+
import { ServiceSubscription } from './service-subscription';
|
|
3
|
+
export declare class ServicePayment extends BaseServicePayment {
|
|
4
|
+
subscription: ServiceSubscription;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ServicePrice as BaseServicePrice } from '../../db/Models/service-price';
|
|
2
|
-
import { ServiceProduct } from './service-product';
|
|
3
|
-
export declare class ServicePrice extends BaseServicePrice {
|
|
4
|
-
product: ServiceProduct;
|
|
5
|
-
}
|
|
1
|
+
import { ServicePrice as BaseServicePrice } from '../../db/Models/service-price';
|
|
2
|
+
import { ServiceProduct } from './service-product';
|
|
3
|
+
export declare class ServicePrice extends BaseServicePrice {
|
|
4
|
+
product: ServiceProduct;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ServiceProduct as BaseServiceProduct } from '../../db/Models/service-product';
|
|
2
|
-
export declare class ServiceProduct extends BaseServiceProduct {
|
|
3
|
-
isProperty(): boolean;
|
|
4
|
-
isWork(): boolean;
|
|
5
|
-
}
|
|
1
|
+
import { ServiceProduct as BaseServiceProduct } from '../../db/Models/service-product';
|
|
2
|
+
export declare class ServiceProduct extends BaseServiceProduct {
|
|
3
|
+
isProperty(): boolean;
|
|
4
|
+
isWork(): boolean;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ServiceSubscriptionItem as ServiceSubscriptionItemBase } from '../../db/Models/service-subscription-item';
|
|
2
|
-
import { ServicePrice } from './service-price';
|
|
3
|
-
export declare class ServiceSubscriptionItem extends ServiceSubscriptionItemBase {
|
|
4
|
-
price: ServicePrice;
|
|
5
|
-
get total(): number;
|
|
6
|
-
}
|
|
1
|
+
import { ServiceSubscriptionItem as ServiceSubscriptionItemBase } from '../../db/Models/service-subscription-item';
|
|
2
|
+
import { ServicePrice } from './service-price';
|
|
3
|
+
export declare class ServiceSubscriptionItem extends ServiceSubscriptionItemBase {
|
|
4
|
+
price: ServicePrice;
|
|
5
|
+
get total(): number;
|
|
6
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { ServiceSubscription as ServiceSubscriptionBase } from '../../db/Models/service-subscription';
|
|
2
|
-
import { ServiceSubscriptionItem } from './service-subscription-item';
|
|
3
|
-
import { SubscriptionTypeEnum } from './subscription-type.enum';
|
|
4
|
-
export declare class ServiceSubscription extends ServiceSubscriptionBase {
|
|
5
|
-
startDate: Date;
|
|
6
|
-
endDate: Date;
|
|
7
|
-
items: ServiceSubscriptionItem[];
|
|
8
|
-
lastTrialDays: number;
|
|
9
|
-
get isTrial(): boolean;
|
|
10
|
-
get price(): number;
|
|
11
|
-
get propertyQuantity(): number;
|
|
12
|
-
/**
|
|
13
|
-
* get type of subscription
|
|
14
|
-
*/
|
|
15
|
-
get type(): SubscriptionTypeEnum;
|
|
16
|
-
/**
|
|
17
|
-
* get title of subscription
|
|
18
|
-
*/
|
|
19
|
-
get title(): string;
|
|
20
|
-
/**
|
|
21
|
-
* get description of subscription
|
|
22
|
-
*/
|
|
23
|
-
get description(): string;
|
|
24
|
-
get workTankItem(): ServiceSubscriptionItem;
|
|
25
|
-
get propertyTankItem(): ServiceSubscriptionItem;
|
|
26
|
-
/**
|
|
27
|
-
* This check on getIsActive need for firm. Accountant has a endDate, but user has not endDate
|
|
28
|
-
* and for user we add check for endDate
|
|
29
|
-
*/
|
|
30
|
-
get isActive(): boolean;
|
|
31
|
-
get daysRemain(): number;
|
|
32
|
-
getTitle(): string;
|
|
33
|
-
/**
|
|
34
|
-
* Check if subscription is Individual
|
|
35
|
-
* Subscription is individual when user have only one product and only work tank
|
|
36
|
-
*/
|
|
37
|
-
isIndividual(): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Check if subscription is Investor
|
|
40
|
-
* Subscription is investor when user have property tank product and max count of properties is 2
|
|
41
|
-
*/
|
|
42
|
-
isInvestor(): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Check if subscription is Investor Plus
|
|
45
|
-
* Subscription is investor when user have property tank product and max count of properties more than 2
|
|
46
|
-
*/
|
|
47
|
-
isInvestorPlus(): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Check if trial expired
|
|
50
|
-
*/
|
|
51
|
-
isTrialExpired(): boolean;
|
|
52
|
-
isTrialExpiring(): boolean;
|
|
53
|
-
hasPropertyTank(): boolean;
|
|
54
|
-
hasWorkTank(): boolean;
|
|
55
|
-
}
|
|
1
|
+
import { ServiceSubscription as ServiceSubscriptionBase } from '../../db/Models/service-subscription';
|
|
2
|
+
import { ServiceSubscriptionItem } from './service-subscription-item';
|
|
3
|
+
import { SubscriptionTypeEnum } from './subscription-type.enum';
|
|
4
|
+
export declare class ServiceSubscription extends ServiceSubscriptionBase {
|
|
5
|
+
startDate: Date;
|
|
6
|
+
endDate: Date;
|
|
7
|
+
items: ServiceSubscriptionItem[];
|
|
8
|
+
lastTrialDays: number;
|
|
9
|
+
get isTrial(): boolean;
|
|
10
|
+
get price(): number;
|
|
11
|
+
get propertyQuantity(): number;
|
|
12
|
+
/**
|
|
13
|
+
* get type of subscription
|
|
14
|
+
*/
|
|
15
|
+
get type(): SubscriptionTypeEnum;
|
|
16
|
+
/**
|
|
17
|
+
* get title of subscription
|
|
18
|
+
*/
|
|
19
|
+
get title(): string;
|
|
20
|
+
/**
|
|
21
|
+
* get description of subscription
|
|
22
|
+
*/
|
|
23
|
+
get description(): string;
|
|
24
|
+
get workTankItem(): ServiceSubscriptionItem;
|
|
25
|
+
get propertyTankItem(): ServiceSubscriptionItem;
|
|
26
|
+
/**
|
|
27
|
+
* This check on getIsActive need for firm. Accountant has a endDate, but user has not endDate
|
|
28
|
+
* and for user we add check for endDate
|
|
29
|
+
*/
|
|
30
|
+
get isActive(): boolean;
|
|
31
|
+
get daysRemain(): number;
|
|
32
|
+
getTitle(): string;
|
|
33
|
+
/**
|
|
34
|
+
* Check if subscription is Individual
|
|
35
|
+
* Subscription is individual when user have only one product and only work tank
|
|
36
|
+
*/
|
|
37
|
+
isIndividual(): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Check if subscription is Investor
|
|
40
|
+
* Subscription is investor when user have property tank product and max count of properties is 2
|
|
41
|
+
*/
|
|
42
|
+
isInvestor(): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Check if subscription is Investor Plus
|
|
45
|
+
* Subscription is investor when user have property tank product and max count of properties more than 2
|
|
46
|
+
*/
|
|
47
|
+
isInvestorPlus(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Check if trial expired
|
|
50
|
+
*/
|
|
51
|
+
isTrialExpired(): boolean;
|
|
52
|
+
isTrialExpiring(): boolean;
|
|
53
|
+
hasPropertyTank(): boolean;
|
|
54
|
+
hasWorkTank(): boolean;
|
|
55
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const SUBSCRIPTION_DESCRIPTION: {
|
|
2
|
-
[key: number]: string;
|
|
3
|
-
};
|
|
1
|
+
export declare const SUBSCRIPTION_DESCRIPTION: {
|
|
2
|
+
[key: number]: string;
|
|
3
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const SUBSCRIPTION_TITLE: {
|
|
2
|
-
[key: number]: string;
|
|
3
|
-
};
|
|
1
|
+
export declare const SUBSCRIPTION_TITLE: {
|
|
2
|
+
[key: number]: string;
|
|
3
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum SubscriptionTypeEnum {
|
|
2
|
-
WITHOUT_SUBSCRIPTION = 0,
|
|
3
|
-
INDIVIDUAL = 1,
|
|
4
|
-
INVESTOR = 2,
|
|
5
|
-
INVESTOR_PLUS = 3
|
|
6
|
-
}
|
|
1
|
+
export declare enum SubscriptionTypeEnum {
|
|
2
|
+
WITHOUT_SUBSCRIPTION = 0,
|
|
3
|
+
INDIVIDUAL = 1,
|
|
4
|
+
INVESTOR = 2,
|
|
5
|
+
INVESTOR_PLUS = 3
|
|
6
|
+
}
|