Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

ActiveMilitaryPersonalInfoRequest

ActiveMilitaryPersonalInfoRequest: { birthDate: BirthDate; country?: Country } & WithOrganization & WithCoreFields
description

The request to submit when verification is on the step "collectActiveMilitaryPersonalInfo"

ActiveMilitaryPersonalInfoResponse

ActiveMilitaryPersonalInfoResponse: { currentStep: "collectActiveMilitaryPersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "military"; submissionUrl: string } & VerificationResponse
description

Response from REST API indicating that StudentPersonalInfoViewModel is expected to be submitted next.

ActiveMilitaryPersonalInfoViewModel

AddSchoolRequestRowProps

AddSchoolRequestRowProps: { locale: Locale; programId: DatabaseId; urlAddSchoolForm: string }

Type declaration

AddSchoolRequestViewModel

AddSchoolRequestViewModel: { email: string; firstName: string; lastName: string; programId: string; schoolCountry: Country; schoolDomain: string; schoolName: string; trackingId?: string }

Type declaration

  • email: string
  • firstName: string
  • lastName: string
  • programId: string
  • schoolCountry: Country
  • schoolDomain: string
  • schoolName: string
  • Optional trackingId?: string

AgePersonalInfoRequest

AgePersonalInfoRequest: { birthDate: BirthDate; country: Country; phoneNumber: PhoneNumber; postalCode: string } & WithCoreFields
description

The request to submit when verification is on the step "collectAgePersonalInfo"

AgePersonalInfoResponse

AgePersonalInfoResponse: { currentStep: "collectAgePersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; maxAge?: number; minAge?: number; segment: "age"; subSegment: null; submissionUrl: string } & VerificationResponse
description

Response from REST API indicating that AgePersonalInfoViewModel is expected to be submitted next.

AgePersonalInfoViewModel

AllResponseTypes

BirthDate

BirthDate: string
example

2013-03-06

template

'YYYY-MM-DD'

BoundAction

BoundAction: (...args: any[]) => Promise<object>

Type declaration

    • (...args: any[]): Promise<object>
    • Parameters

      • Rest ...args: any[]

      Returns Promise<object>

BoundActionCreator

BoundActionCreator: (dispatch: Dispatch, getState?: Function) => BoundAction
description

Create a bound action (wrapped in Redux's dispatch and ready to call)

Type declaration

    • (dispatch: Dispatch, getState?: Function): BoundAction
    • Parameters

      • dispatch: Dispatch
      • Optional getState: Function

      Returns BoundAction

ConversionRequest

ConversionRequest: { amount?: number; currency?: string; tags?: string[] }
description

The shape of the request payload to send when calling a conversion endpoint.

Type declaration

  • Optional amount?: number
  • Optional currency?: string
  • Optional tags?: string[]

ConversionResources

ConversionResources: { base: string }
description

URLs related to conversion endpoints.

Type declaration

  • base: string

ConversionResponse

ConversionResponse: { id: string }
description

The shape of the response object after calling a conversion endpoint.

Type declaration

  • id: string

CookieOptions

CookieOptions: { domain?: string; enabled: boolean; expires: number; path?: string; sameSite?: "lax" | "strict" | "none"; secure: boolean }
description

Control how cookies behave

field

expires Number of days for cookie to expire in. Use 0 to expire in same browser session.

field

secure Whether the cookie is set securely.

Type declaration

  • Optional domain?: string
  • enabled: boolean
  • expires: number
  • Optional path?: string
  • Optional sameSite?: "lax" | "strict" | "none"
  • secure: boolean

Countries

Countries: { AD: string; AE: string; AF: string; AG: string; AI: string; AL: string; AM: string; AN: string; AO: string; AR: string; AS: string; AT: string; AU: string; AW: string; AZ: string; BA: string; BB: string; BD: string; BE: string; BF: string; BG: string; BH: string; BI: string; BJ: string; BM: string; BN: string; BO: string; BR: string; BS: string; BT: string; BV: string; BW: string; BY: string; BZ: string; CA: string; CD: string; CF: string; CG: string; CH: string; CI: string; CK: string; CL: string; CM: string; CN: string; CO: string; CR: string; CU: string; CV: string; CY: string; CZ: string; DE: string; DJ: string; DK: string; DM: string; DO: string; DZ: string; EC: string; EE: string; EG: string; EH: string; ER: string; ES: string; ET: string; FI: string; FJ: string; FK: string; FM: string; FO: string; FR: string; GA: string; GB: string; GD: string; GE: string; GF: string; GH: string; GI: string; GL: string; GM: string; GN: string; GP: string; GQ: string; GR: string; GS: string; GT: string; GU: string; GW: string; GY: string; HK: string; HM: string; HN: string; HR: string; HT: string; HU: string; ID: string; IE: string; IL: string; IN: string; IO: string; IQ: string; IR: string; IS: string; IT: string; JM: string; JO: string; JP: string; KE: string; KG: string; KH: string; KI: string; KM: string; KN: string; KP: string; KR: string; KW: string; KY: string; KZ: string; LA: string; LB: string; LC: string; LI: string; LK: string; LR: string; LS: string; LT: string; LU: string; LV: string; LY: string; MA: string; MC: string; MD: string; ME: string; MG: string; MH: string; MK: string; ML: string; MM: string; MN: string; MO: string; MP: string; MQ: string; MR: string; MS: string; MT: string; MU: string; MV: string; MW: string; MX: string; MY: string; MZ: string; NA: string; NC: string; NE: string; NF: string; NG: string; NI: string; NL: string; NO: string; NP: string; NR: string; NU: string; NZ: string; OM: string; PA: string; PE: string; PF: string; PG: string; PH: string; PK: string; PL: string; PM: string; PN: string; PR: string; PS: string; PT: string; PW: string; PY: string; QA: string; RE: string; RO: string; RS: string; RU: string; RW: string; SA: string; SB: string; SC: string; SD: string; SE: string; SG: string; SH: string; SI: string; SK: string; SL: string; SM: string; SN: string; SO: string; SR: string; SS: string; ST: string; SV: string; SY: string; SZ: string; TC: string; TD: string; TF: string; TG: string; TH: string; TJ: string; TK: string; TL: string; TM: string; TN: string; TO: string; TR: string; TT: string; TV: string; TW: string; TZ: string; UA: string; UG: string; UM: string; US: string; UY: string; UZ: string; VA: string; VC: string; VE: string; VG: string; VI: string; VN: string; VU: string; WF: string; WS: string; XK: string; YE: string; YT: string; ZA: string; ZM: string; ZW: string }

Type declaration

  • AD: string
  • AE: string
  • AF: string
  • AG: string
  • AI: string
  • AL: string
  • AM: string
  • AN: string
  • AO: string
  • AR: string
  • AS: string
  • AT: string
  • AU: string
  • AW: string
  • AZ: string
  • BA: string
  • BB: string
  • BD: string
  • BE: string
  • BF: string
  • BG: string
  • BH: string
  • BI: string
  • BJ: string
  • BM: string
  • BN: string
  • BO: string
  • BR: string
  • BS: string
  • BT: string
  • BV: string
  • BW: string
  • BY: string
  • BZ: string
  • CA: string
  • CD: string
  • CF: string
  • CG: string
  • CH: string
  • CI: string
  • CK: string
  • CL: string
  • CM: string
  • CN: string
  • CO: string
  • CR: string
  • CU: string
  • CV: string
  • CY: string
  • CZ: string
  • DE: string
  • DJ: string
  • DK: string
  • DM: string
  • DO: string
  • DZ: string
  • EC: string
  • EE: string
  • EG: string
  • EH: string
  • ER: string
  • ES: string
  • ET: string
  • FI: string
  • FJ: string
  • FK: string
  • FM: string
  • FO: string
  • FR: string
  • GA: string
  • GB: string
  • GD: string
  • GE: string
  • GF: string
  • GH: string
  • GI: string
  • GL: string
  • GM: string
  • GN: string
  • GP: string
  • GQ: string
  • GR: string
  • GS: string
  • GT: string
  • GU: string
  • GW: string
  • GY: string
  • HK: string
  • HM: string
  • HN: string
  • HR: string
  • HT: string
  • HU: string
  • ID: string
  • IE: string
  • IL: string
  • IN: string
  • IO: string
  • IQ: string
  • IR: string
  • IS: string
  • IT: string
  • JM: string
  • JO: string
  • JP: string
  • KE: string
  • KG: string
  • KH: string
  • KI: string
  • KM: string
  • KN: string
  • KP: string
  • KR: string
  • KW: string
  • KY: string
  • KZ: string
  • LA: string
  • LB: string
  • LC: string
  • LI: string
  • LK: string
  • LR: string
  • LS: string
  • LT: string
  • LU: string
  • LV: string
  • LY: string
  • MA: string
  • MC: string
  • MD: string
  • ME: string
  • MG: string
  • MH: string
  • MK: string
  • ML: string
  • MM: string
  • MN: string
  • MO: string
  • MP: string
  • MQ: string
  • MR: string
  • MS: string
  • MT: string
  • MU: string
  • MV: string
  • MW: string
  • MX: string
  • MY: string
  • MZ: string
  • NA: string
  • NC: string
  • NE: string
  • NF: string
  • NG: string
  • NI: string
  • NL: string
  • NO: string
  • NP: string
  • NR: string
  • NU: string
  • NZ: string
  • OM: string
  • PA: string
  • PE: string
  • PF: string
  • PG: string
  • PH: string
  • PK: string
  • PL: string
  • PM: string
  • PN: string
  • PR: string
  • PS: string
  • PT: string
  • PW: string
  • PY: string
  • QA: string
  • RE: string
  • RO: string
  • RS: string
  • RU: string
  • RW: string
  • SA: string
  • SB: string
  • SC: string
  • SD: string
  • SE: string
  • SG: string
  • SH: string
  • SI: string
  • SK: string
  • SL: string
  • SM: string
  • SN: string
  • SO: string
  • SR: string
  • SS: string
  • ST: string
  • SV: string
  • SY: string
  • SZ: string
  • TC: string
  • TD: string
  • TF: string
  • TG: string
  • TH: string
  • TJ: string
  • TK: string
  • TL: string
  • TM: string
  • TN: string
  • TO: string
  • TR: string
  • TT: string
  • TV: string
  • TW: string
  • TZ: string
  • UA: string
  • UG: string
  • UM: string
  • US: string
  • UY: string
  • UZ: string
  • VA: string
  • VC: string
  • VE: string
  • VG: string
  • VI: string
  • VN: string
  • VU: string
  • WF: string
  • WS: string
  • XK: string
  • YE: string
  • YT: string
  • ZA: string
  • ZM: string
  • ZW: string

Country

Country: keyof Countries
description

List of countries supported by SheerID

CountryComponentWrapperProps

CountryComponentWrapperProps: { intl: InjectedIntl; nextFocusField?: string; verificationService: VerificationService; viewModel: ViewModel; viewModelDraftDecorator?: (draft: ViewModel, countryChoice?: FormSelectChoice<Country, string>) => void }

Type declaration

DatabaseId

DatabaseId: string
example

5bbd127d9781852f68e14ddc

template

digit hexadecimal

DateTimeMessages

DateTimeMessages: { 20_MIN: string; 24_HRS: string; 2_HRS: string; 2_MIN: string; 3_DAY: string; A_FEW_DAYS: string; A_FEW_HOURS: string; A_FEW_MINUTES: string; april: string; august: string; day: string; december: string; february: string; january: string; july: string; june: string; march: string; may: string; month: string; november: string; october: string; september: string; year: string }

Type declaration

  • 20_MIN: string
  • 24_HRS: string
  • 2_HRS: string
  • 2_MIN: string
  • 3_DAY: string
  • A_FEW_DAYS: string
  • A_FEW_HOURS: string
  • A_FEW_MINUTES: string
  • april: string
  • august: string
  • day: string
  • december: string
  • february: string
  • january: string
  • july: string
  • june: string
  • march: string
  • may: string
  • month: string
  • november: string
  • october: string
  • september: string
  • year: string

DefaultMessages

DefaultMessages: { ACTIVE_DUTY: string; DOCTOR: string; EMT: string; FIREFIGHTER: string; MILITARY_FAMILY: string; MILITARY_RETIREE: string; NURSE: string; OTHER_HEALTH_WORKER: string; POLICE: string; RESERVIST: string; VETERAN: string; address: string; addressPlaceholder: string; birthDate: string; branchOfService: string; branchOfServicePlaceholder: string; changeLanguage: string; city: string; cityPlaceholder: string; company: string; companyPlaceholder: string; countries: Countries; country: string; countryPlaceholder: string; dateTime: DateTimeMessages; dischargeDate: string; emailAddress: string; emailAddressPlaceholder: string; error: string; errorId: {}; firstName: string; firstNamePlaceholder: string; firstResponderInfoShared: string; howDoesReviewWork: string; howDoesVerifyingWork: string; infoShared1: string; infoShared2: string; informationTransferredToUS: string; lastName: string; lastNamePlaceholder: string; limitExceededError: string; loading: string; locales: {}; memberId: string; memberIdPlaceholder: string; militaryInfoShared: string; militaryStatus: string; noOptions: string; optional: string; organization: string; organizationPlaceholder: string; personalInformation: any; personalOrSchoolIsFine: string; phoneNumber: string; phoneNumberExplanation: string; phoneNumberWarnMessage1: string; phoneNumberWarnMessage2: string; phoneUsPlaceholder: string; postalCode: string; postalCodeExplanation: string; postalCodePlaceholder: string; poweredBy: string; privacyPolicy: string; proceed: string; requestSchool: string; requiredFields: string; school: string; schoolName: string; schoolNamePlaceholder: string; sheeridFaqs: string; smsCodePlaceholder: string; ssn: string; ssnPlaceholder: string; state: string; statePlaceholder: string; status: string; statusPlaceholder: string; step: { collectSocialSecurityNumber: { selectOption: string; title: string; uploadDoc: string; uploadInstead: string; useSsn: string }; docUpload: { acceptableUploadExamples: string; acceptableUploads: { age: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }; employment: { employeeIdCard: string; officialLetter: string; payStub: string }; firstResponder: { idCard: string; letter: string; payStub: string }; medical: { idCard: string; licenseCertificate: string; photoPayStub: string }; member: { idCard: string; payStub: string }; military: { activeDuty: string; dependent: string; reservistA: string; retiree: string; veteran: string }; senior: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }; student: { classSchedule: string; idCard: string; tuitionReceipt: string }; teacher: { idCard: string; payStub: string } }; acceptedTypes: string; addFile: string; cancelButtonLabel: string; fileInstructions: string; rejectedSubtitle: string; rejectionReasons: {}; submitButtonLabel: string; uploadInfo: { affiliation: string; age: { birthDate: string }; employment: { company: string; currentAffiliation: string }; firstResponder: { currentAffiliation: string; license: string; organization: string }; fullName: string; medical: { status: string; validDate: string }; military: { currentAffiliation: string; dischargeDate: string; serviceBranch: string; uploadInstructionsDependent: string }; organization: string; senior: { birthDate: string }; student: { enrollmentDate: string; school: string }; teacher: { currentSchoolYear: string; school: string } } }; emailLoop: { errors: { resend: string }; resendButton: string; subtitle2: string; subtitleWithEmail: string; subtitleWithoutEmail: string; successResend: string; title: string }; pending: { subtitle: string; subtitle2: string; subtitle3: string; subtitleCountdown: string; titleCountdown: string; titleReview: string }; smsLoop: { errors: { codeExpired: string; codeResendLimit: string; codeVerification: string; resend: string }; incorrectNumber: { incorrectNumber1: string; incorrectNumber2: string; incorrectNumber3: string }; resendButton: string; submitButton: string; successResend: string; titleWithNumber: string; titleWithoutNumber: string; verificationCode: string }; sso: { login: string; subtitle: string; title: string }; success: { copyCouponCode: string; emailNotification: string; verificationOnly: string } }; studentInfoShared: string; tryAgain: string; universityName: string; verificationPurposesOnly: string; verifyAndContinue: string; verifyMyEmploymentStatus: string; verifyMyFirstResponderStatus: string; verifyMyMedicalProfessionalStatus: string; verifyMyMembershipStatus: string; verifyMyMilitaryStatus: string; verifyMyStudentStatus: string; verifyMyTeacherStatus: string }
description

These strings are provided by default

Type declaration

  • ACTIVE_DUTY: string
  • DOCTOR: string
  • EMT: string
  • FIREFIGHTER: string
  • MILITARY_FAMILY: string
  • MILITARY_RETIREE: string
  • NURSE: string
  • OTHER_HEALTH_WORKER: string
  • POLICE: string
  • RESERVIST: string
  • VETERAN: string
  • address: string
  • addressPlaceholder: string
  • birthDate: string
  • branchOfService: string
  • branchOfServicePlaceholder: string
  • changeLanguage: string
  • city: string
  • cityPlaceholder: string
  • company: string
  • companyPlaceholder: string
  • countries: Countries
  • country: string
  • countryPlaceholder: string
  • dateTime: DateTimeMessages
  • dischargeDate: string
  • emailAddress: string
  • emailAddressPlaceholder: string
  • error: string
  • errorId: {}
  • firstName: string
  • firstNamePlaceholder: string
  • firstResponderInfoShared: string
  • howDoesReviewWork: string
  • howDoesVerifyingWork: string
  • infoShared1: string
  • infoShared2: string
  • informationTransferredToUS: string
  • lastName: string
  • lastNamePlaceholder: string
  • limitExceededError: string
  • loading: string
  • locales: {}
  • memberId: string
  • memberIdPlaceholder: string
  • militaryInfoShared: string
  • militaryStatus: string
  • noOptions: string
  • optional: string
  • organization: string
  • organizationPlaceholder: string
  • personalInformation: any
  • personalOrSchoolIsFine: string
  • phoneNumber: string
  • phoneNumberExplanation: string
  • phoneNumberWarnMessage1: string
  • phoneNumberWarnMessage2: string
  • phoneUsPlaceholder: string
  • postalCode: string
  • postalCodeExplanation: string
  • postalCodePlaceholder: string
  • poweredBy: string
  • privacyPolicy: string
  • proceed: string
  • requestSchool: string
  • requiredFields: string
  • school: string
  • schoolName: string
  • schoolNamePlaceholder: string
  • sheeridFaqs: string
  • smsCodePlaceholder: string
  • ssn: string
  • ssnPlaceholder: string
  • state: string
  • statePlaceholder: string
  • status: string
  • statusPlaceholder: string
  • step: { collectSocialSecurityNumber: { selectOption: string; title: string; uploadDoc: string; uploadInstead: string; useSsn: string }; docUpload: { acceptableUploadExamples: string; acceptableUploads: { age: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }; employment: { employeeIdCard: string; officialLetter: string; payStub: string }; firstResponder: { idCard: string; letter: string; payStub: string }; medical: { idCard: string; licenseCertificate: string; photoPayStub: string }; member: { idCard: string; payStub: string }; military: { activeDuty: string; dependent: string; reservistA: string; retiree: string; veteran: string }; senior: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }; student: { classSchedule: string; idCard: string; tuitionReceipt: string }; teacher: { idCard: string; payStub: string } }; acceptedTypes: string; addFile: string; cancelButtonLabel: string; fileInstructions: string; rejectedSubtitle: string; rejectionReasons: {}; submitButtonLabel: string; uploadInfo: { affiliation: string; age: { birthDate: string }; employment: { company: string; currentAffiliation: string }; firstResponder: { currentAffiliation: string; license: string; organization: string }; fullName: string; medical: { status: string; validDate: string }; military: { currentAffiliation: string; dischargeDate: string; serviceBranch: string; uploadInstructionsDependent: string }; organization: string; senior: { birthDate: string }; student: { enrollmentDate: string; school: string }; teacher: { currentSchoolYear: string; school: string } } }; emailLoop: { errors: { resend: string }; resendButton: string; subtitle2: string; subtitleWithEmail: string; subtitleWithoutEmail: string; successResend: string; title: string }; pending: { subtitle: string; subtitle2: string; subtitle3: string; subtitleCountdown: string; titleCountdown: string; titleReview: string }; smsLoop: { errors: { codeExpired: string; codeResendLimit: string; codeVerification: string; resend: string }; incorrectNumber: { incorrectNumber1: string; incorrectNumber2: string; incorrectNumber3: string }; resendButton: string; submitButton: string; successResend: string; titleWithNumber: string; titleWithoutNumber: string; verificationCode: string }; sso: { login: string; subtitle: string; title: string }; success: { copyCouponCode: string; emailNotification: string; verificationOnly: string } }
    • collectSocialSecurityNumber: { selectOption: string; title: string; uploadDoc: string; uploadInstead: string; useSsn: string }
      • selectOption: string
      • title: string
      • uploadDoc: string
      • uploadInstead: string
      • useSsn: string
    • docUpload: { acceptableUploadExamples: string; acceptableUploads: { age: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }; employment: { employeeIdCard: string; officialLetter: string; payStub: string }; firstResponder: { idCard: string; letter: string; payStub: string }; medical: { idCard: string; licenseCertificate: string; photoPayStub: string }; member: { idCard: string; payStub: string }; military: { activeDuty: string; dependent: string; reservistA: string; retiree: string; veteran: string }; senior: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }; student: { classSchedule: string; idCard: string; tuitionReceipt: string }; teacher: { idCard: string; payStub: string } }; acceptedTypes: string; addFile: string; cancelButtonLabel: string; fileInstructions: string; rejectedSubtitle: string; rejectionReasons: {}; submitButtonLabel: string; uploadInfo: { affiliation: string; age: { birthDate: string }; employment: { company: string; currentAffiliation: string }; firstResponder: { currentAffiliation: string; license: string; organization: string }; fullName: string; medical: { status: string; validDate: string }; military: { currentAffiliation: string; dischargeDate: string; serviceBranch: string; uploadInstructionsDependent: string }; organization: string; senior: { birthDate: string }; student: { enrollmentDate: string; school: string }; teacher: { currentSchoolYear: string; school: string } } }
      • acceptableUploadExamples: string
      • acceptableUploads: { age: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }; employment: { employeeIdCard: string; officialLetter: string; payStub: string }; firstResponder: { idCard: string; letter: string; payStub: string }; medical: { idCard: string; licenseCertificate: string; photoPayStub: string }; member: { idCard: string; payStub: string }; military: { activeDuty: string; dependent: string; reservistA: string; retiree: string; veteran: string }; senior: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }; student: { classSchedule: string; idCard: string; tuitionReceipt: string }; teacher: { idCard: string; payStub: string } }
        • age: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }
          • birthCertificate: string
          • driversLicense: string
          • passport: string
          • stateId: string
        • employment: { employeeIdCard: string; officialLetter: string; payStub: string }
          • employeeIdCard: string
          • officialLetter: string
          • payStub: string
        • firstResponder: { idCard: string; letter: string; payStub: string }
          • idCard: string
          • letter: string
          • payStub: string
        • medical: { idCard: string; licenseCertificate: string; photoPayStub: string }
          • idCard: string
          • licenseCertificate: string
          • photoPayStub: string
        • member: { idCard: string; payStub: string }
          • idCard: string
          • payStub: string
        • military: { activeDuty: string; dependent: string; reservistA: string; retiree: string; veteran: string }
          • activeDuty: string
          • dependent: string
          • reservistA: string
          • retiree: string
          • veteran: string
        • senior: { birthCertificate: string; driversLicense: string; passport: string; stateId: string }
          • birthCertificate: string
          • driversLicense: string
          • passport: string
          • stateId: string
        • student: { classSchedule: string; idCard: string; tuitionReceipt: string }
          • classSchedule: string
          • idCard: string
          • tuitionReceipt: string
        • teacher: { idCard: string; payStub: string }
          • idCard: string
          • payStub: string
      • acceptedTypes: string
      • addFile: string
      • cancelButtonLabel: string
      • fileInstructions: string
      • rejectedSubtitle: string
      • rejectionReasons: {}
      • submitButtonLabel: string
      • uploadInfo: { affiliation: string; age: { birthDate: string }; employment: { company: string; currentAffiliation: string }; firstResponder: { currentAffiliation: string; license: string; organization: string }; fullName: string; medical: { status: string; validDate: string }; military: { currentAffiliation: string; dischargeDate: string; serviceBranch: string; uploadInstructionsDependent: string }; organization: string; senior: { birthDate: string }; student: { enrollmentDate: string; school: string }; teacher: { currentSchoolYear: string; school: string } }
        • affiliation: string
        • age: { birthDate: string }
          • birthDate: string
        • employment: { company: string; currentAffiliation: string }
          • company: string
          • currentAffiliation: string
        • firstResponder: { currentAffiliation: string; license: string; organization: string }
          • currentAffiliation: string
          • license: string
          • organization: string
        • fullName: string
        • medical: { status: string; validDate: string }
          • status: string
          • validDate: string
        • military: { currentAffiliation: string; dischargeDate: string; serviceBranch: string; uploadInstructionsDependent: string }
          • currentAffiliation: string
          • dischargeDate: string
          • serviceBranch: string
          • uploadInstructionsDependent: string
        • organization: string
        • senior: { birthDate: string }
          • birthDate: string
        • student: { enrollmentDate: string; school: string }
          • enrollmentDate: string
          • school: string
        • teacher: { currentSchoolYear: string; school: string }
          • currentSchoolYear: string
          • school: string
    • emailLoop: { errors: { resend: string }; resendButton: string; subtitle2: string; subtitleWithEmail: string; subtitleWithoutEmail: string; successResend: string; title: string }
      • errors: { resend: string }
        • resend: string
      • resendButton: string
      • subtitle2: string
      • subtitleWithEmail: string
      • subtitleWithoutEmail: string
      • successResend: string
      • title: string
    • pending: { subtitle: string; subtitle2: string; subtitle3: string; subtitleCountdown: string; titleCountdown: string; titleReview: string }
      • subtitle: string
      • subtitle2: string
      • subtitle3: string
      • subtitleCountdown: string
      • titleCountdown: string
      • titleReview: string
    • smsLoop: { errors: { codeExpired: string; codeResendLimit: string; codeVerification: string; resend: string }; incorrectNumber: { incorrectNumber1: string; incorrectNumber2: string; incorrectNumber3: string }; resendButton: string; submitButton: string; successResend: string; titleWithNumber: string; titleWithoutNumber: string; verificationCode: string }
      • errors: { codeExpired: string; codeResendLimit: string; codeVerification: string; resend: string }
        • codeExpired: string
        • codeResendLimit: string
        • codeVerification: string
        • resend: string
      • incorrectNumber: { incorrectNumber1: string; incorrectNumber2: string; incorrectNumber3: string }
        • incorrectNumber1: string
        • incorrectNumber2: string
        • incorrectNumber3: string
      • resendButton: string
      • submitButton: string
      • successResend: string
      • titleWithNumber: string
      • titleWithoutNumber: string
      • verificationCode: string
    • sso: { login: string; subtitle: string; title: string }
      • login: string
      • subtitle: string
      • title: string
    • success: { copyCouponCode: string; emailNotification: string; verificationOnly: string }
      • copyCouponCode: string
      • emailNotification: string
      • verificationOnly: string
  • studentInfoShared: string
  • tryAgain: string
  • universityName: string
  • verificationPurposesOnly: string
  • verifyAndContinue: string
  • verifyMyEmploymentStatus: string
  • verifyMyFirstResponderStatus: string
  • verifyMyMedicalProfessionalStatus: string
  • verifyMyMembershipStatus: string
  • verifyMyMilitaryStatus: string
  • verifyMyStudentStatus: string
  • verifyMyTeacherStatus: string

DischargeDate

DischargeDate: string
description

TODO

DocUploadRequest

DocUploadRequest: { file1: File; file2?: File; file3?: File; metadata?: Metadata }
description

The request to submit when verification is on the step "docUpload"

Type declaration

  • file1: File
  • Optional file2?: File
  • Optional file3?: File
  • Optional metadata?: Metadata

DocUploadResponse

DocUploadResponse: { currentStep: "docUpload"; errorIds?: [ErrorId]; rejectionReasons?: RejectionReasons[]; submissionUrl: string; verificationId: DatabaseId } & WithLocaleAndSegment
description

Response from REST API indicating that DocUploadRequest is expected to be submitted next.

DocUploadViewModel

Email

Email: string
todo

document constraints here

EmailLoopResponse

EmailLoopResponse: { canResendEmailLoop: boolean; currentStep: "emailLoop"; errorIds?: [ErrorId]; submissionUrl: string; verificationId: DatabaseId } & WithLocaleAndSegment

EmailLoopVerificationRequest

EmailLoopVerificationRequest: { deviceFingerprintHash?: string; emailToken: string }

Type declaration

  • Optional deviceFingerprintHash?: string
  • emailToken: string

EmailLoopViewModel

EmailLoopViewModel: { deviceFingerprintHash?: string; emailToken: string; metadata?: Metadata } & WithLocaleAndCountry & WithFieldsToSkipValidation

EmploymentPersonalInfoRequest

EmploymentPersonalInfoRequest: { phoneNumber?: PhoneNumber; postalCode: string; shouldCollectAddress?: Boolean } & WithAddress & WithOrganization & WithCoreFields
description

The request to submit when verification is on the step "collectEmployeePersonalInfo"

EmploymentPersonalInfoResponse

EmploymentPersonalInfoResponse: { currentStep: "collectEmployeePersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "employment"; subSegment: null; submissionUrl: string } & VerificationResponse

EmploymentPersonalInfoViewModel

ErrorId

ErrorId: "apiRateLimitExceeded" | "dischargeDateBeforeBirthDate" | "docReviewLimitExceeded" | "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" | "invalidStep" | "marketConsentRequired" | "maxMetadataLengthExceeded" | "maxMetadataValuesExceeded" | "maxSMSCodeLimitExceeded" | "noProgram" | "noRemainingRewardCodes" | "notApproved" | "notFound" | "noValidFiles" | "noVerification" | "outsideAgePerson" | "simulatedError" | "unauthorizedDomain" | "underagePerson" | "unknownError" | "unsupportedDocMimeType" | "verificationLimitExceeded" | "invalidEmailLoopToken" | NetworkErrorId

ErrorResponse

ErrorResponse: { currentStep: "error"; errorIds: [ErrorId]; subSegment: SubSegment | null; verificationId: DatabaseId } & WithLocaleAndSegment
description

Response from REST API. Unrecoverable error. No further requests are expected. Recommend starting over.

EstimatedReviewTime

EstimatedReviewTime: "A_FEW_MINUTES" | "A_FEW_HOURS" | "A_FEW_DAYS"

ExtendedErrorId

ExtendedErrorId: string | undefined

ExtendedFieldId

ExtendedFieldId: FieldId | string
description

TODO

ExtendedFieldValidationErrors

ExtendedFieldValidationErrors: StringMap
description

TODO

FaqUrl

FaqUrl: string

FetchOrganizationResponse

FetchOrganizationResponse: Promise<OrganizationSearchResp | undefined>

FieldContent

FieldContent: string | number | FileWithPreview | FormSelectChoice<Country, string> | Organization | boolean
description

TODO

FieldId

FieldId: "firstName" | "lastName" | "memberId" | "organization" | "birthDate" | "email" | "phoneNumber" | "postalCode" | "address1" | "city" | "state" | "dischargeDate" | "status" | "docUpload" | "country" | "smsCode" | "socialSecurityNumber" | "marketConsentValue" | "carrierConsentValue"
description

All possible fields

FieldRef

FieldRef: { fieldId: FieldId | ExtendedFieldId; ref: HTMLElement }
description

Configurable refs that can be defined when rendering FormField components.

Type declaration

FieldValidationErrors

FieldValidationErrors: {}
description

The object that contains all possible field ids for setting & displaying field errors, if any

Type declaration

FirstResponderPersonalInfoRequest

FirstResponderPersonalInfoRequest: { birthDate: BirthDate; country?: Country; postalCode?: string; status: FirstResponderStatus } & WithOrganization & WithCoreFields
description

The request to submit when verification is on the step "collectFirstResponderPersonalInfo" Provide postalCode when organization.id = 0 for better verification results.

FirstResponderPersonalInfoResponse

FirstResponderPersonalInfoResponse: { availableStatuses?: [FirstResponderStatus]; currentStep: "collectFirstResponderPersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "firstResponder"; submissionUrl: string } & VerificationResponse

FirstResponderPersonalInfoViewModel

FirstResponderStatus

FirstResponderStatus: "FIREFIGHTER" | "EMT" | "POLICE"
description

TODO

FormSelectChoice

FormSelectChoice<v, l>: { label: l; value: v }
description

A model to back many of this library's <select> elements. For compatibility, a default for value of string or number is allowed. Made generic to allow arbitrary types (e.g. FormSelectChoice<Locale, string>)

Type parameters

  • v

  • l

Type declaration

  • label: l
  • value: v

FormValidationOptions

FormValidationOptions: { currentStep?: VerificationStep; maxAge?: number; minAge?: number; smsLoopEnabled?: boolean; viewModel?: ViewModel }

Type declaration

  • Optional currentStep?: VerificationStep
  • Optional maxAge?: number
  • Optional minAge?: number
  • Optional smsLoopEnabled?: boolean
  • Optional viewModel?: ViewModel

Hook

Hook: { callback: (verificationResponse: VerificationResponse) => void; name: "ON_VERIFICATION_READY" } | { callback: (verificationResponse: SuccessResponse) => void; name: "ON_VERIFICATION_SUCCESS" } | { callback: (verificationResponse: SuccessResponse) => void; name: "ON_VERIFICATION_STEP_CHANGE" }
description

Defines a list of hooks names that are available. Certain events throughout the software will call an arbitrary callback, by this name. These names are meant to be descriptive, to indicate when the callback (hook) will be called.

HookName

HookName: "ON_VERIFICATION_READY" | "ON_VERIFICATION_SUCCESS" | "ON_VERIFICATION_STEP_CHANGE"

HowDoesVerifyingWorkMessages

HowDoesVerifyingWorkMessages: Record<Segment, Messages>

IframeOptions

IframeOptions: { className: string }

Type declaration

  • className: string

IframeUserConfiguration

IframeUserConfiguration: { closeButtonText?: string; mobileRedirect?: boolean; mobileThreshold?: string | number; stopPropagation?: boolean }
description

Configuration for a verification being displayed on an iframe.

Type declaration

  • Optional closeButtonText?: string
  • Optional mobileRedirect?: boolean
  • Optional mobileThreshold?: string | number
  • Optional stopPropagation?: boolean

InactiveMilitaryPersonalInfoRequest

InactiveMilitaryPersonalInfoRequest: { birthDate: BirthDate; country?: Country; dischargeDate: DischargeDate } & WithOrganization & WithCoreFields
description

The request to submit when verification is on the step "collectInactiveMilitaryPersonalInfo"

InactiveMilitaryPersonalInfoResponse

InactiveMilitaryPersonalInfoResponse: { currentStep: "collectInactiveMilitaryPersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "military"; submissionUrl: string } & VerificationResponse
description

Response from REST API indicating that StudentPersonalInfoViewModel is expected to be submitted next.

InactiveMilitaryPersonalInfoViewModel

InputSelectOnKeyDown

InputSelectOnKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void

Type declaration

    • (event: KeyboardEvent<HTMLInputElement>): void
    • Parameters

      • event: KeyboardEvent<HTMLInputElement>

      Returns void

InputTextProps

InputTextProps: { className?: string; hidePlaceholder?: boolean; id: string; isErrored: boolean; onChange?: React.ChangeEventHandler; onKeyDown?: React.ChangeEventHandler; ref?: never; refId?: string; required?: boolean; type?: "text" | "email" | "password" | "search" | "url" | "tel" } & AllHTMLAttributes<HTMLInputElement> & InjectedIntlProps

Intl

Intl: any
deprecated

Locale

Locale: "ar" | "bg" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "hr" | "hu" | "id" | "is" | "it" | "iw" | "ja" | "ko" | "lt" | "ms" | "nl" | "no" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "tr" | "zh-HK" | "zh"
description

List of locales supported by SheerID

LogLevel

LogLevel: "info" | "log" | "warn" | "error"

MarketConsentOptions

MarketConsentOptions: { enabled: boolean; message: string; required: boolean }

Type declaration

  • enabled: boolean
  • message: string
  • required: boolean

MaxReviewTime

MaxReviewTime: "2_MIN" | "20_MIN" | "2_HRS" | "24_HRS" | "3_DAY"

MedicalProfessionalPersonalInfoRequest

MedicalProfessionalPersonalInfoRequest: { birthDate: BirthDate; country: Country; postalCode: string; status: MedicalProfessionalStatus } & WithOrganization & WithCoreFields
description

The request to submit when verification is on the step "collectMedicalProfessionalPersonalInfo"

MedicalProfessionalPersonalInfoResponse

MedicalProfessionalPersonalInfoResponse: { availableStatuses?: [MedicalProfessionalStatus]; currentStep: "collectMedicalProfessionalPersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "medical"; submissionUrl: string } & VerificationResponse

MedicalProfessionalPersonalInfoViewModel

MedicalProfessionalStatus

MedicalProfessionalStatus: "NURSE" | "DOCTOR" | "OTHER_HEALTH_WORKER"

MedicalStatusRequest

MedicalStatusRequest: { status: MedicalProfessionalStatus }

Type declaration

MemberId

MemberId: string
example

1234567 | A01205257

MemberPersonalInfoRequest

MemberPersonalInfoRequest: { birthDate?: BirthDate; memberId?: MemberId; phoneNumber?: PhoneNumber } & WithOrganization & WithCoreFields
description

The request to submit when verification is on the step "collectMemberPersonalInfo"

MemberPersonalInfoResponse

MemberPersonalInfoResponse: { currentStep: "collectMemberPersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "member"; subSegment: null; submissionUrl: string } & VerificationResponse

MemberPersonalInfoViewModel

Messages

Messages: { default: string; docUpload: string }

Type declaration

  • default: string
  • docUpload: string

Metadata

Metadata: {}
example

{ 'someKey': 'someValue' }

Type declaration

  • [key: string]: string | boolean

MetadataConfig

MetadataConfig: { enabled: boolean; keys: string[] }

Type declaration

  • enabled: boolean
  • keys: string[]

MilitaryStatus

MilitaryStatus: "ACTIVE_DUTY" | "VETERAN" | "RESERVIST" | "MILITARY_RETIREE" | "MILITARY_FAMILY"
description

TODO

MilitaryStatusRequest

MilitaryStatusRequest: { status: MilitaryStatus }
description

The request to submit when verification is on the step "collectMilitaryStatus"

Type declaration

MilitaryStatusResponse

MilitaryStatusResponse: { availableStatuses?: [MilitaryStatus]; currentStep: "collectMilitaryStatus"; errorIds?: [ErrorId]; segment: "military"; submissionUrl: string } & VerificationResponse
description

Response from REST API indicating that StudentPersonalInfoViewModel is expected to be submitted next.

MockStep

MockStep: VerificationStep | "loading"

NetworkErrorId

NetworkErrorId: "failedToFetch" | "requestTimeout"

NewVerificationRequest

NewVerificationRequest: { programId: DatabaseId; trackingId?: string }

Type declaration

  • programId: DatabaseId
  • Optional trackingId?: string

Options

Options: { cookies?: CookieOptions; customCss?: ProgramTheme["customCss"]; customMetadata?: MetadataConfig; doFetchTheme?: boolean; httpRequestTimeout?: number; locale?: Locale; logLevel?: LogLevel; logoUrl?: ProgramTheme["logoUrl"]; marketConsent?: MarketConsentOptions; messages?: object; messagesWithLocale?: object; minimumOrganizationSearchLength?: number; mockErrorId?: ErrorId; mockStep?: MockStep; mockSubSegment?: SubSegment; privacyPolicyUrl?: ProgramTheme["privacyPolicyUrl"]; restApi?: RestApiOptions; urlAddSchoolFaq?: string; urlAddSchoolForm?: string; urlAgeFaq?: string; urlEmploymentFaq?: string; urlFirstResponderFaq?: string; urlMedicalFaq?: string; urlMemberFaq?: string; urlMilitaryFaq?: string; urlSeniorFaq?: string; urlStudentFaq?: string; urlTeacherFaq?: string; useFingerprinting?: boolean; verificationId?: string }
description

Configurable options that can be passed when initializing this library.

Type declaration

  • Optional cookies?: CookieOptions
  • Optional customCss?: ProgramTheme["customCss"]
  • Optional customMetadata?: MetadataConfig
  • Optional doFetchTheme?: boolean
  • Optional httpRequestTimeout?: number
  • Optional locale?: Locale
  • Optional logLevel?: LogLevel
  • Optional logoUrl?: ProgramTheme["logoUrl"]
  • Optional marketConsent?: MarketConsentOptions
  • Optional messages?: object
  • Optional messagesWithLocale?: object
  • Optional minimumOrganizationSearchLength?: number
  • Optional mockErrorId?: ErrorId
  • Optional mockStep?: MockStep
  • Optional mockSubSegment?: SubSegment
  • Optional privacyPolicyUrl?: ProgramTheme["privacyPolicyUrl"]
  • Optional restApi?: RestApiOptions
  • Optional urlAddSchoolFaq?: string
  • Optional urlAddSchoolForm?: string
  • Optional urlAgeFaq?: string
  • Optional urlEmploymentFaq?: string
  • Optional urlFirstResponderFaq?: string
  • Optional urlMedicalFaq?: string
  • Optional urlMemberFaq?: string
  • Optional urlMilitaryFaq?: string
  • Optional urlSeniorFaq?: string
  • Optional urlStudentFaq?: string
  • Optional urlTeacherFaq?: string
  • Optional useFingerprinting?: boolean
  • Optional verificationId?: string

OrganizationId

OrganizationId: number
description

TODO

OrganizationName

OrganizationName: string
description

TODO

OrganizationType

OrganizationType: "UNIVERSITY" | "POST_SECONDARY" | "MEMBERSHIP" | "MILITARY" | "FIRST_RESPONDER" | "MEDICAL" | "NON_PROFIT" | "CORPORATE" | "K12" | "AGE_ID" | "HIGH_SCHOOL" | "NONE"

OverrideableComponentName

OverrideableComponentName: "StepStudentPersonalInfoComponent" | "StepSeniorPersonalInfoComponent" | "StepAgePersonalInfoComponent" | "StepTeacherPersonalInfoComponent" | "StepMemberPersonalInfoComponent" | "StepCollectMilitaryStatusComponent" | "StepActiveMilitaryPersonalInfoComponent" | "StepInactiveMilitaryPersonalInfoComponent" | "StepFirstResponderPersonalInfoComponent" | "StepMedicalProfessionalPersonalInfoComponent" | "StepEmploymentPersonalInfoComponent" | "StepSuccessComponent" | "StepDocUploadComponent" | "StepPendingComponent" | "StepPendingEmailLoopComponent" | "StepErrorComponent" | "StepSSOComponent" | "StepSMSLoopComponent" | "StepEmailLoopComponent" | "StepSocialSecurity" | "RequestOrganizationSuccessComponent" | "RequestOrganizationErrorComponent" | "RequestOrganizationSearchComponent"

PendingResponse

PendingResponse: { currentStep: "pending"; statusUrl: string; verificationId: DatabaseId } & WithLocaleAndSegment
description

Response from REST API. Poll statusUrl for updates while document is reviewed.

PersonalInfoResponse

description

Intersection type for all *PersonalInfo responses

PersonalInfoViewModel

PhoneNumber

PhoneNumber: string
example

(111) 222-3333 | 1112223333 | 111-222-3333 TODO - Update this when PhoneNumberValidator regex changes.

PostMessagesOptions

PostMessagesOptions: { interval: number; origin: VerificationUrl }
description

Options for the message events send by a verification loaded on an iframe. These event are used to resize a modal containing a verification.

Type declaration

PostalCodeMatchers

PostalCodeMatchers: Partial<{}>

ProgramResources

ProgramResources: { base: string; organization: string; theme: string }

Type declaration

  • base: string
  • organization: string
  • theme: string

ProgramTheme

ProgramTheme: { config: { countries: Country[]; customFaqLink: FaqUrl; customMetadata: MetadataConfig; estimatedReviewTime: EstimatedReviewTime; excludedOrganizationIds: number[]; locales: Locale[]; marketConsent: MarketConsentOptions; maxReviewTime: MaxReviewTime; orgSearchCountryTags?: {}; orgSearchUrl: string; orgTypes: OrganizationType[] }; customCss: string; intl: { locale: Locale; messages: ProgramThemeMessages }; isSmsNotifierConfigured?: boolean; isTestMode?: boolean; logoUrl?: string; openOrgSearchEnabled?: boolean; privacyPolicyUrl?: string; smsLoopEnabled?: boolean }
description

Theme information about the Program that was created at my.sheerid.com

Type declaration

ProgramThemeMessages

ProgramThemeMessages: { companyName: string; step: { docUpload: { subtitle: string; title: string }; personalInfo: { title: string }; success: { redirectButtonText: string; redirectUrl: string; subtitle: string; title: string } } }
description

These strings are set by a user editing your program in my.sheerid.com

Type declaration

  • companyName: string
  • step: { docUpload: { subtitle: string; title: string }; personalInfo: { title: string }; success: { redirectButtonText: string; redirectUrl: string; subtitle: string; title: string } }
    • docUpload: { subtitle: string; title: string }
      • subtitle: string
      • title: string
    • personalInfo: { title: string }
      • title: string
    • success: { redirectButtonText: string; redirectUrl: string; subtitle: string; title: string }
      • redirectButtonText: string
      • redirectUrl: string
      • subtitle: string
      • title: string

RejectionReasons

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"

RequestOrganizationMessages

RequestOrganizationMessages: { changeLanguage?: DefaultMessages["changeLanguage"]; completeRequest: string; copied: string; countries?: DefaultMessages["countries"]; country?: DefaultMessages["country"]; description: string; eligibleOrgs: string; errorId: { invalidCountry: DefaultMessages["errorId"]["invalidCountry"]; invalidEmail: DefaultMessages["errorId"]["invalidEmail"]; invalidField: string; invalidFirstName: DefaultMessages["errorId"]["invalidFirstName"]; invalidLastName: DefaultMessages["errorId"]["invalidLastName"]; invalidUrl: string; requiredField: string; tooManyResults: string }; faq: string; fields: { countryPlaceholder: string; domainLabel: string; domainPlaceholder: string; orgNameLabel: string; orgNamePlaceholder: string }; ineligibleOrgs: string; locales?: DefaultMessages["locales"]; noCountry: string; none: string; poweredBy?: DefaultMessages["poweredBy"]; searchByOrgName: string; step: { error: { contactUs: string; description: string; seeingProblem: string; title: string }; success: { description: string; title: string } }; submit: string; title: string }
description

These strings are provided for the Request Organization Form

Type declaration

  • Optional changeLanguage?: DefaultMessages["changeLanguage"]
  • completeRequest: string
  • copied: string
  • Optional countries?: DefaultMessages["countries"]
  • Optional country?: DefaultMessages["country"]
  • description: string
  • eligibleOrgs: string
  • errorId: { invalidCountry: DefaultMessages["errorId"]["invalidCountry"]; invalidEmail: DefaultMessages["errorId"]["invalidEmail"]; invalidField: string; invalidFirstName: DefaultMessages["errorId"]["invalidFirstName"]; invalidLastName: DefaultMessages["errorId"]["invalidLastName"]; invalidUrl: string; requiredField: string; tooManyResults: string }
    • invalidCountry: DefaultMessages["errorId"]["invalidCountry"]
    • invalidEmail: DefaultMessages["errorId"]["invalidEmail"]
    • invalidField: string
    • invalidFirstName: DefaultMessages["errorId"]["invalidFirstName"]
    • invalidLastName: DefaultMessages["errorId"]["invalidLastName"]
    • invalidUrl: string
    • requiredField: string
    • tooManyResults: string
  • faq: string
  • fields: { countryPlaceholder: string; domainLabel: string; domainPlaceholder: string; orgNameLabel: string; orgNamePlaceholder: string }
    • countryPlaceholder: string
    • domainLabel: string
    • domainPlaceholder: string
    • orgNameLabel: string
    • orgNamePlaceholder: string
  • ineligibleOrgs: string
  • Optional locales?: DefaultMessages["locales"]
  • noCountry: string
  • none: string
  • Optional poweredBy?: DefaultMessages["poweredBy"]
  • searchByOrgName: string
  • step: { error: { contactUs: string; description: string; seeingProblem: string; title: string }; success: { description: string; title: string } }
    • error: { contactUs: string; description: string; seeingProblem: string; title: string }
      • contactUs: string
      • description: string
      • seeingProblem: string
      • title: string
    • success: { description: string; title: string }
      • description: string
      • title: string
  • submit: string
  • title: string

RequestOrganizationViewModel

RequestOrganizationViewModel: { completeRequest: boolean; countryChoice: FormSelectChoice<Country, string>; displayResults: boolean; eligibleOrgs: Organization[]; email: string; emailError: string; firstName: string; firstNameError: string; ineligibleOrgs: Organization[]; isSearching: boolean; lastName: string; lastNameError: string; localeChoice: FormSelectChoice<Locale, string>; orgCountryError: string; orgDomain: string; orgDomainError: string; orgName: string; orgNameError: string; searchByOrgName: boolean }

Type declaration

  • completeRequest: boolean
  • countryChoice: FormSelectChoice<Country, string>
  • displayResults: boolean
  • eligibleOrgs: Organization[]
  • email: string
  • emailError: string
  • firstName: string
  • firstNameError: string
  • ineligibleOrgs: Organization[]
  • isSearching: boolean
  • lastName: string
  • lastNameError: string
  • localeChoice: FormSelectChoice<Locale, string>
  • orgCountryError: string
  • orgDomain: string
  • orgDomainError: string
  • orgName: string
  • orgNameError: string
  • searchByOrgName: boolean

RestApiOptions

RestApiOptions: { resources: RestResources; serviceUrl: string }

Type declaration

RestResources

RestResources: { conversion: ConversionResources; program: ProgramResources; verification: string }

Type declaration

SMSLoopResponse

SMSLoopResponse: { currentStep: "smsLoop"; errorIds?: [ErrorId]; submissionUrl: string; verificationId: DatabaseId } & WithLocaleAndSegment

SMSLoopVerificationRequest

SMSLoopVerificationRequest: { deviceFingerprintHash?: string; smsCode: string }

Type declaration

  • Optional deviceFingerprintHash?: string
  • smsCode: string

SMSLoopViewModel

SMSLoopViewModel: { deviceFingerprintHash?: string; metadata?: Metadata; phoneNumber: string; smsCode: string } & WithLocaleAndCountry & WithFieldsToSkipValidation

SSOResponse

SSOResponse: { cancelUrl: string; currentStep: "sso"; errorIds?: [ErrorId]; loginUrl: string; verificationId: DatabaseId } & WithLocaleAndSegment
description

Response from REST API indicating that SSO is expected to be submitted next.

SSOViewModel

SSOViewModel: { isSSOActive: boolean; metadata?: Metadata } & WithLocaleAndCountry & WithFieldsToSkipValidation

Segment

Segment: "student" | "military" | "teacher" | "member" | "senior" | "age" | "firstResponder" | "medical" | "employment"

SegmentSpecificMessages

SegmentSpecificMessages: { emailExplanation: string; schoolName?: string; step: { docUpload: { howDoesVerifyingWorkDetails: string; subtitle: string; title: string; uploadInstructions: string }; personalInfo: { howDoesVerifyingWorkDetails: string; subtitle: string; title: string; tryAgain: { subtitle: string; title: string } }; sso?: { cancel: string; login: string; subtitle: string; subtitle2: string; title: string }; success: { redirectButtonText: string; subtitle: string; title: string } } }
description

These strings vary by program segment

Type declaration

  • emailExplanation: string
  • Optional schoolName?: string
  • step: { docUpload: { howDoesVerifyingWorkDetails: string; subtitle: string; title: string; uploadInstructions: string }; personalInfo: { howDoesVerifyingWorkDetails: string; subtitle: string; title: string; tryAgain: { subtitle: string; title: string } }; sso?: { cancel: string; login: string; subtitle: string; subtitle2: string; title: string }; success: { redirectButtonText: string; subtitle: string; title: string } }
    • docUpload: { howDoesVerifyingWorkDetails: string; subtitle: string; title: string; uploadInstructions: string }
      • howDoesVerifyingWorkDetails: string
      • subtitle: string
      • title: string
      • uploadInstructions: string
    • personalInfo: { howDoesVerifyingWorkDetails: string; subtitle: string; title: string; tryAgain: { subtitle: string; title: string } }
      • howDoesVerifyingWorkDetails: string
      • subtitle: string
      • title: string
      • tryAgain: { subtitle: string; title: string }
        • subtitle: string
        • title: string
    • Optional sso?: { cancel: string; login: string; subtitle: string; subtitle2: string; title: string }
      • cancel: string
      • login: string
      • subtitle: string
      • subtitle2: string
      • title: string
    • success: { redirectButtonText: string; subtitle: string; title: string }
      • redirectButtonText: string
      • subtitle: string
      • title: string

SeniorPersonalInfoRequest

SeniorPersonalInfoRequest: { birthDate: BirthDate; postalCode: string } & WithCoreFields
description

The request to submit when verification is on the step "collectSeniorPersonalInfo"

SeniorPersonalInfoResponse

SeniorPersonalInfoResponse: { currentStep: "collectSeniorPersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "senior"; subSegment: null; submissionUrl: string } & VerificationResponse
description

Response from REST API indicating that SeniorPersonalInfoViewModel is expected to be submitted next.

SeniorPersonalInfoViewModel

SocialSecurityRequest

SocialSecurityRequest: { socialSecurityNumber: number }

Type declaration

  • socialSecurityNumber: number

SocialSecurityResponse

SocialSecurityResponse: { cancelUrl: string; currentStep: "collectSocialSecurityNumber"; errorIds?: [ErrorId]; submissionUrl: string; verificationId: DatabaseId } & WithLocaleAndSegment

SocialSecurityViewModel

SocialSecurityViewModel: { metadata?: Metadata; socialSecurityNumber: string } & WithLocaleAndCountry & WithFieldsToSkipValidation

StepComponent

StepComponent: FunctionComponent<{ verificationService: VerificationService }>

StudentPersonalInfoRequest

StudentPersonalInfoRequest: { birthDate: BirthDate } & WithOrganization & WithCoreFields
description

The request to submit when verification is on the step "collectStudentPersonalInfo"

StudentPersonalInfoResponse

StudentPersonalInfoResponse: { currentStep: "collectStudentPersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "student"; subSegment: null; submissionUrl: string } & VerificationResponse
description

Response from REST API indicating that StudentPersonalInfoViewModel is expected to be submitted next.

StudentPersonalInfoViewModel

SubSegment

SubSegment: "college" | "highSchool" | "activeDuty" | "reservist" | "veteran" | "retiree" | "militaryFamily" | "police" | "emt" | "fireFighter" | "nurse" | "doctor"

SuccessResponse

SuccessResponse: { currentStep: "success"; redirectUrl?: string; rewardCode: string; verificationId: DatabaseId } & WithLocaleAndSegment
description

Response from REST API. No further requests are expected.

TeacherPersonalInfoRequest

TeacherPersonalInfoRequest: { postalCode?: string } & WithOrganization & WithCoreFields
description

The request to submit when verification is on the step "collectTeacherPersonalInfo"

TeacherPersonalInfoResponse

TeacherPersonalInfoResponse: { currentStep: "collectTeacherPersonalInfo"; errorIds?: [ErrorId]; instantMatchAttempts?: number; segment: "teacher"; subSegment: null; submissionUrl: string } & VerificationResponse
description

Response from REST API indicating that TeacherPersonalInfoViewModel is expected to be submitted next.

TeacherPersonalInfoViewModel

Validator

Validator: (value: FieldContent, formOptions?: FormValidationOptions) => ErrorId | ExtendedErrorId

Type declaration

VerificationRequest

VerificationResponse

VerificationResponse: { currentStep: VerificationStep; errorIds?: [ErrorId]; maxAge?: number; minAge?: number; verificationId: DatabaseId } & WithLocaleAndSegment
description

Base type for all responses

VerificationServiceAction

VerificationStep

VerificationStep: "collectStudentPersonalInfo" | "collectTeacherPersonalInfo" | "collectMemberPersonalInfo" | "collectMilitaryStatus" | "collectActiveMilitaryPersonalInfo" | "collectInactiveMilitaryPersonalInfo" | "collectSeniorPersonalInfo" | "collectAgePersonalInfo" | "collectFirstResponderPersonalInfo" | "collectMedicalProfessionalPersonalInfo" | "collectEmployeePersonalInfo" | "collectSocialSecurityNumber" | "cancelSocialSecurityNumber" | "docUpload" | "pending" | "docReviewLimitExceeded" | "success" | "error" | "sso" | "smsLoop" | "emailLoop"

VerificationStepMap

VerificationStepMap<T>: {}

Type parameters

  • T

Type declaration

VerificationStore

VerificationStore: Store<ReduxState, VerificationServiceAction>

VerificationUrl

VerificationUrl: string
description

URL of a verification to be displayed.

ViewModel

WithAddress

WithAddress: { address1: string; city: string; state: string }

Type declaration

  • address1: string
  • city: string
  • state: string

WithCoreFields

WithCoreFields: { deviceFingerprintHash?: string; email: Email; firstName: string; lastName: string; locale?: Locale; metadata?: Metadata; phoneNumber?: PhoneNumber }

Type declaration

  • Optional deviceFingerprintHash?: string
  • email: Email
  • firstName: string
  • lastName: string
  • Optional locale?: Locale
  • Optional metadata?: Metadata
  • Optional phoneNumber?: PhoneNumber

WithFieldsToSkipValidation

WithFieldsToSkipValidation: { fieldsToSkipValidation?: FieldId[] }

Type declaration

  • Optional fieldsToSkipValidation?: FieldId[]

WithLocaleAndCountry

WithLocaleAndCountry: { countryChoice: FormSelectChoice<Country, string>; localeChoice: FormSelectChoice<Locale, string> }

Type declaration

WithLocaleAndSegment

WithLocaleAndSegment: { locale: Locale; segment: Segment; subSegment: SubSegment }

Type declaration

WithOrganization

WithOrganization: { organization: Organization }

Type declaration

  • organization: Organization

compareLabelReturn

compareLabelReturn: 1 | -1

Variables

Const ACCEPTED_DOC_MIME_TYPES

ACCEPTED_DOC_MIME_TYPES: string[] = ['image/png','image/gif','image/jpg','image/jpeg','image/bmp','application/pdf',]

Const ADOLESCENT_AGE

ADOLESCENT_AGE: 16 = 16

Const AUTO_SCROLL

AUTO_SCROLL: AUTO = 'auto' as ALIGNMENT.AUTO

Const AddressComponent

AddressComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(Address)

Const BirthDateComponent

BirthDateComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(BirthDate)

Const BranchOfServiceComponent

BranchOfServiceComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(BranchOfService)

Const ChangeLocaleComponent

ChangeLocaleComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(ChangeLocale)

Const CityComponent

CityComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(City)

Const CollegeNameComponent

CollegeNameComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(CollegeName)

Const CompanyComponent

CompanyComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(Company)

Const CountDown

CountDown: NamedExoticComponent<CountDownProps> & { type: T } = React.memo(({ countdownSeconds, onCountdownFinish, logo }: CountDownProps) => {const [timeRemaining, setTimeRemaining] = React.useState(countdownSeconds);const timeRemainingRef = React.useRef(timeRemaining);const timerRef = React.useRef(null);const tickTimer = () => {const newTime = timeRemainingRef.current - 1;setTimeRemaining(newTime);timeRemainingRef.current = newTime;if (newTime < 0) {onCountdownFinish();clearInterval(timerRef.current);}};const formatSeconds = () => {const seconds = (`0${timeRemaining}`).slice(-2);return `00:${seconds}`;};React.useEffect(() => {timerRef.current = setInterval(tickTimer, 1000);return () => clearInterval(timerRef.current);}, []);return (<div className="sid-header sid-l-horz-center" data-testid="sid-countdown-pending"><div className="sid-l-horz-center">{ logo }</div><div className="sid-header__title sid-l-horz-center sid-l-space-top-md"><FormattedHTMLMessage id="step.pending.titleCountdown" defaultMessage="Processing" /></div><div className="sid-header__subtitle-one"><FormattedHTMLMessageid="step.pending.subtitleCountdown"defaultMessage="Hang tight while we upload and scan your documents."/></div><div id="sid-step-pending" className="sid-l-container"><div className="sid-countdown">{formatSeconds()}</div></div><div className="sid-l-space-top-xl" /></div>);})

Const CountDownComponent

CountDownComponent: NamedExoticComponent<CountDownProps> & { type: T } = CountDown

Const CountryComponent

CountryComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(Country)

Const CountryComponentWrapper

CountryComponentWrapper: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(BaseCountryComponentWrapper)

Const DECIMAL_RADIX

DECIMAL_RADIX: 10 = 10

Const DEFAULT_LOCALE

DEFAULT_LOCALE: Locale = "en-US"

Const DEFAULT_MINIMUM_ORG_SEARCH_VALUE_LENGTH

DEFAULT_MINIMUM_ORG_SEARCH_VALUE_LENGTH: number = 1

Const DEFAULT_PRIVACY_POLICY_URL

DEFAULT_PRIVACY_POLICY_URL: "https://www.sheerid.com/privacy-policy/" = "https://www.sheerid.com/privacy-policy/"

Const DOC_UPLOAD_POLL_DURATION

DOC_UPLOAD_POLL_DURATION: 20000 = 20000

Const DOC_UPLOAD_POLL_DURATION_DURING_COUNTDOWN

DOC_UPLOAD_POLL_DURATION_DURING_COUNTDOWN: 5000 = 5000

Const DischargeDateComponent

DischargeDateComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(DischargeDate)

Const EMAIL_LOOP_POLL_DURATION

EMAIL_LOOP_POLL_DURATION: 10000 = 10000

Const EmailComponent

EmailComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(Email)

Const FRAME_MSG_PROPERTY

FRAME_MSG_PROPERTY: "verificationId" = "verificationId"

Const FetchOrganizationsComponent

FetchOrganizationsComponent: FetchOrganizations = FetchOrganizations

Const FieldIds

FieldIds: any = Object.values(FieldIdEnum) as any

Const FirstNameComponent

FirstNameComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(FirstName)

Const FirstResponderOrganizationComponent

FirstResponderOrganizationComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(FirstResponderOrganization)

Const FirstResponderStatusComponent

FirstResponderStatusComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(FirstResponderStatus)

Const FirstResponderStatusDefaultMessages

FirstResponderStatusDefaultMessages: any = Object.values(FirstResponderStatusDefaultMessagesEnum) as any

Const HTTP_REQUEST_TIMEOUT

HTTP_REQUEST_TIMEOUT: 10000 = 10000

Const HookNames

HookNames: any = Object.values(HookNameEnum) as any

Const InputSelectButtonComponent

InputSelectButtonComponent: InputSelectButton = InputSelectButton

Const InputSelectComponent

InputSelectComponent: InputSelect = InputSelect

Const InputSelectListComponent

InputSelectListComponent: InputSelectList = InputSelectList

Const InputTextComponent

InputTextComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(InputText)

Const LastNameComponent

LastNameComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(LastName)

Const Locales

Locales: Locale[] = ['ar', 'bg', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es-ES', 'es', 'fi', 'fr-CA', 'fr', 'hr', 'hu', 'id', 'is', 'it', 'iw', 'ja', 'ko', 'lt', 'ms', 'nl', 'no', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'tr', 'zh-HK', 'zh']
description

List of locales supported by the library, for runtime checks.

Const MAX_BIRTHYEAR

MAX_BIRTHYEAR: 3000 = 3000

Const MAX_DOC_UPLOAD_DOCS_ALLOWED

MAX_DOC_UPLOAD_DOCS_ALLOWED: number = 3

Const MAX_RESULT_SIZE

MAX_RESULT_SIZE: 25 = 25

Const MIN_BIRTHYEAR

MIN_BIRTHYEAR: 1900 = 1900

Const MedicalProfessionalOrganizationComponent

MedicalProfessionalOrganizationComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(MedicalProfessionalOrganization)

Const MedicalStatusComponent

MedicalStatusComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(MedicalStatus)

Const MedicalStatusdefaultMessages

MedicalStatusdefaultMessages: any = Object.values(MedicalProfessionalStatusDefaultMessagesEnum) as any

Const MemberIdComponent

MemberIdComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(MemberId)

Const MembershipOrganizationComponent

MembershipOrganizationComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(MembershipOrganization)

Const MilitaryStatusComponent

MilitaryStatusComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(MilitaryStatus)

Const MilitaryStatusDefaultMessages

MilitaryStatusDefaultMessages: any = Object.values(MilitaryStatusDefaultMessagesEnum) as any

Const MockSteps

MockSteps: any[] = [...Object.values(VerificationStepsEnum) as any,...Object.values(MockStepsEnum) as any,]

Const NewVerificationComponent

NewVerificationComponent: ComponentClass<{} & NewVerificationProps, any> & { WrappedComponent: Component<P> } = connect(mapStateToProps,mapDispatchToProps,mergeProps,)(NewVerification)

Const OptInInputComponent

OptInInputComponent: OptInInput = OptInInput

Const OrganizationListComponent

OrganizationListComponent: OrganizationList = OrganizationList

Const PhoneNumberComponent

PhoneNumberComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(PhoneNumber)

Const PostalCodeInputComponent

PostalCodeInputComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(PostalCodeInput)

Const PrivacyPolicyLinkComponent

PrivacyPolicyLinkComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(PrivacyPolicyLink)

Const QUERY_STRING_ERRORID_OVERRIDE

QUERY_STRING_ERRORID_OVERRIDE: string = "mockErrorId"

Const QUERY_STRING_STEP_OVERRIDE

QUERY_STRING_STEP_OVERRIDE: string = "mockStep"

Const QUERY_STRING_SUBSEGMENT_OVERRIDE

QUERY_STRING_SUBSEGMENT_OVERRIDE: string = "mockSubSegment"

Const ROW_HEIGHT

ROW_HEIGHT: 42 = 42

Const RequestOrganizationContext

RequestOrganizationContext: Context<[{ error: string; isInitialized: boolean; isLoading: number; locale: Locale; messages: RequestOrganizationMessages; programId: DatabaseId; programTheme: ProgramTheme; submitted: boolean; viewModel: RequestOrganizationViewModel }, Function]> = React.createContext<[RequestOrganizationService, Function]>([getInitialState(), () => {}])

Const RequestOrganizationSearchComponent

RequestOrganizationSearchComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(RequestOrganizationSearch)

Const ReviewPendingComponent

ReviewPendingComponent: ReviewPending = ReviewPending

Const SHEERID

SHEERID: "SheerID" = "SheerID"

Const SMSCodeComponent

SMSCodeComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(SMSCode)

Const SSN_STRING_LENGTH

SSN_STRING_LENGTH: number = 9

Const SSOPendingComponent

SSOPendingComponent: SSOPending = SSOPending

Const SSO_POLL_DURATION

SSO_POLL_DURATION: 5000 = 5000

Const Segments

Segments: any = Object.values(SegmentEnum) as any

Const SelectButtonComponent

SelectButtonComponent: SelectButton = SelectButton

Const SelectComponent

SelectComponent: Select = Select

Const SelectListComponent

SelectListComponent: SelectList = SelectList

Const SocialSecurityNumber

SocialSecurityNumber: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(SocialSecurity)

Const SsnChoice

SsnChoice: Step = Step

Const StateComponent

StateComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(State)

Const StepActiveMilitaryPersonalInfoComponent

StepActiveMilitaryPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepActiveMilitaryPersonalInfo)

Const StepAgePersonalInfoComponent

StepAgePersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepAgePersonalInfo)

Const StepDocUploadComponent

StepDocUploadComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepDocUpload)

Const StepEmailLoopComponent

StepEmailLoopComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepEmailLoop)

Const StepEmploymentPersonalInfoComponent

StepEmploymentPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepEmploymentPersonalInfo)

Const StepErrorComponent

StepErrorComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepError)

Const StepFirstResponderPersonalInfoComponent

StepFirstResponderPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepFirstResponderPersonalInfo)

Const StepInactiveMilitaryPersonalInfoComponent

StepInactiveMilitaryPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepInactiveMilitaryPersonalInfo)

