taxtank-core 0.28.118 → 0.29.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/bundles/taxtank-core.umd.js +8560 -8748
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/bank-account.collection.js +5 -1
- package/esm2015/lib/collections/chart-accounts.collection.js +13 -2
- package/esm2015/lib/collections/chat/chat.collection.js +26 -0
- package/esm2015/lib/collections/chat/index.js +4 -0
- package/esm2015/lib/collections/chat/message-document.collection.js +13 -0
- package/esm2015/lib/collections/chat/message.collection.js +33 -0
- package/esm2015/lib/collections/collection.js +5 -1
- package/esm2015/lib/collections/index.js +25 -3
- package/esm2015/lib/collections/loan/index.js +3 -0
- package/esm2015/lib/collections/loan/loan.collection.js +7 -1
- package/esm2015/lib/collections/property/index.js +2 -1
- package/esm2015/lib/collections/property/property-share.collection.js +23 -0
- package/esm2015/lib/collections/report/index.js +7 -0
- package/esm2015/lib/collections/sole/index.js +2 -1
- package/esm2015/lib/collections/subscription/index.js +2 -0
- package/esm2015/lib/collections/tax-summary/index.js +3 -0
- package/esm2015/lib/collections/user-event-type-collection.js +7 -0
- package/esm2015/lib/db/Models/bank/bank-account.js +3 -3
- package/esm2015/lib/db/Models/bank/bank-connection.js +3 -3
- package/esm2015/lib/db/Models/bank/bank-transaction-rule.js +4 -0
- package/esm2015/lib/db/Models/bank/bank-transaction.js +3 -3
- package/esm2015/lib/db/Models/document/document-base.js +4 -0
- package/esm2015/lib/db/Models/firm/firm-invite.js +4 -0
- package/esm2015/lib/db/Models/firm/message.js +3 -3
- package/esm2015/lib/db/Models/index.js +102 -0
- package/esm2015/lib/db/Models/loan/loan-payout.js +3 -3
- package/esm2015/lib/db/Models/loan/loan.js +3 -3
- package/esm2015/lib/db/Models/property/property-category-movement.js +3 -3
- package/esm2015/lib/db/Models/property/property-category.js +3 -3
- package/esm2015/lib/db/Models/property/property-sale/property-sale.js +3 -3
- package/esm2015/lib/db/Models/property/property-share.js +3 -3
- package/esm2015/lib/db/Models/spare/spare-document-category.js +4 -0
- package/esm2015/lib/db/Models/spare/spare-document.js +4 -0
- package/esm2015/lib/db/Models/tax-calculation.js +4 -0
- package/esm2015/lib/db/Models/transaction/transaction-base.js +3 -3
- package/esm2015/lib/interceptors/basiq-client-id.interceptor.js +3 -3
- package/esm2015/lib/interceptors/basiq-token.interceptor.js +5 -5
- package/esm2015/lib/interceptors/corelogic-interceptor.js +3 -3
- package/esm2015/lib/interceptors/financial-year-interceptor.js +3 -3
- package/esm2015/lib/interceptors/interceptors.module.js +4 -4
- package/esm2015/lib/interceptors/jwt-interceptor.js +3 -3
- package/esm2015/lib/interceptors/preloader.interceptor.js +3 -3
- package/esm2015/lib/interceptors/user-switcher-interceptor.js +3 -3
- package/esm2015/lib/interfaces/index.js +18 -0
- package/esm2015/lib/models/bank/basiq/basiq-token.js +4 -2
- package/esm2015/lib/models/borrowing-expense/index.js +3 -0
- package/esm2015/lib/models/chart-accounts/index.js +2 -2
- package/esm2015/lib/models/chat/index.js +5 -0
- package/esm2015/lib/models/depreciation/depreciation-lvp-rate.enum.js +9 -0
- package/esm2015/lib/models/depreciation/index.js +10 -0
- package/esm2015/lib/models/dictionary/index.js +2 -0
- package/esm2015/lib/models/event/app-event-type.enum.js +68 -70
- package/esm2015/lib/models/event/index.js +3 -0
- package/esm2015/lib/models/financial-year/index.js +5 -0
- package/esm2015/lib/models/index.js +12 -2
- package/esm2015/lib/models/loan/index.js +5 -0
- package/esm2015/lib/models/notification/index.js +2 -0
- package/esm2015/lib/models/property/index.js +18 -0
- package/esm2015/lib/models/property/property.js +1 -3
- package/esm2015/lib/models/user/index.js +10 -0
- package/esm2015/lib/services/account-setup/account-setup.service.js +6 -7
- package/esm2015/lib/services/affiliate/rewardful/rewardful.service.js +3 -3
- package/esm2015/lib/services/asset/assets.service.js +3 -3
- package/esm2015/lib/services/auth/auth.service.js +3 -3
- package/esm2015/lib/services/auth/jwt.service.js +3 -3
- package/esm2015/lib/services/bank/bank-account-calculation.service.js +3 -3
- package/esm2015/lib/services/bank/bank-transaction-calculation.service.js +3 -3
- package/esm2015/lib/services/event/event-dispatcher.service.js +3 -3
- package/esm2015/lib/services/event/sse.service.js +3 -3
- package/esm2015/lib/services/export/export-formatter.service.js +3 -3
- package/esm2015/lib/services/header-title/header-title.service.js +3 -3
- package/esm2015/lib/services/http/address/address.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +16 -71
- package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +42 -42
- package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +17 -33
- package/esm2015/lib/services/http/bank/bank.service.js +15 -10
- package/esm2015/lib/services/http/bank/basiq/basiq-token.service.js +18 -20
- package/esm2015/lib/services/http/bank/basiq/basiq.service.js +15 -27
- package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +10 -21
- package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +20 -64
- package/esm2015/lib/services/http/chat/chat.service.js +24 -30
- package/esm2015/lib/services/http/chat/index.js +3 -3
- package/esm2015/lib/services/http/chat/message-document.service.js +78 -0
- package/esm2015/lib/services/http/chat/message.service.js +68 -0
- package/esm2015/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js +3 -3
- package/esm2015/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.js +3 -3
- package/esm2015/lib/services/http/depreciation/depreciation.service.js +29 -57
- package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +3 -3
- package/esm2015/lib/services/http/document/document.service.js +3 -3
- package/esm2015/lib/services/http/facebook/facebook.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-income/client-income-types.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-invite/client-invite.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +3 -3
- package/esm2015/lib/services/http/firm/employee/employee.service.js +3 -3
- package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +3 -3
- package/esm2015/lib/services/http/firm/firm.service.js +3 -3
- package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +3 -3
- package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +3 -3
- package/esm2015/lib/services/http/income-source/income-source.service.js +3 -3
- package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +3 -3
- package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +3 -3
- package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +7 -4
- package/esm2015/lib/services/http/loan/index.js +1 -1
- package/esm2015/lib/services/http/loan/loan.service.js +21 -69
- package/esm2015/lib/services/http/property/property-category/property-category.service.js +10 -7
- package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +10 -34
- package/esm2015/lib/services/http/property/property-document/property-document.service.js +11 -21
- package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +10 -27
- package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +11 -8
- package/esm2015/lib/services/http/property/property-share/property-share.service.js +15 -89
- package/esm2015/lib/services/http/property/property.service.js +16 -34
- package/esm2015/lib/services/http/receipt/receipt.service.js +3 -3
- package/esm2015/lib/services/http/rest/rest-old.service.js +3 -3
- package/esm2015/lib/services/http/rest/rest.service.js +17 -10
- package/esm2015/lib/services/http/service-notification/service-notification.service.js +3 -3
- package/esm2015/lib/services/http/sole/bas-report/bas-report.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business/sole-business.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-activity/sole-business-activity.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-contact/sole-contact.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-details/sole-details.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-invoice/sole-invoice.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.js +3 -3
- package/esm2015/lib/services/http/subscription/service-price.service.js +3 -3
- package/esm2015/lib/services/http/subscription/subscription.service.js +3 -3
- package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +3 -3
- package/esm2015/lib/services/http/tax-review/tax-review.service.js +3 -3
- package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +6 -7
- package/esm2015/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction.service.js +3 -3
- package/esm2015/lib/services/http/tutorial-video/tutorial-video.service.js +3 -3
- package/esm2015/lib/services/http/user/occupation/occupation.service.js +3 -3
- package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +3 -3
- package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +3 -3
- package/esm2015/lib/services/http/user/user.service.js +3 -3
- package/esm2015/lib/services/http/user/users-invite/users-invite.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-claim-details.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-claim.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-logbook.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle.service.js +3 -3
- package/esm2015/lib/services/intercom/intercom.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-table.service.js +3 -3
- package/esm2015/lib/services/preloader/preloader.service.js +3 -3
- package/esm2015/lib/services/property/corelogic/corelogic.service.js +3 -3
- package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +3 -3
- package/esm2015/lib/services/property/property-calculation/property-calculation.service.js +3 -3
- package/esm2015/lib/services/report/property/property-transaction-report.service.js +7 -9
- package/esm2015/lib/services/toast/toast.service.js +3 -3
- package/esm2015/lib/services/transaction/transaction-calculation.service.js +3 -3
- package/esm2015/lib/services/user/user-switcher.service.js +3 -3
- package/esm2015/lib/services/vehicle/logbook-best-period.service.js +3 -3
- package/esm2015/lib/services/xlsx/xlsx.service.js +3 -3
- package/esm2015/lib/tt-core.module.js +4 -4
- package/esm2015/public-api.js +1 -85
- package/fesm2015/taxtank-core.js +7002 -7248
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/bank-account.collection.d.ts +1 -0
- package/lib/collections/chart-accounts.collection.d.ts +1 -0
- package/lib/collections/{chat.collection.d.ts → chat/chat.collection.d.ts} +2 -3
- package/lib/collections/chat/index.d.ts +3 -0
- package/lib/collections/{message-document.collection.d.ts → chat/message-document.collection.d.ts} +2 -2
- package/lib/collections/{message.collection.d.ts → chat/message.collection.d.ts} +2 -3
- package/lib/collections/collection.d.ts +1 -0
- package/lib/collections/index.d.ts +23 -2
- package/lib/collections/loan/index.d.ts +2 -0
- package/lib/collections/loan/loan.collection.d.ts +4 -0
- package/lib/collections/property/index.d.ts +1 -0
- package/lib/collections/property/property-share.collection.d.ts +16 -0
- package/lib/collections/report/index.d.ts +6 -0
- package/lib/collections/sole/index.d.ts +1 -0
- package/lib/collections/subscription/index.d.ts +1 -0
- package/lib/collections/tax-summary/index.d.ts +2 -0
- package/lib/collections/user-event-type-collection.d.ts +7 -0
- package/lib/db/Models/bank/bank-account.d.ts +2 -2
- package/lib/db/Models/bank/bank-connection.d.ts +2 -2
- package/lib/db/Models/bank/bank-transaction-rule.d.ts +26 -0
- package/lib/db/Models/bank/bank-transaction.d.ts +2 -2
- package/lib/db/Models/document/document-base.d.ts +11 -0
- package/lib/db/Models/firm/firm-invite.d.ts +15 -0
- package/lib/db/Models/firm/message.d.ts +2 -2
- package/lib/db/Models/index.d.ts +101 -0
- package/lib/db/Models/loan/loan-payout.d.ts +2 -2
- package/lib/db/Models/loan/loan.d.ts +2 -2
- package/lib/db/Models/property/property-category-movement.d.ts +2 -2
- package/lib/db/Models/property/property-category.d.ts +2 -2
- package/lib/db/Models/property/property-sale/property-sale.d.ts +2 -2
- package/lib/db/Models/property/property-share.d.ts +2 -2
- package/lib/db/Models/spare/spare-document-category.d.ts +7 -0
- package/lib/db/Models/spare/spare-document.d.ts +16 -0
- package/lib/db/Models/tax-calculation.d.ts +19 -0
- package/lib/db/Models/transaction/transaction-base.d.ts +2 -2
- package/lib/interfaces/index.d.ts +17 -0
- package/lib/models/bank/basiq/basiq-token.d.ts +2 -1
- package/lib/models/borrowing-expense/index.d.ts +2 -0
- package/lib/models/chart-accounts/index.d.ts +1 -1
- package/lib/models/chat/index.d.ts +4 -0
- package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts +7 -0
- package/lib/models/depreciation/index.d.ts +9 -0
- package/lib/models/dictionary/index.d.ts +1 -0
- package/lib/models/event/app-event-type.enum.d.ts +67 -69
- package/lib/models/event/index.d.ts +2 -0
- package/lib/models/financial-year/index.d.ts +4 -0
- package/lib/models/index.d.ts +11 -1
- package/lib/models/loan/index.d.ts +4 -0
- package/lib/models/notification/index.d.ts +1 -0
- package/lib/models/property/index.d.ts +17 -0
- package/lib/models/property/property.d.ts +0 -2
- package/lib/models/user/index.d.ts +9 -0
- package/lib/services/http/bank/bank-account/bank-account.service.d.ts +10 -25
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +21 -8
- package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts +10 -13
- package/lib/services/http/bank/bank.service.d.ts +10 -7
- package/lib/services/http/bank/basiq/basiq-token.service.d.ts +10 -9
- package/lib/services/http/bank/basiq/basiq.service.d.ts +12 -15
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +8 -10
- package/lib/services/http/chart-accounts/chart-accounts.service.d.ts +11 -24
- package/lib/services/http/chat/chat.service.d.ts +12 -11
- package/lib/services/http/chat/index.d.ts +2 -2
- package/lib/services/http/chat/message-document.service.d.ts +35 -0
- package/lib/services/http/chat/message.service.d.ts +38 -0
- package/lib/services/http/depreciation/depreciation.service.d.ts +12 -23
- package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts +3 -0
- package/lib/services/http/loan/loan.service.d.ts +16 -29
- package/lib/services/http/property/property-category/property-category.service.d.ts +8 -5
- package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts +8 -10
- package/lib/services/http/property/property-document/property-document.service.d.ts +9 -11
- package/lib/services/http/property/property-sale/property-sale.service.d.ts +8 -14
- package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts +9 -6
- package/lib/services/http/property/property-share/property-share.service.d.ts +10 -22
- package/lib/services/http/property/property.service.d.ts +9 -9
- package/lib/services/http/rest/rest.service.d.ts +7 -4
- package/lib/services/report/property/property-transaction-report.service.d.ts +2 -3
- package/package.json +1 -1
- package/public-api.d.ts +0 -84
- package/esm2015/lib/collections/chat.collection.js +0 -26
- package/esm2015/lib/collections/message-document.collection.js +0 -13
- package/esm2015/lib/collections/message.collection.js +0 -33
- package/esm2015/lib/services/http/chat/message/index.js +0 -2
- package/esm2015/lib/services/http/chat/message/message.service.js +0 -61
- package/esm2015/lib/services/http/chat/message-document/index.js +0 -2
- package/esm2015/lib/services/http/chat/message-document/message-document.service.js +0 -118
- package/lib/services/http/chat/message/index.d.ts +0 -1
- package/lib/services/http/chat/message/message.service.d.ts +0 -28
- package/lib/services/http/chat/message-document/index.d.ts +0 -1
- package/lib/services/http/chat/message-document/message-document.service.d.ts +0 -50
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Collection } from './collection';
|
|
2
2
|
import { ChartAccounts } from '../models';
|
|
3
3
|
export declare class ChartAccountsCollection extends Collection<ChartAccounts> {
|
|
4
|
+
constructor(items?: ChartAccounts[]);
|
|
4
5
|
/**
|
|
5
6
|
* Get 'Kms travelled for work' related chart account value
|
|
6
7
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Collection } from '
|
|
2
|
-
import { Chat } from '
|
|
3
|
-
import { Message } from '../models/chat/message';
|
|
1
|
+
import { Collection } from '../collection';
|
|
2
|
+
import { Chat, Message } from '../../models';
|
|
4
3
|
export declare class ChatCollection extends Collection<Chat> {
|
|
5
4
|
/**
|
|
6
5
|
* Sort chats by last messages (newest first) + empty chats in the end
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Collection } from '
|
|
2
|
-
import { Message } from '
|
|
3
|
-
import { User } from '../models/user/user';
|
|
1
|
+
import { Collection } from '../collection';
|
|
2
|
+
import { Message, User } from '../../models';
|
|
4
3
|
export declare class MessageCollection extends Collection<Message> {
|
|
5
4
|
getFirstUnreadMessage(user: User): Message;
|
|
6
5
|
/**
|
|
@@ -25,6 +25,7 @@ export declare class Collection<Model extends AbstractModel> implements Iterable
|
|
|
25
25
|
getIds(): number[];
|
|
26
26
|
mapBy(path: string): any[];
|
|
27
27
|
sortBy(field?: string, isDesc?: boolean): this;
|
|
28
|
+
sort(callback: (a: Model, b: Model) => number): this;
|
|
28
29
|
/**
|
|
29
30
|
* Get total sum of items by field
|
|
30
31
|
*/
|
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
export * from './collection';
|
|
2
|
+
export * from './collection-dictionary';
|
|
3
|
+
export * from './chat';
|
|
4
|
+
export * from './loan';
|
|
2
5
|
export * from './property';
|
|
3
|
-
export * from './
|
|
6
|
+
export * from './report';
|
|
4
7
|
export * from './sole';
|
|
5
|
-
export * from './
|
|
8
|
+
export * from './subscription';
|
|
9
|
+
export * from './tax-summary';
|
|
6
10
|
export * from './transaction';
|
|
11
|
+
export * from './vehicle';
|
|
12
|
+
export * from './account-setup-item.collection';
|
|
13
|
+
export * from './bank-account.collection';
|
|
14
|
+
export * from './bank-transaction.collection';
|
|
15
|
+
export * from './chart-accounts.collection';
|
|
16
|
+
export * from './client-invite.collection';
|
|
17
|
+
export * from './client-movement.collection';
|
|
18
|
+
export * from './client-portfolio-report.collection';
|
|
19
|
+
export * from './client.collection';
|
|
20
|
+
export * from './depreciation-forecast.collection';
|
|
21
|
+
export * from './depreciation.collection';
|
|
22
|
+
export * from './employee.collection';
|
|
23
|
+
export * from './exportable.collection';
|
|
24
|
+
export * from './income-source.collection';
|
|
25
|
+
export * from './tax-review.collection';
|
|
26
|
+
export * from './user-event-setting.collection';
|
|
27
|
+
export * from './user-event-type-collection';
|
|
@@ -17,4 +17,8 @@ export declare class LoanCollection extends Collection<Loan> {
|
|
|
17
17
|
* Get list of current fin year payments grouped by loan id
|
|
18
18
|
*/
|
|
19
19
|
groupCurrentYearPaymentsByLoans(): CollectionDictionary<LoanPaymentCollection>;
|
|
20
|
+
/**
|
|
21
|
+
* Get list of vehicle loans
|
|
22
|
+
*/
|
|
23
|
+
getVehicleLoans(): this;
|
|
20
24
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PropertyShare } from '../../models';
|
|
2
|
+
import { Collection } from '../collection';
|
|
3
|
+
export declare class PropertyShareCollection extends Collection<PropertyShare> {
|
|
4
|
+
/**
|
|
5
|
+
* Get list of incoming property shares
|
|
6
|
+
* (initiated not by current user)
|
|
7
|
+
* @TODO Alex: rename
|
|
8
|
+
*/
|
|
9
|
+
getIncoming(): this;
|
|
10
|
+
/**
|
|
11
|
+
* Get list of outcoming property shares
|
|
12
|
+
* (initiated by current user)
|
|
13
|
+
* @TODO Alex: rename
|
|
14
|
+
*/
|
|
15
|
+
getOutcoming(): this;
|
|
16
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './depreciation/depreciation-lvp-report-item.collection';
|
|
2
|
+
export * from './depreciation/depreciation-report-item.collection';
|
|
3
|
+
export * from './property/property-report-item-depreciation.collection';
|
|
4
|
+
export * from './property/property-report-item-transaction.collection';
|
|
5
|
+
export * from './property/property-report-item.collection';
|
|
6
|
+
export * from './vehicle-expense/vehicle-expense.collection';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './service-subscription.collection';
|
|
@@ -5,9 +5,9 @@ import { BankAccountProperty } from './bank-account-property';
|
|
|
5
5
|
import { BankTransaction } from './bank-transaction';
|
|
6
6
|
import { BankAccountBalance } from './bank-account-balance';
|
|
7
7
|
import { Loan } from '../loan/loan';
|
|
8
|
-
import { AbstractModel } from '../abstract-model';
|
|
9
8
|
import { SoleBusinessAllocation } from '../sole/sole-business-allocation';
|
|
10
|
-
|
|
9
|
+
import { ObservableModel } from '../observable-model';
|
|
10
|
+
export declare class BankAccount extends ObservableModel {
|
|
11
11
|
id?: number;
|
|
12
12
|
status?: BankAccountStatusEnum;
|
|
13
13
|
accountId?: string;
|
|
@@ -3,8 +3,8 @@ import { User } from '../user/user';
|
|
|
3
3
|
import { Bank } from './bank';
|
|
4
4
|
import { BankAccount } from './bank-account';
|
|
5
5
|
import { BasiqJob } from './basiq-job';
|
|
6
|
-
import {
|
|
7
|
-
export declare class BankConnection extends
|
|
6
|
+
import { ObservableModel } from '../observable-model';
|
|
7
|
+
export declare class BankConnection extends ObservableModel {
|
|
8
8
|
id?: number;
|
|
9
9
|
externalId?: string;
|
|
10
10
|
status?: BankConnectionStatusEnum;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TankTypeEnum } from '../../Enums/tank-type.enum';
|
|
2
|
+
import { User } from '../user/user';
|
|
3
|
+
import { BankAccount } from './bank-account';
|
|
4
|
+
import { Property } from '../property/property';
|
|
5
|
+
import { ChartAccounts } from '../chart-accounts/chart-accounts';
|
|
6
|
+
import { IncomeSource } from '../incomeSource/income-source';
|
|
7
|
+
import { AbstractModel } from '../abstract-model';
|
|
8
|
+
export declare class BankTransactionRule extends AbstractModel {
|
|
9
|
+
amount?: number;
|
|
10
|
+
type?: number;
|
|
11
|
+
tankType?: TankTypeEnum;
|
|
12
|
+
description?: string;
|
|
13
|
+
tax?: number;
|
|
14
|
+
claimAmount?: number;
|
|
15
|
+
id?: number;
|
|
16
|
+
isActive?: boolean;
|
|
17
|
+
createdAt?: Date;
|
|
18
|
+
updatedAt?: Date;
|
|
19
|
+
user?: User;
|
|
20
|
+
bankAccount?: BankAccount;
|
|
21
|
+
property?: Property;
|
|
22
|
+
chartAccounts?: ChartAccounts;
|
|
23
|
+
incomeSource?: IncomeSource;
|
|
24
|
+
createdBy?: User;
|
|
25
|
+
updatedBy?: User;
|
|
26
|
+
}
|
|
@@ -2,8 +2,8 @@ import { BankTransactionTypeEnum } from '../../Enums/bank-transaction-type.enum'
|
|
|
2
2
|
import { BankAccount } from './bank-account';
|
|
3
3
|
import { BankTransactionImport } from './bank-transaction-import';
|
|
4
4
|
import { TransactionAllocation } from '../transaction/transaction-allocation';
|
|
5
|
-
import {
|
|
6
|
-
export declare class BankTransaction extends
|
|
5
|
+
import { ObservableModel } from '../observable-model';
|
|
6
|
+
export declare class BankTransaction extends ObservableModel {
|
|
7
7
|
id?: number;
|
|
8
8
|
externalId?: string;
|
|
9
9
|
type?: BankTransactionTypeEnum;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractModel } from '../abstract-model';
|
|
2
|
+
export declare class DocumentBase extends AbstractModel {
|
|
3
|
+
id?: number;
|
|
4
|
+
name?: string;
|
|
5
|
+
originalName?: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
file?: File;
|
|
8
|
+
mimeType?: string;
|
|
9
|
+
createdAt?: Date;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RegistrationInviteStatusEnum } from '../../Enums/registration-invite-status.enum';
|
|
2
|
+
import { User } from '../user/user';
|
|
3
|
+
import { Firm } from './firm';
|
|
4
|
+
import { AbstractModel } from '../abstract-model';
|
|
5
|
+
export declare class FirmInvite extends AbstractModel {
|
|
6
|
+
id?: number;
|
|
7
|
+
email?: string;
|
|
8
|
+
firstName?: string;
|
|
9
|
+
message?: string;
|
|
10
|
+
status?: RegistrationInviteStatusEnum;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
user?: User;
|
|
14
|
+
firm: Firm;
|
|
15
|
+
}
|
|
@@ -2,8 +2,8 @@ import { Chat } from './chat';
|
|
|
2
2
|
import { MessageDocument } from './message-document';
|
|
3
3
|
import { User } from '../user/user';
|
|
4
4
|
import { Ticket } from './accountant/ticket';
|
|
5
|
-
import {
|
|
6
|
-
export declare class Message extends
|
|
5
|
+
import { ObservableModel } from '../observable-model';
|
|
6
|
+
export declare class Message extends ObservableModel {
|
|
7
7
|
content?: string;
|
|
8
8
|
readAt?: Date;
|
|
9
9
|
id?: number;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export * from './bank/bank-account-balance';
|
|
2
|
+
export * from './bank/bank-account-property';
|
|
3
|
+
export * from './bank/bank-account';
|
|
4
|
+
export * from './bank/bank-connection';
|
|
5
|
+
export * from './bank/bank-transaction-import';
|
|
6
|
+
export * from './bank/bank-transaction-rule';
|
|
7
|
+
export * from './bank/bank-transaction';
|
|
8
|
+
export * from './bank/bank';
|
|
9
|
+
export * from './bank/basiq-job';
|
|
10
|
+
export * from './bank/financial-data-system';
|
|
11
|
+
export * from './chart-accounts/chart-accounts-depreciation';
|
|
12
|
+
export * from './chart-accounts/chart-accounts-heading';
|
|
13
|
+
export * from './chart-accounts/chart-accounts-metadata';
|
|
14
|
+
export * from './chart-accounts/chart-accounts-value';
|
|
15
|
+
export * from './chart-accounts/chart-accounts';
|
|
16
|
+
export * from './depreciation/depreciation-capital-project';
|
|
17
|
+
export * from './depreciation/depreciation-forecast';
|
|
18
|
+
export * from './depreciation/depreciation-receipt';
|
|
19
|
+
export * from './depreciation/depreciation';
|
|
20
|
+
export * from './document/document-base';
|
|
21
|
+
export * from './document/document-folder';
|
|
22
|
+
export * from './document/document';
|
|
23
|
+
export * from './document/property-document';
|
|
24
|
+
export * from './firm/accountant/tax-review';
|
|
25
|
+
export * from './firm/accountant/ticket';
|
|
26
|
+
export * from './firm/chat';
|
|
27
|
+
export * from './firm/client-invite';
|
|
28
|
+
export * from './firm/client-movement';
|
|
29
|
+
export * from './firm/employee-invite';
|
|
30
|
+
export * from './firm/firm-invite';
|
|
31
|
+
export * from './firm/firm';
|
|
32
|
+
export * from './firm/message-document';
|
|
33
|
+
export * from './firm/message';
|
|
34
|
+
export * from './incomeSource/income-source-forecast';
|
|
35
|
+
export * from './incomeSource/income-source-type';
|
|
36
|
+
export * from './incomeSource/income-source';
|
|
37
|
+
export * from './incomeSource/salary-forecast';
|
|
38
|
+
export * from './loan/borrowing-expense-loan';
|
|
39
|
+
export * from './loan/borrowing-expense';
|
|
40
|
+
export * from './loan/loan-payout';
|
|
41
|
+
export * from './loan/loan';
|
|
42
|
+
export * from './property/property-sale/property-sale-tax-exemption-metadata';
|
|
43
|
+
export * from './property/property-sale/property-sale';
|
|
44
|
+
export * from './property/property-sale/tax-exemption-metadata';
|
|
45
|
+
export * from './property/property-sale/tax-exemption';
|
|
46
|
+
export * from './property/property-category-movement';
|
|
47
|
+
export * from './property/property-category';
|
|
48
|
+
export * from './property/property-forecast';
|
|
49
|
+
export * from './property/property-share';
|
|
50
|
+
export * from './property/property-subscription';
|
|
51
|
+
export * from './property/property-valuation';
|
|
52
|
+
export * from './property/property';
|
|
53
|
+
export * from './sole/bas-report';
|
|
54
|
+
export * from './sole/sole-business-activity';
|
|
55
|
+
export * from './sole/sole-business-allocation';
|
|
56
|
+
export * from './sole/sole-business-loss-offset-rule';
|
|
57
|
+
export * from './sole/sole-business-loss';
|
|
58
|
+
export * from './sole/sole-business';
|
|
59
|
+
export * from './sole/sole-contact';
|
|
60
|
+
export * from './sole/sole-depreciation-method';
|
|
61
|
+
export * from './sole/sole-details';
|
|
62
|
+
export * from './sole/sole-forecast';
|
|
63
|
+
export * from './sole/sole-invoice-item';
|
|
64
|
+
export * from './sole/sole-invoice-template';
|
|
65
|
+
export * from './sole/sole-invoice';
|
|
66
|
+
export * from './spare/spare-document-category';
|
|
67
|
+
export * from './spare/spare-document';
|
|
68
|
+
export * from './subscription/service-payment';
|
|
69
|
+
export * from './subscription/service-price';
|
|
70
|
+
export * from './subscription/service-product';
|
|
71
|
+
export * from './subscription/service-subscription-item';
|
|
72
|
+
export * from './subscription/service-subscription';
|
|
73
|
+
export * from './tax-return/tax-return-category';
|
|
74
|
+
export * from './tax-return/tax-return-category';
|
|
75
|
+
export * from './tax-return/tax-return';
|
|
76
|
+
export * from './transaction/transaction-allocation';
|
|
77
|
+
export * from './transaction/transaction-base';
|
|
78
|
+
export * from './transaction/transaction-metadata';
|
|
79
|
+
export * from './transaction/transaction-receipt';
|
|
80
|
+
export * from './transaction/transaction';
|
|
81
|
+
export * from './user/client-details';
|
|
82
|
+
export * from './user/client-income-types';
|
|
83
|
+
export * from './user/employee-details';
|
|
84
|
+
export * from './user/occupation';
|
|
85
|
+
export * from './user/registration-invite';
|
|
86
|
+
export * from './user/user-event-setting';
|
|
87
|
+
export * from './user/user-event-type-category';
|
|
88
|
+
export * from './user/user-event-type';
|
|
89
|
+
export * from './user/user-event';
|
|
90
|
+
export * from './user/user';
|
|
91
|
+
export * from './vehicle/vehicle-claim-details';
|
|
92
|
+
export * from './vehicle/vehicle-claim';
|
|
93
|
+
export * from './vehicle/vehicle-logbook';
|
|
94
|
+
export * from './vehicle/vehicle';
|
|
95
|
+
export * from './abstract-model';
|
|
96
|
+
export * from './address';
|
|
97
|
+
export * from './country';
|
|
98
|
+
export * from './observable-model';
|
|
99
|
+
export * from './phone';
|
|
100
|
+
export * from './service-notification';
|
|
101
|
+
export * from './tax-calculation';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LoanPayoutTypeEnum } from '../../Enums/loan-payout-type.enum';
|
|
2
2
|
import { Loan } from './loan';
|
|
3
|
-
import {
|
|
4
|
-
export declare class LoanPayout extends
|
|
3
|
+
import { ObservableModel } from '../observable-model';
|
|
4
|
+
export declare class LoanPayout extends ObservableModel {
|
|
5
5
|
id?: number;
|
|
6
6
|
type?: LoanPayoutTypeEnum;
|
|
7
7
|
date?: Date;
|
|
@@ -7,8 +7,8 @@ import { BankAccount } from '../bank/bank-account';
|
|
|
7
7
|
import { BorrowingExpenseLoan } from './borrowing-expense-loan';
|
|
8
8
|
import { LoanPayout } from './loan-payout';
|
|
9
9
|
import { Transaction } from '../transaction/transaction';
|
|
10
|
-
import {
|
|
11
|
-
export declare class Loan extends
|
|
10
|
+
import { ObservableModel } from '../observable-model';
|
|
11
|
+
export declare class Loan extends ObservableModel {
|
|
12
12
|
id?: number;
|
|
13
13
|
amount?: number;
|
|
14
14
|
availableRedraw?: number;
|
|
@@ -2,8 +2,8 @@ import { Property } from './property';
|
|
|
2
2
|
import { PropertyCategory } from './property-category';
|
|
3
3
|
import { PropertyValuation } from './property-valuation';
|
|
4
4
|
import { User } from '../user/user';
|
|
5
|
-
import {
|
|
6
|
-
export declare class PropertyCategoryMovement extends
|
|
5
|
+
import { ObservableModel } from '../observable-model';
|
|
6
|
+
export declare class PropertyCategoryMovement extends ObservableModel {
|
|
7
7
|
id?: number;
|
|
8
8
|
fromDate?: Date;
|
|
9
9
|
toDate?: Date;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { User } from '../user/user';
|
|
2
2
|
import { Property } from './property';
|
|
3
|
-
import {
|
|
4
|
-
export declare class PropertyCategory extends
|
|
3
|
+
import { ObservableModel } from '../observable-model';
|
|
4
|
+
export declare class PropertyCategory extends ObservableModel {
|
|
5
5
|
id?: number;
|
|
6
6
|
name?: string;
|
|
7
7
|
isTaxInclusive?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TaxExemption } from './tax-exemption';
|
|
2
2
|
import { TaxExemptionMetadata } from './tax-exemption-metadata';
|
|
3
3
|
import { PropertyShare } from '../property-share';
|
|
4
|
-
import {
|
|
5
|
-
export declare class PropertySale extends
|
|
4
|
+
import { ObservableModel } from '../../observable-model';
|
|
5
|
+
export declare class PropertySale extends ObservableModel {
|
|
6
6
|
id?: number;
|
|
7
7
|
holdingCosts?: number;
|
|
8
8
|
structuralImprovementsWDV?: number;
|
|
@@ -3,9 +3,9 @@ import { PropertyShareAccessEnum } from '../../Enums/property/property-share-acc
|
|
|
3
3
|
import { Property } from './property';
|
|
4
4
|
import { User } from '../user/user';
|
|
5
5
|
import { RegistrationInvite } from '../user/registration-invite';
|
|
6
|
-
import { AbstractModel } from '../abstract-model';
|
|
7
6
|
import { PropertySale } from './property-sale/property-sale';
|
|
8
|
-
|
|
7
|
+
import { ObservableModel } from '../observable-model';
|
|
8
|
+
export declare class PropertyShare extends ObservableModel {
|
|
9
9
|
id?: number;
|
|
10
10
|
email?: string;
|
|
11
11
|
firstName?: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SpareDocumentSpareTypeEnum } from '../../Enums/spare-document-spare-type.enum';
|
|
2
|
+
import { User } from '../user/user';
|
|
3
|
+
import { SpareDocumentCategory } from './spare-document-category';
|
|
4
|
+
import { AbstractModel } from '../abstract-model';
|
|
5
|
+
export declare class SpareDocument extends AbstractModel {
|
|
6
|
+
spareType?: SpareDocumentSpareTypeEnum;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
originalName?: string;
|
|
10
|
+
id?: number;
|
|
11
|
+
deletedAt?: Date;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
user?: User;
|
|
15
|
+
spareDocumentCategory?: SpareDocumentCategory;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TaxCalculationTypeEnum } from '../Enums/tax-calculation-type.enum';
|
|
2
|
+
import { TaxCalculationMedicareExemptionEnum } from '../Enums/tax-calculation-medicare-exemption.enum';
|
|
3
|
+
import { AbstractModel } from './abstract-model';
|
|
4
|
+
export declare class TaxCalculation extends AbstractModel {
|
|
5
|
+
type?: TaxCalculationTypeEnum;
|
|
6
|
+
financialYear?: number;
|
|
7
|
+
fromDate?: Date;
|
|
8
|
+
amount?: number;
|
|
9
|
+
percent?: number;
|
|
10
|
+
limit?: number;
|
|
11
|
+
isAustralianResident?: boolean;
|
|
12
|
+
isTaxFreeThreshold?: boolean;
|
|
13
|
+
medicareExemption?: TaxCalculationMedicareExemptionEnum;
|
|
14
|
+
isUnderPreservationAge?: boolean;
|
|
15
|
+
id?: number;
|
|
16
|
+
deletedAt?: Date;
|
|
17
|
+
createdAt?: Date;
|
|
18
|
+
updatedAt?: Date;
|
|
19
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Property } from '../property/property';
|
|
2
2
|
import { ChartAccounts as ChartAccountsBase } from '../chart-accounts/chart-accounts';
|
|
3
|
-
import { AbstractModel } from '../abstract-model';
|
|
4
3
|
import { SoleBusiness } from '../sole/sole-business';
|
|
5
4
|
import { TankTypeEnum } from '../../Enums/tank-type.enum';
|
|
6
|
-
|
|
5
|
+
import { ObservableModel } from '../observable-model';
|
|
6
|
+
export declare class TransactionBase extends ObservableModel {
|
|
7
7
|
id?: number;
|
|
8
8
|
amount?: number;
|
|
9
9
|
property?: Property;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './asset-entity-type.enum';
|
|
2
|
+
export * from './asset-type.enum';
|
|
3
|
+
export * from './asset.interface';
|
|
4
|
+
export * from './auth-tokens.interface';
|
|
5
|
+
export * from './chart-data.interface';
|
|
6
|
+
export * from './chart-serie.interface';
|
|
7
|
+
export * from './document.interface';
|
|
8
|
+
export * from './documentable.interface';
|
|
9
|
+
export * from './event-listener.interface';
|
|
10
|
+
export * from './expense.interface';
|
|
11
|
+
export * from './income-source-forecast.interface';
|
|
12
|
+
export * from './option.interface';
|
|
13
|
+
export * from './photoable';
|
|
14
|
+
export * from './receipt.interface';
|
|
15
|
+
export * from './table-exportable.interface';
|
|
16
|
+
export * from './tank.interface';
|
|
17
|
+
export * from './updatable.interface';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AbstractModel } from "../../../db/Models";
|
|
1
2
|
/**
|
|
2
3
|
* access token, needed to access basiq connect ui (https://github.com/basiqio/basiq-connect-ui)
|
|
3
4
|
*/
|
|
4
|
-
export declare class BasiqToken {
|
|
5
|
+
export declare class BasiqToken extends AbstractModel {
|
|
5
6
|
value: string;
|
|
6
7
|
expiresAt: Date;
|
|
7
8
|
constructor(value: string, expiresAt: Date);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './chart-accounts';
|
|
2
1
|
export * from './chart-accounts-categories.const';
|
|
3
2
|
export * from './chart-accounts-category.e-collection';
|
|
4
3
|
export * from './chart-accounts-depreciation';
|
|
@@ -6,3 +5,4 @@ export * from './chart-accounts-heading';
|
|
|
6
5
|
export * from './chart-accounts-metadata';
|
|
7
6
|
export * from './chart-accounts-tax-labels.enum';
|
|
8
7
|
export * from './chart-accounts-value';
|
|
8
|
+
export * from './chart-accounts';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './depreciation-capital-project';
|
|
2
|
+
export * from './depreciation-forecast';
|
|
3
|
+
export * from './depreciation-group-item';
|
|
4
|
+
export * from './depreciation-group.enum';
|
|
5
|
+
export * from './depreciation-group';
|
|
6
|
+
export * from './depreciation-groups.const';
|
|
7
|
+
export * from './depreciation-lvp-rate.enum';
|
|
8
|
+
export * from './depreciation-receipt';
|
|
9
|
+
export * from './depreciation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dictionary';
|