{"version":3,"sources":["webpack:///src/app/demo/V3/search-pages/components/search-top-nav/search-top-nav.component.html","webpack:///src/app/demo/V3/search-pages/components/search-top-nav/search-top-nav.component.ts","webpack:///src/app/subscription/subscription.component.ts","webpack:///src/app/subscription/subscription.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/business-result-business/business-result-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/business-result-business/business-result-business.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/uk-motor.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/uk-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/driver-details/driver-details.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/driver-details/driver-details.component.html","webpack:///src/app/exportpdf/models/MobileResponseModel.ts","webpack:///src/app/demo/V3/services/search.service.ts","webpack:///src/app/exportpdf/models/InputDataModel.ts","webpack:///fs (ignored)","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/export-pdf-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/export-pdf-motor.component.html","webpack:///src/app/demo/V3/search-pages/models/AustraliaResultModel/EnhancedRecordPlusResultModel.ts","webpack:///src/app/demo/V3/search-pages/models/AustraliaResultModel/BusinessSearchResultModel.ts","webpack:///src/app/demo/V3/search-pages/models/ExperianResultModel.ts","webpack:///crypto (ignored)","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/pipl-result/pipl-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/pipl-result/pipl-result.component.html","webpack:///stream (ignored)","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/au-motor.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/au-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/sports-result/sports-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/sports-result/sports-result.component.html","webpack:///src/app/demo/V3/search-pages/models/MotorWebResultModel.ts","webpack:///src/app/screensearch/screen-search-data/screen-search-data.component.ts","webpack:///src/app/screensearch/screen-search-data/screen-search-data.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-ltd-officer-business/pdf-ltd-officer-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-ltd-officer-business/pdf-ltd-officer-business.component.html","webpack:///src/app/exportpdf/components/aml-check/aml-check.component.ts","webpack:///src/app/exportpdf/components/aml-check/aml-check.component.html","webpack:///src/app/exportpdf/components/mobile-enquiry/mobile-enquiry.component.ts","webpack:///src/app/exportpdf/components/mobile-enquiry/mobile-enquiry.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-criminality-result-personal/pdf-criminality-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-criminality-result-personal/pdf-criminality-result-personal.component.html","webpack:///src/app/demo/V3/search-pages/models/BusinessResultModel.ts","webpack:///src/app/exportpdf/models/CounterFraudModel.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/companies-house-result/companies-house-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/companies-house-result/companies-house-result.component.html","webpack:///src/app/demo/V3/search-pages/components/business/au-business/result-pages/au-business-abnsearch/au-business-abnsearch.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/au-business/result-pages/au-business-abnsearch/au-business-abnsearch.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-hutmotor-result-motor/pdf-hutmotor-result-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-hutmotor-result-motor/pdf-hutmotor-result-motor.component.html","webpack:///src/app/shared/components/otppage/otppage.component.ts","webpack:///src/app/shared/components/otppage/otppage.component.html","webpack:///src/app/demo/V3/services/australia.search.service.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/t2a-result-personal/t2a-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/t2a-result-personal/t2a-result-personal.component.html","webpack:///src/app/demo/V3/search-pages/models/VATResultModel.ts","webpack:///src/app/demo/V3/search-pages/models/CriminalityResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/export-pdf/pdf-search-form-personal-au/pdf-search-form-personal-au.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/export-pdf/pdf-search-form-personal-au/pdf-search-form-personal-au.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-ltd-accounts-business/pdf-ltd-accounts-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-ltd-accounts-business/pdf-ltd-accounts-business.component.html","webpack:///src/app/exportpdf/components/search-form/search-form.component.ts","webpack:///src/app/exportpdf/components/search-form/search-form.component.html","webpack:///src/app/demo/V3/search-pages/components/business/au-business/result-pages/au-business-asicsearch/au-business-asicsearch.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/au-business/result-pages/au-business-asicsearch/au-business-asicsearch.component.html","webpack:///src/environments/environment.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/socialmedia-result-business/socialmedia-result-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/socialmedia-result-business/socialmedia-result-business.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/uk-personal.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/uk-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/counter-fraud-result/counter-fraud-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/counter-fraud-result/counter-fraud-result.component.html","webpack:///src/app/demo/V3/search-pages/models/AVAResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-miscellaneous-financials-business/ltd-miscellaneous-financials-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-miscellaneous-financials-business/ltd-miscellaneous-financials-business.component.html","webpack:///src/app/demo/V3/search-pages/components/photoanalysis/photoanalysis.component.html","webpack:///src/app/demo/V3/search-pages/components/photoanalysis/photoanalysis.component.ts","webpack:///src/app/shared/components/terms-and-conditions/terms-and-conditions.component.ts","webpack:///src/app/shared/components/terms-and-conditions/terms-and-conditions.component.html","webpack:///src/app/demo/V3/search-pages/components/email/result-pages/emailage-result-email/emailage-result-email.component.ts","webpack:///src/app/demo/V3/search-pages/components/email/result-pages/emailage-result-email/emailage-result-email.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-search-form-personal/pdf-search-form-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-search-form-personal/pdf-search-form-personal.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/landregistry-result-personal/landregistry-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/landregistry-result-personal/landregistry-result-personal.component.html","webpack:///src/app/shared/components/login/login.component.ts","webpack:///src/app/shared/components/login/login.component.html","webpack:///src/app/demo/V3/search-pages/models/CompaniesHouseResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-commentaryperformance-financials-business/ltd-commentaryperformance-financials-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-commentaryperformance-financials-business/ltd-commentaryperformance-financials-business.component.html","webpack:///src/app/screensearch/filename.pipe.ts","webpack:///src/app/screensearch/service/screen-search-data.service.ts","webpack:///src/app/demo/V3/search-pages/components/motor/motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/motor.component.html","webpack:///src/app/demo/V3/v3.module.ts","webpack:///src/app/demo/V3/services/shared.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-socialmedia-result-personal/pdf-socialmedia-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-socialmedia-result-personal/pdf-socialmedia-result-personal.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/results-pages/app-au-person-history/app-au-person-history.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/results-pages/app-au-person-history/app-au-person-history.component.html","webpack:///src/app/demo/V3/validators/no-space.validator.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/dashboard-two-business/dashboard-two-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/dashboard-two-business/dashboard-two-business.component.html","webpack:///src/app/subscription/Models/SubscriptionPlan.ts","webpack:///src/app/demo/V3/services/messaging.service.ts","webpack:///src/app/demo/V3/search-pages/models/DriverLicenceCheckResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/mobile/mobile.component.html","webpack:///src/app/demo/V3/search-pages/components/mobile/mobile.component.ts","webpack:///src/app/demo/V3/search-pages/models/MobileResultModel.ts","webpack:///src/app/shared/components/resend-verificationlink/resend-verificationlink.component.ts","webpack:///src/app/shared/components/resend-verificationlink/resend-verificationlink.component.html","webpack:///src/app/demo/V3/search-pages/models/SocialMediaResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/ava-result-motor/ava-result-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/ava-result-motor/ava-result-motor.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/association-result/association-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/association-result/association-result.component.html","webpack:///src/app/shared/guards/auth.guard.ts","webpack:///src/app/demo/V3/search-pages/models/VehicleIdResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/landregistry-result-business/landregistry-result-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/landregistry-result-business/landregistry-result-business.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/export-pdf/export-pdf-aus-motor/pdf-search-form-aus-motor/pdf-search-form-aus-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/export-pdf/export-pdf-aus-motor/pdf-search-form-aus-motor/pdf-search-form-aus-motor.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-ratinghistory-business/ltd-ratinghistory-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-ratinghistory-business/ltd-ratinghistory-business.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/export-pdf/export-pdf-aus-motor/export-pdf-aus-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/export-pdf/export-pdf-aus-motor/export-pdf-aus-motor.component.html","webpack:///src/app/demo/V3/search-pages/models/Items.ts","webpack:///src/app/exportpdf/models/FinancialModel.ts","webpack:///src/app/demo/V3/search-pages/components/mobile/export-pdf/export-pdf-mobile/export-pdf-mobile.component.ts","webpack:///src/app/demo/V3/search-pages/components/mobile/export-pdf/export-pdf-mobile/export-pdf-mobile.component.html","webpack:///src/app/screensearch/Models/ScreenSearchData.ts","webpack:///src/app/demo/V3/search-pages/models/DVLAResultModel.ts","webpack:///src/app/shared/components/contact-form/contact-form.component.ts","webpack:///src/app/shared/components/contact-form/contact-form.component.html","webpack:///src/app/shared/shared.module.ts","webpack:///src/app/demo/V3/search-pages/models/SportsResultModel.ts","webpack:///src/app/shared/components/forget-password/forget-password.component.ts","webpack:///src/app/shared/components/forget-password/forget-password.component.html","webpack:///src/app/exportpdf/models/ProspectResponseModel.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/counterfraud-new-result-personal/counterfraud-new-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/counterfraud-new-result-personal/counterfraud-new-result-personal.component.html","webpack:///src/app/demo/V3/search-pages/models/FinancialResultModel.ts","webpack:///src/app/Cache-Interceptor.ts","webpack:///src/app/shared/models/forgetpassword.ts","webpack:///src/app/exportpdf/models/EmailCheckModel.ts","webpack:///src/app/demo/V3/search-pages/components/rtw/rtw.component.html","webpack:///src/app/demo/V3/search-pages/components/rtw/rtw.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/au-personal.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/au-personal.component.ts","webpack:///src/app/shared/components/thank-you-messages/thank-you-messages.component.ts","webpack:///src/app/shared/components/thank-you-messages/thank-you-messages.component.html","webpack:///src/app/demo/V3/search-pages/components/email/export-pdf/export-pdf-email/export-pdf-email.component.ts","webpack:///src/app/demo/V3/search-pages/components/email/export-pdf/export-pdf-email/export-pdf-email.component.html","webpack:///src/app/demo/V3/search-pages/models/PIPLResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-ava-result-motor/pdf-ava-result-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-ava-result-motor/pdf-ava-result-motor.component.html","webpack:///src/app/app.component.ts","webpack:///src/app/app.component.html","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/licence-details/licence-detail-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/licence-details/licence-detail-result.component.html","webpack:///src/app/demo/V3/landing/landing.component.ts","webpack:///src/app/demo/V3/landing/landing.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/dashboard-three-business/dashboard-three-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/dashboard-three-business/dashboard-three-business.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-creditlimit-business/ltd-creditlimit-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-creditlimit-business/ltd-creditlimit-business.component.html","webpack:///src/app/demo/V3/search-pages/models/AMLResultModel.ts","webpack:///src/app/demo/V3/search-pages/models/LandRegistryResultModel.ts","webpack:///src/app/exportpdf/components/cjj-check/cjj-check.component.ts","webpack:///src/app/exportpdf/components/cjj-check/cjj-check.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/export-pdf-person.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/export-pdf-person.component.html","webpack:///src/app/demo/V3/search-pages/models/AustraliaResultModel/PersonHistoryResultModel.ts","webpack:///src/app/exportpdf/models/CCJResponseModel.ts","webpack:///src/app/demo/V3/landing/model/landingpage-image.ts","webpack:///src/app/exportpdf/exportpdf.component.ts","webpack:///src/app/exportpdf/exportpdf.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-registeration-business/ltd-registeration-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-registeration-business/ltd-registeration-business.component.html","webpack:///src/app/subscription/Models/NewClient.ts","webpack:///src/app/exportpdf/components/counter-fraud/counter-fraud.component.ts","webpack:///src/app/exportpdf/components/counter-fraud/counter-fraud.component.html","webpack:///src/app/subscription/Models/LicenceTemplate.ts","webpack:///src/app/demo/V3/search-pages/components/business/au-business/au-business.component.html","webpack:///src/app/demo/V3/search-pages/components/business/au-business/au-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/result-pages/au-wovr-stolen/au-wovr-stolen.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/result-pages/au-wovr-stolen/au-wovr-stolen.component.html","webpack:///src/app/exportpdf/components/access-toggle/access-toggle.component.ts","webpack:///src/app/exportpdf/components/access-toggle/access-toggle.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/result-pages/au-vehicle-description/au-vehicle-description.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/result-pages/au-vehicle-description/au-vehicle-description.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/hutmotor-result-motor/hutmotor-result-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/hutmotor-result-motor/hutmotor-result-motor.component.html","webpack:///src/app/exportpdf/models/AddressResponseModel.ts","webpack:///src/app/demo/V3/services/interceptors/auth-interceptor.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/aml-result/aml-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/aml-result/aml-result.component.html","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/endorsements/endorsements.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/endorsements/endorsements.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-accounts-business/ltd-accounts-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-accounts-business/ltd-accounts-business.component.html","webpack:///src/app/home/models/AccessData.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/non-ltd-business/non-ltd-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/non-ltd-business/non-ltd-business.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/vat-result-business/vat-result-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/vat-result-business/vat-result-business.component.html","webpack:///src/app/exportpdf/components/ava-check/ava-check.component.ts","webpack:///src/app/exportpdf/components/ava-check/ava-check.component.html","webpack:///src/app/subscription/service/excel.service.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-companieshouse-result-personal/pdf-companieshouse-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-companieshouse-result-personal/pdf-companieshouse-result-personal.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/email-new-result-personal/email-new-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/email-new-result-personal/email-new-result-personal.component.html","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/driverlicencecheck.component.html","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/driverlicencecheck.component.ts","webpack:///src/app/app.module.ts","webpack:///src/app/demo/V3/search-pages/models/CounterFraudResultModel.ts","webpack:///src/app/shared/components/resetpassword/resetpassword.component.ts","webpack:///src/app/shared/components/resetpassword/resetpassword.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/financial-new-result-personal/financial-new-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/financial-new-result-personal/financial-new-result-personal.component.html","webpack:///src/app/screensearch/Models/CSVRecords.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-sports-result-personal/pdf-sports-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-sports-result-personal/pdf-sports-result-personal.component.html","webpack:///src/app/shared/models/resetpassword.ts","webpack:///src/app/shared/models/register.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/test-pass/test-pass.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/test-pass/test-pass.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/export-pdf/export-pdf-business/export-pdf-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/export-pdf/export-pdf-business/export-pdf-business.component.html","webpack:///src/app/shared/service/login.service.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/motor-result-motor/motor-result-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/motor-result-motor/motor-result-motor.component.html","webpack:///src/app/subscription/service/subscription.service.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/services/CsvProcessorService.ts","webpack:///src/app/shared/models/contact.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-search-form-motor/pdf-search-form-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-search-form-motor/pdf-search-form-motor.component.html","webpack:///src/app/shared/components/cookie-policy/cookie-policy.component.ts","webpack:///src/app/shared/components/cookie-policy/cookie-policy.component.html","webpack:///src/app/exportpdf/components/email-check/email-check.component.ts","webpack:///src/app/exportpdf/components/email-check/email-check.component.html","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/cpc-qualifications/cpc-qualifications.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/cpc-qualifications/cpc-qualifications.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-search-form-business/pdf-search-form-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-search-form-business/pdf-search-form-business.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/financial-result/financial-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/financial-result/financial-result.component.html","webpack:///src/app/demo/V3/search-pages/components/documentvalidation/export-pdf/export-pdf-document-validation/export-pdf-document-validation.component.ts","webpack:///src/app/demo/V3/search-pages/components/documentvalidation/export-pdf/export-pdf-document-validation/export-pdf-document-validation.component.html","webpack:///src/app/subscription/Models/UserDetails.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/ccj-result/ccj-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/ccj-result/ccj-result.component.html","webpack:///src/app/demo/V3/search-pages/models/SearchType.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/export-pdf/pdf-search-form-driver-licence/pdf-search-form-driver-licence.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/export-pdf/pdf-search-form-driver-licence/pdf-search-form-driver-licence.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/result-pages/au-risk-summary/au-risk-summary.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/au-motor/result-pages/au-risk-summary/au-risk-summary.component.html","webpack:///src/app/demo/V3/search-pages/components/email/result-pages/emailvalidation-result-email/emailvalidation-result-email.component.ts","webpack:///src/app/demo/V3/search-pages/components/email/result-pages/emailvalidation-result-email/emailvalidation-result-email.component.html","webpack:///src/app/demo/V3/search-pages/components/screen/screen.component.ts","webpack:///src/app/demo/V3/search-pages/components/screen/screen.component.html","webpack:///src/app/exportpdf/components/prospect-check/prospect-check.component.ts","webpack:///src/app/exportpdf/components/prospect-check/prospect-check.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-officers-business/ltd-officers-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-officers-business/ltd-officers-business.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/insolvency-result/insolvency-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/insolvency-result/insolvency-result.component.html","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/tacho-cards/tacho-cards.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/tacho-cards/tacho-cards.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/mothistory-result-motor/mothistory-result-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/mothistory-result-motor/mothistory-result-motor.component.html","webpack:///src/app/demo/V3/v3-routing.module.ts","webpack:///src/app/exportpdf/components/insolvency-check/insolvency-check.component.ts","webpack:///src/app/exportpdf/components/insolvency-check/insolvency-check.component.html","webpack:///src/app/demo/V3/v3.component.ts","webpack:///src/app/demo/V3/v3.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/results-pages/app-au-enhanced-record-plus/app-au-enhanced-record-plus.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/results-pages/app-au-enhanced-record-plus/app-au-enhanced-record-plus.component.html","webpack:///src/app/demo/V3/search-pages/components/business/au-business/result-pages/au-business-result/au-business-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/au-business/result-pages/au-business-result/au-business-result.component.html","webpack:///src/app/demo/V3/search-pages/components/documentvalidation/documentvalidation.component.html","webpack:///src/app/demo/V3/search-pages/components/documentvalidation/documentvalidation.component.ts","webpack:///src/app/demo/V3/search-pages/models/TenantRegionResposne.ts","webpack:///src/app/demo/V3/search-pages/components/business/business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/business.component.html","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/export-pdf/export-pdf-driverlicence/export-pdf-driverlicence.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/export-pdf/export-pdf-driverlicence/export-pdf-driverlicence.component.html","webpack:///src/app/exportpdf/components/address-check/address-check.component.ts","webpack:///src/app/exportpdf/components/address-check/address-check.component.html","webpack:///src/app/demo/V3/search-pages/components/email/email.component.html","webpack:///src/app/demo/V3/search-pages/components/email/email.component.ts","webpack:///src/app/shared/components/pagenotfound/pagenotfound.component.ts","webpack:///src/app/shared/components/pagenotfound/pagenotfound.component.html","webpack:///src/app/demo/V3/search-pages/components/email/export-pdf/export-pdf-email/pdf-search-form-email/pdf-search-form-email.component.ts","webpack:///src/app/demo/V3/search-pages/components/email/export-pdf/export-pdf-email/pdf-search-form-email/pdf-search-form-email.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/socialmedia-result/socialmedia-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/socialmedia-result/socialmedia-result.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-aml-result-personal/pdf-aml-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-aml-result-personal/pdf-aml-result-personal.component.html","webpack:///src/app/demo/V3/search-pages/components/mobile/export-pdf/export-pdf-mobile/pdf-search-form-mobile/pdf-search-form-mobile.component.ts","webpack:///src/app/demo/V3/search-pages/components/mobile/export-pdf/export-pdf-mobile/pdf-search-form-mobile/pdf-search-form-mobile.component.html","webpack:///src/app/demo/V3/search-pages/components/mobile/result-pages/mobile-result-mobile/mobile-result-mobile.component.ts","webpack:///src/app/demo/V3/search-pages/components/mobile/result-pages/mobile-result-mobile/mobile-result-mobile.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/dashboard-one-business/dashboard-one-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/dashboard-one-business/dashboard-one-business.component.html","webpack:///src/app/shared/models/login.ts","webpack:///src/app/home/services/search.service.ts","webpack:///src/app/shared/components/toast-message/toast-message.component.ts","webpack:///src/app/shared/components/toast-message/toast-message.component.html","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/entitlement-list/entitlement-list.component.ts","webpack:///src/app/demo/V3/search-pages/components/driverlicencecheck/result-pages/entitlement-list/entitlement-list.component.html","webpack:///src/app/subscription/Models/PlanExpiry.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/prospect-dashboard-personal/prospect-dashboard-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/prospect-dashboard-personal/prospect-dashboard-personal.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-companyhistory-financials-business/ltd-companyhistory-financials-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-companyhistory-financials-business/ltd-companyhistory-financials-business.component.html","webpack:///src/app/demo/V3/search-pages/components/business/au-business/result-pages/au-business-abrsearch/au-business-abrsearch.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/au-business/result-pages/au-business-abrsearch/au-business-abrsearch.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-shares-business/ltd-shares-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/ltd-shares-business/ltd-shares-business.component.html","webpack:///src/app/demo/V3/search-pages/models/EmailResultModel.ts","webpack:///src/app/shared/components/user-register/user-register.component.ts","webpack:///src/app/shared/components/user-register/user-register.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/email-result/email-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/email-result/email-result.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/uk-business.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/uk-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/idcheck/idcheck.component.html","webpack:///src/app/demo/V3/search-pages/components/idcheck/idcheck.component.ts","webpack:///src/app/exportpdf/components/financial-check/financial-check.component.ts","webpack:///src/app/exportpdf/components/financial-check/financial-check.component.html","webpack:///src/app/demo/V3/search-pages/components/business/au-business/export-pdf/export-pdf-aus-business/export-pdf-aus-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/au-business/export-pdf/export-pdf-aus-business/export-pdf-aus-business.component.html","webpack:///src/app/exportpdf/components/result-top-card/result-top-card.component.ts","webpack:///src/app/exportpdf/components/result-top-card/result-top-card.component.html","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-mothistory-result-motor/pdf-mothistory-result-motor.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-mothistory-result-motor/pdf-mothistory-result-motor.component.html","webpack:///src/app/demo/V3/search-pages/models/AddressResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/opensource-result-business/opensource-result-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/opensource-result-business/opensource-result-business.component.html","webpack:///src/app/exportpdf/models/AvaResponseModel.ts","webpack:///src/app/demo/V3/search-pages/components/mobile/result-pages/opensource-result-mobile/opensource-result-mobile.component.ts","webpack:///src/app/demo/V3/search-pages/components/mobile/result-pages/opensource-result-mobile/opensource-result-mobile.component.html","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/prospect-dashboard-business/prospect-dashboard-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/uk-business/result-pages/prospect-dashboard-business/prospect-dashboard-business.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/export-pdf/export-pdf-personal-au/export-pdf-personal-au.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/au-personal/export-pdf/export-pdf-personal-au/export-pdf-personal-au.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/criminality-result/criminality-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/criminality-result/criminality-result.component.html","webpack:///src/app/exportpdf/models/AmlResponseModel.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/uk-motor-result/uk-motor-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/motor/uk-motor/result-pages/uk-motor-result/uk-motor-result.component.html","webpack:///src/app/shared/models/resendlink.ts","webpack:///src/app/demo/V3/search-pages/models/SearchRequestModel.ts","webpack:///src/app/subscription/Models/NewDomain.ts","webpack:///src/app/subscription/Models/ResendLinkModel.ts","webpack:///src/app/demo/V3/search-pages/components/personal/personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/personal.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/prospect-result/prospect-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/prospect-result/prospect-result.component.html","webpack:///src/app/demo/V3/search-pages/models/AssociatedResultModel.ts","webpack:///src/app/demo/V3/search-pages/components/business/au-business/export-pdf/export-pdf-aus-business/pdf-search-form-aus-business/pdf-search-form-aus-business.component.ts","webpack:///src/app/demo/V3/search-pages/components/business/au-business/export-pdf/export-pdf-aus-business/pdf-search-form-aus-business/pdf-search-form-aus-business.component.html","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/mobile-new-result-personal/mobile-new-result-personal.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/mobile-new-result-personal/mobile-new-result-personal.component.html","webpack:///src/main.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/address-result/address-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/address-result/address-result.component.html","webpack:///$_lazy_route_resource lazy namespace object","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/mobile-result/mobile-result.component.ts","webpack:///src/app/demo/V3/search-pages/components/personal/uk-personal/result-page/mobile-result/mobile-result.component.html"],"names":["SearchTopNavComponent","disableExit","SubscriptionComponent","elementRef","subscriptionService","app","searchService","loginService","messageService","confirmationService","excelService","route","datepipe","value","options","showTicksValues","stepsArray","legend","updateLicence","isRowEditable","editLicence","licenceError","licenceSuccess","editVisibility","isTemplateVisibleButton","tempLicenceScreen","tempLicenceSearch","tempLicenceSearchAvailability","isAddTemplateModelOpen","searchToggle","screenToggle","searchAvailabilityToggle","getSubscriptionItems","checkItem","planExpiry","licenceTemplateList","newLicence","status","imagePositionClass","user","isModalOpen","confirmPassword","confirmUpdatePassword","newPassword","newUpdatePassword","register","registerDomain","isChangePasswordModalOpen","isUpdatePasswordModalOpen","isAddUserModalOpen","isAddDomainModelOpen","disableEmailField","Plan","isAddDomain","isUpdateDomain","licenceId","licencestatus","registrationError","registrationDomainError","passwordValidationError","DetailsError","editError","subscriptionError","successMessage","registrationSuccess","registrationDomainSuccess","editSuccess","clientrecordsfound","domainrecordsfound","licenceList","label","id","statuses","isPlanExpired","PlanExpiryMessage","ToastMessageWarning","criminalitySearchRankOptions","name","range","nativeElement","ownerDocument","body","style","background","backgroundAttachment","isLoginExpires","queryParams","subscribe","params","Tenant","tenantId","Number","atob","isNaN","isShowHeader","auditReportDisable","AuditReportDownloadText","settingsvisibility","screenToggleDisable","searchToggleDisable","isScreenAccess","isSearchAccess","userSettingsSuccessMessage","criminalitySearchResultCount","getPlanExpired","getAuditreport","getTenantName","data","displayTenantName","tenantName","GetProfileDetails","firstName","transform","lastName","AllowedLicence","screen","search","find","i","licenceType","toLowerCase","isAdmin","isAdminUser","GetLicenceItems","toPromise","then","forEach","item","push","defaultValue","toggle","GetSubscribedPlan","allowedLicenseItems","e","searchAvailabilityToggleDisable","loadBasedOnSubscription","GetLicenceTemplateList","LoadClients","GetLicenceList","GetPlanExpiry","error","console","log","GetAllEmailDomains","Domains","length","startDate","selectedValue","startingDate","endDate","endingDate","GetAuditDownloadReport","audits","setTimeout","ExportTOExcel","screencount","searchcount","api","rowRecordNotFound","days","subscriptionExpiry","hours","minutes","seconds","reporterPermenant","auditReportLoading","filterValue","reporter","GetAuditreport","reverse","filter","date","searchDate","exportAsExcelFile","add","key","severity","summary","detail","sticky","clear","licenceName","description","updateMember","isShowAdduserbtn","licenceItems","x","disabled","itemId","mapLicenceItem","toLocaleLowerCase","CreateLicence","clearMessage","isActive","UpdateLicence","tempItems","isFindSearch","licence","isFindScreen","isFindSearchAvailability","update","loadTemplate","DeleteLicence","confirm","message","header","icon","accept","ForceDeleteLicence","reject","event","foundElements","document","getElementsByClassName","scrollTop","rowData","rowEditable","window","scrollTo","updateUser","userId","department","email","userName","password","isDeleted","EditUser","resetClearMessageTime","IsStrongPassword","changePasswordEvent","changeConfirmPasswordEvent","changePassword","logout","isShowAddDomainbtn","updateDomain","getAllTenantEmailDomains","domainName","trim","AddDomain","domain","EditDomain","requiredlength","hasNumber","test","hasUpper","hasLower","hasSpecialChar","hasWhiteSpace","timeOut","clearTimeout","fieldValidation","regularExpression","AddUser","userCount","LicenceList","GetClients","clients","resendLinkModel","reSendConfirmationEmail","forget","forgetpassword","first","substr","toUpperCase","GetTenantSettings","criminalitySearchRank","criminalitySearchOptionSelect","criminalitySearchOptionSelectDescription","criminalityRank","requestData","SaveTenantSettings","openChangePasswordModal","addNewMember","addNewLicence","addNewDomain","BusinessResultBusinessComponent","business","UkMotorComponent","formBuilder","router","vrnValidationPattern","validation","required","pattern","accessData","showResultTab","isExperianTabShow","saveAsPDFButtonVisibility","clearSearchButtonVisibility","loggedInUsername","avaResultModel","dvlaResultModel","prospectResultModel","experianResultModel","motHistoryResultModel","requestDataModel","isLoggedIn","localStorage","getItem","navigate","GetAllowedSearchAvailablityItems","keys","Array","from","map","motorForm","group","audit","reference","vrn","avaAccess","CheckProspectHitAndProfileAccess","getLicenceItems","getUserDetails","addValidators","updateValueAndValidity","valid","Promise","resolve","getRandomString","resetResultObjects","requestObj","prepareRequestData","isAVAAccess","avaCheck","dvlaMotorCheck","isProspectHitAccess","prospectHitCheck","experianMotor","motHistory","pdf","forcePageBreak","keepTogether","paperSize","margin","top","bottom","left","right","scale","currentDate","Date","formattedDate","toLocaleDateString","day","month","year","replace","fileName","get","saveAs","username","isLoading","noRelevantData","responseData","searchFail","MotHistory","result","JSON","parse","isProspectProfileAccess","CheckProsectHitAndProfileAccessClient","prospectProfileCheck","prospectProfileButtonDisable","prospectHitResponseData","isProspectProfileLoading","prospectProfileResponseData","GetProspectProfileData","prospectProfileButtonText","prospectProfileButtonText_Requested","noSearchSelect","isCounterFraudAccess","isProspectHitLoading","prospectProfileButtonText_RequestProfile","profileData","fullName","dateOfBirth","postalCode","addressLine1","phoneNumber","vRN","GetProspectHitData","hits","some","previousHit","i2Hit","ExperianMotor","DVLAMotor","SearchAVA","mot","vehicleData","GetAuditKey","patchValue","control","controls","clearValidators","setValidators","auditKey","referenceNumber","searchType","Motor","toString","getCurrentDate","searchTime","getCurrentTime","searchUsername","isAVAToggle","disable","getSecondAccess","disableAccessData","Items","isHUTDatabaseAccess","isHUTDatabaseToggle","isMobileAccess","isMobileToggle","isEmailAccess","isEmailToggle","isIdentityAccess","isIdentityToggle","isFinancialAccess","isFinancialToggle","isAddressAccess","isAddressToggle","isCriminalityAccess","isCriminalityToggle","isSocialMediaAccess","isSocialMediaToggle","isCounterFraudToggle","isSportsAccess","isSportsToggle","isAdvertsAccess","isAdvertsToggle","isCompaniesHouseAccess","isCompaniesHouseToggle","isAMLAccess","isAMLToggle","isCCJDetailAccess","isCCJDetailToggle","isInsolvencyDetailAccess","isInsolvencyDetailToggle","isRTWAccess","isRTWToggle","isIDCheckAccess","isIDCheckToggle","motorSearch","DriverDetailsComponent","messagingService","driverLicenceResultDataModel","MobileResponse","SearchService","http","post","debounceReason","finalcialData","request","searchDomain","token","httpOptions","headers","lexicon","EachsocialMediaCategory","searchUniqueIdlist","lexiconCategory","devData","allRequestData","EachlifestyleCategory","screenInputData","formData","InputData","associatedName","InputAccessData","ExportPdfMotorComponent","ava","dvla","prospect","experian","motHistoryExpandedRows","EnhancedRecordPlusResultModel","BusinessSearchResultModel","ExperianResultModel","PiplResultComponent","pipl","AuMotorComponent","australiaSearchService","minLength","maxLength","noSpaceAllowed","dropdownStates","motorWebResultModel","vehicleIdResultModel","plate","state","getStatesForDropdown","vehicleIdSearch","motorWebSearch","GetStatesForDropdown","code","GetVehicleIdSearchResult","vehicleList","GetMotorWebSearchResult","SportsResultPersonalComponent","sports","collapseSportsClass","collapseSportsStatus","collapseSportsIcon","$","collapse","MotorWebResultModel","ScreenSearchDataComponent","screenSearchDataService","appComponent","searchservice","file","tempFile","filename","validationerror","ToastWarningHeader","referenceNumberColumn","businessNameColumn","ltdNumberColumn","businessPostcodeColumn","principalNameColumn","principalPostcodeColumn","principalMobileColumn","principalEmailColumn","principalDobColumn","lossDateColumn","loadingAnimation","resetColumnIndex","loadScreenDataGrid","loadScreenIntervalCall","val","expiryIntervalCall","commercialTemplateURL","personalTemplateURL","mobileTemplateURL","getScreenAllowedTemplates","unsubscribe","screenTemplate","allowedTemplates","itemName","GetScreenSearchData","screenSearchData","target","files","srcElement","eventTarget","tempEventTarget","resetFileInput","isValidCSVFile","reader","FileReader","readAsText","onload","csvData","csvRecordsArray","split","headersRow","getHeaderArray","getColumnIndex","getDataFromFile","requestScreenSearch","csvRecordsArr","headerArray","j","cSVRecords","commercial","type","getDataRecordsArrayFromCSVFile","personal","mobile","endsWith","headerLength","csvArr","principalMobile","currentRecord","every","businessName","ltdNumber","businessPostcode","principalName","principalPostCode","principalEmail","principalDob","eventDate","isValid","undefined","formatInternational","includes","ProcessScreenSearch","fileInput","columnNames","index","scrollTrigger","onFileSelected","uploadListener","refreshResult","PdfLtdOfficerBusinessComponent","thisRef","creditsafeResult","report","directors","currentDirectors","previousDirectors","additionalInformation","personsWithSignificantControl","activePSC","ceasedPSC","AmlCheckComponent","amlResultData","NoRelevantDataMessage","NoSearchSelect","SearchFail","obj","addresses","address","address1","address2","address3","postcode","city","country","MobileEnquiryComponent","inputData","NoRelevantDataMessageShort","NoSearchSelectShort","mobileRequiredMessage","RequiredPropertyMissingMessage","PdfCriminalityResultPersonalComponent","criminality","criminalityEventEmitter","collapseResultClass","collapseResultStatus","collapseResultIcon","emit","BusinessOpenSourceResultModel","openSourceResultCount","openSourceResultCombine","BusinessResultModel","CounterFraudResponse","needleValue","CompaniesHouseResultPersonalComponent","companiesHouse","AuBusinessAbnsearchComponent","businessResultDataModel","legal","response","businessEntity202001","legalName","businessEntity201408","familyName","givenName","otherGivenName","join","isArray","PdfHutmotorResultMotorComponent","OTPPageComponent","isVisibleTimer","errorMessage","timerMinutes","timerSeconds","canResend","timerOn","isResend","otpResend","isVisibleVerify","login","addEventListener","handleBackNavigation","startTimer","expirationTime","termsAndConditions","removeEventListener","removeItem","otp","oTP","preventDefault","currentDateTimeISO","toISOString","Verify2FA","setItem","getExpiryDate","getAccessTokenExpiryDateTime","toUTCString","currentTime","Math","floor","now","expirationTimestamp","parseInt","remainingTime","handleTimerExpiration","timer","setInterval","clearInterval","Userlogin","newExpirationTime","onOtpChange","onKeydown","resendOtp","verifyOtp","AustraliaSearchService","T2aResultPersonalComponent","t2a","VATResultModel","VATAPIResultModel","VATAPIAddressResultModel","CriminalityResultModel","lexiconStatus","lexicons","compareLexicons","rankingResults","sortFinalResults","relevantResults","finalResults","domainResults","criminalitySuccessCount","criminalityRelevantRank","LexiconStatus","searchloading","searchStatusCount","analysisStatusCount","PdfSearchFormPersonalAuComponent","PdfLtdAccountsBusinessComponent","financialStatements","yearEndDate","SearchFormComponent","AuBusinessAsicsearchComponent","environment","production","DevData","SocialmediaResultBusinessComponent","socialMedia","UkPersonalComponent","disableExitEventEmitter","postcodeRegex","validationType","searchInProgress","searchDomains","activeSearchDomains","refreshtoken","addressResultModel","amlResultModel","ccjResultModel","insolvencyResultModel","mobileResultModel","counterFraudResultModel","emailResultModel","emailageResultModel","rightToWorkResultModel","idCheckResultModel","financialResultModel","companiesHouseResultModel","associatedResultModel","criminalityResultModel","sportsResultModel","piplResultModel","opensourceResult","emailValidationResultModel","socialMediaResultModel","t2aResultModel","landRegistryResultModel","personalForm","profile","dob","associations","array","access","landregistry","financial","quick","associationEntities","newAssociationEntities","GetSearchDomainJson","getEmailageOrgId","setActiveResultTab","amlCheck","telisignCheck","emailValidationCheck","loadEmailAgeCheck","counterFraudCheck","financialCheck","t2aSearch","landRegistry","GetPIPLData","socialMediaSearch","criminalityCheck","associatedCheck","sportsCheck","openSourceSearch","motor","isLandRegistryAccess","GetLandRegistryResult","json","stringify","completeResponse","prsDetails","matches","matchResult","each","hasClass","removeClass","addClass","navLine","tabPane","associatedNames","associationLength","isLandRegistryToggle","GetT2A","tempResponseData","validationError","eachOpenSourceSearch","OpenSourceSearch","UniqueCode","concat","getUniqueResults","has","SearchPIPL","getDomainJson","IsActive","sportsComplete","sportsStatus","displayname","statusCount","sportsCategory","sportsIndex","getSportsData","sportsCategoryItem","sportsResults","compareSportsCategory","SearchSports","filterSportsStaus","sportsSuccessCount","updateAudit","sportsResultCount","finalSportsResults","displaySportsCount","socialMediaStatus","collapseSocialMediaClass","collapseSocialMediaStatus","collapseSocialMediaIcon","socialMediaCategory","socialMediaIndex","getsocialMediaData","socialMediaCategoryItem","socialMediaResults","compareSocialMediaCategory","SocialMedia","lexiconcategory","filtersocialMediaStatus","socialMediaSuccessCount","SocialMediaResultCount","finalSocialMediaResults","sort","a","b","resultComplete","isResultValues","showRelevantResults","showAllResults","resultCount","shuffleLexicons","searchIndex","getData","lexiconKey","SearchData","AnalysisIndex","analyseResult","filterLexiconStatus","AnalyseError","analyseResultRanking","rankingDuplicateLinks","RelevantResults","rank","RankValue","finalItem","link","indexOf","lrItem","crimeSearchResultCount","slice","AllResults","GetCriminalityRankForSearch","tmp","current","random","eachAssociationSearch","AssociatedSearchData","associatedResultCombine","associatedResultCount","arr","unique","final","EmailAge","completeJson","rawJson","emailageOrgId","rawResult","urls","y","GetEmailageOrdId","EmailValidationCheck","debounce","reason","emailAgeCheck","IDCheck","RightToWorkSearch","DirectorshipSearchData","isEmailProvided","isMobileNumberProvided","GetPersonSearch","InsolvencyFlag","CcjFlag","ccjAndInsolvencyCheck","financialData","SearchCCJAndInsolvency","validationMessage","companyName","GetCounterFraudData","ragStatus","color","GetMobileData","SearchAML","reset","topControls","childControls","child","err","searchtextarray","midleName","Personal","isQuickSearchEnabled","onPostCodeChange","onMobileChange","onEmailChange","personalSearch","CounterFraudResultPersonalComponent","counterFraud","canvasWidth","centralLabel","bottomLabel","hasNeedle","needleColor","needleUpdateSpeed","arcColors","arcDelimiters","needleStartValue","AVAResultModel","AVAResultData","Advert","AdvertSourceData","DetailedData","Info","OtherInfo","LtdMiscellaneousFinancialsBusinessComponent","PhotoanalysisComponent","photoAnalysisForm","fileFormData","prepareFileFormData","FormData","append","PhotoAnalysis","setValue","onFileChange","photoAnalysisSearch","TermsAndConditionsComponent","EmailageResultEmailComponent","emailage","PdfSearchFormPersonalComponent","LandregistryResultPersonalComponent","dateStr","LoginComponent","renderer","dialogService","resendlink","Token","UserId","TenantId","redirectToSettingsWithTenant","loggedIn","loading","expirytime","btoa","resendtext","ref","open","width","height","$event","showTermsAndConditions","CompaniesHouseResultModel","LtdCommentaryperformanceFinancialsBusinessComponent","FilenamePipe","ScreenSearchDataService","pipe","MotorComponent","regionAccess","getTenantRegion","GetTenantRegion","V3Module","provide","useClass","multi","deps","Shared","currentdate","getDate","monthName","getMonth","getFullYear","toLocaleTimeString","mon","utcDate","jwtPayload","expiryDate","setUTCSeconds","exp","PdfSocialmediaResultPersonalComponent","AppAuPersonHistoryComponent","personHistoryResultModel","WhiteSpace","DashboardTwoBusinessComponent","additionalData","disqualified","companyNumber","businessNonRegisteredProfileResult","businessTargeterObject","legalStatus","SubscriptionPlan","MessagingService","EmailNotValidMessage","EmailRequiredMessage","MobileRequiredMessage","MobileNotValidMessage","PhoneNumberNotValidMessage","NameRequiredMessage","VrnRequiredMessage","VrnNotValidMessage","PostCodeRequiredMessage","PostCodeNotValidMessage","AssiciateDataNotProvideMessage","ReferenceRequiredMessage","NoDataFoundMessage","AdditionalDataMessage","NoRecordsOfSubject","MobileValidationMessage","OtherFieldRequired","CompanyNumberNotValidMessage","CompanyPostcodeNotValid","BusinessValidationMessage","BusinessNameRequiredMessage","VatRequiredMessage","T2ARequiredMessage","NoDataShortMessage","PostcodeOrDOBRequiredMessage","CompanyNumberRequiredMessage","BusinessABNRequiredMessage","BusinessASICRequiredMessage","BusinessABNValidateMessage","BusinessASICValidateMessage","BusinessPostcodeNotValid","driverLicenceCheckValidateMessage","VehicleRecordNotFound","NoLandRegistryMatch","PostcodeAndAddressLine1Required","ProprietorDetailsRequired","DriverLicenceCheckResultModel","entitlementResultModel","restrictions","MobileComponent","UKvalidation","AUSvalidation","mobileResult","mobileForm","mobileSearchScreen","openSourceMobileSearch","isAURegion","MobileAddressSearch","MobileLexisNexisReverseSearch","OpenSourceMobileSearch","MobileSearchScreen","validationControl","Mobile","mobileValidation","mobileSearch","MobileResultModel","OpenSourceResultModel","ResendVerificationlinkComponent","ResendConfirmationLink","_body","ResendLink","SocialMediaResultModel","BusinessSocialMediaResultModel","AvaResultMotorComponent","AssociationResultPersonalComponent","associated","AuthGuard","VehicleIdResultModel","LandregistryResultBusinessComponent","PdfSearchFormAusMotorComponent","LtdRatinghistoryBusinessComponent","ExportPdfAusMotorComponent","title","pubDate","source","lexiconKeywords","negativePoints","negativeKeywords","matchedLocation","like","dislike","SearchDomain","Id","Name","SearchUrl","PageUrl","CountryBasedUrl","Item","FinancialResponseModel","ExportPdfMobileComponent","opensource","ScreenSearchData","ScreenType","DVLAResultModel","MotHistoryResultModel","ContactFormComponent","contact","telephoneNumberPattern","fragment","createRange","createContextualFragment","appendChild","recaptcha","ContactDetails","ContactSubmit","SharedModule","forChild","SportsResultModel","SportsStatus","ForgetPasswordComponent","ForgetPassword","ProspectResponseModel","CounterfraudNewResultPersonalComponent","FinancialResultModel","CCJResultModel","InsolvencyResultModel","NoCacheHeadersInterceptor","req","next","authReq","clone","setHeaders","Pragma","handle","Forgetpassword","EmailCheckResponse","RtwComponent","departmentDropdown","min","isVisibleToggle","rtwForm","dvlaReportAccess","getSubscriptionDetails","GetRTWDepartmentDropdown","rightToWorkCheck","isDVLAAccess","isDVLAToggle","departmentId","RightToWork","rtwSearch","AuPersonalComponent","enhancedRecordPlanResultModel","businessSearchResultData","requestModelData","phone","streetaddress","suburb","GetPersonHistory","GetEnhanceRecordPlus","streetAddress","GetEnhancedRecordPlus","match_person","businessAbn","abn","GetSearchByABN","exception","exceptionDescription","completeResponseJson","formatPhoneNumber","ThankYouMessagesComponent","registration","linkexpired","forgotPassword","resetPassword","verificationlinkResent","contactdetails","confirmationError","adduser","alreadyConfirmed","snapshot","ExportPdfEmailComponent","emailValidation","PIPLResultModel","PdfAvaResultMotorComponent","AppComponent","settingsPage","isShowFooter","events","url","cc","loggedInUser","currentUrl","routeReuseStrategy","shouldReuseRoute","onSameUrlNavigation","today","LicenceDetailResultComponent","LandingComponent","landingImage","personalImgSrc","hutScreenImgSrc","businessImgSrc","mobileImgSrc","emailImgSrc","motorImgSrc","driverLicenceCheckImgSrc","photoAnalysisImgSrc","documentValidationImgSrc","rtwImgSrc","idCheckImgSrc","isPersonalAccess","isHUTScreenAccess","isBusinessAccess","isMotorAccess","isdriverLicenceCheckAccess","isPhotoAnalysisAccess","isDocumentValidationAccess","initScreeningAccess","userDetails","setSearchAvailabilityAccess","DashboardThreeBusinessComponent","LtdCreditlimitBusinessComponent","AMLResultModel","LandRegistryResultModel","CJJCheckComponent","ccjResultData","ExportPdfPersonComponent","aml","ccj","insolvency","rightToWork","idCheck","PersonHistoryResultModel","CCJResponseModel","LandingPageImage","personalGreyImgSrc","hutScreenGreyImgSrc","businessGreyImgSrc","mobileGreyImgSrc","emailGreyImgSrc","motorGreyImgSrc","driverLicenceCheckGreyImgSrc","photoAnalysisGreyImgSrc","documentValidationGreyImgSrc","rtwGreyImgSrc","idCheckGreyImgSrc","personalROImgSrc","hutScreenROImgSrc","businessROImgSrc","mobileROImgSrc","emailROImgSrc","motorROImgSrc","driverLicenceCheckROImgSrc","photoAnalysisROImgSrc","documentValidationROImgSrc","rtwROImgSrc","idCheckROImgSrc","ExportpdfComponent","avaResult","prospectData","insolvencyData","LtdRegisterationBusinessComponent","APIKey","encodedAddress","encodeURIComponent","NewClient","emailConfirmed","CounterFraudComponent","LicenceTemplate","ItemAccess","AuBusinessComponent","businessPostcodeRegex","businessForm","asic","validationCheck","GetABRSearchByName","GetSearchByASIC","companyPostalCode","Business","allowedCharacters","companyPostcode","companyABN","companyASIC","onCompanyNameChange","onCompanyPostcodeChange","restrictCharacters","onCompanyABNChange","onCompanyASICChange","businessSearch","AuWovrStolenComponent","vehicleId","AccessToggleComponent","AuVehicleDescriptionComponent","motorWeb","HutmotorResultMotorComponent","AddressResponseModel","AuthInterceptor","isRefreshing","refreshTokenSubject","isAuthHeaderNeeded","addToken","handleRefreshToken","refreshToken","newToken","jwt","overrideContentTypeEndpoints","shouldOverrideContentType","endpoint","clonedRequest","Authorization","controllerPrefix","AmlResultPersonalComponent","conflictValues","peps","ID","conflicts","Object","entityDetails","AdditionalInfo","Type","Value","AKAs","aka","Full","EndorsementsComponent","LtdAccountsBusinessComponent","AccessData","isRTWNoFormsAccess","SecondAccess","RequestData","NonLtdBusinessComponent","businessLocation","addressLines","LocationLine1","LocationLine2","LocationLine3","LocationLine4","LocationLine5","Postcode","fullAddress","line","VatResultBusinessComponent","vatResult","AvaCheckComponent","EXCEL_TYPE","EXCEL_EXTENSION","ExcelService","excelFileName","mappedJson","searchName","other","myworksheet","json_to_sheet","myworkbook","Sheets","SheetNames","excelBuffer","bookType","saveAsExcelFile","buffer","Blob","PdfCompanieshouseResultPersonalComponent","EmailNewResultPersonalComponent","DriverLicenceCheckComponent","csvService","driverLicenceCheckResultData","driverLicenceNumberRegex","entitleObject","tempEntitlementResult","getCSVData","driverLicenceCheckForm","driverLicenceNumber","markAllAsTouched","driverLicenceCheck","drivingLicenceNumber","SearchDriverLicenceCheck","entitlement","categoryCode","categoryType","matchedVehicle","csvRow","CODE","fromDate","categoryVehicle","VEHICLE","responseResult","errors","DriverLicenceCheck","isDriverLicenceAccess","isDriverLicenceToggle","driverLicenceSearch","professionalClearSearch","AppModule","withServerTransition","appId","forRoot","path","component","canActivate","CounterFraudResultModel","ProspectResultModel","ResetPasswordComponent","queryParamMap","resetpassword","ResetPassword","FinancialNewResultPersonalComponent","CSVRecords","limitedCompanyNumber","businessPostCode","businessMobile","businessEmail","ownerorDirectorName","ownerPostCode","ownerMobile","ownerEmail","ownerDOB","ScreenInputData","PdfSportsResultPersonalComponent","confirmpassword","Register","TestPassComponent","ExportPdfBusinessComponent","LoginService","accessToken","jwtJSON","role","MotorResultMotorComponent","SubscriptionService","newpassword","tenentId","licenceTeamplate","licenceTemplate","reSendEmail","CsvProcessorService","filePath","observer","responseType","skipEmptyLines","complete","Contact","Telephone","Email","PdfSearchFormMotorComponent","CookiePolicyComponent","EmailCheckComponent","emailRequiredMessage","CpcQualificationsComponent","PdfSearchFormBusinessComponent","FinancialResultPersonalComponent","ExportPdfDocumentValidationComponent","fileOneUrl","fileTwoUrl","FileNames","UserDetails","phoneNumberConfirmed","accessFailedCount","subscription","licenceIsActive","CcjResultPersonalComponent","SearchType","PdfSearchFormDriverLicenceComponent","AuRiskSummaryComponent","EmailvalidationResultEmailComponent","ScreenComponent","businessMobileColumn","businessEmailColumn","getFormatedPhoneNumber","phoneNumberTemp","uploadFileEvent","screenSearch","ProspectCheckComponent","prospectResultData","LtdOfficersBusinessComponent","InsolvencyResultPersonalComponent","TachoCardsComponent","MothistoryResultMotorComponent","routes","children","V3RoutingModule","InsolvencyCheckComponent","insolvencyResultData","V3Component","AppAuEnhancedRecordPlusComponent","AuBusinessResultComponent","changes","DocumentvalidationComponent","isFileValidation","fileValidationMessage","documentValidationForm","fileValidation","documentValidationCheck","File","alert","reader1","readAsDataURL","reader2","DocumentValidation","USIdCheckUploadResult","validFileExtensions","invalidFiles","extension","pop","documentValidationSearch","documentValidationClearSearch","TenantRegion","BusinessComponent","isExitDisabled","ExportPdfDriverlicenceComponent","DOB","AddressCheckComponent","postCodeRequiredMessage","EmailComponent","emailForm","openSourceEmailSearch","OpenSourceEmailSearch","emailSearch","PagenotfoundComponent","PdfSearchFormEmailComponent","SocialmediaResultPersonalComponent","PdfAmlResultPersonalComponent","PdfSearchFormMobileComponent","MobileResultMobileComponent","DashboardOneBusinessComponent","Login","searchtext","res","reqeustData","searchvalue","followStatus","croNumber","mobileNumber","htmlElement","ToastMessageComponent","GetSubscriptionDetail","planName","EntitlementListComponent","PlanExpiry","subscriptionBalaceCount","SubscriptionExpiry","SubscriptionBalaceCount","ScreenCount","SearchCount","ProspectDashboardPersonalComponent","LtdCompanyhistoryFinancialsBusinessComponent","AuBusinessAbrsearchComponent","LtdSharesBusinessComponent","EmailCheckResultModel","EmailageCheckResultModel","RightToWorkCheckResultModel","IdCheckResultModel","UserRegisterComponent","f","UserRegister","EmailResultPersonalComponent","UkBusinessComponent","companiesNumberRegex","isProspectHitPerformed","tempRequestData","businessResult","vatNumber","openSourceBusinessSearch","vatCheck","businessDetailSearch","proprietorSearch","BusinessSocialMedia","LandRegistryBusinessResult","GetCompaniesHouse","BusinessSearch","businessTargeterResult","companyIdentification","basicInformation","contactAddress","identification","registeredCompanyName","companySummary","companyRegistrationNumber","VatSearch","BusinessOpenSourceSearch","onCompanyNumberChange","IdcheckComponent","idCheckForm","IdCheck","idCheckSearch","FinancialCheckComponent","ExportPdfAusBusinessComponent","ResultTopCardComponent","PdfMothistoryResultMotorComponent","AddressResultModel","T2AResultModel","OpensourceResultBusinessComponent","AvaResponseModel","OpensourceResultMobileComponent","ProspectDashboardBusinessComponent","ExportPdfPersonalAuComponent","CriminalityResultPersonalComponent","AmlResponseModel","UkMotorResultComponent","prospectProfileRequestEventEmitter","ProfileData","NewDomain","DomainDetails","ResendLinkModel","PersonalComponent","ProspectResultPersonalComponent","AssociatedResultModel","PdfSearchFormAusBusinessComponent","MobileNewResultPersonalComponent","getBaseUrl","getElementsByTagName","href","providers","useFactory","bootstrapModule","Source","AddressResultPersonalComponent","sources","sourceArr","AddressLine1","AddressLine2","AddressLine3","AddressLine4","AddressLine5","AddressLine6","Country","webpackEmptyAsyncContext","Error","module","exports","MobileResultPersonalComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASQ;;AACE;;AACA;;AAAM;;AAAI;;AACZ;;;;;;AACA;;AACE;;AACA;;AAAM;;AAAI;;AACZ;;;;UCTKA,qB;AAIX,yCAAc;AAAA;;AAFL,eAAAC,WAAA,GAAuB,KAAvB;AAEQ;;;;iBAEjB,oBAAQ,CACP;;;;;;;yBAPUD,qB;AAAqB,O;;;cAArBA,qB;AAAqB,2C;AAAA;AAAA;AAAA,S;AAAA,gB;AAAA,e;AAAA,gjB;AAAA;AAAA;ADPlC;;AACE;;AACE;;AACE;;AACE;;AACE;;AACE;;AACF;;AACF;;A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uCAAc;AAAA;;AAFE,eAAAvG,SAAA,GAAuB,IAAI,gEAAJ,EAAvB;AAEC;;;;iBAEjB,oBAAQ,CACP;;;;;;;yBAPUuG,mB;AAAmB,O;;;cAAnBA,mB;AAAmB,wC;AAAA;AAAA;AAAA,S;AAAA,kB;AAAA,gB;AAAA,ilF;AAAA;AAAA;ACRhC;;AAEE;;AACE;;AACE;;AAAwB;;AAAW;;AACrC;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAU;;AACf;;AACA;;AACE;;AACE;;AAAuD;AAAA;AAAA;;AAAvD;;AACF;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAK;;AACV;;AACA;;AACE;;AACE;;AAAoD;AAAA;AAAA;;AAApD;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AAAG;;AAAU;;AACf;;AACA;;AACE;;AACE;;AAAuD;AAAA;AAAA;;AAAvD;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AAAG;;AAAO;;AACZ;;AACA;;AACE;;AACE;;AAAwC;AAAA;AAAA;;AAAxC;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AAAG;;AAAM;;AACX;;AACA;;AACE;;AACE;;AAAwD;AAAA;AAAA;;AAAxD;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AAAG;;AAAI;;AACT;;AACA;;AACE;;AACE;;AAAuD;AAAA;AAAA;;AAAvD;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AAAG;;AAAI;;AACT;;AACA;;AACE;;AACE;;AAAkE;AAAA;AAAA;;AAAlE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACF;;AACF;;AACA;;AACE;;AACA;;AACE;;AACE;;AACE;;AACE;;AACE;;AACE;;AAA0B;;AAAsB;;AAChD;;AAA2B;;A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I;;AACI;;AACI;;AAAyB;;AAAY;;AACzC;;AACA;;AACI;;AACI;;AACE;;AACF;;AACA;;AACE;;;;AACF;;AACA;;AAGJ;;AACA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AAGJ;;AACA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AAGJ;;AACA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AAGJ;;AAEA;;AA4BA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACA;;AA8BA;;AA4BA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACA;;AA4BA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACA;;AA4BA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACA;;AA6BJ;;AACA;;AACI;;AAAyB;;AAAgB;;AAC7C;;AACA;;AACI;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACJ;;AACA;;AA4BA;;AACI;;AAAyB;;AAAe;;AAC5C;;AACA;;AACI;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACA;;AA4BA;;AA4BJ;;AACA;;AACI;;AAAyB;;AAA6B;;AAC1D;;AACA;;AACI;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACA;;AA4BA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACA;;AA4BA;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;AACE;;AACF;;AACJ;;AACA;;AA4BJ;;AACA;;AACI;;AAAyB;;AAAgC;;AAC7D;;AACA;;AACI;;AACI;;AACE;;AACF;;AACA;;AACE;;AACF;;AACA;;A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AAb,CAAwB,YAAxB;AACAxX,wBAAY,CAACwX,UAAb,CAAwB,QAAxB;AACAxX,wBAAY,CAACwX,UAAb,CAAwB,cAAxB;AACA,iBAAK1Y,MAAL,CAAYoB,QAAZ,CAAqB,CAAC,QAAD,CAArB;AACD;;;;;;;yBAzlEUkb,mB,EAAmB,yH,EAAA,2H,EAAA,uI,EAAA,gI,EAAA,uH,EAAA,6I;AAAA,O;;;cAAnBA,mB;AAAmB,wC;AAAA;AAAA;;;;;;;;;;;;;;;;;;ADrChC;;AACE;;AACE;;AACE;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAU;;AACf;;AACA;;AACE;;AACE;;AACA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAK;;AACV;;AACA;;AACE;;AACE;;AACA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAU;;AACf;;AACA;;AACE;;AACE;;AAAqG;AAAA,qBAAS,IAAAuM,gBAAA,EAAT;AAA2B,aAA3B;;AAArG;;AACA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAO;;AACZ;;AACA;;AACE;;AACE;;AAAmG;AAAA,qBAAS,IAAAC,cAAA,EAAT;AAAyB,aAAzB;;AAAnG;;AACA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAM;;AACX;;AACA;;AACE;;AACE;;AAAmG;AAAA,qBAAS,IAAAC,aAAA,EAAT;AAAwB,aAAxB;;AAAnG;;AACA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAI;;AACT;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG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;;AACE;;AACE;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAU;;AACf;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAK;;AACV;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAU;;AACf;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAO;;AACZ;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAM;;AACX;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAI;;AACT;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAiB;;AACtB;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAqB;;AAC1B;;AACA;;AACE;;AACE;;AACE;;AACE;;AACE;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAI;;AACT;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AACA;;AACF;;AACA;;AACA;;AAAM;;AAAa;;AACrB;;AACA;;AACE;;AACE;;AACA;;AACF;;AACA;;AACA;;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,qBAAA,EAAT;AAAgC,aAAhC;;AAA1G;;AACA;;AAGA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAc;;AACnB;;AACA;;AACE;;AACE;;AAAyG;AAAA,qBAAS,IAAAvS,mBAAA,EAAT;AAA8B,aAA9B;;AAAzG;;AACA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAkB;;AACvB;;AACA;;AACE;;AACE;;AAA6G;AAAA,qBAAS,IAAAC,uBAAA,EAAT;AAAkC,aAAlC;;AAA7G;;AACA;;AAA6B;;AAA0C;;AACvE;;AAGA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAW;;AAChB;;AACA;;AACE;;AACE;;AACF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAM;;AACX;;AACA;;AACE;;AACE;;AAAmG;AAAA,qBAAS,IAAAlX,aAAA,EAAT;AAAwB,aAAxB;;AAAnG;;AACA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAO;;AACZ;;AACA;;AACE;;AACE;;AAAmG;AAAA,qBAAS,IAAAD,cAAA,EAAT;AAAyB,aAAzB;;AAAnG;;AACA;;AAGF;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAgB;;AACrB;;AACA;;AACE;;AACE;;AACA;;AAA6B;;AAA0C;;AACzE;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAqB;;AAC1B;;AACA;;AACE;;AACE;;AACA;;AAA6B;;AAA0C;;AACzE;;AACF;;AACF;;AACF;;AACF;;AACA;;AACE;;AACE;;AACE;;AACE;;AAAG;;AAAe;;AACpB;;AACA;;AACE;;AACE;;AACA;;AA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X,eAAAkjB,MAAA,GAA4B,IAAI,wFAAJ,EAA5B;AAEgD;;;;iBAEzD,oBAAQ,CACP;;;;;;;yBAPUsjC,6B,EAA6B,6I;AAAA,O;;;cAA7BA,6B;AAA6B,mD;AAAA;AAAA;AAAA,S;AAAA,gB;AAAA,e;AAAA,+sB;AAAA;AAAA;ACT1C;;AACE;;AAA4C;;AAAG;;AAAqB;;AAAI;;AACxE;;AAGA;;AAKA;;AA+CF;;;;AAvD4B;;AAAA;;AAGpB;;AAAA;;AAKY;;AAAA","file":"main-es5.js","sourcesContent":["
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-search-top-nav',\r\n templateUrl: './search-top-nav.component.html',\r\n styleUrls: ['./search-top-nav.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class SearchTopNavComponent implements OnInit {\r\n\r\n @Input() disableExit: boolean = false;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n}\r\n","import { Options } from \"@angular-slider/ngx-slider\";\r\nimport { DatePipe } from '@angular/common';\r\nimport { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { ConfirmationService, MessageService } from 'primeng/api';\r\nimport { AppComponent } from '../app.component';\r\nimport { Item } from '../home/models/AccessData';\r\nimport { Audit } from '../shared/models/audit';\r\nimport { Forgetpassword } from '../shared/models/forgetpassword';\r\nimport { LoginService } from '../shared/service/login.service';\r\nimport { AuditReport } from './Models/AuditReport';\r\nimport { EmailDomains } from './Models/EmailDomains';\r\nimport { ItemAccess, LicenceTemplate } from './Models/LicenceTemplate';\r\nimport { NewClient } from './Models/NewClient';\r\nimport { DomainDetails, NewDomain } from './Models/NewDomain';\r\nimport { PlanExpiry } from './Models/PlanExpiry';\r\nimport { ResendLinkModel } from './Models/ResendLinkModel';\r\nimport { SubscriptionPlan } from './Models/SubscriptionPlan';\r\nimport { UserDetails } from './Models/UserDetails';\r\nimport { TenantSettings } from './Models/UserSettings';\r\nimport { ExcelService } from './service/excel.service';\r\nimport { SubscriptionService } from './service/subscription.service';\r\nimport { SearchService } from \"../demo/V3/services/search.service\";\r\n\r\n@Component({\r\n selector: 'app-subscription',\r\n templateUrl: './subscription.component.html',\r\n styleUrls: ['./subscription.component.css'],\r\n providers: [MessageService, ConfirmationService]\r\n})\r\nexport class SubscriptionComponent implements OnInit, AfterViewInit {\r\n\r\n value: number = 1;\r\n options: Options = {\r\n showTicksValues: true,\r\n stepsArray: [\r\n { legend: \"Relaxed\", value: 1 },\r\n { legend: \"Normal\", value: 2 },\r\n { legend: \"Strict\", value: 3 },\r\n ],\r\n };\r\n\r\n\r\n public updateLicence: LicenceTemplate = new LicenceTemplate();\r\n public displayTenantName: object;\r\n public isRowEditable: boolean = false;\r\n public editLicence: boolean = false;\r\n public licenceError: string = null;\r\n public licenceSuccess: string = null;\r\n public editVisibility: boolean = false;\r\n public isTemplateVisibleButton: boolean = false;\r\n public tempLicenceScreen: ItemAccess[] = [];\r\n public tempLicenceSearch: ItemAccess[] = [];\r\n public tempLicenceSearchAvailability: ItemAccess[] = [];\r\n public isAddTemplateModelOpen: boolean = false;\r\n public searchToggle: boolean = false;\r\n public screenToggle: boolean = false;\r\n public searchAvailabilityToggle: boolean = false;\r\n public getSubscriptionItems: Item[] = [];\r\n public checkItem: Item = new Item();\r\n public planExpiry: PlanExpiry = null;\r\n public licenceTemplateList: LicenceTemplate[] = [];\r\n public newLicence: LicenceTemplate = new LicenceTemplate();\r\n public status: string = \"\";\r\n public screenToggleDisable: boolean;\r\n public searchToggleDisable: boolean;\r\n public searchAvailabilityToggleDisable: boolean;\r\n /*User Management*/\r\n public loggedIn: boolean;\r\n public imagePositionClass: string = \"\";\r\n public user: UserDetails = new UserDetails();\r\n public isModalOpen: boolean = false;\r\n public confirmPassword: string = null;\r\n public confirmUpdatePassword: string = null;\r\n public newPassword: string = null;\r\n public newUpdatePassword: string = null;\r\n public isShowAdduserbtn: boolean;\r\n public isShowAddDomainbtn: boolean;\r\n public rowEditable: boolean;\r\n public updateMember: boolean;\r\n public updateDomain: boolean;\r\n public clients: UserDetails[];\r\n public register: NewClient = new NewClient(\"\", \"\", \"\", \"\", \"\", \"\", 0, \"\", false, false, false, false);\r\n public registerDomain: NewDomain = new NewDomain(\"\", false, 0);\r\n public isChangePasswordModalOpen: boolean = false;\r\n public isUpdatePasswordModalOpen: boolean = false;\r\n public isAddUserModalOpen: boolean = false;\r\n public isAddDomainModelOpen: boolean = false;\r\n public disableEmailField: boolean = false;\r\n public Plan: SubscriptionPlan = new SubscriptionPlan();\r\n\r\n public reporter: AuditReport[];\r\n public audits: Audit[];\r\n public reporterPermenant: AuditReport[];\r\n public Domains: EmailDomains[];\r\n public isAddDomain: boolean = true;\r\n public isUpdateDomain: boolean = true;\r\n public auditReportDisable: boolean;\r\n public AuditReportDownloadText: string;\r\n public auditReportLoading: boolean;\r\n public rowRecordNotFound: boolean;\r\n\r\n public licenceId: number = 0;\r\n public licencestatus: string = \"\";\r\n public filterValue: string;\r\n public selectedValue: AuditReport;\r\n public tenantId: number;\r\n public userId: string;\r\n\r\n @ViewChild('dropDownStatus') drop;\r\n @ViewChild('dropDownLicence') licence;\r\n\r\n //Errors\r\n public registrationError: string = null;\r\n public registrationDomainError: string = null;\r\n public passwordValidationError: string = null;\r\n public DetailsError: boolean = false;\r\n public editError: string = null;\r\n public subscriptionError: string = null;\r\n\r\n //SuccessMessage\r\n public successMessage: string = null;\r\n public registrationSuccess: string = null;\r\n public registrationDomainSuccess: string = null;\r\n public editSuccess: string = null;\r\n public clientrecordsfound: string = null;\r\n public domainrecordsfound: string = null;\r\n public licenceList: any[] = [{ label: 'No Template', value: 'NoLicence', id: 0 }];\r\n\r\n public statuses: object[] = [\r\n { label: 'Active', value: 'Active' },\r\n { label: 'Inactive', value: 'Inactive' }\r\n ]\r\n\r\n // Plan Expiry\r\n public isPlanExpired: boolean = false;\r\n public PlanExpiryMessage: string = null;\r\n public ToastMessageWarning: string = null;\r\n\r\n public isAdmin: boolean;\r\n public isScreenAccess: boolean;\r\n public isSearchAccess: boolean;\r\n public timeOut: any;\r\n\r\n public criminalitySearchRankOptions: any[] = [\r\n { name: \"Strict\", value: 400, range: 3 },\r\n { name: \"Normal\", value: 200, range: 2 },\r\n { name: \"Relaxed\", value: 100, range: 1 }\r\n ];\r\n public criminalitySearchOptionSelect: number;\r\n public criminalitySearchOptionSelectDescription: string;\r\n public criminalitySearchResultCount: number;\r\n public userSettingsSuccessMessage: string;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private subscriptionService: SubscriptionService,\r\n private app: AppComponent,\r\n private searchService: SearchService,\r\n private loginService: LoginService,\r\n private messageService: MessageService,\r\n private confirmationService: ConfirmationService,\r\n private excelService: ExcelService,\r\n private route: ActivatedRoute,\r\n public datepipe: DatePipe) { }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/Background.svg)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n ngOnInit(): void {\r\n this.app.isLoginExpires();\r\n this.route.queryParams\r\n .subscribe(params => {\r\n if (params.Tenant) {\r\n this.tenantId = Number(atob(params.Tenant));\r\n if (isNaN(this.tenantId)) {\r\n this.tenantId = 0;\r\n } else {\r\n this.app.isShowHeader = false;\r\n }\r\n } else {\r\n this.tenantId = 0;\r\n }\r\n }\r\n );\r\n this.auditReportDisable = false;\r\n this.auditReportDisable = true;\r\n this.AuditReportDownloadText = \"Download\";\r\n this.PlanExpiryMessage = \"Your subscription has expired. Please contact your account manager.\";\r\n this.ToastMessageWarning = \"HUT Warning\";\r\n this.app.settingsvisibility = false;\r\n this.screenToggleDisable = true;\r\n this.searchToggleDisable = true;\r\n this.isScreenAccess = false;\r\n this.isSearchAccess = false;\r\n this.userSettingsSuccessMessage = \"\";\r\n this.criminalitySearchResultCount = 0;\r\n this.getPlanExpired();\r\n this.getAuditreport();\r\n this.subscriptionService.getTenantName(this.tenantId).subscribe(data => {\r\n this.displayTenantName = data.tenantName;\r\n })\r\n this.subscriptionService.GetProfileDetails().subscribe(\r\n data => {\r\n this.user = data;\r\n this.user.firstName = this.transform(this.user.firstName);\r\n this.user.lastName = this.transform(this.user.lastName);\r\n });\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.app.screen = false;\r\n this.app.search = false;\r\n if (data) {\r\n if (data.find(i => i.licenceType.toLowerCase() == \"screen\")) {\r\n this.app.screen = this.tenantId ? false : true;\r\n }\r\n if (data.find(i => i.licenceType.toLowerCase() == \"search\")) {\r\n this.app.search = this.tenantId ? false : true;\r\n }\r\n }\r\n });\r\n this.isAdmin = this.loginService.isAdminUser();\r\n if (this.isAdmin) {\r\n this.subscriptionService.GetLicenceItems().toPromise().then(\r\n data => {\r\n data.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n this.tempLicenceSearch.push(item);\r\n } else if (item.licenceType.toLowerCase() == \"screen\") {\r\n item.defaultValue = true;\r\n item.toggle = true;\r\n this.tempLicenceScreen.push(item);\r\n } else if (item.licenceType.toLowerCase() == \"searchavailability\") {\r\n this.tempLicenceSearchAvailability.push(item);\r\n }\r\n });\r\n }\r\n );\r\n this.subscriptionService.GetSubscribedPlan(this.tenantId).toPromise().then(data => {\r\n this.Plan = data;\r\n if (this.Plan.allowedLicenseItems.find(e => e.licenceType.toLowerCase() === \"screen\")) {\r\n this.screenToggleDisable = false;\r\n this.isScreenAccess = true;\r\n } else {\r\n this.screenToggleDisable = true;\r\n }\r\n if (this.Plan.allowedLicenseItems.find(e => e.licenceType.toLowerCase() === \"search\")) {\r\n this.searchToggleDisable = false;\r\n this.isSearchAccess = true;\r\n } else {\r\n this.searchToggleDisable = true;\r\n }\r\n if (this.Plan.allowedLicenseItems.find(e => e.licenceType.toLowerCase() === \"searchavailability\")) {\r\n this.searchAvailabilityToggleDisable = false;\r\n this.isSearchAccess = true;\r\n } else {\r\n this.searchAvailabilityToggleDisable = true;\r\n }\r\n this.loadBasedOnSubscription(this.Plan.allowedLicenseItems);\r\n });\r\n this.GetLicenceTemplateList();\r\n this.LoadClients();\r\n this.GetLicenceList();\r\n //if (this.tenantId == 0) {\r\n // this.getAllTenantEmailDomains();\r\n //}\r\n //this.GetTenantSettings();\r\n this.subscriptionService.GetPlanExpiry(this.tenantId).toPromise().then(\r\n data => {\r\n this.planExpiry = data;\r\n },\r\n error => {\r\n console.log(error);\r\n }\r\n )\r\n }\r\n }\r\n\r\n getAllTenantEmailDomains() {\r\n this.domainrecordsfound = null;\r\n this.subscriptionService.GetAllEmailDomains(this.tenantId).subscribe(\r\n data => {\r\n this.Domains = data;\r\n if (this.Domains.length == 0) {\r\n this.domainrecordsfound = \"No domain records found\";\r\n }\r\n // console.log(this.Domains);\r\n }, error => {\r\n if (error.status) {\r\n this.domainrecordsfound = \"No domain records found\";\r\n }\r\n }\r\n )\r\n }\r\n\r\n @ViewChild('templateForm') create: NgForm;\r\n // @ViewChild('content', {static: false}) content:ElementRef;\r\n\r\n AuditReportDownload() {\r\n this.auditReportDisable = true;\r\n this.AuditReportDownloadText = \"Downloading...\";\r\n let startDate = this.datepipe.transform(this.selectedValue.startingDate, 'dd-MM-yyyy');\r\n let endDate = this.datepipe.transform(this.selectedValue.endingDate, 'dd-MM-yyyy')\r\n this.subscriptionService.GetAuditDownloadReport(startDate, endDate, this.tenantId).subscribe(\r\n data => {\r\n this.audits = data;\r\n setTimeout(() => {\r\n this.ExportTOExcel();\r\n this.auditReportDisable = false;\r\n this.AuditReportDownloadText = \"Download\";\r\n }, 3000);\r\n },\r\n error => {\r\n this.auditReportDisable = false;\r\n this.AuditReportDownloadText = \"Download\";\r\n console.log(error);\r\n }\r\n )\r\n }\r\n\r\n monthWiseRadioChange() {\r\n if (this.selectedValue.screencount === 0 && this.selectedValue.searchcount === 0 && this.selectedValue.api === 0) {\r\n this.rowRecordNotFound = true;\r\n } else {\r\n this.rowRecordNotFound = false;\r\n this.auditReportDisable = false;\r\n }\r\n }\r\n\r\n getPlanExpired() {\r\n this.subscriptionService.GetPlanExpiry(this.tenantId).toPromise().then(\r\n data => {\r\n this.planExpiry = data;\r\n let days = this.planExpiry.subscriptionExpiry.days;\r\n let hours = this.planExpiry.subscriptionExpiry.hours;\r\n let minutes = this.planExpiry.subscriptionExpiry.minutes;\r\n let seconds = this.planExpiry.subscriptionExpiry.seconds;\r\n if (days <= 0 && hours <= 0 && minutes <= 0 && seconds <= 0) {\r\n this.isPlanExpired = true;\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n getAuditreport() {\r\n if (!this.reporterPermenant) {\r\n this.auditReportLoading = true;\r\n this.auditReportDisable = true;\r\n this.filterValue = \"3\";\r\n this.reporter = [];\r\n }\r\n this.subscriptionService.GetAuditreport(this.tenantId).subscribe(\r\n data => {\r\n this.auditReportLoading = false;\r\n this.reporterPermenant = data;\r\n if (this.reporterPermenant) {\r\n this.reporterPermenant.reverse();\r\n this.filter();\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n this.auditReportLoading = false;\r\n }\r\n )\r\n }\r\n\r\n\r\n filter() {\r\n this.reporter = [];\r\n this.selectedValue = null;\r\n this.auditReportDisable = true;\r\n let data = this.reporterPermenant;\r\n if (this.filterValue == \"3\") {\r\n if (data.length > 3) {\r\n for (let i = 0; i < 3; i++) {\r\n this.reporter.push(data[i]);\r\n }\r\n } else {\r\n this.reporter = data;\r\n }\r\n } else if (this.filterValue == \"6\") {\r\n if (data.length > 6) {\r\n for (let i = 0; i < 6; i++) {\r\n this.reporter.push(data[i]);\r\n }\r\n } else {\r\n this.reporter = data;\r\n }\r\n } else if (this.filterValue == \"12\") {\r\n if (data.length > 12) {\r\n for (let i = 0; i < 12; i++) {\r\n this.reporter.push(data[i]);\r\n }\r\n } else {\r\n this.reporter = data;\r\n }\r\n }\r\n }\r\n ExportTOExcel(): void {\r\n if (this.selectedValue) {\r\n var date = this.datepipe.transform(this.audits[0].searchDate, 'MMMM_yyyy', 'en-US')\r\n this.excelService.exportAsExcelFile(this.audits, 'HUT_Report_' + date);\r\n }\r\n }\r\n\r\n //ExportTOExcel(): void {\r\n // let element = document.getElementById(\"content\");\r\n // const ws: XLSX.WorkSheet = XLSX.utils.table_to_sheet(element);\r\n // const wb: XLSX.WorkBook = XLSX.utils.book_new();\r\n // XLSX.utils.book_append_sheet(wb, ws, 'data');\r\n // var date = this.datepipe.transform(this.audits[0].searchDate, 'MMMM_yyyy', 'en-US')\r\n // XLSX.writeFile(wb, 'HUT_Report_' + date + '.csv');\r\n //}\r\n\r\n addNewLicence() {\r\n if (this.isPlanExpired) {\r\n this.messageService.add({ key: 'PlanExpiry', severity: 'warn', summary: this.ToastMessageWarning, detail: this.PlanExpiryMessage, sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear();\r\n }, 13000);\r\n this.isAddTemplateModelOpen = false;\r\n }\r\n else {\r\n this.isPlanExpired = false;\r\n this.newLicence.licenceName = \"\";\r\n this.newLicence.description = \"\";\r\n this.isAddTemplateModelOpen = true;\r\n this.editVisibility = true;\r\n this.screenToggle = false;\r\n this.searchToggle = false;\r\n this.searchAvailabilityToggle = false;\r\n this.editLicence = false;\r\n this.loadBasedOnSubscription(this.Plan.allowedLicenseItems);\r\n }\r\n }\r\n\r\n addNewMember() {\r\n if (this.isPlanExpired) {\r\n this.messageService.add({ key: 'PlanExpiry', severity: 'warn', summary: this.ToastMessageWarning, detail: this.PlanExpiryMessage, sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear();\r\n }, 13000);\r\n this.isAddTemplateModelOpen = false;\r\n } else {\r\n this.updateMember = false;\r\n this.isShowAdduserbtn = true;\r\n this.isAddUserModalOpen = true;\r\n this.disableEmailField = false;\r\n this.register = new NewClient(\"\", \"\", \"\", \"\", \"\", \"\", 0, \"\", false, false, false, false);\r\n }\r\n }\r\n closeAddUserMember() {\r\n this.updateMember = false;\r\n this.register = null;\r\n this.isAddUserModalOpen = false;\r\n this.disableEmailField = false;\r\n }\r\n\r\n loadBasedOnSubscription(licenceItems: ItemAccess[]) {\r\n this.tempLicenceSearch.forEach(data => {\r\n data.defaultValue = false;\r\n data.toggle = true;\r\n if (licenceItems) {\r\n if (licenceItems.find(x => x.key == data.key && x.licenceType == data.licenceType)) {\r\n data.disabled = false;\r\n } else {\r\n data.disabled = true;\r\n data.toggle = true;\r\n data.defaultValue = false;\r\n }\r\n }\r\n });\r\n this.tempLicenceScreen.forEach(data => {\r\n data.defaultValue = true;\r\n data.toggle = true;\r\n if (licenceItems) {\r\n if (licenceItems.find(x => x.key == data.key && x.licenceType == data.licenceType)) {\r\n data.disabled = false;\r\n } else {\r\n data.disabled = true;\r\n data.toggle = true;\r\n data.defaultValue = false;\r\n }\r\n }\r\n });\r\n this.tempLicenceSearchAvailability.forEach(data => {\r\n data.defaultValue = false;\r\n data.toggle = true;\r\n if (licenceItems) {\r\n if (licenceItems.find(x => x.key == data.key && x.licenceType == data.licenceType)) {\r\n data.disabled = false;\r\n } else {\r\n data.disabled = true;\r\n data.toggle = true;\r\n data.defaultValue = false;\r\n }\r\n }\r\n });\r\n }\r\n\r\n loadTemplate(licenceItems: ItemAccess[]) {\r\n licenceItems.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n this.tempLicenceSearch.find(e => {\r\n if (e.key === item.key) {\r\n e.itemId = item.itemId;\r\n if (!e.disabled) {\r\n e.disabled = false;\r\n e.toggle = !item.toggle;\r\n e.defaultValue = item.defaultValue;\r\n } else {\r\n e.disabled = true;\r\n e.toggle = true;\r\n e.defaultValue = false;\r\n }\r\n }\r\n });\r\n } else if (item.licenceType.toLowerCase() == \"screen\") {\r\n this.tempLicenceScreen.find(e => {\r\n if (e.key === item.key) {\r\n e.itemId = item.itemId;\r\n if (!e.disabled) {\r\n e.disabled = false;\r\n e.toggle = !item.toggle;\r\n e.defaultValue = item.defaultValue;\r\n } else {\r\n e.disabled = true;\r\n e.toggle = true;\r\n e.defaultValue = false;\r\n }\r\n }\r\n });\r\n } else if (item.licenceType.toLowerCase() == \"searchavailability\") {\r\n this.tempLicenceSearchAvailability.find(e => {\r\n if (e.key === item.key) {\r\n e.itemId = item.itemId;\r\n if (!e.disabled) {\r\n e.disabled = false;\r\n e.toggle = !item.toggle;\r\n e.defaultValue = item.defaultValue;\r\n } else {\r\n e.disabled = true;\r\n e.toggle = true;\r\n e.defaultValue = false;\r\n }\r\n }\r\n });\r\n }\r\n })\r\n this.GetLicenceList();\r\n }\r\n\r\n onSubmitTest() {\r\n if (this.isAddTemplateModelOpen && !this.editLicence) {\r\n if (this.newLicence.licenceName) {\r\n if (this.searchToggle || this.screenToggle || this.searchAvailabilityToggle) {\r\n\r\n this.newLicence.allowedLicenseItems = this.mapLicenceItem();\r\n if (this.searchToggle == false)\r\n this.newLicence.allowedLicenseItems = this.newLicence.allowedLicenseItems.filter(x => x.licenceType.toLocaleLowerCase() !== \"search\");\r\n if (this.screenToggle == false)\r\n this.newLicence.allowedLicenseItems = this.newLicence.allowedLicenseItems.filter(x => x.licenceType.toLocaleLowerCase() !== \"screen\");\r\n if (this.searchAvailabilityToggle == false)\r\n this.newLicence.allowedLicenseItems = this.newLicence.allowedLicenseItems.filter(x => x.licenceType.toLocaleLowerCase() !== \"searchavailability\");\r\n\r\n this.newLicence.allowedLicenseItems.forEach(x => {\r\n x.toggle = !x.toggle\r\n });\r\n this.subscriptionService.CreateLicence(this.newLicence, this.tenantId).subscribe(data => {\r\n this.licenceSuccess = \"New licence created successfully\";\r\n this.GetLicenceTemplateList();\r\n this.licenceList = [{ label: 'No Template', value: 'NoLicence', id: 0 }];\r\n this.GetLicenceList();\r\n this.newLicence = new LicenceTemplate();\r\n this.clearMessage();\r\n this.isAddTemplateModelOpen = false;\r\n this.editVisibility = false;\r\n },\r\n error => {\r\n if (error.status === 409) {\r\n this.licenceError = \"Licence name already exist. Try different licence name.\";\r\n } else {\r\n this.licenceError = \"Something went wrong try again later\";\r\n }\r\n }\r\n );\r\n\r\n this.clearMessage();\r\n } else {\r\n this.licenceError = \"Choose any licence Item\";\r\n this.clearMessage();\r\n }\r\n } else {\r\n this.licenceError = \"Please enter the licence name\";\r\n this.clearMessage();\r\n }\r\n\r\n } else if (this.editLicence && this.isAddTemplateModelOpen) {\r\n if (this.searchToggle || this.screenToggle || this.searchAvailabilityToggle) {\r\n this.newLicence.isActive = (this.licencestatus.toLowerCase() == 'active') ? true : false;\r\n\r\n var licenceItems = this.mapLicenceItem();\r\n this.newLicence.allowedLicenseItems = licenceItems ? licenceItems : this.updateLicence.allowedLicenseItems;\r\n if (this.searchToggle == false)\r\n this.newLicence.allowedLicenseItems = this.newLicence.allowedLicenseItems.filter(x => x.licenceType.toLocaleLowerCase() !== \"search\");\r\n if (this.screenToggle == false)\r\n this.newLicence.allowedLicenseItems = this.newLicence.allowedLicenseItems.filter(x => x.licenceType.toLocaleLowerCase() !== \"screen\");\r\n if (this.searchAvailabilityToggle == false)\r\n this.newLicence.allowedLicenseItems = this.newLicence.allowedLicenseItems.filter(x => x.licenceType.toLocaleLowerCase() !== \"searchavailability\");\r\n\r\n this.newLicence.allowedLicenseItems.forEach(x => {\r\n x.toggle = !x.toggle\r\n });\r\n this.subscriptionService.UpdateLicence(this.newLicence, this.tenantId).toPromise().then(data => {\r\n this.licenceSuccess = \"Licence Updated Sucessfully\";\r\n this.GetLicenceTemplateList();\r\n this.licenceList = [{ label: 'No Template', value: 'NoLicence', id: 0 }];\r\n this.GetLicenceList();\r\n this.newLicence = new LicenceTemplate();\r\n this.isAddTemplateModelOpen = false;\r\n this.newLicence.description = \"\";\r\n this.editVisibility = false;\r\n this.editLicence = false;\r\n this.clearMessage();\r\n },\r\n error => {\r\n if (error.status === 409) {\r\n this.licenceError = \"Licence name already exist. Try different licence name.\";\r\n } else {\r\n this.licenceError = \"Something went wrong try again later\";\r\n }\r\n this.clearMessage();\r\n }\r\n );\r\n } else {\r\n this.licenceError = \"Choose any licence Item\";\r\n this.clearMessage();\r\n }\r\n }\r\n }\r\n\r\n mapLicenceItem(): Item[] {\r\n let tempItems: Item[] = null;\r\n if (this.searchToggle || this.screenToggle || this.searchAvailabilityToggle) {\r\n tempItems = [...this.tempLicenceSearch, ...this.tempLicenceScreen, ...this.tempLicenceSearchAvailability];\r\n if (!this.screenToggle) {\r\n tempItems.forEach(e => {\r\n if (e.licenceType == \"Screen\") {\r\n e.defaultValue = false;\r\n e.toggle = false;\r\n }\r\n });\r\n }\r\n if (!this.searchToggle) {\r\n tempItems.forEach(e => {\r\n if (e.licenceType == \"Search\") {\r\n e.defaultValue = false;\r\n e.toggle = false;\r\n }\r\n });\r\n }\r\n if (!this.searchAvailabilityToggle) {\r\n tempItems.forEach(e => {\r\n if (e.licenceType == \"SearchAvailability\") {\r\n e.defaultValue = false;\r\n e.toggle = false;\r\n }\r\n });\r\n }\r\n }\r\n return tempItems;\r\n }\r\n\r\n selectCrossBtn() {\r\n this.newLicence = new LicenceTemplate();\r\n this.isAddTemplateModelOpen = false;\r\n if (this.isAddTemplateModelOpen || this.editVisibility) {\r\n this.isAddTemplateModelOpen = false;\r\n this.editVisibility = false;\r\n }\r\n\r\n }\r\n getLicence(item: LicenceTemplate) {\r\n let isFindSearch = item.allowedLicenseItems.find(licence => {\r\n if (licence.licenceType == \"Search\") {\r\n return true;\r\n }\r\n })\r\n if (isFindSearch) {\r\n this.searchToggle = true;\r\n } else {\r\n this.searchToggle = false;\r\n }\r\n let isFindScreen = item.allowedLicenseItems.find(licence => {\r\n if (licence.licenceType === \"Screen\") {\r\n return true;\r\n }\r\n })\r\n if (isFindScreen) {\r\n this.screenToggle = true;\r\n } else {\r\n this.screenToggle = false;\r\n }\r\n let isFindSearchAvailability = item.allowedLicenseItems.find(licence => {\r\n if (licence.licenceType === \"SearchAvailability\") {\r\n return true;\r\n }\r\n })\r\n if (isFindSearchAvailability) {\r\n this.searchAvailabilityToggle = true;\r\n } else {\r\n this.searchAvailabilityToggle = false;\r\n }\r\n }\r\n\r\n onRowEditLicenceInit(update: LicenceTemplate) {\r\n this.licencestatus = update.isActive ? 'Active' : 'Inactive';\r\n this.newLicence = update;\r\n this.isAddTemplateModelOpen = true;\r\n this.editLicence = true;\r\n this.editVisibility = true;\r\n this.loadBasedOnSubscription(this.Plan.allowedLicenseItems);\r\n this.loadTemplate(update.allowedLicenseItems);\r\n this.updateLicence = update;\r\n }\r\n\r\n deleteSelectedTemplate(licence: LicenceTemplate) {\r\n this.subscriptionService.DeleteLicence(licence).subscribe(data => {\r\n this.licenceSuccess = \"licence deleted successfully\";\r\n this.GetLicenceTemplateList();\r\n }, error => {\r\n if (error.status == 406) {\r\n this.confirmationService.confirm({\r\n message: 'The license is assigned to some users. Are you sure that you want to delete license?',\r\n header: 'Confirmation',\r\n icon: 'pi pi-exclamation-triangle',\r\n accept: () => {\r\n this.subscriptionService.ForceDeleteLicence(licence).subscribe(data => {\r\n this.subscriptionService.DeleteLicence(licence).subscribe(data => {\r\n this.GetLicenceTemplateList();\r\n this.LoadClients();\r\n })\r\n });\r\n },\r\n reject: () => {\r\n }\r\n });\r\n } else {\r\n console.log(error);\r\n }\r\n });\r\n this.clearMessage();\r\n }\r\n\r\n onRowEditLicenceSave(licence: LicenceTemplate) {\r\n this.editLicence = true;\r\n this.updateLicence = licence;\r\n\r\n }\r\n\r\n onRowEditLicenceCancel() {\r\n this.editVisibility = false;\r\n this.editLicence = false;\r\n }\r\n\r\n scrollTrigger(event) {\r\n let foundElements: HTMLCollectionOf = document.getElementsByClassName('app-outer-container');\r\n if (foundElements[0].scrollTop <= 165) {\r\n if (this.imagePositionClass != \"\") {\r\n this.imagePositionClass = \"\";\r\n }\r\n }\r\n else if (foundElements[0].scrollTop > 165) {\r\n if (this.imagePositionClass != \"fix-position-top\") {\r\n this.imagePositionClass = \"fix-position-top\";\r\n }\r\n }\r\n }\r\n\r\n onRowEditInit(rowData) {\r\n this.updateMember = true;\r\n this.newUpdatePassword = \"\";\r\n this.confirmUpdatePassword = \"\";\r\n this.disableEmailField = true;\r\n this.rowEditable = true;\r\n window.scrollTo(0, 235);\r\n this.register = rowData;\r\n this.isShowAdduserbtn = false;\r\n this.isAddUserModalOpen = true;\r\n return rowData;\r\n }\r\n\r\n onRowDelete(rowData) {\r\n }\r\n\r\n openUpdatePasswordModal() {\r\n this.isUpdatePasswordModalOpen = true;\r\n this.newUpdatePassword = null;\r\n this.confirmUpdatePassword = null;\r\n }\r\n\r\n closeUpdatePasswordModal() {\r\n this.isUpdatePasswordModalOpen = false;\r\n this.newUpdatePassword = null;\r\n this.confirmUpdatePassword = null;\r\n }\r\n\r\n closeSetPasswordModel() {\r\n this.updateMember = false;\r\n this.register = null;\r\n this.isAddUserModalOpen = false;\r\n this.isUpdatePasswordModalOpen = false;\r\n this.disableEmailField = false;\r\n }\r\n\r\n updateUser() {\r\n let updateUser = new UserDetails();\r\n updateUser.userId = this.register.userId;\r\n updateUser.firstName = this.register.firstName;\r\n updateUser.lastName = this.register.lastName;\r\n updateUser.department = this.register.department;\r\n updateUser.email = this.register.email;\r\n updateUser.isActive = this.register.isActive;\r\n updateUser.isAdmin = this.register.isAdmin;\r\n updateUser.licenceId = this.register.licenceId;\r\n updateUser.userName = this.register.email;\r\n updateUser.password = this.newUpdatePassword;\r\n updateUser.confirmPassword = this.confirmUpdatePassword;\r\n updateUser.isDeleted = this.register.isDeleted;\r\n this.subscriptionService.EditUser(updateUser).subscribe(\r\n data => {\r\n this.isAddUserModalOpen = false;\r\n this.register = null;\r\n this.LoadClients();\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n this.registrationSuccess = \"User updated successfully.\"\r\n },\r\n error => {\r\n if (error.status == 406) {\r\n this.passwordValidationError = \"Password and confirm password doesn't match\";\r\n this.confirmUpdatePassword = null;\r\n this.newUpdatePassword = null;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n } else if (error.status == 543) {\r\n this.successMessage = \"Password changed successfully\";\r\n this.clearMessage();\r\n } else {\r\n this.registrationError = \"Something went wrong\"\r\n this.confirmUpdatePassword = null;\r\n this.newUpdatePassword = null;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n }\r\n );\r\n }\r\n\r\n updatePasswordEvent() {\r\n let error = true;\r\n if (!this.newUpdatePassword) {\r\n this.passwordValidationError = \"New password is required\";\r\n this.DetailsError = false;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else if (this.newUpdatePassword && !this.IsStrongPassword(this.newUpdatePassword)) {\r\n this.passwordValidationError = null;\r\n this.DetailsError = true;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else {\r\n this.DetailsError = false;\r\n this.passwordValidationError = null;\r\n error = false;\r\n return error;\r\n }\r\n }\r\n\r\n updateConfirmPasswordEvent() {\r\n let error = true;\r\n if (!this.newUpdatePassword) {\r\n this.passwordValidationError = \"New password is required\";\r\n this.DetailsError = false;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else if (this.newUpdatePassword && !this.IsStrongPassword(this.newUpdatePassword)) {\r\n this.passwordValidationError = null;\r\n this.DetailsError = true;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else if (this.newUpdatePassword !== this.confirmUpdatePassword) {\r\n this.passwordValidationError = \"Password and confirm password doesn't match\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else {\r\n this.DetailsError = false;\r\n this.passwordValidationError = null;\r\n error = false;\r\n return error;\r\n }\r\n }\r\n\r\n openChangePasswordModal() {\r\n this.isChangePasswordModalOpen = true;\r\n this.newPassword = null;\r\n this.confirmPassword = null;\r\n }\r\n\r\n closeChangePasswordModal() {\r\n this.isChangePasswordModalOpen = false;\r\n this.newPassword = null;\r\n this.confirmPassword = null;\r\n }\r\n\r\n changePassword() {\r\n if (!this.changePasswordEvent() && !this.changeConfirmPasswordEvent()) {\r\n this.subscriptionService.changePassword(this.newPassword, this.confirmPassword).subscribe(\r\n data => {\r\n if (data) {\r\n this.successMessage = \"Password changed succesfully\";\r\n this.clearMessage();\r\n setTimeout(() => {\r\n this.app.logout();\r\n }, 3000);\r\n }\r\n },\r\n error => {\r\n if (error.status == 406) {\r\n this.passwordValidationError = \"Password and confirm password doesn't match\";\r\n this.confirmPassword = null;\r\n this.newPassword = null;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n } else {\r\n this.passwordValidationError = \"Something went wrong\";\r\n this.confirmPassword = null;\r\n this.newPassword = null;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n }\r\n );\r\n }\r\n }\r\n\r\n changePasswordEvent() {\r\n let error = true;\r\n if (!this.newPassword) {\r\n this.passwordValidationError = \"New password is required\";\r\n this.DetailsError = false;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else if (this.newPassword && !this.IsStrongPassword(this.newPassword)) {\r\n this.passwordValidationError = null;\r\n this.DetailsError = true;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else {\r\n this.DetailsError = false;\r\n this.passwordValidationError = null;\r\n error = false;\r\n return error;\r\n }\r\n }\r\n\r\n changeConfirmPasswordEvent() {\r\n let error = true;\r\n if (!this.newPassword) {\r\n this.passwordValidationError = \"New password is required\";\r\n this.DetailsError = false;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else if (this.newPassword && !this.IsStrongPassword(this.newPassword)) {\r\n this.passwordValidationError = null;\r\n this.DetailsError = true;\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else if (this.newPassword !== this.confirmPassword) {\r\n this.passwordValidationError = \"Password and confirm password doesn't match\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n error = true;\r\n return error;\r\n } else {\r\n this.DetailsError = false;\r\n this.passwordValidationError = null;\r\n error = false;\r\n return error;\r\n }\r\n }\r\n\r\n\r\n addNewDomain() {\r\n this.registerDomain = new NewDomain(\"\", false, 0);\r\n this.isShowAddDomainbtn = true;\r\n this.updateDomain = false;\r\n this.isAddDomainModelOpen = true;\r\n }\r\n\r\n closeAddDomain() {\r\n this.isAddDomainModelOpen = false;\r\n this.registerDomain = new NewDomain(\"\", false, 0);\r\n this.getAllTenantEmailDomains();\r\n }\r\n\r\n AddDomain() {\r\n this.isAddDomain = true;\r\n if (this.registerDomain.domainName) {\r\n this.Domains.forEach(x => {\r\n if (x.domainName == this.registerDomain.domainName.toLocaleLowerCase().trim()) {\r\n this.isAddDomain = false;\r\n this.registrationDomainError = \"This domain is already exists\";\r\n this.getAllTenantEmailDomains();\r\n }\r\n }),\r\n this.clearMessage();\r\n if (this.isAddDomain)\r\n this.subscriptionService.AddDomain(this.registerDomain, this.tenantId).subscribe(data => {\r\n this.registrationDomainSuccess = \"Domain added successfully\";\r\n this.getAllTenantEmailDomains();\r\n this.isAddDomainModelOpen = false;\r\n this.clearMessage();\r\n this.registerDomain = new NewDomain(\"\", false, 0);\r\n });\r\n } else {\r\n this.registrationDomainError = \"Enter the domain name\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n }\r\n\r\n UpdateDomain() {\r\n this.isUpdateDomain = true;\r\n let domain = new DomainDetails();\r\n domain.id = this.registerDomain.id;\r\n domain.domainName = this.registerDomain.domainName.toLocaleLowerCase().trim();\r\n domain.isActive = this.registerDomain.isActive;\r\n if (domain.domainName) {\r\n this.Domains.forEach(x => {\r\n if (x.domainName == domain.domainName) {\r\n this.isUpdateDomain = false;\r\n this.registrationDomainError = \"This domain is already exists\";\r\n this.getAllTenantEmailDomains();\r\n }\r\n }),\r\n this.clearMessage();\r\n if (this.isUpdateDomain) {\r\n this.subscriptionService.EditDomain(domain, this.tenantId).subscribe(data => {\r\n this.registrationDomainSuccess = \"Domain updated successfully\";\r\n this.getAllTenantEmailDomains();\r\n this.isAddDomainModelOpen = false;\r\n this.isShowAddDomainbtn = true;\r\n this.clearMessage();\r\n this.registerDomain = new NewDomain(\"\", false, 0);\r\n }, error => {\r\n if (error.status) {\r\n this.registrationDomainError = \"Something went wrong\";\r\n }\r\n })\r\n }\r\n } else {\r\n this.registrationDomainError = \"Enter the domain name\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n }\r\n\r\n closeUpdateModel() {\r\n this.isAddDomainModelOpen = false;\r\n this.registerDomain = new NewDomain(\"\", false, 0);\r\n this.getAllTenantEmailDomains();\r\n }\r\n\r\n closeAddModel() {\r\n this.isAddDomainModelOpen = false;\r\n this.registerDomain = new NewDomain(\"\", false, 0);\r\n this.getAllTenantEmailDomains();\r\n }\r\n\r\n onRowEditDomainInit(rowData) {\r\n this.isAddDomainModelOpen = true;\r\n this.isShowAddDomainbtn = false;\r\n this.updateDomain = true;\r\n window.scrollTo(0, 245);\r\n this.registerDomain = rowData;\r\n }\r\n\r\n IsStrongPassword(password: string): boolean {\r\n let requiredlength = password.length >= 8 ? true : false;\r\n let hasNumber = /\\d/.test(password);\r\n let hasUpper = /[A-Z]/.test(password);\r\n let hasLower = /[a-z]/.test(password);\r\n let hasSpecialChar = /[^a-zA-Z0-9]/.test(password);\r\n let hasWhiteSpace = /^\\s+$/.test(password);\r\n return hasNumber && hasUpper && hasLower && hasSpecialChar && requiredlength && !hasWhiteSpace;\r\n }\r\n\r\n clearMessage() {\r\n this.timeOut = setTimeout(() => {\r\n this.successMessage = null;\r\n this.DetailsError = false;\r\n this.passwordValidationError = null;\r\n this.registrationError = null;\r\n this.editSuccess = null;\r\n this.registrationSuccess = null;\r\n this.registrationDomainError = null;\r\n this.registrationDomainSuccess = null;\r\n this.domainrecordsfound = null;\r\n this.editError = null;\r\n this.licenceError = null;\r\n this.licenceSuccess = null;\r\n }, 10000);\r\n }\r\n\r\n resetClearMessageTime() {\r\n clearTimeout(this.timeOut);\r\n }\r\n\r\n AddUser() {\r\n this.fieldValidation();\r\n }\r\n\r\n\r\n fieldValidation() {\r\n if (this.register.firstName || this.register.lastName || this.register.email) {\r\n if (this.register.firstName) {\r\n if (this.register.lastName) {\r\n if (this.register.email) {\r\n const regularExpression = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n if (regularExpression.test(this.register.email.toLowerCase())) {\r\n this.subscriptionService.AddUser(this.register, this.tenantId).subscribe(data => {\r\n this.registrationSuccess = \"User Added Successfully\";\r\n this.subscriptionService.GetSubscribedPlan(this.tenantId).subscribe(data => {\r\n this.Plan = data;\r\n });\r\n this.LoadClients();\r\n this.isAddUserModalOpen = false;\r\n this.clearMessage();\r\n this.register = new NewClient(\"\", \"\", \"\", \"\", \"\", \"\", 0, \"\", false, false, false, false);\r\n\r\n },\r\n error => {\r\n if (error.status == 409) {\r\n this.registrationError = \"This account already exist.\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n if (error.status == 406) {\r\n this.registrationError = \"You have exceeded the maximum user limit of \" + this.Plan.userCount + \" for your subscription.\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n if (error.status == 403) {\r\n this.registrationError = \"Some of the data entered is not valid.\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n if (error.status == 404) {\r\n this.registrationError = \"This user domain is blocked for use. Please use a business email.\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n }\r\n );\r\n } else {\r\n this.registrationError = \"Email is not valid\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n } else {\r\n this.registrationError = \"Enter the Email\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n } else {\r\n this.registrationError = \"Email the last Name\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n } else {\r\n this.registrationError = \"Enter the first Name\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n\r\n } else {\r\n this.registrationError = \"Enter the required details\";\r\n this.resetClearMessageTime();\r\n this.clearMessage();\r\n }\r\n }\r\n\r\n GetLicenceList() {\r\n this.subscriptionService.LicenceList(this.tenantId).subscribe(\r\n data => {\r\n data.forEach(x => {\r\n if (x.isActive) {\r\n this.licenceList.push({ label: x.licenceName, value: x.licenceName, id: x.licenceId })\r\n }\r\n })\r\n });\r\n }\r\n\r\n LoadClients() {\r\n this.subscriptionService.GetClients(this.tenantId).subscribe(\r\n data => {\r\n this.clients = data;\r\n },\r\n error => {\r\n if (error.status) {\r\n this.clientrecordsfound = \"No clients found\"\r\n }\r\n }\r\n );\r\n }\r\n\r\n onUsersTabClick() {\r\n this.LoadClients();\r\n this.licenceList = [{ label: 'No Template', value: 'NoLicence', id: 0 }];\r\n this.GetLicenceList();\r\n }\r\n\r\n\r\n reSendVerificationEmail(email: string) {\r\n var resendLinkModel = new ResendLinkModel(email);\r\n\r\n this.subscriptionService.reSendConfirmationEmail(resendLinkModel).subscribe(\r\n data => {\r\n this.messageService.add({ key: 'ConfirmEmail', severity: 'success', summary: 'HUT Success', detail: 'Confirmation email sent to ' + email, sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear()\r\n }, 7000);\r\n },\r\n error => {\r\n if (error.status == 500) {\r\n this.messageService.add({ key: 'ConfirmEmail', severity: 'error', summary: 'HUT Error', detail: 'Error occured while sent confirmation mail', sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear()\r\n }, 7000);\r\n } else if (error.status == 406) {\r\n this.messageService.add({ key: 'ConfirmEmail', severity: 'warn', summary: this.ToastMessageWarning, detail: 'Email already verified', sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear()\r\n }, 7000);\r\n } else if (error.status == 401) {\r\n this.messageService.add({ key: 'ConfirmEmail', severity: 'error', summary: 'HUT Error', detail: 'You are not authorized', sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear()\r\n }, 7000);\r\n }\r\n }\r\n );\r\n }\r\n\r\n resetPasswordLink(email) {\r\n var forget = new Forgetpassword(email);\r\n this.loginService.forgetpassword(forget)\r\n .subscribe(\r\n data => {\r\n this.messageService.add({ key: 'ConfirmEmail', severity: 'success', summary: 'HUT Success', detail: 'Reset Password Link sent to ' + email, sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear()\r\n }, 7000);\r\n })\r\n }\r\n\r\n transform(value: string): string {\r\n\r\n let first = value.substr(0, 1).toUpperCase();\r\n return first + value.substr(1);\r\n }\r\n\r\n GetLicenceTemplateList() {\r\n this.subscriptionService.GetLicenceTemplateList(this.tenantId).toPromise().then(data => {\r\n this.licenceTemplateList = data;\r\n });\r\n }\r\n\r\n GetTenantSettings() {\r\n this.subscriptionService.GetTenantSettings(this.tenantId).subscribe(data => {\r\n this.criminalitySearchResultCount = data.criminalitySearchResultCount;\r\n var filter = this.criminalitySearchRankOptions.filter(x => x.value == data.criminalitySearchRank);\r\n if (filter.length > 0) {\r\n this.criminalitySearchOptionSelect = filter[0].range;\r\n this.criminalitySearchOptionSelectDescription = filter[0].name;\r\n } else {\r\n this.criminalitySearchOptionSelect = null;\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n criminalityrankchange() {\r\n var filter = this.criminalitySearchRankOptions.filter(x => x.range == this.criminalitySearchOptionSelect);\r\n if (filter.length > 0) {\r\n this.criminalitySearchOptionSelectDescription = filter[0].name;\r\n }\r\n }\r\n\r\n SaveTenantSettings() {\r\n var criminalityRank: number;\r\n var filter = this.criminalitySearchRankOptions.filter(x => x.range == this.criminalitySearchOptionSelect);\r\n if (filter.length > 0) {\r\n criminalityRank = filter[0].value;\r\n }\r\n const requestData: TenantSettings = {\r\n criminalitySearchRank: criminalityRank,\r\n criminalitySearchResultCount: this.criminalitySearchResultCount\r\n }\r\n this.subscriptionService.SaveTenantSettings(requestData, this.tenantId).subscribe(data => {\r\n this.userSettingsSuccessMessage = \"User settings saved successful\";\r\n\r\n setTimeout(() => {\r\n this.userSettingsSuccessMessage = null;\r\n }, 3000)\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
{{displayTenantName}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Profile

\r\n
\r\n
\r\n
= 0 && planExpiry.subscriptionExpiry.days <= 5) && planExpiry.subscriptionExpiry.hours >= 0 && planExpiry.subscriptionExpiry.minutes >= 0 && planExpiry.subscriptionExpiry.seconds > 0)\">\r\n
\r\n
Your subscription expire within {{planExpiry.subscriptionExpiry.days}} days.
\r\n
\r\n
\r\n
\r\n
\r\n
{{PlanExpiryMessage}}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{passwordValidationError}}
\r\n

\r\n
\r\n\r\n
\r\n

\r\n {{successMessage}}
\r\n

\r\n
\r\n\r\n
\r\n

\r\n \r\n \r\n should contain minimum 8 characters
\r\n

    \r\n
  • Lowercase(a-z)
  • \r\n
  • Uppercase(A-Z)
  • \r\n
  • Number(0-9)
  • \r\n
  • Special characters
  • \r\n
  • White spaces not allowed
  • \r\n
\r\n \r\n \r\n

\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n

Team Access

\r\n Invite user limit is reached.\r\n 0\" class=\"text-muted\">You can add {{ Plan.userCount }} more team member(s).\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n

Add New Member

\r\n

Update Member

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n {{passwordValidationError}}
\r\n

\r\n
\r\n\r\n
\r\n

\r\n {{successMessage}}
\r\n

\r\n
\r\n\r\n
\r\n

\r\n \r\n \r\n should contain minimum 8 characters
\r\n

    \r\n
  • Lowercase(a-z)
  • \r\n
  • Uppercase(A-Z)
  • \r\n
  • Number(0-9)
  • \r\n
  • Special characters
  • \r\n
  • White spaces not allowed
  • \r\n
\r\n \r\n \r\n

\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n {{registrationError}}
\r\n

\r\n
\r\n
\r\n
\r\n

\r\n {{ registrationSuccess }}
\r\n

\r\n
\r\n\r\n\r\n

Team Members

\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n =50?true:false\"\r\n currentPageReportTemplate=\"Showing {first} to {last} of {totalRecords} entries\">\r\n \r\n \r\n User Name\r\n Template\r\n Status\r\n Email Verified\r\n \r\n \r\n \r\n \r\n \r\n {{client.firstName +' ' + client.lastName | titlecase }}\r\n {{client.licenceName ? client.licenceName : \"No Licence\"}}\r\n {{ client.isActive ? 'Active' : 'Inactive'}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{clientrecordsfound}}
\r\n

\r\n
\r\n\r\n
\r\n

\r\n {{ editError }}
\r\n

\r\n
\r\n\r\n
\r\n

\r\n {{ editSuccess }}
\r\n

\r\n
\r\n\r\n
\r\n
\r\n

Template

\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n

Headsup Search

\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n Risk Category\r\n Enabled\r\n Locked\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{item.itemName}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n

Headsup Screen

\r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n Risk Category\r\n Enabled\r\n Locked\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{item.itemName}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n

Search Availability

\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n Risk Category \r\n Enabled\r\n Locked\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{item.itemName}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n

You do not have any allowed licence items to create template.

\r\n
\r\n\r\n
\r\n {{ licenceError }}\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ licenceSuccess }}
\r\n

\r\n
\r\n\r\n \r\n 50?true:false\"\r\n currentPageReportTemplate=\"Showing {first} to {last} of {totalRecords} entries\">\r\n \r\n \r\n Name\r\n Status\r\n \r\n \r\n \r\n \r\n \r\n {{list.licenceName}}\r\n {{list.isActive === true ? 'Active' : 'Inactive'}}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n

Reports

\r\n
List of searches
\r\n
\r\n
\r\n
\r\n Last 3 Months\r\n Last 6 Months\r\n Last 12 Months\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
No record found.
\r\n
\r\n
\r\n 25 ?true :false\"\r\n currentPageReportTemplate=\"Showing {first} to {last} of {totalRecords} entries\">\r\n \r\n \r\n \r\n Month\r\n Search\r\n Screen\r\n API\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{report.startingDate | date:'MMM yyyy'}}\r\n \r\n \r\n {{report.searchcount}}\r\n \r\n \r\n {{report.screencount}}\r\n \r\n \r\n {{report.api}}\r\n \r\n \r\n \r\n \r\n\r\n
\r\n

No Record Found.

\r\n
\r\n
\r\n Loading...\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
ReferenceSearch DateUser NameSearch NameSearch TypeVRNVechile CheckIs Valid Profile
{{audit.reference}}{{audit.searchDate}}{{audit.userName}}{{audit.searchName}}{{audit.searchType}}{{audit.vrn}}{{audit.vechileCheck}}{{audit.apimi.isValidProfile}}
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n

Domain list

\r\n Manage your email screening ignore list below. These domains will be ignored by HeadsUp while screening data\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n

Add New Domain

\r\n

Update Domain

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n {{registrationDomainError}}
\r\n

\r\n
\r\n\r\n
\r\n

\r\n {{ registrationDomainSuccess }}
\r\n

\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n =10?true:false\" [autoLayout]=\"true\"\r\n currentPageReportTemplate=\"Showing {first} to {last} of {totalRecords} entries\">\r\n \r\n \r\n Domain Name\r\n Status\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{domain.domainName}}\r\n \r\n \r\n {{ domain.isActive ? 'Active' : 'Inactive'}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n {{domainrecordsfound}}
\r\n

\r\n
\r\n
\r\n\r\n
\r\n

Search Settings

\r\n\r\n Manage your search settings.\r\n\r\n
\r\n

\r\n {{userSettingsSuccessMessage}}
\r\n

\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{criminalitySearchOptionSelectDescription}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-business-result-business',\r\n templateUrl: './business-result-business.component.html',\r\n styleUrls: ['./business-result-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class BusinessResultBusinessComponent implements OnInit {\r\n\r\n @Input() business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n VRN:\r\n
\r\n
\r\n
\r\n \r\n

\r\n VRN is required\r\n

\r\n

\r\n VRN is not valid.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n \r\n \r\n AVA\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { ConfirmationService } from 'primeng/api';\r\nimport { AccessData, ProfileData, RequestData } from '../../../models/SearchRequestModel';\r\nimport { AVAResultModel } from '../../../models/AVAResultModel';\r\nimport { DVLAResultModel, MotHistoryResultModel } from '../../../models/DVLAResultModel';\r\nimport { ProspectResultModel } from '../../../models/CounterFraudResultModel';\r\nimport { ExperianResultModel } from '../../../models/ExperianResultModel';\r\nimport { MessagingService } from '../../../../services/messaging.service';\r\nimport { SearchService } from '../../../../services/search.service';\r\nimport { Shared } from '../../../../services/shared';\r\nimport { SearchType } from '../../../models/SearchType';\r\nimport { Item } from '../../../models/Items';\r\n\r\n@Component({\r\n selector: 'app-uk-motor',\r\n templateUrl: './uk-motor.component.html',\r\n styleUrls: ['./uk-motor.component.css', '../../shared/shared.searchpage.css']\r\n})\r\nexport class UkMotorComponent implements OnInit {\r\n\r\n private vrnValidationPattern: string = \"^(([A-Za-z]{1,2}[ ]?[0-9]{1,4})|([A-Za-z]{3}[ ]?[0-9]{1,3})|([0-9]{1,3}[ ]?[A-Za-z]{3})|([0-9]{1,4}[ ]?[A-Za-z]{1,2})|([A-Za-z]{3}[ ]?[0-9]{1,3}[ ]?[A-Za-z])|([A-Za-z][ ]?[0-9]{1,3}[ ]?[A-Za-z]{3})|([A-Za-z]{2}[ ]?[0-9]{2}[ ]?[A-Za-z]{3})|([A-Za-z]{3}[ ]?[0-9]{4})|([0-9]{2,3}-{1}[A-Z]{1,2}-?[0-9]{1,6}))$\";\r\n\r\n public motorForm: FormGroup;\r\n public validation: any = {\r\n 'reference': [Validators.required],\r\n 'vrn': [Validators.required, Validators.pattern(this.vrnValidationPattern)]\r\n };\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n public isExperianTabShow: boolean = false;\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n public clearSearchButtonVisibility: boolean = true;\r\n public loggedInUsername: string = \"\";\r\n\r\n public avaResultModel: AVAResultModel = new AVAResultModel();\r\n public dvlaResultModel: DVLAResultModel = new DVLAResultModel();\r\n public prospectResultModel: ProspectResultModel = new ProspectResultModel();\r\n public experianResultModel: ExperianResultModel = new ExperianResultModel();\r\n public motHistoryResultModel: MotHistoryResultModel = new MotHistoryResultModel();\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private messageService: MessagingService,\r\n private router: Router,\r\n private confirmationService: ConfirmationService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"MOTOR\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.motorForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n vrn: [\"\"],\r\n avaAccess: [false]\r\n });\r\n this.CheckProspectHitAndProfileAccess();\r\n this.getLicenceItems();\r\n this.getUserDetails();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public motorSearch(): void {\r\n this.addValidators();\r\n this.motorForm.updateValueAndValidity();\r\n\r\n if (this.motorForm.valid) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n this.saveAsPDFButtonVisibility = true;\r\n this.clearSearchButtonVisibility = true;\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n if (requestObj.accessData.isAVAAccess) {\r\n this.isExperianTabShow = false;\r\n } else {\r\n this.isExperianTabShow = true;\r\n }\r\n\r\n // AVA Search\r\n this.avaCheck(requestObj);\r\n\r\n // DVLA Motor Check\r\n this.dvlaMotorCheck(requestObj);\r\n\r\n if (this.prospectResultModel.isProspectHitAccess) {\r\n // Prospect Hit Check\r\n this.prospectHitCheck(requestObj);\r\n }\r\n\r\n // Experian Search\r\n this.experianMotor(requestObj);\r\n\r\n // MOT History\r\n this.motHistory(requestObj);\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.motorForm.get('reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 5000);\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n // Get MOT History Data\r\n public motHistory(requestData: RequestData) {\r\n this.motHistoryResultModel.isLoading = false;\r\n this.motHistoryResultModel.noRelevantData = false;\r\n this.motHistoryResultModel.responseData = null;\r\n this.motHistoryResultModel.searchFail = false;\r\n\r\n this.motHistoryResultModel.isLoading = true;\r\n this.searchService.MotHistory(requestData).subscribe(data => {\r\n this.motHistoryResultModel.isLoading = false;\r\n if (data[\"status\"] == 200) {\r\n let result = JSON.parse(data[\"data\"]);\r\n if (result.length > 0) {\r\n this.motHistoryResultModel.responseData = result[0];\r\n } else {\r\n this.motHistoryResultModel.noRelevantData = true;\r\n }\r\n } else {\r\n this.motHistoryResultModel.noRelevantData = true;\r\n }\r\n }, error => {\r\n console.log(error);\r\n this.motHistoryResultModel.isLoading = false;\r\n this.motHistoryResultModel.searchFail = true;\r\n })\r\n }\r\n\r\n // Check about the access of Prospect hit & Access API\r\n public CheckProspectHitAndProfileAccess() {\r\n this.prospectResultModel.isProspectHitAccess = false;\r\n this.prospectResultModel.isProspectProfileAccess = false;\r\n this.searchService.CheckProsectHitAndProfileAccessClient().subscribe(data => {\r\n this.prospectResultModel.isProspectHitAccess = data['isProspectHitEnabled'];\r\n this.prospectResultModel.isProspectProfileAccess = data['isProspectProfileEnabled'];\r\n });\r\n }\r\n\r\n // Prospect profile request from prospect result component\r\n public prospectProfileRequest() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.prospectProfileCheck(requestObj);\r\n }\r\n\r\n // Prospect profile check API call\r\n public prospectProfileCheck(requestObj: RequestData): void {\r\n if (!this.prospectResultModel.prospectProfileButtonDisable) {\r\n this.confirmationService.confirm({\r\n key: \"ProspectProfileRequest\",\r\n message: 'In the event of any green tick(s) below, full Prospect detail can be requested and this will be provided to the requestor via email within 2 working days.',\r\n header: 'Confirmation',\r\n icon: 'pi pi-check',\r\n accept: () => {\r\n if (this.prospectResultModel.prospectHitResponseData) {\r\n this.prospectResultModel.isProspectProfileLoading = true;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.searchService.GetProspectProfileData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.prospectProfileResponseData = data;\r\n this.prospectResultModel.prospectProfileButtonText = this.messageService.prospectProfileButtonText_Requested;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n }, (error) => {\r\n console.log(error);\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n });\r\n }\r\n },\r\n reject: () => {\r\n }\r\n });\r\n }\r\n\r\n }\r\n\r\n\r\n // Prospect hit check API call\r\n public prospectHitCheck(requestObj: RequestData): void {\r\n this.prospectResultModel.noSearchSelect = false;\r\n if (requestObj.accessData.isCounterFraudAccess) {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.validation = false;\r\n this.prospectResultModel.searchFail = false;\r\n this.prospectResultModel.prospectHitResponseData = null;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.prospectResultModel.prospectProfileButtonDisable = false;\r\n this.prospectResultModel.prospectProfileButtonText = this.messageService.prospectProfileButtonText_RequestProfile;\r\n\r\n if ((requestObj.profileData.fullName && requestObj.profileData.dateOfBirth) ||\r\n (requestObj.profileData.postalCode && requestObj.profileData.addressLine1) ||\r\n requestObj.profileData.phoneNumber || requestObj.profileData.email || requestObj.profileData.vRN) {\r\n this.prospectResultModel.profileData = requestObj.profileData;\r\n this.prospectResultModel.isProspectHitLoading = true;\r\n this.searchService.GetProspectHitData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.prospectHitResponseData = data;\r\n // this.prospectResultModel.prospectProfileButtonDisable = this.prospectResultModel.prospectHitResponseData.hits.filter(x => (x.previousHit == true && x.i2Hit == true) || x.previousHit == true).length > 0 ? false : true;\r\n this.prospectResultModel.prospectProfileButtonDisable = \r\n !this.prospectResultModel.prospectHitResponseData.hits.some(\r\n x => x.previousHit || (x.previousHit && x.i2Hit) || x.i2Hit\r\n );\r\n }, (error) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.searchFail = true;\r\n console.log(error);\r\n });\r\n } else {\r\n this.prospectResultModel.validation = true;\r\n }\r\n } else {\r\n this.prospectResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n // Experian request\r\n public experianMotor(requestObj: RequestData): void {\r\n this.experianResultModel.isLoading = false;\r\n this.experianResultModel.noRelevantData = false;\r\n this.experianResultModel.noSearchSelect = false;\r\n this.experianResultModel.responseData = null;\r\n this.experianResultModel.searchFail = false;\r\n\r\n if (!requestObj.accessData.isAVAAccess) {\r\n this.experianResultModel.isLoading = true;\r\n this.searchService.ExperianMotor(requestObj).subscribe(data => {\r\n this.experianResultModel.isLoading = false;\r\n this.experianResultModel.responseData = JSON.parse(data[\"data\"]);\r\n if (!this.experianResultModel.responseData) {\r\n this.experianResultModel.noRelevantData = true;\r\n }\r\n }, error => {\r\n this.experianResultModel.isLoading = false;\r\n this.experianResultModel.searchFail = false;\r\n console.log(error);\r\n });\r\n }\r\n\r\n }\r\n\r\n // DVLA Motor request\r\n public dvlaMotorCheck(requestObj: RequestData) {\r\n this.dvlaResultModel.isLoading = false;\r\n this.dvlaResultModel.noRelevantData = false;\r\n this.dvlaResultModel.responseData = null;\r\n this.dvlaResultModel.searchFail = false;\r\n\r\n this.dvlaResultModel.isLoading = true;\r\n this.searchService.DVLAMotor(requestObj).subscribe(data => {\r\n this.dvlaResultModel.isLoading = false;\r\n if (data.status == 200) {\r\n this.dvlaResultModel.responseData = JSON.parse(data.data);\r\n } else {\r\n this.dvlaResultModel.noRelevantData = true;\r\n this.dvlaResultModel.responseData = null;\r\n }\r\n }, error => {\r\n this.dvlaResultModel.isLoading = false;\r\n this.dvlaResultModel.searchFail = true;\r\n })\r\n }\r\n\r\n // AVA check API call\r\n public avaCheck(requestObj: RequestData): void {\r\n this.avaResultModel.isLoading = false;\r\n this.avaResultModel.noRelevantData = false;\r\n this.avaResultModel.responseData = null;\r\n this.avaResultModel.searchFail = false;\r\n this.avaResultModel.noSearchSelect = false;\r\n\r\n if (this.accessData.isAVAAccess) {\r\n this.avaResultModel.isLoading = true;\r\n this.searchService.SearchAVA(requestObj).subscribe((data) => {\r\n this.avaResultModel.isLoading = false;\r\n if (data) {\r\n this.avaResultModel.responseData = data;\r\n this.avaResultModel.responseData.mot = JSON.parse(this.avaResultModel.responseData.mot);\r\n this.avaResultModel.responseData.vehicleData = JSON.parse(this.avaResultModel.responseData.vehicleData);\r\n } else {\r\n this.avaResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n this.avaResultModel.isLoading = false;\r\n this.avaResultModel.searchFail = true;\r\n console.log(error);\r\n })\r\n } else {\r\n this.avaResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.motorForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.motorForm.controls) {\r\n this.motorForm.get(control).clearValidators();\r\n this.motorForm.get(control).setValidators(this.validation[control]);\r\n this.motorForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public motorClearSearch(): void {\r\n //this.motorForm.reset();\r\n this.motorForm.patchValue({\r\n reference: \"\",\r\n vrn: \"\",\r\n audit: \"\"\r\n });\r\n for (const control in this.motorForm.controls) {\r\n this.motorForm.get(control).clearValidators();\r\n this.motorForm.get(control).updateValueAndValidity();\r\n }\r\n this.showResultTab = false;\r\n this.resetResultObjects();\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n }\r\n\r\n // Reset Object\r\n public resetResultObjects() {\r\n this.avaResultModel = new AVAResultModel();\r\n this.dvlaResultModel = new DVLAResultModel();\r\n this.experianResultModel = new ExperianResultModel();\r\n this.motHistoryResultModel = new MotHistoryResultModel();\r\n\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.validation = false;\r\n this.prospectResultModel.searchFail = false;\r\n this.prospectResultModel.prospectHitResponseData = null;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.prospectResultModel.prospectProfileButtonDisable = false;\r\n this.prospectResultModel.prospectProfileButtonText = \"\";\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.motorForm.get('audit').value;\r\n profileData.referenceNumber = this.motorForm.get('reference').value;\r\n profileData.vRN = this.motorForm.get('vrn').value;\r\n\r\n profileData.searchType = SearchType.Motor.toString();\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n // Access object framing\r\n var accessData = new AccessData();\r\n accessData = this.accessData;\r\n accessData.isAVAAccess = this.motorForm.get('avaAccess').value;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = accessData;\r\n return requestObj;\r\n }\r\n\r\n public disableAccessData(): void {\r\n this.motorForm.patchValue({\r\n avaAccess: this.accessData.isAVAAccess\r\n });\r\n\r\n if (!this.accessData.isAVAToggle) {\r\n this.motorForm.get(\"avaAccess\").disable();\r\n }\r\n\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n this.disableAccessData();\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DriverLicenceCheckResultModel } from '../../../../models/DriverLicenceCheckResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-driver-details',\r\n templateUrl: './driver-details.component.html',\r\n styleUrls: ['./driver-details.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class DriverDetailsComponent implements OnInit {\r\n @Input() driverLicenceResultDataModel: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
{{messagingService.SearchFail}}
\r\n
{{messagingService.NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
Last Name:
\r\n
{{driverLicenceResultDataModel.responseData.driver.lastName}}
\r\n
\r\n
\r\n
First Names:
\r\n
{{driverLicenceResultDataModel.responseData.driver.firstNames}}
\r\n
\r\n
\r\n
Gender:
\r\n
{{driverLicenceResultDataModel.responseData.driver.gender}}
\r\n
\r\n
\r\n
Date Of Birth:
\r\n
{{driverLicenceResultDataModel.responseData.driver.dateOfBirth}}
\r\n
\r\n
\r\n
Disqualified Until:
\r\n
{{driverLicenceResultDataModel.responseData.driver.disqualifiedUntil}}
\r\n
\r\n
\r\n
Disqualified For Life:
\r\n
{{driverLicenceResultDataModel.responseData.driver.disqualifiedForLife}}
\r\n
\r\n
\r\n
Disqualified Pending Sentence:
\r\n
{{driverLicenceResultDataModel.responseData.driver.disqualifiedPendingSentence}}
\r\n
\r\n
\r\n
Address:
\r\n
\r\n
\r\n {{driverLicenceResultDataModel.responseData.driver.address.unstructuredAddress.line1}}\r\n
\r\n
\r\n {{driverLicenceResultDataModel.responseData.driver.address.unstructuredAddress.line5}}\r\n
\r\n
\r\n {{driverLicenceResultDataModel.responseData.driver.address.unstructuredAddress.postcode}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n ","export class MobileResponse {\r\n public responseData: any;\r\n public searchFail: boolean;\r\n public noErrorPhone: boolean;\r\n public noRelevantDataMobile: boolean;\r\n public validationError: string;\r\n constructor() { }\r\n}\r\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ScreenInputData } from '../../../screensearch/Models/CSVRecords';\r\nimport { TenantSettings } from '../../../subscription/Models/UserSettings';\r\nimport { AVAResultData } from '../search-pages/models/AVAResultModel';\r\nimport { Item, Items, SearchDomain, Token } from '../search-pages/models/Items';\r\nimport { RTWDepartmentDropdownModel } from '../search-pages/models/RTWModel';\r\nimport { RequestData } from '../search-pages/models/SearchRequestModel';\r\nimport { TenantRegion } from '../search-pages/models/TenantRegionResposne';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SearchService {\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n public GetPersonSearch(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/GetPersonSearch', requestData);\r\n }\r\n\r\n public SearchAML(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/SearchAMLData', requestData);\r\n }\r\n\r\n public SearchAVA(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/SearchAVA', requestData);\r\n }\r\n\r\n public SearchDriverLicenceCheck(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/SearchDriverLicenceCheck', requestData);\r\n }\r\n \r\n\r\n public GetMobileData(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/GetMobileData', requestData);\r\n }\r\n\r\n public EmailDomainCheck(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/EmailDomainCheck', requestData);\r\n }\r\n\r\n public EmailValidationCheck(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/EmailValidation', requestData);\r\n }\r\n\r\n public GetCounterFraudData(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/GetCounterFraudData', requestData);\r\n }\r\n\r\n public DirectorshipSearchData(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/DirectorshipSearch', requestData);\r\n }\r\n\r\n public GetCompaniesHouse(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/GetCompaniesHouse', requestData);\r\n }\r\n\r\n public GetProspectHitData(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/GetProspectHitData', requestData);\r\n }\r\n\r\n public GetProspectProfileData(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/GetProspectProfileData', requestData);\r\n }\r\n\r\n public RightToWorkSearch(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/RightToWork', requestData);\r\n }\r\n\r\n public IDCheck(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/IDCheck', requestData);\r\n }\r\n\r\n public EmailAge(requestData: RequestData, debounceReason: string | null): Observable {\r\n return this.http.post(`/api/V3Search/EmailAge?debounceReason=${debounceReason}`, requestData);\r\n }\r\n\r\n public SearchCCJAndInsolvency(requestData: RequestData, finalcialData: any): Observable {\r\n const request = {\r\n \"finalcialData\": finalcialData,\r\n \"requestData\": requestData\r\n }\r\n return this.http.post('/api/V3Search/SearchCCJInsolvencyDetailData', request);\r\n }\r\n\r\n public CheckProsectHitAndProfileAccessClient(): Observable {\r\n return this.http.get('/api/V3Search/CheckProspectClientData');\r\n }\r\n\r\n public getDomainJson(): Observable {\r\n return this.http.get('../assets/jsonfiles/searchDomains.json');\r\n }\r\n\r\n public AssociatedSearchData(searchDomain: string, requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/AssociatedDataSearch?&searchDomain=' + searchDomain, requestData.profileData);\r\n }\r\n\r\n public BusinessOpenSourceSearch(searchDomain: string, requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/BusinessOpenSourceSearch?&searchDomain=' + searchDomain, requestData);\r\n }\r\n\r\n public refreshtoken(token: Token): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json' })\r\n };\r\n return this.http.post('/api/Token/Refresh', token);\r\n }\r\n\r\n public SearchData(lexicon: string, searchDomain: string, requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/DataSearch?lexiconKey=' + lexicon + '&searchDomain=' + searchDomain, requestData);\r\n }\r\n\r\n public SocialMedia(EachsocialMediaCategory: string, searchDomain: string, requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/SearchSocialMediaData?EachsocialMediaCategory=' + EachsocialMediaCategory + '&searchDomain=' + searchDomain, requestData);\r\n }\r\n\r\n public BusinessSocialMedia(EachsocialMediaCategory: string, searchDomain: string, requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/SearchBusinessSocialMedia?EachsocialMediaCategory=' + EachsocialMediaCategory + '&searchDomain=' + searchDomain, requestData);\r\n }\r\n\r\n public analyseResultRanking(searchUniqueIdlist: string[], lexiconCategory: string, searchDomain: string, devData: boolean, requestData: RequestData): Observable {\r\n const allRequestData = {\r\n \"searchUniqueIdlist\": searchUniqueIdlist,\r\n \"requestData\": requestData\r\n }\r\n return this.http.post('/api/V3Search/AnalyseResultRanking?category=' + lexiconCategory + '&searchDomain=' + searchDomain + '&devData=' + devData, allRequestData);\r\n }\r\n\r\n public updateAudit(searchType: string, auditKey: string, api: number, data: string[]) {\r\n return this.http.post('/api/V3Search/UpdateAuditByAPI?auditKey=' + auditKey + '&api=' + api + '&searchType=' + searchType, data);\r\n }\r\n\r\n public GetCriminalityRankForSearch(): Observable {\r\n return this.http.get('api/Subscription/GetCriminalitySearchRankForSearch');\r\n }\r\n\r\n public SearchSports(EachlifestyleCategory: string, searchDomain: string, requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/SearchLifeStyleData?EachlifestyleCategory=' + EachlifestyleCategory + '&searchDomain=' + searchDomain, requestData.profileData);\r\n }\r\n\r\n public SearchPIPL(requestData: RequestData): Observable {\r\n return this.http.post('/api/V3Search/PIPLSearch', requestData);\r\n }\r\n\r\n public AllowedLicence(): Observable {\r\n return this.http.get('api/V3Search/GetLicenceItem');\r\n }\r\n\r\n public GetAllowedSearchAvailablityItems(): Observable {\r\n return this.http.get('api/V3Search/GetAllowedSearchAvailablityItems');\r\n }\r\n\r\n public GetAuditKey(): Promise {\r\n return this.http.get('api/V3Search/GetAuditKey').toPromise();\r\n }\r\n\r\n public GetScreenSearchData(): Observable {\r\n return this.http.get('api/screensearch');\r\n }\r\n\r\n public ProcessScreenSearch(screenInputData: ScreenInputData): Observable {\r\n return this.http.post('api/screensearch', screenInputData);\r\n }\r\n\r\n public MobileSearchScreen(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/MobileSearchScreen', requestData);\r\n }\r\n\r\n public OpenSourceMobileSearch(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/MobileOpenSource', requestData);\r\n }\r\n\r\n public OpenSourceEmailSearch(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/EmailOpenSource', requestData);\r\n }\r\n\r\n public OpenSourceSearch(requestData: RequestData, domain: string): Observable {\r\n return this.http.post('api/V3Search/OpenSourceSearch?searchDomain=' + domain, requestData);\r\n }\r\n\r\n public DVLAMotor(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/DVLAMotor', requestData);\r\n }\r\n\r\n public GetEmailageOrdId(): Observable {\r\n return this.http.get('api/V3Search/GetEmailageOrdId');\r\n }\r\n\r\n public ExperianMotor(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/ExperianMotor', requestData);\r\n }\r\n\r\n public DocumentValidation(reference: string, searchType: string, formData: FormData): Observable {\r\n return this.http.post(`/api/V3Search/DocumentValidation?reference=${reference}&searchType=${searchType}`, formData);\r\n }\r\n\r\n public VatSearch(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/VATSearch', requestData);\r\n }\r\n\r\n public BusinessSearch(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/BusinessSearch', requestData);\r\n }\r\n\r\n public MotHistory(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/MotHistory', requestData);\r\n }\r\n\r\n public GetT2A(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/GetT2AAPIResult', requestData);\r\n }\r\n\r\n public getUserDetails(): Observable {\r\n return this.http.get('api/V3Search/GetUserDetails');\r\n }\r\n\r\n public GetRTWDepartmentDropdown(): Observable {\r\n return this.http.get('api/V3Search/GetRTWDepartmentDropdown');\r\n }\r\n\r\n public GetLandRegistryResult(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/LandRegistryResult', requestData);\r\n }\r\n\r\n public MobileLexisNexisReverseSearch(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/MobileLexisNexisReverseSearch', requestData);\r\n }\r\n\r\n public GetTenantRegion(): Observable {\r\n return this.http.get('api/Subscription/GetTenantRegion');\r\n }\r\n\r\n public GetStatesForDropdown(): Observable {\r\n return this.http.get('api/V3Search/GetStatesForDropdown');\r\n }\r\n\r\n public LandRegistryBusinessResult(requestData: RequestData): Observable {\r\n return this.http.post('api/V3Search/LandRegistryBusinessResult', requestData);\r\n }\r\n\r\n \r\n\r\n}\r\n","export class InputData {\r\n public referenceNumber: string ;\r\n public searchName: string ;\r\n public postCode: string ;\r\n public phoneNumber: string ;\r\n public email: string ;\r\n public vrn: string ;\r\n public dateOfBirth: string ;\r\n public addressLine1: string ;\r\n public addressLine2: string ;\r\n public city: string ;\r\n public state: string ;\r\n public country: string ;\r\n public companyName: string ;\r\n public associatedName: any[] = [{ user: '' }, { user: '' }, { user: '' }, { user: '' }];\r\n\r\n constructor() { }\r\n}\r\n\r\nexport class InputAccessData {\r\n public HUTDatabase: boolean;\r\n public Mobile: boolean;\r\n public Email: boolean;\r\n public Identity: boolean;\r\n public Financial: boolean;\r\n public Address: boolean;\r\n public Criminality: boolean;\r\n public SocialMedia: boolean;\r\n public CounterFraud: boolean;\r\n public Sports: boolean;\r\n public Advert: boolean;\r\n public CompaniesHouse: boolean;\r\n public AVA: boolean;\r\n public AML: boolean;\r\n public CCJDetails: boolean;\r\n public InsolvencyDetails: boolean;\r\n\r\n constructor() { }\r\n}\r\n","/* (ignored) */","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AVAResultModel } from '../../../../../models/AVAResultModel';\r\nimport { ProspectResultModel } from '../../../../../models/CounterFraudResultModel';\r\nimport { DVLAResultModel, MotHistoryResultModel } from '../../../../../models/DVLAResultModel';\r\nimport { ExperianResultModel } from '../../../../../models/ExperianResultModel';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-motor',\r\n templateUrl: './export-pdf-motor.component.html',\r\n styleUrls: ['./export-pdf-motor.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class ExportPdfMotorComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() public ava: AVAResultModel = new AVAResultModel();\r\n @Input() public dvla: DVLAResultModel = new DVLAResultModel();\r\n @Input() public prospect: ProspectResultModel = new ProspectResultModel();\r\n @Input() public experian: ExperianResultModel = new ExperianResultModel();\r\n @Input() public motHistory: MotHistoryResultModel = new MotHistoryResultModel();\r\n @Input() public isExperianTabShow: boolean = false;\r\n @Input() public motHistoryExpandedRows: any[] = [];\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername : '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n

HUT Motor

\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n

DVLA

\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n

AVA

\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n

Prospect

\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n

MOT History

\r\n \r\n
\r\n\r\n
\r\n","export class EnhancedRecordPlusResultModel{\r\n public isLoading: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n public validation: boolean;\r\n}","export class BusinessSearchResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n}","export class ExperianResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n}\r\n","/* (ignored) */","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { PIPLResultModel } from '../../../../../models/PIPLResultModel';\r\n\r\n@Component({\r\n selector: 'app-pipl-result',\r\n templateUrl: './pipl-result.component.html',\r\n styleUrls: ['./pipl-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PiplResultComponent implements OnInit {\r\n\r\n @Input() pipl: PIPLResultModel = new PIPLResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
0\" class=\"mb-4 keep-together\">\r\n
USERNAMES
\r\n
\r\n
\r\n
\r\n {{username.name}}\r\n
\r\n
\r\n valid since: {{username.validSince}}\r\n
\r\n
\r\n Last seen: {{username.lastSeen}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
0\" class=\"mb-4 keep-together\">\r\n
PHONES
\r\n
\r\n {{phone.phoneNumber}}\r\n
\r\n
\r\n\r\n
0\" class=\"mb-4 keep-together\">\r\n
ADDRESSES
\r\n
\r\n {{address.address}}\r\n
\r\n
\r\n\r\n
0\" class=\"mb-4 keep-together\">\r\n
RELATIONSHIPS
\r\n
\r\n
\r\n
\r\n {{relation.name}}\r\n
\r\n
\r\n Valid since: {{relation.validSince}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
0\" class=\"mb-4 keep-together\">\r\n
USER IDs
\r\n
\r\n
\r\n
\r\n {{user.userId}}\r\n
\r\n
\r\n Valid since: {{user.validSince}}\r\n
\r\n
\r\n Last seen: {{user.lastValid}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
0\" class=\"mb-4 keep-together\">\r\n
URLs
\r\n
\r\n
{{url.domain}}
\r\n
\r\n {{link}}\r\n
\r\n
\r\n
\r\n
\r\n","/* (ignored) */","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n

\r\n Reference cannot be less than {{motorForm.get('reference').errors?.minlength?.requiredLength}} characters.\r\n

\r\n

\r\n Reference cannot be longer than {{motorForm.get('reference').errors?.maxlength?.requiredLength}} characters.\r\n

\r\n

\r\n White space not allowed.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Plate:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Plate is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n State:\r\n
\r\n
\r\n
\r\n \r\n

\r\n State is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { AccessData, ProfileData, RequestData } from '../../../models/SearchRequestModel';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { SearchService } from '../../../../services/search.service';\r\nimport { Router } from '@angular/router';\r\nimport { Item } from '../../../models/Items';\r\nimport { SearchType } from '../../../models/SearchType';\r\nimport { Shared } from '../../../../services/shared';\r\nimport { VehicleIdResultModel } from '../../../models/VehicleIdResultModel';\r\nimport { MotorWebResultModel } from '../../../models/MotorWebResultModel';\r\nimport { MessagingService } from '../../../../services/messaging.service';\r\nimport { WhiteSpace } from '../../../../validators/no-space.validator';\r\nimport { AustraliaSearchService } from 'src/app/demo/V3/services/australia.search.service';\r\n\r\n@Component({\r\n selector: 'app-au-motor',\r\n templateUrl: './au-motor.component.html',\r\n styleUrls: ['./au-motor.component.css', '../../shared/shared.searchpage.css']\r\n})\r\nexport class AuMotorComponent implements OnInit {\r\n public validation: any = {\r\n 'reference': [Validators.required, Validators.minLength(5), Validators.maxLength(255), WhiteSpace.noSpaceAllowed],\r\n 'plate': [Validators.required],\r\n 'state': [Validators.required]\r\n };\r\n public motorForm: FormGroup;\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n public clearSearchButtonVisibility: boolean = true;\r\n public loggedInUsername: string = \"\";\r\n public dropdownStates: any[] = [{ label: 'Select State', value: '', id: 0 }];\r\n\r\n // Result Object\r\n public motorWebResultModel: MotorWebResultModel = new MotorWebResultModel();\r\n public vehicleIdResultModel: VehicleIdResultModel = new VehicleIdResultModel();\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private australiaSearchService: AustraliaSearchService,\r\n private router: Router,\r\n private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"MOTOR\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n });\r\n\r\n this.motorForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n plate: [\"\"],\r\n state: [\"\"]\r\n });\r\n this.getLicenceItems();\r\n this.getUserDetails();\r\n this.getStatesForDropdown();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public motorSearch(): void {\r\n \r\n this.addValidators();\r\n this.motorForm.updateValueAndValidity();\r\n \r\n if (this.motorForm.valid) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n this.saveAsPDFButtonVisibility = true;\r\n this.clearSearchButtonVisibility = true;\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n // Vehicle Id Search\r\n this.vehicleIdSearch(requestObj);\r\n\r\n // Motor Web Search\r\n this.motorWebSearch(requestObj);\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n // Get states dropdown values\r\n public getStatesForDropdown() {\r\n this.searchService.GetStatesForDropdown().subscribe(data => {\r\n if (data && data.length > 0) {\r\n data.forEach(x => {\r\n this.dropdownStates.push({ id: x.id, label: x.name, value: x.code });\r\n })\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n // Vehicle Id Search\r\n public vehicleIdSearch(requestObj: RequestData): void {\r\n this.vehicleIdResultModel = new VehicleIdResultModel();\r\n this.vehicleIdResultModel.isLoading = false;\r\n this.vehicleIdResultModel.noRelevantData = false;\r\n this.vehicleIdResultModel.responseData = null;\r\n this.vehicleIdResultModel.searchFail = false;\r\n\r\n this.vehicleIdResultModel.isLoading = true;\r\n this.australiaSearchService.GetVehicleIdSearchResult(requestObj).subscribe(data => {\r\n this.vehicleIdResultModel.isLoading = false;\r\n if (data.status == 200 && data.data) {\r\n this.vehicleIdResultModel.responseData = JSON.parse(data.data);\r\n if (this.vehicleIdResultModel.responseData.vehicleList && this.vehicleIdResultModel.responseData.vehicleList.length === 0) {\r\n this.vehicleIdResultModel.noRelevantData = true;\r\n }\r\n } else {\r\n this.vehicleIdResultModel.noRelevantData = true;\r\n }\r\n }, error => {\r\n this.vehicleIdResultModel.isLoading = false;\r\n this.vehicleIdResultModel.searchFail = true;\r\n console.log(error);\r\n })\r\n }\r\n\r\n // Motor Web Search\r\n public motorWebSearch(requestObj: RequestData): void {\r\n this.motorWebResultModel = new MotorWebResultModel();\r\n this.motorWebResultModel.isLoading = false;\r\n this.motorWebResultModel.noRelevantData = false;\r\n this.motorWebResultModel.responseData = null;\r\n this.motorWebResultModel.searchFail = false;\r\n\r\n this.motorWebResultModel.isLoading = true;\r\n this.australiaSearchService.GetMotorWebSearchResult(requestObj).subscribe(data => {\r\n this.motorWebResultModel.isLoading = false;\r\n if (data.status == 200 && data.data) {\r\n this.motorWebResultModel.responseData = JSON.parse(data.data);\r\n }else{\r\n this.motorWebResultModel.noRelevantData = true;\r\n }\r\n }, error => {\r\n this.motorWebResultModel.isLoading = false;\r\n this.motorWebResultModel.searchFail = true;\r\n console.log(error);\r\n });\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.motorForm.controls) {\r\n this.motorForm.get(control).clearValidators();\r\n this.motorForm.get(control).setValidators(this.validation[control]);\r\n this.motorForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.motorForm.get('audit').value;\r\n profileData.referenceNumber = this.motorForm.get('reference').value.replace(/\\s/g, \"\");\r\n profileData.vRN = this.motorForm.get('plate').value;\r\n profileData.state = this.motorForm.get('state').value;\r\n\r\n profileData.searchType = SearchType.Motor.toString();\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n // Access object framing\r\n var accessData = new AccessData();\r\n accessData = this.accessData;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = accessData;\r\n return requestObj;\r\n }\r\n\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.motorForm.get('reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 5000);\r\n }\r\n\r\n\r\n public motorClearSearch(): void {\r\n for (const control in this.motorForm.controls) {\r\n this.motorForm.get(control).clearValidators();\r\n this.motorForm.get(control).updateValueAndValidity();\r\n }\r\n //this.businessForm.reset();\r\n this.motorForm.patchValue({\r\n reference: \"\",\r\n plate: \"\",\r\n state: \"\"\r\n });\r\n this.showResultTab = false;\r\n // this.resetResultObjects();\r\n }\r\n\r\n // Reset Object\r\n public resetResultObjects() {\r\n this.motorWebResultModel = null;\r\n this.vehicleIdResultModel = null;\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.motorForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { SportsResultModel } from '../../../../../../search-pages/models/SportsResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-sports-result-personal',\r\n templateUrl: './sports-result.component.html',\r\n styleUrls: ['./sports-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class SportsResultPersonalComponent implements OnInit {\r\n\r\n @Input() sports: SportsResultModel = new SportsResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public SportsTableDisplay() {\r\n if (this.sports.collapseSportsClass == \"show\") {\r\n this.sports.collapseSportsClass = \"hide\";\r\n this.sports.collapseSportsStatus = \"Show Status\";\r\n this.sports.collapseSportsIcon = \"fa-chevron-down\";\r\n $('#collapseTwo').collapse(this.sports.collapseSportsClass);\r\n }\r\n else {\r\n this.sports.collapseSportsClass = \"show\";\r\n this.sports.collapseSportsStatus = \"Hide Status\";\r\n this.sports.collapseSportsIcon = \"fa-chevron-up\";\r\n $('#collapseTwo').collapse(this.sports.collapseSportsClass);\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n {{sports.collapseSportsStatus}} \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CategoryStatus
{{lifestyle.displayname}}\r\n {{lifestyle.status}}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n
\r\n

\r\n Search returned {{sports.sportsResultCount}} results\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{result.title}}
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n

Source: {{result.source}}

\r\n
\r\n
\r\n

Published Date: {{result.pubDate}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","export class MotorWebResultModel {\r\n public isLoading: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n}\r\n","import { MessageService } from 'primeng/api';\r\nimport { SubscriptionService } from 'src/app/subscription/service/subscription.service';\r\nimport { PlanExpiry } from './../../subscription/Models/PlanExpiry';\r\nimport { Component, OnInit, HostListener, ViewChild, ElementRef, TemplateRef, Renderer2 } from '@angular/core';\r\nimport { ScreenSearchData, ScreenType } from '../Models/ScreenSearchData';\r\nimport { ScreenSearchDataService } from '../service/screen-search-data.service';\r\nimport { CSVRecords, ScreenInputData } from '../Models/CSVRecords';\r\nimport { AppComponent } from '../../app.component';\r\nimport { SearchService } from 'src/app/home/services/search.service';\r\nimport { interval, Subscription } from 'rxjs';\r\nimport { environment } from '../../../environments/environment';\r\nimport { SubscriptionPlan } from '../../subscription/Models/SubscriptionPlan';\r\nimport { parsePhoneNumber, isPossiblePhoneNumber, isValidPhoneNumber, validatePhoneNumberLength } from 'libphonenumber-js'\r\n\r\n\r\n@Component({\r\n selector: 'app-screen-search-data',\r\n templateUrl: './screen-search-data.component.html',\r\n styleUrls: ['./screen-search-data.component.css'],\r\n providers: [ScreenSearchDataService, MessageService]\r\n})\r\nexport class ScreenSearchDataComponent implements OnInit {\r\n public licenceError: string = null;\r\n public screenSearchData: ScreenSearchData[];\r\n public file: File = null;\r\n public tempFile: any = null;\r\n public filename = \"Choose File\";\r\n public eventTarget: any;\r\n public tempEventTarget: any;\r\n public validationerror: String = \"\";\r\n public successMessage: String = \"\";\r\n public download: boolean[];\r\n public records: any[];\r\n public commercialTemplateURL: string;\r\n public personalTemplateURL: string;\r\n public mobileTemplateURL: string;\r\n public allowedTemplates: string[];\r\n\r\n //PlanExpiry\r\n public planExpiry: PlanExpiry = null;\r\n public isPlanExpired: boolean = false;\r\n //public PlanDetails: SubscriptionPlan;\r\n public PlanExpiryMessage: string = null;\r\n public ToastWarningHeader: string = null;\r\n public loadScreenIntervalCall: any;\r\n public expiryIntervalCall: any;\r\n\r\n // Header positions\r\n public referenceNumberColumn: number = null;\r\n public businessNameColumn: number = null;\r\n public ltdNumberColumn: number = null;\r\n public businessPostcodeColumn: number = null;\r\n public principalNameColumn: number = null;\r\n public principalPostcodeColumn: number = null;\r\n public principalMobileColumn: number = null;\r\n public principalEmailColumn: number = null;\r\n public principalDobColumn: number = null;\r\n public lossDateColumn: number = null;\r\n\r\n @ViewChild('alert') alert: ElementRef;\r\n @ViewChild('file') fileInput: ElementRef;\r\n @HostListener('window:scroll', ['$event'])\r\n scrollTrigger(event) {\r\n let foundElements: HTMLCollectionOf = document.getElementsByClassName('app-outer-container');\r\n if (foundElements[0].scrollTop <= 165) {\r\n if (this.imagePositionClass != \"\") {\r\n this.imagePositionClass = \"\";\r\n }\r\n }\r\n else if (foundElements[0].scrollTop > 165) {\r\n if (this.imagePositionClass != \"fix-position-top\") {\r\n this.imagePositionClass = \"fix-position-top\";\r\n }\r\n }\r\n }\r\n\r\n public loadingAnimation: string = \"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==\";\r\n public imagePositionClass: string = \"\";\r\n constructor(private screenSearchDataService: ScreenSearchDataService,\r\n private elementRef: ElementRef,\r\n private appComponent: AppComponent,\r\n private searchservice: SearchService,\r\n private subscriptionService: SubscriptionService,\r\n private messageService: MessageService) { }\r\n\r\n ngOnInit() {\r\n this.appComponent.isLoginExpires();\r\n this.resetColumnIndex();\r\n this.PlanExpiryMessage = \"Your subscription has expired. Please contact your account manager.\";\r\n this.ToastWarningHeader = \"HUT Warning\";\r\n this.loadScreenDataGrid();\r\n this.getPlanExpired(1);\r\n this.loadScreenIntervalCall = interval(15000).subscribe(val => this.loadScreenDataGrid());\r\n this.expiryIntervalCall = interval(10000).subscribe(val => this.getPlanExpired(0));\r\n this.commercialTemplateURL = environment.commercialTemplateURL;\r\n this.personalTemplateURL = environment.personalTemplateURL;\r\n this.mobileTemplateURL = environment.mobileTemplateURL;\r\n this.getScreenAllowedTemplates();\r\n }\r\n\r\n ngOnDestroy() {\r\n this.expiryIntervalCall.unsubscribe();\r\n this.loadScreenIntervalCall.unsubscribe();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.appComponent.settingsvisibility = true;\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/Background.svg)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n this.searchservice.AllowedLicence().subscribe(data => {\r\n this.appComponent.screen = false;\r\n this.appComponent.search = false;\r\n if (data.find(i => i.licenceType.toLowerCase() == \"search\")) {\r\n this.appComponent.search = true;\r\n }\r\n });\r\n\r\n }\r\n\r\n public getScreenAllowedTemplates() {\r\n this.searchservice.AllowedLicence().subscribe(\r\n data => {\r\n let screenTemplate = data.filter(x => x.licenceType.toLowerCase() == \"screen\" && x.defaultValue == true);\r\n this.allowedTemplates = screenTemplate.map(x => x.itemName.toLowerCase());\r\n }\r\n );\r\n }\r\n\r\n loadScreenDataGrid() {\r\n this.screenSearchDataService.GetScreenSearchData().subscribe(data => {\r\n this.screenSearchData = data\r\n });\r\n this.getScreenAllowedTemplates();\r\n }\r\n\r\n onFileSelected(event) {\r\n if (event.target.files.length > 0) {\r\n this.filename = event.target.files[0].name\r\n this.file = event.srcElement.files;\r\n this.tempFile = event.srcElement.files[0];\r\n this.eventTarget = event.target;\r\n this.tempEventTarget = event.target.files[0];\r\n this.validationerror = null;\r\n this.successMessage = \"\";\r\n }\r\n }\r\n\r\n getPlanExpired(val) {\r\n this.subscriptionService.GetPlanExpiry(0).toPromise().then(\r\n data => {\r\n this.planExpiry = data;\r\n let days = this.planExpiry.subscriptionExpiry.days;\r\n let hours = this.planExpiry.subscriptionExpiry.hours;\r\n let minutes = this.planExpiry.subscriptionExpiry.minutes;\r\n let seconds = this.planExpiry.subscriptionExpiry.seconds;\r\n if (days <= 0 && hours <= 0 && minutes <= 0 && seconds <= 0) {\r\n this.isPlanExpired = true;\r\n if (val === 1 && this.isPlanExpired) {\r\n this.messageService.add({ key: 'PlanExpiry', severity: 'warn', summary: this.ToastWarningHeader, detail: this.PlanExpiryMessage, sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear();\r\n }, 13000);\r\n }\r\n }\r\n else {\r\n this.isPlanExpired = false;\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n uploadListener(): void {\r\n this.resetColumnIndex();\r\n if (this.isPlanExpired) {\r\n this.validationerror = this.PlanExpiryMessage;\r\n setTimeout(() => { this.validationerror = null }, 7000);\r\n }\r\n else {\r\n this.resetFileInput();\r\n this.isPlanExpired = false;\r\n this.successMessage = \"\";\r\n\r\n if (this.tempFile != null) {\r\n if (this.isValidCSVFile(this.tempFile)) {\r\n let reader = new FileReader();\r\n reader.readAsText(this.tempEventTarget);\r\n\r\n reader.onload = () => {\r\n let csvData = reader.result;\r\n let csvRecordsArray = (csvData).split(/\\r\\n|\\n/);\r\n csvRecordsArray = csvRecordsArray.filter(x => x || !(/^[,]*$/.test(x)));\r\n let headersRow = this.getHeaderArray(csvRecordsArray);\r\n this.getColumnIndex(headersRow);\r\n var data = this.getDataFromFile(csvRecordsArray, headersRow);\r\n if (data && data.data.length > 0) {\r\n this.requestScreenSearch(data);\r\n } else if (data.data.length == 0) {\r\n this.validationerror = \"Please upload csv file with data.\";\r\n this.clearMessage();\r\n }\r\n }\r\n }\r\n else {\r\n this.validationerror = \"Please upload .csv file.\";\r\n this.clearMessage();\r\n }\r\n }\r\n else {\r\n this.validationerror = \"Please upload a file\";\r\n this.clearMessage();\r\n }\r\n }\r\n }\r\n\r\n getHeaderArray(csvRecordsArr: any): string[] {\r\n let headers = (csvRecordsArr[0]).split(',');\r\n let headerArray: string[] = [];\r\n for (let j = 0; j < headers.length; j++) {\r\n headerArray.push(headers[j].toString());\r\n }\r\n return headerArray;\r\n }\r\n\r\n getDataFromFile(csvRecordsArray: string[], headersRow: string[]): ScreenInputData {\r\n let cSVRecords: CSVRecords[];\r\n // company type\r\n if (this.referenceNumberColumn != null && this.businessNameColumn != null && this.businessPostcodeColumn != null &&\r\n this.ltdNumberColumn != null && this.principalNameColumn != null && this.principalPostcodeColumn != null &&\r\n this.principalMobileColumn != null && this.principalEmailColumn != null && this.principalDobColumn != null) {\r\n if (!this.allowedTemplates.some(x => x == ScreenType.commercial.toString())) {\r\n this.validationerror = \"You don't have access to this template.\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n const type = ScreenType.commercial.toString();\r\n cSVRecords = this.getDataRecordsArrayFromCSVFile(csvRecordsArray, headersRow.length, type);\r\n var screenInputData = new ScreenInputData(type, cSVRecords, this.tempFile.name);\r\n return screenInputData;\r\n }\r\n // person type\r\n else if (this.referenceNumberColumn != null && (this.businessNameColumn == null && this.businessPostcodeColumn == null &&\r\n this.ltdNumberColumn == null && this.lossDateColumn == null) && this.principalNameColumn != null && this.principalPostcodeColumn != null &&\r\n this.principalMobileColumn != null && this.principalEmailColumn != null && this.principalDobColumn != null) {\r\n if (!this.allowedTemplates.some(x => x == ScreenType.personal.toString())) {\r\n this.validationerror = \"You don't have access to this template.\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n const type = ScreenType.personal.toString();\r\n cSVRecords = this.getDataRecordsArrayFromCSVFile(csvRecordsArray, headersRow.length, type);\r\n var screenInputData = new ScreenInputData(type, cSVRecords, this.tempFile.name);\r\n return screenInputData;\r\n }\r\n // mobile type\r\n else if (this.referenceNumberColumn != null && (this.businessNameColumn == null && this.businessPostcodeColumn == null &&\r\n this.ltdNumberColumn == null) && this.principalNameColumn != null && this.principalPostcodeColumn != null &&\r\n this.principalMobileColumn != null && this.principalEmailColumn != null && this.principalDobColumn != null && this.lossDateColumn != null) {\r\n if (!this.allowedTemplates.some(x => x == ScreenType.mobile.toString())) {\r\n this.validationerror = \"You don't have access to this template.\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n const type = ScreenType.mobile.toString();\r\n cSVRecords = this.getDataRecordsArrayFromCSVFile(csvRecordsArray, headersRow.length, type);\r\n var screenInputData = new ScreenInputData(type, cSVRecords, this.tempFile.name);\r\n return screenInputData;\r\n }\r\n // invalid type\r\n else if (this.referenceNumberColumn == null && this.businessNameColumn == null && this.businessPostcodeColumn == null &&\r\n this.ltdNumberColumn == null && this.principalNameColumn == null && this.principalPostcodeColumn == null &&\r\n this.principalMobileColumn == null && this.principalEmailColumn == null && this.principalDobColumn == null) {\r\n this.validationerror = \"Please upload valid file\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n else {\r\n this.validationerror = \"Please upload valid file\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n }\r\n\r\n isValidCSVFile(file: any) {\r\n return file.name.endsWith(\".csv\");\r\n }\r\n\r\n //Storing File records in CSVFile Object array \r\n getDataRecordsArrayFromCSVFile(csvRecordsArray: any, headerLength: any, type: string) {\r\n let csvArr: CSVRecords[] = [];\r\n let principalMobile: string;\r\n for (let i = 1; i <= csvRecordsArray.length - 1; i++) {\r\n try {\r\n let currentRecord: any[] = csvRecordsArray[i].split(\",\");\r\n if (currentRecord.every(x => x.trim() == \"\"))\r\n continue;\r\n let reference: string = this.referenceNumberColumn != null ? currentRecord[this.referenceNumberColumn].trim() : \"\";\r\n let businessName: string = this.businessNameColumn != null ? currentRecord[this.businessNameColumn].trim() : \"\";\r\n let ltdNumber: string = this.ltdNumberColumn != null ? currentRecord[this.ltdNumberColumn].trim() : \"\";\r\n let businessPostcode: string = this.businessPostcodeColumn != null ? currentRecord[this.businessPostcodeColumn].trim() : \"\";\r\n let principalName: string = this.principalNameColumn != null ? currentRecord[this.principalNameColumn].trim() : \"\";\r\n let principalPostCode: string = this.principalPostcodeColumn != null ? currentRecord[this.principalPostcodeColumn].trim() : \"\";\r\n let principalEmail: string = this.principalEmailColumn != null ? currentRecord[this.principalEmailColumn].trim() : \"\";\r\n let principalDob: string = this.principalDobColumn != null ? currentRecord[this.principalDobColumn].trim() : \"\";\r\n let principalMobile: string = this.principalMobileColumn != null ? currentRecord[this.principalMobileColumn].trim() : \"\";\r\n let eventDate: string = this.lossDateColumn != null ? currentRecord[this.lossDateColumn].trim() : \"\";\r\n\r\n if (principalMobile != \"\" && principalMobile != null) {\r\n principalMobile = principalMobile.trim();\r\n const phoneNumber = parsePhoneNumber(principalMobile, 'GB');\r\n if (phoneNumber.isValid() === true && isPossiblePhoneNumber(principalMobile, 'GB') === true\r\n && isValidPhoneNumber(principalMobile, 'GB') && validatePhoneNumberLength(principalMobile, 'GB') === undefined) {\r\n principalMobile = phoneNumber.formatInternational();\r\n } else {\r\n principalMobile = \"Bad data\";\r\n }\r\n }\r\n\r\n if (currentRecord.length == headerLength) {\r\n if (type == ScreenType.commercial.toString())\r\n csvArr.push(new CSVRecords(reference, businessName, ltdNumber, \"\", \"\", businessPostcode, principalName, principalPostCode, principalMobile, principalEmail, principalDob, eventDate));\r\n else\r\n csvArr.push(new CSVRecords(reference, \"\", \"\", \"\", \"\", \"\", principalName, principalPostCode, principalMobile, principalEmail, principalDob, eventDate));\r\n } else if ((currentRecord.length != headerLength && !currentRecord[0].includes(\"\\\"\"))) {\r\n csvArr.push(new CSVRecords(reference, \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"));\r\n } \r\n } catch (error) { console.log(\"Error on getDataRecordsArrayFromCSVFile : \", error); }\r\n }\r\n return csvArr;\r\n }\r\n\r\n refreshResult() {\r\n this.loadScreenDataGrid();\r\n }\r\n\r\n clearMessage() {\r\n setTimeout(() => {\r\n this.validationerror = null;\r\n }, 5000);\r\n }\r\n\r\n requestScreenSearch(screenInputData: ScreenInputData) {\r\n this.screenSearchDataService.ProcessScreenSearch(screenInputData)\r\n .subscribe(data => {\r\n this.successMessage = \"Search file processed into queue.\";\r\n this.resetFileInput();\r\n this.tempFile = null;\r\n this.loadScreenDataGrid();\r\n setTimeout(() => {\r\n this.successMessage = null;\r\n }, 5000);\r\n }, error => {\r\n if (error.status == 404) {\r\n this.validationerror = \"You don't have access to this template.\";\r\n this.clearMessage();\r\n } else {\r\n this.validationerror = \"Something went wrong. try once again.\";\r\n this.clearMessage();\r\n }\r\n });\r\n }\r\n\r\n resetFileInput() {\r\n this.filename = \"Choose File\";\r\n this.file = null;\r\n this.fileInput.nativeElement.value = \"\";\r\n }\r\n\r\n resetColumnIndex() {\r\n this.referenceNumberColumn = null;\r\n this.principalPostcodeColumn = null\r\n this.principalNameColumn = null;\r\n this.principalMobileColumn = null;\r\n this.principalEmailColumn = null;\r\n this.principalDobColumn = null;\r\n this.ltdNumberColumn = null;\r\n this.businessPostcodeColumn = null;\r\n this.businessNameColumn = null\r\n this.lossDateColumn = null;\r\n }\r\n\r\n getColumnIndex(columnNames: string[]) {\r\n columnNames.forEach((x, index) => {\r\n switch (x.toLowerCase().trim()) {\r\n case \"Reference No\".toLowerCase():\r\n this.referenceNumberColumn = index;\r\n break;\r\n case \"Business Name\".toLowerCase():\r\n this.businessNameColumn = index;\r\n break;\r\n case \"Ltd Co Number\".toLowerCase():\r\n this.ltdNumberColumn = index;\r\n break;\r\n case \"Business Postcode\".toLowerCase():\r\n this.businessPostcodeColumn = index;\r\n break;\r\n case \"Principal Name\".toLowerCase():\r\n this.principalNameColumn = index;\r\n break;\r\n case \"Principal Postcode\".toLowerCase():\r\n this.principalPostcodeColumn = index;\r\n break;\r\n case \"Principal Mobile\".toLowerCase():\r\n this.principalMobileColumn = index;\r\n break;\r\n case \"Principal Email\".toLowerCase():\r\n this.principalEmailColumn = index;\r\n break;\r\n case \"Principal DoB\".toLowerCase():\r\n this.principalDobColumn = index;\r\n break;\r\n case \"Loss Date\".toLowerCase():\r\n this.lossDateColumn = index;\r\n break;\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n

Screen

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n Please upload your data file to Screen based on this
commercial template, personal template or mobile template.
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{validationerror}}
\r\n \r\n {{successMessage}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
FilenameStatusUploaded byUploaded OnTotal RecordsFailed RecordsResult
{{ element.filename | filename }} {{ element.jobStatus }} {{element.submitedUserName}} {{ element.createdDate | date : 'dd-MM-yyy hh:mm a ' }} {{ element.recordCount }} {{ element.failedCount?element.failedCount:0 }}\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-ltd-officer-business',\r\n templateUrl: './pdf-ltd-officer-business.component.html',\r\n styleUrls: ['./pdf-ltd-officer-business.component.css', '../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfLtdOfficerBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public currentDirectorExpand() {\r\n const thisRef = this;\r\n if (this.business?.responseData?.creditsafeResult?.report?.directors?.currentDirectors &&\r\n this.business?.responseData?.creditsafeResult?.report?.directors?.currentDirectors?.length > 0) {\r\n this.business?.responseData?.creditsafeResult?.report?.directors?.currentDirectors.forEach(x => {\r\n thisRef[x.name] = true;\r\n });\r\n }\r\n return thisRef;\r\n }\r\n\r\n public previousDirectorExpand() {\r\n const thisRef = this;\r\n if (this.business?.responseData?.creditsafeResult?.report?.directors?.previousDirectors &&\r\n this.business?.responseData?.creditsafeResult?.report?.directors?.previousDirectors?.length > 0) {\r\n this.business?.responseData?.creditsafeResult?.report?.directors?.previousDirectors.forEach(x => {\r\n thisRef[x.name] = true;\r\n });\r\n }\r\n return thisRef;\r\n }\r\n\r\n public activePSCExpand() {\r\n const thisRef = this;\r\n if (this.business?.responseData?.creditsafeResult?.report?.additionalInformation?.personsWithSignificantControl?.activePSC &&\r\n this.business?.responseData?.creditsafeResult?.report?.additionalInformation?.personsWithSignificantControl?.activePSC?.length > 0) {\r\n this.business?.responseData?.creditsafeResult?.report?.additionalInformation?.personsWithSignificantControl?.activePSC.forEach(x => {\r\n thisRef[x.name] = true;\r\n });\r\n }\r\n return thisRef;\r\n }\r\n\r\n public ceasedPSCExpand() {\r\n const thisRef = this;\r\n if (this.business?.responseData?.creditsafeResult?.report?.additionalInformation?.personsWithSignificantControl?.ceasedPSC &&\r\n this.business?.responseData?.creditsafeResult?.report?.additionalInformation?.personsWithSignificantControl?.ceasedPSC?.length > 0) {\r\n this.business?.responseData?.creditsafeResult?.report?.additionalInformation?.personsWithSignificantControl?.ceasedPSC.forEach(x => {\r\n thisRef[x.name] = true;\r\n });\r\n }\r\n return thisRef;\r\n }\r\n\r\n}\r\n","

Current Officers

\r\n\r\n \r\n \r\n \r\n Officer Name \r\n Nationality \r\n Date Of Birth \r\n Disqualified \r\n Disqualified Exception \r\n Officer Address \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{director?.name}}\r\n {{director?.nationality}}\r\n {{director?.dateOfBirth | date:'MMM-yyyy'}}\r\n {{director?.additionalData?.disqualified ? 'Yes' : 'No'}}\r\n {{director?.additionalData?.disqualifiedException ? 'Yes' : 'No'}}\r\n {{director?.address?.simpleValue}}\r\n \r\n \r\n \r\n \r\n \r\n NB: May not include all appointments. Use Personal Search to see a complete listing in the Companies House tab\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{current?.companyName}}\r\n {{current?.companyNumber}}\r\n {{current?.companyStatus}}\r\n {{current?.role}}\r\n {{current?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{current?.occupation}}\r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Resignation Date\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{previous?.companyName}}\r\n {{previous?.companyNumber}}\r\n {{previous?.companyStatus}}\r\n {{previous?.role}}\r\n {{previous?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{previous?.resignationDate | date:'dd-MMM-yyyy'}}\r\n {{previous?.occupation}}\r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{inactive?.companyName}}\r\n {{inactive?.companyNumber}}\r\n {{inactive?.companyStatus}}\r\n {{inactive?.role}}\r\n {{inactive?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{inactive?.occupation}}\r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n
\r\n\r\n

Previous Officers

\r\n\r\n \r\n \r\n \r\n Previous Officer Name \r\n Nationality \r\n Date Of Birth \r\n Disqualified \r\n Disqualified Exception \r\n Officer Address \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{director?.name}}\r\n {{director?.nationality}}\r\n {{director?.dateOfBirth | date:'MMM-yyyy'}}\r\n {{director?.additionalData?.disqualified ? 'Yes' : 'No'}}\r\n {{director?.additionalData?.disqualifiedException ? 'Yes' : 'No'}}\r\n {{director?.address?.simpleValue}}\r\n \r\n \r\n \r\n \r\n \r\n NB: May not include all appointments. Use Personal Search to see a complete listing in the Companies House tab\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{current?.companyName}}\r\n {{current?.companyNumber}}\r\n {{current?.companyStatus}}\r\n {{current?.role}}\r\n {{current?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{current?.occupation}}\r\n \r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Resignation Date\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{previous?.companyName}}\r\n {{previous?.companyNumber}}\r\n {{previous?.companyStatus}}\r\n {{previous?.role}}\r\n {{previous?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{previous?.resignationDate | date:'dd-MMM-yyyy'}}\r\n {{previous?.occupation}}\r\n \r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{inactive?.companyName}}\r\n {{inactive?.companyNumber}}\r\n {{inactive?.companyStatus}}\r\n {{inactive?.role}}\r\n {{inactive?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{inactive?.occupation}}\r\n \r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n
\r\n\r\n

Active PSC

\r\n\r\n \r\n \r\n \r\n Name Of Person With Significant Control(PSC) \r\n Nationality \r\n Date Of Birth \r\n Country Of Residence \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{person?.name}}\r\n {{person?.nationality}}\r\n {{person?.dateOfBirth | date:'dd-MMM-yyyy'}}\r\n {{person?.countryOfResidence}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Title
\r\n
{{person?.title}}
\r\n
\r\n
\r\n
Person Type
\r\n
{{person?.personType}}
\r\n
\r\n
\r\n
Appointment Date
\r\n
{{person?.notifiedOn | date:'dd-MMM-yyyy'}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Nature Of Control
\r\n
{{person?.natureOfControl}}
\r\n
\r\n
\r\n
PSC Address
\r\n
{{person?.address?.simpleValue}}
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n

Ceased PSC

\r\n\r\n \r\n \r\n \r\n Name Of Previous Person With Significant Control (PSC) \r\n Nationality \r\n Date Of Birth \r\n Country Of Residence \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{person?.name}}\r\n {{person?.nationality}}\r\n {{person?.dateOfBirth | date:'dd-MMM-yyyy'}}\r\n {{person?.countryOfResidence}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Title
\r\n
{{person?.title}}
\r\n
\r\n
\r\n
PSC Type
\r\n
{{person?.personType}}
\r\n
\r\n
\r\n
Appointment Date
\r\n
{{person?.notifiedOn | date:'dd-MMM-yyyy'}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Nature Of Control
\r\n
{{person?.natureOfControl}}
\r\n
\r\n
\r\n
PSC Address
\r\n
{{person?.address?.simpleValue}}
\r\n
\r\n
\r\n
Terminated Date
\r\n
{{person?.ceasedOn | date:'dd-MMM-yyyy'}}
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AmlResponseModel } from '../../models/AmlResponseModel';\r\nimport { InputAccessData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-aml-check',\r\n templateUrl: './aml-check.component.html',\r\n styleUrls: ['./aml-check.component.css']\r\n})\r\nexport class AmlCheckComponent implements OnInit {\r\n\r\n @Input() public amlResultData: AmlResponseModel = new AmlResponseModel();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n\r\n public NoRelevantDataMessage = \"No relevant data found.\";\r\n public NoSearchSelect = \"Search option not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public isValidAMLAddress(obj: any[]) {\r\n let addresses = obj.filter(address => {\r\n if ((address.address1 != null && address.address1 != '') || (address.address2 != null && address.address2 != '') || (address.address3 != null && address.address3 != '') || (address.postcode != null && address.postcode != '') || (address.city != null && address.city != '') || (address.country != null && address.country != '')) {\r\n return address;\r\n }\r\n });\r\n if (addresses.length > 0)\r\n return true;\r\n else\r\n return false;\r\n }\r\n\r\n}\r\n","
{{NoSearchSelect}}
\r\n
{{SearchFail}}
\r\n
{{NoRelevantDataMessage}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Name : {{sanction?.name }}
\r\n

Recency : {{sanction.recency}}

\r\n

Source : {{sanction.source}}

\r\n

Type : {{sanction?.type}}

\r\n

DOB : {{sanction?.dob}}

\r\n
0 && isValidAMLAddress(sanction?.addresses))\">\r\n
Addresses :
\r\n
\r\n
Address:
\r\n
Address line 1 : {{address.address1}}
\r\n
Address line 2 : {{address.address2}}
\r\n
Address line 3 : {{address.address3}}
\r\n
Post code : {{address.postcode}}
\r\n
City : {{address.city}}
\r\n
Country : {{address.country}}
\r\n
\r\n
\r\n
0\">\r\n
Aliases :
\r\n

{{alias}}

\r\n
\r\n
0\">\r\n
Positions :
\r\n

{{position}}

\r\n
\r\n
0\">\r\n
Details :
\r\n

{{exception}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { InputAccessData, InputData } from '../../models/InputDataModel';\r\nimport { MobileResponse } from '../../models/MobileResponseModel';\r\n\r\n@Component({\r\n selector: 'app-mobile-enquiry',\r\n templateUrl: './mobile-enquiry.component.html',\r\n styleUrls: ['./mobile-enquiry.component.css']\r\n})\r\nexport class MobileEnquiryComponent implements OnInit {\r\n\r\n @Input() public inputData: InputData = new InputData();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n @Input() public mobile: MobileResponse = new MobileResponse();\r\n\r\n // Constant Messages\r\n public NoRelevantDataMessageShort = \"No records.\";\r\n public NoSearchSelectShort = \"Not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n public mobileRequiredMessage: string = \"Mobile number is required.\";\r\n public RequiredPropertyMissingMessage = \"Required properties are missing.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Mobile Number Enquiry\r\n
\r\n
{{NoRelevantDataMessageShort}}
\r\n
{{NoSearchSelectShort}}
\r\n
{{SearchFail}}
\r\n
{{mobileRequiredMessage}}
\r\n
\r\n
\r\n
\r\n

Phone Type: {{mobile?.responseData?.data?.Type | titlecase}}

\r\n

Carrier: {{mobile?.responseData?.data?.Carrier}}

\r\n Sim Swap Details\r\n
\r\n

 High risk

\r\n

 Medium risk

\r\n

 Low risk

\r\n

Swap Date:
{{mobile?.responseData?.data?.SimSwap?.Date | date:'dd-MM-yyyy hh:mm:ss'}}

\r\n
\r\n
\r\n
{{NoRelevantDataMessageShort}}
\r\n
\r\n
\r\n
\r\n

Blocked

\r\n Name Match \r\n

{{NoRelevantDataMessageShort}}

\r\n

\r\n Matched\r\n
\r\n \r\n Subscriber: {{mobile?.responseData?.data?.RegisteredUser | titlecase}}\r\n \r\n \r\n

\r\n

\r\n \r\n NOT Matched
\r\n \r\n \r\n Subscriber: {{mobile?.responseData?.data?.RegisteredUser | titlecase}}\r\n \r\n \r\n

\r\n\r\n Number Deactivation Details\r\n
\r\n

Last Deactivated: {{mobile?.responseData?.PhoneContactData?.PhoneContactJSON?.number_deactivation?.last_deactivated | date: 'dd-MM-yyyy' }}

\r\n

Tracking Since: {{mobile?.responseData?.PhoneContactData?.PhoneContactJSON?.number_deactivation?.tracking_since | date: 'dd-MM-yyyy'}}

\r\n
\r\n
\r\n
{{NoRelevantDataMessageShort}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../../services/messaging.service';\r\nimport { CriminalityResultModel } from '../../../../../../models/CriminalityResultModel';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-pdf-criminality-result-personal',\r\n templateUrl: './pdf-criminality-result-personal.component.html',\r\n styleUrls: ['./pdf-criminality-result-personal.component.css', '../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfCriminalityResultPersonalComponent implements OnInit {\r\n\r\n @Input() criminality: CriminalityResultModel = new CriminalityResultModel();\r\n @Output() criminalityEventEmitter: EventEmitter = new EventEmitter();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public ResultTableDisplay() {\r\n if (this.criminality.collapseResultClass == \"show\") {\r\n this.criminality.collapseResultClass = \"hide\";\r\n this.criminality.collapseResultStatus = \"Show Status\";\r\n this.criminality.collapseResultIcon = \"fa-chevron-down\";\r\n $('#collapseOne').collapse(this.criminality.collapseResultClass);\r\n }\r\n else {\r\n this.criminality.collapseResultClass = \"show\";\r\n $('#collapseOne').collapse(this.criminality.collapseResultClass);\r\n this.criminality.collapseResultStatus = \"Hide Status\";\r\n this.criminality.collapseResultIcon = \"fa-chevron-up\";\r\n }\r\n }\r\n\r\n public AllResults() {\r\n this.criminalityEventEmitter.emit(\"allResult\");\r\n }\r\n\r\n public RelevantResults() {\r\n this.criminalityEventEmitter.emit(\"relevantResult\");\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n Hide Status \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CategoryStatus
{{lexicon.name}}\r\n {{lexicon.status}}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n
\r\n

\r\n Search returned {{criminality.finalResults.length}} results.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

\r\n
\r\n
\r\n

Source: {{result.source}}

\r\n
\r\n
\r\n

Published Date: {{result.pubDate}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Items } from \"./Items\";\r\nimport { ProfileData } from \"./SearchRequestModel\";\r\n\r\nexport class BusinessOpenSourceResultModel {\r\n public profileData: ProfileData;\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: Items[];\r\n public searchFail: boolean;\r\n\r\n public openSourceResultCount: number = 0;\r\n public openSourceResultCombine: Items[] = [];\r\n}\r\n\r\nexport class BusinessResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n\r\n public businessTargeterResult: any;\r\n public businessTargeterResultMatch: any;\r\n public creditsafeResult: any;\r\n public businessNonRegisteredProfileResult: any;\r\n}\r\n","export class CounterFraudResponse {\r\n public validationMessage: boolean;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n public needleValue: number = 0;\r\n\r\n constructor() { }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { CompaniesHouseResultModel } from '../../../../../../search-pages/models/CompaniesHouseResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-companies-house-result-personal',\r\n templateUrl: './companies-house-result.component.html',\r\n styleUrls: ['./companies-house-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class CompaniesHouseResultPersonalComponent implements OnInit {\r\n\r\n @Input() companiesHouse: CompaniesHouseResultModel = new CompaniesHouseResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{messageService.NoSearchSelect}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{people.Name }} {{'('+ 'Disqualified'+')'}}\r\n
\r\n
{{people.Description}}
\r\n
\r\n
\r\n
\r\n
\r\n
Address
\r\n
{{people.Address}}
\r\n
\r\n
\r\n
Date Of Birth
\r\n
{{people.DateOfBirth}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{cmp.Name + '(' + cmp.Number + ')'}}
\r\n
\r\n
\r\n
\r\n
\r\n
Company status
\r\n
{{cmp.Status}}
\r\n
\r\n
\r\n
Officer Role
\r\n
{{cmp.OfficerRole}}
\r\n
\r\n
\r\n
Appointed On
\r\n
{{cmp.companyObject.appointed_on}}
\r\n
\r\n
\r\n
\r\n
\r\n
Resigned On
\r\n
{{cmp.companyObject.resigned_on}}
\r\n
\r\n
\r\n
Nationality
\r\n
{{cmp.companyObject.nationality}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
  • {{cmp.Name + '(' + cmp.Status + ')'}}
  • \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessSearchResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/BusinessSearchResultModel';\r\n\r\n@Component({\r\n selector: 'app-au-business-abnsearch',\r\n templateUrl: './au-business-abnsearch.component.html',\r\n styleUrls: ['./au-business-abnsearch.component.css']\r\n})\r\nexport class AuBusinessAbnsearchComponent implements OnInit {\r\n@Input() businessResultDataModel: BusinessSearchResultModel = new BusinessSearchResultModel();\r\n@Input() searchType: string = null; \r\nconstructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n getLegalNames(legal?: any): string {\r\n let target:any = null;\r\n if(this.searchType == 'SearchByABN'){\r\n target = legal || this.businessResultDataModel?.responseData?.response?.businessEntity202001?.legalName;\r\n if (!target) return '';\r\n } else if(this.searchType == 'SearchByASIC'){\r\n target = legal || this.businessResultDataModel?.responseData?.response?.businessEntity201408?.legalName;\r\n if (!target) return '';\r\n }\r\n \r\n return [\r\n target?.familyName,\r\n target?.givenName,\r\n target?.otherGivenName\r\n ]\r\n .filter(name => name !== null && name !== undefined)\r\n .join(', ');\r\n }\r\n \r\n isArray(value: any): boolean {\r\n return Array.isArray(value);\r\n }\r\n\r\n isObject(value: any): boolean {\r\n return typeof value === 'object' && !Array.isArray(value) && value !== null;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

ABN Details

\r\n
\r\n
\r\n
\r\n
\r\n Updated:\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity202001?.recordLastUpdatedDate |\r\n date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Entity Type:\r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.entityType?.entityDescription\r\n }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n ASIC Number:\r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity202001?.ASICNumber}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n ABN\r\n
\r\n
\r\n From\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ abn.identifierValue }}\r\n
\r\n
\r\n {{ (abn.replacedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.ABN.identifierValue\r\n }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity202001?.ABN.replacedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Entity Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ main?.organisationName }}\r\n
\r\n
\r\n {{ (main?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (main?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.mainName?.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainName?.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainName?.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n {{ getLegalNames(legal) }}\r\n
\r\n
\r\n {{ (legal.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (legal.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ getLegalNames() }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity202001?.effectiveFrom |\r\n date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity202001?.effectiveTo |\r\n date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n ABN Status\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ entity.entityStatusCode }}\r\n
\r\n
\r\n {{ (entity.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (entity.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.entityStatus.entityStatusCode\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.entityStatus.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.entityStatus.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Goods & Services Tax (GST)\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {{ (serviceTax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (serviceTax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.goodsAndServicesTax.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.goodsAndServicesTax.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Main Business Location\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ mainAddress.stateCode + '/' + mainAddress.postcode }}\r\n
\r\n
\r\n {{ (mainAddress.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (mainAddress.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.mainBusinessPhysicalAddress.stateCode\r\n + '/' +\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.mainBusinessPhysicalAddress.postcode\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainBusinessPhysicalAddress.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainBusinessPhysicalAddress.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Business Name(s)

\r\n
\r\n
\r\n
\r\n
\r\n Business Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ business.organisationName }}\r\n
\r\n
\r\n {{ (business.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (business.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.businessName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.businessName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.businessName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Trading Name(s)

\r\n
\r\n
\r\n
\r\n
\r\n Trading Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ mainTrading.organisationName }}\r\n
\r\n
\r\n {{ (mainTrading.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (mainTrading.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.mainTradingName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainTradingName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainTradingName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ otherTrading.organisationName }}\r\n
\r\n
\r\n {{ (otherTrading.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (otherTrading.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.otherTradingName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.otherTradingName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.otherTradingName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Charity Tax Concession Status

\r\n
\r\n
\r\n
\r\n
\r\n Charity/Fund Type\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ type.charityTypeDescription }}\r\n
\r\n
\r\n {{ (type.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (type.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.charityType.charityTypeDescription\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.charityType.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.charityType.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Tax Concessions\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ tax.endorsementType }}\r\n
\r\n
\r\n {{ (tax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (tax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.taxConcessionCharityEndorsement.endorsementType\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.taxConcessionCharityEndorsement.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.taxConcessionCharityEndorsement.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Public Benevolent Institution (PBI) Employer Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ employer.organisationName }}\r\n
\r\n
\r\n {{ (employer.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (employer.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity202001?.organisationName\r\n }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity202001?.effectiveFrom |\r\n date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity202001?.effectiveTo |\r\n date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n

Deductible Gift Recipient Status

\r\n
\r\n
\r\n
\r\n
\r\n Fund,Authority or Institution Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ fund?.dgrFundName?.organisationName }}\r\n
\r\n
\r\n {{ (fund?.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (fund?.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrFund?.dgrFundName?.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrFund?.endorsedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrFund?.endorsedTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Entity Endorsement\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ dgr.entityEndorsement }}\r\n
\r\n
\r\n {{ (dgr.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (dgr.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrEndorsement.entityEndorsement\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrEndorsement.endorsedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrEndorsement.endorsedTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Australian Charities and Not-for-profits Commission(ACNC)

\r\n
\r\n
\r\n
\r\n
\r\n ACNC registration\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ acnc.status }}\r\n
\r\n
\r\n {{ (acnc.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (acnc.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.ACNCRegistration.status\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.ACNCRegistration.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.ACNCRegistration.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { ExperianResultModel } from '../../../../../../models/ExperianResultModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-hutmotor-result-motor',\r\n templateUrl: './pdf-hutmotor-result-motor.component.html',\r\n styleUrls: ['./pdf-hutmotor-result-motor.component.css']\r\n})\r\nexport class PdfHutmotorResultMotorComponent implements OnInit {\r\n\r\n @Input() public experian: ExperianResultModel = new ExperianResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n

Registration

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Year of Manufacture{{experian?.responseData?.vehicle?.summary?.dateofmanufacture | date:'yyyy'}}
Vehicle Used Before UK Registration{{experian?.responseData?.vehicle?.status?.usedbeforefirstregistration}}
UK Registration Date{{experian?.responseData?.vehicle?.summary?.dateoffirstreginuk | date:'dd-MMM-yyyy'}}
Number Of Registration Certificates Issued{{experian?.responseData?.vehicle?.provenance?.v5cchanges ? experian?.responseData?.vehicle?.provenance?.v5cchanges?.length : '0'}}
Date Of Registration Certificate Issue{{experian?.responseData?.vehicle?.summary?.dateoffirstregistration | date:'dd-MMM-yyyy'}}
Date Of Registration Certificate Update\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n
{{v5cchange.date | date:'dd-MMM-yyyy'}}
\r\n
VIN Serial Number{{experian?.responseData?.vehicle?.summary?.vin}}
Engine Number{{experian?.responseData?.vehicle?.technical?.engine?.enginenumber}}
Number Of Keeper Changes{{experian?.responseData?.vehicle?.provenance?.keeperchanges?.length ? experian?.responseData?.vehicle?.provenance?.keeperchanges?.length : '0'}}
Date Of Keeper Change\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n
{{keeperchange.date | date:'dd-MMM-yyyy'}}
\r\n
Number Of Plate Changes{{experian?.responseData?.vehicle?.provenance?.platechanges?.length ? experian?.responseData?.vehicle?.provenance?.platechanges?.length : '0'}}
Plate Changes Info\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Previous VRMDate of ReceiptCurrent VRM
{{platechange.previousvrm}}{{platechange.date | date:'dd-MMM-yyyy'}}{{platechange.currentvrm}}
\r\n
Imported{{experian?.responseData?.vehicle?.status?.imported == 'NotImported' ? 'False' : 'True'}}
Exported{{experian?.responseData?.vehicle?.status?.exported == 'NotExported' ? 'False' : 'True'}}
Scrapped{{experian?.responseData?.vehicle?.status?.scrapped == 'NotScrapped' ? 'False' : 'True'}}
Date Exported{{experian?.responseData?.vehicle?.summary?.dateexported | date:'dd-MMM-yyyy'}}
Date Scrapped{{experian?.responseData?.vehicle?.summary?.datescrapped | date:'dd-MMM-yyyy'}}
\r\n
\r\n\r\n

Specifications

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Make{{experian?.responseData?.vehicle?.summary?.make}}
Model{{experian?.responseData?.vehicle?.summary?.model}}
Fuel{{experian?.responseData?.vehicle?.summary?.fuel}}
Colour{{experian?.responseData?.vehicle?.provenance?.colour?.currrentcolour}}
Number Of Colour Changes{{experian?.responseData?.vehicle?.provenance?.colour?.changes?.length ? experian?.responseData?.vehicle?.provenance?.colour?.changes?.length : '0'}}
Colour Change Info\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Last ColourDate Of Last Colour Change
{{colorChange?.lastcolour}}{{colorChange?.date | date:'dd-MMM-yyyy'}}
\r\n
Country Of Origin{{experian?.responseData?.vehicle?.industry?.smmt?.additional?.countryoforigin}}
Transmission{{experian?.responseData?.vehicle?.technical?.engine?.transmission}}
Seating Capacity{{experian?.responseData?.vehicle?.technical?.body?.seatingcapacityincdriver}}
Maximum Permissable Mass{{experian?.responseData?.vehicle?.technical?.body?.maxpermissiblemass}}
Engine Make{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.enginemake}}
Engine Capacity{{experian?.responseData?.vehicle?.technical?.engine?.enginecapacity}}
Engine Description{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.enginedescription}}
Engine Location{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.enginelocation}}
Number Of Gears {{experian?.responseData?.vehicle?.technical?.engine?.numberofgears}}
Number Of Doors And Body Type{{experian?.responseData?.vehicle?.summary?.bodytype}}
Wheel Plan{{experian?.responseData?.vehicle?.technical?.body?.wheelplan}}
Drive Type{{experian?.responseData?.vehicle?.industry?.smmt?.additional?.drivetype}}
Brake Horsepower{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.powerbhp}}
Power kW{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.powerkw}}
RPM{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.powerrpm}}
Torque ft{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.torquefoot}}
Torque NM{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.torquenm}}
Torque RPM{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.torquerpm}}
Maximum Speed MPH{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.maxspeedmph}}
Maximum Speed KPH{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.maxspeedkph}}
Drive Axle{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.drivingaxle}}
Number Of Axles{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.numberofaxles}}
Power Delivery{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.powerdelivery}}
European Engine Standard {{experian?.responseData?.vehicle?.industry?.smmt?.engine?.eurostatus}}
Bore (mm){{experian?.responseData?.vehicle?.industry?.smmt?.engine?.bore}}
Stroke (mm){{experian?.responseData?.vehicle?.industry?.smmt?.engine?.stroke}}
Aspiration {{experian?.responseData?.vehicle?.industry?.smmt?.engine?.aspiration}}
Cylinder Arrangement{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.cylinderarrangement}}
Number Of Cylinders{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.numberofcylinders}}
Valves Per Cylinder{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.valvespercylinder}}
Valve Gear{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.valvegear}}
Height{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.height}}
Length{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.carlength}}
Width{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.width}}
Kerb Weight{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.kerbweight}}
Rigid or Articulated{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.rigidartic}}
Wheelbase{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.wheelbase}}
Gross Vehicle Weight{{experian?.responseData?.vehicle?.technical?.body?.grossweight}}
\r\n
\r\n\r\n

Finance

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Number Of Finance Agreements{{experian?.responseData?.vehicle?.provenance?.finance?.length ? experian?.responseData?.vehicle?.provenance?.finance?.length : 0}}
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Finance CompanyFinance Reference NumberAgreement TypeAgreement TermStart Date Of AgreementFinance Company Contact NumberFinance Company's Description Of Asset
{{finance?.financecompany}}{{finance?.agreementnumber}}{{finance?.agreementtype}}{{finance?.agreementterminmonths}}{{finance?.dateofagreement | date:'dd-MMM-yyyy'}}{{finance?.contactnumber}}{{finance?.description}}
\r\n
\r\n
\r\n\r\n

Condition Alert

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Number Of Condition Alerts{{experian?.responseData?.vehicle?.provenance?.condition?.length ? experian?.responseData?.vehicle?.provenance?.condition?.length : '0'}}
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Loss DateCategoryTheft IndicatorRecorded Insurer on MIAFTRVehicle Make Provided By InsurerVehicle Model Provided By Insurer
{{condition?.lossdate | date:'dd-MMM-yyyy'}}{{condition?.status}}{{condition?.theftindicator}}{{condition?.insurername}}{{condition?.make}}{{condition?.model}}
\r\n
\r\n
\r\n\r\n

VED

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CO2 Band{{experian?.responseData?.vehicle?.technical?.emissions?.co2band}}
CO2 Emissions{{experian?.responseData?.vehicle?.technical?.emissions?.co2}}
VED Band{{experian?.responseData?.vehicle?.technical?.emissions?.ved?.band}}
VED Annual Cost{{experian?.responseData?.vehicle?.technical?.emissions?.ved?.cost12months}}
\r\n
\r\n\r\n

Theft

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Number Of Stolen Records{{experian?.responseData?.vehicle?.provenance?.stolen?.length ? experian?.responseData?.vehicle?.provenance?.stolen?.length : '0'}}
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Theft DatePolice ForcePolice Force Contact NumberStatus
{{condition?.creationdate | date:'dd-MMM-yyyy'}}{{condition?.forcename}}{{condition?.contactnumber}}{{condition?.status}}
\r\n
\r\n
\r\n\r\n \r\n\r\n

Vehicle Codes

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DVLA Vehicle Model And Trim Code{{experian?.responseData?.vehicle?.industry?.smmt?.makemodel?.dvladtpmodelcode}}
DVLA Vehicle Make Code{{experian?.responseData?.vehicle?.industry?.smmt?.makemodel?.dvladtpmakecode}}
Motor Vehicle Registration Information System Model Code{{experian?.responseData?.vehicle?.industry?.smmt?.makemodel?.smmtmvrismodelcode}}
Motor Vehicle Registration Information System Make Code{{experian?.responseData?.vehicle?.industry?.smmt?.makemodel?.smmtmvrismakecode}}
Transmission Code{{experian?.responseData?.vehicle?.technical?.engine?.transmissioncode}}
Body Code{{experian?.responseData?.vehicle?.technical?.body?.bodycode}}
Fuel Code{{experian?.responseData?.vehicle?.technical?.engine?.fuelcode}}
Colour Code {{experian?.responseData?.vehicle?.summary?.colourcode}}
\r\n
\r\n\r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { LoginService } from '../../service/login.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { Login } from '../../models/login';\r\nimport { TechnicalSupport } from 'src/app/home/models/AVAModel/AVAResultData';\r\nimport { Shared } from 'src/app/demo/V3/services/shared';\r\n\r\n@Component({\r\n selector: 'app-otppage',\r\n templateUrl: './otppage.component.html',\r\n styleUrls: ['./otppage.component.css']\r\n})\r\nexport class OTPPageComponent implements OnInit {\r\n public otp: string;\r\n public storedOTPExpired: string;\r\n public isVisibleTimer: boolean = false;\r\n public errorMessage: string = null;\r\n public timerMinutes: number = 5; // Set initial timer minutes\r\n public timerSeconds: number = 0; // Set initial timer seconds\r\n public canResend: boolean = false; // Button enabled/disabled\r\n public timer: any; // Timer reference\r\n public timerOn: boolean = false;\r\n public isResend: boolean = false;\r\n public otpResend: boolean = false;\r\n public expirationTime: any;\r\n public isVisibleVerify: boolean = false;\r\n public login = new Login(null, null, false, null);\r\n\r\n // focusToFirstElementAfterValueUpdate:boolean=false;\r\n // @ViewChild('ngOtpInput') ngOtpInputRef:any;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private loginService: LoginService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n console.log(this.otpResend);\r\n window.addEventListener('popstate', this.handleBackNavigation);\r\n this.route.queryParams\r\n .subscribe(params => {\r\n if (params && params['email'] != null && params['password'] != null && params['termsAndConditions'] != null && params['expirationTime'] != null) {\r\n if ((this.timerMinutes != 0 || this.timerSeconds != 0) && localStorage.getItem('otpExpirationTime')) {\r\n this.startTimer();\r\n this.isVisibleTimer = true;\r\n if(this.timerOn) {\r\n this.otpResend = true;\r\n this.isResend = false;\r\n }\r\n } else {\r\n this.isVisibleTimer = false;\r\n this.canResend = true;\r\n }\r\n this.expirationTime = params['expirationTime'];\r\n this.login.email = params['email'];\r\n this.login.password = params['password'] ? atob(params['password']) : null;\r\n this.login.termsAndConditions = params['termsAndConditions'] == 'true' ? true : false;\r\n }\r\n });\r\n\r\n // this.route.queryParams.subscribe(params => {\r\n // // Check if the timer has already expired\r\n // this.storedOTPExpired = localStorage.getItem('otpExpired');\r\n // if (this.storedOTPExpired === 'true') {\r\n // // If expired, handle accordingly (e.g., show an error or redirect)\r\n // this.isVisibleTimer = false;\r\n // this.isResend = true;\r\n // // alert('The OTP session has expired. Please request a new OTP.');\r\n // return;\r\n // } \r\n\r\n // if (\r\n // params &&\r\n // params['email'] != null &&\r\n // params['password'] != null &&\r\n // params['termsAndConditions'] != null &&\r\n // params['expirationTime'] != null\r\n // ) {\r\n // this.expirationTime = params['expirationTime'];\r\n // this.login.email = params['email'];\r\n // this.login.password = params['password'] ? atob(params['password']) : null;\r\n // this.login.termsAndConditions =\r\n // params['termsAndConditions'] == 'true' ? true : false;\r\n\r\n // // Check if the expiration time is still valid\r\n // const currentTime = Math.floor(Date.now() / 1000); // Current time in seconds\r\n // const expirationTimestamp = parseInt(this.expirationTime, 10);\r\n\r\n // if (expirationTimestamp > currentTime || this.storedOTPExpired == 'false') {\r\n // this.startTimer(); // Start the timer if valid\r\n // this.isVisibleTimer = true;\r\n // } else {\r\n // // If expired, handle expiration\r\n // this.handleTimerExpiration();\r\n // }\r\n // }\r\n // });\r\n\r\n }\r\n\r\n ngOnDestroy(): void {\r\n // Clean up the event listener to avoid memory leaks\r\n window.removeEventListener('popstate', this.handleBackNavigation);\r\n }\r\n\r\n\r\n handleBackNavigation(): void {\r\n // Remove specific key(s) from localStorage\r\n localStorage.removeItem('otpExpirationTime');\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n onOtpChange(event) {\r\n this.otp = event;\r\n if (this.otp.length < 6 || this.otp == null) {\r\n if (this.isResend) {\r\n this.isResend = false;\r\n }\r\n if (!this.timerOn) {\r\n this.isVisibleVerify = true;\r\n this.canResend = true;\r\n } else {\r\n this.isVisibleTimer = true;\r\n this.canResend = false;\r\n }\r\n this.errorMessage = null;\r\n this.isVisibleVerify = false;\r\n }\r\n else if (this.otp.length == 6) {\r\n this.canResend = false;\r\n this.isVisibleVerify = true;\r\n }\r\n this.login.oTP = this.otp;\r\n }\r\n\r\n onKeydown(event: KeyboardEvent): void {\r\n if (!/^\\d$/.test(event.key) && event.key !== 'Backspace') {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n verifyOtp() {\r\n this.canResend = false\r\n const currentDateTimeISO: string = new Date().toISOString();\r\n if (((currentDateTimeISO >= this.expirationTime || (this.isResend && !this.timerOn)) && this.otpResend != true)) {\r\n this.errorMessage = \"Timeout\";\r\n this.canResend = true;\r\n this.isVisibleVerify = false;\r\n } else {\r\n this.errorMessage = null;\r\n this.loginService.Verify2FA(this.login)\r\n .subscribe(data => {\r\n this.errorMessage = null;\r\n localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n localStorage.setItem(\"userId\", data[\"userId\"]);\r\n localStorage.setItem(\"username\", data[\"username\"]);\r\n this.router.navigate([\"/v3\"]);\r\n }, error => {\r\n // console.log(error);\r\n if (error.status == 400) {\r\n if (this.timerOn) {\r\n this.canResend = false;\r\n this.isVisibleTimer = true;\r\n } else {\r\n this.isVisibleTimer = false;\r\n }\r\n this.errorMessage = 'Invalid OTP';\r\n }\r\n })\r\n }\r\n }\r\n\r\n // startTimer(): void {\r\n // this.timerOn = true;\r\n // this.canResend = false;\r\n // this.timerMinutes = 5; // Reset minutes\r\n // this.timerSeconds = 0; // Reset seconds\r\n\r\n // this.timer = setInterval(() => {\r\n // if (this.timerSeconds === 0) {\r\n // if (this.timerMinutes > 0) {\r\n // this.timerMinutes--;\r\n // this.timerSeconds = 59;\r\n // } else {\r\n // clearInterval(this.timer);\r\n // this.timerOn = false;\r\n // if(this.otp !=null && this.otp.length <= 6){\r\n // this.canResend = false; \r\n // this.isVisibleVerify = true;\r\n // }\r\n // this.isVisibleTimer = false;\r\n // this.isResend = true;\r\n // }\r\n // } else {\r\n // this.timerSeconds--;\r\n // }\r\n // }, 1000);\r\n // }\r\n\r\n startTimer(): void {\r\n // Clear the expired flag (if previously set)\r\n const currentTime = Math.floor(Date.now() / 1000); // Current time in seconds\r\n const expirationTime = localStorage.getItem('otpExpirationTime');\r\n\r\n if (expirationTime) {\r\n const expirationTimestamp = parseInt(expirationTime, 10);\r\n\r\n if (expirationTimestamp > currentTime) {\r\n // Calculate remaining time\r\n const remainingTime = expirationTimestamp - currentTime;\r\n this.timerMinutes = Math.floor(remainingTime / 60);\r\n this.timerSeconds = remainingTime % 60;\r\n } else {\r\n // OTP expired\r\n this.handleTimerExpiration();\r\n return;\r\n }\r\n }\r\n\r\n // else {\r\n // // First time or no expiration time found\r\n // const newExpirationTime = currentTime + 1 * 60; // 5 minutes from now\r\n // localStorage.setItem('otpExpirationTime', newExpirationTime.toString());\r\n // }\r\n\r\n this.timerOn = true;\r\n this.canResend = false;\r\n\r\n this.timer = setInterval(() => {\r\n if (this.timerSeconds === 0) {\r\n if (this.timerMinutes > 0) {\r\n this.timerMinutes--;\r\n this.timerSeconds = 59;\r\n } else {\r\n clearInterval(this.timer);\r\n this.expirationTime = \"\";\r\n this.handleTimerExpiration();\r\n }\r\n } else {\r\n this.timerSeconds--;\r\n }\r\n }, 1000);\r\n }\r\n\r\n handleTimerExpiration(): void {\r\n this.otpResend = false;\r\n this.timerOn = false;\r\n this.canResend = true;\r\n this.isVisibleVerify = false;\r\n this.isVisibleTimer = false;\r\n this.isResend = true;\r\n\r\n // Remove the expiration time from storage\r\n localStorage.removeItem('otpExpirationTime');\r\n\r\n // Optional: Display a message to the user\r\n // alert('OTP has expired. Please request a new OTP.');\r\n }\r\n\r\n\r\n resendOtp(): void {\r\n if (this.canResend) {\r\n this.errorMessage = null;\r\n this.isVisibleTimer = true;\r\n }\r\n this.otpResend = true;\r\n this.isResend = true;\r\n this.loginService.Userlogin(this.login)\r\n .subscribe(\r\n data => {\r\n // console.log(data['message']);\r\n console.log(data['expiresAt']);\r\n this.expirationTime = data['expiresAt'];\r\n if (data['message'] != null && data['expiresAt'] != null) {\r\n console.log('Resending OTP...');\r\n this.timerMinutes = 5;\r\n this.timerSeconds = 0;\r\n const currentTime = Math.floor(Date.now() / 1000); // Current time in seconds\r\n const newExpirationTime = currentTime + 5 * 60; // 5 minutes from now\r\n localStorage.setItem('otpExpirationTime', newExpirationTime.toString());\r\n this.startTimer();\r\n }\r\n })\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

OTP verification

\r\n
\r\n

check your e-mail for one-time passcode

\r\n \r\n
\r\n
\r\n

{{ errorMessage }}

\r\n

Time Remaining: {{ timerMinutes }}:{{ timerSeconds | number: '2.0' }}

\r\n \r\n Resend OTP\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n ","import { Injectable } from '@angular/core';\r\nimport { RequestData } from '../search-pages/models/SearchRequestModel';\r\nimport { Observable } from 'rxjs';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AustraliaSearchService {\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n public GetMotorWebSearchResult(requestData: RequestData): Observable {\r\n return this.http.post('api/V3AustraliaSearch/GetMotorWebSearch', requestData);\r\n }\r\n\r\n public GetVehicleIdSearchResult(requestData: RequestData): Observable {\r\n return this.http.post('api/V3AustraliaSearch/GetVehicleIdSearch', requestData);\r\n }\r\n\r\n public GetPersonHistory(requestData: RequestData): Observable {\r\n return this.http.post('api/V3AustraliaSearch/GetPersonHistory', requestData);\r\n }\r\n\r\n public GetEnhancedRecordPlus(requestData: RequestData): Observable {\r\n return this.http.post('api/V3AustraliaSearch/GetEnhancedRecordPlus', requestData);\r\n }\r\n\r\n public GetABRSearchByName(requestData: RequestData): Observable {\r\n return this.http.post('api/V3AustraliaSearch/GetABRSearchByName', requestData);\r\n }\r\n\r\n public GetSearchByABN(requestData: RequestData): Observable {\r\n return this.http.post('api/V3AustraliaSearch/GetSearchByABN', requestData);\r\n }\r\n\r\n public GetSearchByASIC(requestData: RequestData): Observable {\r\n return this.http.post('api/V3AustraliaSearch/GetSearchByASIC', requestData);\r\n }\r\n\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { T2AResultModel } from '../../../../../models/AddressResultModel';\r\n\r\n@Component({\r\n selector: 'app-t2a-result-personal',\r\n templateUrl: './t2a-result-personal.component.html',\r\n styleUrls: ['./t2a-result-personal.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class T2aResultPersonalComponent implements OnInit {\r\n\r\n @Input() public t2a: T2AResultModel = new T2AResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","

Occupancy

\r\n
{{messageService.NoSearchSelect}}
\r\n
{{messageService.T2ARequiredMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Resident Name: {{person?.name_single_line | titlecase}}

\r\n

Address: {{person?.addr_single_line | titlecase}}

\r\n

Telephone: {{person?.telephone_number | titlecase}}

\r\n

Mobile: {{person?.mobile | titlecase}}

\r\n
0\" class=\"mb-1\">\r\n
Years Resident:
\r\n
\r\n
{{year}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","export class VATResultModel {\r\n public isLoading: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n public validation: boolean;\r\n}\r\n\r\nclass VATAPIResultModel {\r\n public name: string;\r\n public vatNumber: string;\r\n public address: VATAPIAddressResultModel;\r\n}\r\n\r\nclass VATAPIAddressResultModel {\r\n public line1: string;\r\n public line2: string;\r\n public line3: string;\r\n public line4: string;\r\n public postcode: string;\r\n public countryCode: string;\r\n}\r\n","import { Items } from \"./Items\";\r\n\r\nexport class CriminalityResultModel {\r\n public lexiconStatus: LexiconStatus[] = [];\r\n public noRelevantDataCriminality: boolean;\r\n public noSearchSelect: boolean;\r\n public resultCount: number;\r\n public isResultValues: boolean;\r\n public showAllResults: boolean;\r\n public showRelevantResults: boolean;\r\n //public lexicons: string[] = [\"Risk\"];\r\n public lexicons: string[] = [\"Risk\", \"Theft\", \"Fraud\", \"Driving\", \"Drugs\", \"Violence\", \"Crime\", \"Officials\", \"Offenders\"];\r\n public compareLexicons: string[] = [];\r\n public rankingResults: Items[] = [];\r\n public sortFinalResults: Items[] = [];\r\n public relevantResults: Items[] = [];\r\n public finalResults: Items[] = [];\r\n public searchUniqueIdlist: string[] = [];\r\n public filterLexiconStatus: LexiconStatus;\r\n public devData: boolean = true;\r\n public domainResults: Items[] = [];\r\n public criminalitySuccessCount: number = 0;\r\n public crimeSearchResultCount: number;\r\n public resultComplete: boolean;\r\n public criminalityRelevantRank: number = 0;\r\n public collapseResultStatus: string;\r\n public collapseResultIcon: string;\r\n public collapseResultClass: string;\r\n public isLoading: boolean;\r\n}\r\n\r\nexport class LexiconStatus {\r\n constructor(\r\n public name: string,\r\n public status: string,\r\n public searchloading: boolean,\r\n public searchStatusCount: number,\r\n public analysisStatusCount: number\r\n ) { }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from 'src/app/demo/V3/search-pages/models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-personal-au',\r\n templateUrl: './pdf-search-form-personal-au.component.html',\r\n styleUrls: ['./pdf-search-form-personal-au.component.css','../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormPersonalAuComponent implements OnInit {\r\n @Input() public requestData: RequestData = new RequestData();\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Name:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n DOB:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Phone:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Street Address:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Suburb:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n State:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Post Code:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-ltd-accounts-business',\r\n templateUrl: './pdf-ltd-accounts-business.component.html',\r\n styleUrls: ['./pdf-ltd-accounts-business.component.css']\r\n})\r\nexport class PdfLtdAccountsBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public yearEndExpand() {\r\n const thisRef = this;\r\n this.business?.responseData?.creditsafeResult?.report?.financialStatements?.forEach(x => {\r\n thisRef[x.yearEndDate] = true;\r\n });\r\n return thisRef;\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Filing Date Of Recent Accounts{{business?.responseData?.creditsafeResult?.report?.additionalInformation?.miscellaneous?.filingDateOfAccounts | date:'MMM-yyyy'}}
Date Accounts Due{{business?.responseData?.creditsafeResult?.report?.additionalInformation?.miscellaneous?.accountsDueDate | date:'MMM-yyyy'}}
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
TypeYear End DateNumber Of WeeksCurrencyConsolidated AccountAudit SummaryAccounts Stats
{{financial?.type}}{{financial?.yearEndDate | date: 'dd-MM-yyyy'}}{{financial?.numberOfWeeks}}{{financial?.currency}}{{financial?.consolidatedAccounts}}Not foundNot found
\r\n
\r\n\r\n

Profit & Loss

\r\n\r\n \r\n \r\n \r\n Year End Date \r\n Revenue \r\n Exports \r\n Cost Of Sales \r\n Audit Fees \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.profitAndLoss?.revenue}}\r\n {{financial?.profitAndLoss?.exports}}\r\n {{financial?.profitAndLoss?.costOfSales}}\r\n {{financial?.profitAndLoss?.auditFees}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Revenue
\r\n
{{financial?.profitAndLoss?.revenue}}
\r\n
\r\n
\r\n
Exports
\r\n
{{financial?.profitAndLoss?.exports}}
\r\n
\r\n
\r\n
Cost Of Sales
\r\n
{{financial?.profitAndLoss?.costOfSales}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Audit Fees
\r\n
{{financial?.profitAndLoss?.auditFees}}
\r\n
\r\n
\r\n
Statutory Audit Costs
\r\n
{{financial?.profitAndLoss?.statutoryAuditCosts}}
\r\n
\r\n
\r\n
Other Audit Costs
\r\n
{{financial?.profitAndLoss?.otherAuditCosts}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Accountant Fees
\r\n
{{financial?.profitAndLoss?.accountantFees}}
\r\n
\r\n
\r\n
Operating Cost
\r\n
{{financial?.profitAndLoss?.operatingCosts}}
\r\n
\r\n
\r\n
Operating Profit
\r\n
{{financial?.profitAndLoss?.operatingProfit}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Director Remineration
\r\n
{{financial?.profitAndLoss?.directorsRemuneration}}
\r\n
\r\n
\r\n
Director Fees
\r\n
{{financial?.profitAndLoss?.directorFees}}
\r\n
\r\n
\r\n
Director Pensions
\r\n
{{financial?.profitAndLoss?.directorPensions}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Director Social Security
\r\n
{{financial?.profitAndLoss?.directorSocialSecurity}}
\r\n
\r\n
\r\n
Director Other
\r\n
{{financial?.profitAndLoss?.directorOther}}
\r\n
\r\n
\r\n
Highest Paid Director
\r\n
{{financial?.profitAndLoss?.highestPaidDirector}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Employee Costs
\r\n
{{financial?.profitAndLoss?.employeeCosts}}
\r\n
\r\n
\r\n
Other Employee Costs
\r\n
{{financial?.profitAndLoss?.otherEmployeeCosts}}
\r\n
\r\n
\r\n
Employee Fees
\r\n
{{financial?.profitAndLoss?.employeeRemuneration}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Wages and Salaries
\r\n
{{financial?.profitAndLoss?.wagesAndSalaries}}
\r\n
\r\n
\r\n
Pensions
\r\n
{{financial?.profitAndLoss?.pensions}}
\r\n
\r\n
\r\n
Pension Costs
\r\n
{{financial?.profitAndLoss?.pensionCosts}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Deprecitation
\r\n
{{financial?.profitAndLoss?.depreciation}}
\r\n
\r\n
\r\n
Depreciation Of Tangibles
\r\n
{{financial?.profitAndLoss?.depreciationOfTangibles}}
\r\n
\r\n
\r\n
Amortisation
\r\n
{{financial?.profitAndLoss?.amortisation}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Amortisation Of Intangibles
\r\n
{{financial?.profitAndLoss?.amortisationOfIntangibles}}
\r\n
\r\n
\r\n
Financial Expenses
\r\n
{{financial?.profitAndLoss?.financialExpenses}}
\r\n
\r\n
\r\n
Interest Receivable
\r\n
{{financial?.profitAndLoss?.interestReceivable}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Bank Interest Receivable
\r\n
{{financial?.profitAndLoss?.bankInterestReceivable}}
\r\n
\r\n
\r\n
Group Interest Receivable
\r\n
{{financial?.profitAndLoss?.groupInterestReceivable}}
\r\n
\r\n
\r\n
Other Interest Receivable
\r\n
{{financial?.profitAndLoss?.otherInterestReceivable}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Interest Payable
\r\n
{{financial?.profitAndLoss?.interestPayable}}
\r\n
\r\n
\r\n
Bank Interest Payable
\r\n
{{financial?.profitAndLoss?.bankInterestPayable}}
\r\n
\r\n
\r\n
Lease Interest Payable
\r\n
{{financial?.profitAndLoss?.leaseInterestPayable}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
HP Interest Payable
\r\n
{{financial?.profitAndLoss?.hpInterestPayable}}
\r\n
\r\n
\r\n
Other Interest Payable
\r\n
{{financial?.profitAndLoss?.otherInterestPayable}}
\r\n
\r\n
\r\n
Social Security
\r\n
{{financial?.profitAndLoss?.socialSecurity}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Gross Profit
\r\n
{{financial?.profitAndLoss?.grossProfit}}
\r\n
\r\n
\r\n
Pre Tax Profit
\r\n
{{financial?.profitAndLoss?.preTaxProfit}}
\r\n
\r\n
\r\n
Profit Before Tax
\r\n
{{financial?.profitAndLoss?.profitBeforeTax}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Tax
\r\n
{{financial?.profitAndLoss?.tax}}
\r\n
\r\n
\r\n
Profit After Tax
\r\n
{{financial?.profitAndLoss?.profitAfterTax}}
\r\n
\r\n
\r\n
Exceptional Items
\r\n
{{financial?.profitAndLoss?.exceptionalItems}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Exceptional Profit or Loss On Reorganisations
\r\n
{{financial?.profitAndLoss?.exceptionalProfitOrLossOnReorganisations}}
\r\n
\r\n
\r\n
Exceptional Profit or Loss On Disposal Or Acquisition
\r\n
{{financial?.profitAndLoss?.exceptionalProfitOrLossOnDisposalOrAcquisition}}
\r\n
\r\n
\r\n
Exceptional Other Items
\r\n
{{financial?.profitAndLoss?.exceptionalOtherItems}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Dividends
\r\n
{{financial?.profitAndLoss?.dividends}}
\r\n
\r\n
\r\n
Dividends Paid
\r\n
{{financial?.profitAndLoss?.dividendsPaid}}
\r\n
\r\n
\r\n
Minority Interests
\r\n
{{financial?.profitAndLoss?.minorityInterests}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Profit Attributable To Minority Interests
\r\n
{{financial?.profitAndLoss?.profitAttributableToMinorityInterests}}
\r\n
\r\n
\r\n
Other Appropriations
\r\n
{{financial?.profitAndLoss?.otherAppropriations}}
\r\n
\r\n
\r\n
Retained Profit
\r\n
{{financial?.profitAndLoss?.retainedProfit}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n

Balance Sheet

\r\n\r\n \r\n \r\n \r\n Year End Date \r\n Tangible Assets \r\n Total Tangible Assets \r\n Intangible Assets \r\n Total Intangible Assets \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.balanceSheet?.totalTangibleAssets}}\r\n {{financial?.balanceSheet?.totalIntangibleAssets}}\r\n {{financial?.balanceSheet?.intangibleAssets}}\r\n {{financial?.balanceSheet?.totalIntangibleAssets}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Tangible Assets
\r\n
{{financial?.balanceSheet?.totalTangibleAssets}}
\r\n
\r\n
\r\n
Total Tangible Assets
\r\n
{{financial?.balanceSheet?.totalIntangibleAssets}}
\r\n
\r\n
\r\n
Intangible Assets
\r\n
{{financial?.balanceSheet?.intangibleAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Intangible Assets
\r\n
{{financial?.balanceSheet?.totalIntangibleAssets}}
\r\n
\r\n
\r\n
Investment And Other Assets
\r\n
{{financial?.balanceSheet?.investmentAndOtherAssets}}
\r\n
\r\n
\r\n
Investment Assets
\r\n
{{financial?.balanceSheet?.investmentAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Financial Assets
\r\n
{{financial?.balanceSheet?.financialAssets}}
\r\n
\r\n
\r\n
Miscellaneous Current Assets
\r\n
{{financial?.balanceSheet?.miscCurrentAssets}}
\r\n
\r\n
\r\n
Other Current Assets
\r\n
{{financial?.balanceSheet?.otherCurrentAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Fixed Assets
\r\n
{{financial?.balanceSheet?.totalOtherFixedAssets}}
\r\n
\r\n
\r\n
Other Current Assets
\r\n
{{financial?.balanceSheet?.otherCurrentAssets}}
\r\n
\r\n
\r\n
Current Financial Assets
\r\n
{{financial?.balanceSheet?.currentFinancialAssets}}
\r\n
\r\n
\r\n
Net Assets
\r\n
{{financial?.balanceSheet?.netAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Current Assets
\r\n
{{financial?.balanceSheet?.totalCurrentAssets}}
\r\n
\r\n
\r\n
Total Fixed Assets
\r\n
{{financial?.balanceSheet?.totalFixedAssets}}
\r\n
\r\n
\r\n
Total Assets
\r\n
{{financial?.balanceSheet?.totalAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Trade Debtors
\r\n
{{financial?.balanceSheet?.tradeDebtors}}
\r\n
\r\n
\r\n
Other Debtors
\r\n
{{financial?.balanceSheet?.otherDebtors}}
\r\n
\r\n
\r\n
Debtors Due After 1 Year
\r\n
{{financial?.balanceSheet?.debtorsDueAfter1Year}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Non Current Assets
\r\n
{{financial?.balanceSheet?.otherNonCurrentAssets}}
\r\n
\r\n
\r\n
Total Non Current Assets
\r\n
{{financial?.balanceSheet?.totalNonCurrentAssets}}
\r\n
\r\n
\r\n
Stock
\r\n
{{financial?.balanceSheet?.stock}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Inventories
\r\n
{{financial?.balanceSheet?.inventories}}
\r\n
\r\n
\r\n
Total Inventories
\r\n
{{financial?.balanceSheet?.totalInventories}}
\r\n
\r\n
\r\n
Raw Materials
\r\n
{{financial?.balanceSheet?.rawMaterials}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Work In Progress
\r\n
{{financial?.balanceSheet?.workInProgress}}
\r\n
\r\n
\r\n
Finished Goods
\r\n
{{financial?.balanceSheet?.finishedGoods}}
\r\n
\r\n
\r\n
Trade And Other Reveivables
\r\n
{{financial?.balanceSheet?.tradeAndOtherReceivables}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Trade Receivables
\r\n
{{financial?.balanceSheet?.tradeReceivables}}
\r\n
\r\n
\r\n
Group Receivables
\r\n
{{financial?.balanceSheet?.groupReceivables}}
\r\n
\r\n
\r\n
Miscellaneous Receivables
\r\n
{{financial?.balanceSheet?.miscellaneousReceivables}}
\r\n
\r\n
\r\n
Total Receivables
\r\n
{{financial?.balanceSheet?.totalReceivables}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Miscellaneous Debtors
\r\n
{{financial?.balanceSheet?.miscDebtors}}
\r\n
\r\n
\r\n
Cash
\r\n
{{financial?.balanceSheet?.cash}}
\r\n
\r\n
\r\n
Cash And Cash Equivalents
\r\n
{{financial?.balanceSheet?.cashAndCashEquivalents}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Trade And Other Payables
\r\n
{{financial?.balanceSheet?.tradeAndOtherPayables}}
\r\n
\r\n
\r\n
Trade Payables
\r\n
{{financial?.balanceSheet?.tradePayables}}
\r\n
\r\n
\r\n
Group Payables
\r\n
{{financial?.balanceSheet?.groupPayables}}
\r\n
\r\n
\r\n
Current Tax Liabilities
\r\n
{{financial?.balanceSheet?.currentTaxLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Accruals And Deferred Income
\r\n
{{financial?.balanceSheet?.accrualsAndDeferredIncome}}
\r\n
\r\n
\r\n
Other Payables
\r\n
{{financial?.balanceSheet?.otherPayables}}
\r\n
\r\n
\r\n
Current Financial Liabilities
\r\n
{{financial?.balanceSheet?.currentFinancialLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Current Bank Borrowings
\r\n
{{financial?.balanceSheet?.bankBorrowingsCurrent}}
\r\n
\r\n
\r\n
Bank Overdraft
\r\n
{{financial?.balanceSheet?.bankOverdraft}}
\r\n
\r\n
\r\n
Bank Loan
\r\n
{{financial?.balanceSheet?.bankLoan}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Miscellaneous Current Liabilities
\r\n
{{financial?.balanceSheet?.miscCurrentLiabilities}}
\r\n
\r\n
\r\n
Bank Liabilities Due After 1 Year
\r\n
{{financial?.balanceSheet?.bankLiabilitiesDueAfter1Year}}
\r\n
\r\n
\r\n
Bank Liabilities
\r\n
{{financial?.balanceSheet?.bankLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Group Accounts
\r\n
{{financial?.balanceSheet?.groupAccounts}}
\r\n
\r\n
\r\n
Directors Accounts
\r\n
{{financial?.balanceSheet?.directorsAccounts}}
\r\n
\r\n
\r\n
Other Short Term Loans
\r\n
{{financial?.balanceSheet?.otherShortTermLoans}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Long Term Finance
\r\n
{{financial?.balanceSheet?.otherLongTermFinance}}
\r\n
\r\n
\r\n
Other Loans Or Finance Due After 1 Year
\r\n
{{financial?.balanceSheet?.otherLoansOrFinanceDueAfter1Year}}
\r\n
\r\n
\r\n
Other Short Term Finance
\r\n
{{financial?.balanceSheet?.otherShortTermFinance}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Loans Or Finance
\r\n
{{financial?.balanceSheet?.otherLoansOrFinance}}
\r\n
\r\n
\r\n
Current Hire Purchase Commitments
\r\n
{{financial?.balanceSheet?.currentHirePurchaseCommitments}}
\r\n
\r\n
\r\n
Current Lease Commitments
\r\n
{{financial?.balanceSheet?.currentLeaseCommitments}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Current Grants
\r\n
{{financial?.balanceSheet?.currentGrants}}
\r\n
\r\n
\r\n
Other Current Financial Liabilities
\r\n
{{financial?.balanceSheet?.otherCurrentFinancialLiabilities}}
\r\n
\r\n
\r\n
Trade Creditors
\r\n
{{financial?.balanceSheet?.tradeCreditors}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Other Current Liabilities
\r\n
{{financial?.balanceSheet?.totalOtherCurrentLiabilities}}
\r\n
\r\n
\r\n
Total Long Term Liabilities
\r\n
{{financial?.balanceSheet?.totalLongTermLiabilities}}
\r\n
\r\n
\r\n
Total Liabilities
\r\n
{{financial?.balanceSheet?.totalLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Current Liabilities Held For Resale
\r\n
{{financial?.balanceSheet?.currentLiabilitiesHeldForResale}}
\r\n
\r\n
\r\n
Provisions And Charges
\r\n
{{financial?.balanceSheet?.provisionsAndCharges}}
\r\n
\r\n
\r\n
Other Current Liabilities
\r\n
{{financial?.balanceSheet?.otherCurrentLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Miscellaneous Liabilities
\r\n
{{financial?.balanceSheet?.miscellaneousLiabilities}}
\r\n
\r\n
\r\n
Miscellaneous Liabilities Due After 1 Year
\r\n
{{financial?.balanceSheet?.miscellaneousLiabilitiesDueAfter1Year}}
\r\n
\r\n
\r\n
Total Current Liabilities
\r\n
{{financial?.balanceSheet?.totalCurrentLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Non Current Financial Liabilities
\r\n
{{financial?.balanceSheet?.nonCurrentFinancialLiabilities}}
\r\n
\r\n
\r\n
Interest Bearing Loans
\r\n
{{financial?.balanceSheet?.interestBearingLoans}}
\r\n
\r\n
\r\n
Non Current Hire Purchase Commitments
\r\n
{{financial?.balanceSheet?.nonCurrentHirePurchaseCommitments}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Non Current Lease Commitments
\r\n
{{financial?.balanceSheet?.nonCurrentLeaseCommitments}}
\r\n
\r\n
\r\n
Non Current Group Loans
\r\n
{{financial?.balanceSheet?.nonCurrentGroupLoans}}
\r\n
\r\n
\r\n
Non Current Directors Loans
\r\n
{{financial?.balanceSheet?.nonCurrentDirectorsLoans}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Non Current Financial Liabilities
\r\n
{{financial?.balanceSheet?.otherNonCurrentFinancialLiabilities}}
\r\n
\r\n
\r\n
Non Current Grants
\r\n
{{financial?.balanceSheet?.nonCurrentGrants}}
\r\n
\r\n
\r\n
Total Other Non Current Liabilities
\r\n
{{financial?.balanceSheet?.totalOtherNonCurrentLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Non Current Trade Payables
\r\n
{{financial?.balanceSheet?.nonCurrentTradePayables}}
\r\n
\r\n
\r\n
Non Current Group Accounts Payable
\r\n
{{financial?.balanceSheet?.nonCurrentGroupAccountsPayable}}
\r\n
\r\n
\r\n
Non Current Liabilities Held For Resale
\r\n
{{financial?.balanceSheet?.nonCurrentLiabilitiesHeldForResale}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Accruals And Deferred Income Due After 1 Year
\r\n
{{financial?.balanceSheet?.accrualsAndDeferredIncomeDueAfter1Year}}
\r\n
\r\n
\r\n
Non Current Other Payables
\r\n
{{financial?.balanceSheet?.nonCurrentOtherPayables}}
\r\n
\r\n
\r\n
Provisions
\r\n
{{financial?.balanceSheet?.provisions}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Deferred Tax Liabilities
\r\n
{{financial?.balanceSheet?.deferredTaxLiabilities}}
\r\n
\r\n
\r\n
Other Provisions
\r\n
{{financial?.balanceSheet?.otherProvisions}}
\r\n
\r\n
\r\n
Pension Liabilities
\r\n
{{financial?.balanceSheet?.pensionLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Non Current Liabilities
\r\n
{{financial?.balanceSheet?.totalNonCurrentLiabilities}}
\r\n
\r\n
\r\n
Total Called Up Or Issued Capital
\r\n
{{financial?.balanceSheet?.totalCalledUpOrIssuedCapital}}
\r\n
\r\n
\r\n
Ordinary Shares
\r\n
{{financial?.balanceSheet?.ordinaryShares}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Preference Shares
\r\n
{{financial?.balanceSheet?.preferenceShares}}
\r\n
\r\n
\r\n
Other Shares
\r\n
{{financial?.balanceSheet?.otherShares}}
\r\n
\r\n
\r\n
Revenue Reserves
\r\n
{{financial?.balanceSheet?.revenueReserves}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Profit And Loss Or Revenue Reserve
\r\n
{{financial?.balanceSheet?.profitAndLossOrRevenueReserve}}
\r\n
\r\n
\r\n
Revaluation Reserve
\r\n
{{financial?.balanceSheet?.revaluationReserve}}
\r\n
\r\n
\r\n
Other Reserves
\r\n
{{financial?.balanceSheet?.otherReserves}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Issued Share Capital
\r\n
{{financial?.balanceSheet?.issuedShareCapital}}
\r\n
\r\n
\r\n
Called Up Share Capital
\r\n
{{financial?.balanceSheet?.calledUpShareCapital}}
\r\n
\r\n
\r\n
Total Shareholders Equity
\r\n
{{financial?.balanceSheet?.totalShareholdersEquity}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Shareholders Funds
\r\n
{{financial?.balanceSheet?.totalShareholdersFunds}}
\r\n
\r\n
\r\n
Minority Interests
\r\n
{{financial?.balanceSheet?.minorityInterests}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n

Cash Flow

\r\n\r\n \r\n \r\n Year End Date \r\n Net Cash Flow From Operations \r\n Net Cash Flow Before Financing \r\n Net Cash Flow From Financing \r\n Increase In Cash \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.cashFlow?.netCashFlowFromOperations}}\r\n {{financial?.cashFlow?.netCashFlowBeforeFinancing}}\r\n {{financial?.cashFlow?.netCashFlowFromFinancing}}\r\n {{financial?.cashFlow?.increaseInCash}}\r\n \r\n \r\n\r\n\r\n

Other Financials

\r\n\r\n \r\n \r\n Year End Date \r\n Contingent Liabilities \r\n Bank Overdraft And Long Term Loans \r\n Working Capital \r\n Capital Employed \r\n Net Worth \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.otherFinancials?.contingentLiabilities}}\r\n {{financial?.otherFinancials?.bankOverdraftAndLTL}}\r\n {{financial?.otherFinancials?.workingCapital}}\r\n {{financial?.otherFinancials?.capitalEmployed}}\r\n {{financial?.otherFinancials?.netWorth}}\r\n \r\n \r\n\r\n\r\n

Ratios

\r\n\r\n \r\n \r\n \r\n Year End Date \r\n Pre Tax Profit Margin \r\n Return On Capital Employed \r\n Return On Total Assets Employed \r\n Return On Net Assets Employed \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.ratios?.preTaxProfitMargin}}\r\n {{financial?.ratios?.returnOnCapitalEmployed}}\r\n {{financial?.ratios?.returnOnTotalAssetsEmployed}}\r\n {{financial?.ratios?.returnOnNetAssetsEmployed}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Sales Or Net Working Capital
\r\n
{{financial?.ratios?.salesOrNetWorkingCapital}}
\r\n
\r\n
\r\n
Stock Turnover Ratio
\r\n
{{financial?.ratios?.stockTurnoverRatio}}
\r\n
\r\n
\r\n
Debtor Days
\r\n
{{financial?.ratios?.debtorDays}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Creditor Days
\r\n
{{financial?.ratios?.creditorDays}}
\r\n
\r\n
\r\n
Current Ratio
\r\n
{{financial?.ratios?.currentRatio}}
\r\n
\r\n
\r\n
Liquidity Ratio Or Acid Test
\r\n
{{financial?.ratios?.liquidityRatioOrAcidTest}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Current Debt Ratio
\r\n
{{financial?.ratios?.currentDebtRatio}}
\r\n
\r\n
\r\n
Gearing
\r\n
{{financial?.ratios?.gearing}}
\r\n
\r\n
\r\n
Equity In Percentage
\r\n
{{financial?.ratios?.equityInPercentage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Debt Ratio
\r\n
{{financial?.ratios?.totalDebtRatio}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { InputData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-search-form',\r\n templateUrl: './search-form.component.html',\r\n styleUrls: ['./search-form.component.css']\r\n})\r\nexport class SearchFormComponent implements OnInit {\r\n\r\n @Input() public inputData: InputData = new InputData();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
\r\n

You Tell Us

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Name:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Post Code:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Mobile:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n VRN:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n DOB:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Additional Information\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n House No/Name:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Street:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n City:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n County:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Country:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Company:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Associated Entities:\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessSearchResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/BusinessSearchResultModel';\r\n\r\n@Component({\r\n selector: 'app-au-business-asicsearch',\r\n templateUrl: './au-business-asicsearch.component.html',\r\n styleUrls: ['./au-business-asicsearch.component.css']\r\n})\r\nexport class AuBusinessAsicsearchComponent implements OnInit {\r\n@Input() businessResultDataModel: BusinessSearchResultModel = new BusinessSearchResultModel();\r\n@Input() searchType: string = null; \r\nconstructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n getLegalNames(legal?: any): string {\r\n let target:any = null;\r\n if(this.searchType == 'SearchByABN'){\r\n target = legal || this.businessResultDataModel?.responseData?.response?.businessEntity202001?.legalName;\r\n if (!target) return '';\r\n } else if(this.searchType == 'SearchByASIC'){\r\n target = legal || this.businessResultDataModel?.responseData?.response?.businessEntity201408?.legalName;\r\n if (!target) return '';\r\n }\r\n \r\n return [\r\n target?.familyName,\r\n target?.givenName,\r\n target?.otherGivenName\r\n ]\r\n .filter(name => name !== null && name !== undefined)\r\n .join(', ');\r\n }\r\n\r\n isArray(value: any): boolean {\r\n return Array.isArray(value);\r\n }\r\n\r\n isObject(value: any): boolean {\r\n return typeof value === 'object' && !Array.isArray(value) && value !== null;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

ABN Details

\r\n
\r\n
\r\n
\r\n
\r\n Updated:\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.recordLastUpdatedDate | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Entity Type:\r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.entityType?.entityDescription }} \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n ASIC Number:\r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.ASICNumber}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n ABN\r\n
\r\n
\r\n From\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ abn.identifierValue }}\r\n
\r\n
\r\n {{ (abn.replacedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.ABN.identifierValue }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.ABN.replacedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Entity Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ main?.organisationName }}\r\n
\r\n
\r\n {{ (main?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (main?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.mainName?.organisationName }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainName?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainName?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n {{ getLegalNames(legal) }}\r\n
\r\n
\r\n {{ (legal.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (legal.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ getLegalNames() }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n ABN Status\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ entity?.entityStatusCode }}\r\n
\r\n
\r\n {{ (entity?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (entity?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.entityStatus.entityStatusCode }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.entityStatus.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.entityStatus.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Goods & Services Tax (GST)\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ (serviceTax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (serviceTax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.goodsAndServicesTax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.goodsAndServicesTax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Main Business Location\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ mainAddress.stateCode + '/' + mainAddress.postcode }}\r\n
\r\n
\r\n {{ (mainAddress.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (mainAddress.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.mainBusinessPhysicalAddress?.stateCode + '/' + businessResultDataModel?.responseData?.response?.businessEntity201408?.mainBusinessPhysicalAddress?.postcode }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainBusinessPhysicalAddress?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainBusinessPhysicalAddress?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Business Name(s)

\r\n
\r\n
\r\n
\r\n
\r\n Business Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ business.organisationName }}\r\n
\r\n
\r\n {{ (business.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (business.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.businessName.organisationName }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.businessName.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.businessName.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Trading Name(s)

\r\n
\r\n
\r\n
\r\n
\r\n Trading Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ mainTrading.organisationName }}\r\n
\r\n
\r\n {{ (mainTrading.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (mainTrading.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.mainTradingName.organisationName }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainTradingName.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainTradingName.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ otherTrading.organisationName }}\r\n
\r\n
\r\n {{ (otherTrading.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (otherTrading.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.otherTradingName.organisationName }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.otherTradingName.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.otherTradingName.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Charity Tax Concession Status

\r\n
\r\n
\r\n
\r\n
\r\n Charity/Fund Type\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ type.charityTypeDescription }}\r\n
\r\n
\r\n {{ (type.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (type.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.charityType.charityTypeDescription }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.charityType.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.charityType.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Tax Concessions\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ tax.endorsementType }}\r\n
\r\n
\r\n {{ (tax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (tax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.taxConcessionCharityEndorsement.endorsementType }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.taxConcessionCharityEndorsement.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.taxConcessionCharityEndorsement.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Public Benevolent Institution (PBI) Employer Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ employer.organisationName }}\r\n
\r\n
\r\n {{ (employer.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (employer.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.organisationName }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Deductible Gift Recipient Status

\r\n
\r\n
\r\n
\r\n
\r\n Fund,Authority or Institution Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ fund?.dgrFundName?.organisationName }}\r\n
\r\n
\r\n {{ (fund?.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (fund?.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrFund?.dgrFundName?.organisationName }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrFund?.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrFund?.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Entity Endorsement\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ dgr.entityEndorsement }}\r\n
\r\n
\r\n {{ (dgr.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (dgr.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrEndorsement.entityEndorsement }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrEndorsement.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrEndorsement.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Australian Charities and Not-for-profits Commission(ACNC)

\r\n
\r\n
\r\n
\r\n
\r\n ACNC registration\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ acnc.status }}\r\n
\r\n
\r\n {{ (acnc.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (acnc.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.ACNCRegistration.status }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.ACNCRegistration.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (businessResultDataModel?.responseData?.response?.businessEntity201408?.ACNCRegistration.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: true,\r\n DevData: false,\r\n //TemplateURL: 'https://headsupscreenfuncapptest.blob.core.windows.net/headsupscreen-container-template-test/Template.csv'\r\n //commercialTemplateURL: 'https://stheadsupscreenfuncprod.blob.core.windows.net/stcontainer-headsupscreen-template-prod/Commercial-Template.csv',\r\n commercialTemplateURL: 'https://stheadsupscreenfuncprod.blob.core.windows.net/stcontainer-headsupscreen-template-prod/New-Commercial-Template.csv',\r\n personalTemplateURL: 'https://stheadsupscreenfuncprod.blob.core.windows.net/stcontainer-headsupscreen-template-prod/Personal-Template.csv',\r\n mobileTemplateURL: 'https://stheadsupscreenfuncprod.blob.core.windows.net/stcontainer-headsupscreen-template-prod/Mobile-Template.csv'\r\n};\r\n\r\n/*\r\n * In development mode, to ignore zone related error stack frames such as\r\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\r\n * import the following file, but please comment it out in production mode\r\n * because it will have performance impact when throw error\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessSocialMediaResultModel, SocialMediaResultModel } from '../../../../../models/SocialMediaResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-socialmedia-result-business',\r\n templateUrl: './socialmedia-result-business.component.html',\r\n styleUrls: ['./socialmedia-result-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class SocialmediaResultBusinessComponent implements OnInit {\r\n\r\n @Input() socialMedia: BusinessSocialMediaResultModel = new BusinessSocialMediaResultModel();\r\n \r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{messageService.NoSearchSelect}}
\r\n
{{messageService.BusinessNameRequiredMessage}}
\r\n\r\n
\r\n
\r\n
\r\n {{socialMedia.collapseSocialMediaStatus}} \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CategoryStatus
{{media.displayname}}\r\n {{media.status}}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
0\">\r\n
\r\n
\r\n

\r\n Search returned {{socialMedia.SocialMediaResultCount}} results\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{result.title}}\r\n
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.ReferenceRequiredMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Name:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.NameRequiredMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Post Code:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.PostCodeNotValidMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Mobile:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Please enter UK numbers only\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.EmailNotValidMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n DOB:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n 1st Line Address:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Associated Entities:\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n VRN:\r\n
\r\n
\r\n
\r\n \r\n

\r\n VRN is not valid.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n \r\n \r\n Land Registry\r\n
  • \r\n
  • \r\n \r\n \r\n Financial\r\n
  • \r\n
  • \r\n \r\n \r\n Quick Search(excludes criminality)\r\n
  • \r\n
  • \r\n \r\n \r\n AVA\r\n
  • \r\n
\r\n
\r\n
Search In Progress
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { FormArray, FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { PageMargin } from '@progress/kendo-drawing/dist/npm/pdf';\r\nimport { isPossiblePhoneNumber, parsePhoneNumber, isValidPhoneNumber, validatePhoneNumberLength } from 'libphonenumber-js';\r\nimport { ConfirmationService } from 'primeng/api';\r\nimport { MessagingService } from '../../../../services/messaging.service';\r\nimport { SearchService } from '../../../../services/search.service';\r\nimport { Shared } from '../../../../services/shared';\r\nimport { AddressResultModel, T2AResultModel } from '../../../models/AddressResultModel';\r\nimport { AMLResultModel } from '../../../models/AMLResultModel';\r\nimport { AssociatedResultModel } from '../../../models/AssociatedResultModel';\r\nimport { CompaniesHouseResultModel } from '../../../models/CompaniesHouseResultModel';\r\nimport { CounterFraudResultModel, ProspectResultModel } from '../../../models/CounterFraudResultModel';\r\nimport { CriminalityResultModel } from '../../../models/CriminalityResultModel';\r\nimport { EmailageCheckResultModel, EmailCheckResultModel, IdCheckResultModel, RightToWorkCheckResultModel } from '../../../models/EmailResultModel';\r\nimport { CCJResultModel, FinancialResultModel, InsolvencyResultModel } from '../../../models/FinancialResultModel';\r\nimport { Item, Items, SearchDomain, Token } from '../../../models/Items';\r\nimport { LandRegistryResultModel } from '../../../models/LandRegistryResultModel';\r\nimport { MobileResultModel, OpenSourceResultModel } from '../../../models/MobileResultModel';\r\nimport { PIPLResultModel } from '../../../models/PIPLResultModel';\r\nimport { AccessData, ProfileData, RequestData } from '../../../models/SearchRequestModel';\r\nimport { SearchType } from '../../../models/SearchType';\r\nimport { SocialMediaResultModel } from '../../../models/SocialMediaResultModel';\r\nimport { SportsResultModel } from '../../../models/SportsResultModel';\r\nimport { EmailvalidationResultEmailComponent } from '../../email/result-pages/emailvalidation-result-email/emailvalidation-result-email.component';\r\nimport { AVAResultModel } from '../../../models/AVAResultModel';\r\nimport { DVLAResultModel, MotHistoryResultModel } from '../../../models/DVLAResultModel';\r\nimport { ExperianResultModel } from '../../../models/ExperianResultModel';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-uk-personal',\r\n templateUrl: './uk-personal.component.html',\r\n styleUrls: ['./uk-personal.component.css', '../../shared/shared.searchpage.css']\r\n})\r\nexport class UkPersonalComponent implements OnInit {\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n @Output() disableExitEventEmitter = new EventEmitter();\r\n\r\n private vrnValidationPattern: string = \"^(([A-Za-z]{1,2}[ ]?[0-9]{1,4})|([A-Za-z]{3}[ ]?[0-9]{1,3})|([0-9]{1,3}[ ]?[A-Za-z]{3})|([0-9]{1,4}[ ]?[A-Za-z]{1,2})|([A-Za-z]{3}[ ]?[0-9]{1,3}[ ]?[A-Za-z])|([A-Za-z][ ]?[0-9]{1,3}[ ]?[A-Za-z]{3})|([A-Za-z]{2}[ ]?[0-9]{2}[ ]?[A-Za-z]{3})|([A-Za-z]{3}[ ]?[0-9]{4})|([0-9]{2,3}-{1}[A-Z]{1,2}-?[0-9]{1,6}))$\";\r\n public postcodeRegex = /^(([gG][iI][rR] {0,}0[aA]{2})|(([aA][sS][cC][nN]|[sS][tT][hH][lL]|[tT][dD][cC][uU]|[bB][bB][nN][dD]|[bB][iI][qQ][qQ]|[fF][iI][qQ][qQ]|[pP][cC][rR][nN]|[sS][iI][qQ][qQ]|[iT][kK][cC][aA]) {0,}1[zZ]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yxA-HK-XY]?[0-9][0-9]?)|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW])|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9][abehmnprv-yABEHMNPRV-Y]))) {0,}[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$/;\r\n public personalForm: FormGroup;\r\n public validationType: any = {\r\n 'reference': [Validators.required],\r\n 'name': [Validators.required],\r\n 'email': [Validators.pattern('[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$')],\r\n 'mobile': [Validators.pattern('^[0-9]{11}$')],\r\n 'postcode': [Validators.pattern(this.postcodeRegex)],\r\n 'vrn': [Validators.pattern(this.vrnValidationPattern)]\r\n };\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n public searchInProgress: boolean = false;\r\n public prospectProfileButtonText_RequestProfile = \"Request Profile\";\r\n public prospectProfileButtonText_Requested = \"Requested\";\r\n public searchDomains: SearchDomain[] = [];\r\n public activeSearchDomains: SearchDomain[] = [];\r\n public refreshtoken = new Token(null);\r\n public emailageOrgId: string;\r\n public saveAsPDFButtonVisibility: boolean = false;\r\n public clearSearchButtonVisibility: boolean = false;\r\n public loggedInUsername: string = \"\";\r\n public isExperianTabShow: boolean = false;\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n\r\n // Result Models\r\n public addressResultModel: AddressResultModel = new AddressResultModel();\r\n public amlResultModel: AMLResultModel = new AMLResultModel();\r\n public ccjResultModel: CCJResultModel = new CCJResultModel();\r\n public insolvencyResultModel: InsolvencyResultModel = new InsolvencyResultModel();\r\n public mobileResultModel: MobileResultModel = new MobileResultModel();\r\n public counterFraudResultModel: CounterFraudResultModel = new CounterFraudResultModel();\r\n public emailResultModel: EmailCheckResultModel = new EmailCheckResultModel();\r\n public emailageResultModel: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n public rightToWorkResultModel: RightToWorkCheckResultModel = new RightToWorkCheckResultModel();\r\n public idCheckResultModel: IdCheckResultModel = new IdCheckResultModel();\r\n public financialResultModel: FinancialResultModel = new FinancialResultModel();\r\n public companiesHouseResultModel: CompaniesHouseResultModel = new CompaniesHouseResultModel();\r\n public prospectResultModel: ProspectResultModel = new ProspectResultModel();\r\n public associatedResultModel: AssociatedResultModel = new AssociatedResultModel();\r\n public criminalityResultModel: CriminalityResultModel = new CriminalityResultModel();\r\n public sportsResultModel: SportsResultModel = new SportsResultModel();\r\n public piplResultModel: PIPLResultModel = new PIPLResultModel();\r\n public opensourceResult: OpenSourceResultModel = new OpenSourceResultModel();\r\n public emailValidationResultModel: EmailCheckResultModel = new EmailCheckResultModel()\r\n public socialMediaResultModel: SocialMediaResultModel = new SocialMediaResultModel();\r\n public t2aResultModel: T2AResultModel = new T2AResultModel();\r\n public landRegistryResultModel: LandRegistryResultModel = new LandRegistryResultModel();\r\n public avaResultModel: AVAResultModel = new AVAResultModel();\r\n public dvlaResultModel: DVLAResultModel = new DVLAResultModel();\r\n public experianResultModel: ExperianResultModel = new ExperianResultModel();\r\n public motHistoryResultModel: MotHistoryResultModel = new MotHistoryResultModel();\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private confirmationService: ConfirmationService,\r\n private router: Router,\r\n private messagingService: MessagingService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"PERSONAL\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.personalForm = this.formBuilder.group({\r\n profile: this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n name: [\"\"],\r\n postcode: [\"\"],\r\n mobile: [\"\"],\r\n email: [\"\"],\r\n dob: [\"\"],\r\n address: [\"\"],\r\n associations: this.formBuilder.array([]),\r\n vrn: [\"\"]\r\n }),\r\n access: this.formBuilder.group({\r\n landregistry: [false],\r\n financial: [false],\r\n quick: [false],\r\n ava: [false]\r\n })\r\n });\r\n for (var i = 1; i <= 4; i++) {\r\n this.associationEntities.push(this.newAssociationEntities());\r\n }\r\n this.CheckProspectHitAndProfileAccess();\r\n this.GetSearchDomainJson();\r\n // this.getCriminalityRelevantRank();\r\n this.getLicenceItems();\r\n this.getEmailageOrgId();\r\n this.getUserDetails();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public disableExit() {\r\n // if (this.saveAsPDFButtonVisibility == false) {\r\n // this.disableExitEventEmitter.emit(false);\r\n // this.searchInProgress = false;\r\n // this.saveAsPDFButtonVisibility = false;\r\n // this.clearSearchButtonVisibility = false;\r\n // return false;\r\n // }\r\n\r\n if (this.criminalityResultModel?.isLoading || this.addressResultModel?.isLoading ||\r\n this.financialResultModel?.isLoading || this.amlResultModel?.isLoading || this.emailageResultModel?.isLoading ||\r\n this.counterFraudResultModel?.isLoading || this.mobileResultModel?.isLoading || this.associatedResultModel?.isLoading ||\r\n this.ccjResultModel?.isLoading || this.companiesHouseResultModel?.isLoading || this.emailValidationResultModel?.isLoading ||\r\n this.insolvencyResultModel?.isLoading || this.opensourceResult?.isLoading ||\r\n this.piplResultModel?.isLoading || this.socialMediaResultModel?.isLoading || this.sportsResultModel?.isLoading ||\r\n this.t2aResultModel?.isLoading || this.prospectResultModel?.isProspectHitLoading || this.landRegistryResultModel?.isLoading) {\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchInProgress = true;\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n return true;\r\n }\r\n\r\n if(this.searchInProgress) {\r\n this.disableExitEventEmitter.emit(false);\r\n this.searchInProgress = false;\r\n this.saveAsPDFButtonVisibility = true;\r\n this.clearSearchButtonVisibility = true;\r\n return false;\r\n }\r\n }\r\n\r\n // Search button click event\r\n public personalSearch(): void {\r\n this.addValidators();\r\n this.personalForm.updateValueAndValidity();\r\n\r\n if (this.personalForm.valid) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n\r\n // this.saveAsPDFButtonVisibility = true;\r\n // this.clearSearchButtonVisibility = true;\r\n\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n this.setActiveResultTab();\r\n\r\n // AML Check\r\n this.amlCheck(requestObj);\r\n\r\n // Telisign Check\r\n this.telisignCheck(requestObj);\r\n\r\n // // Email Check\r\n // this.emailCheck(requestObj);\r\n\r\n // Email Validation\r\n this.emailValidationCheck(requestObj);\r\n\r\n // Load Emailage\r\n this.loadEmailAgeCheck(requestObj);\r\n\r\n //Counter Fraud Check\r\n this.counterFraudCheck(requestObj);\r\n\r\n // Financial Check\r\n this.financialCheck(requestObj);\r\n\r\n // T2A Search\r\n this.t2aSearch(requestObj);\r\n\r\n // Companies House Check\r\n this.companiesHouse(requestObj);\r\n\r\n if (this.prospectResultModel.isProspectHitAccess) {\r\n // Prospect Hit Check\r\n this.prospectHitCheck(requestObj);\r\n }\r\n\r\n // Land Registry\r\n this.landRegistry(requestObj);\r\n\r\n // PIPL API\r\n this.GetPIPLData(requestObj);\r\n\r\n // Social media Check\r\n this.socialMediaSearch(requestObj);\r\n\r\n // Criminality Check\r\n this.criminalityCheck(requestObj);\r\n\r\n // Associated Check\r\n this.associatedCheck();\r\n\r\n // Sports Check\r\n this.sportsCheck(requestObj);\r\n\r\n // Opensource search\r\n this.openSourceSearch(requestObj);\r\n\r\n // Motor\r\n this.motor(requestObj);\r\n\r\n }\r\n );\r\n }\r\n }\r\n\r\n public motor(requestObj: RequestData): void {\r\n if (requestObj.accessData.isAVAAccess) {\r\n this.isExperianTabShow = false;\r\n } else {\r\n this.isExperianTabShow = true;\r\n }\r\n\r\n if(requestObj.profileData.vRN) {\r\n // AVA Search\r\n this.avaCheck(requestObj);\r\n \r\n // DVLA Motor Check\r\n this.dvlaMotorCheck(requestObj);\r\n \r\n // Experian Search\r\n this.experianMotor(requestObj);\r\n \r\n // MOT History\r\n this.motHistory(requestObj);\r\n }\r\n }\r\n\r\n // Get MOT History Data\r\n public motHistory(requestData: RequestData) {\r\n this.motHistoryResultModel.isLoading = false;\r\n this.motHistoryResultModel.noRelevantData = false;\r\n this.motHistoryResultModel.responseData = null;\r\n this.motHistoryResultModel.searchFail = false;\r\n\r\n this.motHistoryResultModel.isLoading = true;\r\n this.searchService.MotHistory(requestData).subscribe(data => {\r\n this.motHistoryResultModel.isLoading = false;\r\n if (data[\"status\"] == 200) {\r\n let result = JSON.parse(data[\"data\"]);\r\n if (result.length > 0) {\r\n this.motHistoryResultModel.responseData = result[0];\r\n } else {\r\n this.motHistoryResultModel.noRelevantData = true;\r\n }\r\n } else {\r\n this.motHistoryResultModel.noRelevantData = true;\r\n }\r\n }, error => {\r\n console.log(error);\r\n this.motHistoryResultModel.isLoading = false;\r\n this.motHistoryResultModel.searchFail = true;\r\n })\r\n }\r\n\r\n // Experian request\r\n public experianMotor(requestObj: RequestData): void {\r\n this.experianResultModel.isLoading = false;\r\n this.experianResultModel.noRelevantData = false;\r\n this.experianResultModel.noSearchSelect = false;\r\n this.experianResultModel.responseData = null;\r\n this.experianResultModel.searchFail = false;\r\n\r\n if (!requestObj.accessData.isAVAAccess) {\r\n this.experianResultModel.isLoading = true;\r\n this.searchService.ExperianMotor(requestObj).subscribe(data => {\r\n this.experianResultModel.isLoading = false;\r\n this.experianResultModel.responseData = JSON.parse(data[\"data\"]);\r\n if (!this.experianResultModel.responseData) {\r\n this.experianResultModel.noRelevantData = true;\r\n }\r\n }, error => {\r\n this.experianResultModel.isLoading = false;\r\n this.experianResultModel.searchFail = false;\r\n console.log(error);\r\n });\r\n }\r\n\r\n }\r\n\r\n // DVLA Motor request\r\n public dvlaMotorCheck(requestObj: RequestData) {\r\n this.dvlaResultModel.isLoading = false;\r\n this.dvlaResultModel.noRelevantData = false;\r\n this.dvlaResultModel.responseData = null;\r\n this.dvlaResultModel.searchFail = false;\r\n\r\n this.dvlaResultModel.isLoading = true;\r\n this.searchService.DVLAMotor(requestObj).subscribe(data => {\r\n this.dvlaResultModel.isLoading = false;\r\n if (data.status == 200) {\r\n this.dvlaResultModel.responseData = JSON.parse(data.data);\r\n } else {\r\n this.dvlaResultModel.noRelevantData = true;\r\n this.dvlaResultModel.responseData = null;\r\n }\r\n }, error => {\r\n this.dvlaResultModel.isLoading = false;\r\n this.dvlaResultModel.searchFail = true;\r\n })\r\n }\r\n\r\n // AVA check API call\r\n public avaCheck(requestObj: RequestData): void {\r\n this.avaResultModel.isLoading = false;\r\n this.avaResultModel.noRelevantData = false;\r\n this.avaResultModel.responseData = null;\r\n this.avaResultModel.searchFail = false;\r\n this.avaResultModel.noSearchSelect = false;\r\n\r\n if (this.accessData.isAVAAccess) {\r\n this.avaResultModel.isLoading = true;\r\n this.searchService.SearchAVA(requestObj).subscribe((data) => {\r\n this.avaResultModel.isLoading = false;\r\n if (data) {\r\n this.avaResultModel.responseData = data;\r\n this.avaResultModel.responseData.mot = JSON.parse(this.avaResultModel.responseData.mot);\r\n this.avaResultModel.responseData.vehicleData = JSON.parse(this.avaResultModel.responseData.vehicleData);\r\n } else {\r\n this.avaResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n this.avaResultModel.isLoading = false;\r\n this.avaResultModel.searchFail = true;\r\n console.log(error);\r\n })\r\n } else {\r\n this.avaResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n\r\n public landRegistry(requestObj: RequestData): void {\r\n this.landRegistryResultModel.isLoading = false;\r\n this.landRegistryResultModel.noSearchSelect = false;\r\n this.landRegistryResultModel.responseData = null;\r\n this.landRegistryResultModel.searchFail = false;\r\n this.landRegistryResultModel.validation = false;\r\n this.landRegistryResultModel.noRelevantData = false;\r\n\r\n if (requestObj.accessData.isLandRegistryAccess) {\r\n if (requestObj.profileData.fullName && requestObj.profileData.postalCode && requestObj.profileData.addressLine1) {\r\n this.landRegistryResultModel.isLoading = true;\r\n this.searchService.GetLandRegistryResult(requestObj).subscribe(data => {\r\n var json = JSON.parse(JSON.stringify(data));\r\n this.landRegistryResultModel.isLoading = false;\r\n if (json.status == 200) {\r\n json.data.completeResponse = JSON.parse(json.data.completeResponse);\r\n if (json.data.prsDetails.matches.length == 0 && !json.data.prsDetails.matchResult) {\r\n this.landRegistryResultModel.noRelevantData = true;\r\n } else {\r\n this.landRegistryResultModel.responseData = json.data;\r\n }\r\n } else {\r\n this.landRegistryResultModel.searchFail = true\r\n }\r\n }, error => {\r\n console.log(error);\r\n this.landRegistryResultModel.isLoading = false;\r\n this.landRegistryResultModel.searchFail = true;\r\n });\r\n } else {\r\n this.landRegistryResultModel.validation = true;\r\n }\r\n } else {\r\n this.landRegistryResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n public motorTabClick(){\r\n $('#ukMotorResultTab .nav-link')\r\n .each(function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n });\r\n\r\n $('#ukMotorResultTabContent .tab-pane')\r\n .each(function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n });\r\n\r\n // Show the DVLA Result\r\n $('#dvla-search-tab').addClass(\"active\");\r\n $('#dvlaSearch').addClass(\"active show\");\r\n }\r\n\r\n public setActiveResultTab() {\r\n setTimeout(() => {\r\n // Tab Header\r\n var navLine = $('.nav-link');\r\n $.each(navLine, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n\r\n // Tab Result\r\n var tabPane = $('.tab-pane');\r\n $.each(tabPane, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n\r\n // Show first tab as active\r\n $('#address-search-tab').addClass(\"active\");\r\n $('#addressSearch').addClass(\"active\");\r\n }, 2000);\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n if (this.requestDataModel.profileData.associatedNames.length < 4) {\r\n let associationLength = this.requestDataModel.profileData.associatedNames.length;\r\n for (let i = associationLength; i < 4; i++) {\r\n this.requestDataModel.profileData.associatedNames.push({ name: \"\" });\r\n }\r\n }\r\n if (this.requestDataModel.profileData.phoneNumber) {\r\n this.requestDataModel.profileData.phoneNumber = this.personalForm.get('profile.mobile').value;\r\n }\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.personalForm.get('profile.reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 2000);\r\n\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.personalForm.patchValue({\r\n profile: {\r\n audit: data\r\n }\r\n });\r\n });\r\n }\r\n\r\n // To get associated entities as formarray for component\r\n get associationEntities(): FormArray {\r\n return this.personalForm.get('profile.associations');\r\n }\r\n\r\n // To add associated entities\r\n newAssociationEntities(): FormGroup {\r\n return this.formBuilder.group({\r\n name: \"\"\r\n });\r\n }\r\n\r\n public disableAccessData(): void {\r\n this.personalForm.patchValue({\r\n access: {\r\n landregistry: this.accessData.isLandRegistryAccess,\r\n financial: this.accessData.isFinancialAccess,\r\n quick: !this.accessData.isCriminalityAccess,\r\n ava: this.accessData.isAVAAccess\r\n }\r\n });\r\n\r\n if (!this.accessData.isFinancialToggle)\r\n this.personalForm.get(\"access.financial\").disable();\r\n\r\n if (!this.accessData.isCriminalityToggle)\r\n this.personalForm.get(\"access.quick\").disable();\r\n\r\n if (!this.accessData.isLandRegistryToggle)\r\n this.personalForm.get(\"access.landregistry\").disable();\r\n\r\n if(!this.accessData.isAVAToggle)\r\n this.personalForm.get(\"access.ava\").disable();\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n this.disableAccessData();\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n case \"LANDREGISTRY\": {\r\n this.accessData.isLandRegistryAccess = item.defaultValue;\r\n this.accessData.isLandRegistryToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n\r\n public t2aSearch(requestObj: RequestData): void {\r\n this.t2aResultModel.isLoading = false;\r\n this.t2aResultModel.noSearchSelect = false;\r\n this.t2aResultModel.responseData = null;\r\n this.t2aResultModel.searchFail = false;\r\n this.t2aResultModel.validation = false;\r\n\r\n if (requestObj.profileData.fullName && requestObj.profileData.postalCode && requestObj.profileData.addressLine1) {\r\n this.t2aResultModel.isLoading = true;\r\n this.searchService.GetT2A(requestObj).subscribe(data => {\r\n this.t2aResultModel.isLoading = false;\r\n let responseData = data.data;\r\n if (responseData) {\r\n this.t2aResultModel.responseData = JSON.parse(responseData);\r\n } else {\r\n this.t2aResultModel.responseData = null;\r\n }\r\n }, error => {\r\n console.log(error);\r\n this.t2aResultModel.isLoading = false;\r\n this.t2aResultModel.searchFail = true;\r\n });\r\n } else {\r\n this.t2aResultModel.validation = true;\r\n }\r\n }\r\n\r\n public openSourceSearch(requestObj: RequestData): void {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.noSearchSelect = false;\r\n this.opensourceResult.responseData = [];\r\n this.opensourceResult.tempResponseData = [];\r\n this.opensourceResult.searchFail = false;\r\n this.opensourceResult.validationError = false;\r\n this.opensourceResult.openSourceResultCount = 0;\r\n\r\n this.opensourceResult.isLoading = true;\r\n\r\n this.activeSearchDomains.forEach((searchDomain: SearchDomain) => {\r\n let index: number = 0;\r\n this.eachOpenSourceSearch(searchDomain, requestObj, index);\r\n });\r\n }\r\n\r\n public eachOpenSourceSearch(domain: SearchDomain, requestObj: RequestData, index: number) {\r\n this.searchService.OpenSourceSearch(requestObj, domain.UniqueCode).subscribe((data) => {\r\n this.opensourceResult.searchFail = false;\r\n\r\n if (data[\"newsitems\"] != null) {\r\n this.opensourceResult.tempResponseData = this.opensourceResult.tempResponseData.concat(data[\"newsitems\"]);\r\n }\r\n this.opensourceResult.openSourceResultCount++;\r\n\r\n if (this.opensourceResult.openSourceResultCount == this.activeSearchDomains.length) {\r\n this.opensourceResult.isLoading = false;\r\n if (this.opensourceResult.tempResponseData.length > 0) {\r\n this.opensourceResult.responseData = this.getUniqueResults(this.opensourceResult.tempResponseData, 'link');\r\n }\r\n //this.opensourceResult.responseData = this.opensourceResult.responseData;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n // this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n // this.searchService.refreshtoken(this.refreshtoken)\r\n // .subscribe(\r\n // data => {\r\n // localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n // localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n // localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n // this.associatedCheck();\r\n // },\r\n // error => {\r\n // if (error.status == 400) {\r\n this.logout();\r\n // }\r\n // });\r\n }\r\n else if (error.status == 502 || error.status == 504) {\r\n index++;\r\n if (index < 2) {\r\n this.eachOpenSourceSearch(domain, requestObj, index);\r\n }\r\n else {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.searchFail = true;\r\n }\r\n }\r\n else {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.searchFail = true;\r\n }\r\n });\r\n }\r\n\r\n // Social media (PIPL) API call\r\n public GetPIPLData(requestObj: RequestData): void {\r\n this.piplResultModel.isLoading = false;\r\n this.piplResultModel.noRelevantData = false;\r\n this.piplResultModel.searchFail = false;\r\n this.piplResultModel.responseData = null;\r\n this.piplResultModel.noSearchSelect = false;\r\n this.piplResultModel.validation = false;\r\n\r\n if (requestObj.accessData.isSocialMediaAccess) {\r\n if (requestObj.profileData.fullName && (requestObj.profileData.email || requestObj.profileData.phoneNumber)) {\r\n this.piplResultModel.isLoading = true;\r\n this.searchService.SearchPIPL(requestObj).subscribe((data) => {\r\n this.piplResultModel.isLoading = false;\r\n let response = data.data;\r\n if (response) {\r\n this.piplResultModel.responseData = response;\r\n }\r\n else {\r\n this.piplResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n this.piplResultModel.searchFail = true;\r\n this.piplResultModel.isLoading = false;\r\n console.log(error);\r\n })\r\n } else {\r\n this.piplResultModel.validation = true;\r\n }\r\n } else {\r\n this.piplResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Getting search domain json for scraping\r\n public GetSearchDomainJson() {\r\n this.searchService.getDomainJson()\r\n .subscribe((data) => {\r\n this.searchDomains = data;\r\n this.activeSearchDomains = data.filter(x => x.IsActive == true);\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n\r\n // Sports API call\r\n public sportsCheck(requestObj: RequestData): void {\r\n this.sportsResultModel.isLoading = false;\r\n this.sportsResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isSportsAccess) {\r\n this.sportsResultModel.isLoading = true;\r\n this.sportsResultModel.collapseSportsClass = \"show\";\r\n this.sportsResultModel.collapseSportsStatus = \"Hide Status\";\r\n this.sportsResultModel.collapseSportsIcon = \"fa-chevron-up\";\r\n this.sportsResultModel.sportsComplete = false;\r\n\r\n this.sportsResultModel.sportsStatus =\r\n [\r\n { name: \"Running\", displayname: \"Running/Cycling\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"Water\", displayname: \"Water based activities\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"Ball\", displayname: \"Ball activities\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"Racket\", displayname: \"Racket Sports\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"Hockey\", displayname: \"Hockey & Ice Hockey\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"Rugby\", displayname: \"Rugby Sports\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"Boxing\", displayname: \"Kick Boxing/Judo & Boxing\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"MMA\", displayname: \"MMA Sports\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n ];\r\n\r\n this.sportsResultModel.sportsCategory.forEach((item: string) => {\r\n let sportsIndex: number = 0;\r\n this.activeSearchDomains.forEach((searchDomain: SearchDomain) => {\r\n this.getSportsData(item, searchDomain.UniqueCode, sportsIndex, requestObj);\r\n });\r\n });\r\n } else {\r\n this.sportsResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n // Dependancy for sports API call\r\n public getSportsData(sportsCategoryItem: string, searchDomain: string, sportsIndex: number, requestObj: RequestData) {\r\n this.sportsResultModel.sportsResults = [];\r\n this.sportsResultModel.compareSportsCategory = [];\r\n\r\n this.searchService.SearchSports(sportsCategoryItem, searchDomain, requestObj)\r\n .subscribe(\r\n data => {\r\n if (data[\"newsitems\"] != null) {\r\n this.sportsResultModel.sportsResults = this.sportsResultModel.sportsResults.concat(data[\"newsitems\"]);\r\n }\r\n this.sportsResultModel.filterSportsStaus = this.sportsResultModel.sportsStatus.filter(x => x.name == sportsCategoryItem)[0];\r\n this.sportsResultModel.filterSportsStaus.statusCount++;\r\n if (this.sportsResultModel.filterSportsStaus.statusCount == this.activeSearchDomains.length) {\r\n this.sportsResultModel.compareSportsCategory.push(sportsCategoryItem);\r\n this.sportsResultModel.filterSportsStaus.status = \"Search completed\";\r\n this.sportsResultModel.sportsSuccessCount++;\r\n this.sportsResultModel.filterSportsStaus.searchloading = false;\r\n }\r\n\r\n if (this.sportsResultModel.sportsSuccessCount == this.sportsResultModel.sportsStatus.length) {\r\n this.searchService.updateAudit(requestObj.profileData.searchType, requestObj.profileData.auditKey, 9, this.sportsResultModel.compareSportsCategory).subscribe();\r\n }\r\n\r\n if (this.sportsResultModel.sportsCategory.length == this.sportsResultModel.compareSportsCategory.length) {\r\n this.sportsResultModel.collapseSportsClass = \"hide\";\r\n this.sportsResultModel.collapseSportsStatus = \"Show Status\";\r\n this.sportsResultModel.collapseSportsIcon = \"fa-chevron-down\";\r\n this.sportsResultModel.sportsComplete = true;\r\n\r\n this.sportsResultModel.isLoading = false;\r\n if (this.sportsResultModel.sportsResults.length > 0) {\r\n this.sportsResultModel.sportsResults = this.getUniqueResults(this.sportsResultModel.sportsResults, 'link');\r\n }\r\n this.sportsResultModel.sportsResultCount = this.sportsResultModel.sportsResults.length;\r\n this.sportsResultModel.finalSportsResults = this.sportsResultModel.sportsResults;\r\n this.sportsResultModel.displaySportsCount = true;\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n this.searchService.refreshtoken(this.refreshtoken)\r\n .subscribe(\r\n data => {\r\n localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n this.sportsCheck(requestObj);\r\n },\r\n error => {\r\n if (error.status == 400) {\r\n this.logout();\r\n }\r\n });\r\n }\r\n else if (error.status == 502 || error.status == 504) {\r\n sportsIndex++;\r\n if (sportsIndex < 2) {\r\n this.getSportsData(sportsCategoryItem, searchDomain, sportsIndex, requestObj);\r\n }\r\n }\r\n });\r\n }\r\n\r\n public socialMediaSearch(requestObj: RequestData) {\r\n this.socialMediaResultModel.noSearchSelect = false;\r\n this.socialMediaResultModel.isLoading = false;\r\n\r\n if (requestObj.accessData.isSocialMediaAccess) {\r\n this.socialMediaResultModel.isLoading = true;\r\n this.socialMediaResultModel.socialMediaStatus =\r\n [\r\n { name: \"facebook\", displayname: \"Facebook\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"instagram\", displayname: \"Instagram\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"linkedin\", displayname: \"LinkedIn\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"twitter\", displayname: \"Twitter\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"youtube\", displayname: \"YouTube\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"tiktok\", displayname: \"TikTok\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n ];\r\n\r\n this.socialMediaResultModel.collapseSocialMediaClass = \"show\";\r\n this.socialMediaResultModel.collapseSocialMediaStatus = \"Hide Status\";\r\n this.socialMediaResultModel.collapseSocialMediaIcon = \"fa-chevron-up\";\r\n\r\n this.socialMediaResultModel.socialMediaCategory.forEach((item: string) => {\r\n this.activeSearchDomains.forEach((searchDomain: SearchDomain) => {\r\n let socialMediaIndex = 0;\r\n this.getsocialMediaData(item, searchDomain.UniqueCode, socialMediaIndex, requestObj);\r\n });\r\n });\r\n } else {\r\n this.socialMediaResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n public getsocialMediaData(socialMediaCategoryItem: string, searchDomain: string, socialMediaIndex: number, requestObj: RequestData) {\r\n this.socialMediaResultModel.socialMediaResults = [];\r\n this.socialMediaResultModel.compareSocialMediaCategory = [];\r\n\r\n this.searchService.SocialMedia(socialMediaCategoryItem, searchDomain, requestObj)\r\n .subscribe(\r\n data => {\r\n if (data[\"newsitems\"] != null) {\r\n data[\"newsitems\"].forEach((item: Items) => {\r\n item.lexiconcategory = data[\"key\"];\r\n });\r\n this.socialMediaResultModel.socialMediaResults = this.socialMediaResultModel.socialMediaResults.concat(data[\"newsitems\"]);\r\n }\r\n this.socialMediaResultModel.filtersocialMediaStatus = this.socialMediaResultModel.socialMediaStatus.filter(x => x.name == socialMediaCategoryItem)[0];\r\n this.socialMediaResultModel.filtersocialMediaStatus.statusCount++\r\n\r\n if (this.socialMediaResultModel.filtersocialMediaStatus.statusCount == this.activeSearchDomains.length) {\r\n this.socialMediaResultModel.compareSocialMediaCategory.push(socialMediaCategoryItem);\r\n this.socialMediaResultModel.socialMediaSuccessCount++;\r\n this.socialMediaResultModel.filtersocialMediaStatus.status = \"Search completed\";\r\n this.socialMediaResultModel.filtersocialMediaStatus.searchloading = false;\r\n }\r\n if (this.socialMediaResultModel.socialMediaSuccessCount == this.socialMediaResultModel.socialMediaStatus.length) {\r\n this.searchService.updateAudit(requestObj.profileData.searchType, requestObj.profileData.auditKey, 8, this.socialMediaResultModel.compareSocialMediaCategory).subscribe();\r\n }\r\n\r\n if (this.socialMediaResultModel.socialMediaCategory.length == this.socialMediaResultModel.compareSocialMediaCategory.length) {\r\n this.socialMediaResultModel.collapseSocialMediaClass = \"hide\";\r\n this.socialMediaResultModel.collapseSocialMediaStatus = \"Show Status\";\r\n this.socialMediaResultModel.collapseSocialMediaIcon = \"fa-chevron-down\";\r\n\r\n this.socialMediaResultModel.isLoading = false;\r\n if (this.socialMediaResultModel.socialMediaResults.length > 0) {\r\n this.socialMediaResultModel.socialMediaResults = this.getUniqueResults(this.socialMediaResultModel.socialMediaResults, 'link');\r\n }\r\n\r\n this.socialMediaResultModel.SocialMediaResultCount = this.socialMediaResultModel.socialMediaResults.length;\r\n this.socialMediaResultModel.finalSocialMediaResults = this.socialMediaResultModel.socialMediaResults;\r\n\r\n this.socialMediaResultModel.finalSocialMediaResults.sort((a, b) => {\r\n if (a.lexiconcategory < b.lexiconcategory) { return -1; }\r\n return 0;\r\n });\r\n\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n this.searchService.refreshtoken(this.refreshtoken)\r\n .subscribe(\r\n data => {\r\n localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n this.socialMediaSearch(requestObj);\r\n },\r\n error => {\r\n if (error.status == 400) {\r\n this.logout();\r\n }\r\n });\r\n }\r\n else if (error.status == 502 || error.status == 504) {\r\n socialMediaIndex++;\r\n if (socialMediaIndex < 2) {\r\n this.getsocialMediaData(socialMediaCategoryItem, searchDomain, socialMediaIndex, requestObj);\r\n }\r\n else {\r\n //this.IsSocialMediaValue = true;\r\n }\r\n }\r\n else {\r\n //this.IsSocialMediaValue = true;\r\n }\r\n });\r\n }\r\n\r\n\r\n // Criminality API call\r\n public criminalityCheck(requestObj: RequestData): void {\r\n\r\n this.criminalityResultModel.noSearchSelect = false;\r\n if (requestObj.accessData.isCriminalityAccess) {\r\n this.criminalityResultModel.resultComplete = false;\r\n this.criminalityResultModel.collapseResultClass = \"show\";\r\n this.criminalityResultModel.collapseResultStatus = \"Hide Status\";\r\n this.criminalityResultModel.collapseResultIcon = \"fa-chevron-up\";\r\n this.criminalityResultModel.isResultValues = false;\r\n this.criminalityResultModel.showRelevantResults = false;\r\n this.criminalityResultModel.showAllResults = false;\r\n this.criminalityResultModel.isLoading = true;\r\n\r\n this.criminalityResultModel.lexiconStatus =\r\n [\r\n { name: \"Risk\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n { name: \"Theft\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n { name: \"Fraud\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n { name: \"Driving\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n { name: \"Drugs\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n { name: \"Violence\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n { name: \"Crime\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n { name: \"Offenders\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n { name: \"Officials\", status: \"Searching . . .\", searchloading: true, searchStatusCount: 0, analysisStatusCount: 0 },\r\n ];\r\n this.criminalityResultModel.compareLexicons = [];\r\n this.criminalityResultModel.rankingResults = [];\r\n this.criminalityResultModel.sortFinalResults = [];\r\n this.criminalityResultModel.relevantResults = [];\r\n this.criminalityResultModel.finalResults = [];\r\n this.criminalityResultModel.resultCount = 0;\r\n\r\n // --------------------------- Shuffle lexicon --------------------\r\n this.criminalityResultModel.lexicons = this.shuffleLexicons(this.criminalityResultModel.lexicons);\r\n\r\n // --------------------------- Each lexicon request --------------------\r\n this.criminalityResultModel.lexicons.forEach((item: string) => {\r\n let searchIndex: number = 0;\r\n this.activeSearchDomains.forEach((searchDomain) => {\r\n this.getData(item, searchIndex, searchDomain.UniqueCode, requestObj);\r\n });\r\n });\r\n } else {\r\n this.criminalityResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Dependancy for criminality API call\r\n public getData(lexiconKey: string, searchIndex: number, searchDomain: string, requestData: RequestData) {\r\n this.searchService.SearchData(lexiconKey, searchDomain, requestData)\r\n .subscribe(\r\n data => {\r\n if (data[\"id\"] != null) {\r\n this.criminalityResultModel.searchUniqueIdlist.push(data[\"id\"]);\r\n let AnalysisIndex = 0;\r\n this.analyseResult(this.criminalityResultModel.searchUniqueIdlist, lexiconKey, AnalysisIndex, searchDomain, requestData);\r\n }\r\n else {\r\n let AnalysisIndex = 0;\r\n this.analyseResult(this.criminalityResultModel.searchUniqueIdlist, lexiconKey, AnalysisIndex, searchDomain, requestData);\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n this.searchService.refreshtoken(this.refreshtoken)\r\n .subscribe(\r\n data => {\r\n localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n this.getData(lexiconKey, searchIndex, searchDomain, requestData);\r\n },\r\n error => {\r\n if (error.status == 400) {\r\n this.logout();\r\n }\r\n });\r\n }\r\n else {\r\n searchIndex++;\r\n if (searchIndex < 2) {\r\n this.getData(lexiconKey, searchIndex, searchDomain, requestData);\r\n }\r\n else {\r\n let AnalysisIndex = 0;\r\n this.analyseResult(this.criminalityResultModel.searchUniqueIdlist, lexiconKey, AnalysisIndex, searchDomain, requestData);\r\n }\r\n }\r\n });\r\n }\r\n\r\n // Criminality analysis API call\r\n public analyseResult(searchUniqueIdlist: string[], lexiconCategory: string, AnalysisIndex: number, searchDomain: string, requestData: RequestData) {\r\n this.criminalityResultModel.filterLexiconStatus = this.criminalityResultModel.lexiconStatus.filter(x => x.name == lexiconCategory)[0];\r\n this.criminalityResultModel.filterLexiconStatus.searchStatusCount++;\r\n if (this.criminalityResultModel.filterLexiconStatus.searchStatusCount == this.activeSearchDomains.length) {\r\n this.criminalityResultModel.filterLexiconStatus.status = \"Searching done. Analysing results . . .\";\r\n }\r\n\r\n if (searchUniqueIdlist.length == 0) {\r\n this.AnalyseError(lexiconCategory, requestData);\r\n }\r\n else {\r\n this.searchService.analyseResultRanking(searchUniqueIdlist, lexiconCategory, searchDomain, this.criminalityResultModel.devData, requestData)\r\n .subscribe(\r\n data => {\r\n this.criminalityResultModel.domainResults = [];\r\n this.criminalityResultModel.domainResults = data;\r\n\r\n if (this.criminalityResultModel.domainResults.length > 0) {\r\n this.criminalityResultModel.domainResults.forEach((result: Items) => {\r\n result.searchDomain = searchDomain\r\n });\r\n }\r\n\r\n this.criminalityResultModel.rankingResults = this.criminalityResultModel.rankingResults.concat(this.criminalityResultModel.domainResults);\r\n this.criminalityResultModel.filterLexiconStatus = this.criminalityResultModel.lexiconStatus.filter(x => x.name == lexiconCategory)[0];\r\n this.criminalityResultModel.filterLexiconStatus.analysisStatusCount++;\r\n if (this.criminalityResultModel.filterLexiconStatus.analysisStatusCount == this.activeSearchDomains.length) {\r\n this.criminalityResultModel.filterLexiconStatus.status = \"Searching done. Analysis Complete.\";\r\n this.criminalityResultModel.criminalitySuccessCount++;\r\n this.criminalityResultModel.filterLexiconStatus.searchloading = false;\r\n this.criminalityResultModel.compareLexicons.push(lexiconCategory);\r\n this.rankingDuplicateLinks();\r\n }\r\n\r\n if (this.criminalityResultModel.criminalitySuccessCount === this.criminalityResultModel.lexicons.length) {\r\n this.criminalityResultModel.isLoading = false;\r\n this.searchService.updateAudit(requestData.profileData.searchType, requestData.profileData.auditKey, 11, this.criminalityResultModel.compareLexicons).subscribe();\r\n this.RelevantResults();\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 502 || error.status == 504) {\r\n AnalysisIndex++;\r\n if (AnalysisIndex < 2) {\r\n this.analyseResult(searchUniqueIdlist, lexiconCategory, AnalysisIndex, searchDomain, requestData);\r\n }\r\n else {\r\n this.AnalyseError(lexiconCategory, requestData);\r\n }\r\n }\r\n else {\r\n this.AnalyseError(lexiconCategory, requestData);\r\n }\r\n });\r\n }\r\n }\r\n\r\n // Criminality analyse api error\r\n public AnalyseError(lexiconCategory: string, requestObj: RequestData) {\r\n this.criminalityResultModel.filterLexiconStatus = this.criminalityResultModel.lexiconStatus.filter(x => x.name == lexiconCategory)[0];\r\n this.criminalityResultModel.filterLexiconStatus.analysisStatusCount++;\r\n\r\n if (this.criminalityResultModel.filterLexiconStatus.analysisStatusCount == this.activeSearchDomains.length) {\r\n this.criminalityResultModel.filterLexiconStatus.status = \"Searching done. Analysis Complete.\";\r\n this.criminalityResultModel.criminalitySuccessCount++;\r\n this.criminalityResultModel.filterLexiconStatus.analysisStatusCount++;\r\n this.criminalityResultModel.filterLexiconStatus.searchloading = false;\r\n this.criminalityResultModel.compareLexicons.push(lexiconCategory);\r\n this.rankingDuplicateLinks();\r\n }\r\n if (this.criminalityResultModel.criminalitySuccessCount === this.criminalityResultModel.lexicons.length) {\r\n this.criminalityResultModel.isLoading = false;\r\n this.searchService.updateAudit(requestObj.profileData.searchType, requestObj.profileData.auditKey, 11, this.criminalityResultModel.compareLexicons).subscribe();\r\n this.RelevantResults();\r\n }\r\n }\r\n\r\n // Dependancy for criminality check\r\n public rankingDuplicateLinks() {\r\n if (this.criminalityResultModel.lexicons.length == this.criminalityResultModel.compareLexicons.length) {\r\n this.criminalityResultModel.collapseResultClass = \"hide\";\r\n this.criminalityResultModel.collapseResultStatus = \"Show Status\";\r\n this.criminalityResultModel.collapseResultIcon = \"fa-chevron-down\";\r\n this.criminalityResultModel.resultComplete = true;\r\n\r\n this.criminalityResultModel.rankingResults = this.criminalityResultModel.rankingResults.sort((a, b) => b.rank - a.rank);\r\n this.criminalityResultModel.sortFinalResults = this.getUniqueResults(this.criminalityResultModel.rankingResults, 'link');\r\n this.criminalityResultModel.sortFinalResults = this.criminalityResultModel.sortFinalResults.filter((item: any) => item.rank != 0);\r\n\r\n this.criminalityResultModel.sortFinalResults.forEach(result => {\r\n this.searchDomains.forEach((item: SearchDomain) => {\r\n if (item.UniqueCode == result.searchDomain) {\r\n result.rank += item.RankValue;\r\n }\r\n });\r\n });\r\n\r\n this.criminalityResultModel.sortFinalResults.forEach((finalItem: any) => {\r\n this.criminalityResultModel.rankingResults.forEach((item: any) => {\r\n try {\r\n if ((item.link.indexOf(finalItem.link) >= 0) && !(finalItem.lexiconcategory.includes(item.lexiconcategory[0]))) {\r\n finalItem.lexiconcategory.push(item.lexiconcategory[0]);\r\n finalItem.rank += 100;\r\n }\r\n } catch { }\r\n });\r\n });\r\n\r\n this.criminalityResultModel.sortFinalResults = this.criminalityResultModel.sortFinalResults.sort((a, b) => b.rank - a.rank);\r\n this.criminalityResultModel.sortFinalResults.forEach((lrItem: any) => {\r\n if (lrItem.rank >= this.criminalityResultModel.criminalityRelevantRank) {\r\n this.criminalityResultModel.relevantResults.push(lrItem);\r\n }\r\n });\r\n\r\n this.criminalityResultModel.showAllResults = true;\r\n this.criminalityResultModel.isResultValues = true;\r\n\r\n if (this.criminalityResultModel.crimeSearchResultCount > 0) {\r\n this.criminalityResultModel.finalResults = this.criminalityResultModel.relevantResults.slice(0, this.criminalityResultModel.crimeSearchResultCount);\r\n if (this.criminalityResultModel.finalResults.length < this.criminalityResultModel.crimeSearchResultCount) {\r\n for (var i = 0; i < this.criminalityResultModel.sortFinalResults.length; i++) {\r\n if (!this.criminalityResultModel.finalResults.some(x => x.link == this.criminalityResultModel.sortFinalResults[i].link)) {\r\n this.criminalityResultModel.finalResults.push(this.criminalityResultModel.sortFinalResults[i]);\r\n }\r\n if (this.criminalityResultModel.finalResults.length == this.criminalityResultModel.crimeSearchResultCount)\r\n break;\r\n }\r\n }\r\n } else {\r\n this.criminalityResultModel.finalResults = this.criminalityResultModel.relevantResults;\r\n }\r\n\r\n this.criminalityResultModel.resultCount = this.criminalityResultModel.finalResults.length;\r\n\r\n }\r\n }\r\n\r\n // To show all the results for criminality\r\n public AllResults() {\r\n this.criminalityResultModel.showAllResults = false;\r\n this.criminalityResultModel.showRelevantResults = true;\r\n this.criminalityResultModel.finalResults = this.criminalityResultModel.sortFinalResults;\r\n this.criminalityResultModel.resultCount = this.criminalityResultModel.finalResults.length;\r\n }\r\n\r\n // To show relevant results for criminality\r\n public RelevantResults() {\r\n this.criminalityResultModel.showAllResults = true;\r\n this.criminalityResultModel.showRelevantResults = false;\r\n if (this.criminalityResultModel.crimeSearchResultCount > 0) {\r\n this.criminalityResultModel.finalResults = this.criminalityResultModel.relevantResults.slice(0, this.criminalityResultModel.crimeSearchResultCount);\r\n if (this.criminalityResultModel.finalResults.length < this.criminalityResultModel.crimeSearchResultCount) {\r\n for (var i = 0; i < this.criminalityResultModel.sortFinalResults.length; i++) {\r\n if (!this.criminalityResultModel.finalResults.some(x => x.link == this.criminalityResultModel.sortFinalResults[i].link)) {\r\n this.criminalityResultModel.finalResults.push(this.criminalityResultModel.sortFinalResults[i]);\r\n }\r\n if (this.criminalityResultModel.finalResults.length == this.criminalityResultModel.crimeSearchResultCount)\r\n break;\r\n }\r\n }\r\n } else {\r\n this.criminalityResultModel.finalResults = this.criminalityResultModel.relevantResults;\r\n }\r\n this.criminalityResultModel.resultCount = this.criminalityResultModel.finalResults.length;\r\n }\r\n\r\n // Criminality event for show all and relevant results\r\n public criminalityEventEmitter(value) {\r\n if (value == \"allResult\") {\r\n this.AllResults();\r\n } else if (value == \"relevantResult\") {\r\n this.RelevantResults();\r\n }\r\n }\r\n\r\n // Getting count of how many relevant result need to show\r\n public getCriminalityRelevantRank() {\r\n this.searchService.GetCriminalityRankForSearch().subscribe(data => {\r\n this.criminalityResultModel.crimeSearchResultCount = data.criminalitySearchResultCount;\r\n var rank = data.criminalitySearchRank;\r\n if (rank != null && rank != 0) {\r\n this.criminalityResultModel.criminalityRelevantRank = rank;\r\n } else {\r\n this.criminalityResultModel.criminalityRelevantRank = 200;\r\n }\r\n }, error => {\r\n this.criminalityResultModel.criminalityRelevantRank = 200;\r\n })\r\n }\r\n\r\n // Shuffle the lexicons list\r\n public shuffleLexicons(array) {\r\n var tmp, current, top = array.length;\r\n if (top) while (--top) {\r\n current = Math.floor(Math.random() * (top + 1));\r\n tmp = array[current];\r\n array[current] = array[top];\r\n array[top] = tmp;\r\n }\r\n return array;\r\n }\r\n\r\n // Associated API call\r\n public associatedCheck() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.associatedResultModel.profileData = requestObj.profileData;\r\n this.associatedResultModel.isLoading = false;\r\n this.associatedResultModel.responseData = [];\r\n this.associatedResultModel.searchFail = false;\r\n this.associatedResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isCriminalityAccess) {\r\n if (requestObj.profileData.associatedNames.length > 0) {\r\n this.associatedResultModel.isLoading = true;\r\n this.activeSearchDomains.forEach(x => {\r\n let index: number = 0;\r\n this.eachAssociationSearch(x, requestObj, index);\r\n });\r\n }\r\n } else {\r\n this.associatedResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Dependancy method for association search method\r\n public eachAssociationSearch(domain: SearchDomain, requestObj: RequestData, index: number) {\r\n this.searchService.AssociatedSearchData(domain.UniqueCode, requestObj).subscribe((data) => {\r\n this.associatedResultModel.searchFail = false;\r\n if (data[\"newsitems\"] != null) {\r\n this.associatedResultModel.associatedResultCombine = this.associatedResultModel.associatedResultCombine.concat(data[\"newsitems\"]);\r\n }\r\n this.associatedResultModel.associatedResultCount++;\r\n\r\n if (this.associatedResultModel.associatedResultCount == this.activeSearchDomains.length) {\r\n this.associatedResultModel.isLoading = false;\r\n if (this.associatedResultModel.associatedResultCombine.length > 0) {\r\n this.associatedResultModel.associatedResultCombine = this.getUniqueResults(this.associatedResultModel.associatedResultCombine, 'link');\r\n }\r\n this.associatedResultModel.responseData = this.associatedResultModel.associatedResultCombine;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n this.searchService.refreshtoken(this.refreshtoken)\r\n .subscribe(\r\n data => {\r\n localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n this.associatedCheck();\r\n },\r\n error => {\r\n if (error.status == 400) {\r\n this.logout();\r\n }\r\n });\r\n }\r\n else if (error.status == 502 || error.status == 504) {\r\n index++;\r\n if (index < 2) {\r\n this.eachAssociationSearch(domain, requestObj, index);\r\n }\r\n else {\r\n this.associatedResultModel.isLoading = false;\r\n this.associatedResultModel.searchFail = true;\r\n }\r\n }\r\n else {\r\n this.associatedResultModel.isLoading = false;\r\n this.associatedResultModel.searchFail = true;\r\n }\r\n });\r\n }\r\n\r\n // Getting unique results from scraper\r\n public getUniqueResults(arr, link) {\r\n const unique = arr\r\n .map(e => e[link])\r\n // store the keys of the unique objects\r\n .map((e, i, final) => final.indexOf(e) === i && i)\r\n // eliminate the dead keys & store unique objects\r\n .filter(e => arr[e]).map(e => arr[e]);\r\n return unique;\r\n }\r\n\r\n // Email age API call\r\n public emailAgeCheck(requestObj: RequestData, debounceReason: string): void {\r\n this.emailageResultModel.isLoading = false;\r\n this.emailageResultModel.responseData = null;\r\n this.emailageResultModel.searchFail = false;\r\n this.emailageResultModel.noSearchSelect = false;\r\n this.emailageResultModel.validation = false;\r\n\r\n if (requestObj.profileData.email) {\r\n if (requestObj.accessData.isEmailAccess) {\r\n this.emailageResultModel.isLoading = true;\r\n this.searchService.EmailAge(requestObj, debounceReason).subscribe((data) => {\r\n this.emailageResultModel.isLoading = false;\r\n try {\r\n let completeJson = JSON.parse(data[\"data\"][\"completeResponse\"]);\r\n let rawJson: string = completeJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"];\r\n completeJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"] = JSON.parse(rawJson.trim());\r\n data[\"data\"][\"completeResponse\"] = completeJson;\r\n } catch { }\r\n this.emailageResultModel.responseData = data;\r\n var rawResult = Array.from(this.emailageResultModel.responseData[\"data\"][\"completeResponse\"][\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"][\"query\"][\"results\"]);\r\n this.emailageResultModel.urls = [];\r\n rawResult.forEach(x => {\r\n Array.from(x[\"smlinks\"]).forEach(y => {\r\n this.emailageResultModel.urls.push(y);\r\n });\r\n });\r\n }, (error) => {\r\n console.log(error);\r\n this.emailageResultModel.searchFail = true;\r\n this.emailageResultModel.isLoading = false;\r\n });\r\n } else {\r\n this.emailageResultModel.noSearchSelect = true;\r\n }\r\n } else {\r\n this.emailageResultModel.validation = true;\r\n }\r\n }\r\n\r\n public getEmailageOrgId() {\r\n this.searchService.GetEmailageOrdId().subscribe(data => {\r\n this.emailageOrgId = data;\r\n });\r\n }\r\n\r\n // Email validation check API call\r\n public emailValidationCheck(requestObj: RequestData): void {\r\n this.emailValidationResultModel.isLoading = false;\r\n this.emailValidationResultModel.noRelevantData = false;\r\n this.emailValidationResultModel.responseData = null;\r\n this.emailValidationResultModel.searchFail = false;\r\n this.emailValidationResultModel.validation = false;\r\n this.emailValidationResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isEmailAccess) {\r\n if (requestObj.profileData.email) {\r\n this.emailValidationResultModel.isLoading = true;\r\n this.searchService.EmailValidationCheck(requestObj).subscribe((data) => {\r\n\r\n var debounceReason = data[\"data\"].debounce.reason;\r\n\r\n // Email Age\r\n this.emailAgeCheck(requestObj, debounceReason);\r\n\r\n this.emailValidationResultModel.isLoading = false;\r\n this.emailValidationResultModel.responseData = data[\"data\"];\r\n if (this.emailValidationResultModel?.responseData == null) {\r\n this.emailValidationResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n\r\n // Email Age\r\n this.emailAgeCheck(requestObj, \"\");\r\n\r\n console.log(error);\r\n this.emailValidationResultModel.isLoading = false;\r\n if (error.status === 403) {\r\n this.emailValidationResultModel.searchFail = true;\r\n }\r\n });\r\n } else {\r\n this.emailValidationResultModel.validation = true;\r\n }\r\n } else {\r\n this.emailValidationResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Load email age API call\r\n public loadEmailAgeCheck(requestObj: RequestData): void {\r\n this.emailageResultModel.isLoading = false;\r\n this.emailageResultModel.responseData = null;\r\n this.emailageResultModel.searchFail = false;\r\n this.emailageResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.profileData.email && requestObj.accessData.isEmailAccess) {\r\n this.emailageResultModel.isLoading = true;\r\n } else {\r\n this.emailageResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n // Id check API call\r\n public idCheck(requestObj: RequestData): void {\r\n this.idCheckResultModel.isLoading = false;\r\n this.idCheckResultModel.access = requestObj.accessData;\r\n this.idCheckResultModel.responseData = null;\r\n this.idCheckResultModel.searchFail = false;\r\n this.idCheckResultModel.validation = false;\r\n\r\n if (requestObj.accessData.isIDCheckAccess) {\r\n if (requestObj.profileData.fullName && requestObj.profileData.email) {\r\n this.idCheckResultModel.isLoading = true;\r\n this.searchService.IDCheck(requestObj).subscribe((data) => {\r\n this.idCheckResultModel.isLoading = false;\r\n this.idCheckResultModel.responseData = data;\r\n }, (error) => {\r\n console.log(error);\r\n this.idCheckResultModel.isLoading = false;\r\n this.idCheckResultModel.searchFail = true;\r\n });\r\n } else {\r\n this.idCheckResultModel.validation = true;\r\n }\r\n }\r\n\r\n }\r\n\r\n // Right To Work check API call\r\n public rightToWorkCheck(requestObj: RequestData): void {\r\n this.rightToWorkResultModel.isLoading = false;\r\n this.rightToWorkResultModel.access = requestObj.accessData;\r\n this.rightToWorkResultModel.responseData = null;\r\n this.rightToWorkResultModel.searchFail = false;\r\n this.rightToWorkResultModel.validation = false;\r\n\r\n if (requestObj.accessData.isRTWAccess) {\r\n if (requestObj.profileData.fullName && requestObj.profileData.email) {\r\n this.rightToWorkResultModel.isLoading = true;\r\n this.searchService.RightToWorkSearch(requestObj).subscribe((data) => {\r\n this.rightToWorkResultModel.isLoading = false;\r\n this.rightToWorkResultModel.responseData = data;\r\n }, (error) => {\r\n console.log(error);\r\n this.rightToWorkResultModel.isLoading = false;\r\n this.rightToWorkResultModel.searchFail = true;\r\n });\r\n } else {\r\n this.rightToWorkResultModel.validation = true;\r\n }\r\n }\r\n\r\n }\r\n\r\n // Check about the access of Prospect hit & Access API\r\n public CheckProspectHitAndProfileAccess() {\r\n this.prospectResultModel.isProspectHitAccess = false;\r\n this.prospectResultModel.isProspectProfileAccess = false;\r\n this.searchService.CheckProsectHitAndProfileAccessClient().subscribe(data => {\r\n this.prospectResultModel.isProspectHitAccess = data['isProspectHitEnabled'];\r\n this.prospectResultModel.isProspectProfileAccess = data['isProspectProfileEnabled'];\r\n });\r\n }\r\n\r\n // Prospect profile request from prospect result component\r\n public prospectProfileRequest() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.prospectProfileCheck(requestObj);\r\n }\r\n\r\n // Prospect profile check API call\r\n public prospectProfileCheck(requestObj: RequestData): void {\r\n if (!this.prospectResultModel.prospectProfileButtonDisable) {\r\n this.confirmationService.confirm({\r\n key: \"ProspectProfileRequest\",\r\n message: 'In the event of any green tick(s) below, full Prospect detail can be requested and this will be provided to the requestor via email within 2 working days.',\r\n header: 'Confirmation',\r\n icon: 'pi pi-check',\r\n accept: () => {\r\n if (this.prospectResultModel.prospectHitResponseData) {\r\n this.prospectResultModel.isProspectProfileLoading = true;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.searchService.GetProspectProfileData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.prospectProfileResponseData = data;\r\n this.prospectResultModel.prospectProfileButtonText = this.prospectProfileButtonText_Requested;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n }, (error) => {\r\n console.log(error);\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n });\r\n }\r\n },\r\n reject: () => {\r\n }\r\n });\r\n }\r\n\r\n }\r\n\r\n // Prospect hit check API call\r\n public prospectHitCheck(requestObj: RequestData): void {\r\n this.prospectResultModel.noSearchSelect = false;\r\n if (requestObj.accessData.isCounterFraudAccess) {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.validation = false;\r\n this.prospectResultModel.searchFail = false;\r\n this.prospectResultModel.prospectHitResponseData = null;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.prospectResultModel.prospectProfileButtonDisable = false;\r\n this.prospectResultModel.prospectProfileButtonText = this.prospectProfileButtonText_RequestProfile;\r\n\r\n if ((requestObj.profileData.fullName && requestObj.profileData.dateOfBirth) ||\r\n (requestObj.profileData.postalCode && requestObj.profileData.addressLine1) ||\r\n requestObj.profileData.phoneNumber || requestObj.profileData.email || requestObj.profileData.vRN) {\r\n this.prospectResultModel.profileData = requestObj.profileData;\r\n this.prospectResultModel.isProspectHitLoading = true;\r\n this.searchService.GetProspectHitData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.prospectHitResponseData = data;\r\n // this.prospectResultModel.prospectProfileButtonDisable = this.prospectResultModel.prospectHitResponseData.hits.filter(x => (x.previousHit == true && x.i2Hit == true) || x.previousHit == true).length > 0 ? false : true;\r\n this.prospectResultModel.prospectProfileButtonDisable = \r\n !this.prospectResultModel.prospectHitResponseData.hits.some(\r\n x => x.previousHit || (x.previousHit && x.i2Hit) || x.i2Hit\r\n );\r\n }, (error) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.searchFail = true;\r\n console.log(error);\r\n });\r\n } else {\r\n this.prospectResultModel.validation = true;\r\n }\r\n } else {\r\n this.prospectResultModel.noSearchSelect = true;\r\n }\r\n\r\n\r\n\r\n }\r\n\r\n // Companies House API call\r\n public companiesHouse(requestObj: RequestData): void {\r\n this.companiesHouseResultModel.isLoading = false;\r\n this.companiesHouseResultModel.noRelevantData = false;\r\n this.companiesHouseResultModel.responseData = null;\r\n this.companiesHouseResultModel.searchFail = false;\r\n this.companiesHouseResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isCompaniesHouseAccess) {\r\n this.companiesHouseResultModel.isLoading = true;\r\n this.searchService.DirectorshipSearchData(requestObj).subscribe((data) => {\r\n this.companiesHouseResultModel.isLoading = false;\r\n this.companiesHouseResultModel.responseData = data;\r\n if (!this.companiesHouseResultModel.responseData || this.companiesHouseResultModel.responseData.length <= 0) {\r\n this.companiesHouseResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n this.companiesHouseResultModel.isLoading = false;\r\n if (error.status === 403) {\r\n this.companiesHouseResultModel.searchFail = true;\r\n } else {\r\n this.companiesHouseResultModel.noRelevantData = true;\r\n }\r\n });\r\n } else {\r\n this.companiesHouseResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Financial (Lexis Nexis Person) API call\r\n public financialCheck(requestObj: RequestData): void {\r\n this.financialResultModel.isLoading = false;\r\n this.financialResultModel.noRelevantData = false;\r\n this.financialResultModel.responseData = null;\r\n this.financialResultModel.searchFail = false;\r\n this.financialResultModel.validation = false;\r\n this.financialResultModel.noSearchSelect = false;\r\n this.financialResultModel.isEmailProvided = false;\r\n this.financialResultModel.isMobileNumberProvided = false;\r\n this.ccjResultModel.isLoading = false;\r\n this.ccjResultModel.responseData = null;\r\n this.ccjResultModel.searchFail = false;\r\n this.ccjResultModel.validation = false;\r\n this.ccjResultModel.noSearchSelect = false;\r\n this.insolvencyResultModel.isLoading = false;\r\n this.insolvencyResultModel.searchFail = false;\r\n this.insolvencyResultModel.validation = false;\r\n this.insolvencyResultModel.responseData = null;\r\n this.insolvencyResultModel.noSearchSelect = false;\r\n this.addressResultModel.validation = false;\r\n this.addressResultModel.searchFail = false;\r\n this.addressResultModel.isLoading = false;\r\n this.addressResultModel.responseData = null;\r\n this.addressResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isFinancialAccess) {\r\n\r\n if (requestObj.profileData.fullName && (requestObj.profileData.postalCode || requestObj.profileData.dateOfBirth)) {\r\n if (requestObj.accessData.isCCJDetailAccess)\r\n this.ccjResultModel.isLoading = true;\r\n else\r\n this.ccjResultModel.noSearchSelect = true;\r\n\r\n if (requestObj.accessData.isInsolvencyDetailAccess)\r\n this.insolvencyResultModel.isLoading = true;\r\n else\r\n this.insolvencyResultModel.noSearchSelect = true;\r\n }\r\n\r\n if (requestObj.profileData.email) {\r\n this.financialResultModel.isEmailProvided = true;\r\n }\r\n\r\n if (requestObj.profileData.phoneNumber) {\r\n this.financialResultModel.isMobileNumberProvided = true;\r\n }\r\n\r\n if (requestObj.profileData.fullName && (requestObj.profileData.postalCode || requestObj.profileData.dateOfBirth)) {\r\n\r\n if (requestObj.accessData.isAddressAccess) {\r\n this.addressResultModel.isLoading = true;\r\n }\r\n this.financialResultModel.isLoading = true;\r\n this.searchService.GetPersonSearch(requestObj).subscribe((data) => {\r\n this.financialResultModel.isLoading = false;\r\n this.financialResultModel.responseData = JSON.parse(JSON.stringify(data));\r\n if (requestObj.accessData.isAddressAccess) {\r\n this.addressResultModel.isLoading = false;\r\n this.addressResultModel.responseData = data;\r\n }\r\n if (!this.financialResultModel.responseData) {\r\n this.financialResultModel.noRelevantData = true;\r\n } else {\r\n if (this.financialResultModel?.responseData?.data?.InsolvencyFlag == true || this.financialResultModel?.responseData?.data?.CcjFlag == true) {\r\n this.ccjAndInsolvencyCheck(requestObj, data);\r\n } else {\r\n this.ccjResultModel.isLoading = false;\r\n this.insolvencyResultModel.isLoading = false;\r\n }\r\n }\r\n }, (error) => {\r\n this.financialResultModel.isLoading = false;\r\n if (error.status === 403) {\r\n this.financialResultModel.searchFail = true;\r\n if (requestObj.accessData.isAddressAccess) {\r\n this.addressResultModel.searchFail = true;\r\n }\r\n }\r\n if (requestObj.accessData.isAddressAccess) {\r\n this.addressResultModel.isLoading = false;\r\n }\r\n console.log(error);\r\n });\r\n } else {\r\n if (requestObj.accessData.isFinancialAccess) {\r\n this.financialResultModel.validation = true;\r\n }\r\n if (requestObj.accessData.isAddressAccess) {\r\n this.addressResultModel.validation = true;\r\n }\r\n if (requestObj.accessData.isInsolvencyDetailAccess) {\r\n this.insolvencyResultModel.validation = true;\r\n }\r\n if (requestObj.accessData.isCCJDetailAccess) {\r\n this.ccjResultModel.validation = true;\r\n }\r\n }\r\n } else {\r\n this.financialResultModel.noSearchSelect = true;\r\n if (!requestObj.accessData.isCCJDetailAccess) {\r\n this.ccjResultModel.noSearchSelect = true;\r\n }\r\n if (!requestObj.accessData.isInsolvencyDetailAccess) {\r\n this.insolvencyResultModel.noSearchSelect = true;\r\n }\r\n if (!requestObj.accessData.isAddressAccess) {\r\n this.addressResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n }\r\n\r\n\r\n // CCJ & Insolvency (Lexis Nexis IDU) API call\r\n public ccjAndInsolvencyCheck(requestObj: RequestData, financialData: any): void {\r\n if (requestObj.accessData.isFinancialAccess &&\r\n (requestObj.accessData.isCCJDetailAccess || requestObj.accessData.isInsolvencyDetailAccess)) {\r\n\r\n if (requestObj.profileData.fullName && (requestObj.profileData.postalCode || requestObj.profileData.dateOfBirth)) {\r\n this.searchService.SearchCCJAndInsolvency(requestObj, financialData).subscribe((data) => {\r\n if (requestObj.accessData.isCCJDetailAccess)\r\n this.ccjResultModel.isLoading = false;\r\n if (requestObj.accessData.isInsolvencyDetailAccess)\r\n this.insolvencyResultModel.isLoading = false;\r\n\r\n var json = JSON.parse(JSON.stringify(data));\r\n if (json.status == 200) {\r\n json.data.completeResponse = JSON.parse(json.data.completeResponse);\r\n\r\n if (requestObj.accessData.isCCJDetailAccess)\r\n this.ccjResultModel.responseData = json.data;\r\n if (requestObj.accessData.isInsolvencyDetailAccess)\r\n this.insolvencyResultModel.responseData = json.data;\r\n\r\n } else {\r\n if (requestObj.accessData.isCCJDetailAccess)\r\n this.ccjResultModel.searchFail = true;\r\n if (requestObj.accessData.isInsolvencyDetailAccess)\r\n this.insolvencyResultModel.searchFail = true;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n if (requestObj.accessData.isCCJDetailAccess) {\r\n this.ccjResultModel.isLoading = false;\r\n this.ccjResultModel.searchFail = true;\r\n }\r\n if (requestObj.accessData.isInsolvencyDetailAccess) {\r\n this.insolvencyResultModel.isLoading = false;\r\n this.insolvencyResultModel.searchFail = true;\r\n }\r\n });\r\n }\r\n else {\r\n if (requestObj.accessData.isCCJDetailAccess)\r\n this.ccjResultModel.validation = true;\r\n\r\n if (requestObj.accessData.isInsolvencyDetailAccess)\r\n this.insolvencyResultModel.validation = true;\r\n }\r\n\r\n }\r\n }\r\n\r\n // Counter fraud (Prospect) API call\r\n public counterFraudCheck(requestObj: RequestData): void {\r\n this.counterFraudResultModel.isLoading = false;\r\n this.counterFraudResultModel.noRelevantData = false;\r\n this.counterFraudResultModel.responseData = null;\r\n this.counterFraudResultModel.searchFail = false;\r\n this.counterFraudResultModel.validationMessage = false;\r\n this.counterFraudResultModel.noSearchSelect = false;\r\n if (requestObj.accessData.isCounterFraudAccess) {\r\n if (requestObj.profileData.fullName && (requestObj.profileData.postalCode || requestObj.profileData.dateOfBirth ||\r\n requestObj.profileData.email || requestObj.profileData.phoneNumber || requestObj.profileData.vRN || requestObj.profileData.companyName)) {\r\n this.counterFraudResultModel.isLoading = true;\r\n this.searchService.GetCounterFraudData(requestObj).subscribe((data) => {\r\n this.counterFraudResultModel.isLoading = false;\r\n this.counterFraudResultModel.responseData = JSON.parse(JSON.stringify(data));\r\n if (this.counterFraudResultModel.responseData && this.counterFraudResultModel.responseData.status === 200 && this.counterFraudResultModel.responseData.data.ragStatus) {\r\n this.counterFraudResultModel.noRelevantData = false;\r\n const color = this.counterFraudResultModel.responseData.data.ragStatus;\r\n if (color.toLowerCase() === 'green') {\r\n this.counterFraudResultModel.needleValue = 17;\r\n }\r\n if (color.toLowerCase() === 'amber') {\r\n this.counterFraudResultModel.needleValue = 50;\r\n }\r\n if (color.toLowerCase() === 'red') {\r\n this.counterFraudResultModel.needleValue = 85;\r\n }\r\n } else {\r\n this.counterFraudResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status === 403) {\r\n this.counterFraudResultModel.searchFail = true;\r\n }\r\n this.counterFraudResultModel.isLoading = false;\r\n });\r\n }\r\n } else {\r\n this.counterFraudResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // // Email check API call\r\n // public emailCheck(requestObj: RequestData): void {\r\n // this.emailResultModel.isLoading = false;\r\n // this.emailResultModel.noRelevantData = false;\r\n // this.emailResultModel.responseData = null;\r\n // this.emailResultModel.searchFail = false;\r\n // this.emailResultModel.validation = false;\r\n // this.emailResultModel.noSearchSelect = false;\r\n\r\n // if (requestObj.accessData.isEmailAccess) {\r\n // if (requestObj.profileData.email) {\r\n // this.emailResultModel.isLoading = true;\r\n // this.searchService.EmailDomainCheck(requestObj).subscribe((data) => {\r\n // this.emailResultModel.isLoading = false;\r\n // this.emailResultModel.responseData = data;\r\n // if (this.emailResultModel?.responseData?.data == null) {\r\n // this.emailResultModel.noRelevantData = true;\r\n // }\r\n // }, (error) => {\r\n // console.log(error);\r\n // this.emailResultModel.isLoading = false;\r\n // if (error.status === 403) {\r\n // this.emailResultModel.searchFail = true;\r\n // }\r\n // });\r\n // } else {\r\n // this.emailResultModel.validation = true;\r\n // }\r\n // } else {\r\n // this.emailResultModel.noSearchSelect = true;\r\n // }\r\n\r\n // }\r\n\r\n // Telisign check API call\r\n public telisignCheck(requestObj: RequestData): void {\r\n this.mobileResultModel.isLoading = false;\r\n this.mobileResultModel.responseData = null;\r\n this.mobileResultModel.searchFail = false;\r\n this.mobileResultModel.validationError = false;\r\n this.mobileResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isMobileAccess) {\r\n if (requestObj.profileData.phoneNumber) {\r\n this.mobileResultModel.isLoading = true;\r\n this.searchService.GetMobileData(requestObj).subscribe((data) => {\r\n this.mobileResultModel.isLoading = false;\r\n this.mobileResultModel.responseData = data;\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status === 403) {\r\n this.mobileResultModel.searchFail = true;\r\n }\r\n this.mobileResultModel.isLoading = false;\r\n });\r\n } else {\r\n this.mobileResultModel.validationError = true;\r\n }\r\n } else {\r\n this.mobileResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // AML check API call\r\n public amlCheck(requestObj: RequestData): void {\r\n this.amlResultModel.isLoading = false;\r\n this.amlResultModel.searchFail = false;\r\n this.amlResultModel.responseData = null;\r\n this.amlResultModel.noSearchSelect = false;\r\n this.amlResultModel.validation = false;\r\n\r\n if (requestObj.accessData.isAMLAccess) {\r\n if (requestObj.profileData.fullName || (requestObj.profileData.postalCode || requestObj.profileData.addressLine1 || requestObj.profileData.dateOfBirth)) {\r\n this.amlResultModel.isLoading = true;\r\n this.searchService.SearchAML(requestObj).subscribe((data) => {\r\n this.amlResultModel.isLoading = false;\r\n // console.log(JSON.parse(data.data));\r\n this.amlResultModel.responseData = JSON.parse(data.data);\r\n console.log(this.amlResultModel);\r\n }, (error) => {\r\n console.log(error);\r\n this.amlResultModel.searchFail = true;\r\n this.amlResultModel.isLoading = false;\r\n })\r\n } else {\r\n this.amlResultModel.validation = true;\r\n }\r\n } else {\r\n this.amlResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Reset the result objects\r\n public resetResultObjects() {\r\n this.addressResultModel = new AddressResultModel();\r\n this.amlResultModel = new AMLResultModel();\r\n this.ccjResultModel = new CCJResultModel();\r\n this.insolvencyResultModel = new InsolvencyResultModel();\r\n this.mobileResultModel = new MobileResultModel();\r\n this.counterFraudResultModel = new CounterFraudResultModel();\r\n this.emailResultModel = new EmailCheckResultModel();\r\n this.emailageResultModel = new EmailageCheckResultModel();\r\n this.rightToWorkResultModel = new RightToWorkCheckResultModel();\r\n this.idCheckResultModel = new IdCheckResultModel();\r\n this.financialResultModel = new FinancialResultModel();\r\n this.companiesHouseResultModel = new CompaniesHouseResultModel();\r\n this.associatedResultModel = new AssociatedResultModel();\r\n this.criminalityResultModel = new CriminalityResultModel();\r\n this.sportsResultModel = new SportsResultModel();\r\n this.piplResultModel = new PIPLResultModel();\r\n this.socialMediaResultModel = new SocialMediaResultModel();\r\n this.landRegistryResultModel = new LandRegistryResultModel();\r\n\r\n this.amlResultModel.validation = false;\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.validation = false;\r\n this.prospectResultModel.searchFail = false;\r\n this.prospectResultModel.prospectHitResponseData = null;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.prospectResultModel.prospectProfileButtonDisable = false;\r\n this.prospectResultModel.prospectProfileButtonText = \"\";\r\n }\r\n\r\n public onEmailChange(): void {\r\n this.personalForm.get('profile.email').clearValidators();\r\n this.personalForm.get('profile.email').setValidators(this.validationType['email']);\r\n this.personalForm.get('profile.email').updateValueAndValidity();\r\n }\r\n\r\n public onMobileChange() {\r\n this.personalForm.get('profile.mobile').clearValidators();\r\n this.personalForm.get('profile.mobile').setValidators(this.validationType['mobile']);\r\n this.personalForm.get('profile.mobile').updateValueAndValidity();\r\n }\r\n\r\n public onPostCodeChange() {\r\n this.personalForm.get('profile.postcode').clearValidators();\r\n this.personalForm.get('profile.postcode').setValidators(this.validationType['postcode']);\r\n this.personalForm.get('profile.postcode').updateValueAndValidity();\r\n }\r\n\r\n public onVRNChange(){\r\n this.personalForm.get('profile.vrn').clearValidators();\r\n this.personalForm.get('profile.vrn').setValidators(this.validationType['vrn']);\r\n this.personalForm.get('profile.vrn').updateValueAndValidity();\r\n }\r\n\r\n // Reset the form and clear the validations on 'clear' button click\r\n public personalClearSearch(): void {\r\n this.personalForm.controls['profile'].reset();\r\n this.clearValidators();\r\n this.showResultTab = false;\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const topControls in this.personalForm.controls) {\r\n if (topControls == 'profile') {\r\n let childControls = this.personalForm.controls[topControls] as FormGroup\r\n for (const child in childControls.controls) {\r\n try {\r\n this.personalForm.get(topControls + \".\" + child).clearValidators();\r\n this.personalForm.get(topControls + \".\" + child).setValidators(this.validationType[child]);\r\n this.personalForm.get(topControls + \".\" + child).updateValueAndValidity();\r\n } catch (err) { }\r\n }\r\n }\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public clearValidators(): void {\r\n this.personalForm.patchValue({\r\n audit: \"\",\r\n reference: \"\",\r\n name: \"\",\r\n postcode: \"\",\r\n mobile: \"\",\r\n email: \"\",\r\n dob: \"\",\r\n address: \"\",\r\n associations: this.formBuilder.array([]),\r\n vrn: \"\"\r\n });\r\n for (const topControls in this.personalForm.controls) {\r\n if (topControls == 'profile') {\r\n let childControls = this.personalForm.controls[topControls] as FormGroup\r\n for (const child in childControls.controls) {\r\n try {\r\n this.personalForm.get(topControls + \".\" + child).clearValidators();\r\n this.personalForm.get(topControls + \".\" + child).updateValueAndValidity();\r\n } catch (err) { }\r\n }\r\n }\r\n }\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.personalForm.get('profile.audit').value;\r\n profileData.referenceNumber = this.personalForm.get('profile.reference').value;\r\n profileData.fullName = this.personalForm.get('profile.name').value.trim();\r\n if (this.personalForm.get('profile.name').value) {\r\n let searchtextarray = this.personalForm.get('profile.name').value.trim().split(\" \");\r\n profileData.firstName = searchtextarray[0];\r\n profileData.lastName = searchtextarray.length > 1 ? searchtextarray[searchtextarray.length - 1] : searchtextarray[1];\r\n profileData.midleName = searchtextarray.length > 2 ? searchtextarray[1] : null;\r\n } else {\r\n profileData.firstName = null;\r\n profileData.lastName = null;\r\n profileData.midleName = null;\r\n }\r\n profileData.postalCode = this.personalForm.get('profile.postcode').value;\r\n if (this.personalForm.get('profile.mobile').value) {\r\n profileData.phoneNumber = this.personalForm.get('profile.mobile').value;\r\n const phoneNumber = parsePhoneNumber(profileData.phoneNumber, 'GB');\r\n if (phoneNumber.isValid() === true && isPossiblePhoneNumber(profileData.phoneNumber, 'GB') === true\r\n && isValidPhoneNumber(profileData.phoneNumber, 'GB') && validatePhoneNumberLength(profileData.phoneNumber, 'GB') === undefined) {\r\n profileData.phoneNumber = phoneNumber.formatInternational();\r\n }\r\n }\r\n profileData.email = this.personalForm.get('profile.email').value;\r\n profileData.dateOfBirth = this.personalForm.get('profile.dob').value;\r\n profileData.addressLine1 = this.personalForm.get('profile.address').value;\r\n profileData.vRN = this.personalForm.get('profile.vrn').value;\r\n\r\n this.associationEntities.controls.forEach(x => {\r\n if (x.get('name').value) {\r\n const obj = {\r\n name: x.get('name').value\r\n }\r\n profileData.associatedNames.push(obj);\r\n }\r\n });\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchType = SearchType.Personal.toString();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n // Access object framing\r\n var accessData = new AccessData();\r\n accessData = this.accessData;\r\n accessData.isFinancialAccess = this.personalForm.get('access.financial').value;\r\n accessData.isCriminalityAccess = !this.personalForm.get('access.quick').value;\r\n accessData.isQuickSearchEnabled = this.personalForm.get('access.quick').value;\r\n accessData.isLandRegistryAccess = this.personalForm.get('access.landregistry').value;\r\n accessData.isAVAAccess = this.personalForm.get('access.ava').value;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = accessData;\r\n return requestObj;\r\n }\r\n\r\n public logout() {\r\n localStorage.removeItem(\"access_token\");\r\n localStorage.removeItem(\"expires_in\");\r\n localStorage.removeItem(\"token_type\");\r\n localStorage.removeItem(\"userId\");\r\n localStorage.removeItem(\"subscription\");\r\n this.router.navigate(['/Login']);\r\n }\r\n\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { CounterFraudResultModel } from '../../../../../../search-pages/models/CounterFraudResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-counter-fraud-result-personal',\r\n templateUrl: './counter-fraud-result.component.html',\r\n styleUrls: ['./counter-fraud-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class CounterFraudResultPersonalComponent implements OnInit {\r\n\r\n @Input() counterFraud: CounterFraudResultModel = new CounterFraudResultModel();\r\n\r\n public canvasWidth = 270\r\n public centralLabel = ''\r\n public bottomLabel = ''\r\n public options = {\r\n hasNeedle: true,\r\n needleColor: 'gray',\r\n needleUpdateSpeed: 1000,\r\n arcColors: ['green', 'orange', '#CE103E'],\r\n arcDelimiters: [33.33, 66.66, 99.99],\r\n needleStartValue: 0,\r\n }\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n Counter Fraud\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageSercice.OtherFieldRequired}}
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
{{messageService.SearchFail}}
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n","export class AVAResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: AVAResultData;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n}\r\n\r\nexport class AVAResultData {\r\n vehicleData: any;\r\n mot: any;\r\n advert: Advert;\r\n}\r\n\r\nexport class Advert {\r\n PartitionKey: string;\r\n Id: string;\r\n Vrn: string;\r\n VehicleMake: string;\r\n VehicleTransmission: string;\r\n VehicleModel: string;\r\n VehicleRegistrationYear: string;\r\n VehicleColour: string;\r\n VehicleEngineSize: string;\r\n VehicleBodyType: string;\r\n VehicleFuelType: string;\r\n CreatedDate: Date;\r\n ModifiedDate: Date;\r\n AdvertSourceData: AdvertSourceData[];\r\n}\r\n\r\nexport class AdvertSourceData {\r\n AdvertSource: string;\r\n AdvertId: string;\r\n AdvertTitle: string;\r\n Seller?: any;\r\n VehiclePrice: string;\r\n VehicleMileage: string;\r\n VehiclePostedOn: Date;\r\n AdvertLink: string;\r\n VehicleDescription: string;\r\n VehicleImages: string[];\r\n vehicleBase64: string;\r\n DetailedData: DetailedData;\r\n}\r\n\r\nexport class DetailedData {\r\n SellerDetails?: any;\r\n VehicleHistory?: any;\r\n Info: Info;\r\n OtherInfo: OtherInfo;\r\n}\r\n\r\nexport class Info {\r\n Vrn: string;\r\n VehicleMake: string;\r\n VehicleTransmission: string;\r\n VehicleModel: string;\r\n VehicleRegistrationYear: string;\r\n VehicleColour: string;\r\n VehicleEngineSize: string;\r\n VehicleBodyType: string;\r\n VehicleFuelType: string;\r\n CreatedDate: Date;\r\n}\r\n\r\nexport class OtherInfo {\r\n Power: string;\r\n Seats: string;\r\n DriveSide: string;\r\n PreviousOwners?: any;\r\n SafetyFeatures: string;\r\n Doors: string;\r\n RegisteredDate?: any;\r\n InteriorOptions: string;\r\n InCarAudio: string;\r\n ManufacturerWarranty?: any;\r\n Exterior?: any;\r\n MotExpiry: string;\r\n Condition: string;\r\n MetallicPaint?: any;\r\n IndependentVehicleInspection?: any;\r\n V5Document: string;\r\n ServiceHistory: string;\r\n ItemLocation: string;\r\n ConsumptionEmissions?: any;\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-ltd-miscellaneous-financials-business',\r\n templateUrl: './ltd-miscellaneous-financials-business.component.html',\r\n styleUrls: ['./ltd-miscellaneous-financials-business.component.css']\r\n})\r\nexport class LtdMiscellaneousFinancialsBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Number Of Exact County Court Judgments (CCJs){{business?.responseData?.creditsafeResult?.report?.negativeInformation?.ccjSummary?.numberOfExact}}
Number Of Exact Satisfied CCJs{{business?.responseData?.creditsafeResult?.report?.negativeInformation?.ccjSummary?.numberOfSatisfied}}
Number Of Possible CCJs{{business?.responseData?.creditsafeResult?.report?.negativeInformation?.ccjSummary?.numberOfPossible}}
Number Of Writs{{business?.responseData?.creditsafeResult?.report?.negativeInformation?.ccjSummary?.numberOfWrits}}
Value Of Exact CCJs{{business?.responseData?.creditsafeResult?.report?.negativeInformation?.ccjSummary?.valueOfExact}}
CCJ Currency{{business?.responseData?.creditsafeResult?.report?.negativeInformation?.ccjSummary?.currency}}
Value Of Possible CCJs{{business?.responseData?.creditsafeResult?.report?.negativeInformation?.ccjSummary?.valueOfPossible}}
\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CCJ Exact
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DateCourtCase NumberValueCurrencyStatusDate SatisfiedDefendant
{{ccj?.ccjDate | date:'dd-MMM-yyyy'}}{{ccj?.court}}{{ccj?.caseNumber}}{{ccj?.ccjAmount}}{{ccj?.currency}}{{ccj?.ccjStatus}}{{ccj?.ccjPaidDate | date:'dd-MMM-yyyy'}}{{ccj?.incomingRecordDetails}}
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Registered Land and Property{{business?.responseData?.creditsafeResult?.report?.additionalInformation?.landRegistry?.registeredLandAndProperty}}
Mortgage Summary\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Outstanding{{business?.responseData?.creditsafeResult?.report?.additionalInformation?.mortgageSummary?.outstanding}}
Satisfied{{business?.responseData?.creditsafeResult?.report?.additionalInformation?.mortgageSummary?.satisfied}}
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Mortage Details
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Mortgage TypeDate Charge CreatedDate Charge RegisteredStatusPersons EntitledAmount SecuredDetails
{{mortgage?.mortgageType}}{{mortgage?.dateChargeCreated | date:'dd-MMM-yyyy'}}{{mortgage?.dateChargeRegistered | date:'dd-MMM-yyyy'}}{{mortgage?.status}}{{mortgage?.personsEntitled}}{{mortgage?.amountSecured}}{{mortgage?.details}}
\r\n
\r\n","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

\r\n File upload is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { Item } from '../../models/Items';\r\nimport { AccessData, ProfileData, RequestData } from '../../models/SearchRequestModel';\r\nimport { SearchType } from '../../models/SearchType';\r\n\r\n@Component({\r\n selector: 'app-photoanalysis',\r\n templateUrl: './photoanalysis.component.html',\r\n styleUrls: ['./photoanalysis.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class PhotoanalysisComponent implements OnInit {\r\n\r\n public photoAnalysisForm: FormGroup;\r\n public validation: any = {\r\n 'reference': [Validators.required],\r\n 'file': [Validators.required]\r\n };\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private router: Router,\r\n private searchService: SearchService) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"PHOTOANALYSIS\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.photoAnalysisForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n file: [null]\r\n });\r\n this.getLicenceItems();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n photoAnalysisSearch() {\r\n this.addValidators();\r\n this.photoAnalysisForm.updateValueAndValidity();\r\n\r\n if (this.photoAnalysisForm.valid) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n //this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n var fileFormData: FormData = this.prepareFileFormData();\r\n\r\n console.log(\"Request Obj : \", requestObj);\r\n console.log(\"File form data : \", fileFormData);\r\n\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n public prepareFileFormData() {\r\n let formData: FormData = new FormData();\r\n var file = this.photoAnalysisForm.get('file').value;\r\n formData.append('file', file, file.name);\r\n return formData;\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.photoAnalysisForm.get('audit').value;\r\n profileData.referenceNumber = this.photoAnalysisForm.get('reference').value;\r\n\r\n profileData.searchType = SearchType.PhotoAnalysis.toString();\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = this.accessData;\r\n return requestObj;\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.photoAnalysisForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n onFileChange(event) {\r\n if (event.target.files.length > 0) {\r\n let file = event.target.files[0];\r\n this.photoAnalysisForm.get('file').setValue(file);\r\n }\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.photoAnalysisForm.controls) {\r\n this.photoAnalysisForm.get(control).clearValidators();\r\n this.photoAnalysisForm.get(control).setValidators(this.validation[control]);\r\n this.photoAnalysisForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public photoAnalysisClearSearch(): void {\r\n for (const control in this.photoAnalysisForm.controls) {\r\n this.photoAnalysisForm.get(control).clearValidators();\r\n this.photoAnalysisForm.get(control).updateValueAndValidity();\r\n }\r\n this.photoAnalysisForm.patchValue({\r\n audit: \"\",\r\n reference: \"\",\r\n file: null\r\n });\r\n this.showResultTab = false;\r\n //this.resetResultObjects();\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-terms-and-conditions',\r\n templateUrl: './terms-and-conditions.component.html',\r\n styleUrls: ['./terms-and-conditions.component.css']\r\n})\r\nexport class TermsAndConditionsComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
WEBSITE AND APP TERMS OF USE and ASSOCIATED TERMS OF SALE
\r\n
(Last revised on July 2021)
\r\n
\r\n
PLEASE READ THESE TERMS OF USE CAREFULLY BEFORE USING OUR WEBSITE OR APP, AS THEY CONTAIN IMPORTANT INFORMATION ABOUT HOW YOU MAY USE OUR WEBSITE AND APP AND ANY ASSOCIATED PURCHASES AND TRANSACTIONS.
\r\n
\r\n
    \r\n
  • \r\n 1. The terms on which you may use our website and app\r\n
      \r\n
    • 1.1 These Terms of Use (together with the other documents referred to below) set out the terms on which you may use our website, www.hut.global and our App.
    • \r\n
    • 1.2\tYou should read these Terms of Use carefully before using either platform, as by using our website and App you are confirming that you accept these Terms of Use and that you will comply with them.
    • \r\n
    • 1.3\tIf you don’t accept these Terms of Use you should leave our website immediately and cease from using our App or any of our services.
    • \r\n
    • \r\n 1.4\tThe following policies also apply to your use of our website and App:\r\n
        \r\n
      • 1.4.1\tOur privacy policy. By using our platforms you are consenting to us processing any personal data that you provide to us or that we collect from you as a result of your use of our platforms. Our privacy policy sets out what we do with that personal data.
      • \r\n \r\n
      \r\n
    • \r\n
    • 1.5\tIf you buy any services from our website or through using our App our terms and conditions of sale as defined within clause 6 of our Terms of Use will apply to the sale.
    • \r\n
    • 1.6\tYou are responsible for ensuring that anyone else who accesses our platforms through your internet connection is aware of these Terms of Use and the policies referred to above and that they comply with them.
    • \r\n
    \r\n
  • \r\n
  • \r\n 2. Changes to these Terms of Use and our other policies\r\n
      \r\n
    • 2.1\tWe make changes to these Terms of Use from time to time. You should therefore check these Terms of Use whenever you return to our platforms to see whether any changes have been made, as these will be binding on you.
    • \r\n
    • 2.2\tWe also make changes to our privacy policy and cookies policy from time to time, so you should also check these regularly to see whether any changes have been made.
    • \r\n
    \r\n
  • \r\n
  • \r\n 3. About us\r\n
      \r\n
    • 3.1\tWe, Heads Up Technologies Limited, operate this website at www.hut.global. We are a private limited company registered in England and Wales under company number and our registered office is at Unit 13, Redhill 23 Business Park, 29 Holmethorpe Avenue, Redhill, RH1 2GD. Our VAT number is 367 742 659.
    • \r\n
    • \r\n 3.2\tYou can contact us:
      \r\n By email at support@hut.global
      \r\n By post at Unit 13, Redhill 23 Business Park, 29 Holmethorpe Avenue, Redhill, RH1 2GD.\r\n
    • \r\n
    • 3.3\tOur Customer Complaints Code gives you information about what you can do if you are not happy. It tells you how you can complain, what we will do and when and what you can do if you are still not happy. The information provided in this Code is not contractual and is in addition to any other rights you may have under the terms and conditions that apply when we supply goods and services to you. You can find these terms at www.hut.global and our Customer Complaints Code at www.hut.global.
    • \r\n
    • 3.4\tWe are a limited company.
    • \r\n
    \r\n
  • \r\n
  • \r\n 4. Restrictions on your use of our platforms\r\n
      \r\n
    • 4.1\tYou may only use our website and App for lawful purposes and in compliance with all applicable laws, including without limitation data protection and privacy laws, laws relating to copyright of content and laws relating to unsolicited commercial electronic messages.
    • \r\n
    • \r\n 4.2\tIn addition, you must not:\r\n
        \r\n
      • 4.2.1\tuse our website and App to send or transmit, whether directly or indirectly, unsolicited or unauthorised advertising or promotional material, chain letters or pyramid selling schemes;
      • \r\n
      • 4.2.2\tuse our website and App for mail bombing or flooding or to make deliberate attempts to overload a system;
      • \r\n
      • 4.2.3\tuse our website and App to post or submit content or links to content where you know that or ought to have known that the owner of that content or Personal Data has not consented to or authorised that posting or linking or where that posting or linking infringes the rights of that owner;
      • \r\n
      • 4.2.4\tknowingly or recklessly introduce to our platforms, or use our platforms to transmit, any application, material or ware (such as viruses, spyware, malware or adware) which are malicious or harmful;
      • \r\n
      • 4.2.5\tattempt to gain unauthorised access to our website or App, the server, equipment or network on which our website and App are stored, any server, computer or database connected to our website or App or any software;
      • \r\n
      • 4.2.6\tuse our website or App to attempt to gain unauthorised access to any other website, App, internet account, server, computer, equipment, system, network, data or information;
      • \r\n
      • 4.2.7\tuse our website or App to monitor data or traffic on any network or system;
      • \r\n
      • 4.2.8\tuse our website or App to collect or use information, including without limitation email addresses, screen names or other identifiers, by deceit (such as phishing, internet scamming, password robbery, spearing, scraping and harvesting);
      • \r\n
      • 4.2.9\tuse our website or App to distribute software;
      • \r\n
      • 4.2.10\tcarry out a denial-of-service attack or a distributed denial-of-service attack on our website or App or use our website or App to carry out any such attack on any other website or App;
      • \r\n
      • \r\n 4.2.11\tuse our website or App:\r\n
          \r\n
        • 4.2.11.1\tfor any purpose which; or
        • \r\n
        • 4.2.11.2\tto send, transmit, publish, upload, download, use, store, reproduce or knowingly receive any material that does not comply with any content standards we may set out from time to time. This includes any content:
        • \r\n
        • 4.2.11.3\tof a sexually explicit nature
        • \r\n
        • 4.2.11.4\twhich directly or indirectly relates to criminal or illegal activity
        • \r\n
        • 4.2.11.5\twhich could be deemed as representing harassment
        • \r\n
        • 4.2.11.6 \twhich could be deemed as representing intimidation
        • \r\n
        \r\n
      • \r\n
      • 4.2.12\tuse our website or App to groom, harm or take advantage of minors in any way or to attempt to do so; or
      • \r\n
      • 4.2.13\tuse our website or App in violation of export laws, controls, regulations or sanction policies of the United Kingdom or any other country.
      • \r\n
      \r\n
    • \r\n
    • 4.3\tIf you breach any term of these Terms of Use your right to use our website or App will immediately end. In addition we may take such other actions including, without limitation, legal action as we consider appropriate. In this event, we reserve the right to not return any outstanding user credit(s) or monetary value associated with your user account.
    • \r\n
    • 4.4\tIf you breach any term of these Terms of Use, or if we receive a request from a law enforcement authority to do so, we may report your identity, details of any breach and any other information we consider necessary to relevant law enforcement authorities.
    • \r\n
    \r\n
  • \r\n
  • \r\n 5. Passwords and security requirements\r\n
      \r\n
    • 5.1\tIf you register an account on our website or App you must provide accurate and complete registration information and keep that information up to date at all times.
    • \r\n
    • 5.2\tUse of our website and App is password protected. In order to use it you will need a user identification code and password in order to access it. It is your responsibility to keep this information secret and confidential and not to disclose it to any other person.
    • \r\n
    • 5.3\tIf you think that somebody else might know your user identification code, password and/or pre-selected answers to security questions then you must log in to your account and change these as soon as possible.
    • \r\n
    • 5.4\tWe reserve the right to disable any user subscription, identification code and password at any time if, in our reasonable opinion, you fail to comply with any of these Terms of Use, if we consider that you are using our website or App to download content or infringe in any manner the rights of another person or if we consider that there may be a security risk.
    • \r\n
    \r\n
  • \r\n
  • \r\n 6. Our website, its content and subscriptions\r\n
      \r\n
    • 6.1\tPart of our website and App are made available to you free of charge, whilst some content and the use of some services are only available to those who have paid for, or have otherwise been permitted, access to it, for example via a paid subscription.
    • \r\n
    • 6.2\tWhen you purchase a subscription to our website or App or access paid for services via our platforms you are confirming that you accept these Terms of Use and agree to comply with the following additional terms relating to your subscription and purchase which represent a separate Terms of Sale agreement.
    • \r\n
    \r\n
  • \r\n
  • \r\n Terms of Sale Agreement.\r\n
      \r\n
    • 1. Account. If a Service requires you to open an account, you must complete the registration process by providing us with current, complete and accurate information required by the applicable registration form. Your use of the account to access our platforms, content and services is subject to all of the terms governing your account with us. You are responsible for keeping your account information and password confidential and are responsible for all activity that occurs under your account.
    • \r\n
    • 2. No Unlawful or Prohibited Use. As a condition of use of our Services, you warrant to us that you will not use the services for any purpose that is unlawful or prohibited by these Terms of Sale, or any other terms that apply to your use of the services. You may not use the services in any manner that could damage, disable, overburden, or impair any server, or the network(s) connected to any server, or interfere with any other party's use and enjoyment of the services. You may not attempt to gain unauthorized access to the services, other accounts, computer systems or networks connected to any of our servers, through hacking, password mining or any other means. You may not obtain or attempt to obtain any materials or information through any means not intentionally made available through our platforms or services. You may not use the services in a way that infringes rights of third parties, including wilfully harming a person or entity, including Heads Up Technologies Limited. You may not commercially distribute, publish, license, or sell any products, information or services obtained from our platforms.
    • \r\n
    \r\n
  • \r\n
  • \r\n Terms Relating to the Sale of Products AND SERVICES to You\r\n
      \r\n
    • 3. Geographic Availability. Service availability may vary depending on your region or device. In addition, there may be limits on where we can provide services or digital content. To complete your purchase, you may be required to have a valid billing address within the country or region where the service will be purchased.
    • \r\n
    • 4. End Users Only. You must be an end user to purchase services from us.
    • \r\n
    • 5. Billing. By providing us with a payment method, you: (i) represent that you are authorized to use the payment method that you provided and that any payment information you provide is true and accurate; (ii) authorize us to charge you for any products, services or available content purchased using your payment method; and (iii) authorize us to charge you for any paid feature of the our platforms that you choose to sign up for or use. You agree to promptly update your account and other information, including your email address and credit card numbers and expiration dates, so that we can complete your transactions and contact you as needed in connection with your transactions. We may bill you (a) in advance; (b) at the time of purchase; (c) shortly after purchase; or (d) on a recurring basis for subscriptions. Also, we may charge you up to the amount you have approved, and we will notify you in advance of any change in the amount to be charged for recurring subscriptions. We may bill you at the same time for more than one of your prior billing periods for amounts that haven't previously been processed.
    • \r\n
    • If you are taking part in any trial-period offer, you must cancel the service by the end of the trial period to avoid incurring new charges unless we notify you otherwise. If you do not cancel the service at the end of the trial period, you authorize us to charge your payment method for the product or service.
    • \r\n
    • 6. Recurring Payments. When you purchase services or digital content on a subscription basis (e.g., weekly, monthly, every 3 months, or annually (as applicable)), you acknowledge and agree that you are authorizing recurring payment, and payments shall be made to us by the method you have chosen at the recurring intervals chosen by you, until the subscription is terminated by you or by us. By authorizing recurring payments, you are authorizing us to process such payments as either electronic debits or fund transfers, or as electronic drafts from your designated account (in the case of Automated Clearing House or similar payments), or as charges to your designated account (in the case of credit card or similar payments) (collectively, “Electronic Payments”). Subscription fees are generally billed or charged in advance of the applicable subscription period. If any payment is returned unpaid or if any credit card or similar transaction is rejected or denied, we as the service provider reserve the right to collect any applicable return item, rejection or insufficient funds fee and to process any such payment as an Electronic Payment.
    • \r\n
    • 7. Availability and Quantity and Order Limits. Prices and availability of services and digital content available on our platforms are subject to change at any time and without notice. We may place a limit on the quantities that may be purchased per order, per account, per credit card, per person, or per household. If for any reason the services or digital content that you order are, or become following your order, unavailable, we may contact you to offer you an alternative product. If you do not choose to purchase the alternative offered, we will cancel your order.
    • \r\n
    • We may refuse or reject any order at any time, refunding you any monies you have paid for the order, for legitimate reasons which include, but are not limited to, if you have not met the conditions specified at the time of the order, if your payment cannot be processed, if the ordered digital content or services are not available, or in the event of an obvious pricing error or other errors. In the event of such pricing or other errors, we reserve the right to either (a) cancel your order or purchase or (b) contact you with alternative options. In the event of cancellation, your access to any associated content will be disabled.
    • \r\n
    • We may remove or disable content, or services on your device in order to protect you, our platforms or potentially affected parties. Some content and applications may be unavailable from time to time or may be offered for a limited time. Availability can be affected by region.
    • \r\n
    • 8. Updates. If applicable, we will automatically check for and download updates to your applications, even if you’re not signed into your account. Certain services within our App that are entirely or partly hosted online may be updated at any time by the app developer and may not require your permission to update. Some other apps may not be accessible until you accept an update.
    • \r\n
    • 9. Software Licenses and Use Rights. Software and other digital content made available through our platforms are licensed, not sold, to you. Please respect our intellectual property rights when using our services.
    • \r\n
    • 10. Automatic Renewal Selection. Provided that automatic renewals are allowed in your country, region, province, or state, you may choose for services to automatically renew at the end of a fixed service period. We will remind you by email before any service renews for a new term. Once we have reminded you that you elected to automatically renew your service, we may automatically renew the service at the end of the current service period and charge you the then-current price for the renewal term, unless you have chosen to cancel the service as described below. We will also remind you that we will bill your chosen payment method for the renewal, whether it was on file on the renewal date or provided later. We will also provide you with instructions on how you may cancel the services. You must cancel before the renewal date to avoid being billed for the renewal.
    • \r\n
    • 11. Payments to You. If we owe you a payment, then you agree to timely and accurately provide us with any information we need to get that payment to you. You are responsible for any taxes and charges you may incur as a result of this payment to you. You must also comply with any other conditions we place on your right to any payment. If you receive a payment in error, we may reverse or require return of the payment. You agree to cooperate with us in our efforts to do this. We may also reduce a payment to you without notice to adjust for any previous overpayment.
    • \r\n
    \r\n
  • \r\n
  • \r\n GENERAL Terms\r\n
      \r\n
    • 12. Changing Terms. We may change the Terms of Sale at any time and without notice to you. The Terms of Sale in force at the time you place your order (or, for apps at the time you attempt to install the app) will govern your acquisition transaction and serve as the transaction contract between us. Before your next transaction, we may have changed the Terms of Sale without notice to you. Please review the Terms of Sale each time make a purchase with us. We recommend that you save or print a copy of the Terms of Sale for future reference when you acquire something.
    • \r\n
    • 13. Authorized Use; Age Limitations. You acknowledge that you are authorised to place an order and to perform any other legal acts required of you under these Terms of Sale. Age limits may apply to your use of our services.
    • \r\n
    • 14. Termination of Use or Access. We may terminate your account or use of our services at any time for any legitimate reason, including, without limitation, if you are in breach of these Terms of Sale. By using our services you agree to be responsible (in accordance with these terms) for any orders you make or charges you incur prior to such termination. We may change, discontinue, or otherwise suspend the our platforms at any time, for any reason, and without prior notice to you. If such a change, discontinuance or suspension impacts your use of the service, or otherwise disrupts your order, please contact us.
    • \r\n
    • 15. Limitation of Liability. Nothing in this limitation of liability shall exclude or limit any mandatory consumer protections that are available to you in your territory or any other liability which cannot be excluded by law. The same shall apply to liability of Heads Up Technologies Limited, its agents and/or its legal representatives in the event of fraud or their negligence resulting in personal injury or death.
    • \r\n
    • a. Heads Up Technologies Limited, its agents and/or its legal representatives shall not be liable for any indirect damage, including financial loss, such as loss of profit, unless Heads Up Technologies Limited, its agents and/or its legal representative have at least acted with negligence or willful misconduct.
    • \r\n
    • b. Heads Up technologies Limited shall not be liable for your Submissions, content, or material, or activities provided by users. Such content and activities are neither attributable to Heads Up Technologies Limited nor do they represent Heads Up Technologies Limited’s opinion.
    • \r\n
    • c. Heads Up Technologies Limited is not responsible or liable for any failure to perform or delay in performing its obligations under these Terms to the extent that the failure or delay is caused by circumstances beyond Heads Up Technologies Limited’s reasonable control (such as labour disputes, acts of God, war or terrorist activity, malicious damage, accidents or compliance with any applicable law or government order).
    • \r\n
    • 16. Choice of Law and Place to Resolve Disputes. If you are a consumer these Terms of Use are governed by the law of England and Wales and the courts of England and Wales have non-exclusive jurisdiction to determine any dispute arising out of or in connection with them. If you are resident in Scotland you may also bring proceedings in Scotland and if you are resident in Northern Ireland you may also bring proceedings in Northern Ireland. As a consumer, you will benefit from any mandatory provisions of the law of the country in which you are resident. Nothing in these Terms of Use affects your rights as a consumer to rely on such mandatory provisions of local law.
    • \r\n
    • 17. We do not guarantee that access to our website or App, or the content and services associated with our platforms, will always be available or uninterrupted. Your right to access our website and App is given on a temporary basis only.
    • \r\n
    • 18. We reserve the right to change our website and App and the associated services, including without limitation by adding or removing content or functionality, at any time.
    • \r\n
    • 19. We cannot guarantee that all content on our website and App and the associated services, is accurate, complete or up to date. We therefore make no warranties, representations, undertakings or guarantees that the content on any of our platforms is accurate, complete or up to date.
    • \r\n
    • 20. We make no warranties, representations, undertakings or guarantees that our website, App or associated services will be free from errors or omissions.
    • \r\n
    • 21. The content on our website and App and the associated services are provided for general information purposes only. Nothing within our platforms or services is intended to be advice on which you should solely rely. You should always obtain appropriate specialist advice before taking, or not taking, action on the basis of any content on our website, App or the associated services we provide via our platforms.
    • \r\n
    • 22. We make no warranties, representations, undertakings or guarantees that our website and App is secure or free from bugs or viruses. You are responsible for ensuring that the device from which you access our website and App has suitable anti-virus software in place.
    • \r\n
    \r\n
  • \r\n
  • \r\n 7. Intellectual property rights\r\n
      \r\n
    • 7.1\tWe, or our licensors, own the copyright and all other intellectual property rights in our website and App and all content on it.
    • \r\n
    • 7.2\tThe trademarks, logos and slogans that appear with or relate to the website and App are our registered trade marks.
    • \r\n
    • 7.3\tYou may download the content we own from our website and/or print a reasonable number of copies of any page on our website for your personal use. We do not permit downloading, copying or printing of any content from our App including the HeadsUp Search Reports which must be retained within our App. You must not make any changes to any content which you have downloaded or printed from our website. If you reproduce the downloaded or printed content in any medium you must ensure that you reproduce it accurately and completely and include a statement acknowledging (i) the content’s owner and original source, and (ii) that it has been sourced from our website.
    • \r\n
    • 7.4\tIf you use, download, print or reproduce content from our website and App in breach of these Terms of Use your right to use our website and App will immediately end and you must return to us or destroy (at our option) all digital and paper copies of the content that you have made.
    • \r\n
    \r\n
  • \r\n
  • \r\n 8.\tLinks from our website and App to other websites and Apps
    \r\n

    Our platforms may contain links to other websites and Apps. These links are provided for your convenience. We have no control over, and no responsibility or liability to you for, those other websites or Apps or their content.

    \r\n
  • \r\n
  • \r\n 9.\tLinks from other websites and Apps to our platforms\r\n
      \r\n
    • 9.1\tYou may create a link to our platforms from another website or App, but only if you comply with the following conditions:\r\n
        \r\n
      • 9.1.1\tyou may only link to the homepage or landing page of our platform. You must not create a link to any other page of our platforms, nor frame any page of our website or App;
      • \r\n
      • 9.1.2\tyou may only link to our platforms from a platform which you own; and
      • \r\n
      • 9.1.3\tyou must not suggest that we have any association with you or that we approve or endorse your website or any of your products or services unless we expressly agree that you can do so.
      • \r\n
      \r\n
    • \r\n
    • 9.2\tWe reserve the right to require you to remove any link to our platforms at any time and without giving you prior notice.
    • \r\n
    \r\n
  • \r\n
  • \r\n 10.\tOur liability to you\r\n
      \r\n
    • 10.1\tNothing in these Terms of Use limits or excludes our liability to you for:\r\n
        \r\n
      • 10.1.1\tdeath or personal injury resulting from negligence;
      • \r\n
      • 10.1.2\tfraud or fraudulent misrepresentation; or
      • \r\n
      • 10.1.3\tany other matter for which we are not permitted by law to exclude or limit our liability.
      • \r\n
      \r\n
    • \r\n
    • 10.2\tAs these Terms of Use govern your access and use of our website and App, all warranties, conditions and other terms relating to our website and App and/or its content which would otherwise be implied by law (whether by statute, common law or otherwise) are excluded.
    • \r\n
    • 10.3\tWe will not be liable to you for any loss or damage arising out of or in connection with your use of (or inability to use) our website and App and the services we provide through our platforms or your use of or reliance upon any content or information on or provided via our website and App, whether in contract, tort (including without limitation negligence), misrepresentation, restitution, under statute or otherwise.
    • \r\n
    \r\n
  • \r\n
  • \r\n 11.\tApplicable law\r\n
      \r\n
    • 11.1\tIf you are a consumer these Terms of Use are governed by the law of England and Wales and the courts of England and Wales have non-exclusive jurisdiction to determine any dispute arising out of or in connection with them. If you are resident in Scotland you may also bring proceedings in Scotland and if you are resident in Northern Ireland you may also bring proceedings in Northern Ireland. As a consumer, you will benefit from any mandatory provisions of the law of the country in which you are resident. Nothing in these Terms of Use affects your rights as a consumer to rely on such mandatory provisions of local law.
    • \r\n
    • 11.2\tIf you are a business user these Terms of Use (and any non-contractual obligations arising out of or in connection with them) are governed by the law of England and Wales and the courts of England and Wales have exclusive jurisdiction to determine any dispute arising out of or in connection with them (including without limitation in relation to any non-contractual obligations).
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../services/messaging.service';\r\nimport { EmailageCheckResultModel } from '../../../../models/EmailResultModel';\r\n\r\n@Component({\r\n selector: 'app-emailage-result-email',\r\n templateUrl: './emailage-result-email.component.html',\r\n styleUrls: ['./emailage-result-email.component.css', '../../../shared/shared.searchpage.css']\r\n})\r\nexport class EmailageResultEmailComponent implements OnInit {\r\n\r\n @Input() emailage: EmailageCheckResultModel = new EmailageCheckResultModel(); \r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
Domain Risk Information:
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n\r\n
\r\n
\r\n
Domain:
\r\n
{{emailage.responseData?.data.domainRiskInfo.domain}}
\r\n
\r\n
\r\n
Existence:
\r\n
{{emailage.responseData?.data.domainRiskInfo.existence}}
\r\n
\r\n
\r\n
Category:
\r\n
{{emailage.responseData?.data.domainRiskInfo.category}}
\r\n
\r\n
\r\n
Company:
\r\n
{{emailage.responseData?.data.domainRiskInfo.company}}
\r\n
\r\n
\r\n
Corporate:
\r\n
{{emailage.responseData?.data.domainRiskInfo.corporate}}
\r\n
\r\n
\r\n
Country:
\r\n
{{emailage.responseData?.data.domainRiskInfo.country}}
\r\n
\r\n
\r\n
Info:
\r\n
{{emailage.responseData?.data.domainRiskInfo.info}}
\r\n
\r\n
\r\n
Country Risk:
\r\n
{{emailage.responseData?.data.domainRiskInfo.countryRisk}}
\r\n
\r\n
\r\n
Age:
\r\n
{{emailage.responseData?.data.domainRiskInfo.domainAge | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Risk Level:
\r\n
{{emailage.responseData?.data.domainRiskInfo.riskLevel}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
Email Risk Information:
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
Exists:
\r\n
{{emailage.responseData?.data.emailRiskInfo.exist}}
\r\n
\r\n
\r\n
First Seen:
\r\n
{{emailage.responseData?.data.emailRiskInfo.firstVerification | date:'dd-MM-YYYY'}}
\r\n
\r\n
\r\n
Risk Score (0 - 999):
\r\n
{{emailage.responseData?.data.emailRiskInfo.riskScore}}
\r\n
\r\n
\r\n
Reason:
\r\n
{{emailage.responseData?.data.emailRiskInfo.reason}}
\r\n
\r\n
\r\n
Risk Band Id:
\r\n
{{emailage.responseData?.data.emailRiskInfo.riskBandIdStatus}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
Fraud Detail
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
Date of Last Fraud Flag:
\r\n
{{emailage.responseData?.data.fraudDetail.lastFlaggedOn | date:'dd-MM-YYYY'}}
\r\n
\r\n
\r\n
Industry:
\r\n
{{emailage.responseData?.data.fraudDetail.sourceIndustry}}
\r\n
\r\n
\r\n
Fraud Type:
\r\n
{{emailage.responseData?.data.fraudDetail.fraudType}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
URLs Linked to Email:
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n
0)\">\r\n
\r\n
\r\n
{{url.source}} :
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from '../../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-personal',\r\n templateUrl: './pdf-search-form-personal.component.html',\r\n styleUrls: ['./pdf-search-form-personal.component.css', '../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormPersonalComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Name:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Post Code:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Mobile:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n DOB:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n 1st Line Address:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Association Entities:\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n VRN:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n \r\n \r\n Land Registry\r\n
  • \r\n
  • \r\n \r\n \r\n Financial\r\n
  • \r\n
  • \r\n \r\n \r\n Quick Search(excludes criminality)\r\n
  • \r\n
  • \r\n \r\n \r\n AVA\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { LandRegistryResultModel } from '../../../../../models/LandRegistryResultModel';\r\n\r\n@Component({\r\n selector: 'app-landregistry-result-personal',\r\n templateUrl: './landregistry-result-personal.component.html',\r\n styleUrls: ['./landregistry-result-personal.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class LandregistryResultPersonalComponent implements OnInit {\r\n\r\n @Input() landRegistry: LandRegistryResultModel = new LandRegistryResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public convertDateString(dateStr: string){\r\n return new Date(dateStr);\r\n }\r\n\r\n}\r\n","
{{messageService.SearchFail}}
\r\n
{{messageService.NoLandRegistryMatch}}
\r\n
{{messageService.PostcodeAndAddressLine1Required}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Match Result: {{landRegistry?.responseData?.prsDetails.matchResult}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Title Number : {{prs?.titleNumber}}

\r\n

Tenure : {{prs?.tenure}}

\r\n

Ownership Type : {{prs?.ownershipType}}

\r\n
\r\n
\r\n

Property Type : {{property?.type}}

\r\n

Date of Sale : {{convertDateString(property?.date) | date: 'dd-MM-yyyy'}}

\r\n

Price (£) : {{property?.price}}

\r\n
\r\n
\r\n
\r\n
Address
\r\n

Building Number : {{prs?.propertyAddress?.buildingNumber}}

\r\n

Building Name : {{prs?.propertyAddress?.buildingName}}

\r\n

Sub Building Name : {{prs?.propertyAddress?.subBuildingName}}

\r\n

Street Name : {{prs?.propertyAddress?.streetName}}

\r\n

City Name : {{prs?.propertyAddress?.cityName}}

\r\n

Postcode : {{prs?.propertyAddress?.postcode}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ElementRef, Renderer2 } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Login } from '../../models/login';\r\nimport { LoginService } from '../../service/login.service';\r\nimport { ResendLink } from '../../models/resendlink';\r\nimport { SearchService } from '../../../home/services/search.service';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { TermsAndConditionsComponent } from '../terms-and-conditions/terms-and-conditions.component'\r\nimport { AppComponent } from '../../../app.component';\r\nimport { Shared } from 'src/app/demo/V3/services/shared';\r\n\r\n@Component({\r\n selector: 'app-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.css'],\r\n providers: [LoginService, DialogService]\r\n})\r\n\r\nexport class LoginComponent implements OnInit {\r\n\r\n public login = new Login(null, null, false, null);\r\n public accesstoken: string;\r\n public expirytime: any;\r\n public tokentype: string;\r\n public loggedIn: boolean;\r\n public resendtext: boolean;\r\n public validationerror: string;\r\n public resendlink = new ResendLink(\"\");\r\n public loading: boolean;\r\n public token: string;\r\n public tenantId: number;\r\n public userId: string;\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private router: Router,\r\n private renderer: Renderer2,\r\n private elementRef: ElementRef,\r\n private route: ActivatedRoute,\r\n private dialogService: DialogService,\r\n private appComponent: AppComponent\r\n ) { }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit() {\r\n setTimeout(() => {\r\n this.route.queryParams\r\n .subscribe(params => {\r\n this.token = params.Token;\r\n this.userId = params.UserId;\r\n this.tenantId = params.TenantId;\r\n if (this.token && this.tenantId && this.userId) {\r\n this.appComponent.redirectToSettingsWithTenant();\r\n this.router.navigate([\"/v3\"]);\r\n }\r\n }\r\n );\r\n }, 2000)\r\n\r\n if (this.token) {\r\n this.appComponent.redirectToSettingsWithTenant();\r\n }\r\n else {\r\n this.loggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (this.loggedIn) {\r\n this.router.navigate([\"/v3\"]);\r\n this.appComponent.isLoginExpires();\r\n }\r\n }\r\n }\r\n\r\n public Userlogin() {\r\n this.loading = true;\r\n this.loginService.Userlogin(this.login)\r\n .subscribe(\r\n data => {\r\n this.loading = false;\r\n if (data['message'] != null && data['expiresAt'] != null) {\r\n this.expirytime = data['expiresAt'];\r\n const currentTime = Math.floor(Date.now() / 1000); // Current time in seconds\r\n const newExpirationTime = currentTime + 5 * 60; // 5 minutes from now\r\n localStorage.setItem('otpExpirationTime', newExpirationTime.toString());\r\n this.router.navigate([\"/OTPVerification\"], { queryParams: { email: this.login.email, password: btoa(this.login.password), termsAndConditions: this.login.termsAndConditions, expirationTime: this.expirytime } });\r\n } else {\r\n localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n localStorage.setItem(\"userId\", data[\"userId\"]);\r\n localStorage.setItem(\"username\", data[\"username\"]);\r\n this.router.navigate([\"/v3\"]);\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 404) {\r\n this.loading = false;\r\n this.validationerror = \"Email or Password is incorrect !\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 6000);\r\n }\r\n else if (error.status == 403) {\r\n this.loading = false;\r\n this.resendtext = true;\r\n this.resendlink.email = this.login.email;\r\n this.validationerror = \"Your email is not verified. We have sent you a verification email. Please click on the link there to verify your email address.\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 12000);\r\n }\r\n else if (error.status == 402) {\r\n this.loading = false;\r\n this.validationerror = \"Your account is inactive/deleted. Please get in touch with admin for more information.\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 12000);\r\n }\r\n });\r\n }\r\n\r\n public ResendLink() {\r\n this.router.navigate([\"/ResendLink\"]);\r\n }\r\n\r\n showTermsAndConditions() {\r\n const ref = this.dialogService.open(TermsAndConditionsComponent, {\r\n header: 'Terms & Conditions',\r\n width: '70%',\r\n height: '70%'\r\n });\r\n }\r\n\r\n}\r\n\r\n\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Login

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Email is required
\r\n
Email must be a valid email address
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Password is required
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
Please read and accept the Terms & Conditions.
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n

\r\n {{validationerror}}
or Click here to resend email verification link
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","export class CompaniesHouseResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-ltd-commentaryperformance-financials-business',\r\n templateUrl: './ltd-commentaryperformance-financials-business.component.html',\r\n styleUrls: ['./ltd-commentaryperformance-financials-business.component.css']\r\n})\r\nexport class LtdCommentaryperformanceFinancialsBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CommentPositive or Negative
{{commentary?.commentaryText}}{{commentary?.positiveOrNegative}}
\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'filename'\r\n})\r\nexport class FilenamePipe implements PipeTransform {\r\n\r\n transform(value: string): string {\r\n return value.split('.').slice(0, -1).join('.');\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { map } from 'rxjs/operators';\r\nimport { Observable } from 'rxjs';\r\nimport { CSVRecords, ScreenInputData } from '../Models/CSVRecords';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ScreenSearchDataService {\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n\r\n GetScreenSearchData(): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.get('api/screensearch', httpOptions)\r\n .pipe(\r\n map(response => {\r\n let body = response;\r\n return body\r\n || {};\r\n }\r\n )\r\n );\r\n }\r\n\r\n\r\n ProcessScreenSearch(screenInputData: ScreenInputData): Observable{\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('api/screensearch', screenInputData, httpOptions);\r\n }\r\n\r\n \r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TenantRegion } from '../../models/TenantRegionResposne';\r\nimport { SearchService } from '../../../services/search.service';\r\n\r\n@Component({\r\n selector: 'app-motor',\r\n templateUrl: './motor.component.html',\r\n styleUrls: ['./motor.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class MotorComponent implements OnInit {\r\n\r\n public regionAccess: TenantRegion = new TenantRegion();\r\n\r\n constructor(private searchService: SearchService) { }\r\n\r\n ngOnInit(): void {\r\n this.getTenantRegion();\r\n }\r\n\r\n public getTenantRegion() {\r\n this.searchService.GetTenantRegion().subscribe(data => {\r\n this.regionAccess = data;\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n\r\n}\r\n","\r\n\r\n \r\n\r\n\r\n \r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RouterModule } from '@angular/router';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { TableModule } from 'primeng/table';\r\nimport { PDFExportModule } from \"@progress/kendo-angular-pdf-export\";\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport {TooltipModule} from 'primeng/tooltip';\r\nimport { AccordionModule } from 'primeng/accordion';\r\n\r\nimport { V3RoutingModule } from './v3-routing.module';\r\nimport { V3Component } from './v3.component';\r\n\r\nimport { PersonalComponent } from './search-pages/components/personal/personal.component';\r\nimport { BusinessComponent } from './search-pages/components/business/business.component';\r\nimport { MobileComponent } from './search-pages/components/mobile/mobile.component';\r\nimport { EmailComponent } from './search-pages/components/email/email.component';\r\nimport { ScreenComponent } from './search-pages/components/screen/screen.component';\r\nimport { MotorComponent } from './search-pages/components/motor/motor.component';\r\nimport { RtwComponent } from './search-pages/components/rtw/rtw.component';\r\nimport { PhotoanalysisComponent } from './search-pages/components/photoanalysis/photoanalysis.component';\r\nimport { IdcheckComponent } from './search-pages/components/idcheck/idcheck.component';\r\nimport { DocumentvalidationComponent } from './search-pages/components/documentvalidation/documentvalidation.component';\r\nimport { DriverLicenceCheckComponent } from './search-pages/components/driverlicencecheck/driverlicencecheck.component';\r\nimport { SearchTopNavComponent } from './search-pages/components/search-top-nav/search-top-nav.component';\r\nimport { GaugeChartModule } from 'angular-gauge-chart';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { ConfirmationService } from 'primeng/api';\r\nimport { AmlResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/aml-result/aml-result.component';\r\nimport { CcjResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/ccj-result/ccj-result.component';\r\nimport { MobileResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/mobile-result/mobile-result.component';\r\nimport { CounterFraudResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/counter-fraud-result/counter-fraud-result.component';\r\nimport { EmailResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/email-result/email-result.component';\r\nimport { FinancialResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/financial-result/financial-result.component';\r\nimport { SocialmediaResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/socialmedia-result/socialmedia-result.component';\r\nimport { SportsResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/sports-result/sports-result.component';\r\nimport { CriminalityResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/criminality-result/criminality-result.component';\r\nimport { AssociationResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/association-result/association-result.component';\r\nimport { ProspectResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/prospect-result/prospect-result.component';\r\nimport { CompaniesHouseResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/companies-house-result/companies-house-result.component';\r\nimport { InsolvencyResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/insolvency-result/insolvency-result.component';\r\nimport { EmailvalidationResultEmailComponent } from './search-pages/components/email/result-pages/emailvalidation-result-email/emailvalidation-result-email.component';\r\nimport { EmailageResultEmailComponent } from './search-pages/components/email/result-pages/emailage-result-email/emailage-result-email.component';\r\nimport { MobileResultMobileComponent } from './search-pages/components/mobile/result-pages/mobile-result-mobile/mobile-result-mobile.component';\r\nimport { OpensourceResultMobileComponent } from './search-pages/components/mobile/result-pages/opensource-result-mobile/opensource-result-mobile.component';\r\nimport { AvaResultMotorComponent } from './search-pages/components/motor/uk-motor/result-pages/ava-result-motor/ava-result-motor.component';\r\nimport { MotorResultMotorComponent } from './search-pages/components/motor/uk-motor/result-pages/motor-result-motor/motor-result-motor.component';\r\nimport { PiplResultComponent } from './search-pages/components/personal/uk-personal/result-page/pipl-result/pipl-result.component';\r\nimport { CounterfraudNewResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/counterfraud-new-result-personal/counterfraud-new-result-personal.component';\r\nimport { FinancialNewResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/financial-new-result-personal/financial-new-result-personal.component';\r\nimport { EmailNewResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/email-new-result-personal/email-new-result-personal.component';\r\nimport { MobileNewResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/mobile-new-result-personal/mobile-new-result-personal.component';\r\nimport { HutmotorResultMotorComponent } from './search-pages/components/motor/uk-motor/result-pages/hutmotor-result-motor/hutmotor-result-motor.component';\r\nimport { MothistoryResultMotorComponent } from './search-pages/components/motor/uk-motor/result-pages/mothistory-result-motor/mothistory-result-motor.component';\r\nimport { ExportPdfPersonComponent } from './search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/export-pdf-person.component';\r\nimport { PdfSearchFormPersonalComponent } from './search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-search-form-personal/pdf-search-form-personal.component';\r\nimport { PdfCompanieshouseResultPersonalComponent } from './search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-companieshouse-result-personal/pdf-companieshouse-result-personal.component';\r\nimport { PdfCriminalityResultPersonalComponent } from './search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-criminality-result-personal/pdf-criminality-result-personal.component';\r\nimport { PdfSocialmediaResultPersonalComponent } from './search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-socialmedia-result-personal/pdf-socialmedia-result-personal.component';\r\nimport { PdfSportsResultPersonalComponent } from './search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-sports-result-personal/pdf-sports-result-personal.component';\r\nimport { T2aResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/t2a-result-personal/t2a-result-personal.component';\r\nimport { LandingComponent } from './landing/landing.component';\r\nimport { ExportPdfMobileComponent } from './search-pages/components/mobile/export-pdf/export-pdf-mobile/export-pdf-mobile.component';\r\nimport { PdfSearchFormMobileComponent } from './search-pages/components/mobile/export-pdf/export-pdf-mobile/pdf-search-form-mobile/pdf-search-form-mobile.component';\r\nimport { ExportPdfMotorComponent } from './search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/export-pdf-motor.component';\r\nimport { PdfSearchFormMotorComponent } from './search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-search-form-motor/pdf-search-form-motor.component';\r\nimport { PdfMothistoryResultMotorComponent } from './search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-mothistory-result-motor/pdf-mothistory-result-motor.component';\r\nimport { PdfAvaResultMotorComponent } from './search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-ava-result-motor/pdf-ava-result-motor.component';\r\nimport { PdfHutmotorResultMotorComponent } from './search-pages/components/motor/uk-motor/export-pdf/export-pdf-motor/pdf-hutmotor-result-motor/pdf-hutmotor-result-motor.component';\r\nimport { ExportPdfEmailComponent } from './search-pages/components/email/export-pdf/export-pdf-email/export-pdf-email.component';\r\nimport { PdfSearchFormEmailComponent } from './search-pages/components/email/export-pdf/export-pdf-email/pdf-search-form-email/pdf-search-form-email.component';\r\nimport { ExportPdfDocumentValidationComponent } from './search-pages/components/documentvalidation/export-pdf/export-pdf-document-validation/export-pdf-document-validation.component';\r\nimport { ProspectDashboardPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/prospect-dashboard-personal/prospect-dashboard-personal.component';\r\nimport { LandregistryResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/landregistry-result-personal/landregistry-result-personal.component';\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { AuthInterceptor } from './services/interceptors/auth-interceptor';\r\nimport { SearchService } from './services/search.service';\r\nimport { UkMotorComponent } from './search-pages/components/motor/uk-motor/uk-motor.component';\r\nimport { AuMotorComponent } from './search-pages/components/motor/au-motor/au-motor.component';\r\nimport { AuRiskSummaryComponent } from './search-pages/components/motor/au-motor/result-pages/au-risk-summary/au-risk-summary.component';\r\nimport { AuVehicleDescriptionComponent } from './search-pages/components/motor/au-motor/result-pages/au-vehicle-description/au-vehicle-description.component';\r\nimport { AuWovrStolenComponent } from './search-pages/components/motor/au-motor/result-pages/au-wovr-stolen/au-wovr-stolen.component';\r\nimport { UkPersonalComponent } from './search-pages/components/personal/uk-personal/uk-personal.component';\r\nimport { AddressResultPersonalComponent } from './search-pages/components/personal/uk-personal/result-page/address-result/address-result.component';\r\nimport { AuPersonalComponent } from './search-pages/components/personal/au-personal/au-personal.component';\r\nimport { ExportPdfPersonalAuComponent } from './search-pages/components/personal/au-personal/export-pdf/export-pdf-personal-au/export-pdf-personal-au.component';\r\nimport { UkMotorResultComponent } from './search-pages/components/motor/uk-motor/result-pages/uk-motor-result/uk-motor-result.component';\r\nimport { UkBusinessComponent } from './search-pages/components/business/uk-business/uk-business.component';\r\nimport { AuBusinessComponent } from './search-pages/components/business/au-business/au-business.component';\r\nimport { OpensourceResultBusinessComponent } from './search-pages/components/business/uk-business/result-pages/opensource-result-business/opensource-result-business.component';\r\nimport { VatResultBusinessComponent } from './search-pages/components/business/uk-business/result-pages/vat-result-business/vat-result-business.component';\r\nimport { BusinessResultBusinessComponent } from './search-pages/components/business/uk-business/result-pages/business-result-business/business-result-business.component';\r\nimport { ProspectDashboardBusinessComponent } from './search-pages/components/business/uk-business/result-pages/prospect-dashboard-business/prospect-dashboard-business.component';\r\nimport { DashboardOneBusinessComponent } from './search-pages/components/business/uk-business/result-pages/dashboard-one-business/dashboard-one-business.component';\r\nimport { NonLtdBusinessComponent } from './search-pages/components/business/uk-business/result-pages/non-ltd-business/non-ltd-business.component';\r\nimport { LtdAccountsBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-accounts-business/ltd-accounts-business.component';\r\nimport { LtdOfficersBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-officers-business/ltd-officers-business.component';\r\nimport { LtdCreditlimitBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-creditlimit-business/ltd-creditlimit-business.component';\r\nimport { LtdRatinghistoryBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-ratinghistory-business/ltd-ratinghistory-business.component';\r\nimport { LtdCommentaryperformanceFinancialsBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-commentaryperformance-financials-business/ltd-commentaryperformance-financials-business.component';\r\nimport { LtdCompanyhistoryFinancialsBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-companyhistory-financials-business/ltd-companyhistory-financials-business.component';\r\nimport { LtdMiscellaneousFinancialsBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-miscellaneous-financials-business/ltd-miscellaneous-financials-business.component';\r\nimport { PdfLtdAccountsBusinessComponent } from './search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-ltd-accounts-business/pdf-ltd-accounts-business.component';\r\nimport { PdfLtdOfficerBusinessComponent } from './search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-ltd-officer-business/pdf-ltd-officer-business.component';\r\nimport { LtdSharesBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-shares-business/ltd-shares-business.component';\r\nimport { LtdRegisterationBusinessComponent } from './search-pages/components/business/uk-business/result-pages/ltd-registeration-business/ltd-registeration-business.component';\r\nimport { PdfSearchFormBusinessComponent } from './search-pages/components/business/uk-business/export-pdf/export-pdf-business/pdf-search-form-business/pdf-search-form-business.component';\r\nimport { ExportPdfBusinessComponent } from './search-pages/components/business/uk-business/export-pdf/export-pdf-business/export-pdf-business.component';\r\nimport { DashboardThreeBusinessComponent } from './search-pages/components/business/uk-business/result-pages/dashboard-three-business/dashboard-three-business.component';\r\nimport { DashboardTwoBusinessComponent } from './search-pages/components/business/uk-business/result-pages/dashboard-two-business/dashboard-two-business.component';\r\nimport { LandregistryResultBusinessComponent } from './search-pages/components/business/uk-business/result-pages/landregistry-result-business/landregistry-result-business.component';\r\nimport { SocialmediaResultBusinessComponent } from './search-pages/components/business/uk-business/result-pages/socialmedia-result-business/socialmedia-result-business.component';\r\nimport { AuBusinessResultComponent } from './search-pages/components/business/au-business/result-pages/au-business-result/au-business-result.component';\r\nimport { LicenceDetailResultComponent } from './search-pages/components/driverlicencecheck/result-pages/licence-details/licence-detail-result.component';\r\nimport { DriverDetailsComponent } from './search-pages/components/driverlicencecheck/result-pages/driver-details/driver-details.component';\r\nimport { EndorsementsComponent } from './search-pages/components/driverlicencecheck/result-pages/endorsements/endorsements.component';\r\nimport { TachoCardsComponent } from './search-pages/components/driverlicencecheck/result-pages/tacho-cards/tacho-cards.component';\r\nimport { CpcQualificationsComponent } from './search-pages/components/driverlicencecheck/result-pages/cpc-qualifications/cpc-qualifications.component';\r\nimport { TestPassComponent } from './search-pages/components/driverlicencecheck/result-pages/test-pass/test-pass.component';\r\nimport { EntitlementListComponent } from './search-pages/components/driverlicencecheck/result-pages/entitlement-list/entitlement-list.component';\r\nimport { ExportPdfDriverlicenceComponent } from './search-pages/components/driverlicencecheck/export-pdf/export-pdf-driverlicence/export-pdf-driverlicence.component';\r\nimport { PdfSearchFormDriverLicenceComponent } from './search-pages/components/driverlicencecheck/export-pdf/pdf-search-form-driver-licence/pdf-search-form-driver-licence.component';\r\nimport { PdfSearchFormPersonalAuComponent } from './search-pages/components/personal/au-personal/export-pdf/pdf-search-form-personal-au/pdf-search-form-personal-au.component';\r\nimport { AppAuPersonHistoryComponent } from './search-pages/components/personal/au-personal/results-pages/app-au-person-history/app-au-person-history.component';\r\nimport { AppAuEnhancedRecordPlusComponent } from './search-pages/components/personal/au-personal/results-pages/app-au-enhanced-record-plus/app-au-enhanced-record-plus.component';\r\nimport { ExportPdfAusBusinessComponent } from './search-pages/components/business/au-business/export-pdf/export-pdf-aus-business/export-pdf-aus-business.component';\r\nimport { PdfSearchFormAusBusinessComponent } from './search-pages/components/business/au-business/export-pdf/export-pdf-aus-business/pdf-search-form-aus-business/pdf-search-form-aus-business.component';\r\nimport { AuBusinessAbrsearchComponent } from './search-pages/components/business/au-business/result-pages/au-business-abrsearch/au-business-abrsearch.component';\r\nimport { AuBusinessAbnsearchComponent } from './search-pages/components/business/au-business/result-pages/au-business-abnsearch/au-business-abnsearch.component';\r\nimport { AuBusinessAsicsearchComponent } from './search-pages/components/business/au-business/result-pages/au-business-asicsearch/au-business-asicsearch.component';\r\nimport { ExportPdfAusMotorComponent } from './search-pages/components/motor/au-motor/export-pdf/export-pdf-aus-motor/export-pdf-aus-motor.component';\r\nimport { PdfSearchFormAusMotorComponent } from './search-pages/components/motor/au-motor/export-pdf/export-pdf-aus-motor/pdf-search-form-aus-motor/pdf-search-form-aus-motor.component';\r\nimport { PdfAmlResultPersonalComponent } from './search-pages/components/personal/uk-personal/export-pdf/export-pdf-person/pdf-aml-result-personal/pdf-aml-result-personal.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n LandingComponent,\r\n PersonalComponent,\r\n V3Component,\r\n BusinessComponent,\r\n MobileComponent,\r\n EmailComponent,\r\n ScreenComponent,\r\n MotorComponent,\r\n RtwComponent,\r\n PhotoanalysisComponent,\r\n IdcheckComponent,\r\n DocumentvalidationComponent,\r\n DriverLicenceCheckComponent,\r\n AddressResultPersonalComponent,\r\n AmlResultPersonalComponent,\r\n SearchTopNavComponent,\r\n CcjResultPersonalComponent,\r\n MobileResultPersonalComponent,\r\n CounterFraudResultPersonalComponent,\r\n EmailResultPersonalComponent,\r\n FinancialResultPersonalComponent,\r\n InsolvencyResultPersonalComponent,\r\n CompaniesHouseResultPersonalComponent,\r\n ProspectResultPersonalComponent,\r\n AssociationResultPersonalComponent,\r\n CriminalityResultPersonalComponent,\r\n SportsResultPersonalComponent,\r\n SocialmediaResultPersonalComponent,\r\n EmailvalidationResultEmailComponent,\r\n EmailageResultEmailComponent,\r\n MobileResultMobileComponent,\r\n OpensourceResultMobileComponent,\r\n AvaResultMotorComponent,\r\n MotorResultMotorComponent,\r\n PiplResultComponent,\r\n CounterfraudNewResultPersonalComponent,\r\n FinancialNewResultPersonalComponent,\r\n EmailNewResultPersonalComponent,\r\n MobileNewResultPersonalComponent,\r\n HutmotorResultMotorComponent,\r\n OpensourceResultBusinessComponent,\r\n VatResultBusinessComponent,\r\n BusinessResultBusinessComponent,\r\n ExportPdfPersonComponent,\r\n PdfSearchFormPersonalComponent,\r\n PdfCompanieshouseResultPersonalComponent,\r\n PdfCriminalityResultPersonalComponent,\r\n PdfSocialmediaResultPersonalComponent,\r\n PdfSportsResultPersonalComponent,\r\n MothistoryResultMotorComponent,\r\n T2aResultPersonalComponent,\r\n ExportPdfMobileComponent,\r\n PdfSearchFormMobileComponent,\r\n ExportPdfMotorComponent,\r\n PdfSearchFormMotorComponent,\r\n PdfMothistoryResultMotorComponent,\r\n PdfAvaResultMotorComponent,\r\n PdfHutmotorResultMotorComponent,\r\n ExportPdfEmailComponent,\r\n PdfSearchFormEmailComponent,\r\n ExportPdfDocumentValidationComponent,\r\n ProspectDashboardPersonalComponent,\r\n ProspectDashboardBusinessComponent,\r\n LandregistryResultPersonalComponent,\r\n DashboardOneBusinessComponent,\r\n DashboardTwoBusinessComponent,\r\n DashboardThreeBusinessComponent,\r\n ExportPdfBusinessComponent,\r\n PdfSearchFormBusinessComponent,\r\n LtdRegisterationBusinessComponent,\r\n LtdSharesBusinessComponent,\r\n PdfLtdOfficerBusinessComponent,\r\n PdfLtdAccountsBusinessComponent,\r\n LtdMiscellaneousFinancialsBusinessComponent,\r\n LtdCompanyhistoryFinancialsBusinessComponent,\r\n LtdCommentaryperformanceFinancialsBusinessComponent,\r\n LtdRatinghistoryBusinessComponent,\r\n LtdCreditlimitBusinessComponent,\r\n LtdOfficersBusinessComponent,\r\n LtdAccountsBusinessComponent,\r\n NonLtdBusinessComponent,\r\n UkMotorComponent,\r\n AuMotorComponent,\r\n AuRiskSummaryComponent,\r\n AuVehicleDescriptionComponent,\r\n AuWovrStolenComponent,\r\n UkPersonalComponent,\r\n AuPersonalComponent,\r\n ExportPdfPersonalAuComponent,\r\n LandregistryResultBusinessComponent,\r\n SocialmediaResultBusinessComponent,\r\n UkMotorResultComponent,\r\n UkBusinessComponent,\r\n AuBusinessComponent,\r\n AuBusinessResultComponent,\r\n LicenceDetailResultComponent,\r\n DriverDetailsComponent,\r\n EndorsementsComponent,\r\n TachoCardsComponent,\r\n CpcQualificationsComponent,\r\n TestPassComponent,\r\n EntitlementListComponent,\r\n ExportPdfDriverlicenceComponent,\r\n PdfSearchFormDriverLicenceComponent,\r\n PdfSearchFormPersonalAuComponent,\r\n AppAuPersonHistoryComponent,\r\n AppAuEnhancedRecordPlusComponent,\r\n ExportPdfAusBusinessComponent,\r\n PdfSearchFormAusBusinessComponent,\r\n AuBusinessAbrsearchComponent,\r\n AuBusinessAbnsearchComponent,\r\n AuBusinessAsicsearchComponent,\r\n ExportPdfAusMotorComponent,\r\n PdfSearchFormAusMotorComponent,\r\n PdfAmlResultPersonalComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n V3RoutingModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n GaugeChartModule,\r\n ButtonModule,\r\n ConfirmDialogModule,\r\n TableModule,\r\n PDFExportModule,\r\n DropdownModule,\r\n TooltipModule,\r\n AccordionModule \r\n ],\r\n providers: [\r\n ConfirmationService,\r\n { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true, deps: [SearchService] }\r\n ]\r\n})\r\nexport class V3Module { }\r\n","export class Shared {\r\n\r\n public static getCurrentDate(): string {\r\n var currentdate = new Date();\r\n return currentdate.getDate() + \"-\" + this.monthName(currentdate.getMonth()) + \"-\" + currentdate.getFullYear();\r\n }\r\n\r\n public static getCurrentTime(): string {\r\n return new Date().toLocaleTimeString();\r\n }\r\n\r\n private static monthName(mon) {\r\n return ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'][mon];\r\n }\r\n\r\n public static getExpiryDate(utcDate: string): string{\r\n var date = new Date(utcDate);\r\n return date.toString();\r\n }\r\n\r\n public static getAccessTokenExpiryDateTime(token: string | null): Date | null {\r\n if(!token) token = localStorage.getItem(\"access_token\");\r\n if(!token) return null;\r\n\r\n const jwtPayload = JSON.parse(window.atob(token.split('.')[1]));\r\n var expiryDate = new Date(0);\r\n expiryDate.setUTCSeconds(jwtPayload.exp);\r\n return expiryDate;\r\n }\r\n\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../../services/messaging.service';\r\nimport { SocialMediaResultModel } from '../../../../../../models/SocialMediaResultModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-socialmedia-result-personal',\r\n templateUrl: './pdf-socialmedia-result-personal.component.html',\r\n styleUrls: ['./pdf-socialmedia-result-personal.component.css', '../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSocialmediaResultPersonalComponent implements OnInit {\r\n\r\n @Input() socialMedia: SocialMediaResultModel = new SocialMediaResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n Hide Status \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CategoryStatus
{{media.displayname}}\r\n {{media.status}}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
0\">\r\n
\r\n
\r\n

\r\n Search returned {{socialMedia.SocialMediaResultCount}} results\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{result.title}}
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { PersonHistoryResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/PersonHistoryResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-app-au-person-history',\r\n templateUrl: './app-au-person-history.component.html',\r\n styleUrls: ['./app-au-person-history.component.css']\r\n})\r\nexport class AppAuPersonHistoryComponent implements OnInit {\r\n@Input() public personHistoryResultModel: PersonHistoryResultModel = new PersonHistoryResultModel();\r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n {{messagingService.OtherFieldRequired}}
\r\n
\r\n {{messagingService.SearchFail}}
\r\n
\r\n {{messagingService.NoRelevantDataMessage}}
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ (people?.first_name +' '+ people?.middle_name + ' '\r\n +people?.last_name) | titlecase }}
\r\n
\r\n

Birth Date: {{ (people?.birth_date | date:\r\n 'dd-MM-yyyy') }}

\r\n

Deceased : {{ people.deceased }}

\r\n
\r\n

Address:

\r\n

{{people?.address | titlecase}}

\r\n

{{people?.suburb | titlecase}}

\r\n

{{people?.state | titlecase}}

\r\n

{{people?.postcode | titlecase}}

\r\n

Occupancy Period : {{\r\n (people?.date_start | date: 'dd-MM-yyyy') + ' to ' + (people?.date_end | date:\r\n 'dd-MM-yyyy') }}

\r\n

0\"> Mobile Numbers:

\r\n

\r\n {{ mobile.phone + ' Period: ' + (mobile?.date_start | date: 'dd-MM-yyyy') + ' to ' +\r\n (mobile?.date_end | date: 'dd-MM-yyyy') }}\r\n

\r\n

0\"> Emails:

\r\n

\r\n {{ email.email + ' Period: ' + (email?.date_start | date: 'dd-MM-yyyy') + ' to ' +\r\n (email?.date_end | date: 'dd-MM-yyyy') }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { AbstractControl, ValidationErrors } from '@angular/forms';\r\n\r\nexport class WhiteSpace {\r\n static noSpaceAllowed(control: AbstractControl): ValidationErrors | null {\r\n if ((control.value as string).indexOf(' ') >= 0) {\r\n return { noSpaceAllowed: true }\r\n }\r\n return null;\r\n }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\nimport { CompaniesHouseResultModel } from '../../../../../models/CompaniesHouseResultModel';\r\nimport { CounterFraudResultModel, ProspectResultModel } from '../../../../../models/CounterFraudResultModel';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-dashboard-two-business',\r\n templateUrl: './dashboard-two-business.component.html',\r\n styleUrls: ['./dashboard-two-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class DashboardTwoBusinessComponent implements OnInit {\r\n\r\n @Input() business: BusinessResultModel = new BusinessResultModel();\r\n @Input() companiesHouse: CompaniesHouseResultModel = new CompaniesHouseResultModel();\r\n @Input() prospect: ProspectResultModel = new ProspectResultModel();\r\n @Input() requestData: RequestData = new RequestData();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public haveDisqualifiedDirectors(): boolean {\r\n try {\r\n if (this.business?.creditsafeResult?.report?.directors?.currentDirectors &&\r\n this.business?.creditsafeResult?.report?.directors?.currentDirectors.length > 0 &&\r\n this.business?.creditsafeResult?.report?.directors?.currentDirectors.some(x => x.additionalData.disqualified == true)) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n return false;\r\n }\r\n }\r\n\r\n public isLimitedCompany(): boolean {\r\n if (\r\n ((this.requestData.profileData.companyNumber && this.requestData.profileData.companyName) || (this.requestData.profileData.companyName && !this.requestData.profileData.companyNumber) || this.requestData.profileData.companyNumber) &&\r\n ((this.business.creditsafeResult && !this.business.businessNonRegisteredProfileResult) ||\r\n (this.business?.responseData?.businessTargeterObject && this.business?.responseData?.businessTargeterObject?.legalStatus == 'L'))\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n public isNonLimitedCompany(): boolean {\r\n if (\r\n (!this.requestData.profileData.companyNumber) &&\r\n ((this.business.businessNonRegisteredProfileResult && !this.business.creditsafeResult) ||\r\n (this.business?.responseData?.businessTargeterObject && this.business?.responseData?.businessTargeterObject?.legalStatus == 'N'))\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n hasI2Hit(): boolean {\r\n return this.prospect?.prospectHitResponseData?.hits?.some(x => x.i2Hit) ?? false;\r\n }\r\n}\r\n","
\r\n
\r\n\r\n
\r\n
\r\n Financial\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
0 || business?.responseData?.creditsafeResult?.report?.negativeInformation?.ccjSummary?.numberOfSatisfied > 0 || companiesHouse?.responseData?.completeResponse?.has_insolvency_history); else default1\">\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Regulatory\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Fraud\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n","import { ItemAccess } from './LicenceTemplate';\r\nimport { Item } from \"../../home/models/AccessData\";\r\n\r\n\r\nexport class SubscriptionPlan {\r\n public planId: Number;\r\n public planName: string;\r\n public screenCount: Number;\r\n public searchCount: Number;\r\n public allowedLicenseItems: ItemAccess[];\r\n public description: string;\r\n public userCount: number;\r\n}\r\n\r\n \r\n \r\n \r\n \r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MessagingService {\r\n\r\n public EmailNotValidMessage: string = \"Email is not valid.\";\r\n public EmailRequiredMessage: string = \"Email is required.\";\r\n public MobileRequiredMessage: string = \"Mobile number is required.\";\r\n public MobileNotValidMessage: string = \"Mobile number is not valid.\";\r\n public PhoneNumberNotValidMessage: string = \"Phone number is not valid.\";\r\n public NameRequiredMessage: string = \"Name is required.\";\r\n public VrnRequiredMessage: string = \"VRN is required.\";\r\n public VrnNotValidMessage: string = \"VRN is not valid.\";\r\n public PostCodeRequiredMessage: string = \"Postcode is required.\";\r\n public PostCodeNotValidMessage: string = \"Postcode is not valid.\";\r\n public AssiciateDataNotProvideMessage: string = \"Associated entity is required.\";\r\n public ReferenceRequiredMessage: string = \"Reference number is required.\";\r\n public NoRelevantDataMessage: string = \"No relevant data found.\";\r\n public NoDataFoundMessage: string = \"No data found for the stated address – try checking previous and linked addresses from the address tab in HeadsUp.\";\r\n public AdditionalDataMessage: string = \"Please include a date of birth.\";\r\n public NoRelevantDataMessageShort: string = \"No records.\";\r\n public NoRecordsOfSubject: string = \"N/A - No Record of Subject.\";\r\n public NoSearchSelect: string = \"Search option not selected.\";\r\n public NoSearchSelectShort: string = \"Not selected.\";\r\n public SearchFail: string = \"Search failed.\";\r\n public MobileValidationMessage: string = \"Mobile number is required.\";\r\n public OtherFieldRequired: string = \"Additional data is required.\";\r\n public CompanyNumberNotValidMessage: string = \"Company number is not valid.\";\r\n public CompanyPostcodeNotValid: string = \"Company postcode is not valid.\";\r\n public BusinessValidationMessage: string = \"A Company Number or Business Name required.\";\r\n public BusinessNameRequiredMessage: string = \"Business Name required.\";\r\n public VatRequiredMessage: string = \"VAT Number is required.\";\r\n public T2ARequiredMessage: string = \"Postcode and Address line 1 is required.\"\r\n public loadingAnimation: string = \"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==\";\r\n public NoDataShortMessage: string = \"No data.\";\r\n public PostcodeOrDOBRequiredMessage: string = \"Postcode or DOB required.\";\r\n public CompanyNumberRequiredMessage: string = \"Company Number Required.\";\r\n public BusinessABNRequiredMessage: string = \"ABN is required.\";\r\n public BusinessASICRequiredMessage: string = \"ASIC is required.\";\r\n public BusinessABNValidateMessage: string = \"ABN number must be a 11-digit numberic value.\";\r\n public BusinessASICValidateMessage: string = \"ASIC number must be a 9-digit numeric value.\";\r\n public BusinessPostcodeNotValid: string = \"Postcode must be a 4-digit number.\";\r\n public driverLicenceCheckValidateMessage: string = \"Driver Licence must be a 16-digit Alphanumeric value.\";\r\n \r\n public prospectProfileButtonText_RequestProfile: string = \"Request Profile\";\r\n public prospectProfileButtonText_Requested: string = \"Requested\";\r\n\r\n public VehicleRecordNotFound: string = \"Record for vehicle not found\";\r\n public NoLandRegistryMatch: string = \"No Land Registry Match\";\r\n public PostcodeAndAddressLine1Required: string = \"Postcode and Address line 1 is required\";\r\n public ProprietorDetailsRequired: string = \"Proprietor details required.\";\r\n constructor() { }\r\n}\r\n","export class DriverLicenceCheckResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n}\r\n\r\n\r\nexport class entitlementResultModel {\r\n public categoryCode: string;\r\n public categoryVehicle:string;\r\n public categoryType:string;\r\n public fromDate:string;\r\n public expiryDate:string;\r\n public restrictions:restrictions[]\r\n} \r\n\r\n\r\nexport class restrictions {\r\n public restrictionCode:string;\r\n public restrictionLiteral: string;\r\n}","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Mobile:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Mobile number is required\r\n

\r\n

\r\n Please enter Australia numbers only\r\n Please enter UK numbers only\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { ConfirmationService } from 'primeng/api';\r\nimport { MessagingService } from '../../../services/messaging.service';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { Shared } from '../../../services/shared';\r\nimport { ProspectResultModel } from '../../models/CounterFraudResultModel';\r\nimport { Item } from '../../models/Items';\r\nimport { MobileResultModel } from '../../models/MobileResultModel';\r\nimport { AccessData, ProfileData, RequestData } from '../../models/SearchRequestModel';\r\nimport { SearchType } from '../../models/SearchType';\r\nimport { AddressResultModel } from '../../models/AddressResultModel';\r\nimport { TenantRegion } from '../../models/TenantRegionResposne';\r\nimport { isPossiblePhoneNumber, parsePhoneNumber, isValidPhoneNumber, validatePhoneNumberLength } from 'libphonenumber-js';\r\n\r\n@Component({\r\n selector: 'app-mobile',\r\n templateUrl: './mobile.component.html',\r\n styleUrls: ['./mobile.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class MobileComponent implements OnInit {\r\n public regionAccess: TenantRegion = new TenantRegion();\r\n public mobileForm: FormGroup;\r\n public UKvalidation: any = {\r\n 'reference': [Validators.required],\r\n 'mobile': [Validators.required, Validators.pattern('^[0-9]{11}$')]\r\n };\r\n public AUSvalidation: any = {\r\n 'reference': [Validators.required],\r\n 'mobile': [Validators.required, Validators.pattern('^[0-9]{10}$')]\r\n };\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n public clearSearchButtonVisibility: boolean = true;\r\n public loggedInUsername: string = \"\";\r\n\r\n public mobileResult: MobileResultModel = new MobileResultModel();\r\n public opensourceResult: MobileResultModel = new MobileResultModel();\r\n public prospectResultModel: ProspectResultModel = new ProspectResultModel();\r\n public addressResultModel: AddressResultModel = new AddressResultModel();\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private router: Router,\r\n private confirmationService: ConfirmationService,\r\n private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"MOBILE\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.mobileForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n mobile: [\"\"]\r\n });\r\n this.getTenantRegion();\r\n this.CheckProspectHitAndProfileAccess();\r\n this.getLicenceItems();\r\n this.getUserDetails();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public mobileSearch(): void {\r\n this.showResultTab = false;\r\n this.resetResultObjects();\r\n\r\n this.addValidators();\r\n this.mobileForm.updateValueAndValidity();\r\n\r\n if (this.mobileForm.valid) {\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n\r\n this.saveAsPDFButtonVisibility = true;\r\n this.clearSearchButtonVisibility = true;\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n\r\n // Mobile search\r\n this.mobileSearchScreen(requestObj);\r\n\r\n // // Opensource search\r\n this.openSourceMobileSearch(requestObj);\r\n\r\n if (this.prospectResultModel.isProspectHitAccess && !this.regionAccess.isAURegion) {\r\n // Prospect Hit Check\r\n this.prospectHitCheck(requestObj);\r\n }\r\n\r\n // Mobile Address\r\n if (!this.regionAccess.isAURegion)\r\n this.MobileAddressSearch(requestObj);\r\n\r\n }\r\n );\r\n }\r\n }\r\n\r\n public getTenantRegion() {\r\n this.searchService.GetTenantRegion().subscribe(data => {\r\n this.regionAccess = data;\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n // Generate file name dynamically\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.mobileForm.get('reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 2000);\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n public MobileAddressSearch(requestObj: RequestData) {\r\n this.addressResultModel.validation = false;\r\n this.addressResultModel.searchFail = false;\r\n this.addressResultModel.isLoading = false;\r\n this.addressResultModel.responseData = null;\r\n this.addressResultModel.noSearchSelect = false;\r\n\r\n this.addressResultModel.isLoading = true;\r\n this.searchService.MobileLexisNexisReverseSearch(requestObj).subscribe(data => {\r\n this.addressResultModel.isLoading = false;\r\n this.addressResultModel.responseData = data;\r\n }, error => {\r\n this.addressResultModel.isLoading = false;\r\n this.addressResultModel.searchFail = true;\r\n console.log(error);\r\n })\r\n }\r\n\r\n // Check about the access of Prospect hit & Access API\r\n public CheckProspectHitAndProfileAccess() {\r\n this.prospectResultModel.isProspectHitAccess = false;\r\n this.prospectResultModel.isProspectProfileAccess = false;\r\n this.searchService.CheckProsectHitAndProfileAccessClient().subscribe(data => {\r\n this.prospectResultModel.isProspectHitAccess = data['isProspectHitEnabled'];\r\n this.prospectResultModel.isProspectProfileAccess = data['isProspectProfileEnabled'];\r\n });\r\n }\r\n\r\n // Prospect profile request from prospect result component\r\n public prospectProfileRequest() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.prospectProfileCheck(requestObj);\r\n }\r\n\r\n // Prospect profile check API call\r\n public prospectProfileCheck(requestObj: RequestData): void {\r\n if (!this.prospectResultModel.prospectProfileButtonDisable) {\r\n this.confirmationService.confirm({\r\n key: \"ProspectProfileRequest\",\r\n message: 'In the event of any green tick(s) below, full Prospect detail can be requested and this will be provided to the requestor via email within 2 working days.',\r\n header: 'Confirmation',\r\n icon: 'pi pi-check',\r\n accept: () => {\r\n if (this.prospectResultModel.prospectHitResponseData) {\r\n this.prospectResultModel.isProspectProfileLoading = true;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.searchService.GetProspectProfileData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.prospectProfileResponseData = data;\r\n this.prospectResultModel.prospectProfileButtonText = this.messageService.prospectProfileButtonText_Requested;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n }, (error) => {\r\n console.log(error);\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n });\r\n }\r\n },\r\n reject: () => {\r\n }\r\n });\r\n }\r\n\r\n }\r\n\r\n\r\n // Prospect hit check API call\r\n public prospectHitCheck(requestObj: RequestData): void {\r\n this.prospectResultModel.noSearchSelect = false;\r\n if (requestObj.accessData.isCounterFraudAccess) {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.validation = false;\r\n this.prospectResultModel.searchFail = false;\r\n this.prospectResultModel.prospectHitResponseData = null;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.prospectResultModel.prospectProfileButtonDisable = false;\r\n this.prospectResultModel.prospectProfileButtonText = this.messageService.prospectProfileButtonText_RequestProfile;\r\n\r\n if ((requestObj.profileData.fullName && requestObj.profileData.dateOfBirth) ||\r\n (requestObj.profileData.postalCode && requestObj.profileData.addressLine1) ||\r\n requestObj.profileData.phoneNumber || requestObj.profileData.email || requestObj.profileData.vRN) {\r\n this.prospectResultModel.profileData = requestObj.profileData;\r\n this.prospectResultModel.isProspectHitLoading = true;\r\n this.searchService.GetProspectHitData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.prospectHitResponseData = data;\r\n // this.prospectResultModel.prospectProfileButtonDisable = this.prospectResultModel.prospectHitResponseData.hits.filter(x => (x.previousHit == true && x.i2Hit == true) || x.previousHit == true).length > 0 ? false : true;\r\n this.prospectResultModel.prospectProfileButtonDisable = \r\n !this.prospectResultModel.prospectHitResponseData.hits.some(\r\n x => x.previousHit || (x.previousHit && x.i2Hit) || x.i2Hit\r\n );\r\n }, (error) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.searchFail = true;\r\n console.log(error);\r\n });\r\n } else {\r\n this.prospectResultModel.validation = true;\r\n }\r\n } else {\r\n this.prospectResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n\r\n public openSourceMobileSearch(requestObj: RequestData): void {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.noSearchSelect = false;\r\n this.opensourceResult.responseData = null;\r\n this.opensourceResult.searchFail = false;\r\n this.opensourceResult.validationError = false;\r\n\r\n if (this.accessData.isMobileAccess) {\r\n if (this.mobileForm.get('mobile').value) {\r\n this.opensourceResult.isLoading = true;\r\n this.searchService.OpenSourceMobileSearch(requestObj).subscribe(data => {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.responseData = data;\r\n }, error => {\r\n console.log(error);\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.searchFail = true;\r\n });\r\n } else {\r\n this.opensourceResult.validationError = true;\r\n }\r\n } else {\r\n this.opensourceResult.noSearchSelect = true;\r\n }\r\n }\r\n\r\n public mobileSearchScreen(requestObj: RequestData): void {\r\n this.mobileResult.isLoading = false;\r\n this.mobileResult.noSearchSelect = false;\r\n this.mobileResult.responseData = null;\r\n this.mobileResult.searchFail = false;\r\n this.mobileResult.validationError = false;\r\n\r\n if (this.accessData.isMobileAccess) {\r\n if (this.mobileForm.get('mobile').value) {\r\n this.mobileResult.isLoading = true;\r\n this.searchService.MobileSearchScreen(requestObj).subscribe(data => {\r\n this.mobileResult.isLoading = false;\r\n this.mobileResult.responseData = data;\r\n }, error => {\r\n console.log(error);\r\n this.mobileResult.isLoading = false;\r\n this.mobileResult.searchFail = true;\r\n });\r\n } else {\r\n this.mobileResult.validationError = true;\r\n }\r\n } else {\r\n this.mobileResult.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.mobileForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n // Reset the result objects\r\n public resetResultObjects() {\r\n this.addressResultModel = new AddressResultModel();\r\n this.mobileResult = new MobileResultModel();\r\n this.opensourceResult = new MobileResultModel();\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.mobileForm.controls) {\r\n this.mobileForm.get(control).clearValidators();\r\n var validationControl = this.regionAccess.isAURegion ? this.AUSvalidation[control] : this.UKvalidation[control];\r\n this.mobileForm.get(control).setValidators(validationControl);\r\n this.mobileForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public mobileClearSearch(): void {\r\n for (const control in this.mobileForm.controls) {\r\n this.mobileForm.get(control).clearValidators();\r\n this.mobileForm.get(control).updateValueAndValidity();\r\n }\r\n this.mobileForm.patchValue({\r\n audit: \"\",\r\n reference: \"\",\r\n mobile: \"\"\r\n });\r\n this.showResultTab = false;\r\n this.resetResultObjects();\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.mobileForm.get('audit').value;\r\n profileData.referenceNumber = this.mobileForm.get('reference').value;\r\n\r\n if (this.mobileForm.get('mobile').value) {\r\n profileData.phoneNumber = this.mobileForm.get('mobile').value;\r\n const phoneNumber = !this.regionAccess.isAURegion ? parsePhoneNumber(profileData.phoneNumber, 'GB') : parsePhoneNumber(profileData.phoneNumber, 'AU');\r\n if (phoneNumber.isValid() === true && isPossiblePhoneNumber(profileData.phoneNumber, 'GB') === true\r\n && isValidPhoneNumber(profileData.phoneNumber, 'GB') && validatePhoneNumberLength(profileData.phoneNumber, 'GB') === undefined) {\r\n profileData.phoneNumber = phoneNumber.formatInternational();\r\n } else if(phoneNumber.isValid() === true && isPossiblePhoneNumber(profileData.phoneNumber, 'AU') === true\r\n && isValidPhoneNumber(profileData.phoneNumber, 'AU') && validatePhoneNumberLength(profileData.phoneNumber, 'AU') === undefined){\r\n profileData.phoneNumber = phoneNumber.formatInternational();\r\n }\r\n }\r\n //profileData.phoneNumber = this.mobileForm.get('mobile').value;\r\n\r\n profileData.searchType = SearchType.Mobile.toString();\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchUsername = this.loggedInUsername;\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = this.accessData;\r\n return requestObj;\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n public onMobileChange() {\r\n this.mobileForm.get('mobile').clearValidators();\r\n var mobileValidation = this.regionAccess.isAURegion ? this.AUSvalidation['mobile'] : this.UKvalidation['mobile'];\r\n this.mobileForm.get('mobile').setValidators(mobileValidation);\r\n this.mobileForm.get('mobile').updateValueAndValidity();\r\n }\r\n\r\n}\r\n","import { Items } from \"../../../../home/models/Items\";\r\n\r\nexport class MobileResultModel {\r\n public isLoading: any;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public searchFail: boolean;\r\n public validationError: boolean;\r\n constructor() { }\r\n}\r\n\r\nexport class OpenSourceResultModel {\r\n public isLoading: any;\r\n public noSearchSelect: boolean;\r\n public responseData: Items[];\r\n public tempResponseData: Items[];\r\n public openSourceResultCount: number = 0;\r\n public searchFail: boolean;\r\n public validationError: boolean;\r\n constructor() { }\r\n}\r\n","import { Component, OnInit, ElementRef } from '@angular/core';\r\nimport { LoginService } from '../../service/login.service';\r\nimport { ResendLink } from '../../models/resendlink';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-resend-verificationlink',\r\n templateUrl: './resend-verificationlink.component.html',\r\n styleUrls: ['./resend-verificationlink.component.css']\r\n})\r\nexport class ResendVerificationlinkComponent implements OnInit {\r\n\r\n public resendlink = new ResendLink(\"\");\r\n public validationerror: string;\r\n public loading: boolean;\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private router: Router,\r\n private elementRef: ElementRef) { }\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n public ResendLink() {\r\n this.loading = true;\r\n this.loginService.ResendConfirmationLink(this.resendlink)\r\n .subscribe(\r\n data => {\r\n this.loading = false;\r\n this.router.navigate([\"/Thankyou\"], { queryParams: { status: 'verificationlinkResent' } });\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 400) {\r\n if (JSON.parse(error._body)[\"Email\"][0] == \"Invalid Email\") {\r\n this.loading = false;\r\n this.validationerror = \"Email must be a valid email address\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n }\r\n else if (error.status == 401) {\r\n this.loading = false;\r\n this.validationerror = JSON.parse(error._body).message;\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 8000);\r\n }\r\n else if (error.status == 404) {\r\n this.loading = false;\r\n this.validationerror = \"Entered email acccount does not exist in HeadsUp.\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n else if (error.status == 403) {\r\n this.loading = false;\r\n this.validationerror = \"Your email is not verified. We have sent you a verification email. Please click on the link there to verify your email address.\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 12000);\r\n }\r\n else if (error.status == 500) {\r\n this.loading = false;\r\n this.validationerror = \"Internal Server Error\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Email verification link

\r\n
\r\n
\r\n
\r\n

Enter your email address below to resend email verification link.

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Email is required
\r\n
Email must be a valid email address
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n {{validationerror}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { SocialMediaStatus } from \"../../../../home/models/SocialMediaStatus\";\r\nimport { Items } from \"./Items\";\r\n\r\nexport class SocialMediaResultModel {\r\n public socialMediaCategory: string[] = [\"facebook\", \"instagram\", \"linkedin\", \"twitter\", \"youtube\", \"tiktok\"];\r\n public socialMediaStatus: SocialMediaStatus[] = [];\r\n public collapseSocialMediaClass: string;\r\n public collapseSocialMediaStatus: string;\r\n public collapseSocialMediaIcon: string;\r\n public socialMediaResults: Items[] = [];\r\n public finalSocialMediaResults: Items[] = [];\r\n public compareSocialMediaCategory: string[] = [];\r\n public filtersocialMediaStatus: SocialMediaStatus;\r\n public socialMediaSuccessCount: number = 0;\r\n public SocialMediaResultCount: number;\r\n public noSearchSelect: boolean;\r\n public isLoading: boolean;\r\n}\r\n\r\nexport class BusinessSocialMediaResultModel {\r\n public validation: boolean = false;\r\n public socialMediaCategory: string[] = [\"facebook\", \"instagram\", \"linkedin\", \"twitter\", \"youtube\", \"tiktok\"];\r\n public socialMediaStatus: SocialMediaStatus[] = [];\r\n public collapseSocialMediaClass: string;\r\n public collapseSocialMediaStatus: string;\r\n public collapseSocialMediaIcon: string;\r\n public socialMediaResults: Items[] = [];\r\n public finalSocialMediaResults: Items[] = [];\r\n public compareSocialMediaCategory: string[] = [];\r\n public filtersocialMediaStatus: SocialMediaStatus;\r\n public socialMediaSuccessCount: number = 0;\r\n public SocialMediaResultCount: number;\r\n public noSearchSelect: boolean;\r\n public isLoading: boolean;\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { AVAResultModel } from '../../../../../models/AVAResultModel';\r\n\r\n@Component({\r\n selector: 'app-ava-result-motor',\r\n templateUrl: './ava-result-motor.component.html',\r\n styleUrls: ['./ava-result-motor.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class AvaResultMotorComponent implements OnInit {\r\n\r\n @Input() ava: AVAResultModel = new AVAResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{messageService.SearchFail}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

Vehicle Details

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
VRN :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.VRM }}\r\n Engine Number :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.EngineNumber }}\r\n
VIN :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.VINSerialNumber }}\r\n Engine Capcity :\r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.EngineCapacity}}\r\n
Make :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.MakeModel }}\r\n Fuel Type :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Fuel }}\r\n
Model :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Model }}\r\n Year of Manufacture :\r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.YearOfManufacture}}\r\n
Colour :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Colour }}\r\n First Registered in UK :\r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateFirstRegistered | date: 'dd-MM-yyyy'}}\r\n
Body Type :\r\n
{{ ava?.responseData?.advert?.VehicleBodyType }}
\r\n
Previous Keepers :\r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.KeeperChangesDetails?.KeeperChangesCount}}\r\n
Transmission :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Transmission }}\r\n Co2 Emission :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.CO2Emissions }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

Messages

\r\n
0;else noFoundMessage\" class=\"\">\r\n
\r\n
\r\n

{{message?.MsgLine1}}

\r\n

{{message?.MsgLine2}}

\r\n

{{message?.MsgLine3}}

\r\n

{{message?.MsgLine4}}

\r\n
\r\n
\r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n

Caution Data

\r\n
\r\n
\r\n
\r\n Additional DVLA Data\r\n
\r\n Notified as previously registered at DVLA as \r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.GBVRM}}\r\n
\r\n You must check the previous VRM.\r\n
\r\n
\r\n
\r\n Additional DVLA Data\r\n
\r\n Notified as previously registered at DVLNI as \r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.NIVRM}}\r\n
\r\n You must check the previous VRM.\r\n
\r\n
\r\n
\r\n \r\n
\r\n
Stolen
\r\n
\r\n
\r\n

Date:

\r\n
\r\n
\r\n

Status:

\r\n
\r\n
\r\n

Police Force:

\r\n
\r\n
\r\n

Contact No.:

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.DateOfTransaction }}

\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.Status }}

\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.Force }}

\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.ContactNumber }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
High Risk
\r\n
\r\n
\r\n

High Risk Type: {{ highRisk.HighRiskType }}

\r\n
\r\n
\r\n

Reference No.: ---

\r\n
\r\n
\r\n

Company Name: {{ highRisk.CompanyName }}

\r\n
\r\n
\r\n

Date of Interest: {{ highRisk.DateOfInterest}}

\r\n
\r\n
\r\n

Contact No.: {{ highRisk.ContactNumber }}

\r\n
\r\n
\r\n

Period: {{ highRisk.RegistrationPeriod }}

\r\n
\r\n
\r\n

Contact Reference: {{ highRisk.ContactReference }}

\r\n
\r\n
\r\n

Extra Information: {{ highRisk.ExtraInfo }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Finance
\r\n
\r\n
\r\n
Date of Interest: {{Finance?.AgreementDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Agreement Type: {{Finance?.AgreementType}}
\r\n
\r\n
\r\n
Finance Company: {{Finance?.FinanceCompany}}
\r\n
\r\n
\r\n
Agreement Term: {{Finance?.AgreementTerm + ' months'}}
\r\n
\r\n
\r\n
Contact No.: {{Finance?.ContactNumber}}
\r\n
\r\n
\r\n
Vehicle Description: {{Finance?.VehicleDescription}}
\r\n
\r\n
\r\n
Agreement No.: {{Finance?.AgreementNumber}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
ABI Condition
\r\n
\r\n
\r\n
Loss Type: {{ConditionDetails?.Status}}
\r\n
\r\n
\r\n
Loss Date: {{ConditionDetails?.LossDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
MIAFTR Entry Date: {{ConditionDetails?.MIAFTRENTRYDATE | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Make and Model: {{ConditionDetails?.Make + ' ' + ConditionDetails?.Model}}
\r\n
\r\n
\r\n
Theft indicator: {{ConditionDetails?.TheftIndicatorLiteral}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Scrapped
\r\n
\r\n Recorded as scrapped on {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateScrapped | date:'dd-MM-yyyy'}}\r\n
\r\n
\r\n DVLA have recorded a Certificate of Destruction was issued on this vehicle on {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateScrapped | date:'dd-MM-yyyy'}}\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Plate Change
\r\n
\r\n
\r\n
Previous VRM
\r\n
\r\n
\r\n
Date of Transfer
\r\n
\r\n
\r\n
\r\n
\r\n
{{PlateChanges?.PreviousVRM}}
\r\n
\r\n
\r\n
{{PlateChanges?.DateOfReceipt | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
0\">\r\n
\r\n \r\n Current VRM \r\n \r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.PlateChangeDetails?.PlateChanges1[0].CurrentVRM}}\r\n \r\n  please check the plate for further details.\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
Exported
\r\n
\r\n
\r\n
Date
\r\n
\r\n
\r\n
Status
\r\n
\r\n
\r\n
\r\n
\r\n
{{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateExported | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Exported
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n

Potential Import

\r\n
\r\n Previously registered and/or used, declared manufactured in {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.YearOfManufacture}}\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
Colour Change
\r\n
\r\n
\r\n
Colours
\r\n
\r\n
\r\n
Previous colour
\r\n
\r\n
\r\n
Date changed
\r\n
\r\n
\r\n
\r\n
\r\n
{{ColourChange?.NumberOfPreviousColours}}
\r\n
\r\n
\r\n
{{ColourChange?.LastColour}}
\r\n
\r\n
\r\n
{{ColourChange?.DateOfLastColourChange | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
Vehicle Identity Check
\r\n
\r\n
\r\n
Result
\r\n
\r\n
\r\n
VIC Date
\r\n
\r\n
\r\n
\r\n
\r\n
{{(VehicleIDCheck?.VICResult === 1)?'PASS':'FAIL'}}
\r\n
\r\n
\r\n
{{VehicleIDCheck?.VICDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n

Keeper Changes

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
KeeperLast ChangedTransaction
\r\n {{ keeper?.NumberOfPreviousKeepers }}\r\n \r\n {{ keeper?.DateOfLastKeeperChange | date:'dd-MM-yyyy'}}\r\n \r\n {{ keeper?.DateOfTransaction | date:'dd-MM-yyyy'}}\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

Status

\r\n
\r\n
\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleStatus }}

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NOT STOLEN

\r\n

STOLEN

\r\n
\r\n
\r\n
\r\n
\r\n

NO HIGH RISK

\r\n

HIGH RISK

\r\n
\r\n
\r\n
\r\n
\r\n

NO FINANCE

\r\n

FINANCE

\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NO ABI CONDITION

\r\n

ABI CONDITION

\r\n
\r\n
\r\n
\r\n
\r\n

NOT SCRAPPED

\r\n

SCRAPPED

\r\n
\r\n
\r\n
\r\n
\r\n

ORIGINAL PLATE

\r\n

PLATE CHANGE

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NO EXPORT DATA

\r\n

EXPORTED

\r\n
\r\n
\r\n
\r\n
\r\n

NO IMPORT DATA

\r\n

POTENTIAL IMPORT

\r\n
\r\n
\r\n
\r\n
\r\n

NO EXTRA DATA

\r\n

EXTRA DATA

\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n

\r\n Previous Searches\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Type Of BusinessDate Of TransactionTime Of Transaction
\r\n {{ search?.TypeOfBusiness }}\r\n \r\n {{ search?.DateOfTransaction| date:'dd-MM-yyyy' }}\r\n \r\n {{ search?.TimeOfTransaction }}\r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n

Mot History

\r\n
\r\n
\r\n
\r\n

Test Date

\r\n
\r\n
\r\n

Expiry Date

\r\n
\r\n
\r\n

Test Result

\r\n
\r\n
\r\n

\r\n Odometer Reading\r\n

\r\n
\r\n
\r\n

\r\n Mot Test Number\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ mot?.TestDate }}

\r\n
\r\n
\r\n

{{ mot?.ExpiryDate }}

\r\n
\r\n
\r\n

{{ mot?.TestResult }}

\r\n
\r\n
\r\n

{{ mot?.OdometerReading }}

\r\n
\r\n
\r\n

{{ mot?.TestNumber }}

\r\n
\r\n\r\n
\r\n
Advisory Notice Items
\r\n
    \r\n
  • \r\n {{ notice }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n

Advert

\r\n
\r\n
\r\n
\r\n

\r\n Title: {{ advert?.AdvertTitle }}\r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \"Los\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n

Source: {{ advert?.AdvertSource }}

\r\n
\r\n
\r\n

Mileage: {{ advert?.vehicleMileage }}

\r\n
\r\n
\r\n

Posted on: {{ advert?.VehiclePostedOn | date:'dd-MM-yyyy'}}

\r\n
\r\n
\r\n

Price: {{ advert?.VehiclePrice }}

\r\n
\r\n
\r\n

Seller: {{ advert?.Seller}}

\r\n
\r\n
\r\n

Seller Email:{{ advert?.DetailedData?.SellerDetail?.SellerEmail}}

\r\n
\r\n
\r\n

Seller Mobile: {{ advert?.DetailedData?.SellerDetail?.SellerMobile}}

\r\n
\r\n
\r\n

Seller Location: {{ advert?.DetailedData?.SellerDetail?.SellerLocation }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Description\r\n
\r\n
\r\n

\r\n {{ advert?.VehicleDescription }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AssociatedResultModel } from '../../../../../../search-pages/models/AssociatedResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-association-result-personal',\r\n templateUrl: './association-result.component.html',\r\n styleUrls: ['./association-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class AssociationResultPersonalComponent implements OnInit {\r\n\r\n @Input() associated: AssociatedResultModel = new AssociatedResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
{{messageService.NoSearchSelect}}
\r\n
{{messageService.AssiciateDataNotProvideMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n

0\">\r\n Search returned {{associated?.responseData?.length}} results\r\n

\r\n
\r\n
\r\n
\r\n
0\">\r\n
\r\n
\r\n
\r\n
\r\n
{{result.title}}
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n

Source: {{result.source}}

\r\n
\r\n
\r\n

Published Date: {{result.pubDate}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, CanActivate } from '@angular/router';\r\n\r\n@Injectable()\r\nexport class AuthGuard implements CanActivate {\r\n\r\n constructor(private router: Router) { }\r\n\r\n canActivate() {\r\n if (localStorage.getItem(\"access_token\")) {\r\n // logged in so return true \r\n\r\n return true;\r\n }\r\n \r\n // not logged in so redirect to login page\r\n this.router.navigate([\"/Login\"]);\r\n return false;\r\n \r\n }\r\n}\r\n","export class VehicleIdResultModel {\r\n public isLoading: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { LandRegistryResultModel } from '../../../../../models/LandRegistryResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-landregistry-result-business',\r\n templateUrl: './landregistry-result-business.component.html',\r\n styleUrls: ['./landregistry-result-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class LandregistryResultBusinessComponent implements OnInit {\r\n\r\n @Input() landRegistry: LandRegistryResultModel = new LandRegistryResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{messageService.SearchFail}}\r\n
\r\n
\r\n {{messageService.NoRelevantDataMessage}}\r\n
\r\n
\r\n {{messageService.CompanyNumberRequiredMessage}}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Title Number: {{land.registeredTitle}}

\r\n

Address: {{land.address}}

\r\n

Tenure: {{land.tenure}}

\r\n

Change Date: {{land.changeDate | date:'dd-MM-yyyy'}}

\r\n

Proprietorship: {{land.proprietorship}}

\r\n

Property Type: {{land.propertyType}}

\r\n

New Build: {{land.newlyBuild}}

\r\n

Correspondence Address: {{land.correspondenceAddress}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from 'src/app/demo/V3/search-pages/models/SearchRequestModel';\r\nimport { SearchService } from 'src/app/demo/V3/services/search.service';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-aus-motor',\r\n templateUrl: './pdf-search-form-aus-motor.component.html',\r\n styleUrls: ['./pdf-search-form-aus-motor.component.css','../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormAusMotorComponent implements OnInit {\r\n @Input() public requestData: RequestData = new RequestData();\r\n public dropdownStates: any[] = [{ label: 'Select State', value: '', id: 0 }];\r\n\r\n constructor(private searchService: SearchService) { }\r\n\r\n ngOnInit(): void {\r\n this.getStatesForDropdown();\r\n }\r\n\r\n // Get states dropdown values\r\n public getStatesForDropdown() {\r\n this.searchService.GetStatesForDropdown().subscribe(data => {\r\n if (data && data.length > 0) {\r\n data.forEach(x => {\r\n this.dropdownStates.push({ id: x.id, label: x.name, value: x.code });\r\n })\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Plate:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n State:\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-ltd-ratinghistory-business',\r\n templateUrl: './ltd-ratinghistory-business.component.html',\r\n styleUrls: ['./ltd-ratinghistory-business.component.css']\r\n})\r\nexport class LtdRatinghistoryBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DateRating Description
{{commentary?.date | date:'dd-MM-yyyy'}}{{commentary?.ratingDescription}}
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MotorWebResultModel } from 'src/app/demo/V3/search-pages/models/MotorWebResultModel';\r\nimport { RequestData } from 'src/app/demo/V3/search-pages/models/SearchRequestModel';\r\nimport { VehicleIdResultModel } from 'src/app/demo/V3/search-pages/models/VehicleIdResultModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-aus-motor',\r\n templateUrl: './export-pdf-aus-motor.component.html',\r\n styleUrls: ['./export-pdf-aus-motor.component.css']\r\n})\r\nexport class ExportPdfAusMotorComponent implements OnInit {\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() public motorWebResultModel: MotorWebResultModel = new MotorWebResultModel();\r\n @Input() public vehicleIdResultModel: VehicleIdResultModel = new VehicleIdResultModel();\r\n \r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n \r\n }\r\n \r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername :\r\n '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Risk Summary

\r\n \r\n
\r\n

Vehicle Description

\r\n \r\n
\r\n

MOVR & Stolen

\r\n \r\n
","import { Keywords } from \"./Keywords\";\r\n\r\nexport class Items {\r\n constructor(\r\n public title: string,\r\n public link: string,\r\n public pubDate: Date,\r\n public description: string,\r\n public source: string,\r\n public rank: number,\r\n public lexiconcategory: string[],\r\n public searchDomain: string,\r\n public lexiconKeywords: Keywords[],\r\n public negativePoints: number,\r\n public negativeKeywords: string[],\r\n public matchedLocation: string,\r\n public like: boolean,\r\n public dislike: boolean,\r\n ) { }\r\n}\r\n\r\nexport class SearchDomain {\r\n constructor(\r\n public Id: string,\r\n public Name: string,\r\n public SearchUrl: string,\r\n public PageUrl: string,\r\n public CountryBasedUrl: string,\r\n public UniqueCode: string,\r\n public IsActive: boolean,\r\n public RankValue: number\r\n ) { }\r\n}\r\n\r\nexport class Token {\r\n constructor(\r\n public token: string,\r\n ) { }\r\n}\r\n\r\nexport class Item {\r\n public key: string;\r\n public itemId: number;\r\n public itemName: string;\r\n public licenceType: string;\r\n public defaultValue: boolean;\r\n public toggle: boolean;\r\n public imageUrl: string;\r\n public ParentId: number;\r\n}\r\n","export class FinancialResponseModel {\r\n public searchFail: boolean;\r\n public noRelevantData: boolean;\r\n public validationMessage: boolean;\r\n public responseData: any;\r\n\r\n constructor() { }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { ProspectResultModel } from '../../../../models/CounterFraudResultModel';\r\nimport { MobileResultModel } from '../../../../models/MobileResultModel';\r\nimport { RequestData } from '../../../../models/SearchRequestModel';\r\nimport { AddressResultModel } from '../../../../models/AddressResultModel';\r\nimport { TenantRegion } from '../../../../models/TenantRegionResposne';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-mobile',\r\n templateUrl: './export-pdf-mobile.component.html',\r\n styleUrls: ['./export-pdf-mobile.component.css', '../../../shared/shared.searchpage.css']\r\n})\r\nexport class ExportPdfMobileComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() public mobile: MobileResultModel = new MobileResultModel();\r\n @Input() public opensource: MobileResultModel = new MobileResultModel();\r\n @Input() public prospect: ProspectResultModel = new ProspectResultModel();\r\n @Input() public address: AddressResultModel = new AddressResultModel();\r\n @Input() public regionAccess: TenantRegion = new TenantRegion();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername : '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n

Mobile

\r\n \r\n\r\n \r\n

Opensource

\r\n \r\n\r\n \r\n
\r\n

Prospect

\r\n \r\n
\r\n\r\n \r\n
\r\n

Contact

\r\n \r\n
\r\n\r\n
\r\n","export class ScreenSearchData {\r\n public Id: String;\r\n public JobID: String;\r\n public SubmitedBy: String;\r\n public StartedAt: String;\r\n public EndedAt: String;\r\n public JobStatus: String;\r\n public Filename: String;\r\n public RecordCount: Number;\r\n public SuccessCount: Number;\r\n public BlobstorageURL: String;\r\n public CreatedDate: String;\r\n}\r\n\r\nexport enum ScreenType {\r\n personal = \"personal\",\r\n commercial = \"commercial\",\r\n mobile = \"mobile\"\r\n}\r\n","export class DVLAResultModel {\r\n public isLoading: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n}\r\n\r\nexport class MotHistoryResultModel {\r\n public isLoading: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n}\r\n","import { Component, OnInit, Directive, ElementRef } from '@angular/core';\r\nimport { Contact } from '../../models/contact';\r\nimport { LoginService } from '../../service/login.service';\r\nimport { Router } from '@angular/router';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n\r\n\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-contact-form',\r\n templateUrl: './contact-form.component.html',\r\n styleUrls: ['./contact-form.component.css']\r\n})\r\n\r\nexport class ContactFormComponent implements OnInit {\r\n public contact: Contact = new Contact(\"\", \"\", \"\", \"\");\r\n public validationerror: string;\r\n public loading: boolean;\r\n public loggedIn: boolean;\r\n public nameError: string;\r\n public telephoneNumberPattern = \"^([0-9\\(\\)\\/\\+ \\-]*)$\";\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private router: Router,\r\n private formBuilder: FormBuilder,\r\n private elementRef: ElementRef) { }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit() {\r\n const fragment = document.createRange().createContextualFragment('');\r\n this.elementRef.nativeElement.appendChild(fragment);\r\n\r\n this.loggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (this.loggedIn) {\r\n this.router.navigate([\"/search\"]);\r\n }\r\n else {\r\n this.router.navigate([\"/ContactUs\"]);\r\n }\r\n }\r\n\r\n public ContactSubmit() {\r\n this.contact.recaptcha = $(\".g-recaptcha-response\").val();\r\n\r\n if (this.contact.recaptcha === \"\") {\r\n this.validationerror = \"Please complete the Captcha\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n else {\r\n this.loading = true;\r\n this.loginService.ContactDetails(this.contact)\r\n .subscribe(\r\n data => {\r\n this.router.navigate([\"/Thankyou\"], { queryParams: { status: 'contactdetails' } });\r\n this.loading = false;\r\n },\r\n error => {\r\n if (error.status == 400) {\r\n this.loading = false;\r\n this.validationerror = JSON.parse(error._body)[\"ErrorMessage\"][0];\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n else {\r\n this.loading = false;\r\n this.validationerror = \"Something went wrong\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n console.log(error);\r\n }\r\n\r\n });\r\n }\r\n }\r\n\r\n\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Welcome To HeadsUp

\r\n
\r\n

Our revolutionary new product for insurer SIU’s. With HeadsUp, a researcher can reduce their search time by 80% along with getting more detailed focused results.

\r\n
\r\n
\r\n
\r\n

Contact Us

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Name is required
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Phone number is required
\r\n
Enter valid phone number
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Email is required
\r\n
Email must be a valid email address
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n {{validationerror}}\r\n

\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RouterModule } from '@angular/router';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { AuthGuard } from '../shared/guards/auth.guard';\r\nimport { ForgetPasswordComponent } from './components/forget-password/forget-password.component';\r\nimport { ResetPasswordComponent } from './components/resetpassword/resetpassword.component';\r\nimport { TermsAndConditionsComponent } from './components/terms-and-conditions/terms-and-conditions.component';\r\nimport { CookiePolicyComponent } from './components/cookie-policy/cookie-policy.component';\r\nimport { CardModule } from 'primeng/card';\r\nimport { OTPPageComponent } from './components/otppage/otppage.component'\r\nimport { NgOtpInputModule } from 'ng-otp-input';\r\n//https://alligator.io/angular/providers-shared-modules/\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n CardModule,\r\n NgOtpInputModule,\r\n RouterModule.forChild([\r\n ])\r\n ],\r\n providers: [\r\n AuthGuard\r\n ],\r\n declarations: [LoginComponent, ForgetPasswordComponent, ResetPasswordComponent, TermsAndConditionsComponent, CookiePolicyComponent, OTPPageComponent]\r\n})\r\nexport class SharedModule {\r\n}\r\n","import { Items } from \"./Items\";\r\n\r\nexport class SportsResultModel {\r\n public sportsCategory: string[] = [\"Running\", \"Water\", \"Ball\", \"Racket\", \"Hockey\", \"Rugby\", \"Boxing\", \"MMA\"];\r\n public sportsStatus: SportsStatus[] = [];\r\n public filterSportsStaus: SportsStatus;\r\n public collapseSportsClass: string;\r\n public collapseSportsStatus: string;\r\n public collapseSportsIcon: string;\r\n public sportsComplete: boolean;\r\n public sportsResults: Items[] = [];\r\n public finalSportsResults: Items[] = [];\r\n public compareSportsCategory: string[] = [];\r\n public sportsSuccessCount: number = 0;\r\n public sportsResultCount: number;\r\n public displaySportsCount: boolean;\r\n public noSearchSelect: boolean;\r\n public isLoading: boolean;\r\n}\r\n\r\nexport class SportsStatus {\r\n constructor(\r\n public name: string,\r\n public displayname: string,\r\n public status: string,\r\n public searchloading: boolean,\r\n public statusCount: number\r\n ) { }\r\n}\r\n","import { Component, OnInit, ElementRef } from '@angular/core';\r\nimport { LoginService } from '../../service/login.service';\r\nimport { Forgetpassword } from '../../models/forgetpassword';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-forget-password',\r\n templateUrl: './forget-password.component.html',\r\n styleUrls: ['./forget-password.component.css']\r\n})\r\nexport class ForgetPasswordComponent implements OnInit {\r\n public forgetpassword: Forgetpassword = new Forgetpassword(\"\");\r\n public validationerror: string;\r\n public loading: boolean;\r\n public resendtext: boolean;\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private router: Router,\r\n private elementRef: ElementRef) { }\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n public ForgetPassword() {\r\n this.loading = true;\r\n this.loginService.forgetpassword(this.forgetpassword)\r\n .subscribe(\r\n data => {\r\n this.loading = false;\r\n this.router.navigate([\"/Thankyou\"], { queryParams: { status: 'forgotPassword' } });\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 400) {\r\n if (JSON.parse(error._body)[\"Email\"][0] == \"Invalid Email\") {\r\n this.loading = false;\r\n this.validationerror = \"Email must be a valid email address\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n }\r\n else if (error.status == 401) {\r\n this.loading = false;\r\n this.validationerror = \"\";\r\n this.router.navigate([\"/Thankyou\"], { queryParams: { status: 'forgotPassword' } });\r\n }\r\n else if (error.status == 403) {\r\n this.resendtext = true;\r\n this.loading = false;\r\n this.validationerror = \"Your email is not verified. We have sent you a verification email. Please click on the link there to verify your email address.\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 12000);\r\n }\r\n else if (error.status == 404) {\r\n this.loading = false;\r\n this.validationerror = \"\";\r\n this.router.navigate([\"/Thankyou\"], { queryParams: { status: 'forgotPassword' } });\r\n }\r\n else {\r\n this.loading = false;\r\n this.validationerror = \"Internal Server Error\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n });\r\n }\r\n\r\n public ResendLink() {\r\n this.router.navigate([\"/ResendLink\"]);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Forgot Password

\r\n
\r\n
\r\n
\r\n

Enter your email address below to reset your password.

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Email is required.
\r\n
Email is not valid.
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n {{validationerror}}
or Click here to resend email verification link
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","export class ProspectResponseModel {\r\n public prospectProfileResultData: any;\r\n public prospectHitResultData: any;\r\n public isProspectHitAccess: boolean;\r\n public errorMessage: string;\r\n public searchFail: boolean;\r\n\r\n constructor() { }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { CounterFraudResultModel } from '../../../../../models/CounterFraudResultModel';\r\nimport { FinancialResultModel } from '../../../../../models/FinancialResultModel';\r\nimport { MobileResultModel } from '../../../../../models/MobileResultModel';\r\n\r\n@Component({\r\n selector: 'app-counterfraud-new-result-personal',\r\n templateUrl: './counterfraud-new-result-personal.component.html',\r\n styleUrls: ['./counterfraud-new-result-personal.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class CounterfraudNewResultPersonalComponent implements OnInit {\r\n\r\n @Input() counterFraud: CounterFraudResultModel = new CounterFraudResultModel();\r\n @Input() financial: FinancialResultModel = new FinancialResultModel();\r\n @Input() mobile: MobileResultModel = new MobileResultModel();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Counter Fraud\r\n
\r\n
\r\n
\r\n Existence\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n
\r\n 0)\">\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Mortality\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
{{messageService.NoSearchSelectShort}}
\r\n
\r\n {{messageService.NoRecordsOfSubject}}
\r\n
\r\n {{messageService.SearchFail}}
\r\n
{{messageService.PostCodeRequiredMessage}}
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n","export class FinancialResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n public validation: boolean;\r\n public isEmailProvided: boolean;\r\n public isMobileNumberProvided: boolean;\r\n}\r\n\r\nexport class CCJResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public searchFail: boolean;\r\n public validation: boolean;\r\n public responseData: any;\r\n}\r\n\r\nexport class InsolvencyResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public searchFail: boolean;\r\n public validation: boolean;\r\n public responseData: any;\r\n}\r\n","import { HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\n\r\n\r\n@Injectable()\r\nexport class NoCacheHeadersInterceptor implements HttpInterceptor {\r\n intercept(req: HttpRequest, next: HttpHandler) {\r\n const authReq = req.clone({\r\n setHeaders: {\r\n 'Cache-Control': 'no-cache',\r\n Pragma: 'no-cache'\r\n }\r\n });\r\n return next.handle(authReq);\r\n }\r\n}\r\n","export class Forgetpassword {\r\n constructor(\r\n public email: string\r\n ) { }\r\n}\r\n","export class EmailCheckResponse {\r\n public noError: boolean;\r\n public noRelevantData: boolean;\r\n public validationMessage: string;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n\r\n constructor() { }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Candidate Name:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Name is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Candidate Email:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Email is not valid.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n Department:\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n

\r\n Department is required.\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n Include a DVLA report when Driving Licence uploaded\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Result:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Mail sent successfully

\r\n

Mail sent failed

\r\n
\r\n
\r\n

Mail sent failed

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessagingService } from '../../../services/messaging.service';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { RightToWorkCheckResultModel } from '../../models/EmailResultModel';\r\nimport { Item } from '../../models/Items';\r\nimport { RTWDepartmentDropdownModel } from '../../models/RTWModel';\r\nimport { AccessData, ProfileData, RequestData } from '../../models/SearchRequestModel';\r\nimport { SearchType } from '../../models/SearchType';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { SubscriptionService } from 'src/app/subscription/service/subscription.service';\r\nimport { SubscriptionPlan } from 'src/app/subscription/Models/SubscriptionPlan';\r\nimport { ItemAccess } from 'src/app/subscription/Models/LicenceTemplate';\r\n\r\n@Component({\r\n selector: 'app-rtw',\r\n templateUrl: './rtw.component.html',\r\n styleUrls: ['./rtw.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class RtwComponent implements OnInit {\r\n public departmentDropdown: any[] = [{ label: 'Select Department', value: 'SelectDepartment', id: 0 }];\r\n public rtwForm: FormGroup;\r\n public tenantId: number;\r\n public validation: any = {\r\n 'reference': [Validators.required],\r\n 'name': [Validators.required],\r\n 'email': [Validators.pattern('[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$')],\r\n 'department': [Validators.min(1)]\r\n };\r\n public showResultTab: boolean = false;\r\n public isVisibleToggle: boolean = false;\r\n public rightToWorkResultModel: RightToWorkCheckResultModel = new RightToWorkCheckResultModel();\r\n public accessData: AccessData = new AccessData();\r\n public Plan: SubscriptionPlan = new SubscriptionPlan();\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private app: AppComponent,\r\n private subscriptionService: SubscriptionService,\r\n private messageService: MessagingService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.queryParams\r\n .subscribe(params => {\r\n if (params.Tenant) {\r\n this.tenantId = Number(atob(params.Tenant));\r\n if (isNaN(this.tenantId)) {\r\n this.tenantId = 0;\r\n } else {\r\n this.app.isShowHeader = false;\r\n }\r\n } else {\r\n this.tenantId = 0;\r\n }\r\n });\r\n\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"RIGHTTOWORK\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.rtwForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n name: [\"\"],\r\n email: [\"\"],\r\n department: [0],\r\n dvlaReportAccess: [false]\r\n });\r\n this.getSubscriptionDetails();\r\n this.searchService.GetRTWDepartmentDropdown().subscribe(data => {\r\n data.forEach(x => {\r\n this.departmentDropdown.push({ label: x.value, value: x.value, id: x.id })\r\n })\r\n }, error => {\r\n console.log(error);\r\n });\r\n this.getLicenceItems();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n getSubscriptionDetails() {\r\n this.subscriptionService.GetSubscribedPlan(this.tenantId).subscribe(data => {\r\n this.Plan = data;\r\n this.loadTemplate(this.Plan.allowedLicenseItems);\r\n });\r\n }\r\n\r\n loadTemplate(licenceItems: ItemAccess[]) {\r\n licenceItems.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\" && item.key.toLowerCase() == \"dvla\") {\r\n this.isVisibleToggle = true;\r\n }\r\n })\r\n }\r\n\r\n\r\n public rtwSearch(): void {\r\n this.addValidators();\r\n this.rtwForm.updateValueAndValidity();\r\n\r\n if (this.rtwForm.valid) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n //this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n\r\n // Right To Work\r\n this.rightToWorkCheck(requestObj);\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n // Right To Work check API call\r\n public rightToWorkCheck(requestObj: RequestData): void {\r\n this.rightToWorkResultModel.isLoading = false;\r\n this.rightToWorkResultModel.access = requestObj.accessData;\r\n this.rightToWorkResultModel.responseData = null;\r\n this.rightToWorkResultModel.searchFail = false;\r\n this.rightToWorkResultModel.validation = false;\r\n\r\n if (requestObj.profileData.fullName && requestObj.profileData.email) {\r\n this.rightToWorkResultModel.isLoading = true;\r\n this.searchService.RightToWorkSearch(requestObj).subscribe((data) => {\r\n this.rightToWorkResultModel.isLoading = false;\r\n this.rightToWorkResultModel.responseData = data;\r\n }, (error) => {\r\n console.log(error);\r\n this.rightToWorkResultModel.isLoading = false;\r\n this.rightToWorkResultModel.searchFail = true;\r\n });\r\n }\r\n\r\n }\r\n\r\n public onEmailChange(): void {\r\n this.rtwForm.get('email').clearValidators();\r\n this.rtwForm.get('email').setValidators(this.validation['email']);\r\n this.rtwForm.get('email').updateValueAndValidity();\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.rtwForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n this.disableAccessData();\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n case \"DVLA\": {\r\n this.accessData.isDVLAAccess = item.defaultValue;\r\n this.accessData.isDVLAToggle = item.toggle;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n \r\n public disableAccessData(): void {\r\n this.rtwForm.patchValue({\r\n dvlaReportAccess: this.accessData.isDVLAAccess\r\n });\r\n\r\n if (!this.accessData.isDVLAToggle) {\r\n this.rtwForm.get(\"dvlaReportAccess\").disable();\r\n }\r\n }\r\n\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.rtwForm.get('audit').value;\r\n if(this.rtwForm.get('dvlaReportAccess').value) {\r\n profileData.referenceNumber = this.rtwForm.get('reference').value + '[DVLA]';\r\n } else {\r\n profileData.referenceNumber = this.rtwForm.get('reference').value; \r\n }\r\n profileData.email = this.rtwForm.get('email').value;\r\n profileData.fullName = this.rtwForm.get('name').value;\r\n if (this.rtwForm.get('name').value) {\r\n let searchtextarray = this.rtwForm.get('name').value.split(\" \");\r\n profileData.firstName = searchtextarray[0];\r\n profileData.lastName = searchtextarray.length > 1 ? searchtextarray[searchtextarray.length - 1] : searchtextarray[1];\r\n profileData.midleName = searchtextarray.length > 2 ? searchtextarray[1] : null;\r\n } else {\r\n profileData.firstName = null;\r\n profileData.lastName = null;\r\n profileData.midleName = null;\r\n }\r\n profileData.departmentId = this.rtwForm.get('department').value;\r\n\r\n profileData.searchType = SearchType.RightToWork.toString();\r\n\r\n var accessData = new AccessData();\r\n accessData.isDVLAAccess = this.rtwForm.get('dvlaReportAccess').value;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n return requestObj;\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.rtwForm.controls) {\r\n this.rtwForm.get(control).clearValidators();\r\n this.rtwForm.get(control).setValidators(this.validation[control]);\r\n this.rtwForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public rtwClearSearch(): void {\r\n for (const control in this.rtwForm.controls) {\r\n this.rtwForm.get(control).clearValidators();\r\n this.rtwForm.get(control).updateValueAndValidity();\r\n }\r\n this.rtwForm.patchValue({\r\n audit: \"\",\r\n reference: \"\",\r\n name: \"\",\r\n email: \"\"\r\n });\r\n this.showResultTab = false;\r\n //this.resetResultObjects();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.ReferenceRequiredMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Name:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.NameRequiredMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n DOB:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Phone:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.PhoneNumberNotValidMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.EmailNotValidMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Street Address:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Suburb:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n State:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Post Code:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\nimport { SearchService } from 'src/app/demo/V3/services/search.service';\r\nimport { AccessData, ProfileData, RequestData } from '../../../models/SearchRequestModel';\r\nimport { Shared } from 'src/app/demo/V3/services/shared';\r\nimport { SearchType } from '../../../models/SearchType';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { PersonHistoryResultModel } from '../../../models/AustraliaResultModel/PersonHistoryResultModel';\r\nimport { AustraliaSearchService } from 'src/app/demo/V3/services/australia.search.service';\r\nimport { EnhancedRecordPlusResultModel } from '../../../models/AustraliaResultModel/EnhancedRecordPlusResultModel';\r\nimport { EmailageCheckResultModel, EmailCheckResultModel } from '../../../models/EmailResultModel';\r\nimport { MobileResultModel, OpenSourceResultModel } from '../../../models/MobileResultModel';\r\nimport { SearchDomain } from 'src/app/home/models/SearchDomain';\r\nimport { Item, Token } from '../../../models/Items';\r\nimport { PIPLResultModel } from '../../../models/PIPLResultModel';\r\nimport { SocialMediaResultModel } from '../../../models/SocialMediaResultModel';\r\nimport { Items } from 'src/app/home/models/Items';\r\nimport { isPossiblePhoneNumber, isValidPhoneNumber, parsePhoneNumber, validatePhoneNumberLength } from 'libphonenumber-js';\r\nimport { BusinessSearchResultModel } from '../../../models/AustraliaResultModel/BusinessSearchResultModel';\r\nimport { AMLResultModel } from '../../../models/AMLResultModel';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-au-personal',\r\n templateUrl: './au-personal.component.html',\r\n styleUrls: ['./au-personal.component.css', '../../shared/shared.searchpage.css']\r\n})\r\nexport class AuPersonalComponent implements OnInit {\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n\r\n public personalForm: FormGroup;\r\n public validationType: any = {\r\n 'reference': [Validators.required],\r\n 'name': [Validators.required],\r\n 'email': [Validators.pattern('[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$')],\r\n 'phone': [Validators.pattern('^[0-9]{10}$')]\r\n };\r\n\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n public clearSearchButtonVisibility: boolean = true;\r\n public loggedInUsername: string = \"\";\r\n public emailageOrgId: string;\r\n public activeSearchDomains: SearchDomain[] = [];\r\n public searchDomains: SearchDomain[] = [];\r\n public refreshtoken = new Token(null);\r\n public searchType: string = null;\r\n\r\n // Result Model\r\n public personHistoryResultModel: PersonHistoryResultModel = new PersonHistoryResultModel();\r\n public enhancedRecordPlanResultModel: EnhancedRecordPlusResultModel = new EnhancedRecordPlusResultModel();\r\n public emailValidationResultModel: EmailCheckResultModel = new EmailCheckResultModel()\r\n public emailageResultModel: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n public mobileResultModel: MobileResultModel = new MobileResultModel();\r\n public opensourceResult: OpenSourceResultModel = new OpenSourceResultModel();\r\n public piplResultModel: PIPLResultModel = new PIPLResultModel();\r\n public socialMediaResultModel: SocialMediaResultModel = new SocialMediaResultModel();\r\n public businessSearchResultData: BusinessSearchResultModel = new BusinessSearchResultModel();\r\n public amlResultModel: AMLResultModel = new AMLResultModel();\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n\r\n public requestModelData: RequestData = new RequestData();\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private router: Router,\r\n private australiaSearchService: AustraliaSearchService,\r\n private searchService: SearchService,\r\n private messagingService: MessagingService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n this.personalForm = this.formBuilder.group({\r\n profile: this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n name: [\"\"],\r\n dob: [\"\"],\r\n phone: [\"\"],\r\n email: [\"\"],\r\n streetaddress: [\"\"],\r\n suburb: [\"\"],\r\n state: [\"\"],\r\n postcode: [\"\"],\r\n }),\r\n });\r\n this.getUserDetails();\r\n this.getEmailageOrgId();\r\n this.getLicenceItems();\r\n this.GetSearchDomainJson();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public getEmailageOrgId() {\r\n this.searchService.GetEmailageOrdId().subscribe(data => {\r\n this.emailageOrgId = data;\r\n });\r\n }\r\n\r\n // Search button click event\r\n public personalSearch(): void {\r\n this.addValidators();\r\n this.personalForm.updateValueAndValidity();\r\n\r\n if (this.personalForm.valid) {\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n\r\n this.saveAsPDFButtonVisibility = true;\r\n this.clearSearchButtonVisibility = true;\r\n\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestModelData = requestObj;\r\n\r\n console.log(requestObj);\r\n\r\n this.setActiveResultTab();\r\n\r\n // Person History\r\n this.GetPersonHistory(requestObj);\r\n\r\n // Enhanced Record Plus\r\n this.GetEnhanceRecordPlus(requestObj);\r\n\r\n // AML Check\r\n this.amlCheck(requestObj);\r\n\r\n // // Email Validation\r\n this.emailValidationCheck(requestObj);\r\n\r\n // // // Telisign Check\r\n this.telisignCheck(requestObj);\r\n\r\n // Opensource search\r\n this.openSourceSearch(requestObj);\r\n\r\n // // PIPL API\r\n this.GetPIPLData(requestObj);\r\n\r\n // Social media Check\r\n this.socialMediaSearch(requestObj);\r\n }\r\n );\r\n }\r\n }\r\n\r\n\r\n // Getting search domain json for scraping\r\n public GetSearchDomainJson() {\r\n this.searchService.getDomainJson()\r\n .subscribe((data) => {\r\n this.searchDomains = data;\r\n this.activeSearchDomains = data.filter(x => x.IsActive == true);\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n case \"LANDREGISTRY\": {\r\n this.accessData.isLandRegistryAccess = item.defaultValue;\r\n this.accessData.isLandRegistryToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n public GetPersonHistory(requestData: RequestData) {\r\n this.personHistoryResultModel.isLoading = false;\r\n this.personHistoryResultModel.responseData = null;\r\n this.personHistoryResultModel.searchFail = false;\r\n this.personHistoryResultModel.validation = false;\r\n\r\n if ((requestData.profileData.firstName || requestData.profileData.midleName || requestData.profileData.lastName) &&\r\n (requestData.profileData.dateOfBirth || requestData.profileData.phoneNumber || requestData.profileData.email)) {\r\n this.personHistoryResultModel.isLoading = true;\r\n this.australiaSearchService.GetPersonHistory(requestData).subscribe(data => {\r\n this.personHistoryResultModel.isLoading = false;\r\n data[\"data\"] = JSON.parse(data[\"data\"]);\r\n this.personHistoryResultModel.responseData = data;\r\n }, error => {\r\n this.personHistoryResultModel.searchFail = true;\r\n this.personHistoryResultModel.isLoading = false;\r\n console.log(\"Person History Error: \", error);\r\n })\r\n } else {\r\n this.personHistoryResultModel.validation = true;\r\n }\r\n }\r\n\r\n\r\n public GetEnhanceRecordPlus(requestData: RequestData) {\r\n this.enhancedRecordPlanResultModel.isLoading = false;\r\n this.enhancedRecordPlanResultModel.responseData = null;\r\n this.enhancedRecordPlanResultModel.searchFail = false;\r\n this.enhancedRecordPlanResultModel.validation = false;\r\n\r\n // console.log(\"Request Data: \", requestData.profileData);\r\n if ((requestData.profileData.firstName || requestData.profileData.midleName || requestData.profileData.lastName) && (requestData.profileData.phoneNumber ||\r\n requestData.profileData.email || requestData.profileData.streetAddress || requestData.profileData.dateOfBirth)\r\n ) {\r\n this.enhancedRecordPlanResultModel.isLoading = true;\r\n this.australiaSearchService.GetEnhancedRecordPlus(requestData).subscribe(data => {\r\n this.enhancedRecordPlanResultModel.isLoading = false;\r\n data[\"data\"] = JSON.parse(data[\"data\"]);\r\n this.enhancedRecordPlanResultModel.responseData = data;\r\n // console.log(this.enhancedRecordPlanResultModel.responseData.data);\r\n if (this.enhancedRecordPlanResultModel?.responseData?.data?.match_person?.business != '') {\r\n var businessAbn = this.enhancedRecordPlanResultModel?.responseData?.data?.match_person?.business;\r\n if (businessAbn != '' && businessAbn != null) {\r\n businessAbn = businessAbn.trim().replace(/\\bABN\\b/gi, '').trim();\r\n this.requestModelData.profileData.abn = businessAbn;\r\n this.businessSearchResultData.isLoading = true;\r\n this.GetSearchByABN(this.requestModelData);\r\n }\r\n } else {\r\n this.searchType = \"SearchByABN\";\r\n this.businessSearchResultData.noRelevantData = true;\r\n }\r\n }, error => {\r\n this.enhancedRecordPlanResultModel.searchFail = true;\r\n this.enhancedRecordPlanResultModel.isLoading = false;\r\n console.log(\"Enhanced Record Plan Error: \", error);\r\n })\r\n } else {\r\n this.enhancedRecordPlanResultModel.validation = true;\r\n }\r\n }\r\n\r\n\r\n\r\n public GetSearchByABN(requestObj: RequestData): void {\r\n if (requestObj.profileData.abn) {\r\n this.businessSearchResultData.isLoading = true;\r\n this.australiaSearchService.GetSearchByABN(requestObj).subscribe(data => {\r\n this.businessSearchResultData.isLoading = false;\r\n this.searchType = \"SearchByABN\";\r\n // console.log(data);\r\n if (!data || !data.data || data.data.length == 0) {\r\n this.businessSearchResultData.noRelevantData = true;\r\n return;\r\n }\r\n if (data.status == 200)\r\n this.businessSearchResultData.responseData = JSON.parse(data.data);\r\n if (this.businessSearchResultData.responseData.response.exception != null && this.businessSearchResultData.responseData.response.exception.exceptionDescription != null) {\r\n this.businessSearchResultData.noRelevantData = true;\r\n }\r\n }, error => {\r\n this.businessSearchResultData.isLoading = false;\r\n this.businessSearchResultData.searchFail = true;\r\n console.log(error);\r\n });\r\n }\r\n }\r\n\r\n //public GetABRSearchByName(requestObj: RequestData): void {\r\n // // this.businessSearchResultData.isLoading = false;\r\n // this.businessSearchResultData.noRelevantData = false;\r\n // this.businessSearchResultData.noSearchSelect = false;\r\n // this.businessSearchResultData.responseData = null;\r\n // this.businessSearchResultData.searchFail = false;\r\n // // this.businessSearchResultData.validation = false;\r\n\r\n // if (requestObj.profileData.abn != null && requestObj.profileData.abn != '') {\r\n // this.businessSearchResultData.isLoading = true;\r\n // this.australiaSearchService.GetABRSearchByName(requestObj).subscribe(data => {\r\n // this.businessSearchResultData.isLoading = false;\r\n // // console.log(data.data);\r\n // if (!data || !data.data || data.data.length == 0) {\r\n // this.businessSearchResultData.noRelevantData = true;\r\n // return;\r\n // }\r\n // if (data.status == 200)\r\n // this.businessSearchResultData.responseData = JSON.parse(data.data);\r\n // if (this.businessSearchResultData.responseData.response.exception != null && this.businessSearchResultData.responseData.response.exception.exceptionDescription != null) {\r\n // this.businessSearchResultData.noRelevantData = true;\r\n // }\r\n // console.log(this.businessSearchResultData.responseData);\r\n // }, error => {\r\n // this.businessSearchResultData.isLoading = false;\r\n // this.businessSearchResultData.searchFail = true;\r\n // console.log(error);\r\n // });\r\n // }\r\n //}\r\n\r\n public personalClearSearch(): void {\r\n this.personalForm.controls['profile'].reset();\r\n this.clearValidators();\r\n this.resetResultObjects();\r\n this.showResultTab = false;\r\n }\r\n\r\n\r\n // Email validation check API call\r\n public emailValidationCheck(requestObj: RequestData): void {\r\n this.emailValidationResultModel.isLoading = false;\r\n this.emailValidationResultModel.noRelevantData = false;\r\n this.emailValidationResultModel.responseData = null;\r\n this.emailValidationResultModel.searchFail = false;\r\n this.emailValidationResultModel.validation = false;\r\n this.emailValidationResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isEmailAccess) {\r\n if (requestObj.profileData.email) {\r\n this.emailValidationResultModel.isLoading = true;\r\n this.searchService.EmailValidationCheck(requestObj).subscribe((data) => {\r\n\r\n var debounceReason = data[\"data\"].debounce.reason;\r\n\r\n // Email Age\r\n this.emailAgeCheck(requestObj, debounceReason);\r\n\r\n this.emailValidationResultModel.isLoading = false;\r\n this.emailValidationResultModel.responseData = data[\"data\"];\r\n if (this.emailValidationResultModel?.responseData == null) {\r\n this.emailValidationResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n\r\n // Email Age\r\n this.emailAgeCheck(requestObj, \"\");\r\n\r\n console.log(error);\r\n this.emailValidationResultModel.isLoading = false;\r\n if (error.status === 403) {\r\n this.emailValidationResultModel.searchFail = true;\r\n }\r\n });\r\n } else {\r\n this.emailValidationResultModel.validation = true;\r\n }\r\n } else {\r\n this.emailValidationResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n // AML check API call\r\n public amlCheck(requestObj: RequestData): void {\r\n this.amlResultModel.isLoading = false;\r\n this.amlResultModel.searchFail = false;\r\n this.amlResultModel.responseData = null;\r\n this.amlResultModel.noSearchSelect = false;\r\n this.amlResultModel.validation = false;\r\n \r\n if (requestObj.accessData.isAMLAccess) {\r\n if (requestObj.profileData.fullName || (requestObj.profileData.postalCode || requestObj.profileData.streetAddress || requestObj.profileData.dateOfBirth)) {\r\n this.amlResultModel.isLoading = true;\r\n this.searchService.SearchAML(requestObj).subscribe((data) => {\r\n this.amlResultModel.isLoading = false;\r\n // console.log(JSON.parse(data.data));\r\n this.amlResultModel.responseData = JSON.parse(data.data);\r\n console.log(this.amlResultModel);\r\n }, (error) => {\r\n console.log(error);\r\n this.amlResultModel.searchFail = true;\r\n this.amlResultModel.isLoading = false;\r\n })\r\n } else {\r\n this.amlResultModel.validation = true;\r\n }\r\n } else {\r\n this.amlResultModel.noSearchSelect = true;\r\n }\r\n \r\n }\r\n\r\n\r\n // Email age API call\r\n public emailAgeCheck(requestObj: RequestData, debounceReason: string): void {\r\n this.emailageResultModel.isLoading = false;\r\n this.emailageResultModel.responseData = null;\r\n this.emailageResultModel.searchFail = false;\r\n this.emailageResultModel.noSearchSelect = false;\r\n this.emailageResultModel.validation = false;\r\n\r\n if (requestObj.profileData.email) {\r\n if (requestObj.accessData.isEmailAccess) {\r\n this.emailageResultModel.isLoading = true;\r\n this.searchService.EmailAge(requestObj, debounceReason).subscribe((data) => {\r\n this.emailageResultModel.isLoading = false;\r\n try {\r\n let completeJson = JSON.parse(data[\"data\"][\"completeResponse\"]);\r\n let rawJson: string = completeJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"];\r\n completeJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"] = JSON.parse(rawJson.trim());\r\n data[\"data\"][\"completeResponse\"] = completeJson;\r\n } catch { }\r\n this.emailageResultModel.responseData = data;\r\n console.log(this.emailageResultModel.responseData[\"data\"]);\r\n console.log(JSON.parse(this.emailageResultModel.responseData[\"data\"][\"completeResponse\"]));\r\n var completeResponseJson = JSON.parse(this.emailageResultModel.responseData[\"data\"][\"completeResponse\"]);\r\n console.log(completeResponseJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"][\"query\"][\"results\"]);\r\n var rawResult = Array.from(completeResponseJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"][\"query\"][\"results\"]);\r\n this.emailageResultModel.urls = [];\r\n rawResult.forEach(x => {\r\n Array.from(x[\"smlinks\"]).forEach(y => {\r\n this.emailageResultModel.urls.push(y);\r\n });\r\n });\r\n }, (error) => {\r\n console.log(error);\r\n this.emailageResultModel.searchFail = true;\r\n this.emailageResultModel.isLoading = false;\r\n });\r\n } else {\r\n this.emailageResultModel.noSearchSelect = true;\r\n }\r\n } else {\r\n this.emailageResultModel.validation = true;\r\n }\r\n }\r\n\r\n // Telisign check API call\r\n public telisignCheck(requestObj: RequestData): void {\r\n const formatPhoneNumber = requestObj.profileData.phoneNumber;\r\n if (formatPhoneNumber != null && formatPhoneNumber != '') {\r\n const phoneNumber = parsePhoneNumber(formatPhoneNumber, 'AU')\r\n if(phoneNumber.isValid() === true && isPossiblePhoneNumber(formatPhoneNumber, 'AU') === true\r\n && isValidPhoneNumber(formatPhoneNumber, 'AU') && validatePhoneNumberLength(formatPhoneNumber, 'AU') === undefined){\r\n requestObj.profileData.phoneNumber = phoneNumber.formatInternational();\r\n }\r\n }\r\n this.mobileResultModel.isLoading = false;\r\n this.mobileResultModel.responseData = null;\r\n this.mobileResultModel.searchFail = false;\r\n this.mobileResultModel.validationError = false;\r\n this.mobileResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isMobileAccess) {\r\n if (requestObj.profileData.phoneNumber) {\r\n this.mobileResultModel.isLoading = true;\r\n this.searchService.GetMobileData(requestObj).subscribe((data) => {\r\n this.mobileResultModel.isLoading = false;\r\n console.log(data);\r\n this.mobileResultModel.responseData = data;\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status === 403) {\r\n this.mobileResultModel.searchFail = true;\r\n }\r\n this.mobileResultModel.isLoading = false;\r\n });\r\n } else {\r\n this.mobileResultModel.validationError = true;\r\n }\r\n } else {\r\n this.mobileResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n public openSourceSearch(requestObj: RequestData): void {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.noSearchSelect = false;\r\n this.opensourceResult.responseData = [];\r\n this.opensourceResult.tempResponseData = [];\r\n this.opensourceResult.searchFail = false;\r\n this.opensourceResult.validationError = false;\r\n this.opensourceResult.openSourceResultCount = 0;\r\n\r\n this.opensourceResult.isLoading = true;\r\n\r\n this.activeSearchDomains.forEach((searchDomain: SearchDomain) => {\r\n let index: number = 0;\r\n this.eachOpenSourceSearch(searchDomain, requestObj, index);\r\n });\r\n }\r\n\r\n public eachOpenSourceSearch(domain: SearchDomain, requestObj: RequestData, index: number) {\r\n this.searchService.OpenSourceSearch(requestObj, domain.UniqueCode).subscribe((data) => {\r\n this.opensourceResult.searchFail = false;\r\n\r\n if (data[\"newsitems\"] != null) {\r\n this.opensourceResult.tempResponseData = this.opensourceResult.tempResponseData.concat(data[\"newsitems\"]);\r\n }\r\n this.opensourceResult.openSourceResultCount++;\r\n\r\n if (this.opensourceResult.openSourceResultCount == this.activeSearchDomains.length) {\r\n this.opensourceResult.isLoading = false;\r\n if (this.opensourceResult.tempResponseData.length > 0) {\r\n this.opensourceResult.responseData = this.getUniqueResults(this.opensourceResult.tempResponseData, 'link');\r\n }\r\n //this.opensourceResult.responseData = this.opensourceResult.responseData;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n // this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n // this.searchService.refreshtoken(this.refreshtoken)\r\n // .subscribe(\r\n // data => {\r\n // localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n // localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n // localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n // },\r\n // error => {\r\n // if (error.status == 400) {\r\n this.logout();\r\n // }\r\n // });\r\n }\r\n else if (error.status == 502 || error.status == 504) {\r\n index++;\r\n if (index < 2) {\r\n this.eachOpenSourceSearch(domain, requestObj, index);\r\n }\r\n else {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.searchFail = true;\r\n }\r\n }\r\n else {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.searchFail = true;\r\n }\r\n });\r\n }\r\n\r\n // Social media (PIPL) API call\r\n public GetPIPLData(requestObj: RequestData): void {\r\n this.piplResultModel.isLoading = false;\r\n this.piplResultModel.noRelevantData = false;\r\n this.piplResultModel.searchFail = false;\r\n this.piplResultModel.responseData = null;\r\n this.piplResultModel.noSearchSelect = false;\r\n this.piplResultModel.validation = false;\r\n \r\n if (requestObj.accessData.isSocialMediaAccess) {\r\n if (requestObj.profileData.fullName && (requestObj.profileData.email || requestObj.profileData.phoneNumber)) {\r\n this.piplResultModel.isLoading = true;\r\n this.searchService.SearchPIPL(requestObj).subscribe((data) => {\r\n this.piplResultModel.isLoading = false;\r\n let response = data.data;\r\n if (response) {\r\n this.piplResultModel.responseData = response;\r\n }\r\n else {\r\n this.piplResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n this.piplResultModel.searchFail = true;\r\n this.piplResultModel.isLoading = false;\r\n console.log(error);\r\n })\r\n } else {\r\n this.piplResultModel.validation = true;\r\n }\r\n } else {\r\n this.piplResultModel.noSearchSelect = true;\r\n }\r\n \r\n }\r\n\r\n public socialMediaSearch(requestObj: RequestData) {\r\n this.socialMediaResultModel.noSearchSelect = false;\r\n this.socialMediaResultModel.isLoading = false;\r\n \r\n if (requestObj.accessData.isSocialMediaAccess) {\r\n this.socialMediaResultModel.isLoading = true;\r\n this.socialMediaResultModel.socialMediaStatus =\r\n [\r\n { name: \"facebook\", displayname: \"Facebook\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"instagram\", displayname: \"Instagram\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"linkedin\", displayname: \"LinkedIn\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"twitter\", displayname: \"Twitter\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"youtube\", displayname: \"YouTube\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"tiktok\", displayname: \"TikTok\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n ];\r\n \r\n this.socialMediaResultModel.collapseSocialMediaClass = \"show\";\r\n this.socialMediaResultModel.collapseSocialMediaStatus = \"Hide Status\";\r\n this.socialMediaResultModel.collapseSocialMediaIcon = \"fa-chevron-up\";\r\n \r\n this.socialMediaResultModel.socialMediaCategory.forEach((item: string) => {\r\n this.activeSearchDomains.forEach((searchDomain: SearchDomain) => {\r\n let socialMediaIndex = 0;\r\n this.getsocialMediaData(item, searchDomain.UniqueCode, socialMediaIndex, requestObj);\r\n });\r\n });\r\n } else {\r\n this.socialMediaResultModel.noSearchSelect = true;\r\n }\r\n }\r\n \r\n public getsocialMediaData(socialMediaCategoryItem: string, searchDomain: string, socialMediaIndex: number, requestObj: RequestData) {\r\n this.socialMediaResultModel.socialMediaResults = [];\r\n this.socialMediaResultModel.compareSocialMediaCategory = [];\r\n \r\n this.searchService.SocialMedia(socialMediaCategoryItem, searchDomain, requestObj)\r\n .subscribe(\r\n data => {\r\n if (data[\"newsitems\"] != null) {\r\n data[\"newsitems\"].forEach((item: Items) => {\r\n item.lexiconcategory = data[\"key\"];\r\n });\r\n this.socialMediaResultModel.socialMediaResults = this.socialMediaResultModel.socialMediaResults.concat(data[\"newsitems\"]);\r\n }\r\n this.socialMediaResultModel.filtersocialMediaStatus = this.socialMediaResultModel.socialMediaStatus.filter(x => x.name == socialMediaCategoryItem)[0];\r\n this.socialMediaResultModel.filtersocialMediaStatus.statusCount++\r\n \r\n if (this.socialMediaResultModel.filtersocialMediaStatus.statusCount == this.activeSearchDomains.length) {\r\n this.socialMediaResultModel.compareSocialMediaCategory.push(socialMediaCategoryItem);\r\n this.socialMediaResultModel.socialMediaSuccessCount++;\r\n this.socialMediaResultModel.filtersocialMediaStatus.status = \"Search completed\";\r\n this.socialMediaResultModel.filtersocialMediaStatus.searchloading = false;\r\n }\r\n if (this.socialMediaResultModel.socialMediaSuccessCount == this.socialMediaResultModel.socialMediaStatus.length) {\r\n this.searchService.updateAudit(requestObj.profileData.searchType, requestObj.profileData.auditKey, 8, this.socialMediaResultModel.compareSocialMediaCategory).subscribe();\r\n }\r\n \r\n if (this.socialMediaResultModel.socialMediaCategory.length == this.socialMediaResultModel.compareSocialMediaCategory.length) {\r\n this.socialMediaResultModel.collapseSocialMediaClass = \"hide\";\r\n this.socialMediaResultModel.collapseSocialMediaStatus = \"Show Status\";\r\n this.socialMediaResultModel.collapseSocialMediaIcon = \"fa-chevron-down\";\r\n \r\n this.socialMediaResultModel.isLoading = false;\r\n if (this.socialMediaResultModel.socialMediaResults.length > 0) {\r\n this.socialMediaResultModel.socialMediaResults = this.getUniqueResults(this.socialMediaResultModel.socialMediaResults, 'link');\r\n }\r\n \r\n this.socialMediaResultModel.SocialMediaResultCount = this.socialMediaResultModel.socialMediaResults.length;\r\n this.socialMediaResultModel.finalSocialMediaResults = this.socialMediaResultModel.socialMediaResults;\r\n console.log(this.socialMediaResultModel.finalSocialMediaResults);\r\n \r\n this.socialMediaResultModel.finalSocialMediaResults.sort((a, b) => {\r\n if (a.lexiconcategory < b.lexiconcategory) { return -1; }\r\n return 0;\r\n });\r\n \r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n this.searchService.refreshtoken(this.refreshtoken)\r\n .subscribe(\r\n data => {\r\n localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n this.socialMediaSearch(requestObj);\r\n },\r\n error => {\r\n if (error.status == 400) {\r\n this.logout();\r\n }\r\n });\r\n }\r\n else if (error.status == 502 || error.status == 504) {\r\n socialMediaIndex++;\r\n if (socialMediaIndex < 2) {\r\n this.getsocialMediaData(socialMediaCategoryItem, searchDomain, socialMediaIndex, requestObj);\r\n }\r\n else {\r\n //this.IsSocialMediaValue = true;\r\n }\r\n }\r\n else {\r\n //this.IsSocialMediaValue = true;\r\n }\r\n });\r\n }\r\n\r\n // Getting unique results from scraper\r\n public getUniqueResults(arr, link) {\r\n const unique = arr\r\n .map(e => e[link])\r\n // store the keys of the unique objects\r\n .map((e, i, final) => final.indexOf(e) === i && i)\r\n // eliminate the dead keys & store unique objects\r\n .filter(e => arr[e]).map(e => arr[e]);\r\n return unique;\r\n }\r\n\r\n public logout() {\r\n localStorage.removeItem(\"access_token\");\r\n localStorage.removeItem(\"expires_in\");\r\n localStorage.removeItem(\"token_type\");\r\n localStorage.removeItem(\"userId\");\r\n localStorage.removeItem(\"subscription\");\r\n this.router.navigate(['/Login']);\r\n }\r\n\r\n public setActiveResultTab() {\r\n setTimeout(() => {\r\n // Tab Header\r\n var navLine = $('.nav-link');\r\n $.each(navLine, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n\r\n // Tab Result\r\n var tabPane = $('.tab-pane');\r\n $.each(tabPane, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n\r\n // Show first tab as active\r\n $('#personhistory-search-tab').addClass(\"active\");\r\n $('#personHistorySearch').addClass(\"active\");\r\n }, 2000);\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.personalForm.get('profile.audit').value;\r\n profileData.referenceNumber = this.personalForm.get('profile.reference').value;\r\n profileData.fullName = this.personalForm.get('profile.name').value.trim();\r\n\r\n if (this.personalForm.get('profile.name').value) {\r\n let searchtextarray = this.personalForm.get('profile.name').value.trim().split(\" \");\r\n profileData.firstName = searchtextarray[0];\r\n profileData.lastName = searchtextarray.length > 1 ? searchtextarray[searchtextarray.length - 1] : searchtextarray[1];\r\n profileData.midleName = searchtextarray.length > 2 ? searchtextarray[1] : null;\r\n } else {\r\n profileData.firstName = null;\r\n profileData.lastName = null;\r\n profileData.midleName = null;\r\n }\r\n\r\n profileData.dateOfBirth = this.personalForm.get('profile.dob').value;\r\n profileData.phoneNumber = this.personalForm.get('profile.phone').value;\r\n profileData.email = this.personalForm.get('profile.email').value;\r\n profileData.streetAddress = this.personalForm.get('profile.streetaddress').value;\r\n profileData.suburb = this.personalForm.get('profile.suburb').value;\r\n profileData.state = this.personalForm.get('profile.state').value;\r\n profileData.postalCode = this.personalForm.get('profile.postcode').value;\r\n\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchType = SearchType.Personal.toString();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.accessData = this.accessData;\r\n requestObj.profileData = profileData;\r\n return requestObj;\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n \r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.personalForm.get('profile.reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 5000);\r\n }\r\n\r\n public resetResultObjects(): void {\r\n this.personHistoryResultModel = new PersonHistoryResultModel();\r\n this.enhancedRecordPlanResultModel = new EnhancedRecordPlusResultModel();\r\n this.mobileResultModel = new MobileResultModel();\r\n this.emailageResultModel = new EmailageCheckResultModel();\r\n this.piplResultModel = new PIPLResultModel();\r\n this.socialMediaResultModel = new SocialMediaResultModel();\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.personalForm.patchValue({\r\n profile: {\r\n audit: data\r\n }\r\n });\r\n });\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const topControls in this.personalForm.controls) {\r\n if (topControls == 'profile') {\r\n let childControls = this.personalForm.controls[topControls] as FormGroup\r\n for (const child in childControls.controls) {\r\n try {\r\n this.personalForm.get(topControls + \".\" + child).clearValidators();\r\n this.personalForm.get(topControls + \".\" + child).setValidators(this.validationType[child]);\r\n this.personalForm.get(topControls + \".\" + child).updateValueAndValidity();\r\n } catch (err) { }\r\n }\r\n }\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public clearValidators(): void {\r\n this.personalForm.patchValue({\r\n audit: \"\",\r\n reference: \"\",\r\n name: \"\",\r\n dob: \"\",\r\n phone: \"\",\r\n email: \"\",\r\n streetaddress: \"\",\r\n suburb: \"\",\r\n state: \"\",\r\n postcode: \"\",\r\n });\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n\r\n for (const topControls in this.personalForm.controls) {\r\n if (topControls == 'profile') {\r\n let childControls = this.personalForm.controls[topControls] as FormGroup\r\n for (const child in childControls.controls) {\r\n try {\r\n this.personalForm.get(topControls + \".\" + child).clearValidators();\r\n this.personalForm.get(topControls + \".\" + child).updateValueAndValidity();\r\n } catch (err) { }\r\n }\r\n }\r\n }\r\n }\r\n\r\n}\r\n","import { Component, OnInit, ElementRef } from '@angular/core';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { LoginService } from '../../service/login.service';\r\n\r\n@Component({\r\n selector: 'app-thank-you-messages',\r\n templateUrl: './thank-you-messages.component.html',\r\n styleUrls: ['./thank-you-messages.component.css']\r\n})\r\nexport class ThankYouMessagesComponent implements OnInit {\r\n\r\n public status: string;\r\n public registration: boolean;\r\n public confirm: boolean;\r\n public linkexpired: boolean;\r\n public forgotPassword: boolean;\r\n public resetPassword: boolean;\r\n public verificationlinkResent: boolean;\r\n public contactdetails: boolean;\r\n public confirmationError: boolean;\r\n public adduser: boolean;\r\n public alreadyConfirmed: boolean;\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private elementRef: ElementRef) { }\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit() {\r\n this.status = \"\";\r\n this.registration = false;\r\n this.confirm = false;\r\n this.linkexpired = false;\r\n this.forgotPassword = false;\r\n this.resetPassword = false;\r\n this.verificationlinkResent = false;\r\n this.contactdetails = false;\r\n this.confirmationError = false;\r\n this.adduser = false;\r\n this.alreadyConfirmed = false;\r\n this.status = this.route.snapshot.queryParams.status;\r\n if (this.status == \"registration\") {\r\n this.registration = true;\r\n }\r\n else if (this.status == \"confirm\") {\r\n this.confirm = true;\r\n }\r\n else if (this.status == \"linkexpired\") {\r\n this.linkexpired = true;\r\n }\r\n else if (this.status == \"forgotPassword\") {\r\n this.forgotPassword = true;\r\n }\r\n else if (this.status == \"resetPassword\") {\r\n this.resetPassword = true;\r\n }\r\n else if (this.status == \"verificationlinkResent\") {\r\n this.verificationlinkResent = true;\r\n }\r\n else if (this.status == \"contactdetails\") {\r\n this.contactdetails = true;\r\n }\r\n else if (this.status == \"adduser\") {\r\n this.adduser = true;\r\n }\r\n else if (this.status == \"alreadyConfirmed\") {\r\n this.alreadyConfirmed = true;\r\n }\r\n else {\r\n this.confirmationError = true;\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n

Link expired ! Please Contact Us.

\r\n \r\n
\r\n\r\n
\r\n

Password reset link sent.

\r\n

Thank you for submitting a request to reset your password. If you have an account with us, you will receive an email shortly with instructions to reset your password.

\r\n
\r\n\r\n
\r\n

Thank you for verifying your email.

\r\n

Your account is now active. You shall receive the access details shortly to your registered email.

\r\n
\r\n\r\n
\r\n

Password updated Successfully.

\r\n

Please Sign in to continue.

\r\n
\r\n\r\n
\r\n

Email verification link sent.

\r\n

Please click on the link there to verify your email address.

\r\n
\r\n\r\n
\r\n

Thank you for contacting us.

\r\n

We will get back to you soon.

\r\n
\r\n
\r\n

Email already confirmed.

\r\n
\r\n \r\n
\r\n

Error: {{status}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { ProspectResultModel } from '../../../../models/CounterFraudResultModel';\r\nimport { EmailageCheckResultModel, EmailCheckResultModel } from '../../../../models/EmailResultModel';\r\nimport { RequestData } from '../../../../models/SearchRequestModel';\r\nimport { TenantRegion } from '../../../../models/TenantRegionResposne';\r\nimport { MobileResultModel } from '../../../../models/MobileResultModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-email',\r\n templateUrl: './export-pdf-email.component.html',\r\n styleUrls: ['./export-pdf-email.component.css']\r\n})\r\nexport class ExportPdfEmailComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() public emailageOrgId: string = \"\";\r\n @Input() public emailValidation = new EmailCheckResultModel();\r\n @Input() public emailage = new EmailageCheckResultModel();\r\n @Input() public prospect: ProspectResultModel = new ProspectResultModel();\r\n @Input() public regionAccess: TenantRegion = new TenantRegion();\r\n @Input() public opensource: MobileResultModel = new MobileResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername :\r\n '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

Mobile

\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n

Opensource

\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n

Prospect

\r\n \r\n
\r\n
","export class PIPLResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n public validation: boolean;\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AVAResultModel } from '../../../../../../models/AVAResultModel';\r\nimport { MessagingService } from '../../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-pdf-ava-result-motor',\r\n templateUrl: './pdf-ava-result-motor.component.html',\r\n styleUrls: ['./pdf-ava-result-motor.component.css', '../../../../../shared/shared.searchpage.css', '../../../result-pages/ava-result-motor/ava-result-motor.component.css']\r\n})\r\nexport class PdfAvaResultMotorComponent implements OnInit {\r\n\r\n @Input() public ava: AVAResultModel = new AVAResultModel();\r\n public messageService: MessagingService = new MessagingService();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{messageService.SearchFail}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

Vehicle Details

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
VRN :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.VRM }}\r\n Engine Number :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.EngineNumber }}\r\n
VIN :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.VINSerialNumber }}\r\n Engine Capcity :\r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.EngineCapacity}}\r\n
Make :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.MakeModel }}\r\n Fuel Type :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Fuel }}\r\n
Model :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Model }}\r\n Year of Manufacture :\r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.YearOfManufacture}}\r\n
Colour :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Colour }}\r\n First Registered in UK :\r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateFirstRegistered | date: 'dd-MM-yyyy'}}\r\n
Body Type :\r\n
{{ ava?.responseData?.advert?.VehicleBodyType }}
\r\n
Previous Keepers :\r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.KeeperChangesDetails?.KeeperChangesCount}}\r\n
Transmission :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Transmission }}\r\n Co2 Emission :\r\n {{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.CO2Emissions }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

Messages

\r\n
0;else noFoundMessage\" class=\"\">\r\n
\r\n
\r\n

{{message?.MsgLine1}}

\r\n

{{message?.MsgLine2}}

\r\n

{{message?.MsgLine3}}

\r\n

{{message?.MsgLine4}}

\r\n
\r\n
\r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n

Caution Data

\r\n
\r\n
\r\n
\r\n Additional DVLA Data\r\n
\r\n Notified as previously registered at DVLA as \r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.GBVRM}}\r\n
\r\n You must check the previous VRM.\r\n
\r\n
\r\n
\r\n Additional DVLA Data\r\n
\r\n Notified as previously registered at DVLNI as \r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.NIVRM}}\r\n
\r\n You must check the previous VRM.\r\n
\r\n
\r\n
\r\n \r\n
\r\n
Stolen
\r\n
\r\n
\r\n

Date:

\r\n
\r\n
\r\n

Status:

\r\n
\r\n
\r\n

Police Force:

\r\n
\r\n
\r\n

Contact No.:

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.DateOfTransaction }}

\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.Status }}

\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.Force }}

\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.ContactNumber }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
High Risk
\r\n
\r\n
\r\n

High Risk Type: {{ highRisk.HighRiskType }}

\r\n
\r\n
\r\n

Reference No.: ---

\r\n
\r\n
\r\n

Company Name: {{ highRisk.CompanyName }}

\r\n
\r\n
\r\n

Date of Interest: {{ highRisk.DateOfInterest}}

\r\n
\r\n
\r\n

Contact No.: {{ highRisk.ContactNumber }}

\r\n
\r\n
\r\n

Period: {{ highRisk.RegistrationPeriod }}

\r\n
\r\n
\r\n

Contact Reference: {{ highRisk.ContactReference }}

\r\n
\r\n
\r\n

Extra Information: {{ highRisk.ExtraInfo }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Finance
\r\n
\r\n
\r\n
Date of Interest: {{Finance?.AgreementDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Agreement Type: {{Finance?.AgreementType}}
\r\n
\r\n
\r\n
Finance Company: {{Finance?.FinanceCompany}}
\r\n
\r\n
\r\n
Agreement Term: {{Finance?.AgreementTerm + ' months'}}
\r\n
\r\n
\r\n
Contact No.: {{Finance?.ContactNumber}}
\r\n
\r\n
\r\n
Vehicle Description: {{Finance?.VehicleDescription}}
\r\n
\r\n
\r\n
Agreement No.: {{Finance?.AgreementNumber}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
ABI Condition
\r\n
\r\n
\r\n
Loss Type: {{ConditionDetails?.Status}}
\r\n
\r\n
\r\n
Loss Date: {{ConditionDetails?.LossDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
MIAFTR Entry Date: {{ConditionDetails?.MIAFTRENTRYDATE | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Make and Model: {{ConditionDetails?.Make + ' ' + ConditionDetails?.Model}}
\r\n
\r\n
\r\n
Theft indicator: {{ConditionDetails?.TheftIndicatorLiteral}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Scrapped
\r\n
\r\n Recorded as scrapped on {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateScrapped | date:'dd-MM-yyyy'}}\r\n
\r\n
\r\n DVLA have recorded a Certificate of Destruction was issued on this vehicle on {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateScrapped | date:'dd-MM-yyyy'}}\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Plate Change
\r\n
\r\n
\r\n
Previous VRM
\r\n
\r\n
\r\n
Date of Transfer
\r\n
\r\n
\r\n
\r\n
\r\n
{{PlateChanges?.PreviousVRM}}
\r\n
\r\n
\r\n
{{PlateChanges?.DateOfReceipt | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
0\">\r\n
\r\n \r\n Current VRM \r\n \r\n {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.PlateChangeDetails?.PlateChanges1[0].CurrentVRM}}\r\n \r\n  please check the plate for further details.\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
Exported
\r\n
\r\n
\r\n
Date
\r\n
\r\n
\r\n
Status
\r\n
\r\n
\r\n
\r\n
\r\n
{{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateExported | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Exported
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n

Potential Import

\r\n
\r\n Previously registered and/or used, declared manufactured in {{ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.YearOfManufacture}}\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
Colour Change
\r\n
\r\n
\r\n
Colours
\r\n
\r\n
\r\n
Previous colour
\r\n
\r\n
\r\n
Date changed
\r\n
\r\n
\r\n
\r\n
\r\n
{{ColourChange?.NumberOfPreviousColours}}
\r\n
\r\n
\r\n
{{ColourChange?.LastColour}}
\r\n
\r\n
\r\n
{{ColourChange?.DateOfLastColourChange | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
Vehicle Identity Check
\r\n
\r\n
\r\n
Result
\r\n
\r\n
\r\n
VIC Date
\r\n
\r\n
\r\n
\r\n
\r\n
{{(VehicleIDCheck?.VICResult === 1)?'PASS':'FAIL'}}
\r\n
\r\n
\r\n
{{VehicleIDCheck?.VICDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n

Keeper Changes

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
KeeperLast ChangedTransaction
\r\n {{ keeper?.NumberOfPreviousKeepers }}\r\n \r\n {{ keeper?.DateOfLastKeeperChange | date:'dd-MM-yyyy'}}\r\n \r\n {{ keeper?.DateOfTransaction | date:'dd-MM-yyyy'}}\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

Status

\r\n
\r\n
\r\n
\r\n
\r\n

{{ ava?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleStatus }}

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NOT STOLEN

\r\n

STOLEN

\r\n
\r\n
\r\n
\r\n
\r\n

NO HIGH RISK

\r\n

HIGH RISK

\r\n
\r\n
\r\n
\r\n
\r\n

NO FINANCE

\r\n

FINANCE

\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NO ABI CONDITION

\r\n

ABI CONDITION

\r\n
\r\n
\r\n
\r\n
\r\n

NOT SCRAPPED

\r\n

SCRAPPED

\r\n
\r\n
\r\n
\r\n
\r\n

ORIGINAL PLATE

\r\n

PLATE CHANGE

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NO EXPORT DATA

\r\n

EXPORTED

\r\n
\r\n
\r\n
\r\n
\r\n

NO IMPORT DATA

\r\n

POTENTIAL IMPORT

\r\n
\r\n
\r\n
\r\n
\r\n

NO EXTRA DATA

\r\n

EXTRA DATA

\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n

\r\n Previous Searches\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Type Of BusinessDate Of TransactionTime Of Transaction
\r\n {{ search?.TypeOfBusiness }}\r\n \r\n {{ search?.DateOfTransaction| date:'dd-MM-yyyy' }}\r\n \r\n {{ search?.TimeOfTransaction }}\r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n

Mot History

\r\n
\r\n
\r\n
\r\n

Test Date

\r\n
\r\n
\r\n

Expiry Date

\r\n
\r\n
\r\n

Test Result

\r\n
\r\n
\r\n

\r\n Odometer Reading\r\n

\r\n
\r\n
\r\n

\r\n Mot Test Number\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ mot?.TestDate }}

\r\n
\r\n
\r\n

{{ mot?.ExpiryDate }}

\r\n
\r\n
\r\n

{{ mot?.TestResult }}

\r\n
\r\n
\r\n

{{ mot?.OdometerReading }}

\r\n
\r\n
\r\n

{{ mot?.TestNumber }}

\r\n
\r\n\r\n
\r\n
Advisory Notice Items
\r\n
    \r\n
  • \r\n {{ notice }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n

Advert

\r\n
\r\n
\r\n
\r\n

\r\n Title: {{ advert?.AdvertTitle }}\r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \"Los\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n

Source: {{ advert?.AdvertSource }}

\r\n
\r\n
\r\n

Mileage: {{ advert?.vehicleMileage }}

\r\n
\r\n
\r\n

Posted on: {{ advert?.VehiclePostedOn | date:'dd-MM-yyyy'}}

\r\n
\r\n
\r\n

Price: {{ advert?.VehiclePrice }}

\r\n
\r\n
\r\n

Seller: {{ advert?.Seller}}

\r\n
\r\n
\r\n

Seller Email:{{ advert?.DetailedData?.SellerDetail?.SellerEmail}}

\r\n
\r\n
\r\n

Seller Mobile: {{ advert?.DetailedData?.SellerDetail?.SellerMobile}}

\r\n
\r\n
\r\n

Seller Location: {{ advert?.DetailedData?.SellerDetail?.SellerLocation }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Description\r\n
\r\n
\r\n

\r\n {{ advert?.VehicleDescription }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { ActivatedRoute, NavigationEnd, Router } from '@angular/router';\r\nimport { SearchService } from './home/services/search.service';\r\nimport { Token } from './demo/V3/search-pages/models/Items';\r\nimport { Shared } from './demo/V3/services/shared';\r\nimport { IdleService } from './shared/service/idle.service';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AppComponent implements OnInit {\r\n public loggedIn: boolean = false;\r\n public loggedInUser: string;\r\n public screen: boolean = false;\r\n public search: boolean = false;\r\n public settingsvisibility: boolean = true;\r\n public settingsPage: boolean = false;\r\n public tenantId: number;\r\n public userId: string;\r\n public token: string;\r\n public isShowHeader: boolean = true;\r\n public isShowFooter: boolean = true;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute, private searchService: SearchService) {\r\n this.route.queryParams.subscribe((params) => {\r\n this.tenantId = params.TenantId;\r\n this.token = params.Token;\r\n this.userId = params.UserId;\r\n if (this.token && this.tenantId && this.userId) {\r\n this.redirectToSettingsWithTenant();\r\n }\r\n });\r\n\r\n // route detection\r\n router.events.subscribe((event) => {\r\n if (event instanceof NavigationEnd) {\r\n this.isShowHeader = true;\r\n this.isShowFooter = true;\r\n if (event.url === \"/settings\" || this.tenantId) {\r\n this.settingsPage = true;\r\n } else if (event.url.includes('v3')) {\r\n this.isShowHeader = false;\r\n this.isShowFooter = false;\r\n } else {\r\n this.settingsPage = false;\r\n }\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n // this.idleService.startWatching();\r\n let cc = window as any;\r\n this.loggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n this.isLoginExpires();\r\n }\r\n\r\n ngDoCheck() {\r\n this.loggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n }\r\n\r\n public redirectToSettingsWithTenant(): void {\r\n localStorage.removeItem(\"access_token\");\r\n localStorage.removeItem(\"expires_in\");\r\n localStorage.removeItem(\"token_type\");\r\n localStorage.removeItem(\"userId\");\r\n localStorage.removeItem(\"username\");\r\n localStorage.setItem(\"access_token\", this.token);\r\n localStorage.setItem(\"userId\", this.userId);\r\n this.router.navigate([\"/settings\"], { queryParams: { Tenant: btoa(this.tenantId.toString()) } });\r\n }\r\n\r\n logout() {\r\n this.userId = localStorage.getItem(\"userId\");\r\n this.searchService.logout(this.userId).subscribe(data => {\r\n console.log(data['message']);\r\n })\r\n this.loggedInUser = \"\";\r\n localStorage.removeItem(\"otpExpirationTime\");\r\n localStorage.removeItem(\"access_token\");\r\n localStorage.removeItem(\"expires_in\");\r\n localStorage.removeItem(\"token_type\");\r\n localStorage.removeItem(\"userId\");\r\n localStorage.removeItem(\"username\");\r\n this.search = false;\r\n this.screen = false;\r\n this.settingsvisibility = false;\r\n this.router.navigate(['/Login']);\r\n }\r\n\r\n toHome() {\r\n this.router.navigate(['/v3']);\r\n }\r\n\r\n screenDisplay() {\r\n this.router.navigate([\"/screen\"]);\r\n }\r\n searchDisplay() {\r\n this.router.navigate([\"/search\"]);\r\n }\r\n settings() {\r\n this.router.navigate([\"/settings\"]);\r\n }\r\n\r\n reloadComponent() {\r\n let currentUrl = this.router.url;\r\n this.router.routeReuseStrategy.shouldReuseRoute = () => false;\r\n this.router.onSameUrlNavigation = 'reload';\r\n this.router.navigate([currentUrl]);\r\n }\r\n\r\n public isLoginExpires() {\r\n let expiryDate = Shared.getAccessTokenExpiryDateTime(null);\r\n\r\n if (expiryDate) {\r\n var today = new Date();\r\n if (expiryDate < today) {\r\n // var token = new Token(localStorage.getItem(\"access_token\"));\r\n // this.searchService.refreshtoken(token).subscribe(\r\n // (data) => {\r\n // localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n // localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n // localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n // },\r\n // (error) => {\r\n // if (error.status == 400) {\r\n this.logout();\r\n // }\r\n // }\r\n // );\r\n }\r\n }\r\n }\r\n\r\n public parseDate(dateStr): Date {\r\n return new Date(dateStr);\r\n }\r\n\r\n title = 'app';\r\n}\r\n","
\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
Copyright © 2025, HeadsUp Technologies Limited
\r\n \r\n
Company registered in England & Wales number 12968519
\r\n
\r\n
\r\n \"\"\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DriverLicenceCheckResultModel } from '../../../../models/DriverLicenceCheckResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-licence-detail-result',\r\n templateUrl: './licence-detail-result.component.html',\r\n styleUrls: ['./licence-detail-result.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class LicenceDetailResultComponent implements OnInit {\r\n\r\n @Input() driverLicenceResultDataModel: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n \r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
{{messagingService.SearchFail}}
\r\n
{{messagingService.NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
Driving Licence Number:
\r\n
{{driverLicenceResultDataModel.responseData.driver.drivingLicenceNumber}}
\r\n
\r\n
\r\n
Licence Type:
\r\n
{{driverLicenceResultDataModel.responseData.licence.type}}
\r\n
\r\n
\r\n
Licence Status:
\r\n
\r\n
\r\n {{driverLicenceResultDataModel.responseData.licence.status}}\r\n
\r\n
\r\n {{driverLicenceResultDataModel.responseData.licence.statusQualifier}}\r\n
\r\n
\r\n
\r\n
\r\n
Issue Number:
\r\n
{{driverLicenceResultDataModel.responseData.token.issueNumber}}
\r\n
\r\n
\r\n
Valid From:
\r\n
{{driverLicenceResultDataModel.responseData.token.validFromDate}}
\r\n
\r\n
\r\n
Valid To:
\r\n
{{driverLicenceResultDataModel.responseData.token.validToDate}}
\r\n
\r\n
\r\n \r\n
\r\n ","import { Component, ElementRef, OnInit } from '@angular/core';\r\nimport { SearchService } from '../services/search.service';\r\nimport { LandingPageImage } from './model/landingpage-image';\r\nimport { AppComponent } from '../../../app.component';\r\n\r\n@Component({\r\n selector: 'app-landing',\r\n templateUrl: './landing.component.html',\r\n styleUrls: ['./landing.component.css']\r\n})\r\nexport class LandingComponent implements OnInit {\r\n\r\n public landingImage: LandingPageImage = new LandingPageImage();\r\n public userDetails: any;\r\n\r\n // Init image\r\n public personalImgSrc: string = this.landingImage.personalImgSrc;\r\n public hutScreenImgSrc: string = this.landingImage.hutScreenImgSrc;\r\n public businessImgSrc: string = this.landingImage.businessImgSrc;\r\n public mobileImgSrc: string = this.landingImage.mobileImgSrc;\r\n public emailImgSrc: string = this.landingImage.emailImgSrc;\r\n public motorImgSrc: string = this.landingImage.motorImgSrc;\r\n public driverLicenceCheckImgSrc: string = this.landingImage.driverLicenceCheckImgSrc;\r\n public photoAnalysisImgSrc: string = this.landingImage.photoAnalysisImgSrc;\r\n public documentValidationImgSrc: string = this.landingImage.documentValidationImgSrc;\r\n public rtwImgSrc: string = this.landingImage.rtwImgSrc;\r\n public idCheckImgSrc: string = this.landingImage.idCheckImgSrc;\r\n\r\n // Access Screening\r\n public isPersonalAccess: boolean = false;\r\n public isHUTScreenAccess: boolean = false;\r\n public isBusinessAccess: boolean = false;\r\n public isMobileAccess: boolean = false;\r\n public isEmailAccess: boolean = false;\r\n public isMotorAccess: boolean = false;\r\n public isdriverLicenceCheckAccess: boolean = false;\r\n public isPhotoAnalysisAccess: boolean = false;\r\n public isDocumentValidationAccess: boolean = false;\r\n public isRTWAccess: boolean = false;\r\n public isIDCheckAccess: boolean = false;\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n private searchService: SearchService,\r\n public appComponent: AppComponent\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.appComponent.isLoginExpires();\r\n this.initScreeningAccess();\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.userDetails = data;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n }\r\n\r\n initScreeningAccess() {\r\n this.isPersonalAccess = false;\r\n this.isHUTScreenAccess = false;\r\n this.isBusinessAccess = false;\r\n this.isMobileAccess = false;\r\n this.isMotorAccess = false;\r\n this.isEmailAccess = false;\r\n this.isPhotoAnalysisAccess = false;\r\n this.isdriverLicenceCheckAccess = false;\r\n this.isDocumentValidationAccess = false;\r\n this.isRTWAccess = false;\r\n this.isIDCheckAccess = false;\r\n\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n let keys = Array.from(data).filter(x => x.licenceType == \"SearchAvailability\" && x.defaultValue == true).map(x => x.key);\r\n this.setSearchAvailabilityAccess(keys);\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n setSearchAvailabilityAccess(keys: string[]) {\r\n keys.forEach(x => {\r\n switch (x) {\r\n case \"PERSONAL\":\r\n this.isPersonalAccess = true;\r\n break;\r\n case \"HUTSCREEN\":\r\n this.isHUTScreenAccess = true;\r\n break;\r\n case \"BUSINESS\":\r\n this.isBusinessAccess = true;\r\n break;\r\n case \"MOBILE\":\r\n this.isMobileAccess = true;\r\n break;\r\n case \"EMAIL\":\r\n this.isEmailAccess = true;\r\n break;\r\n case \"MOTOR\":\r\n this.isMotorAccess = true;\r\n break;\r\n case \"PHOTOANALYSIS\":\r\n this.isPhotoAnalysisAccess = true;\r\n break;\r\n case \"DOCUMENTVALIDATION\":\r\n this.isDocumentValidationAccess = true;\r\n break;\r\n case \"RIGHTTOWORK\":\r\n this.isRTWAccess = true;\r\n break;\r\n case \"IDCHECK\":\r\n this.isIDCheckAccess = true;\r\n break;\r\n case \"DRIVERLICENCECHECK\":\r\n this.isdriverLicenceCheckAccess = true;\r\n break;\r\n }\r\n })\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

Welcome {{userDetails?.firstname ? userDetails?.firstname : '-' | titlecase}}.

\r\n

Select your
search area
and dive in!

\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { EmailageCheckResultModel } from '../../../../../models/EmailResultModel';\r\nimport { MobileResultModel } from '../../../../../models/MobileResultModel';\r\n\r\n@Component({\r\n selector: 'app-dashboard-three-business',\r\n templateUrl: './dashboard-three-business.component.html',\r\n styleUrls: ['./dashboard-three-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class DashboardThreeBusinessComponent implements OnInit {\r\n\r\n @Input() emailage: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n @Input() mobile: MobileResultModel = new MobileResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n\r\n
\r\n
\r\n Email\r\n
\r\n
\r\n
\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.EmailRequiredMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageSercice.NoRelevantDataMessageShort}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{emailage.responseData?.data?.emailRiskInfo?.riskBandIdStatus}}
\r\n
\r\n
\r\n
{{emailage.responseData?.data?.emailRiskInfo?.riskBandIdStatus}}
\r\n
\r\n
=4 && emailage.responseData?.data?.emailRiskInfo?.riskBandId <= 6\">\r\n
{{emailage.responseData?.data?.emailRiskInfo?.riskBandIdStatus}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Mobile\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.MobileRequiredMessage}}
\r\n
\r\n\r\n
\r\n
\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-ltd-creditlimit-business',\r\n templateUrl: './ltd-creditlimit-business.component.html',\r\n styleUrls: ['./ltd-creditlimit-business.component.css']\r\n})\r\nexport class LtdCreditlimitBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DateCurrencyValue
{{credit?.date | date:'dd-MM-yyyy'}}{{credit?.companyValue?.currency}}{{credit?.companyValue?.value}}
\r\n","export class AMLResultModel {\r\n public isLoading: boolean;\r\n public validation: boolean;\r\n public noSearchSelect: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n}\r\n\r\n\r\nexport interface PEP {\r\n Country?: string;\r\n SubCategories?: string[];\r\n AdminLevel?: string;\r\n Status?: string;\r\n GoverningInstitution?: string;\r\n GoverningRole?: string;\r\n EffectiveDate?: string;\r\n EffectiveDateType?: string;\r\n ExpirationDate?: string;\r\n ExpirationDateType?: string;\r\n}\r\n\r\nexport interface PEPRecord {\r\n ID: string;\r\n PEP: PEP; \r\n}\r\n\r\n\r\n// export interface AdverseMedia {\r\n// ID:string;\r\n// Adverse:Media;\r\n// }\r\n\r\n// export interface Media {\r\n// Description: string;\r\n// SubCategories: string[];\r\n// DateModified?:string;\r\n// }\r\n\r\n// export interface EnforcementRecord {\r\n// ID: string;\r\n// Country: string;\r\n// Source: string;\r\n// Offence: string;\r\n// }\r\n\r\n// export interface SanctionRecord {\r\n// ID: string;\r\n// Country: string;\r\n// Source: string;\r\n// }\r\n\r\n// export interface Addresses {\r\n// ID: string;\r\n// Street1:string;\r\n// City: string;\r\n// Country: string;\r\n// PostalCode: string;\r\n// Category: string;\r\n// }\r\n","export class LandRegistryResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n public validation: boolean;\r\n}","import { Component, Input, OnInit } from '@angular/core';\r\nimport { CCJResponseModel } from '../../models/CCJResponseModel';\r\nimport { InputAccessData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-cjj-check',\r\n templateUrl: './cjj-check.component.html',\r\n styleUrls: ['./cjj-check.component.css']\r\n})\r\nexport class CJJCheckComponent implements OnInit {\r\n\r\n @Input() public ccjResultData: CCJResponseModel = new CCJResponseModel();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n\r\n public NoSearchSelect = \"Search option not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n public NoRelevantDataMessage = \"No relevant data found.\";\r\n public OtherFieldRequired = \"Additional data is required.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{NoSearchSelect}}
\r\n
{{SearchFail}}
\r\n
{{NoRelevantDataMessage}}
\r\n
{{OtherFieldRequired}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Court Name : {{ccj.courtName}}
\r\n

Case Number : {{ccj.caseNumber}}

\r\n

Amount :

\r\n

Type : {{ccj.judgementType}}

\r\n

Date : {{ccj.judgementDate | date: 'dd-MM-yyyy'}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AddressResultModel, T2AResultModel } from '../../../../../models/AddressResultModel';\r\nimport { AMLResultModel } from '../../../../../models/AMLResultModel';\r\nimport { AssociatedResultModel } from '../../../../../models/AssociatedResultModel';\r\nimport { CompaniesHouseResultModel } from '../../../../../models/CompaniesHouseResultModel';\r\nimport { CounterFraudResultModel, ProspectResultModel } from '../../../../../models/CounterFraudResultModel';\r\nimport { CriminalityResultModel } from '../../../../../models/CriminalityResultModel';\r\nimport { EmailageCheckResultModel, EmailCheckResultModel, IdCheckResultModel, RightToWorkCheckResultModel } from '../../../../../models/EmailResultModel';\r\nimport { CCJResultModel, FinancialResultModel, InsolvencyResultModel } from '../../../../../models/FinancialResultModel';\r\nimport { LandRegistryResultModel } from '../../../../../models/LandRegistryResultModel';\r\nimport { MobileResultModel } from '../../../../../models/MobileResultModel';\r\nimport { PIPLResultModel } from '../../../../../models/PIPLResultModel';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\nimport { SocialMediaResultModel } from '../../../../../models/SocialMediaResultModel';\r\nimport { SportsResultModel } from '../../../../../models/SportsResultModel';\r\nimport { DVLAResultModel, MotHistoryResultModel } from '../../../../../models/DVLAResultModel';\r\nimport { ExperianResultModel } from '../../../../../models/ExperianResultModel';\r\nimport { AVAResultModel } from '../../../../../models/AVAResultModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-person',\r\n templateUrl: './export-pdf-person.component.html',\r\n styleUrls: ['./export-pdf-person.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class ExportPdfPersonComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() public address: AddressResultModel = new AddressResultModel();\r\n @Input() public aml: AMLResultModel = new AMLResultModel();\r\n @Input() public ccj: CCJResultModel = new CCJResultModel();\r\n @Input() public insolvency: InsolvencyResultModel = new InsolvencyResultModel();\r\n @Input() public mobile: MobileResultModel = new MobileResultModel();\r\n @Input() public counterFraud: CounterFraudResultModel = new CounterFraudResultModel();\r\n @Input() public email: EmailCheckResultModel = new EmailCheckResultModel();\r\n @Input() public emailage: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n @Input() public rightToWork: RightToWorkCheckResultModel = new RightToWorkCheckResultModel();\r\n @Input() public idCheck: IdCheckResultModel = new IdCheckResultModel();\r\n @Input() public financial: FinancialResultModel = new FinancialResultModel();\r\n @Input() public companiesHouse: CompaniesHouseResultModel = new CompaniesHouseResultModel();\r\n @Input() public prospect: ProspectResultModel = new ProspectResultModel();\r\n @Input() public associated: AssociatedResultModel = new AssociatedResultModel();\r\n @Input() public criminality: CriminalityResultModel = new CriminalityResultModel();\r\n @Input() public sports: SportsResultModel = new SportsResultModel();\r\n @Input() public pipl: PIPLResultModel = new PIPLResultModel();\r\n @Input() public opensource: MobileResultModel = new MobileResultModel();\r\n @Input() public emailValidation: EmailCheckResultModel = new EmailCheckResultModel()\r\n @Input() public socialMedia: SocialMediaResultModel = new SocialMediaResultModel();\r\n @Input() public t2a: T2AResultModel = new T2AResultModel();\r\n @Input() public landRegistry: LandRegistryResultModel = new LandRegistryResultModel();\r\n @Input() public ava: AVAResultModel = new AVAResultModel();\r\n @Input() public dvla: DVLAResultModel = new DVLAResultModel();\r\n @Input() public experian: ExperianResultModel = new ExperianResultModel();\r\n @Input() public motHistory: MotHistoryResultModel = new MotHistoryResultModel();\r\n @Input() public isExperianTabShow: boolean = false;\r\n \r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername : '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
0\">\r\n
\r\n
\r\n
\r\n

Address

\r\n \r\n \r\n
\r\n\r\n
0 || landRegistry?.responseData?.prsDetails.matchResult)\">\r\n
\r\n
\r\n
\r\n

Land Registry

\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

AML

\r\n \r\n
\r\n\r\n
0\">\r\n
\r\n
\r\n
\r\n

Association

\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

CCJ

\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Companies House

\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Crime & Legal

\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Email

\r\n \r\n
\r\n \r\n
\r\n\r\n
0\">\r\n
\r\n
\r\n
\r\n

Insolvency

\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Mobile

\r\n \r\n
\r\n\r\n
0\">\r\n
\r\n
\r\n
\r\n

Opensource

\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Prospect

\r\n \r\n
\r\n\r\n
0)\">\r\n
\r\n
\r\n
\r\n

Social Media

\r\n \r\n
\r\n \r\n
\r\n\r\n
0\">\r\n
\r\n
\r\n
\r\n

Sports

\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n

HUT Motor

\r\n \r\n
\r\n \r\n
\r\n
\r\n

DVLA

\r\n \r\n
\r\n \r\n
\r\n
\r\n

AVA

\r\n \r\n
\r\n \r\n
\r\n
\r\n

Prospect

\r\n \r\n
\r\n \r\n
\r\n
\r\n

MOT History

\r\n \r\n
\r\n
\r\n","export class PersonHistoryResultModel {\r\n public isLoading: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n public validation: boolean;\r\n}","export class CCJResponseModel {\r\n public CCJResult: any;\r\n public searchFail: boolean;\r\n public errorMessage: string;\r\n\r\n constructor() { }\r\n}\r\n","export class LandingPageImage {\r\n\r\n // Init image\r\n public personalImgSrc: string = \"\";\r\n public hutScreenImgSrc: string = \"\";\r\n public businessImgSrc: string = \"\";\r\n public mobileImgSrc: string = \"\";\r\n public emailImgSrc: string = \"\";\r\n public motorImgSrc: string = \"\";\r\n public driverLicenceCheckImgSrc: string = \"\";\r\n public photoAnalysisImgSrc: string = \"\";\r\n public documentValidationImgSrc: string = \"\";\r\n public rtwImgSrc: string = \"\";\r\n public idCheckImgSrc: string = \"\";\r\n\r\n // Disabled grey image\r\n public personalGreyImgSrc: string = \"\";\r\n public hutScreenGreyImgSrc: string = \"\";\r\n public businessGreyImgSrc: string = \"\";\r\n public mobileGreyImgSrc: string = \"\";\r\n public emailGreyImgSrc: string = \"\";\r\n public motorGreyImgSrc: string = \"\";\r\n public driverLicenceCheckGreyImgSrc: string = \"\";\r\n public photoAnalysisGreyImgSrc: string = \"\";\r\n public documentValidationGreyImgSrc: string = \"\";\r\n public rtwGreyImgSrc: string = \"\";\r\n public idCheckGreyImgSrc: string = \"\";\r\n\r\n // Hover image\r\n public personalROImgSrc: string = \"\";\r\n public hutScreenROImgSrc: string = \"\";\r\n public businessROImgSrc: string = \"\";\r\n public mobileROImgSrc: string = \"\";\r\n public emailROImgSrc: string = \"\";\r\n public motorROImgSrc: string = \"\";\r\n public driverLicenceCheckROImgSrc: string = \"\";\r\n public photoAnalysisROImgSrc: string = \"\";\r\n public documentValidationROImgSrc: string = \"\";\r\n public rtwROImgSrc: string = \"\";\r\n public idCheckROImgSrc: string = \"\";\r\n\r\n constructor() {\r\n // Init Image\r\n this.personalImgSrc = '../../../../assets/Images/new/HUT-icon.v3-personal.png';\r\n this.hutScreenImgSrc = '../../../../assets/Images/new/HUT-icon.v3-hut-screen.png';\r\n this.businessImgSrc = '../../../../assets/Images/new/HUT-icon.v3-business.png';\r\n this.mobileImgSrc = '../../../../assets/Images/new/HUT-icon.v3-mobile.png';\r\n this.emailImgSrc = '../../../../assets/Images/new/HUT-icon.v3-email.png';\r\n this.motorImgSrc = '../../../../assets/Images/new/HUT-icon.v3-motor.png';\r\n this.driverLicenceCheckImgSrc = '../../../../assets/Images/new/HUT-icon.v3-driver-licence (1).png';\r\n this.photoAnalysisImgSrc = '../../../../assets/Images/new/HUT-icon.v3-photo-analysis.png';\r\n this.documentValidationImgSrc = '../../../../assets/Images/new/HUT-icon.v3-doc-validation.png';\r\n this.rtwImgSrc = '../../../../assets/Images/new/HUT-icon.v3-right-to-work.png';\r\n this.idCheckImgSrc = '../../../../assets/Images/new/HUT-icon.v3-id-check.png';\r\n\r\n // Hover Image\r\n this.personalROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-personal-RO.png';\r\n this.hutScreenROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-hut-screen-RO.png';\r\n this.businessROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-business-RO.png';\r\n this.mobileROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-mobile-RO.png';\r\n this.emailROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-email-RO.png';\r\n this.motorROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-motor-RO.png';\r\n this.driverLicenceCheckROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-driver-licence-GLOW (1).png';\r\n this.photoAnalysisROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-photo-analysis-RO.png';\r\n this.documentValidationROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-doc-validation-RO.png';\r\n this.rtwROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-right-to-work-RO.png';\r\n this.idCheckROImgSrc = '../../../../assets/Images/new/HUT-icon.v3-id-check-RO.png';\r\n\r\n // Grey Image\r\n this.personalGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-personal-LOCK-lab.png';\r\n this.hutScreenGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-hut-screen-LOCK-lab.png';\r\n this.businessGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-business-grey.png';\r\n this.mobileGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-mobile-LOCK-lab.png';\r\n this.emailGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-email-LOCK-lab.png';\r\n this.motorGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-motor-LOCK-lab.png';\r\n this.driverLicenceCheckGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-driver-licence-LOCK.png';\r\n this.photoAnalysisGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-photo-analysis-grey.png';\r\n this.documentValidationGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-doc-validation-LOCK-lab.png';\r\n this.rtwGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-right-to-work-LOCK-lab.png';\r\n this.idCheckGreyImgSrc = '../../../../assets/Images/new/HUT-icon.v3-id-check-LOCK-lab.png';\r\n }\r\n\r\n}\r\n","import { Component, Input } from '@angular/core';\r\nimport { AVAResultData } from '../home/models/AVAModel/AVAResultData';\r\nimport { AddressResponseModel } from './models/AddressResponseModel';\r\nimport { AmlResponseModel } from './models/AmlResponseModel';\r\nimport { AvaResponseModel } from './models/AvaResponseModel';\r\nimport { CCJResponseModel } from './models/CCJResponseModel';\r\nimport { CounterFraudResponse } from './models/CounterFraudModel';\r\nimport { EmailCheckResponse } from './models/EmailCheckModel';\r\nimport { FinancialResponseModel } from './models/FinancialModel';\r\nimport { InputAccessData, InputData } from './models/InputDataModel';\r\nimport { MobileResponse } from './models/MobileResponseModel';\r\nimport { ProspectResponseModel } from './models/ProspectResponseModel';\r\n\r\n@Component({\r\n selector: 'app-exportpdf',\r\n templateUrl: './exportpdf.component.html',\r\n styleUrls: ['./exportpdf.component.css']\r\n})\r\n\r\nexport class ExportpdfComponent {\r\n\r\n @Input() public inputData: InputData = new InputData();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n @Input() public mobile: MobileResponse = new MobileResponse();\r\n @Input() public counterFraud: CounterFraudResponse = new CounterFraudResponse();\r\n @Input() public email: EmailCheckResponse = new EmailCheckResponse();\r\n @Input() public financial: FinancialResponseModel = new FinancialResponseModel();\r\n @Input() public address: AddressResponseModel = new AddressResponseModel();\r\n @Input() public avaResult: AvaResponseModel = new AvaResponseModel();\r\n @Input() public prospectData: ProspectResponseModel = new ProspectResponseModel();\r\n @Input() public amlResultData: AmlResponseModel = new AmlResponseModel();\r\n @Input() public ccjResultData: CCJResponseModel = new CCJResponseModel();\r\n @Input() public insolvencyData: CCJResponseModel = new CCJResponseModel();\r\n\r\n constructor() { }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
    \r\n
  • \r\n AML\r\n
  • \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
    \r\n
  • \r\n Ava\r\n
  • \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
    \r\n
  • \r\n CCJ\r\n
  • \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\nimport { SearchService } from '../../../../../../services/search.service';\r\n\r\n@Component({\r\n selector: 'app-ltd-registeration-business',\r\n templateUrl: './ltd-registeration-business.component.html',\r\n styleUrls: ['./ltd-registeration-business.component.css']\r\n})\r\nexport class LtdRegisterationBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n public APIKey: string = null;\r\n\r\n constructor(private searchService: SearchService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n streetViewUrl(address: string): string {\r\n const encodedAddress = encodeURIComponent(address);\r\n return `https://maps.googleapis.com/maps/api/streetview?size=600x300&location==${encodedAddress}&key=AIzaSyD6bQM-KV4Ul5Fcycmlzu7q4gWGJ05lraE`;\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Company Name{{business?.responseData?.creditsafeResult?.report?.companySummary?.businessName}}
Company Number{{business?.responseData?.creditsafeResult?.report?.companySummary?.companyRegistrationNumber}}
Incorporation Date{{business?.responseData?.creditsafeResult?.report?.companyIdentification?.basicInformation?.companyRegistrationDate | date:'dd-MMM-yyyy'}}
Status{{business?.responseData?.creditsafeResult?.report?.companySummary?.companyStatus?.status}}
Type{{business?.responseData?.creditsafeResult?.report?.companyIdentification?.basicInformation?.legalForm?.description}}
SIC Code{{business?.responseData?.creditsafeResult?.report?.companySummary?.mainActivity?.code}}
Description{{business?.responseData?.creditsafeResult?.report?.companySummary?.mainActivity?.description}}
Address Type{{business?.responseData?.creditsafeResult?.report?.contactInformation?.mainAddress?.type}}
Address{{business?.responseData?.creditsafeResult?.report?.companyIdentification?.basicInformation?.contactAddress?.simpleValue}}
Other Addresses\r\n 0\">\r\n \r\n \r\n \r\n
{{address.simpleValue}}
\r\n
Phone Number{{business?.responseData?.creditsafeResult?.report?.contactInformation?.mainAddress?.telephone}}
Website\r\n \r\n
VAT Number{{business?.responseData?.creditsafeResult?.report?.companyIdentification?.basicInformation?.vatRegistrationNumber}}
Previous Name Details\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Previous NameDate Previous Name Changed
{{previousName?.name}}{{previousName?.dateChanged | date:'dd-MMM-yyyy'}}
\r\n
Subsidiary Companies\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Company NameCompany NumberTypeStatusAddress
{{company?.name}}{{company?.registrationNumber}}{{company?.type}}{{company?.status}}{{company?.address?.simpleValue}}
\r\n
Employee Information\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
YearNumber Of Employees
{{employee?.year}}{{employee?.numberOfEmployees}}
\r\n
\r\n","export class NewClient {\r\n constructor(\r\n public userId: string,\r\n public firstName: string,\r\n public lastName: string,\r\n public department: string,\r\n public email: string,\r\n public password: string,\r\n public licenceId:number,\r\n public licenceName: string,\r\n public isAdmin:boolean,\r\n public isActive: boolean,\r\n public isDeleted: boolean,\r\n public emailConfirmed:boolean\r\n ) { }\r\n}\r\n","import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\r\nimport { CounterFraudResponse } from '../../models/CounterFraudModel';\r\nimport { InputAccessData, InputData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-counter-fraud',\r\n templateUrl: './counter-fraud.component.html',\r\n styleUrls: ['./counter-fraud.component.css']\r\n})\r\nexport class CounterFraudComponent implements OnInit {\r\n\r\n @Input() public inputData: InputData = new InputData();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n @Input() public counterFraud: CounterFraudResponse = new CounterFraudResponse();\r\n\r\n // Constant Message\r\n public NoSearchSelectShort = \"Not selected.\";\r\n public OtherFieldRequired = \"Additional data is required.\";\r\n public NoRelevantDataMessageShort = \"No records.\";\r\n public SearchFail = \"Search failed.\";\r\n\r\n // Counter Fraud Chart Dependancy\r\n public canvasWidth = 270\r\n public needleValue = 0\r\n public centralLabel = ''\r\n public bottomLabel = ''\r\n public options = {\r\n hasNeedle: true,\r\n needleColor: 'gray',\r\n needleUpdateSpeed: 1000,\r\n arcColors: ['green', 'orange', '#CE103E'],\r\n arcDelimiters: [33.33, 66.66, 99.99],\r\n needleStartValue: 0,\r\n }\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n //ngOnChanges(changes: SimpleChanges) {\r\n // console.log(\"CounterFraud onChanges : \", changes.counterFraud.currentValue);\r\n // const color = changes.counterFraud.currentValue?.responseData?.data?.ragStatus;\r\n // console.log(\"COlor : \", color);\r\n // if (color) {\r\n // if (color.toLowerCase() === 'green') {\r\n // this.needleValue = 17;\r\n // this.centralLabel = '';\r\n // }\r\n // if (color.toLowerCase() === 'amber') {\r\n // this.needleValue = 50;\r\n // this.centralLabel = '';\r\n // }\r\n // if (color.toLowerCase() === 'red') {\r\n // this.needleValue = 85;\r\n // this.centralLabel = '';\r\n // }\r\n // }\r\n //}\r\n\r\n}\r\n","
\r\n
\r\n Counter Fraud\r\n
{{NoSearchSelectShort}}
\r\n
{{OtherFieldRequired}}
\r\n
{{NoRelevantDataMessageShort}}
\r\n
{{SearchFail}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Item } from '../../home/models/AccessData';\r\n\r\nexport class LicenceTemplate {\r\n public licenceId: Number;\r\n public tenantId: Number;\r\n public licenceName: string;\r\n public allowedLicenseItems: ItemAccess[];\r\n public description: string;\r\n public isDeleted: boolean;\r\n public isActive: boolean;\r\n public modifiedBy: string;\r\n public modifiedOn: Date;\r\n public createdBy: string;\r\n public createdOn: Date;\r\n}\r\n \r\nexport class ItemAccess{\r\n public key: string;\r\n public itemId: number;\r\n public itemName: string;\r\n public licenceType: string;\r\n public defaultValue: boolean;\r\n public toggle: boolean;\r\n public imageUrl: string;\r\n public ParentId: number;\r\n public disabled?: boolean = true;\r\n}\r\n \r\n \r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Business Name:\r\n
\r\n
\r\n
\r\n \r\n

Enter Business Name and Postcode, ABN or ASIC\r\n

\r\n

\r\n {{messagingService.BusinessNameRequiredMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Postcode:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.PostCodeRequiredMessage}}\r\n

\r\n

\r\n {{messagingService.BusinessPostcodeNotValid}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n ABN:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.BusinessABNRequiredMessage}}\r\n

\r\n

\r\n {{messagingService.BusinessABNValidateMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n ASIC:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.BusinessASICRequiredMessage}}\r\n

\r\n

\r\n {{messagingService.BusinessASICValidateMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
","import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { AbstractControl, FormBuilder, FormGroup, ValidationErrors, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { ConfirmationService } from 'primeng/api';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\nimport { SearchService } from 'src/app/demo/V3/services/search.service';\r\nimport { AccessData, ProfileData, RequestData } from '../../../models/SearchRequestModel';\r\nimport { SearchType } from '../../../models/SearchType';\r\nimport { Shared } from 'src/app/demo/V3/services/shared';\r\nimport { Item } from '../../../models/Items';\r\nimport { AustraliaSearchService } from 'src/app/demo/V3/services/australia.search.service';\r\nimport { BusinessSearchResultModel } from '../../../models/AustraliaResultModel/BusinessSearchResultModel';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-au-business',\r\n templateUrl: './au-business.component.html',\r\n styleUrls: ['./au-business.component.css','../../shared/shared.searchpage.css']\r\n})\r\nexport class AuBusinessComponent implements OnInit {\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n @Output() disableExitEventEmitter = new EventEmitter();\r\n public businessForm: FormGroup;\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n public loggedInUsername: string = \"\";\r\n public showResultTab: boolean = false;\r\n public searchType: string = null;\r\n public businessPostcodeRegex = /^(0[289][0-9]{2})$|^([1-9][0-9]{3})$/gm;\r\n public validation: any = {\r\n 'reference': Validators.required,\r\n 'required': Validators.required,\r\n 'businessPostcode': Validators.pattern(this.businessPostcodeRegex),\r\n 'abn': Validators.pattern(/^\\s*[1-9](\\s*\\d){10}\\s*$/gm),\r\n 'asic':Validators.pattern(/^\\s*[0-9](\\s*\\d){8}\\s*$/gm) \r\n };\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n\r\n public businessSearchResultData: BusinessSearchResultModel = new BusinessSearchResultModel();\r\n public accessData: AccessData = new AccessData();\r\n public clearSearchButtonVisibility: boolean = true;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private australiaSearchService: AustraliaSearchService,\r\n private messagingService: MessagingService,\r\n private confirmationService: ConfirmationService,\r\n private router: Router) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"BUSINESS\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.businessForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n businessName: [\"\"],\r\n businessPostcode: [\"\"],\r\n abn: [\"\"],\r\n asic: [\"\"],\r\n });\r\n this.saveAsPDFButtonVisibility = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.clearSearchButtonVisibility = false;\r\n this.getLicenceItems();\r\n this.getUserDetails();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n businessSearch() {\r\n this.showResultTab = false;\r\n this.addValidators();\r\n this.businessForm.updateValueAndValidity();\r\n this.validationCheck();\r\n\r\n // console.log(this.businessForm);\r\n\r\n if (this.businessForm.valid) {\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => { \r\n this.saveAsPDFButtonVisibility = true;\r\n this.clearSearchButtonVisibility = true;\r\n\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n\r\n this.setActiveResultTab();\r\n\r\n this.GetABRSearchByName(requestObj);\r\n\r\n this.GetSearchByABN(requestObj);\r\n\r\n this.GetSearchByASIC(requestObj);\r\n });\r\n }\r\n }\r\n\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.businessForm.get('reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 5000);\r\n }\r\n\r\n\r\n public GetABRSearchByName(requestObj: RequestData): void {\r\n // this.businessSearchResultData.isLoading = false;\r\n this.businessSearchResultData.noRelevantData = false;\r\n this.businessSearchResultData.noSearchSelect = false;\r\n this.businessSearchResultData.responseData = null;\r\n this.businessSearchResultData.searchFail = false;\r\n // this.businessSearchResultData.validation = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.profileData.companyName && requestObj.profileData.companyPostalCode) {\r\n this.businessSearchResultData.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.australiaSearchService.GetABRSearchByName(requestObj).subscribe(data => {\r\n this.businessSearchResultData.isLoading = false;\r\n this.searchType = \"ABRSearchByName\";\r\n this.disableExitEventEmitter.emit(false);\r\n // console.log(data.data);\r\n if (!data || !data.data || data.data.length == 0) {\r\n this.businessSearchResultData.noRelevantData = true;\r\n return;\r\n }\r\n if (data.status == 200)\r\n this.businessSearchResultData.responseData = JSON.parse(data.data);\r\n if (this.businessSearchResultData.responseData.response.exception != null && this.businessSearchResultData.responseData.response.exception.exceptionDescription != null) {\r\n this.businessSearchResultData.noRelevantData = true;\r\n }\r\n console.log(this.businessSearchResultData.responseData);\r\n }, error => {\r\n this.businessSearchResultData.isLoading = false;\r\n this.businessSearchResultData.searchFail = true;\r\n this.disableExitEventEmitter.emit(false);\r\n console.log(error);\r\n });\r\n }\r\n }\r\n\r\n public GetSearchByABN(requestObj: RequestData): void {\r\n if(requestObj.profileData.abn) {\r\n this.businessSearchResultData.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.australiaSearchService.GetSearchByABN(requestObj).subscribe(data => {\r\n this.businessSearchResultData.isLoading = false;\r\n this.searchType = \"SearchByABN\";\r\n this.disableExitEventEmitter.emit(false);\r\n // console.log(data);\r\n if (!data || !data.data || data.data.length == 0) {\r\n this.businessSearchResultData.noRelevantData = true;\r\n return;\r\n }\r\n if (data.status == 200)\r\n this.businessSearchResultData.responseData = JSON.parse(data.data);\r\n if (this.businessSearchResultData.responseData.response.exception != null && this.businessSearchResultData.responseData.response.exception.exceptionDescription != null) {\r\n this.businessSearchResultData.noRelevantData = true;\r\n }\r\n console.log(this.businessSearchResultData.responseData);\r\n }, error => {\r\n this.businessSearchResultData.isLoading = false;\r\n this.businessSearchResultData.searchFail = true;\r\n this.disableExitEventEmitter.emit(false);\r\n console.log(error);\r\n });\r\n }\r\n }\r\n\r\n public GetSearchByASIC(requestObj: RequestData): void {\r\n if(requestObj.profileData.asic){\r\n this.businessSearchResultData.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.australiaSearchService.GetSearchByASIC(requestObj).subscribe(data => {\r\n this.businessSearchResultData.isLoading = false;\r\n this.searchType = \"SearchByASIC\";\r\n this.disableExitEventEmitter.emit(false);\r\n // console.log(data);\r\n if (!data || !data.data || data.data.length == 0) {\r\n this.businessSearchResultData.noRelevantData = true;\r\n return;\r\n }\r\n if (data.status == 200)\r\n this.businessSearchResultData.responseData = JSON.parse(data.data);\r\n if (this.businessSearchResultData.responseData.response.exception != null && this.businessSearchResultData.responseData.response.exception.exceptionDescription != null) {\r\n this.businessSearchResultData.noRelevantData = true;\r\n }\r\n console.log(this.businessSearchResultData.responseData); \r\n }, error => {\r\n this.businessSearchResultData.isLoading = false;\r\n this.businessSearchResultData.searchFail = true;\r\n this.disableExitEventEmitter.emit(false);\r\n console.log(error);\r\n });\r\n }\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.businessForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.businessForm.get('audit').value;\r\n profileData.referenceNumber = this.businessForm.get('reference').value;\r\n profileData.companyName = this.businessForm.get('businessName').value;\r\n profileData.companyPostalCode = this.businessForm.get('businessPostcode').value;\r\n profileData.abn = this.businessForm.get('abn').value;\r\n profileData.asic = this.businessForm.get('asic').value;\r\n\r\n profileData.searchType = SearchType.Business.toString();\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = this.accessData;\r\n return requestObj;\r\n }\r\n\r\n restrictCharacters(event: KeyboardEvent): void {\r\n // Allow only digits\r\n const allowedCharacters = /^[0-9]$/;\r\n \r\n // Get the key pressed\r\n const key = event.key;\r\n \r\n // Prevent the input if the key doesn't match the allowed characters\r\n if (!allowedCharacters.test(key)) {\r\n event.preventDefault();\r\n }\r\n }\r\n \r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.businessForm.controls) {\r\n this.businessForm.get(control).clearValidators();\r\n this.businessForm.get(control).setValidators(this.validation[control]);\r\n this.businessForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n onCompanyNameChange() {\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').setValidators(this.validation['required']);\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n this.validationCheck();\r\n }\r\n\r\n onCompanyPostcodeChange() {\r\n this.businessForm.get('businessPostcode').clearValidators();\r\n this.businessForm.get('businessPostcode').setValidators(this.validation['businessPostcode']);\r\n this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n this.validationCheck();\r\n }\r\n\r\n onCompanyABNChange() {\r\n this.businessForm.get('abn').clearValidators();\r\n this.businessForm.get('abn').setValidators(this.validation['abn']);\r\n this.businessForm.get('abn').updateValueAndValidity();\r\n this.validationCheck();\r\n }\r\n\r\n onCompanyASICChange() {\r\n this.businessForm.get('asic').clearValidators();\r\n this.businessForm.get('asic').setValidators(this.validation['asic']);\r\n this.businessForm.get('asic').updateValueAndValidity();\r\n this.validationCheck();\r\n }\r\n\r\n public resetResultObjects(): void {\r\n this.businessSearchResultData = new BusinessSearchResultModel();\r\n this.disableExitEventEmitter.emit(false);\r\n }\r\n\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public businessClearSearch(): void {\r\n for (const control in this.businessForm.controls) {\r\n this.businessForm.get(control).clearValidators();\r\n this.businessForm.get(control).updateValueAndValidity();\r\n }\r\n //this.businessForm.reset();\r\n this.businessForm.patchValue({\r\n reference: \"\",\r\n businessName: \"\",\r\n businessPostcode: \"\",\r\n abn: \"\",\r\n asic: \"\",\r\n });\r\n this.showResultTab = false;\r\n // this.resetResultObjects();\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n });\r\n }\r\n \r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n case \"LANDREGISTRY\": {\r\n this.accessData.isLandRegistryAccess = item.defaultValue;\r\n this.accessData.isLandRegistryToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n public setActiveResultTab() {\r\n setTimeout(() => {\r\n // Tab Header\r\n var navLine = $('.nav-link');\r\n $.each(navLine, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n \r\n // Tab Result\r\n var tabPane = $('.tab-pane');\r\n $.each(tabPane, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n \r\n // Show first tab as active\r\n $('#business-search-tab').addClass(\"active\");\r\n $('#businessSearch').addClass(\"active\");\r\n }, 2000);\r\n }\r\n\r\n // TODO: this validation need to done through custom validation\r\n public validationCheck() {\r\n\r\n let companyPostcode = this.businessForm.get('businessPostcode').value;\r\n let companyName = this.businessForm.get('businessName').value;\r\n let companyABN = this.businessForm.get('abn').value;\r\n let companyASIC = this.businessForm.get('asic').value;\r\n \r\n if (companyPostcode && companyName) {\r\n this.businessForm.get('businessPostcode').clearValidators();\r\n this.businessForm.get('businessPostcode').setValidators([this.validation['businessPostcode']]);\r\n this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n \r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n this.businessForm.get('abn').clearValidators();\r\n this.businessForm.get('abn').updateValueAndValidity();\r\n\r\n this.businessForm.get('asic').clearValidators();\r\n this.businessForm.get('asic').updateValueAndValidity();\r\n \r\n return;\r\n } \r\n\r\n if(companyPostcode && !companyName) {\r\n this.businessForm.get('businessPostcode').clearValidators();\r\n this.businessForm.get('businessPostcode').setValidators([this.validation['businessPostcode']]);\r\n this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').setValidators([this.validation['required']]);\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n this.businessForm.get('abn').clearValidators();\r\n this.businessForm.get('abn').updateValueAndValidity();\r\n this.businessForm.get('asic').clearValidators();\r\n this.businessForm.get('asic').updateValueAndValidity();\r\n } else {\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n this.businessForm.get('businessPostcode').clearValidators();\r\n this.businessForm.get('businessPostcode').setValidators([this.validation['required']]);\r\n this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n\r\n this.businessForm.get('abn').clearValidators();\r\n this.businessForm.get('abn').updateValueAndValidity();\r\n this.businessForm.get('asic').clearValidators();\r\n this.businessForm.get('asic').updateValueAndValidity();\r\n }\r\n \r\n \r\n if (!companyPostcode && !companyName) {\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n this.businessForm.get('businessPostcode').clearValidators();\r\n this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n if(companyABN || companyASIC) {\r\n if(companyABN) \r\n {\r\n this.businessForm.get('abn').clearValidators();\r\n this.businessForm.get('abn').setValidators([this.validation['abn']]);\r\n this.businessForm.get('abn').updateValueAndValidity();\r\n \r\n this.businessForm.get('asic').clearValidators();\r\n this.businessForm.get('asic').updateValueAndValidity();\r\n } else {\r\n this.businessForm.get('asic').clearValidators();\r\n this.businessForm.get('asic').setValidators([this.validation['required'],this.validation['asic']]);\r\n this.businessForm.get('asic').updateValueAndValidity();\r\n \r\n this.businessForm.get('abn').clearValidators();\r\n this.businessForm.get('abn').updateValueAndValidity();\r\n }\r\n } else {\r\n this.businessForm.get('abn').clearValidators();\r\n this.businessForm.get('abn').setValidators([this.validation['required']]);\r\n this.businessForm.get('abn').updateValueAndValidity();\r\n\r\n this.businessForm.get('asic').clearValidators();\r\n this.businessForm.get('asic').setValidators([this.validation['required']]);\r\n this.businessForm.get('asic').updateValueAndValidity();\r\n }\r\n } \r\n }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { VehicleIdResultModel } from '../../../../../models/VehicleIdResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-au-wovr-stolen',\r\n templateUrl: './au-wovr-stolen.component.html',\r\n styleUrls: ['./au-wovr-stolen.component.css','../../../../shared/shared.searchpage.css']\r\n})\r\nexport class AuWovrStolenComponent implements OnInit {\r\n\r\n @Input() vehicleId: VehicleIdResultModel = new VehicleIdResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n\r\n
\r\n

WOVR

\r\n
\r\n {{messageService.NoRelevantDataMessage}}\r\n
\r\n
0\">\r\n
\r\n
Written Off Incident Code
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.writtenOffInfoModule?.incidentList[0]?.code}}
\r\n
\r\n
\r\n
Written Off Damage Code
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.writtenOffInfoModule?.incidentList[0]?.damageCodes}}
\r\n
\r\n
\r\n
Written Off Jurisdiction
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.writtenOffInfoModule?.incidentList[0]?.jurisdiction}}
\r\n
\r\n
\r\n
Written Off Recorded Date
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.writtenOffInfoModule?.incidentList[0]?.recordedDate}}
\r\n
\r\n
\r\n
Written Off Type Code
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.writtenOffInfoModule?.incidentList[0]?.typeCode}}
\r\n
\r\n
\r\n \r\n

Stolen

\r\n
\r\n {{messageService.NoRelevantDataMessage}}\r\n
\r\n
0\">\r\n
\r\n
Stolen Incident Type
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.stolenInfoModule?.stolenIncidentList[0]?.incidentType}}
\r\n
\r\n
\r\n
Stolen Incident Jurisdiction
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.stolenInfoModule?.stolenIncidentList[0]?.jurisdiction}}
\r\n
\r\n
\r\n
Stolen Incident Reported Date
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.stolenInfoModule?.stolenIncidentList[0]?.reportedDate}}
\r\n
\r\n
\r\n
Stolen Incident List
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.stolenInfoModule?.stolenIncidentList[0]?.summary}}
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { InputAccessData, InputData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-access-toggle',\r\n templateUrl: './access-toggle.component.html',\r\n styleUrls: ['./access-toggle.component.css']\r\n})\r\nexport class AccessToggleComponent implements OnInit {\r\n\r\n @Input() public inputData: InputData = new InputData();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
    \r\n
  • We Tell You

  • \r\n\r\n
  • \r\n \r\n \r\n HUT Database\r\n
  • \r\n
  • \r\n \r\n \r\n Mobile\r\n
  • \r\n
  • \r\n \r\n \r\n Email\r\n
  • \r\n
  • \r\n \r\n \r\n Identity\r\n
  • \r\n
  • \r\n \r\n \r\n Financial\r\n
  • \r\n
  • \r\n \r\n \r\n Address\r\n
    \r\n
  • \r\n
  • \r\n \r\n \r\n Criminality\r\n
  • \r\n
  • \r\n \r\n \r\n Social Media\r\n
  • \r\n
  • \r\n \r\n \r\n Counter Fraud\r\n
  • \r\n
  • \r\n \r\n \r\n Sports\r\n
  • \r\n
  • \r\n \r\n \r\n Adverts\r\n
  • \r\n
  • \r\n \r\n \r\n Companies House\r\n
  • \r\n
  • \r\n \r\n \r\n AVA\r\n
  • \r\n
  • \r\n \r\n \r\n AML\r\n
  • \r\n
  • \r\n \r\n \r\n CCJ Detail\r\n
  • \r\n
  • \r\n \r\n \r\n Insolvency Detail\r\n
  • \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MotorWebResultModel } from '../../../../../models/MotorWebResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-au-vehicle-description',\r\n templateUrl: './au-vehicle-description.component.html',\r\n styleUrls: ['./au-vehicle-description.component.css','../../../../shared/shared.searchpage.css']\r\n})\r\nexport class AuVehicleDescriptionComponent implements OnInit {\r\n\r\n @Input() motorWeb: MotorWebResultModel = new MotorWebResultModel();\r\n @Input() requestData: RequestData = new RequestData();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n\r\n
\r\n
\r\n
Plate Number
\r\n
{{requestData?.profileData?.vRN | uppercase}}
\r\n
\r\n
\r\n
State
\r\n
{{requestData?.profileData?.state}}
\r\n
\r\n
\r\n
VIN
\r\n
{{motorWeb?.responseData?.vehicle?.vin}}
\r\n
\r\n
\r\n
Year
\r\n
{{motorWeb?.responseData?.vehicle?.year}}
\r\n
\r\n
\r\n
Make
\r\n
{{motorWeb?.responseData?.vehicle?.make}}
\r\n
\r\n
\r\n
Model
\r\n
{{motorWeb?.responseData?.vehicle?.model}}
\r\n
\r\n
\r\n
Model Generation
\r\n
{{motorWeb?.responseData?.vehicle['model-generation']}}
\r\n
\r\n
\r\n
Variant
\r\n
{{motorWeb?.responseData?.vehicle?.variant}}
\r\n
\r\n
\r\n
Vehicle Description
\r\n
{{motorWeb?.responseData?.vehicle['vehicle-description']}}
\r\n
\r\n
\r\n
Body Style
\r\n
{{motorWeb?.responseData?.vehicle['body-style']}}
\r\n
\r\n
\r\n
Colour
\r\n
{{motorWeb?.responseData?.vehicle?.colour?.primary}}
\r\n
\r\n
\r\n
Engine Capacity
\r\n
{{motorWeb?.responseData?.vehicle['engine-capacity']}}
\r\n
\r\n
\r\n
Fuel Type
\r\n
{{motorWeb?.responseData?.vehicle['fuel-type']}}
\r\n
\r\n
\r\n
Tranmission
\r\n
{{motorWeb?.responseData?.vehicle?.transmission}}
\r\n
\r\n
\r\n
Drive Type
\r\n
{{motorWeb?.responseData?.vehicle['drive-type']}}
\r\n
\r\n\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { ExperianResultModel } from '../../../../../models/ExperianResultModel';\r\n\r\n@Component({\r\n selector: 'app-hutmotor-result-motor',\r\n templateUrl: './hutmotor-result-motor.component.html',\r\n styleUrls: ['./hutmotor-result-motor.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class HutmotorResultMotorComponent implements OnInit {\r\n\r\n @Input() experian: ExperianResultModel = new ExperianResultModel();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Year of Manufacture{{experian?.responseData?.vehicle?.summary?.dateofmanufacture | date:'yyyy'}}
Vehicle Used Before UK Registration{{experian?.responseData?.vehicle?.status?.usedbeforefirstregistration}}
UK Registration Date{{experian?.responseData?.vehicle?.summary?.dateoffirstreginuk | date:'dd-MMM-yyyy'}}
Number Of Registration Certificates Issued{{experian?.responseData?.vehicle?.provenance?.v5cchanges ? experian?.responseData?.vehicle?.provenance?.v5cchanges?.length : '0'}}
Date Of Registration Certificate Issue{{experian?.responseData?.vehicle?.summary?.dateoffirstregistration | date:'dd-MMM-yyyy'}}
Date Of Registration Certificate Update\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n
{{v5cchange.date | date:'dd-MMM-yyyy'}}
\r\n
VIN Serial Number{{experian?.responseData?.vehicle?.summary?.vin}}
Engine Number{{experian?.responseData?.vehicle?.technical?.engine?.enginenumber}}
Number Of Keeper Changes{{experian?.responseData?.vehicle?.provenance?.keeperchanges?.length ? experian?.responseData?.vehicle?.provenance?.keeperchanges?.length : '0'}}
Date Of Keeper Change\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n
{{keeperchange.date | date:'dd-MMM-yyyy'}}
\r\n
Number Of Plate Changes{{experian?.responseData?.vehicle?.provenance?.platechanges?.length ? experian?.responseData?.vehicle?.provenance?.platechanges?.length : '0'}}
Plate Changes Info\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Previous VRMDate of ReceiptCurrent VRM
{{platechange.previousvrm}}{{platechange.date | date:'dd-MMM-yyyy'}}{{platechange.currentvrm}}
\r\n
Imported{{experian?.responseData?.vehicle?.status?.imported == 'NotImported' ? 'False' : 'True'}}
Exported{{experian?.responseData?.vehicle?.status?.exported == 'NotExported' ? 'False' : 'True'}}
Scrapped{{experian?.responseData?.vehicle?.status?.scrapped == 'NotScrapped' ? 'False' : 'True'}}
Date Exported{{experian?.responseData?.vehicle?.summary?.dateexported | date:'dd-MMM-yyyy'}}
Date Scrapped{{experian?.responseData?.vehicle?.summary?.datescrapped | date:'dd-MMM-yyyy'}}
\r\n\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Make{{experian?.responseData?.vehicle?.summary?.make}}
Model{{experian?.responseData?.vehicle?.summary?.model}}
Fuel{{experian?.responseData?.vehicle?.summary?.fuel}}
Colour{{experian?.responseData?.vehicle?.provenance?.colour?.currrentcolour}}
Number Of Colour Changes{{experian?.responseData?.vehicle?.provenance?.colour?.changes?.length ? experian?.responseData?.vehicle?.provenance?.colour?.changes?.length : '0'}}
Colour Change Info\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Last ColourDate Of Last Colour Change
{{colorChange?.lastcolour}}{{colorChange?.date | date:'dd-MMM-yyyy'}}
\r\n
Country Of Origin{{experian?.responseData?.vehicle?.industry?.smmt?.additional?.countryoforigin}}
Transmission{{experian?.responseData?.vehicle?.technical?.engine?.transmission}}
Seating Capacity{{experian?.responseData?.vehicle?.technical?.body?.seatingcapacityincdriver}}
Maximum Permissable Mass{{experian?.responseData?.vehicle?.technical?.body?.maxpermissiblemass}}
Engine Make{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.enginemake}}
Engine Capacity{{experian?.responseData?.vehicle?.technical?.engine?.enginecapacity}}
Engine Description{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.enginedescription}}
Engine Location{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.enginelocation}}
Number Of Gears {{experian?.responseData?.vehicle?.technical?.engine?.numberofgears}}
Number Of Doors And Body Type{{experian?.responseData?.vehicle?.summary?.bodytype}}
Wheel Plan{{experian?.responseData?.vehicle?.technical?.body?.wheelplan}}
Drive Type{{experian?.responseData?.vehicle?.industry?.smmt?.additional?.drivetype}}
Brake Horsepower{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.powerbhp}}
Power kW{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.powerkw}}
RPM{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.powerrpm}}
Torque ft{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.torquefoot}}
Torque NM{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.torquenm}}
Torque RPM{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.torquerpm}}
Maximum Speed MPH{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.maxspeedmph}}
Maximum Speed KPH{{experian?.responseData?.vehicle?.industry?.smmt?.fueleconomy?.maxspeedkph}}
Drive Axle{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.drivingaxle}}
Number Of Axles{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.numberofaxles}}
Power Delivery{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.powerdelivery}}
European Engine Standard {{experian?.responseData?.vehicle?.industry?.smmt?.engine?.eurostatus}}
Bore (mm){{experian?.responseData?.vehicle?.industry?.smmt?.engine?.bore}}
Stroke (mm){{experian?.responseData?.vehicle?.industry?.smmt?.engine?.stroke}}
Aspiration {{experian?.responseData?.vehicle?.industry?.smmt?.engine?.aspiration}}
Cylinder Arrangement{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.cylinderarrangement}}
Number Of Cylinders{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.numberofcylinders}}
Valves Per Cylinder{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.valvespercylinder}}
Valve Gear{{experian?.responseData?.vehicle?.industry?.smmt?.engine?.valvegear}}
Height{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.height}}
Length{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.carlength}}
Width{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.width}}
Kerb Weight{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.kerbweight}}
Rigid or Articulated{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.rigidartic}}
Wheelbase{{experian?.responseData?.vehicle?.industry?.smmt?.dimensions?.wheelbase}}
Gross Vehicle Weight{{experian?.responseData?.vehicle?.technical?.body?.grossweight}}
\r\n\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Number Of Finance Agreements{{experian?.responseData?.vehicle?.provenance?.finance?.length ? experian?.responseData?.vehicle?.provenance?.finance?.length : 0}}
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Finance CompanyFinance Reference NumberAgreement TypeAgreement TermStart Date Of AgreementFinance Company Contact NumberFinance Company's Description Of Asset
{{finance?.financecompany}}{{finance?.agreementnumber}}{{finance?.agreementtype}}{{finance?.agreementterminmonths}}{{finance?.dateofagreement | date:'dd-MMM-yyyy'}}{{finance?.contactnumber}}{{finance?.description}}
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Number Of Condition Alerts{{experian?.responseData?.vehicle?.provenance?.condition?.length ? experian?.responseData?.vehicle?.provenance?.condition?.length : '0'}}
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Loss DateCategoryTheft IndicatorRecorded Insurer on MIAFTRVehicle Make Provided By InsurerVehicle Model Provided By Insurer
{{condition?.lossdate | date:'dd-MMM-yyyy'}}{{condition?.status}}{{condition?.theftindicator}}{{condition?.insurername}}{{condition?.make}}{{condition?.model}}
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CO2 Band{{experian?.responseData?.vehicle?.technical?.emissions?.co2band}}
CO2 Emissions{{experian?.responseData?.vehicle?.technical?.emissions?.co2}}
VED Band{{experian?.responseData?.vehicle?.technical?.emissions?.ved?.band}}
VED Annual Cost{{experian?.responseData?.vehicle?.technical?.emissions?.ved?.cost12months}}
\r\n\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Number Of Stolen Records{{experian?.responseData?.vehicle?.provenance?.stolen?.length ? experian?.responseData?.vehicle?.provenance?.stolen?.length : '0'}}
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Theft DatePolice ForcePolice Force Contact NumberStatus
{{condition?.creationdate | date:'dd-MMM-yyyy'}}{{condition?.forcename}}{{condition?.contactnumber}}{{condition?.status}}
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Number of Previous Searches{{experian?.responseData?.vehicle?.previoussearches?.length ? experian?.responseData?.vehicle?.previoussearches?.length : '0'}}
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Date of Previous Search Type Of Business Undertaking Search
{{previousSearch?.date | date:'dd-MMM-yyyy'}}{{previousSearch?.typeofbusiness}}
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DVLA Vehicle Model And Trim Code{{experian?.responseData?.vehicle?.industry?.smmt?.makemodel?.dvladtpmodelcode}}
DVLA Vehicle Make Code{{experian?.responseData?.vehicle?.industry?.smmt?.makemodel?.dvladtpmakecode}}
Motor Vehicle Registration Information System Model Code{{experian?.responseData?.vehicle?.industry?.smmt?.makemodel?.smmtmvrismodelcode}}
Motor Vehicle Registration Information System Make Code{{experian?.responseData?.vehicle?.industry?.smmt?.makemodel?.smmtmvrismakecode}}
Transmission Code{{experian?.responseData?.vehicle?.technical?.engine?.transmissioncode}}
Body Code{{experian?.responseData?.vehicle?.technical?.body?.bodycode}}
Fuel Code{{experian?.responseData?.vehicle?.technical?.engine?.fuelcode}}
Colour Code {{experian?.responseData?.vehicle?.summary?.colourcode}}
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n","export class AddressResponseModel {\r\n public responseData: any;\r\n public noRelevantData: boolean;\r\n public validation: boolean;\r\n public searchFail: boolean;\r\n}\r\n","import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from \"@angular/common/http\";\r\nimport { BehaviorSubject, Observable, throwError } from \"rxjs\";\r\nimport { catchError, filter, switchMap, take, } from \"rxjs/operators\";\r\nimport { SearchService } from \"../search.service\";\r\nimport { Token } from \"../../search-pages/models/Items\";\r\nimport { Shared } from \"../shared\";\r\n\r\nexport class AuthInterceptor implements HttpInterceptor {\r\n private isRefreshing = false;\r\n private refreshTokenSubject: BehaviorSubject =\r\n new BehaviorSubject(null);\r\n\r\n constructor(private searchService: SearchService) { }\r\n\r\n intercept(\r\n req: HttpRequest,\r\n next: HttpHandler\r\n ): Observable> {\r\n return next\r\n .handle(\r\n this.isAuthHeaderNeeded(req.url)\r\n ? this.addToken(req, localStorage.getItem(\"access_token\"))\r\n : req\r\n )\r\n .pipe(\r\n catchError((err) => {\r\n console.log(\"Error : \", err);\r\n if (err instanceof HttpErrorResponse) {\r\n if (err.status == 401) {\r\n return this.handleRefreshToken(req, next);\r\n }\r\n }\r\n return throwError(err);\r\n })\r\n );\r\n }\r\n\r\n private handleRefreshToken(\r\n request: HttpRequest,\r\n next: HttpHandler\r\n ): Observable> {\r\n if (!this.isRefreshing) {\r\n this.isRefreshing = true;\r\n this.refreshTokenSubject.next(null);\r\n const refreshToken = new Token(localStorage.getItem(\"access_token\"));\r\n return this.searchService.refreshtoken(refreshToken).pipe(\r\n switchMap((data: any) => {\r\n this.isRefreshing = false;\r\n const newToken = data[\"access_token\"];\r\n this.refreshTokenSubject.next(newToken);\r\n localStorage.setItem(\"access_token\", newToken);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n return next.handle(this.addToken(request, newToken));\r\n }),\r\n catchError((error) => {\r\n this.isRefreshing = false;\r\n if (error.status == 400) {\r\n localStorage.removeItem(\"access_token\");\r\n localStorage.removeItem(\"expires_in\");\r\n localStorage.removeItem(\"token_type\");\r\n localStorage.removeItem(\"userId\");\r\n localStorage.removeItem(\"username\");\r\n }\r\n return throwError(error);\r\n })\r\n );\r\n } else {\r\n return this.refreshTokenSubject.pipe(\r\n filter((token) => token != null),\r\n take(1),\r\n switchMap((jwt) => {\r\n return next.handle(this.addToken(request, jwt));\r\n })\r\n );\r\n }\r\n }\r\n\r\n private addToken(\r\n request: HttpRequest,\r\n token: string | null\r\n ): HttpRequest {\r\n if (token) {\r\n // Define the endpoints where you want to override the Content-Type\r\n const overrideContentTypeEndpoints = [\r\n '/api/V3Search/DocumentValidation'\r\n ];\r\n\r\n // Check if the request URL matches any of the overrideContentTypeEndpoints\r\n const shouldOverrideContentType = overrideContentTypeEndpoints.some(endpoint =>\r\n request.url.includes(endpoint)\r\n );\r\n\r\n // Clone the request with Authorization header\r\n let clonedRequest = request.clone({\r\n setHeaders: {\r\n Authorization: `Bearer ${token}`,\r\n },\r\n });\r\n\r\n // If Content-Type should be overridden, set a new value\r\n if (!shouldOverrideContentType) {\r\n clonedRequest = clonedRequest.clone({\r\n setHeaders: {\r\n \"Content-Type\": \"application/json\",\r\n Authorization: `Bearer ${token}`,\r\n },\r\n });\r\n }\r\n \r\n return clonedRequest;\r\n }\r\n }\r\n\r\n private isAuthHeaderNeeded(url: string): boolean {\r\n var controllerPrefix = [\"/V3Search\", \"/ScreenSearch\", \"/Subscription\", \"/V3AustraliaSearch\"];\r\n return controllerPrefix.some((x) => url.toLowerCase().includes(x.toLowerCase()));\r\n }\r\n\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { AMLResultModel, PEPRecord } from '../../../../../models/AMLResultModel';\r\nimport * as _ from 'lodash';\r\n\r\n@Component({\r\n selector: 'app-aml-result-personal',\r\n templateUrl: './aml-result.component.html',\r\n styleUrls: ['./aml-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class AmlResultPersonalComponent implements OnInit {\r\n\r\n @Input() aml: AMLResultModel = new AMLResultModel();\r\n public conflictValues: { [key: string]: string[] } = {};\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n processPEPs(peps: any[]): any[] {\r\n return peps?.map((item, index) => ({\r\n ...item,\r\n ID: index, \r\n })) || [];\r\n } \r\n\r\n // getPEPRecords(match: any): PEPRecord[] {\r\n // return match?.PEPs?.map((pep, index) => ({\r\n // ID: `${match.ID || 'match'}-${index}`,\r\n // PEP: pep\r\n // })) || [];\r\n // }\r\n\r\n // getAdverseMedia() {\r\n // return (\r\n // this.aml?.responseData?.Records?.[0]?.Watchlist?.Matches?.flatMap(match => \r\n // match.AdverseMedias?.map((adverse, index) => ({\r\n // ID: `${match.ID || 'match'}-${index}`, \r\n // Adverse: adverse \r\n // })) || [] \r\n // ) || []\r\n // );\r\n // }\r\n\r\n // getEnforcementRecords() {\r\n // return (\r\n // this.aml?.responseData?.Records?.[0]?.Watchlist?.Matches?.flatMap(match => \r\n // match.Enforcements?.map((enforcement, index) => ({\r\n // ID: `${match.ID || 'match'}-${index}`, \r\n // Country: enforcement.Country,\r\n // Source: enforcement.Source,\r\n // Offence: enforcement.SubCategories?.join(', ') \r\n // })) || [] \r\n // ) || []\r\n // );\r\n // }\r\n\r\n // getSanctionRecords() {\r\n // return (\r\n // this.aml?.responseData?.Records?.[0]?.Watchlist?.Matches?.flatMap(match => \r\n // match.Sanctions?.map((sanction, index) => ({\r\n // ID: `${match.ID || 'match'}-${index}`, \r\n // Country: sanction.Country,\r\n // Source: sanction.Source\r\n // })) || [] \r\n // ) || []\r\n // );\r\n // }\r\n\r\n // getAddressesRecords() {\r\n // return (\r\n // this.aml?.responseData?.Records?.[0]?.Watchlist?.Matches?.flatMap(match => \r\n // match.EntityDetails?.Addresses?.map((address, index) => ({\r\n // ID: `${match.ID || 'match'}-${index}`, \r\n // Street1: address.Street1,\r\n // City: address.City,\r\n // Country: address.Country,\r\n // PostalCode: address.PostalCode,\r\n // Category: address.Category\r\n // })\r\n // ) || []\r\n // ) || []\r\n // );\r\n // }\r\n\r\n // getRelationshipsRecords() {\r\n // return (\r\n // this.aml?.responseData?.Records?.[0]?.Watchlist?.Matches?.flatMap(match => \r\n // match.Relationships?.map((relation, index) => ({\r\n // ID: `${match.ID || 'match'}-${index}`, \r\n // EntityName: relation.EntityName,\r\n // Type: relation.Type\r\n // })) || []\r\n // ) || []\r\n // );\r\n // }\r\n \r\n // getUrlsRecords() {\r\n // return (\r\n // this.aml?.responseData?.Records?.[0]?.Watchlist?.Matches?.flatMap(match => \r\n // match.SourceItems?.map((url, index) => ({\r\n // ID: `${match.ID || 'match'}-${index}`, \r\n // SourceURI: url.SourceURI,\r\n // })) || []\r\n // ) || []\r\n // );\r\n // }\r\n\r\n getConflictsValue(conflicts: any, index: number): string[] {\r\n if (!conflicts) return [];\r\n const result = Object.keys(conflicts).filter(key => conflicts[key]); \r\n this.conflictValues[index] = result; \r\n return result;\r\n }\r\n\r\n getEntityDetail(entityDetails: any, type: string): string {\r\n if (!entityDetails?.AdditionalInfo) return \"\"; \r\n \r\n const detail = entityDetails.AdditionalInfo.find((item: any) => item.Type === type);\r\n return detail ? detail.Value : \"\";\r\n }\r\n \r\n getAKAList(entityDetails: any): string[] {\r\n if (!entityDetails?.AKAs) return [];\r\n \r\n return entityDetails.AKAs.map((aka: any) => aka.Name?.Full).filter((name: string) => name);\r\n }\r\n\r\n // getUniqueValues(data: T[], key: keyof T): string[] {\r\n // if (data && data.length > 0) {\r\n // return _.uniq(\r\n // data\r\n // .map(item => item[key]) \r\n // .flat() \r\n // .filter(value => typeof value === 'string') as string[] \r\n // );\r\n // }\r\n // return [];\r\n // } \r\n}\r\n","
{{messageService.NoSearchSelect}}
\r\n
\r\n {{messageService.SearchFail}}
\r\n
\r\n {{messageService.NoRelevantDataMessage}}\r\n
\r\n
\r\n {{messageService.OtherFieldRequired}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

Identified Subject

\r\n \r\n \r\n \r\n \r\n Name \r\n Nationality \r\n Date Of Birth \r\n Match Conflicts \r\n Position \r\n Place Of Birth \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ result?.EntityName || '-' }}\r\n {{ getEntityDetail(result?.EntityDetails, 'Nationality') || '-' }}\r\n {{ getEntityDetail(result?.EntityDetails, 'DOB') || '-' }}\r\n \r\n 0; else noConflicts\">\r\n

{{ conflictValues[i].join(', ') }}

\r\n
\r\n \r\n

No Conflicts

\r\n
\r\n \r\n {{ getEntityDetail(result?.EntityDetails, 'Position') || '-' }}\r\n {{ getEntityDetail(result?.EntityDetails, 'PlaceOfBirth') || '-' }}\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
Citizenship
\r\n
\r\n {{ getEntityDetail(result?.EntityDetails, 'Citizenship') || '-' }}\r\n
\r\n
\r\n
\r\n
Also Known As
\r\n
\r\n {{ getAKAList(result?.EntityDetails).join(', ') || '-' }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

Sanctions

\r\n \r\n \r\n \r\n \r\n Country\r\n Source\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ sanctionData?.Country || '-' }}\r\n {{ sanctionData?.Source || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Enforcements

\r\n \r\n \r\n \r\n \r\n Country\r\n Source\r\n Offence\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ enforcementData?.Country || '-' }}\r\n {{ enforcementData?.Source || '-' }}\r\n {{ enforcementData?.SubCategories || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Financial Crime

\r\n \r\n \r\n \r\n \r\n Description\r\n Offence\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ adverseMediasData?.Description || '-' }}\r\n {{ adverseMediasData?.SubCategories?.join(', ') || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n

Politically Exposed Person

\r\n \r\n \r\n \r\n \r\n Country\r\n Type\r\n Admin Level\r\n Status\r\n Governing Institution\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ record?.Country || '-' }}\r\n {{ record?.SubCategories?.join(', ') || '-' }}\r\n {{ record?.AdminLevel || '-' }}\r\n {{ record?.Status || '-' }}\r\n {{ record?.GoverningInstitution || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Governing Role
\r\n
\r\n {{ record.GoverningRole || '-' }}\r\n
\r\n
\r\n
\r\n
Effective Date
\r\n
\r\n {{ (record.EffectiveDate | date: 'dd-MM-yyyy') || '-' }}\r\n
\r\n
\r\n
\r\n
Effective Date Type
\r\n
\r\n {{ record.EffectiveDateType || '-' }}\r\n
\r\n
\r\n
\r\n
Expiration Date
\r\n
\r\n {{ (record.ExpirationDate | date: 'dd-MM-yyyy') || '-' }}\r\n
\r\n
\r\n
\r\n
Expiration Date Type
\r\n
\r\n {{ record.ExpirationDateType || '-' }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n

Detail

\r\n \r\n \r\n \r\n \r\n Comments \r\n \r\n \r\n \r\n \r\n \r\n {{ result.EntityDetails.Comments }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Addresses

\r\n \r\n \r\n \r\n \r\n Street \r\n City \r\n Country \r\n Postal Code \r\n Type \r\n \r\n \r\n \r\n \r\n \r\n {{ match?.Street1 || '-' }}\r\n {{ match?.City || '-' }}\r\n {{ match?.Country || '-' }}\r\n {{ match?.PostalCode || '-' }}\r\n {{ match?.Category || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Relationships

\r\n \r\n \r\n \r\n \r\n Name \r\n Type \r\n \r\n \r\n \r\n \r\n \r\n {{ relation?.EntityName || '-' }}\r\n {{ relation?.Type || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Online Sources

\r\n \r\n \r\n \r\n \r\n Urls \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ url.SourceURI }}\r\n \r\n -\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DriverLicenceCheckResultModel } from '../../../../models/DriverLicenceCheckResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-endorsements',\r\n templateUrl: './endorsements.component.html',\r\n styleUrls: ['./endorsements.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class EndorsementsComponent implements OnInit {\r\n @Input() driverLicenceResultDataModel: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
{{messagingService.SearchFail}}
\r\n
{{messagingService.NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ result?.disqualification?.years }}\r\n {{ result?.disqualification?.months }}\r\n {{ result?.disqualification?.days }}\r\n \r\n \r\n \r\n

Offence Code :

{{ result?.offenceCode }}

Offence Legal :

{{ result?.offenceLegalLiteral }}

Offence Date:

{{ result?.offenceDate }}

Conviction Date:

{{ result?.convictionDate }}

Penalty Points:

{{ result?.penaltyPoints }}

Sentence Date:

{{ result?.sentenceDate }}

Disqualified Pending Sentence:

{{ result?.disqualifiedPendingSentence }}

Disqualification Type:

{{ result?.disqualification?.type }}

Disqualification For Life:

{{ result?.disqualification?.forLife }}

Sentence:

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n ","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-ltd-accounts-business',\r\n templateUrl: './ltd-accounts-business.component.html',\r\n styleUrls: ['./ltd-accounts-business.component.css']\r\n})\r\nexport class LtdAccountsBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Filing Date Of Recent Accounts{{business?.responseData?.creditsafeResult?.report?.additionalInformation?.miscellaneous?.filingDateOfAccounts | date:'MMM-yyyy'}}
Date Accounts Due{{business?.responseData?.creditsafeResult?.report?.additionalInformation?.miscellaneous?.accountsDueDate | date:'MMM-yyyy'}}
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
TypeYear End DateNumber Of WeeksCurrencyConsolidated AccountAudit SummaryAccounts Stats
{{financial?.type}}{{financial?.yearEndDate | date: 'dd-MM-yyyy'}}{{financial?.numberOfWeeks}}{{financial?.currency}}{{financial?.consolidatedAccounts}}Not foundNot found
\r\n
\r\n\r\n

Profit & Loss

\r\n\r\n \r\n \r\n \r\n Year End Date \r\n Revenue \r\n Exports \r\n Cost Of Sales \r\n Audit Fees \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.profitAndLoss?.revenue}}\r\n {{financial?.profitAndLoss?.exports}}\r\n {{financial?.profitAndLoss?.costOfSales}}\r\n {{financial?.profitAndLoss?.auditFees}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Revenue
\r\n
{{financial?.profitAndLoss?.revenue}}
\r\n
\r\n
\r\n
Exports
\r\n
{{financial?.profitAndLoss?.exports}}
\r\n
\r\n
\r\n
Cost Of Sales
\r\n
{{financial?.profitAndLoss?.costOfSales}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Audit Fees
\r\n
{{financial?.profitAndLoss?.auditFees}}
\r\n
\r\n
\r\n
Statutory Audit Costs
\r\n
{{financial?.profitAndLoss?.statutoryAuditCosts}}
\r\n
\r\n
\r\n
Other Audit Costs
\r\n
{{financial?.profitAndLoss?.otherAuditCosts}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Accountant Fees
\r\n
{{financial?.profitAndLoss?.accountantFees}}
\r\n
\r\n
\r\n
Operating Cost
\r\n
{{financial?.profitAndLoss?.operatingCosts}}
\r\n
\r\n
\r\n
Operating Profit
\r\n
{{financial?.profitAndLoss?.operatingProfit}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Director Remineration
\r\n
{{financial?.profitAndLoss?.directorsRemuneration}}
\r\n
\r\n
\r\n
Director Fees
\r\n
{{financial?.profitAndLoss?.directorFees}}
\r\n
\r\n
\r\n
Director Pensions
\r\n
{{financial?.profitAndLoss?.directorPensions}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Director Social Security
\r\n
{{financial?.profitAndLoss?.directorSocialSecurity}}
\r\n
\r\n
\r\n
Director Other
\r\n
{{financial?.profitAndLoss?.directorOther}}
\r\n
\r\n
\r\n
Highest Paid Director
\r\n
{{financial?.profitAndLoss?.highestPaidDirector}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Employee Costs
\r\n
{{financial?.profitAndLoss?.employeeCosts}}
\r\n
\r\n
\r\n
Other Employee Costs
\r\n
{{financial?.profitAndLoss?.otherEmployeeCosts}}
\r\n
\r\n
\r\n
Employee Fees
\r\n
{{financial?.profitAndLoss?.employeeRemuneration}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Wages and Salaries
\r\n
{{financial?.profitAndLoss?.wagesAndSalaries}}
\r\n
\r\n
\r\n
Pensions
\r\n
{{financial?.profitAndLoss?.pensions}}
\r\n
\r\n
\r\n
Pension Costs
\r\n
{{financial?.profitAndLoss?.pensionCosts}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Deprecitation
\r\n
{{financial?.profitAndLoss?.depreciation}}
\r\n
\r\n
\r\n
Depreciation Of Tangibles
\r\n
{{financial?.profitAndLoss?.depreciationOfTangibles}}
\r\n
\r\n
\r\n
Amortisation
\r\n
{{financial?.profitAndLoss?.amortisation}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Amortisation Of Intangibles
\r\n
{{financial?.profitAndLoss?.amortisationOfIntangibles}}
\r\n
\r\n
\r\n
Financial Expenses
\r\n
{{financial?.profitAndLoss?.financialExpenses}}
\r\n
\r\n
\r\n
Interest Receivable
\r\n
{{financial?.profitAndLoss?.interestReceivable}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Bank Interest Receivable
\r\n
{{financial?.profitAndLoss?.bankInterestReceivable}}
\r\n
\r\n
\r\n
Group Interest Receivable
\r\n
{{financial?.profitAndLoss?.groupInterestReceivable}}
\r\n
\r\n
\r\n
Other Interest Receivable
\r\n
{{financial?.profitAndLoss?.otherInterestReceivable}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Interest Payable
\r\n
{{financial?.profitAndLoss?.interestPayable}}
\r\n
\r\n
\r\n
Bank Interest Payable
\r\n
{{financial?.profitAndLoss?.bankInterestPayable}}
\r\n
\r\n
\r\n
Lease Interest Payable
\r\n
{{financial?.profitAndLoss?.leaseInterestPayable}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
HP Interest Payable
\r\n
{{financial?.profitAndLoss?.hpInterestPayable}}
\r\n
\r\n
\r\n
Other Interest Payable
\r\n
{{financial?.profitAndLoss?.otherInterestPayable}}
\r\n
\r\n
\r\n
Social Security
\r\n
{{financial?.profitAndLoss?.socialSecurity}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Gross Profit
\r\n
{{financial?.profitAndLoss?.grossProfit}}
\r\n
\r\n
\r\n
Pre Tax Profit
\r\n
{{financial?.profitAndLoss?.preTaxProfit}}
\r\n
\r\n
\r\n
Profit Before Tax
\r\n
{{financial?.profitAndLoss?.profitBeforeTax}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Tax
\r\n
{{financial?.profitAndLoss?.tax}}
\r\n
\r\n
\r\n
Profit After Tax
\r\n
{{financial?.profitAndLoss?.profitAfterTax}}
\r\n
\r\n
\r\n
Exceptional Items
\r\n
{{financial?.profitAndLoss?.exceptionalItems}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Exceptional Profit or Loss On Reorganisations
\r\n
{{financial?.profitAndLoss?.exceptionalProfitOrLossOnReorganisations}}
\r\n
\r\n
\r\n
Exceptional Profit or Loss On Disposal Or Acquisition
\r\n
{{financial?.profitAndLoss?.exceptionalProfitOrLossOnDisposalOrAcquisition}}
\r\n
\r\n
\r\n
Exceptional Other Items
\r\n
{{financial?.profitAndLoss?.exceptionalOtherItems}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Dividends
\r\n
{{financial?.profitAndLoss?.dividends}}
\r\n
\r\n
\r\n
Dividends Paid
\r\n
{{financial?.profitAndLoss?.dividendsPaid}}
\r\n
\r\n
\r\n
Minority Interests
\r\n
{{financial?.profitAndLoss?.minorityInterests}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Profit Attributable To Minority Interests
\r\n
{{financial?.profitAndLoss?.profitAttributableToMinorityInterests}}
\r\n
\r\n
\r\n
Other Appropriations
\r\n
{{financial?.profitAndLoss?.otherAppropriations}}
\r\n
\r\n
\r\n
Retained Profit
\r\n
{{financial?.profitAndLoss?.retainedProfit}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n

Balance Sheet

\r\n\r\n \r\n \r\n \r\n Year End Date \r\n Tangible Assets \r\n Total Tangible Assets \r\n Intangible Assets \r\n Total Intangible Assets \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.balanceSheet?.totalTangibleAssets}}\r\n {{financial?.balanceSheet?.totalIntangibleAssets}}\r\n {{financial?.balanceSheet?.intangibleAssets}}\r\n {{financial?.balanceSheet?.totalIntangibleAssets}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Tangible Assets
\r\n
{{financial?.balanceSheet?.totalTangibleAssets}}
\r\n
\r\n
\r\n
Total Tangible Assets
\r\n
{{financial?.balanceSheet?.totalIntangibleAssets}}
\r\n
\r\n
\r\n
Intangible Assets
\r\n
{{financial?.balanceSheet?.intangibleAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Intangible Assets
\r\n
{{financial?.balanceSheet?.totalIntangibleAssets}}
\r\n
\r\n
\r\n
Investment And Other Assets
\r\n
{{financial?.balanceSheet?.investmentAndOtherAssets}}
\r\n
\r\n
\r\n
Investment Assets
\r\n
{{financial?.balanceSheet?.investmentAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Financial Assets
\r\n
{{financial?.balanceSheet?.financialAssets}}
\r\n
\r\n
\r\n
Miscellaneous Current Assets
\r\n
{{financial?.balanceSheet?.miscCurrentAssets}}
\r\n
\r\n
\r\n
Other Current Assets
\r\n
{{financial?.balanceSheet?.otherCurrentAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Fixed Assets
\r\n
{{financial?.balanceSheet?.totalOtherFixedAssets}}
\r\n
\r\n
\r\n
Other Current Assets
\r\n
{{financial?.balanceSheet?.otherCurrentAssets}}
\r\n
\r\n
\r\n
Current Financial Assets
\r\n
{{financial?.balanceSheet?.currentFinancialAssets}}
\r\n
\r\n
\r\n
Net Assets
\r\n
{{financial?.balanceSheet?.netAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Current Assets
\r\n
{{financial?.balanceSheet?.totalCurrentAssets}}
\r\n
\r\n
\r\n
Total Fixed Assets
\r\n
{{financial?.balanceSheet?.totalFixedAssets}}
\r\n
\r\n
\r\n
Total Assets
\r\n
{{financial?.balanceSheet?.totalAssets}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Trade Debtors
\r\n
{{financial?.balanceSheet?.tradeDebtors}}
\r\n
\r\n
\r\n
Other Debtors
\r\n
{{financial?.balanceSheet?.otherDebtors}}
\r\n
\r\n
\r\n
Debtors Due After 1 Year
\r\n
{{financial?.balanceSheet?.debtorsDueAfter1Year}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Non Current Assets
\r\n
{{financial?.balanceSheet?.otherNonCurrentAssets}}
\r\n
\r\n
\r\n
Total Non Current Assets
\r\n
{{financial?.balanceSheet?.totalNonCurrentAssets}}
\r\n
\r\n
\r\n
Stock
\r\n
{{financial?.balanceSheet?.stock}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Inventories
\r\n
{{financial?.balanceSheet?.inventories}}
\r\n
\r\n
\r\n
Total Inventories
\r\n
{{financial?.balanceSheet?.totalInventories}}
\r\n
\r\n
\r\n
Raw Materials
\r\n
{{financial?.balanceSheet?.rawMaterials}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Work In Progress
\r\n
{{financial?.balanceSheet?.workInProgress}}
\r\n
\r\n
\r\n
Finished Goods
\r\n
{{financial?.balanceSheet?.finishedGoods}}
\r\n
\r\n
\r\n
Trade And Other Reveivables
\r\n
{{financial?.balanceSheet?.tradeAndOtherReceivables}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Trade Receivables
\r\n
{{financial?.balanceSheet?.tradeReceivables}}
\r\n
\r\n
\r\n
Group Receivables
\r\n
{{financial?.balanceSheet?.groupReceivables}}
\r\n
\r\n
\r\n
Miscellaneous Receivables
\r\n
{{financial?.balanceSheet?.miscellaneousReceivables}}
\r\n
\r\n
\r\n
Total Receivables
\r\n
{{financial?.balanceSheet?.totalReceivables}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Miscellaneous Debtors
\r\n
{{financial?.balanceSheet?.miscDebtors}}
\r\n
\r\n
\r\n
Cash
\r\n
{{financial?.balanceSheet?.cash}}
\r\n
\r\n
\r\n
Cash And Cash Equivalents
\r\n
{{financial?.balanceSheet?.cashAndCashEquivalents}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Trade And Other Payables
\r\n
{{financial?.balanceSheet?.tradeAndOtherPayables}}
\r\n
\r\n
\r\n
Trade Payables
\r\n
{{financial?.balanceSheet?.tradePayables}}
\r\n
\r\n
\r\n
Group Payables
\r\n
{{financial?.balanceSheet?.groupPayables}}
\r\n
\r\n
\r\n
Current Tax Liabilities
\r\n
{{financial?.balanceSheet?.currentTaxLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Accruals And Deferred Income
\r\n
{{financial?.balanceSheet?.accrualsAndDeferredIncome}}
\r\n
\r\n
\r\n
Other Payables
\r\n
{{financial?.balanceSheet?.otherPayables}}
\r\n
\r\n
\r\n
Current Financial Liabilities
\r\n
{{financial?.balanceSheet?.currentFinancialLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Current Bank Borrowings
\r\n
{{financial?.balanceSheet?.bankBorrowingsCurrent}}
\r\n
\r\n
\r\n
Bank Overdraft
\r\n
{{financial?.balanceSheet?.bankOverdraft}}
\r\n
\r\n
\r\n
Bank Loan
\r\n
{{financial?.balanceSheet?.bankLoan}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Miscellaneous Current Liabilities
\r\n
{{financial?.balanceSheet?.miscCurrentLiabilities}}
\r\n
\r\n
\r\n
Bank Liabilities Due After 1 Year
\r\n
{{financial?.balanceSheet?.bankLiabilitiesDueAfter1Year}}
\r\n
\r\n
\r\n
Bank Liabilities
\r\n
{{financial?.balanceSheet?.bankLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Group Accounts
\r\n
{{financial?.balanceSheet?.groupAccounts}}
\r\n
\r\n
\r\n
Directors Accounts
\r\n
{{financial?.balanceSheet?.directorsAccounts}}
\r\n
\r\n
\r\n
Other Short Term Loans
\r\n
{{financial?.balanceSheet?.otherShortTermLoans}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Long Term Finance
\r\n
{{financial?.balanceSheet?.otherLongTermFinance}}
\r\n
\r\n
\r\n
Other Loans Or Finance Due After 1 Year
\r\n
{{financial?.balanceSheet?.otherLoansOrFinanceDueAfter1Year}}
\r\n
\r\n
\r\n
Other Short Term Finance
\r\n
{{financial?.balanceSheet?.otherShortTermFinance}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Loans Or Finance
\r\n
{{financial?.balanceSheet?.otherLoansOrFinance}}
\r\n
\r\n
\r\n
Current Hire Purchase Commitments
\r\n
{{financial?.balanceSheet?.currentHirePurchaseCommitments}}
\r\n
\r\n
\r\n
Current Lease Commitments
\r\n
{{financial?.balanceSheet?.currentLeaseCommitments}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Current Grants
\r\n
{{financial?.balanceSheet?.currentGrants}}
\r\n
\r\n
\r\n
Other Current Financial Liabilities
\r\n
{{financial?.balanceSheet?.otherCurrentFinancialLiabilities}}
\r\n
\r\n
\r\n
Trade Creditors
\r\n
{{financial?.balanceSheet?.tradeCreditors}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Other Current Liabilities
\r\n
{{financial?.balanceSheet?.totalOtherCurrentLiabilities}}
\r\n
\r\n
\r\n
Total Long Term Liabilities
\r\n
{{financial?.balanceSheet?.totalLongTermLiabilities}}
\r\n
\r\n
\r\n
Total Liabilities
\r\n
{{financial?.balanceSheet?.totalLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Current Liabilities Held For Resale
\r\n
{{financial?.balanceSheet?.currentLiabilitiesHeldForResale}}
\r\n
\r\n
\r\n
Provisions And Charges
\r\n
{{financial?.balanceSheet?.provisionsAndCharges}}
\r\n
\r\n
\r\n
Other Current Liabilities
\r\n
{{financial?.balanceSheet?.otherCurrentLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Miscellaneous Liabilities
\r\n
{{financial?.balanceSheet?.miscellaneousLiabilities}}
\r\n
\r\n
\r\n
Miscellaneous Liabilities Due After 1 Year
\r\n
{{financial?.balanceSheet?.miscellaneousLiabilitiesDueAfter1Year}}
\r\n
\r\n
\r\n
Total Current Liabilities
\r\n
{{financial?.balanceSheet?.totalCurrentLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Non Current Financial Liabilities
\r\n
{{financial?.balanceSheet?.nonCurrentFinancialLiabilities}}
\r\n
\r\n
\r\n
Interest Bearing Loans
\r\n
{{financial?.balanceSheet?.interestBearingLoans}}
\r\n
\r\n
\r\n
Non Current Hire Purchase Commitments
\r\n
{{financial?.balanceSheet?.nonCurrentHirePurchaseCommitments}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Non Current Lease Commitments
\r\n
{{financial?.balanceSheet?.nonCurrentLeaseCommitments}}
\r\n
\r\n
\r\n
Non Current Group Loans
\r\n
{{financial?.balanceSheet?.nonCurrentGroupLoans}}
\r\n
\r\n
\r\n
Non Current Directors Loans
\r\n
{{financial?.balanceSheet?.nonCurrentDirectorsLoans}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Other Non Current Financial Liabilities
\r\n
{{financial?.balanceSheet?.otherNonCurrentFinancialLiabilities}}
\r\n
\r\n
\r\n
Non Current Grants
\r\n
{{financial?.balanceSheet?.nonCurrentGrants}}
\r\n
\r\n
\r\n
Total Other Non Current Liabilities
\r\n
{{financial?.balanceSheet?.totalOtherNonCurrentLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Non Current Trade Payables
\r\n
{{financial?.balanceSheet?.nonCurrentTradePayables}}
\r\n
\r\n
\r\n
Non Current Group Accounts Payable
\r\n
{{financial?.balanceSheet?.nonCurrentGroupAccountsPayable}}
\r\n
\r\n
\r\n
Non Current Liabilities Held For Resale
\r\n
{{financial?.balanceSheet?.nonCurrentLiabilitiesHeldForResale}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Accruals And Deferred Income Due After 1 Year
\r\n
{{financial?.balanceSheet?.accrualsAndDeferredIncomeDueAfter1Year}}
\r\n
\r\n
\r\n
Non Current Other Payables
\r\n
{{financial?.balanceSheet?.nonCurrentOtherPayables}}
\r\n
\r\n
\r\n
Provisions
\r\n
{{financial?.balanceSheet?.provisions}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Deferred Tax Liabilities
\r\n
{{financial?.balanceSheet?.deferredTaxLiabilities}}
\r\n
\r\n
\r\n
Other Provisions
\r\n
{{financial?.balanceSheet?.otherProvisions}}
\r\n
\r\n
\r\n
Pension Liabilities
\r\n
{{financial?.balanceSheet?.pensionLiabilities}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Non Current Liabilities
\r\n
{{financial?.balanceSheet?.totalNonCurrentLiabilities}}
\r\n
\r\n
\r\n
Total Called Up Or Issued Capital
\r\n
{{financial?.balanceSheet?.totalCalledUpOrIssuedCapital}}
\r\n
\r\n
\r\n
Ordinary Shares
\r\n
{{financial?.balanceSheet?.ordinaryShares}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Preference Shares
\r\n
{{financial?.balanceSheet?.preferenceShares}}
\r\n
\r\n
\r\n
Other Shares
\r\n
{{financial?.balanceSheet?.otherShares}}
\r\n
\r\n
\r\n
Revenue Reserves
\r\n
{{financial?.balanceSheet?.revenueReserves}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Profit And Loss Or Revenue Reserve
\r\n
{{financial?.balanceSheet?.profitAndLossOrRevenueReserve}}
\r\n
\r\n
\r\n
Revaluation Reserve
\r\n
{{financial?.balanceSheet?.revaluationReserve}}
\r\n
\r\n
\r\n
Other Reserves
\r\n
{{financial?.balanceSheet?.otherReserves}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Issued Share Capital
\r\n
{{financial?.balanceSheet?.issuedShareCapital}}
\r\n
\r\n
\r\n
Called Up Share Capital
\r\n
{{financial?.balanceSheet?.calledUpShareCapital}}
\r\n
\r\n
\r\n
Total Shareholders Equity
\r\n
{{financial?.balanceSheet?.totalShareholdersEquity}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Shareholders Funds
\r\n
{{financial?.balanceSheet?.totalShareholdersFunds}}
\r\n
\r\n
\r\n
Minority Interests
\r\n
{{financial?.balanceSheet?.minorityInterests}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n

Cash Flow

\r\n\r\n \r\n \r\n Year End Date \r\n Net Cash Flow From Operations \r\n Net Cash Flow Before Financing \r\n Net Cash Flow From Financing \r\n Increase In Cash \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.cashFlow?.netCashFlowFromOperations}}\r\n {{financial?.cashFlow?.netCashFlowBeforeFinancing}}\r\n {{financial?.cashFlow?.netCashFlowFromFinancing}}\r\n {{financial?.cashFlow?.increaseInCash}}\r\n \r\n \r\n\r\n\r\n

Other Financials

\r\n\r\n \r\n \r\n Year End Date \r\n Contingent Liabilities \r\n Bank Overdraft And Long Term Loans \r\n Working Capital \r\n Capital Employed \r\n Net Worth \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.otherFinancials?.contingentLiabilities}}\r\n {{financial?.otherFinancials?.bankOverdraftAndLTL}}\r\n {{financial?.otherFinancials?.workingCapital}}\r\n {{financial?.otherFinancials?.capitalEmployed}}\r\n {{financial?.otherFinancials?.netWorth}}\r\n \r\n \r\n\r\n\r\n

Ratios

\r\n\r\n \r\n \r\n \r\n Year End Date \r\n Pre Tax Profit Margin \r\n Return On Capital Employed \r\n Return On Total Assets Employed \r\n Return On Net Assets Employed \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{financial?.yearEndDate | date:'dd-MMM-yyyy'}}\r\n {{financial?.ratios?.preTaxProfitMargin}}\r\n {{financial?.ratios?.returnOnCapitalEmployed}}\r\n {{financial?.ratios?.returnOnTotalAssetsEmployed}}\r\n {{financial?.ratios?.returnOnNetAssetsEmployed}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Sales Or Net Working Capital
\r\n
{{financial?.ratios?.salesOrNetWorkingCapital}}
\r\n
\r\n
\r\n
Stock Turnover Ratio
\r\n
{{financial?.ratios?.stockTurnoverRatio}}
\r\n
\r\n
\r\n
Debtor Days
\r\n
{{financial?.ratios?.debtorDays}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Creditor Days
\r\n
{{financial?.ratios?.creditorDays}}
\r\n
\r\n
\r\n
Current Ratio
\r\n
{{financial?.ratios?.currentRatio}}
\r\n
\r\n
\r\n
Liquidity Ratio Or Acid Test
\r\n
{{financial?.ratios?.liquidityRatioOrAcidTest}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Current Debt Ratio
\r\n
{{financial?.ratios?.currentDebtRatio}}
\r\n
\r\n
\r\n
Gearing
\r\n
{{financial?.ratios?.gearing}}
\r\n
\r\n
\r\n
Equity In Percentage
\r\n
{{financial?.ratios?.equityInPercentage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total Debt Ratio
\r\n
{{financial?.ratios?.totalDebtRatio}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { ContactData } from \"./ContactData\";\r\n\r\nexport class AccessData {\r\n isHUTDatabaseAccess: boolean = false;\r\n isHUTDatabaseToggle: boolean = false;\r\n isMobileAccess: boolean = false;\r\n isMobileToggle: boolean = false;\r\n isEmailAccess: boolean = false;\r\n isEmailToggle: boolean = false;\r\n isIdentityAccess: boolean = false;\r\n isIdentityToggle: boolean = false;\r\n isFinancialAccess: boolean = false;\r\n isFinancialToggle: boolean = false;\r\n isAddressAccess: boolean = false;\r\n isAddressToggle: boolean = false;\r\n isCriminalityAccess: boolean = false;\r\n isCriminalityToggle: boolean = false;\r\n isSocialMediaAccess: boolean = false;\r\n isSocialMediaToggle: boolean = false;\r\n isCounterFraudAccess: boolean = false;\r\n isCounterFraudToggle: boolean = false;\r\n isSportsAccess: boolean = false;\r\n isSportsToggle: boolean = false;\r\n isAdvertsAccess: boolean = false;\r\n isAdvertsToggle: boolean = false;\r\n isCompaniesHouseAccess: boolean = false;\r\n isCompaniesHouseToggle: boolean = false;\r\n isAVAAccess: boolean = false;\r\n isAVAToggle: boolean = false;\r\n isAMLAccess: boolean = false;\r\n isAMLToggle: boolean = false;\r\n isCCJDetailAccess: boolean = false;\r\n isCCJDetailToggle: boolean = false;\r\n isInsolvencyDetailAccess: boolean = false;\r\n isInsolvencyDetailToggle: boolean = false;\r\n isRTWAccess: boolean = false;\r\n isRTWToggle: boolean = false;\r\n isRTWNoFormsAccess: boolean = false;\r\n isIDCheckAccess: boolean = false;\r\n isIDCheckToggle: boolean = false;\r\n}\r\n\r\nexport class SecondAccess {\r\n public items: Item[];\r\n}\r\n\r\nexport class Item {\r\n public key: string;\r\n public itemId: number;\r\n public itemName: string;\r\n public licenceType: string;\r\n public defaultValue: boolean;\r\n public toggle: boolean;\r\n public imageUrl: string;\r\n public ParentId: number;\r\n}\r\n\r\nexport class RequestData {\r\n public profileData: ContactData;\r\n public accessData: AccessData;\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-non-ltd-business',\r\n templateUrl: './non-ltd-business.component.html',\r\n styleUrls: ['./non-ltd-business.component.css']\r\n})\r\nexport class NonLtdBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n streetViewUrl(businessLocation: any) {\r\n const addressLines = [\r\n businessLocation.LocationLine1,\r\n businessLocation.LocationLine2,\r\n businessLocation.LocationLine3,\r\n businessLocation.LocationLine4,\r\n businessLocation.LocationLine5,\r\n businessLocation.Postcode\r\n ];\r\n const fullAddress = addressLines.filter(line => line?.trim()).join(\", \");\r\n const encodedAddress = encodeURIComponent(fullAddress);\r\n return `https://maps.googleapis.com/maps/api/streetview?size=600x300&location==${encodedAddress}&key=AIzaSyD6bQM-KV4Ul5Fcycmlzu7q4gWGJ05lraE`;\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n
Business Name{{business?.responseData?.businessNonRegisteredProfileResult?.BusinessName}}
Earliest Date On Record For Business{{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.EarliestKnownDate}}
Most Recent Date On Record For Business{{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.LastUpdated}}
Most Recent Proprietorship Start Date{{business?.responseData?.businessNonRegisteredProfileResult?.OwnershipStartDate}}
Most Recent Proprietorship End Date{{business?.responseData?.businessNonRegisteredProfileResult?.OwnershipEndDate}}
Business Location\r\n \r\n
Premise Type{{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.ThomsonData?.PremiseTypeDesc}}
Business Telephone Number{{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.TelephoneNumber}}
Website{{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.ThomsonData?.URL}}
Business Activities{{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.PrincipalActivities}}
SIC Information 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeDescription
{{sic.Code}}{{sic.Description}}
\r\n
Average Number Of Employees{{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.AvgNumEmployees}}
Contact Information 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Contact TitleContact ForenameContact SurnameContact Position
{{contact?.ContactTitle}}{{contact?.ContactForename}}{{contact?.ContactSurname}}{{contact?.ContactPosition}}
\r\n
Notice Of Corrections{{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.ConsumerCreditLicenceSummary?.NocFlag == 'N' ? 'No' : 'Yes'}}
Number Of Consumer Credit Licences (CCLs){{business?.responseData?.businessNonRegisteredProfileResult?.Identification?.CCLs?.CCLDetail?.length}}
CCL Details\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CCL Record TypeCCL NumberCCL DateCCL CategoriesLicensee NameDate Of Determination To Revoke CCLDate Of Determination To Suspend CCLDate Of Determination To Vary CCLCCL Appeal DateCCL Suspension DateCCL Suspension PeriodCCL Termination DateCCL Lapsed DateTrading Names Under CCLLicensee Address
{{ccl?.RecordType}}{{ccl?.LicenceNumber}}{{ccl?.LicenceDate}}{{ccl?.LicenceCategories}}{{ccl?.LicenseeDetail}}{{ccl?.DeterminationToRevokeDate}}{{ccl?.DeterminationToSuspendDate}}{{ccl?.DeterminationToVaryDate}}{{ccl?.AppealDate}}{{ccl?.SuspensionDate}}{{ccl?.SuspendPeriod}}{{ccl?.TerminationDate}}{{ccl?.LapsedDate}}{{ccl?.NumberTradingNames}}\r\n
\r\n
{{ccl?.LicenseeLocation?.LocationLine1}}
\r\n
{{ccl?.LicenseeLocation?.LocationLine2}}
\r\n
{{ccl?.LicenseeLocation?.LocationLine3}}
\r\n
{{ccl?.LicenseeLocation?.LocationLine4}}
\r\n
{{ccl?.LicenseeLocation?.LocationLine5}}
\r\n
{{ccl?.LicenseeLocation?.Postcode}}
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { VATResultModel } from '../../../../../models/VATResultModel';\r\n\r\n@Component({\r\n selector: 'app-vat-result-business',\r\n templateUrl: './vat-result-business.component.html',\r\n styleUrls: ['./vat-result-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class VatResultBusinessComponent implements OnInit {\r\n\r\n @Input() vatResult: VATResultModel = new VATResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.VatRequiredMessage}}
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
VAT Check:
\r\n
\r\n
Name:
\r\n
{{vatResult.responseData?.target?.name}}
\r\n
\r\n
\r\n
VAT Number:
\r\n
{{vatResult.responseData?.target?.vatNumber}}
\r\n
\r\n
\r\n
Address Line 1:
\r\n
{{vatResult.responseData?.target?.address?.line1}}
\r\n
\r\n
\r\n
Address Line 2:
\r\n
{{vatResult.responseData?.target?.address?.line2}}
\r\n
\r\n
\r\n
Address Line 3:
\r\n
{{vatResult.responseData?.target?.address?.line3}}
\r\n
\r\n
\r\n
Address Line 4:
\r\n
{{vatResult.responseData?.target?.address?.line4}}
\r\n
\r\n
\r\n
Postcode:
\r\n
{{vatResult.responseData?.target?.address?.postcode}}
\r\n
\r\n
\r\n
Country Code:
\r\n
{{vatResult.responseData?.target?.address?.countryCode}}
\r\n
\r\n
\r\n\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AccessData } from '../../../home/models/AccessData';\r\nimport { AVAResultData } from '../../../home/models/AVAModel/AVAResultData';\r\nimport { AvaResponseModel } from '../../models/AvaResponseModel';\r\nimport { InputAccessData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-ava-check',\r\n templateUrl: './ava-check.component.html',\r\n styleUrls: ['./ava-check.component.css']\r\n})\r\nexport class AvaCheckComponent implements OnInit {\r\n\r\n @Input() public avaResult: AvaResponseModel = new AvaResponseModel();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n\r\n // Constant Message\r\n public NoRelevantDataMessage = \"No relevant data found.\";\r\n public NoSearchSelect = \"Search option not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{NoSearchSelect}}
\r\n
{{avaResult?.errorMessage}}
\r\n
{{SearchFail}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

Vehicle Details

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
VRN :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.VRM }}\r\n Engine Number :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.EngineNumber }}\r\n
VIN :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.VINSerialNumber }}\r\n Engine Capcity :\r\n {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.EngineCapacity}}\r\n
Make :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.MakeModel }}\r\n Fuel Type :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Fuel }}\r\n
Model :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Model }}\r\n Year of Manufacture :\r\n {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.YearOfManufacture}}\r\n
Colour :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Colour }}\r\n First Registered in UK :\r\n {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateFirstRegistered | date: 'dd-MM-yyyy'}}\r\n
Body Type :\r\n
{{ avaResult?.responseData?.advert?.VehicleBodyType }}
\r\n
Previous Keepers :\r\n {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.KeeperChangesDetails?.KeeperChangesCount}}\r\n
Transmission :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.Transmission }}\r\n Co2 Emission :\r\n {{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.CO2Emissions }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

Messages

\r\n
0;else noFoundMessage\" class=\"\">\r\n
\r\n
\r\n

{{message?.MsgLine1}}

\r\n

{{message?.MsgLine2}}

\r\n

{{message?.MsgLine3}}

\r\n

{{message?.MsgLine4}}

\r\n
\r\n
\r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n

Caution Data

\r\n
\r\n
\r\n
\r\n Additional DVLA Data\r\n
\r\n Notified as previously registered at DVLA as \r\n {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.GBVRM}}\r\n
\r\n You must check the previous VRM.\r\n
\r\n
\r\n
\r\n Additional DVLA Data\r\n
\r\n Notified as previously registered at DVLNI as \r\n {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.NIVRM}}\r\n
\r\n You must check the previous VRM.\r\n
\r\n
\r\n
\r\n \r\n
\r\n
Stolen
\r\n
\r\n
\r\n

Date:

\r\n
\r\n
\r\n

Status:

\r\n
\r\n
\r\n

Police Force:

\r\n
\r\n
\r\n

Contact No.:

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.DateOfTransaction }}

\r\n
\r\n
\r\n

{{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.Status }}

\r\n
\r\n
\r\n

{{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.Force }}

\r\n
\r\n
\r\n

{{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.StolenVehicleDetails?.ContactNumber }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
High Risk
\r\n
\r\n
\r\n

High Risk Type: {{ highRisk.HighRiskType }}

\r\n
\r\n
\r\n

Reference No.: ---

\r\n
\r\n
\r\n

Company Name: {{ highRisk.CompanyName }}

\r\n
\r\n
\r\n

Date of Interest: {{ highRisk.DateOfInterest}}

\r\n
\r\n
\r\n

Contact No.: {{ highRisk.ContactNumber }}

\r\n
\r\n
\r\n

Period: {{ highRisk.RegistrationPeriod }}

\r\n
\r\n
\r\n

Contact Reference: {{ highRisk.ContactReference }}

\r\n
\r\n
\r\n

Extra Information: {{ highRisk.ExtraInfo }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Finance
\r\n
\r\n
\r\n
Date of Interest: {{Finance?.AgreementDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Agreement Type: {{Finance?.AgreementType}}
\r\n
\r\n
\r\n
Finance Company: {{Finance?.FinanceCompany}}
\r\n
\r\n
\r\n
Agreement Term: {{Finance?.AgreementTerm + ' months'}}
\r\n
\r\n
\r\n
Contact No.: {{Finance?.ContactNumber}}
\r\n
\r\n
\r\n
Vehicle Description: {{Finance?.VehicleDescription}}
\r\n
\r\n
\r\n
Agreement No.: {{Finance?.AgreementNumber}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
ABI Condition
\r\n
\r\n
\r\n
Loss Type: {{ConditionDetails?.Status}}
\r\n
\r\n
\r\n
Loss Date: {{ConditionDetails?.LossDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
MIAFTR Entry Date: {{ConditionDetails?.MIAFTRENTRYDATE | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Make and Model: {{ConditionDetails?.Make + ' ' + ConditionDetails?.Model}}
\r\n
\r\n
\r\n
Theft indicator: {{ConditionDetails?.TheftIndicatorLiteral}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Scrapped
\r\n
\r\n Recorded as scrapped on {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateScrapped | date:'dd-MM-yyyy'}}\r\n
\r\n
\r\n DVLA have recorded a Certificate of Destruction was issued on this vehicle on {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateScrapped | date:'dd-MM-yyyy'}}\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
Plate Change
\r\n
\r\n
\r\n
Previous VRM
\r\n
\r\n
\r\n
Date of Transfer
\r\n
\r\n
\r\n
\r\n
\r\n
{{PlateChanges?.PreviousVRM}}
\r\n
\r\n
\r\n
{{PlateChanges?.DateOfReceipt | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
0\">\r\n
\r\n \r\n Current VRM \r\n {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.PlateChangeDetails?.PlateChanges1[0].CurrentVRM}}\r\n  please check the plate for further details.\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
Exported
\r\n
\r\n
\r\n
Date
\r\n
\r\n
\r\n
Status
\r\n
\r\n
\r\n
\r\n
\r\n
{{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.DateExported | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
Exported
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n

Potential Import

\r\n
\r\n Previously registered and/or used, declared manufactured in {{avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleRegistration?.YearOfManufacture}}\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
Colour Change
\r\n
\r\n
\r\n
Colours
\r\n
\r\n
\r\n
Previous colour
\r\n
\r\n
\r\n
Date changed
\r\n
\r\n
\r\n
\r\n
\r\n
{{ColourChange?.NumberOfPreviousColours}}
\r\n
\r\n
\r\n
{{ColourChange?.LastColour}}
\r\n
\r\n
\r\n
{{ColourChange?.DateOfLastColourChange | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
Vehicle Identity Check
\r\n
\r\n
\r\n
Result
\r\n
\r\n
\r\n
VIC Date
\r\n
\r\n
\r\n
\r\n
\r\n
{{(VehicleIDCheck?.VICResult === 1)?'PASS':'FAIL'}}
\r\n
\r\n
\r\n
{{VehicleIDCheck?.VICDate | date:'dd-MM-yyyy'}}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n

Keeper Changes

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
KeeperLast ChangedTransaction
\r\n {{ keeper?.NumberOfPreviousKeepers }}\r\n \r\n {{ keeper?.DateOfLastKeeperChange | date:'dd-MM-yyyy'}}\r\n \r\n {{ keeper?.DateOfTransaction | date:'dd-MM-yyyy'}}\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

Status

\r\n
\r\n
\r\n
\r\n
\r\n

{{ avaResult?.responseData?.vehicleData?.ApprovedProgramCheckResult?.VehicleStatus }}

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NOT STOLEN

\r\n

STOLEN

\r\n
\r\n
\r\n
\r\n
\r\n

NO HIGH RISK

\r\n

HIGH RISK

\r\n
\r\n
\r\n
\r\n
\r\n

NO FINANCE

\r\n

FINANCE

\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NO ABI CONDITION

\r\n

ABI CONDITION

\r\n
\r\n
\r\n
\r\n
\r\n

NOT SCRAPPED

\r\n

SCRAPPED

\r\n
\r\n
\r\n
\r\n
\r\n

ORIGINAL PLATE

\r\n

PLATE CHANGE

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

NO EXPORT DATA

\r\n

EXPORTED

\r\n
\r\n
\r\n
\r\n
\r\n

NO IMPORT DATA

\r\n

POTENTIAL IMPORT

\r\n
\r\n
\r\n
\r\n
\r\n

NO EXTRA DATA

\r\n

EXTRA DATA

\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n

\r\n Previous Searches\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Type Of BusinessDate Of TransactionTime Of Transaction
\r\n {{ search?.TypeOfBusiness }}\r\n \r\n {{ search?.DateOfTransaction| date:'dd-MM-yyyy' }}\r\n \r\n {{ search?.TimeOfTransaction }}\r\n
\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n

Mot History

\r\n
\r\n
\r\n
\r\n

Test Date

\r\n
\r\n
\r\n

Expiry Date

\r\n
\r\n
\r\n

Test Result

\r\n
\r\n
\r\n

\r\n Odometer Reading\r\n

\r\n
\r\n
\r\n

\r\n Mot Test Number\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ mot?.TestDate }}

\r\n
\r\n
\r\n

{{ mot?.ExpiryDate }}

\r\n
\r\n
\r\n

{{ mot?.TestResult }}

\r\n
\r\n
\r\n

{{ mot?.OdometerReading }}

\r\n
\r\n
\r\n

{{ mot?.TestNumber }}

\r\n
\r\n\r\n
\r\n
Advisory Notice Items
\r\n
    \r\n
  • \r\n {{ notice }}\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n

Advert

\r\n
\r\n
\r\n
\r\n

\r\n Title: {{ advert?.AdvertTitle }}\r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \"Los\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n

Source: {{ advert?.AdvertSource }}

\r\n
\r\n
\r\n

Milage: {{ advert?.VehicleMileage }}

\r\n
\r\n
\r\n

Posted on: {{ advert?.VehiclePostedOn | date:'dd-MM-yyyy'}}

\r\n
\r\n
\r\n

Price: {{ advert?.VehiclePrice }}

\r\n
\r\n
\r\n

Seller: {{ advert?.Seller}}

\r\n
\r\n
\r\n

Seller Email:{{ advert?.OtherData?.SellerDetail?.SellerEmail}}

\r\n
\r\n
\r\n

Seller Mobile: {{ advert?.OtherData?.SellerDetail?.SellerMobile}}

\r\n
\r\n
\r\n

Seller Location: {{ advert?.OtherData?.SellerDetail?.SellerLocation }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
Description
\r\n
\r\n

\r\n {{ advert?.VehicleDescription }}\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
{{NoRelevantDataMessage}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { DatePipe } from '@angular/common';\r\nimport { Injectable } from '@angular/core';\r\nimport * as FileSaver from 'file-saver';\r\nimport * as XLSX from 'xlsx';\r\nimport { Audit } from '../../shared/models/audit';\r\n\r\nconst EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';\r\nconst EXCEL_EXTENSION = '.xlsx';\r\n\r\n@Injectable()\r\nexport class ExcelService {\r\n\r\n constructor(public datepipe: DatePipe) { }\r\n\r\n public exportAsExcelFile(json: Audit[], excelFileName: string): void {\r\n\r\n let mappedJson = json.map(item => {\r\n return {\r\n \"Reference\": item.reference,\r\n \"Search Date\": this.datepipe.transform(item.searchDate, 'dd-MM-YYYY HH:mm:ss', 'en-US'),\r\n \"Username\": item.userName,\r\n \"Search\": item.searchName,\r\n \"SearchType\": item.searchType,\r\n \"Other\":item.other\r\n // \"VRN\": item.vrn,\r\n // \"Vehicle Check\": item.vrn ? item.vechileCheck : \"\",\r\n // \"Is Valid Profile\": item.searchType == 'HeadsupAPI' && item.apimi ? item.apimi.isValidProfile : ''\r\n }\r\n });\r\n\r\n const myworksheet: XLSX.WorkSheet = XLSX.utils.json_to_sheet(mappedJson);\r\n const myworkbook: XLSX.WorkBook = { Sheets: { 'data': myworksheet }, SheetNames: ['data'] };\r\n const excelBuffer: any = XLSX.write(myworkbook, { bookType: 'xlsx', type: 'array' });\r\n this.saveAsExcelFile(excelBuffer, excelFileName);\r\n }\r\n\r\n private saveAsExcelFile(buffer: any, fileName: string): void {\r\n const data: Blob = new Blob([buffer], {\r\n type: EXCEL_TYPE\r\n });\r\n FileSaver.saveAs(data, fileName + EXCEL_EXTENSION);\r\n }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../../services/messaging.service';\r\nimport { CompaniesHouseResultModel } from '../../../../../../models/CompaniesHouseResultModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-companieshouse-result-personal',\r\n templateUrl: './pdf-companieshouse-result-personal.component.html',\r\n styleUrls: ['./pdf-companieshouse-result-personal.component.css', '../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfCompanieshouseResultPersonalComponent implements OnInit {\r\n\r\n @Input() companiesHouse: CompaniesHouseResultModel = new CompaniesHouseResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{messageService.NoSearchSelect}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{people.Name }} {{'('+ 'Disqualified'+')'}}\r\n
\r\n
{{people.Description}}
\r\n
\r\n
\r\n
\r\n
\r\n
Address
\r\n
{{people.Address}}
\r\n
\r\n
\r\n
Date Of Birth
\r\n
{{people.DateOfBirth}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{cmp.Name + '(' + cmp.Number + ')'}}
\r\n
\r\n
\r\n
\r\n
\r\n
Company status
\r\n
{{cmp.Status}}
\r\n
\r\n
\r\n
Officer Role
\r\n
{{cmp.OfficerRole}}
\r\n
\r\n
\r\n
Appointed On
\r\n
{{cmp.companyObject.appointed_on}}
\r\n
\r\n
\r\n
\r\n
\r\n
Resigned On
\r\n
{{cmp.companyObject.resigned_on}}
\r\n
\r\n
\r\n
Nationality
\r\n
{{cmp.companyObject.nationality}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
  • {{cmp.Name + '(' + cmp.Status + ')'}}
  • \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { EmailageCheckResultModel } from '../../../../../models/EmailResultModel';\r\nimport { FinancialResultModel } from '../../../../../models/FinancialResultModel';\r\n\r\n@Component({\r\n selector: 'app-email-new-result-personal',\r\n templateUrl: './email-new-result-personal.component.html',\r\n styleUrls: ['./email-new-result-personal.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class EmailNewResultPersonalComponent implements OnInit {\r\n\r\n @Input() emailage: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n @Input() financial: FinancialResultModel = new FinancialResultModel();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Email\r\n
\r\n
\r\n
\r\n Risk\r\n
\r\n
\r\n
\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.EmailRequiredMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageSercice.NoRelevantDataMessageShort}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{emailage.responseData?.data?.emailRiskInfo?.riskBandIdStatus}}
\r\n
\r\n
\r\n
{{emailage.responseData?.data?.emailRiskInfo?.riskBandIdStatus}}
\r\n
\r\n
=4 && emailage.responseData?.data?.emailRiskInfo?.riskBandId <= 6\">\r\n
{{emailage.responseData?.data?.emailRiskInfo?.riskBandIdStatus}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Match\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.EmailRequiredMessage}}
\r\n
{{messageService.PostCodeRequiredMessage}}
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
\r\n\r\n
0)\">\r\n YES\r\n NO\r\n
\r\n
\r\n No Data\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Driving Licence Number:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Driver Licence number is required\r\n

\r\n

\r\n {{messagingService.driverLicenceCheckValidateMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { Item } from '../../models/Items';\r\nimport { AccessData, ProfileData, RequestData } from '../../models/SearchRequestModel';\r\nimport { SearchType } from '../../models/SearchType';\r\nimport { MessagingService } from '../../../services/messaging.service';\r\nimport { DriverLicenceCheckResultModel, entitlementResultModel, restrictions } from '../../models/DriverLicenceCheckResultModel';\r\nimport { CsvProcessorService } from './services/CsvProcessorService';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { Shared } from '../../../services/shared';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-LicenceCheck',\r\n templateUrl: './driverlicencecheck.component.html',\r\n styleUrls: ['./driverlicencecheck.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class DriverLicenceCheckComponent implements OnInit {\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n public driverLicenceCheckForm: FormGroup;\r\n public driverLicenceCheckResultData: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n public driverLicenceNumberRegex = /^[A-Z9]{5}\\d[0156]\\d([0][1-9]|[12]\\d|3[01])\\d[A-Z9]{2}\\d[A-Z]{2}$/gm;\r\n public validation: any = {\r\n 'reference': [Validators.required],\r\n 'driverLicenceNumber': [Validators.pattern(this.driverLicenceNumberRegex),Validators.required],\r\n };\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n public loggedInUsername: string = \"\";\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n\r\n public entitleObject: entitlementResultModel = new entitlementResultModel();\r\n public restrictions: restrictions = new restrictions();\r\n public tempEntitlementResult: entitlementResultModel[] = [];\r\n public entitlementResultModel: entitlementResultModel[] = [];\r\n public csvData: any[] = []; \r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private router: Router,\r\n public messagingService: MessagingService,\r\n private searchService: SearchService,\r\n private csvService: CsvProcessorService) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"DRIVERLICENCECHECK\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n });\r\n\r\n this.csvService.getCSVData().subscribe(\r\n (data) => {\r\n this.csvData = data; \r\n // console.log(this.csvData); \r\n },\r\n (error) => {\r\n console.error('Error loading CSV data', error);\r\n }\r\n );\r\n this.saveAsPDFButtonVisibility = false;\r\n this.driverLicenceCheckForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\",Validators.required],\r\n driverLicenceNumber: [\"\",[Validators.required, Validators.pattern(this.driverLicenceNumberRegex)]]\r\n });\r\n this.getLicenceItems();\r\n this.getUserDetails();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.driverLicenceCheckForm.get('reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 5000);\r\n }\r\n\r\n public driverLicenceSearch(): void {\r\n this.showResultTab = false;\r\n this.driverLicenceCheckForm.markAllAsTouched();\r\n\r\n if (this.driverLicenceCheckForm.valid) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n this.saveAsPDFButtonVisibility = true;\r\n this.resetResultObjects();\r\n\r\n this.setActiveResultTab();\r\n\r\n this.showResultTab = true;\r\n\r\n var requestObj: RequestData = this.prepareRequestData();\r\n // this.requestData = this.prepareRequestData();\r\n // console.log(requestObj);\r\n\r\n this.driverLicenceCheck(requestObj);\r\n \r\n }\r\n );\r\n\r\n }\r\n }\r\n \r\n\r\n driverLicenceCheck(requestObj: RequestData) {\r\n this.driverLicenceCheckResultData.noRelevantData = false;\r\n this.driverLicenceCheckResultData.noSearchSelect = false;\r\n this.driverLicenceCheckResultData.responseData = null;\r\n this.driverLicenceCheckResultData.searchFail = false;\r\n if(requestObj.profileData.drivingLicenceNumber) {\r\n this.driverLicenceCheckResultData.isLoading = true;\r\n this.searchService.SearchDriverLicenceCheck(requestObj).subscribe(data => {\r\n this.driverLicenceCheckResultData.isLoading = false;\r\n //console.log(JSON.parse(data.data));\r\n if (!data || !data.data || data.data.length == 0) {\r\n this.driverLicenceCheckResultData.noRelevantData = true;\r\n return;\r\n }\r\n if (data.status == 200) {\r\n this.driverLicenceCheckResultData.responseData = JSON.parse(data.data);\r\n this.driverLicenceCheckResultData.responseData.entitlement.forEach((result: any) => {\r\n this.entitleObject.categoryCode = result.categoryCode;\r\n this.entitleObject.categoryType = result.categoryType;\r\n const matchedVehicle = this.csvData.find(csvRow => csvRow.CODE.toLowerCase() === result.categoryCode.toLowerCase());\r\n this.entitleObject.fromDate = result.fromDate;\r\n this.entitleObject.expiryDate = result.expiryDate;\r\n this.entitleObject.restrictions = result.restrictions;\r\n if(matchedVehicle) {\r\n this.entitleObject.categoryVehicle = matchedVehicle ? matchedVehicle.VEHICLE : '';\r\n }\r\n this.tempEntitlementResult.push(this.entitleObject);\r\n this.entitleObject = new entitlementResultModel();\r\n });\r\n this.entitlementResultModel = this.tempEntitlementResult;\r\n // console.log(this.driverLicenceCheckResultData.responseData);\r\n } else if (data.status == 404) {\r\n var responseResult = JSON.parse(data.data);\r\n console.log(responseResult.errors);\r\n responseResult.errors.forEach((x) => {\r\n if (x.status === \"404\") {\r\n this.driverLicenceCheckResultData.noRelevantData = true;\r\n this.driverLicenceCheckResultData.isLoading = false;\r\n return; \r\n }\r\n });\r\n }\r\n }\r\n ,error => {\r\n this.driverLicenceCheckResultData.isLoading = false;\r\n //this.driverLicenceCheckResultData.noRelevantData = true;\r\n this.driverLicenceCheckResultData.searchFail = true;\r\n console.log(error);\r\n })\r\n }\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.driverLicenceCheckForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n console.log(this.driverLicenceCheckForm.controls)\r\n for (const control in this.driverLicenceCheckForm.controls) {\r\n this.driverLicenceCheckForm.get(control).clearValidators();\r\n this.driverLicenceCheckForm.get(control).setValidators(this.validation[control]);\r\n this.driverLicenceCheckForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n public setActiveResultTab() {\r\n setTimeout(() => {\r\n // Tab Header\r\n var navLine = $('.nav-link');\r\n $.each(navLine, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n\r\n // Tab Result\r\n var tabPane = $('.tab-pane');\r\n $.each(tabPane, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n\r\n // Show first tab as active\r\n $('#licence-detail-tab').addClass(\"active\");\r\n $('#LicenceDetail').addClass(\"active\");\r\n }, 200);\r\n }\r\n\r\n public resetResultObjects(): void {\r\n this.driverLicenceCheckResultData = new DriverLicenceCheckResultModel();\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public professionalClearSearch(): void {\r\n this.driverLicenceCheckForm.reset();\r\n this.showResultTab = false;\r\n this.saveAsPDFButtonVisibility = false;\r\n }\r\n\r\n public validationCheck() {\r\n let driverLicenceCheck = this.driverLicenceCheckForm.get('driverLicenceNumber').value;\r\n console.log(driverLicenceCheck);\r\n if(driverLicenceCheck) {\r\n this.driverLicenceCheckForm.get('driverLicenceNumber').clearValidators();\r\n this.driverLicenceCheckForm.get('driverLicenceNumber').setValidators([this.validation['driverLicenceNumber']]);\r\n this.driverLicenceCheckForm.get('driverLicenceNumber').updateValueAndValidity();\r\n } \r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.driverLicenceCheckForm.get('audit').value;\r\n profileData.referenceNumber = this.driverLicenceCheckForm.get('reference').value;\r\n profileData.drivingLicenceNumber = this.driverLicenceCheckForm.get('driverLicenceNumber').value;\r\n\r\n profileData.searchType = SearchType.DriverLicenceCheck.toString();\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = this.accessData;\r\n return requestObj;\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n case \"DRIVERLICENCECHECK\": {\r\n this.accessData.isDriverLicenceAccess = item.defaultValue;\r\n this.accessData.isDriverLicenceToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n}\r\n","import { ToastMessageComponent } from './shared/components/toast-message/toast-message.component';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { ModalModule } from 'ngx-bootstrap/modal';\r\nimport { NoCacheHeadersInterceptor } from './Cache-Interceptor';\r\nimport { GaugeChartModule } from 'angular-gauge-chart'\r\n//import { TooltipModule } from 'ngx-bootstrap/tooltip';\r\nimport { TableModule } from 'primeng/table';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { ToastModule} from 'primeng/toast';\r\nimport {ConfirmDialogModule} from 'primeng/confirmdialog';\r\nimport { CardModule } from 'primeng/card';\r\nimport { DynamicDialogModule } from 'primeng/dynamicdialog'\r\nimport { Ng2TelInputModule } from 'ng2-tel-input';\r\nimport { NgxSliderModule } from '@angular-slider/ngx-slider';\r\n\r\n/** Custom modules import */\r\nimport { SharedModule } from './shared/shared.module';\r\nimport { AppComponent } from './app.component';\r\nimport { LoginComponent } from './shared/components/login/login.component';\r\nimport { UserRegisterComponent } from './shared/components/user-register/user-register.component';\r\nimport { ThankYouMessagesComponent } from './shared/components/thank-you-messages/thank-you-messages.component';\r\nimport { PagenotfoundComponent } from './shared/components/pagenotfound/pagenotfound.component';\r\nimport { AuthGuard } from './shared/guards/auth.guard';\r\nimport { HeadsUpInterceptor } from './HeadsUpInterceptor';\r\nimport { ForgetPasswordComponent } from './shared/components/forget-password/forget-password.component';\r\nimport { ResetPasswordComponent } from './shared/components/resetpassword/resetpassword.component';\r\nimport { ResendVerificationlinkComponent } from './shared/components/resend-verificationlink/resend-verificationlink.component';\r\nimport { ContactFormComponent } from './shared/components/contact-form/contact-form.component';\r\nimport { ScreenSearchDataComponent } from './screensearch/screen-search-data/screen-search-data.component';\r\nimport { FilenamePipe } from './screensearch/filename.pipe';\r\nimport { SubscriptionComponent } from './subscription/subscription.component';\r\nimport { ExcelService } from './subscription/service/excel.service';\r\nimport { ConfirmationService } from 'primeng/api';\r\nimport { DatePipe } from '@angular/common';\r\nimport { TermsAndConditionsComponent } from './shared/components/terms-and-conditions/terms-and-conditions.component';\r\nimport { CookiePolicyComponent } from './shared/components/cookie-policy/cookie-policy.component';\r\nimport { InputNumberModule } from 'primeng/inputnumber';\r\nimport { ExportpdfComponent } from './exportpdf/exportpdf.component';\r\n//import { PDFExportModule } from '@progress/kendo-angular-pdf-export';\r\nimport { SearchFormComponent } from './exportpdf/components/search-form/search-form.component';\r\nimport { AccessToggleComponent } from './exportpdf/components/access-toggle/access-toggle.component';\r\nimport { ResultTopCardComponent } from './exportpdf/components/result-top-card/result-top-card.component';\r\nimport { MobileEnquiryComponent } from './exportpdf/components/mobile-enquiry/mobile-enquiry.component';\r\nimport { CounterFraudComponent } from './exportpdf/components/counter-fraud/counter-fraud.component';\r\nimport { EmailCheckComponent } from './exportpdf/components/email-check/email-check.component';\r\nimport { FinancialCheckComponent } from './exportpdf/components/financial-check/financial-check.component';\r\nimport { AmlCheckComponent } from './exportpdf/components/aml-check/aml-check.component';\r\nimport { AvaCheckComponent } from './exportpdf/components/ava-check/ava-check.component';\r\nimport { CJJCheckComponent } from './exportpdf/components/cjj-check/cjj-check.component';\r\nimport { InsolvencyCheckComponent } from './exportpdf/components/insolvency-check/insolvency-check.component';\r\nimport { AddressCheckComponent } from './exportpdf/components/address-check/address-check.component';\r\nimport { ProspectCheckComponent } from './exportpdf/components/prospect-check/prospect-check.component';\r\nimport { V3Module } from './demo/V3/v3.module';\r\nimport { OTPPageComponent } from './shared/components/otppage/otppage.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n PagenotfoundComponent,\r\n UserRegisterComponent,\r\n ThankYouMessagesComponent,\r\n ResendVerificationlinkComponent,\r\n ContactFormComponent,\r\n ScreenSearchDataComponent,\r\n SubscriptionComponent,\r\n FilenamePipe,\r\n ToastMessageComponent,\r\n ExportpdfComponent,\r\n SearchFormComponent,\r\n AccessToggleComponent,\r\n ResultTopCardComponent,\r\n MobileEnquiryComponent,\r\n CounterFraudComponent,\r\n EmailCheckComponent,\r\n FinancialCheckComponent,\r\n AmlCheckComponent,\r\n AvaCheckComponent,\r\n CJJCheckComponent,\r\n InsolvencyCheckComponent,\r\n AddressCheckComponent,\r\n ProspectCheckComponent\r\n ],\r\n imports: [\r\n TableModule,\r\n CardModule,\r\n CheckboxModule,\r\n DropdownModule,\r\n TooltipModule,\r\n ConfirmDialogModule,\r\n ToastModule,\r\n ButtonModule,\r\n InputNumberModule,\r\n GaugeChartModule,\r\n DynamicDialogModule,\r\n NgxSliderModule,\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n ModalModule.forRoot(),\r\n //TooltipModule.forRoot(),\r\n FormsModule,\r\n SharedModule,\r\n ReactiveFormsModule,\r\n BrowserAnimationsModule,\r\n Ng2TelInputModule,\r\n V3Module,\r\n RouterModule.forRoot([\r\n { path: '', component: LoginComponent },\r\n //{ path: 'search', component: HomeComponent, canActivate: [AuthGuard] },\r\n { path: 'Login', component: LoginComponent },\r\n { path: 'OTPVerification', component: OTPPageComponent},\r\n { path: 'ForgetPassword', component: ForgetPasswordComponent },\r\n { path: 'ResetPassword', component: ResetPasswordComponent },\r\n { path: 'Thankyou', component: ThankYouMessagesComponent },\r\n { path: 'ResendLink', component: ResendVerificationlinkComponent },\r\n { path: 'ContactUs', component: ContactFormComponent },\r\n //{ path: 'screen', component: ScreenSearchDataComponent },\r\n { path: 'settings', component: SubscriptionComponent, canActivate: [AuthGuard] },\r\n //{ path: 'demo', component: DemoComponent },\r\n //{ path: 'usidcheckdemo', component: UsidcheckdemoComponent },\r\n //{ path: 'cookie-policy', component: CookiePolicyComponent },\r\n { path: '**', component: PagenotfoundComponent }\r\n ]),\r\n //PDFExportModule\r\n ],\r\n schemas: [\r\n CUSTOM_ELEMENTS_SCHEMA\r\n ],\r\n providers: [\r\n ExcelService,\r\n DatePipe,\r\n //{ provide: HTTP_INTERCEPTORS, useClass: HeadsUpInterceptor, multi: true },\r\n UserRegisterComponent,\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: NoCacheHeadersInterceptor,\r\n multi: true\r\n }\r\n ],\r\n bootstrap: [AppComponent],\r\n entryComponents: [\r\n TermsAndConditionsComponent\r\n ]\r\n})\r\nexport class AppModule { }\r\n","import { ProfileData } from \"./SearchRequestModel\";\r\n\r\nexport class CounterFraudResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public validationMessage: boolean;\r\n public noRelevantData: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n public needleValue: number = 0;\r\n\r\n constructor() { }\r\n}\r\n\r\nexport class ProspectResultModel {\r\n public profileData: ProfileData;\r\n public noSearchSelect: boolean;\r\n public isProspectHitLoading: boolean;\r\n public isProspectProfileLoading: boolean;\r\n public isProspectHitAccess: boolean;\r\n public isProspectProfileAccess: boolean;\r\n public validation: boolean;\r\n public searchFail: boolean;\r\n public prospectHitResponseData: any;\r\n public prospectProfileResponseData: any;\r\n public prospectProfileButtonDisable: boolean;\r\n public prospectProfileButtonText: string;\r\n}\r\n","import { Component, OnInit, ElementRef } from '@angular/core';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { LoginService } from '../../service/login.service';\r\nimport { ResetPassword } from '../../models/resetpassword';\r\n\r\n@Component({\r\n selector: 'app-resetpassword',\r\n templateUrl: './resetpassword.component.html',\r\n styleUrls: ['./resetpassword.component.css']\r\n})\r\nexport class ResetPasswordComponent implements OnInit {\r\n public resetPassword: ResetPassword = new ResetPassword(\"\", \"\", \"\", \"\");\r\n public validationerror: string;\r\n public loading: boolean;\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private elementRef: ElementRef) { }\r\n \r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit() {\r\n //this.resetPassword.email = this.route.snapshot.queryParams.email;\r\n //this.resetPassword.token = this.route.snapshot.queryParams.token;\r\n\r\n this.resetPassword.email = this.route.snapshot.queryParamMap.get(\"email\");\r\n this.resetPassword.token = this.route.snapshot.queryParamMap.get(\"token\");\r\n }\r\n\r\n public ResetPassword() {\r\n this.loginService.resetpassword(this.resetPassword)\r\n .subscribe(\r\n data => {\r\n this.router.navigate([\"/Thankyou\"], { queryParams: { status: 'resetPassword' } });\r\n this.loading = false;\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 400) {\r\n if (JSON.parse(error._body)[\"ConfirmPassword\"][0] == \"Password Mismatch\") {\r\n this.loading = false;\r\n this.validationerror = \"Password and Confirm Password must match!\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n }\r\n else if (error.status == 401) {\r\n this.loading = false;\r\n this.validationerror = JSON.parse(error._body).message;\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 8000);\r\n }\r\n else if (error.status == 405) {\r\n this.loading = false;\r\n this.validationerror = \"Your password reset link is not valid, or already used. You can reset password using forgot password link on the login page.\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 12000);\r\n }\r\n else {\r\n this.loading = false;\r\n this.validationerror = \"Internal Server Error\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n });\r\n }\r\n}\r\n\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Reset Password

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Password is required
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Confirm Password is required
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n {{validationerror}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { FinancialResultModel } from '../../../../../models/FinancialResultModel';\r\n\r\n@Component({\r\n selector: 'app-financial-new-result-personal',\r\n templateUrl: './financial-new-result-personal.component.html',\r\n styleUrls: ['./financial-new-result-personal.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class FinancialNewResultPersonalComponent implements OnInit {\r\n\r\n @Input() financial: FinancialResultModel = new FinancialResultModel();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Financial\r\n
\r\n
\r\n
\r\n CCJ\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.NoRecordsOfSubject}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.PostcodeOrDOBRequiredMessage}}
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Insolvency\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.NoRecordsOfSubject}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.PostcodeOrDOBRequiredMessage}}
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","export class CSVRecords {\r\n constructor(\r\n public referenceNumber: string,\r\n //public claimNumber: string,\r\n public businessName: string,\r\n public limitedCompanyNumber: string,\r\n public businessPostCode: string,\r\n public businessMobile: string,\r\n public businessEmail: string,\r\n public ownerorDirectorName: string,\r\n public ownerPostCode: string,\r\n public ownerMobile: string,\r\n public ownerEmail: string,\r\n public ownerDOB: string,\r\n public eventDate: string) { }\r\n}\r\n\r\nexport class ScreenInputData {\r\n constructor(\r\n public type: string,\r\n public data: CSVRecords[],\r\n public fileName: string\r\n ) { }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../../services/messaging.service';\r\nimport { SportsResultModel } from '../../../../../../models/SportsResultModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-sports-result-personal',\r\n templateUrl: './pdf-sports-result-personal.component.html',\r\n styleUrls: ['./pdf-sports-result-personal.component.css', '../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSportsResultPersonalComponent implements OnInit {\r\n\r\n @Input() sports: SportsResultModel = new SportsResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n Hide Status \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CategoryStatus
{{lifestyle.displayname}}\r\n {{lifestyle.status}}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n
\r\n

\r\n Search returned {{sports.sportsResultCount}} results\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{result.title}}
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n

Source: {{result.source}}

\r\n
\r\n
\r\n

Published Date: {{result.pubDate}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","export class ResetPassword {\r\n constructor(\r\n public email: string,\r\n public password: string,\r\n public confirmpassword: string,\r\n public token: string\r\n ) { }\r\n}\r\n","export class Register {\r\n constructor(\r\n public firstName: string,\r\n public lastName: string,\r\n public department: string,\r\n public email: string,\r\n public password: string\r\n ) { }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DriverLicenceCheckResultModel } from '../../../../models/DriverLicenceCheckResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-test-pass',\r\n templateUrl: './test-pass.component.html',\r\n styleUrls: ['./test-pass.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class TestPassComponent implements OnInit {\r\n @Input() driverLicenceResultDataModel: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n constructor(public messagingService: MessagingService,) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
{{messagingService.SearchFail}}
\r\n
{{messagingService.NoRelevantDataMessage}}
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

Code:

\r\n
\r\n

{{ result?.categoryCode }}

\r\n
\r\n

Category:

\r\n
\r\n

{{ result?.categoryLegalLiteral }}

\r\n
\r\n

Test Date:

\r\n
\r\n

{{ result?.testDate }}

\r\n
\r\n

Status:

\r\n
\r\n

{{ result?.status }}

\r\n
\r\n

Automatic:

\r\n
\r\n

{{ result?.withAutomaticTransmission }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\nimport { BusinessOpenSourceResultModel, BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\nimport { CounterFraudResultModel, ProspectResultModel } from '../../../../../models/CounterFraudResultModel';\r\nimport { CompaniesHouseResultModel } from '../../../../../models/CompaniesHouseResultModel';\r\nimport { EmailCheckResultModel, EmailageCheckResultModel } from '../../../../../models/EmailResultModel';\r\nimport { MobileResultModel } from '../../../../../models/MobileResultModel';\r\nimport { VATResultModel } from '../../../../../models/VATResultModel';\r\nimport { AddressResultModel } from '../../../../../models/AddressResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { LandRegistryResultModel } from '../../../../../models/LandRegistryResultModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-business',\r\n templateUrl: './export-pdf-business.component.html',\r\n styleUrls: ['./export-pdf-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class ExportPdfBusinessComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n @Input() public prospect: ProspectResultModel = new ProspectResultModel();\r\n @Input() public companiesHouse: CompaniesHouseResultModel = new CompaniesHouseResultModel();\r\n @Input() public emailage: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n @Input() public mobile: MobileResultModel = new MobileResultModel();\r\n @Input() public opensource: BusinessOpenSourceResultModel = new BusinessOpenSourceResultModel();\r\n @Input() public vatResult: VATResultModel = new VATResultModel();\r\n @Input() public emailValidation: EmailCheckResultModel = new EmailCheckResultModel();\r\n @Input() public address: AddressResultModel = new AddressResultModel();\r\n @Input() public counterFraud: CounterFraudResultModel = new CounterFraudResultModel();\r\n @Input() public landRegistry: LandRegistryResultModel = new LandRegistryResultModel();\r\n \r\n constructor(private messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername : '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

Business

\r\n
\r\n

Registration

\r\n \r\n\r\n
\r\n

Officer

\r\n \r\n\r\n
\r\n

Shares

\r\n \r\n\r\n
\r\n

Accounts

\r\n \r\n\r\n
\r\n

Miscellaneous Financials

\r\n \r\n\r\n
\r\n

Company History

\r\n \r\n\r\n
\r\n

Commentary On Performance

\r\n \r\n\r\n
\r\n

Rating History

\r\n \r\n\r\n
\r\n

Credit Limit History

\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n

Open Source

\r\n \r\n\r\n \r\n
\r\n

VAT

\r\n \r\n\r\n \r\n
\r\n

Email

\r\n \r\n
\r\n \r\n\r\n \r\n
\r\n

Mobile

\r\n \r\n\r\n \r\n
\r\n

Prospect

\r\n \r\n\r\n \r\n
\r\n

Proprietor

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
{{messagingService.ProprietorDetailsRequired}}
\r\n
\r\n\r\n \r\n
\r\n

Land Registry

\r\n \r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { Login } from '../models/login';\r\nimport { Register } from '../models/register';\r\nimport { Forgetpassword } from '../models/forgetpassword';\r\nimport { ResetPassword } from '../models/resetpassword';\r\nimport { ResendLink } from '../models/resendlink';\r\nimport { Contact } from '../models/contact';\r\nimport { Item } from '../../home/models/AccessData';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LoginService {\r\n public licence: Item[];\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n Userlogin(login: Login): Observable {\r\n return this.http.post('/api/Account/Login', login);\r\n }\r\n\r\n Verify2FA(login: Login): Observable {\r\n return this.http.post('/api/Account/Verify2FA', login);\r\n }\r\n\r\n register(user: Register) {\r\n return this.http.post('/api/Account/Register', user);\r\n }\r\n\r\n forgetpassword(forgetpassword: Forgetpassword) {\r\n return this.http.post('/api/Account/ForgetPassword', forgetpassword);\r\n }\r\n\r\n resetpassword(resetpassword: ResetPassword) {\r\n return this.http.post('/api/Account/ResetPassword', resetpassword);\r\n }\r\n\r\n ResendConfirmationLink(email: ResendLink) {\r\n return this.http.post('/api/Account/ResendConfirmationLink', email);\r\n }\r\n\r\n ContactDetails(contact: Contact) {\r\n return this.http.post('/api/Account/ContactDetails', contact);\r\n }\r\n\r\n GetLicence(): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'Authorization': `Bearer ${ localStorage.getItem(\"access_token\") } `\r\n })\r\n };\r\n return this.http.get('api/search/GetLicenceItem', httpOptions);\r\n }\r\n\r\n AuthorizationCheck(): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'Authorization': `Bearer ${ localStorage.getItem(\"access_token\") } `\r\n })\r\n };\r\n return this.http.get('api/Account/CheckAdmin', httpOptions);\r\n }\r\n\r\n isAdminUser(): boolean {\r\n const accessToken = localStorage.getItem(\"access_token\");\r\n if (!accessToken) return false;\r\n\r\n const jwtJSON = JSON.parse(window.atob(accessToken.split('.')[1]));\r\n const role = jwtJSON[\"http://schemas.microsoft.com/ws/2008/06/identity/claims/role\"];\r\n\r\n if (typeof role === \"string\") {\r\n return role === \"Admin\" || role === \"ServiceAdmin\" || role === \"Partner\";\r\n } else if (role.length > 0) {\r\n for (let i = 0; i < role.length; i++) {\r\n if (role[i] === \"Admin\" || role[i] === \"ServiceAdmin\" || role[i] === \"Partner\") {\r\n return true;\r\n }\r\n }\r\n }\r\n return false;\r\n }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { DVLAResultModel } from '../../../../../models/DVLAResultModel';\r\n\r\n@Component({\r\n selector: 'app-motor-result-motor',\r\n templateUrl: './motor-result-motor.component.html',\r\n styleUrls: ['./motor-result-motor.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class MotorResultMotorComponent implements OnInit {\r\n\r\n @Input() motor: DVLAResultModel = new DVLAResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{messageService.SearchFail}}
\r\n
{{messageService.VehicleRecordNotFound}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
Registration Number:
\r\n
{{motor.responseData.registrationNumber}}
\r\n
\r\n
\r\n
Make:
\r\n
{{motor.responseData.make}}
\r\n
\r\n
\r\n
Colour:
\r\n
{{motor.responseData.colour}}
\r\n
\r\n
\r\n
Wheelplan:
\r\n
{{motor.responseData.wheelplan}}
\r\n
\r\n
\r\n
Engine Capacity:
\r\n
{{motor.responseData.engineCapacity}}
\r\n
\r\n
\r\n
Fuel Type:
\r\n
{{motor.responseData.fuelType}}
\r\n
\r\n
\r\n
CO2 Emissions:
\r\n
{{motor.responseData.co2Emissions}}
\r\n
\r\n
\r\n
Type Approval:
\r\n
{{motor.responseData.typeApproval}}
\r\n
\r\n
\r\n
Revenue Weight:
\r\n
{{motor.responseData.revenueWeight}}
\r\n
\r\n\r\n
\r\n\r\n
\r\n
Tax Status:
\r\n
{{motor.responseData.taxStatus}}
\r\n
\r\n
\r\n
Tax Due Date:
\r\n
{{motor.responseData.taxDueDate}}
\r\n
\r\n\r\n
\r\n\r\n
\r\n
MOT Status:
\r\n
{{motor.responseData.motStatus}}
\r\n
\r\n
\r\n
MOT Expiry Date:
\r\n
{{motor.responseData.motExpiryDate}}
\r\n
\r\n\r\n
\r\n\r\n
\r\n
Year of Manufacture:
\r\n
{{motor.responseData.yearOfManufacture}}
\r\n
\r\n
\r\n
Month of First Registration:
\r\n
{{motor.responseData.monthOfFirstRegistration}}
\r\n
\r\n
\r\n
Date Last V5C Issued:
\r\n
{{motor.responseData.dateOfLastV5CIssued}}
\r\n
\r\n
\r\n
Marked for Export:
\r\n
{{motor.responseData.markedForExport}}
\r\n
\r\n
\r\n","import { LicenceTemplate } from './../Models/LicenceTemplate';\r\nimport { PlanExpiry } from './../Models/PlanExpiry';\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Register } from '../../shared/models/register';\r\nimport { UserDetails } from '../Models/UserDetails';\r\nimport { map } from 'rxjs/operators';\r\nimport { SubscriptionPlan } from '../Models/SubscriptionPlan';\r\nimport { NewClient } from '../Models/NewClient';\r\nimport { Item } from '../../home/models/AccessData';\r\nimport { ResendLinkModel } from '../Models/ResendLinkModel';\r\nimport { AuditReport } from '../Models/AuditReport';\r\nimport { Audit } from '../../shared/models/audit';\r\nimport { EmailDomains } from '../Models/EmailDomains';\r\nimport { NewDomain } from '../Models/NewDomain';\r\nimport { TenantSettings } from '../Models/UserSettings';\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SubscriptionService {\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n //Profile Management\r\n\r\n GetProfileDetails(): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetDetails');\r\n }\r\n\r\n changePassword(newpassword: string,confirmPassword:string): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/ChangePassword?newPassword=' + newpassword + '&confirmPassword=' + confirmPassword)\r\n .pipe(\r\n map(response => {\r\n let body = response;\r\n return body\r\n || {};\r\n }\r\n )\r\n );\r\n }\r\n\r\n getTenantName(tenentId?:number) : Observable {\r\n return this.http.get('api/Subscription/GetTenantName/'+tenentId);\r\n }\r\n\r\n //User Management\r\n\r\n GetClients(tenentId?:number):Observable{\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetClients/'+tenentId);\r\n\r\n }\r\n\r\n AddUser(register: NewClient,tenantId?:number) {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.post('api/Subscription/AddUser/'+tenantId,register);\r\n }\r\n\r\n\r\n EditUser(user:UserDetails) {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.post('api/Subscription/EditUser', user);\r\n }\r\n\r\n LicenceList(tenentId?:number): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetLicenceList/'+tenentId);\r\n }\r\n\r\n\r\n // Serach Template\r\n\r\n\r\n GetSubscribedPlan(tenentId?:number): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetSubscriptionPlan/'+tenentId);\r\n }\r\n\r\n GetLicenceTemplateList(tenentId:number): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetLicenceTemplateList/'+tenentId);\r\n }\r\n\r\n UpdateLicence(licenceTeamplate: LicenceTemplate,tenentId?:number): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.post('api/Subscription/UpdateLicence/'+tenentId, licenceTeamplate);\r\n }\r\n\r\n CreateLicence(licenceTeamplate: LicenceTemplate,tenentId?:number): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.post('api/Subscription/CreateLicence/'+tenentId, licenceTeamplate);\r\n }\r\n\r\n DeleteLicence(licenceTemplate: LicenceTemplate): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.delete(`api/Subscription/DeleteLicence/${licenceTemplate.licenceId}`);\r\n }\r\n\r\n ForceDeleteLicence(licenceTemplate: LicenceTemplate): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.delete(`api/Subscription/ForceDeleteLicence/${licenceTemplate.licenceId}`);\r\n }\r\n\r\n GetLicenceItems(): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetLicenceItems');\r\n }\r\n\r\n GetPlanExpiry(tenentId:number):Observable{\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetPlanExpiry?tenantId='+tenentId);\r\n\r\n }\r\n\r\n GetSubscriptionDetail(tenentId?:number){\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetSubscriptionPlanDetails/'+tenentId);\r\n }\r\n\r\n reSendConfirmationEmail(reSendEmail: ResendLinkModel) {\r\n return this.http.post('api/Subscription/ResendConfirmationLink', reSendEmail);\r\n }\r\n\r\n // Report\r\n\r\n GetAuditreport(tenentId?:number) {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetAuditreport/'+tenentId);\r\n }\r\n\r\n GetAuditDownloadReport(startDate: string, endDate: string,tenentId?:number) {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetAuditData/'+tenentId+'?startDate=' + startDate + '&endDate=' + endDate);\r\n }\r\n\r\n // Manage Email Domains\r\n\r\n GetAllEmailDomains(tenentId?:number): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetTenantEmailDomains/'+tenentId,);\r\n }\r\n\r\n AddDomain(domain:NewDomain,tenentId:number) {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.post('api/Subscription/AddDomain/'+tenentId,domain);\r\n }\r\n\r\n EditDomain(domain:NewDomain,tenentId:number) {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.post('api/Subscription/UpdateDomain/'+tenentId,domain);\r\n }\r\n\r\n // criminality rank\r\n\r\n GetCriminalityRankForSearch(): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetCriminalitySearchRankForSearch');\r\n }\r\n\r\n // User settings\r\n\r\n GetTenantSettings(tenantId: number): Observable {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.get('api/Subscription/GetTenantSettings?tenantId=' + tenantId);\r\n }\r\n\r\n SaveTenantSettings(data: TenantSettings, tenantId: number) {\r\n //const httpOptions = {\r\n // headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n //};\r\n return this.http.post('api/Subscription/SaveTenantSettings?tenantId=' + tenantId, data);\r\n }\r\n}\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport * as Papa from 'papaparse';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CsvProcessorService {\r\n\r\n constructor(private http: HttpClient) {}\r\n\r\ngetCSVData(): Observable {\r\n const filePath = 'assets/csvfiles/Vehicle_data.csv'; // Path to the CSV file\r\n return new Observable((observer) => {\r\n this.http.get(filePath, { responseType: 'text' }).subscribe((data) => {\r\n // Parsing CSV content\r\n Papa.parse(data, {\r\n header: true, // To treat the first row as headers\r\n skipEmptyLines: true,\r\n complete: (result) => {\r\n observer.next(result.data); // Returning the parsed data\r\n observer.complete();\r\n },\r\n error: (error) => {\r\n observer.error(error);\r\n },\r\n });\r\n });\r\n });\r\n }\r\n}\r\n","export class Contact {\r\n constructor(\r\n public Name: string, \r\n public Telephone: string,\r\n public Email: string,\r\n public recaptcha: string\r\n ) { }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from '../../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-motor',\r\n templateUrl: './pdf-search-form-motor.component.html',\r\n styleUrls: ['./pdf-search-form-motor.component.css', '../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormMotorComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n VRN:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n \r\n \r\n AVA\r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, ElementRef, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-cookie-policy',\r\n templateUrl: './cookie-policy.component.html',\r\n styleUrls: ['./cookie-policy.component.css']\r\n})\r\nexport class CookiePolicyComponent implements OnInit {\r\n\r\n constructor(private elementRef: ElementRef) { }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

In this cookie policy you can read about

\r\n
    \r\n
  • how we use cookies,
  • \r\n
  • the types of cookies we use,
  • \r\n
  • for how long they work and for what purposes they are used,
  • \r\n
  • how to change your cookie settings and opt-out, and
  • \r\n
  • Who are we and how can you contact us.
  • \r\n
\r\n

When we use words like \"us\", \"we\", \"our\" we mean Heads Up Technologies Limited. You can find our company details below. We are the data controller of the data collected through the use of cookies on our website.

\r\n

Our website is https://www.hut.global, incl. our sub-domains, we own and operate.

\r\n

When we refer to \"you\" we mean you as a user or visitor of our website.

\r\n

This policy is part of our privacy policy. Our use of cookies may include processing of your personal data and we therefore recommend that you read our privacy policy, which can be found here.

\r\n

Consent

\r\n

Where you have consented to our use of cookies through the consent banner on our website or App, apart from necessary cookies, you consent to our use of cookies as described under \"Types of cookies and how we use them\" below. You may at any time change or withdraw your cookie consent - See the section \"How you can change your cookie settings, incl. opting out\" below.

\r\n

What do I need to know about cookies?

\r\n

There are different types of cookies and they are used for different purposes.

\r\n

Below you can read about what a cookie is, the difference between first and third party cookies and session cookies vs. persistent cookies and what types of cookies we use on our website and why.

\r\n

What is a cookie?

\r\n

A cookie is a small piece of data that a website stores on your device when you visit it and which is then read when you later revisit the site. The word \"cookies\" in this policy and the consent also refers to other forms of automatic collection of data, e.g. Flash-cookies (Local Shared Objects), Web Storage (HTML5), Javascripts or cookies placed by other software.

\r\n

A cookie may contain information about the website itself, a unique identifier that allows the site to recognise your web browser when you return to the website, additional data that serves the purpose of the cookie, and the lifespan of the cookie itself.

\r\n

The word \"cookies\" or \"cookie data\" also covers information about IP and MAC addresses and other information about your device collected by said technologies.

\r\n

Cookies are used to enable certain features (e.g. logging in), to track site usage (e.g. analytics), to store your user settings (e.g. timezone, notification preferences), and to personalise your content (e.g. advertising, language).

\r\n

Session cookies vs. persistent cookies

\r\n

Session cookies only last as long as your online session. This means that they will disappear from your computer or device when you close your browser. They are therefore also sometimes referred to as temporary cookies. Typically, session cookies are used to remember what a user put in their basket when they are browsing a website.

\r\n

Persistent cookies are different. These cookies are sometimes called permanent cookies. They will stay on your computer or device after you close your browser. These types of cookies will expire according to the time specified in the cookie. You can see the specific duration of each persistent cookie below.

\r\n

What’s the difference between first and third party cookies?

\r\n

First party cookies are cookies that are set by the website that you are visiting and it's only this website that can access and read these cookies.

\r\n

Third party cookies are set by someone other than the owner of the website you’re visiting. As an example, some pages have content from other sites like YouTube. YouTube may set their own cookies on your browser when you play the video from YouTube. Cookies set by other sites and companies (i.e. third parties) can be used to track you on other websites that use the same third-party service.

\r\n

We may engage third parties to assist with maintenance, operation, creation or functionality of our website, e.g. analytics providers and content partners. We grant these third parties’ access to selected information to perform specific tasks on our behalf.

\r\n

We are, as a general rule, joint controller with providers of third-party cookies for the collection of personal data via such cookies and the disclosure to the provider. The provider of third-party cookies is data controller for the processing taking place after receiving the personal data from us. You can read more about the extent of our joint controllership with providers of third-party cookies in our privacy policy.

\r\n

We recommend reading the provider's privacy policy which can be found through links in the tables below, where you can also see which cookies on our website are first party cookies and third-party cookies.

\r\n

Types of cookies and how we use them

\r\n

Necessary cookies

\r\n

Necessary cookies are required for the basic functionality of our website and App to work. We use necessary cookies to make it possible for you to only have to enter your username and password once during a visit to our website or App.

\r\n

We also use necessary cookies to help with ensuring that you are given the option to accept or reject cookies, block non-necessary cookies from working until you give consent, and remember your cookie settings and choices. The cookies also help keep track of, if, and when, you gave consent to analytical cookies, T&Cs and email marketing.

\r\n

Necessary cookies are also used for payment processing.

\r\n

It's not necessary to accept nor possible to reject the use of necessary cookies as they are core for the functionality of our website.

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Cookie NamePurposeExpiration
cookieconsent_statusUsed to determine if a user has accepted the cookie policy1 year
\r\n
\r\n
\r\n
\r\n

Analytical cookies

\r\n

Analytical cookies gather statistics. We use this information to make our website and App even better. The information collected via the analytical cookies track how you use our platforms during your visit. It helps us understand visitor usage patterns, identify, and diagnose problems or errors you may encounter, and make better strategic decisions in improving the website experience.

\r\n

We will only set analytical cookies on your device if you give us your consent.

\r\n \r\n

Marketing cookies

\r\n

Marketing cookies are used in determining what promotional content is more relevant and appropriate to you and your interests. Websites may use them to deliver targeted advertising or to limit the number of times you see an advertisement. This helps companies improve the effectiveness of their campaigns, and the quality of content presented to you. These cookies may be set by the website you’re visiting (first party) or by third-party services. Marketing cookies set by a third-party service may be used to track you on other websites that use the same third-party service.

\r\n

We will only set marketing cookies on your device if you give us your consent.

\r\n \r\n

How you can change your cookie settings, incl. opting out

\r\n

As part of our cookie solution, we always ask for your consent to cookies, except for necessary cookies, before placing cookies on your device.

\r\n

We also always give you the option to change your consent. If you at one point gave consent to non-necessary cookies on our website and App, you can always change which cookies you will give consent to. Just look for the shield or the cookie settings link on our website or App. If you click the shield or the cookie settings link, your cookie settings will appear, allowing you to always change your settings and reject cookies.

\r\n

It's also possible to instruct your browser to refuse cookies from our website. Most browsers are configured to accept cookies by default, but you can update these settings to either refuse cookies altogether, or to notify you when a website is trying to set or update a cookie. If you use multiple browsers and wish to block cookies or change or withdraw your consent, remember to do this in all browsers.

\r\n

If you browse websites from multiple devices, you may also need to update your settings on each individual device.

\r\n

Although some cookies can be blocked with little impact on your experience of a website, blocking all cookies may mean you are unable to access certain features and content on the site.

\r\n

How often will we update this Cookie Notice?

\r\n

We may update this Cookie Policy from time to time in order to reflect, for example, changes to the cookies we use or for other operational, legal or regulatory reasons. Please therefore re-visit this Cookie Policy regularly to stay informed about our use of cookies and related technologies. The date at the bottom of this Cookie Policy indicates when it was last updated.

\r\n

Who are we and how can you contact us?

\r\n

Here is our company information:

\r\n

\r\n Heads Up Technologies Limited
\r\n Unit 13, Redhill 23 Business Park, 29 Holmethorpe Avenue, Redhill, RH1 2GD
\r\n United Kingdom\r\n

\r\n

Company registration number: 12968519

\r\n

You can always write to us at: support@hut.global

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { EmailCheckResponse } from '../../models/EmailCheckModel';\r\nimport { InputAccessData, InputData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-email-check',\r\n templateUrl: './email-check.component.html',\r\n styleUrls: ['./email-check.component.css']\r\n})\r\nexport class EmailCheckComponent implements OnInit {\r\n\r\n @Input() public inputData: InputData = new InputData();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n @Input() public email: EmailCheckResponse = new EmailCheckResponse();\r\n\r\n // Constant Message\r\n public emailRequiredMessage: string = \"Email is required.\";\r\n public NoSearchSelectShort = \"Not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n public NoRelevantDataMessageShort = \"No records.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n Email Check\r\n
\r\n
{{emailRequiredMessage}}
\r\n
{{NoSearchSelectShort}}
\r\n
{{SearchFail}}
\r\n
{{NoRelevantDataMessageShort}}
\r\n
\r\n
\r\n

Blocked

\r\n

Not Blocked

\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DriverLicenceCheckResultModel } from '../../../../models/DriverLicenceCheckResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-cpc-qualifications',\r\n templateUrl: './cpc-qualifications.component.html',\r\n styleUrls: ['./cpc-qualifications.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class CpcQualificationsComponent implements OnInit {\r\n @Input() driverLicenceResultDataModel: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
{{messagingService.SearchFail}}
\r\n
{{messagingService.NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

LGV Valid To:

{{ result?.lgvValidTo }}

PCV Valid To:

{{ result?.pcvValidTo }}

National:

{{ result?.national }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n ","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from '../../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-business',\r\n templateUrl: './pdf-search-form-business.component.html',\r\n styleUrls: ['./pdf-search-form-business.component.css', '../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormBusinessComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Company Number:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Business Name:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Business Postcode:\r\n
\r\n
\r\n
\r\n \r\n

Use for Non-limited business searches only

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n VAT Number:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Mobile:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Proprietor Name:\r\n
\r\n
\r\n
\r\n \r\n

Use for Non-limited business searches only

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Proprietor Post Code:\r\n
\r\n
\r\n
\r\n \r\n

Use for Non-limited business searches only

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Proprietor DOB:\r\n
\r\n
\r\n
\r\n \r\n

Use for Non-limited business searches only

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { FinancialResultModel } from '../../../../../../search-pages/models/FinancialResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-financial-result-personal',\r\n templateUrl: './financial-result.component.html',\r\n styleUrls: ['./financial-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class FinancialResultPersonalComponent implements OnInit {\r\n\r\n @Input() financial: FinancialResultModel = new FinancialResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n Mortality\r\n
\r\n Status: {{financial?.responseData?.data?.MortalityFlag ?'Red':'Green'}}\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.PostCodeRequiredMessage}}
\r\n \r\n \r\n \r\n
\r\n
\r\n CCJ\r\n
\r\n Status: {{financial?.responseData?.data?.CcjFlag ?'Red':'Green'}}\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.PostCodeRequiredMessage}}
\r\n \r\n \r\n \r\n
\r\n
\r\n Insolvency\r\n
\r\n Status: {{financial?.responseData?.data?.InsolvencyFlag ?'Red':'Green'}}\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.PostCodeRequiredMessage}}
\r\n \r\n \r\n \r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from '../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-document-validation',\r\n templateUrl: './export-pdf-document-validation.component.html',\r\n styleUrls: ['./export-pdf-document-validation.component.css', '../../../shared/shared.searchpage.css', '../../documentvalidation.component.css']\r\n})\r\nexport class ExportPdfDocumentValidationComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() public fileOneUrl: string = \"\";\r\n @Input() public fileTwoUrl: string = \"\";\r\n @Input() public USIdCheckUploadResult: any;\r\n @Input() public FileNames: string[] = [];\r\n @Input() public loggedInUsername: string = \"\";\r\n @Input() public File: File[];\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername : '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Result:
\r\n
\r\n

Document uploaded

\r\n

Document uploaded

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{File[0].name}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{File[1].name}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n","export class UserDetails {\r\n userId: string=\"\";\r\n firstName: string=\"\";\r\n lastName: string=\"\";\r\n department: string=\"\";\r\n email: string=\"\";\r\n emailConfirmed: boolean=false;\r\n phoneNumber: string=\"\";\r\n phoneNumberConfirmed: boolean=false;\r\n userName: string=\"\";\r\n accessFailedCount: number=0;\r\n isActive: boolean=false;\r\n isAdmin: boolean;\r\n isDeleted: boolean=false;\r\n subscription: string = \"\";\r\n licenceId: number = 0;\r\n licenceName: string = \"\";\r\n licenceIsActive: boolean = false;\r\n password: string = \"\";\r\n confirmPassword: string = \"\";\r\n}\r\n\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { CCJResultModel } from '../../../../../../search-pages/models/FinancialResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-ccj-result-personal',\r\n templateUrl: './ccj-result.component.html',\r\n styleUrls: ['./ccj-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class CcjResultPersonalComponent implements OnInit {\r\n\r\n @Input() ccj: CCJResultModel = new CCJResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.OtherFieldRequired}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Court Name : {{ccj.courtName}}
\r\n

Case Number : {{ccj.caseNumber}}

\r\n

Amount :

\r\n

Type : {{ccj.judgementType}}

\r\n

Date : {{ccj.judgementDate | date: 'dd-MM-yyyy'}}

\r\n

Name : {{ccj.name}}

\r\n
\r\n
Address :
\r\n
{{ccj.address1}}
\r\n
{{ccj.address2}}
\r\n
{{ccj.address3}}
\r\n
{{ccj.address4}}
\r\n
{{ccj.address5}}
\r\n
{{ccj.postcode}}
\r\n
\r\n

Satisfied Date : {{ccj.dateEnd | date: 'dd-MM-yyyy'}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","export enum SearchType {\r\n Personal = \"Personal\",\r\n Email = \"Email\",\r\n Business = \"Business\",\r\n Mobile = \"Mobile\",\r\n RightToWork = \"RightToWork\",\r\n Motor = \"Motor\",\r\n DriverLicenceCheck = \"DriverLicenceCheck\",\r\n IdCheck = \"IdCheck\",\r\n PhotoAnalysis = \"PhotoAnalysis\",\r\n DocumentValidation = \"DocumentValidation\"\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from '../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-driver-licence',\r\n templateUrl: './pdf-search-form-driver-licence.component.html',\r\n styleUrls: ['./pdf-search-form-driver-licence.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormDriverLicenceComponent implements OnInit {\r\n @Input() public requestData: RequestData = new RequestData();\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Driving Licence Number:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { VehicleIdResultModel } from '../../../../../models/VehicleIdResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-au-risk-summary',\r\n templateUrl: './au-risk-summary.component.html',\r\n styleUrls: ['./au-risk-summary.component.css','../../../../shared/shared.searchpage.css']\r\n})\r\nexport class AuRiskSummaryComponent implements OnInit {\r\n\r\n @Input() vehicleId: VehicleIdResultModel = new VehicleIdResultModel();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public getDateTimeFromString(date: string) {\r\n return Date.parse(date);\r\n }\r\n\r\n public checkObjectHasKeys(obj: any) {\r\n return Object.keys(obj).length > 0 ? 'True' : 'False';\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n\r\n
0\">\r\n
\r\n
Plate
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.plateModule?.plate}}
\r\n
\r\n
\r\n
State
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.plateModule?.plateState}}
\r\n
\r\n
\r\n
Registration Status
\r\n
{{vehicleId?.responseData?.vehicleList[0]?.registrationModule?.status}}
\r\n
\r\n
\r\n
Registration Expiry
\r\n
{{getDateTimeFromString(vehicleId?.responseData?.vehicleList[0]?.registrationModule?.expiryDate) | date:'dd/MM/yyyy'}}
\r\n
\r\n
\r\n
Written Off?
\r\n
{{checkObjectHasKeys(vehicleId?.responseData?.vehicleList[0]?.writtenOffInfoModule)}}
\r\n
\r\n
\r\n
Stolen?
\r\n
{{checkObjectHasKeys(vehicleId?.responseData?.vehicleList[0]?.stolenInfoModule)}}
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../services/messaging.service';\r\nimport { EmailCheckResultModel } from '../../../../models/EmailResultModel';\r\n\r\n@Component({\r\n selector: 'app-emailvalidation-result-email',\r\n templateUrl: './emailvalidation-result-email.component.html',\r\n styleUrls: ['./emailvalidation-result-email.component.css', '../../../shared/shared.searchpage.css']\r\n})\r\nexport class EmailvalidationResultEmailComponent implements OnInit {\r\n\r\n @Input() emailValidation: EmailCheckResultModel = new EmailCheckResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
{{messageService.NoSearchSelect}}
\r\n
{{messageService.EmailRequiredMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
Email Check:
\r\n
\r\n
Email:
\r\n
{{emailValidation.responseData.debounce.email}}
\r\n
\r\n
\r\n
Role based:
\r\n
{{emailValidation.responseData.debounce.role}}
\r\n
\r\n
\r\n
Free email:
\r\n
{{emailValidation.responseData.debounce.free_email}}
\r\n
\r\n
\r\n
Search result:
\r\n
{{emailValidation.responseData.debounce.result}}
\r\n
\r\n
\r\n
Reason:
\r\n
{{emailValidation.responseData.debounce.reason}}
\r\n
\r\n
\r\n
Did you mean:
\r\n
{{emailValidation.responseData.debounce.did_you_mean}}
\r\n
\r\n
\r\n \r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { isPossiblePhoneNumber, isValidPhoneNumber, parsePhoneNumber, validatePhoneNumberLength } from 'libphonenumber-js';\r\nimport { environment } from '../../../../../../environments/environment';\r\nimport { CSVRecords, ScreenInputData } from '../../../../../screensearch/Models/CSVRecords';\r\nimport { ScreenSearchData, ScreenType } from '../../../../../screensearch/Models/ScreenSearchData';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { interval } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-screen',\r\n templateUrl: './screen.component.html',\r\n styleUrls: ['./screen.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class ScreenComponent implements OnInit {\r\n @ViewChild('file') fileInput: ElementRef;\r\n\r\n public commercialTemplateURL = environment.commercialTemplateURL;\r\n public personalTemplateURL = environment.personalTemplateURL;\r\n public mobileTemplateURL = environment.mobileTemplateURL;\r\n\r\n public file: File = null;\r\n public tempFile: any = null;\r\n public filename = \"Choose File\";\r\n public eventTarget: any;\r\n public tempEventTarget: any;\r\n public validationerror: String = \"\";\r\n public successMessage: String = \"\";\r\n public allowedTemplates: string[];\r\n public screenSearchData: ScreenSearchData[];\r\n public loadScreenIntervalCall: any;\r\n\r\n // Header positions\r\n public referenceNumberColumn: number = null;\r\n public businessNameColumn: number = null;\r\n public ltdNumberColumn: number = null;\r\n public businessPostcodeColumn: number = null;\r\n public businessMobileColumn: number = null;\r\n public businessEmailColumn: number = null;\r\n public principalNameColumn: number = null;\r\n public principalPostcodeColumn: number = null;\r\n public principalMobileColumn: number = null;\r\n public principalEmailColumn: number = null;\r\n public principalDobColumn: number = null;\r\n public lossDateColumn: number = null;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private router: Router,\r\n private searchService: SearchService) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"HUTSCREEN\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n this.getScreenAllowedTemplates();\r\n this.loadScreenDataGrid();\r\n this.loadScreenIntervalCall = interval((2 * 60) * 1000).subscribe(val => this.loadScreenDataGrid());\r\n }\r\n\r\n ngOnDestroy() {\r\n this.loadScreenIntervalCall.unsubscribe();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public getScreenAllowedTemplates() {\r\n this.searchService.AllowedLicence().subscribe(\r\n data => {\r\n let screenTemplate = data.filter(x => x.licenceType.toLowerCase() == \"screen\" && x.defaultValue == true);\r\n this.allowedTemplates = screenTemplate.map(x => x.itemName.toLowerCase());\r\n }\r\n );\r\n }\r\n\r\n public uploadFileEvent(event): void {\r\n if (event.target.files.length > 0) {\r\n this.filename = event.target.files[0].name\r\n this.file = event.srcElement.files;\r\n this.tempFile = event.srcElement.files[0];\r\n this.eventTarget = event.target;\r\n this.tempEventTarget = event.target.files[0];\r\n this.validationerror = null;\r\n this.successMessage = \"\";\r\n }\r\n }\r\n\r\n public clearMessage() {\r\n setTimeout(() => {\r\n this.validationerror = null;\r\n this.successMessage = null;\r\n }, 5000);\r\n }\r\n\r\n public getDataFromFile(csvRecordsArray: string[], headersRow: string[]): ScreenInputData {\r\n let cSVRecords: CSVRecords[];\r\n // company type\r\n if (this.referenceNumberColumn != null && this.businessNameColumn != null && this.businessPostcodeColumn != null &&\r\n this.businessMobileColumn != null && this.businessEmailColumn != null) {\r\n if (!this.allowedTemplates.some(x => x == ScreenType.commercial.toString())) {\r\n this.validationerror = \"You don't have access to this template.\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n const type = ScreenType.commercial.toString();\r\n cSVRecords = this.getDataRecordsArrayFromCSVFile(csvRecordsArray, headersRow.length, type);\r\n var screenInputData = new ScreenInputData(type, cSVRecords, this.filename);\r\n return screenInputData;\r\n }\r\n // person type\r\n else if (this.referenceNumberColumn != null && (this.businessNameColumn == null && this.businessPostcodeColumn == null &&\r\n this.ltdNumberColumn == null && this.lossDateColumn == null) && this.principalNameColumn != null && this.principalPostcodeColumn != null &&\r\n this.principalMobileColumn != null && this.principalEmailColumn != null && this.principalDobColumn != null) {\r\n if (!this.allowedTemplates.some(x => x == ScreenType.personal.toString())) {\r\n this.validationerror = \"You don't have access to this template.\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n const type = ScreenType.personal.toString();\r\n cSVRecords = this.getDataRecordsArrayFromCSVFile(csvRecordsArray, headersRow.length, type);\r\n var screenInputData = new ScreenInputData(type, cSVRecords, this.filename);\r\n return screenInputData;\r\n }\r\n // mobile type\r\n else if (this.referenceNumberColumn != null && (this.businessNameColumn == null && this.businessPostcodeColumn == null &&\r\n this.ltdNumberColumn == null) && this.principalNameColumn != null && this.principalPostcodeColumn != null &&\r\n this.principalMobileColumn != null && this.principalEmailColumn != null && this.principalDobColumn != null && this.lossDateColumn != null) {\r\n if (!this.allowedTemplates.some(x => x == ScreenType.mobile.toString())) {\r\n this.validationerror = \"You don't have access to this template.\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n const type = ScreenType.mobile.toString();\r\n cSVRecords = this.getDataRecordsArrayFromCSVFile(csvRecordsArray, headersRow.length, type);\r\n var screenInputData = new ScreenInputData(type, cSVRecords, this.filename);\r\n return screenInputData;\r\n }\r\n // invalid type\r\n else if (this.referenceNumberColumn == null && this.businessNameColumn == null && this.businessPostcodeColumn == null &&\r\n this.ltdNumberColumn == null && this.principalNameColumn == null && this.principalPostcodeColumn == null &&\r\n this.principalMobileColumn == null && this.principalEmailColumn == null && this.principalDobColumn == null) {\r\n this.validationerror = \"Please upload valid file\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n else {\r\n this.validationerror = \"Please upload valid file\";\r\n this.clearMessage();\r\n return null;\r\n }\r\n }\r\n\r\n //Storing File records in CSVFile Object array \r\n public getDataRecordsArrayFromCSVFile(csvRecordsArray: any, headerLength: any, type: string) {\r\n let csvArr: CSVRecords[] = [];\r\n let principalMobile: string;\r\n for (let i = 1; i <= csvRecordsArray.length - 1; i++) {\r\n try {\r\n var currentRecord = csvRecordsArray[i].split(/,(?=(?:(?:[^\"]*\"){2})*[^\"]*$)/).map(item => item.replace(/[\"']/g, \"\"));\r\n\r\n if (currentRecord.every(x => x.trim() == \"\")) continue;\r\n\r\n let reference: string = this.referenceNumberColumn != null ? currentRecord[this.referenceNumberColumn].trim() : \"\";\r\n let businessName: string = this.businessNameColumn != null ? currentRecord[this.businessNameColumn].trim() : \"\";\r\n let ltdNumber: string = this.ltdNumberColumn != null ? currentRecord[this.ltdNumberColumn].trim() : \"\";\r\n let businessPostcode: string = this.businessPostcodeColumn != null ? currentRecord[this.businessPostcodeColumn].trim() : \"\";\r\n let businessMobile: string = this.businessMobileColumn != null ? currentRecord[this.businessMobileColumn].trim() : \"\";\r\n let businessEmail: string = this.businessEmailColumn != null ? currentRecord[this.businessEmailColumn].trim() : \"\";\r\n let principalName: string = this.principalNameColumn != null ? currentRecord[this.principalNameColumn].trim() : \"\";\r\n let principalPostCode: string = this.principalPostcodeColumn != null ? currentRecord[this.principalPostcodeColumn].trim() : \"\";\r\n let principalEmail: string = this.principalEmailColumn != null ? currentRecord[this.principalEmailColumn].trim() : \"\";\r\n let principalDob: string = this.principalDobColumn != null ? currentRecord[this.principalDobColumn].trim() : \"\";\r\n let principalMobile: string = this.principalMobileColumn != null ? currentRecord[this.principalMobileColumn].trim() : \"\";\r\n let eventDate: string = this.lossDateColumn != null ? currentRecord[this.lossDateColumn].trim() : \"\";\r\n\r\n principalMobile = this.getFormatedPhoneNumber(principalMobile);\r\n businessMobile = this.getFormatedPhoneNumber(businessMobile);\r\n\r\n if (currentRecord.length == headerLength) {\r\n if (type == ScreenType.commercial.toString())\r\n csvArr.push(new CSVRecords(reference, businessName, \"\", businessPostcode, businessMobile, businessEmail, \"\", \"\", \"\", \"\", \"\", \"\"));\r\n else\r\n csvArr.push(new CSVRecords(reference, \"\", \"\", \"\", \"\", \"\", principalName, principalPostCode, principalMobile, principalEmail, principalDob, eventDate));\r\n } else if ((currentRecord.length != headerLength && !currentRecord[0].includes(\"\\\"\"))) {\r\n csvArr.push(new CSVRecords(reference, \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"));\r\n }\r\n } catch (error) { console.log(\"Error on getDataRecordsArrayFromCSVFile : \", error); }\r\n }\r\n return csvArr;\r\n }\r\n\r\n public getFormatedPhoneNumber(phoneNumber: string): string {\r\n try {\r\n if (phoneNumber != \"\" && phoneNumber != null) {\r\n phoneNumber = phoneNumber.trim();\r\n const phoneNumberTemp = parsePhoneNumber(phoneNumber, 'GB');\r\n try {\r\n return phoneNumberTemp.formatInternational();\r\n } catch (err) {\r\n return \"Bad data\";\r\n }\r\n }\r\n return \"\";\r\n } catch (error) {\r\n console.log(\"Phone Number: \", phoneNumber);\r\n console.log(\"getFormatedPhoneNumber : Error : \", error);\r\n return \"\";\r\n }\r\n }\r\n\r\n public loadScreenDataGrid() {\r\n this.searchService.GetScreenSearchData().subscribe(data => {\r\n this.screenSearchData = data;\r\n });\r\n this.getScreenAllowedTemplates();\r\n }\r\n\r\n public requestScreenSearch(screenInputData: ScreenInputData) {\r\n this.searchService.ProcessScreenSearch(screenInputData)\r\n .subscribe(data => {\r\n this.successMessage = \"Search file processed into queue.\";\r\n this.resetFileInput();\r\n this.tempFile = null;\r\n this.loadScreenDataGrid();\r\n this.clearMessage();\r\n }, error => {\r\n if (error.status == 404) {\r\n this.validationerror = \"You don't have access to this template.\";\r\n this.clearMessage();\r\n } else {\r\n this.validationerror = \"Something went wrong. try once again.\";\r\n this.clearMessage();\r\n }\r\n });\r\n }\r\n\r\n resetFileInput() {\r\n this.filename = \"Choose File\";\r\n this.file = null;\r\n this.fileInput.nativeElement.value = \"\";\r\n }\r\n\r\n public resetColumnIndex() {\r\n this.referenceNumberColumn = null;\r\n this.businessNameColumn = null;\r\n this.ltdNumberColumn = null;\r\n this.businessPostcodeColumn = null;\r\n this.principalNameColumn = null;\r\n this.principalPostcodeColumn = null;\r\n this.principalMobileColumn = null;\r\n this.principalEmailColumn = null;\r\n this.principalDobColumn = null;\r\n this.lossDateColumn = null;\r\n this.businessMobileColumn = null;\r\n this.businessEmailColumn = null;\r\n }\r\n\r\n public getColumnIndex(columnNames: string[]) {\r\n this.resetColumnIndex();\r\n columnNames.forEach((x, index) => {\r\n switch (x.toLowerCase().trim()) {\r\n case \"Reference No\".toLowerCase():\r\n this.referenceNumberColumn = index;\r\n break;\r\n case \"Business Name\".toLowerCase():\r\n this.businessNameColumn = index;\r\n break;\r\n case \"Ltd Co Number\".toLowerCase():\r\n this.ltdNumberColumn = index;\r\n break;\r\n case \"Business Postcode\".toLowerCase():\r\n this.businessPostcodeColumn = index;\r\n break;\r\n case \"Principal Name\".toLowerCase():\r\n this.principalNameColumn = index;\r\n break;\r\n case \"Principal Postcode\".toLowerCase():\r\n this.principalPostcodeColumn = index;\r\n break;\r\n case \"Principal Mobile\".toLowerCase():\r\n this.principalMobileColumn = index;\r\n break;\r\n case \"Principal Email\".toLowerCase():\r\n this.principalEmailColumn = index;\r\n break;\r\n case \"Principal DoB\".toLowerCase():\r\n this.principalDobColumn = index;\r\n break;\r\n case \"Loss Date\".toLowerCase():\r\n this.lossDateColumn = index;\r\n break;\r\n case \"Business Mobile\".toLowerCase():\r\n this.businessMobileColumn = index;\r\n break;\r\n case \"Business Email\".toLowerCase():\r\n this.businessEmailColumn = index;\r\n break;\r\n }\r\n });\r\n }\r\n\r\n public isValidCSVFile() {\r\n return this.filename.endsWith(\".csv\");\r\n }\r\n\r\n public getHeaderArray(csvRecordsArr: any): string[] {\r\n let headers = (csvRecordsArr[0]).split(',');\r\n let headerArray: string[] = [];\r\n for (let j = 0; j < headers.length; j++) {\r\n headerArray.push(headers[j].toString());\r\n }\r\n return headerArray;\r\n }\r\n\r\n public screenSearch() {\r\n\r\n if (this.isValidCSVFile() && this.tempFile) {\r\n let reader = new FileReader();\r\n reader.readAsText(this.tempFile);\r\n reader.onload = () => {\r\n let csvData = reader.result;\r\n let csvRecordsArray = (csvData).split(/\\r\\n|\\n/);\r\n csvRecordsArray = csvRecordsArray.filter(x => x || !(/^[,]*$/.test(x)));\r\n let headersRow = this.getHeaderArray(csvRecordsArray);\r\n this.getColumnIndex(headersRow);\r\n let screenInputData = this.getDataFromFile(csvRecordsArray, headersRow);\r\n if (screenInputData && screenInputData.data.length > 0) {\r\n this.requestScreenSearch(screenInputData);\r\n } else if (screenInputData.data.length == 0) {\r\n this.validationerror = \"Please upload csv file with data.\";\r\n this.clearMessage();\r\n }\r\n }\r\n } else {\r\n this.validationerror = \"Please upload .csv file.\";\r\n this.clearMessage();\r\n }\r\n }\r\n\r\n public refreshResult() {\r\n this.loadScreenDataGrid();\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n {{validationerror}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n {{successMessage}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n Please upload your data file to Screen based on this\r\n
\r\n commercial template,\r\n personal template or\r\n mobile template.\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
FilenameStatusUploaded byUploaded OnTotal RecordsFailed RecordsResult
{{ element.filename }} {{ element.jobStatus }} {{element.submitedUserName}} {{ element.createdDate | date : 'dd-MM-yyy hh:mm a ' }} {{ element.recordCount }} {{ element.failedCount?element.failedCount:0 }}\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { InputAccessData, InputData } from '../../models/InputDataModel';\r\nimport { ProspectResponseModel } from '../../models/ProspectResponseModel';\r\n\r\n@Component({\r\n selector: 'app-prospect-check',\r\n templateUrl: './prospect-check.component.html',\r\n styleUrls: ['./prospect-check.component.css']\r\n})\r\nexport class ProspectCheckComponent implements OnInit {\r\n\r\n @Input() public prospectResultData: ProspectResponseModel = new ProspectResponseModel();\r\n @Input() public inputData: InputData = new InputData();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n\r\n public NoSearchSelect = \"Search option not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n public NoRelevantDataMessage = \"No relevant data found.\";\r\n public OtherFieldRequired = \"Additional data is required.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{NoSearchSelect}}
\r\n
0))\">{{SearchFail}}
\r\n
{{NoRelevantDataMessage}}
\r\n
{{OtherFieldRequired}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n Reference Number : {{prospectResultData?.prospectProfileResultData.reference}}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DetailsI2 MatchPrevious Search
\r\n
\r\n

Person name: {{inputData.searchName}}

\r\n

Date of birth: {{inputData.dateOfBirth}}

\r\n
\r\n
\r\n

Telephone: {{inputData.phoneNumber}}

\r\n
\r\n
\r\n

Email: {{inputData.email}}

\r\n
\r\n
\r\n

Vehicle number: {{inputData.vrn}}

\r\n
\r\n
\r\n

Address: {{inputData.addressLine1}}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-ltd-officers-business',\r\n templateUrl: './ltd-officers-business.component.html',\r\n styleUrls: ['./ltd-officers-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class LtdOfficersBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n

Current Officers

\r\n\r\n \r\n \r\n \r\n Officer Name \r\n Nationality \r\n Date Of Birth \r\n Disqualified \r\n Disqualified Exception \r\n Officer Address \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{director?.name}}\r\n {{director?.nationality}}\r\n {{director?.dateOfBirth | date:'MMM-yyyy'}}\r\n {{director?.additionalData?.disqualified ? 'Yes' : 'No'}}\r\n {{director?.additionalData?.disqualifiedException ? 'Yes' : 'No'}}\r\n {{director?.address?.simpleValue}}\r\n \r\n \r\n \r\n \r\n \r\n NB: May not include all appointments. Use Personal Search to see a complete listing in the Companies House tab\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{current?.companyName}}\r\n {{current?.companyNumber}}\r\n {{current?.companyStatus}}\r\n {{current?.role}}\r\n {{current?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{current?.occupation}}\r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Resignation Date\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{previous?.companyName}}\r\n {{previous?.companyNumber}}\r\n {{previous?.companyStatus}}\r\n {{previous?.role}}\r\n {{previous?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{previous?.resignationDate | date:'dd-MMM-yyyy'}}\r\n {{previous?.occupation}}\r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{inactive?.companyName}}\r\n {{inactive?.companyNumber}}\r\n {{inactive?.companyStatus}}\r\n {{inactive?.role}}\r\n {{inactive?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{inactive?.occupation}}\r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n
\r\n\r\n

Previous Officers

\r\n\r\n \r\n \r\n \r\n Previous Officer Name \r\n Nationality \r\n Date Of Birth \r\n Disqualified \r\n Disqualified Exception \r\n Officer Address \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{director?.name}}\r\n {{director?.nationality}}\r\n {{director?.dateOfBirth | date:'MMM-yyyy'}}\r\n {{director?.additionalData?.disqualified ? 'Yes' : 'No'}}\r\n {{director?.additionalData?.disqualifiedException ? 'Yes' : 'No'}}\r\n {{director?.address?.simpleValue}}\r\n \r\n \r\n \r\n \r\n \r\n NB: May not include all appointments. Use Personal Search to see a complete listing in the Companies House tab\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{current?.companyName}}\r\n {{current?.companyNumber}}\r\n {{current?.companyStatus}}\r\n {{current?.role}}\r\n {{current?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{current?.occupation}}\r\n \r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Resignation Date\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{previous?.companyName}}\r\n {{previous?.companyNumber}}\r\n {{previous?.companyStatus}}\r\n {{previous?.role}}\r\n {{previous?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{previous?.resignationDate | date:'dd-MMM-yyyy'}}\r\n {{previous?.occupation}}\r\n \r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n Company Name\r\n Company Number\r\n Company Status\r\n Role\r\n Date Appointed\r\n Occupation\r\n \r\n \r\n \r\n \r\n {{inactive?.companyName}}\r\n {{inactive?.companyNumber}}\r\n {{inactive?.companyStatus}}\r\n {{inactive?.role}}\r\n {{inactive?.dateOfAppointed | date:'dd-MMM-yyyy'}}\r\n {{inactive?.occupation}}\r\n \r\n \r\n \r\n \r\n \r\n No records found\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n
\r\n\r\n

Active PSC

\r\n\r\n \r\n \r\n \r\n Name Of Person With Significant Control(PSC) \r\n Nationality \r\n Date Of Birth \r\n Country Of Residence \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{person?.name}}\r\n {{person?.nationality}}\r\n {{person?.dateOfBirth | date:'dd-MMM-yyyy'}}\r\n {{person?.countryOfResidence}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Title
\r\n
{{person?.title}}
\r\n
\r\n
\r\n
Person Type
\r\n
{{person?.personType}}
\r\n
\r\n
\r\n
Appointment Date
\r\n
{{person?.notifiedOn | date:'dd-MMM-yyyy'}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Nature Of Control
\r\n
{{person?.natureOfControl}}
\r\n
\r\n
\r\n
PSC Address
\r\n
{{person?.address?.simpleValue}}
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n

Ceased PSC

\r\n\r\n \r\n \r\n \r\n Name Of Previous Person With Significant Control (PSC) \r\n Nationality \r\n Date Of Birth \r\n Country Of Residence \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{person?.name}}\r\n {{person?.nationality}}\r\n {{person?.dateOfBirth | date:'dd-MMM-yyyy'}}\r\n {{person?.countryOfResidence}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Title
\r\n
{{person?.title}}
\r\n
\r\n
\r\n
PSC Type
\r\n
{{person?.personType}}
\r\n
\r\n
\r\n
Appointment Date
\r\n
{{person?.notifiedOn | date:'dd-MMM-yyyy'}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Nature Of Control
\r\n
{{person?.natureOfControl}}
\r\n
\r\n
\r\n
PSC Address
\r\n
{{person?.address?.simpleValue}}
\r\n
\r\n
\r\n
Terminated Date
\r\n
{{person?.ceasedOn | date:'dd-MMM-yyyy'}}
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { InsolvencyResultModel } from '../../../../../../search-pages/models/FinancialResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-insolvency-result-personal',\r\n templateUrl: './insolvency-result.component.html',\r\n styleUrls: ['./insolvency-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class InsolvencyResultPersonalComponent implements OnInit {\r\n\r\n @Input() insolvency: InsolvencyResultModel = new InsolvencyResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.OtherFieldRequired}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Name : {{insolvency?.name }}
\r\n

DOB : {{insolvency?.dob | date: 'dd-MM-yyyy'}}

\r\n
\r\n

Address

\r\n

Address 1 : {{insolvency?.address?.address1}}

\r\n

Address 2 : {{insolvency?.address?.address2}}

\r\n

Address 3 : {{insolvency?.address?.address3}}

\r\n

Address 4 : {{insolvency?.address?.address4}}

\r\n

Address 5 : {{insolvency?.address?.address5}}

\r\n

Postcode : {{insolvency?.address?.postcode}}

\r\n

DPS : {{insolvency?.address?.dps}}

\r\n
\r\n
\r\n

Previous Address

\r\n

Address 1 : {{insolvency?.previousAddress?.address1}}

\r\n

Address 2 : {{insolvency?.previousAddress?.address2}}

\r\n

Address 3 : {{insolvency?.previousAddress?.address3}}

\r\n

Address 4 : {{insolvency?.previousAddress?.address4}}

\r\n

Address 5 : {{insolvency?.previousAddress?.address5}}

\r\n

Postcode : {{insolvency?.previousAddress?.postcode}}

\r\n

DPS : {{insolvency?.previousAddress?.dps}}

\r\n
\r\n

Type : {{insolvency?.type}}

\r\n

Case No : {{insolvency?.caseNo}}

\r\n

Case Type : {{insolvency?.caseType}}

\r\n

Court Name : {{insolvency?.court}}

\r\n

Start Date : {{insolvency?.startDate | date: 'dd-MM-yyyy'}}

\r\n

Status : {{insolvency?.status}}

\r\n

Occupation : {{insolvency?.occupation}}

\r\n

Aliases : {{insolvency?.aliases}}

\r\n

Description : {{insolvency?.description}}

\r\n

Service Office : {{insolvency?.serviceOffice}}

\r\n

Telephone Number : {{insolvency?.telephoneNumber}}

\r\n

Trading Names : {{insolvency?.tradingNames}}

\r\n

Debt Total : {{insolvency?.debtTotal}}

\r\n

Asset Total : {{insolvency?.assetTotal}}

\r\n

Presentation Date : {{insolvency?.presentationDate | date: 'dd-MM-yyyy'}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DriverLicenceCheckResultModel } from '../../../../models/DriverLicenceCheckResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-tacho-cards',\r\n templateUrl: './tacho-cards.component.html',\r\n styleUrls: ['./tacho-cards.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class TachoCardsComponent implements OnInit {\r\n @Input() driverLicenceResultDataModel: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
{{messagingService.SearchFail}}
\r\n
{{messagingService.NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Number:

{{ result?.cardNumber }}

Status:

{{ result?.cardStatus }}

Expiry Date:

{{ result?.cardExpiryDate }}

Validity From:

{{ result?.cardStartOfValidityDate }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n ","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { MotHistoryResultModel } from '../../../../../models/DVLAResultModel';\r\n\r\n@Component({\r\n selector: 'app-mothistory-result-motor',\r\n templateUrl: './mothistory-result-motor.component.html',\r\n styleUrls: ['./mothistory-result-motor.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class MothistoryResultMotorComponent implements OnInit {\r\n\r\n @Input() motHistory: MotHistoryResultModel = new MotHistoryResultModel();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Registration{{motHistory?.responseData?.registration}}
Make{{motHistory?.responseData?.make}}
Model{{motHistory?.responseData?.model}}
First Used{{motHistory?.responseData?.firstUsedDate}}
Fuel{{motHistory?.responseData?.fuelType}}
Colour{{motHistory?.responseData?.primaryColour}}
\r\n\r\n \r\n \r\n \r\n \r\n Completed \r\n Result \r\n Expires \r\n Odometer Value \r\n Odometer Unit \r\n Test Number \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{mot?.completedDate}}\r\n {{mot?.testResult}}\r\n {{mot?.expiryDate}}\r\n {{mot?.odometerValue}}\r\n {{mot?.odometerUnit}}\r\n {{mot?.motTestNumber}}\r\n \r\n \r\n \r\n \r\n \r\n
Comments
\r\n
No record found.
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
TextType
{{comment?.text}}{{comment?.type}}
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { LandingComponent } from './landing/landing.component';\r\nimport { BusinessComponent } from './search-pages/components/business/business.component';\r\nimport { DocumentvalidationComponent } from './search-pages/components/documentvalidation/documentvalidation.component';\r\nimport { EmailComponent } from './search-pages/components/email/email.component';\r\nimport { IdcheckComponent } from './search-pages/components/idcheck/idcheck.component';\r\nimport { MobileComponent } from './search-pages/components/mobile/mobile.component';\r\nimport { MotorComponent } from './search-pages/components/motor/motor.component';\r\nimport { PersonalComponent } from './search-pages/components/personal/personal.component';\r\nimport { PhotoanalysisComponent } from './search-pages/components/photoanalysis/photoanalysis.component';\r\nimport { DriverLicenceCheckComponent } from './search-pages/components/driverlicencecheck/driverlicencecheck.component';\r\nimport { RtwComponent } from './search-pages/components/rtw/rtw.component';\r\nimport { ScreenComponent } from './search-pages/components/screen/screen.component';\r\nimport { V3Component } from './v3.component';\r\nimport { AuthGuard } from 'src/app/shared/guards/auth.guard';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: 'v3', component: V3Component,\r\n children: [\r\n { path: '', component: LandingComponent , canActivate: [AuthGuard]},\r\n { path: 'personal', component: PersonalComponent, canActivate: [AuthGuard] },\r\n { path: 'business', component: BusinessComponent, canActivate: [AuthGuard] },\r\n { path: 'mobile', component: MobileComponent, canActivate: [AuthGuard] },\r\n { path: 'email', component: EmailComponent, canActivate: [AuthGuard] },\r\n { path: 'screen', component: ScreenComponent, canActivate: [AuthGuard] },\r\n { path: 'motor', component: MotorComponent, canActivate: [AuthGuard] },\r\n { path: 'righttowork', component: RtwComponent, canActivate: [AuthGuard] },\r\n { path: 'photoanalysis', component: PhotoanalysisComponent, canActivate: [AuthGuard] },\r\n { path: 'idcheck', component: IdcheckComponent, canActivate: [AuthGuard] },\r\n { path: 'documentvalidation', component: DocumentvalidationComponent, canActivate: [AuthGuard] },\r\n { path: 'driverlicencecheck', component: DriverLicenceCheckComponent, canActivate: [AuthGuard] }\r\n ]\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class V3RoutingModule { }\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { CCJResponseModel } from '../../models/CCJResponseModel';\r\nimport { InputAccessData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-insolvency-check',\r\n templateUrl: './insolvency-check.component.html',\r\n styleUrls: ['./insolvency-check.component.css']\r\n})\r\nexport class InsolvencyCheckComponent implements OnInit {\r\n\r\n @Input() public insolvencyResultData: CCJResponseModel = new CCJResponseModel();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n\r\n public NoSearchSelect = \"Search option not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n public NoRelevantDataMessage = \"No relevant data found.\";\r\n public OtherFieldRequired = \"Additional data is required.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
{{NoSearchSelect}}
\r\n
{{SearchFail}}
\r\n
{{NoRelevantDataMessage}}
\r\n
{{OtherFieldRequired}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Name : {{insolvency?.name }}
\r\n

DOB : {{insolvency?.dob | date: 'dd-MM-yyyy'}}

\r\n
\r\n

Address

\r\n

Address 1 : {{insolvency?.address?.address1}}

\r\n

Address 2 : {{insolvency?.address?.address2}}

\r\n

Address 3 : {{insolvency?.address?.address3}}

\r\n

Address 4 : {{insolvency?.address?.address4}}

\r\n

Address 5 : {{insolvency?.address?.address5}}

\r\n

Postcode : {{insolvency?.address?.postcode}}

\r\n

DPS : {{insolvency?.address?.dps}}

\r\n
\r\n
\r\n

Previous Address

\r\n

Address 1 : {{insolvency?.previousAddress?.address1}}

\r\n

Address 2 : {{insolvency?.previousAddress?.address2}}

\r\n

Address 3 : {{insolvency?.previousAddress?.address3}}

\r\n

Address 4 : {{insolvency?.previousAddress?.address4}}

\r\n

Address 5 : {{insolvency?.previousAddress?.address5}}

\r\n

Postcode : {{insolvency?.previousAddress?.postcode}}

\r\n

DPS : {{insolvency?.previousAddress?.dps}}

\r\n
\r\n

Type : {{insolvency?.type}}

\r\n

Case No : {{insolvency?.caseNo}}

\r\n

Case Type : {{insolvency?.caseType}}

\r\n

Court Name : {{insolvency?.court}}

\r\n

Start Date : {{insolvency?.startDate | date: 'dd-MM-yyyy'}}

\r\n

Status : {{insolvency?.status}}

\r\n

Occupation : {{insolvency?.occupation}}

\r\n

Aliases : {{insolvency?.aliases}}

\r\n

Description : {{insolvency?.description}}

\r\n

Service Office : {{insolvency?.serviceOffice}}

\r\n

Telephone Number : {{insolvency?.telephoneNumber}}

\r\n

Trading Names : {{insolvency?.tradingNames}}

\r\n

Debt Total : {{insolvency?.debtTotal}}

\r\n

Asset Total : {{insolvency?.assetTotal}}

\r\n

Presentation Date : {{insolvency?.presentationDate | date: 'dd-MM-yyyy'}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-v3',\r\n templateUrl: './v3.component.html',\r\n styleUrls: ['./v3.component.css']\r\n})\r\nexport class V3Component implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { EnhancedRecordPlusResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/EnhancedRecordPlusResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-app-au-enhanced-record-plus',\r\n templateUrl: './app-au-enhanced-record-plus.component.html',\r\n styleUrls: ['./app-au-enhanced-record-plus.component.css']\r\n})\r\nexport class AppAuEnhancedRecordPlusComponent implements OnInit {\r\n@Input() public enhancedRecordPlanResultModel: EnhancedRecordPlusResultModel = new EnhancedRecordPlusResultModel();\r\n\r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n {{messagingService.OtherFieldRequired}}
\r\n
\r\n {{messagingService.SearchFail}}
\r\n
\r\n {{messagingService.NoRelevantDataMessage}}
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

Full Name:

\r\n

Date:

\r\n

Court:

\r\n

Location:

\r\n

State:

\r\n

Case Number:

\r\n

Case Title:

\r\n

Listing:

\r\n

Additional Information:

\r\n
\r\n \r\n
\r\n

{{ court?.fullname }}

\r\n

{{ court?.date | date: 'dd-MM-yyyy' }}

\r\n

{{ court?.court }}

\r\n

{{ court?.location }}

\r\n

{{ court?.state }}

\r\n

{{ court?.case_no }}

\r\n

{{ court?.case_title }}

\r\n

{{ court?.listing }}

\r\n

{{ court?.additional_info }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\r\nimport { BusinessSearchResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/BusinessSearchResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-au-business-result',\r\n templateUrl: './au-business-result.component.html',\r\n styleUrls: ['./au-business-result.component.css']\r\n})\r\nexport class AuBusinessResultComponent implements OnInit, OnChanges {\r\n\r\n @Input() businessResultDataModel: BusinessSearchResultModel = new BusinessSearchResultModel();\r\n @Input() searchType: string = null;\r\n\r\n constructor(private messagingService: MessagingService) { }\r\n \r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n // if(changes['searchType'].currentValue != null) {\r\n // this.searchType = changes['searchType'].currentValue; \r\n // }\r\n\r\n }\r\n\r\n\r\n // getLegalNames(legal?: any): string {\r\n // let target:any = null;\r\n // if(this.searchType == 'SearchByABN'){\r\n // target = legal || this.businessResultDataModel?.responseData?.response?.businessEntity202001?.legalName;\r\n // if (!target) return '';\r\n // } else if(this.searchType == 'SearchByASIC'){\r\n // target = legal || this.businessResultDataModel?.responseData?.response?.businessEntity201408?.legalName;\r\n // if (!target) return '';\r\n // }\r\n \r\n // return [\r\n // target?.familyName,\r\n // target?.givenName,\r\n // target?.otherGivenName\r\n // ]\r\n // .filter(name => name !== null && name !== undefined)\r\n // .join(', ');\r\n // }\r\n \r\n\r\n // isArray(value: any): boolean {\r\n // return Array.isArray(value);\r\n // }\r\n\r\n // isObject(value: any): boolean {\r\n // return typeof value === 'object' && !Array.isArray(value) && value !== null;\r\n // }\r\n\r\n // getNormalizedMainName(): any[] {\r\n // let mainName:any = null;\r\n // if(this.searchType == 'SearchByABN'){\r\n // mainName = this.businessResultDataModel?.responseData?.response?.businessEntity202001?.mainName;\r\n // } else if(this.searchType == 'SearchByASIC') {\r\n // mainName = this.businessResultDataModel?.responseData?.response?.businessEntity201408?.mainName;\r\n // }\r\n \r\n // // If mainName is null/undefined or not an object, return an empty array\r\n // if (!mainName || typeof mainName !== 'object') {\r\n // return [];\r\n // }\r\n \r\n // // If mainName is an array, return it as-is\r\n // if (Array.isArray(mainName)) {\r\n // return mainName;\r\n // }\r\n \r\n // // If mainName is a single object, wrap it in an array\r\n // return [mainName];\r\n // }\r\n\r\n}\r\n","
\r\n
\r\n
{{messagingService.NoRelevantDataMessage}}
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n

\r\n File type not supported\r\n

\r\n

\r\n Please choose at least 1 file.\r\n

\r\n

2\">\r\n Please choose maximum of 2 files.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n Include a DVLA report when Driving Licence uploaded\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Result:
\r\n
\r\n \r\n
\r\n
\r\n

Document uploaded

\r\n

Document uploaded

\r\n
\r\n
\r\n
Upload Failed
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{File[0].name}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{File[1].name}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { MessagingService } from '../../../services/messaging.service';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { Shared } from '../../../services/shared';\r\nimport { Item } from '../../models/Items';\r\nimport { AccessData, ProfileData, RequestData } from '../../models/SearchRequestModel';\r\nimport { SearchType } from '../../models/SearchType';\r\nimport { ItemAccess } from 'src/app/subscription/Models/LicenceTemplate';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { SubscriptionService } from 'src/app/subscription/service/subscription.service';\r\nimport { SubscriptionPlan } from 'src/app/subscription/Models/SubscriptionPlan';\r\n\r\n@Component({\r\n selector: 'app-documentvalidation',\r\n templateUrl: './documentvalidation.component.html',\r\n styleUrls: ['./documentvalidation.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class DocumentvalidationComponent implements OnInit {\r\n\r\n public documentValidationForm: FormGroup;\r\n public validation: any = {\r\n 'reference': [Validators.required],\r\n 'email': [Validators.required, Validators.pattern('[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,}$')]\r\n };\r\n public accessData: AccessData = new AccessData();\r\n public Plan: SubscriptionPlan = new SubscriptionPlan();\r\n public showResultTab: boolean = false;\r\n public File: File[];\r\n public tenantId: number;\r\n public FileNames: string[] = [];\r\n public USIdCheckUploadResult: any;\r\n public isFileValidation: boolean = false;\r\n public isLoading: boolean = false;\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n public fileOneUrl: string = \"\";\r\n public fileTwoUrl: string = \"\";\r\n public loggedInUsername: string = \"\";\r\n public fileValidationMessage:boolean = false;\r\n public isVisibleToggle: boolean = false;\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n @ViewChild('file') fileInput: ElementRef;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private messageService: MessagingService,\r\n private subscriptionService: SubscriptionService,\r\n private app: AppComponent,\r\n private route: ActivatedRoute,\r\n private router: Router) { }\r\n\r\n ngOnInit(): void {\r\n this.route.queryParams\r\n .subscribe(params => {\r\n if (params.Tenant) {\r\n this.tenantId = Number(atob(params.Tenant));\r\n if (isNaN(this.tenantId)) {\r\n this.tenantId = 0;\r\n } else {\r\n this.app.isShowHeader = false;\r\n }\r\n } else {\r\n this.tenantId = 0;\r\n }\r\n });\r\n\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.isLoading = false;\r\n this.saveAsPDFButtonVisibility = false;\r\n this.documentValidationForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n dvlaReportAccess: [false],\r\n });\r\n this.isFileValidation = false;\r\n this.getSubscriptionDetails();\r\n this.getUserDetails();\r\n this.getLicenceItems();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n getSubscriptionDetails() {\r\n this.subscriptionService.GetSubscribedPlan(this.tenantId).subscribe(data => {\r\n this.Plan = data;\r\n this.loadTemplate(this.Plan.allowedLicenseItems);\r\n });\r\n }\r\n\r\n loadTemplate(licenceItems: ItemAccess[]) {\r\n licenceItems.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\" && item.key.toLowerCase() == \"dvla\") {\r\n this.isVisibleToggle = true;\r\n }\r\n })\r\n }\r\n\r\n documentValidationSearch() {\r\n this.addValidators();\r\n this.documentValidationForm.updateValueAndValidity();\r\n this.isFileValidation = false;\r\n\r\n if (this.documentValidationForm.valid && this.fileValidation()) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n this.saveAsPDFButtonVisibility = true;\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n\r\n // Document validation check\r\n this.documentValidationCheck(requestObj);\r\n\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.documentValidationForm.get('reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 2000);\r\n }\r\n\r\n // Document validation check\r\n public documentValidationCheck(requestObj: RequestData) {\r\n if (this.File.length == 0) {\r\n alert(\"Please upload atlease 1 file.\");\r\n return;\r\n }\r\n\r\n if (this.File.length > 2) {\r\n alert(\"Please upload 2 files only.\");\r\n return;\r\n }\r\n\r\n const formData = new FormData();\r\n if (this.File.length > 0) {\r\n this.fileOneUrl = \"\";\r\n this.fileTwoUrl = \"\";\r\n if (this.File.length == 2) {\r\n var reader1 = new FileReader();\r\n reader1.onload = (e: any) => {\r\n this.fileOneUrl = e.target.result\r\n };\r\n reader1.readAsDataURL(this.File[0]);\r\n\r\n var reader2 = new FileReader();\r\n reader2.onload = (e: any) => {\r\n this.fileTwoUrl = e.target.result\r\n };\r\n reader2.readAsDataURL(this.File[1]);\r\n\r\n formData.append('frontfile', this.File[0], this.File[0].name);\r\n formData.append('rearfile', this.File[1], this.File[1].name);\r\n } else if (this.File.length == 1) {\r\n var reader = new FileReader();\r\n reader.onload = (e: any) => {\r\n this.fileOneUrl = e.target.result\r\n };\r\n reader.readAsDataURL(this.File[0]);\r\n \r\n formData.append('frontfile', this.File[0], this.File[0].name);\r\n }\r\n }\r\n\r\n if (this.File.length > 0) {\r\n this.isLoading = true;\r\n setTimeout(() => {\r\n this.searchService.DocumentValidation(requestObj.profileData.referenceNumber, requestObj.profileData.searchType, formData).subscribe(\r\n data => {\r\n this.isLoading = false;\r\n this.USIdCheckUploadResult = data;\r\n },\r\n error => {\r\n console.log(error);\r\n this.fileOneUrl = \"\";\r\n this.fileTwoUrl = \"\";\r\n }\r\n );\r\n }, 10000);\r\n }\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n this.disableAccessData();\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n case \"DVLA\": {\r\n this.accessData.isDVLAAccess = item.defaultValue;\r\n this.accessData.isDVLAToggle = item.toggle;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n \r\n public disableAccessData(): void {\r\n this.documentValidationForm.patchValue({\r\n dvlaReportAccess: this.accessData.isDVLAAccess\r\n });\r\n\r\n if (!this.accessData.isDVLAToggle) {\r\n this.documentValidationForm.get(\"dvlaReportAccess\").disable();\r\n }\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.documentValidationForm.get('audit').value;\r\n if(this.documentValidationForm.get('dvlaReportAccess').value) {\r\n profileData.referenceNumber = this.documentValidationForm.get('reference').value + '[DVLA]';\r\n } else {\r\n profileData.referenceNumber = this.documentValidationForm.get('reference').value; \r\n }\r\n\r\n profileData.searchType = SearchType.DocumentValidation.toString();\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n var accessData = new AccessData();\r\n accessData.isDVLAAccess = this.documentValidationForm.get('dvlaReportAccess').value;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = this.accessData;\r\n return requestObj;\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.documentValidationForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n onFileSelected(event) {\r\n this.isFileValidation = false;\r\n this.File = [];\r\n this.FileNames = [];\r\n this.fileValidationMessage = false;\r\n\r\n const validFileExtensions = ['jpg', 'png', 'gif', 'pdf','jpeg'];\r\n const files = (event.target as HTMLInputElement).files;\r\n\r\n if (files && files.length > 0) {\r\n if (files.length <= 2) {\r\n this.File = Array.from(files);\r\n this.FileNames = this.File.map(x => { return x.name });\r\n\r\n // Validate file extensions\r\n const invalidFiles = this.File.filter(file => {\r\n const extension = file.name.split('.').pop()?.toLowerCase();\r\n return !validFileExtensions.includes(extension || '');\r\n });\r\n\r\n if (invalidFiles.length > 0) {\r\n this.isFileValidation = true;\r\n this.fileValidationMessage = true;\r\n // this.File = [];\r\n // this.FileNames = [];\r\n } else {\r\n this.fileValidationMessage = false;\r\n }\r\n } else {\r\n this.isFileValidation = true;\r\n this.FileNames = Array.from(files).map(x => { return x.name })\r\n }\r\n }\r\n else {\r\n this.isFileValidation = true;\r\n this.fileValidationMessage = false;\r\n }\r\n }\r\n\r\n public fileValidation(): boolean {\r\n this.isFileValidation = false;\r\n\r\n if ((!this.FileNames || this.FileNames.length == 0) || this.fileValidationMessage) {\r\n this.isFileValidation = true;\r\n return false;\r\n }\r\n\r\n if (this.FileNames.length > 2 || this.fileValidationMessage) {\r\n this.isFileValidation = true;\r\n return false;\r\n }\r\n\r\n if(this.fileValidationMessage) {\r\n this.fileValidationMessage = false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.documentValidationForm.controls) {\r\n this.documentValidationForm.get(control).clearValidators();\r\n this.documentValidationForm.get(control).setValidators(this.validation[control]);\r\n this.documentValidationForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n \r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public documentValidationClearSearch(): void {\r\n this.fileOneUrl = \"\";\r\n this.fileTwoUrl = \"\";\r\n for (const control in this.documentValidationForm.controls) {\r\n this.documentValidationForm.get(control).clearValidators();\r\n this.documentValidationForm.get(control).updateValueAndValidity();\r\n }\r\n this.documentValidationForm.patchValue({\r\n audit: \"\",\r\n reference: \"\"\r\n });\r\n this.showResultTab = false;\r\n this.File = [];\r\n this.FileNames = [];\r\n this.USIdCheckUploadResult = null;\r\n // this.fileValidation();\r\n this.saveAsPDFButtonVisibility = false;\r\n if(this.fileValidationMessage)\r\n this.fileValidationMessage = false;\r\n }\r\n\r\n // Reset Object\r\n public resetResultObjects() {\r\n this.USIdCheckUploadResult = null;\r\n this.fileOneUrl = \"\";\r\n this.fileTwoUrl = \"\";\r\n }\r\n\r\n}\r\n","export class TenantRegion {\r\n public isUKRegion: boolean;\r\n public isAURegion: boolean;\r\n}\r\n","import { Component , OnInit } from '@angular/core';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { TenantRegion } from '../../models/TenantRegionResposne';\r\n\r\n@Component({\r\n selector: 'app-business',\r\n templateUrl: './business.component.html',\r\n styleUrls: ['./business.component.css']\r\n})\r\nexport class BusinessComponent implements OnInit {\r\n public regionAccess: TenantRegion = new TenantRegion();\r\n public isExitDisabled: boolean = false;\r\n \r\n constructor(private searchService: SearchService) { }\r\n \r\n ngOnInit(): void {\r\n this.getTenantRegion();\r\n }\r\n \r\n public receiveDisableExit($event: boolean) {\r\n this.isExitDisabled = $event\r\n }\r\n \r\n public getTenantRegion() {\r\n this.searchService.GetTenantRegion().subscribe(data => {\r\n this.regionAccess = data;\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n}\r\n","\r\n\r\n \r\n\r\n\r\n \r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DriverLicenceCheckResultModel, entitlementResultModel } from '../../../../models/DriverLicenceCheckResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\nimport { RequestData } from '../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-driverlicence',\r\n templateUrl: './export-pdf-driverlicence.component.html',\r\n styleUrls: ['./export-pdf-driverlicence.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class ExportPdfDriverlicenceComponent implements OnInit {\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() driverLicenceCheckResultData: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n @Input() entitlementResultModel:entitlementResultModel = new entitlementResultModel();\r\n \r\n\r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername :\r\n '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Licence Detail

\r\n \r\n
\r\n
\r\n
\r\n

Driver Detail

\r\n \r\n
\r\n
\r\n
\r\n

Entitlement

\r\n \r\n
\r\n
\r\n
\r\n

Endorsements

\r\n \r\n
\r\n
\r\n

Tacho Cards

\r\n \r\n
\r\n
\r\n

CPC Qualifications

\r\n \r\n
\r\n
\r\n

Test Pass

\r\n \r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AddressResponseModel } from '../../models/AddressResponseModel';\r\nimport { InputAccessData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-address-check',\r\n templateUrl: './address-check.component.html',\r\n styleUrls: ['./address-check.component.css']\r\n})\r\nexport class AddressCheckComponent implements OnInit {\r\n\r\n @Input() public address: AddressResponseModel = new AddressResponseModel();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n\r\n public NoRelevantDataMessage = \"No relevant data found.\";\r\n public NoSearchSelect = \"Search option not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n public postCodeRequiredMessage: string = \"Postcode is required.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n //console.log(this.address?.responseData?.data?.CompleteResponse?.Response);\r\n }\r\n\r\n}\r\n","\r\n
{{NoRelevantDataMessage}}
\r\n
{{NoRelevantDataMessage}}
\r\n
{{NoSearchSelect}}
\r\n
{{SearchFail}}
\r\n
{{postCodeRequiredMessage}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{(people?.Person?.Name?.Prefix +'. '+people?.Person?.Name?.Fullname) | titlecase }}
\r\n

Occupancy Period: {{(people?.OccupancyPeriod?.From ? people?.OccupancyPeriod?.From :'' ) + '-' + (people?.OccupancyPeriod?.To? people?.OccupancyPeriod?.To:'') }}

\r\n

Residency Score: {{people?.ResidencyScore | titlecase}}

\r\n

Recency Date: {{(people?.RecencyDate?.Day ? people?.RecencyDate?.Day + '-' :'')+(people?.RecencyDate?.Month ? people?.RecencyDate?.Month +'-':'')+ (people?.RecencyDate?.Year? people?.RecencyDate?.Year :'')}}

\r\n

DOB: {{people?.Person?.DOB?.Day + '-' + people?.Person?.DOB?.Month + '-' + people?.Person?.DOB?.Year}}

\r\n

0\">Landline Numbers:

\r\n

{{lndline?.Number}}0 ? 'fa fa-check-circle color-green' : 'not-verified'\">

\r\n

0\">Mobile Numbers:

\r\n

{{mobile?.Number}}0 ? 'fa fa-check-circle color-green' : 'not-verified'\">

\r\n

0\">Emails:

\r\n

{{email|lowercase }}

\r\n
\r\n
Address:
\r\n
\r\n

{{people?.Address?.AddressLine1 | titlecase}}

\r\n

{{people?.Address?.AddressLine2 | titlecase}}

\r\n

{{people?.Address?.AddressLine3 | titlecase}}

\r\n

{{people?.Address?.AddressLine4 | titlecase}}

\r\n

{{people?.Address?.AddressLine5 | titlecase}}

\r\n

{{people?.Address?.AddressLine6 | titlecase}}

\r\n

{{people?.Address?.Country | titlecase}}

\r\n

{{people?.Address?.Postcode | uppercase}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Additional Addresses

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{(additional?.AdditionalAddress?.Name?.Prefix +'. '+additional?.AdditionalAddress?.Name?.Fullname) | titlecase }}
\r\n

Occupancy Period: {{(additional?.AdditionalAddress?.OccupancyPeriod?.From? additional?.AdditionalAddress?.OccupancyPeriod?.From + '-':'') + (additional?.AdditionalAddress?.OccupancyPeriod?.To ? additional?.AdditionalAddress?.OccupancyPeriod?.To:'') }}

\r\n

Residency Score: {{additional?.AdditionalAddress?.ResidencyScore | titlecase}}

\r\n

Recency Date: {{(additional?.AdditionalAddress?.RecencyDate?.Day ? additional?.AdditionalAddress?.RecencyDate?.Day+'-':'')+ (additional?.AdditionalAddress?.RecencyDate?.Month ?additional?.AdditionalAddress?.RecencyDate?.Month+'-':'')+(additional?.AdditionalAddress?.RecencyDate?.Year?additional?.AdditionalAddress?.RecencyDate?.Year:'')}}

\r\n \r\n

0\">\r\n Landline Numbers:\r\n

\r\n

{{lndline?.Number}}0 ? 'fa fa-check-circle color-green' : 'not-verified'\">

\r\n

0\">Mobile Numbers:

\r\n

{{mobile?.Number}}0 ? 'fa fa-check-circle color-green' : 'not-verified'\">

\r\n

Emails:

\r\n

{{email | lowercase }}

\r\n
\r\n
Address:
\r\n
\r\n

{{additional?.AdditionalAddress?.Address?.AddressLine1 | titlecase}}

\r\n

{{additional?.AdditionalAddress?.Address?.AddressLine2 | titlecase}}

\r\n

{{additional?.AdditionalAddress?.Address?.AddressLine3 | titlecase}}

\r\n

{{additional?.AdditionalAddress?.Address?.AddressLine4 | titlecase}}

\r\n

{{additional?.AdditionalAddress?.Address?.AddressLine5 | titlecase}}

\r\n

{{additional?.AdditionalAddress?.Address?.AddressLine6 | titlecase}}

\r\n

{{additional?.AdditionalAddress?.Address?.Country | titlecase}}

\r\n

{{additional?.AdditionalAddress?.Address?.Postcode | uppercase}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
No additional address found.
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Email is not valid.\r\n

\r\n

\r\n Email is required..\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { ConfirmationService } from 'primeng/api';\r\nimport { MessagingService } from '../../../services/messaging.service';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { Shared } from '../../../services/shared';\r\nimport { ProspectResultModel } from '../../models/CounterFraudResultModel';\r\nimport { EmailageCheckResultModel, EmailCheckResultModel } from '../../models/EmailResultModel';\r\nimport { Item } from '../../models/Items';\r\nimport { AccessData, ProfileData, RequestData } from '../../models/SearchRequestModel';\r\nimport { SearchType } from '../../models/SearchType';\r\nimport { TenantRegion } from '../../models/TenantRegionResposne';\r\nimport { MobileResultModel } from '../../models/MobileResultModel';\r\n\r\n@Component({\r\n selector: 'app-email',\r\n templateUrl: './email.component.html',\r\n styleUrls: ['./email.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class EmailComponent implements OnInit {\r\n public regionAccess: TenantRegion = new TenantRegion();\r\n public emailForm: FormGroup;\r\n public validation: any = {\r\n 'reference': [Validators.required],\r\n 'email': [Validators.required, Validators.pattern('[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$')]\r\n };\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n public clearSearchButtonVisibility: boolean = true;\r\n public loggedInUsername: string = \"\";\r\n\r\n public emailageOrgId: string = \"\";\r\n public emailValidationResultModel = new EmailCheckResultModel();\r\n public emailageResultModel = new EmailageCheckResultModel();\r\n public prospectResultModel: ProspectResultModel = new ProspectResultModel();\r\n public opensourceResult: MobileResultModel = new MobileResultModel();\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private router: Router,\r\n private messageService: MessagingService,\r\n private confirmationService: ConfirmationService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"EMAIL\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.emailForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n email: [\"\"]\r\n });\r\n this.getUserDetails();\r\n this.getTenantRegion();\r\n this.CheckProspectHitAndProfileAccess();\r\n this.getLicenceItems();\r\n this.getEmailageOrgId();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public emailSearch(): void {\r\n this.addValidators();\r\n this.emailForm.updateValueAndValidity();\r\n\r\n if (this.emailForm.valid) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n this.saveAsPDFButtonVisibility = true;\r\n this.clearSearchButtonVisibility = true;\r\n\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n\r\n // Email Validation Check\r\n this.emailValidationCheck(requestObj);\r\n\r\n if (this.prospectResultModel.isProspectHitAccess && !this.regionAccess.isAURegion) {\r\n // Prospect Hit Check\r\n this.prospectHitCheck(requestObj);\r\n }\r\n\r\n // Email OpenSource\r\n this.openSourceEmailSearch(requestObj);\r\n\r\n // Load Emailage\r\n this.loadEmailAgeCheck(requestObj);\r\n\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n public openSourceEmailSearch(requestObj: RequestData): void {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.noSearchSelect = false;\r\n this.opensourceResult.responseData = null;\r\n this.opensourceResult.searchFail = false;\r\n this.opensourceResult.validationError = false;\r\n\r\n if (requestObj.accessData.isEmailAccess) {\r\n if (this.emailForm.get('email').value) {\r\n this.opensourceResult.isLoading = true;\r\n this.searchService.OpenSourceEmailSearch(requestObj).subscribe(data => {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.responseData = data;\r\n }, error => {\r\n console.log(error);\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.searchFail = true;\r\n });\r\n } else {\r\n this.opensourceResult.validationError = true;\r\n }\r\n } else {\r\n this.opensourceResult.noSearchSelect = true;\r\n }\r\n }\r\n\r\n public getTenantRegion() {\r\n this.searchService.GetTenantRegion().subscribe(data => {\r\n this.regionAccess = data;\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.emailForm.get('reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 2000);\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n // Check about the access of Prospect hit & Access API\r\n public CheckProspectHitAndProfileAccess() {\r\n this.prospectResultModel.isProspectHitAccess = false;\r\n this.prospectResultModel.isProspectProfileAccess = false;\r\n this.searchService.CheckProsectHitAndProfileAccessClient().subscribe(data => {\r\n this.prospectResultModel.isProspectHitAccess = data['isProspectHitEnabled'];\r\n this.prospectResultModel.isProspectProfileAccess = data['isProspectProfileEnabled'];\r\n });\r\n }\r\n\r\n // Prospect profile request from prospect result component\r\n public prospectProfileRequest() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.prospectProfileCheck(requestObj);\r\n }\r\n\r\n // Prospect profile check API call\r\n public prospectProfileCheck(requestObj: RequestData): void {\r\n if (!this.prospectResultModel.prospectProfileButtonDisable) {\r\n this.confirmationService.confirm({\r\n key: \"ProspectProfileRequest\",\r\n message: 'In the event of any green tick(s) below, full Prospect detail can be requested and this will be provided to the requestor via email within 2 working days.',\r\n header: 'Confirmation',\r\n icon: 'pi pi-check',\r\n accept: () => {\r\n if (this.prospectResultModel.prospectHitResponseData) {\r\n this.prospectResultModel.isProspectProfileLoading = true;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.searchService.GetProspectProfileData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.prospectProfileResponseData = data;\r\n this.prospectResultModel.prospectProfileButtonText = this.messageService.prospectProfileButtonText_Requested;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n }, (error) => {\r\n console.log(error);\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n });\r\n }\r\n },\r\n reject: () => {\r\n }\r\n });\r\n }\r\n\r\n }\r\n\r\n // Prospect hit check API call\r\n public prospectHitCheck(requestObj: RequestData): void {\r\n this.prospectResultModel.noSearchSelect = false;\r\n if (requestObj.accessData.isCounterFraudAccess) {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.prospectResultModel.validation = false;\r\n this.prospectResultModel.searchFail = false;\r\n this.prospectResultModel.prospectHitResponseData = null;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.prospectResultModel.prospectProfileButtonDisable = false;\r\n this.prospectResultModel.prospectProfileButtonText = this.messageService.prospectProfileButtonText_RequestProfile;\r\n\r\n if ((requestObj.profileData.fullName && requestObj.profileData.dateOfBirth) ||\r\n (requestObj.profileData.postalCode && requestObj.profileData.addressLine1) ||\r\n requestObj.profileData.phoneNumber || requestObj.profileData.email || requestObj.profileData.vRN) {\r\n this.prospectResultModel.profileData = requestObj.profileData;\r\n this.prospectResultModel.isProspectHitLoading = true;\r\n this.searchService.GetProspectHitData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.prospectHitResponseData = data;\r\n // this.prospectResultModel.prospectProfileButtonDisable = this.prospectResultModel.prospectHitResponseData.hits.filter(x => (x.previousHit == true && x.i2Hit == true) || x.previousHit == true).length > 0 ? false : true;\r\n this.prospectResultModel.prospectProfileButtonDisable = \r\n !this.prospectResultModel.prospectHitResponseData.hits.some(\r\n x => x.previousHit || (x.previousHit && x.i2Hit) || x.i2Hit\r\n );\r\n }, (error) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.searchFail = true;\r\n console.log(error);\r\n });\r\n } else {\r\n this.prospectResultModel.validation = true;\r\n }\r\n } else {\r\n this.prospectResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n // Email validation check API call\r\n public emailValidationCheck(requestObj: RequestData): void {\r\n this.emailValidationResultModel.isLoading = false;\r\n this.emailValidationResultModel.noRelevantData = false;\r\n this.emailValidationResultModel.responseData = null;\r\n this.emailValidationResultModel.searchFail = false;\r\n this.emailValidationResultModel.validation = false;\r\n this.emailValidationResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.accessData.isEmailAccess) {\r\n if (requestObj.profileData.email) {\r\n this.emailValidationResultModel.isLoading = true;\r\n this.searchService.EmailValidationCheck(requestObj).subscribe((data) => {\r\n\r\n var debounceReason = data[\"data\"].debounce.reason;\r\n\r\n // Email Age\r\n this.emailAgeCheck(requestObj, debounceReason);\r\n\r\n this.emailValidationResultModel.isLoading = false;\r\n this.emailValidationResultModel.responseData = data[\"data\"];\r\n if (this.emailValidationResultModel?.responseData == null) {\r\n this.emailValidationResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n\r\n // Email Age\r\n this.emailAgeCheck(requestObj, \"\");\r\n\r\n console.log(error);\r\n this.emailValidationResultModel.isLoading = false;\r\n if (error.status === 403) {\r\n this.emailValidationResultModel.searchFail = true;\r\n }\r\n });\r\n } else {\r\n this.emailValidationResultModel.validation = true;\r\n }\r\n } else {\r\n this.emailValidationResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Load email age API call\r\n public loadEmailAgeCheck(requestObj: RequestData): void {\r\n this.emailageResultModel.isLoading = false;\r\n this.emailageResultModel.responseData = null;\r\n this.emailageResultModel.searchFail = false;\r\n this.emailageResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.profileData.email && requestObj.accessData.isEmailAccess) {\r\n this.emailageResultModel.isLoading = true;\r\n } else {\r\n this.emailageResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n // Email age API call\r\n public emailAgeCheck(requestObj: RequestData, debounceReason: string): void {\r\n this.emailageResultModel.isLoading = false;\r\n this.emailageResultModel.responseData = null;\r\n this.emailageResultModel.searchFail = false;\r\n this.emailageResultModel.noSearchSelect = false;\r\n\r\n if (requestObj.profileData.email && requestObj.accessData.isEmailAccess) {\r\n this.emailageResultModel.isLoading = true;\r\n this.searchService.EmailAge(requestObj, debounceReason).subscribe((data) => {\r\n this.emailageResultModel.isLoading = false;\r\n try {\r\n let completeJson = JSON.parse(data[\"data\"][\"completeResponse\"]);\r\n let rawJson: string = completeJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"];\r\n completeJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"] = JSON.parse(rawJson.trim());\r\n data[\"data\"][\"completeResponse\"] = completeJson;\r\n } catch { }\r\n this.emailageResultModel.responseData = data;\r\n var rawResult = Array.from(this.emailageResultModel.responseData[\"data\"][\"completeResponse\"][\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"][\"query\"][\"results\"]);\r\n this.emailageResultModel.urls = [];\r\n rawResult.forEach(x => {\r\n Array.from(x[\"smlinks\"]).forEach(y => {\r\n this.emailageResultModel.urls.push(y);\r\n });\r\n });\r\n }, (error) => {\r\n console.log(error);\r\n this.emailageResultModel.searchFail = true;\r\n this.emailageResultModel.isLoading = false;\r\n });\r\n } else {\r\n this.emailageResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.emailForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n // Reset the result objects\r\n public resetResultObjects() {\r\n this.emailValidationResultModel = new EmailCheckResultModel();\r\n this.emailageResultModel = new EmailageCheckResultModel();\r\n }\r\n\r\n public getEmailageOrgId() {\r\n this.searchService.GetEmailageOrdId().subscribe(data => {\r\n this.emailageOrgId = data;\r\n });\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n public onEmailChange(): void {\r\n this.emailForm.get('email').clearValidators();\r\n this.emailForm.get('email').setValidators(this.validation['email']);\r\n this.emailForm.get('email').updateValueAndValidity();\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.emailForm.controls) {\r\n this.emailForm.get(control).clearValidators();\r\n this.emailForm.get(control).setValidators(this.validation[control]);\r\n this.emailForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public emailClearSearch(): void {\r\n for (const control in this.emailForm.controls) {\r\n this.emailForm.get(control).clearValidators();\r\n this.emailForm.get(control).updateValueAndValidity();\r\n }\r\n this.emailForm.patchValue({\r\n audit: \"\",\r\n reference: \"\",\r\n email: \"\"\r\n });\r\n this.showResultTab = false;\r\n this.saveAsPDFButtonVisibility = false;\r\n this.clearSearchButtonVisibility = false;\r\n this.resetResultObjects();\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.emailForm.get('audit').value;\r\n profileData.referenceNumber = this.emailForm.get('reference').value;\r\n profileData.email = this.emailForm.get('email').value;\r\n\r\n profileData.searchType = SearchType.Email.toString();\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = this.accessData;\r\n return requestObj;\r\n }\r\n\r\n}\r\n","import { Component, OnInit, ElementRef} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-pagenotfound',\r\n templateUrl: './pagenotfound.component.html',\r\n styleUrls: ['./pagenotfound.component.css']\r\n})\r\nexport class PagenotfoundComponent implements OnInit {\r\n\r\n constructor(private elementRef: ElementRef) { }\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Page not found!

\r\n
\r\n
\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-email',\r\n templateUrl: './pdf-search-form-email.component.html',\r\n styleUrls: ['./pdf-search-form-email.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormEmailComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { PIPLResultModel } from '../../../../../../search-pages/models/PIPLResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { SocialMediaResultModel } from '../../../../../models/SocialMediaResultModel';\r\n\r\n@Component({\r\n selector: 'app-socialmedia-result-personal',\r\n templateUrl: './socialmedia-result.component.html',\r\n styleUrls: ['./socialmedia-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class SocialmediaResultPersonalComponent implements OnInit {\r\n\r\n @Input() socialMedia: SocialMediaResultModel = new SocialMediaResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n {{socialMedia.collapseSocialMediaStatus}} \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CategoryStatus
{{media.displayname}}\r\n {{media.status}}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
0\">\r\n
\r\n
\r\n

\r\n Search returned {{socialMedia.SocialMediaResultCount}} results\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{result.title}}
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AMLResultModel } from 'src/app/demo/V3/search-pages/models/AMLResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-pdf-aml-result-personal',\r\n templateUrl: './pdf-aml-result-personal.component.html',\r\n styleUrls: ['./pdf-aml-result-personal.component.css']\r\n})\r\nexport class PdfAmlResultPersonalComponent implements OnInit {\r\n\r\n @Input() aml: AMLResultModel = new AMLResultModel();\r\n public conflictValues: { [key: string]: string[] } = {};\r\n \r\n constructor(private messageService: MessagingService) { }\r\n \r\n ngOnInit(): void {\r\n }\r\n \r\n processPEPs(peps: any[]): any[] {\r\n return peps?.map((item, index) => ({\r\n ...item,\r\n ID: index, \r\n })) || [];\r\n } \r\n \r\n getConflictsValue(conflicts: any, index: number): string[] {\r\n if (!conflicts) return [];\r\n const result = Object.keys(conflicts).filter(key => conflicts[key]); \r\n this.conflictValues[index] = result; \r\n return result;\r\n }\r\n \r\n getEntityDetail(entityDetails: any, type: string): string {\r\n if (!entityDetails?.AdditionalInfo) return \"\"; \r\n \r\n const detail = entityDetails.AdditionalInfo.find((item: any) => item.Type === type);\r\n return detail ? detail.Value : \"\";\r\n }\r\n \r\n getAKAList(entityDetails: any): string[] {\r\n if (!entityDetails?.AKAs) return [];\r\n \r\n return entityDetails.AKAs.map((aka: any) => aka.Name?.Full).filter((name: string) => name);\r\n }\r\n\r\n}\r\n","
{{messageService.NoSearchSelect}}
\r\n
\r\n {{messageService.SearchFail}}
\r\n
\r\n {{messageService.NoRelevantDataMessage}}\r\n
\r\n
\r\n {{messageService.OtherFieldRequired}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

Identified Subject

\r\n \r\n \r\n \r\n \r\n Name \r\n Nationality \r\n Date Of Birth \r\n Match Conflicts \r\n Position \r\n Place Of Birth \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ result?.EntityName || '-' }}\r\n {{ getEntityDetail(result?.EntityDetails, 'Nationality') || '-' }}\r\n {{ getEntityDetail(result?.EntityDetails, 'DOB') || '-' }}\r\n \r\n 0; else noConflicts\">\r\n

{{ conflictValues[i].join(', ') }}

\r\n
\r\n \r\n

No Conflicts

\r\n
\r\n \r\n {{ getEntityDetail(result?.EntityDetails, 'Position') || '-' }}\r\n {{ getEntityDetail(result?.EntityDetails, 'PlaceOfBirth') || '-' }}\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
Citizenship
\r\n
\r\n {{ getEntityDetail(result?.EntityDetails, 'Citizenship') || '-' }}\r\n
\r\n
\r\n
\r\n
Also Known As
\r\n
\r\n {{ getAKAList(result?.EntityDetails).join(', ') || '-' }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

Sanctions

\r\n \r\n \r\n \r\n \r\n Country\r\n Source\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ sanctionData?.Country || '-' }}\r\n {{ sanctionData?.Source || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Enforcements

\r\n \r\n \r\n \r\n \r\n Country\r\n Source\r\n Offence\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ enforcementData?.Country || '-' }}\r\n {{ enforcementData?.Source || '-' }}\r\n {{ enforcementData?.SubCategories || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Financial Crime

\r\n \r\n \r\n \r\n \r\n Description\r\n Offence\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ adverseMediasData?.Description || '-' }}\r\n {{ adverseMediasData?.SubCategories?.join(', ') || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n

Politically Exposed Person

\r\n \r\n \r\n \r\n \r\n Country\r\n Type\r\n Admin Level\r\n Status\r\n Governing Institution\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ record?.Country || '-' }}\r\n {{ record?.SubCategories?.join(', ') || '-' }}\r\n {{ record?.AdminLevel || '-' }}\r\n {{ record?.Status || '-' }}\r\n {{ record?.GoverningInstitution || '-' }}\r\n \r\n \r\n \r\n
\r\n
\r\n
Governing Role
\r\n
\r\n {{ record.GoverningRole || '-' }}\r\n
\r\n
\r\n
\r\n
Effective Date
\r\n
\r\n {{ (record.EffectiveDate | date: 'dd-MM-yyyy') || '-' }}\r\n
\r\n
\r\n
\r\n
Effective Date Type
\r\n
\r\n {{ record.EffectiveDateType || '-' }}\r\n
\r\n
\r\n
\r\n
Expiration Date
\r\n
\r\n {{ (record.ExpirationDate | date: 'dd-MM-yyyy') || '-' }}\r\n
\r\n
\r\n
\r\n
Expiration Date Type
\r\n
\r\n {{ record.ExpirationDateType || '-' }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n

Detail

\r\n \r\n \r\n \r\n \r\n Comments \r\n \r\n \r\n \r\n \r\n \r\n {{ result.EntityDetails.Comments }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Addresses

\r\n \r\n \r\n \r\n \r\n Street \r\n City \r\n Country \r\n Postal Code \r\n Type \r\n \r\n \r\n \r\n \r\n \r\n {{ match?.Street1 || '-' }}\r\n {{ match?.City || '-' }}\r\n {{ match?.Country || '-' }}\r\n {{ match?.PostalCode || '-' }}\r\n {{ match?.Category || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Relationships

\r\n \r\n \r\n \r\n \r\n Name \r\n Type \r\n \r\n \r\n \r\n \r\n \r\n {{ relation?.EntityName || '-' }}\r\n {{ relation?.Type || '-' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Online Sources

\r\n \r\n \r\n \r\n \r\n Urls \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ url.SourceURI }}\r\n \r\n -\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-mobile',\r\n templateUrl: './pdf-search-form-mobile.component.html',\r\n styleUrls: ['./pdf-search-form-mobile.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormMobileComponent implements OnInit {\r\n\r\n @Input() public requestData: RequestData = new RequestData();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Mobile:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../services/messaging.service';\r\nimport { MobileResultModel } from '../../../../models/MobileResultModel';\r\n\r\n@Component({\r\n selector: 'app-mobile-result-mobile',\r\n templateUrl: './mobile-result-mobile.component.html',\r\n styleUrls: ['./mobile-result-mobile.component.css', '../../../shared/shared.searchpage.css']\r\n})\r\nexport class MobileResultMobileComponent implements OnInit {\r\n\r\n @Input() mobile: MobileResultModel = new MobileResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
{{messageService.MobileRequiredMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
MOBILE:
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n
\r\n
\r\n
Mobile Phone Number:
\r\n
{{mobile.responseData?.data?.fullNumber}}
\r\n
\r\n
\r\n
Carrier:
\r\n
{{mobile.responseData?.data?.carrier}}
\r\n
\r\n
\r\n
Country:
\r\n
{{mobile.responseData?.data?.country}}
\r\n
\r\n
\r\n
Country Code:
\r\n
{{mobile.responseData?.data.code}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
LIVENESS:
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n
\r\n \r\n
\r\n
Subscriber status:
\r\n
{{mobile.responseData?.data?.phoneIdLiveCheck.subscriber_status}}
\r\n
\r\n
\r\n
Device status:
\r\n
{{mobile.responseData?.data?.phoneIdLiveCheck.device_status}}
\r\n
\r\n
\r\n
Roaming:
\r\n
{{mobile.responseData?.data?.phoneIdLiveCheck.roaming}}
\r\n
\r\n
\r\n
Roaming country:
\r\n
{{mobile.responseData?.data?.phoneIdLiveCheck.roaming_country}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
SIM:
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n
\r\n
\r\n
Block Description:
\r\n
{{mobile.responseData?.data?.blockedDescription}}
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
RISK:
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n
\r\n
\r\n
Overall Risk score:
\r\n
{{mobile.responseData?.data?.phoneScoreCheck?.risk?.score}}
\r\n
\r\n
\r\n
Overall Risk Level:
\r\n
{{mobile.responseData?.data?.phoneScoreCheck?.risk?.level}}
\r\n
\r\n
\r\n
Risk Reason(s):
\r\n
\r\n
\r\n {{ codeMessage }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-dashboard-one-business',\r\n templateUrl: './dashboard-one-business.component.html',\r\n styleUrls: ['./dashboard-one-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class DashboardOneBusinessComponent implements OnInit {\r\n\r\n @Input() business: BusinessResultModel = new BusinessResultModel();\r\n @Input() requestData: RequestData = new RequestData();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public isLimitedCompany(): boolean {\r\n if (\r\n ((this.requestData.profileData.companyNumber && this.requestData.profileData.companyName) || (this.requestData.profileData.companyName && !this.requestData.profileData.companyNumber) || this.requestData.profileData.companyNumber) &&\r\n ((this.business.creditsafeResult && !this.business.businessNonRegisteredProfileResult) ||\r\n (this.business?.responseData?.businessTargeterObject && this.business?.responseData?.businessTargeterObject?.legalStatus == 'L'))\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n public isNonLimitedCompany(): boolean {\r\n if (\r\n (!this.requestData.profileData.companyNumber) &&\r\n ((this.business.businessNonRegisteredProfileResult && !this.business.creditsafeResult) ||\r\n (this.business?.responseData?.businessTargeterObject && this.business?.responseData?.businessTargeterObject?.legalStatus == 'N'))\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n public isNonLimitedCompanyExistence(): boolean {\r\n if (\r\n (!this.requestData.profileData.companyNumber) &&\r\n ((this.business.businessNonRegisteredProfileResult && !this.business.creditsafeResult) || (!this.business.businessNonRegisteredProfileResult && !this.business.creditsafeResult) ||\r\n (this.business?.responseData?.businessTargeterObject && this.business?.responseData?.businessTargeterObject?.legalStatus == 'N'))\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n\r\n
\r\n
\r\n Existence\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
0 || business?.responseData?.businessTargeterObject?.nameMatchCount > 0) && (business?.responseData?.businessTargeterObject?.resultMatch == 'Found')\">\r\n \r\n
\r\n
0 && business?.responseData?.businessTargeterObject?.resultMatch == 'PartialFound') ||\r\n (business?.responseData?.businessNonRegisteredProfileResult && business?.responseData?.businessTargeterObject?.nameMatchCount == 0 && business?.responseData?.businessTargeterObject?.nameAndPostcodeMatchCount == 0)\">\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Status\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n","export class Login {\r\n constructor(\r\n public email: string,\r\n public password: string,\r\n public termsAndConditions: boolean,\r\n public oTP: string\r\n ) { } \r\n}\r\n","import { Feedback } from './../models/Feedback';\r\nimport { HtmltoPdf } from './../models/HtmltoPdf';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { map, catchError } from 'rxjs/operators';\r\nimport { Token } from '../../shared/models/token';\r\nimport { Items } from '../models/Items';\r\nimport { SearchDomain } from '../models/SearchDomain';\r\nimport { ContactData } from '../models/ContactData';\r\n//import { RequestData } from '../models/AccessData';\r\nimport { AVAResultData } from '../models/AVAModel/AVAResultData';\r\nimport { AccessData, RequestData, SecondAccess, Item } from '../models/AccessData';\r\n\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SearchService {\r\n\r\n public GetPersonSearch(requestData: RequestData, searchtext: string, auditKey: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/GetPersonSearch?searchText=' + searchtext + '&auditKey=' + auditKey, requestData, httpOptions)\r\n .pipe(\r\n map((res: Response) => {\r\n let body = res;\r\n return body\r\n || {};\r\n })\r\n );\r\n }\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n public getDomainJson(): Observable {\r\n return this.http.get('../assets/jsonfiles/searchDomains.json');\r\n // .pipe(map((res: Response) => { let body = res;return body| {}; }));\r\n }\r\n //public auditSearchData(userId: any, accessData: any, inputdata: any) {\r\n // const reqeustData = {\r\n // \"id\": userId,\r\n // \"input\": inputdata,\r\n // \"access\": accessData\r\n // }\r\n // return this.http.post('/api/Search/AuditSearch', reqeustData).toPromise().then((data) => {\r\n // console.log(data);\r\n // });\r\n //}\r\n\r\n public SearchData(search: string, lexicon: string, userId: string, searchDomain: string, auditKey: string, requestData: RequestData): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/DataSearch?search=' + search + '&lexiconKey=' + lexicon + '&userId=' + userId + '&searchDomain=' + searchDomain + '&auditKey=' + auditKey, requestData, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body\r\n // || {};\r\n // })\r\n //);\r\n }\r\n\r\n public GetCounterFraudData(requestData: RequestData, searchtext: string, auditKey: string, userId: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/GetCounterFraudData?searchText=' + searchtext + '&auditKey=' + auditKey + '&userId=' + userId, requestData, httpOptions)\r\n .pipe(\r\n map((res: Response) => {\r\n let body = res;\r\n return body\r\n || {};\r\n })\r\n );\r\n }\r\n\r\n public GetProspectHitData(requestData: RequestData, searchtext: string, auditKey: string, userId: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/GetProspectHitData?searchText=' + searchtext + '&auditKey=' + auditKey + '&userId=' + userId, requestData, httpOptions);\r\n }\r\n\r\n public GetProspectProfileData(requestData: RequestData, searchtext: string, auditKey: string, userId: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/GetProspectProfileData?searchText=' + searchtext + '&auditKey=' + auditKey + '&userId=' + userId, requestData, httpOptions);\r\n }\r\n\r\n public RightToWorkSearch(requestData: RequestData, searchtext: string, auditKey: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/RightToWork?searchName=' + searchtext + '&auditKey=' + auditKey, requestData, httpOptions);\r\n }\r\n\r\n public IDCheck(requestData: RequestData, searchtext: string, auditKey: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/IDCheck?searchName=' + searchtext + '&auditKey=' + auditKey, requestData, httpOptions);\r\n }\r\n\r\n public USIDCheck(name: string, email: string, reference: string, formData: FormData): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/USIDCheck?searchName=' + name + '&email=' + email + '&reference=' + reference, formData, httpOptions);\r\n }\r\n\r\n public EmailAge(requestData: RequestData, searchtext: string, auditKey: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/EmailAge?searchName=' + searchtext + '&auditKey=' + auditKey, requestData, httpOptions);\r\n }\r\n\r\n public CheckProsectHitAndProfileAccessClient(): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.get('/api/Search/CheckProspectClientData', httpOptions);\r\n }\r\n\r\n public GetMobileData(reqeustData: RequestData, searchtext: string, auditKey: string, userId: any): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/GetMobileData?searchText=' + searchtext + '&auditKey=' + auditKey + '&userId=' + userId, reqeustData, httpOptions)\r\n .pipe(\r\n map((res: Response) => {\r\n let body = res;\r\n return body\r\n || {};\r\n })\r\n );\r\n }\r\n\r\n public DirectorshipSearchData(requestData: RequestData, search: string, auditKey: string, userId: any): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/DirectorshipSearch?searchText=' + search + '&auditKey=' + auditKey + '&userId=' + userId, requestData, httpOptions)\r\n .pipe(\r\n map((res: Response) => {\r\n let body = res;\r\n return body\r\n || {};\r\n })\r\n );\r\n }\r\n\r\n public analyseResultRanking(searchUniqueIdlist: string[], lexiconCategory: string, searchvalue: string, searchDomain: string, devData: boolean, auditKey: string, requestData: RequestData, userId: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n const allRequestData = {\r\n \"searchUniqueIdlist\": searchUniqueIdlist,\r\n \"requestData\": requestData\r\n }\r\n return this.http.post('/api/Search/AnalyseResultRanking?category=' + lexiconCategory + '&searchvalue=' + searchvalue + '&searchDomain=' + searchDomain + '&devData=' + devData + '&auditKey=' + auditKey + '&userId=' + userId, allRequestData, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body\r\n // || {};\r\n // }));\r\n }\r\n\r\n public refreshtoken(token: Token): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json' })\r\n };\r\n return this.http.post('/api/Token/Refresh', token, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body\r\n // || {};\r\n // }));\r\n }\r\n\r\n public logout(userId:string){\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json' })\r\n };\r\n return this.http.post('/api/Account/Logout?userId=' + userId,httpOptions);\r\n }\r\n\r\n public AssociatedSearchData(search: string, searchDomain: string, requestData: RequestData) {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/AssociatedDataSearch?search=' + search + '&searchDomain=' + searchDomain, requestData, httpOptions);\r\n }\r\n\r\n\r\n public AuditUserSearchResults(searchvalue: string, userId: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/AuditUserSearchResults?search=' + searchvalue + '&userId=' + userId, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body\r\n // || {};\r\n // }));\r\n }\r\n\r\n public FollowSearchKeyword(searchvalue: string, userId: string, followStatus: boolean): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/AddFollowSearch?search=' + searchvalue + '&userId=' + userId + '&followStatus=' + followStatus, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body\r\n // || {};\r\n // }));\r\n }\r\n\r\n public CheckFollowing(searchvalue: string, userId: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/CheckFollowing?search=' + searchvalue + '&userId=' + userId, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body;\r\n // }));\r\n }\r\n\r\n\r\n public SearchLifeStyle(search: string, EachlifestyleCategory: string, searchDomain: string, userId: string, auditKey: string, requestData: RequestData): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}`, 'Retry-After': '180' })\r\n };\r\n return this.http.post('/api/Search/SearchLifeStyleData?search=' + search + '&EachlifestyleCategory=' + EachlifestyleCategory + '&searchDomain=' + searchDomain + '&userId=' + userId + '&auditKey=' + auditKey, requestData, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body;\r\n // }));\r\n }\r\n\r\n public AnalysisSports(searchUniqueIdlist: string[], userId: string, auditKey: string, requestData: RequestData, searchName: string) {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}`, 'Retry-After': '180' })\r\n };\r\n const allRequestData = {\r\n \"searchUniqueIdlist\": searchUniqueIdlist,\r\n \"requestData\": requestData\r\n }\r\n return this.http.post('/api/Search/AnalyseSportsResultRanking?searchName=' + searchName + '&userId=' + userId + '&auditKey=' + auditKey, allRequestData, httpOptions)\r\n }\r\n\r\n\r\n public SearchSocialMedia(search: string, EachsocialMediaCategory: string, searchDomain: string, userId: string, auditKey: string, reqeustData: RequestData): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/SearchSocialMediaData?search=' + search + '&EachsocialMediaCategory=' + EachsocialMediaCategory + '&searchDomain=' + searchDomain + '&userId=' + userId + '&auditKey=' + auditKey, reqeustData, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body;\r\n // }));\r\n }\r\n\r\n public AnalysisSocialMedia(searchUniqueIdlist: string[], EachsocialMediaCategory: string, phone: string, userId: string, auditKey: string, requestData: RequestData, searchName: string) {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n const allRequestData = {\r\n \"searchUniqueIdlist\": searchUniqueIdlist,\r\n \"requestData\": requestData\r\n }\r\n return this.http.post('/api/Search/AnalyseSocialMediaResultRanking?searchName=' + searchName + '&userId=' + userId + '&auditKey=' + auditKey + '&phone=' + phone + '&EachsocialMediaCategory=' + EachsocialMediaCategory, allRequestData, httpOptions);\r\n }\r\n\r\n public SearchAdvert(phone: string, userId: string, auditKey: string, requestData: RequestData, searchName: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/SearchAdvert?searchName=' + searchName + '&userId=' + userId + '&auditKey=' + auditKey + '&phone=' + phone, requestData, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body;\r\n // }));\r\n }\r\n\r\n public AnalysisAdvert(searchUniqueIdlist: string[], phone: string, userId: string, auditKey: string, requestData: RequestData, searchName: string) {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n const allRequestData = {\r\n \"searchUniqueIdlist\": searchUniqueIdlist,\r\n \"requestData\": requestData\r\n }\r\n return this.http.post('/api/Search/AnalyseAdvertResultRanking?searchName=' + searchName + '&userId=' + userId + '&auditKey=' + auditKey + '&phone=' + phone, allRequestData, httpOptions);\r\n }\r\n\r\n public EmailDomainCheck(name: string, userId: string, auditKey: string, reqeustData: RequestData): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/EmailDomainCheck?searchName=' + name + '&userId=' + userId + '&auditKey=' + auditKey, reqeustData, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body;\r\n // }));\r\n }\r\n\r\n public GetToggleSettings(userId: string) {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.get('/api/Search/GetToggleSettings?userId=' + userId, httpOptions)\r\n .pipe(\r\n map((res: Response) => {\r\n let body = res;\r\n return body;\r\n }));\r\n }\r\n\r\n public updateAudit(auditKey: string, api: number, data: string[]) {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/UpdateAuditByAPI?auditKey=' + auditKey + '&api=' + api, data, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body;\r\n // }));\r\n }\r\n\r\n public SearchAVA(name: string, userId: string, auditKey: string, requestData: RequestData): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/SearchAVAData?auditKey=' + auditKey + '&userId=' + userId + \"&searchName=\" + name, requestData, httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body;\r\n // }));\r\n }\r\n\r\n public SearchAML(name: string, auditKey: string, requestData: RequestData): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/SearchAMLData?auditKey=' + auditKey + \"&searchName=\" + name, requestData, httpOptions);\r\n }\r\n\r\n public SearchCCJAndInsolvency(name: string, auditKey: string, requestData: RequestData, finalcialData: any): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n const request = {\r\n \"finalcialData\": finalcialData,\r\n \"requestData\": requestData\r\n }\r\n return this.http.post('/api/Search/SearchCCJInsolvencyDetailData?auditKey=' + auditKey + \"&searchName=\" + name, request, httpOptions);\r\n }\r\n\r\n AllowedLicence(): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.get('api/search/GetLicenceItem', httpOptions);\r\n //.pipe(\r\n // map((res: Response) => {\r\n // let body = res;\r\n // return body;\r\n // }));\r\n }\r\n\r\n GetAuditKey(): Promise {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.get('api/search/GetAuditKey', httpOptions).toPromise();\r\n }\r\n\r\n GetSearch4Less(croNumber: string, companyName: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.get('api/search/Search4Less?companyName=' + companyName + \"&croNumber=\" + croNumber, httpOptions);\r\n }\r\n\r\n\r\n GetPhronesisBiometric(mobileNumber: string): Observable {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.get('api/search/PhronesisBiometric?mobileNumber=' + mobileNumber, httpOptions);\r\n }\r\n\r\n GetHtmltoPdf(htmlElement: HtmltoPdf) {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('/api/Search/PdfSharpConvert', htmlElement, httpOptions);\r\n }\r\n\r\n FeedbackReport(report: Feedback) {\r\n const httpOptions = {\r\n headers: new HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': `Bearer ${localStorage.getItem(\"access_token\")}` })\r\n };\r\n return this.http.post('api/Search/ResultFeedBack', report, httpOptions);\r\n }\r\n \r\n}\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { PlanExpiry } from 'src/app/subscription/Models/PlanExpiry';\r\nimport { SubscriptionService } from 'src/app/subscription/service/subscription.service';\r\n\r\n@Component({\r\n selector: 'app-toast-message',\r\n templateUrl: 'toast-message.component.html',\r\n providers:[MessageService]\r\n})\r\n\r\nexport class ToastMessageComponent implements OnInit {\r\n\r\n // public planExpiry: PlanExpiry = null;\r\n // public isPlanExpired: boolean = false;\r\n\r\n @Input() planExpiry: PlanExpiry = null;\r\n @Input() isPlanExpired: boolean = false;\r\n\r\n constructor(private subscriptionService: SubscriptionService,\r\n private messageService: MessageService) { }\r\n\r\n ngOnInit() { \r\n this.subscriptionService.GetPlanExpiry(0).toPromise().then(\r\n data => {\r\n this.planExpiry = data;\r\n let days = this.planExpiry.subscriptionExpiry.days;\r\n let hours = this.planExpiry.subscriptionExpiry.hours;\r\n let minutes = this.planExpiry.subscriptionExpiry.minutes;\r\n let seconds = this.planExpiry.subscriptionExpiry.seconds;\r\n if (days <= 0 && hours <= 0 && minutes <= 0 && seconds <= 0) {\r\n this.isPlanExpired = true;\r\n this.subscriptionService.GetSubscriptionDetail().toPromise().then(\r\n data => {\r\n this.messageService.add({ key: 'PlanExpiry', severity: 'warn', summary: 'HeadsUp', detail: 'Your ' + data.planName + ' plan has been expired', sticky: true });\r\n setTimeout(() => {\r\n this.messageService.clear();\r\n }, 13000);\r\n },\r\n error => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n else {\r\n this.isPlanExpired = false;\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n}\r\n","","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DriverLicenceCheckResultModel, entitlementResultModel, restrictions } from '../../../../models/DriverLicenceCheckResultModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\nimport { CsvProcessorService } from '../../services/CsvProcessorService';\r\n\r\n@Component({\r\n selector: 'app-entitlement-list',\r\n templateUrl: './entitlement-list.component.html',\r\n styleUrls: ['./entitlement-list.component.css','../../../shared/shared.searchpage.css']\r\n})\r\nexport class EntitlementListComponent implements OnInit {\r\n @Input() driverLicenceResultDataModel: DriverLicenceCheckResultModel = new DriverLicenceCheckResultModel();\r\n @Input() entitlementResultModel:entitlementResultModel = new entitlementResultModel();\r\n\r\n constructor(public messagingService: MessagingService) { }\r\n csvData: any[] = []; \r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
{{messagingService.SearchFail}}
\r\n
{{messagingService.NoRelevantDataMessage}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
Entitlement List
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeVehicleTypeFrom DateExpiry DateRestriction
{{ result?.categoryCode }}{{ result?.categoryVehicle }}{{ result?.categoryType }}{{ result?.fromDate }}{{ result?.expiryDate }}\r\n
\r\n

{{ restrict?.restrictionCode }}

\r\n

{{ restrict?.restrictionLiteral }}

\r\n
\r\n
\r\n
\r\n
Entitlement Detail
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeLegal Description
{{ result?.categoryCode }}{{ result?.categoryLegalLiteral }}
\r\n
\r\n
\r\n
\r\n
\r\n","\r\nexport class PlanExpiry\r\n{\r\n constructor(\r\n public subscriptionExpiry:SubscriptionExpiry,\r\n public subscriptionBalaceCount:SubscriptionBalaceCount){\r\n }\r\n \r\n}\r\n\r\nexport class SubscriptionExpiry\r\n{\r\n constructor(\r\n public days:number,\r\n public hours:number,\r\n public minutes: number,\r\n public seconds: number){\r\n }\r\n}\r\n \r\nexport class SubscriptionBalaceCount\r\n{\r\n constructor(\r\n public ScreenCount:number,\r\n public SearchCount:number){\r\n }\r\n\r\n}\r\n\r\n\r\n\r\n// export interface PlanExpiry {\r\n \r\n// subscriptionExpiry : {days:number , hours:number}\r\n\r\n// subscriptionBalaceCount :null;\r\n// }","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { CounterFraudResultModel } from '../../../../../models/CounterFraudResultModel';\r\n\r\n@Component({\r\n selector: 'app-prospect-dashboard-personal',\r\n templateUrl: './prospect-dashboard-personal.component.html',\r\n styleUrls: ['./prospect-dashboard-personal.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class ProspectDashboardPersonalComponent implements OnInit {\r\n\r\n @Input() counterFraud: CounterFraudResultModel = new CounterFraudResultModel();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Prospect\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
{{messageService.PostcodeOrDOBRequiredMessage}}
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageSercice.OtherFieldRequired}}
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
{{messageService.SearchFail}}
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-ltd-companyhistory-financials-business',\r\n templateUrl: './ltd-companyhistory-financials-business.component.html',\r\n styleUrls: ['./ltd-companyhistory-financials-business.component.css']\r\n})\r\nexport class LtdCompanyhistoryFinancialsBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Company History
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DateDescription
{{companyHistory?.date | date:'dd-MMM-yyyy'}}{{companyHistory?.description}}
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Status History
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DateDescription
{{statusHistory?.date | date:'dd-MMM-yyyy'}}{{statusHistory?.description}}
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessSearchResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/BusinessSearchResultModel';\r\n\r\n@Component({\r\n selector: 'app-au-business-abrsearch',\r\n templateUrl: './au-business-abrsearch.component.html',\r\n styleUrls: ['./au-business-abrsearch.component.css']\r\n})\r\nexport class AuBusinessAbrsearchComponent implements OnInit {\r\n@Input() businessResultDataModel: BusinessSearchResultModel = new BusinessSearchResultModel();\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

ABN:

\r\n
\r\n

{{ result?.ABN?.identifierValue }}

\r\n
\r\n

Status:

\r\n
\r\n

{{ result?.ABN?.identifierStatus }}

\r\n
\r\n

Organization:

\r\n
\r\n

{{ result?.mainName?.organisationName }}

\r\n
\r\n

Confidenece Score (%):

\r\n
\r\n

{{ result?.mainName?.score }}

\r\n
\r\n

Current Name:

\r\n
\r\n

{{ result?.mainName?.isCurrentIndicator }}

\r\n
\r\n

State:

\r\n
\r\n

{{ result?.mainBusinessPhysicalAddress?.stateCode }}

\r\n
\r\n

Postcode:

\r\n
\r\n

{{ result?.mainBusinessPhysicalAddress?.postcode }}

\r\n
\r\n

Current Address?:

\r\n
\r\n

{{ result?.mainBusinessPhysicalAddress?.isCurrentIndicator }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessResultModel } from '../../../../../models/BusinessResultModel';\r\n\r\n@Component({\r\n selector: 'app-ltd-shares-business',\r\n templateUrl: './ltd-shares-business.component.html',\r\n styleUrls: ['./ltd-shares-business.component.css']\r\n})\r\nexport class LtdSharesBusinessComponent implements OnInit {\r\n\r\n @Input() public business: BusinessResultModel = new BusinessResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Issued Share Capital Currency{{business?.responseData?.creditsafeResult?.report?.shareCapitalStructure?.issuedShareCapital?.currency}}
Issued Share Captial Value{{business?.responseData?.creditsafeResult?.report?.shareCapitalStructure?.issuedShareCapital?.value}}
Number Of Shares Issued{{business?.responseData?.creditsafeResult?.report?.shareCapitalStructure?.numberOfSharesIssued}}
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Shareholder NameShareholder TypeCurrencyTotal Number Of Shares OwnedTotal Value Of Shares OwnedPercentage Of Shares Held
{{shares?.name}}{{shares?.shareholderType}}{{shares?.currency}}{{shares?.totalNumberOfSharesOwned}}{{shares?.totalValueOfSharesOwned}}{{shares?.percentSharesHeld}}
\r\n
\r\n","import { AccessData } from \"./SearchRequestModel\";\r\n\r\nexport class EmailCheckResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public validation: boolean;\r\n public searchFail: boolean;\r\n public noRelevantData: boolean;\r\n public responseData: any;\r\n}\r\n\r\nexport class EmailageCheckResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n public validation: boolean;\r\n public urls: any[];\r\n}\r\n\r\nexport class RightToWorkCheckResultModel {\r\n public access: AccessData;\r\n public isLoading: boolean;\r\n public validation: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n}\r\n\r\nexport class IdCheckResultModel {\r\n public access: AccessData;\r\n public isLoading: boolean;\r\n public validation: boolean;\r\n public searchFail: boolean;\r\n public responseData: any;\r\n}\r\n","import { Component, OnInit, ElementRef } from '@angular/core';\r\nimport { Register } from '../../models/register';\r\nimport { LoginService } from '../../service/login.service';\r\nimport { Router } from '@angular/router';\r\nimport { NgForm } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-user-register',\r\n templateUrl: './user-register.component.html',\r\n styleUrls: ['./user-register.component.css'],\r\n providers: [LoginService],\r\n preserveWhitespaces: true\r\n})\r\nexport class UserRegisterComponent implements OnInit {\r\n public register: Register = new Register(\"\", \"\", \"\", \"\", \"\");\r\n public validationerror: string;\r\n public loading: boolean;\r\n public loggedIn: boolean;\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private router: Router,\r\n private elementRef: ElementRef) { }\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/LoginBackground.svg)';\r\n }\r\n\r\n ngOnInit() {\r\n this.loggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n this.router.navigate([\"/Login\"]);\r\n }\r\n\r\n public UserRegister(f) {\r\n this.loading = true;\r\n this.loginService.register(this.register)\r\n .subscribe(\r\n data => {\r\n this.router.navigate([\"/Thankyou\"], { queryParams: { status: 'registration' } });\r\n this.loading = false;\r\n },\r\n error => {\r\n if (error.status == 400) {\r\n if (JSON.parse(error._body)[\"Email\"][0] == \"Invalid Email\") {\r\n this.loading = false;\r\n this.validationerror = \"Please enter valid email address\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000); \r\n }\r\n }\r\n else if (error.status == 401) {\r\n this.loading = false;\r\n this.validationerror = JSON.parse(error._body).message;\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n else if (error.status == 500) {\r\n this.loading = false;\r\n this.validationerror = \"Internal Server Error\";\r\n setTimeout(() => {\r\n this.validationerror = \"\";\r\n }, 5000);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

Register

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
First Name is required
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Last Name is required
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Department is required
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Email is required
\r\n
Email must be a valid email address
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Password is required
\r\n
\r\n Password must be at least 6 characters\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n {{validationerror}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { EmailageCheckResultModel, EmailCheckResultModel } from '../../../../../../search-pages/models/EmailResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-email-result-personal',\r\n templateUrl: './email-result.component.html',\r\n styleUrls: ['./email-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class EmailResultPersonalComponent implements OnInit {\r\n\r\n @Input() email: EmailCheckResultModel = new EmailCheckResultModel();\r\n @Input() emailage: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n Email Check\r\n
\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.EmailRequiredMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageSercice.NoRelevantDataMessageShort}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Blocked

\r\n

Not Blocked

\r\n
\r\n
\r\n
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
Not New
\r\n
New Email
\r\n
\r\n
\r\n
\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Company Number:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.BusinessValidationMessage}}\r\n

\r\n

\r\n {{messagingService.CompanyNumberNotValidMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Business Name:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.BusinessValidationMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Business Postcode:\r\n
\r\n
\r\n
\r\n \r\n

Use for Non-limited business searches only

\r\n

\r\n {{messagingService.BusinessValidationMessage}}\r\n

\r\n

\r\n {{messagingService.CompanyPostcodeNotValid}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n VAT Number:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Email:\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{messagingService.EmailNotValidMessage}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Mobile:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Please enter valid mobile numbers\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Proprietor Name:\r\n
\r\n
\r\n
\r\n \r\n

Use for Non-limited business searches only

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Proprietor Post Code:\r\n
\r\n
\r\n
\r\n \r\n

Use for Non-limited business searches only

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Proprietor DOB:\r\n
\r\n
\r\n
\r\n \r\n

Use for Non-limited business searches only

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
{{messagingService.ProprietorDetailsRequired}}
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { ConfirmationService } from 'primeng/api';\r\nimport { MessagingService } from '../../../../services/messaging.service';\r\nimport { SearchService } from '../../../../services/search.service';\r\nimport { AddressResultModel } from '../../../models/AddressResultModel';\r\nimport { BusinessOpenSourceResultModel, BusinessResultModel } from '../../../models/BusinessResultModel';\r\nimport { CompaniesHouseResultModel } from '../../../models/CompaniesHouseResultModel';\r\nimport { CounterFraudResultModel, ProspectResultModel } from '../../../models/CounterFraudResultModel';\r\nimport { EmailageCheckResultModel, EmailCheckResultModel } from '../../../models/EmailResultModel';\r\nimport { Item, Items, SearchDomain, Token } from '../../../models/Items';\r\nimport { MobileResultModel } from '../../../models/MobileResultModel';\r\nimport { AccessData, ProfileData, RequestData } from '../../../models/SearchRequestModel';\r\nimport { SearchType } from '../../../models/SearchType';\r\nimport { VATResultModel } from '../../../models/VATResultModel';\r\nimport { isPossiblePhoneNumber, parsePhoneNumber, isValidPhoneNumber, validatePhoneNumberLength } from 'libphonenumber-js';\r\nimport { PDFExportComponent } from '@progress/kendo-angular-pdf-export';\r\nimport { Shared } from '../../../../services/shared';\r\nimport { AppComponent } from '../../../../../../app.component';\r\nimport { LandRegistryResultModel } from '../../../models/LandRegistryResultModel';\r\nimport { BusinessSocialMediaResultModel, SocialMediaResultModel } from '../../../models/SocialMediaResultModel';\r\nimport { PIPLResultModel } from '../../../models/PIPLResultModel';\r\nimport * as _ from 'lodash';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-uk-business',\r\n templateUrl: './uk-business.component.html',\r\n styleUrls: ['./uk-business.component.css', '../../shared/shared.searchpage.css']\r\n})\r\nexport class UkBusinessComponent implements OnInit {\r\n @ViewChild('pdf') pdf: PDFExportComponent;\r\n @Output() disableExitEventEmitter = new EventEmitter();\r\n\r\n public companiesNumberRegex = /^((AC|ZC|FC|GE|LP|OC|SE|SA|SZ|SF|GS|SL|SO|SC|ES|NA|NZ|NF|GN|NL|NC|R0|NI|EN|\\d{2}|SG|FE)\\d{5}(\\d|C|R))|((RS|SO)\\d{3}(\\d{3}|\\d{2}[WSRCZF]|\\d(FI|RS|SA|IP|US|EN|AS)|CUS))|((NI|SL)\\d{5}[\\dA])|(OC(([\\dP]{5}[CWERTB])|([\\dP]{4}(OC|CU))))$/;\r\n public businessPostcodeRegex = /^(([gG][iI][rR] {0,}0[aA]{2})|(([aA][sS][cC][nN]|[sS][tT][hH][lL]|[tT][dD][cC][uU]|[bB][bB][nN][dD]|[bB][iI][qQ][qQ]|[fF][iI][qQ][qQ]|[pP][cC][rR][nN]|[sS][iI][qQ][qQ]|[iT][kK][cC][aA]) {0,}1[zZ]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yxA-HK-XY]?[0-9][0-9]?)|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW])|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9][abehmnprv-yABEHMNPRV-Y]))) {0,}[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$/;\r\n public businessForm: FormGroup;\r\n public validation: any = {\r\n 'reference': Validators.required,\r\n 'email': Validators.pattern('[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$'),\r\n 'mobile': Validators.pattern(\"^[0-9]{10,}$\"),\r\n 'companyNumber': Validators.pattern(this.companiesNumberRegex),\r\n 'required': Validators.required,\r\n 'businessPostcode': Validators.pattern(this.businessPostcodeRegex)\r\n };\r\n\r\n // PDF\r\n public requestDataModel: RequestData = new RequestData();\r\n\r\n public accessData: AccessData = new AccessData();\r\n public showResultTab: boolean = false;\r\n public emailageOrgId: string;\r\n public prospectProfileButtonText_RequestProfile = \"Request Profile\";\r\n public prospectProfileButtonText_Requested = \"Requested\";\r\n public searchDomains: SearchDomain[] = [];\r\n public activeSearchDomains: SearchDomain[] = [];\r\n public refreshtoken = new Token(null);\r\n public saveAsPDFButtonVisibility: boolean = true;\r\n public clearSearchButtonVisibility: boolean = true;\r\n public loggedInUsername: string = \"\";\r\n public isProspectHitPerformed: boolean = false;\r\n\r\n public requestData: RequestData = new RequestData();\r\n public tempRequestData: RequestData = new RequestData();\r\n public emailValidationResultModel: EmailCheckResultModel = new EmailCheckResultModel()\r\n public emailageResultModel: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n public mobileResultModel: MobileResultModel = new MobileResultModel();\r\n public prospectResultModel: ProspectResultModel = new ProspectResultModel();\r\n public opensourceResult: BusinessOpenSourceResultModel = new BusinessOpenSourceResultModel();\r\n public vatResult: VATResultModel = new VATResultModel();\r\n public businessResult: BusinessResultModel = new BusinessResultModel();\r\n public addressResultModel: AddressResultModel = new AddressResultModel();\r\n public counterFraudResultModel: CounterFraudResultModel = new CounterFraudResultModel();\r\n public companiesHouseResultModel: CompaniesHouseResultModel = new CompaniesHouseResultModel();\r\n public landRegistryResultModel: LandRegistryResultModel = new LandRegistryResultModel();\r\n public socialMediaResultModel: BusinessSocialMediaResultModel = new BusinessSocialMediaResultModel();\r\n public piplResultModel: PIPLResultModel = new PIPLResultModel();\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private messagingService: MessagingService,\r\n private confirmationService: ConfirmationService,\r\n private router: Router,\r\n public appComponent: AppComponent\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"BUSINESS\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.businessForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n companyNumber: [\"\"],\r\n businessName: [\"\"],\r\n businessPostcode: [\"\"],\r\n vatNumber: [\"\"],\r\n email: [\"\"],\r\n mobile: [\"\"],\r\n name: [\"\"],\r\n postcode: [\"\"],\r\n dob: [\"\"]\r\n });\r\n this.saveAsPDFButtonVisibility = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.clearSearchButtonVisibility = false;\r\n this.getLicenceItems();\r\n this.CheckProspectHitAndProfileAccess();\r\n this.getEmailageOrgId();\r\n this.GetSearchDomainJson();\r\n this.getUserDetails();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n public generatePDF() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestDataModel = requestObj;\r\n\r\n setTimeout(() => {\r\n this.pdf.forcePageBreak = \".page-break\"\r\n this.pdf.keepTogether = \".keep-together\";\r\n this.pdf.paperSize = \"A4\";\r\n const margin = {\r\n top: '2cm',\r\n bottom: '3cm',\r\n left: '1cm',\r\n right: '1cm'\r\n }\r\n this.pdf.margin = margin;\r\n this.pdf.scale = 0.5;\r\n\r\n\r\n const currentDate = new Date();\r\n const formattedDate = currentDate.toLocaleDateString('en-GB', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: 'numeric'\r\n }).replace(/\\//g, '-'); // Replace slashes with hyphens for file name compatibility\r\n const fileName = `${this.businessForm.get('reference').value + ' ' +formattedDate}.pdf`;\r\n\r\n this.pdf.saveAs(fileName);\r\n }, 5000);\r\n }\r\n\r\n // Getting search domain json for scraping\r\n public GetSearchDomainJson() {\r\n this.searchService.getDomainJson()\r\n .subscribe((data) => {\r\n this.searchDomains = data;\r\n this.activeSearchDomains = data.filter(x => x.IsActive == true);\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n\r\n public getUserDetails() {\r\n this.searchService.getUserDetails().subscribe(data => {\r\n this.loggedInUsername = data.username;\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n\r\n // Search button click event\r\n public businessSearch(): void {\r\n this.showResultTab = false;\r\n\r\n this.addValidators();\r\n this.businessForm.updateValueAndValidity();\r\n\r\n this.validationCheck();\r\n\r\n if (this.businessForm.valid) {\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n this.saveAsPDFButtonVisibility = true;\r\n this.clearSearchButtonVisibility = true;\r\n\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.requestData = this.prepareRequestData();\r\n this.isProspectHitPerformed = false;\r\n\r\n this.setActiveResultTab();\r\n\r\n // Land Registry\r\n this.landRegistry(requestObj);\r\n\r\n // Telisign Check\r\n this.telisignCheck(requestObj);\r\n\r\n // Email Validation\r\n this.emailValidationCheck(requestObj);\r\n\r\n // Load Emailage\r\n this.loadEmailAgeCheck(requestObj);\r\n\r\n //if (this.prospectResultModel.isProspectHitAccess) {\r\n // // Prospect Hit Check\r\n // this.prospectHitCheck(requestObj);\r\n //}\r\n\r\n // Business Open Source Check\r\n this.openSourceBusinessSearch(requestObj);\r\n\r\n // VAT Check\r\n this.vatCheck(requestObj);\r\n\r\n // Business Detail\r\n this.businessDetailSearch(requestObj);\r\n\r\n // Proprietor Search\r\n this.proprietorSearch(requestObj);\r\n\r\n //Counter Fraud Check\r\n this.counterFraudCheck(requestObj);\r\n\r\n // Companies House Search\r\n this.companiesHouse(requestObj);\r\n\r\n // PIPL API\r\n this.GetPIPLData(requestObj);\r\n\r\n // Social Media Check\r\n this.socialMediaSearch(requestObj);\r\n }\r\n );\r\n }\r\n }\r\n\r\n\r\n // public disableExit() {\r\n // if (this.saveAsPDFButtonVisibility == false) {\r\n // this.disableExitEventEmitter.emit(false);\r\n // return false;\r\n // }\r\n\r\n // if (this.emailValidationResultModel?.isLoading || this.emailageResultModel?.isLoading || this.mobileResultModel?.isLoading ||\r\n // this.prospectResultModel?.isProspectHitLoading || this.prospectResultModel?.isProspectProfileLoading || this.opensourceResult?.isLoading || this.vatResult?.isLoading || this.businessResult?.isLoading ||\r\n // this.addressResultModel?.isLoading || this.counterFraudResultModel?.isLoading || this.companiesHouseResultModel?.isLoading || this.piplResultModel?.isLoading) {\r\n // this.disableExitEventEmitter.emit(true);\r\n // return true;\r\n // }\r\n\r\n // this.disableExitEventEmitter.emit(false);\r\n // return false;\r\n // }\r\n\r\n // Social media (PIPL) API call\r\n public GetPIPLData(requestObj: RequestData): void {\r\n this.piplResultModel.isLoading = false;\r\n this.piplResultModel.noRelevantData = false;\r\n this.piplResultModel.searchFail = false;\r\n this.piplResultModel.responseData = null;\r\n this.piplResultModel.noSearchSelect = false;\r\n this.piplResultModel.validation = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.accessData.isSocialMediaAccess) {\r\n if (requestObj.profileData.email || requestObj.profileData.phoneNumber) {\r\n this.piplResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.SearchPIPL(requestObj).subscribe((data) => {\r\n this.piplResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n let response = data.data;\r\n if (response) {\r\n this.piplResultModel.responseData = response;\r\n }\r\n else {\r\n this.piplResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n this.piplResultModel.searchFail = true;\r\n this.piplResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n console.log(error);\r\n })\r\n } else {\r\n this.piplResultModel.validation = true;\r\n }\r\n } else {\r\n this.piplResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n public socialMediaSearch(requestObj: RequestData) {\r\n this.socialMediaResultModel.noSearchSelect = false;\r\n this.socialMediaResultModel.isLoading = false;\r\n this.socialMediaResultModel.noSearchSelect = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (!requestObj.accessData.isSocialMediaAccess) {\r\n this.socialMediaResultModel.noSearchSelect = true;\r\n return;\r\n }\r\n\r\n if (!requestObj.profileData.companyName) {\r\n this.socialMediaResultModel.validation = true;\r\n return;\r\n }\r\n this.socialMediaResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.socialMediaResultModel.socialMediaStatus =\r\n [\r\n { name: \"facebook\", displayname: \"Facebook\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"instagram\", displayname: \"Instagram\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"linkedin\", displayname: \"LinkedIn\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"twitter\", displayname: \"Twitter\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"youtube\", displayname: \"YouTube\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n { name: \"tiktok\", displayname: \"TikTok\", status: \"Searching . . .\", searchloading: true, statusCount: 0 },\r\n ];\r\n\r\n this.socialMediaResultModel.collapseSocialMediaClass = \"show\";\r\n this.socialMediaResultModel.collapseSocialMediaStatus = \"Hide Status\";\r\n this.socialMediaResultModel.collapseSocialMediaIcon = \"fa-chevron-up\";\r\n\r\n this.socialMediaResultModel.socialMediaCategory.forEach((item: string) => {\r\n this.activeSearchDomains.forEach((searchDomain: SearchDomain) => {\r\n let socialMediaIndex = 0;\r\n this.getsocialMediaData(item, searchDomain.UniqueCode, socialMediaIndex, requestObj);\r\n });\r\n });\r\n }\r\n\r\n public getsocialMediaData(socialMediaCategoryItem: string, searchDomain: string, socialMediaIndex: number, requestObj: RequestData) {\r\n this.socialMediaResultModel.socialMediaResults = [];\r\n this.socialMediaResultModel.compareSocialMediaCategory = [];\r\n\r\n this.searchService.BusinessSocialMedia(socialMediaCategoryItem, searchDomain, requestObj)\r\n .subscribe(\r\n data => {\r\n if (data[\"newsitems\"] != null) {\r\n data[\"newsitems\"].forEach((item: Items) => {\r\n item.lexiconcategory = data[\"key\"];\r\n });\r\n this.socialMediaResultModel.socialMediaResults = this.socialMediaResultModel.socialMediaResults.concat(data[\"newsitems\"]);\r\n }\r\n this.socialMediaResultModel.filtersocialMediaStatus = this.socialMediaResultModel.socialMediaStatus.filter(x => x.name == socialMediaCategoryItem)[0];\r\n this.socialMediaResultModel.filtersocialMediaStatus.statusCount++\r\n\r\n if (this.socialMediaResultModel.filtersocialMediaStatus.statusCount == this.activeSearchDomains.length) {\r\n this.socialMediaResultModel.compareSocialMediaCategory.push(socialMediaCategoryItem);\r\n this.socialMediaResultModel.socialMediaSuccessCount++;\r\n this.socialMediaResultModel.filtersocialMediaStatus.status = \"Search completed\";\r\n this.socialMediaResultModel.filtersocialMediaStatus.searchloading = false;\r\n }\r\n if (this.socialMediaResultModel.socialMediaSuccessCount == this.socialMediaResultModel.socialMediaStatus.length) {\r\n this.searchService.updateAudit(requestObj.profileData.searchType, requestObj.profileData.auditKey, 41, this.socialMediaResultModel.compareSocialMediaCategory).subscribe();\r\n }\r\n\r\n if (this.socialMediaResultModel.socialMediaCategory.length == this.socialMediaResultModel.compareSocialMediaCategory.length) {\r\n this.socialMediaResultModel.collapseSocialMediaClass = \"hide\";\r\n this.socialMediaResultModel.collapseSocialMediaStatus = \"Show Status\";\r\n this.socialMediaResultModel.collapseSocialMediaIcon = \"fa-chevron-down\";\r\n\r\n this.socialMediaResultModel.isLoading = false;\r\n if (this.socialMediaResultModel.socialMediaResults.length > 0) {\r\n this.socialMediaResultModel.socialMediaResults = this.getUniqueResults(this.socialMediaResultModel.socialMediaResults, 'link');\r\n }\r\n\r\n this.socialMediaResultModel.SocialMediaResultCount = this.socialMediaResultModel.socialMediaResults.length;\r\n this.socialMediaResultModel.finalSocialMediaResults = this.socialMediaResultModel.socialMediaResults;\r\n\r\n this.socialMediaResultModel.finalSocialMediaResults.sort((a, b) => {\r\n if (a.lexiconcategory < b.lexiconcategory) { return -1; }\r\n return 0;\r\n });\r\n\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n // this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n // this.searchService.refreshtoken(this.refreshtoken)\r\n // .subscribe(\r\n // data => {\r\n // localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n // localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n // localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n // },\r\n // error => {\r\n // if (error.status == 400) {\r\n this.logout();\r\n // }\r\n // });\r\n }\r\n else if (error.status == 502 || error.status == 504) {\r\n socialMediaIndex++;\r\n if (socialMediaIndex < 2) {\r\n this.getsocialMediaData(socialMediaCategoryItem, searchDomain, socialMediaIndex, requestObj);\r\n }\r\n else {\r\n //this.IsSocialMediaValue = true;\r\n }\r\n }\r\n else {\r\n //this.IsSocialMediaValue = true;\r\n }\r\n });\r\n }\r\n\r\n public landRegistry(requestObj: RequestData): void {\r\n this.landRegistryResultModel.isLoading = false;\r\n this.landRegistryResultModel.noRelevantData = false;\r\n this.landRegistryResultModel.noSearchSelect = false;\r\n this.landRegistryResultModel.responseData = null;\r\n this.landRegistryResultModel.searchFail = false;\r\n this.landRegistryResultModel.validation = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (!requestObj.accessData.isLandRegistryAccess) {\r\n this.landRegistryResultModel.noSearchSelect = true;\r\n return;\r\n }\r\n\r\n if (requestObj.profileData.companyNumber) {\r\n this.landRegistryResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.LandRegistryBusinessResult(requestObj).subscribe(data => {\r\n this.landRegistryResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (!data || !data.data || data.data.length == 0) {\r\n this.landRegistryResultModel.noRelevantData = true;\r\n return;\r\n }\r\n\r\n if (data.status == 200)\r\n this.landRegistryResultModel.responseData = data.data;\r\n }, error => {\r\n this.landRegistryResultModel.isLoading = false;\r\n this.landRegistryResultModel.searchFail = true;\r\n this.disableExitEventEmitter.emit(false);\r\n console.log(error);\r\n });\r\n } else {\r\n this.landRegistryResultModel.validation = true;\r\n }\r\n\r\n }\r\n\r\n public setActiveResultTab() {\r\n setTimeout(() => {\r\n // Tab Header\r\n var navLine = $('.nav-link');\r\n $.each(navLine, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n\r\n // Tab Result\r\n var tabPane = $('.tab-pane');\r\n $.each(tabPane, function (index, x) {\r\n if ($(x).hasClass(\"active\")) {\r\n $(x).removeClass(\"active\")\r\n }\r\n })\r\n\r\n // Show first tab as active\r\n $('#business-search-tab').addClass(\"active\");\r\n $('#businessSearch').addClass(\"active\");\r\n }, 2000);\r\n }\r\n\r\n\r\n // Companies House API call\r\n public companiesHouse(requestObj: RequestData): void {\r\n this.companiesHouseResultModel.isLoading = false;\r\n this.companiesHouseResultModel.noRelevantData = false;\r\n this.companiesHouseResultModel.responseData = null;\r\n this.companiesHouseResultModel.searchFail = false;\r\n this.companiesHouseResultModel.noSearchSelect = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.profileData.companyNumber) {\r\n this.companiesHouseResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.GetCompaniesHouse(requestObj).subscribe((data) => {\r\n data[\"data\"][\"completeResponse\"] = JSON.parse(data[\"data\"][\"completeResponse\"]);\r\n this.companiesHouseResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.companiesHouseResultModel.responseData = data[\"data\"];\r\n if (!this.companiesHouseResultModel.responseData || this.companiesHouseResultModel.responseData.length <= 0) {\r\n this.companiesHouseResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n this.companiesHouseResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n if (error.status === 403) {\r\n this.companiesHouseResultModel.searchFail = true;\r\n } else {\r\n this.companiesHouseResultModel.noRelevantData = true;\r\n }\r\n });\r\n } else {\r\n this.companiesHouseResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Counter fraud (Prospect) API call\r\n public counterFraudCheck(requestObj: RequestData): void {\r\n this.counterFraudResultModel.isLoading = false;\r\n this.counterFraudResultModel.noRelevantData = false;\r\n this.counterFraudResultModel.responseData = null;\r\n this.counterFraudResultModel.searchFail = false;\r\n this.counterFraudResultModel.validationMessage = false;\r\n this.counterFraudResultModel.noSearchSelect = false;\r\n this.disableExitEventEmitter.emit(false);\r\n if (requestObj.accessData.isCounterFraudAccess) {\r\n if ((requestObj.profileData.fullName || requestObj.profileData.postalCode || requestObj.profileData.dateOfBirth ||\r\n requestObj.profileData.email || requestObj.profileData.phoneNumber || requestObj.profileData.vRN || requestObj.profileData.companyName)) {\r\n this.counterFraudResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.GetCounterFraudData(requestObj).subscribe((data) => {\r\n this.counterFraudResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.counterFraudResultModel.responseData = JSON.parse(JSON.stringify(data));\r\n if (this.counterFraudResultModel.responseData && this.counterFraudResultModel.responseData.status === 200 && this.counterFraudResultModel.responseData.data.ragStatus) {\r\n this.counterFraudResultModel.noRelevantData = false;\r\n const color = this.counterFraudResultModel.responseData.data.ragStatus;\r\n if (color.toLowerCase() === 'green') {\r\n this.counterFraudResultModel.needleValue = 17;\r\n }\r\n if (color.toLowerCase() === 'amber') {\r\n this.counterFraudResultModel.needleValue = 50;\r\n }\r\n if (color.toLowerCase() === 'red') {\r\n this.counterFraudResultModel.needleValue = 85;\r\n }\r\n } else {\r\n this.counterFraudResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status === 403) {\r\n this.counterFraudResultModel.searchFail = true;\r\n }\r\n this.counterFraudResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n });\r\n }\r\n } else {\r\n this.counterFraudResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n public proprietorSearch(requestObj: RequestData): void {\r\n this.addressResultModel.validation = false;\r\n this.addressResultModel.searchFail = false;\r\n this.addressResultModel.isLoading = false;\r\n this.addressResultModel.responseData = null;\r\n this.addressResultModel.noSearchSelect = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.profileData.fullName && (requestObj.profileData.dateOfBirth || requestObj.profileData.postalCode)) {\r\n this.addressResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.GetPersonSearch(requestObj).subscribe(data => {\r\n this.addressResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.addressResultModel.responseData = data;\r\n }, error => {\r\n console.log(error);\r\n this.addressResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.addressResultModel.searchFail = true;\r\n })\r\n } else {\r\n this.addressResultModel.validation = true;\r\n }\r\n }\r\n\r\n public businessDetailSearch(requestObj: RequestData): void {\r\n // this.businessResult.isLoading = false;\r\n this.businessResult.noRelevantData = false;\r\n this.businessResult.noSearchSelect = false;\r\n this.businessResult.responseData = null;\r\n this.businessResult.searchFail = false;\r\n \r\n this.businessResult.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.BusinessSearch(requestObj).subscribe(data => {\r\n this.businessResult.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n if (data[\"businessTargeterResult\"])\r\n data[\"businessTargeterResult\"] = JSON.parse(data[\"businessTargeterResult\"]);\r\n if (data[\"creditsafeResult\"])\r\n data[\"creditsafeResult\"] = JSON.parse(data[\"creditsafeResult\"]);\r\n if (data[\"businessNonRegisteredProfileResult\"])\r\n data[\"businessNonRegisteredProfileResult\"] = JSON.parse(data[\"businessNonRegisteredProfileResult\"]);\r\n this.businessResult.responseData = data;\r\n\r\n this.businessResult.businessTargeterResult = data[\"businessTargeterResult\"] ? data[\"businessTargeterResult\"] : null;\r\n this.businessResult.creditsafeResult = data[\"creditsafeResult\"] ? data[\"creditsafeResult\"] : null;\r\n this.businessResult.businessNonRegisteredProfileResult = data[\"businessNonRegisteredProfileResult\"] ? data[\"businessNonRegisteredProfileResult\"] : null;\r\n\r\n if (!this.businessResult.responseData.businessNonRegisteredProfileResult && !this.businessResult.responseData.creditsafeResult) {\r\n this.businessResult.noRelevantData = true;\r\n }\r\n\r\n let companyName = \"\";\r\n let companyPostcode = \"\";\r\n let companyNumber = requestObj.profileData.companyNumber;\r\n\r\n if (this.businessResult.responseData?.creditsafeResult?.report?.companyIdentification?.basicInformation?.contactAddress?.postalCode)\r\n companyPostcode = this.businessResult.responseData?.creditsafeResult?.report?.companyIdentification?.basicInformation?.contactAddress?.postalCode;\r\n else if (this.businessResult.responseData?.businessNonRegisteredProfileResult?.identification?.businessLocation?.postcode)\r\n companyPostcode = this.businessResult.responseData?.businessNonRegisteredProfileResult?.identification?.businessLocation?.postcode\r\n\r\n if (this.businessResult.responseData?.creditsafeResult?.report?.companyIdentification?.basicInformation?.registeredCompanyName)\r\n companyName = this.businessResult.responseData?.creditsafeResult?.report?.companyIdentification?.basicInformation?.registeredCompanyName;\r\n else if (this.businessResult.responseData?.businessNonRegisteredProfileResult?.businessName)\r\n companyName = this.businessResult.responseData?.businessNonRegisteredProfileResult?.businessName\r\n\r\n if (!requestObj.profileData.companyNumber && this.businessResult?.responseData?.creditsafeResult?.report?.companySummary?.companyRegistrationNumber)\r\n companyNumber = this.businessResult?.responseData?.creditsafeResult?.report?.companySummary?.companyRegistrationNumber;\r\n\r\n if ((!requestObj.profileData.companyName || !requestObj.profileData.companyPostalCode) &&\r\n (companyName && companyPostcode)) {\r\n this.tempRequestData = _.cloneDeep(requestObj);\r\n this.tempRequestData.profileData.companyName = companyName;\r\n this.tempRequestData.profileData.companyPostalCode = companyPostcode;\r\n\r\n if (companyNumber)\r\n this.tempRequestData.profileData.companyNumber = companyNumber;\r\n\r\n this.openSourceBusinessSearch(this.tempRequestData);\r\n\r\n if (this.prospectResultModel.isProspectHitAccess && !this.isProspectHitPerformed)\r\n this.prospectHitCheck(this.tempRequestData);\r\n }\r\n\r\n if (!requestObj.profileData.companyNumber) {\r\n if (companyName && companyPostcode) {\r\n requestObj.profileData.companyName = companyName;\r\n requestObj.profileData.companyPostalCode = companyPostcode;\r\n }\r\n requestObj.profileData.companyNumber = companyNumber;\r\n this.companiesHouse(requestObj);\r\n this.landRegistry(requestObj);\r\n\r\n if (this.prospectResultModel.isProspectHitAccess && !this.isProspectHitPerformed)\r\n this.prospectHitCheck(requestObj);\r\n }\r\n }, error => {\r\n this.businessResult.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.businessResult.searchFail = true;\r\n console.log(error);\r\n })\r\n }\r\n\r\n public vatCheck(requestObj: RequestData): void {\r\n this.vatResult.isLoading = false;\r\n this.vatResult.noRelevantData = false;\r\n this.vatResult.responseData = null;\r\n this.vatResult.searchFail = false;\r\n this.vatResult.validation = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.profileData.vatNumber) {\r\n this.vatResult.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.VatSearch(requestObj).subscribe(data => {\r\n this.vatResult.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n if (data[\"status\"] == 200) {\r\n data = JSON.parse(data[\"data\"]);\r\n this.vatResult.responseData = data;\r\n } else {\r\n this.vatResult.noRelevantData = true;\r\n }\r\n }, error => {\r\n this.vatResult.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.vatResult.searchFail = true;\r\n console.log(error);\r\n });\r\n } else {\r\n this.vatResult.validation = true;\r\n }\r\n\r\n }\r\n\r\n // Open source check for business search\r\n public openSourceBusinessSearch(requestObj: RequestData): void {\r\n this.opensourceResult.isLoading = false;\r\n this.opensourceResult.responseData = [];\r\n this.opensourceResult.searchFail = false;\r\n this.opensourceResult.noSearchSelect = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.profileData.companyName && requestObj.profileData.companyPostalCode) {\r\n this.opensourceResult.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.activeSearchDomains.forEach(x => {\r\n let index: number = 0;\r\n this.eachOpenSourceSearch(x, requestObj, index);\r\n });\r\n }\r\n }\r\n\r\n // Dependancy method for business open source search method\r\n public eachOpenSourceSearch(domain: SearchDomain, requestObj: RequestData, index: number) {\r\n this.searchService.BusinessOpenSourceSearch(domain.UniqueCode, requestObj).subscribe((data) => {\r\n this.opensourceResult.searchFail = false;\r\n if (data[\"newsitems\"] != null) {\r\n this.opensourceResult.openSourceResultCombine = this.opensourceResult.openSourceResultCombine.concat(data[\"newsitems\"]);\r\n }\r\n this.opensourceResult.openSourceResultCount++;\r\n\r\n if (this.opensourceResult.openSourceResultCount == this.activeSearchDomains.length) {\r\n this.opensourceResult.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n if (this.opensourceResult.openSourceResultCombine.length > 0) {\r\n this.opensourceResult.openSourceResultCombine = this.getUniqueResults(this.opensourceResult.openSourceResultCombine, 'link');\r\n }\r\n this.opensourceResult.responseData = this.opensourceResult.openSourceResultCombine;\r\n }\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status == 401 && error.headers.has('Token-Expired')) {\r\n this.refreshtoken.token = localStorage.getItem(\"access_token\");\r\n this.searchService.refreshtoken(this.refreshtoken)\r\n .subscribe(\r\n data => {\r\n localStorage.setItem(\"access_token\", data[\"access_token\"]);\r\n localStorage.setItem(\"expires_in\", Shared.getExpiryDate(Shared.getAccessTokenExpiryDateTime(data[\"access_token\"]).toUTCString()));\r\n localStorage.setItem(\"token_type\", data[\"token_type\"]);\r\n this.openSourceBusinessSearch(requestObj);\r\n },\r\n error => {\r\n if (error.status == 400) {\r\n this.appComponent.logout();\r\n }\r\n });\r\n }\r\n else if (error.status == 502 || error.status == 504) {\r\n index++;\r\n if (index < 2) {\r\n this.eachOpenSourceSearch(domain, requestObj, index);\r\n }\r\n else {\r\n this.opensourceResult.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.opensourceResult.searchFail = true;\r\n }\r\n }\r\n else {\r\n this.opensourceResult.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.opensourceResult.searchFail = true;\r\n }\r\n });\r\n }\r\n\r\n // Getting unique results from scraper\r\n public getUniqueResults(arr, link) {\r\n const unique = arr\r\n .map(e => e[link])\r\n // store the keys of the unique objects\r\n .map((e, i, final) => final.indexOf(e) === i && i)\r\n // eliminate the dead keys & store unique objects\r\n .filter(e => arr[e]).map(e => arr[e]);\r\n return unique;\r\n }\r\n\r\n // Check about the access of Prospect hit & Access API\r\n public CheckProspectHitAndProfileAccess() {\r\n this.prospectResultModel.isProspectHitAccess = false;\r\n this.prospectResultModel.isProspectProfileAccess = false;\r\n this.searchService.CheckProsectHitAndProfileAccessClient().subscribe(data => {\r\n this.prospectResultModel.isProspectHitAccess = data['isProspectHitEnabled'];\r\n this.prospectResultModel.isProspectProfileAccess = data['isProspectProfileEnabled'];\r\n });\r\n }\r\n\r\n // Prospect profile request from prospect result component\r\n public prospectProfileRequest() {\r\n var requestObj: RequestData = this.prepareRequestData();\r\n this.prospectProfileCheck(requestObj);\r\n }\r\n\r\n // Prospect profile check API call\r\n public prospectProfileCheck(requestObj: RequestData): void {\r\n if (!this.prospectResultModel.prospectProfileButtonDisable) {\r\n this.confirmationService.confirm({\r\n key: \"ProspectProfileRequest\",\r\n message: 'In the event of any green tick(s) below, full Prospect detail can be requested and this will be provided to the requestor via email within 2 working days.',\r\n header: 'Confirmation',\r\n icon: 'pi pi-check',\r\n accept: () => {\r\n if (this.prospectResultModel.prospectHitResponseData) {\r\n this.prospectResultModel.isProspectProfileLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.searchService.GetProspectProfileData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.prospectResultModel.prospectProfileResponseData = data;\r\n this.prospectResultModel.prospectProfileButtonText = this.prospectProfileButtonText_Requested;\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n }, (error) => {\r\n console.log(error);\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.prospectResultModel.prospectProfileButtonDisable = true;\r\n });\r\n }\r\n },\r\n reject: () => {\r\n }\r\n });\r\n }\r\n\r\n }\r\n\r\n // Prospect hit check API call\r\n public prospectHitCheck(requestObj: RequestData): void {\r\n this.prospectResultModel.noSearchSelect = false;\r\n if (requestObj.accessData.isCounterFraudAccess) {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.prospectResultModel.validation = false;\r\n this.prospectResultModel.searchFail = false;\r\n this.prospectResultModel.prospectHitResponseData = null;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.prospectResultModel.prospectProfileButtonDisable = false;\r\n this.prospectResultModel.prospectProfileButtonText = this.prospectProfileButtonText_RequestProfile;\r\n\r\n if ((requestObj.profileData.fullName && requestObj.profileData.dateOfBirth) ||\r\n (requestObj.profileData.postalCode && requestObj.profileData.addressLine1) ||\r\n requestObj.profileData.phoneNumber || requestObj.profileData.email || requestObj.profileData.vRN ||\r\n (requestObj.profileData.companyNumber && requestObj.profileData.companyName)) {\r\n this.prospectResultModel.profileData = requestObj.profileData;\r\n this.prospectResultModel.isProspectHitLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.isProspectHitPerformed = true;\r\n this.searchService.GetProspectHitData(requestObj).subscribe((data) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.prospectResultModel.prospectHitResponseData = data;\r\n // this.prospectResultModel.prospectProfileButtonDisable = this.prospectResultModel.prospectHitResponseData.hits.filter(x => (x.previousHit == true && x.i2Hit == true) || x.previousHit == true).length > 0 ? false : true;\r\n this.prospectResultModel.prospectProfileButtonDisable = \r\n !this.prospectResultModel.prospectHitResponseData.hits.some(\r\n x => x.previousHit || (x.previousHit && x.i2Hit) || x.i2Hit\r\n );\r\n }, (error) => {\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.prospectResultModel.searchFail = true;\r\n console.log(error);\r\n });\r\n } else {\r\n this.prospectResultModel.validation = true;\r\n }\r\n } else {\r\n this.prospectResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n\r\n // Telisign check API call\r\n public telisignCheck(requestObj: RequestData): void {\r\n this.mobileResultModel.isLoading = false;\r\n this.mobileResultModel.responseData = null;\r\n this.mobileResultModel.searchFail = false;\r\n this.mobileResultModel.validationError = false;\r\n this.mobileResultModel.noSearchSelect = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.accessData.isMobileAccess) {\r\n if (requestObj.profileData.phoneNumber) {\r\n this.mobileResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.GetMobileData(requestObj).subscribe((data) => {\r\n this.mobileResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.mobileResultModel.responseData = data;\r\n }, (error) => {\r\n console.log(error);\r\n if (error.status === 403) {\r\n this.mobileResultModel.searchFail = true;\r\n }\r\n this.mobileResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n });\r\n } else {\r\n this.mobileResultModel.validationError = true;\r\n }\r\n } else {\r\n this.mobileResultModel.noSearchSelect = true;\r\n }\r\n\r\n }\r\n\r\n // Email age API call\r\n public emailAgeCheck(requestObj: RequestData, debounceReason: string): void {\r\n this.emailageResultModel.isLoading = false;\r\n this.emailageResultModel.responseData = null;\r\n this.emailageResultModel.searchFail = false;\r\n this.emailageResultModel.noSearchSelect = false;\r\n this.emailageResultModel.validation = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.accessData.isEmailAccess) {\r\n if (requestObj.profileData.email) {\r\n this.emailageResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.EmailAge(requestObj, debounceReason).subscribe((data) => {\r\n this.emailageResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n try {\r\n let completeJson = JSON.parse(data[\"data\"][\"completeResponse\"]);\r\n let rawJson: string = completeJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"];\r\n completeJson[\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"] = JSON.parse(rawJson.trim());\r\n data[\"data\"][\"completeResponse\"] = completeJson;\r\n } catch { }\r\n this.emailageResultModel.responseData = data;\r\n var rawResult = Array.from(this.emailageResultModel.responseData[\"data\"][\"completeResponse\"][\"integration_hub_results\"][this.emailageOrgId + \":emailage\"][\"Emailage\"][\"tps_vendor_raw_response\"][\"query\"][\"results\"]);\r\n this.emailageResultModel.urls = [];\r\n rawResult.forEach(x => {\r\n Array.from(x[\"smlinks\"]).forEach(y => {\r\n this.emailageResultModel.urls.push(y);\r\n });\r\n });\r\n }, (error) => {\r\n console.log(error);\r\n this.emailageResultModel.searchFail = true;\r\n this.emailageResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n });\r\n } else {\r\n this.emailageResultModel.validation = true;\r\n }\r\n } else {\r\n this.emailageResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n public getEmailageOrgId() {\r\n this.searchService.GetEmailageOrdId().subscribe(data => {\r\n this.emailageOrgId = data;\r\n });\r\n }\r\n\r\n // Email validation check API call\r\n public emailValidationCheck(requestObj: RequestData): void {\r\n this.emailValidationResultModel.isLoading = false;\r\n this.emailValidationResultModel.noRelevantData = false;\r\n this.emailValidationResultModel.responseData = null;\r\n this.emailValidationResultModel.searchFail = false;\r\n this.emailValidationResultModel.validation = false;\r\n this.emailValidationResultModel.noSearchSelect = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.accessData.isEmailAccess) {\r\n if (requestObj.profileData.email) {\r\n this.emailValidationResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n this.searchService.EmailValidationCheck(requestObj).subscribe((data) => {\r\n\r\n var debounceReason = data[\"data\"].debounce.reason;\r\n\r\n // Email Age\r\n this.emailAgeCheck(requestObj, debounceReason);\r\n\r\n this.emailValidationResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.emailValidationResultModel.responseData = data[\"data\"];\r\n if (this.emailValidationResultModel?.responseData == null) {\r\n this.emailValidationResultModel.noRelevantData = true;\r\n }\r\n }, (error) => {\r\n\r\n // Email Age\r\n this.emailAgeCheck(requestObj, \"\");\r\n\r\n console.log(error);\r\n this.emailValidationResultModel.isLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n if (error.status === 403) {\r\n this.emailValidationResultModel.searchFail = true;\r\n }\r\n });\r\n } else {\r\n this.emailValidationResultModel.validation = true;\r\n }\r\n } else {\r\n this.emailValidationResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n // Load email age API call\r\n public loadEmailAgeCheck(requestObj: RequestData): void {\r\n this.emailageResultModel.isLoading = false;\r\n this.emailageResultModel.responseData = null;\r\n this.emailageResultModel.searchFail = false;\r\n this.emailageResultModel.noSearchSelect = false;\r\n this.disableExitEventEmitter.emit(false);\r\n\r\n if (requestObj.profileData.email && requestObj.accessData.isEmailAccess) {\r\n this.emailageResultModel.isLoading = true;\r\n this.disableExitEventEmitter.emit(true);\r\n } else {\r\n this.emailageResultModel.noSearchSelect = true;\r\n }\r\n }\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.businessForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n public onMobileChange(): void {\r\n this.businessForm.get('mobile').clearValidators();\r\n this.businessForm.get('mobile').setValidators(this.validation['mobile']);\r\n this.businessForm.get('mobile').updateValueAndValidity();\r\n }\r\n\r\n public onEmailChange(): void {\r\n this.businessForm.get('email').clearValidators();\r\n this.businessForm.get('email').setValidators(this.validation['email']);\r\n this.businessForm.get('email').updateValueAndValidity();\r\n }\r\n\r\n public onCompanyNumberChange(): void {\r\n this.businessForm.get('companyNumber').clearValidators();\r\n this.businessForm.get('companyNumber').setValidators(this.validation['companyNumber']);\r\n this.businessForm.get('companyNumber').updateValueAndValidity();\r\n this.validationCheck();\r\n }\r\n\r\n public onCompanyNameChange(): void {\r\n this.validationCheck();\r\n }\r\n\r\n public onCompanyPostcodeChange(): void {\r\n this.businessForm.get('businessPostcode').clearValidators();\r\n this.businessForm.get('businessPostcode').setValidators(this.validation['businessPostcode']);\r\n this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n //this.validationCheck();\r\n }\r\n\r\n public resetResultObjects(): void {\r\n this.emailageResultModel = new EmailageCheckResultModel();\r\n this.emailValidationResultModel = new EmailCheckResultModel();\r\n this.mobileResultModel = new MobileResultModel();\r\n this.opensourceResult = new BusinessOpenSourceResultModel();\r\n this.vatResult = new VATResultModel();\r\n this.businessResult = new BusinessResultModel();\r\n this.socialMediaResultModel = new BusinessSocialMediaResultModel();\r\n\r\n this.prospectResultModel.isProspectHitLoading = false;\r\n this.prospectResultModel.isProspectProfileLoading = false;\r\n this.disableExitEventEmitter.emit(false);\r\n this.prospectResultModel.validation = false;\r\n this.prospectResultModel.searchFail = false;\r\n this.prospectResultModel.prospectHitResponseData = null;\r\n this.prospectResultModel.prospectProfileResponseData = null;\r\n this.prospectResultModel.prospectProfileButtonDisable = false;\r\n this.prospectResultModel.prospectProfileButtonText = \"\";\r\n }\r\n\r\n // TODO: this validation need to done through custom validation\r\n public validationCheck() {\r\n\r\n let companyNumber = this.businessForm.get('companyNumber').value;\r\n let companyName = this.businessForm.get('businessName').value;\r\n //let companyPostcode = this.businessForm.get('businessPostcode').value;\r\n\r\n if (companyNumber && companyName) {\r\n this.businessForm.get('companyNumber').clearValidators();\r\n this.businessForm.get('companyNumber').setValidators([this.validation['companyNumber']]);\r\n this.businessForm.get('companyNumber').updateValueAndValidity();\r\n\r\n //this.businessForm.get('businessPostcode').clearValidators();\r\n //this.businessForm.get('businessPostcode').setValidators(this.validation['businessPostcode']);\r\n //this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n return;\r\n }\r\n\r\n if (companyNumber) {\r\n this.businessForm.get('companyNumber').clearValidators();\r\n this.businessForm.get('companyNumber').setValidators([this.validation['companyNumber'], this.validation['required']]);\r\n this.businessForm.get('companyNumber').updateValueAndValidity();\r\n\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n //this.businessForm.get('businessPostcode').clearValidators();\r\n //this.businessForm.get('businessPostcode').setValidators(this.validation['businessPostcode']);\r\n //this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n\r\n } else if (companyName) {\r\n\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').setValidators(this.validation['required']);\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n //this.businessForm.get('businessPostcode').clearValidators();\r\n //this.businessForm.get('businessPostcode').setValidators([this.validation['required'], this.validation['businessPostcode']]);\r\n //this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n\r\n this.businessForm.get('companyNumber').clearValidators();\r\n this.businessForm.get('companyNumber').updateValueAndValidity();\r\n if (companyNumber) {\r\n this.businessForm.get('companyNumber').setValidators([this.validation['companyNumber']]);\r\n this.businessForm.get('companyNumber').updateValueAndValidity();\r\n }\r\n\r\n } else if (!companyNumber && !companyName) {\r\n\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').setValidators(this.validation['required']);\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n this.businessForm.get('companyNumber').clearValidators();\r\n this.businessForm.get('companyNumber').setValidators(this.validation['required']);\r\n this.businessForm.get('companyNumber').updateValueAndValidity();\r\n\r\n //this.businessForm.get('businessPostcode').clearValidators();\r\n //this.businessForm.get('businessPostcode').setValidators(this.validation['required']);\r\n //this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n\r\n } else {\r\n\r\n this.businessForm.get('businessName').clearValidators();\r\n this.businessForm.get('businessName').updateValueAndValidity();\r\n\r\n this.businessForm.get('companyNumber').clearValidators();\r\n this.businessForm.get('companyNumber').updateValueAndValidity();\r\n\r\n //this.businessForm.get('businessPostcode').clearValidators();\r\n //this.businessForm.get('businessPostcode').updateValueAndValidity();\r\n\r\n }\r\n\r\n }\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.businessForm.get('audit').value;\r\n profileData.referenceNumber = this.businessForm.get('reference').value;\r\n profileData.companyNumber = this.businessForm.get('companyNumber').value;\r\n profileData.companyName = this.businessForm.get('businessName').value;\r\n profileData.companyPostalCode = this.businessForm.get('businessPostcode').value;\r\n profileData.vatNumber = this.businessForm.get('vatNumber').value;\r\n profileData.email = this.businessForm.get('email').value;\r\n profileData.phoneNumber = this.businessForm.get('mobile').value;\r\n\r\n if (this.businessForm.get('mobile').value) {\r\n profileData.phoneNumber = this.businessForm.get('mobile').value;\r\n const phoneNumber = parsePhoneNumber(profileData.phoneNumber, 'GB');\r\n if (phoneNumber.isValid() === true && isPossiblePhoneNumber(profileData.phoneNumber, 'GB') === true\r\n && isValidPhoneNumber(profileData.phoneNumber, 'GB') && validatePhoneNumberLength(profileData.phoneNumber, 'GB') === undefined) {\r\n profileData.phoneNumber = phoneNumber.formatInternational();\r\n }\r\n }\r\n\r\n profileData.fullName = this.businessForm.get('name').value;\r\n profileData.dateOfBirth = this.businessForm.get('dob').value;\r\n profileData.postalCode = this.businessForm.get('postcode').value;\r\n\r\n if (this.businessForm.get('name').value) {\r\n let searchtextarray = this.businessForm.get('name').value.split(\" \");\r\n profileData.firstName = searchtextarray[0];\r\n profileData.lastName = searchtextarray.length > 1 ? searchtextarray[searchtextarray.length - 1] : searchtextarray[1];\r\n profileData.midleName = searchtextarray.length > 2 ? searchtextarray[1] : null;\r\n } else {\r\n profileData.firstName = null;\r\n profileData.lastName = null;\r\n profileData.midleName = null;\r\n }\r\n\r\n profileData.searchType = SearchType.Business.toString();\r\n profileData.searchDate = Shared.getCurrentDate();\r\n profileData.searchTime = Shared.getCurrentTime();\r\n profileData.searchUsername = this.loggedInUsername;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n requestObj.accessData = this.accessData;\r\n return requestObj;\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.businessForm.controls) {\r\n this.businessForm.get(control).clearValidators();\r\n this.businessForm.get(control).setValidators(this.validation[control]);\r\n this.businessForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public businessClearSearch(): void {\r\n for (const control in this.businessForm.controls) {\r\n this.businessForm.get(control).clearValidators();\r\n this.businessForm.get(control).updateValueAndValidity();\r\n }\r\n //this.businessForm.reset();\r\n this.businessForm.patchValue({\r\n audit: \"\",\r\n reference: \"\",\r\n companyNumber: \"\",\r\n businessName: \"\",\r\n businessPostcode: \"\",\r\n vatNumber: \"\",\r\n email: \"\",\r\n mobile: \"\",\r\n name: \"\",\r\n postcode: \"\",\r\n dob: \"\"\r\n });\r\n this.showResultTab = false;\r\n this.resetResultObjects();\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n case \"LANDREGISTRY\": {\r\n this.accessData.isLandRegistryAccess = item.defaultValue;\r\n this.accessData.isLandRegistryToggle = item.toggle;\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n public logout() {\r\n localStorage.removeItem(\"access_token\");\r\n localStorage.removeItem(\"expires_in\");\r\n localStorage.removeItem(\"token_type\");\r\n localStorage.removeItem(\"userId\");\r\n localStorage.removeItem(\"subscription\");\r\n this.router.navigate(['/Login']);\r\n }\r\n\r\n}\r\n\r\n","\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Reference is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Subject Name:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Name is required\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Subject Email:\r\n
\r\n
\r\n
\r\n \r\n

\r\n Email is not valid.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Include a DVLA report when Driving Licence uploaded\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Result:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Mail sent successfully

\r\n

Mail sent failed

\r\n
\r\n
\r\n

Mail sent failed

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessagingService } from '../../../services/messaging.service';\r\nimport { SearchService } from '../../../services/search.service';\r\nimport { IdCheckResultModel } from '../../models/EmailResultModel';\r\nimport { Item } from '../../models/Items';\r\nimport { AccessData, ProfileData, RequestData } from '../../models/SearchRequestModel';\r\nimport { SearchType } from '../../models/SearchType';\r\nimport { SubscriptionService } from 'src/app/subscription/service/subscription.service';\r\nimport { AppComponent } from 'src/app/app.component';\r\nimport { ItemAccess } from 'src/app/subscription/Models/LicenceTemplate';\r\nimport { SubscriptionPlan } from 'src/app/subscription/Models/SubscriptionPlan';\r\n\r\n@Component({\r\n selector: 'app-idcheck',\r\n templateUrl: './idcheck.component.html',\r\n styleUrls: ['./idcheck.component.css', '../shared/shared.searchpage.css']\r\n})\r\nexport class IdcheckComponent implements OnInit {\r\n public idCheckForm: FormGroup;\r\n public tenantId: number;\r\n public validation: any = {\r\n 'reference': [Validators.required],\r\n 'name': [Validators.required],\r\n 'email': [Validators.required, Validators.pattern('[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$')]\r\n };\r\n public showResultTab: boolean = false;\r\n public isVisibleToggle: boolean = false;\r\n public accessData: AccessData = new AccessData();\r\n public Plan: SubscriptionPlan = new SubscriptionPlan();\r\n public idCheckResultModel: IdCheckResultModel = new IdCheckResultModel();\r\n\r\n constructor(private elementRef: ElementRef,\r\n private formBuilder: FormBuilder,\r\n private searchService: SearchService,\r\n private router: Router,\r\n private messageService: MessagingService,\r\n private subscriptionService: SubscriptionService,\r\n private app: AppComponent,\r\n private route: ActivatedRoute,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.queryParams\r\n .subscribe(params => {\r\n if (params.Tenant) {\r\n this.tenantId = Number(atob(params.Tenant));\r\n if (isNaN(this.tenantId)) {\r\n this.tenantId = 0;\r\n } else {\r\n this.app.isShowHeader = false;\r\n }\r\n } else {\r\n this.tenantId = 0;\r\n }\r\n });\r\n\r\n let isLoggedIn = localStorage.getItem(\"access_token\") ? true : false;\r\n if (!isLoggedIn)\r\n this.router.navigate(['/Login']);\r\n this.searchService.GetAllowedSearchAvailablityItems().subscribe(data => {\r\n let keys = Array.from(data).map(x => x.key);\r\n if (!keys.find(x => x == \"IDCHECK\")) {\r\n this.router.navigate(['/v3']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n })\r\n\r\n this.idCheckForm = this.formBuilder.group({\r\n audit: [\"\"],\r\n reference: [\"\"],\r\n name: [\"\"],\r\n email: [\"\"],\r\n dvlaReportAccess: [false]\r\n });\r\n this.getSubscriptionDetails(); \r\n this.getLicenceItems();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.elementRef.nativeElement.ownerDocument.body.style.background = 'url(/assets/Images/new/Background/HUT-elem-bg-1.png)';\r\n this.elementRef.nativeElement.ownerDocument.body.style.backgroundAttachment = 'fixed';\r\n }\r\n\r\n getSubscriptionDetails() {\r\n this.subscriptionService.GetSubscribedPlan(this.tenantId).subscribe(data => {\r\n this.Plan = data;\r\n this.loadTemplate(this.Plan.allowedLicenseItems);\r\n });\r\n }\r\n \r\n loadTemplate(licenceItems: ItemAccess[]) {\r\n licenceItems.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\" && item.key.toLowerCase() == \"dvla\") {\r\n this.isVisibleToggle = true;\r\n }\r\n })\r\n }\r\n\r\n public idCheckSearch(): void {\r\n this.addValidators();\r\n this.idCheckForm.updateValueAndValidity();\r\n\r\n if (this.idCheckForm.valid) {\r\n\r\n Promise.resolve(this.getRandomString(10)).then(\r\n (data) => {\r\n this.resetResultObjects();\r\n\r\n this.showResultTab = true;\r\n var requestObj: RequestData = this.prepareRequestData();\r\n\r\n // ID Check\r\n this.idCheck(requestObj)\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n // Id check API call\r\n public idCheck(requestObj: RequestData): void {\r\n this.idCheckResultModel.isLoading = false;\r\n this.idCheckResultModel.access = requestObj.accessData;\r\n this.idCheckResultModel.responseData = null;\r\n this.idCheckResultModel.searchFail = false;\r\n this.idCheckResultModel.validation = false;\r\n\r\n if (requestObj.profileData.fullName && requestObj.profileData.email) {\r\n this.idCheckResultModel.isLoading = true;\r\n setTimeout(() => {\r\n this.searchService.IDCheck(requestObj).subscribe((data) => {\r\n this.idCheckResultModel.isLoading = false;\r\n this.idCheckResultModel.responseData = data;\r\n }, (error) => {\r\n console.log(error);\r\n this.idCheckResultModel.isLoading = false;\r\n this.idCheckResultModel.searchFail = true;\r\n });\r\n }, 30000)\r\n } else {\r\n this.idCheckResultModel.validation = true;\r\n }\r\n }\r\n\r\n\r\n public async getRandomString(length) {\r\n await this.searchService.GetAuditKey().then(\r\n data => {\r\n this.idCheckForm.patchValue({\r\n audit: data\r\n });\r\n });\r\n }\r\n\r\n // Add the validations during the 'search' button click\r\n public addValidators(): void {\r\n for (const control in this.idCheckForm.controls) {\r\n this.idCheckForm.get(control).clearValidators();\r\n this.idCheckForm.get(control).setValidators(this.validation[control]);\r\n this.idCheckForm.get(control).updateValueAndValidity();\r\n }\r\n }\r\n\r\n // Clear the validations during the 'clear' button click\r\n // This'll remove all the error message\r\n public idCheckClearSearch(): void {\r\n for (const control in this.idCheckForm.controls) {\r\n this.idCheckForm.get(control).clearValidators();\r\n this.idCheckForm.get(control).updateValueAndValidity();\r\n }\r\n this.idCheckForm.patchValue({\r\n audit: \"\",\r\n reference: \"\",\r\n name: \"\",\r\n email: \"\"\r\n });\r\n this.idCheckResultModel = null;\r\n this.showResultTab = false;\r\n //this.resetResultObjects();\r\n }\r\n\r\n public getLicenceItems(): void {\r\n this.searchService.AllowedLicence().subscribe(data => {\r\n this.getSecondAccess(data);\r\n this.disableAccessData();\r\n });\r\n }\r\n\r\n public getSecondAccess(Items: Item[]) {\r\n Items.forEach(item => {\r\n if (item.licenceType.toLowerCase() == \"search\") {\r\n switch ((item.key)) {\r\n case \"HUTDB\": {\r\n this.accessData.isHUTDatabaseAccess = item.defaultValue;\r\n this.accessData.isHUTDatabaseToggle = item.toggle;\r\n break;\r\n }\r\n case \"MOBILE\": {\r\n this.accessData.isMobileAccess = item.defaultValue;\r\n this.accessData.isMobileToggle = item.toggle;\r\n break;\r\n }\r\n case \"EMAIL\": {\r\n this.accessData.isEmailAccess = item.defaultValue;\r\n this.accessData.isEmailToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDENTITY\": {\r\n this.accessData.isIdentityAccess = item.defaultValue;\r\n this.accessData.isIdentityToggle = item.toggle;\r\n break;\r\n }\r\n case \"FINANCIAL\": {\r\n this.accessData.isFinancialAccess = item.defaultValue;\r\n this.accessData.isFinancialToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADDRESS\": {\r\n this.accessData.isAddressAccess = item.defaultValue;\r\n this.accessData.isAddressToggle = item.toggle;\r\n break;\r\n }\r\n case \"CRIMINALITY\": {\r\n this.accessData.isCriminalityAccess = item.defaultValue;\r\n this.accessData.isCriminalityToggle = item.toggle;\r\n break;\r\n }\r\n case \"SOCIAL\": {\r\n this.accessData.isSocialMediaAccess = item.defaultValue;\r\n this.accessData.isSocialMediaToggle = item.toggle;\r\n break;\r\n }\r\n case \"COUNTER_FRAUD\": {\r\n this.accessData.isCounterFraudAccess = item.defaultValue;\r\n this.accessData.isCounterFraudToggle = item.toggle;\r\n break;\r\n }\r\n case \"SPORTS\": {\r\n this.accessData.isSportsAccess = item.defaultValue;\r\n this.accessData.isSportsToggle = item.toggle;\r\n break;\r\n }\r\n case \"ADVERT\": {\r\n this.accessData.isAdvertsAccess = item.defaultValue;\r\n this.accessData.isAdvertsToggle = item.toggle;\r\n break;\r\n }\r\n case \"COMPANY_HOUSE\": {\r\n this.accessData.isCompaniesHouseAccess = item.defaultValue;\r\n this.accessData.isCompaniesHouseToggle = item.toggle;\r\n break;\r\n }\r\n case \"AVA\": {\r\n this.accessData.isAVAAccess = item.defaultValue;\r\n this.accessData.isAVAToggle = item.toggle;\r\n break;\r\n }\r\n case \"AML\": {\r\n this.accessData.isAMLAccess = item.defaultValue;\r\n this.accessData.isAMLToggle = item.toggle;\r\n break;\r\n }\r\n case \"CCJ_Detail\": {\r\n this.accessData.isCCJDetailAccess = item.defaultValue;\r\n this.accessData.isCCJDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"Insolvency_Detail\": {\r\n this.accessData.isInsolvencyDetailAccess = item.defaultValue;\r\n this.accessData.isInsolvencyDetailToggle = item.toggle;\r\n break;\r\n }\r\n case \"RTW\": {\r\n this.accessData.isRTWAccess = item.defaultValue;\r\n this.accessData.isRTWToggle = item.toggle;\r\n break;\r\n }\r\n case \"IDCHECK\": {\r\n this.accessData.isIDCheckAccess = item.defaultValue;\r\n this.accessData.isIDCheckToggle = item.toggle;\r\n break;\r\n }\r\n case \"DVLA\": {\r\n this.accessData.isDVLAAccess = item.defaultValue;\r\n this.accessData.isDVLAToggle = item.toggle;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n \r\n public disableAccessData(): void {\r\n this.idCheckForm.patchValue({\r\n dvlaReportAccess: this.accessData.isDVLAAccess\r\n });\r\n\r\n if (!this.accessData.isDVLAToggle) {\r\n this.idCheckForm.get(\"dvlaReportAccess\").disable();\r\n }\r\n }\r\n\r\n\r\n // Prepare the request object for API call\r\n public prepareRequestData(): RequestData {\r\n // Profile object framing\r\n var profileData = new ProfileData();\r\n profileData.auditKey = this.idCheckForm.get('audit').value;\r\n if(this.idCheckForm.get('dvlaReportAccess').value) {\r\n profileData.referenceNumber = this.idCheckForm.get('reference').value + '[DVLA]';\r\n } else {\r\n profileData.referenceNumber = this.idCheckForm.get('reference').value; \r\n }\r\n profileData.email = this.idCheckForm.get('email').value;\r\n profileData.fullName = this.idCheckForm.get('name').value;\r\n if (this.idCheckForm.get('name').value) {\r\n let searchtextarray = this.idCheckForm.get('name').value.split(\" \");\r\n profileData.firstName = searchtextarray[0];\r\n profileData.lastName = searchtextarray.length > 1 ? searchtextarray[searchtextarray.length - 1] : searchtextarray[1];\r\n profileData.midleName = searchtextarray.length > 2 ? searchtextarray[1] : null;\r\n } else {\r\n profileData.firstName = null;\r\n profileData.lastName = null;\r\n profileData.midleName = null;\r\n }\r\n\r\n profileData.searchType = SearchType.IdCheck.toString();\r\n\r\n var accessData = new AccessData();\r\n accessData.isDVLAAccess = this.idCheckForm.get('dvlaReportAccess').value;\r\n\r\n // RequestData object framing\r\n var requestObj = new RequestData();\r\n requestObj.profileData = profileData;\r\n return requestObj;\r\n }\r\n\r\n // Reset the result objects\r\n public resetResultObjects() {\r\n this.idCheckResultModel = new IdCheckResultModel();\r\n }\r\n\r\n public onEmailChange(): void {\r\n this.idCheckForm.get('email').clearValidators();\r\n this.idCheckForm.get('email').setValidators(this.validation['email']);\r\n this.idCheckForm.get('email').updateValueAndValidity();\r\n }\r\n\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { FinancialResponseModel } from '../../models/FinancialModel';\r\nimport { InputAccessData, InputData } from '../../models/InputDataModel';\r\n\r\n@Component({\r\n selector: 'app-financial-check',\r\n templateUrl: './financial-check.component.html',\r\n styleUrls: ['./financial-check.component.css']\r\n})\r\nexport class FinancialCheckComponent implements OnInit {\r\n\r\n @Input() public inputData: InputData = new InputData();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n @Input() public financial: FinancialResponseModel = new FinancialResponseModel();\r\n\r\n // Constant Message\r\n public NoRelevantDataMessageShort = \"No records.\";\r\n public NoSearchSelectShort = \"Not selected.\";\r\n public SearchFail = \"Search failed.\";\r\n public postCodeRequiredMessage: string = \"Postcode is required.\";\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Mortality\r\n
\r\n Status: {{financial?.responseData?.data?.MortalityFlag ?'Red':'Green'}}\r\n
\r\n
{{NoRelevantDataMessageShort}}
\r\n
{{NoSearchSelectShort}}
\r\n
{{SearchFail}}
\r\n
{{postCodeRequiredMessage}}
\r\n
\r\n
\r\n CCJ\r\n
\r\n Status: {{financial?.responseData?.data?.CcjFlag ?'Red':'Green'}}\r\n
\r\n
{{NoRelevantDataMessageShort}}
\r\n
{{NoSearchSelectShort}}
\r\n
{{SearchFail}}
\r\n
{{postCodeRequiredMessage}}
\r\n
\r\n
\r\n Insolvency\r\n
\r\n Status: {{financial?.responseData?.data?.InsolvencyFlag ?'Red':'Green'}}\r\n
\r\n
{{NoRelevantDataMessageShort}}
\r\n
{{NoSearchSelectShort}}
\r\n
{{SearchFail}}
\r\n
{{postCodeRequiredMessage}}
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { BusinessSearchResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/BusinessSearchResultModel';\r\nimport { RequestData } from 'src/app/demo/V3/search-pages/models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-aus-business',\r\n templateUrl: './export-pdf-aus-business.component.html',\r\n styleUrls: ['./export-pdf-aus-business.component.css']\r\n})\r\nexport class ExportPdfAusBusinessComponent implements OnInit {\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() searchType: string;\r\n @Input() public businessResultDataModel: BusinessSearchResultModel = new BusinessSearchResultModel();\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n getLegalNames(legal?: any): string {\r\n let target:any = null;\r\n if(this.searchType == 'SearchByABN'){\r\n target = legal || this.businessResultDataModel?.responseData?.response?.businessEntity202001?.legalName;\r\n if (!target) return '';\r\n } else if(this.searchType == 'SearchByASIC'){\r\n target = legal || this.businessResultDataModel?.responseData?.response?.businessEntity201408?.legalName;\r\n if (!target) return '';\r\n }\r\n \r\n return [\r\n target?.familyName,\r\n target?.givenName,\r\n target?.otherGivenName\r\n ]\r\n .filter(name => name !== null && name !== undefined)\r\n .join(', ');\r\n }\r\n \r\n isArray(value: any): boolean {\r\n return Array.isArray(value);\r\n }\r\n\r\n isObject(value: any): boolean {\r\n return typeof value === 'object' && !Array.isArray(value) && value !== null;\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername :\r\n '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n

Business

\r\n\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

ABN:

\r\n
\r\n

{{ result?.ABN?.identifierValue }}

\r\n
\r\n

Status:

\r\n
\r\n

{{ result?.ABN?.identifierStatus }}

\r\n
\r\n

Organization:

\r\n
\r\n

{{ result?.mainName?.organisationName }}

\r\n
\r\n

Confidenece Score (%):

\r\n
\r\n

{{ result?.mainName?.score }}

\r\n
\r\n

Current Name:

\r\n
\r\n

{{ result?.mainName?.isCurrentIndicator }}

\r\n
\r\n

State:

\r\n
\r\n

{{ result?.mainBusinessPhysicalAddress?.stateCode }}

\r\n
\r\n

Postcode:

\r\n
\r\n

{{ result?.mainBusinessPhysicalAddress?.postcode }}

\r\n
\r\n

Current Address?:

\r\n
\r\n

{{\r\n result?.mainBusinessPhysicalAddress?.isCurrentIndicator }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n

ABN Details

\r\n
\r\n
\r\n
\r\n
\r\n Updated:\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.recordLastUpdatedDate\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Entity Type:\r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.entityType?.entityDescription\r\n }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n ASIC Number:\r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity202001?.ASICNumber}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n ABN\r\n
\r\n
\r\n From\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ abn.identifierValue }}\r\n
\r\n
\r\n {{ (abn.replacedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.ABN.identifierValue\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.ABN.replacedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Entity Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ main?.organisationName }}\r\n
\r\n
\r\n {{ (main?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (main?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.mainName?.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainName?.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainName?.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n {{ getLegalNames(legal) }}\r\n
\r\n
\r\n {{ (legal.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (legal.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ getLegalNames() }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n ABN Status\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ entity.entityStatusCode }}\r\n
\r\n
\r\n {{ (entity.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (entity.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.entityStatus.entityStatusCode\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.entityStatus.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.entityStatus.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Goods & Services Tax (GST)\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {{ (serviceTax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (serviceTax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.goodsAndServicesTax.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.goodsAndServicesTax.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Main Business Location\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ mainAddress.stateCode + '/' + mainAddress.postcode }}\r\n
\r\n
\r\n {{ (mainAddress.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (mainAddress.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.mainBusinessPhysicalAddress.stateCode\r\n + '/' +\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.mainBusinessPhysicalAddress.postcode\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainBusinessPhysicalAddress.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainBusinessPhysicalAddress.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Business Name(s)

\r\n
\r\n
\r\n
\r\n
\r\n Business Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ business.organisationName }}\r\n
\r\n
\r\n {{ (business.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (business.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.businessName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.businessName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.businessName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Trading Name(s)

\r\n
\r\n
\r\n
\r\n
\r\n Trading Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ mainTrading.organisationName }}\r\n
\r\n
\r\n {{ (mainTrading.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (mainTrading.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.mainTradingName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainTradingName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.mainTradingName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n {{ otherTrading.organisationName }}\r\n
\r\n
\r\n {{ (otherTrading.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (otherTrading.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.otherTradingName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.otherTradingName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.otherTradingName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Charity Tax Concession Status

\r\n
\r\n
\r\n
\r\n
\r\n Charity/Fund Type\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ type.charityTypeDescription }}\r\n
\r\n
\r\n {{ (type.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (type.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.charityType.charityTypeDescription\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.charityType.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.charityType.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Tax Concessions\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ tax.endorsementType }}\r\n
\r\n
\r\n {{ (tax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (tax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.taxConcessionCharityEndorsement.endorsementType\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.taxConcessionCharityEndorsement.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.taxConcessionCharityEndorsement.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Public Benevolent Institution (PBI) Employer Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ employer.organisationName }}\r\n
\r\n
\r\n {{ (employer.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (employer.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n

Deductible Gift Recipient Status

\r\n
\r\n
\r\n
\r\n
\r\n Fund,Authority or Institution Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ fund?.dgrFundName?.organisationName }}\r\n
\r\n
\r\n {{ (fund?.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (fund?.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrFund?.dgrFundName?.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrFund?.endorsedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrFund?.endorsedTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Entity Endorsement\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ dgr.entityEndorsement }}\r\n
\r\n
\r\n {{ (dgr.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (dgr.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrEndorsement.entityEndorsement\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrEndorsement.endorsedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.dgrEndorsement.endorsedTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Australian Charities and Not-for-profits Commission(ACNC)

\r\n
\r\n
\r\n
\r\n
\r\n ACNC registration\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ acnc.status }}\r\n
\r\n
\r\n {{ (acnc.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (acnc.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity202001?.ACNCRegistration.status\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.ACNCRegistration.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity202001?.ACNCRegistration.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n

ABN Details

\r\n
\r\n
\r\n
\r\n
\r\n Updated:\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.recordLastUpdatedDate\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Entity Type:\r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.entityType?.entityDescription\r\n }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n ASIC Number:\r\n
\r\n
\r\n {{ businessResultDataModel?.responseData?.response?.businessEntity201408?.ASICNumber}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n ABN\r\n
\r\n
\r\n From\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ abn.identifierValue }}\r\n
\r\n
\r\n {{ (abn.replacedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.ABN.identifierValue\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.ABN.replacedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Entity Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ main?.organisationName }}\r\n
\r\n
\r\n {{ (main?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (main?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.mainName?.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainName?.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainName?.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n {{ getLegalNames(legal) }}\r\n
\r\n
\r\n {{ (legal.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (legal.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ getLegalNames() }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n ABN Status\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ entity?.entityStatusCode }}\r\n
\r\n
\r\n {{ (entity?.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (entity?.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.entityStatus.entityStatusCode\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.entityStatus.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.entityStatus.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Goods & Services Tax (GST)\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {{ (serviceTax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (serviceTax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.goodsAndServicesTax.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.goodsAndServicesTax.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Main Business Location\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ mainAddress.stateCode + '/' + mainAddress.postcode }}\r\n
\r\n
\r\n {{ (mainAddress.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (mainAddress.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.mainBusinessPhysicalAddress?.stateCode\r\n + '/' +\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.mainBusinessPhysicalAddress?.postcode\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainBusinessPhysicalAddress?.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainBusinessPhysicalAddress?.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Business Name(s)

\r\n
\r\n
\r\n
\r\n
\r\n Business Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ business.organisationName }}\r\n
\r\n
\r\n {{ (business.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (business.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.businessName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.businessName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.businessName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Trading Name(s)

\r\n
\r\n
\r\n
\r\n
\r\n Trading Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ mainTrading.organisationName }}\r\n
\r\n
\r\n {{ (mainTrading.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (mainTrading.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.mainTradingName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainTradingName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.mainTradingName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n {{ otherTrading.organisationName }}\r\n
\r\n
\r\n {{ (otherTrading.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (otherTrading.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.otherTradingName.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.otherTradingName.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.otherTradingName.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n

Charity Tax Concession Status

\r\n
\r\n
\r\n
\r\n
\r\n Charity/Fund Type\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ type.charityTypeDescription }}\r\n
\r\n
\r\n {{ (type.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (type.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.charityType.charityTypeDescription\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.charityType.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.charityType.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Tax Concessions\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ tax.endorsementType }}\r\n
\r\n
\r\n {{ (tax.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (tax.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.taxConcessionCharityEndorsement.endorsementType\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.taxConcessionCharityEndorsement.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.taxConcessionCharityEndorsement.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Public Benevolent Institution (PBI) Employer Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ employer.organisationName }}\r\n
\r\n
\r\n {{ (employer.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (employer.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n

Deductible Gift Recipient Status

\r\n
\r\n
\r\n
\r\n
\r\n Fund,Authority or Institution Name\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ fund?.dgrFundName?.organisationName }}\r\n
\r\n
\r\n {{ (fund?.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (fund?.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrFund?.dgrFundName?.organisationName\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrFund?.endorsedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrFund?.endorsedTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n Entity Endorsement\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ dgr.entityEndorsement }}\r\n
\r\n
\r\n {{ (dgr.endorsedFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (dgr.endorsedTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrEndorsement.entityEndorsement\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrEndorsement.endorsedFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.dgrEndorsement.endorsedTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Australian Charities and Not-for-profits Commission(ACNC)

\r\n
\r\n
\r\n
\r\n
\r\n ACNC registration\r\n
\r\n
\r\n From\r\n
\r\n
\r\n To\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ acnc.status }}\r\n
\r\n
\r\n {{ (acnc.effectiveFrom | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{ (acnc.effectiveTo | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {{\r\n businessResultDataModel?.responseData?.response?.businessEntity201408?.ACNCRegistration.status\r\n }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.ACNCRegistration.effectiveFrom\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n {{\r\n (businessResultDataModel?.responseData?.response?.businessEntity201408?.ACNCRegistration.effectiveTo\r\n | date: 'dd-MM-yyyy') }}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { CounterFraudResponse } from '../../models/CounterFraudModel';\r\nimport { EmailCheckResponse } from '../../models/EmailCheckModel';\r\nimport { FinancialResponseModel } from '../../models/FinancialModel';\r\nimport { InputAccessData, InputData } from '../../models/InputDataModel';\r\nimport { MobileResponse } from '../../models/MobileResponseModel';\r\n\r\n@Component({\r\n selector: 'app-result-top-card',\r\n templateUrl: './result-top-card.component.html',\r\n styleUrls: ['./result-top-card.component.css']\r\n})\r\nexport class ResultTopCardComponent implements OnInit {\r\n\r\n @Input() public inputData: InputData = new InputData();\r\n @Input() public accessData: InputAccessData = new InputAccessData();\r\n @Input() public mobile: MobileResponse = new MobileResponse();\r\n @Input() public counterFraud: CounterFraudResponse = new CounterFraudResponse();\r\n @Input() public email: EmailCheckResponse = new EmailCheckResponse();\r\n @Input() public financial: FinancialResponseModel = new FinancialResponseModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MotHistoryResultModel } from '../../../../../../models/DVLAResultModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-mothistory-result-motor',\r\n templateUrl: './pdf-mothistory-result-motor.component.html',\r\n styleUrls: ['./pdf-mothistory-result-motor.component.css']\r\n})\r\nexport class PdfMothistoryResultMotorComponent implements OnInit {\r\n\r\n @Input() public motHistory: MotHistoryResultModel = new MotHistoryResultModel();\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Registration{{motHistory?.responseData?.registration}}
Make{{motHistory?.responseData?.make}}
Model{{motHistory?.responseData?.model}}
First Used{{motHistory?.responseData?.firstUsedDate}}
Fuel{{motHistory?.responseData?.fuelType}}
Colour{{motHistory?.responseData?.primaryColour}}
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CompletedResultExpiresOdometer ValueOdometer UnitTest Number
{{motHistoryTemp?.completedDate}}{{motHistoryTemp?.testResult}}{{motHistoryTemp?.expiryDate}}{{motHistoryTemp?.odometerValue}}{{motHistoryTemp?.odometerUnit}}{{motHistoryTemp?.motTestNumber}}
\r\n
Comments
\r\n
No record found.
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
TextType
{{comment?.text}}{{comment?.type}}
\r\n
\r\n\r\n \r\n
\r\n","export class AddressResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public validation: boolean;\r\n public searchFail: boolean;\r\n}\r\n\r\nexport class T2AResultModel {\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: any;\r\n public validation: boolean;\r\n public searchFail: boolean;\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { MobileResultModel } from '../../../../../models/MobileResultModel';\r\n\r\n@Component({\r\n selector: 'app-opensource-result-business',\r\n templateUrl: './opensource-result-business.component.html',\r\n styleUrls: ['./opensource-result-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class OpensourceResultBusinessComponent implements OnInit {\r\n\r\n @Input() opensource: MobileResultModel = new MobileResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
0\">\r\n
\r\n
\r\n
\r\n
\r\n
{{result.title}}
\r\n

\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Source: {{result.source}}

\r\n
\r\n
\r\n

Published Date: {{result.pubDate}}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n","import { AVAResultData } from \"../../home/models/AVAModel/AVAResultData\";\r\n\r\nexport class AvaResponseModel {\r\n public searchFail: boolean;\r\n public noRelevantData: boolean;\r\n public errorMessage: string;\r\n public responseData: AVAResultData;\r\n\r\n constructor() { }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../services/messaging.service';\r\nimport { MobileResultModel } from '../../../../models/MobileResultModel';\r\n\r\n@Component({\r\n selector: 'app-opensource-result-mobile',\r\n templateUrl: './opensource-result-mobile.component.html',\r\n styleUrls: ['./opensource-result-mobile.component.css', '../../../shared/shared.searchpage.css']\r\n})\r\nexport class OpensourceResultMobileComponent implements OnInit {\r\n\r\n @Input() opensource: MobileResultModel = new MobileResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.NoSearchSelect}}
\r\n
{{messageService.MobileRequiredMessage}}
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
{{result.title}}
\r\n

\r\n

\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n

Source: {{result.source}}

\r\n
\r\n
\r\n

Published Date: {{result.pubDate}}

\r\n
\r\n
\r\n
\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { CounterFraudResultModel } from '../../../../../models/CounterFraudResultModel';\r\n\r\n@Component({\r\n selector: 'app-prospect-dashboard-business',\r\n templateUrl: './prospect-dashboard-business.component.html',\r\n styleUrls: ['./prospect-dashboard-business.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class ProspectDashboardBusinessComponent implements OnInit {\r\n\r\n @Input() counterFraud: CounterFraudResultModel = new CounterFraudResultModel();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Business\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageSercice.OtherFieldRequired}}
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
{{messageService.SearchFail}}
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { AMLResultModel } from 'src/app/demo/V3/search-pages/models/AMLResultModel';\r\nimport { BusinessSearchResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/BusinessSearchResultModel';\r\nimport { EnhancedRecordPlusResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/EnhancedRecordPlusResultModel';\r\nimport { PersonHistoryResultModel } from 'src/app/demo/V3/search-pages/models/AustraliaResultModel/PersonHistoryResultModel';\r\nimport { EmailageCheckResultModel, EmailCheckResultModel } from 'src/app/demo/V3/search-pages/models/EmailResultModel';\r\nimport { MobileResultModel, OpenSourceResultModel } from 'src/app/demo/V3/search-pages/models/MobileResultModel';\r\nimport { PIPLResultModel } from 'src/app/demo/V3/search-pages/models/PIPLResultModel';\r\nimport { RequestData } from 'src/app/demo/V3/search-pages/models/SearchRequestModel';\r\nimport { SocialMediaResultModel } from 'src/app/demo/V3/search-pages/models/SocialMediaResultModel';\r\n\r\n@Component({\r\n selector: 'app-export-pdf-personal-au',\r\n templateUrl: './export-pdf-personal-au.component.html',\r\n styleUrls: ['./export-pdf-personal-au.component.css']\r\n})\r\nexport class ExportPdfPersonalAuComponent implements OnInit {\r\n @Input() public requestData: RequestData = new RequestData();\r\n @Input() public searchType: string;\r\n @Input() public amlResultModel: AMLResultModel = new AMLResultModel();\r\n @Input() public personHistoryResultModel: PersonHistoryResultModel = new PersonHistoryResultModel();\r\n @Input() public enhancedRecordPlanResultModel: EnhancedRecordPlusResultModel = new EnhancedRecordPlusResultModel();\r\n @Input() public emailValidationResultModel: EmailCheckResultModel = new EmailCheckResultModel()\r\n @Input() public emailageResultModel: EmailageCheckResultModel = new EmailageCheckResultModel();\r\n @Input() public mobileResultModel: MobileResultModel = new MobileResultModel();\r\n @Input() public opensourceResult: OpenSourceResultModel = new OpenSourceResultModel();\r\n @Input() public piplResultModel: PIPLResultModel = new PIPLResultModel();\r\n @Input() public socialMediaResultModel: SocialMediaResultModel = new SocialMediaResultModel();\r\n @Input() public businessSearchResultData: BusinessSearchResultModel = new BusinessSearchResultModel();\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n HeadsUp Username: {{requestData.profileData.searchUsername ? requestData.profileData.searchUsername :\r\n '-'}}\r\n
\r\n Search Date & Time: {{requestData.profileData.searchDate}} - {{requestData.profileData.searchTime}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Person History

\r\n \r\n
\r\n
\r\n
\r\n

Court Records (CDA)

\r\n \r\n
\r\n\r\n
\r\n
\r\n

Business

\r\n \r\n
\r\n
\r\n
\r\n

AML

\r\n \r\n
\r\n
\r\n
\r\n

Email

\r\n \r\n
\r\n \r\n
\r\n
\r\n

Mobile

\r\n \r\n
\r\n
\r\n
\r\n

Opensource

\r\n \r\n
\r\n
\r\n

Social Media

\r\n \r\n
\r\n \r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { CriminalityResultModel } from '../../../../../../search-pages/models/CriminalityResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-criminality-result-personal',\r\n templateUrl: './criminality-result.component.html',\r\n styleUrls: ['./criminality-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class CriminalityResultPersonalComponent implements OnInit {\r\n\r\n @Input() criminality: CriminalityResultModel = new CriminalityResultModel();\r\n @Output() criminalityEventEmitter: EventEmitter = new EventEmitter();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public ResultTableDisplay() {\r\n if (this.criminality.collapseResultClass == \"show\") {\r\n this.criminality.collapseResultClass = \"hide\";\r\n this.criminality.collapseResultStatus = \"Show Status\";\r\n this.criminality.collapseResultIcon = \"fa-chevron-down\";\r\n $('#collapseOne').collapse(this.criminality.collapseResultClass);\r\n }\r\n else {\r\n this.criminality.collapseResultClass = \"show\";\r\n $('#collapseOne').collapse(this.criminality.collapseResultClass);\r\n this.criminality.collapseResultStatus = \"Hide Status\";\r\n this.criminality.collapseResultIcon = \"fa-chevron-up\";\r\n }\r\n }\r\n\r\n public AllResults() {\r\n this.criminalityEventEmitter.emit(\"allResult\");\r\n }\r\n\r\n public RelevantResults() {\r\n this.criminalityEventEmitter.emit(\"relevantResult\");\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n {{criminality.collapseResultStatus}} \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CategoryStatus
{{lexicon.name}}\r\n {{lexicon.status}}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
{{messageService.NoSearchSelect}}
\r\n
\r\n
\r\n

\r\n Search returned {{criminality.resultCount}} relevant results.\r\n Show all results\r\n Show relevant results\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n

\r\n
\r\n
\r\n

Source: {{result.source}}

\r\n
\r\n
\r\n

Published Date: {{result.pubDate}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","export class AmlResponseModel {\r\n public amlResult: any;\r\n public searchFail: boolean;\r\n\r\n constructor() { }\r\n}\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { AVAResultModel } from 'src/app/demo/V3/search-pages/models/AVAResultModel';\r\nimport { ProspectResultModel } from 'src/app/demo/V3/search-pages/models/CounterFraudResultModel';\r\nimport { DVLAResultModel, MotHistoryResultModel } from 'src/app/demo/V3/search-pages/models/DVLAResultModel';\r\nimport { ExperianResultModel } from 'src/app/demo/V3/search-pages/models/ExperianResultModel';\r\nimport { RequestData } from 'src/app/demo/V3/search-pages/models/SearchRequestModel';\r\nimport { MessagingService } from 'src/app/demo/V3/services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-uk-motor-result',\r\n templateUrl: './uk-motor-result.component.html',\r\n styleUrls: ['./uk-motor-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class UkMotorResultComponent implements OnInit {\r\n\r\n @Input() public ava: AVAResultModel = new AVAResultModel();\r\n @Input() public dvla: DVLAResultModel = new DVLAResultModel();\r\n @Input() public prospect: ProspectResultModel = new ProspectResultModel();\r\n @Input() public experian: ExperianResultModel = new ExperianResultModel();\r\n @Input() public motHistory: MotHistoryResultModel = new MotHistoryResultModel();\r\n @Input() public isExperianTabShow: boolean = false;\r\n @Input() requestData: RequestData = new RequestData();\r\n @Output() prospectProfileRequestEventEmitter: EventEmitter = new EventEmitter();\r\n \r\n constructor(public messagingService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public prospectProfileRequest() {\r\n this.prospectProfileRequestEventEmitter.emit(\"\");\r\n }\r\n\r\n}\r\n","
\r\n{{messagingService.VrnRequiredMessage}}
\r\n\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n","export class ResendLink {\r\n constructor(\r\n public email: string \r\n ) { }\r\n}\r\n","export class ProfileData {\r\n referenceNumber: string;\r\n phoneNumber: string;\r\n fullName: string;\r\n firstName: string;\r\n midleName: string;\r\n lastName: string;\r\n addressLine1: string;\r\n addressLine2: string;\r\n streetAddress?: string;\r\n suburb?: string;\r\n city: string;\r\n postalCode: string;\r\n abn: string;\r\n asic: string;\r\n state: string;\r\n country: string;\r\n dateOfBirth: string;\r\n companyName: string;\r\n companyNumber: string;\r\n companyPostalCode: string;\r\n vatNumber: string;\r\n vRN: string;\r\n email: string;\r\n associatedNames: any[] = [];\r\n category: string;\r\n registerNumber: string;\r\n auditKey: string;\r\n searchType: string;\r\n searchDate: string;\r\n searchTime: string;\r\n searchUsername: string;\r\n departmentId: number;\r\n drivingLicenceNumber: number;\r\n}\r\n\r\nexport class AccessData {\r\n isHUTDatabaseAccess: boolean = false;\r\n isHUTDatabaseToggle: boolean = false;\r\n isMobileAccess: boolean = false;\r\n isMobileToggle: boolean = false;\r\n isEmailAccess: boolean = false;\r\n isEmailToggle: boolean = false;\r\n isIdentityAccess: boolean = false;\r\n isIdentityToggle: boolean = false;\r\n isFinancialAccess: boolean = false;\r\n isFinancialToggle: boolean = false;\r\n isAddressAccess: boolean = false;\r\n isAddressToggle: boolean = false;\r\n isCriminalityAccess: boolean = false;\r\n isCriminalityToggle: boolean = false;\r\n isSocialMediaAccess: boolean = false;\r\n isSocialMediaToggle: boolean = false;\r\n isCounterFraudAccess: boolean = false;\r\n isCounterFraudToggle: boolean = false;\r\n isSportsAccess: boolean = false;\r\n isSportsToggle: boolean = false;\r\n isAdvertsAccess: boolean = false;\r\n isAdvertsToggle: boolean = false;\r\n isCompaniesHouseAccess: boolean = false;\r\n isCompaniesHouseToggle: boolean = false;\r\n isAVAAccess: boolean = false;\r\n isAVAToggle: boolean = false;\r\n isAMLAccess: boolean = false;\r\n isAMLToggle: boolean = false;\r\n isCCJDetailAccess: boolean = false;\r\n isCCJDetailToggle: boolean = false;\r\n isInsolvencyDetailAccess: boolean = false;\r\n isInsolvencyDetailToggle: boolean = false;\r\n isRTWAccess: boolean = false;\r\n isRTWToggle: boolean = false;\r\n isRTWNoFormsAccess: boolean = false;\r\n isIDCheckAccess: boolean = false;\r\n isIDCheckToggle: boolean = false;\r\n isLandRegistryAccess: boolean = false;\r\n isLandRegistryToggle: boolean = false;\r\n isDVLAAccess: boolean = false;\r\n isDVLAToggle: boolean = false;\r\n isQuickSearchEnabled: boolean = false;\r\n isDriverLicenceAccess: boolean = false;\r\n isDriverLicenceToggle: boolean = false;\r\n}\r\n\r\nexport class RequestData {\r\n profileData: ProfileData = new ProfileData();\r\n accessData: AccessData = new AccessData();\r\n}\r\n\r\n// export class AustraliaRequestData {\r\n// profileData: AustraliaProfileData = new AustraliaProfileData();\r\n// }\r\n\r\n// export class AustraliaProfileData {\r\n// auditKey: string;\r\n// referenceNumber: string;\r\n// fullName: string;\r\n// firstName: string;\r\n// midleName: string;\r\n// lastName: string;\r\n// dateOfBirth: string;\r\n// phoneNumber: string;\r\n// email: string;\r\n// streetAddress: string;\r\n// suburb: string;\r\n// state: string;\r\n// postcode: string;\r\n\r\n// searchType: string;\r\n// searchDate: string;\r\n// searchTime: string;\r\n// searchUsername: string;\r\n// }\r\n","export class NewDomain {\r\n constructor(\r\n public domainName: string,\r\n public isActive: boolean,\r\n public id:number) { }\r\n}\r\n\r\nexport class DomainDetails\r\n{\r\n public id:number;\r\n public domainName:string;\r\n public isActive: boolean;\r\n}\r\n","export class ResendLinkModel {\r\n constructor(\r\n public email: string\r\n ) { }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TenantRegion } from '../../models/TenantRegionResposne';\r\nimport { SearchService } from '../../../services/search.service';\r\n\r\n@Component({\r\n selector: 'app-personal',\r\n templateUrl: './personal.component.html',\r\n styleUrls: ['./personal.component.css']\r\n})\r\nexport class PersonalComponent implements OnInit {\r\n\r\n public regionAccess: TenantRegion = new TenantRegion();\r\n public isExitDisabled: boolean = false;\r\n \r\n constructor(private searchService: SearchService) { }\r\n\r\n ngOnInit(): void {\r\n this.getTenantRegion();\r\n }\r\n\r\n public receiveDisableExit($event: boolean) {\r\n this.isExitDisabled = $event\r\n }\r\n\r\n public getTenantRegion() {\r\n this.searchService.GetTenantRegion().subscribe(data => {\r\n this.regionAccess = data;\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n}\r\n","\r\n\r\n \r\n\r\n\r\n \r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { ProspectResultModel } from '../../../../../../search-pages/models/CounterFraudResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-prospect-result-personal',\r\n templateUrl: './prospect-result.component.html',\r\n styleUrls: ['./prospect-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class ProspectResultPersonalComponent implements OnInit {\r\n\r\n @Input() prospect: ProspectResultModel = new ProspectResultModel();\r\n @Output() prospectProfileRequestEventEmitter: EventEmitter = new EventEmitter();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public RequestProspectProfileData() {\r\n this.prospectProfileRequestEventEmitter.emit(\"\");\r\n }\r\n\r\n}\r\n","
{{messageService.NoSearchSelect}}
\r\n
0))\">{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
{{messageService.OtherFieldRequired}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n Reference Number : {{prospect.prospectProfileResponseData.reference}}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DetailsI2 MatchPrevious Search
\r\n
\r\n

Person name: {{prospect?.profileData?.fullName}}

\r\n

Date of birth: {{prospect?.profileData?.dateOfBirth}}

\r\n
\r\n
\r\n

Telephone: {{prospect?.profileData?.phoneNumber}}

\r\n
\r\n
\r\n

Email: {{prospect?.profileData?.email}}

\r\n
\r\n
\r\n

Vehicle number: {{prospect?.profileData?.vRN}}

\r\n
\r\n
\r\n

Address: {{prospect?.profileData?.addressLine1}}

\r\n
\r\n
\r\n

Company Name: {{prospect?.profileData?.companyName}}

\r\n

Company Number: {{prospect?.profileData?.companyNumber}}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Items } from \"./Items\";\r\nimport { ProfileData } from \"./SearchRequestModel\";\r\n\r\nexport class AssociatedResultModel {\r\n public profileData: ProfileData;\r\n public isLoading: boolean;\r\n public noSearchSelect: boolean;\r\n public responseData: Items[];\r\n public searchFail: boolean;\r\n\r\n public associatedResultCount: number = 0;\r\n public associatedResultCombine: Items[] = [];\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { RequestData } from 'src/app/demo/V3/search-pages/models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-pdf-search-form-aus-business',\r\n templateUrl: './pdf-search-form-aus-business.component.html',\r\n styleUrls: ['./pdf-search-form-aus-business.component.css','../../../../../shared/shared.searchpage.css']\r\n})\r\nexport class PdfSearchFormAusBusinessComponent implements OnInit {\r\n @Input() public requestData: RequestData = new RequestData();\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Reference:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Business Name:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Postcode:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n ABN:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n ASIC:\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { MobileResultModel } from '../../../../../models/MobileResultModel';\r\nimport { FinancialResultModel } from '../../../../../models/FinancialResultModel';\r\nimport { RequestData } from '../../../../../models/SearchRequestModel';\r\n\r\n@Component({\r\n selector: 'app-mobile-new-result-personal',\r\n templateUrl: './mobile-new-result-personal.component.html',\r\n styleUrls: ['./mobile-new-result-personal.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class MobileNewResultPersonalComponent implements OnInit {\r\n\r\n @Input() mobile: MobileResultModel = new MobileResultModel();\r\n @Input() financial: FinancialResultModel = new FinancialResultModel();\r\n @Input() requestData: RequestData = new RequestData();\r\n\r\n constructor(public messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n Mobile\r\n
\r\n
\r\n
\r\n Risk\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.MobileRequiredMessage}}
\r\n
\r\n\r\n
\r\n
\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n {{mobile?.responseData?.data?.phoneScoreCheck?.risk?.level}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Match\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.MobileRequiredMessage}}
\r\n
{{messageService.PostCodeRequiredMessage}}
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
\r\n\r\n
0)\">\r\n YES\r\n NO\r\n
\r\n
\r\n No Data\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","/***************************************************************************************************\r\n * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.\r\n */\r\nimport '@angular/localize/init';\r\nimport { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nexport function getBaseUrl() {\r\n return document.getElementsByTagName('base')[0].href;\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] }\r\n];\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic(providers).bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n\r\n/*export { renderModule, renderModuleFactory } from '@angular/platform-server';*/\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\nimport { AddressResultModel } from '../../../../../models/AddressResultModel';\r\nimport { SearchService } from 'src/app/demo/V3/services/search.service';\r\n@Component({\r\n selector: 'app-address-result-personal',\r\n templateUrl: './address-result.component.html',\r\n styleUrls: ['./address-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class AddressResultPersonalComponent implements OnInit {\r\n\r\n @Input() public address: AddressResultModel = new AddressResultModel();\r\n public APIKey: string;\r\n\r\n constructor(private messageService: MessagingService,\r\n private searchService: SearchService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n public getDataSourcesString(sources: any): string {\r\n if (!sources || sources.length == 0)\r\n return \"\";\r\n\r\n let sourceArr = sources.filter(x => x.Name);\r\n if (sourceArr.length == 0)\r\n return \"\";\r\n\r\n return sourceArr.map(x => x.Name).join(\", \");\r\n }\r\n\r\n streetViewUrl(address: any) {\r\n \r\n const addressLines = [\r\n address.AddressLine1,\r\n address.AddressLine2,\r\n address.AddressLine3,\r\n address.AddressLine4,\r\n address.AddressLine5,\r\n address.AddressLine6,\r\n address.Country,\r\n address.Postcode\r\n ];\r\n const fullAddress = addressLines.filter(line => line?.trim()).join(\", \");\r\n const encodedAddress = encodeURIComponent(fullAddress);\r\n return `https://maps.googleapis.com/maps/api/streetview?size=600x300&location==${encodedAddress}&key=AIzaSyD6bQM-KV4Ul5Fcycmlzu7q4gWGJ05lraE`;\r\n }\r\n}\r\n","
{{messageService.NoSearchSelect}}
\r\n
{{messageService.PostcodeOrDOBRequiredMessage}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.NoRelevantDataMessage}}
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{(people?.Person?.Name?.Prefix +'. '+people?.Person?.Name?.Fullname) | titlecase }}
\r\n

Occupancy Period: {{(people?.OccupancyPeriod?.From ? people?.OccupancyPeriod?.From :'' ) + '-' + (people?.OccupancyPeriod?.To? people?.OccupancyPeriod?.To:'') }}

\r\n

Residency Score: {{people?.ResidencyScore | titlecase}}

\r\n

Recency Date: {{(people?.RecencyDate?.Day ? people?.RecencyDate?.Day + '-' :'')+(people?.RecencyDate?.Month ? people?.RecencyDate?.Month +'-':'')+ (people?.RecencyDate?.Year? people?.RecencyDate?.Year :'')}}

\r\n

DOB: {{people?.Person?.DOB?.Day + '-' + people?.Person?.DOB?.Month + '-' + people?.Person?.DOB?.Year}}

\r\n

0\">Landline Numbers:

\r\n

{{lndline?.Number}}0 ? 'fa fa-check-circle color-green' : 'not-verified'\">

\r\n

0\">Mobile Numbers:

\r\n

{{mobile?.Number}}0 ? 'fa fa-check-circle color-green' : 'not-verified'\">

\r\n

0\">Emails:

\r\n

{{email|lowercase }}

\r\n
\r\n
Address:
\r\n \r\n
\r\n

Sources: {{getDataSourcesString(people?.DataSources?.Source)}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Additional Addresses

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{(additional?.AdditionalAddress?.Name?.Prefix +'. '+additional?.AdditionalAddress?.Name?.Fullname) | titlecase }}
\r\n

Occupancy Period: {{(additional?.AdditionalAddress?.OccupancyPeriod?.From? additional?.AdditionalAddress?.OccupancyPeriod?.From + '-':'') + (additional?.AdditionalAddress?.OccupancyPeriod?.To ? additional?.AdditionalAddress?.OccupancyPeriod?.To:'') }}

\r\n

Residency Score: {{additional?.AdditionalAddress?.ResidencyScore | titlecase}}

\r\n

Recency Date: {{(additional?.AdditionalAddress?.RecencyDate?.Day ? additional?.AdditionalAddress?.RecencyDate?.Day+'-':'')+ (additional?.AdditionalAddress?.RecencyDate?.Month ?additional?.AdditionalAddress?.RecencyDate?.Month+'-':'')+(additional?.AdditionalAddress?.RecencyDate?.Year?additional?.AdditionalAddress?.RecencyDate?.Year:'')}}

\r\n \r\n

0\">Landline Numbers:

\r\n

{{lndline?.Number}}0 ? 'fa fa-check-circle color-green' : 'not-verified'\">

\r\n

0\">Mobile Numbers:

\r\n

{{mobile?.Number}}0 ? 'fa fa-check-circle color-green' : 'not-verified'\">

\r\n

Emails:

\r\n

{{email | lowercase }}

\r\n
\r\n
Address:
\r\n \r\n
\r\n

Sources: {{getDataSourcesString(additional?.AdditionalAddress?.DataSources?.Source)}}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
No additional address found.
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"zn8P\";","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MobileResultModel } from '../../../../../../search-pages/models/MobileResultModel';\r\nimport { MessagingService } from '../../../../../../services/messaging.service';\r\n\r\n@Component({\r\n selector: 'app-mobile-result-personal',\r\n templateUrl: './mobile-result.component.html',\r\n styleUrls: ['./mobile-result.component.css', '../../../../shared/shared.searchpage.css']\r\n})\r\nexport class MobileResultPersonalComponent implements OnInit {\r\n\r\n @Input() mobile: MobileResultModel = new MobileResultModel();\r\n\r\n constructor(private messageService: MessagingService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","
\r\n Mobile Number Enquiry\r\n \r\n \r\n \r\n
\r\n
{{messageService.NoSearchSelectShort}}
\r\n
{{messageService.SearchFail}}
\r\n
{{messageService.MobileRequiredMessage}}
\r\n
\r\n
\r\n
\r\n

Phone Type: {{mobile?.responseData?.data?.type | titlecase}}

\r\n

Carrier: {{mobile?.responseData?.data?.carrier}}

\r\n Sim Swap Details\r\n
\r\n

 High risk

\r\n

 Medium risk

\r\n

 Low risk

\r\n

Swap Date:
{{mobile?.responseData?.data?.simSwap?.date | date:'dd-MM-yyyy hh:mm:ss'}}

\r\n
\r\n
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
\r\n
\r\n
\r\n

Blocked

\r\n Name Match \r\n

{{messageService.NoRelevantDataMessageShort}}

\r\n

\r\n Matched\r\n
\r\n \r\n Subscriber: {{mobile?.responseData?.data?.registeredUser | titlecase}}\r\n \r\n \r\n

\r\n

\r\n \r\n NOT Matched
\r\n \r\n \r\n Subscriber: {{mobile?.responseData?.data?.registeredUser | titlecase}}\r\n \r\n \r\n

\r\n\r\n Number Deactivation Details\r\n
\r\n

Last Deactivated: {{mobile?.responseData?.data?.numberDeactivation?.lastDeactivated}}

\r\n

Tracking Since: {{mobile?.responseData?.data?.numberDeactivation?.trackingSince}}

\r\n
\r\n
\r\n
{{messageService.NoRelevantDataMessageShort}}
\r\n
\r\n
\r\n
\r\n
\r\n"]}