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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Message as MessageBase } from '../../../db/Models';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Message } from '../../../models';
|
|
4
|
+
import { RestMethod, RestService } from '../rest';
|
|
5
|
+
import { EventDispatcherService, SseService } from '../../event';
|
|
6
|
+
import { MessageCollection } from '../../../collections';
|
|
7
|
+
import { IEventListener } from '../../../interfaces';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* Service for work with messages
|
|
12
|
+
*/
|
|
13
|
+
export declare class MessageService extends RestService<MessageBase, Message, MessageCollection> implements IEventListener {
|
|
14
|
+
protected http: HttpClient;
|
|
15
|
+
protected eventDispatcherService: EventDispatcherService;
|
|
16
|
+
protected environment: any;
|
|
17
|
+
private sseService;
|
|
18
|
+
modelClass: typeof Message;
|
|
19
|
+
collectionClass: typeof MessageCollection;
|
|
20
|
+
endpointUri: string;
|
|
21
|
+
isApiPlatform: boolean;
|
|
22
|
+
disabledMethods: RestMethod[];
|
|
23
|
+
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any, sseService: SseService);
|
|
24
|
+
/**
|
|
25
|
+
* Overwrite default methods because we need to handle messages via SSE events only
|
|
26
|
+
*/
|
|
27
|
+
post(message: Message): Observable<Message>;
|
|
28
|
+
/**
|
|
29
|
+
* Overwrite default methods because we need to handle messages via SSE events only
|
|
30
|
+
*/
|
|
31
|
+
put(message: Message): Observable<Message>;
|
|
32
|
+
/**
|
|
33
|
+
* subscribe to new chat messages
|
|
34
|
+
*/
|
|
35
|
+
private listenMessages;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
38
|
+
}
|
|
@@ -1,32 +1,22 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { Depreciation as DepreciationBase } from '../../../db/Models
|
|
3
|
-
import { RestService } from '../rest
|
|
4
|
-
import { Depreciation } from '../../../models
|
|
2
|
+
import { Depreciation as DepreciationBase } from '../../../db/Models';
|
|
3
|
+
import { RestMethod, RestService } from '../rest';
|
|
4
|
+
import { Depreciation } from '../../../models';
|
|
5
|
+
import { DepreciationCollection } from '../../../collections';
|
|
5
6
|
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { EventDispatcherService } from '../../event
|
|
7
|
-
import { ToastService } from '../../toast/toast.service';
|
|
8
|
-
import { DepreciationReceiptService } from './depreciation-receipt/depreciation-receipt.service';
|
|
7
|
+
import { EventDispatcherService } from '../../event';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class DepreciationService extends RestService<DepreciationBase, Depreciation> {
|
|
9
|
+
export declare class DepreciationService extends RestService<DepreciationBase, Depreciation, DepreciationCollection> {
|
|
11
10
|
protected http: HttpClient;
|
|
12
11
|
protected eventDispatcherService: EventDispatcherService;
|
|
13
12
|
protected environment: any;
|
|
14
|
-
protected toastService: ToastService;
|
|
15
|
-
private depreciationReceiptService;
|
|
16
13
|
modelClass: typeof Depreciation;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
add(depreciation: Depreciation): Observable<Depreciation>;
|
|
24
|
-
/**
|
|
25
|
-
* Add multiple depreciations
|
|
26
|
-
* @TODO add auto-generation for events
|
|
27
|
-
*/
|
|
28
|
-
addBatch(depreciations: Depreciation[]): Observable<Depreciation[]>;
|
|
29
|
-
update(depreciation: Depreciation): Observable<Depreciation>;
|
|
14
|
+
collectionClass: typeof DepreciationCollection;
|
|
15
|
+
endpointUri: string;
|
|
16
|
+
disabledMethods: RestMethod[];
|
|
17
|
+
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
|
|
18
|
+
postBatch(depreciations: Depreciation[]): Observable<Depreciation[]>;
|
|
19
|
+
put(depreciation: Depreciation): Observable<Depreciation>;
|
|
30
20
|
/**
|
|
31
21
|
* Listen to Depreciations events
|
|
32
22
|
*/
|
|
@@ -46,7 +36,6 @@ export declare class DepreciationService extends RestService<DepreciationBase, D
|
|
|
46
36
|
* Listen to EventDispatcherService event related to updated vehicle claim
|
|
47
37
|
*/
|
|
48
38
|
private listenVehicleClaimChanges;
|
|
49
|
-
private replaceInCache;
|
|
50
39
|
/**
|
|
51
40
|
* @TODO Alex: create common method resetCacheOn(events: AppEventType[])
|
|
52
41
|
*/
|
|
@@ -3,6 +3,9 @@ import { HttpClient } from '@angular/common/http';
|
|
|
3
3
|
import { BorrowingExpense } from '../../../../models/borrowing-expense/borrowing-expense';
|
|
4
4
|
import { Loan } from '../../../../models/loan/loan';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* @TODO Alex (TT-1777): Refactor with rest service
|
|
8
|
+
*/
|
|
6
9
|
export declare class BorrowingExpenseService {
|
|
7
10
|
private http;
|
|
8
11
|
protected environment: any;
|
|
@@ -1,56 +1,43 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { Loan as LoanBase } from '../../../db/Models
|
|
3
|
-
import { RestService } from '../rest
|
|
4
|
-
import { Loan } from '../../../models
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { Loan as LoanBase } from '../../../db/Models';
|
|
3
|
+
import { RestMethod, RestService } from '../rest';
|
|
4
|
+
import { Loan, LoanPayout } from '../../../models';
|
|
5
|
+
import { IEventListener } from '../../../interfaces';
|
|
6
|
+
import { LoanCollection } from '../../../collections';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Service that handling loans logic
|
|
10
10
|
*/
|
|
11
|
-
export declare class LoanService extends RestService<LoanBase, Loan> implements IEventListener {
|
|
12
|
-
|
|
11
|
+
export declare class LoanService extends RestService<LoanBase, Loan, LoanCollection> implements IEventListener {
|
|
12
|
+
endpointUri: string;
|
|
13
13
|
modelClass: typeof Loan;
|
|
14
|
+
collectionClass: typeof LoanCollection;
|
|
15
|
+
disabledMethods: RestMethod[];
|
|
14
16
|
/**
|
|
15
17
|
* Listen to Loans events
|
|
16
18
|
*/
|
|
17
19
|
listenEvents(): void;
|
|
18
|
-
listenToAddedLoans(): void;
|
|
19
|
-
listenToUpdatedBankAccounts(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Create Loan
|
|
22
|
-
*/
|
|
23
|
-
add(model: Loan): Observable<Loan>;
|
|
24
|
-
/**
|
|
25
|
-
* Updated loan
|
|
26
|
-
* @param loan
|
|
27
|
-
*/
|
|
28
|
-
update(loan: Loan): Observable<Loan>;
|
|
29
|
-
/**
|
|
30
|
-
* Get list of vehicle loans
|
|
31
|
-
*/
|
|
32
|
-
getVehicleLoans(): Observable<Loan[]>;
|
|
33
20
|
/**
|
|
34
21
|
* Calculate loan payments
|
|
35
|
-
* @param loan
|
|
36
22
|
*/
|
|
37
23
|
calculateLoanPayments(loan: Loan): Observable<any>;
|
|
38
24
|
/**
|
|
39
25
|
* Add new loan payout
|
|
40
|
-
* @
|
|
41
|
-
* @
|
|
26
|
+
* @TODO Vik (TT-2670): fix api (remove loan id from URL)
|
|
27
|
+
* @TODO Alex: move to separated service
|
|
42
28
|
*/
|
|
43
29
|
addPayoutLoan(loan: Loan, paidOutLoan: LoanPayout): Observable<any>;
|
|
44
30
|
/**
|
|
45
31
|
* Delete loan payout
|
|
46
|
-
* @
|
|
47
|
-
* @
|
|
32
|
+
* @TODO (TT-2670): Vik: fix api (remove loan id from URL)
|
|
33
|
+
* @TODO Alex: move to separated service
|
|
48
34
|
*/
|
|
49
35
|
deletePayoutLoan(loan: Loan, payout: LoanPayout): Observable<any>;
|
|
50
36
|
/**
|
|
51
37
|
* Update loan payout
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
38
|
+
*
|
|
39
|
+
* @TODO Vik (TT-2670): fix api (remove loan id from URL)
|
|
40
|
+
* @TODO Alex: move to separated service
|
|
54
41
|
*/
|
|
55
42
|
updatePayoutLoan(loan: Loan, paidOutLoan: LoanPayout): Observable<any>;
|
|
56
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoanService, never>;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { PropertyCategory as PropertyCategoryBase } from '../../../../db/Models
|
|
2
|
-
import { RestService } from '../../rest
|
|
3
|
-
import { PropertyCategory } from '../../../../models
|
|
1
|
+
import { PropertyCategory as PropertyCategoryBase } from '../../../../db/Models';
|
|
2
|
+
import { RestMethod, RestService } from '../../rest';
|
|
3
|
+
import { PropertyCategory } from '../../../../models';
|
|
4
|
+
import { Collection } from '../../../../collections';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* Service for work with Property Categories
|
|
7
8
|
*/
|
|
8
|
-
export declare class PropertyCategoryService extends RestService<PropertyCategoryBase, PropertyCategory
|
|
9
|
+
export declare class PropertyCategoryService extends RestService<PropertyCategoryBase, PropertyCategory, Collection<PropertyCategory>> {
|
|
9
10
|
modelClass: typeof PropertyCategory;
|
|
10
|
-
|
|
11
|
+
collectionClass: typeof Collection;
|
|
12
|
+
endpointUri: string;
|
|
13
|
+
disabledMethods: RestMethod[];
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyCategoryService, never>;
|
|
12
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyCategoryService>;
|
|
13
16
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { PropertyCategoryMovement } from '../../../../models
|
|
2
|
-
import { PropertyCategoryMovement as PropertyCategoryMovementBase } from '../../../../db/Models
|
|
3
|
-
import { RestService } from '../../rest
|
|
4
|
-
import {
|
|
1
|
+
import { PropertyCategoryMovement } from '../../../../models';
|
|
2
|
+
import { PropertyCategoryMovement as PropertyCategoryMovementBase } from '../../../../db/Models';
|
|
3
|
+
import { RestMethod, RestService } from '../../rest';
|
|
4
|
+
import { PropertyCategoryMovementCollection } from '../../../../collections';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PropertyCategoryMovementService extends RestService<PropertyCategoryMovementBase, PropertyCategoryMovement> {
|
|
6
|
+
export declare class PropertyCategoryMovementService extends RestService<PropertyCategoryMovementBase, PropertyCategoryMovement, PropertyCategoryMovementCollection> {
|
|
7
7
|
modelClass: typeof PropertyCategoryMovement;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
delete(model: PropertyCategoryMovement): Observable<void>;
|
|
12
|
-
getByPropertyId(id: number): Observable<PropertyCategoryMovement[]>;
|
|
8
|
+
collectionClass: typeof PropertyCategoryMovementCollection;
|
|
9
|
+
endpointUri: string;
|
|
10
|
+
disabledMethods: RestMethod[];
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyCategoryMovementService, never>;
|
|
14
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyCategoryMovementService>;
|
|
15
13
|
}
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { PropertyDocument as PropertyDocumentBase } from '../../../../db/Models
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { IEventListener } from '../../../../interfaces
|
|
2
|
+
import { PropertyDocument as PropertyDocumentBase } from '../../../../db/Models';
|
|
3
|
+
import { RestMethod, RestService } from '../../rest';
|
|
4
|
+
import { PropertyDocument } from '../../../../models';
|
|
5
|
+
import { IEventListener } from '../../../../interfaces';
|
|
6
|
+
import { Collection } from '../../../../collections';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Class for work with Property Documents
|
|
9
10
|
*/
|
|
10
|
-
export declare class PropertyDocumentService extends RestService<PropertyDocumentBase, PropertyDocument
|
|
11
|
+
export declare class PropertyDocumentService extends RestService<PropertyDocumentBase, PropertyDocument, Collection<PropertyDocument>> implements IEventListener {
|
|
11
12
|
modelClass: typeof PropertyDocument;
|
|
12
|
-
|
|
13
|
+
collectionClass: typeof Collection;
|
|
14
|
+
endpointUri: string;
|
|
15
|
+
disabledMethods: RestMethod[];
|
|
13
16
|
/**
|
|
14
17
|
* Add new Property Document
|
|
15
18
|
*/
|
|
16
19
|
upload(file: File, propertyId: number): Observable<PropertyDocument>;
|
|
17
|
-
/**
|
|
18
|
-
* Get documents by property id
|
|
19
|
-
* @param propertyId to get desired documents
|
|
20
|
-
*/
|
|
21
|
-
getByPropertyId(propertyId: number): Observable<PropertyDocument[]>;
|
|
22
20
|
listenEvents(): void;
|
|
23
21
|
private listenPropertyUpdateWithDocument;
|
|
24
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyDocumentService, never>;
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import { PropertySale as PropertySaleBase } from '../../../../db/Models
|
|
2
|
-
import { PropertySale } from '../../../../models
|
|
3
|
-
import { RestService } from '../../rest
|
|
4
|
-
import {
|
|
1
|
+
import { PropertySale as PropertySaleBase } from '../../../../db/Models';
|
|
2
|
+
import { PropertySale } from '../../../../models';
|
|
3
|
+
import { RestMethod, RestService } from '../../rest';
|
|
4
|
+
import { PropertySaleCollection } from '../../../../collections';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PropertySaleService extends RestService<PropertySaleBase, PropertySale> {
|
|
6
|
+
export declare class PropertySaleService extends RestService<PropertySaleBase, PropertySale, PropertySaleCollection> {
|
|
7
7
|
modelClass: typeof PropertySale;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
add(model: PropertySale): Observable<PropertySale>;
|
|
13
|
-
/**
|
|
14
|
-
* @Todo should be extended from the RestService
|
|
15
|
-
*/
|
|
16
|
-
delete(model: PropertySale): Observable<void>;
|
|
8
|
+
collectionClass: typeof PropertySaleCollection;
|
|
9
|
+
endpointUri: string;
|
|
10
|
+
disabledMethods: RestMethod[];
|
|
17
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertySaleService, never>;
|
|
18
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertySaleService>;
|
|
19
13
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { RestService } from '../../../rest
|
|
2
|
-
import { TaxExemption as BaseTaxExemption } from '../../../../../db/Models
|
|
3
|
-
import { TaxExemption } from '../../../../../models
|
|
1
|
+
import { RestMethod, RestService } from '../../../rest';
|
|
2
|
+
import { TaxExemption as BaseTaxExemption } from '../../../../../db/Models';
|
|
3
|
+
import { TaxExemption } from '../../../../../models';
|
|
4
|
+
import { Collection } from '../../../../../collections';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TaxExemptionService extends RestService<BaseTaxExemption, TaxExemption
|
|
6
|
+
export declare class TaxExemptionService extends RestService<BaseTaxExemption, TaxExemption, Collection<TaxExemption>> {
|
|
6
7
|
modelClass: typeof TaxExemption;
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
collectionClass: typeof Collection;
|
|
9
|
+
endpointUri: string;
|
|
10
|
+
isApiPlatform: boolean;
|
|
11
|
+
disabledMethods: RestMethod[];
|
|
9
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaxExemptionService, never>;
|
|
10
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<TaxExemptionService>;
|
|
11
14
|
}
|
|
@@ -1,35 +1,24 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { PropertyShare as PropertyShareBase } from '../../../../db/Models
|
|
3
|
-
import { PropertyShare } from '../../../../models
|
|
4
|
-
import { RestService } from '../../rest
|
|
5
|
-
import { IEventListener } from '../../../../interfaces
|
|
2
|
+
import { PropertyShare as PropertyShareBase } from '../../../../db/Models';
|
|
3
|
+
import { PropertyShare } from '../../../../models';
|
|
4
|
+
import { RestMethod, RestService } from '../../rest';
|
|
5
|
+
import { IEventListener } from '../../../../interfaces';
|
|
6
|
+
import { PropertyShareCollection } from '../../../../collections';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class PropertyShareService extends RestService<PropertyShareBase, PropertyShare> implements IEventListener {
|
|
8
|
-
|
|
8
|
+
export declare class PropertyShareService extends RestService<PropertyShareBase, PropertyShare, PropertyShareCollection> implements IEventListener {
|
|
9
|
+
endpointUri: string;
|
|
9
10
|
modelClass: typeof PropertyShare;
|
|
11
|
+
collectionClass: typeof PropertyShareCollection;
|
|
12
|
+
disabledMethods: RestMethod[];
|
|
10
13
|
/**
|
|
11
14
|
* Listen to Event Dispatcher events
|
|
12
15
|
*/
|
|
13
16
|
listenEvents(): void;
|
|
14
|
-
/**
|
|
15
|
-
* Updated loan
|
|
16
|
-
*/
|
|
17
|
-
update(propertyShare: PropertyShare): Observable<PropertyShare>;
|
|
18
17
|
/**
|
|
19
18
|
* Re-invite property share
|
|
20
19
|
* @param share user to share property
|
|
21
20
|
*/
|
|
22
21
|
reinvite(share: PropertyShare): Observable<object>;
|
|
23
|
-
getIncoming(): Observable<PropertyShare[]>;
|
|
24
|
-
/**
|
|
25
|
-
* Get outcoming property shares list
|
|
26
|
-
*/
|
|
27
|
-
getOutcoming(): Observable<PropertyShare[]>;
|
|
28
|
-
/**
|
|
29
|
-
* Filter outcoming property shares
|
|
30
|
-
*/
|
|
31
|
-
filterOutcoming(propertyShares: PropertyShare[]): PropertyShare[];
|
|
32
|
-
getByPropertyId(propertyId: number): Observable<PropertyShare[]>;
|
|
33
22
|
/**
|
|
34
23
|
* Listen to User updated event
|
|
35
24
|
*/
|
|
@@ -37,8 +26,7 @@ export declare class PropertyShareService extends RestService<PropertyShareBase,
|
|
|
37
26
|
/**
|
|
38
27
|
* @Todo Alex refactor after PropertyShare functionality in PropertyService will be cleared up
|
|
39
28
|
*/
|
|
40
|
-
private
|
|
41
|
-
private listenSalesDeleted;
|
|
29
|
+
private listenSalesChanges;
|
|
42
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyShareService, never>;
|
|
43
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyShareService>;
|
|
44
32
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Property as PropertyBase } from '../../../db/Models
|
|
1
|
+
import { Property as PropertyBase } from '../../../db/Models';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { Property } from '../../../models
|
|
4
|
-
import { IEventListener } from '../../../interfaces
|
|
5
|
-
import { RestService } from '../rest
|
|
3
|
+
import { Property } from '../../../models';
|
|
4
|
+
import { IEventListener } from '../../../interfaces';
|
|
5
|
+
import { RestMethod, RestService } from '../rest';
|
|
6
6
|
import { PropertyCollection } from '../../../collections';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
@@ -13,7 +13,8 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
export declare class PropertyService extends RestService<PropertyBase, Property, PropertyCollection> implements IEventListener {
|
|
14
14
|
modelClass: typeof Property;
|
|
15
15
|
collectionClass: typeof PropertyCollection;
|
|
16
|
-
|
|
16
|
+
endpointUri: string;
|
|
17
|
+
disabledMethods: RestMethod[];
|
|
17
18
|
post(property: Property): Observable<Property>;
|
|
18
19
|
listenEvents(): void;
|
|
19
20
|
/**
|
|
@@ -23,12 +24,11 @@ export declare class PropertyService extends RestService<PropertyBase, Property,
|
|
|
23
24
|
/**
|
|
24
25
|
* Update cache when property category changed
|
|
25
26
|
*/
|
|
26
|
-
private
|
|
27
|
+
private listenMovementsChanges;
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* Update cache when property sales changed
|
|
29
30
|
*/
|
|
30
|
-
private
|
|
31
|
-
private listenSalesDeleted;
|
|
31
|
+
private listenSalesChanges;
|
|
32
32
|
updateDepreciationCalculation(property: Property): Observable<void>;
|
|
33
33
|
/**
|
|
34
34
|
* Activate deactivated property
|
|
@@ -22,7 +22,7 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
|
|
|
22
22
|
/**
|
|
23
23
|
* Url part for service entity API
|
|
24
24
|
*/
|
|
25
|
-
protected abstract
|
|
25
|
+
protected abstract endpointUri: string;
|
|
26
26
|
/**
|
|
27
27
|
* Model class for instances creating
|
|
28
28
|
*/
|
|
@@ -45,12 +45,14 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
|
|
|
45
45
|
protected isApiPlatform: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* List of methods unavailable for current API
|
|
48
|
+
* @TODO Alex: add and handle enabled methods too
|
|
48
49
|
*/
|
|
49
50
|
disabledMethods: RestMethod[];
|
|
50
51
|
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
|
|
51
52
|
protected get apiUrl(): string;
|
|
52
53
|
get(): Observable<CollectionModel>;
|
|
53
54
|
getSingle(): Observable<Model>;
|
|
55
|
+
getArray(): Observable<Model[]>;
|
|
54
56
|
/**
|
|
55
57
|
* Create a new Model instance in database
|
|
56
58
|
*/
|
|
@@ -86,7 +88,7 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
|
|
|
86
88
|
/**
|
|
87
89
|
* Handle response data - update cache and dispatch event if it is needed
|
|
88
90
|
*/
|
|
89
|
-
|
|
91
|
+
handleResponse(response: Model[], method: HttpMethod): void;
|
|
90
92
|
/**
|
|
91
93
|
* Update cache with passed items. Add/Update detects automatically, Delete via optional flag
|
|
92
94
|
*/
|
|
@@ -108,12 +110,13 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
|
|
|
108
110
|
*/
|
|
109
111
|
private handleAccessError;
|
|
110
112
|
/**
|
|
111
|
-
* Subscribe to http events and run callback
|
|
113
|
+
* Subscribe to http events and run callback.
|
|
114
|
+
* CSE - Cleint Sent Events
|
|
112
115
|
* @param type The class whose changes should be listened for
|
|
113
116
|
* @param methods The list of http methods should be listened for
|
|
114
117
|
* @param callback The function to be called when event triggered
|
|
115
118
|
*/
|
|
116
|
-
protected listenCSE(modelClass: typeof ObservableModel, methods:
|
|
119
|
+
protected listenCSE(modelClass: typeof ObservableModel, methods: HttpMethod[], callback: Function): void;
|
|
117
120
|
/**
|
|
118
121
|
* Method that call all listeners. Empty by default. Should be redefined by child services if required
|
|
119
122
|
*/
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { PropertyService, TransactionService, DepreciationService, ChartAccountsService } from '../../http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { Property } from '../../../models/property/property';
|
|
4
|
-
import { ChartAccounts } from '../../../models';
|
|
5
4
|
import { DepreciationCollection } from '../../../collections/depreciation.collection';
|
|
6
|
-
import { Collection } from '../../../collections';
|
|
7
5
|
import { CollectionDictionary } from '../../../collections/collection-dictionary';
|
|
8
6
|
import { TransactionCollection } from '../../../collections';
|
|
9
7
|
import { PropertyReportItemCollection } from '../../../collections/report/property/property-report-item.collection';
|
|
8
|
+
import { ChartAccountsCollection } from '../../../collections/chart-accounts.collection';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
/**
|
|
12
11
|
* Service to handle Property transactions report items data (get income / expense report items, e.t.c.)
|
|
@@ -19,7 +18,7 @@ export declare class PropertyTransactionReportService {
|
|
|
19
18
|
properties: Property[];
|
|
20
19
|
transactions: TransactionCollection;
|
|
21
20
|
depreciations: DepreciationCollection;
|
|
22
|
-
chartAccounts:
|
|
21
|
+
chartAccounts: ChartAccountsCollection;
|
|
23
22
|
constructor(propertyService: PropertyService, transactionService: TransactionService, depreciationService: DepreciationService, chartAccountsService: ChartAccountsService);
|
|
24
23
|
/**
|
|
25
24
|
* Get collection of report items based on transactions & depreciations
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -6,37 +6,6 @@ export * from './lib/tt-core.module';
|
|
|
6
6
|
* Collections
|
|
7
7
|
*/
|
|
8
8
|
export * from './lib/collections';
|
|
9
|
-
export * from './lib/collections/collection';
|
|
10
|
-
export * from './lib/collections/account-setup-item.collection';
|
|
11
|
-
export * from './lib/collections/bank-account.collection';
|
|
12
|
-
export * from './lib/collections/bank-transaction.collection';
|
|
13
|
-
export * from './lib/collections/chart-accounts.collection';
|
|
14
|
-
export * from './lib/collections/chat.collection';
|
|
15
|
-
export * from './lib/collections/client.collection';
|
|
16
|
-
export * from './lib/collections/client-movement.collection';
|
|
17
|
-
export * from './lib/collections/client-portfolio-report.collection';
|
|
18
|
-
export * from './lib/collections/collection-dictionary';
|
|
19
|
-
export * from './lib/collections/depreciation.collection';
|
|
20
|
-
export * from './lib/collections/depreciation-forecast.collection';
|
|
21
|
-
export * from './lib/collections/employee.collection';
|
|
22
|
-
export * from './lib/collections/income-source.collection';
|
|
23
|
-
export * from './lib/collections/loan/loan.collection';
|
|
24
|
-
export * from './lib/collections/loan/loan-payment.collection';
|
|
25
|
-
export * from './lib/collections/message.collection';
|
|
26
|
-
export * from './lib/collections/message-document.collection';
|
|
27
|
-
export * from './lib/collections/report/depreciation/depreciation-lvp-report-item.collection';
|
|
28
|
-
export * from './lib/collections/report/depreciation/depreciation-report-item.collection';
|
|
29
|
-
export * from './lib/collections/report/property/property-report-item.collection';
|
|
30
|
-
export * from './lib/collections/report/property/property-report-item-transaction.collection';
|
|
31
|
-
export * from './lib/collections/report/property/property-report-item-depreciation.collection';
|
|
32
|
-
export * from './lib/collections/report/vehicle-expense/vehicle-expense.collection';
|
|
33
|
-
export * from './lib/collections/subscription/service-subscription.collection';
|
|
34
|
-
export * from './lib/collections/tax-summary/report-item.collection';
|
|
35
|
-
export * from './lib/collections/tax-summary/tax-return-categories.const';
|
|
36
|
-
export * from './lib/collections/tax-review.collection';
|
|
37
|
-
export * from './lib/collections/user-event-setting.collection';
|
|
38
|
-
export * from './lib/collections/exportable.collection';
|
|
39
|
-
export * from './lib/collections/client-invite.collection';
|
|
40
9
|
/**
|
|
41
10
|
* DB models
|
|
42
11
|
*/
|
|
@@ -145,22 +114,8 @@ export * from './lib/models';
|
|
|
145
114
|
export * from './lib/models/account-setup/account-setup-item';
|
|
146
115
|
export * from './lib/models/badge/badge';
|
|
147
116
|
export * from './lib/models/badge/badge-color.enum';
|
|
148
|
-
export * from './lib/models/borrowing-expense/borrowing-expense';
|
|
149
|
-
export * from './lib/models/borrowing-expense/borrowing-expense-loan';
|
|
150
117
|
export * from './lib/models/chart/chart-data';
|
|
151
118
|
export * from './lib/models/chart/chart-serie';
|
|
152
|
-
export * from './lib/models/chart-accounts/chart-accounts';
|
|
153
|
-
export * from './lib/models/chart-accounts/chart-accounts-categories.const';
|
|
154
|
-
export * from './lib/models/chart-accounts/chart-accounts-category.e-collection';
|
|
155
|
-
export * from './lib/models/chart-accounts/chart-accounts-depreciation';
|
|
156
|
-
export * from './lib/models/chart-accounts/chart-accounts-heading';
|
|
157
|
-
export * from './lib/models/chart-accounts/chart-accounts-metadata';
|
|
158
|
-
export * from './lib/models/chart-accounts/chart-accounts-tax-labels.enum';
|
|
159
|
-
export * from './lib/models/chart-accounts/chart-accounts-value';
|
|
160
|
-
export * from './lib/models/chat/chat';
|
|
161
|
-
export * from './lib/models/chat/chat-view-type.enum';
|
|
162
|
-
export * from './lib/models/chat/message';
|
|
163
|
-
export * from './lib/models/chat/message-document';
|
|
164
119
|
export * from './lib/models/client/client-details';
|
|
165
120
|
export * from './lib/models/client/client-income-types';
|
|
166
121
|
export * from './lib/models/client/client-invite';
|
|
@@ -168,16 +123,6 @@ export * from './lib/models/client/client-movement';
|
|
|
168
123
|
export * from './lib/models/client/client-portfolio-chart-data';
|
|
169
124
|
export * from './lib/models/client/client-portfolio-report';
|
|
170
125
|
export * from './lib/models/color/alphabet-colors.enum';
|
|
171
|
-
export * from './lib/models/dictionary/dictionary';
|
|
172
|
-
export * from './lib/models/depreciation/depreciation';
|
|
173
|
-
export * from './lib/models/depreciation/depreciation-capital-project';
|
|
174
|
-
export * from './lib/models/depreciation/depreciation-forecast';
|
|
175
|
-
export * from './lib/models/depreciation/depreciation-group.enum';
|
|
176
|
-
export * from './lib/models/depreciation/depreciation-group';
|
|
177
|
-
export * from './lib/models/depreciation/depreciation-group-item';
|
|
178
|
-
export * from './lib/models/depreciation/depreciation-groups.const';
|
|
179
|
-
export * from './lib/models/depreciation/depreciation-receipt';
|
|
180
|
-
export * from './lib/models/dictionary/dictionary';
|
|
181
126
|
export * from './lib/models/document/document';
|
|
182
127
|
export * from './lib/models/document/document-api-url-prefix.enum';
|
|
183
128
|
export * from './lib/models/document/document-file-types.const';
|
|
@@ -203,30 +148,10 @@ export * from './lib/models/income-source/income-source-forecast';
|
|
|
203
148
|
export * from './lib/models/income-source/income-source-type';
|
|
204
149
|
export * from './lib/models/income-source/salary-forecast';
|
|
205
150
|
export * from './lib/models/income-source/sole-forecast';
|
|
206
|
-
export * from './lib/models/loan/loan';
|
|
207
|
-
export * from './lib/models/loan/loan-max-number-of-payments.enum';
|
|
208
|
-
export * from './lib/models/loan/loan-payment';
|
|
209
|
-
export * from './lib/models/loan/loan-payout';
|
|
210
151
|
export * from './lib/models/notification/notification';
|
|
211
152
|
export * from './lib/models/pdf/pdf-orientation.enum';
|
|
212
153
|
export * from './lib/models/pdf/pdf-settings';
|
|
213
154
|
export * from './lib/models/phone/phone';
|
|
214
|
-
export * from './lib/models/property/calculation-form-item';
|
|
215
|
-
export * from './lib/models/property/calculation-form-type.enum';
|
|
216
|
-
export * from './lib/models/property/capital-costs-itmes.const';
|
|
217
|
-
export * from './lib/models/property/corelogic-suggestion';
|
|
218
|
-
export * from './lib/models/property/share-filter-options.enum';
|
|
219
|
-
export * from './lib/models/property/property';
|
|
220
|
-
export * from './lib/models/property/property-category';
|
|
221
|
-
export * from './lib/models/property/property-category-movement';
|
|
222
|
-
export * from './lib/models/property/property-document';
|
|
223
|
-
export * from './lib/models/property/property-equity-chart-data';
|
|
224
|
-
export * from './lib/models/property/property-equity-chart-item';
|
|
225
|
-
export * from './lib/models/property/property-forecast';
|
|
226
|
-
export * from './lib/models/property/property-share';
|
|
227
|
-
export * from './lib/models/property/property-sale';
|
|
228
|
-
export * from './lib/models/property/property-subscription';
|
|
229
|
-
export * from './lib/models/property/property-valuation';
|
|
230
155
|
export * from './lib/models/registration-invite/registration-invite';
|
|
231
156
|
export * from './lib/models/report';
|
|
232
157
|
export * from './lib/models/service-subscription/module-url-list.const';
|
|
@@ -249,15 +174,6 @@ export * from './lib/models/transaction/transaction-allocation';
|
|
|
249
174
|
export * from './lib/models/transaction/transaction-category.enum';
|
|
250
175
|
export * from './lib/models/transaction/transaction-metadata';
|
|
251
176
|
export * from './lib/models/transaction/transaction-receipt';
|
|
252
|
-
export * from './lib/models/user/my-account-history';
|
|
253
|
-
export * from './lib/models/user/my-account-history-initiated-by.enum';
|
|
254
|
-
export * from './lib/models/user/my-account-history-status.enum';
|
|
255
|
-
export * from './lib/models/user/my-account-history-type.enum';
|
|
256
|
-
export * from './lib/models/user/occupation';
|
|
257
|
-
export * from './lib/models/user/user';
|
|
258
|
-
export * from './lib/models/user/user-roles.const';
|
|
259
|
-
export * from './lib/models/user/user-to-register';
|
|
260
|
-
export * from './lib/models/user/user-work-position.const';
|
|
261
177
|
export * from './lib/models/user-event/user-event-type-category';
|
|
262
178
|
export * from './lib/models/user-event/user-event-setting';
|
|
263
179
|
export * from './lib/models/user-event/user-event-setting-field.enum';
|