Const StepMedicalProfessionalPersonalInfoComponent

StepMedicalProfessionalPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepMedicalProfessionalPersonalInfo)

Const StepMemberPersonalInfoComponent

StepMemberPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepMemberPersonalInfo)

Const StepPendingComponent

StepPendingComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepPending)

Const StepSMSLoopComponent

StepSMSLoopComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepSMSLoop)

Const StepSeniorPersonalInfoComponent

StepSeniorPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepSeniorPersonalInfo)

Const StepSocialSecurityNumber

StepSocialSecurityNumber: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(Step)

Const StepStudentPersonalInfoComponent

StepStudentPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepStudentPersonalInfo)

Const StepSuccessComponent

StepSuccessComponent: StepSuccess = StepSuccess

Const StepTeacherPersonalInfoComponent

StepTeacherPersonalInfoComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(StepTeacherPersonalInfo)

Const SubSegments

SubSegments: any = Object.values(SubSegmentEnum) as any

Const TeacherSchoolComponent

TeacherSchoolComponent: ComponentClass<{}, any> & { WrappedComponent: React.ComponentType<P & InjectedIntlProps> } = injectIntl(TeacherSchool)

Const TryAgainSteps

TryAgainSteps: any = Object.values(TryAgainStepsEnum) as any

