@sheerid/jslib 1.85.0 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/__mocks__/mockRequestsAndViewModels.d.ts +1 -1
- package/__tests__/__mocks__/mockResponses.d.ts +1 -1
- package/__tests__/__mocks__/mockVerificationService.d.ts +1 -1
- package/es5/Tmetrix.bundle.js +5 -5
- package/es5/Tmetrix.bundle.js.map +1 -1
- package/es5/messages_ar.bundle.js +5 -5
- package/es5/messages_bg.bundle.js +5 -5
- package/es5/messages_cs.bundle.js +5 -5
- package/es5/messages_da.bundle.js +5 -5
- package/es5/messages_de.bundle.js +5 -5
- package/es5/messages_el.bundle.js +5 -5
- package/es5/messages_en-GB.bundle.js +5 -5
- package/es5/messages_es-ES.bundle.js +5 -5
- package/es5/messages_es.bundle.js +5 -5
- package/es5/messages_fi.bundle.js +5 -5
- package/es5/messages_fr-CA.bundle.js +5 -5
- package/es5/messages_fr.bundle.js +5 -5
- package/es5/messages_ga.bundle.js +5 -5
- package/es5/messages_hr.bundle.js +5 -5
- package/es5/messages_hu.bundle.js +5 -5
- package/es5/messages_id.bundle.js +5 -5
- package/es5/messages_it.bundle.js +5 -5
- package/es5/messages_iw.bundle.js +5 -5
- package/es5/messages_ja.bundle.js +5 -5
- package/es5/messages_ko.bundle.js +5 -5
- package/es5/messages_lo.bundle.js +5 -5
- package/es5/messages_lt.bundle.js +5 -5
- package/es5/messages_ms.bundle.js +5 -5
- package/es5/messages_nl.bundle.js +5 -5
- package/es5/messages_no.bundle.js +5 -5
- package/es5/messages_pl.bundle.js +5 -5
- package/es5/messages_pt-BR.bundle.js +5 -5
- package/es5/messages_pt.bundle.js +5 -5
- package/es5/messages_ru.bundle.js +5 -5
- package/es5/messages_sk.bundle.js +5 -5
- package/es5/messages_sl.bundle.js +5 -5
- package/es5/messages_sr.bundle.js +5 -5
- package/es5/messages_sv.bundle.js +5 -5
- package/es5/messages_th.bundle.js +5 -5
- package/es5/messages_tr.bundle.js +5 -5
- package/es5/messages_zh-HK.bundle.js +5 -5
- package/es5/messages_zh.bundle.js +5 -5
- package/es6/{ar-45218d09.es.js → ar-5e9b2c56.es.js} +2 -1
- package/es6/{cs-405794db.es.js.map → ar-5e9b2c56.es.js.map} +1 -1
- package/es6/{bg-9fc8dc83.es.js → bg-2fcaa4da.es.js} +2 -1
- package/es6/{ar-45218d09.es.js.map → bg-2fcaa4da.es.js.map} +1 -1
- package/es6/{cs-405794db.es.js → cs-00c4f9d7.es.js} +2 -1
- package/es6/{da-aa14f8b8.es.js.map → cs-00c4f9d7.es.js.map} +1 -1
- package/es6/{da-aa14f8b8.es.js → da-02fdd36e.es.js} +2 -1
- package/es6/{bg-9fc8dc83.es.js.map → da-02fdd36e.es.js.map} +1 -1
- package/es6/{de-85ee9944.es.js → de-66b65933.es.js} +2 -1
- package/es6/de-66b65933.es.js.map +1 -0
- package/es6/{el-578ba48b.es.js → el-0f3f4016.es.js} +2 -1
- package/es6/el-0f3f4016.es.js.map +1 -0
- package/es6/{en-GB-f4994296.es.js → en-GB-76a4f388.es.js} +2 -1
- package/es6/{en-GB-f4994296.es.js.map → en-GB-76a4f388.es.js.map} +1 -1
- package/es6/{es-ES-356fb969.es.js → es-ES-e866f585.es.js} +2 -1
- package/es6/{es-ES-356fb969.es.js.map → es-ES-e866f585.es.js.map} +1 -1
- package/es6/{es-00de3342.es.js → es-c1c51be6.es.js} +2 -1
- package/es6/es-c1c51be6.es.js.map +1 -0
- package/es6/{fi-fb16dee9.es.js → fi-640bed13.es.js} +2 -1
- package/es6/fi-640bed13.es.js.map +1 -0
- package/es6/{fr-f339b695.es.js → fr-725ee42d.es.js} +2 -1
- package/es6/fr-725ee42d.es.js.map +1 -0
- package/es6/{fr-CA-0d541b88.es.js → fr-CA-afd3ba40.es.js} +2 -1
- package/es6/{fr-CA-0d541b88.es.js.map → fr-CA-afd3ba40.es.js.map} +1 -1
- package/es6/{ga-2ef75556.es.js → ga-b2289ec9.es.js} +2 -1
- package/es6/ga-b2289ec9.es.js.map +1 -0
- package/es6/{hr-9ea6b84e.es.js → hr-8b9e9d31.es.js} +2 -1
- package/es6/hr-8b9e9d31.es.js.map +1 -0
- package/es6/{hu-f8d0f7b3.es.js → hu-33cadbe9.es.js} +2 -1
- package/es6/hu-33cadbe9.es.js.map +1 -0
- package/es6/{id-20cc43df.es.js → id-ab2dbcfd.es.js} +2 -1
- package/es6/id-ab2dbcfd.es.js.map +1 -0
- package/es6/index-1839f844.es.js +111 -0
- package/es6/index-1839f844.es.js.map +1 -0
- package/es6/{it-6e1647cb.es.js → it-60c3fd24.es.js} +2 -1
- package/es6/it-60c3fd24.es.js.map +1 -0
- package/es6/{iw-9da3d502.es.js → iw-e444c32d.es.js} +2 -1
- package/es6/iw-e444c32d.es.js.map +1 -0
- package/es6/{ja-fdb63bed.es.js → ja-dffc03b6.es.js} +2 -1
- package/es6/ja-dffc03b6.es.js.map +1 -0
- package/es6/{ko-600681df.es.js → ko-6f73ffaa.es.js} +2 -1
- package/es6/ko-6f73ffaa.es.js.map +1 -0
- package/es6/{lo-b13786ca.es.js → lo-555d84ce.es.js} +2 -1
- package/es6/lo-555d84ce.es.js.map +1 -0
- package/es6/{lt-86bcff40.es.js → lt-83039246.es.js} +2 -1
- package/es6/lt-83039246.es.js.map +1 -0
- package/es6/{ms-6cf76c5f.es.js → ms-504aa11d.es.js} +2 -1
- package/es6/ms-504aa11d.es.js.map +1 -0
- package/es6/{nl-1840217b.es.js → nl-9dec28dc.es.js} +2 -1
- package/es6/nl-9dec28dc.es.js.map +1 -0
- package/es6/{no-39cdc2f9.es.js → no-56fae81f.es.js} +2 -1
- package/es6/no-56fae81f.es.js.map +1 -0
- package/es6/{pl-61f6449b.es.js → pl-6e881608.es.js} +2 -1
- package/es6/pl-6e881608.es.js.map +1 -0
- package/es6/{pt-5fd522ff.es.js → pt-6f06f933.es.js} +2 -1
- package/es6/pt-6f06f933.es.js.map +1 -0
- package/es6/{pt-BR-b8d159b3.es.js → pt-BR-1e3c580f.es.js} +2 -1
- package/es6/{pt-BR-b8d159b3.es.js.map → pt-BR-1e3c580f.es.js.map} +1 -1
- package/es6/{ru-5b8abbc8.es.js → ru-02d7b261.es.js} +2 -1
- package/es6/ru-02d7b261.es.js.map +1 -0
- package/es6/{sk-e1b4e309.es.js → sk-80edda72.es.js} +2 -1
- package/es6/sk-80edda72.es.js.map +1 -0
- package/es6/{sl-bfb1e97c.es.js → sl-b25f5813.es.js} +2 -1
- package/es6/sl-b25f5813.es.js.map +1 -0
- package/es6/{sr-55cd6511.es.js → sr-0b402aab.es.js} +2 -1
- package/es6/sr-0b402aab.es.js.map +1 -0
- package/es6/{sv-65116117.es.js → sv-9e4deeb2.es.js} +2 -1
- package/es6/sv-9e4deeb2.es.js.map +1 -0
- package/es6/{th-152afbae.es.js → th-8caee605.es.js} +2 -1
- package/es6/th-8caee605.es.js.map +1 -0
- package/es6/{tr-85a3c50d.es.js → tr-622b0ee4.es.js} +2 -1
- package/es6/tr-622b0ee4.es.js.map +1 -0
- package/es6/{zh-c84d40ec.es.js → zh-0ac65d8e.es.js} +2 -1
- package/es6/zh-0ac65d8e.es.js.map +1 -0
- package/es6/{zh-HK-2ded2e8e.es.js → zh-HK-65634acf.es.js} +2 -1
- package/es6/zh-HK-65634acf.es.js.map +1 -0
- package/localized-messages/ar.json +1 -0
- package/localized-messages/bg.json +1 -0
- package/localized-messages/cs.json +1 -0
- package/localized-messages/da.json +1 -0
- package/localized-messages/de.json +1 -0
- package/localized-messages/el.json +1 -0
- package/localized-messages/en-GB.json +1 -0
- package/localized-messages/en-US.json +1 -0
- package/localized-messages/es-ES.json +1 -0
- package/localized-messages/es.json +2 -1
- package/localized-messages/fi.json +1 -0
- package/localized-messages/fr-CA.json +1 -0
- package/localized-messages/fr.json +1 -0
- package/localized-messages/ga.json +1 -0
- package/localized-messages/hr.json +1 -0
- package/localized-messages/hu.json +1 -0
- package/localized-messages/id.json +1 -0
- package/localized-messages/it.json +1 -0
- package/localized-messages/iw.json +1 -0
- package/localized-messages/ja.json +1 -0
- package/localized-messages/ko.json +1 -0
- package/localized-messages/lo.json +1 -0
- package/localized-messages/lt.json +1 -0
- package/localized-messages/ms.json +1 -0
- package/localized-messages/nl.json +1 -0
- package/localized-messages/no.json +1 -0
- package/localized-messages/pl.json +1 -0
- package/localized-messages/pt-BR.json +1 -0
- package/localized-messages/pt.json +1 -0
- package/localized-messages/ru.json +1 -0
- package/localized-messages/sk.json +1 -0
- package/localized-messages/sl.json +1 -0
- package/localized-messages/sr.json +1 -0
- package/localized-messages/sv.json +1 -0
- package/localized-messages/th.json +1 -0
- package/localized-messages/tr.json +1 -0
- package/localized-messages/zh-HK.json +1 -0
- package/localized-messages/zh.json +1 -0
- package/manifest.json +49 -49
- package/package.json +1 -1
- package/sheerid-requestOrg.css +5 -5
- package/sheerid-requestOrg.css.map +1 -1
- package/sheerid-requestOrg.js +15 -15
- package/sheerid-requestOrg.js.map +1 -1
- package/sheerid-utils.js +9 -9
- package/sheerid-utils.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.css.map +1 -1
- package/sheerid.js +25 -17
- package/sheerid.js.map +1 -1
- package/sheerides6.js +2871 -2522
- package/sheerides6.js.map +1 -1
- package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +1 -1
- package/src/components/FaqLink/FaqLinkComponent.d.ts +3 -2
- package/src/components/FetchOrganizationsComponent.d.ts +2 -2
- package/src/components/FieldLabel.d.ts +1 -1
- package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
- package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +3 -3
- package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
- package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
- package/src/components/FormFields/City/City.d.ts +2 -2
- package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
- package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +3 -3
- package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +3 -3
- package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
- package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
- package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
- package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/FirstResponderStatus/FirstResponderStatusComponent.d.ts +2 -2
- package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
- package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
- package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MedicalStatus/MedicalStatusComponent.d.ts +2 -2
- package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
- package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MilitaryStatus/MilitaryStatusComponent.d.ts +3 -3
- package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
- package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
- package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +1 -1
- package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SSN/SSN.d.ts +2 -2
- package/src/components/FormFields/SSN/SSNHelper.d.ts +1 -1
- package/src/components/FormFields/SSN/SSNHelper.test.d.ts +1 -1
- package/src/components/FormFields/State/State.d.ts +2 -2
- package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
- package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
- package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
- package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +3 -2
- package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/InputText/InputText.d.ts +4 -4
- package/src/components/FormInputs/OptInInput/OptInInputComponent.d.ts +2 -1
- package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +4 -3
- package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +2 -2
- package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +2 -2
- package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkMessages.d.ts +1 -1
- package/src/components/LinkExternal.d.ts +1 -1
- package/src/components/LoadStepComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +2 -2
- package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +2 -2
- package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
- package/src/components/NewVerificationComponent.d.ts +2 -2
- package/src/components/NewVerificationInnerComponent.d.ts +1 -1
- package/src/components/OrganizationList/OrganizationListComponent.d.ts +2 -2
- package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
- package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +3 -3
- package/src/components/RequestOrganization/NewRequestOrganizationComponent.d.ts +2 -2
- package/src/components/RequestOrganization/OrganizationResultComponent.d.ts +2 -2
- package/src/components/RequestOrganization/RequestOrganizationErrorComponent.d.ts +2 -2
- package/src/components/RequestOrganization/RequestOrganizationFormComponent.d.ts +2 -2
- package/src/components/RequestOrganization/RequestOrganizationFormFooterComponent.d.ts +1 -1
- package/src/components/RequestOrganization/RequestOrganizationLoadStepComponent.d.ts +2 -2
- package/src/components/RequestOrganization/RequestOrganizationSearchComponent.d.ts +1 -1
- package/src/components/RequestOrganization/RequestOrganizationSearchResultComponent.d.ts +2 -2
- package/src/components/RequestOrganization/RequestOrganizationSuccessComponent.d.ts +2 -2
- package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +2 -2
- package/src/components/ScreenReaderLabelComponent.d.ts +1 -1
- package/src/components/StepAgePersonalInfo/AgeSegmentValidation.d.ts +1 -1
- package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +3 -3
- package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +2 -2
- package/src/components/StepDocUpload/index.d.ts +1 -1
- package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +3 -3
- package/src/components/StepEmailLoop/index.d.ts +1 -1
- package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepErrorComponent.d.ts +3 -3
- package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +3 -3
- package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +3 -3
- package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +3 -3
- package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +3 -3
- package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +3 -3
- package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +3 -3
- package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +3 -3
- package/src/components/StepMilitaryPersonalInfo/StepCollectMilitaryStatusComponent.d.ts +2 -2
- package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +3 -3
- package/src/components/StepMilitaryPersonalInfo/militaryStepHelpers.d.ts +1 -1
- package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepPending/CountDownComponent.d.ts +1 -1
- package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
- package/src/components/StepPending/StepPendingComponent.d.ts +2 -2
- package/src/components/StepPending/index.d.ts +1 -1
- package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +3 -3
- package/src/components/StepSMSLoop/index.d.ts +1 -1
- package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
- package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +2 -2
- package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +3 -3
- package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
- package/src/components/StepSuccess/index.d.ts +1 -1
- package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +3 -3
- package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
- package/src/components/TryAgainButtonComponent.d.ts +1 -1
- package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
- package/src/components/VerificationForm/VerificationFormComponent.d.ts +2 -2
- package/src/constants.d.ts +1 -1
- package/src/es5-requestOrg.d.ts +3 -3
- package/src/es5-utils.d.ts +2 -2
- package/src/es5.d.ts +6 -6
- package/src/es5Bindings/BirthdateField.d.ts +1 -1
- package/src/es5Bindings/DiscreteFieldDefault.d.ts +1 -1
- package/src/es5Bindings/FirstResponderTypeaheadField.d.ts +1 -1
- package/src/es5Bindings/MemberTypeaheadField.d.ts +1 -1
- package/src/es5Bindings/MilitaryTypeaheadField.d.ts +1 -1
- package/src/es5Bindings/RequestOrganizationForm.d.ts +1 -1
- package/src/es5Bindings/StudentTypeaheadField.d.ts +1 -1
- package/src/es5Bindings/TeacherTypeaheadField.d.ts +1 -1
- package/src/es5Bindings/VerificationFormEs5.d.ts +2 -2
- package/src/es6.d.ts +127 -126
- package/src/lib/GoogleAnalytics/ga.d.ts +1 -1
- package/src/lib/IPQS/IPQSutils.d.ts +1 -1
- package/src/lib/ProgramTheme/programThemeGetters.d.ts +6 -6
- package/src/lib/RequestOrganizationService/RequestOrganizationGetters.d.ts +1 -1
- package/src/lib/RequestOrganizationService/RequestOrganizationReducer.d.ts +1 -1
- package/src/lib/RequestOrganizationService/RequestOrganizationStore.d.ts +2 -2
- package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
- package/src/lib/ServerApi/ConversionApiClient.d.ts +3 -3
- package/src/lib/ServerApi/Network.d.ts +4 -4
- package/src/lib/ServerApi/OrganizationApiClient.d.ts +1 -1
- package/src/lib/ServerApi/TestingRouteOverrides.d.ts +1 -1
- package/src/lib/ServerApi/VerificationApiClient/fetchExistingVerificationRequest.d.ts +1 -1
- package/src/lib/ServerApi/VerificationApiClient.d.ts +2 -2
- package/src/lib/ServerApi/VerificationRequestGetters.d.ts +1 -1
- package/src/lib/ServerApi/VerificationRequestSetters.d.ts +1 -1
- package/src/lib/VerificationService/VerificationServiceActions.d.ts +2 -2
- package/src/lib/VerificationService/VerificationServiceHelpers.d.ts +1 -1
- package/src/lib/VerificationService/VerificationServiceStore.d.ts +1 -1
- package/src/lib/VerificationService/ViewModel.d.ts +1 -1
- package/src/lib/VerificationService/verificationServiceReducer.d.ts +1 -1
- package/src/lib/componentOverride/componentOverride.d.ts +1 -1
- package/src/lib/conversion/conversion.d.ts +1 -1
- package/src/lib/frames/windowFocus.d.ts +2 -0
- package/src/lib/frames/windowFocus.test.d.ts +1 -0
- package/src/lib/fraud/fraud.d.ts +1 -1
- package/src/lib/hooks/hooks.d.ts +1 -1
- package/src/lib/installScript/index.d.ts +1 -1
- package/src/lib/installScript/modal.d.ts +1 -1
- package/src/lib/intl/intl.d.ts +1 -1
- package/src/lib/intl/locales.d.ts +1 -1
- package/src/lib/intl/messages/ageMessages.d.ts +1 -1
- package/src/lib/intl/messages/countryMessages.d.ts +2 -2
- package/src/lib/intl/messages/defaultMessages.d.ts +1 -1
- package/src/lib/intl/messages/employmentMessages.d.ts +1 -1
- package/src/lib/intl/messages/en-US.d.ts +1 -1
- package/src/lib/intl/messages/firstResponderMessages.d.ts +1 -1
- package/src/lib/intl/messages/identityMessages.d.ts +1 -1
- package/src/lib/intl/messages/licensedProfessionalMessages.d.ts +1 -1
- package/src/lib/intl/messages/localesMessages.d.ts +2 -2
- package/src/lib/intl/messages/medicalMessages.d.ts +1 -1
- package/src/lib/intl/messages/memberMessages.d.ts +1 -1
- package/src/lib/intl/messages/militaryMessages.d.ts +1 -1
- package/src/lib/intl/messages/moverMessages.d.ts +1 -1
- package/src/lib/intl/messages/requestOrganizationMessages.d.ts +1 -1
- package/src/lib/intl/messages/seniorMessages.d.ts +1 -1
- package/src/lib/intl/messages/stateMessages.d.ts +1 -1
- package/src/lib/intl/messages/studentMessages.d.ts +1 -1
- package/src/lib/intl/messages/teacherMessages.d.ts +1 -1
- package/src/lib/metadata/metadata.d.ts +1 -1
- package/src/lib/organization/organization.d.ts +1 -1
- package/src/lib/refs/refs.d.ts +1 -1
- package/src/lib/types/assertions.d.ts +1 -1
- package/src/lib/types/empties.d.ts +1 -1
- package/src/lib/types/runtimeTypes.d.ts +2 -2
- package/src/lib/types/types.d.ts +107 -105
- package/src/lib/utils/browser/inputHelpers.d.ts +1 -1
- package/src/lib/utils/customTagReplacer/index.d.ts +11 -0
- package/src/lib/utils/customTagReplacer/index.test.d.ts +1 -0
- package/src/lib/utils/logger/logger.d.ts +1 -1
- package/src/lib/utils/routing/Url.d.ts +1 -1
- package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +3 -3
- package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
- package/src/lib/validators/customValidators.d.ts +1 -1
- package/src/lib/validators/postalCodeMatchers.d.ts +1 -1
- package/src/lib/validators/validatorOverride.d.ts +1 -1
- package/src/lib/validators/validators.d.ts +1 -1
- package/src/options/options.d.ts +1 -1
- package/src/polyfills/polyfills.d.ts +4 -4
- package/src/serverMocks/mocks.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/es6/de-85ee9944.es.js.map +0 -1
- package/es6/el-578ba48b.es.js.map +0 -1
- package/es6/es-00de3342.es.js.map +0 -1
- package/es6/fi-fb16dee9.es.js.map +0 -1
- package/es6/fr-f339b695.es.js.map +0 -1
- package/es6/ga-2ef75556.es.js.map +0 -1
- package/es6/hr-9ea6b84e.es.js.map +0 -1
- package/es6/hu-f8d0f7b3.es.js.map +0 -1
- package/es6/id-20cc43df.es.js.map +0 -1
- package/es6/index-9928e3e2.es.js +0 -12
- package/es6/index-9928e3e2.es.js.map +0 -1
- package/es6/it-6e1647cb.es.js.map +0 -1
- package/es6/iw-9da3d502.es.js.map +0 -1
- package/es6/ja-fdb63bed.es.js.map +0 -1
- package/es6/ko-600681df.es.js.map +0 -1
- package/es6/lo-b13786ca.es.js.map +0 -1
- package/es6/lt-86bcff40.es.js.map +0 -1
- package/es6/ms-6cf76c5f.es.js.map +0 -1
- package/es6/nl-1840217b.es.js.map +0 -1
- package/es6/no-39cdc2f9.es.js.map +0 -1
- package/es6/pl-61f6449b.es.js.map +0 -1
- package/es6/pt-5fd522ff.es.js.map +0 -1
- package/es6/ru-5b8abbc8.es.js.map +0 -1
- package/es6/sk-e1b4e309.es.js.map +0 -1
- package/es6/sl-bfb1e97c.es.js.map +0 -1
- package/es6/sr-55cd6511.es.js.map +0 -1
- package/es6/sv-65116117.es.js.map +0 -1
- package/es6/th-152afbae.es.js.map +0 -1
- package/es6/tr-85a3c50d.es.js.map +0 -1
- package/es6/zh-HK-2ded2e8e.es.js.map +0 -1
- package/es6/zh-c84d40ec.es.js.map +0 -1
package/src/lib/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dispatch, Store } from
|
|
2
|
-
import { InjectedIntl } from
|
|
1
|
+
import { Dispatch, Store } from "redux";
|
|
2
|
+
import { InjectedIntl } from "react-intl";
|
|
3
3
|
declare global {
|
|
4
4
|
interface String {
|
|
5
5
|
insertAt: any;
|
|
@@ -34,6 +34,7 @@ export interface SheerIdJsApi {
|
|
|
34
34
|
postVerificationSizeUpdates(options: PostMessagesOptions): void;
|
|
35
35
|
getMessages(locale: Locale, programThemeMessages?: ProgramThemeMessages, segment?: Segment): Promise<StringMap>;
|
|
36
36
|
collectDeviceProfile(verificationId: string, programId: string): void;
|
|
37
|
+
isInLightbox: () => boolean;
|
|
37
38
|
}
|
|
38
39
|
export interface RequestOrganizationApi {
|
|
39
40
|
RequestOrganizationForm: new (element: HTMLElement, programId: DatabaseId) => void;
|
|
@@ -138,9 +139,9 @@ export declare type Options = {
|
|
|
138
139
|
urlLicensedProfessionalFaq?: string;
|
|
139
140
|
urlAddSchoolFaq?: string;
|
|
140
141
|
urlAddSchoolForm?: string;
|
|
141
|
-
customCss?: ProgramTheme[
|
|
142
|
-
logoUrl?: ProgramTheme[
|
|
143
|
-
privacyPolicyUrl?: ProgramTheme[
|
|
142
|
+
customCss?: ProgramTheme["customCss"];
|
|
143
|
+
logoUrl?: ProgramTheme["logoUrl"];
|
|
144
|
+
privacyPolicyUrl?: ProgramTheme["privacyPolicyUrl"];
|
|
144
145
|
cookies?: CookieOptions;
|
|
145
146
|
useFingerprinting?: boolean;
|
|
146
147
|
marketConsent?: MarketConsentOptions;
|
|
@@ -164,7 +165,7 @@ export declare type CookieOptions = {
|
|
|
164
165
|
enabled: boolean;
|
|
165
166
|
path?: string;
|
|
166
167
|
domain?: string;
|
|
167
|
-
sameSite?:
|
|
168
|
+
sameSite?: "lax" | "strict" | "none";
|
|
168
169
|
};
|
|
169
170
|
export declare type MarketConsentOptions = {
|
|
170
171
|
enabled: boolean;
|
|
@@ -212,7 +213,7 @@ export declare type PostMessagesOptions = {
|
|
|
212
213
|
export declare type ConversionResources = {
|
|
213
214
|
base: string;
|
|
214
215
|
};
|
|
215
|
-
export declare type LogLevel =
|
|
216
|
+
export declare type LogLevel = "info" | "log" | "warn" | "error";
|
|
216
217
|
/**
|
|
217
218
|
* @description Interface for individual field instances, such as BirthdateField
|
|
218
219
|
* @example new sheerid.BirthdateField().setValue('2000-01-01');
|
|
@@ -249,14 +250,14 @@ export declare type DischargeDate = string;
|
|
|
249
250
|
/**
|
|
250
251
|
* @description TODO
|
|
251
252
|
*/
|
|
252
|
-
export declare type MilitaryStatus =
|
|
253
|
+
export declare type MilitaryStatus = "ACTIVE_DUTY" | "VETERAN" | "RESERVIST" | "MILITARY_RETIREE" | "MILITARY_FAMILY";
|
|
253
254
|
/**
|
|
254
255
|
* @description TODO
|
|
255
256
|
*/
|
|
256
|
-
export declare type FirstResponderStatus =
|
|
257
|
-
export declare type MedicalProfessionalStatus =
|
|
258
|
-
export declare type LicensedProfessionalStatus =
|
|
259
|
-
export declare type RecentMoverStatus =
|
|
257
|
+
export declare type FirstResponderStatus = "FIREFIGHTER" | "EMT" | "POLICE";
|
|
258
|
+
export declare type MedicalProfessionalStatus = "NURSE" | "DOCTOR" | "DENTIST" | "PHARMACIST" | "OTHER_HEALTH_WORKER";
|
|
259
|
+
export declare type LicensedProfessionalStatus = "LICENSED_COSMETOLOGIST" | "LICENSED_REAL_ESTATE_AGENT" | "VETERINARIAN";
|
|
260
|
+
export declare type RecentMoverStatus = "HOME_BUYER" | "OTHER_MOVER";
|
|
260
261
|
/**
|
|
261
262
|
* @description TODO
|
|
262
263
|
*/
|
|
@@ -268,7 +269,7 @@ export declare type OrganizationName = string;
|
|
|
268
269
|
/**
|
|
269
270
|
* @description All possible fields
|
|
270
271
|
*/
|
|
271
|
-
export declare type FieldId =
|
|
272
|
+
export declare type FieldId = "firstName" | "lastName" | "memberId" | "organization" | "birthDate" | "email" | "phoneNumber" | "postalCode" | "address1" | "city" | "state" | "dischargeDate" | "status" | "statuses" | "docUpload" | "country" | "smsCode" | "socialSecurityNumber" | "marketConsentValue" | "carrierConsentValue" | "driverLicenseNumber";
|
|
272
273
|
export declare type FormValidationOptions = {
|
|
273
274
|
minAge?: number;
|
|
274
275
|
maxAge?: number;
|
|
@@ -308,7 +309,7 @@ export declare type Organization = {
|
|
|
308
309
|
/**
|
|
309
310
|
* @private
|
|
310
311
|
*/
|
|
311
|
-
export declare type OrganizationRemoteSource =
|
|
312
|
+
export declare type OrganizationRemoteSource = "EMPLOYER";
|
|
312
313
|
/**
|
|
313
314
|
* @private
|
|
314
315
|
*/
|
|
@@ -356,23 +357,23 @@ export interface InputSelectComponentProps {
|
|
|
356
357
|
label?: string | JSX.Element;
|
|
357
358
|
intl: InjectedIntl;
|
|
358
359
|
}
|
|
359
|
-
export declare type ErrorId =
|
|
360
|
-
export declare type NetworkErrorId =
|
|
360
|
+
export declare type ErrorId = "apiRateLimitExceeded" | "dischargeDateBeforeBirthDate" | "docReviewLimitExceeded" | "inactiveProgram" | "expiredProgram" | "expiredEmailLoopToken" | "expiredSMSCode" | "expiredVerification" | "fraudRulesReject" | "futureBirthDate" | "futureDischargeDate" | "internalServerError" | "invalidAddress" | "invalidApiToken" | "invalidBirthDate" | "invalidCity" | "invalidCountry" | "invalidDischargeDate" | "invalidDocUploadToken" | "invalidEmail" | "invalidFileSizeEmpty" | "invalidFileSizeMax" | "invalidFirstName" | "invalidFirstResponderStatus" | "invalidLastName" | "invalidMemberId" | "invalidMilitaryStatus" | "invalidNumberOfFiles" | "invalidOptIn" | "invalidOrganization" | "invalidPhoneNumber" | "invalidPostalCode" | "invalidProgram" | "invalidRequest" | "invalidSMSCode" | "invalidSocialSecurityNumber" | "invalidState" | "invalidStatus" | "invalidStatuses" | "invalidDriverLicenseNumber" | "invalidStep" | "marketConsentRequired" | "maxMetadataLengthExceeded" | "maxMetadataValuesExceeded" | "maxSMSCodeLimitExceeded" | "incorrectSMSCodeAttemptLimitExceeded" | "noProgram" | "noRemainingRewardCodes" | "notApproved" | "notFound" | "noValidFiles" | "noVerification" | "outsideAgePerson" | "simulatedError" | "unauthorizedDomain" | "underagePerson" | "unknownError" | "unsupportedDocMimeType" | "verificationLimitExceeded" | "invalidEmailLoopToken" | NetworkErrorId;
|
|
361
|
+
export declare type NetworkErrorId = "failedToFetch" | "requestTimeout";
|
|
361
362
|
export declare type ExtendedErrorId = string | undefined;
|
|
362
|
-
export declare type RejectionReasons =
|
|
363
|
-
export declare type VerificationStep =
|
|
363
|
+
export declare type RejectionReasons = "DOCUMENT_UNREADABLE" | "DOCUMENT_PASSWORD_PROTECTED" | "DOCUMENT_LIKELY_FRAUD" | "DOCUMENT_UNSUPPORTED" | "DOCUMENT_HANDWRITTEN" | "MISSING_INFORMATION" | "MISSING_INFORMATION_PERSON_NAME" | "MISSING_INFORMATION_ORGANIZATION_NAME" | "DOCUMENT_EXPIRED" | "DOCUMENT_OUTDATED" | "MISMATCH_PERSON_NAME" | "MISMATCH_ORGANIZATION" | "MISMATCH_STATUS" | "INELIGIBLE_ORGANIZATION" | "MISSING_INFORMATION_UNIVERSITY_ENROLLMENT" | "INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT" | "MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES" | "MISMATCH_COMPANY_NAME_OR_ADDRESS" | "PAYSTUB_OUTDATED_LAST_30_DAYS" | "MISSING_INFORMATION_BIRTHDATE" | "MISMATCH_BIRTHDATE" | "DOCUMENT_OUTDATED_FACULTY" | "MISSING_OR_MISMATCH_JOB_TITLE" | "OTHER_CONTACT_US";
|
|
364
|
+
export declare type VerificationStep = "collectStudentPersonalInfo" | "collectTeacherPersonalInfo" | "collectMemberPersonalInfo" | "collectMilitaryStatus" | "collectActiveMilitaryPersonalInfo" | "collectInactiveMilitaryPersonalInfo" | "collectSeniorPersonalInfo" | "collectAgePersonalInfo" | "collectFirstResponderPersonalInfo" | "collectMedicalProfessionalPersonalInfo" | "collectEmployeePersonalInfo" | "collectDriverLicensePersonalInfo" | "collectGeneralIdentityPersonalInfo" | "collectHybridIdentityPersonalInfo" | "collectLicensedProfessionalPersonalInfo" | "collectMoverPersonalInfo" | "collectSocialSecurityNumber" | "cancelSocialSecurityNumber" | "docUpload" | "pending" | "docReviewLimitExceeded" | "success" | "error" | "sso" | "smsLoop" | "emailLoop" | "cancelEmailLoop";
|
|
364
365
|
export declare type VerificationStepMap<T> = {
|
|
365
366
|
[P in VerificationStep]: T;
|
|
366
367
|
};
|
|
367
|
-
export declare type MockStep = VerificationStep |
|
|
368
|
-
export declare type OverrideableComponentName =
|
|
368
|
+
export declare type MockStep = VerificationStep | "loading";
|
|
369
|
+
export declare type OverrideableComponentName = "StepStudentPersonalInfoComponent" | "StepSeniorPersonalInfoComponent" | "StepAgePersonalInfoComponent" | "StepTeacherPersonalInfoComponent" | "StepMemberPersonalInfoComponent" | "StepCollectMilitaryStatusComponent" | "StepActiveMilitaryPersonalInfoComponent" | "StepInactiveMilitaryPersonalInfoComponent" | "StepFirstResponderPersonalInfoComponent" | "StepMedicalProfessionalPersonalInfoComponent" | "StepEmploymentPersonalInfoComponent" | "StepDriverLicensePersonalInfoComponent" | "StepGeneralIdentityPersonalInfoComponent" | "StepHybridIdentityPersonalInfoComponent" | "StepLicensedProfessionalPersonalInfoComponent" | "StepMoverPersonalInfoComponent" | "StepSuccessComponent" | "StepDocUploadComponent" | "StepPendingComponent" | "StepPendingEmailLoopComponent" | "StepErrorComponent" | "StepSSOComponent" | "StepSMSLoopComponent" | "StepEmailLoopComponent" | "StepSocialSecurity" | "RequestOrganizationSuccessComponent" | "RequestOrganizationErrorComponent" | "RequestOrganizationSearchComponent";
|
|
369
370
|
export declare type StepComponent = React.FunctionComponent<{
|
|
370
371
|
verificationService: VerificationService;
|
|
371
372
|
}>;
|
|
372
|
-
export declare type Segment =
|
|
373
|
-
export declare type SubSegment =
|
|
374
|
-
export declare type SubSegmentMilitary =
|
|
375
|
-
export declare type OrganizationType =
|
|
373
|
+
export declare type Segment = "student" | "military" | "teacher" | "member" | "senior" | "age" | "firstResponder" | "medical" | "employment" | "identity" | "licensedProfessional" | "recentMover";
|
|
374
|
+
export declare type SubSegment = "college" | "highSchool" | "police" | "emt" | "fireFighter" | "nurse" | "doctor" | "driverLicense" | "generalIdentity" | "hybridIdentity" | "licensedCosmetologists" | "licensedRealState" | "homeBuyer" | "otherMover" | SubSegmentMilitary;
|
|
375
|
+
export declare type SubSegmentMilitary = "activeDuty" | "reservist" | "veteran" | "retiree" | "militaryFamily";
|
|
376
|
+
export declare type OrganizationType = "UNIVERSITY" | "POST_SECONDARY" | "MEMBERSHIP" | "MILITARY" | "FIRST_RESPONDER" | "MEDICAL" | "NON_PROFIT" | "CORPORATE" | "K12" | "AGE_ID" | "HIGH_SCHOOL" | "NONE";
|
|
376
377
|
export declare type NewVerificationRequest = {
|
|
377
378
|
programId: DatabaseId;
|
|
378
379
|
trackingId?: string;
|
|
@@ -540,7 +541,7 @@ export declare type SocialSecurityResponse = {
|
|
|
540
541
|
verificationId: DatabaseId;
|
|
541
542
|
submissionUrl: string;
|
|
542
543
|
cancelUrl: string;
|
|
543
|
-
currentStep:
|
|
544
|
+
currentStep: "collectSocialSecurityNumber";
|
|
544
545
|
errorIds?: [ErrorId];
|
|
545
546
|
} & WithLocaleAndCountryChoiceAndSegment;
|
|
546
547
|
export declare type SocialSecurityViewModel = {
|
|
@@ -659,8 +660,8 @@ export declare type AllResponseTypes = PersonalInfoResponse | SSOResponse | DocU
|
|
|
659
660
|
*/
|
|
660
661
|
export declare type StudentPersonalInfoResponse = {
|
|
661
662
|
submissionUrl: string;
|
|
662
|
-
currentStep:
|
|
663
|
-
segment:
|
|
663
|
+
currentStep: "collectStudentPersonalInfo";
|
|
664
|
+
segment: "student";
|
|
664
665
|
subSegment: null;
|
|
665
666
|
errorIds?: [ErrorId];
|
|
666
667
|
instantMatchAttempts?: number;
|
|
@@ -670,8 +671,8 @@ export declare type StudentPersonalInfoResponse = {
|
|
|
670
671
|
*/
|
|
671
672
|
export declare type SeniorPersonalInfoResponse = {
|
|
672
673
|
submissionUrl: string;
|
|
673
|
-
currentStep:
|
|
674
|
-
segment:
|
|
674
|
+
currentStep: "collectSeniorPersonalInfo";
|
|
675
|
+
segment: "senior";
|
|
675
676
|
subSegment: null;
|
|
676
677
|
errorIds?: [ErrorId];
|
|
677
678
|
instantMatchAttempts?: number;
|
|
@@ -681,8 +682,8 @@ export declare type SeniorPersonalInfoResponse = {
|
|
|
681
682
|
*/
|
|
682
683
|
export declare type AgePersonalInfoResponse = {
|
|
683
684
|
submissionUrl: string;
|
|
684
|
-
currentStep:
|
|
685
|
-
segment:
|
|
685
|
+
currentStep: "collectAgePersonalInfo";
|
|
686
|
+
segment: "age";
|
|
686
687
|
subSegment: null;
|
|
687
688
|
errorIds?: [ErrorId];
|
|
688
689
|
instantMatchAttempts?: number;
|
|
@@ -694,16 +695,16 @@ export declare type AgePersonalInfoResponse = {
|
|
|
694
695
|
*/
|
|
695
696
|
export declare type TeacherPersonalInfoResponse = {
|
|
696
697
|
submissionUrl: string;
|
|
697
|
-
currentStep:
|
|
698
|
-
segment:
|
|
698
|
+
currentStep: "collectTeacherPersonalInfo";
|
|
699
|
+
segment: "teacher";
|
|
699
700
|
subSegment: null;
|
|
700
701
|
errorIds?: [ErrorId];
|
|
701
702
|
instantMatchAttempts?: number;
|
|
702
703
|
} & VerificationResponse;
|
|
703
704
|
export declare type MemberPersonalInfoResponse = {
|
|
704
705
|
submissionUrl: string;
|
|
705
|
-
currentStep:
|
|
706
|
-
segment:
|
|
706
|
+
currentStep: "collectMemberPersonalInfo";
|
|
707
|
+
segment: "member";
|
|
707
708
|
subSegment: null;
|
|
708
709
|
errorIds?: [ErrorId];
|
|
709
710
|
instantMatchAttempts?: number;
|
|
@@ -713,8 +714,8 @@ export declare type MemberPersonalInfoResponse = {
|
|
|
713
714
|
*/
|
|
714
715
|
export declare type MilitaryStatusResponse = {
|
|
715
716
|
submissionUrl: string;
|
|
716
|
-
currentStep:
|
|
717
|
-
segment:
|
|
717
|
+
currentStep: "collectMilitaryStatus";
|
|
718
|
+
segment: "military";
|
|
718
719
|
errorIds?: [ErrorId];
|
|
719
720
|
availableStatuses?: [MilitaryStatus];
|
|
720
721
|
} & VerificationResponse;
|
|
@@ -723,8 +724,8 @@ export declare type MilitaryStatusResponse = {
|
|
|
723
724
|
*/
|
|
724
725
|
export declare type ActiveMilitaryPersonalInfoResponse = {
|
|
725
726
|
submissionUrl: string;
|
|
726
|
-
currentStep:
|
|
727
|
-
segment:
|
|
727
|
+
currentStep: "collectActiveMilitaryPersonalInfo";
|
|
728
|
+
segment: "military";
|
|
728
729
|
errorIds?: [ErrorId];
|
|
729
730
|
instantMatchAttempts?: number;
|
|
730
731
|
} & VerificationResponse;
|
|
@@ -733,31 +734,31 @@ export declare type ActiveMilitaryPersonalInfoResponse = {
|
|
|
733
734
|
*/
|
|
734
735
|
export declare type InactiveMilitaryPersonalInfoResponse = {
|
|
735
736
|
submissionUrl: string;
|
|
736
|
-
currentStep:
|
|
737
|
-
segment:
|
|
737
|
+
currentStep: "collectInactiveMilitaryPersonalInfo";
|
|
738
|
+
segment: "military";
|
|
738
739
|
errorIds?: [ErrorId];
|
|
739
740
|
instantMatchAttempts?: number;
|
|
740
741
|
} & VerificationResponse;
|
|
741
742
|
export declare type FirstResponderPersonalInfoResponse = {
|
|
742
743
|
submissionUrl: string;
|
|
743
|
-
currentStep:
|
|
744
|
-
segment:
|
|
744
|
+
currentStep: "collectFirstResponderPersonalInfo";
|
|
745
|
+
segment: "firstResponder";
|
|
745
746
|
errorIds?: [ErrorId];
|
|
746
747
|
availableStatuses?: [FirstResponderStatus];
|
|
747
748
|
instantMatchAttempts?: number;
|
|
748
749
|
} & VerificationResponse;
|
|
749
750
|
export declare type MedicalProfessionalPersonalInfoResponse = {
|
|
750
751
|
submissionUrl: string;
|
|
751
|
-
currentStep:
|
|
752
|
-
segment:
|
|
752
|
+
currentStep: "collectMedicalProfessionalPersonalInfo";
|
|
753
|
+
segment: "medical";
|
|
753
754
|
errorIds?: [ErrorId];
|
|
754
755
|
availableStatuses?: [MedicalProfessionalStatus];
|
|
755
756
|
instantMatchAttempts?: number;
|
|
756
757
|
} & VerificationResponse;
|
|
757
758
|
export declare type EmploymentPersonalInfoResponse = {
|
|
758
759
|
submissionUrl: string;
|
|
759
|
-
currentStep:
|
|
760
|
-
segment:
|
|
760
|
+
currentStep: "collectEmployeePersonalInfo";
|
|
761
|
+
segment: "employment";
|
|
761
762
|
subSegment: null;
|
|
762
763
|
errorIds?: [ErrorId];
|
|
763
764
|
instantMatchAttempts?: number;
|
|
@@ -767,37 +768,37 @@ export declare type EmploymentPersonalInfoResponse = {
|
|
|
767
768
|
*/
|
|
768
769
|
export declare type DriverLicensePersonalInfoResponse = {
|
|
769
770
|
submissionUrl: string;
|
|
770
|
-
currentStep:
|
|
771
|
-
segment:
|
|
771
|
+
currentStep: "collectDriverLicensePersonalInfo";
|
|
772
|
+
segment: "identity";
|
|
772
773
|
errorIds?: [ErrorId];
|
|
773
774
|
instantMatchAttempts?: number;
|
|
774
775
|
} & VerificationResponse;
|
|
775
776
|
export declare type GeneralIdentityPersonalInfoResponse = {
|
|
776
777
|
submissionUrl: string;
|
|
777
|
-
currentStep:
|
|
778
|
-
segment:
|
|
778
|
+
currentStep: "collectGeneralIdentityPersonalInfo";
|
|
779
|
+
segment: "identity";
|
|
779
780
|
errorIds?: [ErrorId];
|
|
780
781
|
instantMatchAttempts?: number;
|
|
781
782
|
} & VerificationResponse;
|
|
782
783
|
export declare type HybridIdentityPersonalInfoResponse = {
|
|
783
784
|
submissionUrl: string;
|
|
784
|
-
currentStep:
|
|
785
|
-
segment:
|
|
785
|
+
currentStep: "collectHybridIdentityPersonalInfo";
|
|
786
|
+
segment: "identity";
|
|
786
787
|
errorIds?: [ErrorId];
|
|
787
788
|
instantMatchAttempts?: number;
|
|
788
789
|
} & VerificationResponse;
|
|
789
790
|
export declare type LicensedProfessionalPersonalInfoResponse = {
|
|
790
791
|
submissionUrl: string;
|
|
791
|
-
currentStep:
|
|
792
|
-
segment:
|
|
792
|
+
currentStep: "collectLicensedProfessionalPersonalInfo";
|
|
793
|
+
segment: "licensedProfessional";
|
|
793
794
|
availableStatuses?: LicensedProfessionalStatus[];
|
|
794
795
|
errorIds?: [ErrorId];
|
|
795
796
|
instantMatchAttempts?: number;
|
|
796
797
|
} & VerificationResponse;
|
|
797
798
|
export declare type MoverPersonalInfoResponse = {
|
|
798
799
|
submissionUrl: string;
|
|
799
|
-
currentStep:
|
|
800
|
-
segment:
|
|
800
|
+
currentStep: "collectMoverPersonalInfo";
|
|
801
|
+
segment: "recentMover";
|
|
801
802
|
availableStatuses?: RecentMoverStatus[];
|
|
802
803
|
errorIds?: [ErrorId];
|
|
803
804
|
instantMatchAttempts?: number;
|
|
@@ -808,7 +809,7 @@ export declare type MoverPersonalInfoResponse = {
|
|
|
808
809
|
export declare type DocUploadResponse = {
|
|
809
810
|
verificationId: DatabaseId;
|
|
810
811
|
submissionUrl: string;
|
|
811
|
-
currentStep:
|
|
812
|
+
currentStep: "docUpload";
|
|
812
813
|
errorIds?: [ErrorId];
|
|
813
814
|
rejectionReasons?: RejectionReasons[];
|
|
814
815
|
maxReviewTime?: MaxReviewTime;
|
|
@@ -821,20 +822,20 @@ export declare type SSOResponse = {
|
|
|
821
822
|
verificationId: DatabaseId;
|
|
822
823
|
loginUrl: string;
|
|
823
824
|
cancelUrl: string;
|
|
824
|
-
currentStep:
|
|
825
|
+
currentStep: "sso";
|
|
825
826
|
errorIds?: [ErrorId];
|
|
826
827
|
} & WithLocaleAndCountryChoiceAndSegment;
|
|
827
828
|
export declare type SMSLoopResponse = {
|
|
828
829
|
verificationId: DatabaseId;
|
|
829
830
|
submissionUrl: string;
|
|
830
831
|
errorIds?: [ErrorId];
|
|
831
|
-
currentStep:
|
|
832
|
+
currentStep: "smsLoop";
|
|
832
833
|
} & WithLocaleAndCountryChoiceAndSegment;
|
|
833
834
|
export declare type EmailLoopResponse = {
|
|
834
835
|
verificationId: DatabaseId;
|
|
835
836
|
submissionUrl: string;
|
|
836
837
|
errorIds?: [ErrorId];
|
|
837
|
-
currentStep:
|
|
838
|
+
currentStep: "emailLoop";
|
|
838
839
|
canResendEmailLoop: boolean;
|
|
839
840
|
cancelUrl: string;
|
|
840
841
|
} & WithLocaleAndCountryChoiceAndSegment;
|
|
@@ -843,7 +844,7 @@ export declare type EmailLoopResponse = {
|
|
|
843
844
|
*/
|
|
844
845
|
export declare type SuccessResponse = {
|
|
845
846
|
verificationId: DatabaseId;
|
|
846
|
-
currentStep:
|
|
847
|
+
currentStep: "success";
|
|
847
848
|
rewardCode: string;
|
|
848
849
|
redirectUrl?: string;
|
|
849
850
|
rewardData?: string[];
|
|
@@ -853,7 +854,7 @@ export declare type SuccessResponse = {
|
|
|
853
854
|
*/
|
|
854
855
|
export declare type ErrorResponse = {
|
|
855
856
|
verificationId: DatabaseId;
|
|
856
|
-
currentStep:
|
|
857
|
+
currentStep: "error";
|
|
857
858
|
subSegment: SubSegment | null;
|
|
858
859
|
errorIds: [ErrorId];
|
|
859
860
|
redirectUrl: string | null;
|
|
@@ -863,7 +864,7 @@ export declare type ErrorResponse = {
|
|
|
863
864
|
*/
|
|
864
865
|
export declare type PendingResponse = {
|
|
865
866
|
verificationId: DatabaseId;
|
|
866
|
-
currentStep:
|
|
867
|
+
currentStep: "pending";
|
|
867
868
|
statusUrl: string;
|
|
868
869
|
maxReviewTime?: MaxReviewTime;
|
|
869
870
|
estimatedReviewTime?: EstimatedReviewTime;
|
|
@@ -915,11 +916,11 @@ export declare type ProgramTheme = {
|
|
|
915
916
|
orgSearchCountryTags?: {
|
|
916
917
|
[country in Country]?: string[];
|
|
917
918
|
};
|
|
918
|
-
offerType:
|
|
919
|
+
offerType: "noCode" | "staticCode" | "rewardPool" | undefined;
|
|
919
920
|
};
|
|
920
921
|
};
|
|
921
|
-
export declare type EstimatedReviewTime =
|
|
922
|
-
export declare type MaxReviewTime =
|
|
922
|
+
export declare type EstimatedReviewTime = "A_FEW_MINUTES" | "A_HALF_HOUR" | "A_FEW_HOURS" | "A_FEW_DAYS";
|
|
923
|
+
export declare type MaxReviewTime = "2_MIN" | "20_MIN" | "2_HRS" | "24_HRS" | "2_DAY" | "3_DAY";
|
|
923
924
|
export declare type FaqUrl = string;
|
|
924
925
|
/**
|
|
925
926
|
* @description List of countries supported by SheerID
|
|
@@ -1289,7 +1290,7 @@ export declare type DefaultMessages = {
|
|
|
1289
1290
|
skipEmail2: string;
|
|
1290
1291
|
skipEmailCTA: string;
|
|
1291
1292
|
};
|
|
1292
|
-
error: ProgramThemeMessages[
|
|
1293
|
+
error: ProgramThemeMessages["step"]["error"];
|
|
1293
1294
|
};
|
|
1294
1295
|
ssn: string;
|
|
1295
1296
|
ssnPlaceholder: string;
|
|
@@ -1325,6 +1326,7 @@ export declare type DefaultMessages = {
|
|
|
1325
1326
|
LICENSED_REAL_ESTATE_AGENT: string;
|
|
1326
1327
|
VETERINARIAN: string;
|
|
1327
1328
|
tryAgain: string;
|
|
1329
|
+
footerText: string;
|
|
1328
1330
|
infoShared1: string;
|
|
1329
1331
|
infoShared2: string;
|
|
1330
1332
|
studentInfoShared: string;
|
|
@@ -1349,16 +1351,16 @@ declare type DateTimeMessages = {
|
|
|
1349
1351
|
month: string;
|
|
1350
1352
|
day: string;
|
|
1351
1353
|
year: string;
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1354
|
+
"2_MIN": string;
|
|
1355
|
+
"20_MIN": string;
|
|
1356
|
+
"2_HRS": string;
|
|
1357
|
+
"24_HRS": string;
|
|
1358
|
+
"2_DAY": string;
|
|
1359
|
+
"3_DAY": string;
|
|
1360
|
+
A_FEW_MINUTES: string;
|
|
1361
|
+
A_HALF_HOUR: string;
|
|
1362
|
+
A_FEW_HOURS: string;
|
|
1363
|
+
A_FEW_DAYS: string;
|
|
1362
1364
|
};
|
|
1363
1365
|
/**
|
|
1364
1366
|
* @description These strings are provided for the Request Organization Form
|
|
@@ -1373,11 +1375,11 @@ export declare type RequestOrganizationMessages = {
|
|
|
1373
1375
|
eligibleOrgs: string;
|
|
1374
1376
|
ineligibleOrgs: string;
|
|
1375
1377
|
none: string;
|
|
1376
|
-
changeLanguage?: DefaultMessages[
|
|
1377
|
-
poweredBy?: DefaultMessages[
|
|
1378
|
-
country?: DefaultMessages[
|
|
1379
|
-
countries?: DefaultMessages[
|
|
1380
|
-
locales?: DefaultMessages[
|
|
1378
|
+
changeLanguage?: DefaultMessages["changeLanguage"];
|
|
1379
|
+
poweredBy?: DefaultMessages["poweredBy"];
|
|
1380
|
+
country?: DefaultMessages["country"];
|
|
1381
|
+
countries?: DefaultMessages["countries"];
|
|
1382
|
+
locales?: DefaultMessages["locales"];
|
|
1381
1383
|
copied: string;
|
|
1382
1384
|
fields: {
|
|
1383
1385
|
countryPlaceholder: string;
|
|
@@ -1399,10 +1401,10 @@ export declare type RequestOrganizationMessages = {
|
|
|
1399
1401
|
};
|
|
1400
1402
|
};
|
|
1401
1403
|
errorId: {
|
|
1402
|
-
invalidCountry: DefaultMessages[
|
|
1403
|
-
invalidEmail: DefaultMessages[
|
|
1404
|
-
invalidFirstName: DefaultMessages[
|
|
1405
|
-
invalidLastName: DefaultMessages[
|
|
1404
|
+
invalidCountry: DefaultMessages["errorId"]["invalidCountry"];
|
|
1405
|
+
invalidEmail: DefaultMessages["errorId"]["invalidEmail"];
|
|
1406
|
+
invalidFirstName: DefaultMessages["errorId"]["invalidFirstName"];
|
|
1407
|
+
invalidLastName: DefaultMessages["errorId"]["invalidLastName"];
|
|
1406
1408
|
requiredField: string;
|
|
1407
1409
|
invalidField: string;
|
|
1408
1410
|
invalidUrl: string;
|
|
@@ -1484,54 +1486,54 @@ export interface GenericAction {
|
|
|
1484
1486
|
payload: any;
|
|
1485
1487
|
}
|
|
1486
1488
|
export interface SetMessagesAction {
|
|
1487
|
-
type:
|
|
1489
|
+
type: "SET_MESSAGES";
|
|
1488
1490
|
messages: StringMap;
|
|
1489
1491
|
}
|
|
1490
1492
|
export interface ProgramIdAction {
|
|
1491
|
-
type:
|
|
1493
|
+
type: "PROGRAM_ID";
|
|
1492
1494
|
programId: DatabaseId;
|
|
1493
1495
|
}
|
|
1494
1496
|
export interface VerificationResponseAction {
|
|
1495
|
-
type:
|
|
1497
|
+
type: "VERIFICATION_RESPONSE";
|
|
1496
1498
|
verificationResponse: VerificationResponse;
|
|
1497
1499
|
}
|
|
1498
1500
|
export interface FieldValidationErrorsAction {
|
|
1499
|
-
type:
|
|
1501
|
+
type: "FIELD_VALIDATION_ERRORS";
|
|
1500
1502
|
fieldValidationErrors: FieldValidationErrors;
|
|
1501
1503
|
}
|
|
1502
1504
|
export interface ViewModelAction {
|
|
1503
|
-
type:
|
|
1505
|
+
type: "VIEW_MODEL";
|
|
1504
1506
|
viewModel: ViewModel;
|
|
1505
1507
|
}
|
|
1506
1508
|
export interface FormValidationOptionsAction {
|
|
1507
|
-
type:
|
|
1509
|
+
type: "FORM_VALIDATION_OPTIONS";
|
|
1508
1510
|
}
|
|
1509
1511
|
export interface PreLoadOrgsAction {
|
|
1510
|
-
type:
|
|
1512
|
+
type: "PRE_LOAD_ORGS";
|
|
1511
1513
|
orgList: Organization[];
|
|
1512
1514
|
}
|
|
1513
1515
|
export interface PreviousViewModelAction {
|
|
1514
|
-
type:
|
|
1516
|
+
type: "PREVIOUS_VIEW_MODEL";
|
|
1515
1517
|
previousViewModel: ViewModel;
|
|
1516
1518
|
}
|
|
1517
1519
|
export interface ProgramThemeAction {
|
|
1518
|
-
type:
|
|
1520
|
+
type: "PROGRAM_THEME";
|
|
1519
1521
|
programTheme: ProgramTheme;
|
|
1520
1522
|
}
|
|
1521
1523
|
export interface IsLoadingAction {
|
|
1522
|
-
type:
|
|
1524
|
+
type: "IS_LOADING";
|
|
1523
1525
|
isLoading: boolean;
|
|
1524
1526
|
loadingStep?: VerificationStep;
|
|
1525
1527
|
}
|
|
1526
1528
|
export interface IsErroredAction {
|
|
1527
|
-
type:
|
|
1529
|
+
type: "IS_ERRORED";
|
|
1528
1530
|
isErrored: boolean;
|
|
1529
1531
|
}
|
|
1530
1532
|
export interface ResetStateAction {
|
|
1531
|
-
type:
|
|
1533
|
+
type: "RESET_STATE";
|
|
1532
1534
|
}
|
|
1533
1535
|
export interface ForceUpdate {
|
|
1534
|
-
type:
|
|
1536
|
+
type: "FORCE_UPDATE";
|
|
1535
1537
|
}
|
|
1536
1538
|
export declare type VerificationServiceAction = SetMessagesAction | ProgramIdAction | VerificationResponseAction | FieldValidationErrorsAction | ViewModelAction | PreLoadOrgsAction | PreviousViewModelAction | ProgramThemeAction | IsLoadingAction | IsErroredAction | ResetStateAction | FormValidationOptionsAction | ForceUpdate;
|
|
1537
1539
|
/**
|
|
@@ -1552,16 +1554,16 @@ export declare type RegisteredHooks = {
|
|
|
1552
1554
|
* These names are meant to be descriptive, to indicate when the callback (hook) will be called.
|
|
1553
1555
|
*/
|
|
1554
1556
|
export declare type Hook = {
|
|
1555
|
-
name:
|
|
1557
|
+
name: "ON_VERIFICATION_READY";
|
|
1556
1558
|
callback: (verificationResponse: VerificationResponse) => void;
|
|
1557
1559
|
} | {
|
|
1558
|
-
name:
|
|
1560
|
+
name: "ON_VERIFICATION_SUCCESS";
|
|
1559
1561
|
callback: (verificationResponse: SuccessResponse) => void;
|
|
1560
1562
|
} | {
|
|
1561
|
-
name:
|
|
1563
|
+
name: "ON_VERIFICATION_STEP_CHANGE";
|
|
1562
1564
|
callback: (verificationResponse: SuccessResponse) => void;
|
|
1563
1565
|
};
|
|
1564
|
-
export declare type HookName =
|
|
1566
|
+
export declare type HookName = "ON_VERIFICATION_READY" | "ON_VERIFICATION_SUCCESS" | "ON_VERIFICATION_STEP_CHANGE";
|
|
1565
1567
|
/**
|
|
1566
1568
|
* @description The shape of the request payload to send when calling a conversion endpoint.
|
|
1567
1569
|
*/
|
|
@@ -1900,5 +1902,5 @@ export declare type States = {
|
|
|
1900
1902
|
/**
|
|
1901
1903
|
* @description List of locales supported by SheerID
|
|
1902
1904
|
*/
|
|
1903
|
-
export declare type Locale =
|
|
1905
|
+
export declare type Locale = "ar" | "bg" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "ga" | "hr" | "hu" | "id" | "it" | "iw" | "ja" | "ko" | "lo" | "lt" | "ms" | "nl" | "no" | "pl" | "pt-BR" | "pt" | "ru" | "sk" | "sl" | "sr" | "sv" | "th" | "tr" | "zh-HK" | "zh";
|
|
1904
1906
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from "react-redux";
|
|
2
|
+
interface TagMap {
|
|
3
|
+
[key: string]: string | ((content: string) => string | ReactNode);
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Given a tagmap will return a function that can be passed directly as the
|
|
7
|
+
* children of an FormattedHTMLMessage. See the Readme
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export declare const makeFormattedHTMLTagReplacer: (tagmap: TagMap) => (text: string | JSX.Element) => ReactNode;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DatabaseId } from
|
|
1
|
+
import { DatabaseId } from "../../types/types";
|
|
2
2
|
export declare const ensureTrailingSlash: (url: string) => string;
|
|
3
3
|
export declare const getQueryParamsFromUrl: (url?: string) => URLSearchParams;
|
|
4
4
|
export declare const getVerificationIdFromQueryString: (queryString: string) => DatabaseId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InjectedIntl } from
|
|
2
|
-
import { FieldId, FieldValidationErrors, Organization, VerificationService, FieldContent, ExtendedFieldId, InputSelectOnKeyDown, FormSelectChoice, Country, ProgramTheme, Locale, ViewModel, State, PendingResponse, DocUploadResponse, FieldDescription, FirstResponderStatus, MilitaryStatus, MedicalProfessionalStatus } from
|
|
3
|
-
import { VerificationStepsEnum, MilitaryStatusDefaultMessagesEnum, FirstResponderStatusDefaultMessagesEnum, MedicalProfessionalStatusDefaultMessagesEnum } from
|
|
1
|
+
import { InjectedIntl } from "react-intl";
|
|
2
|
+
import { FieldId, FieldValidationErrors, Organization, VerificationService, FieldContent, ExtendedFieldId, InputSelectOnKeyDown, FormSelectChoice, Country, ProgramTheme, Locale, ViewModel, State, PendingResponse, DocUploadResponse, FieldDescription, FirstResponderStatus, MilitaryStatus, MedicalProfessionalStatus } from "../../types/types";
|
|
3
|
+
import { VerificationStepsEnum, MilitaryStatusDefaultMessagesEnum, FirstResponderStatusDefaultMessagesEnum, MedicalProfessionalStatusDefaultMessagesEnum } from "../../types/runtimeTypes";
|
|
4
4
|
export declare const updateViewModelOrganization: (organization: Organization, verificationService: VerificationService) => void;
|
|
5
5
|
export declare const populateViewModelFromQueryParams: (verificationService: VerificationService) => void;
|
|
6
6
|
export declare const updateFieldValidationErrors: (fieldValidationErrors: FieldValidationErrors, verificationService: VerificationService) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormSelectChoice } from
|
|
1
|
+
import { FormSelectChoice } from "../../types/types";
|
|
2
2
|
declare type compareLabelReturn = 1 | -1;
|
|
3
3
|
export declare const compareLabel: (a: FormSelectChoice<any>, b: FormSelectChoice<any>) => compareLabelReturn;
|
|
4
4
|
export declare const SortByLabel: (choices: FormSelectChoice<any, string>[]) => FormSelectChoice<any, string>[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Validator, ExtendedFieldId } from
|
|
1
|
+
import { Validator, ExtendedFieldId } from "../types/types";
|
|
2
2
|
export declare const setCustomValidator: (validatorField: ExtendedFieldId, newValidator: Validator) => void;
|
|
3
3
|
export declare const getCustomValidator: (validatorField: ExtendedFieldId) => Validator;
|
|
4
4
|
export declare const customValidatorExists: (validatorField: ExtendedFieldId) => boolean;
|