@regulaforensics/react-native-document-reader-api 9.3.477-nightly → 9.3.478-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/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +137 -48
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +23 -19
- package/android/src/main/java/com/regula/plugin/documentreader/Utils.kt +5 -0
- package/example/package-lock.json +32 -32
- package/example/package.json +2 -2
- package/index.d.ts +170 -0
- package/index.js +124 -0
- package/ios/RGLWConfig.m +152 -41
- package/ios/RGLWJSONConstructor.m +5 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2128,6 +2128,7 @@ export class BackendProcessingConfig {
|
|
|
2128
2128
|
url?: string
|
|
2129
2129
|
httpHeaders?: Record<string, string>
|
|
2130
2130
|
rfidServerSideChipVerification?: boolean
|
|
2131
|
+
mdlVerification?: boolean
|
|
2131
2132
|
timeoutConnection?: number
|
|
2132
2133
|
|
|
2133
2134
|
static fromJson(jsonObject?: any): BackendProcessingConfig | undefined {
|
|
@@ -2137,6 +2138,7 @@ export class BackendProcessingConfig {
|
|
|
2137
2138
|
result.url = jsonObject["url"]
|
|
2138
2139
|
result.httpHeaders = jsonObject["httpHeaders"]
|
|
2139
2140
|
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
|
|
2141
|
+
result.mdlVerification = jsonObject["mdlVerification"]
|
|
2140
2142
|
result.timeoutConnection = jsonObject["timeoutConnection"]
|
|
2141
2143
|
|
|
2142
2144
|
return result
|
|
@@ -2266,6 +2268,9 @@ export class ProcessParams {
|
|
|
2266
2268
|
strictSecurityChecks?: boolean
|
|
2267
2269
|
returnTransliteratedFields?: boolean
|
|
2268
2270
|
checkCaptureProcessIntegrity?: boolean
|
|
2271
|
+
strictExpiryDate?: boolean
|
|
2272
|
+
debugSaveBinarySession?: boolean
|
|
2273
|
+
checkVDS?: boolean
|
|
2269
2274
|
barcodeParserType?: number
|
|
2270
2275
|
perspectiveAngle?: number
|
|
2271
2276
|
minDPI?: number
|
|
@@ -2352,6 +2357,9 @@ export class ProcessParams {
|
|
|
2352
2357
|
result.strictSecurityChecks = jsonObject["strictSecurityChecks"]
|
|
2353
2358
|
result.returnTransliteratedFields = jsonObject["returnTransliteratedFields"]
|
|
2354
2359
|
result.checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"]
|
|
2360
|
+
result.strictExpiryDate = jsonObject["strictExpiryDate"]
|
|
2361
|
+
result.debugSaveBinarySession = jsonObject["debugSaveBinarySession"]
|
|
2362
|
+
result.checkVDS = jsonObject["checkVDS"]
|
|
2355
2363
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
2356
2364
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
2357
2365
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -2472,6 +2480,10 @@ export class CustomizationColors {
|
|
|
2472
2480
|
rfidEnableNfcDescriptionText?: number
|
|
2473
2481
|
rfidEnableNfcButtonText?: number
|
|
2474
2482
|
rfidEnableNfcButtonBackground?: number
|
|
2483
|
+
nextPageIdCardFront?: number
|
|
2484
|
+
nextPageIdCardBack?: number
|
|
2485
|
+
nextPagePassportShift?: number
|
|
2486
|
+
nextPagePassportFlip?: number
|
|
2475
2487
|
|
|
2476
2488
|
static fromJson(jsonObject?: any): CustomizationColors | undefined {
|
|
2477
2489
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -2489,6 +2501,10 @@ export class CustomizationColors {
|
|
|
2489
2501
|
result.rfidEnableNfcDescriptionText = jsonObject["rfidEnableNfcDescriptionText"]
|
|
2490
2502
|
result.rfidEnableNfcButtonText = jsonObject["rfidEnableNfcButtonText"]
|
|
2491
2503
|
result.rfidEnableNfcButtonBackground = jsonObject["rfidEnableNfcButtonBackground"]
|
|
2504
|
+
result.nextPageIdCardFront = jsonObject["nextPageIdCardFront"]
|
|
2505
|
+
result.nextPageIdCardBack = jsonObject["nextPageIdCardBack"]
|
|
2506
|
+
result.nextPagePassportShift = jsonObject["nextPagePassportShift"]
|
|
2507
|
+
result.nextPagePassportFlip = jsonObject["nextPagePassportFlip"]
|
|
2492
2508
|
|
|
2493
2509
|
return result
|
|
2494
2510
|
}
|
|
@@ -2518,15 +2534,118 @@ export class CustomizationFonts {
|
|
|
2518
2534
|
}
|
|
2519
2535
|
|
|
2520
2536
|
export class CustomizationImages {
|
|
2537
|
+
helpAnimation?: string
|
|
2538
|
+
livenessAnimation?: string
|
|
2539
|
+
borderBackground?: string
|
|
2540
|
+
torchButtonOn?: string
|
|
2541
|
+
torchButtonOff?: string
|
|
2542
|
+
captureButton?: string
|
|
2543
|
+
switchButton?: string
|
|
2544
|
+
closeButton?: string
|
|
2545
|
+
multipageButton?: string
|
|
2521
2546
|
rfidProcessingScreenFailureImage?: string
|
|
2522
2547
|
rfidEnableNfcImage?: string
|
|
2548
|
+
rfidDisableNfcImage?: string
|
|
2549
|
+
mdlProcessingScreenFailureImage?: string
|
|
2550
|
+
mdlEnableNfcImage?: string
|
|
2551
|
+
mdlDisableNfcImage?: string
|
|
2552
|
+
nextPageIdCardFront?: string
|
|
2553
|
+
nextPageIdCardBack?: string
|
|
2554
|
+
nextPagePassportShift?: string
|
|
2555
|
+
nextPagePassportFlipStart?: string
|
|
2556
|
+
nextPagePassportFlipClean?: string
|
|
2557
|
+
nextPagePassportFlipTop?: string
|
|
2558
|
+
nextPagePassportFlipBottom?: string
|
|
2523
2559
|
|
|
2524
2560
|
static fromJson(jsonObject?: any): CustomizationImages | undefined {
|
|
2525
2561
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2526
2562
|
const result = new CustomizationImages
|
|
2527
2563
|
|
|
2564
|
+
result.helpAnimation = jsonObject["helpAnimation"]
|
|
2565
|
+
result.livenessAnimation = jsonObject["livenessAnimation"]
|
|
2566
|
+
result.borderBackground = jsonObject["borderBackground"]
|
|
2567
|
+
result.torchButtonOn = jsonObject["torchButtonOn"]
|
|
2568
|
+
result.torchButtonOff = jsonObject["torchButtonOff"]
|
|
2569
|
+
result.captureButton = jsonObject["captureButton"]
|
|
2570
|
+
result.switchButton = jsonObject["switchButton"]
|
|
2571
|
+
result.closeButton = jsonObject["closeButton"]
|
|
2572
|
+
result.multipageButton = jsonObject["multipageButton"]
|
|
2528
2573
|
result.rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"]
|
|
2529
2574
|
result.rfidEnableNfcImage = jsonObject["rfidEnableNfcImage"]
|
|
2575
|
+
result.rfidDisableNfcImage = jsonObject["rfidDisableNfcImage"]
|
|
2576
|
+
result.mdlProcessingScreenFailureImage = jsonObject["mdlProcessingScreenFailureImage"]
|
|
2577
|
+
result.mdlEnableNfcImage = jsonObject["mdlEnableNfcImage"]
|
|
2578
|
+
result.mdlDisableNfcImage = jsonObject["mdlDisableNfcImage"]
|
|
2579
|
+
result.nextPageIdCardFront = jsonObject["nextPageIdCardFront"]
|
|
2580
|
+
result.nextPageIdCardBack = jsonObject["nextPageIdCardBack"]
|
|
2581
|
+
result.nextPagePassportShift = jsonObject["nextPagePassportShift"]
|
|
2582
|
+
result.nextPagePassportFlipStart = jsonObject["nextPagePassportFlipStart"]
|
|
2583
|
+
result.nextPagePassportFlipClean = jsonObject["nextPagePassportFlipClean"]
|
|
2584
|
+
result.nextPagePassportFlipTop = jsonObject["nextPagePassportFlipTop"]
|
|
2585
|
+
result.nextPagePassportFlipBottom = jsonObject["nextPagePassportFlipBottom"]
|
|
2586
|
+
|
|
2587
|
+
return result
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
export class CustomizationTimings {
|
|
2592
|
+
nextPageIdCardStartDelay?: number
|
|
2593
|
+
nextPageIdCardEndDelay?: number
|
|
2594
|
+
nextPagePassportShiftStartDelay?: number
|
|
2595
|
+
nextPagePassportShiftEndDelay?: number
|
|
2596
|
+
nextPagePassportFlipStartDelay?: number
|
|
2597
|
+
nextPagePassportFlipEndDelay?: number
|
|
2598
|
+
|
|
2599
|
+
static fromJson(jsonObject?: any): CustomizationTimings | undefined {
|
|
2600
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2601
|
+
const result = new CustomizationTimings
|
|
2602
|
+
|
|
2603
|
+
result.nextPageIdCardStartDelay = jsonObject["nextPageIdCardStartDelay"]
|
|
2604
|
+
result.nextPageIdCardEndDelay = jsonObject["nextPageIdCardEndDelay"]
|
|
2605
|
+
result.nextPagePassportShiftStartDelay = jsonObject["nextPagePassportShiftStartDelay"]
|
|
2606
|
+
result.nextPagePassportShiftEndDelay = jsonObject["nextPagePassportShiftEndDelay"]
|
|
2607
|
+
result.nextPagePassportFlipStartDelay = jsonObject["nextPagePassportFlipStartDelay"]
|
|
2608
|
+
result.nextPagePassportFlipEndDelay = jsonObject["nextPagePassportFlipEndDelay"]
|
|
2609
|
+
|
|
2610
|
+
return result
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
export class CustomizationContentModes {
|
|
2615
|
+
nextPageIdCardFront?: number
|
|
2616
|
+
nextPageIdCardBack?: number
|
|
2617
|
+
|
|
2618
|
+
static fromJson(jsonObject?: any): CustomizationContentModes | undefined {
|
|
2619
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2620
|
+
const result = new CustomizationContentModes
|
|
2621
|
+
|
|
2622
|
+
result.nextPageIdCardFront = jsonObject["nextPageIdCardFront"]
|
|
2623
|
+
result.nextPageIdCardBack = jsonObject["nextPageIdCardBack"]
|
|
2624
|
+
|
|
2625
|
+
return result
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
export class CustomizationMatrices {
|
|
2630
|
+
nextPageIdCardFront?: number[]
|
|
2631
|
+
nextPageIdCardBack?: number[]
|
|
2632
|
+
|
|
2633
|
+
static fromJson(jsonObject?: any): CustomizationMatrices | undefined {
|
|
2634
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2635
|
+
const result = new CustomizationMatrices
|
|
2636
|
+
|
|
2637
|
+
result.nextPageIdCardFront = []
|
|
2638
|
+
if (jsonObject["nextPageIdCardFront"] != null) {
|
|
2639
|
+
for (const i in jsonObject["nextPageIdCardFront"]) {
|
|
2640
|
+
result.nextPageIdCardFront.push(jsonObject["nextPageIdCardFront"][i])
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
result.nextPageIdCardBack = []
|
|
2644
|
+
if (jsonObject["nextPageIdCardBack"] != null) {
|
|
2645
|
+
for (const i in jsonObject["nextPageIdCardBack"]) {
|
|
2646
|
+
result.nextPageIdCardBack.push(jsonObject["nextPageIdCardBack"][i])
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2530
2649
|
|
|
2531
2650
|
return result
|
|
2532
2651
|
}
|
|
@@ -3241,6 +3360,7 @@ export class FinalizeConfig {
|
|
|
3241
3360
|
rawImages?: boolean
|
|
3242
3361
|
video?: boolean
|
|
3243
3362
|
rfidSession?: boolean
|
|
3363
|
+
mdlSession?: boolean
|
|
3244
3364
|
|
|
3245
3365
|
static fromJson(jsonObject?: any): FinalizeConfig | undefined {
|
|
3246
3366
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -3249,6 +3369,7 @@ export class FinalizeConfig {
|
|
|
3249
3369
|
result.rawImages = jsonObject["rawImages"]
|
|
3250
3370
|
result.video = jsonObject["video"]
|
|
3251
3371
|
result.rfidSession = jsonObject["rfidSession"]
|
|
3372
|
+
result.mdlSession = jsonObject["mdlSession"]
|
|
3252
3373
|
|
|
3253
3374
|
return result
|
|
3254
3375
|
}
|
|
@@ -3325,6 +3446,10 @@ export const CustomizationColor = {
|
|
|
3325
3446
|
MDL_ENABLE_NFC_DESCRIPTION_TEXT: "mdlEnableNfcDescriptionText",
|
|
3326
3447
|
MDL_ENABLE_NFC_BUTTON_TEXT: "mdlEnableNfcButtonText",
|
|
3327
3448
|
MDL_ENABLE_NFC_BUTTON_BACKGROUND: "mdlEnableNfcButtonBackground",
|
|
3449
|
+
NEXT_PAGE_ID_CARD_FRONT: "nextPageIdCardFront",
|
|
3450
|
+
NEXT_PAGE_ID_CARD_BACK: "nextPageIdCardBack",
|
|
3451
|
+
NEXT_PAGE_PASSPORT_SHIFT: "nextPagePassportShift",
|
|
3452
|
+
NEXT_PAGE_PASSPORT_FLIP: "nextPagePassportFlip",
|
|
3328
3453
|
}
|
|
3329
3454
|
|
|
3330
3455
|
export const eRFID_ErrorCodes = {
|
|
@@ -3872,6 +3997,9 @@ export const eRFID_NotificationCodes = {
|
|
|
3872
3997
|
RFID_NOTIFICATION_AUXILIARY_DATA_VALIDATION: 0x000D0000,
|
|
3873
3998
|
RFID_NOTIFICATION_RI_SECTOR_ID: 0x000E0000,
|
|
3874
3999
|
RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER: 0x000F0000,
|
|
4000
|
+
RFID_NOTIFICATION_SESSION_FILE_DATA_UPDATED: 1048576,
|
|
4001
|
+
RFID_NOTIFICATION_TCC_TA_RESOURCES: 1114112,
|
|
4002
|
+
RFID_NOTIFICATION_TCC_TA_SIGNATURE: 1114113,
|
|
3875
4003
|
}
|
|
3876
4004
|
|
|
3877
4005
|
export const CameraPosition = {
|
|
@@ -3964,6 +4092,11 @@ export const eSignManagementAction = {
|
|
|
3964
4092
|
smaSignData: 7,
|
|
3965
4093
|
}
|
|
3966
4094
|
|
|
4095
|
+
export const CustomizationMatrix = {
|
|
4096
|
+
NEXT_PAGE_ID_CARD_FRONT: "nextPageIdCardFront",
|
|
4097
|
+
NEXT_PAGE_ID_CARD_BACK: "nextPageIdCardBack",
|
|
4098
|
+
}
|
|
4099
|
+
|
|
3967
4100
|
export const eMDLDeviceEngagement = {
|
|
3968
4101
|
QR: 0,
|
|
3969
4102
|
NFC: 1,
|
|
@@ -4106,6 +4239,11 @@ export const eMDLIntentToRetain = {
|
|
|
4106
4239
|
TRUE: 1,
|
|
4107
4240
|
}
|
|
4108
4241
|
|
|
4242
|
+
export const CustomizationContentMode = {
|
|
4243
|
+
NEXT_PAGE_ID_CARD_FRONT: "nextPageIdCardFront",
|
|
4244
|
+
NEXT_PAGE_ID_CARD_BACK: "nextPageIdCardBack",
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4109
4247
|
export const RFIDDelegate = {
|
|
4110
4248
|
NULL: 0,
|
|
4111
4249
|
NO_PA: 1,
|
|
@@ -5612,9 +5750,11 @@ export const eVisualFieldType = {
|
|
|
5612
5750
|
FT_NATIONALITY_CODE_ALPHA2: 697,
|
|
5613
5751
|
FT_FIRST_ISSUE_DATE_CHECKDIGIT: 698,
|
|
5614
5752
|
FT_FIRST_ISSUE_DATE_CHECKSUM: 699,
|
|
5753
|
+
FT_EXPIRY_TIMESTAMP: 700,
|
|
5615
5754
|
FT_COMMERCIAL_INDICATOR: 701,
|
|
5616
5755
|
FT_NON_DOMICILED_INDICATOR: 702,
|
|
5617
5756
|
FT_JURISDICTION_SPECIFIC_DATA: 703,
|
|
5757
|
+
FT_DATA_DATE_OF_EXPIRY: 704,
|
|
5618
5758
|
}
|
|
5619
5759
|
|
|
5620
5760
|
export const DocReaderOrientation = {
|
|
@@ -5794,11 +5934,38 @@ export const LCID = {
|
|
|
5794
5934
|
URDU_DETECTION: 10560,
|
|
5795
5935
|
}
|
|
5796
5936
|
|
|
5937
|
+
export const CustomizationTiming = {
|
|
5938
|
+
NEXT_PAGE_ID_CARD_START_DELAY: "nextPageIdCardStartDelay",
|
|
5939
|
+
NEXT_PAGE_ID_CARD_END_DELAY: "nextPageIdCardEndDelay",
|
|
5940
|
+
NEXT_PAGE_PASSPORT_SHIFT_START_DELAY: "nextPagePassportShiftStartDelay",
|
|
5941
|
+
NEXT_PAGE_PASSPORT_SHIFT_END_DELAY: "nextPagePassportShiftEndDelay",
|
|
5942
|
+
NEXT_PAGE_PASSPORT_FLIP_START_DELAY: "nextPagePassportFlipStartDelay",
|
|
5943
|
+
NEXT_PAGE_PASSPORT_FLIP_END_DELAY: "nextPagePassportFlipEndDelay",
|
|
5944
|
+
}
|
|
5945
|
+
|
|
5797
5946
|
export const CustomizationImage = {
|
|
5947
|
+
HELP_ANIMATION: "helpAnimation",
|
|
5948
|
+
LIVENESS_ANIMATION: "livenessAnimation",
|
|
5949
|
+
BORDER_BACKGROUND: "borderBackground",
|
|
5950
|
+
TORCH_BUTTON_ON: "torchButtonOn",
|
|
5951
|
+
TORCH_BUTTON_OFF: "torchButtonOff",
|
|
5952
|
+
CAPTURE_BUTTON: "captureButton",
|
|
5953
|
+
SWITCH_BUTTON: "switchButton",
|
|
5954
|
+
CLOSE_BUTTON: "closeButton",
|
|
5955
|
+
MULTIPAGE_BUTTON: "multipageButton",
|
|
5798
5956
|
RFID_PROCESSING_SCREEN_FAILURE_IMAGE: "rfidProcessingScreenFailureImage",
|
|
5799
5957
|
RFID_ENABLE_NFC_IMAGE: "rfidEnableNfcImage",
|
|
5958
|
+
RFID_DISABLE_NFC_IMAGE: "rfidDisableNfcImage",
|
|
5800
5959
|
MDL_PROCESSING_SCREEN_FAILURE_IMAGE: "mdlProcessingScreenFailureImage",
|
|
5801
5960
|
MDL_ENABLE_NFC_IMAGE: "mdlEnableNfcImage",
|
|
5961
|
+
MDL_DISABLE_NFC_IMAGE: "mdlDisableNfcImage",
|
|
5962
|
+
NEXT_PAGE_ID_CARD_FRONT: "nextPageIdCardFront",
|
|
5963
|
+
NEXT_PAGE_ID_CARD_BACK: "nextPageIdCardBack",
|
|
5964
|
+
NEXT_PAGE_PASSPORT_SHIFT: "nextPagePassportShift",
|
|
5965
|
+
NEXT_PAGE_PASSPORT_FLIP_START: "nextPagePassportFlipStart",
|
|
5966
|
+
NEXT_PAGE_PASSPORT_FLIP_CLEAN: "nextPagePassportFlipClean",
|
|
5967
|
+
NEXT_PAGE_PASSPORT_FLIP_TOP: "nextPagePassportFlipTop",
|
|
5968
|
+
NEXT_PAGE_PASSPORT_FLIP_BOTTOM: "nextPagePassportFlipBottom",
|
|
5802
5969
|
}
|
|
5803
5970
|
|
|
5804
5971
|
export const DocReaderFrame = {
|
|
@@ -5863,9 +6030,11 @@ export const Enum = {
|
|
|
5863
6030
|
BarcodeResult,
|
|
5864
6031
|
eRFID_Application_Type,
|
|
5865
6032
|
eSignManagementAction,
|
|
6033
|
+
CustomizationMatrix,
|
|
5866
6034
|
eMDLDeviceEngagement,
|
|
5867
6035
|
eCheckDiagnose,
|
|
5868
6036
|
eMDLIntentToRetain,
|
|
6037
|
+
CustomizationContentMode,
|
|
5869
6038
|
RFIDDelegate,
|
|
5870
6039
|
TextProcessing,
|
|
5871
6040
|
LogLevel,
|
|
@@ -5896,6 +6065,7 @@ export const Enum = {
|
|
|
5896
6065
|
eVisualFieldType,
|
|
5897
6066
|
DocReaderOrientation,
|
|
5898
6067
|
LCID,
|
|
6068
|
+
CustomizationTiming,
|
|
5899
6069
|
CustomizationImage,
|
|
5900
6070
|
DocReaderFrame,
|
|
5901
6071
|
eMDLDocRequestPreset,
|
package/index.js
CHANGED
|
@@ -1443,6 +1443,7 @@ export class BackendProcessingConfig {
|
|
|
1443
1443
|
result.url = jsonObject["url"]
|
|
1444
1444
|
result.httpHeaders = jsonObject["httpHeaders"]
|
|
1445
1445
|
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
|
|
1446
|
+
result.mdlVerification = jsonObject["mdlVerification"]
|
|
1446
1447
|
result.timeoutConnection = jsonObject["timeoutConnection"]
|
|
1447
1448
|
|
|
1448
1449
|
return result
|
|
@@ -1549,6 +1550,9 @@ export class ProcessParams {
|
|
|
1549
1550
|
result.strictSecurityChecks = jsonObject["strictSecurityChecks"]
|
|
1550
1551
|
result.returnTransliteratedFields = jsonObject["returnTransliteratedFields"]
|
|
1551
1552
|
result.checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"]
|
|
1553
|
+
result.strictExpiryDate = jsonObject["strictExpiryDate"]
|
|
1554
|
+
result.debugSaveBinarySession = jsonObject["debugSaveBinarySession"]
|
|
1555
|
+
result.checkVDS = jsonObject["checkVDS"]
|
|
1552
1556
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1553
1557
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1554
1558
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -1651,6 +1655,10 @@ export class CustomizationColors {
|
|
|
1651
1655
|
result.rfidEnableNfcDescriptionText = jsonObject["rfidEnableNfcDescriptionText"]
|
|
1652
1656
|
result.rfidEnableNfcButtonText = jsonObject["rfidEnableNfcButtonText"]
|
|
1653
1657
|
result.rfidEnableNfcButtonBackground = jsonObject["rfidEnableNfcButtonBackground"]
|
|
1658
|
+
result.nextPageIdCardFront = jsonObject["nextPageIdCardFront"]
|
|
1659
|
+
result.nextPageIdCardBack = jsonObject["nextPageIdCardBack"]
|
|
1660
|
+
result.nextPagePassportShift = jsonObject["nextPagePassportShift"]
|
|
1661
|
+
result.nextPagePassportFlip = jsonObject["nextPagePassportFlip"]
|
|
1654
1662
|
|
|
1655
1663
|
return result
|
|
1656
1664
|
}
|
|
@@ -1677,8 +1685,74 @@ export class CustomizationImages {
|
|
|
1677
1685
|
if (jsonObject == null) return null
|
|
1678
1686
|
const result = new CustomizationImages()
|
|
1679
1687
|
|
|
1688
|
+
result.helpAnimation = jsonObject["helpAnimation"]
|
|
1689
|
+
result.livenessAnimation = jsonObject["livenessAnimation"]
|
|
1690
|
+
result.borderBackground = jsonObject["borderBackground"]
|
|
1691
|
+
result.torchButtonOn = jsonObject["torchButtonOn"]
|
|
1692
|
+
result.torchButtonOff = jsonObject["torchButtonOff"]
|
|
1693
|
+
result.captureButton = jsonObject["captureButton"]
|
|
1694
|
+
result.switchButton = jsonObject["switchButton"]
|
|
1695
|
+
result.closeButton = jsonObject["closeButton"]
|
|
1696
|
+
result.multipageButton = jsonObject["multipageButton"]
|
|
1680
1697
|
result.rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"]
|
|
1681
1698
|
result.rfidEnableNfcImage = jsonObject["rfidEnableNfcImage"]
|
|
1699
|
+
result.rfidDisableNfcImage = jsonObject["rfidDisableNfcImage"]
|
|
1700
|
+
result.mdlProcessingScreenFailureImage = jsonObject["mdlProcessingScreenFailureImage"]
|
|
1701
|
+
result.mdlEnableNfcImage = jsonObject["mdlEnableNfcImage"]
|
|
1702
|
+
result.mdlDisableNfcImage = jsonObject["mdlDisableNfcImage"]
|
|
1703
|
+
result.nextPageIdCardFront = jsonObject["nextPageIdCardFront"]
|
|
1704
|
+
result.nextPageIdCardBack = jsonObject["nextPageIdCardBack"]
|
|
1705
|
+
result.nextPagePassportShift = jsonObject["nextPagePassportShift"]
|
|
1706
|
+
result.nextPagePassportFlipStart = jsonObject["nextPagePassportFlipStart"]
|
|
1707
|
+
result.nextPagePassportFlipClean = jsonObject["nextPagePassportFlipClean"]
|
|
1708
|
+
result.nextPagePassportFlipTop = jsonObject["nextPagePassportFlipTop"]
|
|
1709
|
+
result.nextPagePassportFlipBottom = jsonObject["nextPagePassportFlipBottom"]
|
|
1710
|
+
|
|
1711
|
+
return result
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
export class CustomizationTimings {
|
|
1716
|
+
static fromJson(jsonObject) {
|
|
1717
|
+
if (jsonObject == null) return null
|
|
1718
|
+
const result = new CustomizationTimings()
|
|
1719
|
+
|
|
1720
|
+
result.nextPageIdCardStartDelay = jsonObject["nextPageIdCardStartDelay"]
|
|
1721
|
+
result.nextPageIdCardEndDelay = jsonObject["nextPageIdCardEndDelay"]
|
|
1722
|
+
result.nextPagePassportShiftStartDelay = jsonObject["nextPagePassportShiftStartDelay"]
|
|
1723
|
+
result.nextPagePassportShiftEndDelay = jsonObject["nextPagePassportShiftEndDelay"]
|
|
1724
|
+
result.nextPagePassportFlipStartDelay = jsonObject["nextPagePassportFlipStartDelay"]
|
|
1725
|
+
result.nextPagePassportFlipEndDelay = jsonObject["nextPagePassportFlipEndDelay"]
|
|
1726
|
+
|
|
1727
|
+
return result
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
export class CustomizationContentModes {
|
|
1732
|
+
static fromJson(jsonObject) {
|
|
1733
|
+
if (jsonObject == null) return null
|
|
1734
|
+
const result = new CustomizationContentModes()
|
|
1735
|
+
|
|
1736
|
+
result.nextPageIdCardFront = jsonObject["nextPageIdCardFront"]
|
|
1737
|
+
result.nextPageIdCardBack = jsonObject["nextPageIdCardBack"]
|
|
1738
|
+
|
|
1739
|
+
return result
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
export class CustomizationMatrices {
|
|
1744
|
+
static fromJson(jsonObject) {
|
|
1745
|
+
if (jsonObject == null) return null
|
|
1746
|
+
const result = new CustomizationMatrices()
|
|
1747
|
+
|
|
1748
|
+
result.nextPageIdCardFront = []
|
|
1749
|
+
if (jsonObject["nextPageIdCardFront"] != null)
|
|
1750
|
+
for (const i in jsonObject["nextPageIdCardFront"])
|
|
1751
|
+
result.nextPageIdCardFront.push(jsonObject["nextPageIdCardFront"][i])
|
|
1752
|
+
result.nextPageIdCardBack = []
|
|
1753
|
+
if (jsonObject["nextPageIdCardBack"] != null)
|
|
1754
|
+
for (const i in jsonObject["nextPageIdCardBack"])
|
|
1755
|
+
result.nextPageIdCardBack.push(jsonObject["nextPageIdCardBack"][i])
|
|
1682
1756
|
|
|
1683
1757
|
return result
|
|
1684
1758
|
}
|
|
@@ -2109,6 +2183,7 @@ export class FinalizeConfig {
|
|
|
2109
2183
|
result.rawImages = jsonObject["rawImages"]
|
|
2110
2184
|
result.video = jsonObject["video"]
|
|
2111
2185
|
result.rfidSession = jsonObject["rfidSession"]
|
|
2186
|
+
result.mdlSession = jsonObject["mdlSession"]
|
|
2112
2187
|
|
|
2113
2188
|
return result
|
|
2114
2189
|
}
|
|
@@ -2183,6 +2258,10 @@ export const CustomizationColor = {
|
|
|
2183
2258
|
MDL_ENABLE_NFC_DESCRIPTION_TEXT: "mdlEnableNfcDescriptionText",
|
|
2184
2259
|
MDL_ENABLE_NFC_BUTTON_TEXT: "mdlEnableNfcButtonText",
|
|
2185
2260
|
MDL_ENABLE_NFC_BUTTON_BACKGROUND: "mdlEnableNfcButtonBackground",
|
|
2261
|
+
NEXT_PAGE_ID_CARD_FRONT: "nextPageIdCardFront",
|
|
2262
|
+
NEXT_PAGE_ID_CARD_BACK: "nextPageIdCardBack",
|
|
2263
|
+
NEXT_PAGE_PASSPORT_SHIFT: "nextPagePassportShift",
|
|
2264
|
+
NEXT_PAGE_PASSPORT_FLIP: "nextPagePassportFlip",
|
|
2186
2265
|
}
|
|
2187
2266
|
|
|
2188
2267
|
export const eRFID_ErrorCodes = {
|
|
@@ -2730,6 +2809,9 @@ export const eRFID_NotificationCodes = {
|
|
|
2730
2809
|
RFID_NOTIFICATION_AUXILIARY_DATA_VALIDATION: 0x000D0000,
|
|
2731
2810
|
RFID_NOTIFICATION_RI_SECTOR_ID: 0x000E0000,
|
|
2732
2811
|
RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER: 0x000F0000,
|
|
2812
|
+
RFID_NOTIFICATION_SESSION_FILE_DATA_UPDATED: 1048576,
|
|
2813
|
+
RFID_NOTIFICATION_TCC_TA_RESOURCES: 1114112,
|
|
2814
|
+
RFID_NOTIFICATION_TCC_TA_SIGNATURE: 1114113,
|
|
2733
2815
|
}
|
|
2734
2816
|
|
|
2735
2817
|
export const CameraPosition = {
|
|
@@ -2822,6 +2904,11 @@ export const eSignManagementAction = {
|
|
|
2822
2904
|
smaSignData: 7,
|
|
2823
2905
|
}
|
|
2824
2906
|
|
|
2907
|
+
export const CustomizationMatrix = {
|
|
2908
|
+
NEXT_PAGE_ID_CARD_FRONT: "nextPageIdCardFront",
|
|
2909
|
+
NEXT_PAGE_ID_CARD_BACK: "nextPageIdCardBack",
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2825
2912
|
export const eMDLDeviceEngagement = {
|
|
2826
2913
|
QR: 0,
|
|
2827
2914
|
NFC: 1,
|
|
@@ -2964,6 +3051,11 @@ export const eMDLIntentToRetain = {
|
|
|
2964
3051
|
TRUE: 1,
|
|
2965
3052
|
}
|
|
2966
3053
|
|
|
3054
|
+
export const CustomizationContentMode = {
|
|
3055
|
+
NEXT_PAGE_ID_CARD_FRONT: "nextPageIdCardFront",
|
|
3056
|
+
NEXT_PAGE_ID_CARD_BACK: "nextPageIdCardBack",
|
|
3057
|
+
}
|
|
3058
|
+
|
|
2967
3059
|
export const RFIDDelegate = {
|
|
2968
3060
|
NULL: 0,
|
|
2969
3061
|
NO_PA: 1,
|
|
@@ -4470,9 +4562,11 @@ export const eVisualFieldType = {
|
|
|
4470
4562
|
FT_NATIONALITY_CODE_ALPHA2: 697,
|
|
4471
4563
|
FT_FIRST_ISSUE_DATE_CHECKDIGIT: 698,
|
|
4472
4564
|
FT_FIRST_ISSUE_DATE_CHECKSUM: 699,
|
|
4565
|
+
FT_EXPIRY_TIMESTAMP: 700,
|
|
4473
4566
|
FT_COMMERCIAL_INDICATOR: 701,
|
|
4474
4567
|
FT_NON_DOMICILED_INDICATOR: 702,
|
|
4475
4568
|
FT_JURISDICTION_SPECIFIC_DATA: 703,
|
|
4569
|
+
FT_DATA_DATE_OF_EXPIRY: 704,
|
|
4476
4570
|
}
|
|
4477
4571
|
|
|
4478
4572
|
export const DocReaderOrientation = {
|
|
@@ -4652,11 +4746,38 @@ export const LCID = {
|
|
|
4652
4746
|
URDU_DETECTION: 10560,
|
|
4653
4747
|
}
|
|
4654
4748
|
|
|
4749
|
+
export const CustomizationTiming = {
|
|
4750
|
+
NEXT_PAGE_ID_CARD_START_DELAY: "nextPageIdCardStartDelay",
|
|
4751
|
+
NEXT_PAGE_ID_CARD_END_DELAY: "nextPageIdCardEndDelay",
|
|
4752
|
+
NEXT_PAGE_PASSPORT_SHIFT_START_DELAY: "nextPagePassportShiftStartDelay",
|
|
4753
|
+
NEXT_PAGE_PASSPORT_SHIFT_END_DELAY: "nextPagePassportShiftEndDelay",
|
|
4754
|
+
NEXT_PAGE_PASSPORT_FLIP_START_DELAY: "nextPagePassportFlipStartDelay",
|
|
4755
|
+
NEXT_PAGE_PASSPORT_FLIP_END_DELAY: "nextPagePassportFlipEndDelay",
|
|
4756
|
+
}
|
|
4757
|
+
|
|
4655
4758
|
export const CustomizationImage = {
|
|
4759
|
+
HELP_ANIMATION: "helpAnimation",
|
|
4760
|
+
LIVENESS_ANIMATION: "livenessAnimation",
|
|
4761
|
+
BORDER_BACKGROUND: "borderBackground",
|
|
4762
|
+
TORCH_BUTTON_ON: "torchButtonOn",
|
|
4763
|
+
TORCH_BUTTON_OFF: "torchButtonOff",
|
|
4764
|
+
CAPTURE_BUTTON: "captureButton",
|
|
4765
|
+
SWITCH_BUTTON: "switchButton",
|
|
4766
|
+
CLOSE_BUTTON: "closeButton",
|
|
4767
|
+
MULTIPAGE_BUTTON: "multipageButton",
|
|
4656
4768
|
RFID_PROCESSING_SCREEN_FAILURE_IMAGE: "rfidProcessingScreenFailureImage",
|
|
4657
4769
|
RFID_ENABLE_NFC_IMAGE: "rfidEnableNfcImage",
|
|
4770
|
+
RFID_DISABLE_NFC_IMAGE: "rfidDisableNfcImage",
|
|
4658
4771
|
MDL_PROCESSING_SCREEN_FAILURE_IMAGE: "mdlProcessingScreenFailureImage",
|
|
4659
4772
|
MDL_ENABLE_NFC_IMAGE: "mdlEnableNfcImage",
|
|
4773
|
+
MDL_DISABLE_NFC_IMAGE: "mdlDisableNfcImage",
|
|
4774
|
+
NEXT_PAGE_ID_CARD_FRONT: "nextPageIdCardFront",
|
|
4775
|
+
NEXT_PAGE_ID_CARD_BACK: "nextPageIdCardBack",
|
|
4776
|
+
NEXT_PAGE_PASSPORT_SHIFT: "nextPagePassportShift",
|
|
4777
|
+
NEXT_PAGE_PASSPORT_FLIP_START: "nextPagePassportFlipStart",
|
|
4778
|
+
NEXT_PAGE_PASSPORT_FLIP_CLEAN: "nextPagePassportFlipClean",
|
|
4779
|
+
NEXT_PAGE_PASSPORT_FLIP_TOP: "nextPagePassportFlipTop",
|
|
4780
|
+
NEXT_PAGE_PASSPORT_FLIP_BOTTOM: "nextPagePassportFlipBottom",
|
|
4660
4781
|
}
|
|
4661
4782
|
|
|
4662
4783
|
export const DocReaderFrame = {
|
|
@@ -4721,9 +4842,11 @@ export const Enum = {
|
|
|
4721
4842
|
BarcodeResult,
|
|
4722
4843
|
eRFID_Application_Type,
|
|
4723
4844
|
eSignManagementAction,
|
|
4845
|
+
CustomizationMatrix,
|
|
4724
4846
|
eMDLDeviceEngagement,
|
|
4725
4847
|
eCheckDiagnose,
|
|
4726
4848
|
eMDLIntentToRetain,
|
|
4849
|
+
CustomizationContentMode,
|
|
4727
4850
|
RFIDDelegate,
|
|
4728
4851
|
TextProcessing,
|
|
4729
4852
|
LogLevel,
|
|
@@ -4754,6 +4877,7 @@ export const Enum = {
|
|
|
4754
4877
|
eVisualFieldType,
|
|
4755
4878
|
DocReaderOrientation,
|
|
4756
4879
|
LCID,
|
|
4880
|
+
CustomizationTiming,
|
|
4757
4881
|
CustomizationImage,
|
|
4758
4882
|
DocReaderFrame,
|
|
4759
4883
|
eMDLDocRequestPreset,
|