Const TypeaheadComponent

TypeaheadComponent: Typeahead = Typeahead

Const UPLOAD_FILE_PREFIX

UPLOAD_FILE_PREFIX: string = "file"

Const VALID_PHONE_NUMBER_REGEXPS

VALID_PHONE_NUMBER_REGEXPS: RegExp[] = [/^\+?0*\d{10,}(x[0-9]{0,5})?$/,/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/,]

Const VERIFICATION_ID_COOKIE_NAME

VERIFICATION_ID_COOKIE_NAME: "sid-verificationId" = "sid-verificationId"

Const VerificationForm

VerificationForm: ForwardRefExoticComponent<VerificationFormProps & RefAttributes<unknown>> = React.forwardRef(({ programId, trackingId }: VerificationFormProps, ref: any) => {store.dispatch<ProgramIdAction>({ programId, type: 'PROGRAM_ID' });if (ref) {ref.current = {refresh: React.useCallback(() => store.dispatch({ type: 'FORCE_UPDATE' }), []),reset: React.useCallback(() => store.dispatch({ type: 'RESET_STATE' }), []),};}return (<Provider store={store}><FormWrapper><NewVerificationComponent programId={programId} trackingId={trackingId} /></FormWrapper></Provider>);})

Const VerificationSteps

VerificationSteps: any = Object.values(VerificationStepsEnum) as any

