taxtank-core 0.28.4 → 0.28.7
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 +328 -49
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/db/Enums/user-event-type-type.enum.js +48 -0
- package/esm2015/lib/db/Models/bank/bank.js +1 -1
- package/esm2015/lib/forms/index.js +2 -1
- package/esm2015/lib/forms/property/index.js +2 -0
- package/esm2015/lib/forms/property/property-sale/index.js +4 -0
- package/esm2015/lib/forms/property/property-sale/property-sale-cost-base.form.js +39 -0
- package/esm2015/lib/forms/property/property-sale/property-sale-cost-sale.form.js +74 -0
- package/esm2015/lib/forms/property/property-sale/property-sale-exemptions.form.js +75 -0
- package/esm2015/lib/models/bank/bank-connection.js +2 -2
- package/esm2015/lib/models/endpoint/endpoints.const.js +2 -1
- package/esm2015/lib/models/notification/notification.js +1 -1
- package/esm2015/lib/models/property/property-sale/index.js +6 -0
- package/esm2015/lib/models/property/property-sale/property-sale-cost-base.js +20 -0
- package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +13 -4
- package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank.service.js +2 -2
- package/esm2015/lib/services/http/bank/basiq/basiq.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/service-notification/service-notification.service.js +2 -1
- package/esm2015/lib/services/http/tax-review/tax-review.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction.service.js +8 -4
- package/esm2015/public-api.js +2 -5
- package/fesm2015/taxtank-core.js +298 -45
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/db/Enums/user-event-type-type.enum.d.ts +46 -0
- package/lib/db/Models/bank/bank.d.ts +1 -0
- package/lib/forms/index.d.ts +1 -0
- package/lib/forms/property/index.d.ts +1 -0
- package/lib/forms/property/property-sale/index.d.ts +3 -0
- package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts +14 -0
- package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts +25 -0
- package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts +26 -0
- package/lib/models/notification/notification.d.ts +2 -4
- package/lib/models/property/property-sale/index.d.ts +5 -0
- package/lib/models/property/property-sale/property-sale-cost-base.d.ts +12 -0
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +3 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -4
package/fesm2015/taxtank-core.js
CHANGED
|
@@ -698,6 +698,7 @@ const ENDPOINTS = {
|
|
|
698
698
|
SOLE_INVOICE_TEMPLATES_POST: new Endpoint('POST', '\\/sole-invoice-templates'),
|
|
699
699
|
SOLE_INVOICE_TEMPLATES_PUT: new Endpoint('PUT', '\\/sole-invoice-templates\\/\\d+'),
|
|
700
700
|
SOLE_INVOICE_TEMPLATES_DELETE: new Endpoint('DELETE', '\\/sole-invoice-templates\\/\\d+'),
|
|
701
|
+
TAX_EXEMPTIONS_GET: new Endpoint('GET', '\\/tax-exemptions'),
|
|
701
702
|
TAX_CALCULATION_POST: new Endpoint('POST', '\\/tax-calculation'),
|
|
702
703
|
TAX_REVIEWS_GET: new Endpoint('GET', '\\/tax-reviews'),
|
|
703
704
|
TAX_REVIEWS_DELETE: new Endpoint('DELETE', '\\/tax-reviews\\/\\d+'),
|
|
@@ -799,35 +800,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
799
800
|
type: Injectable
|
|
800
801
|
}], ctorParameters: function () { return [{ type: PreloaderService }]; } });
|
|
801
802
|
|
|
802
|
-
var UserEventTypeClientTypeEnum;
|
|
803
|
-
(function (UserEventTypeClientTypeEnum) {
|
|
804
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["SUBSCRIBED"] = 2000] = "SUBSCRIBED";
|
|
805
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["UNSUBSCRIBED"] = 2001] = "UNSUBSCRIBED";
|
|
806
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["SUBSCRIPTION_UPDATE"] = 2004] = "SUBSCRIPTION_UPDATE";
|
|
807
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["SUBSCRIPTION_TRIAL_UPDATE"] = 2005] = "SUBSCRIPTION_TRIAL_UPDATE";
|
|
808
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CLIENT_INVITE"] = 2010] = "CLIENT_INVITE";
|
|
809
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CLIENT_INVITE_TO_REGISTER"] = 2011] = "CLIENT_INVITE_TO_REGISTER";
|
|
810
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_ACCEPTED"] = 2012] = "FIRM_INVITE_ACCEPTED";
|
|
811
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REJECTED"] = 2013] = "FIRM_INVITE_REJECTED";
|
|
812
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REGISTERED"] = 2014] = "FIRM_INVITE_REGISTERED";
|
|
813
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE"] = 2020] = "PROPERTY_SHARE_INVITE";
|
|
814
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_TO_REGISTER"] = 2021] = "PROPERTY_SHARE_INVITE_TO_REGISTER";
|
|
815
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_ACCEPTED"] = 2022] = "PROPERTY_SHARE_INVITE_ACCEPTED";
|
|
816
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REJECTED"] = 2023] = "PROPERTY_SHARE_INVITE_REJECTED";
|
|
817
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REGISTERED"] = 2024] = "PROPERTY_SHARE_INVITE_REGISTERED";
|
|
818
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REQUESTED"] = 2025] = "PROPERTY_SHARE_CHANGE_REQUESTED";
|
|
819
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_ACCEPTED"] = 2026] = "PROPERTY_SHARE_CHANGE_ACCEPTED";
|
|
820
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REJECTED"] = 2027] = "PROPERTY_SHARE_CHANGE_REJECTED";
|
|
821
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_NEW_ACCOUNTS"] = 2030] = "BASIQ_NEW_ACCOUNTS";
|
|
822
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_FIRST_IMPORT_COMPLETE"] = 2031] = "BASIQ_FIRST_IMPORT_COMPLETE";
|
|
823
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_AUTHORIZATION_FAIL"] = 2032] = "BASIQ_AUTHORIZATION_FAIL";
|
|
824
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["TRANSACTION_ALLOCATE_REMINDER"] = 2033] = "TRANSACTION_ALLOCATE_REMINDER";
|
|
825
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["REGISTRATION_INVITE"] = 2040] = "REGISTRATION_INVITE";
|
|
826
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["REGISTRATION_INVITE_ACCEPTED"] = 2041] = "REGISTRATION_INVITE_ACCEPTED";
|
|
827
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["EMAIL_CONFIRMED"] = 2050] = "EMAIL_CONFIRMED";
|
|
828
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["TAX_REVIEW_REQUESTED"] = 2060] = "TAX_REVIEW_REQUESTED";
|
|
829
|
-
})(UserEventTypeClientTypeEnum || (UserEventTypeClientTypeEnum = {}));
|
|
830
|
-
|
|
831
803
|
// replace array element with the new one (only arrays of objects)
|
|
832
804
|
function replace(array, item, matchField = 'id') {
|
|
833
805
|
const index = array.findIndex((i) => i[matchField] === item[matchField]);
|
|
@@ -4231,7 +4203,7 @@ class BankConnection extends BankConnection$1 {
|
|
|
4231
4203
|
* login required for new or disconnected external connections
|
|
4232
4204
|
*/
|
|
4233
4205
|
isLoginRequired() {
|
|
4234
|
-
return !!(!this.id && this.bank.externalId) || this.isInvalid();
|
|
4206
|
+
return !!(!this.id && this.bank.externalId && !this.bank.isManual) || this.isInvalid();
|
|
4235
4207
|
}
|
|
4236
4208
|
setPending() {
|
|
4237
4209
|
this.status = BankConnectionStatusEnum.PENDING;
|
|
@@ -4514,6 +4486,54 @@ class BankAccountCollection extends Collection {
|
|
|
4514
4486
|
}
|
|
4515
4487
|
}
|
|
4516
4488
|
|
|
4489
|
+
var UserEventTypeTypeEnum;
|
|
4490
|
+
(function (UserEventTypeTypeEnum) {
|
|
4491
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["REGISTERED"] = 1000] = "REGISTERED";
|
|
4492
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PASSWORD_RESET_REQUEST"] = 1001] = "PASSWORD_RESET_REQUEST";
|
|
4493
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["APP_FEATURES"] = 1010] = "APP_FEATURES";
|
|
4494
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["SUBSCRIBED"] = 2000] = "SUBSCRIBED";
|
|
4495
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["UNSUBSCRIBED"] = 2001] = "UNSUBSCRIBED";
|
|
4496
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["SUBSCRIPTION_UPDATE"] = 2004] = "SUBSCRIPTION_UPDATE";
|
|
4497
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["SUBSCRIPTION_TRIAL_UPDATE"] = 2005] = "SUBSCRIPTION_TRIAL_UPDATE";
|
|
4498
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["SUBSCRIPTION_PAYMENT_FAILED"] = 2006] = "SUBSCRIPTION_PAYMENT_FAILED";
|
|
4499
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["CLIENT_INVITE"] = 2010] = "CLIENT_INVITE";
|
|
4500
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["CLIENT_INVITE_TO_REGISTER"] = 2011] = "CLIENT_INVITE_TO_REGISTER";
|
|
4501
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["FIRM_INVITE_ACCEPTED"] = 2012] = "FIRM_INVITE_ACCEPTED";
|
|
4502
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["FIRM_INVITE_REJECTED"] = 2013] = "FIRM_INVITE_REJECTED";
|
|
4503
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["FIRM_INVITE_REGISTERED"] = 2014] = "FIRM_INVITE_REGISTERED";
|
|
4504
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PROPERTY_SHARE_INVITE"] = 2020] = "PROPERTY_SHARE_INVITE";
|
|
4505
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PROPERTY_SHARE_INVITE_TO_REGISTER"] = 2021] = "PROPERTY_SHARE_INVITE_TO_REGISTER";
|
|
4506
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PROPERTY_SHARE_INVITE_ACCEPTED"] = 2022] = "PROPERTY_SHARE_INVITE_ACCEPTED";
|
|
4507
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PROPERTY_SHARE_INVITE_REJECTED"] = 2023] = "PROPERTY_SHARE_INVITE_REJECTED";
|
|
4508
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PROPERTY_SHARE_INVITE_REGISTERED"] = 2024] = "PROPERTY_SHARE_INVITE_REGISTERED";
|
|
4509
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PROPERTY_SHARE_CHANGE_REQUESTED"] = 2025] = "PROPERTY_SHARE_CHANGE_REQUESTED";
|
|
4510
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PROPERTY_SHARE_CHANGE_ACCEPTED"] = 2026] = "PROPERTY_SHARE_CHANGE_ACCEPTED";
|
|
4511
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["PROPERTY_SHARE_CHANGE_REJECTED"] = 2027] = "PROPERTY_SHARE_CHANGE_REJECTED";
|
|
4512
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["OWNER_SUBSCRIBED"] = 2028] = "OWNER_SUBSCRIBED";
|
|
4513
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["OWNER_UNSUBSCRIBED"] = 2029] = "OWNER_UNSUBSCRIBED";
|
|
4514
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["BASIQ_NEW_ACCOUNTS"] = 2030] = "BASIQ_NEW_ACCOUNTS";
|
|
4515
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["BASIQ_FIRST_IMPORT_COMPLETE"] = 2031] = "BASIQ_FIRST_IMPORT_COMPLETE";
|
|
4516
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["BASIQ_AUTHORIZATION_FAIL"] = 2032] = "BASIQ_AUTHORIZATION_FAIL";
|
|
4517
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["TRANSACTION_ALLOCATE_REMINDER"] = 2033] = "TRANSACTION_ALLOCATE_REMINDER";
|
|
4518
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["REGISTRATION_INVITE"] = 2040] = "REGISTRATION_INVITE";
|
|
4519
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["REGISTRATION_INVITE_ACCEPTED"] = 2041] = "REGISTRATION_INVITE_ACCEPTED";
|
|
4520
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["CLIENT_EMAIL_CONFIRMED"] = 2050] = "CLIENT_EMAIL_CONFIRMED";
|
|
4521
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["TAX_REVIEW_REQUESTED"] = 2060] = "TAX_REVIEW_REQUESTED";
|
|
4522
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["FIRM_INVITE_TO_REGISTER"] = 3000] = "FIRM_INVITE_TO_REGISTER";
|
|
4523
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["FIRM_INVITE"] = 3001] = "FIRM_INVITE";
|
|
4524
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["CLIENT_INVITE_ACCEPTED"] = 3002] = "CLIENT_INVITE_ACCEPTED";
|
|
4525
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["CLIENT_INVITE_REJECTED"] = 3003] = "CLIENT_INVITE_REJECTED";
|
|
4526
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["CLIENT_INVITE_REGISTERED"] = 3004] = "CLIENT_INVITE_REGISTERED";
|
|
4527
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["FIRM_NEW_CLIENT"] = 3005] = "FIRM_NEW_CLIENT";
|
|
4528
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["FIRM_LOST_CLIENT"] = 3006] = "FIRM_LOST_CLIENT";
|
|
4529
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["EMPLOYEE_INVITE"] = 3010] = "EMPLOYEE_INVITE";
|
|
4530
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["EMPLOYEE_LOST_CLIENT"] = 3011] = "EMPLOYEE_LOST_CLIENT";
|
|
4531
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["EMPLOYEE_NEW_CLIENT"] = 3012] = "EMPLOYEE_NEW_CLIENT";
|
|
4532
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["EMPLOYEE_INVITE_ACCEPTED"] = 3013] = "EMPLOYEE_INVITE_ACCEPTED";
|
|
4533
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["EMPLOYEE_EMAIL_CONFIRMED"] = 3020] = "EMPLOYEE_EMAIL_CONFIRMED";
|
|
4534
|
+
UserEventTypeTypeEnum[UserEventTypeTypeEnum["TAX_REVIEW_RECEIVED"] = 3030] = "TAX_REVIEW_RECEIVED";
|
|
4535
|
+
})(UserEventTypeTypeEnum || (UserEventTypeTypeEnum = {}));
|
|
4536
|
+
|
|
4517
4537
|
/**
|
|
4518
4538
|
* any event happened in the app, which needs to be handled somehow (distributed to other part of the app)
|
|
4519
4539
|
*/
|
|
@@ -4566,16 +4586,25 @@ class BankConnectionService extends RestService {
|
|
|
4566
4586
|
});
|
|
4567
4587
|
}
|
|
4568
4588
|
/**
|
|
4569
|
-
* Update cache when basiq login failed to get actual connections statuses
|
|
4589
|
+
* Update cache when basiq accounts were retrieved or login to basic was failed to get actual connections statuses
|
|
4570
4590
|
*/
|
|
4571
4591
|
listenNotifications() {
|
|
4592
|
+
// @TODO vik listen sse when backend updated
|
|
4572
4593
|
this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
|
|
4573
|
-
|
|
4594
|
+
// @Todo TT-2280 Alex refactor ServiceNotification isRead logic. We don't need to know here whether notification was read or not
|
|
4595
|
+
if (!notification.isRead) {
|
|
4596
|
+
return;
|
|
4597
|
+
}
|
|
4598
|
+
if (BankConnectionService.userEventTypes.includes(notification.eventType)) {
|
|
4574
4599
|
this.resetCache();
|
|
4575
4600
|
}
|
|
4576
4601
|
});
|
|
4577
4602
|
}
|
|
4578
4603
|
}
|
|
4604
|
+
BankConnectionService.userEventTypes = [
|
|
4605
|
+
UserEventTypeTypeEnum.BASIQ_NEW_ACCOUNTS,
|
|
4606
|
+
UserEventTypeTypeEnum.BASIQ_AUTHORIZATION_FAIL
|
|
4607
|
+
];
|
|
4579
4608
|
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4580
4609
|
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
|
|
4581
4610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, decorators: [{
|
|
@@ -4665,7 +4694,7 @@ class BasiqService extends RestService {
|
|
|
4665
4694
|
*/
|
|
4666
4695
|
listenNotifications() {
|
|
4667
4696
|
this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
|
|
4668
|
-
if (!notification.isRead && notification.eventType ===
|
|
4697
|
+
if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.BASIQ_NEW_ACCOUNTS) {
|
|
4669
4698
|
this.resetCache();
|
|
4670
4699
|
}
|
|
4671
4700
|
});
|
|
@@ -6947,6 +6976,35 @@ var UserEventTypeEmployeeTypeEnum;
|
|
|
6947
6976
|
UserEventTypeEmployeeTypeEnum[UserEventTypeEmployeeTypeEnum["TAX_REVIEW_REQUESTED"] = 3030] = "TAX_REVIEW_REQUESTED";
|
|
6948
6977
|
})(UserEventTypeEmployeeTypeEnum || (UserEventTypeEmployeeTypeEnum = {}));
|
|
6949
6978
|
|
|
6979
|
+
var UserEventTypeClientTypeEnum;
|
|
6980
|
+
(function (UserEventTypeClientTypeEnum) {
|
|
6981
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["SUBSCRIBED"] = 2000] = "SUBSCRIBED";
|
|
6982
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["UNSUBSCRIBED"] = 2001] = "UNSUBSCRIBED";
|
|
6983
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["SUBSCRIPTION_UPDATE"] = 2004] = "SUBSCRIPTION_UPDATE";
|
|
6984
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["SUBSCRIPTION_TRIAL_UPDATE"] = 2005] = "SUBSCRIPTION_TRIAL_UPDATE";
|
|
6985
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CLIENT_INVITE"] = 2010] = "CLIENT_INVITE";
|
|
6986
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CLIENT_INVITE_TO_REGISTER"] = 2011] = "CLIENT_INVITE_TO_REGISTER";
|
|
6987
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_ACCEPTED"] = 2012] = "FIRM_INVITE_ACCEPTED";
|
|
6988
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REJECTED"] = 2013] = "FIRM_INVITE_REJECTED";
|
|
6989
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REGISTERED"] = 2014] = "FIRM_INVITE_REGISTERED";
|
|
6990
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE"] = 2020] = "PROPERTY_SHARE_INVITE";
|
|
6991
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_TO_REGISTER"] = 2021] = "PROPERTY_SHARE_INVITE_TO_REGISTER";
|
|
6992
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_ACCEPTED"] = 2022] = "PROPERTY_SHARE_INVITE_ACCEPTED";
|
|
6993
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REJECTED"] = 2023] = "PROPERTY_SHARE_INVITE_REJECTED";
|
|
6994
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REGISTERED"] = 2024] = "PROPERTY_SHARE_INVITE_REGISTERED";
|
|
6995
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REQUESTED"] = 2025] = "PROPERTY_SHARE_CHANGE_REQUESTED";
|
|
6996
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_ACCEPTED"] = 2026] = "PROPERTY_SHARE_CHANGE_ACCEPTED";
|
|
6997
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REJECTED"] = 2027] = "PROPERTY_SHARE_CHANGE_REJECTED";
|
|
6998
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_NEW_ACCOUNTS"] = 2030] = "BASIQ_NEW_ACCOUNTS";
|
|
6999
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_FIRST_IMPORT_COMPLETE"] = 2031] = "BASIQ_FIRST_IMPORT_COMPLETE";
|
|
7000
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_AUTHORIZATION_FAIL"] = 2032] = "BASIQ_AUTHORIZATION_FAIL";
|
|
7001
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["TRANSACTION_ALLOCATE_REMINDER"] = 2033] = "TRANSACTION_ALLOCATE_REMINDER";
|
|
7002
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["REGISTRATION_INVITE"] = 2040] = "REGISTRATION_INVITE";
|
|
7003
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["REGISTRATION_INVITE_ACCEPTED"] = 2041] = "REGISTRATION_INVITE_ACCEPTED";
|
|
7004
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["EMAIL_CONFIRMED"] = 2050] = "EMAIL_CONFIRMED";
|
|
7005
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["TAX_REVIEW_REQUESTED"] = 2060] = "TAX_REVIEW_REQUESTED";
|
|
7006
|
+
})(UserEventTypeClientTypeEnum || (UserEventTypeClientTypeEnum = {}));
|
|
7007
|
+
|
|
6950
7008
|
var UserMedicareExemptionEnum;
|
|
6951
7009
|
(function (UserMedicareExemptionEnum) {
|
|
6952
7010
|
UserMedicareExemptionEnum[UserMedicareExemptionEnum["NO"] = 0] = "NO";
|
|
@@ -8253,6 +8311,26 @@ __decorate([
|
|
|
8253
8311
|
Type(() => PropertySaleTaxExemptionMetadata$1)
|
|
8254
8312
|
], PropertySale.prototype, "taxExemptionMetadata", void 0);
|
|
8255
8313
|
|
|
8314
|
+
/**
|
|
8315
|
+
* @Todo TT-2143 should be removed when PropertySaleCostBaseForm refactored (cut property to separated form)
|
|
8316
|
+
*/
|
|
8317
|
+
class PropertySaleCostBase {
|
|
8318
|
+
static createFrom(property, propertySale, depreciations, holdingCosts) {
|
|
8319
|
+
var _a, _b, _c;
|
|
8320
|
+
return plainToClass(PropertySaleCostBase, {
|
|
8321
|
+
property: plainToClass(Property, property),
|
|
8322
|
+
sale: plainToClass(PropertySale, Object.assign({}, propertySale, {
|
|
8323
|
+
holdingCosts: (_a = propertySale.holdingCosts) !== null && _a !== void 0 ? _a : Math.abs(holdingCosts.sumBy('amount')),
|
|
8324
|
+
structuralImprovementsWDV: (_b = propertySale.structuralImprovementsWDV) !== null && _b !== void 0 ? _b : depreciations.getWithCapitalProject().getCloseBalanceByYear(),
|
|
8325
|
+
buildingAtCostClaimed: (_c = propertySale.buildingAtCostClaimed) !== null && _c !== void 0 ? _c : depreciations.getWithoutCapitalProject().getClaimedAmountByYear(),
|
|
8326
|
+
})),
|
|
8327
|
+
});
|
|
8328
|
+
}
|
|
8329
|
+
}
|
|
8330
|
+
|
|
8331
|
+
class PropertySaleTaxExemptionMetadata extends PropertySaleTaxExemptionMetadata$1 {
|
|
8332
|
+
}
|
|
8333
|
+
|
|
8256
8334
|
class TaxExemption$1 extends AbstractModel {
|
|
8257
8335
|
}
|
|
8258
8336
|
|
|
@@ -8265,9 +8343,6 @@ class TaxExemptionMetadata$1 extends AbstractModel {
|
|
|
8265
8343
|
class TaxExemptionMetadata extends TaxExemptionMetadata$1 {
|
|
8266
8344
|
}
|
|
8267
8345
|
|
|
8268
|
-
class PropertySaleTaxExemptionMetadata extends PropertySaleTaxExemptionMetadata$1 {
|
|
8269
|
-
}
|
|
8270
|
-
|
|
8271
8346
|
/**
|
|
8272
8347
|
* @Todo waiting for the Sole tank implementation
|
|
8273
8348
|
*/
|
|
@@ -10476,9 +10551,12 @@ class TransactionService extends RestService {
|
|
|
10476
10551
|
* Get list of property holding costs (transactions related to vacant land property)
|
|
10477
10552
|
*/
|
|
10478
10553
|
getPropertyHoldingCosts(propertyId) {
|
|
10479
|
-
return this.
|
|
10480
|
-
.pipe(map((
|
|
10481
|
-
return
|
|
10554
|
+
return this.get()
|
|
10555
|
+
.pipe(map((transactions) => {
|
|
10556
|
+
return new TransactionCollection(transactions)
|
|
10557
|
+
.filterBy('property.id', propertyId)
|
|
10558
|
+
.filterBy('property.category.id', PropertyCategoryListEnum.VACANT_LAND)
|
|
10559
|
+
.toArray();
|
|
10482
10560
|
}));
|
|
10483
10561
|
}
|
|
10484
10562
|
/**
|
|
@@ -10940,7 +11018,7 @@ class BankService extends RestService {
|
|
|
10940
11018
|
get() {
|
|
10941
11019
|
return super.get().pipe(map((banks) => {
|
|
10942
11020
|
// exclude basiq banks without login fields (basiq may return broken banks without loginFields)
|
|
10943
|
-
return banks.filter((bank) =>
|
|
11021
|
+
return banks.filter((bank) => bank.isManual || (bank.externalId && bank.loginFields));
|
|
10944
11022
|
}));
|
|
10945
11023
|
}
|
|
10946
11024
|
}
|
|
@@ -11098,7 +11176,7 @@ class BankTransactionService extends RestService {
|
|
|
11098
11176
|
}
|
|
11099
11177
|
listenBankTransactionsImport() {
|
|
11100
11178
|
this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
|
|
11101
|
-
if (!notification.isRead && notification.eventType ===
|
|
11179
|
+
if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.BASIQ_FIRST_IMPORT_COMPLETE) {
|
|
11102
11180
|
this.resetCache();
|
|
11103
11181
|
}
|
|
11104
11182
|
});
|
|
@@ -11619,7 +11697,7 @@ class ClientInviteService extends RestService {
|
|
|
11619
11697
|
*/
|
|
11620
11698
|
listenNotifications() {
|
|
11621
11699
|
this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
|
|
11622
|
-
if (!notification.isRead && (notification.eventType ===
|
|
11700
|
+
if (!notification.isRead && (notification.eventType === UserEventTypeTypeEnum.FIRM_INVITE_ACCEPTED || notification.eventType === UserEventTypeTypeEnum.CLIENT_INVITE)) {
|
|
11623
11701
|
this.resetCache();
|
|
11624
11702
|
}
|
|
11625
11703
|
});
|
|
@@ -11691,7 +11769,7 @@ class ClientMovementService extends RestService {
|
|
|
11691
11769
|
}
|
|
11692
11770
|
listenNotifications() {
|
|
11693
11771
|
this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
|
|
11694
|
-
if (!notification.isRead && notification.eventType ===
|
|
11772
|
+
if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.FIRM_INVITE_ACCEPTED) {
|
|
11695
11773
|
this.resetCache();
|
|
11696
11774
|
}
|
|
11697
11775
|
});
|
|
@@ -12686,6 +12764,7 @@ class ServiceNotificationService extends RestService {
|
|
|
12686
12764
|
}
|
|
12687
12765
|
this.cache = cache;
|
|
12688
12766
|
this.cacheSubject.next(this.cache);
|
|
12767
|
+
// @TODO TT-2280 Alex wrong event, it's updated, added or deleted. Not just added
|
|
12689
12768
|
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.NOTIFICATION_ADDED, notification));
|
|
12690
12769
|
});
|
|
12691
12770
|
}
|
|
@@ -13626,7 +13705,7 @@ class TaxReviewService extends RestService {
|
|
|
13626
13705
|
}
|
|
13627
13706
|
listenNotifications() {
|
|
13628
13707
|
this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
|
|
13629
|
-
if (!notification.isRead && notification.eventType ===
|
|
13708
|
+
if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.FIRM_INVITE_ACCEPTED) {
|
|
13630
13709
|
this.resetCache();
|
|
13631
13710
|
}
|
|
13632
13711
|
});
|
|
@@ -14871,6 +14950,180 @@ class UserInviteForm extends AbstractForm {
|
|
|
14871
14950
|
}
|
|
14872
14951
|
}
|
|
14873
14952
|
|
|
14953
|
+
/**
|
|
14954
|
+
* @Todo TT-2143 remove Property stuff and use this form just for PropertySale
|
|
14955
|
+
* @Todo TT-2143 create and extend from abstract PropertySale form
|
|
14956
|
+
*/
|
|
14957
|
+
class PropertySaleCostBaseForm extends AbstractForm {
|
|
14958
|
+
constructor(propertySaleCostBase) {
|
|
14959
|
+
super({
|
|
14960
|
+
property: new FormGroup({
|
|
14961
|
+
purchasePrice: new FormControl(propertySaleCostBase.property.purchasePrice, Validators.required),
|
|
14962
|
+
contractDate: new FormControl(propertySaleCostBase.property.contractDate, Validators.required),
|
|
14963
|
+
stampDuty: new FormControl(propertySaleCostBase.property.stampDuty, Validators.required),
|
|
14964
|
+
legalFees: new FormControl(propertySaleCostBase.property.legalFees, Validators.required),
|
|
14965
|
+
otherCapitalCosts: new FormControl(propertySaleCostBase.property.otherCapitalCosts, Validators.required),
|
|
14966
|
+
}),
|
|
14967
|
+
sale: new FormGroup({
|
|
14968
|
+
holdingCosts: new FormControl(propertySaleCostBase.sale.holdingCosts),
|
|
14969
|
+
structuralImprovementsWDV: new FormControl(propertySaleCostBase.sale.structuralImprovementsWDV),
|
|
14970
|
+
buildingAtCostClaimed: new FormControl(propertySaleCostBase.sale.buildingAtCostClaimed)
|
|
14971
|
+
})
|
|
14972
|
+
}, propertySaleCostBase);
|
|
14973
|
+
this.propertySaleCostBase = propertySaleCostBase;
|
|
14974
|
+
}
|
|
14975
|
+
getProperty() {
|
|
14976
|
+
return plainToClass(Property, Object.assign({}, this.propertySaleCostBase.property, this.get('property').value));
|
|
14977
|
+
}
|
|
14978
|
+
getPropertySale() {
|
|
14979
|
+
return plainToClass(PropertySale, Object.assign({}, this.propertySaleCostBase.sale, this.get('sale').value));
|
|
14980
|
+
}
|
|
14981
|
+
submit(data = {}) {
|
|
14982
|
+
Object.assign(data, { property: plainToClass(Property, Object.assign({}, this.propertySaleCostBase.property, this.get('property').value)) }, { sale: plainToClass(PropertySale, Object.assign({}, this.propertySaleCostBase.sale, this.get('sale').value)) });
|
|
14983
|
+
return super.submit(data);
|
|
14984
|
+
}
|
|
14985
|
+
}
|
|
14986
|
+
|
|
14987
|
+
/**
|
|
14988
|
+
* @Todo TT-2143 Create and extend from abstract PropertySale form
|
|
14989
|
+
*/
|
|
14990
|
+
class PropertySaleCostSaleForm extends AbstractForm {
|
|
14991
|
+
constructor(propertySale, property) {
|
|
14992
|
+
super({
|
|
14993
|
+
price: new FormControl(propertySale.price, Validators.required),
|
|
14994
|
+
contractDate: new FormControl(propertySale.contractDate, Validators.required),
|
|
14995
|
+
settlementDate: new FormControl(propertySale.settlementDate, Validators.required),
|
|
14996
|
+
commission: new FormControl(propertySale.commission || 0, Validators.required),
|
|
14997
|
+
legalFees: new FormControl(propertySale.legalFees || 0, Validators.required),
|
|
14998
|
+
otherCost: new FormControl(propertySale.otherCost || 0, Validators.required),
|
|
14999
|
+
capitalLoss: new FormControl(propertySale.capitalLoss || 0, Validators.required),
|
|
15000
|
+
// capital gain tax
|
|
15001
|
+
grossCGT: new FormControl({ value: propertySale.grossCGT, disabled: true }, Validators.required),
|
|
15002
|
+
}, propertySale);
|
|
15003
|
+
this.propertySale = propertySale;
|
|
15004
|
+
this.property = property;
|
|
15005
|
+
this.updateGrossCGT();
|
|
15006
|
+
this.listenEvents();
|
|
15007
|
+
}
|
|
15008
|
+
listenEvents() {
|
|
15009
|
+
this.listenCommissionUpdated();
|
|
15010
|
+
this.listenLegalFeesUpdated();
|
|
15011
|
+
this.listenOtherCostUpdated();
|
|
15012
|
+
this.listenPriceUpdated();
|
|
15013
|
+
this.listenCapitalLossUpdated();
|
|
15014
|
+
}
|
|
15015
|
+
/**
|
|
15016
|
+
* Get property instance based on provided property and form value to get actual form calculations
|
|
15017
|
+
* @Todo TT-2143 Move to parent abstract PropertySale form
|
|
15018
|
+
*/
|
|
15019
|
+
getPropertySale() {
|
|
15020
|
+
return plainToClass(PropertySale, Object.assign({}, this.propertySale, this.getRawValue()));
|
|
15021
|
+
}
|
|
15022
|
+
submit(data = {}) {
|
|
15023
|
+
// 'grossCGT' field is always disabled, but we need it to submit result
|
|
15024
|
+
Object.assign(data, { grossCGT: this.get('grossCGT').value });
|
|
15025
|
+
return super.submit(data);
|
|
15026
|
+
}
|
|
15027
|
+
updateGrossCGT() {
|
|
15028
|
+
this.get('grossCGT').setValue(Math.round(this.property.calculateCGT(this.getPropertySale())).toFixed());
|
|
15029
|
+
}
|
|
15030
|
+
listenCommissionUpdated() {
|
|
15031
|
+
this.get('commission').valueChanges.subscribe(() => {
|
|
15032
|
+
this.updateGrossCGT();
|
|
15033
|
+
});
|
|
15034
|
+
}
|
|
15035
|
+
listenLegalFeesUpdated() {
|
|
15036
|
+
this.get('legalFees').valueChanges.subscribe(() => {
|
|
15037
|
+
this.updateGrossCGT();
|
|
15038
|
+
});
|
|
15039
|
+
}
|
|
15040
|
+
listenOtherCostUpdated() {
|
|
15041
|
+
this.get('otherCost').valueChanges.subscribe(() => {
|
|
15042
|
+
this.updateGrossCGT();
|
|
15043
|
+
});
|
|
15044
|
+
}
|
|
15045
|
+
listenPriceUpdated() {
|
|
15046
|
+
this.get('price').valueChanges.subscribe(() => {
|
|
15047
|
+
this.updateGrossCGT();
|
|
15048
|
+
});
|
|
15049
|
+
}
|
|
15050
|
+
listenCapitalLossUpdated() {
|
|
15051
|
+
this.get('capitalLoss').valueChanges.subscribe(() => {
|
|
15052
|
+
this.updateGrossCGT();
|
|
15053
|
+
});
|
|
15054
|
+
}
|
|
15055
|
+
}
|
|
15056
|
+
|
|
15057
|
+
/**
|
|
15058
|
+
* @Todo TT-2143 Create and extend from abstract PropertySale form
|
|
15059
|
+
*/
|
|
15060
|
+
class PropertySaleExemptionsForm extends AbstractForm {
|
|
15061
|
+
constructor(propertySale, property, taxExemptions) {
|
|
15062
|
+
var _a, _b;
|
|
15063
|
+
super({
|
|
15064
|
+
taxExemption: new FormControl(taxExemptions.findBy('id', (_b = (_a = propertySale.taxExemption) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : property.getCGTExemption(propertySale))),
|
|
15065
|
+
taxExemptionMetadata: new FormArray([]),
|
|
15066
|
+
netCGT: new FormControl(propertySale.netCGT)
|
|
15067
|
+
}, propertySale);
|
|
15068
|
+
this.propertySale = propertySale;
|
|
15069
|
+
this.property = property;
|
|
15070
|
+
this.taxExemptions = taxExemptions;
|
|
15071
|
+
if (propertySale.taxExemption) {
|
|
15072
|
+
this.setFormMetadataControls();
|
|
15073
|
+
}
|
|
15074
|
+
this.updateNetCGT();
|
|
15075
|
+
this.listenEvents();
|
|
15076
|
+
}
|
|
15077
|
+
listenEvents() {
|
|
15078
|
+
this.listenTaxExemptionUpdated();
|
|
15079
|
+
}
|
|
15080
|
+
/**
|
|
15081
|
+
* @Todo TT-2143 Move to parent abstract PropertySale form
|
|
15082
|
+
*/
|
|
15083
|
+
getPropertySale() {
|
|
15084
|
+
return plainToClass(PropertySale, Object.assign({}, this.propertySale, this.getRawValue()));
|
|
15085
|
+
}
|
|
15086
|
+
updateNetCGT() {
|
|
15087
|
+
this.get('netCGT').setValue(this.property.calculateNetCGT(this.getPropertySale()));
|
|
15088
|
+
}
|
|
15089
|
+
listenTaxExemptionUpdated() {
|
|
15090
|
+
this.get('taxExemption').valueChanges.subscribe((taxExemption) => {
|
|
15091
|
+
this.updateNetCGT();
|
|
15092
|
+
this.setFormMetadataControls(taxExemption);
|
|
15093
|
+
});
|
|
15094
|
+
}
|
|
15095
|
+
/**
|
|
15096
|
+
* show metadata related to passed tax exemption or existing property sale metadata
|
|
15097
|
+
*/
|
|
15098
|
+
setFormMetadataControls(taxExemption) {
|
|
15099
|
+
// use property sale tax exemption if it exists to preselect data
|
|
15100
|
+
const currentTaxExemption = this.propertySale.taxExemption ?
|
|
15101
|
+
this.taxExemptions.findBy('id', this.propertySale.taxExemption.id) :
|
|
15102
|
+
taxExemption;
|
|
15103
|
+
const formArray = this.get('taxExemptionMetadata');
|
|
15104
|
+
// clean up
|
|
15105
|
+
formArray.clear();
|
|
15106
|
+
// show all tax exemption metadata fields
|
|
15107
|
+
currentTaxExemption.metadata.forEach((metadata) => {
|
|
15108
|
+
// use property sale tax exemption metadata value if it exists
|
|
15109
|
+
const metadataValue = this.propertySale.taxExemption ?
|
|
15110
|
+
this.propertySale.taxExemptionMetadata
|
|
15111
|
+
.find((saleMetadata) => saleMetadata.metadata.id === metadata.id).value :
|
|
15112
|
+
null;
|
|
15113
|
+
const validators = [
|
|
15114
|
+
// claim percent is optional
|
|
15115
|
+
metadata.id !== TaxExemptionMetadataEnum.CLAIM_PERCENT && Validators.required,
|
|
15116
|
+
// ppr days can't be more than ownership days
|
|
15117
|
+
metadata.id === TaxExemptionMetadataEnum.PPR_DAYS && Validators.max(this.property.getOwnershipDuration(this.propertySale))
|
|
15118
|
+
].filter(Boolean);
|
|
15119
|
+
formArray.push(new FormGroup({
|
|
15120
|
+
metadata: new FormControl(metadata),
|
|
15121
|
+
value: new FormControl(metadataValue, validators)
|
|
15122
|
+
}));
|
|
15123
|
+
});
|
|
15124
|
+
}
|
|
15125
|
+
}
|
|
15126
|
+
|
|
14874
15127
|
/**
|
|
14875
15128
|
* @Todo waiting for the Sole tank implementation
|
|
14876
15129
|
*/
|
|
@@ -15370,5 +15623,5 @@ VehicleLogbookForm.maxDescriptionLength = 60;
|
|
|
15370
15623
|
* Generated bundle index. Do not edit.
|
|
15371
15624
|
*/
|
|
15372
15625
|
|
|
15373
|
-
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, KompassifyService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessOrLosses, MyTaxBusinessOrLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEmployeeShareSchemes, MyTaxEmployeeShareSchemesForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RewardfulService, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductIdEnum, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
|
|
15626
|
+
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, KompassifyService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessOrLosses, MyTaxBusinessOrLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEmployeeShareSchemes, MyTaxEmployeeShareSchemesForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RewardfulService, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductIdEnum, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
|
|
15374
15627
|
//# sourceMappingURL=taxtank-core.js.map
|