taxtank-core 0.7.2 → 0.8.2
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 +180 -155
- 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/depreciation/depreciation.js +2 -2
- 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/pdf/pdf-config.js +11 -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/pdf/pdf.service.js +12 -3
- 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/public-api.js +8 -6
- package/fesm2015/taxtank-core.js +149 -126
- 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/pdf/pdf.service.d.ts +1 -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/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
|
*/
|
|
@@ -4370,7 +4371,7 @@ class Depreciation extends Depreciation$1 {
|
|
|
4370
4371
|
* Create a new transaction from current depreciation
|
|
4371
4372
|
*/
|
|
4372
4373
|
toTransaction() {
|
|
4373
|
-
return plainToClass(Transaction, this);
|
|
4374
|
+
return plainToClass(Transaction, Object.assign({}, this, { amount: this.getCurrentYearForecastAmount() }));
|
|
4374
4375
|
}
|
|
4375
4376
|
}
|
|
4376
4377
|
Depreciation.WRITTEN_OFF_THRESHOLD = 300;
|
|
@@ -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
|
}
|
|
@@ -8710,8 +8724,16 @@ const PDF_CONFIG = {
|
|
|
8710
8724
|
fontWeight: 'bold',
|
|
8711
8725
|
positionX: 14,
|
|
8712
8726
|
positionY: 10,
|
|
8713
|
-
|
|
8714
|
-
|
|
8727
|
+
colorWhite: '#ffffff',
|
|
8728
|
+
colorBlack: '#000000',
|
|
8729
|
+
colorPrimary: '#00b7f0'
|
|
8730
|
+
},
|
|
8731
|
+
logo: {
|
|
8732
|
+
src: '/assets/img/icons/logo.png',
|
|
8733
|
+
width: 30,
|
|
8734
|
+
height: 7,
|
|
8735
|
+
positionX: 168,
|
|
8736
|
+
positionY: 6
|
|
8715
8737
|
},
|
|
8716
8738
|
// coords for file section title (group, table, e.t.c.)
|
|
8717
8739
|
contentTitleCoords: {
|
|
@@ -8748,6 +8770,7 @@ class PdfService {
|
|
|
8748
8770
|
generateFromTables(tables, title) {
|
|
8749
8771
|
const pdf = new jsPDF();
|
|
8750
8772
|
this.setDocumentTitle(pdf, title);
|
|
8773
|
+
this.setDocumentLogo(pdf);
|
|
8751
8774
|
tables.forEach((table) => {
|
|
8752
8775
|
var _a;
|
|
8753
8776
|
// Add table caption if not provided
|
|
@@ -8764,9 +8787,12 @@ class PdfService {
|
|
|
8764
8787
|
const options = {
|
|
8765
8788
|
html: table,
|
|
8766
8789
|
startY: lastTableCoords + captionHeight + PDF_CONFIG.contentTitleCoords.marginTop,
|
|
8790
|
+
headStyles: {
|
|
8791
|
+
fillColor: PDF_CONFIG.text.colorPrimary,
|
|
8792
|
+
},
|
|
8767
8793
|
footStyles: {
|
|
8768
|
-
fillColor: PDF_CONFIG.text.
|
|
8769
|
-
textColor: PDF_CONFIG.text.
|
|
8794
|
+
fillColor: PDF_CONFIG.text.colorWhite,
|
|
8795
|
+
textColor: PDF_CONFIG.text.colorBlack
|
|
8770
8796
|
},
|
|
8771
8797
|
didParseCell: (data) => {
|
|
8772
8798
|
// Align last column content to right
|
|
@@ -8784,6 +8810,11 @@ class PdfService {
|
|
|
8784
8810
|
.setFont(PDF_CONFIG.text.fontName, PDF_CONFIG.text.fontStyle, PDF_CONFIG.text.fontWeight)
|
|
8785
8811
|
.text(title, PDF_CONFIG.text.positionX, PDF_CONFIG.text.positionY);
|
|
8786
8812
|
}
|
|
8813
|
+
setDocumentLogo(doc) {
|
|
8814
|
+
const logo = new Image();
|
|
8815
|
+
logo.src = PDF_CONFIG.logo.src;
|
|
8816
|
+
doc.addImage(logo, 'PNG', PDF_CONFIG.logo.positionX, PDF_CONFIG.logo.positionY, PDF_CONFIG.logo.width, PDF_CONFIG.logo.height);
|
|
8817
|
+
}
|
|
8787
8818
|
/**
|
|
8788
8819
|
* @Todo remove/refactor when all DataTable dependent methods will be cleared-up
|
|
8789
8820
|
* Generate PDF file from provided data
|
|
@@ -8837,16 +8868,16 @@ class PropertyService extends BaseRestService {
|
|
|
8837
8868
|
this.listenEvents();
|
|
8838
8869
|
}
|
|
8839
8870
|
listenEvents() {
|
|
8840
|
-
this.
|
|
8871
|
+
this.listenShareInviteAccepted();
|
|
8841
8872
|
this.listenServiceSubscriptionUpdated();
|
|
8842
8873
|
// @TODO Alex: consider to refactor property movements logic similar to client-movements
|
|
8843
8874
|
this.listenMovementsChanged();
|
|
8844
8875
|
}
|
|
8845
8876
|
/**
|
|
8846
|
-
* Update cache when
|
|
8877
|
+
* Update cache when share invitation accepted
|
|
8847
8878
|
*/
|
|
8848
|
-
|
|
8849
|
-
this.eventDispatcherService.on(AppEventTypeEnum.
|
|
8879
|
+
listenShareInviteAccepted() {
|
|
8880
|
+
this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(() => this.resetCache());
|
|
8850
8881
|
}
|
|
8851
8882
|
/**
|
|
8852
8883
|
* Update cache when user's service subscription is updated
|
|
@@ -8913,7 +8944,7 @@ class PropertyService extends BaseRestService {
|
|
|
8913
8944
|
this.updateCache();
|
|
8914
8945
|
}));
|
|
8915
8946
|
}
|
|
8916
|
-
|
|
8947
|
+
getByShareId(id) {
|
|
8917
8948
|
return this.get().pipe(map((properties) => {
|
|
8918
8949
|
return properties.filter((property) => property.user.id === id);
|
|
8919
8950
|
}));
|
|
@@ -9135,15 +9166,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
9135
9166
|
}] }]; } });
|
|
9136
9167
|
|
|
9137
9168
|
// @TODO check and improve logic during refactoring
|
|
9138
|
-
class
|
|
9169
|
+
class PropertyShareService extends BaseRestService {
|
|
9139
9170
|
constructor(http, eventDispatcherService, environment) {
|
|
9140
9171
|
super(http, eventDispatcherService, environment);
|
|
9141
9172
|
this.http = http;
|
|
9142
9173
|
this.eventDispatcherService = eventDispatcherService;
|
|
9143
9174
|
this.environment = environment;
|
|
9144
|
-
// api url parameter for properties
|
|
9145
|
-
this.url = 'properties/
|
|
9146
|
-
this.modelClass =
|
|
9175
|
+
// api url parameter for properties shares
|
|
9176
|
+
this.url = 'properties/shares';
|
|
9177
|
+
this.modelClass = PropertyShare;
|
|
9147
9178
|
this.listenEvents();
|
|
9148
9179
|
}
|
|
9149
9180
|
/**
|
|
@@ -9155,70 +9186,62 @@ class PropertyOwnerService extends BaseRestService {
|
|
|
9155
9186
|
/**
|
|
9156
9187
|
* Updated loan
|
|
9157
9188
|
*/
|
|
9158
|
-
update(
|
|
9159
|
-
return this.http.put(`${this.environment.apiV2}/${this.url}/${
|
|
9160
|
-
.pipe(map((
|
|
9161
|
-
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);
|
|
9162
9193
|
// if loan type is NOT vehicle - fire EventDispatcher event
|
|
9163
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.
|
|
9164
|
-
replace(this.cache,
|
|
9194
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.PROPERTY_SHARE_UPDATED, null));
|
|
9195
|
+
replace(this.cache, updatedPropertyShare);
|
|
9165
9196
|
this.updateCache();
|
|
9166
|
-
return
|
|
9197
|
+
return updatedPropertyShare;
|
|
9167
9198
|
}));
|
|
9168
9199
|
}
|
|
9169
9200
|
/**
|
|
9170
|
-
* Re-invite property
|
|
9201
|
+
* Re-invite property share
|
|
9171
9202
|
* @param share user to share property
|
|
9172
9203
|
*/
|
|
9173
9204
|
reinvite(share) {
|
|
9174
9205
|
return this.http.post(`${this.environment.apiV2}/${this.url}/${share.id}/reinvite`, {});
|
|
9175
9206
|
}
|
|
9176
|
-
/**
|
|
9177
|
-
* Get incoming property owners list
|
|
9178
|
-
*/
|
|
9179
9207
|
getIncoming() {
|
|
9180
9208
|
return this.get()
|
|
9181
|
-
.pipe(map((
|
|
9182
|
-
const
|
|
9183
|
-
|
|
9209
|
+
.pipe(map((propertyShares) => {
|
|
9210
|
+
const propertySharesIncoming = [];
|
|
9211
|
+
propertyShares.forEach((propertyShare) => {
|
|
9184
9212
|
var _a;
|
|
9185
|
-
if (((_a =
|
|
9186
|
-
|
|
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);
|
|
9187
9215
|
}
|
|
9188
9216
|
});
|
|
9189
|
-
return
|
|
9217
|
+
return propertySharesIncoming;
|
|
9190
9218
|
}));
|
|
9191
9219
|
}
|
|
9192
9220
|
/**
|
|
9193
|
-
* Get outcoming property
|
|
9221
|
+
* Get outcoming property shares list
|
|
9194
9222
|
*/
|
|
9195
9223
|
getOutcoming() {
|
|
9196
|
-
return this.get().pipe(map((
|
|
9197
|
-
return this.filterOutcoming(
|
|
9224
|
+
return this.get().pipe(map((propertyShares) => {
|
|
9225
|
+
return this.filterOutcoming(propertyShares);
|
|
9198
9226
|
}));
|
|
9199
9227
|
}
|
|
9200
9228
|
/**
|
|
9201
|
-
* Filter outcoming property
|
|
9202
|
-
* @param propertyOwners which should be filtered
|
|
9229
|
+
* Filter outcoming property shares
|
|
9203
9230
|
*/
|
|
9204
|
-
filterOutcoming(
|
|
9205
|
-
const
|
|
9206
|
-
|
|
9231
|
+
filterOutcoming(propertyShares) {
|
|
9232
|
+
const propertySharesOutcoming = [];
|
|
9233
|
+
propertyShares.forEach((propertyShare) => {
|
|
9207
9234
|
var _a;
|
|
9208
|
-
if (!((_a =
|
|
9209
|
-
|
|
9235
|
+
if (!((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
|
|
9236
|
+
propertySharesOutcoming.push(propertyShare);
|
|
9210
9237
|
}
|
|
9211
9238
|
});
|
|
9212
|
-
return
|
|
9239
|
+
return propertySharesOutcoming;
|
|
9213
9240
|
}
|
|
9214
|
-
/**
|
|
9215
|
-
* Get list of co-owners filtered by property id
|
|
9216
|
-
* @param propertyId
|
|
9217
|
-
*/
|
|
9218
9241
|
getByPropertyId(propertyId) {
|
|
9219
9242
|
return this.get()
|
|
9220
|
-
.pipe(map((
|
|
9221
|
-
return
|
|
9243
|
+
.pipe(map((propertyShares) => {
|
|
9244
|
+
return propertyShares.filter((propertyShare) => propertyShare.property.id === propertyId);
|
|
9222
9245
|
}));
|
|
9223
9246
|
}
|
|
9224
9247
|
/**
|
|
@@ -9227,16 +9250,16 @@ class PropertyOwnerService extends BaseRestService {
|
|
|
9227
9250
|
listenUserUpdated() {
|
|
9228
9251
|
this.eventDispatcherService.on(AppEventTypeEnum.USER_UPDATED)
|
|
9229
9252
|
.subscribe(() => {
|
|
9230
|
-
this.fetch().subscribe((
|
|
9231
|
-
this.cache =
|
|
9253
|
+
this.fetch().subscribe((propertyShares) => {
|
|
9254
|
+
this.cache = propertyShares;
|
|
9232
9255
|
this.updateCache();
|
|
9233
9256
|
});
|
|
9234
9257
|
});
|
|
9235
9258
|
}
|
|
9236
9259
|
}
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
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: [{
|
|
9240
9263
|
type: Injectable,
|
|
9241
9264
|
args: [{
|
|
9242
9265
|
providedIn: 'root'
|
|
@@ -10747,5 +10770,5 @@ class ResetPasswordForm extends AbstractForm {
|
|
|
10747
10770
|
* Generated bundle index. Do not edit.
|
|
10748
10771
|
*/
|
|
10749
10772
|
|
|
10750
|
-
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,
|
|
10773
|
+
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 };
|
|
10751
10774
|
//# sourceMappingURL=taxtank-core.js.map
|