@regulaforensics/document-reader 8.3.242-beta → 8.3.272-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.
- package/README.md +2 -3
- package/RNDocumentReader.podspec +1 -1
- package/examples/capacitor/README.md +1 -3
- package/examples/capacitor/ios/App/App/App.entitlements +6 -1
- package/examples/capacitor/ios/App/App/Info.plist +60 -46
- package/examples/capacitor/package.json +3 -3
- package/examples/capacitor/src/extra/bt_device.tsx +2 -2
- package/examples/capacitor/src/extra/custom_rfid.tsx +8 -8
- package/examples/capacitor/src/main.css +14 -1
- package/examples/capacitor/src/main.html +1 -1
- package/examples/capacitor/src/main.tsx +25 -27
- package/examples/ionic/README.md +1 -3
- package/examples/ionic/angular.json +3 -3
- package/examples/ionic/config.xml +27 -3
- package/examples/ionic/package.json +3 -3
- package/examples/ionic/src/extra/{bt_device.ts → bt_device.tsx} +2 -2
- package/examples/ionic/src/extra/{custom_rfid.ts → custom_rfid.tsx} +8 -8
- package/examples/ionic/src/main.css +14 -1
- package/examples/ionic/src/main.html +1 -1
- package/examples/ionic/src/{main.ts → main.tsx} +25 -27
- package/examples/ionic/tsconfig.json +3 -2
- package/examples/react_native/README.md +1 -3
- package/examples/react_native/index.tsx +2 -1
- package/examples/react_native/package.json +3 -3
- package/examples/react_native/src/extra/bt_device.tsx +2 -3
- package/examples/react_native/src/extra/custom_rfid.tsx +8 -9
- package/examples/react_native/src/main.css +14 -1
- package/examples/react_native/src/main.html +1 -1
- package/examples/react_native/src/main.tsx +25 -28
- package/ios/RGLWMain.m +2 -2
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/test/json.tsx +866 -0
- package/test/package-lock.json +584 -0
- package/test/package.json +12 -0
- package/test/test.tsx +93 -0
- package/test/utils.tsx +34 -0
- package/www/capacitor/config/InitConfig.js +27 -0
- package/www/capacitor/config/RFIDConfig.js +1 -1
- package/www/capacitor/index.js +4 -4
- package/www/capacitor/params/process_params/ProcessParams.js +1 -1
- package/www/capacitor/params/rfid_scenario/RFIDScenario.js +1 -1
- package/www/capacitor/results/DocumentType.js +19 -2
- package/www/cordova.js +60 -16
- package/www/react-native/config/InitConfig.js +27 -0
- package/www/react-native/config/RFIDConfig.js +1 -1
- package/www/react-native/index.js +4 -4
- package/www/react-native/params/process_params/ProcessParams.js +1 -1
- package/www/react-native/params/rfid_scenario/RFIDScenario.js +1 -1
- package/www/react-native/results/DocumentType.js +19 -2
- package/www/types/index.d.ts +6 -6
- package/www/types/params/process_params/ProcessParams.d.ts +1 -1
- package/www/types/params/rfid_scenario/RFIDScenario.d.ts +1 -1
- package/examples/cordova/.vscode/launch.json +0 -28
- package/examples/cordova/.vscode/typings/cordova/cordova.d.ts +0 -80
- package/examples/cordova/README.md +0 -22
- package/examples/cordova/config.xml +0 -33
- package/examples/cordova/package-lock.json +0 -1772
- package/examples/cordova/package.json +0 -33
- package/examples/cordova/scripts/android.sh +0 -8
- package/examples/cordova/scripts/bundle.sh +0 -4
- package/examples/cordova/scripts/ios.sh +0 -8
- package/examples/cordova/scripts/setup.sh +0 -8
- package/examples/cordova/www/bootstrap.js +0 -30
- package/examples/cordova/www/images/logo.png +0 -0
- package/examples/cordova/www/index.html +0 -6
- package/examples/cordova/www/index.js +0 -30
- package/examples/cordova/www/src/extra/bt_device.js +0 -32
- package/examples/cordova/www/src/extra/custom_rfid.js +0 -60
- package/examples/cordova/www/src/main.css +0 -134
- package/examples/cordova/www/src/main.html +0 -38
- package/examples/cordova/www/src/main.js +0 -173
- package/examples/ionic/src/images/document.png +0 -0
- package/examples/ionic/src/images/portrait.png +0 -0
- /package/examples/ionic/{src/assets → assets}/.gitkeep +0 -0
- /package/examples/{cordova/www → ionic}/images/document.png +0 -0
- /package/examples/ionic/{src/images → images}/icon.png +0 -0
- /package/examples/{cordova/www → ionic}/images/portrait.png +0 -0
- /package/examples/ionic/{index.ts → index.tsx} +0 -0
- /package/www/capacitor/params/rfid_scenario/{DTCDataGroups.js → DTCDataGroup.js} +0 -0
- /package/www/react-native/params/rfid_scenario/{DTCDataGroups.js → DTCDataGroup.js} +0 -0
- /package/www/types/params/rfid_scenario/{DTCDataGroups.d.ts → DTCDataGroup.d.ts} +0 -0
package/test/json.tsx
ADDED
|
@@ -0,0 +1,866 @@
|
|
|
1
|
+
var img1 = 'data1';
|
|
2
|
+
var img2 = 'data2';
|
|
3
|
+
var img3 = 'data3';
|
|
4
|
+
|
|
5
|
+
export var faceApiSearchParams = {
|
|
6
|
+
"limit": 1,
|
|
7
|
+
"threshold": 2,
|
|
8
|
+
"groupIds": [3, 4, 5],
|
|
9
|
+
};
|
|
10
|
+
export var faceApiParams = {
|
|
11
|
+
"url": "test1",
|
|
12
|
+
"mode": "test2",
|
|
13
|
+
"threshold": 1,
|
|
14
|
+
"serviceTimeout": 2,
|
|
15
|
+
"proxy": "test3",
|
|
16
|
+
"proxyPassword": "test4",
|
|
17
|
+
"proxyType": 3,
|
|
18
|
+
"searchParams": faceApiSearchParams,
|
|
19
|
+
};
|
|
20
|
+
export var livenessParams = {
|
|
21
|
+
"checkOVI": true,
|
|
22
|
+
"checkMLI": false,
|
|
23
|
+
"checkHolo": true,
|
|
24
|
+
"checkED": false,
|
|
25
|
+
"checkBlackAndWhiteCopy": true,
|
|
26
|
+
"checkDynaprint": false,
|
|
27
|
+
"checkGeometry": true,
|
|
28
|
+
};
|
|
29
|
+
export var authenticityParams = {
|
|
30
|
+
"useLivenessCheck": true,
|
|
31
|
+
"checkUVLuminiscence": false,
|
|
32
|
+
"checkIRB900": true,
|
|
33
|
+
"checkImagePatterns": false,
|
|
34
|
+
"checkFibers": true,
|
|
35
|
+
"checkExtMRZ": false,
|
|
36
|
+
"checkExtOCR": true,
|
|
37
|
+
"checkAxial": false,
|
|
38
|
+
"checkBarcodeFormat": true,
|
|
39
|
+
"checkIRVisibility": false,
|
|
40
|
+
"checkIPI": true,
|
|
41
|
+
"checkPhotoEmbedding": false,
|
|
42
|
+
"checkPhotoComparison": true,
|
|
43
|
+
"checkLetterScreen": false,
|
|
44
|
+
"checkSecurityText": true,
|
|
45
|
+
"livenessParams": livenessParams,
|
|
46
|
+
};
|
|
47
|
+
export var glaresCheckParams = {"imgMarginPart": 0.5, "maxGlaringPart": 1.5};
|
|
48
|
+
export var imageQA = {
|
|
49
|
+
"dpiThreshold": 1,
|
|
50
|
+
"angleThreshold": 2,
|
|
51
|
+
"documentPositionIndent": 3,
|
|
52
|
+
"focusCheck": true,
|
|
53
|
+
"glaresCheck": false,
|
|
54
|
+
"colornessCheck": true,
|
|
55
|
+
"screenCapture": false,
|
|
56
|
+
"expectedPass": [1, 2, 3],
|
|
57
|
+
"glaresCheckParams": glaresCheckParams,
|
|
58
|
+
"brightnessThreshold": 0.5,
|
|
59
|
+
"occlusionCheck": true,
|
|
60
|
+
};
|
|
61
|
+
export var rfidParams = {
|
|
62
|
+
"paIgnoreNotificationCodes": [1, 2, 3],
|
|
63
|
+
};
|
|
64
|
+
export var backendProcessingConfig = {
|
|
65
|
+
"url": "test",
|
|
66
|
+
"rfidServerSideChipVerification": true,
|
|
67
|
+
"httpHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"},
|
|
68
|
+
"timeoutConnection": 0.5,
|
|
69
|
+
};
|
|
70
|
+
export var processParams = {
|
|
71
|
+
"multipageProcessing": true,
|
|
72
|
+
"debugSaveImages": false,
|
|
73
|
+
"debugSaveLogs": true,
|
|
74
|
+
"returnUncroppedImage": false,
|
|
75
|
+
"uvTorchEnabled": true,
|
|
76
|
+
"debugSaveCroppedImages": false,
|
|
77
|
+
"disableFocusingCheck": true,
|
|
78
|
+
"debugSaveRFIDSession": false,
|
|
79
|
+
"doublePageSpread": true,
|
|
80
|
+
"manualCrop": false,
|
|
81
|
+
"integralImage": true,
|
|
82
|
+
"returnCroppedBarcode": false,
|
|
83
|
+
"checkRequiredTextFields": false,
|
|
84
|
+
"depersonalizeLog": true,
|
|
85
|
+
"generateDoublePageSpreadImage": false,
|
|
86
|
+
"alreadyCropped": true,
|
|
87
|
+
"matchTextFieldMask": false,
|
|
88
|
+
"updateOCRValidityByGlare": false,
|
|
89
|
+
"noGraphics": true,
|
|
90
|
+
"multiDocOnImage": false,
|
|
91
|
+
"forceReadMrzBeforeLocate": true,
|
|
92
|
+
"parseBarcodes": false,
|
|
93
|
+
"shouldReturnPackageForReprocess": true,
|
|
94
|
+
"disablePerforationOCR": false,
|
|
95
|
+
"respectImageQuality": true,
|
|
96
|
+
"strictImageQuality": true,
|
|
97
|
+
"splitNames": false,
|
|
98
|
+
"useFaceApi": false,
|
|
99
|
+
"useAuthenticityCheck": true,
|
|
100
|
+
"checkHologram": false,
|
|
101
|
+
"generateNumericCodes": true,
|
|
102
|
+
"strictBarcodeDigitalSignatureCheck": false,
|
|
103
|
+
"selectLongestNames": true,
|
|
104
|
+
"generateDTCVC": false,
|
|
105
|
+
"strictDLCategoryExpiry": true,
|
|
106
|
+
"generateAlpha2Codes": false,
|
|
107
|
+
"disableAuthResolutionFilter": true,
|
|
108
|
+
"measureSystem": 1,
|
|
109
|
+
"barcodeParserType": 3,
|
|
110
|
+
"perspectiveAngle": 4,
|
|
111
|
+
"minDPI": 5,
|
|
112
|
+
"imageDpiOutMax": 6,
|
|
113
|
+
"forceDocID": 6,
|
|
114
|
+
"pdfPagesLimit": 7,
|
|
115
|
+
"forceDocFormat": 3,
|
|
116
|
+
"shiftExpiryDate": 9,
|
|
117
|
+
"minimalHolderAge": 10,
|
|
118
|
+
"imageOutputMaxHeight": 11,
|
|
119
|
+
"imageOutputMaxWidth": 12,
|
|
120
|
+
"processAuth": 13,
|
|
121
|
+
"convertCase": 3,
|
|
122
|
+
"logLevel": "FatalError",
|
|
123
|
+
"mrzDetectMode": 1,
|
|
124
|
+
"dateFormat": "test1",
|
|
125
|
+
"scenario": "Mrz",
|
|
126
|
+
"captureButtonScenario": "Locate",
|
|
127
|
+
"timeout": 15,
|
|
128
|
+
"timeoutFromFirstDetect": 16,
|
|
129
|
+
"timeoutFromFirstDocType": 17,
|
|
130
|
+
"documentAreaMin": 18,
|
|
131
|
+
"timeoutLiveness": 19,
|
|
132
|
+
"documentIDList": [1, 2, 3],
|
|
133
|
+
"barcodeTypes": [4, 5, 6],
|
|
134
|
+
"fieldTypesFilter": [7, 8, 9],
|
|
135
|
+
"resultTypeOutput": [10, 9, 8],
|
|
136
|
+
"mrzFormatsFilter": ["1x30", "3x30", "2x30"],
|
|
137
|
+
"documentGroupFilter": [135, 136, 137],
|
|
138
|
+
"lcidIgnoreFilter": [10011, 1078, 1052],
|
|
139
|
+
"lcidFilter": [1118, 5121, 15361],
|
|
140
|
+
"imageQA": imageQA,
|
|
141
|
+
"rfidParams": rfidParams,
|
|
142
|
+
"faceApiParams": faceApiParams,
|
|
143
|
+
"backendProcessingConfig": backendProcessingConfig,
|
|
144
|
+
"authenticityParams": authenticityParams,
|
|
145
|
+
"customParams": {"test1": true, "test2": 1, "test3": "test"},
|
|
146
|
+
};
|
|
147
|
+
export var font1 = {"name": "AppleSDGothicNeo-Thin", "size": 10, "style": 2};
|
|
148
|
+
export var font2 = {"name": "Copperplate-Light", "size": 20, "style": 1};
|
|
149
|
+
export var customizationColors = {
|
|
150
|
+
"rfidProcessingScreenBackground": 0xff000000,
|
|
151
|
+
"rfidProcessingScreenHintLabelText": 0xff000001,
|
|
152
|
+
"rfidProcessingScreenHintLabelBackground": 0xff000002,
|
|
153
|
+
"rfidProcessingScreenProgressLabelText": 0xff000003,
|
|
154
|
+
"rfidProcessingScreenProgressBar": 0xff000004,
|
|
155
|
+
"rfidProcessingScreenProgressBarBackground": 0xff000005,
|
|
156
|
+
"rfidProcessingScreenResultLabelText": 0xff000006,
|
|
157
|
+
"rfidProcessingScreenLoadingBar": 0xff000007,
|
|
158
|
+
};
|
|
159
|
+
export var customizationFonts = {
|
|
160
|
+
"rfidProcessingScreenHintLabel": font1,
|
|
161
|
+
"rfidProcessingScreenProgressLabel": font2,
|
|
162
|
+
"rfidProcessingScreenResultLabel": font1,
|
|
163
|
+
};
|
|
164
|
+
export var customizationImages = {"rfidProcessingScreenFailureImage": img1};
|
|
165
|
+
export var customization = {
|
|
166
|
+
"showStatusMessages": true,
|
|
167
|
+
"showResultStatusMessages": false,
|
|
168
|
+
"showHelpAnimation": true,
|
|
169
|
+
"showNextPageAnimation": false,
|
|
170
|
+
"showBackgroundMask": true,
|
|
171
|
+
"cameraFrameBorderWidth": 1,
|
|
172
|
+
"cameraFrameLineLength": 2,
|
|
173
|
+
"cameraFrameShapeType": 1,
|
|
174
|
+
"cameraFrameOffsetWidth": 3,
|
|
175
|
+
"status": "test1",
|
|
176
|
+
"resultStatus": "test2",
|
|
177
|
+
"multipageButtonText": "test3",
|
|
178
|
+
"cameraFrameDefaultColor": 0xff000000,
|
|
179
|
+
"cameraFrameActiveColor": 0xff000001,
|
|
180
|
+
"statusTextColor": 0xff000002,
|
|
181
|
+
"resultStatusTextColor": 0xff000003,
|
|
182
|
+
"resultStatusBackgroundColor": 0xff000004,
|
|
183
|
+
"multipageButtonBackgroundColor": 0xff000005,
|
|
184
|
+
"tintColor": 0xff000006,
|
|
185
|
+
"activityIndicatorColor": 0xff000007,
|
|
186
|
+
"statusBackgroundColor": 0xff000008,
|
|
187
|
+
"cameraPreviewBackgroundColor": 0xff000009,
|
|
188
|
+
"backgroundMaskColor": 0xff000010,
|
|
189
|
+
"multipageButtonTextColor": 0xff000011,
|
|
190
|
+
"statusPositionMultiplier": 0.5,
|
|
191
|
+
"resultStatusPositionMultiplier": 1.5,
|
|
192
|
+
"toolbarSize": 2.5,
|
|
193
|
+
"backgroundMaskAlpha": 3.5,
|
|
194
|
+
"customStatusPositionMultiplier": 4.5,
|
|
195
|
+
"cameraFrameVerticalPositionMultiplier": 5.5,
|
|
196
|
+
"cameraFrameLandscapeAspectRatio": 6.5,
|
|
197
|
+
"cameraFramePortraitAspectRatio": 7.5,
|
|
198
|
+
"cameraFrameCornerRadius": 8.5,
|
|
199
|
+
"livenessAnimationPositionMultiplier": 9.5,
|
|
200
|
+
"nextPageAnimationStartDelay": 10.5,
|
|
201
|
+
"nextPageAnimationEndDelay": 11.5,
|
|
202
|
+
"activityIndicatorPortraitPositionMultiplier": 12.5,
|
|
203
|
+
"activityIndicatorLandscapePositionMultiplier": 13.5,
|
|
204
|
+
"cameraPreviewVerticalPositionMultiplier": 14.5,
|
|
205
|
+
"multipageAnimationFrontImage": img1,
|
|
206
|
+
"multipageAnimationBackImage": img2,
|
|
207
|
+
"borderBackgroundImage": img3,
|
|
208
|
+
"helpAnimationImage": img1,
|
|
209
|
+
"closeButtonImage": img2,
|
|
210
|
+
"captureButtonImage": img3,
|
|
211
|
+
"cameraSwitchButtonImage": img1,
|
|
212
|
+
"torchButtonOnImage": img2,
|
|
213
|
+
"torchButtonOffImage": img3,
|
|
214
|
+
"changeFrameButtonExpandImage": img1,
|
|
215
|
+
"changeFrameButtonCollapseImage": img2,
|
|
216
|
+
"livenessAnimationImage": img3,
|
|
217
|
+
"multipageButtonImage": img1,
|
|
218
|
+
"customLabelStatus": "test3",
|
|
219
|
+
"cameraFrameLineCap": 2,
|
|
220
|
+
"uiCustomizationLayer": {"test": "test"},
|
|
221
|
+
"statusTextFont": font1,
|
|
222
|
+
"resultStatusTextFont": font2,
|
|
223
|
+
"multipageButtonTextFont": font1,
|
|
224
|
+
"helpAnimationImageContentMode": 0,
|
|
225
|
+
"multipageAnimationFrontImageContentMode": 1,
|
|
226
|
+
"multipageAnimationBackImageContentMode": 2,
|
|
227
|
+
"livenessAnimationImageContentMode": 3,
|
|
228
|
+
"borderBackgroundImageContentMode": 4,
|
|
229
|
+
"helpAnimationImageMatrix": [1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9],
|
|
230
|
+
"multipageAnimationFrontImageMatrix": [
|
|
231
|
+
2.1,
|
|
232
|
+
2.2,
|
|
233
|
+
2.3,
|
|
234
|
+
2.4,
|
|
235
|
+
2.5,
|
|
236
|
+
2.6,
|
|
237
|
+
2.7,
|
|
238
|
+
2.8,
|
|
239
|
+
2.9,
|
|
240
|
+
],
|
|
241
|
+
"multipageAnimationBackImageMatrix": [
|
|
242
|
+
3.1,
|
|
243
|
+
3.2,
|
|
244
|
+
3.3,
|
|
245
|
+
3.4,
|
|
246
|
+
3.5,
|
|
247
|
+
3.6,
|
|
248
|
+
3.7,
|
|
249
|
+
3.8,
|
|
250
|
+
3.9,
|
|
251
|
+
],
|
|
252
|
+
"livenessAnimationImageMatrix": [4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9],
|
|
253
|
+
"borderBackgroundImageMatrix": [5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 5.9],
|
|
254
|
+
"colors": customizationColors,
|
|
255
|
+
"fonts": customizationFonts,
|
|
256
|
+
"images": customizationImages,
|
|
257
|
+
};
|
|
258
|
+
export var cameraSize = {"width": 0, "height": 1};
|
|
259
|
+
export var functionality = {
|
|
260
|
+
"pictureOnBoundsReady": true,
|
|
261
|
+
"showTorchButton": false,
|
|
262
|
+
"showCloseButton": true,
|
|
263
|
+
"videoCaptureMotionControl": false,
|
|
264
|
+
"showCaptureButton": true,
|
|
265
|
+
"showChangeFrameButton": false,
|
|
266
|
+
"showSkipNextPageButton": true,
|
|
267
|
+
"useAuthenticator": true,
|
|
268
|
+
"skipFocusingFrames": true,
|
|
269
|
+
"showCameraSwitchButton": false,
|
|
270
|
+
"displayMetadata": true,
|
|
271
|
+
"isZoomEnabled": false,
|
|
272
|
+
"isCameraTorchCheckDisabled": true,
|
|
273
|
+
"recordScanningProcess": false,
|
|
274
|
+
"manualMultipageMode": true,
|
|
275
|
+
"singleResult": false,
|
|
276
|
+
"torchTurnedOn": false,
|
|
277
|
+
"showCaptureButtonDelayFromDetect": 0,
|
|
278
|
+
"showCaptureButtonDelayFromStart": 1,
|
|
279
|
+
"rfidTimeout": 2,
|
|
280
|
+
"forcePagesCount": 3,
|
|
281
|
+
"orientation": 1,
|
|
282
|
+
"captureMode": 2,
|
|
283
|
+
"cameraMode": 0,
|
|
284
|
+
"cameraPositionIOS": 1,
|
|
285
|
+
"cameraFrame": "id1",
|
|
286
|
+
"btDeviceName": "test",
|
|
287
|
+
"zoomFactor": 0.5,
|
|
288
|
+
"exposure": 1.5,
|
|
289
|
+
"excludedCamera2Models": ["test1", "test2", "test3"],
|
|
290
|
+
"cameraSize": cameraSize,
|
|
291
|
+
"videoSessionPreset": 6,
|
|
292
|
+
};
|
|
293
|
+
export var eDLDataGroups = {
|
|
294
|
+
"DG1": true,
|
|
295
|
+
"DG2": false,
|
|
296
|
+
"DG3": true,
|
|
297
|
+
"DG4": false,
|
|
298
|
+
"DG5": true,
|
|
299
|
+
"DG6": false,
|
|
300
|
+
"DG7": true,
|
|
301
|
+
"DG8": false,
|
|
302
|
+
"DG9": true,
|
|
303
|
+
"DG10": false,
|
|
304
|
+
"DG11": true,
|
|
305
|
+
"DG12": false,
|
|
306
|
+
"DG13": true,
|
|
307
|
+
"DG14": false,
|
|
308
|
+
};
|
|
309
|
+
export var ePassportDataGroups = {
|
|
310
|
+
"DG1": true,
|
|
311
|
+
"DG2": false,
|
|
312
|
+
"DG3": true,
|
|
313
|
+
"DG4": false,
|
|
314
|
+
"DG5": true,
|
|
315
|
+
"DG6": false,
|
|
316
|
+
"DG7": true,
|
|
317
|
+
"DG8": false,
|
|
318
|
+
"DG9": true,
|
|
319
|
+
"DG10": false,
|
|
320
|
+
"DG11": true,
|
|
321
|
+
"DG12": false,
|
|
322
|
+
"DG13": true,
|
|
323
|
+
"DG14": false,
|
|
324
|
+
"DG15": true,
|
|
325
|
+
"DG16": false,
|
|
326
|
+
};
|
|
327
|
+
export var eIDDataGroups = {
|
|
328
|
+
"DG1": true,
|
|
329
|
+
"DG2": false,
|
|
330
|
+
"DG3": true,
|
|
331
|
+
"DG4": false,
|
|
332
|
+
"DG5": true,
|
|
333
|
+
"DG6": false,
|
|
334
|
+
"DG7": true,
|
|
335
|
+
"DG8": false,
|
|
336
|
+
"DG9": true,
|
|
337
|
+
"DG10": false,
|
|
338
|
+
"DG11": true,
|
|
339
|
+
"DG12": false,
|
|
340
|
+
"DG13": true,
|
|
341
|
+
"DG14": false,
|
|
342
|
+
"DG15": true,
|
|
343
|
+
"DG16": false,
|
|
344
|
+
"DG17": true,
|
|
345
|
+
"DG18": false,
|
|
346
|
+
"DG19": true,
|
|
347
|
+
"DG20": false,
|
|
348
|
+
"DG21": true,
|
|
349
|
+
};
|
|
350
|
+
export var dtcDataGroup = {
|
|
351
|
+
"DG17": true,
|
|
352
|
+
"DG18": false,
|
|
353
|
+
"DG22": false,
|
|
354
|
+
"DG23": true,
|
|
355
|
+
"DG24": false,
|
|
356
|
+
};
|
|
357
|
+
export var rfidScenario = {
|
|
358
|
+
"paceStaticBinding": true,
|
|
359
|
+
"onlineTA": false,
|
|
360
|
+
"writeEid": true,
|
|
361
|
+
"universalAccessRights": false,
|
|
362
|
+
"authorizedRestrictedIdentification": true,
|
|
363
|
+
"auxVerificationCommunityID": false,
|
|
364
|
+
"auxVerificationDateOfBirth": true,
|
|
365
|
+
"skipAA": false,
|
|
366
|
+
"strictProcessing": true,
|
|
367
|
+
"pkdDSCertPriority": false,
|
|
368
|
+
"pkdUseExternalCSCA": true,
|
|
369
|
+
"trustedPKD": false,
|
|
370
|
+
"passiveAuth": true,
|
|
371
|
+
"useSFI": false,
|
|
372
|
+
"readEPassport": true,
|
|
373
|
+
"readEID": false,
|
|
374
|
+
"readEDL": true,
|
|
375
|
+
"authorizedSTSignature": false,
|
|
376
|
+
"authorizedSTQSignature": true,
|
|
377
|
+
"authorizedWriteDG17": false,
|
|
378
|
+
"authorizedWriteDG18": true,
|
|
379
|
+
"authorizedWriteDG19": false,
|
|
380
|
+
"authorizedWriteDG20": true,
|
|
381
|
+
"authorizedWriteDG21": false,
|
|
382
|
+
"authorizedVerifyAge": true,
|
|
383
|
+
"authorizedVerifyCommunityID": false,
|
|
384
|
+
"authorizedPrivilegedTerminal": true,
|
|
385
|
+
"authorizedCANAllowed": false,
|
|
386
|
+
"authorizedPINManagement": true,
|
|
387
|
+
"authorizedInstallCert": false,
|
|
388
|
+
"authorizedInstallQCert": true,
|
|
389
|
+
"applyAmendments": false,
|
|
390
|
+
"autoSettings": true,
|
|
391
|
+
"proceedReadingAlways": false,
|
|
392
|
+
"readDTC": true,
|
|
393
|
+
"mrzStrictCheck": false,
|
|
394
|
+
"loadCRLFromRemote": true,
|
|
395
|
+
"independentSODStatus": false,
|
|
396
|
+
"readingBuffer": -1,
|
|
397
|
+
"onlineTAToSignDataType": 3,
|
|
398
|
+
"defaultReadingBufferSize": 2,
|
|
399
|
+
"signManagementAction": 3,
|
|
400
|
+
"profilerType": 2,
|
|
401
|
+
"authProcType": 3,
|
|
402
|
+
"baseSMProcedure": 4,
|
|
403
|
+
"pacePasswordType": 5,
|
|
404
|
+
"terminalType": 1,
|
|
405
|
+
"password": "test1",
|
|
406
|
+
"pkdPA": "test2",
|
|
407
|
+
"pkdEAC": "test3",
|
|
408
|
+
"mrz": "test4",
|
|
409
|
+
"eSignPINDefault": "test5",
|
|
410
|
+
"eSignPINNewValue": "test6",
|
|
411
|
+
"cardAccess": "test7",
|
|
412
|
+
"mrzHash": "test8",
|
|
413
|
+
"documentNumber": "test9",
|
|
414
|
+
"dateOfBirth": "test10",
|
|
415
|
+
"dateOfExpiry": "test11",
|
|
416
|
+
"eDLDataGroups": eDLDataGroups,
|
|
417
|
+
"ePassportDataGroups": ePassportDataGroups,
|
|
418
|
+
"eIDDataGroups": eIDDataGroups,
|
|
419
|
+
"dtcDataGroups": dtcDataGroup,
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
export var initConfig = {
|
|
423
|
+
"delayedNNLoad": false,
|
|
424
|
+
"licenseUpdate": true,
|
|
425
|
+
"customDb": img1,
|
|
426
|
+
"blackList": {"key1": "val1", "key2": "val2", "key3": "val3"},
|
|
427
|
+
"databasePath": "test",
|
|
428
|
+
"license": img2,
|
|
429
|
+
"useBleDevice": true,
|
|
430
|
+
};
|
|
431
|
+
export var onlineProcessingConfig = {
|
|
432
|
+
"mode": 1,
|
|
433
|
+
"url": "test",
|
|
434
|
+
"imageFormat": 1,
|
|
435
|
+
"imageCompressionQuality": 1.5,
|
|
436
|
+
"processParams": processParams,
|
|
437
|
+
"requestHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"},
|
|
438
|
+
};
|
|
439
|
+
export var imageInputData = {"image": img1, "light": 128, "pageIndex": 2};
|
|
440
|
+
export var recognizeConfig = {
|
|
441
|
+
"scenario": "Mrz",
|
|
442
|
+
"livePortrait": img1,
|
|
443
|
+
"extPortrait": img2,
|
|
444
|
+
"oneShotIdentification": true,
|
|
445
|
+
"dtc": img1,
|
|
446
|
+
"image": img3,
|
|
447
|
+
"data": img1,
|
|
448
|
+
"images": [img1, img2, img3],
|
|
449
|
+
"imageInputData": [imageInputData, imageInputData, imageInputData],
|
|
450
|
+
};
|
|
451
|
+
export var recognizeConfig2 = {
|
|
452
|
+
"onlineProcessingConfig": onlineProcessingConfig,
|
|
453
|
+
"livePortrait": img1,
|
|
454
|
+
"extPortrait": img2,
|
|
455
|
+
"oneShotIdentification": true,
|
|
456
|
+
"image": img3,
|
|
457
|
+
"data": img1,
|
|
458
|
+
"images": [img1, img2, img3],
|
|
459
|
+
"imageInputData": [imageInputData, imageInputData, imageInputData],
|
|
460
|
+
};
|
|
461
|
+
export var scannerConfig = {
|
|
462
|
+
"scenario": "Mrz",
|
|
463
|
+
"onlineProcessingConfig": onlineProcessingConfig,
|
|
464
|
+
"livePortrait": img1,
|
|
465
|
+
"extPortrait": img2,
|
|
466
|
+
"cameraId": 1,
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
export var documentsDatabase = {
|
|
470
|
+
"databaseID": "test1",
|
|
471
|
+
"version": "test2",
|
|
472
|
+
"date": "test3",
|
|
473
|
+
"databaseDescription": "test4",
|
|
474
|
+
"countriesNumber": 1,
|
|
475
|
+
"documentsNumber": 2,
|
|
476
|
+
"size": 3,
|
|
477
|
+
};
|
|
478
|
+
export var docReaderVersion = {
|
|
479
|
+
"api": "test1",
|
|
480
|
+
"core": "test2",
|
|
481
|
+
"coreMode": "test3",
|
|
482
|
+
"database": documentsDatabase,
|
|
483
|
+
};
|
|
484
|
+
export var docReaderScenario = {
|
|
485
|
+
"uvTorch": true,
|
|
486
|
+
"frameOrientation": 2,
|
|
487
|
+
"faceExt": false,
|
|
488
|
+
"multiPageOff": false,
|
|
489
|
+
"seriesProcessMode": true,
|
|
490
|
+
"frameKWHLandscape": 0.5,
|
|
491
|
+
"frameKWHPortrait": 1.5,
|
|
492
|
+
"frameKWHDoublePageSpreadPortrait": 2.5,
|
|
493
|
+
"frameKWHDoublePageSpreadLandscape": 3.5,
|
|
494
|
+
"name": "test1",
|
|
495
|
+
"caption": "test2",
|
|
496
|
+
"description": "test3",
|
|
497
|
+
"manualCrop": false,
|
|
498
|
+
};
|
|
499
|
+
export var license = {
|
|
500
|
+
"expiryDate": "test1",
|
|
501
|
+
"countryFilter": ["test2", "test3", "test4"],
|
|
502
|
+
"isRfidAvailable": true,
|
|
503
|
+
};
|
|
504
|
+
export var docReaderException = {"code": 1, "message": "test1"};
|
|
505
|
+
export var rfidException = {"code": 2, "message": "test2"};
|
|
506
|
+
export var prepareProgress = {"downloadedBytes": 1, "totalBytes": 2, "progress": 50};
|
|
507
|
+
|
|
508
|
+
export var authenticityElement = {
|
|
509
|
+
"status": 1,
|
|
510
|
+
"elementType": 2,
|
|
511
|
+
"elementDiagnose": 3,
|
|
512
|
+
"elementTypeName": "Photo element",
|
|
513
|
+
"elementDiagnoseName": "Error of internal data processing",
|
|
514
|
+
};
|
|
515
|
+
export var authenticityCheck = {
|
|
516
|
+
"type": 1,
|
|
517
|
+
"status": 2,
|
|
518
|
+
"typeName": "UV dull paper check",
|
|
519
|
+
"pageIndex": 3,
|
|
520
|
+
"elements": [authenticityElement, authenticityElement, authenticityElement],
|
|
521
|
+
};
|
|
522
|
+
export var authenticityResult = {
|
|
523
|
+
"status": 2,
|
|
524
|
+
"checks": [authenticityCheck, authenticityCheck, authenticityCheck],
|
|
525
|
+
};
|
|
526
|
+
export var pdf417Info = {"errorLevel": 2, "columns": 3, "rows": 4};
|
|
527
|
+
export var barcodeField = {
|
|
528
|
+
"barcodeType": 5,
|
|
529
|
+
"status": -6001,
|
|
530
|
+
"pageIndex": 2,
|
|
531
|
+
"pdf417Info": pdf417Info,
|
|
532
|
+
"data": img1,
|
|
533
|
+
};
|
|
534
|
+
export var barcodeResult = {
|
|
535
|
+
"fields": [barcodeField, barcodeField, barcodeField],
|
|
536
|
+
};
|
|
537
|
+
export var rect = {"bottom": 0, "top": 1, "left": 2, "right": 3};
|
|
538
|
+
export var imageQuality = {
|
|
539
|
+
"featureType": 1,
|
|
540
|
+
"result": 2,
|
|
541
|
+
"type": 3,
|
|
542
|
+
"boundRects": [rect, rect, rect],
|
|
543
|
+
};
|
|
544
|
+
export var imageQualityGroup = {
|
|
545
|
+
"count": 1,
|
|
546
|
+
"result": 2,
|
|
547
|
+
"pageIndex": 3,
|
|
548
|
+
"imageQualityList": [imageQuality, imageQuality, imageQuality],
|
|
549
|
+
};
|
|
550
|
+
export var accessControlProcedureType = {
|
|
551
|
+
"activeOptionIdx": 1,
|
|
552
|
+
"type": 2,
|
|
553
|
+
"status": 1,
|
|
554
|
+
"notifications": [1, 2, 3],
|
|
555
|
+
};
|
|
556
|
+
export var fileData = {"data": "test", "length": 2, "type": 3, "status": 4};
|
|
557
|
+
export var certificateData = {"data": "test", "length": 1};
|
|
558
|
+
export var securityObjectCertificates = {"securityObject": certificateData};
|
|
559
|
+
export var file = {
|
|
560
|
+
"fileData": fileData,
|
|
561
|
+
"fileID": "test1",
|
|
562
|
+
"notifications": [1, 2, 3],
|
|
563
|
+
"pAStatus": 1,
|
|
564
|
+
"readingStatus": 2,
|
|
565
|
+
"readingTime": 3,
|
|
566
|
+
"type": 4,
|
|
567
|
+
"typeName": "Biometry - Iris Data (DG4)",
|
|
568
|
+
"docFieldsText": [4, 5, 6],
|
|
569
|
+
"docFieldsGraphics": [7, 8, 9],
|
|
570
|
+
"docFieldsOriginals": [10, 11, 12],
|
|
571
|
+
"certificates": securityObjectCertificates,
|
|
572
|
+
};
|
|
573
|
+
export var application = {
|
|
574
|
+
"applicationID": "test1",
|
|
575
|
+
"dataHashAlgorithm": "test2",
|
|
576
|
+
"files": [file, file, file],
|
|
577
|
+
"status": 1,
|
|
578
|
+
"type": 2,
|
|
579
|
+
"unicodeVersion": "test3",
|
|
580
|
+
"version": "test4",
|
|
581
|
+
};
|
|
582
|
+
export var rfidValue = {
|
|
583
|
+
"data": "test1",
|
|
584
|
+
"length": 1,
|
|
585
|
+
"status": 2,
|
|
586
|
+
"type": 3,
|
|
587
|
+
"format": "test2",
|
|
588
|
+
};
|
|
589
|
+
export var attribute = {"type": "test", "value": rfidValue};
|
|
590
|
+
export var authority = {
|
|
591
|
+
"attributes": [attribute, attribute, attribute],
|
|
592
|
+
"data": "test",
|
|
593
|
+
"friendlyName": rfidValue,
|
|
594
|
+
};
|
|
595
|
+
export var cardProperties = {
|
|
596
|
+
"aTQA": 1,
|
|
597
|
+
"bitRateR": 2,
|
|
598
|
+
"bitRateS": 3,
|
|
599
|
+
"chipTypeA": 4,
|
|
600
|
+
"mifareMemory": 5,
|
|
601
|
+
"rfidType": 6,
|
|
602
|
+
"sAK": 7,
|
|
603
|
+
"support4": true,
|
|
604
|
+
"supportMifare": false,
|
|
605
|
+
"aTQB": "test1",
|
|
606
|
+
"aTR": "test2",
|
|
607
|
+
"baudrate1": "test3",
|
|
608
|
+
"baudrate2": "test4",
|
|
609
|
+
"uID": "test5",
|
|
610
|
+
};
|
|
611
|
+
export var extension = {"data": "test1", "type": "test2"};
|
|
612
|
+
export var rfidValidity = {"notAfter": rfidValue, "notBefore": rfidValue};
|
|
613
|
+
export var certificateChain = {
|
|
614
|
+
"type": 1,
|
|
615
|
+
"extensions": [extension, extension, extension],
|
|
616
|
+
"fileName": rfidValue,
|
|
617
|
+
"issuer": authority,
|
|
618
|
+
"notifications": [1, 2, 3],
|
|
619
|
+
"origin": 2,
|
|
620
|
+
"paStatus": 3,
|
|
621
|
+
"serialNumber": "test1",
|
|
622
|
+
"signatureAlgorithm": "test2",
|
|
623
|
+
"subject": authority,
|
|
624
|
+
"subjectPKAlgorithm": "test3",
|
|
625
|
+
"validity": rfidValidity,
|
|
626
|
+
"version": 4,
|
|
627
|
+
};
|
|
628
|
+
export var dataField = {"data": "test", "fieldType": 1};
|
|
629
|
+
export var signerInfo = {
|
|
630
|
+
"dataToHash": "test1",
|
|
631
|
+
"digestAlgorithm": "test2",
|
|
632
|
+
"version": 1,
|
|
633
|
+
"paStatus": 2,
|
|
634
|
+
"signatureAlgorithm": "test3",
|
|
635
|
+
"issuer": authority,
|
|
636
|
+
"serialNumber": rfidValue,
|
|
637
|
+
"signature": rfidValue,
|
|
638
|
+
"subjectKeyIdentifier": rfidValue,
|
|
639
|
+
"signedAttributes": [extension, extension, extension],
|
|
640
|
+
"certificateChain": [certificateChain, certificateChain, certificateChain],
|
|
641
|
+
"notifications": [1, 2, 3],
|
|
642
|
+
};
|
|
643
|
+
export var securityObject = {
|
|
644
|
+
"fileReference": 1,
|
|
645
|
+
"objectType": "test",
|
|
646
|
+
"version": 2,
|
|
647
|
+
"signerInfos": [signerInfo, signerInfo, signerInfo],
|
|
648
|
+
"notifications": [1, 2, 3],
|
|
649
|
+
};
|
|
650
|
+
export var rfidSessionData = {
|
|
651
|
+
"accessControls": [
|
|
652
|
+
accessControlProcedureType,
|
|
653
|
+
accessControlProcedureType,
|
|
654
|
+
accessControlProcedureType,
|
|
655
|
+
],
|
|
656
|
+
"applications": [application, application, application],
|
|
657
|
+
"securityObjects": [securityObject, securityObject, securityObject],
|
|
658
|
+
"dataFields": [dataField, dataField, dataField],
|
|
659
|
+
"dataGroups": [1, 2, 3],
|
|
660
|
+
"cardProperties": cardProperties,
|
|
661
|
+
"totalBytesReceived": 1,
|
|
662
|
+
"totalBytesSent": 2,
|
|
663
|
+
"status": 1,
|
|
664
|
+
"extLeSupport": 1,
|
|
665
|
+
"processTime": 4,
|
|
666
|
+
};
|
|
667
|
+
export var bytesData = {"data": "test", "length": 1, "status": 2, "type": 3};
|
|
668
|
+
export var vdsncData = {
|
|
669
|
+
"type": "test1",
|
|
670
|
+
"version": 1,
|
|
671
|
+
"issuingCountry": "test2",
|
|
672
|
+
"message": {"key1": "val1", "key2": "val2", "key3": "val3"},
|
|
673
|
+
"signatureAlgorithm": "test3",
|
|
674
|
+
"signature": bytesData,
|
|
675
|
+
"certificate": bytesData,
|
|
676
|
+
"certificateChain": [certificateChain, certificateChain, certificateChain],
|
|
677
|
+
"notifications": [3000000001, 3000000002, 3000000003],
|
|
678
|
+
};
|
|
679
|
+
export var opticalStatus = {
|
|
680
|
+
"overallStatus": 0,
|
|
681
|
+
"mrz": 1,
|
|
682
|
+
"text": 2,
|
|
683
|
+
"docType": 0,
|
|
684
|
+
"security": 1,
|
|
685
|
+
"imageQA": 2,
|
|
686
|
+
"expiry": 0,
|
|
687
|
+
"vds": 1,
|
|
688
|
+
"pagesCount": 3,
|
|
689
|
+
};
|
|
690
|
+
export var rfidStatus = {
|
|
691
|
+
"overallStatus": 0,
|
|
692
|
+
"pa": 1,
|
|
693
|
+
"ca": 2,
|
|
694
|
+
"aa": 0,
|
|
695
|
+
"ta": 1,
|
|
696
|
+
"bac": 2,
|
|
697
|
+
"pace": 0,
|
|
698
|
+
};
|
|
699
|
+
export var resultsStatus = {
|
|
700
|
+
"overallStatus": 0,
|
|
701
|
+
"optical": 1,
|
|
702
|
+
"rfid": 2,
|
|
703
|
+
"portrait": 0,
|
|
704
|
+
"stopList": 1,
|
|
705
|
+
"detailsOptical": opticalStatus,
|
|
706
|
+
"detailsRFID": rfidStatus,
|
|
707
|
+
};
|
|
708
|
+
export var comparison = {"sourceTypeLeft": 0, "sourceTypeRight": 1, "status": 2};
|
|
709
|
+
export var graphicField = {
|
|
710
|
+
"sourceType": 0,
|
|
711
|
+
"fieldType": 201,
|
|
712
|
+
"fieldName": "Portrait",
|
|
713
|
+
"light": 128,
|
|
714
|
+
"lightName": "UV",
|
|
715
|
+
"pageIndex": 3,
|
|
716
|
+
"originalPageIndex": 4,
|
|
717
|
+
"value": img1,
|
|
718
|
+
"fieldRect": rect,
|
|
719
|
+
};
|
|
720
|
+
export var graphicResult = {
|
|
721
|
+
"fields": [graphicField, graphicField, graphicField],
|
|
722
|
+
};
|
|
723
|
+
export var rfidOrigin = {"dg": 1, "dgTag": 2, "entryView": 3, "tagEntry": 4};
|
|
724
|
+
export var symbol = {"rect": rect, "code": 1, "probability": 2};
|
|
725
|
+
export var validity = {"sourceType": 1, "status": 2};
|
|
726
|
+
export var value = {
|
|
727
|
+
"sourceType": 3,
|
|
728
|
+
"value": "test1",
|
|
729
|
+
"originalValue": "test2",
|
|
730
|
+
"pageIndex": 2,
|
|
731
|
+
"boundRect": rect,
|
|
732
|
+
"rfidOrigin": rfidOrigin,
|
|
733
|
+
"originalSymbols": [symbol, symbol, symbol],
|
|
734
|
+
"probability": 1,
|
|
735
|
+
};
|
|
736
|
+
export var textField = {
|
|
737
|
+
"fieldType": 1,
|
|
738
|
+
"fieldName": "Issuing state code",
|
|
739
|
+
"lcid": 10011,
|
|
740
|
+
"lcidName": "Abkhazian (Cyrillic)",
|
|
741
|
+
"value": "test3",
|
|
742
|
+
"getValue": value,
|
|
743
|
+
"values": [value, value, value],
|
|
744
|
+
"status": 2,
|
|
745
|
+
"comparisonList": [comparison, comparison, comparison],
|
|
746
|
+
"validityList": [validity, validity, validity],
|
|
747
|
+
"comparisonStatus": 0,
|
|
748
|
+
"validityStatus": 1,
|
|
749
|
+
};
|
|
750
|
+
export var textSource = {
|
|
751
|
+
"sourceType": validity["sourceType"],
|
|
752
|
+
"source": "sourceType",
|
|
753
|
+
"validityStatus": 1,
|
|
754
|
+
};
|
|
755
|
+
export var documentReaderTextSource2 = {
|
|
756
|
+
"sourceType": comparison["sourceTypeLeft"],
|
|
757
|
+
"source": "sourceTypeLeft",
|
|
758
|
+
"validityStatus": 1,
|
|
759
|
+
};
|
|
760
|
+
export var documentReaderTextSource3 = {
|
|
761
|
+
"sourceType": comparison["sourceTypeRight"],
|
|
762
|
+
"source": "sourceTypeRight",
|
|
763
|
+
"validityStatus": 1,
|
|
764
|
+
};
|
|
765
|
+
export var textResult = {
|
|
766
|
+
"status": 0,
|
|
767
|
+
"comparisonStatus": 1,
|
|
768
|
+
"validityStatus": 2,
|
|
769
|
+
"availableSourceList": [
|
|
770
|
+
textSource,
|
|
771
|
+
documentReaderTextSource2,
|
|
772
|
+
documentReaderTextSource3,
|
|
773
|
+
],
|
|
774
|
+
"fields": [textField, textField, textField],
|
|
775
|
+
};
|
|
776
|
+
export var documentType = {
|
|
777
|
+
"name": "test1",
|
|
778
|
+
"documentID": 1,
|
|
779
|
+
"ICAOCode": "test2",
|
|
780
|
+
"FDSID": [1, 2, 3],
|
|
781
|
+
"dType": 11,
|
|
782
|
+
"dFormat": 2,
|
|
783
|
+
"dMRZ": true,
|
|
784
|
+
"isDeprecated": false,
|
|
785
|
+
"dDescription": "test3",
|
|
786
|
+
"dYear": "test4",
|
|
787
|
+
"dCountryName": "test5",
|
|
788
|
+
"pageIndex": 3,
|
|
789
|
+
};
|
|
790
|
+
export var coordinate = {"x": 1, "y": 2};
|
|
791
|
+
export var position = {
|
|
792
|
+
"docFormat": 0,
|
|
793
|
+
"resultStatus": 1,
|
|
794
|
+
"width": 2,
|
|
795
|
+
"height": 3,
|
|
796
|
+
"angle": 0.5,
|
|
797
|
+
"dpi": 4,
|
|
798
|
+
"inverse": 5,
|
|
799
|
+
"perspectiveTr": 6,
|
|
800
|
+
"objArea": 7,
|
|
801
|
+
"objIntAngleDev": 8,
|
|
802
|
+
"pageIndex": 9,
|
|
803
|
+
"center": coordinate,
|
|
804
|
+
"leftTop": coordinate,
|
|
805
|
+
"leftBottom": coordinate,
|
|
806
|
+
"rightTop": coordinate,
|
|
807
|
+
"rightBottom": coordinate,
|
|
808
|
+
};
|
|
809
|
+
export var transactionInfo = {
|
|
810
|
+
"transactionId": "test1",
|
|
811
|
+
"tag": "test2",
|
|
812
|
+
"sessionLogFolder": "test3",
|
|
813
|
+
};
|
|
814
|
+
export var results = {
|
|
815
|
+
"chipPage": 0,
|
|
816
|
+
"processingFinishedStatus": 2,
|
|
817
|
+
"elapsedTime": 3,
|
|
818
|
+
"elapsedTimeRFID": 4,
|
|
819
|
+
"morePagesAvailable": 5,
|
|
820
|
+
"graphicResult": graphicResult,
|
|
821
|
+
"textResult": textResult,
|
|
822
|
+
"documentPosition": [position],
|
|
823
|
+
"barcodePosition": [position, position],
|
|
824
|
+
"mrzPosition": [position, position, position],
|
|
825
|
+
"imageQuality": [imageQualityGroup, imageQualityGroup, imageQualityGroup],
|
|
826
|
+
"documentType": [documentType, documentType, documentType],
|
|
827
|
+
"rawResult": "test2",
|
|
828
|
+
"rfidSessionData": rfidSessionData,
|
|
829
|
+
"authenticityResult": authenticityResult,
|
|
830
|
+
"barcodeResult": barcodeResult,
|
|
831
|
+
"status": resultsStatus,
|
|
832
|
+
"vdsncData": vdsncData,
|
|
833
|
+
"dtcData": img1,
|
|
834
|
+
"transactionInfo": transactionInfo,
|
|
835
|
+
};
|
|
836
|
+
|
|
837
|
+
export var rfidNotification = {
|
|
838
|
+
"notificationCode": 65536,
|
|
839
|
+
"dataFileType": 1,
|
|
840
|
+
"progress": 2,
|
|
841
|
+
};
|
|
842
|
+
export var paAttribute = {"type": "test1", "value": "test2"};
|
|
843
|
+
export var paResourcesIssuer = {
|
|
844
|
+
"data": img1,
|
|
845
|
+
"friendlyName": "test",
|
|
846
|
+
"attributes": [paAttribute, paAttribute, paAttribute],
|
|
847
|
+
};
|
|
848
|
+
export var pkdCertificate = {
|
|
849
|
+
"binaryData": img1,
|
|
850
|
+
"resourceType": 0,
|
|
851
|
+
"privateKey": img2,
|
|
852
|
+
};
|
|
853
|
+
export var taChallenge = {
|
|
854
|
+
"data": img1,
|
|
855
|
+
"auxPCD": "test1",
|
|
856
|
+
"challengePICC": "test2",
|
|
857
|
+
"hashPK": "test3",
|
|
858
|
+
"idPICC": "test4",
|
|
859
|
+
};
|
|
860
|
+
export var tccParams = {
|
|
861
|
+
"serviceUrlTA": "test1",
|
|
862
|
+
"serviceUrlPA": "test2",
|
|
863
|
+
"pfxCertUrl": "test3",
|
|
864
|
+
"pfxPassPhrase": "test4",
|
|
865
|
+
"pfxCert": img1,
|
|
866
|
+
};
|