taxtank-core 0.8.3 → 0.8.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 +145 -140
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/collection.js +2 -2
- package/esm2015/lib/collections/depreciation.collection.js +3 -3
- package/esm2015/lib/collections/tax-summary/report-item.collection.js +141 -0
- package/esm2015/lib/db/Models/transaction-base.js +2 -1
- package/esm2015/lib/models/property/property.js +7 -4
- package/esm2015/lib/models/tax-summary/report-item-details.js +9 -0
- package/esm2015/lib/models/tax-summary/report-item.js +15 -0
- package/esm2015/lib/models/tax-summary/tax-summary-section.js +5 -5
- package/esm2015/lib/services/http/address/address.service.js +39 -0
- package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +118 -0
- package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +52 -0
- package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +89 -0
- package/esm2015/lib/services/http/bank/bank.service.js +24 -0
- package/esm2015/lib/services/http/bank/basiq/basiq.service.js +94 -0
- package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +38 -0
- package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +89 -0
- package/esm2015/lib/services/http/chat/chat.service.js +77 -0
- package/esm2015/lib/services/http/chat/message/message.service.js +65 -0
- package/esm2015/lib/services/http/chat/message-document/message-document.service.js +118 -0
- package/esm2015/lib/services/{depreciation/capital-project.service.js → http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js} +7 -7
- package/esm2015/lib/services/http/depreciation/depreciation.service.js +146 -0
- package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +84 -0
- package/esm2015/lib/services/{client → http/firm/client-invite}/client-invite.service.js +7 -7
- package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +98 -0
- package/esm2015/lib/services/http/firm/employee/employee.service.js +39 -0
- package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +53 -0
- package/esm2015/lib/services/http/firm/firm.service.js +79 -0
- package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +37 -0
- package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +90 -0
- package/esm2015/lib/services/http/income-source/income-source.service.js +109 -0
- package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +90 -0
- package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +87 -0
- package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +73 -0
- package/esm2015/lib/services/http/loan/loan.service.js +145 -0
- package/esm2015/lib/services/http/property/property-category/property-category.service.js +23 -0
- package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +47 -0
- package/esm2015/lib/services/http/property/property-document/property-document.service.js +70 -0
- package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +20 -0
- package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +21 -0
- package/esm2015/lib/services/http/property/property-share/property-share.service.js +115 -0
- package/esm2015/lib/services/http/property/property.service.js +126 -0
- package/esm2015/lib/services/http/rest/rest.service.js +190 -0
- package/esm2015/lib/services/http/service-notification/service-notification.service.js +65 -0
- package/esm2015/lib/services/http/subscription/subscription.service.js +157 -0
- package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +41 -0
- package/esm2015/lib/services/http/tax-review/tax-review.service.js +103 -0
- package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +71 -0
- package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +85 -0
- package/esm2015/lib/services/http/transaction/transaction.service.js +319 -0
- package/esm2015/lib/services/http/user/occupation/occupation.service.js +45 -0
- package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +59 -0
- package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +29 -0
- package/esm2015/lib/services/http/user/user.service.js +124 -0
- package/esm2015/lib/services/http/vehicle/vehicle.service.js +237 -0
- package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +45 -0
- package/esm2015/public-api.js +51 -51
- package/fesm2015/taxtank-core.js +67 -62
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/collection.d.ts +1 -1
- package/lib/collections/{tax-return-category-item.collection.d.ts → tax-summary/report-item.collection.d.ts} +5 -5
- package/lib/models/property/property.d.ts +1 -0
- package/lib/models/tax-summary/{tax-return-category-item-details.d.ts → report-item-details.d.ts} +2 -2
- package/lib/models/tax-summary/{tax-return-category-item.d.ts → report-item.d.ts} +4 -4
- package/lib/models/tax-summary/tax-summary-section.d.ts +2 -2
- package/lib/services/{address → http/address}/address.service.d.ts +1 -1
- package/lib/services/{bank → http/bank/bank-account}/bank-account.service.d.ts +5 -5
- package/lib/services/{bank → http/bank/bank-connection}/bank-connection.service.d.ts +5 -5
- package/lib/services/{bank → http/bank/bank-transaction}/bank-transaction.service.d.ts +5 -5
- package/lib/services/{bank → http/bank}/bank.service.d.ts +4 -4
- package/lib/services/{bank → http/bank/basiq}/basiq.service.d.ts +7 -7
- package/lib/services/{chart-accounts → http/chart-accounts/chart-accounts-depreciations}/chart-accounts-depreciations.service.d.ts +4 -4
- package/lib/services/{chart-accounts → http/chart-accounts}/chart-accounts.service.d.ts +3 -3
- package/lib/services/{chat → http/chat}/chat.service.d.ts +7 -7
- package/lib/services/{chat → http/chat/message}/message.service.d.ts +7 -7
- package/lib/services/{chat → http/chat/message-document}/message-document.service.d.ts +3 -3
- package/lib/services/{depreciation/capital-project.service.d.ts → http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts} +4 -4
- package/lib/services/{depreciation → http/depreciation}/depreciation.service.d.ts +5 -5
- package/lib/services/{document → http/document/document-folder}/document-folder.service.d.ts +6 -6
- package/lib/services/{client → http/firm/client-invite}/client-invite.service.d.ts +4 -4
- package/lib/services/{client → http/firm/client-movement}/client-movement.service.d.ts +7 -7
- package/lib/services/{employee → http/firm/employee}/employee.service.d.ts +4 -4
- package/lib/services/{employee → http/firm/employee-invite}/employee-invite.service.d.ts +4 -4
- package/lib/services/{firm → http/firm}/firm.service.d.ts +2 -2
- package/lib/services/{client → http/firm/portfolio-report}/client-portfolio-report.service.d.ts +1 -1
- package/lib/services/{income-source → http/income-source/income-source-forecast}/income-source-forecast.service.d.ts +5 -5
- package/lib/services/{income-source → http/income-source}/income-source.service.d.ts +8 -8
- package/lib/services/{income-source → http/income-source/salary-forecast}/salary-forecast.service.d.ts +6 -6
- package/lib/services/{income-source → http/income-source/sole-forecast}/sole-forecast.service.d.ts +5 -5
- package/lib/services/{borrowing-expense → http/loan/borrowing-expense}/borrowing-expense.service.d.ts +2 -2
- package/lib/services/{loan → http/loan}/loan.service.d.ts +6 -6
- package/lib/services/{property → http/property}/property-category/property-category.service.d.ts +4 -4
- package/lib/services/{property → http/property/property-category-movement}/property-category-movement.service.d.ts +4 -4
- package/lib/services/{property → http/property}/property-document/property-document.service.d.ts +5 -5
- package/lib/services/http/property/property-sale/property-sale.service.d.ts +10 -0
- package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts +11 -0
- package/lib/services/{property → http/property}/property-share/property-share.service.d.ts +5 -5
- package/lib/services/{property → http/property}/property.service.d.ts +5 -5
- package/lib/services/{base-rest.service.d.ts → http/rest/rest.service.d.ts} +4 -4
- package/lib/services/http/service-notification/service-notification.service.d.ts +31 -0
- package/lib/services/{subscription → http/subscription}/subscription.service.d.ts +6 -6
- package/lib/services/{tax-review → http/tax-review/tax-review-history}/tax-review-history.service.d.ts +5 -5
- package/lib/services/{tax-review → http/tax-review}/tax-review.service.d.ts +6 -6
- package/lib/services/{tax-summary → http/tax-summary}/tax-summary.service.d.ts +2 -2
- package/lib/services/{transaction → http/transaction/transaction-allocation}/transaction-allocation.service.d.ts +6 -6
- package/lib/services/{transaction → http/transaction}/transaction.service.d.ts +7 -7
- package/lib/services/{user → http/user/occupation}/occupation.service.d.ts +1 -1
- package/lib/services/{user-event → http/user/user-event-setting}/user-event-setting.service.d.ts +5 -5
- package/lib/services/{user-event → http/user/user-event-type}/user-event-type.service.d.ts +5 -5
- package/lib/services/{user → http/user}/user.service.d.ts +3 -3
- package/lib/services/{work/work-tank.service.d.ts → http/vehicle/vehicle.service.d.ts} +9 -8
- package/lib/services/property/{equity-position-chart.service.d.ts → equity-position-chart/equity-position-chart.service.d.ts} +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +50 -50
- package/esm2015/lib/collections/tax-return-category-item.collection.js +0 -141
- package/esm2015/lib/models/tax-summary/tax-return-category-item-details.js +0 -9
- package/esm2015/lib/models/tax-summary/tax-return-category-item.js +0 -15
- package/esm2015/lib/services/address/address.service.js +0 -39
- package/esm2015/lib/services/bank/bank-account.service.js +0 -118
- package/esm2015/lib/services/bank/bank-connection.service.js +0 -52
- package/esm2015/lib/services/bank/bank-transaction.service.js +0 -89
- package/esm2015/lib/services/bank/bank.service.js +0 -24
- package/esm2015/lib/services/bank/basiq.service.js +0 -94
- package/esm2015/lib/services/base-rest.service.js +0 -190
- package/esm2015/lib/services/borrowing-expense/borrowing-expense.service.js +0 -73
- package/esm2015/lib/services/chart-accounts/chart-accounts-depreciations.service.js +0 -38
- package/esm2015/lib/services/chart-accounts/chart-accounts.service.js +0 -89
- package/esm2015/lib/services/chat/chat.service.js +0 -77
- package/esm2015/lib/services/chat/message-document.service.js +0 -118
- package/esm2015/lib/services/chat/message.service.js +0 -65
- package/esm2015/lib/services/client/client-movement.service.js +0 -98
- package/esm2015/lib/services/client/client-portfolio-report.service.js +0 -37
- package/esm2015/lib/services/depreciation/depreciation.service.js +0 -146
- package/esm2015/lib/services/document/document-folder.service.js +0 -84
- package/esm2015/lib/services/employee/employee-invite.service.js +0 -53
- package/esm2015/lib/services/employee/employee.service.js +0 -39
- package/esm2015/lib/services/firm/firm.service.js +0 -79
- package/esm2015/lib/services/income-source/income-source-forecast.service.js +0 -90
- package/esm2015/lib/services/income-source/income-source.service.js +0 -109
- package/esm2015/lib/services/income-source/salary-forecast.service.js +0 -90
- package/esm2015/lib/services/income-source/sole-forecast.service.js +0 -87
- package/esm2015/lib/services/loan/loan.service.js +0 -145
- package/esm2015/lib/services/notification/notification.service.js +0 -65
- package/esm2015/lib/services/property/equity-position-chart.service.js +0 -45
- package/esm2015/lib/services/property/property-category/property-category.service.js +0 -23
- package/esm2015/lib/services/property/property-category-movement.service.js +0 -47
- package/esm2015/lib/services/property/property-document/property-document.service.js +0 -70
- package/esm2015/lib/services/property/property-sale/property-sale.service.js +0 -20
- package/esm2015/lib/services/property/property-sale/tax-exemption/tax-exemption.service.js +0 -21
- package/esm2015/lib/services/property/property-share/property-share.service.js +0 -115
- package/esm2015/lib/services/property/property.service.js +0 -126
- package/esm2015/lib/services/subscription/subscription.service.js +0 -157
- package/esm2015/lib/services/tax-review/tax-review-history.service.js +0 -41
- package/esm2015/lib/services/tax-review/tax-review.service.js +0 -103
- package/esm2015/lib/services/tax-summary/tax-summary.service.js +0 -71
- package/esm2015/lib/services/transaction/transaction-allocation.service.js +0 -85
- package/esm2015/lib/services/transaction/transaction.service.js +0 -319
- package/esm2015/lib/services/user/occupation.service.js +0 -45
- package/esm2015/lib/services/user/user.service.js +0 -124
- package/esm2015/lib/services/user-event/user-event-setting.service.js +0 -59
- package/esm2015/lib/services/user-event/user-event-type.service.js +0 -29
- package/esm2015/lib/services/work/work-tank.service.js +0 -236
- package/lib/services/notification/notification.service.d.ts +0 -31
- package/lib/services/property/property-sale/property-sale.service.d.ts +0 -10
- package/lib/services/property/property-sale/tax-exemption/tax-exemption.service.d.ts +0 -11
|
@@ -1261,7 +1261,7 @@
|
|
|
1261
1261
|
Collection.prototype.getIds = function () {
|
|
1262
1262
|
return this.items.map(function (item) { return item['id']; });
|
|
1263
1263
|
};
|
|
1264
|
-
Collection.prototype.
|
|
1264
|
+
Collection.prototype.findBy = function (path, value) {
|
|
1265
1265
|
return this.items.find(function (item) { return get__default["default"](item, path) === value; });
|
|
1266
1266
|
};
|
|
1267
1267
|
Collection.prototype.getBy = function (path, value) {
|
|
@@ -1952,8 +1952,8 @@
|
|
|
1952
1952
|
});
|
|
1953
1953
|
DepreciationCollection.prototype.getClaimAmountByYear = function (year) {
|
|
1954
1954
|
if (year === void 0) { year = +localStorage.getItem('financialYear'); }
|
|
1955
|
-
return this.items.reduce(function (sum, depreciation) {
|
|
1956
|
-
return sum + depreciation.
|
|
1955
|
+
return this.amount - this.items.reduce(function (sum, depreciation) {
|
|
1956
|
+
return sum + depreciation.getCloseBalanceByYear(year);
|
|
1957
1957
|
}, 0);
|
|
1958
1958
|
};
|
|
1959
1959
|
DepreciationCollection.prototype.getCloseBalanceByYear = function (year) {
|
|
@@ -2536,12 +2536,12 @@
|
|
|
2536
2536
|
/**
|
|
2537
2537
|
* collection for tax return category items
|
|
2538
2538
|
*/
|
|
2539
|
-
var
|
|
2540
|
-
__extends(
|
|
2541
|
-
function
|
|
2539
|
+
var ReportItemCollection = /** @class */ (function (_super) {
|
|
2540
|
+
__extends(ReportItemCollection, _super);
|
|
2541
|
+
function ReportItemCollection() {
|
|
2542
2542
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2543
2543
|
}
|
|
2544
|
-
Object.defineProperty(
|
|
2544
|
+
Object.defineProperty(ReportItemCollection.prototype, "salary", {
|
|
2545
2545
|
/**
|
|
2546
2546
|
* Work income
|
|
2547
2547
|
*/
|
|
@@ -2552,7 +2552,7 @@
|
|
|
2552
2552
|
enumerable: false,
|
|
2553
2553
|
configurable: true
|
|
2554
2554
|
});
|
|
2555
|
-
Object.defineProperty(
|
|
2555
|
+
Object.defineProperty(ReportItemCollection.prototype, "workExpenses", {
|
|
2556
2556
|
/**
|
|
2557
2557
|
* Work expenses
|
|
2558
2558
|
*/
|
|
@@ -2563,7 +2563,7 @@
|
|
|
2563
2563
|
enumerable: false,
|
|
2564
2564
|
configurable: true
|
|
2565
2565
|
});
|
|
2566
|
-
Object.defineProperty(
|
|
2566
|
+
Object.defineProperty(ReportItemCollection.prototype, "rentalIncome", {
|
|
2567
2567
|
/**
|
|
2568
2568
|
* Property income
|
|
2569
2569
|
*/
|
|
@@ -2574,7 +2574,7 @@
|
|
|
2574
2574
|
enumerable: false,
|
|
2575
2575
|
configurable: true
|
|
2576
2576
|
});
|
|
2577
|
-
Object.defineProperty(
|
|
2577
|
+
Object.defineProperty(ReportItemCollection.prototype, "rentalDeductions", {
|
|
2578
2578
|
/**
|
|
2579
2579
|
* Property rental deductions
|
|
2580
2580
|
*/
|
|
@@ -2585,7 +2585,7 @@
|
|
|
2585
2585
|
enumerable: false,
|
|
2586
2586
|
configurable: true
|
|
2587
2587
|
});
|
|
2588
|
-
Object.defineProperty(
|
|
2588
|
+
Object.defineProperty(ReportItemCollection.prototype, "propertyExpenses", {
|
|
2589
2589
|
/**
|
|
2590
2590
|
* Property expenses
|
|
2591
2591
|
*/
|
|
@@ -2595,7 +2595,7 @@
|
|
|
2595
2595
|
enumerable: false,
|
|
2596
2596
|
configurable: true
|
|
2597
2597
|
});
|
|
2598
|
-
Object.defineProperty(
|
|
2598
|
+
Object.defineProperty(ReportItemCollection.prototype, "interestDeductions", {
|
|
2599
2599
|
/**
|
|
2600
2600
|
* Property interest
|
|
2601
2601
|
*/
|
|
@@ -2606,7 +2606,7 @@
|
|
|
2606
2606
|
enumerable: false,
|
|
2607
2607
|
configurable: true
|
|
2608
2608
|
});
|
|
2609
|
-
Object.defineProperty(
|
|
2609
|
+
Object.defineProperty(ReportItemCollection.prototype, "capitalWorks", {
|
|
2610
2610
|
/**
|
|
2611
2611
|
* Property capital works depreciations
|
|
2612
2612
|
*/
|
|
@@ -2617,7 +2617,7 @@
|
|
|
2617
2617
|
enumerable: false,
|
|
2618
2618
|
configurable: true
|
|
2619
2619
|
});
|
|
2620
|
-
Object.defineProperty(
|
|
2620
|
+
Object.defineProperty(ReportItemCollection.prototype, "plantEquipment", {
|
|
2621
2621
|
/**
|
|
2622
2622
|
* Property plant & equipment depreciations
|
|
2623
2623
|
*/
|
|
@@ -2628,7 +2628,7 @@
|
|
|
2628
2628
|
enumerable: false,
|
|
2629
2629
|
configurable: true
|
|
2630
2630
|
});
|
|
2631
|
-
Object.defineProperty(
|
|
2631
|
+
Object.defineProperty(ReportItemCollection.prototype, "propertyDepreciations", {
|
|
2632
2632
|
/**
|
|
2633
2633
|
* Total property depreciaions
|
|
2634
2634
|
*/
|
|
@@ -2638,7 +2638,7 @@
|
|
|
2638
2638
|
enumerable: false,
|
|
2639
2639
|
configurable: true
|
|
2640
2640
|
});
|
|
2641
|
-
Object.defineProperty(
|
|
2641
|
+
Object.defineProperty(ReportItemCollection.prototype, "partnershipsAndTrusts", {
|
|
2642
2642
|
get: function () {
|
|
2643
2643
|
var _a;
|
|
2644
2644
|
return ((_a = this.getByCategory(exports.TaxReturnCategoryListEnum.PARTNERSHIPS_TRUSTS)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2646,7 +2646,7 @@
|
|
|
2646
2646
|
enumerable: false,
|
|
2647
2647
|
configurable: true
|
|
2648
2648
|
});
|
|
2649
|
-
Object.defineProperty(
|
|
2649
|
+
Object.defineProperty(ReportItemCollection.prototype, "pciAndSbeIncome", {
|
|
2650
2650
|
get: function () {
|
|
2651
2651
|
var _a;
|
|
2652
2652
|
return ((_a = this.getByCategory(exports.TaxReturnCategoryListEnum.PCI_SBE_INCOME)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2654,7 +2654,7 @@
|
|
|
2654
2654
|
enumerable: false,
|
|
2655
2655
|
configurable: true
|
|
2656
2656
|
});
|
|
2657
|
-
Object.defineProperty(
|
|
2657
|
+
Object.defineProperty(ReportItemCollection.prototype, "capitalGains", {
|
|
2658
2658
|
get: function () {
|
|
2659
2659
|
var _a;
|
|
2660
2660
|
return ((_a = this.getByCategory(exports.TaxReturnCategoryListEnum.CAPITAL_GAINS)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2662,7 +2662,7 @@
|
|
|
2662
2662
|
enumerable: false,
|
|
2663
2663
|
configurable: true
|
|
2664
2664
|
});
|
|
2665
|
-
Object.defineProperty(
|
|
2665
|
+
Object.defineProperty(ReportItemCollection.prototype, "foreignSourceIncome", {
|
|
2666
2666
|
get: function () {
|
|
2667
2667
|
var _a;
|
|
2668
2668
|
return ((_a = this.getByCategory(exports.TaxReturnCategoryListEnum.FOREIGN_SOURCE_INCOME)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2670,7 +2670,7 @@
|
|
|
2670
2670
|
enumerable: false,
|
|
2671
2671
|
configurable: true
|
|
2672
2672
|
});
|
|
2673
|
-
Object.defineProperty(
|
|
2673
|
+
Object.defineProperty(ReportItemCollection.prototype, "otherIncome", {
|
|
2674
2674
|
/**
|
|
2675
2675
|
* Other income
|
|
2676
2676
|
*/
|
|
@@ -2685,7 +2685,7 @@
|
|
|
2685
2685
|
enumerable: false,
|
|
2686
2686
|
configurable: true
|
|
2687
2687
|
});
|
|
2688
|
-
Object.defineProperty(
|
|
2688
|
+
Object.defineProperty(ReportItemCollection.prototype, "otherDeductions", {
|
|
2689
2689
|
/**
|
|
2690
2690
|
* Other expenses
|
|
2691
2691
|
*/
|
|
@@ -2696,7 +2696,7 @@
|
|
|
2696
2696
|
enumerable: false,
|
|
2697
2697
|
configurable: true
|
|
2698
2698
|
});
|
|
2699
|
-
Object.defineProperty(
|
|
2699
|
+
Object.defineProperty(ReportItemCollection.prototype, "taxInstalments", {
|
|
2700
2700
|
get: function () {
|
|
2701
2701
|
var _a;
|
|
2702
2702
|
return ((_a = this.getTaxCreditsCollection().getByCategory(exports.TaxReturnCategoryListEnum.TAX_INSTALMENTS)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2704,7 +2704,7 @@
|
|
|
2704
2704
|
enumerable: false,
|
|
2705
2705
|
configurable: true
|
|
2706
2706
|
});
|
|
2707
|
-
Object.defineProperty(
|
|
2707
|
+
Object.defineProperty(ReportItemCollection.prototype, "frankingCredits", {
|
|
2708
2708
|
get: function () {
|
|
2709
2709
|
var _a;
|
|
2710
2710
|
return ((_a = this.getTaxCreditsCollection().getByCategory(exports.TaxReturnCategoryListEnum.FRANKING_CREDITS)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2712,7 +2712,7 @@
|
|
|
2712
2712
|
enumerable: false,
|
|
2713
2713
|
configurable: true
|
|
2714
2714
|
});
|
|
2715
|
-
Object.defineProperty(
|
|
2715
|
+
Object.defineProperty(ReportItemCollection.prototype, "taxOffsets", {
|
|
2716
2716
|
get: function () {
|
|
2717
2717
|
var _a;
|
|
2718
2718
|
return ((_a = this.getByCategory(exports.TaxReturnCategoryListEnum.TAX_OFFSETS)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2720,7 +2720,7 @@
|
|
|
2720
2720
|
enumerable: false,
|
|
2721
2721
|
configurable: true
|
|
2722
2722
|
});
|
|
2723
|
-
Object.defineProperty(
|
|
2723
|
+
Object.defineProperty(ReportItemCollection.prototype, "borrowingExpenses", {
|
|
2724
2724
|
get: function () {
|
|
2725
2725
|
var _a;
|
|
2726
2726
|
return ((_a = this.getByCategory(exports.TaxReturnCategoryListEnum.BORROWING_EXPENSES)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2728,7 +2728,7 @@
|
|
|
2728
2728
|
enumerable: false,
|
|
2729
2729
|
configurable: true
|
|
2730
2730
|
});
|
|
2731
|
-
Object.defineProperty(
|
|
2731
|
+
Object.defineProperty(ReportItemCollection.prototype, "grossTaxPayable", {
|
|
2732
2732
|
get: function () {
|
|
2733
2733
|
var _a;
|
|
2734
2734
|
return ((_a = this.getByCategory(exports.TaxReturnCategoryListEnum.GROSS_TAX_PAYABLE)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
@@ -2739,22 +2739,22 @@
|
|
|
2739
2739
|
/**
|
|
2740
2740
|
* taxWithheld by section (work or other)
|
|
2741
2741
|
*/
|
|
2742
|
-
|
|
2742
|
+
ReportItemCollection.prototype.getTaxWithheld = function (section) {
|
|
2743
2743
|
if (section === void 0) { section = exports.TaxReturnCategorySectionEnum.WORK_TANK; }
|
|
2744
2744
|
var _a;
|
|
2745
2745
|
return ((_a = this.getTaxCreditsCollection().getByCategory(exports.TaxReturnCategoryListEnum.TAX_WITHHELD)) === null || _a === void 0 ? void 0 : _a.details.filter(function (details) { return details.section === section; }).reduce(function (sum, details) { return sum + details.amount; }, 0)) || 0;
|
|
2746
2746
|
};
|
|
2747
|
-
|
|
2747
|
+
ReportItemCollection.prototype.getTaxCreditsCollection = function () {
|
|
2748
2748
|
var _a;
|
|
2749
|
-
return new
|
|
2749
|
+
return new ReportItemCollection(((_a = this.getByCategory(exports.TaxReturnCategoryListEnum.TAX_CREDITS)) === null || _a === void 0 ? void 0 : _a.items) || []);
|
|
2750
2750
|
};
|
|
2751
|
-
|
|
2751
|
+
ReportItemCollection.prototype.getTotalAmountByIncomeSourceName = function (name) {
|
|
2752
2752
|
return this.items.reduce((function (sum, item) { return sum + item.getAmountByIncomeSourceName(name); }), 0);
|
|
2753
2753
|
};
|
|
2754
|
-
|
|
2754
|
+
ReportItemCollection.prototype.getByCategory = function (category) {
|
|
2755
2755
|
return this.items.find(function (item) { return item.taxReturnCategory.id === category; });
|
|
2756
2756
|
};
|
|
2757
|
-
return
|
|
2757
|
+
return ReportItemCollection;
|
|
2758
2758
|
}(Collection));
|
|
2759
2759
|
|
|
2760
2760
|
/**
|
|
@@ -2992,6 +2992,7 @@
|
|
|
2992
2992
|
* Check if current tank is Work
|
|
2993
2993
|
*/
|
|
2994
2994
|
TransactionBase.prototype.isWorkTank = function () {
|
|
2995
|
+
// @TODO remove this hack
|
|
2995
2996
|
if (this.tankType) {
|
|
2996
2997
|
return this.tankType === exports.TankTypeEnum.WORK;
|
|
2997
2998
|
}
|
|
@@ -4756,7 +4757,7 @@
|
|
|
4756
4757
|
* net capital gain tax (includes tax exemptions)
|
|
4757
4758
|
*/
|
|
4758
4759
|
Property.prototype.calculateNetCGT = function (sale) {
|
|
4759
|
-
return this.getCGTExemptionRatio(sale) *
|
|
4760
|
+
return this.getCGTExemptionRatio(sale) * sale.cgt;
|
|
4760
4761
|
};
|
|
4761
4762
|
/**
|
|
4762
4763
|
* guess tax exemption based on property details
|
|
@@ -4770,7 +4771,7 @@
|
|
|
4770
4771
|
case this.category.id === PropertyCategoryListEnum.OWNER_OCCUPIED:
|
|
4771
4772
|
return exports.TaxExemptionEnum.PPR;
|
|
4772
4773
|
// exemption for investment properties owned for at least one year
|
|
4773
|
-
case this.
|
|
4774
|
+
case this.isOneYearExemptionApplicable(sale):
|
|
4774
4775
|
return exports.TaxExemptionEnum.ONE_YEAR_RULE;
|
|
4775
4776
|
default:
|
|
4776
4777
|
return null;
|
|
@@ -4793,7 +4794,7 @@
|
|
|
4793
4794
|
// main residence become investment (exemption for home office percent usage)
|
|
4794
4795
|
case exports.TaxExemptionEnum.PPR_TO_INVESTMENT:
|
|
4795
4796
|
// 1 year CGT discount can still apply (on the income producing % if used for 12 months or more)
|
|
4796
|
-
var ratio = this.
|
|
4797
|
+
var ratio = this.isOneYearExemptionApplicable(sale) ? 0.5 : 1;
|
|
4797
4798
|
return metadata.getClaimPercent() / 100 * ratio;
|
|
4798
4799
|
// full exemption
|
|
4799
4800
|
case exports.TaxExemptionEnum.PPR:
|
|
@@ -4806,6 +4807,9 @@
|
|
|
4806
4807
|
return 1;
|
|
4807
4808
|
}
|
|
4808
4809
|
};
|
|
4810
|
+
Property.prototype.isOneYearExemptionApplicable = function (sale) {
|
|
4811
|
+
return sale.cgt > 0 && this.getOwnershipDuration(sale, 'years') > 0;
|
|
4812
|
+
};
|
|
4809
4813
|
/**
|
|
4810
4814
|
* ownership duration from purchase till sale
|
|
4811
4815
|
*/
|
|
@@ -7790,30 +7794,30 @@
|
|
|
7790
7794
|
* Used in tax summary reports to show amounts relating to a tax return category entity and details of what this
|
|
7791
7795
|
* amount is comprised of. Example here shows an amount of $951.96 and also details of what this amount is comprised of:
|
|
7792
7796
|
*/
|
|
7793
|
-
var
|
|
7794
|
-
function
|
|
7797
|
+
var ReportItem = /** @class */ (function () {
|
|
7798
|
+
function ReportItem() {
|
|
7795
7799
|
}
|
|
7796
7800
|
/**
|
|
7797
7801
|
* Get amount for one income source
|
|
7798
7802
|
* @param name Name of income source for filter
|
|
7799
7803
|
*/
|
|
7800
|
-
|
|
7804
|
+
ReportItem.prototype.getAmountByIncomeSourceName = function (name) {
|
|
7801
7805
|
var _a;
|
|
7802
7806
|
return ((_a = this.details.find(function (detail) { return detail.name === name; })) === null || _a === void 0 ? void 0 : _a.amount) || 0;
|
|
7803
7807
|
};
|
|
7804
|
-
return
|
|
7808
|
+
return ReportItem;
|
|
7805
7809
|
}());
|
|
7806
7810
|
|
|
7807
7811
|
/**
|
|
7808
7812
|
* Used in tax summary reports to show specific details relating to an amount in the report.
|
|
7809
|
-
* See structure in
|
|
7813
|
+
* See structure in ReportItem class.
|
|
7810
7814
|
* Example an amount of $550 for property income could be comprised of 2 different property amounts of $300 and $250.
|
|
7811
7815
|
* This is useful in providing drill-down information for the tax summary report.
|
|
7812
7816
|
*/
|
|
7813
|
-
var
|
|
7814
|
-
function
|
|
7817
|
+
var ReportItemDetails = /** @class */ (function () {
|
|
7818
|
+
function ReportItemDetails() {
|
|
7815
7819
|
}
|
|
7816
|
-
return
|
|
7820
|
+
return ReportItemDetails;
|
|
7817
7821
|
}());
|
|
7818
7822
|
|
|
7819
7823
|
/**
|
|
@@ -7826,10 +7830,10 @@
|
|
|
7826
7830
|
return TaxSummarySection;
|
|
7827
7831
|
}());
|
|
7828
7832
|
__decorate([
|
|
7829
|
-
classTransformer.Type(function () { return
|
|
7833
|
+
classTransformer.Type(function () { return ReportItem; }),
|
|
7830
7834
|
classTransformer.Transform(function (_a) {
|
|
7831
7835
|
var value = _a.value;
|
|
7832
|
-
return new
|
|
7836
|
+
return new ReportItemCollection(value);
|
|
7833
7837
|
})
|
|
7834
7838
|
], TaxSummarySection.prototype, "items", void 0);
|
|
7835
7839
|
__decorate([
|
|
@@ -8256,8 +8260,8 @@
|
|
|
8256
8260
|
* Model - entity service is working with
|
|
8257
8261
|
* BaseModel - base entity model that extends by Model
|
|
8258
8262
|
*/
|
|
8259
|
-
var
|
|
8260
|
-
function
|
|
8263
|
+
var RestService = /** @class */ (function () {
|
|
8264
|
+
function RestService(http, eventDispatcherService, environment) {
|
|
8261
8265
|
this.http = http;
|
|
8262
8266
|
this.eventDispatcherService = eventDispatcherService;
|
|
8263
8267
|
this.environment = environment;
|
|
@@ -8267,7 +8271,7 @@
|
|
|
8267
8271
|
/**
|
|
8268
8272
|
* get cached list of all instances
|
|
8269
8273
|
*/
|
|
8270
|
-
|
|
8274
|
+
RestService.prototype.get = function () {
|
|
8271
8275
|
if (!this.cache) {
|
|
8272
8276
|
this.fetch().subscribe();
|
|
8273
8277
|
}
|
|
@@ -8277,7 +8281,7 @@
|
|
|
8277
8281
|
* get instance by id from cache
|
|
8278
8282
|
* @param id ID of required item
|
|
8279
8283
|
*/
|
|
8280
|
-
|
|
8284
|
+
RestService.prototype.getById = function (id) {
|
|
8281
8285
|
return this.get()
|
|
8282
8286
|
.pipe(operators.map(function (items) {
|
|
8283
8287
|
return items.find(function (item) { return item['id'] === id; });
|
|
@@ -8287,7 +8291,7 @@
|
|
|
8287
8291
|
* get list of items filtered by id.
|
|
8288
8292
|
* @param models Array of objects contains required items ids
|
|
8289
8293
|
*/
|
|
8290
|
-
|
|
8294
|
+
RestService.prototype.getByIds = function (models) {
|
|
8291
8295
|
var idsArray = models.map(function (model) { return model['id']; });
|
|
8292
8296
|
return this.get()
|
|
8293
8297
|
.pipe(operators.map(function (items) {
|
|
@@ -8298,7 +8302,7 @@
|
|
|
8298
8302
|
* add new instance and update cache
|
|
8299
8303
|
* @TODO rename to post
|
|
8300
8304
|
*/
|
|
8301
|
-
|
|
8305
|
+
RestService.prototype.add = function (model, shouldUpdateCache) {
|
|
8302
8306
|
var _this = this;
|
|
8303
8307
|
if (shouldUpdateCache === void 0) { shouldUpdateCache = true; }
|
|
8304
8308
|
return this.http.post(this.environment.apiV2 + "/" + this.url, classTransformer.classToPlain(model))
|
|
@@ -8320,7 +8324,7 @@
|
|
|
8320
8324
|
* @param queryParams query parameters for request
|
|
8321
8325
|
* @TODO rename to postBatch
|
|
8322
8326
|
*/
|
|
8323
|
-
|
|
8327
|
+
RestService.prototype.addBatch = function (models, queryParams) {
|
|
8324
8328
|
var _this = this;
|
|
8325
8329
|
if (queryParams === void 0) { queryParams = {}; }
|
|
8326
8330
|
return this.http.post(this.environment.apiV2 + "/" + this.url, classTransformer.classToPlain(models), queryParams)
|
|
@@ -8340,7 +8344,7 @@
|
|
|
8340
8344
|
* @param queryParams query parameters for request
|
|
8341
8345
|
* @TODO rename to put
|
|
8342
8346
|
*/
|
|
8343
|
-
|
|
8347
|
+
RestService.prototype.update = function (model, queryParams) {
|
|
8344
8348
|
var _this = this;
|
|
8345
8349
|
if (queryParams === void 0) { queryParams = {}; }
|
|
8346
8350
|
return this.http.put(this.environment.apiV2 + "/" + this.url + "/" + model['id'], classTransformer.classToPlain(model), queryParams)
|
|
@@ -8357,7 +8361,7 @@
|
|
|
8357
8361
|
* @param queryParams query parameters for request
|
|
8358
8362
|
* TODO rename to putBatch
|
|
8359
8363
|
*/
|
|
8360
|
-
|
|
8364
|
+
RestService.prototype.updateBatch = function (models, queryParams) {
|
|
8361
8365
|
var _this = this;
|
|
8362
8366
|
if (queryParams === void 0) { queryParams = {}; }
|
|
8363
8367
|
return this.http.put(this.environment.apiV2 + "/" + this.url, classTransformer.classToPlain(models), queryParams)
|
|
@@ -8374,7 +8378,7 @@
|
|
|
8374
8378
|
* delete instance of class
|
|
8375
8379
|
* @param model Class instance for deleting
|
|
8376
8380
|
*/
|
|
8377
|
-
|
|
8381
|
+
RestService.prototype.delete = function (model) {
|
|
8378
8382
|
var _this = this;
|
|
8379
8383
|
return this.http.delete(this.environment.apiV2 + "/" + this.url + "/" + model['id'])
|
|
8380
8384
|
.pipe(operators.map(function () {
|
|
@@ -8386,7 +8390,7 @@
|
|
|
8386
8390
|
* delete multiple instances of class
|
|
8387
8391
|
* @param models Class instances array for deleting
|
|
8388
8392
|
*/
|
|
8389
|
-
|
|
8393
|
+
RestService.prototype.deleteBatch = function (models) {
|
|
8390
8394
|
var _this = this;
|
|
8391
8395
|
return this.http.post(this.environment.apiV2 + "/" + this.url + "/delete", models)
|
|
8392
8396
|
.pipe(operators.map(function () {
|
|
@@ -8398,13 +8402,13 @@
|
|
|
8398
8402
|
/**
|
|
8399
8403
|
* clear service cache
|
|
8400
8404
|
*/
|
|
8401
|
-
|
|
8405
|
+
RestService.prototype.resetCache = function () {
|
|
8402
8406
|
this.fetch().subscribe();
|
|
8403
8407
|
};
|
|
8404
8408
|
/**
|
|
8405
8409
|
* get list of base class instances directly from backend
|
|
8406
8410
|
*/
|
|
8407
|
-
|
|
8411
|
+
RestService.prototype.fetch = function () {
|
|
8408
8412
|
var _this = this;
|
|
8409
8413
|
return this.http.get(this.environment.apiV2 + "/" + this.url)
|
|
8410
8414
|
.pipe(operators.map(function (response) {
|
|
@@ -8420,7 +8424,7 @@
|
|
|
8420
8424
|
/**
|
|
8421
8425
|
* Update cache subject with current cache array value
|
|
8422
8426
|
*/
|
|
8423
|
-
|
|
8427
|
+
RestService.prototype.updateCache = function () {
|
|
8424
8428
|
this.cacheSubject.next(this.cache.slice());
|
|
8425
8429
|
};
|
|
8426
8430
|
/**
|
|
@@ -8428,14 +8432,14 @@
|
|
|
8428
8432
|
* @param model The class for which you want to create an instance
|
|
8429
8433
|
* @param baseModel base model instance that we will use as constructor options
|
|
8430
8434
|
*/
|
|
8431
|
-
|
|
8435
|
+
RestService.prototype.createModelInstance = function (model, baseModel) {
|
|
8432
8436
|
return classTransformer.plainToClass(model, baseModel, { excludePrefixes: ['@'] });
|
|
8433
8437
|
};
|
|
8434
|
-
return
|
|
8438
|
+
return RestService;
|
|
8435
8439
|
}());
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type:
|
|
8440
|
+
RestService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
8441
|
+
RestService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService, providedIn: 'root' });
|
|
8442
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RestService, decorators: [{
|
|
8439
8443
|
type: i0.Injectable,
|
|
8440
8444
|
args: [{
|
|
8441
8445
|
providedIn: 'root'
|
|
@@ -8460,7 +8464,7 @@
|
|
|
8460
8464
|
return _this;
|
|
8461
8465
|
}
|
|
8462
8466
|
return BankService;
|
|
8463
|
-
}(
|
|
8467
|
+
}(RestService));
|
|
8464
8468
|
BankService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
8465
8469
|
BankService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankService, providedIn: 'root' });
|
|
8466
8470
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankService, decorators: [{
|
|
@@ -8572,7 +8576,7 @@
|
|
|
8572
8576
|
});
|
|
8573
8577
|
};
|
|
8574
8578
|
return BankAccountService;
|
|
8575
|
-
}(
|
|
8579
|
+
}(RestService));
|
|
8576
8580
|
BankAccountService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
8577
8581
|
BankAccountService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountService, providedIn: 'root' });
|
|
8578
8582
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankAccountService, decorators: [{
|
|
@@ -8716,7 +8720,7 @@
|
|
|
8716
8720
|
});
|
|
8717
8721
|
};
|
|
8718
8722
|
return BankConnectionService;
|
|
8719
|
-
}(
|
|
8723
|
+
}(RestService));
|
|
8720
8724
|
BankConnectionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankConnectionService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
8721
8725
|
BankConnectionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankConnectionService, providedIn: 'root' });
|
|
8722
8726
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankConnectionService, decorators: [{
|
|
@@ -8802,7 +8806,7 @@
|
|
|
8802
8806
|
});
|
|
8803
8807
|
};
|
|
8804
8808
|
return BankTransactionService;
|
|
8805
|
-
}(
|
|
8809
|
+
}(RestService));
|
|
8806
8810
|
BankTransactionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
8807
8811
|
BankTransactionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionService, providedIn: 'root' });
|
|
8808
8812
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BankTransactionService, decorators: [{
|
|
@@ -8893,7 +8897,7 @@
|
|
|
8893
8897
|
});
|
|
8894
8898
|
};
|
|
8895
8899
|
return BasiqService;
|
|
8896
|
-
}(
|
|
8900
|
+
}(RestService));
|
|
8897
8901
|
BasiqService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
8898
8902
|
BasiqService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqService, providedIn: 'root' });
|
|
8899
8903
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: BasiqService, decorators: [{
|
|
@@ -9087,7 +9091,7 @@
|
|
|
9087
9091
|
}));
|
|
9088
9092
|
};
|
|
9089
9093
|
return ChartAccountsDepreciationService;
|
|
9090
|
-
}(
|
|
9094
|
+
}(RestService));
|
|
9091
9095
|
ChartAccountsDepreciationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsDepreciationService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9092
9096
|
ChartAccountsDepreciationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsDepreciationService, providedIn: 'root' });
|
|
9093
9097
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChartAccountsDepreciationService, decorators: [{
|
|
@@ -9199,7 +9203,7 @@
|
|
|
9199
9203
|
});
|
|
9200
9204
|
};
|
|
9201
9205
|
return ChatService;
|
|
9202
|
-
}(
|
|
9206
|
+
}(RestService));
|
|
9203
9207
|
ChatService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChatService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9204
9208
|
ChatService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChatService, providedIn: 'root' });
|
|
9205
9209
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ChatService, decorators: [{
|
|
@@ -9258,7 +9262,7 @@
|
|
|
9258
9262
|
});
|
|
9259
9263
|
};
|
|
9260
9264
|
return MessageService;
|
|
9261
|
-
}(
|
|
9265
|
+
}(RestService));
|
|
9262
9266
|
MessageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9263
9267
|
MessageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageService, providedIn: 'root' });
|
|
9264
9268
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: MessageService, decorators: [{
|
|
@@ -9478,7 +9482,7 @@
|
|
|
9478
9482
|
}));
|
|
9479
9483
|
};
|
|
9480
9484
|
return ClientInviteService;
|
|
9481
|
-
}(
|
|
9485
|
+
}(RestService));
|
|
9482
9486
|
ClientInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9483
9487
|
ClientInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientInviteService, providedIn: 'root' });
|
|
9484
9488
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientInviteService, decorators: [{
|
|
@@ -9568,7 +9572,7 @@
|
|
|
9568
9572
|
});
|
|
9569
9573
|
};
|
|
9570
9574
|
return ClientMovementService;
|
|
9571
|
-
}(
|
|
9575
|
+
}(RestService));
|
|
9572
9576
|
ClientMovementService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientMovementService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9573
9577
|
ClientMovementService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientMovementService, providedIn: 'root' });
|
|
9574
9578
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ClientMovementService, decorators: [{
|
|
@@ -9619,13 +9623,13 @@
|
|
|
9619
9623
|
/**
|
|
9620
9624
|
* Service for work with DepreciationCapitalProjects
|
|
9621
9625
|
*/
|
|
9622
|
-
var
|
|
9623
|
-
function
|
|
9626
|
+
var DepreciationCapitalProjectService = /** @class */ (function () {
|
|
9627
|
+
function DepreciationCapitalProjectService(http, environment) {
|
|
9624
9628
|
this.http = http;
|
|
9625
9629
|
this.environment = environment;
|
|
9626
9630
|
this.cacheSubject = new rxjs.ReplaySubject(1);
|
|
9627
9631
|
}
|
|
9628
|
-
|
|
9632
|
+
DepreciationCapitalProjectService.prototype.get = function (propertyId) {
|
|
9629
9633
|
var _this = this;
|
|
9630
9634
|
this.cacheSubject.next([]);
|
|
9631
9635
|
this.http.get(this.environment.apiV2 + "/properties/" + propertyId + "/depreciation-capital-projects")
|
|
@@ -9637,7 +9641,7 @@
|
|
|
9637
9641
|
});
|
|
9638
9642
|
return this.cacheSubject.asObservable();
|
|
9639
9643
|
};
|
|
9640
|
-
|
|
9644
|
+
DepreciationCapitalProjectService.prototype.add = function (capitalProject, propertyId) {
|
|
9641
9645
|
var _this = this;
|
|
9642
9646
|
return this.http.post(this.environment.apiV2 + "/properties/" + propertyId + "/depreciation-capital-projects", capitalProject)
|
|
9643
9647
|
.pipe(operators.map(function (capitalProjectBase) {
|
|
@@ -9645,7 +9649,7 @@
|
|
|
9645
9649
|
_this.cacheSubject.next(_this.cache);
|
|
9646
9650
|
}));
|
|
9647
9651
|
};
|
|
9648
|
-
|
|
9652
|
+
DepreciationCapitalProjectService.prototype.update = function (capitalProject, propertyId) {
|
|
9649
9653
|
var _this = this;
|
|
9650
9654
|
return this.http.put(this.environment.apiV2 + "/properties/" + propertyId + "/depreciation-capital-projects/" + capitalProject.id, capitalProject)
|
|
9651
9655
|
.pipe(operators.map(function (capitalProjectBase) {
|
|
@@ -9653,7 +9657,7 @@
|
|
|
9653
9657
|
_this.cacheSubject.next(_this.cache);
|
|
9654
9658
|
}));
|
|
9655
9659
|
};
|
|
9656
|
-
|
|
9660
|
+
DepreciationCapitalProjectService.prototype.delete = function (capitalProject, propertyId) {
|
|
9657
9661
|
var _this = this;
|
|
9658
9662
|
return this.http.delete(this.environment.apiV2 + "/properties/" + propertyId + "/depreciation-capital-projects/" + capitalProject.id)
|
|
9659
9663
|
.pipe(operators.map(function () {
|
|
@@ -9661,11 +9665,11 @@
|
|
|
9661
9665
|
_this.cacheSubject.next(_this.cache);
|
|
9662
9666
|
}));
|
|
9663
9667
|
};
|
|
9664
|
-
return
|
|
9668
|
+
return DepreciationCapitalProjectService;
|
|
9665
9669
|
}());
|
|
9666
|
-
|
|
9667
|
-
|
|
9668
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type:
|
|
9670
|
+
DepreciationCapitalProjectService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationCapitalProjectService, deps: [{ token: i1__namespace.HttpClient }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9671
|
+
DepreciationCapitalProjectService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationCapitalProjectService, providedIn: 'root' });
|
|
9672
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationCapitalProjectService, decorators: [{
|
|
9669
9673
|
type: i0.Injectable,
|
|
9670
9674
|
args: [{
|
|
9671
9675
|
providedIn: 'root'
|
|
@@ -9808,7 +9812,7 @@
|
|
|
9808
9812
|
});
|
|
9809
9813
|
};
|
|
9810
9814
|
return DepreciationService;
|
|
9811
|
-
}(
|
|
9815
|
+
}(RestService));
|
|
9812
9816
|
DepreciationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9813
9817
|
DepreciationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationService, providedIn: 'root' });
|
|
9814
9818
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DepreciationService, decorators: [{
|
|
@@ -9890,7 +9894,7 @@
|
|
|
9890
9894
|
}));
|
|
9891
9895
|
};
|
|
9892
9896
|
return DocumentFolderService;
|
|
9893
|
-
}(
|
|
9897
|
+
}(RestService));
|
|
9894
9898
|
DocumentFolderService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentFolderService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9895
9899
|
DocumentFolderService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentFolderService, providedIn: 'root' });
|
|
9896
9900
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentFolderService, decorators: [{
|
|
@@ -9930,7 +9934,7 @@
|
|
|
9930
9934
|
}));
|
|
9931
9935
|
};
|
|
9932
9936
|
return EmployeeService;
|
|
9933
|
-
}(
|
|
9937
|
+
}(RestService));
|
|
9934
9938
|
EmployeeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9935
9939
|
EmployeeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeService, providedIn: 'root' });
|
|
9936
9940
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeService, decorators: [{
|
|
@@ -9979,7 +9983,7 @@
|
|
|
9979
9983
|
}));
|
|
9980
9984
|
};
|
|
9981
9985
|
return EmployeeInviteService;
|
|
9982
|
-
}(
|
|
9986
|
+
}(RestService));
|
|
9983
9987
|
EmployeeInviteService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeInviteService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9984
9988
|
EmployeeInviteService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeInviteService, providedIn: 'root' });
|
|
9985
9989
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: EmployeeInviteService, decorators: [{
|
|
@@ -10182,7 +10186,7 @@
|
|
|
10182
10186
|
return this.incomeSourceTypeSubject.asObservable();
|
|
10183
10187
|
};
|
|
10184
10188
|
return IncomeSourceService;
|
|
10185
|
-
}(
|
|
10189
|
+
}(RestService));
|
|
10186
10190
|
IncomeSourceService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
10187
10191
|
IncomeSourceService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceService, providedIn: 'root' });
|
|
10188
10192
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceService, decorators: [{
|
|
@@ -10268,7 +10272,7 @@
|
|
|
10268
10272
|
}).flat();
|
|
10269
10273
|
};
|
|
10270
10274
|
return IncomeSourceForecastService;
|
|
10271
|
-
}(
|
|
10275
|
+
}(RestService));
|
|
10272
10276
|
IncomeSourceForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceForecastService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
10273
10277
|
IncomeSourceForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceForecastService, providedIn: 'root' });
|
|
10274
10278
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: IncomeSourceForecastService, decorators: [{
|
|
@@ -10354,7 +10358,7 @@
|
|
|
10354
10358
|
}).flat();
|
|
10355
10359
|
};
|
|
10356
10360
|
return SalaryForecastService;
|
|
10357
|
-
}(
|
|
10361
|
+
}(RestService));
|
|
10358
10362
|
SalaryForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SalaryForecastService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
10359
10363
|
SalaryForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SalaryForecastService, providedIn: 'root' });
|
|
10360
10364
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SalaryForecastService, decorators: [{
|
|
@@ -10437,7 +10441,7 @@
|
|
|
10437
10441
|
}).flat();
|
|
10438
10442
|
};
|
|
10439
10443
|
return SoleForecastService;
|
|
10440
|
-
}(
|
|
10444
|
+
}(RestService));
|
|
10441
10445
|
SoleForecastService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleForecastService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
10442
10446
|
SoleForecastService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleForecastService, providedIn: 'root' });
|
|
10443
10447
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleForecastService, decorators: [{
|
|
@@ -10623,7 +10627,7 @@
|
|
|
10623
10627
|
}));
|
|
10624
10628
|
};
|
|
10625
10629
|
return LoanService;
|
|
10626
|
-
}(
|
|
10630
|
+
}(RestService));
|
|
10627
10631
|
LoanService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LoanService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
10628
10632
|
LoanService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LoanService, providedIn: 'root' });
|
|
10629
10633
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LoanService, decorators: [{
|
|
@@ -10641,9 +10645,9 @@
|
|
|
10641
10645
|
/**
|
|
10642
10646
|
* Service to handle service notifications logic
|
|
10643
10647
|
*/
|
|
10644
|
-
var
|
|
10645
|
-
__extends(
|
|
10646
|
-
function
|
|
10648
|
+
var ServiceNotificationService = /** @class */ (function (_super) {
|
|
10649
|
+
__extends(ServiceNotificationService, _super);
|
|
10650
|
+
function ServiceNotificationService(http, eventDispatcherService, environment, sseService) {
|
|
10647
10651
|
var _this = _super.call(this, http, eventDispatcherService, environment) || this;
|
|
10648
10652
|
_this.http = http;
|
|
10649
10653
|
_this.eventDispatcherService = eventDispatcherService;
|
|
@@ -10658,13 +10662,13 @@
|
|
|
10658
10662
|
/**
|
|
10659
10663
|
* SSE and Event Dispatcher Services listeners
|
|
10660
10664
|
*/
|
|
10661
|
-
|
|
10665
|
+
ServiceNotificationService.prototype.listenEvents = function () {
|
|
10662
10666
|
this.listenNotifications();
|
|
10663
10667
|
};
|
|
10664
10668
|
/**
|
|
10665
10669
|
* subscribe to new chat messages
|
|
10666
10670
|
*/
|
|
10667
|
-
|
|
10671
|
+
ServiceNotificationService.prototype.listenNotifications = function () {
|
|
10668
10672
|
var _this = this;
|
|
10669
10673
|
this.sseService.on("serviceNotification").subscribe(function (notificationBase) {
|
|
10670
10674
|
var notification = classTransformer.plainToClass(Notification, notificationBase);
|
|
@@ -10681,11 +10685,11 @@
|
|
|
10681
10685
|
_this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.NOTIFICATION_ADDED, notification));
|
|
10682
10686
|
});
|
|
10683
10687
|
};
|
|
10684
|
-
return
|
|
10685
|
-
}(
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type:
|
|
10688
|
+
return ServiceNotificationService;
|
|
10689
|
+
}(RestService));
|
|
10690
|
+
ServiceNotificationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServiceNotificationService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
10691
|
+
ServiceNotificationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServiceNotificationService, providedIn: 'root' });
|
|
10692
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ServiceNotificationService, decorators: [{
|
|
10689
10693
|
type: i0.Injectable,
|
|
10690
10694
|
args: [{
|
|
10691
10695
|
providedIn: 'root'
|
|
@@ -10952,7 +10956,7 @@
|
|
|
10952
10956
|
return this.get().pipe(operators.map(function (properties) { return properties.filter(function (property) { return property.isActive; }); }));
|
|
10953
10957
|
};
|
|
10954
10958
|
return PropertyService;
|
|
10955
|
-
}(
|
|
10959
|
+
}(RestService));
|
|
10956
10960
|
PropertyService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
10957
10961
|
PropertyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyService, providedIn: 'root' });
|
|
10958
10962
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyService, decorators: [{
|
|
@@ -11109,7 +11113,7 @@
|
|
|
11109
11113
|
return _this;
|
|
11110
11114
|
}
|
|
11111
11115
|
return PropertyCategoryService;
|
|
11112
|
-
}(
|
|
11116
|
+
}(RestService));
|
|
11113
11117
|
PropertyCategoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
11114
11118
|
PropertyCategoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryService, providedIn: 'root' });
|
|
11115
11119
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryService, decorators: [{
|
|
@@ -11172,7 +11176,7 @@
|
|
|
11172
11176
|
});
|
|
11173
11177
|
};
|
|
11174
11178
|
return PropertyDocumentService;
|
|
11175
|
-
}(
|
|
11179
|
+
}(RestService));
|
|
11176
11180
|
PropertyDocumentService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyDocumentService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
11177
11181
|
PropertyDocumentService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyDocumentService, providedIn: 'root' });
|
|
11178
11182
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyDocumentService, decorators: [{
|
|
@@ -11284,7 +11288,7 @@
|
|
|
11284
11288
|
});
|
|
11285
11289
|
};
|
|
11286
11290
|
return PropertyShareService;
|
|
11287
|
-
}(
|
|
11291
|
+
}(RestService));
|
|
11288
11292
|
PropertyShareService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
11289
11293
|
PropertyShareService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, providedIn: 'root' });
|
|
11290
11294
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, decorators: [{
|
|
@@ -11308,7 +11312,7 @@
|
|
|
11308
11312
|
return _this;
|
|
11309
11313
|
}
|
|
11310
11314
|
return PropertySaleService;
|
|
11311
|
-
}(
|
|
11315
|
+
}(RestService));
|
|
11312
11316
|
PropertySaleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertySaleService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
11313
11317
|
PropertySaleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertySaleService, providedIn: 'root' });
|
|
11314
11318
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertySaleService, decorators: [{
|
|
@@ -11395,7 +11399,7 @@
|
|
|
11395
11399
|
}));
|
|
11396
11400
|
};
|
|
11397
11401
|
return PropertyCategoryMovementService;
|
|
11398
|
-
}(
|
|
11402
|
+
}(RestService));
|
|
11399
11403
|
PropertyCategoryMovementService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryMovementService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
11400
11404
|
PropertyCategoryMovementService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryMovementService, providedIn: 'root' });
|
|
11401
11405
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyCategoryMovementService, decorators: [{
|
|
@@ -11644,7 +11648,7 @@
|
|
|
11644
11648
|
});
|
|
11645
11649
|
};
|
|
11646
11650
|
return TaxReviewService;
|
|
11647
|
-
}(
|
|
11651
|
+
}(RestService));
|
|
11648
11652
|
TaxReviewService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
11649
11653
|
TaxReviewService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewService, providedIn: 'root' });
|
|
11650
11654
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewService, decorators: [{
|
|
@@ -11682,7 +11686,7 @@
|
|
|
11682
11686
|
return _this;
|
|
11683
11687
|
}
|
|
11684
11688
|
return TaxReviewHistoryService;
|
|
11685
|
-
}(
|
|
11689
|
+
}(RestService));
|
|
11686
11690
|
TaxReviewHistoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewHistoryService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
11687
11691
|
TaxReviewHistoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewHistoryService, providedIn: 'root' });
|
|
11688
11692
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxReviewHistoryService, decorators: [{
|
|
@@ -12077,7 +12081,7 @@
|
|
|
12077
12081
|
});
|
|
12078
12082
|
};
|
|
12079
12083
|
return TransactionService;
|
|
12080
|
-
}(
|
|
12084
|
+
}(RestService));
|
|
12081
12085
|
TransactionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
12082
12086
|
TransactionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionService, providedIn: 'root' });
|
|
12083
12087
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionService, decorators: [{
|
|
@@ -12162,7 +12166,7 @@
|
|
|
12162
12166
|
});
|
|
12163
12167
|
};
|
|
12164
12168
|
return TransactionAllocationService;
|
|
12165
|
-
}(
|
|
12169
|
+
}(RestService));
|
|
12166
12170
|
TransactionAllocationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionAllocationService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
12167
12171
|
TransactionAllocationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionAllocationService, providedIn: 'root' });
|
|
12168
12172
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionAllocationService, decorators: [{
|
|
@@ -12428,7 +12432,7 @@
|
|
|
12428
12432
|
}));
|
|
12429
12433
|
};
|
|
12430
12434
|
return UserEventSettingService;
|
|
12431
|
-
}(
|
|
12435
|
+
}(RestService));
|
|
12432
12436
|
UserEventSettingService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventSettingService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
12433
12437
|
UserEventSettingService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventSettingService, providedIn: 'root' });
|
|
12434
12438
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventSettingService, decorators: [{
|
|
@@ -12456,7 +12460,7 @@
|
|
|
12456
12460
|
return _this;
|
|
12457
12461
|
}
|
|
12458
12462
|
return UserEventTypeService;
|
|
12459
|
-
}(
|
|
12463
|
+
}(RestService));
|
|
12460
12464
|
UserEventTypeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventTypeService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
12461
12465
|
UserEventTypeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventTypeService, providedIn: 'root' });
|
|
12462
12466
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: UserEventTypeService, decorators: [{
|
|
@@ -12473,9 +12477,10 @@
|
|
|
12473
12477
|
|
|
12474
12478
|
/**
|
|
12475
12479
|
* Service that allows to work with WorkTank operations
|
|
12480
|
+
* @TODO separate into multiple services, extend restService
|
|
12476
12481
|
*/
|
|
12477
|
-
var
|
|
12478
|
-
function
|
|
12482
|
+
var VehicleService = /** @class */ (function () {
|
|
12483
|
+
function VehicleService(http, transactionService, depreciationService, chartAccountsService, eventDispatcherService, environment) {
|
|
12479
12484
|
this.http = http;
|
|
12480
12485
|
this.transactionService = transactionService;
|
|
12481
12486
|
this.depreciationService = depreciationService;
|
|
@@ -12488,7 +12493,7 @@
|
|
|
12488
12493
|
this.vehicleTaxReturnSubject = new rxjs.ReplaySubject(1);
|
|
12489
12494
|
this.incomePositionsSubject = new rxjs.ReplaySubject(1);
|
|
12490
12495
|
}
|
|
12491
|
-
|
|
12496
|
+
VehicleService.prototype.getVehicles = function () {
|
|
12492
12497
|
var _this = this;
|
|
12493
12498
|
// @TODO create backend for get logbook
|
|
12494
12499
|
if (!this._vehicles) {
|
|
@@ -12506,7 +12511,7 @@
|
|
|
12506
12511
|
/**
|
|
12507
12512
|
* Get vehicles claim amount
|
|
12508
12513
|
*/
|
|
12509
|
-
|
|
12514
|
+
VehicleService.prototype.getVehiclesClaim = function () {
|
|
12510
12515
|
var _this = this;
|
|
12511
12516
|
if (!this._vehicleClaim) {
|
|
12512
12517
|
this.http.get(this.environment.apiV2 + "/vehicle-claims")
|
|
@@ -12525,7 +12530,7 @@
|
|
|
12525
12530
|
* Add new vehicle claim
|
|
12526
12531
|
* @param claim object which should be added
|
|
12527
12532
|
*/
|
|
12528
|
-
|
|
12533
|
+
VehicleService.prototype.addVehicleClaim = function (claim) {
|
|
12529
12534
|
var _this = this;
|
|
12530
12535
|
return this.http.post(this.environment.apiV2 + "/vehicle-claims", claim).pipe(operators.map(function (response) {
|
|
12531
12536
|
_this._vehicleClaim = classTransformer.plainToClass(VehicleClaim, response);
|
|
@@ -12536,7 +12541,7 @@
|
|
|
12536
12541
|
/**
|
|
12537
12542
|
* Get vehicles claim rate for current financial year
|
|
12538
12543
|
*/
|
|
12539
|
-
|
|
12544
|
+
VehicleService.prototype.getVehiclesClaimRate = function () {
|
|
12540
12545
|
var _this = this;
|
|
12541
12546
|
if (!this._vehicleClaimRate) {
|
|
12542
12547
|
this.chartAccountsService.getChartAccountsById(exports.ChartAccountsListEnum.KLMS_TRAVELLED_FOR_WORK)
|
|
@@ -12553,7 +12558,7 @@
|
|
|
12553
12558
|
/**
|
|
12554
12559
|
* Get vehicles tax return for vehicle transactions & depreciations
|
|
12555
12560
|
*/
|
|
12556
|
-
|
|
12561
|
+
VehicleService.prototype.getVehiclesTaxReturn = function () {
|
|
12557
12562
|
var _this = this;
|
|
12558
12563
|
if (!this._vehicleTaxReturn) {
|
|
12559
12564
|
rxjs.combineLatest([
|
|
@@ -12590,7 +12595,7 @@
|
|
|
12590
12595
|
*
|
|
12591
12596
|
* @TODO alex refresh depreciation/transaction cache
|
|
12592
12597
|
*/
|
|
12593
|
-
|
|
12598
|
+
VehicleService.prototype.updateVehicleClaim = function (claim) {
|
|
12594
12599
|
var _this = this;
|
|
12595
12600
|
return this.http.put(this.environment.apiV2 + "/vehicle-claims/" + claim.id, claim).pipe(operators.map(function (response) {
|
|
12596
12601
|
var updatedVehicleClaim = classTransformer.plainToClass(VehicleClaim, response);
|
|
@@ -12605,7 +12610,7 @@
|
|
|
12605
12610
|
* @param logbook which should be added
|
|
12606
12611
|
* @param vehicle for which logbook object should be added
|
|
12607
12612
|
*/
|
|
12608
|
-
|
|
12613
|
+
VehicleService.prototype.addLogbook = function (logbook, vehicle) {
|
|
12609
12614
|
var _this = this;
|
|
12610
12615
|
return this.http.post(this.environment.apiV2 + "/vehicles/" + vehicle.id + "/logbooks", logbook)
|
|
12611
12616
|
.pipe(operators.map(function (response) {
|
|
@@ -12620,7 +12625,7 @@
|
|
|
12620
12625
|
* @param logbook which should be updated
|
|
12621
12626
|
* @param vehicle for which logbook object should be updated
|
|
12622
12627
|
*/
|
|
12623
|
-
|
|
12628
|
+
VehicleService.prototype.updateLogbook = function (logbook, vehicle) {
|
|
12624
12629
|
var _this = this;
|
|
12625
12630
|
return this.http.put(this.environment.apiV2 + "/vehicles/" + vehicle.id + "/logbooks/" + logbook.id, logbook).pipe(operators.map(function (response) {
|
|
12626
12631
|
var editedVehicle = _this._vehicles.find(function (v) { return v.id === vehicle.id; });
|
|
@@ -12636,7 +12641,7 @@
|
|
|
12636
12641
|
* @param logbook for which trip should be deleted
|
|
12637
12642
|
* @param vehicle for which trip should be deleted
|
|
12638
12643
|
*/
|
|
12639
|
-
|
|
12644
|
+
VehicleService.prototype.deleteTrip = function (logbook, vehicle) {
|
|
12640
12645
|
var _this = this;
|
|
12641
12646
|
return this.http.delete(this.environment.apiV2 + "/vehicles/" + vehicle.id + "/logbooks/" + logbook.id)
|
|
12642
12647
|
.pipe(operators.map(function () {
|
|
@@ -12652,7 +12657,7 @@
|
|
|
12652
12657
|
* Add new vehicle
|
|
12653
12658
|
* @param vehicle which should be added
|
|
12654
12659
|
*/
|
|
12655
|
-
|
|
12660
|
+
VehicleService.prototype.addVehicle = function (vehicle) {
|
|
12656
12661
|
var _this = this;
|
|
12657
12662
|
return this.http.post(this.environment.apiV2 + "/vehicles", { name: vehicle.name })
|
|
12658
12663
|
.pipe(operators.map(function (response) {
|
|
@@ -12664,7 +12669,7 @@
|
|
|
12664
12669
|
* Update vehicle
|
|
12665
12670
|
* @param vehicle which should be updated
|
|
12666
12671
|
*/
|
|
12667
|
-
|
|
12672
|
+
VehicleService.prototype.updateVehicle = function (vehicle) {
|
|
12668
12673
|
var _this = this;
|
|
12669
12674
|
return this.http.put(this.environment.apiV2 + "/vehicles/" + vehicle.id, { name: vehicle.name })
|
|
12670
12675
|
.pipe(operators.map(function (response) {
|
|
@@ -12677,7 +12682,7 @@
|
|
|
12677
12682
|
* Delete vehicle
|
|
12678
12683
|
* @param vehicle which should be deleted
|
|
12679
12684
|
*/
|
|
12680
|
-
|
|
12685
|
+
VehicleService.prototype.deleteVehicle = function (vehicle) {
|
|
12681
12686
|
var _this = this;
|
|
12682
12687
|
return this.http.delete(this.environment.apiV2 + "/vehicles/" + vehicle.id)
|
|
12683
12688
|
.pipe(operators.map(function () {
|
|
@@ -12688,11 +12693,11 @@
|
|
|
12688
12693
|
_this.vehiclesSubject.next(_this._vehicles.map(function (item) { return classTransformer.plainToClass(Vehicle, item); }));
|
|
12689
12694
|
}));
|
|
12690
12695
|
};
|
|
12691
|
-
return
|
|
12696
|
+
return VehicleService;
|
|
12692
12697
|
}());
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type:
|
|
12698
|
+
VehicleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleService, deps: [{ token: i1__namespace.HttpClient }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
12699
|
+
VehicleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleService, providedIn: 'root' });
|
|
12700
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: VehicleService, decorators: [{
|
|
12696
12701
|
type: i0.Injectable,
|
|
12697
12702
|
args: [{
|
|
12698
12703
|
providedIn: 'root'
|
|
@@ -12767,7 +12772,7 @@
|
|
|
12767
12772
|
return _this;
|
|
12768
12773
|
}
|
|
12769
12774
|
return TaxExemptionService;
|
|
12770
|
-
}(
|
|
12775
|
+
}(RestService));
|
|
12771
12776
|
TaxExemptionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxExemptionService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
12772
12777
|
TaxExemptionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxExemptionService, providedIn: 'root' });
|
|
12773
12778
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TaxExemptionService, decorators: [{
|
|
@@ -12986,7 +12991,6 @@
|
|
|
12986
12991
|
exports.CAPITAL_COSTS_ITEMS = CAPITAL_COSTS_ITEMS;
|
|
12987
12992
|
exports.CHART_ACCOUNTS_CATEGORIES = CHART_ACCOUNTS_CATEGORIES;
|
|
12988
12993
|
exports.CalculationFormItem = CalculationFormItem;
|
|
12989
|
-
exports.CapitalProjectService = CapitalProjectService;
|
|
12990
12994
|
exports.ChartAccounts = ChartAccounts;
|
|
12991
12995
|
exports.ChartAccountsDepreciation = ChartAccountsDepreciation;
|
|
12992
12996
|
exports.ChartAccountsDepreciationService = ChartAccountsDepreciationService;
|
|
@@ -13020,6 +13024,7 @@
|
|
|
13020
13024
|
exports.DataTableColumn = DataTableColumn;
|
|
13021
13025
|
exports.Depreciation = Depreciation;
|
|
13022
13026
|
exports.DepreciationCapitalProject = DepreciationCapitalProject;
|
|
13027
|
+
exports.DepreciationCapitalProjectService = DepreciationCapitalProjectService;
|
|
13023
13028
|
exports.DepreciationCollection = DepreciationCollection;
|
|
13024
13029
|
exports.DepreciationForecast = DepreciationForecast;
|
|
13025
13030
|
exports.DepreciationForecastCollection = DepreciationForecastCollection;
|
|
@@ -13072,7 +13077,6 @@
|
|
|
13072
13077
|
exports.MessageService = MessageService;
|
|
13073
13078
|
exports.MyAccountHistory = MyAccountHistory;
|
|
13074
13079
|
exports.Notification = Notification;
|
|
13075
|
-
exports.NotificationService = NotificationService;
|
|
13076
13080
|
exports.Occupation = Occupation;
|
|
13077
13081
|
exports.OccupationService = OccupationService;
|
|
13078
13082
|
exports.PasswordForm = PasswordForm;
|
|
@@ -13102,11 +13106,15 @@
|
|
|
13102
13106
|
exports.RegisterClientForm = RegisterClientForm;
|
|
13103
13107
|
exports.RegisterFirmForm = RegisterFirmForm;
|
|
13104
13108
|
exports.RegistrationInvite = RegistrationInvite;
|
|
13109
|
+
exports.ReportItem = ReportItem;
|
|
13110
|
+
exports.ReportItemCollection = ReportItemCollection;
|
|
13111
|
+
exports.ReportItemDetails = ReportItemDetails;
|
|
13105
13112
|
exports.ResetPasswordForm = ResetPasswordForm;
|
|
13106
13113
|
exports.SUBSCRIPTION_DESCRIPTION = SUBSCRIPTION_DESCRIPTION;
|
|
13107
13114
|
exports.SUBSCRIPTION_TITLE = SUBSCRIPTION_TITLE;
|
|
13108
13115
|
exports.SalaryForecast = SalaryForecast;
|
|
13109
13116
|
exports.SalaryForecastService = SalaryForecastService;
|
|
13117
|
+
exports.ServiceNotificationService = ServiceNotificationService;
|
|
13110
13118
|
exports.ServicePayment = ServicePayment;
|
|
13111
13119
|
exports.ServicePrice = ServicePrice;
|
|
13112
13120
|
exports.ServicePriceCollection = ServicePriceCollection;
|
|
@@ -13122,9 +13130,6 @@
|
|
|
13122
13130
|
exports.TaxExemption = TaxExemption;
|
|
13123
13131
|
exports.TaxExemptionMetadata = TaxExemptionMetadata;
|
|
13124
13132
|
exports.TaxExemptionService = TaxExemptionService;
|
|
13125
|
-
exports.TaxReturnCategoryItem = TaxReturnCategoryItem;
|
|
13126
|
-
exports.TaxReturnCategoryItemCollection = TaxReturnCategoryItemCollection;
|
|
13127
|
-
exports.TaxReturnCategoryItemDetails = TaxReturnCategoryItemDetails;
|
|
13128
13133
|
exports.TaxReview = TaxReview;
|
|
13129
13134
|
exports.TaxReviewCollection = TaxReviewCollection;
|
|
13130
13135
|
exports.TaxReviewHistoryService = TaxReviewHistoryService;
|
|
@@ -13158,8 +13163,8 @@
|
|
|
13158
13163
|
exports.Vehicle = Vehicle;
|
|
13159
13164
|
exports.VehicleClaim = VehicleClaim;
|
|
13160
13165
|
exports.VehicleLogbook = VehicleLogbook;
|
|
13166
|
+
exports.VehicleService = VehicleService;
|
|
13161
13167
|
exports.WORK_TANK_LOGBOOK_PURPOSE_OPTIONS = WORK_TANK_LOGBOOK_PURPOSE_OPTIONS;
|
|
13162
|
-
exports.WorkTankService = WorkTankService;
|
|
13163
13168
|
exports.XlsxService = XlsxService;
|
|
13164
13169
|
exports.cloneDeep = cloneDeep;
|
|
13165
13170
|
exports.compare = compare;
|