/** * Wire values for every MyID enum. * * These strings are the bridge format and match the MyID Flutter plugin * exactly, so backend docs and existing integration knowledge transfer * unchanged. The native layer uppercases the incoming value and falls back to * the SDK's own default when it does not recognise it. */ export type MyIdEnvironment = 'PRODUCTION' | 'DEBUG'; export type MyIdEntryType = 'IDENTIFICATION' | 'VIDEO_IDENTIFICATION' | 'FACE_DETECTION'; export type MyIdResidency = 'USER_DEFINED' | 'RESIDENT' | 'NON_RESIDENT'; export type MyIdLocale = 'UZBEK' | 'UZBEK_CYRILLIC' | 'KARAKALPAK' | 'TAJIK' | 'ENGLISH' | 'RUSSIAN'; export type MyIdCameraShape = 'CIRCLE' | 'ELLIPSE'; export type MyIdCameraSelector = 'FRONT' | 'BACK'; export type MyIdCameraResolution = 'LOW' | 'HIGH'; export type MyIdImageFormat = 'JPEG' | 'PNG'; export type MyIdPresentationStyle = 'SHEET' | 'FULL'; export type MyIdScreenOrientation = 'PORTRAIT' | 'LANDSCAPE' | 'FULL'; export const MY_ID_ENVIRONMENTS = ['PRODUCTION', 'DEBUG'] as const; export const MY_ID_ENTRY_TYPES = [ 'IDENTIFICATION', 'VIDEO_IDENTIFICATION', 'FACE_DETECTION', ] as const; export const MY_ID_RESIDENCIES = [ 'USER_DEFINED', 'RESIDENT', 'NON_RESIDENT', ] as const; export const MY_ID_LOCALES = [ 'UZBEK', 'UZBEK_CYRILLIC', 'KARAKALPAK', 'TAJIK', 'ENGLISH', 'RUSSIAN', ] as const; export const MY_ID_CAMERA_SHAPES = ['CIRCLE', 'ELLIPSE'] as const; export const MY_ID_CAMERA_SELECTORS = ['FRONT', 'BACK'] as const; export const MY_ID_CAMERA_RESOLUTIONS = ['LOW', 'HIGH'] as const; export const MY_ID_IMAGE_FORMATS = ['JPEG', 'PNG'] as const; export const MY_ID_PRESENTATION_STYLES = ['SHEET', 'FULL'] as const; export const MY_ID_SCREEN_ORIENTATIONS = [ 'PORTRAIT', 'LANDSCAPE', 'FULL', ] as const;