taxtank-core 0.7.3 → 0.8.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 +191 -164
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/collection.js +7 -4
- package/esm2015/lib/collections/property/property.collection.js +2 -5
- package/esm2015/lib/db/Enums/property/property-share-access.enum.js +6 -0
- package/esm2015/lib/db/Enums/property/property-share-status.enum.js +7 -0
- package/esm2015/lib/db/Enums/user-event-type-client-type.enum.js +9 -9
- package/esm2015/lib/db/Models/client-details.js +1 -1
- package/esm2015/lib/db/Models/property/property-sale/property-sale.js +1 -1
- package/esm2015/lib/db/Models/property/property-share.js +3 -0
- package/esm2015/lib/db/Models/property/property.js +1 -1
- package/esm2015/lib/db/Models/user.js +1 -1
- package/esm2015/lib/models/bank/basiq-config.js +12 -0
- package/esm2015/lib/models/endpoint/endpoints.const.js +4 -4
- package/esm2015/lib/models/event/app-event-type.enum.js +2 -2
- package/esm2015/lib/models/notification/notification.js +3 -3
- package/esm2015/lib/models/property/property-sale/property-sale.js +1 -1
- package/esm2015/lib/models/property/{property-owner.js → property-share.js} +15 -15
- package/esm2015/lib/models/property/property.js +9 -8
- package/esm2015/lib/models/property/share-filter-options.enum.js +11 -0
- package/esm2015/lib/services/bank/bank-account.service.js +2 -2
- package/esm2015/lib/services/depreciation/depreciation.service.js +2 -2
- package/esm2015/lib/services/property/property-share/property-share.service.js +115 -0
- package/esm2015/lib/services/property/property.service.js +6 -6
- package/esm2015/lib/services/subscription/subscription.service.js +35 -16
- package/esm2015/public-api.js +8 -6
- package/fesm2015/taxtank-core.js +159 -135
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/collection.d.ts +2 -1
- package/lib/collections/property/property.collection.d.ts +1 -4
- package/lib/db/Enums/property/property-share-access.enum.d.ts +4 -0
- package/lib/db/Enums/property/{property-owner-status.enum.d.ts → property-share-status.enum.d.ts} +1 -1
- package/lib/db/Enums/user-event-type-client-type.enum.d.ts +8 -8
- package/lib/db/Models/client-details.d.ts +1 -0
- package/lib/db/Models/property/property-sale/property-sale.d.ts +4 -3
- package/lib/db/Models/property/{property-owner.d.ts → property-share.d.ts} +6 -6
- package/lib/db/Models/property/property.d.ts +2 -2
- package/lib/db/Models/user.d.ts +2 -2
- package/lib/models/bank/basiq-config.d.ts +17 -0
- package/lib/models/event/app-event-type.enum.d.ts +1 -1
- package/lib/models/property/{property-owner.d.ts → property-share.d.ts} +3 -3
- package/lib/models/property/property.d.ts +6 -5
- package/lib/models/property/share-filter-options.enum.d.ts +9 -0
- package/lib/services/property/property-share/property-share.service.d.ts +44 -0
- package/lib/services/property/property.service.d.ts +3 -3
- package/lib/services/subscription/subscription.service.d.ts +9 -4
- package/package.json +1 -1
- package/public-api.d.ts +7 -5
- package/esm2015/lib/db/Enums/property/property-owner-access.enum.js +0 -6
- package/esm2015/lib/db/Enums/property/property-owner-status.enum.js +0 -7
- package/esm2015/lib/db/Models/property/property-owner.js +0 -3
- package/esm2015/lib/models/property/ownership-filter-options.enum.js +0 -10
- package/esm2015/lib/services/property/property-owner/property-owner.service.js +0 -123
- package/lib/db/Enums/property/property-owner-access.enum.d.ts +0 -4
- package/lib/models/property/ownership-filter-options.enum.d.ts +0 -8
- package/lib/services/property/property-owner/property-owner.service.d.ts +0 -52
package/fesm2015/taxtank-core.js
CHANGED
|
@@ -522,9 +522,9 @@ const ENDPOINTS = {
|
|
|
522
522
|
PROPERTIES_CATEGORIES_POST: new Endpoint('POST', '\\/properties\\/categories'),
|
|
523
523
|
PROPERTIES_CATEGORY_MOVEMENTS_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/category-movements'),
|
|
524
524
|
PROPERTIES_CATEGORY_MOVEMENTS_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/category-movements\\/\\d+'),
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
525
|
+
PROPERTIES_SHARES_PUT: new Endpoint('PUT', '\\/properties\\/shares\\/\\d+'),
|
|
526
|
+
PROPERTIES_SHARES_GET: new Endpoint('GET', '\\/properties\\/shares'),
|
|
527
|
+
PROPERTIES_SHARES_POST: new Endpoint('POST', '\\/properties\\/shares'),
|
|
528
528
|
PROPERTIES_DEACTIVATE_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/deactivate'),
|
|
529
529
|
PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_GET: new Endpoint('GET', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
|
|
530
530
|
PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
|
|
@@ -832,9 +832,6 @@ class Collection {
|
|
|
832
832
|
create(items = []) {
|
|
833
833
|
return new this.constructor(items);
|
|
834
834
|
}
|
|
835
|
-
getBy(field, value) {
|
|
836
|
-
return this.create(this.items.filter((item) => item[field] === value));
|
|
837
|
-
}
|
|
838
835
|
groupBy(path = '') {
|
|
839
836
|
return new CollectionDictionary(this, path);
|
|
840
837
|
}
|
|
@@ -865,6 +862,12 @@ class Collection {
|
|
|
865
862
|
getIds() {
|
|
866
863
|
return this.items.map((item) => item['id']);
|
|
867
864
|
}
|
|
865
|
+
getOneBy(path, value) {
|
|
866
|
+
return this.items.find((item) => get(item, path) === value);
|
|
867
|
+
}
|
|
868
|
+
getBy(path, value) {
|
|
869
|
+
return this.create(this.items.filter((item) => get(item, path) === value));
|
|
870
|
+
}
|
|
868
871
|
/**
|
|
869
872
|
* Get single item by id
|
|
870
873
|
*/
|
|
@@ -1734,10 +1737,7 @@ class PropertyCollection extends Collection {
|
|
|
1734
1737
|
getActiveProperties() {
|
|
1735
1738
|
return new PropertyCollection(this.items.filter((property) => property.isActive));
|
|
1736
1739
|
}
|
|
1737
|
-
|
|
1738
|
-
* Get new property collection filtered by owner
|
|
1739
|
-
*/
|
|
1740
|
-
getOwnProperties() {
|
|
1740
|
+
getCreatedProperties() {
|
|
1741
1741
|
return new PropertyCollection(this.items.filter((property) => property.isOwn()));
|
|
1742
1742
|
}
|
|
1743
1743
|
/**
|
|
@@ -2499,18 +2499,18 @@ var PropertyDepreciationCalculationEnum;
|
|
|
2499
2499
|
PropertyDepreciationCalculationEnum[PropertyDepreciationCalculationEnum["DIMINISHING"] = 2] = "DIMINISHING";
|
|
2500
2500
|
})(PropertyDepreciationCalculationEnum || (PropertyDepreciationCalculationEnum = {}));
|
|
2501
2501
|
|
|
2502
|
-
var
|
|
2503
|
-
(function (
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
})(
|
|
2502
|
+
var PropertyShareAccessEnum;
|
|
2503
|
+
(function (PropertyShareAccessEnum) {
|
|
2504
|
+
PropertyShareAccessEnum[PropertyShareAccessEnum["VIEW"] = 1] = "VIEW";
|
|
2505
|
+
PropertyShareAccessEnum[PropertyShareAccessEnum["EDIT"] = 2] = "EDIT";
|
|
2506
|
+
})(PropertyShareAccessEnum || (PropertyShareAccessEnum = {}));
|
|
2507
2507
|
|
|
2508
|
-
var
|
|
2509
|
-
(function (
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
})(
|
|
2508
|
+
var PropertyShareStatusEnum;
|
|
2509
|
+
(function (PropertyShareStatusEnum) {
|
|
2510
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["PENDING"] = 1] = "PENDING";
|
|
2511
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["APPROVED"] = 2] = "APPROVED";
|
|
2512
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["REJECTED"] = 3] = "REJECTED";
|
|
2513
|
+
})(PropertyShareStatusEnum || (PropertyShareStatusEnum = {}));
|
|
2514
2514
|
|
|
2515
2515
|
var RegistrationInviteStatusEnum;
|
|
2516
2516
|
(function (RegistrationInviteStatusEnum) {
|
|
@@ -2733,14 +2733,14 @@ var UserEventTypeClientTypeEnum;
|
|
|
2733
2733
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_ACCEPTED"] = 2012] = "FIRM_INVITE_ACCEPTED";
|
|
2734
2734
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REJECTED"] = 2013] = "FIRM_INVITE_REJECTED";
|
|
2735
2735
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REGISTERED"] = 2014] = "FIRM_INVITE_REGISTERED";
|
|
2736
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2737
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2738
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2739
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2740
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2741
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2742
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2743
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2736
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE"] = 2020] = "PROPERTY_SHARE_INVITE";
|
|
2737
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_TO_REGISTER"] = 2021] = "PROPERTY_SHARE_INVITE_TO_REGISTER";
|
|
2738
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_ACCEPTED"] = 2022] = "PROPERTY_SHARE_INVITE_ACCEPTED";
|
|
2739
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REJECTED"] = 2023] = "PROPERTY_SHARE_INVITE_REJECTED";
|
|
2740
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REGISTERED"] = 2024] = "PROPERTY_SHARE_INVITE_REGISTERED";
|
|
2741
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REQUESTED"] = 2025] = "PROPERTY_SHARE_CHANGE_REQUESTED";
|
|
2742
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_ACCEPTED"] = 2026] = "PROPERTY_SHARE_CHANGE_ACCEPTED";
|
|
2743
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REJECTED"] = 2027] = "PROPERTY_SHARE_CHANGE_REJECTED";
|
|
2744
2744
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_NEW_ACCOUNTS"] = 2030] = "BASIQ_NEW_ACCOUNTS";
|
|
2745
2745
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_FIRST_IMPORT_COMPLETE"] = 2031] = "BASIQ_FIRST_IMPORT_COMPLETE";
|
|
2746
2746
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_AUTHORIZATION_FAIL"] = 2032] = "BASIQ_AUTHORIZATION_FAIL";
|
|
@@ -2815,6 +2815,18 @@ var VehicleLogbookPurposeEnum;
|
|
|
2815
2815
|
VehicleLogbookPurposeEnum[VehicleLogbookPurposeEnum["PERSONAL"] = 2] = "PERSONAL";
|
|
2816
2816
|
})(VehicleLogbookPurposeEnum || (VehicleLogbookPurposeEnum = {}));
|
|
2817
2817
|
|
|
2818
|
+
var TaxExemptionEnum;
|
|
2819
|
+
(function (TaxExemptionEnum) {
|
|
2820
|
+
TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
|
|
2821
|
+
// principle place of residence
|
|
2822
|
+
TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
|
|
2823
|
+
TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
|
|
2824
|
+
TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
|
|
2825
|
+
TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
|
|
2826
|
+
TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
|
|
2827
|
+
TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
|
|
2828
|
+
})(TaxExemptionEnum || (TaxExemptionEnum = {}));
|
|
2829
|
+
|
|
2818
2830
|
var TaxExemptionMetadataEnum;
|
|
2819
2831
|
(function (TaxExemptionMetadataEnum) {
|
|
2820
2832
|
// principle place of residence
|
|
@@ -3470,18 +3482,6 @@ __decorate([
|
|
|
3470
3482
|
Type(() => Date)
|
|
3471
3483
|
], PropertyCategoryMovement.prototype, "toDate", void 0);
|
|
3472
3484
|
|
|
3473
|
-
var TaxExemptionEnum;
|
|
3474
|
-
(function (TaxExemptionEnum) {
|
|
3475
|
-
TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
|
|
3476
|
-
// principle place of residence
|
|
3477
|
-
TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
|
|
3478
|
-
TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
|
|
3479
|
-
TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
|
|
3480
|
-
TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
|
|
3481
|
-
TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
|
|
3482
|
-
TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
|
|
3483
|
-
})(TaxExemptionEnum || (TaxExemptionEnum = {}));
|
|
3484
|
-
|
|
3485
3485
|
var PropertyCategoryListEnum;
|
|
3486
3486
|
(function (PropertyCategoryListEnum) {
|
|
3487
3487
|
PropertyCategoryListEnum[PropertyCategoryListEnum["OWNER_OCCUPIED"] = 3] = "OWNER_OCCUPIED";
|
|
@@ -3561,21 +3561,21 @@ class Property extends Property$1 {
|
|
|
3561
3561
|
return (this.marketValue - this.purchasePrice) / this.marketValue;
|
|
3562
3562
|
}
|
|
3563
3563
|
get myShare() {
|
|
3564
|
-
return this.
|
|
3564
|
+
return this.shares.find((share) => share.user.id === +localStorage.getItem('userId'));
|
|
3565
3565
|
}
|
|
3566
3566
|
/**
|
|
3567
|
-
* exact claim
|
|
3567
|
+
* exact claim including share percent
|
|
3568
3568
|
*/
|
|
3569
|
-
get
|
|
3570
|
-
return this.
|
|
3569
|
+
get shareClaimPercent() {
|
|
3570
|
+
return this.sharePercent * this.claimPercent / 100;
|
|
3571
3571
|
}
|
|
3572
3572
|
get actualValuation() {
|
|
3573
3573
|
return this.valuations.reduce((maxDateValuation, valuation) => {
|
|
3574
3574
|
return maxDateValuation.date > valuation.date ? maxDateValuation : valuation;
|
|
3575
3575
|
}, this.valuations[0]);
|
|
3576
3576
|
}
|
|
3577
|
-
get
|
|
3578
|
-
return this.myShare.
|
|
3577
|
+
get sharePercent() {
|
|
3578
|
+
return this.myShare.percent;
|
|
3579
3579
|
}
|
|
3580
3580
|
get previousCategory() {
|
|
3581
3581
|
let previousCategory;
|
|
@@ -3593,9 +3593,10 @@ class Property extends Property$1 {
|
|
|
3593
3593
|
return this.forecasts.find((forecast) => forecast.financialYear === year);
|
|
3594
3594
|
}
|
|
3595
3595
|
get isShared() {
|
|
3596
|
-
return this.
|
|
3596
|
+
return this.shares.length > 1;
|
|
3597
3597
|
}
|
|
3598
3598
|
/**
|
|
3599
|
+
* @TODO consider to move methods related with propertySale to separated class, since used just in one module yet
|
|
3599
3600
|
* purchase costs - claimed costs, except `ppr to investment` exemption,
|
|
3600
3601
|
* in that case it's equal to market value, when property became an investment property
|
|
3601
3602
|
*/
|
|
@@ -4832,6 +4833,18 @@ var BankTransactionSummaryFieldsEnum;
|
|
|
4832
4833
|
BankTransactionSummaryFieldsEnum["ALLOCATED_AMOUNT"] = "allocatedAmount";
|
|
4833
4834
|
})(BankTransactionSummaryFieldsEnum || (BankTransactionSummaryFieldsEnum = {}));
|
|
4834
4835
|
|
|
4836
|
+
/**
|
|
4837
|
+
* Class describe configuration options for basiq connect control
|
|
4838
|
+
* https://www.npmjs.com/package/@basiq/basiq-connect-control
|
|
4839
|
+
*/
|
|
4840
|
+
class BasiqConfig {
|
|
4841
|
+
constructor(options) {
|
|
4842
|
+
// ID of the DOM element to which Basiq Connect Control will be rendered;
|
|
4843
|
+
this.containerId = 'basiq-control';
|
|
4844
|
+
Object.assign(this, options);
|
|
4845
|
+
}
|
|
4846
|
+
}
|
|
4847
|
+
|
|
4835
4848
|
/**
|
|
4836
4849
|
* access token, needed to access basiq connect ui (https://github.com/basiqio/basiq-connect-ui)
|
|
4837
4850
|
*/
|
|
@@ -5416,7 +5429,7 @@ var AppEventTypeEnum;
|
|
|
5416
5429
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_CREATED"] = 22] = "PROPERTY_MOVEMENT_CREATED";
|
|
5417
5430
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_UPDATED"] = 23] = "PROPERTY_MOVEMENT_UPDATED";
|
|
5418
5431
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_DELETED"] = 24] = "PROPERTY_MOVEMENT_DELETED";
|
|
5419
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
5432
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SHARE_UPDATED"] = 25] = "PROPERTY_SHARE_UPDATED";
|
|
5420
5433
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_ADDED"] = 26] = "PROPERTY_SUBSCRIPTION_ADDED";
|
|
5421
5434
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_DELETED"] = 27] = "PROPERTY_SUBSCRIPTION_DELETED";
|
|
5422
5435
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_VALUATION_DOCUMENT_CREATED"] = 28] = "PROPERTY_VALUATION_DOCUMENT_CREATED";
|
|
@@ -5631,8 +5644,8 @@ __decorate([
|
|
|
5631
5644
|
// return '/client/bank-feeds';
|
|
5632
5645
|
// case NOTIFICATION_EVENT_TYPES.clientInvite.includes(obj.eventType):
|
|
5633
5646
|
// return '/client/users/invitations';
|
|
5634
|
-
// case NOTIFICATION_EVENT_TYPES.
|
|
5635
|
-
// return '/client/users/
|
|
5647
|
+
// case NOTIFICATION_EVENT_TYPES.propertyShare.includes(obj.eventType):
|
|
5648
|
+
// return '/client/users/shares';
|
|
5636
5649
|
// case NOTIFICATION_EVENT_TYPES.employeeInviteFromClient.includes(obj.eventType):
|
|
5637
5650
|
// return '/firm/clients/invites';
|
|
5638
5651
|
default:
|
|
@@ -5718,14 +5731,15 @@ const CAPITAL_COSTS_ITEMS = [
|
|
|
5718
5731
|
];
|
|
5719
5732
|
|
|
5720
5733
|
/**
|
|
5734
|
+
* @TODO used only on dashboard, move from tt-core
|
|
5721
5735
|
* Enum with properties ownership filter options
|
|
5722
5736
|
*/
|
|
5723
|
-
var
|
|
5724
|
-
(function (
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
})(
|
|
5737
|
+
var ShareFilterOptionsEnum;
|
|
5738
|
+
(function (ShareFilterOptionsEnum) {
|
|
5739
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["ALL"] = 1] = "ALL";
|
|
5740
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["CREATED"] = 2] = "CREATED";
|
|
5741
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["SHARED"] = 3] = "SHARED";
|
|
5742
|
+
})(ShareFilterOptionsEnum || (ShareFilterOptionsEnum = {}));
|
|
5729
5743
|
|
|
5730
5744
|
/**
|
|
5731
5745
|
* class contains equity information for passed financial year
|
|
@@ -5908,49 +5922,49 @@ class PropertyEquityChartData {
|
|
|
5908
5922
|
}
|
|
5909
5923
|
}
|
|
5910
5924
|
|
|
5911
|
-
class
|
|
5925
|
+
class PropertyShare$1 {
|
|
5912
5926
|
}
|
|
5913
5927
|
|
|
5914
|
-
class
|
|
5928
|
+
class PropertyShare extends PropertyShare$1 {
|
|
5915
5929
|
isAccepted() {
|
|
5916
|
-
return this.status ===
|
|
5930
|
+
return this.status === PropertyShareStatusEnum.APPROVED;
|
|
5917
5931
|
}
|
|
5918
5932
|
isPending() {
|
|
5919
|
-
return this.status ===
|
|
5933
|
+
return this.status === PropertyShareStatusEnum.PENDING;
|
|
5920
5934
|
}
|
|
5921
5935
|
isRejected() {
|
|
5922
|
-
return this.status ===
|
|
5936
|
+
return this.status === PropertyShareStatusEnum.REJECTED;
|
|
5923
5937
|
}
|
|
5924
5938
|
get statusName() {
|
|
5925
5939
|
var _a;
|
|
5926
|
-
return (_a =
|
|
5940
|
+
return (_a = PropertyShareStatusEnum[this.status]) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
5927
5941
|
}
|
|
5928
5942
|
/**
|
|
5929
5943
|
* Return full user name if user is already registered.
|
|
5930
5944
|
* Otherwise - return first name from invitation
|
|
5931
5945
|
*/
|
|
5932
|
-
get
|
|
5946
|
+
get userName() {
|
|
5933
5947
|
return this.user ? this.user.fullName : `${this.invite.firstName}`;
|
|
5934
5948
|
}
|
|
5935
5949
|
}
|
|
5936
5950
|
__decorate([
|
|
5937
5951
|
Type(() => Date)
|
|
5938
|
-
],
|
|
5952
|
+
], PropertyShare.prototype, "fromDate", void 0);
|
|
5939
5953
|
__decorate([
|
|
5940
5954
|
Type(() => Date)
|
|
5941
|
-
],
|
|
5955
|
+
], PropertyShare.prototype, "toDate", void 0);
|
|
5942
5956
|
__decorate([
|
|
5943
5957
|
Type(() => User)
|
|
5944
|
-
],
|
|
5958
|
+
], PropertyShare.prototype, "user", void 0);
|
|
5945
5959
|
__decorate([
|
|
5946
5960
|
Type(() => RegistrationInvite)
|
|
5947
|
-
],
|
|
5961
|
+
], PropertyShare.prototype, "invite", void 0);
|
|
5948
5962
|
__decorate([
|
|
5949
5963
|
Type(() => Property)
|
|
5950
|
-
],
|
|
5964
|
+
], PropertyShare.prototype, "property", void 0);
|
|
5951
5965
|
__decorate([
|
|
5952
5966
|
Transform(({ obj }) => obj.user ? obj.user.email : obj.invite.email)
|
|
5953
|
-
],
|
|
5967
|
+
], PropertyShare.prototype, "email", void 0);
|
|
5954
5968
|
|
|
5955
5969
|
class PropertySale$1 {
|
|
5956
5970
|
}
|
|
@@ -6745,7 +6759,7 @@ class BankAccountService extends BaseRestService {
|
|
|
6745
6759
|
*/
|
|
6746
6760
|
listenToEventDispatcherChanges() {
|
|
6747
6761
|
this.eventDispatcherService.on([
|
|
6748
|
-
AppEventTypeEnum.
|
|
6762
|
+
AppEventTypeEnum.PROPERTY_SHARE_UPDATED,
|
|
6749
6763
|
AppEventTypeEnum.LOAN_PAYOUT_UPDATED,
|
|
6750
6764
|
AppEventTypeEnum.BANK_CONNECTION_ADDED
|
|
6751
6765
|
]).subscribe(() => {
|
|
@@ -7865,7 +7879,7 @@ class DepreciationService extends BaseRestService {
|
|
|
7865
7879
|
* Listen to EventDispatcherService event related to updated bank loan
|
|
7866
7880
|
*/
|
|
7867
7881
|
listenToUpdatedLoan() {
|
|
7868
|
-
this.eventDispatcherService.on([AppEventTypeEnum.LOAN_UPDATED, AppEventTypeEnum.
|
|
7882
|
+
this.eventDispatcherService.on([AppEventTypeEnum.LOAN_UPDATED, AppEventTypeEnum.PROPERTY_SHARE_UPDATED]).subscribe(() => {
|
|
7869
7883
|
this.fetch().subscribe();
|
|
7870
7884
|
});
|
|
7871
7885
|
}
|
|
@@ -8854,16 +8868,16 @@ class PropertyService extends BaseRestService {
|
|
|
8854
8868
|
this.listenEvents();
|
|
8855
8869
|
}
|
|
8856
8870
|
listenEvents() {
|
|
8857
|
-
this.
|
|
8871
|
+
this.listenShareInviteAccepted();
|
|
8858
8872
|
this.listenServiceSubscriptionUpdated();
|
|
8859
8873
|
// @TODO Alex: consider to refactor property movements logic similar to client-movements
|
|
8860
8874
|
this.listenMovementsChanged();
|
|
8861
8875
|
}
|
|
8862
8876
|
/**
|
|
8863
|
-
* Update cache when
|
|
8877
|
+
* Update cache when share invitation accepted
|
|
8864
8878
|
*/
|
|
8865
|
-
|
|
8866
|
-
this.eventDispatcherService.on(AppEventTypeEnum.
|
|
8879
|
+
listenShareInviteAccepted() {
|
|
8880
|
+
this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(() => this.resetCache());
|
|
8867
8881
|
}
|
|
8868
8882
|
/**
|
|
8869
8883
|
* Update cache when user's service subscription is updated
|
|
@@ -8930,7 +8944,7 @@ class PropertyService extends BaseRestService {
|
|
|
8930
8944
|
this.updateCache();
|
|
8931
8945
|
}));
|
|
8932
8946
|
}
|
|
8933
|
-
|
|
8947
|
+
getByShareId(id) {
|
|
8934
8948
|
return this.get().pipe(map((properties) => {
|
|
8935
8949
|
return properties.filter((property) => property.user.id === id);
|
|
8936
8950
|
}));
|
|
@@ -9152,15 +9166,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
9152
9166
|
}] }]; } });
|
|
9153
9167
|
|
|
9154
9168
|
// @TODO check and improve logic during refactoring
|
|
9155
|
-
class
|
|
9169
|
+
class PropertyShareService extends BaseRestService {
|
|
9156
9170
|
constructor(http, eventDispatcherService, environment) {
|
|
9157
9171
|
super(http, eventDispatcherService, environment);
|
|
9158
9172
|
this.http = http;
|
|
9159
9173
|
this.eventDispatcherService = eventDispatcherService;
|
|
9160
9174
|
this.environment = environment;
|
|
9161
|
-
// api url parameter for properties
|
|
9162
|
-
this.url = 'properties/
|
|
9163
|
-
this.modelClass =
|
|
9175
|
+
// api url parameter for properties shares
|
|
9176
|
+
this.url = 'properties/shares';
|
|
9177
|
+
this.modelClass = PropertyShare;
|
|
9164
9178
|
this.listenEvents();
|
|
9165
9179
|
}
|
|
9166
9180
|
/**
|
|
@@ -9172,70 +9186,62 @@ class PropertyOwnerService extends BaseRestService {
|
|
|
9172
9186
|
/**
|
|
9173
9187
|
* Updated loan
|
|
9174
9188
|
*/
|
|
9175
|
-
update(
|
|
9176
|
-
return this.http.put(`${this.environment.apiV2}/${this.url}/${
|
|
9177
|
-
.pipe(map((
|
|
9178
|
-
const
|
|
9189
|
+
update(propertyShare) {
|
|
9190
|
+
return this.http.put(`${this.environment.apiV2}/${this.url}/${propertyShare.id}`, propertyShare)
|
|
9191
|
+
.pipe(map((updatedPropertyShareBase) => {
|
|
9192
|
+
const updatedPropertyShare = plainToClass(PropertyShare, updatedPropertyShareBase);
|
|
9179
9193
|
// if loan type is NOT vehicle - fire EventDispatcher event
|
|
9180
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.
|
|
9181
|
-
replace(this.cache,
|
|
9194
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.PROPERTY_SHARE_UPDATED, null));
|
|
9195
|
+
replace(this.cache, updatedPropertyShare);
|
|
9182
9196
|
this.updateCache();
|
|
9183
|
-
return
|
|
9197
|
+
return updatedPropertyShare;
|
|
9184
9198
|
}));
|
|
9185
9199
|
}
|
|
9186
9200
|
/**
|
|
9187
|
-
* Re-invite property
|
|
9201
|
+
* Re-invite property share
|
|
9188
9202
|
* @param share user to share property
|
|
9189
9203
|
*/
|
|
9190
9204
|
reinvite(share) {
|
|
9191
9205
|
return this.http.post(`${this.environment.apiV2}/${this.url}/${share.id}/reinvite`, {});
|
|
9192
9206
|
}
|
|
9193
|
-
/**
|
|
9194
|
-
* Get incoming property owners list
|
|
9195
|
-
*/
|
|
9196
9207
|
getIncoming() {
|
|
9197
9208
|
return this.get()
|
|
9198
|
-
.pipe(map((
|
|
9199
|
-
const
|
|
9200
|
-
|
|
9209
|
+
.pipe(map((propertyShares) => {
|
|
9210
|
+
const propertySharesIncoming = [];
|
|
9211
|
+
propertyShares.forEach((propertyShare) => {
|
|
9201
9212
|
var _a;
|
|
9202
|
-
if (((_a =
|
|
9203
|
-
|
|
9213
|
+
if (((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId')) {
|
|
9214
|
+
propertySharesIncoming.push(propertyShare);
|
|
9204
9215
|
}
|
|
9205
9216
|
});
|
|
9206
|
-
return
|
|
9217
|
+
return propertySharesIncoming;
|
|
9207
9218
|
}));
|
|
9208
9219
|
}
|
|
9209
9220
|
/**
|
|
9210
|
-
* Get outcoming property
|
|
9221
|
+
* Get outcoming property shares list
|
|
9211
9222
|
*/
|
|
9212
9223
|
getOutcoming() {
|
|
9213
|
-
return this.get().pipe(map((
|
|
9214
|
-
return this.filterOutcoming(
|
|
9224
|
+
return this.get().pipe(map((propertyShares) => {
|
|
9225
|
+
return this.filterOutcoming(propertyShares);
|
|
9215
9226
|
}));
|
|
9216
9227
|
}
|
|
9217
9228
|
/**
|
|
9218
|
-
* Filter outcoming property
|
|
9219
|
-
* @param propertyOwners which should be filtered
|
|
9229
|
+
* Filter outcoming property shares
|
|
9220
9230
|
*/
|
|
9221
|
-
filterOutcoming(
|
|
9222
|
-
const
|
|
9223
|
-
|
|
9231
|
+
filterOutcoming(propertyShares) {
|
|
9232
|
+
const propertySharesOutcoming = [];
|
|
9233
|
+
propertyShares.forEach((propertyShare) => {
|
|
9224
9234
|
var _a;
|
|
9225
|
-
if (!((_a =
|
|
9226
|
-
|
|
9235
|
+
if (!((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
|
|
9236
|
+
propertySharesOutcoming.push(propertyShare);
|
|
9227
9237
|
}
|
|
9228
9238
|
});
|
|
9229
|
-
return
|
|
9239
|
+
return propertySharesOutcoming;
|
|
9230
9240
|
}
|
|
9231
|
-
/**
|
|
9232
|
-
* Get list of co-owners filtered by property id
|
|
9233
|
-
* @param propertyId
|
|
9234
|
-
*/
|
|
9235
9241
|
getByPropertyId(propertyId) {
|
|
9236
9242
|
return this.get()
|
|
9237
|
-
.pipe(map((
|
|
9238
|
-
return
|
|
9243
|
+
.pipe(map((propertyShares) => {
|
|
9244
|
+
return propertyShares.filter((propertyShare) => propertyShare.property.id === propertyId);
|
|
9239
9245
|
}));
|
|
9240
9246
|
}
|
|
9241
9247
|
/**
|
|
@@ -9244,16 +9250,16 @@ class PropertyOwnerService extends BaseRestService {
|
|
|
9244
9250
|
listenUserUpdated() {
|
|
9245
9251
|
this.eventDispatcherService.on(AppEventTypeEnum.USER_UPDATED)
|
|
9246
9252
|
.subscribe(() => {
|
|
9247
|
-
this.fetch().subscribe((
|
|
9248
|
-
this.cache =
|
|
9253
|
+
this.fetch().subscribe((propertyShares) => {
|
|
9254
|
+
this.cache = propertyShares;
|
|
9249
9255
|
this.updateCache();
|
|
9250
9256
|
});
|
|
9251
9257
|
});
|
|
9252
9258
|
}
|
|
9253
9259
|
}
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type:
|
|
9260
|
+
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9261
|
+
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
|
|
9262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, decorators: [{
|
|
9257
9263
|
type: Injectable,
|
|
9258
9264
|
args: [{
|
|
9259
9265
|
providedIn: 'root'
|
|
@@ -9358,16 +9364,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
9358
9364
|
}] });
|
|
9359
9365
|
|
|
9360
9366
|
class SubscriptionService {
|
|
9361
|
-
constructor(http, eventDispatcherService, environment) {
|
|
9367
|
+
constructor(http, eventDispatcherService, sseService, environment) {
|
|
9362
9368
|
this.http = http;
|
|
9363
9369
|
this.eventDispatcherService = eventDispatcherService;
|
|
9370
|
+
this.sseService = sseService;
|
|
9364
9371
|
this.environment = environment;
|
|
9365
9372
|
this.serviceSubscriptionSubject = new ReplaySubject(1);
|
|
9366
9373
|
this.serviceSubscriptionsSubject = new ReplaySubject(1);
|
|
9367
9374
|
this.servicePaymentsSubject = new ReplaySubject(1);
|
|
9375
|
+
this.subscriptionChangeSubject = new BehaviorSubject(null);
|
|
9376
|
+
this.listenEvents();
|
|
9368
9377
|
}
|
|
9369
|
-
|
|
9370
|
-
|
|
9378
|
+
listenEvents() {
|
|
9379
|
+
this.listenSubscriptions();
|
|
9380
|
+
}
|
|
9381
|
+
getSubscription(force = false) {
|
|
9382
|
+
if (!this._serviceSubscription || force) {
|
|
9371
9383
|
this.http.get(`${this.environment.apiV2}/subscriptions/last`)
|
|
9372
9384
|
.pipe(map((response) => {
|
|
9373
9385
|
return plainToClass(ServiceSubscription, response);
|
|
@@ -9393,8 +9405,18 @@ class SubscriptionService {
|
|
|
9393
9405
|
.subscribe((prices) => {
|
|
9394
9406
|
this._serviceSubscriptions = new ServiceSubscriptionCollection([
|
|
9395
9407
|
plainToClass(ServiceSubscription, { items: [] }),
|
|
9396
|
-
plainToClass(ServiceSubscription, {
|
|
9397
|
-
|
|
9408
|
+
plainToClass(ServiceSubscription, {
|
|
9409
|
+
items: [plainToClass(ServiceSubscriptionItem, {
|
|
9410
|
+
price: prices.property,
|
|
9411
|
+
quantity: 2
|
|
9412
|
+
})]
|
|
9413
|
+
}),
|
|
9414
|
+
plainToClass(ServiceSubscription, {
|
|
9415
|
+
items: [plainToClass(ServiceSubscriptionItem, {
|
|
9416
|
+
price: prices.property,
|
|
9417
|
+
quantity: 3
|
|
9418
|
+
})]
|
|
9419
|
+
})
|
|
9398
9420
|
]);
|
|
9399
9421
|
this._serviceSubscriptions.items.forEach((subscription) => {
|
|
9400
9422
|
subscription.items.push(plainToClass(ServiceSubscriptionItem, { price: prices.work, quantity: 1 }));
|
|
@@ -9456,24 +9478,26 @@ class SubscriptionService {
|
|
|
9456
9478
|
* Change subscription plan
|
|
9457
9479
|
*/
|
|
9458
9480
|
changeSubscription(items) {
|
|
9459
|
-
return this.http.put(`${this.environment.apiV2}/subscriptions/items`, items)
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9481
|
+
return this.http.put(`${this.environment.apiV2}/subscriptions/items`, items);
|
|
9482
|
+
}
|
|
9483
|
+
listenSubscriptions() {
|
|
9484
|
+
this.sseService.on(`serviceSubscriptions`)
|
|
9485
|
+
.pipe(map((event) => plainToClass(ServiceSubscription, event)))
|
|
9486
|
+
.subscribe((subscription) => {
|
|
9487
|
+
this.getSubscription(true).subscribe();
|
|
9488
|
+
this.subscriptionChangeSubject.next(subscription);
|
|
9464
9489
|
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.SERVICE_SUBSCRIPTION_UPDATED, null));
|
|
9465
|
-
|
|
9466
|
-
}));
|
|
9490
|
+
});
|
|
9467
9491
|
}
|
|
9468
9492
|
}
|
|
9469
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9493
|
+
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9470
9494
|
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
|
|
9471
9495
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
9472
9496
|
type: Injectable,
|
|
9473
9497
|
args: [{
|
|
9474
9498
|
providedIn: 'root'
|
|
9475
9499
|
}]
|
|
9476
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
9500
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: SseService }, { type: undefined, decorators: [{
|
|
9477
9501
|
type: Inject,
|
|
9478
9502
|
args: ['environment']
|
|
9479
9503
|
}] }]; } });
|
|
@@ -10764,5 +10788,5 @@ class ResetPasswordForm extends AbstractForm {
|
|
|
10764
10788
|
* Generated bundle index. Do not edit.
|
|
10765
10789
|
*/
|
|
10766
10790
|
|
|
10767
|
-
export { AbstractForm, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalProjectService, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DataTable, DataTableColumn, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpRateEnum, DepreciationReceipt, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookCollection, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, NotificationService, Occupation, OccupationService,
|
|
10791
|
+
export { AbstractForm, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalProjectService, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DataTable, DataTableColumn, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpRateEnum, DepreciationReceipt, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookCollection, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, NotificationService, Occupation, OccupationService, PasswordForm, PdfService, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceTypeEnum, ServiceProduct, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleForecast, SoleForecastService, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryItem, TaxReturnCategoryItemCollection, TaxReturnCategoryItemDetails, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionCalculationService, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, Vehicle, VehicleClaim, VehicleClaimMethodEnum, VehicleLogbook, VehicleLogbookPurposeEnum, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, WorkTankService, XlsxService, cloneDeep, compare, compareMatOptions, createDate, displayMatOptions, enumToList, getDocIcon, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
|
|
10768
10792
|
//# sourceMappingURL=taxtank-core.js.map
|