taxtank-core 0.33.5 → 0.33.7
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/common/src/common.module.mjs +4 -4
- package/esm2022/common/src/interceptors/interceptors.module.mjs +4 -4
- package/esm2022/common/src/interceptors/jwt-interceptor.mjs +5 -5
- package/esm2022/common/src/services/auth/auth.service.mjs +5 -5
- package/esm2022/common/src/services/auth/jwt.service.mjs +3 -3
- package/esm2022/common/src/services/mixpanel.service.mjs +5 -5
- package/esm2022/src/lib/collections/bank-account.collection.mjs +5 -41
- package/esm2022/src/lib/collections/collection-dictionary.mjs +12 -10
- package/esm2022/src/lib/collections/collection.mjs +5 -5
- package/esm2022/src/lib/collections/depreciation.collection.mjs +6 -18
- package/esm2022/src/lib/collections/property/property.collection.mjs +9 -5
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -15
- package/esm2022/src/lib/core.module.mjs +4 -4
- package/esm2022/src/lib/db/Enums/bank/bank-account-type.enum.mjs +2 -2
- package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
- package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +6 -40
- package/esm2022/src/lib/forms/abstract.form.mjs +1 -1
- package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
- package/esm2022/src/lib/forms/firm/client-movement.form.mjs +4 -4
- package/esm2022/src/lib/forms/firm/employee-details.form.mjs +4 -4
- package/esm2022/src/lib/forms/property/property-share.form.mjs +2 -2
- package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +4 -4
- package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +4 -4
- package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +5 -5
- package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +5 -5
- package/esm2022/src/lib/interceptors/interceptors.module.mjs +4 -4
- package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +4 -4
- package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +5 -5
- package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +5 -5
- package/esm2022/src/lib/models/bank/bank-account.mjs +6 -3
- package/esm2022/src/lib/models/bank/type-loan.const.mjs +2 -5
- package/esm2022/src/lib/models/depreciation/depreciation.mjs +8 -22
- package/esm2022/src/lib/models/financial-year/financial-year.mjs +1 -1
- package/esm2022/src/lib/models/property/property.mjs +1 -4
- package/esm2022/src/lib/models/report/index.mjs +3 -1
- package/esm2022/src/lib/models/report/report.interface.mjs +2 -0
- package/esm2022/src/lib/models/report/reports.const.mjs +73 -0
- package/esm2022/src/lib/models/service-subscription/service-subscription.mjs +2 -2
- package/esm2022/src/lib/models/sole/sole-invoice.mjs +1 -1
- package/esm2022/src/lib/models/transaction/transaction.mjs +1 -19
- package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +1 -1
- package/esm2022/src/lib/pipes/app-currency.pipe.mjs +3 -3
- package/esm2022/src/lib/pipes/safe-url.pipe.mjs +4 -4
- package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +4 -4
- package/esm2022/src/lib/services/asset/assets.service.mjs +5 -5
- package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +3 -3
- package/esm2022/src/lib/services/data.service.mjs +3 -3
- package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +3 -3
- package/esm2022/src/lib/services/event/sse.service.mjs +5 -5
- package/esm2022/src/lib/services/export/export-formatter.service.mjs +4 -4
- package/esm2022/src/lib/services/firm/current-firm-branch.service.mjs +3 -3
- package/esm2022/src/lib/services/header-title/header-title.service.mjs +4 -4
- package/esm2022/src/lib/services/http/address/address.service.mjs +5 -5
- package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +5 -5
- package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +5 -5
- package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +5 -5
- package/esm2022/src/lib/services/http/bank/bank.service.mjs +3 -3
- package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +3 -3
- package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +6 -6
- package/esm2022/src/lib/services/http/budget/budget.service.mjs +3 -3
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
- package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
- package/esm2022/src/lib/services/http/chat/chat.service.mjs +5 -5
- package/esm2022/src/lib/services/http/chat/message-document.service.mjs +5 -5
- package/esm2022/src/lib/services/http/chat/message.service.mjs +5 -5
- package/esm2022/src/lib/services/http/client/annual-client-details.service.mjs +3 -3
- package/esm2022/src/lib/services/http/client/capital-loss/capital-loss.service.mjs +4 -4
- package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +3 -3
- package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +5 -5
- package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +3 -3
- package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +5 -5
- package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
- package/esm2022/src/lib/services/http/document/document.service.mjs +3 -3
- package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +6 -6
- package/esm2022/src/lib/services/http/file/file.service.mjs +3 -3
- package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +5 -5
- package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +5 -5
- package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +3 -3
- package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
- package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch.service.mjs +4 -4
- package/esm2022/src/lib/services/http/firm/firm.service.mjs +5 -5
- package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +5 -5
- package/esm2022/src/lib/services/http/google/google.service.mjs +5 -5
- package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +4 -4
- package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +3 -3
- package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +3 -3
- package/esm2022/src/lib/services/http/holding/holding.service.mjs +5 -5
- package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +5 -5
- package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +5 -5
- package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +5 -5
- package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +5 -5
- package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +5 -5
- package/esm2022/src/lib/services/http/loan/loan.service.mjs +5 -5
- package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +5 -5
- package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +3 -3
- package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +3 -3
- package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +3 -3
- package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +3 -3
- package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
- package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +5 -5
- package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +3 -3
- package/esm2022/src/lib/services/http/property/property.service.mjs +5 -5
- package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +5 -5
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +5 -5
- package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +5 -5
- package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +3 -3
- package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
- package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
- package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
- package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +5 -5
- package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
- package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +5 -5
- package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +5 -5
- package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +5 -5
- package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
- package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
- package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +5 -5
- package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
- package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
- package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +5 -5
- package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +5 -5
- package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +5 -5
- package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +5 -5
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
- package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +5 -5
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +6 -23
- package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +5 -5
- package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
- package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
- package/esm2022/src/lib/services/http/user/user.service.mjs +5 -5
- package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +5 -5
- package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +5 -5
- package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +3 -3
- package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +4 -4
- package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +6 -6
- package/esm2022/src/lib/services/intercom/intercom.service.mjs +5 -5
- package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +4 -4
- package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +4 -4
- package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +4 -4
- package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +4 -4
- package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +4 -4
- package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +4 -4
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
- package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
- package/esm2022/src/lib/services/preloader/preloader.service.mjs +4 -4
- package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +5 -5
- package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +5 -5
- package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
- package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +4 -4
- package/esm2022/src/lib/services/toast/toast.service.mjs +3 -3
- package/esm2022/src/lib/services/user/user-switcher.service.mjs +3 -3
- package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +3 -3
- package/esm2022/src/lib/validators/unique-email.validator.mjs +4 -4
- package/fesm2022/taxtank-core-common.mjs +26 -26
- package/fesm2022/taxtank-core.mjs +632 -701
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/bank-account.collection.d.ts +1 -21
- package/src/lib/collections/collection-dictionary.d.ts +1 -1
- package/src/lib/collections/collection.d.ts +3 -4
- package/src/lib/collections/depreciation.collection.d.ts +1 -1
- package/src/lib/collections/property/property.collection.d.ts +1 -1
- package/src/lib/db/Enums/bank/bank-account-type.enum.d.ts +1 -0
- package/src/lib/db/Models/bank/bank-account.d.ts +0 -1
- package/src/lib/db/Models/transaction/transaction-base.d.ts +0 -9
- package/src/lib/models/bank/bank-account.d.ts +1 -0
- package/src/lib/models/bank/type-loan.const.d.ts +0 -3
- package/src/lib/models/depreciation/depreciation.d.ts +3 -11
- package/src/lib/models/property/property.d.ts +0 -1
- package/src/lib/models/report/index.d.ts +2 -0
- package/src/lib/models/report/report.interface.d.ts +7 -0
- package/src/lib/models/report/reports.const.d.ts +3 -0
- package/src/lib/models/transaction/transaction.d.ts +1 -6
- package/src/lib/services/http/transaction/transaction.service.d.ts +0 -6
@@ -187,4 +187,4 @@ export class AddressForm extends AbstractForm {
|
|
187
187
|
});
|
188
188
|
}
|
189
189
|
}
|
190
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL2FkZHJlc3MvYWRkcmVzcy5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQVcsbUJBQW1CLEVBQUUsT0FBTyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsWUFBWSxFQUFFL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KCk7XG4gICAgdGhpcy5nZXQoJ2NvcmVsb2dpY1JlZklkJykuZGlzYWJsZSgpO1xuICB9XG5cbiAgLyoqXG4gICAqIENvcmVsb2dpYyBsb2MgaWQgaXMgcmVxdWlyZWQgZm9yIEF1c3RyYWxpYW4gYWRkcmVzc2VzXG4gICAqL1xuICBwcml2YXRlIGxpc3RlbkNvdW50cnlDaGFuZ2VzKCk6IHZvaWQge1xuICAgIHRoaXMuZ2V0KCdjb3VudHJ5JykudmFsdWVDaGFuZ2VzLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICBpZiAodGhpcy5pc0F1c3RyYWxpYVNlbGVjdGVkKCkpIHtcbiAgICAgICAgdGhpcy5lbmFibGVDb3JlbG9naWNGaWVsZHMoKTtcbiAgICAgICAgcmV0dXJuO1xuICAgICAgfVxuXG4gICAgICB0aGlzLmRpc2FibGVDb3JlbG9naWNGaWVsZHMoKTtcbiAgICB9KTtcbiAgfVxufVxuIl19
|
@@ -10,13 +10,13 @@ export class ClientMovementForm extends AbstractForm {
|
|
10
10
|
firmBranch: new FormControl(clientMovement.firmBranch, [Validators.required]),
|
11
11
|
}, clientMovement);
|
12
12
|
}
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
14
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClientMovementForm, deps: [{ token: i1.ClientMovement }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
14
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClientMovementForm, providedIn: 'root' }); }
|
15
15
|
}
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClientMovementForm, decorators: [{
|
17
17
|
type: Injectable,
|
18
18
|
args: [{
|
19
19
|
providedIn: 'root'
|
20
20
|
}]
|
21
|
-
}], ctorParameters:
|
21
|
+
}], ctorParameters: () => [{ type: i1.ClientMovement }] });
|
22
22
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LW1vdmVtZW50LmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZm9ybXMvZmlybS9jbGllbnQtbW92ZW1lbnQuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxZQUFZLEVBQXFCLE1BQU0sa0JBQWtCLENBQUM7QUFDbkUsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBVzNDLE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxZQUE2RDtJQUNuRyxZQUFZLGNBQThCO1FBQ3hDLEtBQUssQ0FBQztZQUNKLFFBQVEsRUFBRSxJQUFJLFdBQVcsQ0FBQyxjQUFjLENBQUMsUUFBUSxFQUFFLENBQUMsVUFBVSxDQUFDLFFBQVEsQ0FBQyxDQUFDO1lBQ3pFLFVBQVUsRUFBRSxJQUFJLFdBQVcsQ0FBQyxjQUFjLENBQUMsVUFBVSxFQUFFLENBQUMsVUFBVSxDQUFDLFFBQVEsQ0FBQyxDQUFDO1NBRTlFLEVBQUUsY0FBYyxDQUFDLENBQUM7SUFDckIsQ0FBQzsrR0FQVSxrQkFBa0I7bUhBQWxCLGtCQUFrQixjQUZqQixNQUFNOzs0RkFFUCxrQkFBa0I7a0JBSDlCLFVBQVU7bUJBQUM7b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lZF0pLFxuXG4gICAgfSwgY2xpZW50TW92ZW1lbnQpO1xuICB9XG59XG4iXX0=
|
@@ -9,13 +9,13 @@ export class EmployeeDetailsForm extends AbstractForm {
|
|
9
9
|
firmBranches: new FormControl(employeeDetails.firmBranches, [Validators.required]),
|
10
10
|
}, employeeDetails);
|
11
11
|
}
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
13
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmployeeDetailsForm, deps: [{ token: i1.EmployeeDetails }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
13
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmployeeDetailsForm, providedIn: 'root' }); }
|
14
14
|
}
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmployeeDetailsForm, decorators: [{
|
16
16
|
type: Injectable,
|
17
17
|
args: [{
|
18
18
|
providedIn: 'root'
|
19
19
|
}]
|
20
|
-
}], ctorParameters:
|
20
|
+
}], ctorParameters: () => [{ type: i1.EmployeeDetails }] });
|
21
21
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wbG95ZWUtZGV0YWlscy5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL2Zpcm0vZW1wbG95ZWUtZGV0YWlscy5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUF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G4gIGZpcm1CcmFuY2hlczogRm9ybUNvbnRyb2w8RmlybUJyYW5jaFtdPjtcbn1cblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgRW1wbG95ZWVEZXRhaWxzRm9ybSBleHRlbmRzIEFic3RyYWN0Rm9ybTxFbXBsb3llZURldGFpbHMsIEVtcGxveWVlRGV0YWlsc0NvbnRyb2xzSW50ZXJmYWNlPiB7XG4gIGNvbnN0cnVjdG9yKGVtcGxveWVlRGV0YWlsczogRW1wbG95ZWVEZXRhaWxzKSB7XG4gICAgc3VwZXIoe1xuICAgICAgZmlybUJyYW5jaGVzOiBuZXcgRm9ybUNvbnRyb2woZW1wbG95ZWVEZXRhaWxzLmZpcm1CcmFuY2hlcywgW1ZhbGlkYXRvcnMucmVxdWlyZWRdKSxcbiAgICB9LCBlbXBsb3llZURldGFpbHMpO1xuICB9XG59XG4iXX0=
|
@@ -9,8 +9,8 @@ export class PropertyShareForm extends AbstractForm {
|
|
9
9
|
constructor(share = plainToClass(PropertyShare, {})) {
|
10
10
|
super({
|
11
11
|
fromDate: new UntypedFormControl(share.fromDate || new Date()),
|
12
|
-
percent: new UntypedFormControl(share.percent, [Validators.required, Validators.min(
|
12
|
+
percent: new UntypedFormControl(share.percent, [Validators.required, Validators.min(1), Validators.max(100)])
|
13
13
|
}, share);
|
14
14
|
}
|
15
15
|
}
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktc2hhcmUuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9wcm9wZXJ0eS9wcm9wZXJ0eS1zaGFyZS5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcG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b3Jtcyc7XG5cbi8qKlxuICogQ2xhc3MgZGVzY3JpYmVzIHByb3BlcnR5IHNoYXJlIGZvcm0gZmllbGRzIGFuZCBmb3JtIGxvZ2ljXG4gKi9cbmV4cG9ydCBjbGFzcyBQcm9wZXJ0eVNoYXJlRm9ybSBleHRlbmRzIEFic3RyYWN0Rm9ybTxQcm9wZXJ0eVNoYXJlPiB7XG4gIGNvbnN0cnVjdG9yKHNoYXJlOiBQcm9wZXJ0eVNoYXJlID0gcGxhaW5Ub0NsYXNzKFByb3BlcnR5U2hhcmUsIHt9KSkge1xuICAgIHN1cGVyKHtcbiAgICAgIGZyb21EYXRlOiBuZXcgVW50eXBlZEZvcm1Db250cm9sKHNoYXJlLmZyb21EYXRlIHx8IG5ldyBEYXRlKCkpLFxuICAgICAgcGVyY2VudDogbmV3IFVudHlwZWRGb3JtQ29udHJvbChzaGFyZS5wZXJjZW50LCBbVmFsaWRhdG9ycy5yZXF1aXJlZCwgVmFsaWRhdG9ycy5taW4oMSksIFZhbGlkYXRvcnMubWF4KDEwMCldKVxuICAgIH0sIHNoYXJlKTtcbiAgfVxufVxuIl19
|
@@ -22,10 +22,10 @@ export class BasiqClientIdInterceptor {
|
|
22
22
|
url: request.url.replace('null', basiqClientId)
|
23
23
|
});
|
24
24
|
}
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
26
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: i1.UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
26
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasiqClientIdInterceptor }); }
|
27
27
|
}
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
|
29
29
|
type: Injectable
|
30
|
-
}], ctorParameters:
|
30
|
+
}], ctorParameters: () => [{ type: i1.UserService }] });
|
31
31
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaXEtY2xpZW50LWlkLmludGVyY2VwdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2ludGVyY2VwdG9ycy9iYXNpcS1jbGllbnQtaWQuaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUMsT0FBTyxFQUFFLFlBQVksRUFBZSxNQUFNLGFBQWEsQ0FBQzs7O0FBRXhEOztHQUVHO0FBRUgsTUFBTSxPQUFPLHdCQUF3QjtJQUNuQyxZQUNVLFdBQXdCO1FBQXhCLGdCQUFXLEdBQVgsV0FBVyxDQUFhO0lBRWxDLENBQUM7SUFFRCxTQUFTLENBQUMsT0FBNkIsRUFBRSxJQUFpQjtRQUN4RCwrREFBK0Q7UUFDL0QsSUFBSSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLEdBQUcsWUFBWSxDQUFDLFdBQVcsYUFBYSxDQUFDLEVBQUU7WUFDckUsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxDQUFBO1NBQzVCO1FBRUQsT0FBTyxJQUFJLENBQUMsV0FBVyxDQUFDLFdBQVcsRUFBRSxDQUFDLElBQUksQ0FDeEMsUUF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HRvciB7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgdXNlclNlcnZpY2U6IFVzZXJTZXJ2aWNlXG4gICkge1xuICB9XG5cbiAgaW50ZXJjZXB0KHJlcXVlc3Q6IEh0dHBSZXF1ZXN0PHVua25vd24+LCBuZXh0OiBIdHRwSGFuZGxlcik6IE9ic2VydmFibGU8SHR0cEV2ZW50PHVua25vd24+PiB7XG4gICAgLy8gQ2hlY2sgaWYgJ2NsaWVudCBpZCcgVVJMIHNlZ21lbnQgY29udGFpbnMgbnVsbCBpbnN0ZWFkIG9mIGlkXG4gICAgaWYgKCFyZXF1ZXN0LnVybC5zdGFydHNXaXRoKGAke0Jhc2lxU2VydmljZS5iYXNpcUFwaVVybH0vdXNlcnMvbnVsbGApKSB7XG4gICAgICByZXR1cm4gbmV4dC5oYW5kbGUocmVxdWVzdClcbiAgICB9XG5cbiAgICByZXR1cm4gdGhpcy51c2VyU2VydmljZS5jcmVhdGVCYXNpcSgpLnBpcGUoXG4gICAgICBtZXJnZU1hcCgoYmFzaXFDbGllbnRJZDogc3RyaW5nKSA9PiBuZXh0LmhhbmRsZSh0aGlzLmFkZElkKHJlcXVlc3QsIGJhc2lxQ2xpZW50SWQpKSlcbiAgICApO1xuICB9XG5cbiAgcHJpdmF0ZSBhZGRJZChyZXF1ZXN0OiBIdHRwUmVxdWVzdDx1bmtub3duPiwgYmFzaXFDbGllbnRJZDogc3RyaW5nKTogSHR0cFJlcXVlc3Q8dW5rbm93bj4ge1xuICAgIHJldHVybiByZXF1ZXN0LmNsb25lKHtcbiAgICAgIHVybDogcmVxdWVzdC51cmwucmVwbGFjZSgnbnVsbCcsIGJhc2lxQ2xpZW50SWQpXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -24,10 +24,10 @@ export class BasiqTokenInterceptor {
|
|
24
24
|
}
|
25
25
|
});
|
26
26
|
}
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
28
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: i1.BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
28
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasiqTokenInterceptor }); }
|
29
29
|
}
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
|
31
31
|
type: Injectable
|
32
|
-
}], ctorParameters:
|
32
|
+
}], ctorParameters: () => [{ type: i1.BasiqTokenService }] });
|
33
33
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaXEtdG9rZW4uaW50ZXJjZXB0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvaW50ZXJjZXB0b3JzL2Jhc2lxLXRva2VuLmludGVyY2VwdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHM0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRzFDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQzs7O0FBRXpFOztHQUVHO0FBRUgsTUFBTSxPQUFPLHFCQUFxQjtJQUVoQyxZQUNVLGlCQUFvQztRQUFwQyxzQkFBaUIsR0FBakIsaUJBQWlCLENBQW1CO0lBRTlDLEN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xVG9rZW4pID0+IG5leHQuaGFuZGxlKHRoaXMuYWRkVG9rZW4ocmVxdWVzdCwgdG9rZW4pKSlcbiAgICApO1xuICB9XG5cbiAgcHJpdmF0ZSBhZGRUb2tlbihyZXF1ZXN0OiBIdHRwUmVxdWVzdDx1bmtub3duPiwgdG9rZW46IEJhc2lxVG9rZW4pOiBIdHRwUmVxdWVzdDx1bmtub3duPiB7XG4gICAgcmV0dXJuIHJlcXVlc3QuY2xvbmUoe1xuICAgICAgc2V0SGVhZGVyczoge1xuICAgICAgICBBdXRob3JpemF0aW9uOiAnQmVhcmVyICcgKyB0b2tlbi52YWx1ZVxuICAgICAgfVxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
@@ -29,13 +29,13 @@ export class CorelogicInterceptor {
|
|
29
29
|
}
|
30
30
|
});
|
31
31
|
}
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
33
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: i1.CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
33
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CorelogicInterceptor }); }
|
34
34
|
}
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CorelogicInterceptor, decorators: [{
|
36
36
|
type: Injectable
|
37
|
-
}], ctorParameters:
|
37
|
+
}], ctorParameters: () => [{ type: i1.CorelogicService }, { type: undefined, decorators: [{
|
38
38
|
type: Inject,
|
39
39
|
args: ['environment']
|
40
|
-
}] }]
|
40
|
+
}] }] });
|
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gbWVyZ2VNYXAoKHRva2VuOiBzdHJpbmcpID0+IG5leHQuaGFuZGxlKHRoaXMuYWRkVG9rZW4ocmVxdWVzdCwgdG9rZW4pKSlcclxuICAgICAgKVxyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBhZGRUb2tlbihyZXF1ZXN0OiBIdHRwUmVxdWVzdDxhbnk+LCB0b2tlbjogc3RyaW5nKTogSHR0cFJlcXVlc3Q8YW55PiB7XHJcbiAgICByZXR1cm4gcmVxdWVzdC5jbG9uZSh7XHJcbiAgICAgIHNldEhlYWRlcnM6IHtcclxuICAgICAgICBBdXRob3JpemF0aW9uOiAnQmVhcmVyICcgKyB0b2tlblxyXG4gICAgICB9XHJcbiAgICB9KTtcclxuICB9XHJcbn1cclxuIl19
|
@@ -30,13 +30,13 @@ export class FinancialYearInterceptor {
|
|
30
30
|
}
|
31
31
|
return next.handle(clonedReq);
|
32
32
|
}
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
34
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
34
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FinancialYearInterceptor }); }
|
35
35
|
}
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
|
37
37
|
type: Injectable
|
38
|
-
}], ctorParameters:
|
38
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
39
39
|
type: Inject,
|
40
40
|
args: ['environment']
|
41
|
-
}] }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ICB9KTtcclxuXHJcbiAgICAvLyBjbG9uZSByZXF1ZXN0IHRvIGFkZCBuZXcgcGFyYW1ldGVyc1xyXG4gICAgbGV0IGNsb25lZFJlcTogSHR0cFJlcXVlc3Q8YW55PiA9IHJlcXVlc3QuY2xvbmUoKTtcclxuXHJcbiAgICAvLyBAVE9ETyBxdWVyeSBwYXJhbXMgc2hvdWxkIGJlIHBhc3NlZCB1c2luZyBzZWNvbmQgcGFyYW0gb2YgZ2V0IHJlcXVlc3QgYW5kIEh0dHBQYXJhbXMgb2JqZWN0XHJcbiAgICBpZiAoIXBhcmFtcy5nZXQoJ2ZpbmFuY2lhbFllYXInKSAmJiAhcmVxdWVzdC51cmxXaXRoUGFyYW1zLmluY2x1ZGVzKCc/ZmluYW5jaWFsWWVhcicpICYmICFyZXF1ZXN0LnVybFdpdGhQYXJhbXMuaW5jbHVkZXMoJyZmaW5hbmNpYWxZZWFyJykpIHtcclxuICAgICAgcGFyYW1zID0gcGFyYW1zLnNldCgnZmluYW5jaWFsWWVhcicsIGxvY2FsU3RvcmFnZS5nZXRJdGVtKCdmaW5hbmNpYWxZZWFyJykpO1xyXG4gICAgICBjbG9uZWRSZXEgPSByZXF1ZXN0LmNsb25lKHtcclxuICAgICAgICBwYXJhbXM6IHBhcmFtc1xyXG4gICAgICB9KTtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gbmV4dC5oYW5kbGUoY2xvbmVkUmVxKTtcclxuICB9XHJcbn1cclxuIl19
|
@@ -9,9 +9,9 @@ import { BasiqClientIdInterceptor } from './basiq-client-id.interceptor';
|
|
9
9
|
import { RewardfulInterceptor } from './rewardful.interceptor';
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
export class InterceptorsModule {
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
13
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
14
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
13
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: InterceptorsModule }); }
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InterceptorsModule, providers: [
|
15
15
|
{
|
16
16
|
provide: HTTP_INTERCEPTORS,
|
17
17
|
useClass: CorelogicInterceptor,
|
@@ -50,7 +50,7 @@ export class InterceptorsModule {
|
|
50
50
|
}
|
51
51
|
] }); }
|
52
52
|
}
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InterceptorsModule, decorators: [{
|
54
54
|
type: NgModule,
|
55
55
|
args: [{
|
56
56
|
providers: [
|
@@ -23,10 +23,10 @@ export class PreloaderInterceptor {
|
|
23
23
|
findEndpoint(requestPath) {
|
24
24
|
return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
|
25
25
|
}
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
27
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: i1.PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
27
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreloaderInterceptor }); }
|
28
28
|
}
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreloaderInterceptor, decorators: [{
|
30
30
|
type: Injectable
|
31
|
-
}], ctorParameters:
|
31
|
+
}], ctorParameters: () => [{ type: i1.PreloaderService }] });
|
32
32
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJlbG9hZGVyLmludGVyY2VwdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2ludGVyY2VwdG9ycy9wcmVsb2FkZXIuaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQVEzQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHMUMsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLG9DQUFvQyxDQUFDOzs7QUFFL0Q7O0dBRUc7QUFFSCxNQUFNLE9BQU8sb0JBQW9CO0lBRS9CLFlBQ1UsZ0JBQWtDO1FBQWxDLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7SUFDekMsQ0FBQztJQUVKLFNBQVMsQ0FBQyxPQUE2QixFQUFFLElBQWlCO1FBQ3hELE1BQU0sUUFBUSxHQUFhLElBQUksQ0FBQyxZQUFZLENBQUMsR0FBRyxPQUFPLENBQUMsTUFBTSxJQUFJLE9BQU8sQ0FBQyxHQUFHLEVBQUUsQ0FBQyxDQUFDO1FBQ2pGLElBQUksUUFBUSxFQUFFO1lBQ1osSUFBSSxDQUFDLGdCQUFnQixDQUFDLEdBQUcsQ0FBQyxRQUFRLENBQUMsQ0FBQztZQUVwQyxPQUFPLElBQUksQ0FBQ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mVxdWVzdFBhdGgpKTtcbiAgfVxufVxuIl19
|
@@ -31,13 +31,13 @@ export class RewardfulInterceptor {
|
|
31
31
|
&& this.environment.rewardfulId
|
32
32
|
&& (window['Rewardful'].referral || window['Rewardful'].coupon?.id);
|
33
33
|
}
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
35
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RewardfulInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
35
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RewardfulInterceptor }); }
|
36
36
|
}
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RewardfulInterceptor, decorators: [{
|
38
38
|
type: Injectable
|
39
|
-
}], ctorParameters:
|
39
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
40
40
|
type: Inject,
|
41
41
|
args: ['environment']
|
42
|
-
}] }]
|
42
|
+
}] }] });
|
43
43
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV3YXJkZnVsLmludGVyY2VwdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2ludGVyY2VwdG9ycy9yZXdhcmRmdWwuaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENB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25gLFxuICAgIF07XG5cbiAgICByZXR1cm4gcmVnaXN0cmF0aW9uVXJscy5zb21lKHJlZ2lzdHJhdGlvblVybCA9PiByZXF1ZXN0LnVybC5pbmNsdWRlcyhyZWdpc3RyYXRpb25VcmwpKVxuICAgICAgJiYgdGhpcy5lbnZpcm9ubWVudC5yZXdhcmRmdWxJZFxuICAgICAgJiYgKHdpbmRvd1snUmV3YXJkZnVsJ10ucmVmZXJyYWwgfHwgd2luZG93WydSZXdhcmRmdWwnXS5jb3Vwb24/LmlkKTtcbiAgfVxufVxuIl19
|
@@ -28,13 +28,13 @@ export class UserSwitcherInterceptor {
|
|
28
28
|
intercept(request, next) {
|
29
29
|
return next.handle(this.switch(request, this.userSwitcherService.get()));
|
30
30
|
}
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
32
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: i1.UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
32
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserSwitcherInterceptor }); }
|
33
33
|
}
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
|
35
35
|
type: Injectable
|
36
|
-
}], ctorParameters:
|
36
|
+
}], ctorParameters: () => [{ type: i1.UserSwitcherService }, { type: undefined, decorators: [{
|
37
37
|
type: Inject,
|
38
38
|
args: ['environment']
|
39
|
-
}] }]
|
39
|
+
}] }] });
|
40
40
|
//# sourceMappingURL=data:application/json;base64,eyJ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VyIGlmIHJlcXVlc3QgdXJsIGNvbnRhaW4gVGF4VGFuayBBUEkgVVJMXG4gICAqL1xuICBzd2l0Y2gocmVxOiBIdHRwUmVxdWVzdDxhbnk+LCB1c2VybmFtZTogc3RyaW5nKTogSHR0cFJlcXVlc3Q8YW55PiB7XG4gICAgLy8gc2tpcCB0aGlyZCBwYXJ0eSBhcGkgcmVxdWVzdHNcbiAgICBpZiAoIXJlcS51cmwuaW5jbHVkZXModGhpcy5lbnZpcm9ubWVudC5hcGlfdXJpKSB8fCAhdXNlcm5hbWUpIHtcbiAgICAgIHJldHVybiByZXE7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJlcS5jbG9uZSh7IHBhcmFtczogcmVxLnBhcmFtcy5zZXQoJ19zd2l0Y2hfdXNlcicsIHVzZXJuYW1lKSB9KTtcblxuICAgIC8vIEBUT0RPIG1vdmUgdG8gaGVhZGVyIHNvbHV0aW9uIHdoZW4gYmFja2VuZCBjYW4gc3VwcG9ydCBpdFxuICAgIC8vIHJldHVybiByZXEuY2xvbmUoe1xuICAgIC8vICAgc2V0SGVhZGVyczoge1xuICAgIC8vICAgICBIVFRQX1hfU1dJVENIX1VTRVI6IHVzZXJuYW1lXG4gICAgLy8gICB9XG4gICAgLy8gfSk7XG4gIH1cblxuICBpbnRlcmNlcHQocmVxdWVzdDogSHR0cFJlcXVlc3Q8YW55PiwgbmV4dDogSHR0cEhhbmRsZXIpOiBPYnNlcnZhYmxlPEh0dHBFdmVudDxhbnk+PiB7XG4gICAgcmV0dXJuIG5leHQuaGFuZGxlKHRoaXMuc3dpdGNoKHJlcXVlc3QsIHRoaXMudXNlclN3aXRjaGVyU2VydmljZS5nZXQoKSkpO1xuICB9XG59XG4iXX0=
|
@@ -134,7 +134,7 @@ export class BankAccount extends BankAccountBase {
|
|
134
134
|
* first import (transactions) of basiq accounts
|
135
135
|
*/
|
136
136
|
isFirstImport() {
|
137
|
-
return !this.lastTransactionDate && !this.isManual;
|
137
|
+
return !this.lastTransactionDate && !this.isManual();
|
138
138
|
}
|
139
139
|
/**
|
140
140
|
* Check if passed user id is owner of bank account
|
@@ -149,11 +149,14 @@ export class BankAccount extends BankAccountBase {
|
|
149
149
|
const shouldPayoutLoanAccount = this.isActive() && this.isLoan() && taxTankBalance === 0;
|
150
150
|
// we don't check current balance for basiq accounts, because basiq doesn't provide us last transactions (can't do for closed accounts),
|
151
151
|
// that's why balance won't be 0 (updated by basiq)
|
152
|
-
if (shouldPayoutLoanAccount && this.isManual) {
|
152
|
+
if (shouldPayoutLoanAccount && this.isManual()) {
|
153
153
|
return this.currentBalance === 0;
|
154
154
|
}
|
155
155
|
return shouldPayoutLoanAccount;
|
156
156
|
}
|
157
|
+
isManual() {
|
158
|
+
return !this.accountId;
|
159
|
+
}
|
157
160
|
}
|
158
161
|
__decorate([
|
159
162
|
Type(() => BankAccountProperty)
|
@@ -173,4 +176,4 @@ __decorate([
|
|
173
176
|
__decorate([
|
174
177
|
Transform(({ value }) => value === 4 ? BankAccountTypeEnum.LOAN : value)
|
175
178
|
], BankAccount.prototype, "type", void 0);
|
176
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1hY2NvdW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9iYW5rL2JhbmstYWNjb3VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFdBQVcsSUFBSSxlQUFlLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUNuRixPQUFPLEVBQUUscUJBQXFCLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM1RSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQy9CLE9BQU8sRUFBRSxZQUFZLEVBQUU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pIHtcbiAgICAgIHJldHVybiB0aGlzLmN1cnJlbnRCYWxhbmNlID09PSAwO1xuICAgIH1cblxuICAgIHJldHVybiBzaG91bGRQYXlvdXRMb2FuQWNjb3VudDtcbiAgfVxuXG4gIGlzTWFudWFsKCkge1xuICAgIHJldHVybiAhdGhpcy5hY2NvdW50SWQ7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,9 +1,6 @@
|
|
1
1
|
import { BankAccountTypeEnum } from '../../db/Enums';
|
2
|
-
/**
|
3
|
-
* @TODO credit card has nothing to do with loan
|
4
|
-
*/
|
5
2
|
export const TYPE_LOAN = [
|
6
|
-
BankAccountTypeEnum.
|
3
|
+
BankAccountTypeEnum.MORTGAGE,
|
7
4
|
BankAccountTypeEnum.LOAN
|
8
5
|
];
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZS1sb2FuLmNvbnN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9iYW5rL3R5cGUtbG9hbi5jb25zdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUVyRCxNQUFNLENBQUMsTUFBTSxTQUFTLEdBQTBCO0lBQzlDLG1CQUFtQixDQUFDLFFBQVE7SUFDNUIsbUJBQW1CLENBQUMsSUFBSTtDQUN6QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQmFua0FjY291bnRUeXBlRW51bSB9IGZyb20gJy4uLy4uL2RiL0VudW1zJztcblxuZXhwb3J0IGNvbnN0IFRZUEVfTE9BTjogQmFua0FjY291bnRUeXBlRW51bVtdID0gW1xuICBCYW5rQWNjb3VudFR5cGVFbnVtLk1PUlRHQUdFLFxuICBCYW5rQWNjb3VudFR5cGVFbnVtLkxPQU5cbl07XG4iXX0=
|