@sheerid/jslib 1.130.0 → 1.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es5/Tmetrix.bundle.js +5 -5
- package/es5/messages_ar.bundle.js +4 -4
- package/es5/messages_bg.bundle.js +4 -4
- package/es5/messages_cs.bundle.js +4 -4
- package/es5/messages_da.bundle.js +4 -4
- package/es5/messages_de.bundle.js +4 -4
- package/es5/messages_el.bundle.js +4 -4
- package/es5/messages_en-GB.bundle.js +4 -4
- package/es5/messages_es-ES.bundle.js +4 -4
- package/es5/messages_es.bundle.js +4 -4
- package/es5/messages_fi.bundle.js +4 -4
- package/es5/messages_fr-CA.bundle.js +4 -4
- package/es5/messages_fr.bundle.js +4 -4
- package/es5/messages_ga.bundle.js +4 -4
- package/es5/messages_hr.bundle.js +4 -4
- package/es5/messages_hu.bundle.js +4 -4
- package/es5/messages_id.bundle.js +4 -4
- package/es5/messages_it.bundle.js +4 -4
- package/es5/messages_iw.bundle.js +4 -4
- package/es5/messages_ja.bundle.js +4 -4
- package/es5/messages_ko.bundle.js +4 -4
- package/es5/messages_lo.bundle.js +4 -4
- package/es5/messages_lt.bundle.js +4 -4
- package/es5/messages_ms.bundle.js +4 -4
- package/es5/messages_nl.bundle.js +4 -4
- package/es5/messages_no.bundle.js +4 -4
- package/es5/messages_pl.bundle.js +4 -4
- package/es5/messages_pt-BR.bundle.js +4 -4
- package/es5/messages_pt.bundle.js +4 -4
- package/es5/messages_ru.bundle.js +4 -4
- package/es5/messages_sk.bundle.js +4 -4
- package/es5/messages_sl.bundle.js +4 -4
- package/es5/messages_sr.bundle.js +4 -4
- package/es5/messages_sv.bundle.js +4 -4
- package/es5/messages_th.bundle.js +4 -4
- package/es5/messages_tr.bundle.js +4 -4
- package/es5/messages_zh-HK.bundle.js +4 -4
- package/es5/messages_zh.bundle.js +4 -4
- package/manifest.json +46 -46
- package/package.json +1 -1
- package/sheerid-requestOrg.css +4 -4
- package/sheerid-requestOrg.js +10 -10
- package/sheerid-requestOrg.js.map +1 -1
- package/sheerid-utils.js +7 -7
- package/sheerid-utils.js.map +1 -1
- package/sheerid.css +4 -4
- package/sheerid.js +13 -13
- package/sheerid.js.map +1 -1
- package/sheerides6.js +25 -3
- package/sheerides6.js.map +1 -1
- package/src/lib/types/runtimeTypes.d.ts +2 -1
- package/src/lib/types/types.d.ts +13 -3
- package/types-reference.zip +0 -0
|
@@ -31,7 +31,8 @@ export declare enum VerificationStepsEnum {
|
|
|
31
31
|
cancelEmailLoop = "cancelEmailLoop",
|
|
32
32
|
consolation = "consolation",
|
|
33
33
|
override = "override",
|
|
34
|
-
cancelDocUpload = "cancelDocUpload"
|
|
34
|
+
cancelDocUpload = "cancelDocUpload",
|
|
35
|
+
missingRequiredMetadata = "missingRequiredMetadata"
|
|
35
36
|
}
|
|
36
37
|
export declare const VerificationSteps: any;
|
|
37
38
|
export declare const CollectInfoSteps: string[];
|
package/src/lib/types/types.d.ts
CHANGED
|
@@ -189,6 +189,7 @@ export declare type MarketConsentOptions = {
|
|
|
189
189
|
export declare type MetadataConfig = {
|
|
190
190
|
enabled: boolean;
|
|
191
191
|
keys: string[];
|
|
192
|
+
requiredKeys?: string[];
|
|
192
193
|
};
|
|
193
194
|
export declare type RestResources = {
|
|
194
195
|
verification: string;
|
|
@@ -373,11 +374,11 @@ export interface InputSelectComponentProps {
|
|
|
373
374
|
label?: string | JSX.Element;
|
|
374
375
|
intl?: InjectedIntl;
|
|
375
376
|
}
|
|
376
|
-
export declare type ErrorId = "apiRateLimitExceeded" | "dischargeDateBeforeBirthDate" | "docReviewLimitExceeded" | "inactiveProgram" | "expiredProgram" | "expiredEmailLoopToken" | "expiredSMSCode" | "expiredVerification" | "fraudRulesReject" | "futureBirthDate" | "futureDischargeDate" | "incorrectVerificationOverrideCodeAttemptLimitExceeded" | "internalServerError" | "invalidAddress" | "invalidApiToken" | "invalidBirthDate" | "invalidCity" | "invalidCountry" | "invalidDischargeDate" | "invalidDocUploadToken" | "invalidEbtCardNumber" | "invalidEmail" | "invalidFileSizeEmpty" | "invalidFileSizeMax" | "invalidFirstName" | "invalidFirstResponderStatus" | "invalidLastName" | "invalidMemberId" | "invalidMilitaryStatus" | "invalidNumberOfFiles" | "invalidOptIn" | "invalidOrganization" | "invalidOverrideCode" | "invalidPhoneNumber" | "invalidPostalCode" | "invalidProgram" | "invalidRequest" | "invalidSMSCode" | "invalidSocialSecurityNumber" | "invalidState" | "invalidStatus" | "invalidStatuses" | "invalidDriverLicenseNumber" | "invalidStep" | "marketConsentRequired" | "maxMetadataLengthExceeded" | "maxMetadataValuesExceeded" | "maxSMSCodeLimitExceeded" | "incorrectSMSCodeAttemptLimitExceeded" | "noProgram" | "noRemainingRewardCodes" | "notApproved" | "notFound" | "noValidFiles" | "noVerification" | "outsideAgePerson" | "simulatedError" | "unauthorizedAccountStatus" | "unauthorizedDomain" | "underagePerson" | "unknownError" | "unsupportedDocMimeType" | "verificationLimitExceeded" | "invalidEmailLoopToken" | NetworkErrorId;
|
|
377
|
+
export declare type ErrorId = "apiRateLimitExceeded" | "dischargeDateBeforeBirthDate" | "docReviewLimitExceeded" | "inactiveProgram" | "expiredProgram" | "expiredEmailLoopToken" | "expiredSMSCode" | "expiredVerification" | "fraudRulesReject" | "futureBirthDate" | "futureDischargeDate" | "incorrectVerificationOverrideCodeAttemptLimitExceeded" | "internalServerError" | "invalidAddress" | "invalidApiToken" | "invalidBirthDate" | "invalidCity" | "invalidCountry" | "invalidDischargeDate" | "invalidDocUploadToken" | "invalidEbtCardNumber" | "invalidEmail" | "invalidFileSizeEmpty" | "invalidFileSizeMax" | "invalidFirstName" | "invalidFirstResponderStatus" | "invalidLastName" | "invalidMemberId" | "invalidMilitaryStatus" | "invalidNumberOfFiles" | "invalidOptIn" | "invalidOrganization" | "invalidOverrideCode" | "invalidPhoneNumber" | "invalidPostalCode" | "invalidProgram" | "invalidRequest" | "invalidSMSCode" | "invalidSocialSecurityNumber" | "invalidState" | "invalidStatus" | "invalidStatuses" | "invalidDriverLicenseNumber" | "invalidStep" | "marketConsentRequired" | "maxMetadataLengthExceeded" | "maxMetadataValuesExceeded" | "maxSMSCodeLimitExceeded" | "incorrectSMSCodeAttemptLimitExceeded" | "noProgram" | "noRemainingRewardCodes" | "notApproved" | "notFound" | "noValidFiles" | "noVerification" | "outsideAgePerson" | "simulatedError" | "unauthorizedAccountStatus" | "unauthorizedDomain" | "underagePerson" | "unknownError" | "unsupportedDocMimeType" | "verificationLimitExceeded" | "invalidEmailLoopToken" | "missingRequiredMetadata" | NetworkErrorId;
|
|
377
378
|
export declare type NetworkErrorId = "failedToFetch" | "requestTimeout";
|
|
378
379
|
export declare type ExtendedErrorId = string | undefined;
|
|
379
380
|
export declare type RejectionReasons = "DOCUMENT_UNREADABLE" | "DOCUMENT_PASSWORD_PROTECTED" | "DOCUMENT_LIKELY_FRAUD" | "DOCUMENT_UNSUPPORTED" | "DOCUMENT_HANDWRITTEN" | "MISSING_INFORMATION" | "MISSING_INFORMATION_PERSON_NAME" | "MISSING_INFORMATION_ORGANIZATION_NAME" | "DOCUMENT_EXPIRED" | "DOCUMENT_OUTDATED" | "MISMATCH_PERSON_NAME" | "MISMATCH_ORGANIZATION" | "MISMATCH_STATUS" | "INELIGIBLE_ORGANIZATION" | "MISSING_INFORMATION_UNIVERSITY_ENROLLMENT" | "INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT" | "MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES" | "MISMATCH_COMPANY_NAME_OR_ADDRESS" | "PAYSTUB_OUTDATED_LAST_30_DAYS" | "MISSING_INFORMATION_BIRTHDATE" | "MISMATCH_BIRTHDATE" | "DOCUMENT_OUTDATED_FACULTY" | "MISSING_OR_MISMATCH_JOB_TITLE" | "OTHER_CONTACT_US";
|
|
380
|
-
export declare type VerificationStep = "collectStudentPersonalInfo" | "collectTeacherPersonalInfo" | "collectMemberPersonalInfo" | "collectMilitaryStatus" | "collectActiveMilitaryPersonalInfo" | "collectInactiveMilitaryPersonalInfo" | "collectSeniorPersonalInfo" | "collectAgePersonalInfo" | "collectFirstResponderPersonalInfo" | "collectMedicalProfessionalPersonalInfo" | "collectEmployeePersonalInfo" | "collectDriverLicensePersonalInfo" | "collectGeneralIdentityPersonalInfo" | "collectHybridIdentityPersonalInfo" | "collectLicensedProfessionalPersonalInfo" | "collectLowIncomePersonalInfo" | "collectMoverPersonalInfo" | "collectSocialSecurityNumber" | "cancelSocialSecurityNumber" | "docUpload" | "pending" | "docReviewLimitExceeded" | "success" | "error" | "sso" | "smsLoop" | "emailLoop" | "cancelEmailLoop" | "consolation" | "override" | "cancelDocUpload";
|
|
381
|
+
export declare type VerificationStep = "collectStudentPersonalInfo" | "collectTeacherPersonalInfo" | "collectMemberPersonalInfo" | "collectMilitaryStatus" | "collectActiveMilitaryPersonalInfo" | "collectInactiveMilitaryPersonalInfo" | "collectSeniorPersonalInfo" | "collectAgePersonalInfo" | "collectFirstResponderPersonalInfo" | "collectMedicalProfessionalPersonalInfo" | "collectEmployeePersonalInfo" | "collectDriverLicensePersonalInfo" | "collectGeneralIdentityPersonalInfo" | "collectHybridIdentityPersonalInfo" | "collectLicensedProfessionalPersonalInfo" | "collectLowIncomePersonalInfo" | "collectMoverPersonalInfo" | "collectSocialSecurityNumber" | "cancelSocialSecurityNumber" | "docUpload" | "pending" | "docReviewLimitExceeded" | "success" | "error" | "sso" | "smsLoop" | "emailLoop" | "cancelEmailLoop" | "consolation" | "override" | "cancelDocUpload" | "missingRequiredMetadata";
|
|
381
382
|
export declare type VerificationStepMap<T> = {
|
|
382
383
|
[P in VerificationStep]: T;
|
|
383
384
|
};
|
|
@@ -1059,6 +1060,10 @@ export declare type ProgramThemeMessages = {
|
|
|
1059
1060
|
title?: string;
|
|
1060
1061
|
buttonText?: string;
|
|
1061
1062
|
};
|
|
1063
|
+
missingRequiredMetadata?: {
|
|
1064
|
+
title?: string;
|
|
1065
|
+
buttonText?: string;
|
|
1066
|
+
};
|
|
1062
1067
|
};
|
|
1063
1068
|
};
|
|
1064
1069
|
};
|
|
@@ -1563,6 +1568,7 @@ export interface VerificationServiceValues {
|
|
|
1563
1568
|
readonly programId: DatabaseId;
|
|
1564
1569
|
readonly orgList: Organization[];
|
|
1565
1570
|
readonly formValidationOptions?: FormValidationOptions;
|
|
1571
|
+
readonly overrideStep?: VerificationStep;
|
|
1566
1572
|
}
|
|
1567
1573
|
export interface VerificationServiceFunctions {
|
|
1568
1574
|
readonly fetchNewVerificationRequest: (programId: DatabaseId, segment: Segment, previousViewModel: ViewModel, trackingId?: string, forceNewVerificationRequest?: boolean) => Promise<void>;
|
|
@@ -1606,6 +1612,7 @@ export declare type ReduxState = {
|
|
|
1606
1612
|
messages: StringMap;
|
|
1607
1613
|
orgList: Organization[];
|
|
1608
1614
|
formValidationOptions: FormValidationOptions;
|
|
1615
|
+
overrideStep?: VerificationStep;
|
|
1609
1616
|
};
|
|
1610
1617
|
export declare type VerificationStore = Store<ReduxState, VerificationServiceAction>;
|
|
1611
1618
|
/**
|
|
@@ -1641,6 +1648,9 @@ export interface ViewModelAction {
|
|
|
1641
1648
|
export interface FormValidationOptionsAction {
|
|
1642
1649
|
type: "FORM_VALIDATION_OPTIONS";
|
|
1643
1650
|
}
|
|
1651
|
+
export interface RequiredMetadataCheckAction {
|
|
1652
|
+
type: "REQUIRED_METADATA_CHECK";
|
|
1653
|
+
}
|
|
1644
1654
|
export interface PreLoadOrgsAction {
|
|
1645
1655
|
type: "PRE_LOAD_ORGS";
|
|
1646
1656
|
orgList: Organization[];
|
|
@@ -1668,7 +1678,7 @@ export interface ResetStateAction {
|
|
|
1668
1678
|
export interface ForceUpdate {
|
|
1669
1679
|
type: "FORCE_UPDATE";
|
|
1670
1680
|
}
|
|
1671
|
-
export declare type VerificationServiceAction = SetMessagesAction | ProgramIdAction | VerificationResponseAction | FieldValidationErrorsAction | ViewModelAction | PreLoadOrgsAction | PreviousViewModelAction | ProgramThemeAction | IsLoadingAction | IsErroredAction | ResetStateAction | FormValidationOptionsAction | ForceUpdate;
|
|
1681
|
+
export declare type VerificationServiceAction = SetMessagesAction | ProgramIdAction | VerificationResponseAction | FieldValidationErrorsAction | ViewModelAction | PreLoadOrgsAction | PreviousViewModelAction | ProgramThemeAction | IsLoadingAction | IsErroredAction | ResetStateAction | FormValidationOptionsAction | ForceUpdate | RequiredMetadataCheckAction;
|
|
1672
1682
|
/**
|
|
1673
1683
|
* @private
|
|
1674
1684
|
* @deprecated Use a specific action interface (or create one) from below
|
package/types-reference.zip
CHANGED
|
Binary file
|