Const classNameHidden

classNameHidden: "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden" = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden"

Const classNameVisible

classNameVisible: "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible" = "sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible"

Const country

country: "country" = "country"

Let customValidatorFields

customValidatorFields: ExtendedFieldId[] = []

Let customValidators

customValidators: {}

Type declaration

Const defaultDocUploadSubtitle

defaultDocUploadSubtitle: "SheerID is reviewing your documents, to confirm yourstatus. This process may take up to 20 minutes." = `SheerID is reviewing your documents, to confirm yourstatus. This process may take up to 20 minutes.`

Const defaultDocUploadSubtitle2

defaultDocUploadSubtitle2: "Wait here or let us notify you of the outcome." = "Wait here or let us notify you of the outcome."

Const defaultDocUploadSubtitle3

defaultDocUploadSubtitle3: "You will be contacted via email." = "You will be contacted via email."

Const defaultMetadata

defaultMetadata: Metadata = Object.freeze({enabled: false,keys: [],})

Const defaultSSOSubtitle

defaultSSOSubtitle: "Please sign in to your school's web portal. It will open in a new tab." = "Please sign in to your school's web portal. It will open in a new tab."

Const defaultSSOSubtitle2

defaultSSOSubtitle2: "Can't sign in to your school?" = "Can't sign in to your school?"

