taxtank-core 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taxtank-core.umd.js +11955 -31
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/abstract.collection.js +67 -0
- package/esm2015/lib/collections/bank-account.collection.js +135 -0
- package/esm2015/lib/collections/bank-transaction.collection.js +119 -0
- package/esm2015/lib/collections/client-movement.collection.js +31 -0
- package/esm2015/lib/collections/client-portfolio-report.collection.js +40 -0
- package/esm2015/lib/collections/client.collection.js +4 -0
- package/esm2015/lib/collections/collection-dictionary.js +83 -0
- package/esm2015/lib/collections/depreciation-forecast.collection.js +19 -0
- package/esm2015/lib/collections/depreciation.collection.js +67 -0
- package/esm2015/lib/collections/employee.collection.js +12 -0
- package/esm2015/lib/collections/income-source.collection.js +38 -0
- package/esm2015/lib/collections/loan.collection.js +18 -0
- package/esm2015/lib/collections/logbook.collection.js +97 -0
- package/esm2015/lib/collections/message-document.collection.js +13 -0
- package/esm2015/lib/collections/message.collection.js +21 -0
- package/esm2015/lib/collections/property.collection.js +65 -0
- package/esm2015/lib/collections/service-price.collection.js +10 -0
- package/esm2015/lib/collections/service-subscription.collection.js +17 -0
- package/esm2015/lib/collections/tax-return-category-item.collection.js +141 -0
- package/esm2015/lib/collections/tax-review.collection.js +55 -0
- package/esm2015/lib/collections/transaction-allocation.collection.js +40 -0
- package/esm2015/lib/collections/transaction.collection.js +120 -0
- package/esm2015/lib/collections/user-event-setting.collection.js +62 -0
- package/esm2015/lib/db/Enums/address-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/bank-account-status.enum.js +6 -0
- package/esm2015/lib/db/Enums/bank-account-type.enum.js +12 -0
- package/esm2015/lib/db/Enums/bank-connection-status.enum.js +7 -0
- package/esm2015/lib/db/Enums/bank-transaction-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/chart-accounts-category.enum.js +15 -0
- package/esm2015/lib/db/Enums/chart-accounts-etp.enum.js +9 -0
- package/esm2015/lib/db/Enums/chart-accounts-heading-tax-deductible.enum.js +8 -0
- package/esm2015/lib/db/Enums/chart-accounts-heading-taxable.enum.js +8 -0
- package/esm2015/lib/db/Enums/chart-accounts-heading-vehicle-list.enum.js +6 -0
- package/esm2015/lib/db/Enums/chart-accounts-list.enum.js +21 -0
- package/esm2015/lib/db/Enums/chart-accounts-metadata-list.enum.js +16 -0
- package/esm2015/lib/db/Enums/chart-accounts-metadata-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/chart-accounts-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/chat-status.enum.js +6 -0
- package/esm2015/lib/db/Enums/client-details-medicare-exemption.enum.js +7 -0
- package/esm2015/lib/db/Enums/client-details-work-depreciation-calculation.enum.js +6 -0
- package/esm2015/lib/db/Enums/client-details-working-holiday-maker.enum.js +7 -0
- package/esm2015/lib/db/Enums/client-invite-status.enum.js +6 -0
- package/esm2015/lib/db/Enums/client-invite-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/depreciation-calculation-percent.enum.js +9 -0
- package/esm2015/lib/db/Enums/depreciation-calculation.enum.js +9 -0
- package/esm2015/lib/db/Enums/depreciation-type.enum.js +8 -0
- package/esm2015/lib/db/Enums/depreciation-write-off-amount.enum.js +6 -0
- package/esm2015/lib/db/Enums/firm-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/income-source-type-list-other.enum.js +8 -0
- package/esm2015/lib/db/Enums/income-source-type-list-salary.enum.js +5 -0
- package/esm2015/lib/db/Enums/income-source-type-list-work.enum.js +10 -0
- package/esm2015/lib/db/Enums/income-source-type.enum.js +7 -0
- package/esm2015/lib/db/Enums/invite-status.enum.js +7 -0
- package/esm2015/lib/db/Enums/loan-bank-type.enum.js +12 -0
- package/esm2015/lib/db/Enums/loan-frequency.enum.js +8 -0
- package/esm2015/lib/db/Enums/loan-interest-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/loan-payout-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/loan-repayment-frequency.enum.js +7 -0
- package/esm2015/lib/db/Enums/loan-repayment-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/loan-type.enum.js +14 -0
- package/esm2015/lib/db/Enums/loan-vehicle-type.enum.js +7 -0
- package/esm2015/lib/db/Enums/phone-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/property-depreciation-calculation.enum.js +6 -0
- package/esm2015/lib/db/Enums/property-owner-access.enum.js +6 -0
- package/esm2015/lib/db/Enums/property-owner-status.enum.js +7 -0
- package/esm2015/lib/db/Enums/registration-invite-status.enum.js +6 -0
- package/esm2015/lib/db/Enums/salary-forecast-frequency.enum.js +8 -0
- package/esm2015/lib/db/Enums/service-notification-status.enum.js +7 -0
- package/esm2015/lib/db/Enums/service-notification-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/service-payment-status.enum.js +6 -0
- package/esm2015/lib/db/Enums/service-price-recurring-interval.enum.js +8 -0
- package/esm2015/lib/db/Enums/service-price-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/service-subscription-status.enum.js +10 -0
- package/esm2015/lib/db/Enums/spare-document-spare-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/tank-type.enum.js +7 -0
- package/esm2015/lib/db/Enums/tax-calculation-medicare-exemption.enum.js +6 -0
- package/esm2015/lib/db/Enums/tax-calculation-type.enum.js +14 -0
- package/esm2015/lib/db/Enums/tax-return-category-list.enum.js +28 -0
- package/esm2015/lib/db/Enums/tax-return-category-section.enum.js +8 -0
- package/esm2015/lib/db/Enums/tax-review-status.enum.js +13 -0
- package/esm2015/lib/db/Enums/tax-summary-list.enum.js +17 -0
- package/esm2015/lib/db/Enums/tax-summary-section.enum.js +8 -0
- package/esm2015/lib/db/Enums/tax-summary-tax-summary.enum.js +17 -0
- package/esm2015/lib/db/Enums/ticket-feedback.enum.js +6 -0
- package/esm2015/lib/db/Enums/ticket-status.enum.js +9 -0
- package/esm2015/lib/db/Enums/ticket-types.enum.js +5 -0
- package/esm2015/lib/db/Enums/transaction-operation.enum.js +7 -0
- package/esm2015/lib/db/Enums/transaction-source.enum.js +6 -0
- package/esm2015/lib/db/Enums/transaction-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/user-event-status.enum.js +8 -0
- package/esm2015/lib/db/Enums/user-event-type-frequency.enum.js +8 -0
- package/esm2015/lib/db/Enums/user-event-type-reminder-type.enum.js +8 -0
- package/esm2015/lib/db/Enums/user-event-type-reminder.enum.js +7 -0
- package/esm2015/lib/db/Enums/user-event-type-type.enum.js +35 -0
- package/esm2015/lib/db/Enums/user-medicare-exemption.enum.js +7 -0
- package/esm2015/lib/db/Enums/user-roles.enum.js +15 -0
- package/esm2015/lib/db/Enums/user-status.enum.js +8 -0
- package/esm2015/lib/db/Enums/user-title.enum.js +9 -0
- package/esm2015/lib/db/Enums/user-work-depreciation-calculation.enum.js +6 -0
- package/esm2015/lib/db/Enums/user-working-holiday-maker.enum.js +7 -0
- package/esm2015/lib/db/Enums/vehicle-claim-method.enum.js +6 -0
- package/esm2015/lib/db/Enums/vehicle-logbook-purpose.enum.js +6 -0
- package/esm2015/lib/db/Models/address.js +3 -0
- package/esm2015/lib/db/Models/bank-account-balance.js +3 -0
- package/esm2015/lib/db/Models/bank-account-property.js +3 -0
- package/esm2015/lib/db/Models/bank-account.js +3 -0
- package/esm2015/lib/db/Models/bank-connection.js +3 -0
- package/esm2015/lib/db/Models/bank-transaction-import.js +3 -0
- package/esm2015/lib/db/Models/bank-transaction.js +3 -0
- package/esm2015/lib/db/Models/bank.js +3 -0
- package/esm2015/lib/db/Models/basiq-job.js +3 -0
- package/esm2015/lib/db/Models/borrowing-expense-loan.js +3 -0
- package/esm2015/lib/db/Models/borrowing-expense.js +3 -0
- package/esm2015/lib/db/Models/capital-cost-property.js +3 -0
- package/esm2015/lib/db/Models/capital-cost.js +3 -0
- package/esm2015/lib/db/Models/chart-accounts-depreciation.js +3 -0
- package/esm2015/lib/db/Models/chart-accounts-heading.js +3 -0
- package/esm2015/lib/db/Models/chart-accounts-metadata.js +3 -0
- package/esm2015/lib/db/Models/chart-accounts-value.js +3 -0
- package/esm2015/lib/db/Models/chart-accounts.js +3 -0
- package/esm2015/lib/db/Models/chat.js +3 -0
- package/esm2015/lib/db/Models/client-details.js +3 -0
- package/esm2015/lib/db/Models/client-invite.js +3 -0
- package/esm2015/lib/db/Models/client-movement.js +3 -0
- package/esm2015/lib/db/Models/country.js +3 -0
- package/esm2015/lib/db/Models/depreciation-capital-project.js +3 -0
- package/esm2015/lib/db/Models/depreciation-forecast.js +3 -0
- package/esm2015/lib/db/Models/depreciation-receipt.js +3 -0
- package/esm2015/lib/db/Models/depreciation.js +4 -0
- package/esm2015/lib/db/Models/document-folder.js +3 -0
- package/esm2015/lib/db/Models/document.js +3 -0
- package/esm2015/lib/db/Models/employee-details.js +3 -0
- package/esm2015/lib/db/Models/employee-invite.js +3 -0
- package/esm2015/lib/db/Models/financial-data-system.js +3 -0
- package/esm2015/lib/db/Models/firm.js +3 -0
- package/esm2015/lib/db/Models/income-source-forecast.js +3 -0
- package/esm2015/lib/db/Models/income-source-type.js +3 -0
- package/esm2015/lib/db/Models/income-source.js +3 -0
- package/esm2015/lib/db/Models/loan-payout.js +3 -0
- package/esm2015/lib/db/Models/loan.js +3 -0
- package/esm2015/lib/db/Models/message-document.js +3 -0
- package/esm2015/lib/db/Models/message.js +3 -0
- package/esm2015/lib/db/Models/occupation.js +3 -0
- package/esm2015/lib/db/Models/phone.js +3 -0
- package/esm2015/lib/db/Models/property-capital-cost.js +3 -0
- package/esm2015/lib/db/Models/property-category-movement.js +3 -0
- package/esm2015/lib/db/Models/property-category.js +3 -0
- package/esm2015/lib/db/Models/property-document.js +3 -0
- package/esm2015/lib/db/Models/property-forecast.js +3 -0
- package/esm2015/lib/db/Models/property-owner.js +3 -0
- package/esm2015/lib/db/Models/property-sold.js +3 -0
- package/esm2015/lib/db/Models/property-subscription.js +3 -0
- package/esm2015/lib/db/Models/property-valuation.js +3 -0
- package/esm2015/lib/db/Models/property.js +3 -0
- package/esm2015/lib/db/Models/registration-invite.js +3 -0
- package/esm2015/lib/db/Models/salary-forecast.js +3 -0
- package/esm2015/lib/db/Models/service-notification.js +3 -0
- package/esm2015/lib/db/Models/service-payment.js +3 -0
- package/esm2015/lib/db/Models/service-price.js +3 -0
- package/esm2015/lib/db/Models/service-product.js +3 -0
- package/esm2015/lib/db/Models/service-subscription-item.js +3 -0
- package/esm2015/lib/db/Models/service-subscription.js +3 -0
- package/esm2015/lib/db/Models/tax-return-category.js +3 -0
- package/esm2015/lib/db/Models/tax-return-item.js +3 -0
- package/esm2015/lib/db/Models/tax-return.js +3 -0
- package/esm2015/lib/db/Models/tax-review.js +3 -0
- package/esm2015/lib/db/Models/ticket.js +3 -0
- package/esm2015/lib/db/Models/transaction-allocation.js +3 -0
- package/esm2015/lib/db/Models/transaction-base.js +20 -0
- package/esm2015/lib/db/Models/transaction-metadata.js +3 -0
- package/esm2015/lib/db/Models/transaction-receipt.js +3 -0
- package/esm2015/lib/db/Models/transaction.js +4 -0
- package/esm2015/lib/db/Models/user-event-setting.js +3 -0
- package/esm2015/lib/db/Models/user-event-type.js +3 -0
- package/esm2015/lib/db/Models/user-event.js +3 -0
- package/esm2015/lib/db/Models/user.js +3 -0
- package/esm2015/lib/db/Models/vehicle-claim.js +3 -0
- package/esm2015/lib/db/Models/vehicle-logbook.js +3 -0
- package/esm2015/lib/db/Models/vehicle.js +3 -0
- package/esm2015/lib/functions/array/index.js +4 -0
- package/esm2015/lib/functions/array/replace.js +6 -0
- package/esm2015/lib/functions/array/sort-deep.js +22 -0
- package/esm2015/lib/functions/array/sort.js +13 -0
- package/esm2015/lib/functions/clone-deep.js +5 -0
- package/esm2015/lib/functions/create-date.js +8 -0
- package/esm2015/lib/functions/enum-to-list.js +13 -0
- package/esm2015/lib/functions/get-doc-icon.js +18 -0
- package/esm2015/lib/functions/mat-options-functions.js +10 -0
- package/esm2015/lib/functions/mat-sort-options.js +10 -0
- package/esm2015/lib/functions/round-to.js +10 -0
- package/esm2015/lib/functions/tax-review-filter-predicate.js +10 -0
- package/esm2015/lib/interfaces/asset-entity-type.enum.js +12 -0
- package/esm2015/lib/interfaces/asset-type.enum.js +11 -0
- package/esm2015/lib/interfaces/asset.interface.js +2 -0
- package/esm2015/lib/interfaces/chart-data.interface.js +2 -0
- package/esm2015/lib/interfaces/chart-serie.interface.js +2 -0
- package/esm2015/lib/interfaces/document.interface.js +2 -0
- package/esm2015/lib/interfaces/documentable.interface.js +2 -0
- package/esm2015/lib/interfaces/event-listener.interface.js +2 -0
- package/esm2015/lib/interfaces/income-source-forecast.interface.js +2 -0
- package/esm2015/lib/interfaces/option.interface.js +2 -0
- package/esm2015/lib/interfaces/photoable.js +2 -0
- package/esm2015/lib/interfaces/receipt.interface.js +2 -0
- package/esm2015/lib/interfaces/salary-forecast.interface.js +2 -0
- package/esm2015/lib/interfaces/tank.interface.js +2 -0
- package/esm2015/lib/models/address/address.js +24 -0
- package/esm2015/lib/models/address/country.js +16 -0
- package/esm2015/lib/models/bank/bank-account-chart-data.js +34 -0
- package/esm2015/lib/models/bank/bank-account-property.js +10 -0
- package/esm2015/lib/models/bank/bank-account-types.const.js +15 -0
- package/esm2015/lib/models/bank/bank-account.js +122 -0
- package/esm2015/lib/models/bank/bank-connection.js +14 -0
- package/esm2015/lib/models/bank/bank-transaction-chart-data.js +106 -0
- package/esm2015/lib/models/bank/bank-transaction-summary-fields.enum.js +6 -0
- package/esm2015/lib/models/bank/bank-transaction.js +67 -0
- package/esm2015/lib/models/bank/bank.js +23 -0
- package/esm2015/lib/models/bank/basiq-job.js +4 -0
- package/esm2015/lib/models/bank/basiq-token.js +13 -0
- package/esm2015/lib/models/bank/type-loan.const.js +7 -0
- package/esm2015/lib/models/borrowing-expense/borrowing-expense-loan.js +4 -0
- package/esm2015/lib/models/borrowing-expense/borrowing-expense.js +4 -0
- package/esm2015/lib/models/chart/chart-data.js +13 -0
- package/esm2015/lib/models/chart/chart-serie.js +7 -0
- package/esm2015/lib/models/chart-accounts/chart-accounts-categories.const.js +85 -0
- package/esm2015/lib/models/chart-accounts/chart-accounts-depreciation.js +16 -0
- package/esm2015/lib/models/chart-accounts/chart-accounts-heading.js +4 -0
- package/esm2015/lib/models/chart-accounts/chart-accounts-metadata.js +14 -0
- package/esm2015/lib/models/chart-accounts/chart-accounts-tax-labels.enum.js +7 -0
- package/esm2015/lib/models/chart-accounts/chart-accounts.js +120 -0
- package/esm2015/lib/models/chat/chat-view-type.enum.js +6 -0
- package/esm2015/lib/models/chat/chat.js +23 -0
- package/esm2015/lib/models/chat/message-document.js +20 -0
- package/esm2015/lib/models/chat/message.js +39 -0
- package/esm2015/lib/models/client/client-details.js +4 -0
- package/esm2015/lib/models/client/client-invite.js +67 -0
- package/esm2015/lib/models/client/client-movement.js +27 -0
- package/esm2015/lib/models/client/client-portfolio-chart-data.js +57 -0
- package/esm2015/lib/models/client/client-portfolio-report.js +6 -0
- package/esm2015/lib/models/depreciation/depreciation-capital-project.js +9 -0
- package/esm2015/lib/models/depreciation/depreciation-forecast.js +22 -0
- package/esm2015/lib/models/depreciation/depreciation-group-item.js +14 -0
- package/esm2015/lib/models/depreciation/depreciation-group.enum.js +9 -0
- package/esm2015/lib/models/depreciation/depreciation-group.js +15 -0
- package/esm2015/lib/models/depreciation/depreciation-groups.const.js +29 -0
- package/esm2015/lib/models/depreciation/depreciation-receipt.js +11 -0
- package/esm2015/lib/models/depreciation/depreciation.js +159 -0
- package/esm2015/lib/models/document/document-api-url-prefix.enum.js +9 -0
- package/esm2015/lib/models/document/document-file-types.const.js +23 -0
- package/esm2015/lib/models/document/document-folder.js +10 -0
- package/esm2015/lib/models/document/document.js +24 -0
- package/esm2015/lib/models/employee/employee-details.js +10 -0
- package/esm2015/lib/models/employee/employee-invite.js +14 -0
- package/esm2015/lib/models/endpoint/endpoint.js +23 -0
- package/esm2015/lib/models/endpoint/endpoints.const.js +142 -0
- package/esm2015/lib/models/event/app-event-type.enum.js +39 -0
- package/esm2015/lib/models/event/app-event.js +10 -0
- package/esm2015/lib/models/file/icons-file.enum.js +7 -0
- package/esm2015/lib/models/financial-year/financial-year.js +44 -0
- package/esm2015/lib/models/financial-year/month-name-short.enum.js +21 -0
- package/esm2015/lib/models/financial-year/month-number.enum.js +21 -0
- package/esm2015/lib/models/financial-year/months.const.js +2 -0
- package/esm2015/lib/models/firm/firm.js +30 -0
- package/esm2015/lib/models/income-position/income-position.js +9 -0
- package/esm2015/lib/models/income-source/income-source-chart-data.js +45 -0
- package/esm2015/lib/models/income-source/income-source-forecast.js +31 -0
- package/esm2015/lib/models/income-source/income-source-type.js +27 -0
- package/esm2015/lib/models/income-source/income-source.js +51 -0
- package/esm2015/lib/models/income-source/salary-forecast.js +14 -0
- package/esm2015/lib/models/loan/loan-max-number-of-payments.enum.js +10 -0
- package/esm2015/lib/models/loan/loan-payment.js +12 -0
- package/esm2015/lib/models/loan/loan-payout.js +11 -0
- package/esm2015/lib/models/loan/loan.js +39 -0
- package/esm2015/lib/models/logbook/default-vehicle-expense.js +20 -0
- package/esm2015/lib/models/logbook/logbook-period.js +11 -0
- package/esm2015/lib/models/logbook/logbook-purpose-options.const.js +6 -0
- package/esm2015/lib/models/logbook/vehicle-claim.js +26 -0
- package/esm2015/lib/models/logbook/vehicle-logbook.js +16 -0
- package/esm2015/lib/models/logbook/vehicle.js +39 -0
- package/esm2015/lib/models/notification/notification-event-types.const.js +43 -0
- package/esm2015/lib/models/notification/notification.js +63 -0
- package/esm2015/lib/models/phone/phone.js +12 -0
- package/esm2015/lib/models/property/calculation-form-item.js +17 -0
- package/esm2015/lib/models/property/calculation-form-type.enum.js +9 -0
- package/esm2015/lib/models/property/capital-costs-itmes.const.js +57 -0
- package/esm2015/lib/models/property/corelogic-suggestion.js +7 -0
- package/esm2015/lib/models/property/ownership-filter-options.enum.js +10 -0
- package/esm2015/lib/models/property/property-capital-cost.js +4 -0
- package/esm2015/lib/models/property/property-category-movement.js +20 -0
- package/esm2015/lib/models/property/property-category.js +8 -0
- package/esm2015/lib/models/property/property-document.js +17 -0
- package/esm2015/lib/models/property/property-equity-chart-data.js +155 -0
- package/esm2015/lib/models/property/property-equity-chart-item.js +24 -0
- package/esm2015/lib/models/property/property-equity-chart-type.enum.js +6 -0
- package/esm2015/lib/models/property/property-forecast.js +52 -0
- package/esm2015/lib/models/property/property-owner.js +48 -0
- package/esm2015/lib/models/property/property-sold.js +12 -0
- package/esm2015/lib/models/property/property-subscription.js +13 -0
- package/esm2015/lib/models/property/property-valuation.js +23 -0
- package/esm2015/lib/models/property/property.js +130 -0
- package/esm2015/lib/models/registration-invite/registration-invite.js +10 -0
- package/esm2015/lib/models/service-subscription/module-url-list.const.js +12 -0
- package/esm2015/lib/models/service-subscription/service-payment.js +10 -0
- package/esm2015/lib/models/service-subscription/service-price.js +10 -0
- package/esm2015/lib/models/service-subscription/service-product.js +10 -0
- package/esm2015/lib/models/service-subscription/service-subscription-item.js +13 -0
- package/esm2015/lib/models/service-subscription/service-subscription.js +128 -0
- package/esm2015/lib/models/service-subscription/subscription-description.const.js +8 -0
- package/esm2015/lib/models/service-subscription/subscription-title.const.js +8 -0
- package/esm2015/lib/models/service-subscription/subscription-type.enum.js +8 -0
- package/esm2015/lib/models/tax-review/tax-review.js +86 -0
- package/esm2015/lib/models/tax-summary/tax-return-category-item-details.js +9 -0
- package/esm2015/lib/models/tax-summary/tax-return-category-item.js +15 -0
- package/esm2015/lib/models/tax-summary/tax-summary-section.js +30 -0
- package/esm2015/lib/models/tax-summary/tax-summary-type.enum.js +9 -0
- package/esm2015/lib/models/tax-summary/tax-summary.js +71 -0
- package/esm2015/lib/models/transaction/income-amount-type.enum.js +9 -0
- package/esm2015/lib/models/transaction/transaction-allocation.js +21 -0
- package/esm2015/lib/models/transaction/transaction-metadata.js +10 -0
- package/esm2015/lib/models/transaction/transaction-receipt.js +11 -0
- package/esm2015/lib/models/transaction/transaction.js +214 -0
- package/esm2015/lib/models/user/my-account-history-initiated-by.enum.js +6 -0
- package/esm2015/lib/models/user/my-account-history-status.enum.js +6 -0
- package/esm2015/lib/models/user/my-account-history-type.enum.js +7 -0
- package/esm2015/lib/models/user/my-account-history.js +3 -0
- package/esm2015/lib/models/user/occupation.js +4 -0
- package/esm2015/lib/models/user/user-roles.const.js +13 -0
- package/esm2015/lib/models/user/user-to-register.js +6 -0
- package/esm2015/lib/models/user/user-work-position.const.js +7 -0
- package/esm2015/lib/models/user/user.js +138 -0
- package/esm2015/lib/models/user-event/user-event-category.enum.js +11 -0
- package/esm2015/lib/models/user-event/user-event-category.js +6 -0
- package/esm2015/lib/models/user-event/user-event-setting-field.enum.js +10 -0
- package/esm2015/lib/models/user-event/user-event-setting.js +18 -0
- package/esm2015/lib/models/user-event/user-event-type.js +24 -0
- package/esm2015/lib/services/address/address.service.js +39 -0
- package/esm2015/lib/services/asset/assets.service.js +51 -0
- package/esm2015/lib/services/auth/auth.service.js +46 -0
- package/esm2015/lib/services/auth/jwt.service.js +38 -0
- package/esm2015/lib/services/bank/bank-account-calculation.service.js +30 -0
- package/esm2015/lib/services/bank/bank-account.service.js +108 -0
- package/esm2015/lib/services/bank/bank-connection.service.js +43 -0
- package/esm2015/lib/services/bank/bank-transaction-calculation.service.js +65 -0
- package/esm2015/lib/services/bank/bank-transaction.service.js +89 -0
- package/esm2015/lib/services/bank/bank.service.js +24 -0
- package/esm2015/lib/services/bank/basiq.service.js +94 -0
- package/esm2015/lib/services/base-rest.service.js +190 -0
- package/esm2015/lib/services/borrowing-expense/borrowing-expense.service.js +73 -0
- package/esm2015/lib/services/chart-accounts/chart-accounts-depreciations.service.js +38 -0
- package/esm2015/lib/services/chart-accounts/chart-accounts.service.js +89 -0
- package/esm2015/lib/services/chat/chat.service.js +77 -0
- package/esm2015/lib/services/chat/message-document.service.js +118 -0
- package/esm2015/lib/services/chat/message.service.js +65 -0
- package/esm2015/lib/services/client/client-invite.service.js +102 -0
- package/esm2015/lib/services/client/client-movement.service.js +98 -0
- package/esm2015/lib/services/client/client-portfolio-report.service.js +37 -0
- package/esm2015/lib/services/depreciation/capital-project.service.js +62 -0
- package/esm2015/lib/services/depreciation/depreciation.service.js +146 -0
- package/esm2015/lib/services/document/document-folder.service.js +84 -0
- package/esm2015/lib/services/employee/employee-invite.service.js +53 -0
- package/esm2015/lib/services/employee/employee.service.js +39 -0
- package/esm2015/lib/services/event/event-dispatcher.service.js +30 -0
- package/esm2015/lib/services/event/sse.service.js +46 -0
- package/esm2015/lib/services/firm/firm.service.js +79 -0
- package/esm2015/lib/services/header-title/header-title.service.js +28 -0
- package/esm2015/lib/services/income-source/income-source-forecast.service.js +90 -0
- package/esm2015/lib/services/income-source/income-source.service.js +109 -0
- package/esm2015/lib/services/income-source/salary-forecast.service.js +90 -0
- package/esm2015/lib/services/intercom/intercom.service.js +41 -0
- package/esm2015/lib/services/loan/loan.service.js +145 -0
- package/esm2015/lib/services/notification/notification.service.js +65 -0
- package/esm2015/lib/services/preloader/preloader.service.js +30 -0
- package/esm2015/lib/services/property/corelogic.service.js +46 -0
- package/esm2015/lib/services/property/property-calculation.service.js +121 -0
- package/esm2015/lib/services/property/property-capital-cost.service.js +46 -0
- package/esm2015/lib/services/property/property-category.service.js +23 -0
- package/esm2015/lib/services/property/property-document.service.js +68 -0
- package/esm2015/lib/services/property/property-owner.service.js +123 -0
- package/esm2015/lib/services/property/property-sold.service.js +23 -0
- package/esm2015/lib/services/property/property.service.js +115 -0
- package/esm2015/lib/services/subscription/subscription.service.js +138 -0
- package/esm2015/lib/services/tax-review/tax-review-history.service.js +41 -0
- package/esm2015/lib/services/tax-review/tax-review.service.js +103 -0
- package/esm2015/lib/services/tax-summary/tax-summary.service.js +71 -0
- package/esm2015/lib/services/transaction/transaction-allocation.service.js +85 -0
- package/esm2015/lib/services/transaction/transaction-calculation.service.js +47 -0
- package/esm2015/lib/services/transaction/transaction.service.js +319 -0
- package/esm2015/lib/services/user/occupation.service.js +45 -0
- package/esm2015/lib/services/user/user-switcher.service.js +37 -0
- package/esm2015/lib/services/user/user.service.js +124 -0
- package/esm2015/lib/services/user-event/user-event-setting.service.js +59 -0
- package/esm2015/lib/services/user-event/user-event-type.service.js +29 -0
- package/esm2015/lib/services/work/work-tank.service.js +236 -0
- package/esm2015/lib/tt-core.module.js +1 -3
- package/esm2015/public-api.js +334 -3
- package/fesm2015/taxtank-core.js +9738 -25
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/abstract.collection.d.ts +40 -0
- package/lib/collections/bank-account.collection.d.ts +67 -0
- package/lib/collections/bank-transaction.collection.d.ts +72 -0
- package/lib/collections/client-movement.collection.d.ts +17 -0
- package/lib/collections/client-portfolio-report.collection.d.ts +26 -0
- package/lib/collections/client.collection.d.ts +4 -0
- package/lib/collections/collection-dictionary.d.ts +44 -0
- package/lib/collections/depreciation-forecast.collection.d.ts +11 -0
- package/lib/collections/depreciation.collection.d.ts +27 -0
- package/lib/collections/employee.collection.d.ts +6 -0
- package/lib/collections/income-source.collection.d.ts +25 -0
- package/lib/collections/loan.collection.d.ts +14 -0
- package/lib/collections/logbook.collection.d.ts +19 -0
- package/lib/collections/message-document.collection.d.ts +11 -0
- package/lib/collections/message.collection.d.ts +14 -0
- package/lib/collections/property.collection.d.ts +33 -0
- package/lib/collections/service-price.collection.d.ts +6 -0
- package/lib/collections/service-subscription.collection.d.ts +8 -0
- package/lib/collections/tax-return-category-item.collection.d.ts +68 -0
- package/lib/collections/tax-review.collection.d.ts +35 -0
- package/lib/collections/transaction-allocation.collection.d.ts +23 -0
- package/lib/collections/transaction.collection.d.ts +76 -0
- package/lib/collections/user-event-setting.collection.d.ts +30 -0
- package/lib/db/Enums/address-type.enum.d.ts +4 -0
- package/lib/db/Enums/bank-account-status.enum.d.ts +4 -0
- package/lib/db/Enums/bank-account-type.enum.d.ts +10 -0
- package/lib/db/Enums/bank-connection-status.enum.d.ts +5 -0
- package/lib/db/Enums/bank-transaction-type.enum.d.ts +4 -0
- package/lib/db/Enums/chart-accounts-category.enum.d.ts +13 -0
- package/lib/db/Enums/chart-accounts-etp.enum.d.ts +7 -0
- package/lib/db/Enums/chart-accounts-heading-tax-deductible.enum.d.ts +6 -0
- package/lib/db/Enums/chart-accounts-heading-taxable.enum.d.ts +6 -0
- package/lib/db/Enums/chart-accounts-heading-vehicle-list.enum.d.ts +4 -0
- package/lib/db/Enums/chart-accounts-list.enum.d.ts +19 -0
- package/lib/db/Enums/chart-accounts-metadata-list.enum.d.ts +14 -0
- package/lib/db/Enums/chart-accounts-metadata-type.enum.d.ts +4 -0
- package/lib/db/Enums/chart-accounts-type.enum.d.ts +4 -0
- package/lib/db/Enums/chat-status.enum.d.ts +4 -0
- package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts +5 -0
- package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts +4 -0
- package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts +5 -0
- package/lib/db/Enums/client-invite-status.enum.d.ts +4 -0
- package/lib/db/Enums/client-invite-type.enum.d.ts +4 -0
- package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts +7 -0
- package/lib/db/Enums/depreciation-calculation.enum.d.ts +7 -0
- package/lib/db/Enums/depreciation-type.enum.d.ts +6 -0
- package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts +4 -0
- package/lib/db/Enums/firm-type.enum.d.ts +4 -0
- package/lib/db/Enums/income-source-type-list-other.enum.d.ts +6 -0
- package/lib/db/Enums/income-source-type-list-salary.enum.d.ts +3 -0
- package/lib/db/Enums/income-source-type-list-work.enum.d.ts +8 -0
- package/lib/db/Enums/income-source-type.enum.d.ts +5 -0
- package/lib/db/Enums/invite-status.enum.d.ts +5 -0
- package/lib/db/Enums/loan-bank-type.enum.d.ts +10 -0
- package/lib/db/Enums/loan-frequency.enum.d.ts +6 -0
- package/lib/db/Enums/loan-interest-type.enum.d.ts +4 -0
- package/lib/db/Enums/loan-payout-type.enum.d.ts +4 -0
- package/lib/db/Enums/loan-repayment-frequency.enum.d.ts +5 -0
- package/lib/db/Enums/loan-repayment-type.enum.d.ts +4 -0
- package/lib/db/Enums/loan-type.enum.d.ts +12 -0
- package/lib/db/Enums/loan-vehicle-type.enum.d.ts +5 -0
- package/lib/db/Enums/phone-type.enum.d.ts +4 -0
- package/lib/db/Enums/property-depreciation-calculation.enum.d.ts +4 -0
- package/lib/db/Enums/property-owner-access.enum.d.ts +4 -0
- package/lib/db/Enums/property-owner-status.enum.d.ts +5 -0
- package/lib/db/Enums/registration-invite-status.enum.d.ts +4 -0
- package/lib/db/Enums/salary-forecast-frequency.enum.d.ts +6 -0
- package/lib/db/Enums/service-notification-status.enum.d.ts +5 -0
- package/lib/db/Enums/service-notification-type.enum.d.ts +4 -0
- package/lib/db/Enums/service-payment-status.enum.d.ts +4 -0
- package/lib/db/Enums/service-price-recurring-interval.enum.d.ts +6 -0
- package/lib/db/Enums/service-price-type.enum.d.ts +4 -0
- package/lib/db/Enums/service-subscription-status.enum.d.ts +8 -0
- package/lib/db/Enums/spare-document-spare-type.enum.d.ts +4 -0
- package/lib/db/Enums/tank-type.enum.d.ts +5 -0
- package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts +4 -0
- package/lib/db/Enums/tax-calculation-type.enum.d.ts +12 -0
- package/lib/db/Enums/tax-return-category-list.enum.d.ts +26 -0
- package/lib/db/Enums/tax-return-category-section.enum.d.ts +6 -0
- package/lib/db/Enums/tax-review-status.enum.d.ts +11 -0
- package/lib/db/Enums/tax-summary-list.enum.d.ts +15 -0
- package/lib/db/Enums/tax-summary-section.enum.d.ts +6 -0
- package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts +15 -0
- package/lib/db/Enums/ticket-feedback.enum.d.ts +4 -0
- package/lib/db/Enums/ticket-status.enum.d.ts +7 -0
- package/lib/db/Enums/ticket-types.enum.d.ts +3 -0
- package/lib/db/Enums/transaction-operation.enum.d.ts +5 -0
- package/lib/db/Enums/transaction-source.enum.d.ts +4 -0
- package/lib/db/Enums/transaction-type.enum.d.ts +4 -0
- package/lib/db/Enums/user-event-status.enum.d.ts +6 -0
- package/lib/db/Enums/user-event-type-frequency.enum.d.ts +6 -0
- package/lib/db/Enums/user-event-type-reminder-type.enum.d.ts +6 -0
- package/lib/db/Enums/user-event-type-reminder.enum.d.ts +5 -0
- package/lib/db/Enums/user-event-type-type.enum.d.ts +33 -0
- package/lib/db/Enums/user-medicare-exemption.enum.d.ts +5 -0
- package/lib/db/Enums/user-roles.enum.d.ts +13 -0
- package/lib/db/Enums/user-status.enum.d.ts +6 -0
- package/lib/db/Enums/user-title.enum.d.ts +7 -0
- package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts +4 -0
- package/lib/db/Enums/user-working-holiday-maker.enum.d.ts +5 -0
- package/lib/db/Enums/vehicle-claim-method.enum.d.ts +4 -0
- package/lib/db/Enums/vehicle-logbook-purpose.enum.d.ts +4 -0
- package/lib/db/Models/address.d.ts +19 -0
- package/lib/db/Models/bank-account-balance.d.ts +12 -0
- package/lib/db/Models/bank-account-property.d.ts +8 -0
- package/lib/db/Models/bank-account.d.ts +33 -0
- package/lib/db/Models/bank-connection.d.ts +14 -0
- package/lib/db/Models/bank-transaction-import.d.ts +11 -0
- package/lib/db/Models/bank-transaction.d.ts +16 -0
- package/lib/db/Models/bank.d.ts +11 -0
- package/lib/db/Models/basiq-job.d.ts +8 -0
- package/lib/db/Models/borrowing-expense-loan.d.ts +14 -0
- package/lib/db/Models/borrowing-expense.d.ts +7 -0
- package/lib/db/Models/capital-cost-property.d.ts +13 -0
- package/lib/db/Models/capital-cost.d.ts +4 -0
- package/lib/db/Models/chart-accounts-depreciation.d.ts +10 -0
- package/lib/db/Models/chart-accounts-heading.d.ts +6 -0
- package/lib/db/Models/chart-accounts-metadata.d.ts +11 -0
- package/lib/db/Models/chart-accounts-value.d.ts +12 -0
- package/lib/db/Models/chart-accounts.d.ts +23 -0
- package/lib/db/Models/chat.d.ts +17 -0
- package/lib/db/Models/client-details.d.ts +29 -0
- package/lib/db/Models/client-invite.d.ts +16 -0
- package/lib/db/Models/client-movement.d.ts +12 -0
- package/lib/db/Models/country.d.ts +5 -0
- package/lib/db/Models/depreciation-capital-project.d.ts +13 -0
- package/lib/db/Models/depreciation-forecast.d.ts +18 -0
- package/lib/db/Models/depreciation-receipt.d.ts +11 -0
- package/lib/db/Models/depreciation.d.ts +42 -0
- package/lib/db/Models/document-folder.d.ts +9 -0
- package/lib/db/Models/document.d.ts +11 -0
- package/lib/db/Models/employee-details.d.ts +7 -0
- package/lib/db/Models/employee-invite.d.ts +9 -0
- package/lib/db/Models/financial-data-system.d.ts +9 -0
- package/lib/db/Models/firm.d.ts +28 -0
- package/lib/db/Models/income-source-forecast.d.ts +12 -0
- package/lib/db/Models/income-source-type.d.ts +8 -0
- package/lib/db/Models/income-source.d.ts +20 -0
- package/lib/db/Models/loan-payout.d.ts +12 -0
- package/lib/db/Models/loan.d.ts +33 -0
- package/lib/db/Models/message-document.d.ts +15 -0
- package/lib/db/Models/message.d.ts +15 -0
- package/lib/db/Models/occupation.d.ts +5 -0
- package/lib/db/Models/phone.d.ts +12 -0
- package/lib/db/Models/property-capital-cost.d.ts +13 -0
- package/lib/db/Models/property-category-movement.d.ts +17 -0
- package/lib/db/Models/property-category.d.ts +13 -0
- package/lib/db/Models/property-document.d.ts +13 -0
- package/lib/db/Models/property-forecast.d.ts +14 -0
- package/lib/db/Models/property-owner.d.ts +20 -0
- package/lib/db/Models/property-sold.d.ts +12 -0
- package/lib/db/Models/property-subscription.d.ts +9 -0
- package/lib/db/Models/property-valuation.d.ts +12 -0
- package/lib/db/Models/property.d.ts +41 -0
- package/lib/db/Models/registration-invite.d.ts +12 -0
- package/lib/db/Models/salary-forecast.d.ts +15 -0
- package/lib/db/Models/service-notification.d.ts +13 -0
- package/lib/db/Models/service-payment.d.ts +11 -0
- package/lib/db/Models/service-price.d.ts +15 -0
- package/lib/db/Models/service-product.d.ts +12 -0
- package/lib/db/Models/service-subscription-item.d.ts +9 -0
- package/lib/db/Models/service-subscription.d.ts +14 -0
- package/lib/db/Models/tax-return-category.d.ts +12 -0
- package/lib/db/Models/tax-return-item.d.ts +15 -0
- package/lib/db/Models/tax-return.d.ts +8 -0
- package/lib/db/Models/tax-review.d.ts +13 -0
- package/lib/db/Models/ticket.d.ts +19 -0
- package/lib/db/Models/transaction-allocation.d.ts +8 -0
- package/lib/db/Models/transaction-base.d.ts +22 -0
- package/lib/db/Models/transaction-metadata.d.ts +11 -0
- package/lib/db/Models/transaction-receipt.d.ts +11 -0
- package/lib/db/Models/transaction.d.ts +43 -0
- package/lib/db/Models/user-event-setting.d.ts +10 -0
- package/lib/db/Models/user-event-type.d.ts +15 -0
- package/lib/db/Models/user-event.d.ts +13 -0
- package/lib/db/Models/user.d.ts +51 -0
- package/lib/db/Models/vehicle-claim.d.ts +11 -0
- package/lib/db/Models/vehicle-logbook.d.ts +16 -0
- package/lib/db/Models/vehicle.d.ts +8 -0
- package/lib/functions/array/index.d.ts +3 -0
- package/lib/functions/array/replace.d.ts +1 -0
- package/lib/functions/array/sort-deep.d.ts +1 -0
- package/lib/functions/array/sort.d.ts +1 -0
- package/lib/functions/clone-deep.d.ts +1 -0
- package/lib/functions/create-date.d.ts +5 -0
- package/lib/functions/enum-to-list.d.ts +2 -0
- package/lib/functions/get-doc-icon.d.ts +7 -0
- package/lib/functions/mat-options-functions.d.ts +2 -0
- package/lib/functions/mat-sort-options.d.ts +7 -0
- package/lib/functions/round-to.d.ts +6 -0
- package/lib/functions/tax-review-filter-predicate.d.ts +7 -0
- package/lib/interfaces/asset-entity-type.enum.d.ts +10 -0
- package/lib/interfaces/asset-type.enum.d.ts +8 -0
- package/lib/interfaces/asset.interface.d.ts +17 -0
- package/lib/interfaces/chart-data.interface.d.ts +10 -0
- package/lib/interfaces/chart-serie.interface.d.ts +8 -0
- package/lib/interfaces/document.interface.d.ts +18 -0
- package/lib/interfaces/documentable.interface.d.ts +8 -0
- package/lib/interfaces/event-listener.interface.d.ts +9 -0
- package/lib/interfaces/income-source-forecast.interface.d.ts +7 -0
- package/lib/interfaces/option.interface.d.ts +4 -0
- package/lib/interfaces/photoable.d.ts +13 -0
- package/lib/interfaces/receipt.interface.d.ts +12 -0
- package/lib/interfaces/salary-forecast.interface.d.ts +16 -0
- package/lib/interfaces/tank.interface.d.ts +7 -0
- package/lib/models/address/address.d.ts +11 -0
- package/lib/models/address/country.d.ts +11 -0
- package/lib/models/bank/bank-account-chart-data.d.ts +17 -0
- package/lib/models/bank/bank-account-property.d.ts +5 -0
- package/lib/models/bank/bank-account-types.const.d.ts +7 -0
- package/lib/models/bank/bank-account.d.ts +72 -0
- package/lib/models/bank/bank-connection.d.ts +7 -0
- package/lib/models/bank/bank-transaction-chart-data.d.ts +30 -0
- package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts +4 -0
- package/lib/models/bank/bank-transaction.d.ts +38 -0
- package/lib/models/bank/bank.d.ts +8 -0
- package/lib/models/bank/basiq-job.d.ts +3 -0
- package/lib/models/bank/basiq-token.d.ts +9 -0
- package/lib/models/bank/type-loan.const.d.ts +2 -0
- package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts +3 -0
- package/lib/models/borrowing-expense/borrowing-expense.d.ts +3 -0
- package/lib/models/chart/chart-data.d.ts +9 -0
- package/lib/models/chart/chart-serie.d.ts +8 -0
- package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts +4 -0
- package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts +7 -0
- package/lib/models/chart-accounts/chart-accounts-heading.d.ts +5 -0
- package/lib/models/chart-accounts/chart-accounts-metadata.d.ts +8 -0
- package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts +5 -0
- package/lib/models/chart-accounts/chart-accounts.d.ts +66 -0
- package/lib/models/chat/chat-view-type.enum.d.ts +4 -0
- package/lib/models/chat/chat.d.ts +10 -0
- package/lib/models/chat/message-document.d.ts +11 -0
- package/lib/models/chat/message.d.ts +20 -0
- package/lib/models/client/client-details.d.ts +3 -0
- package/lib/models/client/client-invite.d.ts +34 -0
- package/lib/models/client/client-movement.d.ts +12 -0
- package/lib/models/client/client-portfolio-chart-data.d.ts +11 -0
- package/lib/models/client/client-portfolio-report.d.ts +10 -0
- package/lib/models/depreciation/depreciation-capital-project.d.ts +5 -0
- package/lib/models/depreciation/depreciation-forecast.d.ts +8 -0
- package/lib/models/depreciation/depreciation-group-item.d.ts +10 -0
- package/lib/models/depreciation/depreciation-group.d.ts +11 -0
- package/lib/models/depreciation/depreciation-group.enum.d.ts +7 -0
- package/lib/models/depreciation/depreciation-groups.const.d.ts +9 -0
- package/lib/models/depreciation/depreciation-receipt.d.ts +8 -0
- package/lib/models/depreciation/depreciation.d.ts +69 -0
- package/lib/models/document/document-api-url-prefix.enum.d.ts +7 -0
- package/lib/models/document/document-file-types.const.d.ts +3 -0
- package/lib/models/document/document-folder.d.ts +7 -0
- package/lib/models/document/document.d.ts +21 -0
- package/lib/models/employee/employee-details.d.ts +5 -0
- package/lib/models/employee/employee-invite.d.ts +7 -0
- package/lib/models/endpoint/endpoint.d.ts +22 -0
- package/lib/models/endpoint/endpoints.const.d.ts +7 -0
- package/lib/models/event/app-event-type.enum.d.ts +37 -0
- package/lib/models/event/app-event.d.ts +9 -0
- package/lib/models/file/icons-file.enum.d.ts +5 -0
- package/lib/models/financial-year/financial-year.d.ts +19 -0
- package/lib/models/financial-year/month-name-short.enum.d.ts +19 -0
- package/lib/models/financial-year/month-number.enum.d.ts +19 -0
- package/lib/models/financial-year/months.const.d.ts +1 -0
- package/lib/models/firm/firm.d.ts +18 -0
- package/lib/models/income-position/income-position.d.ts +9 -0
- package/lib/models/income-source/income-source-chart-data.d.ts +14 -0
- package/lib/models/income-source/income-source-forecast.d.ts +22 -0
- package/lib/models/income-source/income-source-type.d.ts +8 -0
- package/lib/models/income-source/income-source.d.ts +27 -0
- package/lib/models/income-source/salary-forecast.d.ts +16 -0
- package/lib/models/loan/loan-max-number-of-payments.enum.d.ts +8 -0
- package/lib/models/loan/loan-payment.d.ts +13 -0
- package/lib/models/loan/loan-payout.d.ts +9 -0
- package/lib/models/loan/loan.d.ts +20 -0
- package/lib/models/logbook/default-vehicle-expense.d.ts +5 -0
- package/lib/models/logbook/logbook-period.d.ts +6 -0
- package/lib/models/logbook/logbook-purpose-options.const.d.ts +4 -0
- package/lib/models/logbook/vehicle-claim.d.ts +15 -0
- package/lib/models/logbook/vehicle-logbook.d.ts +6 -0
- package/lib/models/logbook/vehicle.d.ts +12 -0
- package/lib/models/notification/notification-event-types.const.d.ts +7 -0
- package/lib/models/notification/notification.d.ts +16 -0
- package/lib/models/phone/phone.d.ts +6 -0
- package/lib/models/property/calculation-form-item.d.ts +15 -0
- package/lib/models/property/calculation-form-type.enum.d.ts +7 -0
- package/lib/models/property/capital-costs-itmes.const.d.ts +2 -0
- package/lib/models/property/corelogic-suggestion.d.ts +18 -0
- package/lib/models/property/ownership-filter-options.enum.d.ts +8 -0
- package/lib/models/property/property-capital-cost.d.ts +3 -0
- package/lib/models/property/property-category-movement.d.ts +9 -0
- package/lib/models/property/property-category.d.ts +4 -0
- package/lib/models/property/property-document.d.ts +14 -0
- package/lib/models/property/property-equity-chart-data.d.ts +62 -0
- package/lib/models/property/property-equity-chart-item.d.ts +19 -0
- package/lib/models/property/property-equity-chart-type.enum.d.ts +4 -0
- package/lib/models/property/property-forecast.d.ts +28 -0
- package/lib/models/property/property-owner.d.ts +21 -0
- package/lib/models/property/property-sold.d.ts +5 -0
- package/lib/models/property/property-subscription.d.ts +6 -0
- package/lib/models/property/property-valuation.d.ts +9 -0
- package/lib/models/property/property.d.ts +55 -0
- package/lib/models/registration-invite/registration-invite.d.ts +6 -0
- package/lib/models/service-subscription/module-url-list.const.d.ts +6 -0
- package/lib/models/service-subscription/service-payment.d.ts +5 -0
- package/lib/models/service-subscription/service-price.d.ts +5 -0
- package/lib/models/service-subscription/service-product.d.ts +5 -0
- package/lib/models/service-subscription/service-subscription-item.d.ts +6 -0
- package/lib/models/service-subscription/service-subscription.d.ts +55 -0
- package/lib/models/service-subscription/subscription-description.const.d.ts +3 -0
- package/lib/models/service-subscription/subscription-title.const.d.ts +3 -0
- package/lib/models/service-subscription/subscription-type.enum.d.ts +6 -0
- package/lib/models/tax-review/tax-review.d.ts +52 -0
- package/lib/models/tax-summary/tax-return-category-item-details.d.ts +13 -0
- package/lib/models/tax-summary/tax-return-category-item.d.ts +18 -0
- package/lib/models/tax-summary/tax-summary-section.d.ts +12 -0
- package/lib/models/tax-summary/tax-summary-type.enum.d.ts +7 -0
- package/lib/models/tax-summary/tax-summary.d.ts +44 -0
- package/lib/models/transaction/income-amount-type.enum.d.ts +7 -0
- package/lib/models/transaction/transaction-allocation.d.ts +12 -0
- package/lib/models/transaction/transaction-metadata.d.ts +5 -0
- package/lib/models/transaction/transaction-receipt.d.ts +8 -0
- package/lib/models/transaction/transaction.d.ts +98 -0
- package/lib/models/user/my-account-history-initiated-by.enum.d.ts +4 -0
- package/lib/models/user/my-account-history-status.enum.d.ts +4 -0
- package/lib/models/user/my-account-history-type.enum.d.ts +5 -0
- package/lib/models/user/my-account-history.d.ts +11 -0
- package/lib/models/user/occupation.d.ts +3 -0
- package/lib/models/user/user-roles.const.d.ts +4 -0
- package/lib/models/user/user-to-register.d.ts +7 -0
- package/lib/models/user/user-work-position.const.d.ts +3 -0
- package/lib/models/user/user.d.ts +64 -0
- package/lib/models/user-event/user-event-category.d.ts +8 -0
- package/lib/models/user-event/user-event-category.enum.d.ts +9 -0
- package/lib/models/user-event/user-event-setting-field.enum.d.ts +8 -0
- package/lib/models/user-event/user-event-setting.d.ts +6 -0
- package/lib/models/user-event/user-event-type.d.ts +5 -0
- package/lib/services/address/address.service.d.ts +14 -0
- package/lib/services/asset/assets.service.d.ts +34 -0
- package/lib/services/auth/auth.service.d.ts +17 -0
- package/lib/services/auth/jwt.service.d.ts +16 -0
- package/lib/services/bank/bank-account-calculation.service.d.ts +19 -0
- package/lib/services/bank/bank-account.service.d.ts +47 -0
- package/lib/services/bank/bank-connection.service.d.ts +22 -0
- package/lib/services/bank/bank-transaction-calculation.service.d.ts +41 -0
- package/lib/services/bank/bank-transaction.service.d.ts +38 -0
- package/lib/services/bank/bank.service.d.ts +14 -0
- package/lib/services/bank/basiq.service.d.ts +42 -0
- package/lib/services/base-rest.service.d.ts +91 -0
- package/lib/services/borrowing-expense/borrowing-expense.service.d.ts +19 -0
- package/lib/services/chart-accounts/chart-accounts-depreciations.service.d.ts +19 -0
- package/lib/services/chart-accounts/chart-accounts.service.d.ts +37 -0
- package/lib/services/chat/chat.service.d.ts +31 -0
- package/lib/services/chat/message-document.service.d.ts +50 -0
- package/lib/services/chat/message.service.d.ts +31 -0
- package/lib/services/client/client-invite.service.d.ts +36 -0
- package/lib/services/client/client-movement.service.d.ts +40 -0
- package/lib/services/client/client-portfolio-report.service.d.ts +16 -0
- package/lib/services/depreciation/capital-project.service.d.ts +20 -0
- package/lib/services/depreciation/depreciation.service.d.ts +59 -0
- package/lib/services/document/document-folder.service.d.ts +40 -0
- package/lib/services/employee/employee-invite.service.d.ts +21 -0
- package/lib/services/employee/employee.service.d.ts +16 -0
- package/lib/services/event/event-dispatcher.service.d.ts +17 -0
- package/lib/services/event/sse.service.d.ts +16 -0
- package/lib/services/firm/firm.service.d.ts +27 -0
- package/lib/services/header-title/header-title.service.d.ts +11 -0
- package/lib/services/income-source/income-source-forecast.service.d.ts +36 -0
- package/lib/services/income-source/income-source.service.d.ts +48 -0
- package/lib/services/income-source/salary-forecast.service.d.ts +37 -0
- package/lib/services/intercom/intercom.service.d.ts +21 -0
- package/lib/services/loan/loan.service.d.ts +63 -0
- package/lib/services/notification/notification.service.d.ts +31 -0
- package/lib/services/preloader/preloader.service.d.ts +12 -0
- package/lib/services/property/corelogic.service.d.ts +15 -0
- package/lib/services/property/property-calculation.service.d.ts +33 -0
- package/lib/services/property/property-capital-cost.service.d.ts +20 -0
- package/lib/services/property/property-category.service.d.ts +13 -0
- package/lib/services/property/property-document.service.d.ts +31 -0
- package/lib/services/property/property-owner.service.d.ts +52 -0
- package/lib/services/property/property-sold.service.d.ts +13 -0
- package/lib/services/property/property.service.d.ts +50 -0
- package/lib/services/subscription/subscription.service.d.ts +47 -0
- package/lib/services/tax-review/tax-review-history.service.d.ts +19 -0
- package/lib/services/tax-review/tax-review.service.d.ts +44 -0
- package/lib/services/tax-summary/tax-summary.service.d.ts +31 -0
- package/lib/services/transaction/transaction-allocation.service.d.ts +43 -0
- package/lib/services/transaction/transaction-calculation.service.d.ts +29 -0
- package/lib/services/transaction/transaction.service.d.ts +92 -0
- package/lib/services/user/occupation.service.d.ts +20 -0
- package/lib/services/user/user-switcher.service.d.ts +20 -0
- package/lib/services/user/user.service.d.ts +60 -0
- package/lib/services/user-event/user-event-setting.service.d.ts +22 -0
- package/lib/services/user-event/user-event-type.service.d.ts +17 -0
- package/lib/services/work/work-tank.service.d.ts +93 -0
- package/package.json +9 -3
- package/public-api.d.ts +335 -1
- package/esm2015/lib/tt-core.service.js +0 -23
- package/lib/tt-core.service.d.ts +0 -8
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { TaxReview as TaxReviewBase } from '../../db/Models/tax-review';
|
|
2
|
+
import { TaxReviewStatusEnum } from '../../db/Enums/tax-review-status.enum';
|
|
3
|
+
import { User } from '../user/user';
|
|
4
|
+
export declare class TaxReview extends TaxReviewBase {
|
|
5
|
+
client: User;
|
|
6
|
+
employee: User;
|
|
7
|
+
status: TaxReviewStatusEnum;
|
|
8
|
+
/**
|
|
9
|
+
* if tax review status is 'Cancelled'
|
|
10
|
+
*/
|
|
11
|
+
isCancelled(): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* if tax review status is 'New'
|
|
14
|
+
*/
|
|
15
|
+
isNew(): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* if tax review status is 'In progress'
|
|
18
|
+
*/
|
|
19
|
+
isInProgress(): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* if tax review status is 'Waiting for client'
|
|
22
|
+
*/
|
|
23
|
+
isWaitingForClient(): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* if tax review status is 'Waiting for approval'
|
|
26
|
+
*/
|
|
27
|
+
isWaitingForApproval(): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* if tax review status is 'Approved'
|
|
30
|
+
*/
|
|
31
|
+
isApproved(): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* if tax review status is 'Completed'
|
|
34
|
+
*/
|
|
35
|
+
isCompleted(): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* if tax review status is 'Sent'
|
|
38
|
+
*/
|
|
39
|
+
isSent(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* if tax review status is 'Amend'
|
|
42
|
+
*/
|
|
43
|
+
isAmend(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* If tax review is inactive
|
|
46
|
+
*/
|
|
47
|
+
isInactive(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* If tax review is active
|
|
50
|
+
*/
|
|
51
|
+
isActive(): boolean;
|
|
52
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TaxReturnCategorySectionEnum } from '../../db/Enums/tax-return-category-section.enum';
|
|
2
|
+
/**
|
|
3
|
+
* Used in tax summary reports to show specific details relating to an amount in the report.
|
|
4
|
+
* See structure in TaxReturnCategoryItem class.
|
|
5
|
+
* Example an amount of $550 for property income could be comprised of 2 different property amounts of $300 and $250.
|
|
6
|
+
* This is useful in providing drill-down information for the tax summary report.
|
|
7
|
+
*/
|
|
8
|
+
export declare class TaxReturnCategoryItemDetails {
|
|
9
|
+
amount: number;
|
|
10
|
+
name: string;
|
|
11
|
+
type: number;
|
|
12
|
+
section: TaxReturnCategorySectionEnum;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TaxReturnCategory } from '../../db/Models/tax-return-category';
|
|
2
|
+
import { TaxReturnCategoryItemDetails } from './tax-return-category-item-details';
|
|
3
|
+
/**
|
|
4
|
+
* Used in tax summary reports to show amounts relating to a tax return category entity and details of what this
|
|
5
|
+
* amount is comprised of. Example here shows an amount of $951.96 and also details of what this amount is comprised of:
|
|
6
|
+
*/
|
|
7
|
+
export declare class TaxReturnCategoryItem {
|
|
8
|
+
amount: number;
|
|
9
|
+
details: TaxReturnCategoryItemDetails[];
|
|
10
|
+
items: TaxReturnCategoryItem[];
|
|
11
|
+
taxReturnCategory: TaxReturnCategory;
|
|
12
|
+
taxWithheld: number;
|
|
13
|
+
/**
|
|
14
|
+
* Get amount for one income source
|
|
15
|
+
* @param name Name of income source for filter
|
|
16
|
+
*/
|
|
17
|
+
getAmountByIncomeSourceName(name: string): number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TaxSummarySectionEnum } from '../../db/Enums/tax-summary-section.enum';
|
|
2
|
+
import { TaxReturnCategoryItemCollection } from '../../collections/tax-return-category-item.collection';
|
|
3
|
+
/**
|
|
4
|
+
* Base class for each sections of Tax Summary report, contains common properties/methods
|
|
5
|
+
* See also TaxSummary model
|
|
6
|
+
*/
|
|
7
|
+
export declare class TaxSummarySection {
|
|
8
|
+
section: TaxSummarySectionEnum;
|
|
9
|
+
netAmount: number;
|
|
10
|
+
items: TaxReturnCategoryItemCollection;
|
|
11
|
+
id?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { TaxSummarySection } from './tax-summary-section';
|
|
2
|
+
/**
|
|
3
|
+
* @Todo refactor with base model when it will be provided
|
|
4
|
+
* Tax summary report structure
|
|
5
|
+
*/
|
|
6
|
+
export declare class TaxSummary {
|
|
7
|
+
work: TaxSummarySection;
|
|
8
|
+
property: TaxSummarySection;
|
|
9
|
+
otherIncome: TaxSummarySection;
|
|
10
|
+
summary: TaxSummarySection;
|
|
11
|
+
projectedTaxPosition: number;
|
|
12
|
+
get sections(): TaxSummarySection[];
|
|
13
|
+
get taxPercent(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Work Net Cash = Income - tax withheld - expenses - interest
|
|
16
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
|
17
|
+
*/
|
|
18
|
+
get workNetCash(): number;
|
|
19
|
+
/**
|
|
20
|
+
* Work Net Total = Income - expenses - interest
|
|
21
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
|
22
|
+
*/
|
|
23
|
+
get workNetTotal(): number;
|
|
24
|
+
/**
|
|
25
|
+
* Property Net Cash (Cash Position) = Rental Income - expenses - interest
|
|
26
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
|
27
|
+
*/
|
|
28
|
+
get propertyNetCash(): number;
|
|
29
|
+
/**
|
|
30
|
+
* Property Net Total (Tax Position) = Rental Income - expenses - interest - depreciation
|
|
31
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
|
32
|
+
*/
|
|
33
|
+
get propertyNetTotal(): number;
|
|
34
|
+
/**
|
|
35
|
+
* Other Net Cash = gross income – expenses – tax withheld - tax instalments
|
|
36
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
|
37
|
+
*/
|
|
38
|
+
get otherNetCash(): number;
|
|
39
|
+
/**
|
|
40
|
+
* Other Net Total = Gross income - expenses + tax offsets + tax instalments + franking credits
|
|
41
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
|
42
|
+
*/
|
|
43
|
+
get otherNetTotal(): number;
|
|
44
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TransactionAllocation as TransactionAllocationBase } from '../../db/Models/transaction-allocation';
|
|
2
|
+
import { BankTransaction } from '../bank/bank-transaction';
|
|
3
|
+
import { Transaction } from './transaction';
|
|
4
|
+
export declare class TransactionAllocation extends TransactionAllocationBase {
|
|
5
|
+
bankTransaction: BankTransaction;
|
|
6
|
+
transaction: Transaction;
|
|
7
|
+
/**
|
|
8
|
+
* Create a new instance of transaction allocation
|
|
9
|
+
* transaction could be empty since we can POST allocation inside a new transaction
|
|
10
|
+
*/
|
|
11
|
+
static create(amount: number, bankTransaction: BankTransaction, transaction?: Transaction): TransactionAllocation;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TransactionMetadata as TransactionMetadataBase } from '../../db/Models/transaction-metadata';
|
|
2
|
+
import { ChartAccountsMetadata } from '../chart-accounts/chart-accounts-metadata';
|
|
3
|
+
export declare class TransactionMetadata extends TransactionMetadataBase {
|
|
4
|
+
metadata: ChartAccountsMetadata;
|
|
5
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TransactionReceipt as TransactionReceiptBase } from '../../db/Models/transaction-receipt';
|
|
2
|
+
import { IAsset } from '../../interfaces/asset.interface';
|
|
3
|
+
import { AssetTypeEnum } from '../../interfaces/asset-type.enum';
|
|
4
|
+
import { AssetEntityTypeEnum } from '../../interfaces/asset-entity-type.enum';
|
|
5
|
+
export declare class TransactionReceipt extends TransactionReceiptBase implements IAsset {
|
|
6
|
+
type: AssetTypeEnum;
|
|
7
|
+
entityType: AssetEntityTypeEnum;
|
|
8
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Transaction as TransactionBase } from '../../db/Models/transaction';
|
|
2
|
+
import { ChartAccountsCategoryEnum } from '../../db/Enums/chart-accounts-category.enum';
|
|
3
|
+
import { TransactionOperationEnum } from '../../db/Enums/transaction-operation.enum';
|
|
4
|
+
import { Property } from '../property/property';
|
|
5
|
+
import { TransactionReceipt } from './transaction-receipt';
|
|
6
|
+
import { ChartAccounts } from '../chart-accounts/chart-accounts';
|
|
7
|
+
import { IncomeSource } from '../income-source/income-source';
|
|
8
|
+
import { TransactionMetadata } from './transaction-metadata';
|
|
9
|
+
import { Loan } from '../loan/loan';
|
|
10
|
+
import { TransactionAllocation } from './transaction-allocation';
|
|
11
|
+
import { IReceipt } from '../../interfaces/receipt.interface';
|
|
12
|
+
import { ITank } from '../../interfaces/tank.interface';
|
|
13
|
+
import { TransactionAllocationCollection } from '../../collections/transaction-allocation.collection';
|
|
14
|
+
import { Depreciation } from '../depreciation/depreciation';
|
|
15
|
+
export declare class Transaction extends TransactionBase implements IReceipt, ITank {
|
|
16
|
+
transactions: Transaction[];
|
|
17
|
+
property: Property;
|
|
18
|
+
receipt: TransactionReceipt;
|
|
19
|
+
chartAccounts: ChartAccounts;
|
|
20
|
+
incomeSource: IncomeSource;
|
|
21
|
+
metadata: TransactionMetadata[];
|
|
22
|
+
transfer: Transaction;
|
|
23
|
+
loan: Loan;
|
|
24
|
+
date: Date;
|
|
25
|
+
allocations: TransactionAllocation[];
|
|
26
|
+
file: File;
|
|
27
|
+
tax: number;
|
|
28
|
+
operation: TransactionOperationEnum;
|
|
29
|
+
allocatedAmount: number;
|
|
30
|
+
unallocatedAmount: number;
|
|
31
|
+
isSelected: boolean;
|
|
32
|
+
claimPercent: number;
|
|
33
|
+
amount: number;
|
|
34
|
+
isDebit(): boolean;
|
|
35
|
+
isCredit(): boolean;
|
|
36
|
+
isIncome(): boolean;
|
|
37
|
+
isExpense(): boolean;
|
|
38
|
+
isPersonal(): boolean;
|
|
39
|
+
get chartAccountsCategories(): ChartAccountsCategoryEnum[];
|
|
40
|
+
/**
|
|
41
|
+
* Check if transaction has 'Klms travelled for work' chart accounts category
|
|
42
|
+
*/
|
|
43
|
+
get isKlmsChartAccountsCategory(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Get transaction date
|
|
46
|
+
*/
|
|
47
|
+
getDate(): Date;
|
|
48
|
+
/**
|
|
49
|
+
* Check if transaction type is vehicle
|
|
50
|
+
*/
|
|
51
|
+
isVehicleTransaction(): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Get net amount (clean amount after all deductions)
|
|
54
|
+
*/
|
|
55
|
+
getNetAmount(): number;
|
|
56
|
+
/**
|
|
57
|
+
* Get gross income amount
|
|
58
|
+
*/
|
|
59
|
+
getGrossIncome(): number;
|
|
60
|
+
/**
|
|
61
|
+
* find franking credits metadata and return value
|
|
62
|
+
*/
|
|
63
|
+
get frankingCredit(): number;
|
|
64
|
+
get untaxedElement(): number;
|
|
65
|
+
/**
|
|
66
|
+
* Check if transaction reconcile operation if TRANSFER
|
|
67
|
+
* @TODO bad usage of get (and all is* methods), getter should sound like a noun
|
|
68
|
+
*/
|
|
69
|
+
get isTransfer(): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Get value of transaction metadata field
|
|
72
|
+
* @param field for which value should be returned
|
|
73
|
+
*/
|
|
74
|
+
private getMetadataFieldValue;
|
|
75
|
+
/**
|
|
76
|
+
* Returns Net or Gross income amount based on provided income type
|
|
77
|
+
* @param incomeType by which amount should be returned
|
|
78
|
+
*/
|
|
79
|
+
private getIncomeAmountByType;
|
|
80
|
+
isInterest(): boolean;
|
|
81
|
+
isCash(): boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Create Depreciation instance based on Transaction
|
|
84
|
+
*/
|
|
85
|
+
toDepreciation(): Depreciation;
|
|
86
|
+
/**
|
|
87
|
+
* Check if transaction is completely allocated
|
|
88
|
+
*/
|
|
89
|
+
isAllocated(allocations: TransactionAllocationCollection): boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Get transaction allocated amount
|
|
92
|
+
*/
|
|
93
|
+
getAllocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
94
|
+
/**
|
|
95
|
+
* Get transaction unallocated amount
|
|
96
|
+
*/
|
|
97
|
+
getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
98
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MyAccountHistoryTypeEnum } from './my-account-history-type.enum';
|
|
2
|
+
import { MyAccountHistoryInitiatedByEnum } from './my-account-history-initiated-by.enum';
|
|
3
|
+
import { MyAccountHistoryStatusEnum } from './my-account-history-status.enum';
|
|
4
|
+
export declare class MyAccountHistory {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
type: MyAccountHistoryTypeEnum;
|
|
8
|
+
initiatedBy: MyAccountHistoryInitiatedByEnum;
|
|
9
|
+
date: Date;
|
|
10
|
+
status: MyAccountHistoryStatusEnum;
|
|
11
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { User as BaseUser } from '../../db/Models/user';
|
|
2
|
+
import { UserRolesEnum } from '../../db/Enums/user-roles.enum';
|
|
3
|
+
import { Address } from '../address/address';
|
|
4
|
+
import { ClientDetails } from '../client/client-details';
|
|
5
|
+
import { EmployeeDetails } from '../employee/employee-details';
|
|
6
|
+
import { Phone } from '../phone/phone';
|
|
7
|
+
import { ServiceSubscription } from '../service-subscription/service-subscription';
|
|
8
|
+
import { ServiceSubscriptionItem } from '../service-subscription/service-subscription-item';
|
|
9
|
+
import { Photoable } from '../../interfaces/photoable';
|
|
10
|
+
export declare class User extends BaseUser implements Photoable {
|
|
11
|
+
subscriptions: ServiceSubscription[];
|
|
12
|
+
clientDetails: ClientDetails;
|
|
13
|
+
employeeDetails: EmployeeDetails;
|
|
14
|
+
address: Address;
|
|
15
|
+
phone: Phone;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
clients: User[];
|
|
18
|
+
get fullName(): string;
|
|
19
|
+
get activeSubscription(): ServiceSubscription;
|
|
20
|
+
get lastSubscription(): ServiceSubscription;
|
|
21
|
+
/**
|
|
22
|
+
* @TODO refactor
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
get position(): string;
|
|
26
|
+
hasRole(role: UserRolesEnum): boolean;
|
|
27
|
+
isOnboarding(): boolean;
|
|
28
|
+
hasSubscription(): boolean;
|
|
29
|
+
isLoggedIn(): boolean;
|
|
30
|
+
isClient(): boolean;
|
|
31
|
+
isEmployee(): boolean;
|
|
32
|
+
isAccountant(): boolean;
|
|
33
|
+
isAdvisor(): boolean;
|
|
34
|
+
isImpersonator(): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Check if current user is firm owner
|
|
37
|
+
*/
|
|
38
|
+
isFirmOwner(): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Check if current user is firm manager
|
|
41
|
+
*/
|
|
42
|
+
isManager(): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* check if user has property tank access
|
|
45
|
+
*/
|
|
46
|
+
hasPropertyTank(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* check if user has property tank access
|
|
49
|
+
*/
|
|
50
|
+
hasWorkTank(): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Get user subscription role by provided role type
|
|
53
|
+
* @param roleType by which role should be returned
|
|
54
|
+
*/
|
|
55
|
+
getSubscriptionRole(roleType: UserRolesEnum): ServiceSubscriptionItem;
|
|
56
|
+
/**
|
|
57
|
+
* Get user's photo link
|
|
58
|
+
*/
|
|
59
|
+
getPhoto(): string;
|
|
60
|
+
/**
|
|
61
|
+
* get user's initials
|
|
62
|
+
*/
|
|
63
|
+
getInitials(): string;
|
|
64
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UserEventSetting as UserEventSettingBase } from '../../db/Models/user-event-setting';
|
|
2
|
+
import { UserEventType } from './user-event-type';
|
|
3
|
+
export declare class UserEventSetting extends UserEventSettingBase {
|
|
4
|
+
userEventType: UserEventType;
|
|
5
|
+
isUpdating?: boolean;
|
|
6
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable, ReplaySubject } from 'rxjs';
|
|
3
|
+
import { Country } from '../../models/address/country';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AddressService {
|
|
6
|
+
private http;
|
|
7
|
+
private environment;
|
|
8
|
+
_countries: Country[];
|
|
9
|
+
countriesSubject: ReplaySubject<Country[]>;
|
|
10
|
+
constructor(http: HttpClient, environment: any);
|
|
11
|
+
getCountries(): Observable<Country[]>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddressService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AddressService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { IAsset } from '../../interfaces/asset.interface';
|
|
4
|
+
import { UserSwitcherService } from '../user/user-switcher.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Service to work with assets (documents, receipts, e.t.c.)
|
|
8
|
+
*/
|
|
9
|
+
export declare class AssetsService {
|
|
10
|
+
private http;
|
|
11
|
+
private userSwitcherService;
|
|
12
|
+
private environment;
|
|
13
|
+
impersonatedClient: string;
|
|
14
|
+
constructor(http: HttpClient, userSwitcherService: UserSwitcherService, environment: any);
|
|
15
|
+
/**
|
|
16
|
+
* Get asset link
|
|
17
|
+
* @param asset to get the link for
|
|
18
|
+
*/
|
|
19
|
+
getLink(asset: IAsset): Observable<any>;
|
|
20
|
+
/**
|
|
21
|
+
* Download asset
|
|
22
|
+
* @param asset which should be downloaded
|
|
23
|
+
* @TODO refactor
|
|
24
|
+
*/
|
|
25
|
+
download(asset: IAsset): string;
|
|
26
|
+
/**
|
|
27
|
+
* Delete asset
|
|
28
|
+
* @param entityId: id of asset main entity (property, folder, transaction, e.t.c.)
|
|
29
|
+
* @param asset which should be deleted
|
|
30
|
+
*/
|
|
31
|
+
delete(entityId: number, asset: IAsset): any;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AssetsService>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { JwtService } from './jwt.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AuthService {
|
|
6
|
+
private http;
|
|
7
|
+
private jwtService;
|
|
8
|
+
private environment;
|
|
9
|
+
isLoggedInSubject: BehaviorSubject<boolean>;
|
|
10
|
+
constructor(http: HttpClient, jwtService: JwtService, environment: any);
|
|
11
|
+
setAuth(response: any): void;
|
|
12
|
+
login(username: string, password: string): import("rxjs").Observable<any>;
|
|
13
|
+
refresh(refreshToken: string): import("rxjs").Observable<any>;
|
|
14
|
+
logoutFront(url?: string): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { JwtHelperService } from '@auth0/angular-jwt';
|
|
2
|
+
import { User } from '../../models/user/user';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class JwtService extends JwtHelperService {
|
|
5
|
+
getToken(): string;
|
|
6
|
+
getRefreshToken(): string;
|
|
7
|
+
saveTokens(tokens: {
|
|
8
|
+
token: string;
|
|
9
|
+
refreshToken: string;
|
|
10
|
+
}): void;
|
|
11
|
+
destroyTokens(): void;
|
|
12
|
+
getUser(): User;
|
|
13
|
+
isMe(userId: number): boolean;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JwtService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JwtService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BankAccountCollection } from '../../collections/bank-account.collection';
|
|
2
|
+
import { BankTransactionCollection } from '../../collections/bank-transaction.collection';
|
|
3
|
+
import { TransactionAllocationCollection } from '../../collections/transaction-allocation.collection';
|
|
4
|
+
import { BankTransactionCalculationService } from './bank-transaction-calculation.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BankAccountCalculationService {
|
|
7
|
+
private bankTransactionCalculationService;
|
|
8
|
+
constructor(bankTransactionCalculationService: BankTransactionCalculationService);
|
|
9
|
+
/**
|
|
10
|
+
* Sum of bank accounts opening balances and their bank transactions allocated amounts
|
|
11
|
+
*/
|
|
12
|
+
getTaxTankBalance(bankAccounts: BankAccountCollection, bankTransactions: BankTransactionCollection, allocations: TransactionAllocationCollection): number;
|
|
13
|
+
/**
|
|
14
|
+
* get difference between total loans amount and total cash amount
|
|
15
|
+
*/
|
|
16
|
+
getNetPosition(bankAccounts: BankAccountCollection, bankTransactions: BankTransactionCollection, allocations: TransactionAllocationCollection): number;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BankAccountCalculationService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BankAccountCalculationService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { BankAccount as BankAccountBase } from '../../db/Models/bank-account';
|
|
4
|
+
import { BaseRestService } from '../base-rest.service';
|
|
5
|
+
import { BankAccount } from '../../models/bank/bank-account';
|
|
6
|
+
import { EventDispatcherService } from '../event/event-dispatcher.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Service that handling user's bank accounts logic
|
|
10
|
+
*/
|
|
11
|
+
export declare class BankAccountService extends BaseRestService<BankAccountBase, BankAccount> {
|
|
12
|
+
protected http: HttpClient;
|
|
13
|
+
protected eventDispatcherService: EventDispatcherService;
|
|
14
|
+
protected environment: any;
|
|
15
|
+
url: string;
|
|
16
|
+
modelClass: typeof BankAccount;
|
|
17
|
+
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
|
|
18
|
+
/**
|
|
19
|
+
* Listen system notifications and update cache when got basiq notification received
|
|
20
|
+
*/
|
|
21
|
+
listenEvents(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Created manual bank account
|
|
24
|
+
* @param bankAccounts
|
|
25
|
+
* @param queryParams
|
|
26
|
+
*/
|
|
27
|
+
addBatch(bankAccounts: BankAccount[], queryParams?: object): Observable<BankAccount[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Update bank account and fire event
|
|
30
|
+
*/
|
|
31
|
+
update(bankAccount: BankAccount): Observable<BankAccount>;
|
|
32
|
+
/**
|
|
33
|
+
* Update bank account opening balance
|
|
34
|
+
* @param bankAccount Bank account for balance updating
|
|
35
|
+
*/
|
|
36
|
+
updateOpeningBalance(bankAccount: BankAccount): Observable<any>;
|
|
37
|
+
/**
|
|
38
|
+
* Update bank account current balance
|
|
39
|
+
*/
|
|
40
|
+
updateCurrentBalance(bankAccount: BankAccount): Observable<BankAccount>;
|
|
41
|
+
/**
|
|
42
|
+
* Listen to EventDispatcherService event related to updated Property Owner Updated
|
|
43
|
+
*/
|
|
44
|
+
private listenToPropertyOwnerUpdated;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BankAccountService, never>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BankAccountService>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { BankConnection as BankConnectionBase } from '../../db/Models/bank-connection';
|
|
4
|
+
import { EventDispatcherService } from '../event/event-dispatcher.service';
|
|
5
|
+
import { BankConnection } from '../../models/bank/bank-connection';
|
|
6
|
+
import { BaseRestService } from '../base-rest.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* BankConnection means user account at specific bank (usually each user has only one at the same bank)
|
|
10
|
+
* service handles BankConnection management
|
|
11
|
+
*/
|
|
12
|
+
export declare class BankConnectionService extends BaseRestService<BankConnectionBase, BankConnection> {
|
|
13
|
+
protected http: HttpClient;
|
|
14
|
+
protected eventDispatcherService: EventDispatcherService;
|
|
15
|
+
protected environment: any;
|
|
16
|
+
modelClass: typeof BankConnection;
|
|
17
|
+
url: string;
|
|
18
|
+
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
|
|
19
|
+
post(bankConnection: BankConnection): Observable<BankConnection>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BankConnectionService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BankConnectionService>;
|
|
22
|
+
}
|