@regulaforensics/document-reader 8.2.186-beta

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.
Files changed (439) hide show
  1. package/README.md +18 -0
  2. package/RNDocumentReader.podspec +21 -0
  3. package/android/CVDDocumentReader.kt +74 -0
  4. package/android/build.gradle +36 -0
  5. package/android/cordova.gradle +12 -0
  6. package/android/src/main/java/com/regula/plugin/documentreader/BluetoothUtil.kt +160 -0
  7. package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +826 -0
  8. package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +1795 -0
  9. package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +573 -0
  10. package/android/src/main/java/com/regula/plugin/documentreader/RNDocumentReaderModule.kt +100 -0
  11. package/android/src/main/java/com/regula/plugin/documentreader/Utils.kt +181 -0
  12. package/examples/capacitor/README.md +12 -0
  13. package/examples/capacitor/android/app/build.gradle +50 -0
  14. package/examples/capacitor/android/app/capacitor.build.gradle +22 -0
  15. package/examples/capacitor/android/app/proguard-rules.pro +21 -0
  16. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +27 -0
  17. package/examples/capacitor/android/app/src/main/assets/Regula/.gitkeep +0 -0
  18. package/examples/capacitor/android/app/src/main/java/com/regula/dr/fullauthrfid/MainActivity.java +5 -0
  19. package/examples/capacitor/android/app/src/main/res/drawable/ic_launcher.png +0 -0
  20. package/examples/capacitor/android/app/src/main/res/drawable/splash.png +0 -0
  21. package/examples/capacitor/android/app/src/main/res/layout/activity_main.xml +12 -0
  22. package/examples/capacitor/android/app/src/main/res/values/strings.xml +7 -0
  23. package/examples/capacitor/android/app/src/main/res/values/styles.xml +22 -0
  24. package/examples/capacitor/android/build.gradle +30 -0
  25. package/examples/capacitor/android/capacitor.settings.gradle +15 -0
  26. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  27. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  28. package/examples/capacitor/android/gradle.properties +22 -0
  29. package/examples/capacitor/android/gradlew +252 -0
  30. package/examples/capacitor/android/gradlew.bat +94 -0
  31. package/examples/capacitor/android/settings.gradle +5 -0
  32. package/examples/capacitor/android/variables.gradle +16 -0
  33. package/examples/capacitor/index.html +10 -0
  34. package/examples/capacitor/ionic.config.json +7 -0
  35. package/examples/capacitor/ios/App/App/App.entitlements +5 -0
  36. package/examples/capacitor/ios/App/App/AppDelegate.swift +49 -0
  37. package/examples/capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
  38. package/examples/capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
  39. package/examples/capacitor/ios/App/App/Assets.xcassets/Contents.json +6 -0
  40. package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +23 -0
  41. package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
  42. package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
  43. package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
  44. package/examples/capacitor/ios/App/App/Base.lproj/LaunchScreen.storyboard +32 -0
  45. package/examples/capacitor/ios/App/App/Base.lproj/Main.storyboard +19 -0
  46. package/examples/capacitor/ios/App/App/Info.plist +53 -0
  47. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +414 -0
  48. package/examples/capacitor/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  49. package/examples/capacitor/ios/App/App.xcworkspace/contents.xcworkspacedata +10 -0
  50. package/examples/capacitor/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  51. package/examples/capacitor/ios/App/Podfile +26 -0
  52. package/examples/capacitor/ios/App/Podfile.lock +56 -0
  53. package/examples/capacitor/package-lock.json +3467 -0
  54. package/examples/capacitor/package.json +29 -0
  55. package/examples/capacitor/public/assets/.gitkeep +0 -0
  56. package/examples/capacitor/public/images/document.png +0 -0
  57. package/examples/capacitor/public/images/portrait.png +0 -0
  58. package/examples/capacitor/scripts/android.sh +9 -0
  59. package/examples/capacitor/scripts/ios.sh +8 -0
  60. package/examples/capacitor/scripts/setup.sh +6 -0
  61. package/examples/capacitor/src/extra/bt_device.tsx +32 -0
  62. package/examples/capacitor/src/extra/custom_rfid.tsx +74 -0
  63. package/examples/capacitor/src/main.css +131 -0
  64. package/examples/capacitor/src/main.html +41 -0
  65. package/examples/capacitor/src/main.tsx +175 -0
  66. package/examples/capacitor/tsconfig.json +5 -0
  67. package/examples/capacitor/vite.config.ts +17 -0
  68. package/examples/cordova/.vscode/launch.json +28 -0
  69. package/examples/cordova/.vscode/typings/cordova/cordova.d.ts +80 -0
  70. package/examples/cordova/README.md +12 -0
  71. package/examples/cordova/config.xml +29 -0
  72. package/examples/cordova/package-lock.json +1314 -0
  73. package/examples/cordova/package.json +32 -0
  74. package/examples/cordova/scripts/android.sh +8 -0
  75. package/examples/cordova/scripts/ios.sh +8 -0
  76. package/examples/cordova/scripts/setup.sh +8 -0
  77. package/examples/cordova/www/images/document.png +0 -0
  78. package/examples/cordova/www/images/logo.png +0 -0
  79. package/examples/cordova/www/images/portrait.png +0 -0
  80. package/examples/cordova/www/index.html +21 -0
  81. package/examples/cordova/www/src/main.css +130 -0
  82. package/examples/cordova/www/src/main.html +63 -0
  83. package/examples/cordova/www/src/main.js +50 -0
  84. package/examples/ionic/README.md +12 -0
  85. package/examples/ionic/angular.json +39 -0
  86. package/examples/ionic/config.xml +28 -0
  87. package/examples/ionic/index.html +19 -0
  88. package/examples/ionic/index.ts +17 -0
  89. package/examples/ionic/ionic.config.json +7 -0
  90. package/examples/ionic/package-lock.json +16559 -0
  91. package/examples/ionic/package.json +47 -0
  92. package/examples/ionic/scripts/android.sh +8 -0
  93. package/examples/ionic/scripts/ios.sh +8 -0
  94. package/examples/ionic/scripts/setup.sh +8 -0
  95. package/examples/ionic/src/assets/.gitkeep +0 -0
  96. package/examples/ionic/src/images/document.png +0 -0
  97. package/examples/ionic/src/images/icon.png +0 -0
  98. package/examples/ionic/src/images/portrait.png +0 -0
  99. package/examples/ionic/src/main.css +130 -0
  100. package/examples/ionic/src/main.html +63 -0
  101. package/examples/ionic/src/main.ts +66 -0
  102. package/examples/ionic/tsconfig.json +12 -0
  103. package/examples/react_native/README.md +12 -0
  104. package/examples/react_native/app.config.ts +53 -0
  105. package/examples/react_native/assets/.gitkeep +0 -0
  106. package/examples/react_native/images/document.png +0 -0
  107. package/examples/react_native/images/icon/adaptive-icon.png +0 -0
  108. package/examples/react_native/images/icon/icon.png +0 -0
  109. package/examples/react_native/images/portrait.png +0 -0
  110. package/examples/react_native/index.html +11 -0
  111. package/examples/react_native/index.tsx +52 -0
  112. package/examples/react_native/metro.config.js +7 -0
  113. package/examples/react_native/package-lock.json +9254 -0
  114. package/examples/react_native/package.json +27 -0
  115. package/examples/react_native/scripts/android.sh +12 -0
  116. package/examples/react_native/scripts/ios.sh +11 -0
  117. package/examples/react_native/scripts/setup.sh +8 -0
  118. package/examples/react_native/src/main.css +130 -0
  119. package/examples/react_native/src/main.html +63 -0
  120. package/examples/react_native/src/main.tsx +50 -0
  121. package/ios/CVDDocumentReader.h +7 -0
  122. package/ios/CVDDocumentReader.m +39 -0
  123. package/ios/RGLWConfig.h +42 -0
  124. package/ios/RGLWConfig.m +1398 -0
  125. package/ios/RGLWJSONConstructor.h +185 -0
  126. package/ios/RGLWJSONConstructor.m +2379 -0
  127. package/ios/RGLWMain.h +36 -0
  128. package/ios/RGLWMain.m +610 -0
  129. package/ios/RNDocumentReader.h +8 -0
  130. package/ios/RNDocumentReader.m +49 -0
  131. package/package.json +36 -0
  132. package/plugin.xml +51 -0
  133. package/www/capacitor/config/InitConfig.js +25 -0
  134. package/www/capacitor/config/OnlineProcessingConfig.js +41 -0
  135. package/www/capacitor/config/RFIDConfig.js +31 -0
  136. package/www/capacitor/config/RecognizeConfig.js +103 -0
  137. package/www/capacitor/config/ScannerConfig.js +38 -0
  138. package/www/capacitor/index.js +486 -0
  139. package/www/capacitor/info/DocReaderException.js +57 -0
  140. package/www/capacitor/info/DocReaderScenario.js +71 -0
  141. package/www/capacitor/info/DocReaderVersion.js +23 -0
  142. package/www/capacitor/info/DocumentsDatabase.js +27 -0
  143. package/www/capacitor/info/License.js +22 -0
  144. package/www/capacitor/info/PrepareProgress.js +23 -0
  145. package/www/capacitor/info/RFIDException.js +19 -0
  146. package/www/capacitor/internal/bridge.js +98 -0
  147. package/www/capacitor/internal/cordova.js +17 -0
  148. package/www/capacitor/params/Functionality.js +303 -0
  149. package/www/capacitor/params/customization/Customization.js +550 -0
  150. package/www/capacitor/params/customization/CustomizationColors.js +74 -0
  151. package/www/capacitor/params/customization/CustomizationFonts.js +40 -0
  152. package/www/capacitor/params/customization/CustomizationImages.js +25 -0
  153. package/www/capacitor/params/customization/Font.js +28 -0
  154. package/www/capacitor/params/process_params/AuthenticityParams.js +129 -0
  155. package/www/capacitor/params/process_params/BackendProcessingConfig.js +25 -0
  156. package/www/capacitor/params/process_params/FaceApiParams.js +38 -0
  157. package/www/capacitor/params/process_params/FaceApiSearchParams.js +21 -0
  158. package/www/capacitor/params/process_params/GlaresCheckParams.js +18 -0
  159. package/www/capacitor/params/process_params/ImageQA.js +97 -0
  160. package/www/capacitor/params/process_params/LivenessParams.js +67 -0
  161. package/www/capacitor/params/process_params/ProcessParams.js +570 -0
  162. package/www/capacitor/params/process_params/RfidParams.js +15 -0
  163. package/www/capacitor/params/rfid_scenario/DTCDataGroups.js +53 -0
  164. package/www/capacitor/params/rfid_scenario/EDLDataGroups.js +116 -0
  165. package/www/capacitor/params/rfid_scenario/EIDDataGroups.js +165 -0
  166. package/www/capacitor/params/rfid_scenario/EPassportDataGroups.js +130 -0
  167. package/www/capacitor/params/rfid_scenario/RFIDScenario.js +493 -0
  168. package/www/capacitor/results/DocumentType.js +285 -0
  169. package/www/capacitor/results/Position.js +60 -0
  170. package/www/capacitor/results/Results.js +318 -0
  171. package/www/capacitor/results/TransactionInfo.js +16 -0
  172. package/www/capacitor/results/authenticity/Authenticity.js +23 -0
  173. package/www/capacitor/results/authenticity/AuthenticityCheck.js +33 -0
  174. package/www/capacitor/results/authenticity/AuthenticityElement.js +27 -0
  175. package/www/capacitor/results/authenticity/AuthenticityResult.js +26 -0
  176. package/www/capacitor/results/authenticity/CheckDiagnose.js +124 -0
  177. package/www/capacitor/results/authenticity/SecurityFeatureType.js +59 -0
  178. package/www/capacitor/results/barcode/BarcodeField.js +24 -0
  179. package/www/capacitor/results/barcode/BarcodeResult.js +24 -0
  180. package/www/capacitor/results/barcode/BarcodeStatus.js +33 -0
  181. package/www/capacitor/results/barcode/BarcodeType.js +21 -0
  182. package/www/capacitor/results/barcode/PDF417Info.js +16 -0
  183. package/www/capacitor/results/image_quality/ImageQuality.js +31 -0
  184. package/www/capacitor/results/image_quality/ImageQualityCheckType.js +19 -0
  185. package/www/capacitor/results/image_quality/ImageQualityGroup.js +30 -0
  186. package/www/capacitor/results/rfid/AccessControlProcedureType.js +21 -0
  187. package/www/capacitor/results/rfid/Application.js +47 -0
  188. package/www/capacitor/results/rfid/Attribute.js +16 -0
  189. package/www/capacitor/results/rfid/Authority.js +28 -0
  190. package/www/capacitor/results/rfid/CardProperties.js +38 -0
  191. package/www/capacitor/results/rfid/CertificateChain.js +51 -0
  192. package/www/capacitor/results/rfid/CertificateData.js +14 -0
  193. package/www/capacitor/results/rfid/DataField.js +16 -0
  194. package/www/capacitor/results/rfid/Extension.js +14 -0
  195. package/www/capacitor/results/rfid/File.js +39 -0
  196. package/www/capacitor/results/rfid/FileData.js +18 -0
  197. package/www/capacitor/results/rfid/RFIDAccessControlProcedureType.js +10 -0
  198. package/www/capacitor/results/rfid/RFIDCertificateType.js +13 -0
  199. package/www/capacitor/results/rfid/RFIDDataFileType.js +98 -0
  200. package/www/capacitor/results/rfid/RFIDSessionData.js +76 -0
  201. package/www/capacitor/results/rfid/RFIDValidity.js +16 -0
  202. package/www/capacitor/results/rfid/RFIDValue.js +20 -0
  203. package/www/capacitor/results/rfid/SecurityObject.js +31 -0
  204. package/www/capacitor/results/rfid/SecurityObjectCertificates.js +14 -0
  205. package/www/capacitor/results/rfid/SignerInfo.js +57 -0
  206. package/www/capacitor/results/status/CheckResult.js +5 -0
  207. package/www/capacitor/results/status/OpticalStatus.js +30 -0
  208. package/www/capacitor/results/status/RFIDStatus.js +26 -0
  209. package/www/capacitor/results/status/ResultsStatus.js +28 -0
  210. package/www/capacitor/results/visible_digital_seals/BytesData.js +18 -0
  211. package/www/capacitor/results/visible_digital_seals/LDSParsingErrorCodes.js +134 -0
  212. package/www/capacitor/results/visible_digital_seals/LDSParsingNotificationCodes.js +232 -0
  213. package/www/capacitor/results/visible_digital_seals/VDSNCData.js +40 -0
  214. package/www/capacitor/results/visual_results/Comparison.js +19 -0
  215. package/www/capacitor/results/visual_results/FieldType.js +658 -0
  216. package/www/capacitor/results/visual_results/GraphicField.js +33 -0
  217. package/www/capacitor/results/visual_results/GraphicFieldType.js +25 -0
  218. package/www/capacitor/results/visual_results/GraphicResult.js +22 -0
  219. package/www/capacitor/results/visual_results/LCID.js +174 -0
  220. package/www/capacitor/results/visual_results/Lights.js +11 -0
  221. package/www/capacitor/results/visual_results/RFIDOrigin.js +18 -0
  222. package/www/capacitor/results/visual_results/Rect.js +18 -0
  223. package/www/capacitor/results/visual_results/Symbol.js +18 -0
  224. package/www/capacitor/results/visual_results/TextField.js +68 -0
  225. package/www/capacitor/results/visual_results/TextResult.js +42 -0
  226. package/www/capacitor/results/visual_results/TextSource.js +19 -0
  227. package/www/capacitor/results/visual_results/Validity.js +17 -0
  228. package/www/capacitor/results/visual_results/Value.js +39 -0
  229. package/www/capacitor/rfid/PAAttribute.js +17 -0
  230. package/www/capacitor/rfid/PAResourcesIssuer.js +27 -0
  231. package/www/capacitor/rfid/PKDCertificate.js +54 -0
  232. package/www/capacitor/rfid/RFIDErrorCodes.js +123 -0
  233. package/www/capacitor/rfid/RFIDNotification.js +60 -0
  234. package/www/capacitor/rfid/TAChallenge.js +23 -0
  235. package/www/capacitor/rfid/TccParams.js +24 -0
  236. package/www/cordova.js +9816 -0
  237. package/www/react-native/config/InitConfig.js +25 -0
  238. package/www/react-native/config/OnlineProcessingConfig.js +41 -0
  239. package/www/react-native/config/RFIDConfig.js +31 -0
  240. package/www/react-native/config/RecognizeConfig.js +103 -0
  241. package/www/react-native/config/ScannerConfig.js +38 -0
  242. package/www/react-native/index.js +486 -0
  243. package/www/react-native/info/DocReaderException.js +57 -0
  244. package/www/react-native/info/DocReaderScenario.js +71 -0
  245. package/www/react-native/info/DocReaderVersion.js +23 -0
  246. package/www/react-native/info/DocumentsDatabase.js +27 -0
  247. package/www/react-native/info/License.js +22 -0
  248. package/www/react-native/info/PrepareProgress.js +23 -0
  249. package/www/react-native/info/RFIDException.js +19 -0
  250. package/www/react-native/internal/bridge.js +98 -0
  251. package/www/react-native/params/Functionality.js +303 -0
  252. package/www/react-native/params/customization/Customization.js +550 -0
  253. package/www/react-native/params/customization/CustomizationColors.js +74 -0
  254. package/www/react-native/params/customization/CustomizationFonts.js +40 -0
  255. package/www/react-native/params/customization/CustomizationImages.js +25 -0
  256. package/www/react-native/params/customization/Font.js +28 -0
  257. package/www/react-native/params/process_params/AuthenticityParams.js +129 -0
  258. package/www/react-native/params/process_params/BackendProcessingConfig.js +25 -0
  259. package/www/react-native/params/process_params/FaceApiParams.js +38 -0
  260. package/www/react-native/params/process_params/FaceApiSearchParams.js +21 -0
  261. package/www/react-native/params/process_params/GlaresCheckParams.js +18 -0
  262. package/www/react-native/params/process_params/ImageQA.js +97 -0
  263. package/www/react-native/params/process_params/LivenessParams.js +67 -0
  264. package/www/react-native/params/process_params/ProcessParams.js +570 -0
  265. package/www/react-native/params/process_params/RfidParams.js +15 -0
  266. package/www/react-native/params/rfid_scenario/DTCDataGroups.js +53 -0
  267. package/www/react-native/params/rfid_scenario/EDLDataGroups.js +116 -0
  268. package/www/react-native/params/rfid_scenario/EIDDataGroups.js +165 -0
  269. package/www/react-native/params/rfid_scenario/EPassportDataGroups.js +130 -0
  270. package/www/react-native/params/rfid_scenario/RFIDScenario.js +493 -0
  271. package/www/react-native/results/DocumentType.js +285 -0
  272. package/www/react-native/results/Position.js +60 -0
  273. package/www/react-native/results/Results.js +318 -0
  274. package/www/react-native/results/TransactionInfo.js +16 -0
  275. package/www/react-native/results/authenticity/Authenticity.js +23 -0
  276. package/www/react-native/results/authenticity/AuthenticityCheck.js +33 -0
  277. package/www/react-native/results/authenticity/AuthenticityElement.js +27 -0
  278. package/www/react-native/results/authenticity/AuthenticityResult.js +26 -0
  279. package/www/react-native/results/authenticity/CheckDiagnose.js +124 -0
  280. package/www/react-native/results/authenticity/SecurityFeatureType.js +59 -0
  281. package/www/react-native/results/barcode/BarcodeField.js +24 -0
  282. package/www/react-native/results/barcode/BarcodeResult.js +24 -0
  283. package/www/react-native/results/barcode/BarcodeStatus.js +33 -0
  284. package/www/react-native/results/barcode/BarcodeType.js +21 -0
  285. package/www/react-native/results/barcode/PDF417Info.js +16 -0
  286. package/www/react-native/results/image_quality/ImageQuality.js +31 -0
  287. package/www/react-native/results/image_quality/ImageQualityCheckType.js +19 -0
  288. package/www/react-native/results/image_quality/ImageQualityGroup.js +30 -0
  289. package/www/react-native/results/rfid/AccessControlProcedureType.js +21 -0
  290. package/www/react-native/results/rfid/Application.js +47 -0
  291. package/www/react-native/results/rfid/Attribute.js +16 -0
  292. package/www/react-native/results/rfid/Authority.js +28 -0
  293. package/www/react-native/results/rfid/CardProperties.js +38 -0
  294. package/www/react-native/results/rfid/CertificateChain.js +51 -0
  295. package/www/react-native/results/rfid/CertificateData.js +14 -0
  296. package/www/react-native/results/rfid/DataField.js +16 -0
  297. package/www/react-native/results/rfid/Extension.js +14 -0
  298. package/www/react-native/results/rfid/File.js +39 -0
  299. package/www/react-native/results/rfid/FileData.js +18 -0
  300. package/www/react-native/results/rfid/RFIDAccessControlProcedureType.js +10 -0
  301. package/www/react-native/results/rfid/RFIDCertificateType.js +13 -0
  302. package/www/react-native/results/rfid/RFIDDataFileType.js +98 -0
  303. package/www/react-native/results/rfid/RFIDSessionData.js +76 -0
  304. package/www/react-native/results/rfid/RFIDValidity.js +16 -0
  305. package/www/react-native/results/rfid/RFIDValue.js +20 -0
  306. package/www/react-native/results/rfid/SecurityObject.js +31 -0
  307. package/www/react-native/results/rfid/SecurityObjectCertificates.js +14 -0
  308. package/www/react-native/results/rfid/SignerInfo.js +57 -0
  309. package/www/react-native/results/status/CheckResult.js +5 -0
  310. package/www/react-native/results/status/OpticalStatus.js +30 -0
  311. package/www/react-native/results/status/RFIDStatus.js +26 -0
  312. package/www/react-native/results/status/ResultsStatus.js +28 -0
  313. package/www/react-native/results/visible_digital_seals/BytesData.js +18 -0
  314. package/www/react-native/results/visible_digital_seals/LDSParsingErrorCodes.js +134 -0
  315. package/www/react-native/results/visible_digital_seals/LDSParsingNotificationCodes.js +232 -0
  316. package/www/react-native/results/visible_digital_seals/VDSNCData.js +40 -0
  317. package/www/react-native/results/visual_results/Comparison.js +19 -0
  318. package/www/react-native/results/visual_results/FieldType.js +658 -0
  319. package/www/react-native/results/visual_results/GraphicField.js +33 -0
  320. package/www/react-native/results/visual_results/GraphicFieldType.js +25 -0
  321. package/www/react-native/results/visual_results/GraphicResult.js +22 -0
  322. package/www/react-native/results/visual_results/LCID.js +174 -0
  323. package/www/react-native/results/visual_results/Lights.js +11 -0
  324. package/www/react-native/results/visual_results/RFIDOrigin.js +18 -0
  325. package/www/react-native/results/visual_results/Rect.js +18 -0
  326. package/www/react-native/results/visual_results/Symbol.js +18 -0
  327. package/www/react-native/results/visual_results/TextField.js +68 -0
  328. package/www/react-native/results/visual_results/TextResult.js +42 -0
  329. package/www/react-native/results/visual_results/TextSource.js +19 -0
  330. package/www/react-native/results/visual_results/Validity.js +17 -0
  331. package/www/react-native/results/visual_results/Value.js +39 -0
  332. package/www/react-native/rfid/PAAttribute.js +17 -0
  333. package/www/react-native/rfid/PAResourcesIssuer.js +27 -0
  334. package/www/react-native/rfid/PKDCertificate.js +54 -0
  335. package/www/react-native/rfid/RFIDErrorCodes.js +123 -0
  336. package/www/react-native/rfid/RFIDNotification.js +60 -0
  337. package/www/react-native/rfid/TAChallenge.js +23 -0
  338. package/www/react-native/rfid/TccParams.js +24 -0
  339. package/www/types/config/InitConfig.d.ts +63 -0
  340. package/www/types/config/OnlineProcessingConfig.d.ts +22 -0
  341. package/www/types/config/RFIDConfig.d.ts +131 -0
  342. package/www/types/config/RecognizeConfig.d.ts +119 -0
  343. package/www/types/config/ScannerConfig.d.ts +54 -0
  344. package/www/types/index.d.ts +421 -0
  345. package/www/types/info/DocReaderException.d.ts +79 -0
  346. package/www/types/info/DocReaderScenario.d.ts +90 -0
  347. package/www/types/info/DocReaderVersion.d.ts +28 -0
  348. package/www/types/info/DocumentsDatabase.d.ts +42 -0
  349. package/www/types/info/License.d.ts +23 -0
  350. package/www/types/info/PrepareProgress.d.ts +15 -0
  351. package/www/types/info/RFIDException.d.ts +8 -0
  352. package/www/types/params/Functionality.d.ts +316 -0
  353. package/www/types/params/customization/Customization.d.ts +558 -0
  354. package/www/types/params/customization/CustomizationColors.d.ts +16 -0
  355. package/www/types/params/customization/CustomizationFonts.d.ts +13 -0
  356. package/www/types/params/customization/CustomizationImages.d.ts +12 -0
  357. package/www/types/params/customization/Font.d.ts +36 -0
  358. package/www/types/params/process_params/AuthenticityParams.d.ts +30 -0
  359. package/www/types/params/process_params/BackendProcessingConfig.d.ts +25 -0
  360. package/www/types/params/process_params/FaceApiParams.d.ts +68 -0
  361. package/www/types/params/process_params/FaceApiSearchParams.d.ts +35 -0
  362. package/www/types/params/process_params/GlaresCheckParams.d.ts +26 -0
  363. package/www/types/params/process_params/ImageQA.d.ts +79 -0
  364. package/www/types/params/process_params/LivenessParams.d.ts +20 -0
  365. package/www/types/params/process_params/ProcessParams.d.ts +465 -0
  366. package/www/types/params/process_params/RfidParams.d.ts +19 -0
  367. package/www/types/params/rfid_scenario/DTCDataGroups.d.ts +13 -0
  368. package/www/types/params/rfid_scenario/EDLDataGroups.d.ts +22 -0
  369. package/www/types/params/rfid_scenario/EIDDataGroups.d.ts +29 -0
  370. package/www/types/params/rfid_scenario/EPassportDataGroups.d.ts +24 -0
  371. package/www/types/params/rfid_scenario/RFIDScenario.d.ts +167 -0
  372. package/www/types/results/DocumentType.d.ts +525 -0
  373. package/www/types/results/Position.d.ts +50 -0
  374. package/www/types/results/Results.d.ts +283 -0
  375. package/www/types/results/TransactionInfo.d.ts +9 -0
  376. package/www/types/results/authenticity/Authenticity.d.ts +67 -0
  377. package/www/types/results/authenticity/AuthenticityCheck.d.ts +23 -0
  378. package/www/types/results/authenticity/AuthenticityElement.d.ts +26 -0
  379. package/www/types/results/authenticity/AuthenticityResult.d.ts +16 -0
  380. package/www/types/results/authenticity/CheckDiagnose.d.ts +229 -0
  381. package/www/types/results/authenticity/SecurityFeatureType.d.ts +100 -0
  382. package/www/types/results/barcode/BarcodeField.d.ts +37 -0
  383. package/www/types/results/barcode/BarcodeResult.d.ts +14 -0
  384. package/www/types/results/barcode/BarcodeStatus.d.ts +66 -0
  385. package/www/types/results/barcode/BarcodeType.d.ts +45 -0
  386. package/www/types/results/barcode/PDF417Info.d.ts +15 -0
  387. package/www/types/results/image_quality/ImageQuality.d.ts +18 -0
  388. package/www/types/results/image_quality/ImageQualityCheckType.d.ts +30 -0
  389. package/www/types/results/image_quality/ImageQualityGroup.d.ts +17 -0
  390. package/www/types/results/rfid/AccessControlProcedureType.d.ts +21 -0
  391. package/www/types/results/rfid/Application.d.ts +44 -0
  392. package/www/types/results/rfid/Attribute.d.ts +9 -0
  393. package/www/types/results/rfid/Authority.d.ts +11 -0
  394. package/www/types/results/rfid/CardProperties.d.ts +48 -0
  395. package/www/types/results/rfid/CertificateChain.d.ts +28 -0
  396. package/www/types/results/rfid/CertificateData.d.ts +7 -0
  397. package/www/types/results/rfid/DataField.d.ts +9 -0
  398. package/www/types/results/rfid/Extension.d.ts +7 -0
  399. package/www/types/results/rfid/File.d.ts +22 -0
  400. package/www/types/results/rfid/FileData.d.ts +9 -0
  401. package/www/types/results/rfid/RFIDAccessControlProcedureType.d.ts +18 -0
  402. package/www/types/results/rfid/RFIDCertificateType.d.ts +13 -0
  403. package/www/types/results/rfid/RFIDDataFileType.d.ts +101 -0
  404. package/www/types/results/rfid/RFIDSessionData.d.ts +48 -0
  405. package/www/types/results/rfid/RFIDValidity.d.ts +9 -0
  406. package/www/types/results/rfid/RFIDValue.d.ts +10 -0
  407. package/www/types/results/rfid/SecurityObject.d.ts +28 -0
  408. package/www/types/results/rfid/SecurityObjectCertificates.d.ts +8 -0
  409. package/www/types/results/rfid/SignerInfo.d.ts +41 -0
  410. package/www/types/results/status/CheckResult.d.ts +8 -0
  411. package/www/types/results/status/OpticalStatus.d.ts +29 -0
  412. package/www/types/results/status/RFIDStatus.d.ts +22 -0
  413. package/www/types/results/status/ResultsStatus.d.ts +24 -0
  414. package/www/types/results/visible_digital_seals/BytesData.d.ts +9 -0
  415. package/www/types/results/visible_digital_seals/LDSParsingErrorCodes.d.ts +132 -0
  416. package/www/types/results/visible_digital_seals/LDSParsingNotificationCodes.d.ts +230 -0
  417. package/www/types/results/visible_digital_seals/VDSNCData.d.ts +35 -0
  418. package/www/types/results/visual_results/Comparison.d.ts +15 -0
  419. package/www/types/results/visual_results/FieldType.d.ts +1310 -0
  420. package/www/types/results/visual_results/GraphicField.d.ts +29 -0
  421. package/www/types/results/visual_results/GraphicFieldType.d.ts +52 -0
  422. package/www/types/results/visual_results/GraphicResult.d.ts +10 -0
  423. package/www/types/results/visual_results/LCID.d.ts +173 -0
  424. package/www/types/results/visual_results/Lights.d.ts +23 -0
  425. package/www/types/results/visual_results/RFIDOrigin.d.ts +10 -0
  426. package/www/types/results/visual_results/Rect.d.ts +9 -0
  427. package/www/types/results/visual_results/Symbol.d.ts +14 -0
  428. package/www/types/results/visual_results/TextField.d.ts +40 -0
  429. package/www/types/results/visual_results/TextResult.d.ts +23 -0
  430. package/www/types/results/visual_results/TextSource.d.ts +15 -0
  431. package/www/types/results/visual_results/Validity.d.ts +13 -0
  432. package/www/types/results/visual_results/Value.d.ts +27 -0
  433. package/www/types/rfid/PAAttribute.d.ts +4 -0
  434. package/www/types/rfid/PAResourcesIssuer.d.ts +7 -0
  435. package/www/types/rfid/PKDCertificate.d.ts +34 -0
  436. package/www/types/rfid/RFIDErrorCodes.d.ts +121 -0
  437. package/www/types/rfid/RFIDNotification.d.ts +153 -0
  438. package/www/types/rfid/TAChallenge.d.ts +7 -0
  439. package/www/types/rfid/TccParams.d.ts +25 -0
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Enumeration contains identifiers that determine the types of elements
3
+ * for the document authenticity check.
4
+ */
5
+ export declare enum SecurityFeatureType {
6
+ /** Will be returned if getByValue if a non-existent was passed. */
7
+ UNKNOWN = -2,
8
+ NONE = -1,
9
+ /** Blank element. */
10
+ BLANK = 0,
11
+ /** Personalization element. */
12
+ FILL = 1,
13
+ /** Photo. */
14
+ PHOTO = 2,
15
+ /** MRZ. */
16
+ MRZ = 3,
17
+ /** Photo surrounding area. */
18
+ FALSE_LUMINESCENCE = 4,
19
+ /** Reserved for internal use. */
20
+ HOLO_SIMPLE = 5,
21
+ /** Reserved for internal use. */
22
+ HOLO_VERIFY_STATIC = 6,
23
+ /** Reserved for internal use. */
24
+ HOLO_VERIFY_MULTI_STATIC = 7,
25
+ /** Reserved for internal use. */
26
+ HOLO_VERIFY_DINAMIC = 8,
27
+ /** Reserved for internal use. */
28
+ PATTERN_NOT_INTERRUPTED = 9,
29
+ /** Reserved for internal use. */
30
+ PATTERN_NOT_SHIFTED = 10,
31
+ /** Reserved for internal use. */
32
+ PATTERN_SAME_COLORS = 11,
33
+ /** Reserved for internal use. */
34
+ PATTERN_IR_INVISIBLE = 12,
35
+ /** Reserved for internal use. */
36
+ PHOTO_SIZE_CHECK = 13,
37
+ /** Main portrait and ghost portrait comparison. */
38
+ PORTRAIT_COMPARISON_VS_GHOST = 14,
39
+ /** Main portrait and RFID portrait comparison. */
40
+ PORTRAIT_COMPARISON_VS_RFID = 15,
41
+ /** Main portrait and other page portrait comparison. */
42
+ PORTRAIT_COMPARISON_VS_VISUAL = 16,
43
+ /** Barcode format check. */
44
+ BARCODE = 17,
45
+ /** Different lines thickness. */
46
+ PATTERN_DIFFERENT_LINES_THICKNESS = 18,
47
+ /** Portrait comparison with image from camera. */
48
+ PORTRAIT_COMPARISON_VS_CAMERA = 19,
49
+ /** Portrait comparison with image from RFID. */
50
+ PORTRAIT_COMPARISON_RFID_VS_CAMERA = 20,
51
+ /** Ghost photo. */
52
+ GHOST_PHOTO = 21,
53
+ /** Clear ghost photo. */
54
+ CLEAR_GHOST_PHOTO = 22,
55
+ /** Invisible object. */
56
+ INVISIBLE_OBJECT = 23,
57
+ /** Low contrast object. */
58
+ LOW_CONTRAST_OBJECT = 24,
59
+ /** Photo color type. */
60
+ PHOTO_COLOR = 25,
61
+ /** Photo squareness check. */
62
+ PHOTO_SHAPE = 26,
63
+ /** Photo corners shape. */
64
+ PHOTO_CORNERS = 27,
65
+ DOCUMENT_CANCELLING_DETECTOR = 28,
66
+ OCR = 28,
67
+ PORTRAIT_COMPARISON_EXTVS_VISUAL = 29,
68
+ PORTRAIT_COMPARISON_EXTVS_RFID = 30,
69
+ PORTRAIT_COMPARISON_EXTVS_LIVE = 31,
70
+ LIVENESS_DEPTH = 32,
71
+ MICROTEXT = 33,
72
+ FLUORESCENT_OBJECT = 34,
73
+ LANDMARKS_CHECK = 35,
74
+ FACE_PRESENCE = 36,
75
+ FACE_ABSENCE = 38,
76
+ LIVENESS_SCREEN_CAPTURE = 39,
77
+ /** Checking the presence of a device that could be used for document capturing. */
78
+ LIVENESS_ELECTRONIC_DEVICE = 40,
79
+ LIVENESS_OVI = 41,
80
+ BARCODE_SIZE_CHECK = 42,
81
+ LAS_INK = 43,
82
+ LIVENESS_MLI = 44,
83
+ LIVENESS_BARCODE_BACKGROUND = 45,
84
+ /** Visual zone portrait image vs. image from barcode. */
85
+ PORTRAIT_COMPARISON_VS_BARCODE = 46,
86
+ /** Image from barcode vs. image from RFID. */
87
+ PORTRAIT_COMPARISON_RFID_VS_BARCODE = 47,
88
+ /** Image from barcode vs. external source image. */
89
+ PORTRAIT_COMPARISON_EXT_VS_BARCODE = 48,
90
+ /** Image from barcode vs. photo from camera. */
91
+ PORTRAIT_COMPARISON_BARCODE_VS_CAMERA = 49,
92
+ /** Digital signature сheck. */
93
+ CHECK_DIGITAL_SIGNATURE = 50,
94
+ /** Contact сhip check. */
95
+ CONTACT_CHIP_CLASSIFICATION = 51,
96
+ HEAD_POSITION_CHECK = 52,
97
+ LIVENESS_BLACK_AND_WHITE_COPY_CHECK = 53,
98
+ LIVENESS_DYNAPRINT = 54,
99
+ LIVENESS_GEOMETRY_CHECK = 55,
100
+ }
@@ -0,0 +1,37 @@
1
+ import { BarcodeStatus } from "./BarcodeStatus";
2
+ import { BarcodeType } from "./BarcodeType";
3
+ import { PDF417Info } from "./PDF417Info";
4
+
5
+ /**
6
+ * Structure describing single value of the field.
7
+ */
8
+ export declare class BarcodeField {
9
+ /**
10
+ * Decoded barcode type.
11
+ */
12
+ readonly barcodeType: BarcodeType;
13
+ /**
14
+ * Indicates barcode reading result.
15
+ */
16
+ readonly status: BarcodeStatus;
17
+ /**
18
+ * Contains the information about the PDF417 barcode.
19
+ */
20
+ readonly pdf417Info?: PDF417Info;
21
+ /**
22
+ * Results of reading data from barcode modules.
23
+ *
24
+ * Base64 string.
25
+ */
26
+ readonly data?: string;
27
+ /**
28
+ * Indicates an index of the document page, whence the result is received.
29
+ */
30
+ readonly pageIndex: number;
31
+
32
+ /**
33
+ * Allows you to deserialize object.
34
+ * @param jsonObject
35
+ */
36
+ static fromJson(jsonObject: any): BarcodeField | null;
37
+ }
@@ -0,0 +1,14 @@
1
+ import { BarcodeField } from "./BarcodeField";
2
+
3
+ /**
4
+ * Structure, describing single barcode extracted.
5
+ */
6
+ export declare class BarcodeResult {
7
+ readonly fields: BarcodeField[];
8
+
9
+ /**
10
+ * Allows you to deserialize object.
11
+ * @param jsonObject
12
+ */
13
+ static fromJson(jsonObject: any): BarcodeResult | null;
14
+ }
@@ -0,0 +1,66 @@
1
+ export declare enum BarcodeStatus {
2
+ /** Will be returned if getByValue if a non-existent was passed. */
3
+ UNKNOWN = -1,
4
+ /** No error. */
5
+ NO_ERR = 0,
6
+ /** Invalid result. */
7
+ INVALID_RESULT = 140,
8
+ /** Null pointer of input arg/param error. */
9
+ NULL_PTR_ERR = -6001,
10
+ /** Function arg/param is bad. */
11
+ BAD_ARG_ERR = -6002,
12
+ /** Wrong value of data size. */
13
+ SIZE_ERR = -6003,
14
+ /** Bad values of any parameter range. */
15
+ RANGE_ERR = -6004,
16
+ /** Internal program error. */
17
+ INTERNAL_ERR = -6005,
18
+ /** try-except process. */
19
+ TRY_EXCEPT_ERR = -6006,
20
+ /** Barcode detection error. */
21
+ BAR_CODE_NOT_FOUND = -6008,
22
+ /** Barcode decoding error. */
23
+ BAR_CODE_DECODE_ERR = -6010,
24
+ /** "ImageProcess.dll" connection error. */
25
+ NO_USER_DLL_FOUND = -6019,
26
+ /** IPP Dll connection error. */
27
+ NO_IPP_DLL_FOUND = -6020,
28
+ /** Run-time error in IPP-function. */
29
+ IPP_EXEC_ERR = -6024,
30
+ /** try-except execution in IPP-function. */
31
+ IPP_TRY_EXCEPT_ERR = -6025,
32
+ /** Input data error. */
33
+ BARCODE_ERROR_INPUT_PARAM = -11001,
34
+ /** Initialization error. */
35
+ BARCODE_ERROR_FINIT = -11006,
36
+ /** "IpDecode.dll" connection error. */
37
+ BARCODE_ERROR_NOT_LOAD_IP_DECODED_LL = -11012,
38
+ /** Internal program error. */
39
+ BARCODE_ERROR_INNER_PROBLEM = -11100,
40
+ /** 1D-barcode decoding error. */
41
+ BARCODE_ERROR_DECODE_1D_BAD_DECODE = -11200,
42
+ /** Row or Column count computational error (PDF417). */
43
+ BARCODE_ERROR_FIND_ROW_OR_COLUMN = -11201,
44
+ /** MinX computational error (PDF417). */
45
+ BARCODE_ERROR_FIND_3X8_2D_X = -11202,
46
+ /** MinY computational error (PDF417). */
47
+ BARCODE_ERROR_FIND_3X8_2D_Y = -11203,
48
+ /** Invalid barcode angle (> 3 degree). */
49
+ BARCODE_ERROR_2D_UGOL_MAX = -11204,
50
+ /** The result may contain decoding errors. */
51
+ BARCODE_ERROR_INDEFINITELY_DECODED = -11210,
52
+ /** Dll initialization error. */
53
+ BARCODE_ERROR_DLL_NOT_INIT = -11300,
54
+ /** try-except in IPDECODE-function. */
55
+ BARCODE_ERROR_IP_DECODE_DLL_Try_Except = -11400,
56
+ /** Too many invalid code words. */
57
+ IPDECODE_ERROR_LARGEERRORS = -4503,
58
+ /** Invalid number of columns. */
59
+ IPDECODE_ERROR_FAULTCOLUMNS = -4504,
60
+ /** Invalid number of rows. */
61
+ IPDECODE_ERROR_FAULTROWS = -4505,
62
+ /** Correction Level error. */
63
+ IPDECODE_ERROR_INCORRECT_ERROR_LEVEL = -4511,
64
+ /** Loading "DevTable.bin" error. */
65
+ IPDECODE_ERROR_LOADING_DEV_TABLE = -4512,
66
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Enumeration contains the types of barcodes that can be processed.
3
+ */
4
+ export declare enum BarcodeType {
5
+ /** Unknown. */
6
+ UNKNOWN = 0,
7
+ /** One-dimensional barcode, ISO 15417 (ANSI/AIM BC4-1999 Code 128). */
8
+ BCT_CODE128 = 1,
9
+ /** One-dimensional barcode, ISO 16388 (ANSI/AIM BC1-1995 Code 39). */
10
+ CODE39 = 2,
11
+ /** One-dimensional barcode, EAN8, ISO 15418. */
12
+ EAN8 = 3,
13
+ /** One-dimensional barcode, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5). */
14
+ ITF = 4,
15
+ /** Two-dimensional barcode, ISO 15438 (AIM USS PDF417). */
16
+ PDF417 = 5,
17
+ /** One-dimensional barcode, Standard 2 of 5 (Industrial). */
18
+ STF = 6,
19
+ /** One-dimensional barcode, Matrix 2 of 5. */
20
+ MTF = 7,
21
+ /** One-dimensional barcode, IATA 2 of 5 (Airline). */
22
+ IATA = 8,
23
+ /** One-dimensional barcode, (ANSI/AIM BC3-1995, USS - Codabar). */
24
+ CODABAR = 9,
25
+ /** One-dimensional barcode, UPC-A. */
26
+ UPCA = 10,
27
+ /** One-dimensional barcode, (ANSI/AIM BC5-1995, USS - Code 93). */
28
+ CODE93 = 11,
29
+ /** One-dimensional barcode, UPC-E. */
30
+ UPCE = 12,
31
+ /** One-dimensional barcode, EAN13, ISO 15418. */
32
+ EAN13 = 13,
33
+ /** Two-dimensional QR barcode. */
34
+ QRCODE = 14,
35
+ /** Two-dimensional AZTEC barcode. */
36
+ AZTEC = 15,
37
+ /** Two-dimensional DATAMATRIX barcode. */
38
+ DATAMATRIX = 16,
39
+ /** One-dimensional barcodes. */
40
+ ALL_1D = 17,
41
+ /** One-dimensional barcode, Code 11. */
42
+ CODE11 = 18,
43
+ /** Two-dimensional barcode, JAB Code */
44
+ JABCODE = 19,
45
+ }
@@ -0,0 +1,15 @@
1
+ export declare class PDF417Info {
2
+ /** Barcode error correction level. */
3
+ readonly errorLevel: number;
4
+ /** Number of columns in a barcode. */
5
+ readonly columns: number;
6
+ /** Number of rows in a barcode. */
7
+ readonly rows: number;
8
+
9
+ /**
10
+ * Allows you to deserialize object.
11
+ * @param jsonObject
12
+ */
13
+ static fromJson(jsonObject: any): PDF417Info | null;
14
+
15
+ }
@@ -0,0 +1,18 @@
1
+ import { CheckResult } from "../status/CheckResult";
2
+ import { Rect } from "../visual_results/Rect";
3
+ import { ImageQualityCheckType } from "./ImageQualityCheckType";
4
+
5
+ /** Structure, containing information about single image quality check. */
6
+ export declare class ImageQuality {
7
+ /** Check result. */
8
+ readonly featureType: number;
9
+ /** Check result. */
10
+ readonly result: CheckResult;
11
+ /** Check result type. */
12
+ readonly type: ImageQualityCheckType;
13
+ /** Coordinates of glares. */
14
+ readonly boundRects: Rect[];
15
+
16
+ /** Allows you to deserialize object. */
17
+ static fromJson(jsonObject: any): ImageQuality | null;
18
+ }
@@ -0,0 +1,30 @@
1
+ export declare enum ImageQualityCheckType {
2
+ /** Will be returned if a non-existent value was passed. */
3
+ UNKNOWN = -1,
4
+ /** Glares presence check. */
5
+ IMAGE_GLARES = 0,
6
+ /** Focus quality check. */
7
+ IMAGE_FOCUS = 1,
8
+ /** Image resolution check. */
9
+ IMAGE_RESOLUTION = 2,
10
+ /** Image colorness check. */
11
+ IMAGE_COLORNESS = 3,
12
+ /** Image perspective check, i.e. the deviation of the corners of the document from the value of 90 degrees is checked. */
13
+ PERSPECTIVE = 4,
14
+ /** Image quality check if the whole document page is completely within the image. */
15
+ BOUNDS = 5,
16
+ /** Image moire check. */
17
+ SCREEN_CAPTURE = 6,
18
+ /** Portrait image check. */
19
+ PORTRAIT = 7,
20
+ /** Handwritten image check. */
21
+ HANDWRITTEN = 8,
22
+ /** Signals whether the document image is bright enough. */
23
+ BRIGHTNESS = 9,
24
+ /** Document occlusion check. */
25
+ OCCLUSION = 10
26
+ }
27
+
28
+ export declare namespace ImageQualityCheckType {
29
+ function getTranslation(value: ImageQualityCheckType): Promise<string>;
30
+ }
@@ -0,0 +1,17 @@
1
+ import { CheckResult } from "../status/CheckResult";
2
+ import { ImageQuality } from "./ImageQuality";
3
+
4
+ /** Structure, containing overall data about quality checks performed. */
5
+ export declare class ImageQualityGroup {
6
+ /** Number of results. */
7
+ readonly count: number;
8
+ /** Overall check result for document page. */
9
+ readonly result: CheckResult;
10
+ /** An array of single check result pointers. */
11
+ readonly imageQualityList: ImageQuality[];
12
+ /** Index of the document page, whence the result is received. */
13
+ readonly pageIndex: number;
14
+
15
+ /** Allows you to deserialize object. */
16
+ static fromJson(jsonObject: any): ImageQuality | null;
17
+ }
@@ -0,0 +1,21 @@
1
+ import { RFIDErrorCodes } from "../../rfid/RFIDErrorCodes";
2
+ import { RFIDAccessControlProcedureType } from "./RFIDAccessControlProcedureType";
3
+
4
+ /**
5
+ * Structure is used to describe the results of a single authentication
6
+ * procedure or a procedure of secure data access within the context
7
+ * of the communication session with electronic document.
8
+ */
9
+ export declare class AccessControlProcedureType {
10
+ /** Index of the active variant of the procedure. */
11
+ readonly activeOptionIdx: number;
12
+ /** List of remarks arisen during the procedure. */
13
+ readonly notifications: number[];
14
+ /** Procedure status. */
15
+ readonly status: RFIDErrorCodes;
16
+ /** Procedure type. */
17
+ readonly type: RFIDAccessControlProcedureType;
18
+
19
+ /** Allows you to deserialize object. */
20
+ static fromJson(jsonObject: any): AccessControlProcedureType | null;
21
+ }
@@ -0,0 +1,44 @@
1
+ import { File } from "./File";
2
+ import { RFIDErrorCodes } from '../../rfid/RFIDErrorCodes';
3
+
4
+ /**
5
+ * Structure is used to describe the contents of a single LDS applica-tion
6
+ * and their analysis within the context of the communication session with
7
+ * electronic document.
8
+ */
9
+ export declare class Application {
10
+ /** Application identifier. */
11
+ readonly applicationID?: string;
12
+ /** Algorithm for calculating hash values for files for the proce-dure of PA. */
13
+ readonly dataHashAlgorithm?: string;
14
+ /** List of containers to store information about the read files of the application. */
15
+ readonly files: File[];
16
+ /** Status of the application selection procedure. */
17
+ readonly status: RFIDErrorCodes;
18
+ /** Type of application of electronic document. */
19
+ readonly type: RFIDApplicationType;
20
+ /** Unicode version for application. */
21
+ readonly unicodeVersion?: string;
22
+ /** Application version. */
23
+ readonly version?: string;
24
+
25
+ /** Allows you to deserialize object. */
26
+ static fromJson(jsonObject: any): Application | null;
27
+ }
28
+
29
+ /** Type of application of electronic document. */
30
+ export declare enum RFIDApplicationType {
31
+ /** ePassport. */
32
+ E_PASSPORT = 1,
33
+ E_ID = 2,
34
+ E_SIGN = 3,
35
+ E_DL = 4,
36
+ /** Travel Records. */
37
+ LDS2_TRAVEL_RECORDS = 5,
38
+ /** Visa Records. */
39
+ LDS2_VISA_RECORDS = 6,
40
+ /** Add Biometrics. */
41
+ LDS2_ADD_BIOMETRICS = 7,
42
+ /** eDTC PC. */
43
+ E_DTC_PC = 8
44
+ }
@@ -0,0 +1,9 @@
1
+ import { RFIDValue } from './RFIDValue';
2
+
3
+ export declare class Attribute {
4
+ readonly type?: string;
5
+ readonly value?: RFIDValue;
6
+
7
+ /** Allows you to deserialize object. */
8
+ static fromJson(jsonObject: any): Attribute | null;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { Attribute } from './Attribute';
2
+ import { RFIDValue } from './RFIDValue';
3
+
4
+ export declare class Authority {
5
+ readonly attributes: Attribute[];
6
+ readonly data?: string;
7
+ readonly friendlyName?: RFIDValue;
8
+
9
+ /** Allows you to deserialize object. */
10
+ static fromJson(jsonObject: any): Authority | null;
11
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Structure is used to store extended information about the characteristics
3
+ * of the RFID-chip located in the scope of the reader.
4
+ */
5
+ export declare class CardProperties {
6
+ /** Numeric ATQ_A value in hexadecimal format (e.g. "0x0000"). */
7
+ readonly aTQA: number;
8
+ /**
9
+ * ATQ_B contents in text format. Each byte is represented by its
10
+ * hexadecimal value. The individual bytes are sepa-rated by spaces
11
+ * (e.g. "50 F9 4F 41 60 00 00 00 00 77 81 81").
12
+ */
13
+ readonly aTQB?: string;
14
+ /**
15
+ * aTR contents in text format. Each byte is represented by its hexadecimal value.
16
+ * The individual bytes are separated by spaces
17
+ * (e.g. "3B 88 81 11 FC 00 00 00 00 77 81 81 00 93").
18
+ */
19
+ readonly aTR?: string;
20
+ /** Numeric Baudrate1 value in hexadecimal format (e.g. "0x0000000F"). */
21
+ readonly baudrate1?: string;
22
+ /** Numeric Baudrate2 value in hexadecimal format. */
23
+ readonly baudrate2?: string;
24
+ /** Numeric BitRateR value in hexadecimal format (e.g. "0x04"). */
25
+ readonly bitRateR: number;
26
+ /** Numeric BitRateS value in hexadecimal format (e.g. "0x04"). */
27
+ readonly bitRateS: number;
28
+ /** Text abbreviation of ChipType_A value. */
29
+ readonly chipTypeA: number;
30
+ /** Numeric MifareMemory value. */
31
+ readonly mifareMemory: number;
32
+ /** Text abbreviation of RFID_Type value. */
33
+ readonly rfidType: number;
34
+ /** Numeric SAK value in hexadecimal format (e.g. "0x00"). */
35
+ readonly sAK: number;
36
+ /** Boolean Support_4 value. */
37
+ readonly support4: boolean;
38
+ /** Boolean Support_Mifare value. */
39
+ readonly supportMifare: boolean;
40
+ /**
41
+ * UID contents in text format. Each byte is represented by its hexadecimal value.
42
+ * The individual bytes are separated by spaces (e.g. "F9 4F 41 60").
43
+ */
44
+ readonly uID?: string;
45
+
46
+ /** Allows you to deserialize object. */
47
+ static fromJson(jsonObject: any): CardProperties | null;
48
+ }
@@ -0,0 +1,28 @@
1
+ import { Authority } from "./Authority";
2
+ import { Extension } from "./Extension";
3
+ import { RFIDCertificateType } from "./RFIDCertificateType";
4
+ import { RFIDValidity } from "./RFIDValidity";
5
+ import { RFIDValue } from "./RFIDValue";
6
+
7
+ export declare class CertificateChain {
8
+ /**
9
+ * Define the type of certificate used in the procedure of document
10
+ * security object digital signature verification.
11
+ */
12
+ readonly type: RFIDCertificateType;
13
+ readonly extensions: Extension[];
14
+ readonly fileName?: RFIDValue;
15
+ readonly issuer?: Authority;
16
+ readonly notifications: number[];
17
+ readonly origin: number;
18
+ readonly paStatus: number;
19
+ readonly serialNumber?: string;
20
+ readonly signatureAlgorithm?: string;
21
+ readonly subject?: Authority;
22
+ readonly subjectPKAlgorithm?: string;
23
+ readonly validity?: RFIDValidity;
24
+ readonly version: number;
25
+
26
+ /** Allows you to deserialize object. */
27
+ static fromJson(jsonObject: any): CertificateChain | null;
28
+ }
@@ -0,0 +1,7 @@
1
+ export declare class CertificateData {
2
+ readonly data?: string;
3
+ readonly length: number;
4
+
5
+ /** Allows you to deserialize object. */
6
+ static fromJson(jsonObject: any): CertificateData | null;
7
+ }
@@ -0,0 +1,9 @@
1
+ import { RFIDDataFileType } from './RFIDDataFileType';
2
+
3
+ export declare class DataField {
4
+ readonly data: string;
5
+ readonly fieldType: RFIDDataFileType;
6
+
7
+ /** Allows you to deserialize object. */
8
+ static fromJson(jsonObject: any): DataField | null;
9
+ }
@@ -0,0 +1,7 @@
1
+ export declare class Extension {
2
+ readonly data: string | null;
3
+ readonly type: string | null;
4
+
5
+ /** Allows you to deserialize object. */
6
+ static fromJson(jsonObject: any): Extension | null;
7
+ }
@@ -0,0 +1,22 @@
1
+ import { FileData } from "./FileData";
2
+ import { RFIDDataFileType } from "./RFIDDataFileType";
3
+ import { RFIDErrorCodes } from "../../rfid/RFIDErrorCodes";
4
+ import { SecurityObjectCertificates } from "./SecurityObjectCertificates";
5
+
6
+ export declare class File {
7
+ readonly fileData?: FileData;
8
+ readonly fileID?: string;
9
+ readonly notifications: number[];
10
+ readonly pAStatus: RFIDErrorCodes;
11
+ readonly readingStatus: RFIDErrorCodes;
12
+ readonly readingTime: number;
13
+ readonly type: RFIDDataFileType;
14
+ readonly typeName: string;
15
+ readonly docFieldsText: number[];
16
+ readonly docFieldsGraphics: number[];
17
+ readonly docFieldsOriginals: number[];
18
+ readonly certificates?: SecurityObjectCertificates;
19
+
20
+ /** Allows you to deserialize object. */
21
+ static fromJson(jsonObject: any): File | null;
22
+ }
@@ -0,0 +1,9 @@
1
+ export declare class FileData {
2
+ readonly data?: string;
3
+ readonly length: number;
4
+ readonly type: number;
5
+ readonly status: number;
6
+
7
+ /** Allows you to deserialize object. */
8
+ static fromJson(jsonObject: any): FileData | null;
9
+ }
@@ -0,0 +1,18 @@
1
+ export declare enum RFIDAccessControlProcedureType {
2
+ /** Type is not defined. */
3
+ UNDEFINED = 0,
4
+ /** Basic Access Control (BAC) / Protection (BAP). */
5
+ BAC = 1,
6
+ /** Password Authenticated Connection Establishment. */
7
+ PACE = 2,
8
+ /** Chip Authentication. */
9
+ CA = 3,
10
+ /** Terminal Authentication. */
11
+ TA = 4,
12
+ /** Active Authentication. */
13
+ AA = 5,
14
+ /** Restricted Identification. */
15
+ RI = 6,
16
+ /** Card info. */
17
+ CARD_INFO = 10
18
+ }
@@ -0,0 +1,13 @@
1
+ export declare enum RFIDCertificateType {
2
+ UNDEFINED = 0,
3
+ CSCA = 1,
4
+ CSCA_LINK = 2,
5
+ DS = 3,
6
+ MLS = 4,
7
+ DEV_LS = 5,
8
+ DEF_LS = 6,
9
+ BLS = 7,
10
+ LDS2 = 8,
11
+ BCS = 9,
12
+ BCSNC = 10
13
+ }