Const defaultSubtitle

defaultSubtitle: "Please sign in to your school's web portal. It will open in a new tab." = "Please sign in to your school's web portal. It will open in a new tab."

Const defaultSubtitle2

defaultSubtitle2: "Can't sign in to your school?" = "Can't sign in to your school?"

Const eligibleSchoolIconSrc

eligibleSchoolIconSrc: "https://s3.amazonaws.com/com.sheerid.resources/common/images/requestOrganization/doc-right.svg" = "https://s3.amazonaws.com/com.sheerid.resources/common/images/requestOrganization/doc-right.svg"

Const eventMethod

eventMethod: "addEventListener" | "attachEvent" = window.addEventListener ? 'addEventListener' : 'attachEvent'

Const eventer

eventer: any = window[eventMethod]

Let fingerprint

fingerprint: string
description

The user's device fingerprint

Const initialErrorStructure

initialErrorStructure: { address1: undefined; birthDate: undefined; carrierConsentValue: undefined; city: undefined; country: undefined; dischargeDate: undefined; docUpload: undefined; email: undefined; firstName: undefined; lastName: undefined; marketConsentValue: undefined; memberId: undefined; organization: undefined; phoneNumber: undefined; postalCode: undefined; smsCode: undefined; socialSecurityNumber: undefined; state: undefined; status: undefined } = {firstName: undefined,lastName: undefined,memberId: undefined,email: undefined,phoneNumber: undefined,birthDate: undefined,organization: undefined,postalCode: undefined,address1: undefined,city: undefined,country: undefined,state: undefined,dischargeDate: undefined,docUpload: undefined,status: undefined,socialSecurityNumber: undefined,marketConsentValue: undefined,carrierConsentValue: undefined,smsCode: undefined,} as const

