@innovatrics/dot-document-auto-capture
Version:
Digital onboarding document capture
45 lines (44 loc) • 2.19 kB
TypeScript
import { type ObjectValues } from './common';
export declare const SmileInstructionCodeValues: {
readonly CANDIDATE_SELECTION: "candidate_selection";
readonly FACE_TOO_CLOSE: "face_too_close";
readonly FACE_TOO_FAR: "face_too_far";
readonly FACE_CENTERING: "face_centering";
readonly FACE_NOT_PRESENT: "face_not_present";
readonly SHARPNESS_TOO_LOW: "sharpness_too_low";
readonly BRIGHTNESS_TOO_LOW: "brightness_too_low";
readonly BRIGHTNESS_TOO_HIGH: "brightness_too_high";
readonly DEVICE_PITCHED: "device_pitched";
readonly LEFT_EYE_NOT_PRESENT: "left_eye_not_present";
readonly RIGHT_EYE_NOT_PRESENT: "right_eye_not_present";
readonly MOUTH_NOT_PRESENT: "mouth_not_present";
readonly MOUTH_SCORE_TOO_HIGH: "mouth_score_too_high";
readonly MOUTH_SCORE_TOO_LOW: "mouth_score_too_low";
readonly SMILE: "smile";
readonly SMILE_CANDIDATE_SELECTION: "smile_candidate_selection";
readonly KEEP_NEUTRAL_EXPRESSION: "keep_neutral_expression";
};
export type SmileInstructionCode = ObjectValues<typeof SmileInstructionCodeValues>;
export type CustomizableSmileInstructionCode = Exclude<SmileInstructionCode, 'mouth_score_too_low' | 'mouth_score_too_high'>;
export type SmileEscalatedInstructionCodes = typeof SmileInstructionCodeValues.SMILE | typeof SmileInstructionCodeValues.KEEP_NEUTRAL_EXPRESSION;
export declare const SmileCheckToInstructionCodeMap: {
isPresent: "face_not_present";
isNotPitched: "device_pitched";
isNotSmall: "face_too_far";
isNotLarge: "face_too_close";
isNotOutOfBounds: "face_centering";
isNotDim: "brightness_too_low";
isNotBright: "brightness_too_high";
isSharp: "sharpness_too_low";
isLeftEyePresent: "left_eye_not_present";
isRightEyePresent: "right_eye_not_present";
isMouthPresent: "mouth_not_present";
isMouthStatusNotTooHigh: "mouth_score_too_high";
isMouthStatusNotTooLow: "mouth_score_too_low";
};
export declare const SmileLivenessPhaseValues: {
readonly NEUTRAL: "NEUTRAL";
readonly SMILE: "SMILE";
readonly SMILE_MANUAL: "SMILE_MANUAL";
};
export type SmileLivenessPhase = ObjectValues<typeof SmileLivenessPhaseValues>;