taxtank-core 0.28.107 → 0.28.109
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 +1009 -965
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/chart-accounts.collection.js +2 -2
- package/esm2015/lib/collections/depreciation.collection.js +2 -2
- package/esm2015/lib/collections/transaction/transaction.collection.js +3 -3
- package/esm2015/lib/db/Enums/{chart-accounts-category.enum.js → chart-accounts/chart-accounts-category.enum.js} +1 -1
- package/esm2015/lib/db/Enums/{chart-accounts-etp.enum.js → chart-accounts/chart-accounts-etp.enum.js} +1 -1
- package/esm2015/lib/db/Enums/{chart-accounts-heading-list.enum.js → chart-accounts/chart-accounts-heading-list.enum.js} +1 -1
- package/esm2015/lib/db/Enums/{chart-accounts-heading-tax-deductible.enum.js → chart-accounts/chart-accounts-heading-tax-deductible.enum.js} +1 -1
- package/esm2015/lib/db/Enums/{chart-accounts-heading-taxable.enum.js → chart-accounts/chart-accounts-heading-taxable.enum.js} +1 -1
- package/esm2015/lib/db/Enums/{chart-accounts-heading-vehicle-list.enum.js → chart-accounts/chart-accounts-heading-vehicle-list.enum.js} +1 -1
- package/esm2015/lib/db/Enums/{chart-accounts-list.enum.js → chart-accounts/chart-accounts-list.enum.js} +1 -1
- package/esm2015/lib/db/Enums/{chart-accounts-metadata-list.enum.js → chart-accounts/chart-accounts-metadata-list.enum.js} +1 -1
- package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-metadata-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/{chart-accounts-salary-adjustments-list.enum.js → chart-accounts/chart-accounts-salary-adjustments-list.enum.js} +1 -1
- package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.js +14 -0
- package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-type.enum.js +6 -0
- package/esm2015/lib/db/Enums/chart-accounts/index.js +13 -0
- package/esm2015/lib/db/Enums/index.js +2 -2
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts-metadata.js +1 -1
- package/esm2015/lib/db/Models/chart-accounts/chart-accounts.js +1 -1
- package/esm2015/lib/db/Models/transaction/transaction-base.js +2 -3
- package/esm2015/lib/forms/transaction/transaction-base.form.js +2 -2
- package/esm2015/lib/forms/transaction/transaction.form.js +52 -4
- package/esm2015/lib/forms/transaction/work-income.form.js +28 -37
- package/esm2015/lib/interceptors/basiq-client-id.interceptor.js +3 -3
- package/esm2015/lib/interceptors/basiq-token.interceptor.js +3 -3
- package/esm2015/lib/interceptors/corelogic-interceptor.js +3 -3
- package/esm2015/lib/interceptors/financial-year-interceptor.js +3 -3
- package/esm2015/lib/interceptors/interceptors.module.js +4 -4
- package/esm2015/lib/interceptors/jwt-interceptor.js +3 -3
- package/esm2015/lib/interceptors/preloader.interceptor.js +3 -3
- package/esm2015/lib/interceptors/user-switcher-interceptor.js +3 -3
- package/esm2015/lib/models/chart-accounts/chart-accounts-categories.const.js +2 -2
- package/esm2015/lib/models/chart-accounts/chart-accounts-category.e-collection.js +2 -2
- package/esm2015/lib/models/chart-accounts/chart-accounts-metadata.js +2 -2
- package/esm2015/lib/models/chart-accounts/chart-accounts.js +9 -8
- package/esm2015/lib/models/depreciation/depreciation.js +5 -6
- package/esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.js +2 -2
- package/esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.js +2 -4
- package/esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.js +2 -4
- package/esm2015/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.js +2 -3
- package/esm2015/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.js +3 -3
- package/esm2015/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.js +2 -3
- package/esm2015/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.js +2 -4
- package/esm2015/lib/models/report/my-tax/my-tax-interest/my-tax-interest.js +2 -2
- package/esm2015/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.js +2 -4
- package/esm2015/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.js +2 -4
- package/esm2015/lib/models/report/my-tax/my-tax-rent/my-tax-rent.js +2 -2
- package/esm2015/lib/models/report/property/property-report-item.js +2 -2
- package/esm2015/lib/models/transaction/transaction-metadata.js +2 -2
- package/esm2015/lib/models/transaction/transaction.js +3 -4
- package/esm2015/lib/models/vehicle/vehicle-claim.js +2 -2
- package/esm2015/lib/services/account-setup/account-setup.service.js +3 -3
- package/esm2015/lib/services/affiliate/rewardful/rewardful.service.js +3 -3
- package/esm2015/lib/services/asset/assets.service.js +3 -3
- package/esm2015/lib/services/auth/auth.service.js +3 -3
- package/esm2015/lib/services/auth/jwt.service.js +3 -3
- package/esm2015/lib/services/bank/bank-account-calculation.service.js +3 -3
- package/esm2015/lib/services/bank/bank-transaction-calculation.service.js +3 -3
- package/esm2015/lib/services/event/event-dispatcher.service.js +3 -3
- package/esm2015/lib/services/event/sse.service.js +3 -3
- package/esm2015/lib/services/export/export-formatter.service.js +3 -3
- package/esm2015/lib/services/header-title/header-title.service.js +3 -3
- package/esm2015/lib/services/http/address/address.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +3 -3
- package/esm2015/lib/services/http/bank/bank.service.js +9 -13
- package/esm2015/lib/services/http/bank/basiq/basiq-token.service.js +3 -3
- package/esm2015/lib/services/http/bank/basiq/basiq.service.js +3 -3
- package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +5 -5
- package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +5 -7
- package/esm2015/lib/services/http/chat/chat.service.js +3 -3
- package/esm2015/lib/services/http/chat/message/message.service.js +3 -3
- package/esm2015/lib/services/http/chat/message-document/message-document.service.js +3 -3
- package/esm2015/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js +3 -3
- package/esm2015/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.js +3 -3
- package/esm2015/lib/services/http/depreciation/depreciation.service.js +3 -3
- package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +3 -3
- package/esm2015/lib/services/http/document/document.service.js +3 -3
- package/esm2015/lib/services/http/facebook/facebook.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-income/client-income-types.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-invite/client-invite.service.js +3 -3
- package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +3 -3
- package/esm2015/lib/services/http/firm/employee/employee.service.js +3 -3
- package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +3 -3
- package/esm2015/lib/services/http/firm/firm.service.js +3 -3
- package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +3 -3
- package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +3 -3
- package/esm2015/lib/services/http/income-source/income-source.service.js +3 -3
- package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +3 -3
- package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +3 -3
- package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +3 -3
- package/esm2015/lib/services/http/loan/loan.service.js +3 -3
- package/esm2015/lib/services/http/property/property-category/property-category.service.js +3 -3
- package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +3 -3
- package/esm2015/lib/services/http/property/property-document/property-document.service.js +3 -3
- package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +3 -3
- package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +3 -3
- package/esm2015/lib/services/http/property/property-share/property-share.service.js +3 -3
- package/esm2015/lib/services/http/property/property.service.js +3 -3
- package/esm2015/lib/services/http/receipt/receipt.service.js +3 -3
- package/esm2015/lib/services/http/rest/rest-old.service.js +3 -3
- package/esm2015/lib/services/http/rest/rest.service.js +3 -3
- package/esm2015/lib/services/http/service-notification/service-notification.service.js +3 -3
- package/esm2015/lib/services/http/sole/bas-report/bas-report.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business/sole-business.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-activity/sole-business-activity.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-contact/sole-contact.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-details/sole-details.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-invoice/sole-invoice.service.js +3 -3
- package/esm2015/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.js +3 -3
- package/esm2015/lib/services/http/subscription/service-price.service.js +3 -3
- package/esm2015/lib/services/http/subscription/subscription.service.js +3 -3
- package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +3 -3
- package/esm2015/lib/services/http/tax-review/tax-review.service.js +3 -3
- package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.js +3 -3
- package/esm2015/lib/services/http/transaction/transaction.service.js +8 -8
- package/esm2015/lib/services/http/tutorial-video/tutorial-video.service.js +3 -3
- package/esm2015/lib/services/http/user/occupation/occupation.service.js +3 -3
- package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +3 -3
- package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +3 -3
- package/esm2015/lib/services/http/user/user.service.js +3 -3
- package/esm2015/lib/services/http/user/users-invite/users-invite.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-claim-details.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-claim.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle-logbook.service.js +3 -3
- package/esm2015/lib/services/http/vehicle/vehicle.service.js +3 -3
- package/esm2015/lib/services/intercom/intercom.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.js +3 -3
- package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-table.service.js +3 -3
- package/esm2015/lib/services/preloader/preloader.service.js +3 -3
- package/esm2015/lib/services/property/corelogic/corelogic.service.js +3 -3
- package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +3 -3
- package/esm2015/lib/services/property/property-calculation/property-calculation.service.js +3 -3
- package/esm2015/lib/services/report/property/property-transaction-report.service.js +9 -12
- package/esm2015/lib/services/toast/toast.service.js +3 -3
- package/esm2015/lib/services/transaction/transaction-calculation.service.js +3 -3
- package/esm2015/lib/services/user/user-switcher.service.js +3 -3
- package/esm2015/lib/services/vehicle/logbook-best-period.service.js +3 -3
- package/esm2015/lib/services/xlsx/xlsx.service.js +3 -3
- package/esm2015/lib/tt-core.module.js +4 -4
- package/esm2015/public-api.js +12 -12
- package/fesm2015/taxtank-core.js +975 -924
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/chart-accounts.collection.d.ts +1 -1
- package/lib/collections/depreciation.collection.d.ts +2 -2
- package/lib/collections/transaction/transaction.collection.d.ts +2 -4
- package/lib/db/Enums/{chart-accounts-category.enum.d.ts → chart-accounts/chart-accounts-category.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-etp.enum.d.ts → chart-accounts/chart-accounts-etp.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-heading-list.enum.d.ts → chart-accounts/chart-accounts-heading-list.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-heading-tax-deductible.enum.d.ts → chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-heading-taxable.enum.d.ts → chart-accounts/chart-accounts-heading-taxable.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-heading-vehicle-list.enum.d.ts → chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-list.enum.d.ts → chart-accounts/chart-accounts-list.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-metadata-list.enum.d.ts → chart-accounts/chart-accounts-metadata-list.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-metadata-type.enum.d.ts → chart-accounts/chart-accounts-metadata-type.enum.d.ts} +0 -0
- package/lib/db/Enums/{chart-accounts-salary-adjustments-list.enum.d.ts → chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts} +0 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.d.ts +12 -0
- package/lib/db/Enums/{chart-accounts-type.enum.d.ts → chart-accounts/chart-accounts-type.enum.d.ts} +0 -0
- package/lib/db/Enums/chart-accounts/index.d.ts +12 -0
- package/lib/db/Enums/index.d.ts +1 -1
- package/lib/db/Models/chart-accounts/chart-accounts-metadata.d.ts +1 -2
- package/lib/db/Models/chart-accounts/chart-accounts.d.ts +1 -2
- package/lib/forms/transaction/transaction.form.d.ts +10 -2
- package/lib/forms/transaction/work-income.form.d.ts +10 -5
- package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts +1 -1
- package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts +1 -1
- package/lib/models/chart-accounts/chart-accounts.d.ts +5 -1
- package/lib/models/depreciation/depreciation.d.ts +3 -3
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts +1 -1
- package/lib/models/report/property/property-report-item.d.ts +1 -1
- package/lib/models/transaction/transaction-metadata.d.ts +1 -1
- package/lib/models/transaction/transaction.d.ts +1 -2
- package/lib/models/vehicle/vehicle-claim.d.ts +1 -1
- package/lib/services/http/bank/bank.service.d.ts +5 -9
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +1 -1
- package/lib/services/http/chart-accounts/chart-accounts.service.d.ts +2 -3
- package/lib/services/http/transaction/transaction.service.d.ts +3 -3
- package/lib/services/report/property/property-transaction-report.service.d.ts +4 -7
- package/package.json +1 -1
- package/public-api.d.ts +11 -11
- package/esm2015/lib/db/Enums/chart-accounts-metadata-type.enum.js +0 -6
- package/esm2015/lib/db/Enums/chart-accounts-type.enum.js +0 -6
package/fesm2015/taxtank-core.js
CHANGED
|
@@ -73,9 +73,9 @@ class CorelogicService {
|
|
|
73
73
|
}));
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
77
|
-
CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
76
|
+
CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
77
|
+
CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicService, providedIn: 'root' });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicService, decorators: [{
|
|
79
79
|
type: Injectable,
|
|
80
80
|
args: [{
|
|
81
81
|
providedIn: 'root'
|
|
@@ -115,9 +115,9 @@ class CorelogicInterceptor {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
119
|
-
CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
118
|
+
CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
119
|
+
CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicInterceptor });
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicInterceptor, decorators: [{
|
|
121
121
|
type: Injectable
|
|
122
122
|
}], ctorParameters: function () { return [{ type: CorelogicService }, { type: undefined, decorators: [{
|
|
123
123
|
type: Inject,
|
|
@@ -154,9 +154,9 @@ class FinancialYearInterceptor {
|
|
|
154
154
|
return next.handle(clonedReq);
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
158
|
-
FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
157
|
+
FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
158
|
+
FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FinancialYearInterceptor });
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
|
|
160
160
|
type: Injectable
|
|
161
161
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
162
162
|
type: Inject,
|
|
@@ -187,9 +187,9 @@ class JwtService extends JwtHelperService {
|
|
|
187
187
|
return this.getUser().id === userId;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
191
|
-
JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
190
|
+
JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
191
|
+
JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtService, providedIn: 'root' });
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtService, decorators: [{
|
|
193
193
|
type: Injectable,
|
|
194
194
|
args: [{
|
|
195
195
|
providedIn: 'root'
|
|
@@ -299,9 +299,9 @@ class EventDispatcherService {
|
|
|
299
299
|
this.eventSubject2.next(event);
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
303
|
-
EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
302
|
+
EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
303
|
+
EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EventDispatcherService, decorators: [{
|
|
305
305
|
type: Injectable,
|
|
306
306
|
args: [{
|
|
307
307
|
providedIn: 'root'
|
|
@@ -350,9 +350,9 @@ class AuthService {
|
|
|
350
350
|
location.replace(url);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
354
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
353
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
354
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AuthService, decorators: [{
|
|
356
356
|
type: Injectable,
|
|
357
357
|
args: [{
|
|
358
358
|
providedIn: 'root'
|
|
@@ -488,9 +488,9 @@ class JwtInterceptor {
|
|
|
488
488
|
});
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
492
|
-
JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
491
|
+
JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
492
|
+
JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtInterceptor });
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtInterceptor, decorators: [{
|
|
494
494
|
type: Injectable
|
|
495
495
|
}], ctorParameters: function () { return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
|
|
496
496
|
type: Inject,
|
|
@@ -523,9 +523,9 @@ class UserSwitcherService {
|
|
|
523
523
|
window.location.replace('/firm/dashboard');
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
|
-
UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
527
|
-
UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
526
|
+
UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
527
|
+
UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
|
|
528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherService, decorators: [{
|
|
529
529
|
type: Injectable,
|
|
530
530
|
args: [{
|
|
531
531
|
providedIn: 'root'
|
|
@@ -571,9 +571,9 @@ class UserSwitcherInterceptor {
|
|
|
571
571
|
return next.handle(this.switch(request, this.userSwitcherService.get()));
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
575
|
-
UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
574
|
+
UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
575
|
+
UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherInterceptor });
|
|
576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
|
|
577
577
|
type: Injectable
|
|
578
578
|
}], ctorParameters: function () { return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
|
|
579
579
|
type: Inject,
|
|
@@ -812,9 +812,9 @@ class PreloaderService {
|
|
|
812
812
|
this.activePreloaders.next(activePreloaders);
|
|
813
813
|
}
|
|
814
814
|
}
|
|
815
|
-
PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
816
|
-
PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
815
|
+
PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
816
|
+
PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderService, providedIn: 'root' });
|
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderService, decorators: [{
|
|
818
818
|
type: Injectable,
|
|
819
819
|
args: [{
|
|
820
820
|
providedIn: 'root'
|
|
@@ -842,9 +842,9 @@ class PreloaderInterceptor {
|
|
|
842
842
|
return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
|
-
PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
846
|
-
PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
845
|
+
PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
846
|
+
PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderInterceptor });
|
|
847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderInterceptor, decorators: [{
|
|
848
848
|
type: Injectable
|
|
849
849
|
}], ctorParameters: function () { return [{ type: PreloaderService }]; } });
|
|
850
850
|
|
|
@@ -956,9 +956,9 @@ class ToastService {
|
|
|
956
956
|
}));
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
960
|
-
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
959
|
+
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
960
|
+
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, providedIn: 'root' });
|
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, decorators: [{
|
|
962
962
|
type: Injectable,
|
|
963
963
|
args: [{
|
|
964
964
|
providedIn: 'root'
|
|
@@ -1169,9 +1169,9 @@ class RestService$1 {
|
|
|
1169
1169
|
*/
|
|
1170
1170
|
listenEvents() { }
|
|
1171
1171
|
}
|
|
1172
|
-
RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1173
|
-
RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1172
|
+
RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1173
|
+
RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService$1, providedIn: 'root' });
|
|
1174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService$1, decorators: [{
|
|
1175
1175
|
type: Injectable,
|
|
1176
1176
|
args: [{
|
|
1177
1177
|
providedIn: 'root'
|
|
@@ -2416,36 +2416,120 @@ class ChartAccountsHeading extends ChartAccountsHeading$1 {
|
|
|
2416
2416
|
class ChartAccountsMetadata$1 extends AbstractModel {
|
|
2417
2417
|
}
|
|
2418
2418
|
|
|
2419
|
-
var
|
|
2420
|
-
(function (
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["ELIGIBLE_FOR_REDUCTION"] = 6] = "ELIGIBLE_FOR_REDUCTION";
|
|
2424
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["SHARE_PERCENTAGE"] = 7] = "SHARE_PERCENTAGE";
|
|
2425
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_OFFSETS"] = 8] = "TAX_OFFSETS";
|
|
2426
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["HOURS"] = 11] = "HOURS";
|
|
2427
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_PAID"] = 13] = "TAX_PAID";
|
|
2428
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_FREE_COMPONENT"] = 18] = "TAX_FREE_COMPONENT";
|
|
2429
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["YEARS_OF_SERVICE"] = 19] = "YEARS_OF_SERVICE";
|
|
2430
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["UNTAXED_ELEMENT"] = 24] = "UNTAXED_ELEMENT";
|
|
2431
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["NOT_ELIGIBLE_FOR_DEDUCTION"] = 25] = "NOT_ELIGIBLE_FOR_DEDUCTION";
|
|
2432
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["FRANKED"] = 26] = "FRANKED";
|
|
2433
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["UNFRANKED"] = 27] = "UNFRANKED";
|
|
2434
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_OFFSETS_N_R_A_S"] = 29] = "TAX_OFFSETS_N_R_A_S";
|
|
2435
|
-
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["DISCOUNT_FROM_DEFERRED_SCHEMES"] = 32] = "DISCOUNT_FROM_DEFERRED_SCHEMES";
|
|
2436
|
-
})(ChartAccountsMetadataListEnum || (ChartAccountsMetadataListEnum = {}));
|
|
2419
|
+
var DocumentTypeEnum;
|
|
2420
|
+
(function (DocumentTypeEnum) {
|
|
2421
|
+
DocumentTypeEnum[DocumentTypeEnum["INVOICE"] = 1] = "INVOICE";
|
|
2422
|
+
})(DocumentTypeEnum || (DocumentTypeEnum = {}));
|
|
2437
2423
|
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2424
|
+
var AnnualFrequencyEnum;
|
|
2425
|
+
(function (AnnualFrequencyEnum) {
|
|
2426
|
+
AnnualFrequencyEnum[AnnualFrequencyEnum["ANNUAL"] = 1] = "ANNUAL";
|
|
2427
|
+
AnnualFrequencyEnum[AnnualFrequencyEnum["QUARTERLY"] = 3] = "QUARTERLY";
|
|
2428
|
+
AnnualFrequencyEnum[AnnualFrequencyEnum["MONTHLY"] = 12] = "MONTHLY";
|
|
2429
|
+
AnnualFrequencyEnum[AnnualFrequencyEnum["FORTNIGHTLY"] = 26] = "FORTNIGHTLY";
|
|
2430
|
+
AnnualFrequencyEnum[AnnualFrequencyEnum["WEEKLY"] = 52] = "WEEKLY";
|
|
2431
|
+
})(AnnualFrequencyEnum || (AnnualFrequencyEnum = {}));
|
|
2432
|
+
|
|
2433
|
+
var ChartAccountsCategoryEnum;
|
|
2434
|
+
(function (ChartAccountsCategoryEnum) {
|
|
2435
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_INCOME"] = 1] = "PROPERTY_INCOME";
|
|
2436
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_EXPENSE"] = 2] = "PROPERTY_EXPENSE";
|
|
2437
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_DEPRECIATION"] = 3] = "PROPERTY_DEPRECIATION";
|
|
2438
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PROPERTY_CAPITAL_WORKS"] = 4] = "PROPERTY_CAPITAL_WORKS";
|
|
2439
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_DEPRECIATION"] = 5] = "WORK_DEPRECIATION";
|
|
2440
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_INCOME"] = 6] = "WORK_INCOME";
|
|
2441
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["WORK_EXPENSE"] = 7] = "WORK_EXPENSE";
|
|
2442
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["OTHER_INCOME"] = 8] = "OTHER_INCOME";
|
|
2443
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["OTHER_EXPENSE"] = 9] = "OTHER_EXPENSE";
|
|
2444
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PERSONAL_INCOME"] = 10] = "PERSONAL_INCOME";
|
|
2445
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["PERSONAL_EXPENSE"] = 11] = "PERSONAL_EXPENSE";
|
|
2446
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_INCOME"] = 12] = "SOLE_INCOME";
|
|
2447
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_EXPENSE"] = 13] = "SOLE_EXPENSE";
|
|
2448
|
+
ChartAccountsCategoryEnum[ChartAccountsCategoryEnum["SOLE_DEPRECIATION"] = 14] = "SOLE_DEPRECIATION";
|
|
2449
|
+
})(ChartAccountsCategoryEnum || (ChartAccountsCategoryEnum = {}));
|
|
2450
|
+
|
|
2451
|
+
var ChartAccountsEtpEnum;
|
|
2452
|
+
(function (ChartAccountsEtpEnum) {
|
|
2453
|
+
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_R"] = 549] = "ETP_R";
|
|
2454
|
+
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_S"] = 550] = "ETP_S";
|
|
2455
|
+
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_O"] = 551] = "ETP_O";
|
|
2456
|
+
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_D"] = 552] = "ETP_D";
|
|
2457
|
+
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_B"] = 553] = "ETP_B";
|
|
2458
|
+
})(ChartAccountsEtpEnum || (ChartAccountsEtpEnum = {}));
|
|
2459
|
+
|
|
2460
|
+
var ChartAccountsHeadingListEnum;
|
|
2461
|
+
(function (ChartAccountsHeadingListEnum) {
|
|
2462
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["ALLOWANCES_EARNINGS_TIPS_DIRECTOR_FEES"] = 2] = "ALLOWANCES_EARNINGS_TIPS_DIRECTOR_FEES";
|
|
2463
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AUSTRALIAN_GOVERNMENT_ALLOWANCES_PAYMENTS"] = 4] = "AUSTRALIAN_GOVERNMENT_ALLOWANCES_PAYMENTS";
|
|
2464
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AUSTRALIAN_GOVERNMENT_PENSIONS_ALLOWANCES"] = 5] = "AUSTRALIAN_GOVERNMENT_PENSIONS_ALLOWANCES";
|
|
2465
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["WORK_RELATED_CAR_EXPENSES"] = 8] = "WORK_RELATED_CAR_EXPENSES";
|
|
2466
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DEPRECIATION_VEHICLES"] = 9] = "DEPRECIATION_VEHICLES";
|
|
2467
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["WORK_RELATED_TRAVEL_EXPENSES"] = 10] = "WORK_RELATED_TRAVEL_EXPENSES";
|
|
2468
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["COMPULSORY_WORK_UNIFORM"] = 11] = "COMPULSORY_WORK_UNIFORM";
|
|
2469
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PROTECTION_CLOTHING"] = 12] = "PROTECTION_CLOTHING";
|
|
2470
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OCCUPATIONAL_SPECIFIC_CLOTHING"] = 13] = "OCCUPATIONAL_SPECIFIC_CLOTHING";
|
|
2471
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SELF_EDUCATIONAL_EXPENSES"] = 14] = "SELF_EDUCATIONAL_EXPENSES";
|
|
2472
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_WORK_RELATED_EXPENSES"] = 15] = "OTHER_WORK_RELATED_EXPENSES";
|
|
2473
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SUBSCRIPTIONS"] = 16] = "SUBSCRIPTIONS";
|
|
2474
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["HOME_OFFICE_RUNNING"] = 17] = "HOME_OFFICE_RUNNING";
|
|
2475
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TOOLS_EQUIPMENT"] = 18] = "TOOLS_EQUIPMENT";
|
|
2476
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["HOME_OFFICE_OCCUPANCY"] = 19] = "HOME_OFFICE_OCCUPANCY";
|
|
2477
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AWARD_OVERTIME_MEAL_ALLOWANCE_EXPENSE"] = 20] = "AWARD_OVERTIME_MEAL_ALLOWANCE_EXPENSE";
|
|
2478
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["NEWSPAPER"] = 21] = "NEWSPAPER";
|
|
2479
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PRINTING_POSTAGE_STATIONERY"] = 22] = "PRINTING_POSTAGE_STATIONERY";
|
|
2480
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SEMINARS_ETC"] = 23] = "SEMINARS_ETC";
|
|
2481
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TELEPHONE"] = 24] = "TELEPHONE";
|
|
2482
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["UNION_FEES"] = 25] = "UNION_FEES";
|
|
2483
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER"] = 26] = "OTHER";
|
|
2484
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DONATIONS"] = 27] = "DONATIONS";
|
|
2485
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PSI"] = 30] = "PSI";
|
|
2486
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["BONUSES"] = 34] = "BONUSES";
|
|
2487
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_DEDUCTIONS"] = 37] = "OTHER_DEDUCTIONS";
|
|
2488
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["ETP"] = 39] = "ETP";
|
|
2489
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_DEDUCTIONS"] = 47] = "INTEREST_DEDUCTIONS";
|
|
2490
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DIVIDEND_DEDUCTIONS"] = 48] = "DIVIDEND_DEDUCTIONS";
|
|
2491
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PURCHASES_STOCK_INVENTORY"] = 52] = "PURCHASES_STOCK_INVENTORY";
|
|
2492
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["CONTRACTORS_COMMISSION"] = 53] = "CONTRACTORS_COMMISSION";
|
|
2493
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SUPERANNUATION"] = 54] = "SUPERANNUATION";
|
|
2494
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["BAD_DEBT"] = 55] = "BAD_DEBT";
|
|
2495
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["LEASE_EXPENSES"] = 56] = "LEASE_EXPENSES";
|
|
2496
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["RENT_EXPENSES"] = 57] = "RENT_EXPENSES";
|
|
2497
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_EXPENSES_AUSTRALIA"] = 58] = "INTEREST_EXPENSES_AUSTRALIA";
|
|
2498
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_EXPENSES_OVERSEAS"] = 59] = "INTEREST_EXPENSES_OVERSEAS";
|
|
2499
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["KLMS"] = 60] = "KLMS";
|
|
2500
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["FUEL_OIL"] = 61] = "FUEL_OIL";
|
|
2501
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SERVICES_MAINTENANCE"] = 62] = "SERVICES_MAINTENANCE";
|
|
2502
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["REGISTRATION"] = 63] = "REGISTRATION";
|
|
2503
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["LEASE_INTEREST_PAYMENTS"] = 64] = "LEASE_INTEREST_PAYMENTS";
|
|
2504
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INSURANCE"] = 65] = "INSURANCE";
|
|
2505
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TYRES_BATTERIES"] = 66] = "TYRES_BATTERIES";
|
|
2506
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_EXPENSES"] = 67] = "OTHER_EXPENSES";
|
|
2507
|
+
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DEPRECIATION_EXPENSES"] = 68] = "DEPRECIATION_EXPENSES";
|
|
2508
|
+
})(ChartAccountsHeadingListEnum || (ChartAccountsHeadingListEnum = {}));
|
|
2509
|
+
|
|
2510
|
+
var ChartAccountsHeadingTaxDeductibleEnum;
|
|
2511
|
+
(function (ChartAccountsHeadingTaxDeductibleEnum) {
|
|
2512
|
+
ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["ALLOWANCES_AND_PAYMENTS"] = 4] = "ALLOWANCES_AND_PAYMENTS";
|
|
2513
|
+
ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["PENSIONS_AND_ALLOWANCES"] = 5] = "PENSIONS_AND_ALLOWANCES";
|
|
2514
|
+
ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["ANNUITIES_AND_SUPERANNUATION_INCOME_STREAMS"] = 40] = "ANNUITIES_AND_SUPERANNUATION_INCOME_STREAMS";
|
|
2515
|
+
ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["SUPERANNUATION_LUMP_SUM"] = 41] = "SUPERANNUATION_LUMP_SUM";
|
|
2516
|
+
})(ChartAccountsHeadingTaxDeductibleEnum || (ChartAccountsHeadingTaxDeductibleEnum = {}));
|
|
2517
|
+
|
|
2518
|
+
var ChartAccountsHeadingTaxableEnum;
|
|
2519
|
+
(function (ChartAccountsHeadingTaxableEnum) {
|
|
2520
|
+
ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["GROSS_INTEREST"] = 7] = "GROSS_INTEREST";
|
|
2521
|
+
ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["DIVIDENDS"] = 38] = "DIVIDENDS";
|
|
2522
|
+
ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["EMPLOYEE_SHARE_SCHEMES"] = 42] = "EMPLOYEE_SHARE_SCHEMES";
|
|
2523
|
+
ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["PARTNERSHIPS_AND_TRUSTS_INCOME"] = 43] = "PARTNERSHIPS_AND_TRUSTS_INCOME";
|
|
2524
|
+
})(ChartAccountsHeadingTaxableEnum || (ChartAccountsHeadingTaxableEnum = {}));
|
|
2525
|
+
|
|
2526
|
+
var ChartAccountsHeadingVehicleListEnum;
|
|
2527
|
+
(function (ChartAccountsHeadingVehicleListEnum) {
|
|
2528
|
+
ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["WORK_RELATED_CAR_EXPENSES"] = 8] = "WORK_RELATED_CAR_EXPENSES";
|
|
2529
|
+
ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["DEPRECIATION_VEHICLES"] = 9] = "DEPRECIATION_VEHICLES";
|
|
2530
|
+
ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["KLMS"] = 60] = "KLMS";
|
|
2531
|
+
ChartAccountsHeadingVehicleListEnum[ChartAccountsHeadingVehicleListEnum["FUEL_OIL"] = 61] = "FUEL_OIL";
|
|
2532
|
+
})(ChartAccountsHeadingVehicleListEnum || (ChartAccountsHeadingVehicleListEnum = {}));
|
|
2449
2533
|
|
|
2450
2534
|
var ChartAccountsListEnum;
|
|
2451
2535
|
(function (ChartAccountsListEnum) {
|
|
@@ -2540,31 +2624,81 @@ var ChartAccountsListEnum;
|
|
|
2540
2624
|
ChartAccountsListEnum[ChartAccountsListEnum["PSI_DEDUCTION_OTHER"] = 860] = "PSI_DEDUCTION_OTHER";
|
|
2541
2625
|
})(ChartAccountsListEnum || (ChartAccountsListEnum = {}));
|
|
2542
2626
|
|
|
2543
|
-
var
|
|
2544
|
-
(function (
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2627
|
+
var ChartAccountsMetadataListEnum;
|
|
2628
|
+
(function (ChartAccountsMetadataListEnum) {
|
|
2629
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_INSTALMENTS"] = 4] = "TAX_INSTALMENTS";
|
|
2630
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["FRANKING_CREDIT"] = 5] = "FRANKING_CREDIT";
|
|
2631
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["ELIGIBLE_FOR_REDUCTION"] = 6] = "ELIGIBLE_FOR_REDUCTION";
|
|
2632
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["SHARE_PERCENTAGE"] = 7] = "SHARE_PERCENTAGE";
|
|
2633
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_OFFSETS"] = 8] = "TAX_OFFSETS";
|
|
2634
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["HOURS"] = 11] = "HOURS";
|
|
2635
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_PAID"] = 13] = "TAX_PAID";
|
|
2636
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_FREE_COMPONENT"] = 18] = "TAX_FREE_COMPONENT";
|
|
2637
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["YEARS_OF_SERVICE"] = 19] = "YEARS_OF_SERVICE";
|
|
2638
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["UNTAXED_ELEMENT"] = 24] = "UNTAXED_ELEMENT";
|
|
2639
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["NOT_ELIGIBLE_FOR_DEDUCTION"] = 25] = "NOT_ELIGIBLE_FOR_DEDUCTION";
|
|
2640
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["FRANKED"] = 26] = "FRANKED";
|
|
2641
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["UNFRANKED"] = 27] = "UNFRANKED";
|
|
2642
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["TAX_OFFSETS_N_R_A_S"] = 29] = "TAX_OFFSETS_N_R_A_S";
|
|
2643
|
+
ChartAccountsMetadataListEnum[ChartAccountsMetadataListEnum["DISCOUNT_FROM_DEFERRED_SCHEMES"] = 32] = "DISCOUNT_FROM_DEFERRED_SCHEMES";
|
|
2644
|
+
})(ChartAccountsMetadataListEnum || (ChartAccountsMetadataListEnum = {}));
|
|
2560
2645
|
|
|
2561
|
-
var
|
|
2562
|
-
(function (
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2646
|
+
var ChartAccountsMetadataTypeEnum;
|
|
2647
|
+
(function (ChartAccountsMetadataTypeEnum) {
|
|
2648
|
+
ChartAccountsMetadataTypeEnum[ChartAccountsMetadataTypeEnum["NUMBER"] = 3] = "NUMBER";
|
|
2649
|
+
ChartAccountsMetadataTypeEnum[ChartAccountsMetadataTypeEnum["BOOLEAN"] = 4] = "BOOLEAN";
|
|
2650
|
+
})(ChartAccountsMetadataTypeEnum || (ChartAccountsMetadataTypeEnum = {}));
|
|
2651
|
+
|
|
2652
|
+
var ChartAccountsSalaryAdjustmentsListEnum;
|
|
2653
|
+
(function (ChartAccountsSalaryAdjustmentsListEnum) {
|
|
2654
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["ALLOWANCE"] = 4] = "ALLOWANCE";
|
|
2655
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["TIPS"] = 5] = "TIPS";
|
|
2656
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["REIMBURSEMENTS"] = 555] = "REIMBURSEMENTS";
|
|
2657
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["ADVANCE"] = 556] = "ADVANCE";
|
|
2658
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["POST_TAX_DEDUCTIONS_OTHER"] = 644] = "POST_TAX_DEDUCTIONS_OTHER";
|
|
2659
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["PRE_TAX_DEDUCTIONS_OTHER"] = 645] = "PRE_TAX_DEDUCTIONS_OTHER";
|
|
2660
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["PHONE_ALLOWANCE"] = 646] = "PHONE_ALLOWANCE";
|
|
2661
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["UNIFORM_ALLOWANCE"] = 647] = "UNIFORM_ALLOWANCE";
|
|
2662
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["META_ALLOWANCE"] = 648] = "META_ALLOWANCE";
|
|
2663
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["TRAVEL_ALLOWANCE"] = 649] = "TRAVEL_ALLOWANCE";
|
|
2664
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["OTHER_ALLOWANCE"] = 650] = "OTHER_ALLOWANCE";
|
|
2665
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["LAFH"] = 651] = "LAFH";
|
|
2666
|
+
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["WORK_PLACE_GIVING"] = 653] = "WORK_PLACE_GIVING";
|
|
2667
|
+
})(ChartAccountsSalaryAdjustmentsListEnum || (ChartAccountsSalaryAdjustmentsListEnum = {}));
|
|
2668
|
+
|
|
2669
|
+
var ChartAccountsSalaryIncludedListEnum;
|
|
2670
|
+
(function (ChartAccountsSalaryIncludedListEnum) {
|
|
2671
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["ALLOWANCE"] = 4] = "ALLOWANCE";
|
|
2672
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["TIPS"] = 5] = "TIPS";
|
|
2673
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["REIMBURSEMENTS"] = 555] = "REIMBURSEMENTS";
|
|
2674
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["ADVANCE"] = 556] = "ADVANCE";
|
|
2675
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["PHONE_ALLOWANCE"] = 646] = "PHONE_ALLOWANCE";
|
|
2676
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["UNIFORM_ALLOWANCE"] = 647] = "UNIFORM_ALLOWANCE";
|
|
2677
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["META_ALLOWANCE"] = 648] = "META_ALLOWANCE";
|
|
2678
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["TRAVEL_ALLOWANCE"] = 649] = "TRAVEL_ALLOWANCE";
|
|
2679
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["OTHER_ALLOWANCE"] = 650] = "OTHER_ALLOWANCE";
|
|
2680
|
+
ChartAccountsSalaryIncludedListEnum[ChartAccountsSalaryIncludedListEnum["LAFH"] = 651] = "LAFH";
|
|
2681
|
+
})(ChartAccountsSalaryIncludedListEnum || (ChartAccountsSalaryIncludedListEnum = {}));
|
|
2682
|
+
|
|
2683
|
+
var ChartAccountsTypeEnum;
|
|
2684
|
+
(function (ChartAccountsTypeEnum) {
|
|
2685
|
+
ChartAccountsTypeEnum[ChartAccountsTypeEnum["INCOME"] = 1] = "INCOME";
|
|
2686
|
+
ChartAccountsTypeEnum[ChartAccountsTypeEnum["EXPENSE"] = 2] = "EXPENSE";
|
|
2687
|
+
})(ChartAccountsTypeEnum || (ChartAccountsTypeEnum = {}));
|
|
2688
|
+
|
|
2689
|
+
// @TODO Artem TT-2308 move everything
|
|
2690
|
+
|
|
2691
|
+
class ChartAccountsMetadata extends ChartAccountsMetadata$1 {
|
|
2692
|
+
/**
|
|
2693
|
+
* Check if metadata id is related to SHARE_PERCENTAGE value
|
|
2694
|
+
*/
|
|
2695
|
+
isSharePercentage() {
|
|
2696
|
+
return this.id === ChartAccountsMetadataListEnum.SHARE_PERCENTAGE;
|
|
2697
|
+
}
|
|
2698
|
+
isHours() {
|
|
2699
|
+
return this.id === ChartAccountsMetadataListEnum.HOURS;
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2568
2702
|
|
|
2569
2703
|
/**
|
|
2570
2704
|
* Grouped chart accounts categories for fast work
|
|
@@ -2687,72 +2821,6 @@ function enumToList(data) {
|
|
|
2687
2821
|
return list;
|
|
2688
2822
|
}
|
|
2689
2823
|
|
|
2690
|
-
var ChartAccountsHeadingTaxableEnum;
|
|
2691
|
-
(function (ChartAccountsHeadingTaxableEnum) {
|
|
2692
|
-
ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["GROSS_INTEREST"] = 7] = "GROSS_INTEREST";
|
|
2693
|
-
ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["DIVIDENDS"] = 38] = "DIVIDENDS";
|
|
2694
|
-
ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["EMPLOYEE_SHARE_SCHEMES"] = 42] = "EMPLOYEE_SHARE_SCHEMES";
|
|
2695
|
-
ChartAccountsHeadingTaxableEnum[ChartAccountsHeadingTaxableEnum["PARTNERSHIPS_AND_TRUSTS_INCOME"] = 43] = "PARTNERSHIPS_AND_TRUSTS_INCOME";
|
|
2696
|
-
})(ChartAccountsHeadingTaxableEnum || (ChartAccountsHeadingTaxableEnum = {}));
|
|
2697
|
-
|
|
2698
|
-
var ChartAccountsHeadingTaxDeductibleEnum;
|
|
2699
|
-
(function (ChartAccountsHeadingTaxDeductibleEnum) {
|
|
2700
|
-
ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["ALLOWANCES_AND_PAYMENTS"] = 4] = "ALLOWANCES_AND_PAYMENTS";
|
|
2701
|
-
ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["PENSIONS_AND_ALLOWANCES"] = 5] = "PENSIONS_AND_ALLOWANCES";
|
|
2702
|
-
ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["ANNUITIES_AND_SUPERANNUATION_INCOME_STREAMS"] = 40] = "ANNUITIES_AND_SUPERANNUATION_INCOME_STREAMS";
|
|
2703
|
-
ChartAccountsHeadingTaxDeductibleEnum[ChartAccountsHeadingTaxDeductibleEnum["SUPERANNUATION_LUMP_SUM"] = 41] = "SUPERANNUATION_LUMP_SUM";
|
|
2704
|
-
})(ChartAccountsHeadingTaxDeductibleEnum || (ChartAccountsHeadingTaxDeductibleEnum = {}));
|
|
2705
|
-
|
|
2706
|
-
var ChartAccountsHeadingListEnum;
|
|
2707
|
-
(function (ChartAccountsHeadingListEnum) {
|
|
2708
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["ALLOWANCES_EARNINGS_TIPS_DIRECTOR_FEES"] = 2] = "ALLOWANCES_EARNINGS_TIPS_DIRECTOR_FEES";
|
|
2709
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AUSTRALIAN_GOVERNMENT_ALLOWANCES_PAYMENTS"] = 4] = "AUSTRALIAN_GOVERNMENT_ALLOWANCES_PAYMENTS";
|
|
2710
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AUSTRALIAN_GOVERNMENT_PENSIONS_ALLOWANCES"] = 5] = "AUSTRALIAN_GOVERNMENT_PENSIONS_ALLOWANCES";
|
|
2711
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["WORK_RELATED_CAR_EXPENSES"] = 8] = "WORK_RELATED_CAR_EXPENSES";
|
|
2712
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DEPRECIATION_VEHICLES"] = 9] = "DEPRECIATION_VEHICLES";
|
|
2713
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["WORK_RELATED_TRAVEL_EXPENSES"] = 10] = "WORK_RELATED_TRAVEL_EXPENSES";
|
|
2714
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["COMPULSORY_WORK_UNIFORM"] = 11] = "COMPULSORY_WORK_UNIFORM";
|
|
2715
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PROTECTION_CLOTHING"] = 12] = "PROTECTION_CLOTHING";
|
|
2716
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OCCUPATIONAL_SPECIFIC_CLOTHING"] = 13] = "OCCUPATIONAL_SPECIFIC_CLOTHING";
|
|
2717
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SELF_EDUCATIONAL_EXPENSES"] = 14] = "SELF_EDUCATIONAL_EXPENSES";
|
|
2718
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_WORK_RELATED_EXPENSES"] = 15] = "OTHER_WORK_RELATED_EXPENSES";
|
|
2719
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SUBSCRIPTIONS"] = 16] = "SUBSCRIPTIONS";
|
|
2720
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["HOME_OFFICE_RUNNING"] = 17] = "HOME_OFFICE_RUNNING";
|
|
2721
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TOOLS_EQUIPMENT"] = 18] = "TOOLS_EQUIPMENT";
|
|
2722
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["HOME_OFFICE_OCCUPANCY"] = 19] = "HOME_OFFICE_OCCUPANCY";
|
|
2723
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["AWARD_OVERTIME_MEAL_ALLOWANCE_EXPENSE"] = 20] = "AWARD_OVERTIME_MEAL_ALLOWANCE_EXPENSE";
|
|
2724
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["NEWSPAPER"] = 21] = "NEWSPAPER";
|
|
2725
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PRINTING_POSTAGE_STATIONERY"] = 22] = "PRINTING_POSTAGE_STATIONERY";
|
|
2726
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SEMINARS_ETC"] = 23] = "SEMINARS_ETC";
|
|
2727
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TELEPHONE"] = 24] = "TELEPHONE";
|
|
2728
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["UNION_FEES"] = 25] = "UNION_FEES";
|
|
2729
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER"] = 26] = "OTHER";
|
|
2730
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DONATIONS"] = 27] = "DONATIONS";
|
|
2731
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PSI"] = 30] = "PSI";
|
|
2732
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["BONUSES"] = 34] = "BONUSES";
|
|
2733
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_DEDUCTIONS"] = 37] = "OTHER_DEDUCTIONS";
|
|
2734
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["ETP"] = 39] = "ETP";
|
|
2735
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_DEDUCTIONS"] = 47] = "INTEREST_DEDUCTIONS";
|
|
2736
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DIVIDEND_DEDUCTIONS"] = 48] = "DIVIDEND_DEDUCTIONS";
|
|
2737
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["PURCHASES_STOCK_INVENTORY"] = 52] = "PURCHASES_STOCK_INVENTORY";
|
|
2738
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["CONTRACTORS_COMMISSION"] = 53] = "CONTRACTORS_COMMISSION";
|
|
2739
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SUPERANNUATION"] = 54] = "SUPERANNUATION";
|
|
2740
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["BAD_DEBT"] = 55] = "BAD_DEBT";
|
|
2741
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["LEASE_EXPENSES"] = 56] = "LEASE_EXPENSES";
|
|
2742
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["RENT_EXPENSES"] = 57] = "RENT_EXPENSES";
|
|
2743
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_EXPENSES_AUSTRALIA"] = 58] = "INTEREST_EXPENSES_AUSTRALIA";
|
|
2744
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INTEREST_EXPENSES_OVERSEAS"] = 59] = "INTEREST_EXPENSES_OVERSEAS";
|
|
2745
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["KLMS"] = 60] = "KLMS";
|
|
2746
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["FUEL_OIL"] = 61] = "FUEL_OIL";
|
|
2747
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["SERVICES_MAINTENANCE"] = 62] = "SERVICES_MAINTENANCE";
|
|
2748
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["REGISTRATION"] = 63] = "REGISTRATION";
|
|
2749
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["LEASE_INTEREST_PAYMENTS"] = 64] = "LEASE_INTEREST_PAYMENTS";
|
|
2750
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["INSURANCE"] = 65] = "INSURANCE";
|
|
2751
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["TYRES_BATTERIES"] = 66] = "TYRES_BATTERIES";
|
|
2752
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["OTHER_EXPENSES"] = 67] = "OTHER_EXPENSES";
|
|
2753
|
-
ChartAccountsHeadingListEnum[ChartAccountsHeadingListEnum["DEPRECIATION_EXPENSES"] = 68] = "DEPRECIATION_EXPENSES";
|
|
2754
|
-
})(ChartAccountsHeadingListEnum || (ChartAccountsHeadingListEnum = {}));
|
|
2755
|
-
|
|
2756
2824
|
class ChartAccounts extends ChartAccounts$1 {
|
|
2757
2825
|
/**
|
|
2758
2826
|
* Return name as string
|
|
@@ -2786,7 +2854,7 @@ class ChartAccounts extends ChartAccounts$1 {
|
|
|
2786
2854
|
}
|
|
2787
2855
|
}
|
|
2788
2856
|
/**
|
|
2789
|
-
*
|
|
2857
|
+
* special type used for just pre-paying tax to the ATO, uses on tax summary
|
|
2790
2858
|
*/
|
|
2791
2859
|
isNRAS() {
|
|
2792
2860
|
return this.id === ChartAccountsListEnum.TAX_OFFSETS_N_R_A_S;
|
|
@@ -2934,6 +3002,12 @@ class ChartAccounts extends ChartAccounts$1 {
|
|
|
2934
3002
|
isSalary() {
|
|
2935
3003
|
return this.id === ChartAccountsListEnum.SALARY_OR_WAGES;
|
|
2936
3004
|
}
|
|
3005
|
+
/**
|
|
3006
|
+
* chart accounts included in salary, like tips or allowance
|
|
3007
|
+
*/
|
|
3008
|
+
isSalaryIncluded() {
|
|
3009
|
+
return this.id in ChartAccountsSalaryIncludedListEnum;
|
|
3010
|
+
}
|
|
2937
3011
|
}
|
|
2938
3012
|
/**
|
|
2939
3013
|
* Australian GST percent value (VAT)
|
|
@@ -3503,6 +3577,23 @@ class DepreciationForecast extends DepreciationForecast$1 {
|
|
|
3503
3577
|
}
|
|
3504
3578
|
}
|
|
3505
3579
|
|
|
3580
|
+
/**
|
|
3581
|
+
* Enum with income amount types (Net or Gross)
|
|
3582
|
+
*/
|
|
3583
|
+
var IncomeAmountTypeEnum;
|
|
3584
|
+
(function (IncomeAmountTypeEnum) {
|
|
3585
|
+
IncomeAmountTypeEnum[IncomeAmountTypeEnum["NET"] = 0] = "NET";
|
|
3586
|
+
IncomeAmountTypeEnum[IncomeAmountTypeEnum["GROSS"] = 1] = "GROSS";
|
|
3587
|
+
})(IncomeAmountTypeEnum || (IncomeAmountTypeEnum = {}));
|
|
3588
|
+
|
|
3589
|
+
var TransactionCategoryEnum;
|
|
3590
|
+
(function (TransactionCategoryEnum) {
|
|
3591
|
+
TransactionCategoryEnum[TransactionCategoryEnum["PROPERTY"] = 0] = "PROPERTY";
|
|
3592
|
+
TransactionCategoryEnum[TransactionCategoryEnum["WORK"] = 1] = "WORK";
|
|
3593
|
+
TransactionCategoryEnum[TransactionCategoryEnum["SOLE"] = 2] = "SOLE";
|
|
3594
|
+
TransactionCategoryEnum[TransactionCategoryEnum["PERSONAL"] = 3] = "PERSONAL";
|
|
3595
|
+
})(TransactionCategoryEnum || (TransactionCategoryEnum = {}));
|
|
3596
|
+
|
|
3506
3597
|
/**
|
|
3507
3598
|
* @TODO Alex: clarify grouping rules and refactor
|
|
3508
3599
|
*/
|
|
@@ -3850,7 +3941,7 @@ class Transaction extends Transaction$1 {
|
|
|
3850
3941
|
if (this.isExpense()) {
|
|
3851
3942
|
return grossAmount;
|
|
3852
3943
|
}
|
|
3853
|
-
grossAmount += this.transactions.reduce((sum, transaction) => sum + Math.abs(transaction.amount), 0);
|
|
3944
|
+
grossAmount += this.transactions.filter((t) => { var _a; return !((_a = t.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalaryIncluded()); }).reduce((sum, transaction) => sum + Math.abs(transaction.amount), 0);
|
|
3854
3945
|
if (this.isWorkTank()) {
|
|
3855
3946
|
grossAmount += this.frankingCredit - this.taxFreeComponent - this.eligibleForReduction;
|
|
3856
3947
|
}
|
|
@@ -6091,23 +6182,6 @@ __decorate([
|
|
|
6091
6182
|
Type(() => Document)
|
|
6092
6183
|
], DocumentFolder.prototype, "documents", void 0);
|
|
6093
6184
|
|
|
6094
|
-
/**
|
|
6095
|
-
* Enum with income amount types (Net or Gross)
|
|
6096
|
-
*/
|
|
6097
|
-
var IncomeAmountTypeEnum;
|
|
6098
|
-
(function (IncomeAmountTypeEnum) {
|
|
6099
|
-
IncomeAmountTypeEnum[IncomeAmountTypeEnum["NET"] = 0] = "NET";
|
|
6100
|
-
IncomeAmountTypeEnum[IncomeAmountTypeEnum["GROSS"] = 1] = "GROSS";
|
|
6101
|
-
})(IncomeAmountTypeEnum || (IncomeAmountTypeEnum = {}));
|
|
6102
|
-
|
|
6103
|
-
var TransactionCategoryEnum;
|
|
6104
|
-
(function (TransactionCategoryEnum) {
|
|
6105
|
-
TransactionCategoryEnum[TransactionCategoryEnum["PROPERTY"] = 0] = "PROPERTY";
|
|
6106
|
-
TransactionCategoryEnum[TransactionCategoryEnum["WORK"] = 1] = "WORK";
|
|
6107
|
-
TransactionCategoryEnum[TransactionCategoryEnum["SOLE"] = 2] = "SOLE";
|
|
6108
|
-
TransactionCategoryEnum[TransactionCategoryEnum["PERSONAL"] = 3] = "PERSONAL";
|
|
6109
|
-
})(TransactionCategoryEnum || (TransactionCategoryEnum = {}));
|
|
6110
|
-
|
|
6111
6185
|
/**
|
|
6112
6186
|
* BankConnection means user account at specific bank (usually each user has only one at the same bank)
|
|
6113
6187
|
* service handles BankConnection management
|
|
@@ -6194,9 +6268,9 @@ BankConnectionService.userEventTypes = [
|
|
|
6194
6268
|
UserEventTypeTypeEnum.BASIQ_NEW_ACCOUNTS,
|
|
6195
6269
|
UserEventTypeTypeEnum.BASIQ_AUTHORIZATION_FAIL
|
|
6196
6270
|
];
|
|
6197
|
-
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6198
|
-
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
6199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6271
|
+
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
6272
|
+
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
|
|
6273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, decorators: [{
|
|
6200
6274
|
type: Injectable,
|
|
6201
6275
|
args: [{
|
|
6202
6276
|
providedIn: 'root'
|
|
@@ -6312,9 +6386,9 @@ BasiqService.basiqApiUrl = 'https://au-api.basiq.io';
|
|
|
6312
6386
|
* Basiq does not provide a hook, so we have to check job status manually every x seconds
|
|
6313
6387
|
*/
|
|
6314
6388
|
BasiqService.bankCredintialsCheckInterval = 3000;
|
|
6315
|
-
BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6316
|
-
BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
6317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6389
|
+
BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6390
|
+
BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqService, providedIn: 'root' });
|
|
6391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqService, decorators: [{
|
|
6318
6392
|
type: Injectable,
|
|
6319
6393
|
args: [{
|
|
6320
6394
|
providedIn: 'root'
|
|
@@ -6348,9 +6422,9 @@ class BasiqTokenService {
|
|
|
6348
6422
|
return this.cacheSubject.asObservable();
|
|
6349
6423
|
}
|
|
6350
6424
|
}
|
|
6351
|
-
BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6352
|
-
BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
6353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6425
|
+
BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6426
|
+
BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
|
|
6427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenService, decorators: [{
|
|
6354
6428
|
type: Injectable,
|
|
6355
6429
|
args: [{
|
|
6356
6430
|
providedIn: 'root'
|
|
@@ -6384,9 +6458,9 @@ class BasiqTokenInterceptor {
|
|
|
6384
6458
|
});
|
|
6385
6459
|
}
|
|
6386
6460
|
}
|
|
6387
|
-
BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6388
|
-
BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
6389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6461
|
+
BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6462
|
+
BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenInterceptor });
|
|
6463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
|
|
6390
6464
|
type: Injectable
|
|
6391
6465
|
}], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
|
|
6392
6466
|
|
|
@@ -6422,9 +6496,9 @@ class SseService {
|
|
|
6422
6496
|
}));
|
|
6423
6497
|
}
|
|
6424
6498
|
}
|
|
6425
|
-
SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6426
|
-
SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
6427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6499
|
+
SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6500
|
+
SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SseService, providedIn: 'root' });
|
|
6501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SseService, decorators: [{
|
|
6428
6502
|
type: Injectable,
|
|
6429
6503
|
args: [{
|
|
6430
6504
|
providedIn: 'root'
|
|
@@ -6591,9 +6665,9 @@ class UserService {
|
|
|
6591
6665
|
this.eventDispatcherService.on(AppEventTypeEnum.SERVICE_SUBSCRIPTION_UPDATED).subscribe(() => this.resetCache());
|
|
6592
6666
|
}
|
|
6593
6667
|
}
|
|
6594
|
-
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6595
|
-
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
6596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6668
|
+
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6669
|
+
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
6670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserService, decorators: [{
|
|
6597
6671
|
type: Injectable,
|
|
6598
6672
|
args: [{
|
|
6599
6673
|
providedIn: 'root'
|
|
@@ -6623,17 +6697,17 @@ class BasiqClientIdInterceptor {
|
|
|
6623
6697
|
});
|
|
6624
6698
|
}
|
|
6625
6699
|
}
|
|
6626
|
-
BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6627
|
-
BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
6628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6700
|
+
BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6701
|
+
BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqClientIdInterceptor });
|
|
6702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
|
|
6629
6703
|
type: Injectable
|
|
6630
6704
|
}], ctorParameters: function () { return [{ type: UserService }]; } });
|
|
6631
6705
|
|
|
6632
6706
|
class InterceptorsModule {
|
|
6633
6707
|
}
|
|
6634
|
-
InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6635
|
-
InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
6636
|
-
InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
6708
|
+
InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6709
|
+
InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: InterceptorsModule });
|
|
6710
|
+
InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: InterceptorsModule, providers: [
|
|
6637
6711
|
{
|
|
6638
6712
|
provide: HTTP_INTERCEPTORS,
|
|
6639
6713
|
useClass: CorelogicInterceptor,
|
|
@@ -6671,7 +6745,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
6671
6745
|
multi: true
|
|
6672
6746
|
}
|
|
6673
6747
|
] });
|
|
6674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: InterceptorsModule, decorators: [{
|
|
6675
6749
|
type: NgModule,
|
|
6676
6750
|
args: [{
|
|
6677
6751
|
providers: [
|
|
@@ -6729,14 +6803,14 @@ class TtCoreModule {
|
|
|
6729
6803
|
};
|
|
6730
6804
|
}
|
|
6731
6805
|
}
|
|
6732
|
-
TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
6733
|
-
TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
6806
|
+
TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6807
|
+
TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
|
|
6734
6808
|
InterceptorsModule] });
|
|
6735
|
-
TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
6809
|
+
TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TtCoreModule, imports: [[
|
|
6736
6810
|
CommonModule,
|
|
6737
6811
|
InterceptorsModule
|
|
6738
6812
|
]] });
|
|
6739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
6813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TtCoreModule, decorators: [{
|
|
6740
6814
|
type: NgModule,
|
|
6741
6815
|
args: [{
|
|
6742
6816
|
declarations: [],
|
|
@@ -7742,101 +7816,47 @@ class TaxReviewCollection extends Collection {
|
|
|
7742
7816
|
return taxReview.isInProgress() ||
|
|
7743
7817
|
taxReview.isWaitingForClient() ||
|
|
7744
7818
|
taxReview.isWaitingForApproval() ||
|
|
7745
|
-
taxReview.isApproved();
|
|
7746
|
-
});
|
|
7747
|
-
}
|
|
7748
|
-
/**
|
|
7749
|
-
* Get percentage of completed reviews of the total review amount
|
|
7750
|
-
*/
|
|
7751
|
-
getCompletedPercentage() {
|
|
7752
|
-
return 100 * this.getCompleted().length / this.items.length || 0;
|
|
7753
|
-
}
|
|
7754
|
-
/**
|
|
7755
|
-
* get list of items filtered by status
|
|
7756
|
-
* @param status
|
|
7757
|
-
*/
|
|
7758
|
-
getByStatus(status) {
|
|
7759
|
-
return this.items.filter((item) => item.status === status);
|
|
7760
|
-
}
|
|
7761
|
-
/**
|
|
7762
|
-
* get list of items by firm id
|
|
7763
|
-
*/
|
|
7764
|
-
getByEmployeeId(employeeId) {
|
|
7765
|
-
return this.items.filter((item) => item.employee.id === employeeId);
|
|
7766
|
-
}
|
|
7767
|
-
getEmployees() {
|
|
7768
|
-
return uniqBy(this.items.map((review) => review.employee), 'id');
|
|
7769
|
-
}
|
|
7770
|
-
}
|
|
7771
|
-
|
|
7772
|
-
/**
|
|
7773
|
-
* Collection of user event settings
|
|
7774
|
-
*/
|
|
7775
|
-
class UserEventSettingCollection extends Collection {
|
|
7776
|
-
getConfigurableBy(field) {
|
|
7777
|
-
return new UserEventSettingCollection(this.items.filter((setting) => setting[field] !== null));
|
|
7778
|
-
}
|
|
7779
|
-
}
|
|
7780
|
-
|
|
7781
|
-
class ClientInviteCollection extends Collection {
|
|
7782
|
-
getPending() {
|
|
7783
|
-
return this.filter((invite) => invite.isPending());
|
|
7784
|
-
}
|
|
7785
|
-
}
|
|
7786
|
-
|
|
7787
|
-
var DocumentTypeEnum;
|
|
7788
|
-
(function (DocumentTypeEnum) {
|
|
7789
|
-
DocumentTypeEnum[DocumentTypeEnum["INVOICE"] = 1] = "INVOICE";
|
|
7790
|
-
})(DocumentTypeEnum || (DocumentTypeEnum = {}));
|
|
7791
|
-
|
|
7792
|
-
var AnnualFrequencyEnum;
|
|
7793
|
-
(function (AnnualFrequencyEnum) {
|
|
7794
|
-
AnnualFrequencyEnum[AnnualFrequencyEnum["ANNUAL"] = 1] = "ANNUAL";
|
|
7795
|
-
AnnualFrequencyEnum[AnnualFrequencyEnum["QUARTERLY"] = 3] = "QUARTERLY";
|
|
7796
|
-
AnnualFrequencyEnum[AnnualFrequencyEnum["MONTHLY"] = 12] = "MONTHLY";
|
|
7797
|
-
AnnualFrequencyEnum[AnnualFrequencyEnum["FORTNIGHTLY"] = 26] = "FORTNIGHTLY";
|
|
7798
|
-
AnnualFrequencyEnum[AnnualFrequencyEnum["WEEKLY"] = 52] = "WEEKLY";
|
|
7799
|
-
})(AnnualFrequencyEnum || (AnnualFrequencyEnum = {}));
|
|
7800
|
-
|
|
7801
|
-
var ChartAccountsSalaryAdjustmentsListEnum;
|
|
7802
|
-
(function (ChartAccountsSalaryAdjustmentsListEnum) {
|
|
7803
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["ALLOWANCE"] = 4] = "ALLOWANCE";
|
|
7804
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["TIPS"] = 5] = "TIPS";
|
|
7805
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["REIMBURSEMENTS"] = 555] = "REIMBURSEMENTS";
|
|
7806
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["ADVANCE"] = 556] = "ADVANCE";
|
|
7807
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["POST_TAX_DEDUCTIONS_OTHER"] = 644] = "POST_TAX_DEDUCTIONS_OTHER";
|
|
7808
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["PRE_TAX_DEDUCTIONS_OTHER"] = 645] = "PRE_TAX_DEDUCTIONS_OTHER";
|
|
7809
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["PHONE_ALLOWANCE"] = 646] = "PHONE_ALLOWANCE";
|
|
7810
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["UNIFORM_ALLOWANCE"] = 647] = "UNIFORM_ALLOWANCE";
|
|
7811
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["META_ALLOWANCE"] = 648] = "META_ALLOWANCE";
|
|
7812
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["TRAVEL_ALLOWANCE"] = 649] = "TRAVEL_ALLOWANCE";
|
|
7813
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["OTHER_ALLOWANCE"] = 650] = "OTHER_ALLOWANCE";
|
|
7814
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["LAFH"] = 651] = "LAFH";
|
|
7815
|
-
ChartAccountsSalaryAdjustmentsListEnum[ChartAccountsSalaryAdjustmentsListEnum["WORK_PLACE_GIVING"] = 653] = "WORK_PLACE_GIVING";
|
|
7816
|
-
})(ChartAccountsSalaryAdjustmentsListEnum || (ChartAccountsSalaryAdjustmentsListEnum = {}));
|
|
7817
|
-
|
|
7818
|
-
// @TODO Artem TT-2308 move everything
|
|
7819
|
-
|
|
7820
|
-
var ChartAccountsEtpEnum;
|
|
7821
|
-
(function (ChartAccountsEtpEnum) {
|
|
7822
|
-
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_R"] = 549] = "ETP_R";
|
|
7823
|
-
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_S"] = 550] = "ETP_S";
|
|
7824
|
-
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_O"] = 551] = "ETP_O";
|
|
7825
|
-
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_D"] = 552] = "ETP_D";
|
|
7826
|
-
ChartAccountsEtpEnum[ChartAccountsEtpEnum["ETP_B"] = 553] = "ETP_B";
|
|
7827
|
-
})(ChartAccountsEtpEnum || (ChartAccountsEtpEnum = {}));
|
|
7819
|
+
taxReview.isApproved();
|
|
7820
|
+
});
|
|
7821
|
+
}
|
|
7822
|
+
/**
|
|
7823
|
+
* Get percentage of completed reviews of the total review amount
|
|
7824
|
+
*/
|
|
7825
|
+
getCompletedPercentage() {
|
|
7826
|
+
return 100 * this.getCompleted().length / this.items.length || 0;
|
|
7827
|
+
}
|
|
7828
|
+
/**
|
|
7829
|
+
* get list of items filtered by status
|
|
7830
|
+
* @param status
|
|
7831
|
+
*/
|
|
7832
|
+
getByStatus(status) {
|
|
7833
|
+
return this.items.filter((item) => item.status === status);
|
|
7834
|
+
}
|
|
7835
|
+
/**
|
|
7836
|
+
* get list of items by firm id
|
|
7837
|
+
*/
|
|
7838
|
+
getByEmployeeId(employeeId) {
|
|
7839
|
+
return this.items.filter((item) => item.employee.id === employeeId);
|
|
7840
|
+
}
|
|
7841
|
+
getEmployees() {
|
|
7842
|
+
return uniqBy(this.items.map((review) => review.employee), 'id');
|
|
7843
|
+
}
|
|
7844
|
+
}
|
|
7828
7845
|
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7846
|
+
/**
|
|
7847
|
+
* Collection of user event settings
|
|
7848
|
+
*/
|
|
7849
|
+
class UserEventSettingCollection extends Collection {
|
|
7850
|
+
getConfigurableBy(field) {
|
|
7851
|
+
return new UserEventSettingCollection(this.items.filter((setting) => setting[field] !== null));
|
|
7852
|
+
}
|
|
7853
|
+
}
|
|
7834
7854
|
|
|
7835
|
-
|
|
7836
|
-
(
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
}
|
|
7855
|
+
class ClientInviteCollection extends Collection {
|
|
7856
|
+
getPending() {
|
|
7857
|
+
return this.filter((invite) => invite.isPending());
|
|
7858
|
+
}
|
|
7859
|
+
}
|
|
7840
7860
|
|
|
7841
7861
|
var ClientDetailsMedicareExemptionEnum;
|
|
7842
7862
|
(function (ClientDetailsMedicareExemptionEnum) {
|
|
@@ -10311,9 +10331,9 @@ class AddressService {
|
|
|
10311
10331
|
return this.countriesSubject.asObservable();
|
|
10312
10332
|
}
|
|
10313
10333
|
}
|
|
10314
|
-
AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10315
|
-
AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
10316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10334
|
+
AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10335
|
+
AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AddressService, providedIn: 'root' });
|
|
10336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AddressService, decorators: [{
|
|
10317
10337
|
type: Injectable,
|
|
10318
10338
|
args: [{
|
|
10319
10339
|
providedIn: 'root'
|
|
@@ -10417,9 +10437,9 @@ class BankAccountService extends RestService$1 {
|
|
|
10417
10437
|
});
|
|
10418
10438
|
}
|
|
10419
10439
|
}
|
|
10420
|
-
BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10421
|
-
BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
10422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10440
|
+
BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10441
|
+
BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountService, providedIn: 'root' });
|
|
10442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountService, decorators: [{
|
|
10423
10443
|
type: Injectable,
|
|
10424
10444
|
args: [{
|
|
10425
10445
|
providedIn: 'root'
|
|
@@ -10471,280 +10491,62 @@ class BankTransactionService extends RestService$1 {
|
|
|
10471
10491
|
return this.http.post(`${this.environment.apiV2}/bank-accounts/${bankAccountId}/bank-transaction-imports`, formData)
|
|
10472
10492
|
.pipe(map((response) => {
|
|
10473
10493
|
const newBankTransactions = response.map((bankTransaction) => plainToClass(BankTransaction, bankTransaction));
|
|
10474
|
-
// push new items to cache only if we already have cache. Otherwise cache will contain only new items.
|
|
10475
|
-
if (this.cache) {
|
|
10476
|
-
// just current year's transactions should be added
|
|
10477
|
-
this.cache.push(...newBankTransactions.filter((bt) => new FinancialYear().includes(bt.date)));
|
|
10478
|
-
this.updateCache();
|
|
10479
|
-
}
|
|
10480
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.BANK_TRANSACTIONS_ADDED, newBankTransactions));
|
|
10481
|
-
return newBankTransactions;
|
|
10482
|
-
}));
|
|
10483
|
-
}
|
|
10484
|
-
delete(model) {
|
|
10485
|
-
return super.delete(model).pipe(map(() => {
|
|
10486
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.BANK_TRANSACTIONS_DELETED, model));
|
|
10487
|
-
}));
|
|
10488
|
-
}
|
|
10489
|
-
/**
|
|
10490
|
-
* @TODO move to sse when backend send mercure event
|
|
10491
|
-
*/
|
|
10492
|
-
listenBankTransactionsImport() {
|
|
10493
|
-
this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
|
|
10494
|
-
if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.BASIQ_FIRST_IMPORT_COMPLETE) {
|
|
10495
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.BANK_TRANSACTIONS_ADDED, []));
|
|
10496
|
-
this.resetCache();
|
|
10497
|
-
}
|
|
10498
|
-
});
|
|
10499
|
-
}
|
|
10500
|
-
}
|
|
10501
|
-
BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10502
|
-
BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
|
|
10503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BankTransactionService, decorators: [{
|
|
10504
|
-
type: Injectable,
|
|
10505
|
-
args: [{
|
|
10506
|
-
providedIn: 'root'
|
|
10507
|
-
}]
|
|
10508
|
-
}] });
|
|
10509
|
-
|
|
10510
|
-
/**
|
|
10511
|
-
* Abstract base service that implements common services functionality
|
|
10512
|
-
* and describe abstract methods/properties that have to be implemented in child services
|
|
10513
|
-
* Model - entity service is working with
|
|
10514
|
-
* BaseModel - base entity model that extends by Model
|
|
10515
|
-
* CollectionModel - entity collection class
|
|
10516
|
-
*/
|
|
10517
|
-
class RestService {
|
|
10518
|
-
constructor(http, eventDispatcherService, environment) {
|
|
10519
|
-
this.http = http;
|
|
10520
|
-
this.eventDispatcherService = eventDispatcherService;
|
|
10521
|
-
this.environment = environment;
|
|
10522
|
-
/**
|
|
10523
|
-
* Subject for service cache
|
|
10524
|
-
*/
|
|
10525
|
-
this.cacheSubject = new ReplaySubject(1);
|
|
10526
|
-
/**
|
|
10527
|
-
* List of methods unavailable for current API
|
|
10528
|
-
*/
|
|
10529
|
-
this.disabledMethods = [];
|
|
10530
|
-
this.listenEvents();
|
|
10531
|
-
}
|
|
10532
|
-
get apiUrl() {
|
|
10533
|
-
return `${this.environment.apiV2}/${this.entityUrl}`;
|
|
10534
|
-
}
|
|
10535
|
-
get() {
|
|
10536
|
-
this.handleAccessError('get');
|
|
10537
|
-
// Set cache as empty collection to avoid multiple requests before cache filled
|
|
10538
|
-
if (!this.cache) {
|
|
10539
|
-
this.cache = this.createCollectionInstance(this.collectionClass, []);
|
|
10540
|
-
this.resetCache();
|
|
10541
|
-
}
|
|
10542
|
-
return this.cacheSubject.asObservable();
|
|
10543
|
-
}
|
|
10544
|
-
;
|
|
10545
|
-
getSingle() {
|
|
10546
|
-
this.handleAccessError('get');
|
|
10547
|
-
return this.get().pipe(map((collection) => collection.first));
|
|
10548
|
-
}
|
|
10549
|
-
/**
|
|
10550
|
-
* Create a new Model instance in database
|
|
10551
|
-
*/
|
|
10552
|
-
post(model) {
|
|
10553
|
-
this.handleAccessError('post');
|
|
10554
|
-
return this.http.post(this.apiUrl, model)
|
|
10555
|
-
.pipe(map((response) => {
|
|
10556
|
-
const result = this.createModelInstance(this.modelClass, response);
|
|
10557
|
-
this.handleResponse([result], 'post');
|
|
10558
|
-
return result;
|
|
10559
|
-
}));
|
|
10560
|
-
}
|
|
10561
|
-
/**
|
|
10562
|
-
* Create multiple new Model instances in database
|
|
10563
|
-
*/
|
|
10564
|
-
postBatch(models) {
|
|
10565
|
-
this.handleAccessError('postBatch');
|
|
10566
|
-
return this.http.post(this.apiUrl, models)
|
|
10567
|
-
.pipe(map((response) => {
|
|
10568
|
-
const result = response.map((item) => this.createModelInstance(this.modelClass, item));
|
|
10569
|
-
this.handleResponse(result, 'post');
|
|
10570
|
-
return result;
|
|
10571
|
-
}));
|
|
10572
|
-
}
|
|
10573
|
-
/**
|
|
10574
|
-
* Change an existing Model instance in database
|
|
10575
|
-
*/
|
|
10576
|
-
put(model) {
|
|
10577
|
-
this.handleAccessError('put');
|
|
10578
|
-
return this.http.put(`${this.apiUrl}/${model.id}`, model)
|
|
10579
|
-
.pipe(map((response) => {
|
|
10580
|
-
const result = this.createModelInstance(this.modelClass, response);
|
|
10581
|
-
this.handleResponse([result], 'put');
|
|
10582
|
-
return result;
|
|
10583
|
-
}));
|
|
10584
|
-
}
|
|
10585
|
-
/**
|
|
10586
|
-
* Change multiple existing Model instances in database
|
|
10587
|
-
*/
|
|
10588
|
-
putBatch(models) {
|
|
10589
|
-
this.handleAccessError('putBatch');
|
|
10590
|
-
return this.http.put(this.apiUrl, models)
|
|
10591
|
-
.pipe(map((response) => {
|
|
10592
|
-
const result = response.map((item) => this.createModelInstance(this.modelClass, item));
|
|
10593
|
-
this.handleResponse(result, 'put');
|
|
10594
|
-
return result;
|
|
10595
|
-
}));
|
|
10596
|
-
}
|
|
10597
|
-
/**
|
|
10598
|
-
* Remove a Model instance from database
|
|
10599
|
-
*/
|
|
10600
|
-
delete(model) {
|
|
10601
|
-
this.handleAccessError('delete');
|
|
10602
|
-
return this.http.delete(`${this.apiUrl}/${model.id}`)
|
|
10603
|
-
.pipe(map(() => {
|
|
10604
|
-
this.handleResponse([model], 'delete');
|
|
10605
|
-
}));
|
|
10606
|
-
}
|
|
10607
|
-
/**
|
|
10608
|
-
* Remove multiple Model instances from database
|
|
10609
|
-
*/
|
|
10610
|
-
deleteBatch(models) {
|
|
10611
|
-
this.handleAccessError('deleteBatch');
|
|
10612
|
-
return this.http.post(`${this.apiUrl}/delete`, models)
|
|
10613
|
-
.pipe(map(() => {
|
|
10614
|
-
this.handleResponse(models, 'delete');
|
|
10615
|
-
}));
|
|
10616
|
-
}
|
|
10617
|
-
/**
|
|
10618
|
-
* Refresh cache with actual backend data
|
|
10619
|
-
*/
|
|
10620
|
-
resetCache() {
|
|
10621
|
-
this.fetch()
|
|
10622
|
-
.pipe(first$1())
|
|
10623
|
-
.subscribe();
|
|
10624
|
-
}
|
|
10625
|
-
/**
|
|
10626
|
-
* Get data from backend and fill the cache
|
|
10627
|
-
*/
|
|
10628
|
-
fetch() {
|
|
10629
|
-
return this.http.get(this.apiUrl)
|
|
10630
|
-
.pipe(map((response) => this.isApiPlatform ? response['hydra:member'] : toArray(response)), map((response) => {
|
|
10631
|
-
const items = response.map((item) => this.createModelInstance(this.modelClass, item));
|
|
10632
|
-
this.cache = this.createCollectionInstance(this.collectionClass, items);
|
|
10633
|
-
this.cacheSubject.next(this.cache);
|
|
10634
|
-
return this.cache;
|
|
10635
|
-
}));
|
|
10636
|
-
}
|
|
10637
|
-
;
|
|
10638
|
-
/**
|
|
10639
|
-
* Handle response data - update cache and dispatch event if it is needed
|
|
10640
|
-
*/
|
|
10641
|
-
handleResponse(response, method) {
|
|
10642
|
-
this.updateCache(response, method);
|
|
10643
|
-
// dispatch event for interested services
|
|
10644
|
-
if (response[0] instanceof ObservableModel) {
|
|
10645
|
-
this.dispatchEvent(method, response);
|
|
10646
|
-
}
|
|
10647
|
-
}
|
|
10648
|
-
/**
|
|
10649
|
-
* Update cache with passed items. Add/Update detects automatically, Delete via optional flag
|
|
10650
|
-
*/
|
|
10651
|
-
updateCache(items, method) {
|
|
10652
|
-
switch (method) {
|
|
10653
|
-
case 'post':
|
|
10654
|
-
this.cache = this.cache.push(...items);
|
|
10655
|
-
break;
|
|
10656
|
-
case 'put':
|
|
10657
|
-
items.forEach((item) => {
|
|
10658
|
-
this.cache = this.cache.replaceBy('id', item.id, item);
|
|
10659
|
-
});
|
|
10660
|
-
break;
|
|
10661
|
-
case 'delete':
|
|
10662
|
-
this.cache = this.cache.removeBy('id', items.map((item) => item.id));
|
|
10663
|
-
}
|
|
10664
|
-
this.cacheSubject.next(this.cache);
|
|
10665
|
-
}
|
|
10666
|
-
/**
|
|
10667
|
-
* Generate and dispatch rest event
|
|
10668
|
-
*/
|
|
10669
|
-
dispatchEvent(method, items) {
|
|
10670
|
-
const eventName = this.modelClass.getEventName(method);
|
|
10671
|
-
this.eventDispatcherService.dispatch2(new AppEvent2(eventName, items));
|
|
10672
|
-
}
|
|
10673
|
-
/**
|
|
10674
|
-
* Create new instance of class
|
|
10675
|
-
* @param model The class whose instance to be created
|
|
10676
|
-
* @param plain Single object or array from which will be created model instance(s)
|
|
10677
|
-
*/
|
|
10678
|
-
createModelInstance(model, plain) {
|
|
10679
|
-
// excludePrefixes - class-transformer option is using to ignore hydra fields
|
|
10680
|
-
return plainToClass(model, plain, { excludePrefixes: ['@'] });
|
|
10681
|
-
}
|
|
10682
|
-
createCollectionInstance(collectionClass, items) {
|
|
10683
|
-
return new collectionClass(items);
|
|
10494
|
+
// push new items to cache only if we already have cache. Otherwise cache will contain only new items.
|
|
10495
|
+
if (this.cache) {
|
|
10496
|
+
// just current year's transactions should be added
|
|
10497
|
+
this.cache.push(...newBankTransactions.filter((bt) => new FinancialYear().includes(bt.date)));
|
|
10498
|
+
this.updateCache();
|
|
10499
|
+
}
|
|
10500
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.BANK_TRANSACTIONS_ADDED, newBankTransactions));
|
|
10501
|
+
return newBankTransactions;
|
|
10502
|
+
}));
|
|
10684
10503
|
}
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
handleAccessError(method) {
|
|
10690
|
-
if (!this.disabledMethods.includes(method)) {
|
|
10691
|
-
return;
|
|
10692
|
-
}
|
|
10693
|
-
throw new Error(`Method ${method}() is not allowed for ${this.constructor.name}`);
|
|
10504
|
+
delete(model) {
|
|
10505
|
+
return super.delete(model).pipe(map(() => {
|
|
10506
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.BANK_TRANSACTIONS_DELETED, model));
|
|
10507
|
+
}));
|
|
10694
10508
|
}
|
|
10695
10509
|
/**
|
|
10696
|
-
*
|
|
10697
|
-
* @param type The class whose changes should be listened for
|
|
10698
|
-
* @param methods The list of http methods should be listened for
|
|
10699
|
-
* @param callback The function to be called when event triggered
|
|
10510
|
+
* @TODO move to sse when backend send mercure event
|
|
10700
10511
|
*/
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10512
|
+
listenBankTransactionsImport() {
|
|
10513
|
+
this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
|
|
10514
|
+
if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.BASIQ_FIRST_IMPORT_COMPLETE) {
|
|
10515
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.BANK_TRANSACTIONS_ADDED, []));
|
|
10516
|
+
this.resetCache();
|
|
10517
|
+
}
|
|
10706
10518
|
});
|
|
10707
10519
|
}
|
|
10708
|
-
/**
|
|
10709
|
-
* Method that call all listeners. Empty by default. Should be redefined by child services if required
|
|
10710
|
-
*/
|
|
10711
|
-
listenEvents() { }
|
|
10712
10520
|
}
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10521
|
+
BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10522
|
+
BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
|
|
10523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionService, decorators: [{
|
|
10716
10524
|
type: Injectable,
|
|
10717
10525
|
args: [{
|
|
10718
10526
|
providedIn: 'root'
|
|
10719
10527
|
}]
|
|
10720
|
-
}]
|
|
10721
|
-
type: Inject,
|
|
10722
|
-
args: ['environment']
|
|
10723
|
-
}] }]; } });
|
|
10528
|
+
}] });
|
|
10724
10529
|
|
|
10725
10530
|
/**
|
|
10726
10531
|
* Service that handling banks logic
|
|
10727
10532
|
*/
|
|
10728
|
-
class BankService extends RestService {
|
|
10533
|
+
class BankService extends RestService$1 {
|
|
10729
10534
|
constructor() {
|
|
10730
10535
|
super(...arguments);
|
|
10731
10536
|
this.modelClass = Bank;
|
|
10732
|
-
this.
|
|
10733
|
-
this.
|
|
10734
|
-
this.isApiPlatform = true;
|
|
10735
|
-
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
10537
|
+
this.url = 'banks';
|
|
10538
|
+
this.isHydra = true;
|
|
10736
10539
|
}
|
|
10737
10540
|
get() {
|
|
10738
|
-
return super.get()
|
|
10739
|
-
.pipe(map((banks) => {
|
|
10541
|
+
return super.get().pipe(map((banks) => {
|
|
10740
10542
|
// exclude basiq banks without login fields (basiq may return broken banks without loginFields)
|
|
10741
|
-
return banks.filter((bank) => bank.isManual || (
|
|
10543
|
+
return banks.filter((bank) => bank.isManual || (bank.externalId && bank.loginFields));
|
|
10742
10544
|
}));
|
|
10743
10545
|
}
|
|
10744
10546
|
}
|
|
10745
|
-
BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10746
|
-
BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
10747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10547
|
+
BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10548
|
+
BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankService, providedIn: 'root' });
|
|
10549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankService, decorators: [{
|
|
10748
10550
|
type: Injectable,
|
|
10749
10551
|
args: [{
|
|
10750
10552
|
providedIn: 'root'
|
|
@@ -10774,9 +10576,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
|
|
|
10774
10576
|
}));
|
|
10775
10577
|
}
|
|
10776
10578
|
}
|
|
10777
|
-
ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10778
|
-
ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
10779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10579
|
+
ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10580
|
+
ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
|
|
10581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
|
|
10780
10582
|
type: Injectable,
|
|
10781
10583
|
args: [{
|
|
10782
10584
|
providedIn: 'root'
|
|
@@ -10857,9 +10659,9 @@ class ChartAccountsService {
|
|
|
10857
10659
|
}));
|
|
10858
10660
|
}
|
|
10859
10661
|
}
|
|
10860
|
-
ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10861
|
-
ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
10862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10662
|
+
ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10663
|
+
ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
|
|
10664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsService, decorators: [{
|
|
10863
10665
|
type: Injectable,
|
|
10864
10666
|
args: [{
|
|
10865
10667
|
providedIn: 'root'
|
|
@@ -10905,9 +10707,9 @@ class MessageService extends RestService$1 {
|
|
|
10905
10707
|
});
|
|
10906
10708
|
}
|
|
10907
10709
|
}
|
|
10908
|
-
MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
10909
|
-
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
10910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10710
|
+
MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10711
|
+
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageService, providedIn: 'root' });
|
|
10712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageService, decorators: [{
|
|
10911
10713
|
type: Injectable,
|
|
10912
10714
|
args: [{
|
|
10913
10715
|
providedIn: 'root'
|
|
@@ -11013,9 +10815,9 @@ class MessageDocumentService {
|
|
|
11013
10815
|
}));
|
|
11014
10816
|
}
|
|
11015
10817
|
}
|
|
11016
|
-
MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11017
|
-
MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10818
|
+
MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageDocumentService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10819
|
+
MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
|
|
10820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageDocumentService, decorators: [{
|
|
11019
10821
|
type: Injectable,
|
|
11020
10822
|
args: [{
|
|
11021
10823
|
providedIn: 'root'
|
|
@@ -11089,9 +10891,9 @@ class ChatService extends RestService$1 {
|
|
|
11089
10891
|
});
|
|
11090
10892
|
}
|
|
11091
10893
|
}
|
|
11092
|
-
ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11093
|
-
ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10894
|
+
ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10895
|
+
ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChatService, providedIn: 'root' });
|
|
10896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChatService, decorators: [{
|
|
11095
10897
|
type: Injectable,
|
|
11096
10898
|
args: [{
|
|
11097
10899
|
providedIn: 'root'
|
|
@@ -11157,9 +10959,9 @@ class ReceiptService {
|
|
|
11157
10959
|
return plainToClass(this.modelClass, data);
|
|
11158
10960
|
}
|
|
11159
10961
|
}
|
|
11160
|
-
ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11161
|
-
ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10962
|
+
ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10963
|
+
ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ReceiptService, providedIn: 'root' });
|
|
10964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ReceiptService, decorators: [{
|
|
11163
10965
|
type: Injectable,
|
|
11164
10966
|
args: [{
|
|
11165
10967
|
providedIn: 'root'
|
|
@@ -11188,9 +10990,9 @@ class DepreciationReceiptService extends ReceiptService {
|
|
|
11188
10990
|
this.listenEvents();
|
|
11189
10991
|
}
|
|
11190
10992
|
}
|
|
11191
|
-
DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11192
|
-
DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10993
|
+
DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10994
|
+
DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
|
|
10995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationReceiptService, decorators: [{
|
|
11194
10996
|
type: Injectable,
|
|
11195
10997
|
args: [{
|
|
11196
10998
|
providedIn: 'root'
|
|
@@ -11341,9 +11143,9 @@ class DepreciationService extends RestService$1 {
|
|
|
11341
11143
|
});
|
|
11342
11144
|
}
|
|
11343
11145
|
}
|
|
11344
|
-
DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11345
|
-
DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11146
|
+
DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: DepreciationReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11147
|
+
DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationService, providedIn: 'root' });
|
|
11148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationService, decorators: [{
|
|
11347
11149
|
type: Injectable,
|
|
11348
11150
|
args: [{
|
|
11349
11151
|
providedIn: 'root'
|
|
@@ -11395,9 +11197,9 @@ class DepreciationCapitalProjectService {
|
|
|
11395
11197
|
}));
|
|
11396
11198
|
}
|
|
11397
11199
|
}
|
|
11398
|
-
DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11399
|
-
DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11200
|
+
DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11201
|
+
DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
|
|
11202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
|
|
11401
11203
|
type: Injectable,
|
|
11402
11204
|
args: [{
|
|
11403
11205
|
providedIn: 'root'
|
|
@@ -11414,9 +11216,9 @@ class DocumentService extends RestService$1 {
|
|
|
11414
11216
|
this.modelClass = Document;
|
|
11415
11217
|
}
|
|
11416
11218
|
}
|
|
11417
|
-
DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11418
|
-
DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11219
|
+
DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11220
|
+
DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentService, providedIn: 'root' });
|
|
11221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentService, decorators: [{
|
|
11420
11222
|
type: Injectable,
|
|
11421
11223
|
args: [{
|
|
11422
11224
|
providedIn: 'root'
|
|
@@ -11482,9 +11284,9 @@ class DocumentFolderService extends RestService$1 {
|
|
|
11482
11284
|
}));
|
|
11483
11285
|
}
|
|
11484
11286
|
}
|
|
11485
|
-
DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11486
|
-
DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11287
|
+
DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11288
|
+
DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
|
|
11289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentFolderService, decorators: [{
|
|
11488
11290
|
type: Injectable,
|
|
11489
11291
|
args: [{
|
|
11490
11292
|
providedIn: 'root'
|
|
@@ -11561,9 +11363,9 @@ FacebookService.authOptions = {
|
|
|
11561
11363
|
auth_type: 'rerequest',
|
|
11562
11364
|
return_scopes: true
|
|
11563
11365
|
};
|
|
11564
|
-
FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11565
|
-
FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11366
|
+
FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i1$1.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11367
|
+
FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FacebookService, providedIn: 'root' });
|
|
11368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FacebookService, decorators: [{
|
|
11567
11369
|
type: Injectable,
|
|
11568
11370
|
args: [{
|
|
11569
11371
|
providedIn: 'root'
|
|
@@ -11606,9 +11408,9 @@ class ClientIncomeTypesService {
|
|
|
11606
11408
|
}));
|
|
11607
11409
|
}
|
|
11608
11410
|
}
|
|
11609
|
-
ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11610
|
-
ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11411
|
+
ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientIncomeTypesService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11412
|
+
ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
|
|
11413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
|
|
11612
11414
|
type: Injectable,
|
|
11613
11415
|
args: [{
|
|
11614
11416
|
providedIn: 'root'
|
|
@@ -11726,9 +11528,9 @@ class ClientInviteService extends RestService$1 {
|
|
|
11726
11528
|
});
|
|
11727
11529
|
}
|
|
11728
11530
|
}
|
|
11729
|
-
ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11730
|
-
ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11531
|
+
ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11532
|
+
ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
|
|
11533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientInviteService, decorators: [{
|
|
11732
11534
|
type: Injectable,
|
|
11733
11535
|
args: [{
|
|
11734
11536
|
providedIn: 'root'
|
|
@@ -11807,9 +11609,9 @@ class ClientMovementService extends RestService$1 {
|
|
|
11807
11609
|
});
|
|
11808
11610
|
}
|
|
11809
11611
|
}
|
|
11810
|
-
ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11811
|
-
ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11612
|
+
ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11613
|
+
ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
|
|
11614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientMovementService, decorators: [{
|
|
11813
11615
|
type: Injectable,
|
|
11814
11616
|
args: [{
|
|
11815
11617
|
providedIn: 'root'
|
|
@@ -11838,9 +11640,9 @@ class EmployeeService extends RestService$1 {
|
|
|
11838
11640
|
}));
|
|
11839
11641
|
}
|
|
11840
11642
|
}
|
|
11841
|
-
EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11842
|
-
EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11643
|
+
EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11644
|
+
EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeService, providedIn: 'root' });
|
|
11645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeService, decorators: [{
|
|
11844
11646
|
type: Injectable,
|
|
11845
11647
|
args: [{
|
|
11846
11648
|
providedIn: 'root'
|
|
@@ -11883,9 +11685,9 @@ class EmployeeInviteService extends RestService$1 {
|
|
|
11883
11685
|
}));
|
|
11884
11686
|
}
|
|
11885
11687
|
}
|
|
11886
|
-
EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11887
|
-
EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11688
|
+
EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11689
|
+
EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
|
|
11690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeInviteService, decorators: [{
|
|
11889
11691
|
type: Injectable,
|
|
11890
11692
|
args: [{
|
|
11891
11693
|
providedIn: 'root'
|
|
@@ -11910,9 +11712,9 @@ class ClientPortfolioReportService {
|
|
|
11910
11712
|
}));
|
|
11911
11713
|
}
|
|
11912
11714
|
}
|
|
11913
|
-
ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11914
|
-
ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11715
|
+
ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11716
|
+
ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
|
|
11717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
|
|
11916
11718
|
type: Injectable,
|
|
11917
11719
|
args: [{
|
|
11918
11720
|
providedIn: 'root'
|
|
@@ -11982,9 +11784,9 @@ class FirmService {
|
|
|
11982
11784
|
}));
|
|
11983
11785
|
}
|
|
11984
11786
|
}
|
|
11985
|
-
FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11986
|
-
FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
11987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11787
|
+
FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11788
|
+
FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FirmService, providedIn: 'root' });
|
|
11789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FirmService, decorators: [{
|
|
11988
11790
|
type: Injectable,
|
|
11989
11791
|
args: [{
|
|
11990
11792
|
providedIn: 'root'
|
|
@@ -12057,9 +11859,9 @@ class IncomeSourceForecastService extends RestService$1 {
|
|
|
12057
11859
|
}).flat();
|
|
12058
11860
|
}
|
|
12059
11861
|
}
|
|
12060
|
-
IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12061
|
-
IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11862
|
+
IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11863
|
+
IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
|
|
11864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
|
|
12063
11865
|
type: Injectable,
|
|
12064
11866
|
args: [{
|
|
12065
11867
|
providedIn: 'root'
|
|
@@ -12129,9 +11931,9 @@ class SalaryForecastService extends RestService$1 {
|
|
|
12129
11931
|
}).flat();
|
|
12130
11932
|
}
|
|
12131
11933
|
}
|
|
12132
|
-
SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12133
|
-
SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11934
|
+
SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
11935
|
+
SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
|
|
11936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SalaryForecastService, decorators: [{
|
|
12135
11937
|
type: Injectable,
|
|
12136
11938
|
args: [{
|
|
12137
11939
|
providedIn: 'root'
|
|
@@ -12207,9 +12009,9 @@ class SoleForecastService extends RestService$1 {
|
|
|
12207
12009
|
});
|
|
12208
12010
|
}
|
|
12209
12011
|
}
|
|
12210
|
-
SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12211
|
-
SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12012
|
+
SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12013
|
+
SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
|
|
12014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleForecastService, decorators: [{
|
|
12213
12015
|
type: Injectable,
|
|
12214
12016
|
args: [{
|
|
12215
12017
|
providedIn: 'root'
|
|
@@ -12308,9 +12110,9 @@ class IncomeSourceService extends RestService$1 {
|
|
|
12308
12110
|
});
|
|
12309
12111
|
}
|
|
12310
12112
|
}
|
|
12311
|
-
IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12312
|
-
IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12113
|
+
IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12114
|
+
IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
|
|
12115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceService, decorators: [{
|
|
12314
12116
|
type: Injectable,
|
|
12315
12117
|
args: [{
|
|
12316
12118
|
providedIn: 'root'
|
|
@@ -12370,9 +12172,9 @@ class BorrowingExpenseService {
|
|
|
12370
12172
|
}));
|
|
12371
12173
|
}
|
|
12372
12174
|
}
|
|
12373
|
-
BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12374
|
-
BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12175
|
+
BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12176
|
+
BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
|
|
12177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BorrowingExpenseService, decorators: [{
|
|
12376
12178
|
type: Injectable,
|
|
12377
12179
|
args: [{
|
|
12378
12180
|
providedIn: 'root'
|
|
@@ -12499,9 +12301,9 @@ class LoanService extends RestService$1 {
|
|
|
12499
12301
|
}));
|
|
12500
12302
|
}
|
|
12501
12303
|
}
|
|
12502
|
-
LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12503
|
-
LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12304
|
+
LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12305
|
+
LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LoanService, providedIn: 'root' });
|
|
12306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LoanService, decorators: [{
|
|
12505
12307
|
type: Injectable,
|
|
12506
12308
|
args: [{
|
|
12507
12309
|
providedIn: 'root'
|
|
@@ -12518,9 +12320,9 @@ class PropertyCategoryService extends RestService$1 {
|
|
|
12518
12320
|
this.url = 'properties/categories';
|
|
12519
12321
|
}
|
|
12520
12322
|
}
|
|
12521
|
-
PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12522
|
-
PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12323
|
+
PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12324
|
+
PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
|
|
12325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryService, decorators: [{
|
|
12524
12326
|
type: Injectable,
|
|
12525
12327
|
args: [{
|
|
12526
12328
|
providedIn: 'root'
|
|
@@ -12558,9 +12360,9 @@ class PropertyCategoryMovementService extends RestService$1 {
|
|
|
12558
12360
|
}));
|
|
12559
12361
|
}
|
|
12560
12362
|
}
|
|
12561
|
-
PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12562
|
-
PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12363
|
+
PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12364
|
+
PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
|
|
12365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
|
|
12564
12366
|
type: Injectable,
|
|
12565
12367
|
args: [{
|
|
12566
12368
|
providedIn: 'root'
|
|
@@ -12612,9 +12414,9 @@ class PropertyDocumentService extends RestService$1 {
|
|
|
12612
12414
|
});
|
|
12613
12415
|
}
|
|
12614
12416
|
}
|
|
12615
|
-
PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12616
|
-
PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12417
|
+
PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12418
|
+
PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
|
|
12419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyDocumentService, decorators: [{
|
|
12618
12420
|
type: Injectable,
|
|
12619
12421
|
args: [{
|
|
12620
12422
|
providedIn: 'root'
|
|
@@ -12629,9 +12431,9 @@ class TaxExemptionService extends RestService$1 {
|
|
|
12629
12431
|
this.isHydra = true;
|
|
12630
12432
|
}
|
|
12631
12433
|
}
|
|
12632
|
-
TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12633
|
-
TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12434
|
+
TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxExemptionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12435
|
+
TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
|
|
12436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxExemptionService, decorators: [{
|
|
12635
12437
|
type: Injectable,
|
|
12636
12438
|
args: [{
|
|
12637
12439
|
providedIn: 'root'
|
|
@@ -12645,149 +12447,364 @@ class PropertySaleService extends RestService$1 {
|
|
|
12645
12447
|
this.url = 'properties/sales';
|
|
12646
12448
|
}
|
|
12647
12449
|
/**
|
|
12648
|
-
* @Todo should be extended from the RestService
|
|
12450
|
+
* @Todo should be extended from the RestService
|
|
12451
|
+
*/
|
|
12452
|
+
add(model) {
|
|
12453
|
+
return super.add(model).pipe(map((newPropertySale) => {
|
|
12454
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.PROPERTY_SALE_ADDED, newPropertySale));
|
|
12455
|
+
return newPropertySale;
|
|
12456
|
+
}));
|
|
12457
|
+
}
|
|
12458
|
+
/**
|
|
12459
|
+
* @Todo should be extended from the RestService
|
|
12460
|
+
*/
|
|
12461
|
+
delete(model) {
|
|
12462
|
+
return super.delete(model).pipe(map(() => {
|
|
12463
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.PROPERTY_SALE_DELETED, model));
|
|
12464
|
+
}));
|
|
12465
|
+
}
|
|
12466
|
+
}
|
|
12467
|
+
PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12468
|
+
PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
|
|
12469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertySaleService, decorators: [{
|
|
12470
|
+
type: Injectable,
|
|
12471
|
+
args: [{
|
|
12472
|
+
providedIn: 'root'
|
|
12473
|
+
}]
|
|
12474
|
+
}] });
|
|
12475
|
+
|
|
12476
|
+
// @TODO check and improve logic during refactoring
|
|
12477
|
+
class PropertyShareService extends RestService$1 {
|
|
12478
|
+
constructor() {
|
|
12479
|
+
super(...arguments);
|
|
12480
|
+
// api url parameter for properties shares
|
|
12481
|
+
this.url = 'properties/shares';
|
|
12482
|
+
this.modelClass = PropertyShare;
|
|
12483
|
+
}
|
|
12484
|
+
/**
|
|
12485
|
+
* Listen to Event Dispatcher events
|
|
12486
|
+
*/
|
|
12487
|
+
listenEvents() {
|
|
12488
|
+
this.listenUserUpdated();
|
|
12489
|
+
this.listenSalesAdded();
|
|
12490
|
+
this.listenSalesDeleted();
|
|
12491
|
+
}
|
|
12492
|
+
/**
|
|
12493
|
+
* Updated loan
|
|
12494
|
+
*/
|
|
12495
|
+
update(propertyShare) {
|
|
12496
|
+
return this.http.put(`${this.environment.apiV2}/${this.url}/${propertyShare.id}`, propertyShare)
|
|
12497
|
+
.pipe(map((updatedPropertyShareBase) => {
|
|
12498
|
+
const updatedPropertyShare = plainToClass(PropertyShare, updatedPropertyShareBase);
|
|
12499
|
+
// if loan type is NOT vehicle - fire EventDispatcher event
|
|
12500
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.PROPERTY_SHARE_UPDATED, null));
|
|
12501
|
+
replace(this.cache, updatedPropertyShare);
|
|
12502
|
+
this.updateCache();
|
|
12503
|
+
return updatedPropertyShare;
|
|
12504
|
+
}));
|
|
12505
|
+
}
|
|
12506
|
+
/**
|
|
12507
|
+
* Re-invite property share
|
|
12508
|
+
* @param share user to share property
|
|
12509
|
+
*/
|
|
12510
|
+
reinvite(share) {
|
|
12511
|
+
return this.http.post(`${this.environment.apiV2}/${this.url}/${share.id}/reinvite`, {});
|
|
12512
|
+
}
|
|
12513
|
+
getIncoming() {
|
|
12514
|
+
return this.get()
|
|
12515
|
+
.pipe(map((propertyShares) => {
|
|
12516
|
+
const propertySharesIncoming = [];
|
|
12517
|
+
propertyShares.forEach((propertyShare) => {
|
|
12518
|
+
var _a;
|
|
12519
|
+
if (((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId')) {
|
|
12520
|
+
propertySharesIncoming.push(propertyShare);
|
|
12521
|
+
}
|
|
12522
|
+
});
|
|
12523
|
+
return propertySharesIncoming;
|
|
12524
|
+
}));
|
|
12525
|
+
}
|
|
12526
|
+
/**
|
|
12527
|
+
* Get outcoming property shares list
|
|
12528
|
+
*/
|
|
12529
|
+
getOutcoming() {
|
|
12530
|
+
return this.get().pipe(map((propertyShares) => {
|
|
12531
|
+
return this.filterOutcoming(propertyShares);
|
|
12532
|
+
}));
|
|
12533
|
+
}
|
|
12534
|
+
/**
|
|
12535
|
+
* Filter outcoming property shares
|
|
12536
|
+
*/
|
|
12537
|
+
filterOutcoming(propertyShares) {
|
|
12538
|
+
const propertySharesOutcoming = [];
|
|
12539
|
+
propertyShares.forEach((propertyShare) => {
|
|
12540
|
+
var _a;
|
|
12541
|
+
if (!((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
|
|
12542
|
+
propertySharesOutcoming.push(propertyShare);
|
|
12543
|
+
}
|
|
12544
|
+
});
|
|
12545
|
+
return propertySharesOutcoming;
|
|
12546
|
+
}
|
|
12547
|
+
getByPropertyId(propertyId) {
|
|
12548
|
+
return this.get()
|
|
12549
|
+
.pipe(map((propertyShares) => {
|
|
12550
|
+
return propertyShares.filter((propertyShare) => propertyShare.property.id === propertyId);
|
|
12551
|
+
}));
|
|
12552
|
+
}
|
|
12553
|
+
/**
|
|
12554
|
+
* Listen to User updated event
|
|
12555
|
+
*/
|
|
12556
|
+
listenUserUpdated() {
|
|
12557
|
+
this.eventDispatcherService.on(AppEventTypeEnum.USER_UPDATED)
|
|
12558
|
+
.subscribe(() => {
|
|
12559
|
+
this.fetch().subscribe((propertyShares) => {
|
|
12560
|
+
this.cache = propertyShares;
|
|
12561
|
+
this.updateCache();
|
|
12562
|
+
});
|
|
12563
|
+
});
|
|
12564
|
+
}
|
|
12565
|
+
/**
|
|
12566
|
+
* @Todo Alex refactor after PropertyShare functionality in PropertyService will be cleared up
|
|
12567
|
+
*/
|
|
12568
|
+
listenSalesAdded() {
|
|
12569
|
+
this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SALE_ADDED).subscribe((propertySale) => {
|
|
12570
|
+
const shareToReplace = this.find(propertySale.share.id);
|
|
12571
|
+
shareToReplace.sale = plainToClass(PropertySale, { id: propertySale.id });
|
|
12572
|
+
replace(this.cache, shareToReplace);
|
|
12573
|
+
this.updateCache();
|
|
12574
|
+
});
|
|
12575
|
+
}
|
|
12576
|
+
listenSalesDeleted() {
|
|
12577
|
+
this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SALE_DELETED).subscribe((propertySale) => {
|
|
12578
|
+
const shareToReplace = this.find(propertySale.share.id);
|
|
12579
|
+
shareToReplace.sale = null;
|
|
12580
|
+
replace(this.cache, shareToReplace);
|
|
12581
|
+
this.updateCache();
|
|
12582
|
+
});
|
|
12583
|
+
}
|
|
12584
|
+
}
|
|
12585
|
+
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12586
|
+
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
|
|
12587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, decorators: [{
|
|
12588
|
+
type: Injectable,
|
|
12589
|
+
args: [{
|
|
12590
|
+
providedIn: 'root'
|
|
12591
|
+
}]
|
|
12592
|
+
}] });
|
|
12593
|
+
|
|
12594
|
+
/**
|
|
12595
|
+
* Abstract base service that implements common services functionality
|
|
12596
|
+
* and describe abstract methods/properties that have to be implemented in child services
|
|
12597
|
+
* Model - entity service is working with
|
|
12598
|
+
* BaseModel - base entity model that extends by Model
|
|
12599
|
+
* CollectionModel - entity collection class
|
|
12600
|
+
*/
|
|
12601
|
+
class RestService {
|
|
12602
|
+
constructor(http, eventDispatcherService, environment) {
|
|
12603
|
+
this.http = http;
|
|
12604
|
+
this.eventDispatcherService = eventDispatcherService;
|
|
12605
|
+
this.environment = environment;
|
|
12606
|
+
/**
|
|
12607
|
+
* Subject for service cache
|
|
12608
|
+
*/
|
|
12609
|
+
this.cacheSubject = new ReplaySubject(1);
|
|
12610
|
+
/**
|
|
12611
|
+
* List of methods unavailable for current API
|
|
12612
|
+
*/
|
|
12613
|
+
this.disabledMethods = [];
|
|
12614
|
+
this.listenEvents();
|
|
12615
|
+
}
|
|
12616
|
+
get apiUrl() {
|
|
12617
|
+
return `${this.environment.apiV2}/${this.entityUrl}`;
|
|
12618
|
+
}
|
|
12619
|
+
get() {
|
|
12620
|
+
this.handleAccessError('get');
|
|
12621
|
+
// Set cache as empty collection to avoid multiple requests before cache filled
|
|
12622
|
+
if (!this.cache) {
|
|
12623
|
+
this.cache = this.createCollectionInstance(this.collectionClass, []);
|
|
12624
|
+
this.resetCache();
|
|
12625
|
+
}
|
|
12626
|
+
return this.cacheSubject.asObservable();
|
|
12627
|
+
}
|
|
12628
|
+
;
|
|
12629
|
+
getSingle() {
|
|
12630
|
+
this.handleAccessError('get');
|
|
12631
|
+
return this.get().pipe(map((collection) => collection.first));
|
|
12632
|
+
}
|
|
12633
|
+
/**
|
|
12634
|
+
* Create a new Model instance in database
|
|
12635
|
+
*/
|
|
12636
|
+
post(model) {
|
|
12637
|
+
this.handleAccessError('post');
|
|
12638
|
+
return this.http.post(this.apiUrl, model)
|
|
12639
|
+
.pipe(map((response) => {
|
|
12640
|
+
const result = this.createModelInstance(this.modelClass, response);
|
|
12641
|
+
this.handleResponse([result], 'post');
|
|
12642
|
+
return result;
|
|
12643
|
+
}));
|
|
12644
|
+
}
|
|
12645
|
+
/**
|
|
12646
|
+
* Create multiple new Model instances in database
|
|
12647
|
+
*/
|
|
12648
|
+
postBatch(models) {
|
|
12649
|
+
this.handleAccessError('postBatch');
|
|
12650
|
+
return this.http.post(this.apiUrl, models)
|
|
12651
|
+
.pipe(map((response) => {
|
|
12652
|
+
const result = response.map((item) => this.createModelInstance(this.modelClass, item));
|
|
12653
|
+
this.handleResponse(result, 'post');
|
|
12654
|
+
return result;
|
|
12655
|
+
}));
|
|
12656
|
+
}
|
|
12657
|
+
/**
|
|
12658
|
+
* Change an existing Model instance in database
|
|
12659
|
+
*/
|
|
12660
|
+
put(model) {
|
|
12661
|
+
this.handleAccessError('put');
|
|
12662
|
+
return this.http.put(`${this.apiUrl}/${model.id}`, model)
|
|
12663
|
+
.pipe(map((response) => {
|
|
12664
|
+
const result = this.createModelInstance(this.modelClass, response);
|
|
12665
|
+
this.handleResponse([result], 'put');
|
|
12666
|
+
return result;
|
|
12667
|
+
}));
|
|
12668
|
+
}
|
|
12669
|
+
/**
|
|
12670
|
+
* Change multiple existing Model instances in database
|
|
12649
12671
|
*/
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12653
|
-
|
|
12672
|
+
putBatch(models) {
|
|
12673
|
+
this.handleAccessError('putBatch');
|
|
12674
|
+
return this.http.put(this.apiUrl, models)
|
|
12675
|
+
.pipe(map((response) => {
|
|
12676
|
+
const result = response.map((item) => this.createModelInstance(this.modelClass, item));
|
|
12677
|
+
this.handleResponse(result, 'put');
|
|
12678
|
+
return result;
|
|
12654
12679
|
}));
|
|
12655
12680
|
}
|
|
12656
12681
|
/**
|
|
12657
|
-
*
|
|
12682
|
+
* Remove a Model instance from database
|
|
12658
12683
|
*/
|
|
12659
12684
|
delete(model) {
|
|
12660
|
-
|
|
12661
|
-
|
|
12685
|
+
this.handleAccessError('delete');
|
|
12686
|
+
return this.http.delete(`${this.apiUrl}/${model.id}`)
|
|
12687
|
+
.pipe(map(() => {
|
|
12688
|
+
this.handleResponse([model], 'delete');
|
|
12662
12689
|
}));
|
|
12663
12690
|
}
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
}
|
|
12673
|
-
|
|
12674
|
-
// @TODO check and improve logic during refactoring
|
|
12675
|
-
class PropertyShareService extends RestService$1 {
|
|
12676
|
-
constructor() {
|
|
12677
|
-
super(...arguments);
|
|
12678
|
-
// api url parameter for properties shares
|
|
12679
|
-
this.url = 'properties/shares';
|
|
12680
|
-
this.modelClass = PropertyShare;
|
|
12691
|
+
/**
|
|
12692
|
+
* Remove multiple Model instances from database
|
|
12693
|
+
*/
|
|
12694
|
+
deleteBatch(models) {
|
|
12695
|
+
this.handleAccessError('deleteBatch');
|
|
12696
|
+
return this.http.post(`${this.apiUrl}/delete`, models)
|
|
12697
|
+
.pipe(map(() => {
|
|
12698
|
+
this.handleResponse(models, 'delete');
|
|
12699
|
+
}));
|
|
12681
12700
|
}
|
|
12682
12701
|
/**
|
|
12683
|
-
*
|
|
12702
|
+
* Refresh cache with actual backend data
|
|
12684
12703
|
*/
|
|
12685
|
-
|
|
12686
|
-
this.
|
|
12687
|
-
|
|
12688
|
-
|
|
12704
|
+
resetCache() {
|
|
12705
|
+
this.fetch()
|
|
12706
|
+
.pipe(first$1())
|
|
12707
|
+
.subscribe();
|
|
12689
12708
|
}
|
|
12690
12709
|
/**
|
|
12691
|
-
*
|
|
12710
|
+
* Get data from backend and fill the cache
|
|
12692
12711
|
*/
|
|
12693
|
-
|
|
12694
|
-
return this.http.
|
|
12695
|
-
.pipe(map((
|
|
12696
|
-
const
|
|
12697
|
-
|
|
12698
|
-
this.
|
|
12699
|
-
|
|
12700
|
-
this.updateCache();
|
|
12701
|
-
return updatedPropertyShare;
|
|
12712
|
+
fetch() {
|
|
12713
|
+
return this.http.get(this.apiUrl)
|
|
12714
|
+
.pipe(map((response) => this.isApiPlatform ? response['hydra:member'] : toArray(response)), map((response) => {
|
|
12715
|
+
const items = response.map((item) => this.createModelInstance(this.modelClass, item));
|
|
12716
|
+
this.cache = this.createCollectionInstance(this.collectionClass, items);
|
|
12717
|
+
this.cacheSubject.next(this.cache);
|
|
12718
|
+
return this.cache;
|
|
12702
12719
|
}));
|
|
12703
12720
|
}
|
|
12721
|
+
;
|
|
12704
12722
|
/**
|
|
12705
|
-
*
|
|
12706
|
-
* @param share user to share property
|
|
12723
|
+
* Handle response data - update cache and dispatch event if it is needed
|
|
12707
12724
|
*/
|
|
12708
|
-
|
|
12709
|
-
|
|
12725
|
+
handleResponse(response, method) {
|
|
12726
|
+
this.updateCache(response, method);
|
|
12727
|
+
// dispatch event for interested services
|
|
12728
|
+
if (response[0] instanceof ObservableModel) {
|
|
12729
|
+
this.dispatchEvent(method, response);
|
|
12730
|
+
}
|
|
12710
12731
|
}
|
|
12711
|
-
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
|
|
12715
|
-
|
|
12716
|
-
|
|
12717
|
-
|
|
12718
|
-
|
|
12719
|
-
|
|
12720
|
-
|
|
12721
|
-
|
|
12722
|
-
|
|
12732
|
+
/**
|
|
12733
|
+
* Update cache with passed items. Add/Update detects automatically, Delete via optional flag
|
|
12734
|
+
*/
|
|
12735
|
+
updateCache(items, method) {
|
|
12736
|
+
switch (method) {
|
|
12737
|
+
case 'post':
|
|
12738
|
+
this.cache = this.cache.push(...items);
|
|
12739
|
+
break;
|
|
12740
|
+
case 'put':
|
|
12741
|
+
items.forEach((item) => {
|
|
12742
|
+
this.cache = this.cache.replaceBy('id', item.id, item);
|
|
12743
|
+
});
|
|
12744
|
+
break;
|
|
12745
|
+
case 'delete':
|
|
12746
|
+
this.cache = this.cache.removeBy('id', items.map((item) => item.id));
|
|
12747
|
+
}
|
|
12748
|
+
this.cacheSubject.next(this.cache);
|
|
12723
12749
|
}
|
|
12724
12750
|
/**
|
|
12725
|
-
*
|
|
12751
|
+
* Generate and dispatch rest event
|
|
12726
12752
|
*/
|
|
12727
|
-
|
|
12728
|
-
|
|
12729
|
-
|
|
12730
|
-
}));
|
|
12753
|
+
dispatchEvent(method, items) {
|
|
12754
|
+
const eventName = this.modelClass.getEventName(method);
|
|
12755
|
+
this.eventDispatcherService.dispatch2(new AppEvent2(eventName, items));
|
|
12731
12756
|
}
|
|
12732
12757
|
/**
|
|
12733
|
-
*
|
|
12758
|
+
* Create new instance of class
|
|
12759
|
+
* @param model The class whose instance to be created
|
|
12760
|
+
* @param plain Single object or array from which will be created model instance(s)
|
|
12734
12761
|
*/
|
|
12735
|
-
|
|
12736
|
-
|
|
12737
|
-
|
|
12738
|
-
var _a;
|
|
12739
|
-
if (!((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
|
|
12740
|
-
propertySharesOutcoming.push(propertyShare);
|
|
12741
|
-
}
|
|
12742
|
-
});
|
|
12743
|
-
return propertySharesOutcoming;
|
|
12762
|
+
createModelInstance(model, plain) {
|
|
12763
|
+
// excludePrefixes - class-transformer option is using to ignore hydra fields
|
|
12764
|
+
return plainToClass(model, plain, { excludePrefixes: ['@'] });
|
|
12744
12765
|
}
|
|
12745
|
-
|
|
12746
|
-
return
|
|
12747
|
-
.pipe(map((propertyShares) => {
|
|
12748
|
-
return propertyShares.filter((propertyShare) => propertyShare.property.id === propertyId);
|
|
12749
|
-
}));
|
|
12766
|
+
createCollectionInstance(collectionClass, items) {
|
|
12767
|
+
return new collectionClass(items);
|
|
12750
12768
|
}
|
|
12751
12769
|
/**
|
|
12752
|
-
*
|
|
12770
|
+
* Check if method is not disabled. Throw exception otherwise.
|
|
12771
|
+
* Some entities does not have endpoints for all methods.
|
|
12753
12772
|
*/
|
|
12754
|
-
|
|
12755
|
-
this.
|
|
12756
|
-
|
|
12757
|
-
|
|
12758
|
-
|
|
12759
|
-
this.updateCache();
|
|
12760
|
-
});
|
|
12761
|
-
});
|
|
12773
|
+
handleAccessError(method) {
|
|
12774
|
+
if (!this.disabledMethods.includes(method)) {
|
|
12775
|
+
return;
|
|
12776
|
+
}
|
|
12777
|
+
throw new Error(`Method ${method}() is not allowed for ${this.constructor.name}`);
|
|
12762
12778
|
}
|
|
12763
12779
|
/**
|
|
12764
|
-
*
|
|
12780
|
+
* Subscribe to http events and run callback
|
|
12781
|
+
* @param type The class whose changes should be listened for
|
|
12782
|
+
* @param methods The list of http methods should be listened for
|
|
12783
|
+
* @param callback The function to be called when event triggered
|
|
12765
12784
|
*/
|
|
12766
|
-
|
|
12767
|
-
|
|
12768
|
-
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
this.updateCache();
|
|
12772
|
-
});
|
|
12773
|
-
}
|
|
12774
|
-
listenSalesDeleted() {
|
|
12775
|
-
this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SALE_DELETED).subscribe((propertySale) => {
|
|
12776
|
-
const shareToReplace = this.find(propertySale.share.id);
|
|
12777
|
-
shareToReplace.sale = null;
|
|
12778
|
-
replace(this.cache, shareToReplace);
|
|
12779
|
-
this.updateCache();
|
|
12785
|
+
listenCSE(modelClass, methods, callback) {
|
|
12786
|
+
methods.forEach((method) => {
|
|
12787
|
+
this.eventDispatcherService.on2(modelClass.getEventName(method)).subscribe((data) => {
|
|
12788
|
+
callback(data);
|
|
12789
|
+
});
|
|
12780
12790
|
});
|
|
12781
12791
|
}
|
|
12792
|
+
/**
|
|
12793
|
+
* Method that call all listeners. Empty by default. Should be redefined by child services if required
|
|
12794
|
+
*/
|
|
12795
|
+
listenEvents() { }
|
|
12782
12796
|
}
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12797
|
+
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12798
|
+
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
12799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, decorators: [{
|
|
12786
12800
|
type: Injectable,
|
|
12787
12801
|
args: [{
|
|
12788
12802
|
providedIn: 'root'
|
|
12789
12803
|
}]
|
|
12790
|
-
}] }
|
|
12804
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: EventDispatcherService }, { type: undefined, decorators: [{
|
|
12805
|
+
type: Inject,
|
|
12806
|
+
args: ['environment']
|
|
12807
|
+
}] }]; } });
|
|
12791
12808
|
|
|
12792
12809
|
/**
|
|
12793
12810
|
* @Todo Alex remove functionality related to PropertyShare
|
|
@@ -12894,9 +12911,9 @@ class PropertyService extends RestService {
|
|
|
12894
12911
|
}));
|
|
12895
12912
|
}
|
|
12896
12913
|
}
|
|
12897
|
-
PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12898
|
-
PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12914
|
+
PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12915
|
+
PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyService, providedIn: 'root' });
|
|
12916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyService, decorators: [{
|
|
12900
12917
|
type: Injectable,
|
|
12901
12918
|
args: [{
|
|
12902
12919
|
providedIn: 'root'
|
|
@@ -12940,9 +12957,9 @@ class ServiceNotificationService extends RestService$1 {
|
|
|
12940
12957
|
});
|
|
12941
12958
|
}
|
|
12942
12959
|
}
|
|
12943
|
-
ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12944
|
-
ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
12960
|
+
ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12961
|
+
ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
|
|
12962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, decorators: [{
|
|
12946
12963
|
type: Injectable,
|
|
12947
12964
|
args: [{
|
|
12948
12965
|
providedIn: 'root'
|
|
@@ -12991,9 +13008,9 @@ class SoleBusinessService extends RestService$1 {
|
|
|
12991
13008
|
}));
|
|
12992
13009
|
}
|
|
12993
13010
|
}
|
|
12994
|
-
SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12995
|
-
SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
12996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13011
|
+
SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13012
|
+
SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
|
|
13013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessService, decorators: [{
|
|
12997
13014
|
type: Injectable,
|
|
12998
13015
|
args: [{
|
|
12999
13016
|
providedIn: 'root'
|
|
@@ -13008,9 +13025,9 @@ class SoleBusinessActivityService extends RestService$1 {
|
|
|
13008
13025
|
this.isHydra = true;
|
|
13009
13026
|
}
|
|
13010
13027
|
}
|
|
13011
|
-
SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13012
|
-
SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13028
|
+
SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13029
|
+
SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
|
|
13030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
|
|
13014
13031
|
type: Injectable,
|
|
13015
13032
|
args: [{
|
|
13016
13033
|
providedIn: 'root'
|
|
@@ -13036,9 +13053,9 @@ class SoleBusinessLossService extends RestService$1 {
|
|
|
13036
13053
|
});
|
|
13037
13054
|
}
|
|
13038
13055
|
}
|
|
13039
|
-
SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13040
|
-
SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13056
|
+
SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13057
|
+
SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
|
|
13058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossService, decorators: [{
|
|
13042
13059
|
type: Injectable,
|
|
13043
13060
|
args: [{
|
|
13044
13061
|
providedIn: 'root'
|
|
@@ -13056,9 +13073,9 @@ class SoleBusinessLossOffsetRuleService extends RestService$1 {
|
|
|
13056
13073
|
this.isHydra = true;
|
|
13057
13074
|
}
|
|
13058
13075
|
}
|
|
13059
|
-
SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13060
|
-
SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13076
|
+
SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13077
|
+
SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
|
|
13078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
|
|
13062
13079
|
type: Injectable,
|
|
13063
13080
|
args: [{
|
|
13064
13081
|
providedIn: 'root'
|
|
@@ -13073,9 +13090,9 @@ class SoleContactService extends RestService$1 {
|
|
|
13073
13090
|
this.isHydra = true;
|
|
13074
13091
|
}
|
|
13075
13092
|
}
|
|
13076
|
-
SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13077
|
-
SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13093
|
+
SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13094
|
+
SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleContactService, providedIn: 'root' });
|
|
13095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleContactService, decorators: [{
|
|
13079
13096
|
type: Injectable,
|
|
13080
13097
|
args: [{
|
|
13081
13098
|
providedIn: 'root'
|
|
@@ -13131,9 +13148,9 @@ class SoleDepreciationMethodService {
|
|
|
13131
13148
|
});
|
|
13132
13149
|
}
|
|
13133
13150
|
}
|
|
13134
|
-
SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13135
|
-
SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13151
|
+
SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13152
|
+
SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
|
|
13153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
|
|
13137
13154
|
type: Injectable,
|
|
13138
13155
|
args: [{
|
|
13139
13156
|
providedIn: 'root'
|
|
@@ -13186,9 +13203,9 @@ class SoleDetailsService {
|
|
|
13186
13203
|
}));
|
|
13187
13204
|
}
|
|
13188
13205
|
}
|
|
13189
|
-
SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13190
|
-
SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13206
|
+
SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13207
|
+
SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
|
|
13208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDetailsService, decorators: [{
|
|
13192
13209
|
type: Injectable,
|
|
13193
13210
|
args: [{
|
|
13194
13211
|
providedIn: 'root'
|
|
@@ -13262,9 +13279,9 @@ class SoleInvoiceService extends RestService$1 {
|
|
|
13262
13279
|
});
|
|
13263
13280
|
}
|
|
13264
13281
|
}
|
|
13265
|
-
SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13266
|
-
SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13282
|
+
SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13283
|
+
SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
|
|
13284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceService, decorators: [{
|
|
13268
13285
|
type: Injectable,
|
|
13269
13286
|
args: [{
|
|
13270
13287
|
providedIn: 'root'
|
|
@@ -13279,9 +13296,9 @@ class SoleInvoiceTemplateService extends RestService$1 {
|
|
|
13279
13296
|
this.isHydra = true;
|
|
13280
13297
|
}
|
|
13281
13298
|
}
|
|
13282
|
-
SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13283
|
-
SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13299
|
+
SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13300
|
+
SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
|
|
13301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
|
|
13285
13302
|
type: Injectable,
|
|
13286
13303
|
args: [{
|
|
13287
13304
|
providedIn: 'root'
|
|
@@ -13296,9 +13313,9 @@ class BasReportService extends RestService$1 {
|
|
|
13296
13313
|
this.isHydra = true;
|
|
13297
13314
|
}
|
|
13298
13315
|
}
|
|
13299
|
-
BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13300
|
-
BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13316
|
+
BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13317
|
+
BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasReportService, providedIn: 'root' });
|
|
13318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasReportService, decorators: [{
|
|
13302
13319
|
type: Injectable,
|
|
13303
13320
|
args: [{
|
|
13304
13321
|
providedIn: 'root'
|
|
@@ -13316,9 +13333,9 @@ class ServicePriceService extends RestService$1 {
|
|
|
13316
13333
|
this.isHydra = true;
|
|
13317
13334
|
}
|
|
13318
13335
|
}
|
|
13319
|
-
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13320
|
-
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13336
|
+
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13337
|
+
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
|
|
13338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, decorators: [{
|
|
13322
13339
|
type: Injectable,
|
|
13323
13340
|
args: [{
|
|
13324
13341
|
providedIn: 'root'
|
|
@@ -13432,9 +13449,9 @@ class SubscriptionService {
|
|
|
13432
13449
|
return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
|
|
13433
13450
|
}
|
|
13434
13451
|
}
|
|
13435
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13436
|
-
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13452
|
+
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13453
|
+
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
|
|
13454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
13438
13455
|
type: Injectable,
|
|
13439
13456
|
args: [{
|
|
13440
13457
|
providedIn: 'root'
|
|
@@ -13469,9 +13486,9 @@ class TaxReviewHistoryService extends RestService$1 {
|
|
|
13469
13486
|
});
|
|
13470
13487
|
}
|
|
13471
13488
|
}
|
|
13472
|
-
TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13473
|
-
TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13489
|
+
TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13490
|
+
TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
|
|
13491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
|
|
13475
13492
|
type: Injectable,
|
|
13476
13493
|
args: [{
|
|
13477
13494
|
providedIn: 'root'
|
|
@@ -13560,9 +13577,9 @@ class TaxReviewService extends RestService$1 {
|
|
|
13560
13577
|
});
|
|
13561
13578
|
}
|
|
13562
13579
|
}
|
|
13563
|
-
TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13564
|
-
TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13580
|
+
TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13581
|
+
TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
|
|
13582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewService, decorators: [{
|
|
13566
13583
|
type: Injectable,
|
|
13567
13584
|
args: [{
|
|
13568
13585
|
providedIn: 'root'
|
|
@@ -13619,9 +13636,9 @@ class TaxSummaryService {
|
|
|
13619
13636
|
});
|
|
13620
13637
|
}
|
|
13621
13638
|
}
|
|
13622
|
-
TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13623
|
-
TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13639
|
+
TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13640
|
+
TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
|
|
13641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxSummaryService, decorators: [{
|
|
13625
13642
|
type: Injectable,
|
|
13626
13643
|
args: [{
|
|
13627
13644
|
providedIn: 'root'
|
|
@@ -13717,9 +13734,9 @@ class TransactionAllocationService extends RestService$1 {
|
|
|
13717
13734
|
});
|
|
13718
13735
|
}
|
|
13719
13736
|
}
|
|
13720
|
-
TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13721
|
-
TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13737
|
+
TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13738
|
+
TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
|
|
13739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionAllocationService, decorators: [{
|
|
13723
13740
|
type: Injectable,
|
|
13724
13741
|
args: [{
|
|
13725
13742
|
providedIn: 'root'
|
|
@@ -13745,9 +13762,9 @@ class TransactionReceiptService extends ReceiptService {
|
|
|
13745
13762
|
this.listenEvents();
|
|
13746
13763
|
}
|
|
13747
13764
|
}
|
|
13748
|
-
TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13749
|
-
TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
13750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
13765
|
+
TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13766
|
+
TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
|
|
13767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionReceiptService, decorators: [{
|
|
13751
13768
|
type: Injectable,
|
|
13752
13769
|
args: [{
|
|
13753
13770
|
providedIn: 'root'
|
|
@@ -14067,9 +14084,9 @@ class TransactionService extends RestService$1 {
|
|
|
14067
14084
|
});
|
|
14068
14085
|
}
|
|
14069
14086
|
}
|
|
14070
|
-
TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14071
|
-
TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14087
|
+
TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14088
|
+
TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionService, providedIn: 'root' });
|
|
14089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionService, decorators: [{
|
|
14073
14090
|
type: Injectable,
|
|
14074
14091
|
args: [{
|
|
14075
14092
|
providedIn: 'root'
|
|
@@ -14098,9 +14115,9 @@ class TutorialVideoService {
|
|
|
14098
14115
|
}
|
|
14099
14116
|
TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
|
|
14100
14117
|
TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
|
|
14101
|
-
TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14102
|
-
TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14118
|
+
TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14119
|
+
TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
|
|
14120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TutorialVideoService, decorators: [{
|
|
14104
14121
|
type: Injectable,
|
|
14105
14122
|
args: [{
|
|
14106
14123
|
providedIn: 'root'
|
|
@@ -14120,9 +14137,9 @@ class VehicleService extends RestService$1 {
|
|
|
14120
14137
|
this.modelClass = Vehicle;
|
|
14121
14138
|
}
|
|
14122
14139
|
}
|
|
14123
|
-
VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14124
|
-
VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14140
|
+
VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14141
|
+
VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, providedIn: 'root' });
|
|
14142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, decorators: [{
|
|
14126
14143
|
type: Injectable,
|
|
14127
14144
|
args: [{
|
|
14128
14145
|
providedIn: 'root'
|
|
@@ -14194,9 +14211,9 @@ class VehicleClaimService extends RestService$1 {
|
|
|
14194
14211
|
combineLatest(batch$).subscribe();
|
|
14195
14212
|
}
|
|
14196
14213
|
}
|
|
14197
|
-
VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14198
|
-
VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14214
|
+
VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14215
|
+
VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
|
|
14216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimService, decorators: [{
|
|
14200
14217
|
type: Injectable,
|
|
14201
14218
|
args: [{
|
|
14202
14219
|
providedIn: 'root'
|
|
@@ -14273,9 +14290,9 @@ class VehicleClaimDetailsService {
|
|
|
14273
14290
|
this.update(vehicleClaimDetails).subscribe();
|
|
14274
14291
|
}
|
|
14275
14292
|
}
|
|
14276
|
-
VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14277
|
-
VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14293
|
+
VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14294
|
+
VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
|
|
14295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
|
|
14279
14296
|
type: Injectable,
|
|
14280
14297
|
args: [{
|
|
14281
14298
|
providedIn: 'root'
|
|
@@ -14295,9 +14312,9 @@ class VehicleLogbookService extends RestService$1 {
|
|
|
14295
14312
|
this.modelClass = VehicleLogbook;
|
|
14296
14313
|
}
|
|
14297
14314
|
}
|
|
14298
|
-
VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14299
|
-
VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14315
|
+
VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14316
|
+
VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
|
|
14317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleLogbookService, decorators: [{
|
|
14301
14318
|
type: Injectable,
|
|
14302
14319
|
args: [{
|
|
14303
14320
|
providedIn: 'root'
|
|
@@ -14330,9 +14347,9 @@ class OccupationService {
|
|
|
14330
14347
|
return this.occupationsSubject.asObservable();
|
|
14331
14348
|
}
|
|
14332
14349
|
}
|
|
14333
|
-
OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14334
|
-
OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14350
|
+
OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14351
|
+
OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: OccupationService, providedIn: 'root' });
|
|
14352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: OccupationService, decorators: [{
|
|
14336
14353
|
type: Injectable,
|
|
14337
14354
|
args: [{
|
|
14338
14355
|
providedIn: 'root'
|
|
@@ -14376,9 +14393,9 @@ class UserEventSettingService extends RestService$1 {
|
|
|
14376
14393
|
}));
|
|
14377
14394
|
}
|
|
14378
14395
|
}
|
|
14379
|
-
UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14380
|
-
UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14396
|
+
UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14397
|
+
UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
|
|
14398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventSettingService, decorators: [{
|
|
14382
14399
|
type: Injectable,
|
|
14383
14400
|
args: [{
|
|
14384
14401
|
providedIn: 'root'
|
|
@@ -14393,9 +14410,9 @@ class UserEventTypeService extends RestService$1 {
|
|
|
14393
14410
|
this.isHydra = true;
|
|
14394
14411
|
}
|
|
14395
14412
|
}
|
|
14396
|
-
UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14397
|
-
UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14413
|
+
UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14414
|
+
UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
|
|
14415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventTypeService, decorators: [{
|
|
14399
14416
|
type: Injectable,
|
|
14400
14417
|
args: [{
|
|
14401
14418
|
providedIn: 'root'
|
|
@@ -14412,9 +14429,9 @@ class UsersInviteService extends RestService$1 {
|
|
|
14412
14429
|
this.url = 'users/invite';
|
|
14413
14430
|
}
|
|
14414
14431
|
}
|
|
14415
|
-
UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14416
|
-
UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14432
|
+
UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14433
|
+
UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
|
|
14434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UsersInviteService, decorators: [{
|
|
14418
14435
|
type: Injectable,
|
|
14419
14436
|
args: [{
|
|
14420
14437
|
providedIn: 'root'
|
|
@@ -14608,9 +14625,9 @@ class AccountSetupService {
|
|
|
14608
14625
|
}));
|
|
14609
14626
|
}
|
|
14610
14627
|
}
|
|
14611
|
-
AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14612
|
-
AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14628
|
+
AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14629
|
+
AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
|
|
14630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AccountSetupService, decorators: [{
|
|
14614
14631
|
type: Injectable,
|
|
14615
14632
|
args: [{
|
|
14616
14633
|
providedIn: 'root'
|
|
@@ -14636,9 +14653,9 @@ class RewardfulService {
|
|
|
14636
14653
|
});
|
|
14637
14654
|
}
|
|
14638
14655
|
}
|
|
14639
|
-
RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14640
|
-
RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14656
|
+
RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14657
|
+
RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RewardfulService, providedIn: 'root' });
|
|
14658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RewardfulService, decorators: [{
|
|
14642
14659
|
type: Injectable,
|
|
14643
14660
|
args: [{
|
|
14644
14661
|
providedIn: 'root'
|
|
@@ -14683,9 +14700,9 @@ class AssetsService {
|
|
|
14683
14700
|
return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
|
|
14684
14701
|
}
|
|
14685
14702
|
}
|
|
14686
|
-
AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14687
|
-
AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14703
|
+
AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14704
|
+
AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AssetsService, providedIn: 'root' });
|
|
14705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AssetsService, decorators: [{
|
|
14689
14706
|
type: Injectable,
|
|
14690
14707
|
args: [{
|
|
14691
14708
|
providedIn: 'root'
|
|
@@ -14748,9 +14765,9 @@ class BankTransactionCalculationService {
|
|
|
14748
14765
|
return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
|
|
14749
14766
|
}
|
|
14750
14767
|
}
|
|
14751
|
-
BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14752
|
-
BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14768
|
+
BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14769
|
+
BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
|
|
14770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
|
|
14754
14771
|
type: Injectable,
|
|
14755
14772
|
args: [{
|
|
14756
14773
|
providedIn: 'root'
|
|
@@ -14779,9 +14796,9 @@ class BankAccountCalculationService {
|
|
|
14779
14796
|
return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
|
|
14780
14797
|
}
|
|
14781
14798
|
}
|
|
14782
|
-
BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14783
|
-
BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14799
|
+
BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14800
|
+
BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
|
|
14801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountCalculationService, decorators: [{
|
|
14785
14802
|
type: Injectable,
|
|
14786
14803
|
args: [{
|
|
14787
14804
|
providedIn: 'root'
|
|
@@ -14806,9 +14823,9 @@ class ExportFormatterService {
|
|
|
14806
14823
|
}));
|
|
14807
14824
|
}
|
|
14808
14825
|
}
|
|
14809
|
-
ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14810
|
-
ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14826
|
+
ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$2.CurrencyPipe }, { token: i1$2.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14827
|
+
ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
|
|
14828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ExportFormatterService, decorators: [{
|
|
14812
14829
|
type: Injectable,
|
|
14813
14830
|
args: [{
|
|
14814
14831
|
providedIn: 'root'
|
|
@@ -14829,9 +14846,9 @@ class HeaderTitleService {
|
|
|
14829
14846
|
}), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
|
|
14830
14847
|
}
|
|
14831
14848
|
}
|
|
14832
|
-
HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14833
|
-
HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14849
|
+
HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: HeaderTitleService, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14850
|
+
HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
|
|
14851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: HeaderTitleService, decorators: [{
|
|
14835
14852
|
type: Injectable,
|
|
14836
14853
|
args: [{
|
|
14837
14854
|
providedIn: 'root'
|
|
@@ -14865,9 +14882,9 @@ class IntercomService {
|
|
|
14865
14882
|
window.Intercom('boot', connectionCredentials);
|
|
14866
14883
|
}
|
|
14867
14884
|
}
|
|
14868
|
-
IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14869
|
-
IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14885
|
+
IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14886
|
+
IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IntercomService, providedIn: 'root' });
|
|
14887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IntercomService, decorators: [{
|
|
14871
14888
|
type: Injectable,
|
|
14872
14889
|
args: [{
|
|
14873
14890
|
providedIn: 'root'
|
|
@@ -14928,9 +14945,9 @@ class PdfFromDomElementService {
|
|
|
14928
14945
|
.then((blob) => new File([blob], filename, { type: 'application/pdf' })));
|
|
14929
14946
|
}
|
|
14930
14947
|
}
|
|
14931
|
-
PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
14932
|
-
PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
14933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
14948
|
+
PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14949
|
+
PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
|
|
14950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDomElementService, decorators: [{
|
|
14934
14951
|
type: Injectable,
|
|
14935
14952
|
args: [{
|
|
14936
14953
|
providedIn: 'root'
|
|
@@ -15009,9 +15026,9 @@ class PdfFromTableService {
|
|
|
15009
15026
|
doc.addImage(logo, 'PNG', doc.internal.pageSize.width - FILE_SETTINGS.logo.positionX, FILE_SETTINGS.logo.positionY, FILE_SETTINGS.logo.width, FILE_SETTINGS.logo.height);
|
|
15010
15027
|
}
|
|
15011
15028
|
}
|
|
15012
|
-
PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15013
|
-
PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15029
|
+
PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15030
|
+
PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
|
|
15031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromTableService, decorators: [{
|
|
15015
15032
|
type: Injectable,
|
|
15016
15033
|
args: [{
|
|
15017
15034
|
providedIn: 'root'
|
|
@@ -15043,9 +15060,9 @@ class PdfFromDataTableService extends PdfFromTableService {
|
|
|
15043
15060
|
return pdf;
|
|
15044
15061
|
}
|
|
15045
15062
|
}
|
|
15046
|
-
PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15047
|
-
PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15063
|
+
PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15064
|
+
PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
|
|
15065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDataTableService, decorators: [{
|
|
15049
15066
|
type: Injectable,
|
|
15050
15067
|
args: [{
|
|
15051
15068
|
providedIn: 'root'
|
|
@@ -15078,9 +15095,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
|
|
|
15078
15095
|
return pdf;
|
|
15079
15096
|
}
|
|
15080
15097
|
}
|
|
15081
|
-
PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15082
|
-
PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15098
|
+
PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15099
|
+
PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
|
|
15100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
|
|
15084
15101
|
type: Injectable,
|
|
15085
15102
|
args: [{
|
|
15086
15103
|
providedIn: 'root'
|
|
@@ -15113,9 +15130,9 @@ class EquityPositionChartService {
|
|
|
15113
15130
|
}));
|
|
15114
15131
|
}
|
|
15115
15132
|
}
|
|
15116
|
-
EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15117
|
-
EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15133
|
+
EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15134
|
+
EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
|
|
15135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EquityPositionChartService, decorators: [{
|
|
15119
15136
|
type: Injectable,
|
|
15120
15137
|
args: [{
|
|
15121
15138
|
providedIn: 'root'
|
|
@@ -15287,9 +15304,9 @@ class PropertyCalculationService {
|
|
|
15287
15304
|
}
|
|
15288
15305
|
}
|
|
15289
15306
|
}
|
|
15290
|
-
PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15291
|
-
PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15307
|
+
PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15308
|
+
PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
|
|
15309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCalculationService, decorators: [{
|
|
15293
15310
|
type: Injectable,
|
|
15294
15311
|
args: [{
|
|
15295
15312
|
providedIn: 'root'
|
|
@@ -15346,9 +15363,9 @@ class PropertyTransactionReportService {
|
|
|
15346
15363
|
}));
|
|
15347
15364
|
}
|
|
15348
15365
|
}
|
|
15349
|
-
PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15350
|
-
PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15366
|
+
PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15367
|
+
PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
|
|
15368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
|
|
15352
15369
|
type: Injectable,
|
|
15353
15370
|
args: [{
|
|
15354
15371
|
providedIn: 'root'
|
|
@@ -15427,9 +15444,9 @@ class TransactionCalculationService {
|
|
|
15427
15444
|
return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
|
|
15428
15445
|
}
|
|
15429
15446
|
}
|
|
15430
|
-
TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15431
|
-
TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15447
|
+
TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15448
|
+
TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
|
|
15449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionCalculationService, decorators: [{
|
|
15433
15450
|
type: Injectable,
|
|
15434
15451
|
args: [{
|
|
15435
15452
|
providedIn: 'root'
|
|
@@ -15489,9 +15506,9 @@ class LogbookBestPeriodService {
|
|
|
15489
15506
|
});
|
|
15490
15507
|
}
|
|
15491
15508
|
}
|
|
15492
|
-
LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15493
|
-
LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15509
|
+
LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15510
|
+
LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
|
|
15511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
|
|
15495
15512
|
type: Injectable,
|
|
15496
15513
|
args: [{
|
|
15497
15514
|
providedIn: 'root'
|
|
@@ -15532,9 +15549,9 @@ class XlsxService {
|
|
|
15532
15549
|
return xlsx.write(workbook, { bookType: 'xlsx', type: 'array' });
|
|
15533
15550
|
}
|
|
15534
15551
|
}
|
|
15535
|
-
XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
15536
|
-
XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
15537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
15552
|
+
XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15553
|
+
XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: XlsxService, providedIn: 'root' });
|
|
15554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: XlsxService, decorators: [{
|
|
15538
15555
|
type: Injectable,
|
|
15539
15556
|
args: [{
|
|
15540
15557
|
providedIn: 'root'
|
|
@@ -17863,20 +17880,62 @@ var MessagesEnum;
|
|
|
17863
17880
|
})(MessagesEnum || (MessagesEnum = {}));
|
|
17864
17881
|
|
|
17865
17882
|
class TransactionForm extends TransactionBaseForm {
|
|
17866
|
-
constructor(transaction, registeredForGst, controls = {}) {
|
|
17867
|
-
super(transaction, registeredForGst, controls);
|
|
17883
|
+
constructor(transaction, registeredForGst, allocations, controls = {}) {
|
|
17884
|
+
super(transaction, registeredForGst, Object.assign(controls, { transactions: new FormArray([]) }));
|
|
17885
|
+
// convert child transactions to controls
|
|
17886
|
+
transaction.transactions.map((transaction) => {
|
|
17887
|
+
this.addTransactionControl(transaction);
|
|
17888
|
+
});
|
|
17889
|
+
// forbid to add transactions before property ownership
|
|
17868
17890
|
if (transaction.property) {
|
|
17869
17891
|
this.get('date').addValidators(minDateValidator(transaction.property.myShare.fromDate, MessagesEnum.DATE_VALIDATION_ERROR));
|
|
17870
17892
|
}
|
|
17893
|
+
// property usually comes with fees, add empty control for new transactions
|
|
17894
|
+
if (!transaction.id && transaction.property && !transaction.transactions.length) {
|
|
17895
|
+
this.addTransactionControl();
|
|
17896
|
+
}
|
|
17897
|
+
// forbid to edit amount for allocated transactions to prevent wrong allocations
|
|
17898
|
+
if (allocations.length) {
|
|
17899
|
+
this.get('amount').disable();
|
|
17900
|
+
this.get('date').disable();
|
|
17901
|
+
}
|
|
17902
|
+
}
|
|
17903
|
+
addTransactionControl(transaction = plainToClass(Transaction, {})) {
|
|
17904
|
+
const formGroup = new FormGroup({
|
|
17905
|
+
id: new FormControl(transaction.id),
|
|
17906
|
+
chartAccounts: new FormControl(transaction.chartAccounts, [Validators.required, autocompleteValidator()]),
|
|
17907
|
+
amount: new FormControl(Math.abs(transaction.amount), [Validators.required]),
|
|
17908
|
+
});
|
|
17909
|
+
this.get('transactions').push(formGroup);
|
|
17910
|
+
}
|
|
17911
|
+
removeTransactionControl(index) {
|
|
17912
|
+
this.get('transactions').removeAt(index);
|
|
17913
|
+
}
|
|
17914
|
+
/**
|
|
17915
|
+
* income transactions might include adjustments (child transactions), like tips or fees.
|
|
17916
|
+
* Adjustments inherit most of the fields from parent transaction
|
|
17917
|
+
*/
|
|
17918
|
+
buildTransactions(transaction) {
|
|
17919
|
+
return this.get('transactions').value.map((childTransaction) => Object.assign({
|
|
17920
|
+
description: childTransaction.chartAccounts.name,
|
|
17921
|
+
date: transaction.date,
|
|
17922
|
+
claimPercent: transaction.claimPercent,
|
|
17923
|
+
source: TransactionSourceEnum.BANK_TRANSACTION,
|
|
17924
|
+
type: childTransaction.chartAccounts.isExpense() ? TransactionTypeEnum.DEBIT : TransactionTypeEnum.CREDIT,
|
|
17925
|
+
incomeSource: transaction.incomeSource,
|
|
17926
|
+
property: transaction.property
|
|
17927
|
+
}, this.model.transactions.find((transaction) => transaction.id === childTransaction['id']) || {}, childTransaction));
|
|
17928
|
+
}
|
|
17929
|
+
submit(data = {}) {
|
|
17930
|
+
return super.submit(Object.assign(data, { transactions: this.buildTransactions(this.currentValue) }));
|
|
17871
17931
|
}
|
|
17872
17932
|
}
|
|
17873
17933
|
|
|
17874
17934
|
class WorkIncomeForm extends TransactionForm {
|
|
17875
17935
|
constructor(transaction, registeredForGst, allocations) {
|
|
17876
17936
|
var _a;
|
|
17877
|
-
super(transaction, registeredForGst, {
|
|
17878
|
-
//
|
|
17879
|
-
transactions: new FormArray([]),
|
|
17937
|
+
super(transaction, registeredForGst, allocations, {
|
|
17938
|
+
// additional data related to work income (like tax instalments)
|
|
17880
17939
|
metadata: new FormArray((transaction.metadata || []).map((transactionMetadata) => {
|
|
17881
17940
|
return new FormGroup({
|
|
17882
17941
|
value: new FormControl(transactionMetadata.value),
|
|
@@ -17889,15 +17948,13 @@ class WorkIncomeForm extends TransactionForm {
|
|
|
17889
17948
|
}, Validators.required),
|
|
17890
17949
|
incomeSource: new FormControl(transaction.incomeSource, [Validators.required, autocompleteValidator()]),
|
|
17891
17950
|
});
|
|
17892
|
-
//
|
|
17951
|
+
// salary adjustments (like tips)
|
|
17952
|
+
if (transaction.id) {
|
|
17953
|
+
this.get('amount').setValue(this.getAmount(transaction));
|
|
17954
|
+
}
|
|
17893
17955
|
if (allocations.length) {
|
|
17894
|
-
this.get('
|
|
17895
|
-
this.get('date').disable();
|
|
17956
|
+
this.get('chartAccounts').disable();
|
|
17896
17957
|
}
|
|
17897
|
-
// salary adjustments (like tips)
|
|
17898
|
-
transaction.transactions.map((transaction) => {
|
|
17899
|
-
this.addTransactionControl(transaction);
|
|
17900
|
-
});
|
|
17901
17958
|
if (!((_a = transaction.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalary())) {
|
|
17902
17959
|
this.get('transactions').disable();
|
|
17903
17960
|
}
|
|
@@ -17925,12 +17982,14 @@ class WorkIncomeForm extends TransactionForm {
|
|
|
17925
17982
|
return;
|
|
17926
17983
|
}
|
|
17927
17984
|
this.buildMetadataForm();
|
|
17985
|
+
// tax make no sense for pre-paying tax category
|
|
17928
17986
|
if (value.isNRAS()) {
|
|
17929
17987
|
this.get('tax').disable();
|
|
17930
17988
|
}
|
|
17931
17989
|
else {
|
|
17932
17990
|
this.get('tax').enable();
|
|
17933
17991
|
}
|
|
17992
|
+
// adjustments possible only for salary chartAccounts
|
|
17934
17993
|
if (value.isSalary()) {
|
|
17935
17994
|
this.get('transactions').enable();
|
|
17936
17995
|
}
|
|
@@ -17953,34 +18012,26 @@ class WorkIncomeForm extends TransactionForm {
|
|
|
17953
18012
|
}));
|
|
17954
18013
|
});
|
|
17955
18014
|
}
|
|
17956
|
-
addTransactionControl(transaction = plainToClass(Transaction, {})) {
|
|
17957
|
-
const formGroup = new FormGroup({
|
|
17958
|
-
id: new FormControl(transaction.id),
|
|
17959
|
-
chartAccounts: new FormControl(transaction.chartAccounts, [Validators.required, autocompleteValidator()]),
|
|
17960
|
-
amount: new FormControl(Math.abs(transaction.amount), [Validators.required]),
|
|
17961
|
-
});
|
|
17962
|
-
this.get('transactions').push(formGroup);
|
|
17963
|
-
}
|
|
17964
|
-
removeTransactionControl(index) {
|
|
17965
|
-
this.get('transactions').removeAt(index);
|
|
17966
|
-
}
|
|
17967
18015
|
/**
|
|
17968
|
-
*
|
|
17969
|
-
*
|
|
18016
|
+
* @param transaction
|
|
18017
|
+
* @param includeAdjustments reduce result by adjustments included in salary if false or increase amount with included salary adjustments to match received payment if true,
|
|
18018
|
+
* salary/wage comes to bankAccount together with related chartAccounts like tips (kind of salary, but reported in different tax summary section),
|
|
18019
|
+
* adjustments used to clarify received payment by separating it into multiple transactions,
|
|
18020
|
+
* formAmount always match received payment, it also matches parent transactionAmount when there are no adjustments,
|
|
18021
|
+
* otherwise it includes such adjustments, so we should exclude it from formAmount to create a salary transaction (on submit)
|
|
18022
|
+
* but include in form->amount to match bank transaction (on edit),
|
|
18023
|
+
* ie bankTransaction=1000$, it includes 900$ salary and 100$ tips (should be reported in different tax summary sections),
|
|
18024
|
+
* so we should show 1000$ in formAmount, but create 2 transactions with 900$ and 100$
|
|
17970
18025
|
*/
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
|
|
17975
|
-
|
|
17976
|
-
|
|
17977
|
-
source: transaction.source,
|
|
17978
|
-
tax: transaction.tax,
|
|
17979
|
-
type: transaction.type
|
|
17980
|
-
}, this.model.transactions.find((transaction) => transaction.id === childTransaction['id']) || {}, childTransaction));
|
|
18026
|
+
getAmount(transaction, includeAdjustments = true) {
|
|
18027
|
+
if (!transaction.chartAccounts || !transaction.chartAccounts.isSalary()) {
|
|
18028
|
+
return transaction.amount;
|
|
18029
|
+
}
|
|
18030
|
+
const includedTransactions = new Collection(transaction.transactions).filter((t) => t.chartAccounts.isSalaryIncluded());
|
|
18031
|
+
return transaction.amount + includedTransactions.sumBy('amount') * (includeAdjustments ? 1 : -1);
|
|
17981
18032
|
}
|
|
17982
18033
|
submit(data = {}) {
|
|
17983
|
-
return super.submit(Object.assign(data, {
|
|
18034
|
+
return super.submit(Object.assign(data, { amount: this.getAmount(this.currentValue, false) }));
|
|
17984
18035
|
}
|
|
17985
18036
|
}
|
|
17986
18037
|
|
|
@@ -18022,5 +18073,5 @@ class DepreciationForm extends TransactionBaseForm {
|
|
|
18022
18073
|
* Generated bundle index. Do not edit.
|
|
18023
18074
|
*/
|
|
18024
18075
|
|
|
18025
|
-
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AlphabetColorsEnum, AnnualFrequencyEnum, AppEvent, AppEvent2, 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, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, 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, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, 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, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, 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, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertySaleTaxExemptionMetadataCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService, RewardfulService, 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, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionService, 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, TransactionBaseCollection, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, 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, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
|
|
18076
|
+
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AlphabetColorsEnum, AnnualFrequencyEnum, AppEvent, AppEvent2, 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, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, 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, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, 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, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, 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, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertySaleTaxExemptionMetadataCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService, RewardfulService, 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, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionService, 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, TransactionBaseCollection, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, 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, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
|
|
18026
18077
|
//# sourceMappingURL=taxtank-core.js.map
|