react-native-scanbot-sdk
Version:
Scanbot Document and Barcode Scanner SDK React Native Plugin for Android and iOS
139 lines (117 loc) • 2.6 kB
text/typescript
export type BarcodeDocumentFormat =
| 'AAMVA'
| 'BOARDING_PASS'
| 'DE_MEDICAL_PLAN'
| 'MEDICAL_CERTIFICATE'
| 'ID_CARD_PDF_417'
| 'SEPA'
| 'SWISS_QR'
| 'VCARD';
export type BarcodeFormat =
| 'AZTEC'
| 'CODABAR'
| 'CODE_39'
| 'CODE_93'
| 'CODE_128'
| 'DATA_MATRIX'
| 'EAN_8'
| 'EAN_13'
| 'ITF'
| 'PDF_417'
| 'QR_CODE'
| 'RSS_14'
| 'RSS_EXPANDED'
| 'UPC_A'
| 'UPC_E'
| 'UNKNOWN'
| 'MSI_PLESSEY';
export type IDCardDocumentType = 'DeIdBack' | 'DeIdFront' | 'DePassport';
export type CameraPreviewMode = 'FILL_IN' | 'FIT_IN';
export type CameraImageFormat = 'JPG' | 'PNG';
export type CameraModule = 'FRONT' | 'BACK';
export type InterfaceOrientation = 'ALL' | 'PORTRAIT' | 'LANDSCAPE';
export type LicensePlateDetectorMode = 'CLASSIC' | 'ML_BASED';
export type TextFilterStrategy = 'DOCUMENT' | 'LC_DOT_MATRIX_DISPLAY';
export type DetectionStatus =
| 'OK'
| 'OK_BUT_TOO_SMALL'
| 'OK_BUT_BAD_ANGLES'
| 'OK_BUT_BAD_ASPECT_RATIO'
| 'OK_BARCODE'
| 'OK_OFF_CENTER'
| 'ERROR_NOTHING_DETECTED'
| 'ERROR_TOO_DARK'
| 'ERROR_TOO_NOISY';
export type Status = 'OK' | 'CANCELED';
export type ImageFilter =
| 'NONE'
| 'COLOR_ENHANCED'
| 'GRAYSCALE'
| 'PURE_GRAYSCALE'
| 'BINARIZED'
| 'COLOR_DOCUMENT'
| 'PURE_BINARIZED'
| 'BACKGROUND_CLEAN'
| 'BLACK_AND_WHITE'
| 'OTSU_BINARIZATION'
| 'DEEP_BINARIZATION'
| 'LOW_LIGHT_BINARIZATION'
| 'EDGE_HIGHLIGHT'
| 'LOW_LIGHT_BINARIZATION_2';
export type OCROutputFormat =
| 'PLAIN_TEXT'
| 'RESULT_JSON'
| 'PDF_FILE'
| 'FULL_OCR_RESULT';
export type PDFPageSize =
| 'FROM_IMAGE'
| 'A4'
| 'FIXED_A4'
| 'US_LETTER'
| 'FIXED_US_LETTER'
| 'AUTO_LOCALE'
| 'AUTO';
export type MRZDocumentType =
| 'PASSPORT'
| 'TRAVEL_DOCUMENT'
| 'VISA'
| 'ID_CARD'
| 'UNDEFINED';
export type LicenseStatus =
| 'Okay'
| 'Trial'
| 'Expired'
| 'WrongOS'
| 'Corrupted'
| 'AppIDMismatch'
| 'NotSet'
| 'Unknown';
export type DocumentDetectorMode = 'EDGE_BASED' | 'ML_BASED';
export type HealthInsuranceCardValidationType =
| 'NONE'
| 'AUTO_ANY'
| 'AUTO_SUPPORTED'
| 'GERMAN'
| 'AUSTRIAN';
export type TIFFCompression =
| 'NONE'
| 'CCITTRLE'
| 'CCITTFAX3'
| 'CCITT_T4'
| 'CCITTFAX4'
| 'CCITT_T6'
| 'CCITTRLEW'
| 'LZW'
| 'PACKBITS'
| 'DEFLATE'
| 'ADOBE_DEFLATE';
export type FileEncryptionMode = 'AES128' | 'AES256';
export type MSIPlesseyChecksumAlgorithm =
| 'None'
| 'Mod10'
| 'Mod11IBM'
| 'Mod11NCR'
| 'Mod1010'
| 'Mod1110IBM'
| 'Mod1110NCR';
export type EngineMode = 'NEXT_GEN' | 'LEGACY';