@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
405 lines (403 loc) • 11.3 kB
JavaScript
/**
* WARNING: This file is intended to be used within MySheerID.
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
*/
/**
* VERSION: 2.230.0-alpha.0
* BUILD_TIMESTAMP: 1778694697559
* BUILD_DATE: Wed May 13 2026 17:51:37 GMT+0000 (Coordinated Universal Time)
* BUILD_COMMIT: 7af1c105d5485ac4ed1190c56d492bb4590667a9
*/
import { ad as e, ae as n, t } from "../_mysheerid-preview.js";
const o = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectStudentPersonalInfo",
segment: "student",
subSegment: null,
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, s = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectTeacherPersonalInfo",
segment: "teacher",
subSegment: null,
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, l = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectMemberPersonalInfo",
segment: "member",
subSegment: null,
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, c = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectSeniorPersonalInfo",
segment: "senior",
subSegment: null,
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, i = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectAgePersonalInfo",
segment: "age",
subSegment: null,
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US",
minAge: 55,
maxAge: 120
}, r = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectMilitaryStatus",
segment: "military",
subSegment: null,
submissionUrl: "",
availableStatuses: ["ACTIVE_DUTY", "VETERAN"],
locale: "en-US"
}, a = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectActiveMilitaryPersonalInfo",
segment: "military",
subSegment: "activeDuty",
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, m = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectInactiveMilitaryPersonalInfo",
segment: "military",
subSegment: "veteran",
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, f = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectFirstResponderPersonalInfo",
segment: "firstResponder",
subSegment: "emt",
submissionUrl: "",
availableStatuses: ["FIREFIGHTER", "POLICE"],
instantMatchAttempts: 0,
locale: "en-US"
}, d = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectMedicalProfessionalPersonalInfo",
segment: "medical",
subSegment: "nurse",
submissionUrl: "",
availableStatuses: ["NURSE", "DOCTOR"],
instantMatchAttempts: 0,
locale: "en-US"
}, b = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectEmployeePersonalInfo",
segment: "employment",
subSegment: null,
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, u = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectDriverLicensePersonalInfo",
segment: "identity",
subSegment: "driverLicense",
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, S = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectGeneralIdentityPersonalInfo",
segment: "identity",
subSegment: "generalIdentity",
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, p = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectHybridIdentityPersonalInfo",
segment: "identity",
subSegment: "generalIdentity",
submissionUrl: "",
instantMatchAttempts: 0,
locale: "en-US"
}, I = {
verificationId: "5a3bffd5e4b05f0b878a9761",
currentStep: "collectLicensedProfessionalPersonalInfo",
segment: "licensedProfessional",
submissionUrl: "",
subSegment: "licensedCosmetologists",
instantMatchAttempts: 0,
locale: "en-US"
}, g = {
verificationId: "5a3bffd5e4b05f0b878a9761",
currentStep: "collectMoverPersonalInfo",
segment: "recentMover",
submissionUrl: "",
subSegment: "homeBuyer",
instantMatchAttempts: 0,
locale: "en-US"
}, U = {
verificationId: "5a3bffd5e4b05f0b878a9768",
currentStep: "collectIdentifier",
submissionUrl: "",
segment: "student",
subSegment: null,
locale: "en-US"
}, v = {
verificationId: "5a3bffd5e4b05f0b878a9769",
currentStep: "collectPersonalInfo",
submissionUrl: "",
segment: "student",
subSegment: null,
locale: "en-US",
availableStatuses: []
}, P = {
verificationId: "5a3bffd5e4b05f0b878a9760",
currentStep: "completeAuthentication",
submissionUrl: "",
cancelUrl: "",
segment: "student",
subSegment: null,
locale: "en-US"
}, R = {
verificationId: "5a3bffd5e4b05f0b878a9761",
currentStep: "collectLowIncomePersonalInfo",
segment: "lowIncome",
submissionUrl: "",
subSegment: "snapBenefits",
instantMatchAttempts: 0,
locale: "en-US"
}, y = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "collectSocialSecurityNumber",
segment: "military",
subSegment: null,
submissionUrl: "",
cancelUrl: "",
locale: "en-US"
}, h = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "docUpload",
segment: "student",
subSegment: null,
submissionUrl: "",
locale: "en-US"
}, k = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "success",
segment: "student",
subSegment: null,
rewardCode: "MY_REWARD_123",
locale: "en-US"
}, M = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "consolation",
segment: "student",
subSegment: null,
consolationRewardCode: "MY_REWARD_123",
locale: "en-US"
}, L = {
verificationId: "635a9e342f69032c316e05f9",
currentStep: "override",
errorIds: ["invalidOverrideCode"],
segment: "medical",
subSegment: "nurse",
submissionUrl: "",
locale: "en-US",
country: "US"
}, E = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "error",
segment: "student",
subSegment: null,
redirectUrl: "https://sheerid.com",
errorIds: ["internalServerError"],
locale: "en-US"
}, A = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "error",
segment: "student",
subSegment: null,
redirectUrl: "https://sheerid.com",
errorIds: ["missingRequiredMetadata"],
locale: "en-US"
}, C = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "error",
segment: "student",
subSegment: null,
redirectUrl: "https://sheerid.com",
errorIds: ["missingRequiredExternalId"],
locale: "en-US"
}, T = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "pending",
statusUrl: "",
segment: "student",
subSegment: null,
locale: "en-US",
maxReviewTime: "A_HALF_HOUR",
estimatedReviewTime: "A_FEW_MINUTES"
}, D = {
verificationId: "5a3bffd5e4b05f0b878a9762",
currentStep: "error",
segment: "student",
subSegment: null,
redirectUrl: null,
errorIds: ["docReviewLimitExceeded"],
locale: "en-US"
}, w = {
verificationId: "5a3bffd5e4b05f0b878a9762",
loginUrl: "https://sheerid.com/ssoLoginUrl",
cancelUrl: "cancelUrl",
currentStep: "sso",
segment: "student",
subSegment: null,
locale: "en-US"
}, _ = {
verificationId: "6733d1f6c75d2c30e481f36c",
loginUrl: "loginUrl",
cancelUrl: "cancelUrl",
currentStep: "thirdPartyLoop",
segment: "age",
subSegment: null,
locale: "en-US",
thirdPartyLoopProvider: e.SIGNZY
}, O = {
verificationId: "5e2f0bd2d7121162bb849f17",
submissionUrl: "",
currentStep: "smsLoop",
segment: "student",
subSegment: null,
locale: "en-US"
}, x = {
verificationId: "5e2f0bd2d7121162bb849f17",
submissionUrl: "https://foo.bar",
currentStep: "emailLoop",
currentState: "pending",
segment: "student",
subSegment: null,
locale: "en-US",
canResendEmailLoop: !0,
cancelUrl: "https://foo.bar"
}, N = {
verificationId: "5e2f0bd2d7121162bb849f17",
submissionUrl: "https://foo.bar",
currentStep: "emailLoop",
currentState: "collectOrganizationEmail",
segment: "student",
subSegment: null,
locale: "en-US",
canResendEmailLoop: !0,
cancelUrl: "https://foo.bar"
}, F = {
verificationId: "5e2f0bd2d7121162bb849f17",
submissionUrl: "",
currentStep: "docUpload",
segment: "student",
subSegment: null,
locale: "en-US"
}, H = {
verificationId: "5e2f0bd2d7121162bb849f17",
submissionUrl: "",
sdkToken: null,
currentStep: "idCheckLoop",
segment: "student",
subSegment: null,
locale: "en-US",
idCheckServiceType: n.ID_CHECK_LIVENESS
}, G = {
submissionUrl: "",
verificationId: "63a22b25e7501047aa05bc3a",
currentStep: "override",
segment: "student",
subSegment: null,
locale: "en-US"
}, V = {
collectStudentPersonalInfo: o,
collectTeacherPersonalInfo: s,
collectMemberPersonalInfo: l,
docUpload: h,
success: k,
consolation: M,
override: L,
error: E,
pending: T,
docReviewLimitExceeded: D,
collectMilitaryStatus: r,
collectActiveMilitaryPersonalInfo: a,
collectInactiveMilitaryPersonalInfo: m,
collectSeniorPersonalInfo: c,
collectFirstResponderPersonalInfo: f,
collectEmployeePersonalInfo: b,
collectDriverLicensePersonalInfo: u,
collectGeneralIdentityPersonalInfo: S,
collectHybridIdentityPersonalInfo: p,
collectLicensedProfessionalPersonalInfo: I,
collectMoverPersonalInfo: g,
collectLowIncomePersonalInfo: R,
collectIdentifier: U,
collectPersonalInfo: v,
completeAuthentication: P,
sso: w,
smsLoop: O,
emailLoop: x,
emailLoopCollectOrganizationEmail: N,
cancelEmailLoop: F,
idCheckLoop: H,
collectSocialSecurityNumber: y,
collectAgePersonalInfo: i,
collectMedicalProfessionalPersonalInfo: d,
cancelSocialSecurityNumber: {},
cancelDocUpload: G,
missingRequiredMetadata: A,
missingRequiredExternalId: C,
thirdPartyLoop: _
};
t.TEXT;
export {
V as allMockedResponses,
a as mockActiveMilitaryPersonalInfoResponse,
i as mockAgePersonalInfoResponse,
G as mockCancelDocUploadResponse,
F as mockCancelEmailLoopResponse,
U as mockCollectIdentifierResponse,
v as mockCollectPersonalInfoResponse,
P as mockCompleteAuthenticationResponse,
M as mockConsolationResponse,
D as mockDocReviewLimitExceededResponse,
h as mockDocUploadVerificationResponse,
u as mockDriverLicensePersonalInfoResponse,
N as mockEmailLoopCollectOrganizationEmailResponse,
x as mockEmailLoopResponse,
b as mockEmploymentPersonalInfoResponse,
E as mockErrorResponse,
f as mockFirstResponderPersonalInfoResponse,
S as mockGeneralIdentityPersonalInfoResponse,
p as mockHybridIdentityPersonalInfoResponse,
H as mockIDCheckLoopResponse,
m as mockInactiveMilitaryPersonalInfoResponse,
I as mockLicensedProfessionalPersonalInfoResponse,
R as mockLowIncomePersonalInfoResponse,
d as mockMedicalProfessionalPersonalInfoResponse,
l as mockMemberPersonalInfoResponse,
r as mockMilitaryStatusResponse,
C as mockMissingExternalIdResponse,
A as mockMissingMetadataResponse,
g as mockMoverPersonalInfoResponse,
L as mockOverrideResponse,
T as mockPendingResponse,
O as mockSMSLoopResponse,
w as mockSSOResponse,
c as mockSeniorPersonalInfoResponse,
y as mockSocialSecurityResponse,
o as mockStudentPersonalInfoResponse,
k as mockSuccessResponse,
s as mockTeacherPersonalInfoResponse,
_ as mockThirdPartyResponse
};