Type declaration

  • address1: undefined
  • birthDate: undefined
  • carrierConsentValue: undefined
  • city: undefined
  • country: undefined
  • dischargeDate: undefined
  • docUpload: undefined
  • email: undefined
  • firstName: undefined
  • lastName: undefined
  • marketConsentValue: undefined
  • memberId: undefined
  • organization: undefined
  • phoneNumber: undefined
  • postalCode: undefined
  • smsCode: undefined
  • socialSecurityNumber: undefined
  • state: undefined
  • status: undefined

Const initialState

initialState: ReduxState = Object.freeze({programId: undefined,programTheme: undefined,isLoading: true,isErrored: false,viewModel: undefined,previousViewModel: undefined,previousVerificationResponse: undefined,verificationResponse: undefined,fieldValidationErrors: getFieldValidationErrorsEmpty(),messages: undefined,orgList: undefined,formValidationOptions: {},})

The initial state of the verification service.

Let logLevel

logLevel: number = 4

Const messageEvent

messageEvent: "onmessage" | "message" = eventMethod === 'attachEvent' ? 'onmessage' : 'message'

Let metadata

metadata: Metadata = Object.assign({}, defaultMetadata)

Const mockEmploymentPersonalInfoViewModel

mockEmploymentPersonalInfoViewModel: EmploymentPersonalInfoViewModel = employmentPInfoReqEmpty

Const mockSocialSecurityViewModel

mockSocialSecurityViewModel: SocialSecurityViewModel = socialSecurityEmpty

Const name

name: "name" = "name"

Const options

options: { cookies?: CookieOptions; customCss?: ProgramTheme["customCss"]; customMetadata?: MetadataConfig; doFetchTheme?: boolean; httpRequestTimeout?: number; locale?: Locale; logLevel?: LogLevel; logoUrl?: ProgramTheme["logoUrl"]; marketConsent?: MarketConsentOptions; messages?: object; messagesWithLocale?: object; minimumOrganizationSearchLength?: number; mockErrorId?: ErrorId; mockStep?: MockStep; mockSubSegment?: SubSegment; privacyPolicyUrl?: ProgramTheme["privacyPolicyUrl"]; restApi?: RestApiOptions; urlAddSchoolFaq?: string; urlAddSchoolForm?: string; urlAgeFaq?: string; urlEmploymentFaq?: string; urlFirstResponderFaq?: string; urlMedicalFaq?: string; urlMemberFaq?: string; urlMilitaryFaq?: string; urlSeniorFaq?: string; urlStudentFaq?: string; urlTeacherFaq?: string; useFingerprinting?: boolean; verificationId?: string } = getOptions()

Type declaration

  • Optional cookies?: CookieOptions
  • Optional customCss?: ProgramTheme["customCss"]
  • Optional customMetadata?: MetadataConfig
  • Optional doFetchTheme?: boolean
  • Optional httpRequestTimeout?: number
  • Optional locale?: Locale
  • Optional logLevel?: LogLevel
  • Optional logoUrl?: ProgramTheme["logoUrl"]
  • Optional marketConsent?: MarketConsentOptions
  • Optional messages?: object
  • Optional messagesWithLocale?: object
  • Optional minimumOrganizationSearchLength?: number
  • Optional mockErrorId?: ErrorId
  • Optional mockStep?: MockStep
  • Optional mockSubSegment?: SubSegment
  • Optional privacyPolicyUrl?: ProgramTheme["privacyPolicyUrl"]
  • Optional restApi?: RestApiOptions
  • Optional urlAddSchoolFaq?: string
  • Optional urlAddSchoolForm?: string
  • Optional urlAgeFaq?: string
  • Optional urlEmploymentFaq?: string
  • Optional urlFirstResponderFaq?: string
  • Optional urlMedicalFaq?: string
  • Optional urlMemberFaq?: string
  • Optional urlMilitaryFaq?: string
  • Optional urlSeniorFaq?: string
  • Optional urlStudentFaq?: string
  • Optional urlTeacherFaq?: string
  • Optional useFingerprinting?: boolean
  • Optional verificationId?: string

Let overriddenComponents

overriddenComponents: {}

Type declaration

Let overridenValidators

overridenValidators: {}

Type declaration

Let prefix

prefix: string = ""

Let refs

refs: FieldRef[] = []

Const socialSecurityEmpty

socialSecurityEmpty: SocialSecurityViewModel = {...withLocaleAndCountryEmpty,socialSecurityNumber: undefined,} as const

Const standardStyles

standardStyles: "color: white; font-weight: bold; padding: 2px 10px;" = "color: white; font-weight: bold; padding: 2px 10px;"

Const store

store: Store<ReduxState> = getStore()

Let tabRef

tabRef: Window = null

Const twoSeconds

twoSeconds: 2000 = 2000

Functions

Const AcceptableUploadsComponent

  • AcceptableUploadsComponent(__namedParameters: { verificationService: VerificationService }): Element
  • Parameters

    • __namedParameters: { verificationService: VerificationService }
      • verificationService: VerificationService

    Returns Element

Const AddSchoolRequestRow

  • AddSchoolRequestRow(__namedParameters: { locale: "ar" | "bg" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "hr" | "hu" | "id" | "is" | "it" | "iw" | "ja" | "ko" | "lt" | "ms" | "nl" | "no" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "tr" | "zh-HK" | "zh"; programId: string; urlAddSchoolForm: string }): Element
  • Parameters

    • __namedParameters: { locale: "ar" | "bg" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "hr" | "hu" | "id" | "is" | "it" | "iw" | "ja" | "ko" | "lt" | "ms" | "nl" | "no" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "tr" | "zh-HK" | "zh"; programId: string; urlAddSchoolForm: string }
      • locale: "ar" | "bg" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "hr" | "hu" | "id" | "is" | "it" | "iw" | "ja" | "ko" | "lt" | "ms" | "nl" | "no" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "tr" | "zh-HK" | "zh"
      • programId: string
      • urlAddSchoolForm: string

    Returns Element

Const Address

  • Address(__namedParameters: { intl: InjectedIntl; isErrored: boolean; onChange: Function; onKeyDown: Function; placeholder: string; value: any }): Element
  • Parameters

    • __namedParameters: { intl: InjectedIntl; isErrored: boolean; onChange: Function; onKeyDown: Function; placeholder: string; value: any }
      • intl: InjectedIntl
      • isErrored: boolean
      • onChange: Function
      • onKeyDown: Function
      • placeholder: string
      • value: any

    Returns Element

Const BaseCountryComponentWrapper