@regulaforensics/react-native-document-reader-api 9.2.427-nightly → 9.2.430-nightly

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.
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
14
14
  s.source = { :http => 'file:' + __dir__ }
15
15
  s.ios.deployment_target = '13.0'
16
16
  s.source_files = "ios/*.{h,m}"
17
- s.dependency 'DocumentReaderNightly', '9.2.5919'
17
+ s.dependency 'DocumentReaderNightly', '9.2.5926'
18
18
  s.dependency 'React'
19
19
  end
@@ -29,7 +29,7 @@ dependencies {
29
29
  //noinspection GradleDynamicVersion
30
30
  implementation 'com.facebook.react:react-native:+'
31
31
  //noinspection GradleDependency
32
- implementation('com.regula.documentreader:api:9.2.12453') {
32
+ implementation('com.regula.documentreader:api:9.2.12463') {
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -18,7 +18,6 @@ import com.regula.documentreader.api.params.ImageQA
18
18
  import com.regula.documentreader.api.params.LivenessParams
19
19
  import com.regula.documentreader.api.params.ParamsCustomization
20
20
  import com.regula.documentreader.api.params.ProcessParam
21
- import com.regula.documentreader.api.params.Bsi
22
21
  import com.regula.documentreader.api.params.RfidScenario
23
22
  import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup
24
23
  import com.regula.documentreader.api.params.rfid.dg.DataGroups
@@ -148,11 +147,6 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
148
147
  "strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
149
148
  "returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
150
149
  "checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean
151
- "bsiTr03135" -> {
152
- val temp = Bsi()
153
- temp.generateResult = (v as JSONObject).getBooleanOrNull("generateResult")
154
- processParams.bsiTr03135 = temp
155
- }
156
150
  "measureSystem" -> processParams.measureSystem = v.toInt()
157
151
  "barcodeParserType" -> processParams.barcodeParserType = v.toInt()
158
152
  "perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
@@ -191,6 +185,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
191
185
  "rfidParams" -> processParams.rfidParams = rfidParamsFromJSON(v as JSONObject)
192
186
  "faceApiParams" -> processParams.faceApiParams = faceApiParamsFromJSON(v as JSONObject)
193
187
  "backendProcessingConfig" -> processParams.backendProcessingConfig = backendProcessingConfigFromJSON(v as JSONObject)
188
+ "bsiTr03135" -> processParams.bsiTr03135 = bsiFromJSON(v as JSONObject)
194
189
  "authenticityParams" -> {
195
190
  if (processParams.authenticityParams == null) processParams.authenticityParams = AuthenticityParams.defaultParams()
196
191
  setAuthenticityParams(processParams.authenticityParams!!, v as JSONObject)
@@ -242,9 +237,6 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
242
237
  "strictSecurityChecks" to processParams.strictSecurityChecks,
243
238
  "returnTransliteratedFields" to processParams.returnTransliteratedFields,
244
239
  "checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
245
- "bsiTr03135" to mapOf(
246
- "generateResult" to processParams.bsiTr03135?.generateResult
247
- ).toJson(),
248
240
  "measureSystem" to processParams.measureSystem,
249
241
  "barcodeParserType" to processParams.barcodeParserType,
250
242
  "perspectiveAngle" to processParams.perspectiveAngle,
@@ -282,6 +274,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
282
274
  "rfidParams" to generateRFIDParams(processParams.rfidParams),
283
275
  "faceApiParams" to generateFaceApiParams(processParams.faceApiParams),
284
276
  "backendProcessingConfig" to generateBackendProcessingConfig(processParams.backendProcessingConfig),
277
+ "bsiTr03135" to generateBsi(processParams.bsiTr03135),
285
278
  "authenticityParams" to getAuthenticityParams(processParams.authenticityParams),
286
279
  "customParams" to processParams.customParams,
287
280
  ).toJson()
@@ -29,6 +29,7 @@ import com.regula.documentreader.api.listener.NetworkInterceptorListener
29
29
  import com.regula.documentreader.api.params.AuthenticityParams
30
30
  import com.regula.documentreader.api.params.BackendProcessingConfig
31
31
  import com.regula.documentreader.api.params.BleDeviceConfig
32
+ import com.regula.documentreader.api.params.Bsi
32
33
  import com.regula.documentreader.api.params.DocReaderConfig
33
34
  import com.regula.documentreader.api.params.FaceApiParams
34
35
  import com.regula.documentreader.api.params.Functionality
@@ -325,6 +326,18 @@ fun generateBackendProcessingConfig(input: BackendProcessingConfig?) = input?.le
325
326
  ).toJson()
326
327
  }
327
328
 
329
+ fun bsiFromJSON(input: JSONObject?) = input?.let {
330
+ val result = Bsi()
331
+ result.generateResult = it.getBooleanOrNull("generateResult")
332
+ result
333
+ }
334
+
335
+ fun generateBsi(input: Bsi?) = input?.let {
336
+ mapOf(
337
+ "generateResult" to it.generateResult,
338
+ ).toJson()
339
+ }
340
+
328
341
  val weakReferencesHolder = mutableListOf<Any>()
329
342
  fun onlineProcessingConfigFromJSON(input: JSONObject?) = input?.let {
330
343
  val builder = OnlineProcessingConfig.Builder(it.getInt("mode"))
@@ -10,8 +10,8 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "9.2.427-nightly",
14
- "@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.2.1913-nightly",
13
+ "@regulaforensics/react-native-document-reader-api": "9.2.430-nightly",
14
+ "@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.2.1928-nightly",
15
15
  "@rneui/base": "4.0.0-rc.7",
16
16
  "@rneui/themed": "4.0.0-rc.7",
17
17
  "react": "19.0.0",
package/index.d.ts CHANGED
@@ -2143,6 +2143,19 @@ export class BackendProcessingConfig {
2143
2143
  }
2144
2144
  }
2145
2145
 
2146
+ export class Bsi {
2147
+ generateResult?: boolean
2148
+
2149
+ static fromJson(jsonObject?: any): Bsi | undefined {
2150
+ if (jsonObject == null || jsonObject == undefined) return undefined
2151
+ const result = new Bsi
2152
+
2153
+ result.generateResult = jsonObject["generateResult"]
2154
+
2155
+ return result
2156
+ }
2157
+ }
2158
+
2146
2159
  export class LivenessParams {
2147
2160
  checkOVI?: boolean
2148
2161
  checkMLI?: boolean
@@ -2253,7 +2266,6 @@ export class ProcessParams {
2253
2266
  strictSecurityChecks?: boolean
2254
2267
  returnTransliteratedFields?: boolean
2255
2268
  checkCaptureProcessIntegrity?: boolean
2256
- bsiTr03135?: Bsi
2257
2269
  barcodeParserType?: number
2258
2270
  perspectiveAngle?: number
2259
2271
  minDPI?: number
@@ -2291,6 +2303,7 @@ export class ProcessParams {
2291
2303
  rfidParams?: RFIDParams
2292
2304
  faceApiParams?: FaceApiParams
2293
2305
  backendProcessingConfig?: BackendProcessingConfig
2306
+ bsiTr03135?: Bsi
2294
2307
  authenticityParams?: AuthenticityParams
2295
2308
  customParams?: Record<string, any>
2296
2309
 
@@ -2339,7 +2352,6 @@ export class ProcessParams {
2339
2352
  result.strictSecurityChecks = jsonObject["strictSecurityChecks"]
2340
2353
  result.returnTransliteratedFields = jsonObject["returnTransliteratedFields"]
2341
2354
  result.checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"]
2342
- result.bsiTr03135 = Bsi.fromJson(jsonObject["bsiTr03135"])
2343
2355
  result.barcodeParserType = jsonObject["barcodeParserType"]
2344
2356
  result.perspectiveAngle = jsonObject["perspectiveAngle"]
2345
2357
  result.minDPI = jsonObject["minDPI"]
@@ -2422,6 +2434,7 @@ export class ProcessParams {
2422
2434
  result.rfidParams = RFIDParams.fromJson(jsonObject["rfidParams"])
2423
2435
  result.faceApiParams = FaceApiParams.fromJson(jsonObject["faceApiParams"])
2424
2436
  result.backendProcessingConfig = BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"])
2437
+ result.bsiTr03135 = Bsi.fromJson(jsonObject["bsiTr03135"])
2425
2438
  result.authenticityParams = AuthenticityParams.fromJson(jsonObject["authenticityParams"])
2426
2439
  result.customParams = jsonObject["customParams"]
2427
2440
 
@@ -2446,19 +2459,6 @@ export class Font {
2446
2459
  }
2447
2460
  }
2448
2461
 
2449
- export class Bsi {
2450
- generateResult?: boolean
2451
-
2452
- static fromJson(jsonObject?: any): Bsi | undefined {
2453
- if (jsonObject == null || jsonObject == undefined) return undefined
2454
- const result = new Bsi
2455
-
2456
- result.generateResult = jsonObject["generateResult"]
2457
-
2458
- return result
2459
- }
2460
- }
2461
-
2462
2462
  export class CustomizationColors {
2463
2463
  rfidProcessingScreenBackground?: number
2464
2464
  rfidProcessingScreenHintLabelText?: number
@@ -3254,6 +3254,23 @@ export class FinalizeConfig {
3254
3254
  }
3255
3255
  }
3256
3256
 
3257
+ export class FinalizeCompletion {
3258
+ action?: number
3259
+ info?: TransactionInfo
3260
+ error?: RegulaException
3261
+
3262
+ static fromJson(jsonObject?: any): FinalizeCompletion | undefined {
3263
+ if (jsonObject == null || jsonObject == undefined) return undefined
3264
+ const result = new FinalizeCompletion
3265
+
3266
+ result.action = jsonObject["action"]
3267
+ result.info = TransactionInfo.fromJson(jsonObject["info"])
3268
+ result.error = RegulaException.fromJson(jsonObject["error"])
3269
+
3270
+ return result
3271
+ }
3272
+ }
3273
+
3257
3274
  export const FontStyle = {
3258
3275
  NORMAL: 0,
3259
3276
  BOLD: 1,
@@ -5926,6 +5943,7 @@ export default class DocumentReader {
5926
5943
  static getDocReaderVersion(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5927
5944
  static getDocReaderDocumentsDatabase(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5928
5945
  static finalizePackage(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5946
+ static finalizePackageWithFinalizeConfig(config: FinalizeConfig, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5929
5947
  static endBackendTransaction(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5930
5948
  static getTranslation(className: string, value: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5931
5949
  static startReadMDl(type: number, dataRetrieval: DataRetrieval, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
@@ -5935,5 +5953,4 @@ export default class DocumentReader {
5935
5953
  static startRetrieveData(deviceEngagement: DeviceEngagement, dataRetrieval: DataRetrieval, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5936
5954
  static retrieveDataNFC(dataRetrieval: DataRetrieval, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5937
5955
  static retrieveDataBLE(deviceEngagement: DeviceEngagement, dataRetrieval: DataRetrieval, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5938
- static finalizePackageWithFinalizeConfig(config: FinalizeConfig, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5939
5956
  }
package/index.js CHANGED
@@ -1449,6 +1449,17 @@ export class BackendProcessingConfig {
1449
1449
  }
1450
1450
  }
1451
1451
 
1452
+ export class Bsi {
1453
+ static fromJson(jsonObject) {
1454
+ if (jsonObject == null) return null
1455
+ const result = new Bsi()
1456
+
1457
+ result.generateResult = jsonObject["generateResult"]
1458
+
1459
+ return result
1460
+ }
1461
+ }
1462
+
1452
1463
  export class LivenessParams {
1453
1464
  static fromJson(jsonObject) {
1454
1465
  if (jsonObject == null) return null
@@ -1538,7 +1549,6 @@ export class ProcessParams {
1538
1549
  result.strictSecurityChecks = jsonObject["strictSecurityChecks"]
1539
1550
  result.returnTransliteratedFields = jsonObject["returnTransliteratedFields"]
1540
1551
  result.checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"]
1541
- result.bsiTr03135 = Bsi.fromJson(jsonObject["bsiTr03135"])
1542
1552
  result.barcodeParserType = jsonObject["barcodeParserType"]
1543
1553
  result.perspectiveAngle = jsonObject["perspectiveAngle"]
1544
1554
  result.minDPI = jsonObject["minDPI"]
@@ -1603,6 +1613,7 @@ export class ProcessParams {
1603
1613
  result.rfidParams = RFIDParams.fromJson(jsonObject["rfidParams"])
1604
1614
  result.faceApiParams = FaceApiParams.fromJson(jsonObject["faceApiParams"])
1605
1615
  result.backendProcessingConfig = BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"])
1616
+ result.bsiTr03135 = Bsi.fromJson(jsonObject["bsiTr03135"])
1606
1617
  result.authenticityParams = AuthenticityParams.fromJson(jsonObject["authenticityParams"])
1607
1618
  result.customParams = jsonObject["customParams"]
1608
1619
 
@@ -1623,17 +1634,6 @@ export class Font {
1623
1634
  }
1624
1635
  }
1625
1636
 
1626
- export class Bsi {
1627
- static fromJson(jsonObject) {
1628
- if (jsonObject == null) return null
1629
- const result = new Bsi()
1630
-
1631
- result.generateResult = jsonObject["generateResult"]
1632
-
1633
- return result
1634
- }
1635
- }
1636
-
1637
1637
  export class CustomizationColors {
1638
1638
  static fromJson(jsonObject) {
1639
1639
  if (jsonObject == null) return null
@@ -2114,6 +2114,19 @@ export class FinalizeConfig {
2114
2114
  }
2115
2115
  }
2116
2116
 
2117
+ export class FinalizeCompletion {
2118
+ static fromJson(jsonObject) {
2119
+ if (jsonObject == null) return null
2120
+ const result = new FinalizeCompletion()
2121
+
2122
+ result.action = jsonObject["action"]
2123
+ result.info = TransactionInfo.fromJson(jsonObject["info"])
2124
+ result.error = RegulaException.fromJson(jsonObject["error"])
2125
+
2126
+ return result
2127
+ }
2128
+ }
2129
+
2117
2130
  // Enum
2118
2131
 
2119
2132
  export const FontStyle = {
@@ -4789,6 +4802,7 @@ DocumentReader.isAuthenticatorAvailableForUse = (successCallback, errorCallback)
4789
4802
  DocumentReader.getDocReaderVersion = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderVersion", [], successCallback, errorCallback)
4790
4803
  DocumentReader.getDocReaderDocumentsDatabase = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderDocumentsDatabase", [], successCallback, errorCallback)
4791
4804
  DocumentReader.finalizePackage = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "finalizePackage", [], successCallback, errorCallback)
4805
+ DocumentReader.finalizePackageWithFinalizeConfig = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "finalizePackageWithFinalizeConfig", [config], successCallback, errorCallback)
4792
4806
  DocumentReader.endBackendTransaction = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "endBackendTransaction", [], successCallback, errorCallback)
4793
4807
  DocumentReader.getTranslation = (className, value, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTranslation", [className, value], successCallback, errorCallback)
4794
4808
  DocumentReader.startReadMDl = (type, dataRetrieval, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startReadMDl", [type, dataRetrieval], successCallback, errorCallback)
@@ -4798,6 +4812,5 @@ DocumentReader.engageDeviceData = (data, successCallback, errorCallback) => RNRe
4798
4812
  DocumentReader.startRetrieveData = (deviceEngagement, dataRetrieval, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startRetrieveData", [deviceEngagement, dataRetrieval], successCallback, errorCallback)
4799
4813
  DocumentReader.retrieveDataNFC = (dataRetrieval, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "retrieveDataNFC", [dataRetrieval], successCallback, errorCallback)
4800
4814
  DocumentReader.retrieveDataBLE = (deviceEngagement, dataRetrieval, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "retrieveDataBLE", [deviceEngagement, dataRetrieval], successCallback, errorCallback)
4801
- DocumentReader.finalizePackageWithFinalizeConfig = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "finalizePackageWithFinalizeConfig", [config], successCallback, errorCallback)
4802
4815
 
4803
4816
  export default DocumentReader
package/ios/RGLWConfig.m CHANGED
@@ -194,10 +194,6 @@
194
194
  if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
195
195
  if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
196
196
  if (options[@"checkCaptureProcessIntegrity"]) processParams.checkCaptureProcessIntegrity = options[@"checkCaptureProcessIntegrity"];
197
- if (options[@"bsiTr03135"]) {
198
- processParams.bsiTr03135 = [RGLBsi new];
199
- processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
200
- }
201
197
 
202
198
  // Int
203
199
  if([options valueForKey:@"measureSystem"] != nil)
@@ -272,16 +268,17 @@
272
268
  if (options[@"customParams"]) processParams.customParams = options[@"customParams"];
273
269
  if ([options valueForKey:@"imageQA"] != nil)
274
270
  [self setImageQA:processParams.imageQA input:[options valueForKey:@"imageQA"]];
271
+ if ([options valueForKey:@"authenticityParams"] != nil) {
272
+ if(processParams.authenticityParams == nil) processParams.authenticityParams = [RGLAuthenticityParams defaultParams];
273
+ [self setAuthenticityParams:processParams.authenticityParams input:[options valueForKey:@"authenticityParams"]];
274
+ }
275
275
  if ([options valueForKey:@"rfidParams"] != nil)
276
276
  processParams.rfidParams = [RGLWJSONConstructor rfidParamsFromJson:[options valueForKey:@"rfidParams"]];
277
277
  if ([options valueForKey:@"faceApiParams"] != nil)
278
278
  processParams.faceApiParams = [RGLWJSONConstructor faceAPIParamsFromJson:[options valueForKey:@"faceApiParams"]];
279
279
  if ([options valueForKey:@"backendProcessingConfig"] != nil)
280
280
  processParams.backendProcessingConfig = [RGLWJSONConstructor backendProcessingConfigFromJson:[options valueForKey:@"backendProcessingConfig"]];
281
- if ([options valueForKey:@"authenticityParams"] != nil) {
282
- if(processParams.authenticityParams == nil) processParams.authenticityParams = [RGLAuthenticityParams defaultParams];
283
- [self setAuthenticityParams:processParams.authenticityParams input:[options valueForKey:@"authenticityParams"]];
284
- }
281
+ if (options[@"bsiTr03135"]) processParams.bsiTr03135 = [RGLWJSONConstructor bsiFromJson:options[@"bsiTr03135"]];
285
282
  }
286
283
 
287
284
  +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams {
@@ -329,9 +326,6 @@
329
326
  result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
330
327
  result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
331
328
  result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
332
- if(processParams.bsiTr03135) result[@"bsiTr03135"] = @{
333
- @"generateResult": processParams.bsiTr03135.generateResult,
334
- };
335
329
 
336
330
  // Int
337
331
  result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
@@ -376,10 +370,11 @@
376
370
 
377
371
  // JSONObject
378
372
  result[@"imageQA"] = [self getImageQA:processParams.imageQA];
373
+ result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams];
379
374
  result[@"rfidParams"] = [RGLWJSONConstructor generateRFIDParams:processParams.rfidParams];
380
375
  result[@"faceApiParams"] = [RGLWJSONConstructor generateFaceAPIParams:processParams.faceApiParams];
381
376
  result[@"backendProcessingConfig"] = [RGLWJSONConstructor generateBackendProcessingConfig:processParams.backendProcessingConfig];
382
- result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams];
377
+ result[@"bsiTr03135"] = [RGLWJSONConstructor generateBsi:processParams.bsiTr03135];
383
378
 
384
379
  // Custom
385
380
  result[@"customParams"] = processParams.customParams;
@@ -51,6 +51,8 @@
51
51
  +(NSDictionary* _Nullable)generateProcessParams:(RGLProcessParams* _Nullable)input;
52
52
  +(RGLBackendProcessingConfig* _Nullable)backendProcessingConfigFromJson:(NSDictionary* _Nullable)input;
53
53
  +(NSDictionary* _Nullable)generateBackendProcessingConfig:(RGLBackendProcessingConfig* _Nullable)input;
54
+ +(RGLBsi* _Nullable)bsiFromJson:(NSDictionary* _Nullable)input;
55
+ +(NSDictionary* _Nullable)generateBsi:(RGLBsi* _Nullable)input;
54
56
  +(RGLeDLDataGroup* _Nullable)eDLDataGroupsFromJson:(NSDictionary* _Nullable)input;
55
57
  +(NSDictionary* _Nullable)generateEDLDataGroups:(RGLeDLDataGroup* _Nullable)input;
56
58
  +(RGLePassportDataGroup* _Nullable)ePassportDataGroupsFromJson:(NSDictionary* _Nullable)input;
@@ -303,6 +303,24 @@ static NSMutableArray* weakReferencesHolder;
303
303
  return result;
304
304
  }
305
305
 
306
+ +(RGLBsi*)bsiFromJson:(NSDictionary*)input {
307
+ if(input == nil) return nil;
308
+ RGLBsi *result = [RGLBsi new];
309
+
310
+ if(input[@"generateResult"]) result.generateResult = input[@"generateResult"];
311
+
312
+ return result;
313
+ }
314
+
315
+ +(NSDictionary*)generateBsi:(RGLBsi*)input {
316
+ if(input == nil) return nil;
317
+ NSMutableDictionary* result = [NSMutableDictionary new];
318
+
319
+ result[@"generateResult"] = input.generateResult;
320
+
321
+ return result;
322
+ }
323
+
306
324
  +(RGLImageQA*)imageQAFromJson:(NSDictionary*)input {
307
325
  RGLImageQA *result = [RGLImageQA new];
308
326
  [RGLWConfig setImageQA:result input:input];
@@ -2576,7 +2594,6 @@ static NSMutableArray* weakReferencesHolder;
2576
2594
  result.requests = requests;
2577
2595
 
2578
2596
  return result;
2579
-
2580
2597
  }
2581
2598
 
2582
2599
  +(NSDictionary*)generateDataRetrieval:(RGLDataRetrieval*)input {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "9.2.427-nightly",
3
+ "version": "9.2.430-nightly",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {