uqudosdk-capacitor 2.6.0-1 → 2.7.0
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/UqudosdkCapacitor.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/io/uqudo/sdk/id/capacitor/UqudoIdPlugin.java +12 -0
- package/dist/esm/index.d.ts +15 -4
- package/dist/esm/index.js +23 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/plugin.cjs.js +23 -6
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +23 -6
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/UqudoId.m +63 -42
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
|
|
|
12
12
|
s.source = { :http => 'https://uqudo.com' }
|
|
13
13
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
14
|
s.ios.deployment_target = '12.0'
|
|
15
|
-
s.dependency 'UqudoSDK', '2.
|
|
15
|
+
s.dependency 'UqudoSDK', '2.7.0'
|
|
16
16
|
s.dependency 'OpenSSL-Universal', '1.1.1700'
|
|
17
17
|
s.dependency 'Capacitor'
|
|
18
18
|
s.swift_version = '5.1'
|
package/android/build.gradle
CHANGED
|
@@ -56,7 +56,7 @@ repositories {
|
|
|
56
56
|
dependencies {
|
|
57
57
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
58
58
|
implementation project(':capacitor-android')
|
|
59
|
-
implementation "io.uqudo.sdk:Uqudo:2.
|
|
59
|
+
implementation "io.uqudo.sdk:Uqudo:2.7.0"
|
|
60
60
|
|
|
61
61
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
62
62
|
testImplementation "junit:junit:$junitVersion"
|
|
@@ -116,6 +116,9 @@ public class UqudoIdPlugin extends Plugin {
|
|
|
116
116
|
if (faceObject.has("maxAttempts") && faceObject.getInt("maxAttempts") > 0) {
|
|
117
117
|
faceBuilder.setMaxAttempts(faceObject.getInt("maxAttempts"));
|
|
118
118
|
}
|
|
119
|
+
if (faceObject.has("allowClosedEyes") && faceObject.getBoolean("allowClosedEyes")) {
|
|
120
|
+
faceBuilder.allowClosedEyes();
|
|
121
|
+
}
|
|
119
122
|
enrollment.enableFacialRecognition(faceBuilder.build());
|
|
120
123
|
}
|
|
121
124
|
|
|
@@ -254,6 +257,9 @@ public class UqudoIdPlugin extends Plugin {
|
|
|
254
257
|
if (json.has("maxAttempts") && json.getInt("maxAttempts") > 0) {
|
|
255
258
|
recovery.setMaxAttempts(json.getInt("maxAttempts"));
|
|
256
259
|
}
|
|
260
|
+
if (json.has("allowClosedEyes") && json.getBoolean("allowClosedEyes")) {
|
|
261
|
+
recovery.allowClosedEyes();
|
|
262
|
+
}
|
|
257
263
|
if (json.has("isReturnDataForIncompleteSession") && json.getBoolean("isReturnDataForIncompleteSession")) {
|
|
258
264
|
recovery.returnDataForIncompleteSession();
|
|
259
265
|
}
|
|
@@ -302,6 +308,9 @@ public class UqudoIdPlugin extends Plugin {
|
|
|
302
308
|
if (json.has("maxAttempts") && json.getInt("maxAttempts") > 0) {
|
|
303
309
|
faceSessionBuilder.setMaxAttempts(json.getInt("maxAttempts"));
|
|
304
310
|
}
|
|
311
|
+
if (json.has("allowClosedEyes") && json.getBoolean("allowClosedEyes")) {
|
|
312
|
+
faceSessionBuilder.allowClosedEyes();
|
|
313
|
+
}
|
|
305
314
|
if (json.has("isReturnDataForIncompleteSession") && json.getBoolean("isReturnDataForIncompleteSession")) {
|
|
306
315
|
faceSessionBuilder.returnDataForIncompleteSession();
|
|
307
316
|
}
|
|
@@ -362,6 +371,9 @@ public class UqudoIdPlugin extends Plugin {
|
|
|
362
371
|
if (faceObject.has("maxAttempts") && faceObject.getInt("maxAttempts") > 0) {
|
|
363
372
|
faceBuilder.setMaxAttempts(faceObject.getInt("maxAttempts"));
|
|
364
373
|
}
|
|
374
|
+
if (faceObject.has("allowClosedEyes") && faceObject.getBoolean("allowClosedEyes")) {
|
|
375
|
+
faceBuilder.allowClosedEyes();
|
|
376
|
+
}
|
|
365
377
|
lookup.enableFacialRecognition(faceBuilder.build());
|
|
366
378
|
}
|
|
367
379
|
if (json.has("backgroundCheckConfiguration")) {
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare class Enrollment {
|
|
|
47
47
|
export declare class FacialRecognitionConfigurationBuilder {
|
|
48
48
|
private isHelpPageDisabled?;
|
|
49
49
|
private isEnrollFace?;
|
|
50
|
+
private isAllowClosedEyes?;
|
|
50
51
|
private scanMinimumMatchLevel?;
|
|
51
52
|
private readMinimumMatchLevel?;
|
|
52
53
|
private lookupMinimumMatchLevel?;
|
|
@@ -57,16 +58,18 @@ export declare class FacialRecognitionConfigurationBuilder {
|
|
|
57
58
|
setReadMinimumMatchLevel(readMinimumMatchLevel: number): FacialRecognitionConfigurationBuilder;
|
|
58
59
|
setLookupMinimumMatchLevel(lookupMinimumMatchLevel: number): FacialRecognitionConfigurationBuilder;
|
|
59
60
|
setMaxAttempts(maxAttempts: number): FacialRecognitionConfigurationBuilder;
|
|
61
|
+
allowClosedEyes(): FacialRecognitionConfigurationBuilder;
|
|
60
62
|
build(): FacialRecognitionConfiguration;
|
|
61
63
|
}
|
|
62
64
|
export declare class FacialRecognitionConfiguration {
|
|
63
65
|
private isHelpPageDisabled?;
|
|
64
66
|
private enrollFace?;
|
|
67
|
+
private allowClosedEyes?;
|
|
65
68
|
private scanMinimumMatchLevel?;
|
|
66
69
|
private readMinimumMatchLevel?;
|
|
67
70
|
private lookupMinimumMatchLevel?;
|
|
68
71
|
private maxAttempts?;
|
|
69
|
-
constructor(isHelpPageDisabled?: boolean, enrollFace?: boolean, scanMinimumMatchLevel?: number, readMinimumMatchLevel?: number, lookupMinimumMatchLevel?: number, maxAttempts?: number);
|
|
72
|
+
constructor(isHelpPageDisabled?: boolean, enrollFace?: boolean, scanMinimumMatchLevel?: number, readMinimumMatchLevel?: number, lookupMinimumMatchLevel?: number, maxAttempts?: number, isAllowClosedEyes?: boolean);
|
|
70
73
|
}
|
|
71
74
|
export declare class BackgroundCheckConfigurationBuilder {
|
|
72
75
|
private isDisableConsent?;
|
|
@@ -155,6 +158,7 @@ export declare class AccountRecoveryConfigurationBuilder {
|
|
|
155
158
|
private isSecuredWindowsDisabled?;
|
|
156
159
|
private minimumMatchLevel?;
|
|
157
160
|
private maxAttempts?;
|
|
161
|
+
private isAllowClosedEyes?;
|
|
158
162
|
private isReturnDataForIncompleteSession?;
|
|
159
163
|
private appearanceMode?;
|
|
160
164
|
/**
|
|
@@ -183,6 +187,7 @@ export declare class AccountRecoveryConfigurationBuilder {
|
|
|
183
187
|
*/
|
|
184
188
|
setMinimumMatchLevel(value: number): AccountRecoveryConfigurationBuilder;
|
|
185
189
|
setMaxAttempts(value: number): AccountRecoveryConfigurationBuilder;
|
|
190
|
+
allowClosedEyes(): AccountRecoveryConfigurationBuilder;
|
|
186
191
|
returnDataForIncompleteSession(): AccountRecoveryConfigurationBuilder;
|
|
187
192
|
setAppearanceMode(appearanceMode: AppearanceMode): AccountRecoveryConfigurationBuilder;
|
|
188
193
|
/**
|
|
@@ -199,9 +204,10 @@ export declare class AccountRecoveryConfiguration {
|
|
|
199
204
|
private isSecuredWindowsDisabled?;
|
|
200
205
|
private minimumMatchLevel?;
|
|
201
206
|
private maxAttempts?;
|
|
207
|
+
private allowClosedEyes?;
|
|
202
208
|
private isReturnDataForIncompleteSession?;
|
|
203
209
|
private appearanceMode?;
|
|
204
|
-
constructor(token?: string, enrollmentIdentifier?: string, nonce?: string, isRootedDeviceAllowed?: boolean, isSecuredWindowsDisabled?: boolean, minimumMatchLevel?: number, maxAttempts?: number, isReturnDataForIncompleteSession?: boolean, appearanceMode?: AppearanceMode);
|
|
210
|
+
constructor(token?: string, enrollmentIdentifier?: string, nonce?: string, isRootedDeviceAllowed?: boolean, isSecuredWindowsDisabled?: boolean, minimumMatchLevel?: number, maxAttempts?: number, isReturnDataForIncompleteSession?: boolean, appearanceMode?: AppearanceMode, isAllowClosedEyes?: boolean);
|
|
205
211
|
}
|
|
206
212
|
export { FaceSessionConfigurationBuilder as FaceSessionBuilder };
|
|
207
213
|
export declare class FaceSessionConfigurationBuilder {
|
|
@@ -212,6 +218,7 @@ export declare class FaceSessionConfigurationBuilder {
|
|
|
212
218
|
private isSecuredWindowsDisabled?;
|
|
213
219
|
private minimumMatchLevel?;
|
|
214
220
|
private maxAttempts?;
|
|
221
|
+
private isAllowClosedEyes?;
|
|
215
222
|
private isReturnDataForIncompleteSession?;
|
|
216
223
|
private appearanceMode?;
|
|
217
224
|
/**
|
|
@@ -240,6 +247,7 @@ export declare class FaceSessionConfigurationBuilder {
|
|
|
240
247
|
*/
|
|
241
248
|
setMinimumMatchLevel(value: number): FaceSessionConfigurationBuilder;
|
|
242
249
|
setMaxAttempts(value: number): FaceSessionConfigurationBuilder;
|
|
250
|
+
allowClosedEyes(): FaceSessionConfigurationBuilder;
|
|
243
251
|
returnDataForIncompleteSession(): FaceSessionConfigurationBuilder;
|
|
244
252
|
setAppearanceMode(appearanceMode: AppearanceMode): FaceSessionConfigurationBuilder;
|
|
245
253
|
/**
|
|
@@ -256,9 +264,10 @@ export declare class FaceSessionConfiguration {
|
|
|
256
264
|
private isSecuredWindowsDisabled?;
|
|
257
265
|
private minimumMatchLevel?;
|
|
258
266
|
private maxAttempts?;
|
|
267
|
+
private allowClosedEyes?;
|
|
259
268
|
private isReturnDataForIncompleteSession?;
|
|
260
269
|
private appearanceMode?;
|
|
261
|
-
constructor(token?: string, sessionId?: string, nonce?: string, isRootedDeviceAllowed?: boolean, isSecuredWindowsDisabled?: boolean, minimumMatchLevel?: number, maxAttempts?: number, isReturnDataForIncompleteSession?: boolean, appearanceMode?: AppearanceMode);
|
|
270
|
+
constructor(token?: string, sessionId?: string, nonce?: string, isRootedDeviceAllowed?: boolean, isSecuredWindowsDisabled?: boolean, minimumMatchLevel?: number, maxAttempts?: number, isReturnDataForIncompleteSession?: boolean, appearanceMode?: AppearanceMode, isAllowedClosedEyes?: boolean);
|
|
262
271
|
}
|
|
263
272
|
export declare class LookupBuilder {
|
|
264
273
|
private documentType?;
|
|
@@ -349,7 +358,9 @@ export declare enum DocumentType {
|
|
|
349
358
|
IND_PAN = "IND_PAN",
|
|
350
359
|
SAU_ID_NATIONAL = "SAU_ID_NATIONAL",
|
|
351
360
|
SAU_ID_RESIDENT = "SAU_ID_RESIDENT",
|
|
352
|
-
NGA_BVN = "NGA_BVN"
|
|
361
|
+
NGA_BVN = "NGA_BVN",
|
|
362
|
+
LBN_ID = "LBN_ID",
|
|
363
|
+
LBN_DL = "LBN_DL"
|
|
353
364
|
}
|
|
354
365
|
export declare enum BackgroundCheckType {
|
|
355
366
|
RDC = "RDC",
|
package/dist/esm/index.js
CHANGED
|
@@ -110,18 +110,23 @@ export class FacialRecognitionConfigurationBuilder {
|
|
|
110
110
|
this.maxAttempts = maxAttempts;
|
|
111
111
|
return this;
|
|
112
112
|
}
|
|
113
|
+
allowClosedEyes() {
|
|
114
|
+
this.isAllowClosedEyes = true;
|
|
115
|
+
return this;
|
|
116
|
+
}
|
|
113
117
|
build() {
|
|
114
|
-
return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts);
|
|
118
|
+
return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts, this.isAllowClosedEyes);
|
|
115
119
|
}
|
|
116
120
|
}
|
|
117
121
|
export class FacialRecognitionConfiguration {
|
|
118
|
-
constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts) {
|
|
122
|
+
constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts, isAllowClosedEyes) {
|
|
119
123
|
this.isHelpPageDisabled = isHelpPageDisabled;
|
|
120
124
|
this.enrollFace = enrollFace;
|
|
121
125
|
this.scanMinimumMatchLevel = scanMinimumMatchLevel;
|
|
122
126
|
this.readMinimumMatchLevel = readMinimumMatchLevel;
|
|
123
127
|
this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;
|
|
124
128
|
this.maxAttempts = maxAttempts;
|
|
129
|
+
this.allowClosedEyes = isAllowClosedEyes;
|
|
125
130
|
}
|
|
126
131
|
}
|
|
127
132
|
export class BackgroundCheckConfigurationBuilder {
|
|
@@ -306,6 +311,10 @@ export class AccountRecoveryConfigurationBuilder {
|
|
|
306
311
|
this.maxAttempts = value;
|
|
307
312
|
return this;
|
|
308
313
|
}
|
|
314
|
+
allowClosedEyes() {
|
|
315
|
+
this.isAllowClosedEyes = true;
|
|
316
|
+
return this;
|
|
317
|
+
}
|
|
309
318
|
returnDataForIncompleteSession() {
|
|
310
319
|
this.isReturnDataForIncompleteSession = true;
|
|
311
320
|
return this;
|
|
@@ -319,11 +328,11 @@ export class AccountRecoveryConfigurationBuilder {
|
|
|
319
328
|
* recover the account
|
|
320
329
|
*/
|
|
321
330
|
build() {
|
|
322
|
-
return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);
|
|
331
|
+
return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);
|
|
323
332
|
}
|
|
324
333
|
}
|
|
325
334
|
export class AccountRecoveryConfiguration {
|
|
326
|
-
constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {
|
|
335
|
+
constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowClosedEyes) {
|
|
327
336
|
this.appearanceMode = AppearanceMode.SYSTEM;
|
|
328
337
|
this.token = token;
|
|
329
338
|
this.enrollmentIdentifier = enrollmentIdentifier;
|
|
@@ -334,6 +343,7 @@ export class AccountRecoveryConfiguration {
|
|
|
334
343
|
this.maxAttempts = maxAttempts;
|
|
335
344
|
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
336
345
|
this.appearanceMode = appearanceMode;
|
|
346
|
+
this.allowClosedEyes = isAllowClosedEyes;
|
|
337
347
|
}
|
|
338
348
|
}
|
|
339
349
|
export { FaceSessionConfigurationBuilder as FaceSessionBuilder };
|
|
@@ -388,6 +398,10 @@ export class FaceSessionConfigurationBuilder {
|
|
|
388
398
|
this.maxAttempts = value;
|
|
389
399
|
return this;
|
|
390
400
|
}
|
|
401
|
+
allowClosedEyes() {
|
|
402
|
+
this.isAllowClosedEyes = true;
|
|
403
|
+
return this;
|
|
404
|
+
}
|
|
391
405
|
returnDataForIncompleteSession() {
|
|
392
406
|
this.isReturnDataForIncompleteSession = true;
|
|
393
407
|
return this;
|
|
@@ -401,11 +415,11 @@ export class FaceSessionConfigurationBuilder {
|
|
|
401
415
|
* facial recognition
|
|
402
416
|
*/
|
|
403
417
|
build() {
|
|
404
|
-
return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);
|
|
418
|
+
return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);
|
|
405
419
|
}
|
|
406
420
|
}
|
|
407
421
|
export class FaceSessionConfiguration {
|
|
408
|
-
constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {
|
|
422
|
+
constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowedClosedEyes) {
|
|
409
423
|
this.appearanceMode = AppearanceMode.SYSTEM;
|
|
410
424
|
this.token = token;
|
|
411
425
|
this.sessionId = sessionId;
|
|
@@ -416,6 +430,7 @@ export class FaceSessionConfiguration {
|
|
|
416
430
|
this.maxAttempts = maxAttempts;
|
|
417
431
|
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
418
432
|
this.appearanceMode = appearanceMode;
|
|
433
|
+
this.allowClosedEyes = isAllowedClosedEyes;
|
|
419
434
|
}
|
|
420
435
|
}
|
|
421
436
|
export class LookupBuilder {
|
|
@@ -540,6 +555,8 @@ export var DocumentType;
|
|
|
540
555
|
DocumentType["SAU_ID_NATIONAL"] = "SAU_ID_NATIONAL";
|
|
541
556
|
DocumentType["SAU_ID_RESIDENT"] = "SAU_ID_RESIDENT";
|
|
542
557
|
DocumentType["NGA_BVN"] = "NGA_BVN";
|
|
558
|
+
DocumentType["LBN_ID"] = "LBN_ID";
|
|
559
|
+
DocumentType["LBN_DL"] = "LBN_DL";
|
|
543
560
|
})(DocumentType || (DocumentType = {}));
|
|
544
561
|
export var BackgroundCheckType;
|
|
545
562
|
(function (BackgroundCheckType) {
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAI/C,MAAM,OAAO,GAAG,cAA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QAC5C,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,qBAAqB,CAAC,EAAC,KAAK,EAAE,YAAY,EAAC,CAAC,CAAC;QAC5E,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;IAClC,CAAC;CAEJ"}
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -113,18 +113,23 @@ class FacialRecognitionConfigurationBuilder {
|
|
|
113
113
|
this.maxAttempts = maxAttempts;
|
|
114
114
|
return this;
|
|
115
115
|
}
|
|
116
|
+
allowClosedEyes() {
|
|
117
|
+
this.isAllowClosedEyes = true;
|
|
118
|
+
return this;
|
|
119
|
+
}
|
|
116
120
|
build() {
|
|
117
|
-
return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts);
|
|
121
|
+
return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts, this.isAllowClosedEyes);
|
|
118
122
|
}
|
|
119
123
|
}
|
|
120
124
|
class FacialRecognitionConfiguration {
|
|
121
|
-
constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts) {
|
|
125
|
+
constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts, isAllowClosedEyes) {
|
|
122
126
|
this.isHelpPageDisabled = isHelpPageDisabled;
|
|
123
127
|
this.enrollFace = enrollFace;
|
|
124
128
|
this.scanMinimumMatchLevel = scanMinimumMatchLevel;
|
|
125
129
|
this.readMinimumMatchLevel = readMinimumMatchLevel;
|
|
126
130
|
this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;
|
|
127
131
|
this.maxAttempts = maxAttempts;
|
|
132
|
+
this.allowClosedEyes = isAllowClosedEyes;
|
|
128
133
|
}
|
|
129
134
|
}
|
|
130
135
|
class BackgroundCheckConfigurationBuilder {
|
|
@@ -308,6 +313,10 @@ class AccountRecoveryConfigurationBuilder {
|
|
|
308
313
|
this.maxAttempts = value;
|
|
309
314
|
return this;
|
|
310
315
|
}
|
|
316
|
+
allowClosedEyes() {
|
|
317
|
+
this.isAllowClosedEyes = true;
|
|
318
|
+
return this;
|
|
319
|
+
}
|
|
311
320
|
returnDataForIncompleteSession() {
|
|
312
321
|
this.isReturnDataForIncompleteSession = true;
|
|
313
322
|
return this;
|
|
@@ -321,11 +330,11 @@ class AccountRecoveryConfigurationBuilder {
|
|
|
321
330
|
* recover the account
|
|
322
331
|
*/
|
|
323
332
|
build() {
|
|
324
|
-
return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);
|
|
333
|
+
return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);
|
|
325
334
|
}
|
|
326
335
|
}
|
|
327
336
|
class AccountRecoveryConfiguration {
|
|
328
|
-
constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {
|
|
337
|
+
constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowClosedEyes) {
|
|
329
338
|
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
330
339
|
this.token = token;
|
|
331
340
|
this.enrollmentIdentifier = enrollmentIdentifier;
|
|
@@ -336,6 +345,7 @@ class AccountRecoveryConfiguration {
|
|
|
336
345
|
this.maxAttempts = maxAttempts;
|
|
337
346
|
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
338
347
|
this.appearanceMode = appearanceMode;
|
|
348
|
+
this.allowClosedEyes = isAllowClosedEyes;
|
|
339
349
|
}
|
|
340
350
|
}
|
|
341
351
|
class FaceSessionConfigurationBuilder {
|
|
@@ -389,6 +399,10 @@ class FaceSessionConfigurationBuilder {
|
|
|
389
399
|
this.maxAttempts = value;
|
|
390
400
|
return this;
|
|
391
401
|
}
|
|
402
|
+
allowClosedEyes() {
|
|
403
|
+
this.isAllowClosedEyes = true;
|
|
404
|
+
return this;
|
|
405
|
+
}
|
|
392
406
|
returnDataForIncompleteSession() {
|
|
393
407
|
this.isReturnDataForIncompleteSession = true;
|
|
394
408
|
return this;
|
|
@@ -402,11 +416,11 @@ class FaceSessionConfigurationBuilder {
|
|
|
402
416
|
* facial recognition
|
|
403
417
|
*/
|
|
404
418
|
build() {
|
|
405
|
-
return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);
|
|
419
|
+
return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);
|
|
406
420
|
}
|
|
407
421
|
}
|
|
408
422
|
class FaceSessionConfiguration {
|
|
409
|
-
constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {
|
|
423
|
+
constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowedClosedEyes) {
|
|
410
424
|
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
411
425
|
this.token = token;
|
|
412
426
|
this.sessionId = sessionId;
|
|
@@ -417,6 +431,7 @@ class FaceSessionConfiguration {
|
|
|
417
431
|
this.maxAttempts = maxAttempts;
|
|
418
432
|
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
419
433
|
this.appearanceMode = appearanceMode;
|
|
434
|
+
this.allowClosedEyes = isAllowedClosedEyes;
|
|
420
435
|
}
|
|
421
436
|
}
|
|
422
437
|
class LookupBuilder {
|
|
@@ -541,6 +556,8 @@ exports.DocumentType = void 0;
|
|
|
541
556
|
DocumentType["SAU_ID_NATIONAL"] = "SAU_ID_NATIONAL";
|
|
542
557
|
DocumentType["SAU_ID_RESIDENT"] = "SAU_ID_RESIDENT";
|
|
543
558
|
DocumentType["NGA_BVN"] = "NGA_BVN";
|
|
559
|
+
DocumentType["LBN_ID"] = "LBN_ID";
|
|
560
|
+
DocumentType["LBN_DL"] = "LBN_DL";
|
|
544
561
|
})(exports.DocumentType || (exports.DocumentType = {}));
|
|
545
562
|
exports.BackgroundCheckType = void 0;
|
|
546
563
|
(function (BackgroundCheckType) {
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst UqudoId = registerPlugin('UqudoId');\nexport * from './definitions';\nexport { UqudoId };\nexport class EnrollmentBuilder {\n constructor() {\n this.documentList = [];\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n setSessionId(sessionId) {\n this.sessionId = sessionId;\n return this;\n }\n setUserIdentifier(userIdentifier) {\n this.userIdentifier = userIdentifier;\n return this;\n }\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n enableFacialRecognition(facialRecognitionConfiguration) {\n if (facialRecognitionConfiguration === undefined) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfiguration;\n }\n return this;\n }\n enableBackgroundCheck(backgroundCheckConfiguration) {\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n enableLookup(documents) {\n if (documents == null) {\n this.lookupConfiguration = new LookupConfiguration([]);\n }\n else {\n this.lookupConfiguration = new LookupConfiguration(documents);\n }\n return this;\n }\n add(document) {\n this.documentList.push(document);\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n build() {\n return new Enrollment(this.documentList, this.authorizationToken, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.facialRecognitionSpecification, this.backgroundCheckConfiguration, this.lookupConfiguration, this.sessionId, this.userIdentifier, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class Enrollment {\n constructor(documentList, authorizationToken, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, lookupConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {\n this.documentList = documentList;\n this.authorizationToken = authorizationToken;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.facialRecognitionSpecification = facialRecognitionSpecification;\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n this.lookupConfiguration = lookupConfiguration;\n this.sessionId = sessionId;\n this.userIdentifier = userIdentifier;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport class FacialRecognitionConfigurationBuilder {\n disableHelpPage() {\n this.isHelpPageDisabled = true;\n return this;\n }\n enrollFace() {\n this.isEnrollFace = true;\n return this;\n }\n setScanMinimumMatchLevel(scanMinimumMatchLevel) {\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n return this;\n }\n setReadMinimumMatchLevel(readMinimumMatchLevel) {\n this.readMinimumMatchLevel = readMinimumMatchLevel;\n return this;\n }\n setLookupMinimumMatchLevel(lookupMinimumMatchLevel) {\n this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;\n return this;\n }\n setMaxAttempts(maxAttempts) {\n this.maxAttempts = maxAttempts;\n return this;\n }\n build() {\n return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts);\n }\n}\nexport class FacialRecognitionConfiguration {\n constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts) {\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.enrollFace = enrollFace;\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n this.readMinimumMatchLevel = readMinimumMatchLevel;\n this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;\n this.maxAttempts = maxAttempts;\n }\n}\nexport class BackgroundCheckConfigurationBuilder {\n constructor() {\n this.backgroundCheckType = BackgroundCheckType.RDC;\n }\n disableConsent() {\n this.isDisableConsent = true;\n return this;\n }\n enableMonitoring() {\n this.monitoringEnabled = true;\n return this;\n }\n setBackgroundCheckType(backgroundCheckType) {\n this.backgroundCheckType = backgroundCheckType;\n return this;\n }\n skipView() {\n this.isSkipView = true;\n return this;\n }\n build() {\n return new BackgroundCheckConfiguration(this.backgroundCheckType, this.isDisableConsent, this.monitoringEnabled, this.isSkipView);\n }\n}\nexport class LookupConfiguration {\n constructor(documents) {\n this.documentsList = documents;\n }\n}\nexport class BackgroundCheckConfiguration {\n constructor(backgroundCheckType, disableConsent, monitoringEnabled, skipView) {\n this.disableConsent = disableConsent;\n this.backgroundCheckType = backgroundCheckType;\n this.monitoringEnabled = monitoringEnabled;\n this.skipView = skipView;\n }\n}\nexport class Document {\n constructor(type, readConfig, isHelpPageDisabled, faceScanLevel, faceReadLevel, isExpiredDocumentValidateDisabled, isFrontSideReviewEnabled, isBackSideReviewEnabled, isUploadEnabled, isPhotoQualityDetectionEnabled, minimumAge) {\n this.documentType = type;\n this.readingConfiguration = readConfig;\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.faceScanMinimumMatchLevel = faceScanLevel;\n this.faceReadMinimumMatchLevel = faceReadLevel;\n this.isExpiredDocumentValidateDisabled = isExpiredDocumentValidateDisabled;\n this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;\n this.isBackSideReviewEnabled = isBackSideReviewEnabled;\n this.isUploadEnabled = isUploadEnabled;\n this.isPhotoQualityDetectionEnabled = isPhotoQualityDetectionEnabled;\n this.minimumAge = minimumAge;\n }\n}\nexport class DocumentBuilder {\n setDocumentType(documentType) {\n this.documentType = documentType;\n return this;\n }\n disableHelpPage() {\n this.isHelpPageDisabled = true;\n return this;\n }\n enableReading(readingConfiguration) {\n if (readingConfiguration === null) {\n this.readingConfiguration = new ReadingConfigurationBuilder().build();\n }\n else {\n this.readingConfiguration = readingConfiguration;\n }\n return this;\n }\n disableExpiryValidation() {\n this.isExpiredDocumentValidateDisabled = true;\n return this;\n }\n setFaceScanMinimumMatchLevel(faceScanMinimumMatchLevel) {\n this.faceScanMinimumMatchLevel = faceScanMinimumMatchLevel;\n return this;\n }\n setFaceReadMinimumMatchLevel(faceReadMinimumMatchLevel) {\n this.faceReadMinimumMatchLevel = faceReadMinimumMatchLevel;\n return this;\n }\n enableScanReview(isFrontSideReviewEnabled, isBackSideReviewEnabled) {\n this.isBackSideReviewEnabled = isBackSideReviewEnabled;\n this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;\n return this;\n }\n enableUpload() {\n this.isUploadEnabled = true;\n return this;\n }\n enableAgeVerification(minAge) {\n this.minimumAge = minAge;\n return this;\n }\n /**\n * @deprecated Ignored and enabled by default. Will be removed in a future release\n */\n enablePhotoQualityDetection() {\n this.isPhotoQualityDetectionEnabled = true;\n return this;\n }\n build() {\n return new Document(this.documentType, this.readingConfiguration, this.isHelpPageDisabled, this.faceScanMinimumMatchLevel, this.faceReadMinimumMatchLevel, this.isExpiredDocumentValidateDisabled, this.isFrontSideReviewEnabled, this.isBackSideReviewEnabled, this.isUploadEnabled, this.isPhotoQualityDetectionEnabled, this.minimumAge);\n }\n}\nexport class ReadingConfiguration {\n constructor(forceRead, forceReadIfSupported, timeoutInSeconds) {\n this.forceReading = forceRead;\n this.forceReadingIfSupported = forceReadIfSupported;\n this.timeoutInSeconds = timeoutInSeconds;\n }\n}\nexport class ReadingConfigurationBuilder {\n forceReading(value) {\n this.forceReadingValue = value;\n return this;\n }\n forceReadingIfSupported(value) {\n this.forceReadingIfSupportedValue = value;\n return this;\n }\n forceReadingTimeout(value) {\n this.timeoutInSeconds = value;\n return this;\n }\n build() {\n return new ReadingConfiguration(this.forceReadingValue, this.forceReadingIfSupportedValue, this.timeoutInSeconds);\n }\n}\nexport { AccountRecoveryConfigurationBuilder as AccountRecoveryBuilder };\nexport class AccountRecoveryConfigurationBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n /**\n * Pass the token received from Uqudo to authenticate the SDK\n */\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n /**\n * Pass the enrollment identifier for the account to be recovered\n */\n setEnrollmentIdentifier(identifier) {\n this.enrollmentIdentifier = identifier;\n return this;\n }\n /**\n * You can pass your custom nonce to provide security to the enrollment process\n */\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n /**\n * Whether you want the sdk to run on the rooted devices or not. By default it is false\n */\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n /**\n * To allow user to capture/record screenshot or video of the screen on the device app is installed.\n * Default is screenshot and video recording of the screen is not allowed\n */\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n /**\n * Set this to use the value passed for facialRecognition for Account Recovery\n */\n setMinimumMatchLevel(value) {\n this.minimumMatchLevel = value;\n return this;\n }\n setMaxAttempts(value) {\n this.maxAttempts = value;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n /**\n * @returns Intent with the configuration and the token needed to authorize the activity to\n * recover the account\n */\n build() {\n return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class AccountRecoveryConfiguration {\n constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {\n this.appearanceMode = AppearanceMode.SYSTEM;\n this.token = token;\n this.enrollmentIdentifier = enrollmentIdentifier;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.minimumMatchLevel = minimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport { FaceSessionConfigurationBuilder as FaceSessionBuilder };\nexport class FaceSessionConfigurationBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n /**\n * Pass the token received from Uqudo to authenticate the SDK\n */\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n /**\n * Pass the enrollment identifier for facial recognition\n */\n setSessionId(identifier) {\n this.sessionId = identifier;\n return this;\n }\n /**\n * You can pass your custom nonce to provide security to the facial recognition process\n */\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n /**\n * Whether you want the sdk to run on the rooted devices or not. By default it is false\n */\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n /**\n * To allow user to capture/record screenshot or video of the screen on the device app is installed.\n * Default is screenshot and video recording of the screen is not allowed\n */\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n /**\n * Set this to use the value passed for facialRecognition for facial recognition\n */\n setMinimumMatchLevel(value) {\n this.minimumMatchLevel = value;\n return this;\n }\n setMaxAttempts(value) {\n this.maxAttempts = value;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n /**\n * @returns Intent with the configuration and the token needed to authorize the activity to\n * facial recognition\n */\n build() {\n return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class FaceSessionConfiguration {\n constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {\n this.appearanceMode = AppearanceMode.SYSTEM;\n this.token = token;\n this.sessionId = sessionId;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.minimumMatchLevel = minimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport class LookupBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n setSessionId(sessionId) {\n this.sessionId = sessionId;\n return this;\n }\n setUserIdentifier(userIdentifier) {\n this.userIdentifier = userIdentifier;\n return this;\n }\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n enableFacialRecognition(facialRecognitionConfiguration) {\n if (facialRecognitionConfiguration === undefined) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfiguration;\n }\n return this;\n }\n enableBackgroundCheck(backgroundCheckConfiguration) {\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setDocumentType(documentType) {\n this.documentType = documentType;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n build() {\n return new Lookup(this.documentType, this.authorizationToken, this.nonce, this.isSecuredWindowsDisabled, this.facialRecognitionSpecification, this.backgroundCheckConfiguration, this.sessionId, this.userIdentifier, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class Lookup {\n constructor(documentType, authorizationToken, nonce, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {\n this.documentType = documentType;\n this.authorizationToken = authorizationToken;\n this.nonce = nonce;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.facialRecognitionSpecification = facialRecognitionSpecification;\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n this.sessionId = sessionId;\n this.userIdentifier = userIdentifier;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport var DocumentType;\n(function (DocumentType) {\n DocumentType[\"BHR_ID\"] = \"BHR_ID\";\n DocumentType[\"GENERIC_ID\"] = \"GENERIC_ID\";\n DocumentType[\"KWT_ID\"] = \"KWT_ID\";\n DocumentType[\"OMN_ID\"] = \"OMN_ID\";\n DocumentType[\"PAK_ID\"] = \"PAK_ID\";\n DocumentType[\"PASSPORT\"] = \"PASSPORT\";\n DocumentType[\"SAU_ID\"] = \"SAU_ID\";\n DocumentType[\"UAE_ID\"] = \"UAE_ID\";\n DocumentType[\"UAE_DL\"] = \"UAE_DL\";\n DocumentType[\"UAE_VISA\"] = \"UAE_VISA\";\n DocumentType[\"UAE_VL\"] = \"UAE_VL\";\n DocumentType[\"QAT_ID\"] = \"QAT_ID\";\n DocumentType[\"NLD_DL\"] = \"NLD_DL\";\n DocumentType[\"DEU_ID\"] = \"DEU_ID\";\n DocumentType[\"SDN_ID\"] = \"SDN_ID\";\n DocumentType[\"SDN_DL\"] = \"SDN_DL\";\n DocumentType[\"SDN_VL\"] = \"SDN_VL\";\n DocumentType[\"GHA_ID\"] = \"GHA_ID\";\n DocumentType[\"NGA_DL\"] = \"NGA_DL\";\n DocumentType[\"NGA_VOTER_ID\"] = \"NGA_VOTER_ID\";\n DocumentType[\"NGA_NIN\"] = \"NGA_NIN\";\n DocumentType[\"GBR_DL\"] = \"GBR_DL\";\n DocumentType[\"SAU_DL\"] = \"SAU_DL\";\n DocumentType[\"ZAF_ID\"] = \"ZAF_ID\";\n DocumentType[\"ZAF_DL\"] = \"ZAF_DL\";\n DocumentType[\"EGY_ID\"] = \"EGY_ID\";\n DocumentType[\"RWA_ID\"] = \"RWA_ID\";\n DocumentType[\"KEN_ID\"] = \"KEN_ID\";\n DocumentType[\"GHA_DL\"] = \"GHA_DL\";\n DocumentType[\"GHA_VOTER_ID\"] = \"GHA_VOTER_ID\";\n DocumentType[\"GHA_SSNIT\"] = \"GHA_SSNIT\";\n DocumentType[\"UGA_ID\"] = \"UGA_ID\";\n DocumentType[\"IND_ID\"] = \"IND_ID\";\n DocumentType[\"OMN_ID_NATIONAL\"] = \"OMN_ID_NATIONAL\";\n DocumentType[\"OMN_ID_RESIDENT\"] = \"OMN_ID_RESIDENT\";\n DocumentType[\"SEN_ID\"] = \"SEN_ID\";\n DocumentType[\"UGA_VOTER_ID\"] = \"UGA_VOTER_ID\";\n DocumentType[\"DZA_ID\"] = \"DZA_ID\";\n DocumentType[\"TUR_ID\"] = \"TUR_ID\";\n DocumentType[\"GBR_ID\"] = \"GBR_ID\";\n DocumentType[\"COD_DL\"] = \"COD_DL\";\n DocumentType[\"OMN_DL\"] = \"OMN_DL\";\n DocumentType[\"OMN_VL\"] = \"OMN_VL\";\n DocumentType[\"COD_VOTER_ID\"] = \"COD_VOTER_ID\";\n DocumentType[\"USA_DL\"] = \"USA_DL\";\n DocumentType[\"QAT_DL\"] = \"QAT_DL\";\n DocumentType[\"BHR_DL\"] = \"BHR_DL\";\n DocumentType[\"PHL_DL\"] = \"PHL_DL\";\n DocumentType[\"RSL_ID\"] = \"RSL_ID\";\n DocumentType[\"IND_PAN\"] = \"IND_PAN\";\n DocumentType[\"SAU_ID_NATIONAL\"] = \"SAU_ID_NATIONAL\";\n DocumentType[\"SAU_ID_RESIDENT\"] = \"SAU_ID_RESIDENT\";\n DocumentType[\"NGA_BVN\"] = \"NGA_BVN\";\n})(DocumentType || (DocumentType = {}));\nexport var BackgroundCheckType;\n(function (BackgroundCheckType) {\n BackgroundCheckType[\"RDC\"] = \"RDC\";\n BackgroundCheckType[\"DOW_JONES\"] = \"DOW_JONES\";\n})(BackgroundCheckType || (BackgroundCheckType = {}));\nexport var AppearanceMode;\n(function (AppearanceMode) {\n AppearanceMode[\"SYSTEM\"] = \"SYSTEM\";\n AppearanceMode[\"LIGHT\"] = \"LIGHT\";\n AppearanceMode[\"DARK\"] = \"DARK\";\n})(AppearanceMode || (AppearanceMode = {}));\nexport class UqudoPlugin {\n init() {\n UqudoId.init();\n }\n setLocale(locale) {\n UqudoId.setLocale({ value: locale });\n }\n async enroll(enrollObj) {\n const enroll = JSON.stringify(enrollObj);\n const response = await UqudoId.enroll({ value: enroll });\n return response;\n }\n async recover(recoverObj) {\n const recover = JSON.stringify(recoverObj);\n const response = await UqudoId.recover({ value: recover });\n return response;\n }\n async faceSession(faceSessionObj) {\n const faceSession = JSON.stringify(faceSessionObj);\n const response = await UqudoId.faceSession({ value: faceSession });\n return response;\n }\n async lookup(lookup) {\n const lookupSession = JSON.stringify(lookup);\n const response = await UqudoId.lookup({ value: lookupSession });\n return response;\n }\n async isFacialRecognitionSupported(documentType) {\n const response = await UqudoId.isFacialRecognitionSupported({ value: documentType });\n return response.value == true;\n }\n async isReadingSupported(documentType) {\n const response = await UqudoId.isReadingSupported({ value: documentType });\n return response.value == true;\n }\n async isLookupSupported(documentType) {\n const response = await UqudoId.isLookupSupported({ value: documentType });\n return response.value == true;\n }\n async isLookupFacialRecognitionSupported(documentType) {\n const response = await UqudoId.isLookupFacialRecognitionSupported({ value: documentType });\n return response.value == true;\n }\n async isEnrollmentSupported(documentType) {\n const response = await UqudoId.isEnrollmentSupported({ value: documentType });\n return response.value == true;\n }\n}\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin","AppearanceMode","BackgroundCheckType","DocumentType"],"mappings":";;;;;;AACK,MAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS,EAAE;AAGnC,MAAM,iBAAiB,CAAC;AAC/B,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;AAC/B,QAAQ,IAAI,CAAC,cAAc,GAAGC,sBAAc,CAAC,MAAM,CAAC;AACpD,KAAK;AACL,IAAI,QAAQ,CAAC,KAAK,EAAE;AACpB,QAAQ,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;AACxC,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK;AACL,IAAI,QAAQ,CAAC,KAAK,EAAE;AACpB,QAAQ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK;AACL,IAAI,YAAY,CAAC,SAAS,EAAE;AAC5B,QAAQ,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;AACnC,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK;AACL,IA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E,YAAY,EAAE,CAAC,CAAC;AAClF,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;AACtC,KAAK;AACL,IAAI,MAAM,kCAAkC,CAAC,YAAY,EAAE;AAC3D,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,kCAAkC,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;AACnG,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;AACtC,KAAK;AACL,IAAI,MAAM,qBAAqB,CAAC,YAAY,EAAE;AAC9C,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,qBAAqB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;AACtF,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;AACtC,KAAK;AACL;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst UqudoId = registerPlugin('UqudoId');\nexport * from './definitions';\nexport { UqudoId };\nexport class EnrollmentBuilder {\n constructor() {\n this.documentList = [];\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n setSessionId(sessionId) {\n this.sessionId = sessionId;\n return this;\n }\n setUserIdentifier(userIdentifier) {\n this.userIdentifier = userIdentifier;\n return this;\n }\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n enableFacialRecognition(facialRecognitionConfiguration) {\n if (facialRecognitionConfiguration === undefined) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfiguration;\n }\n return this;\n }\n enableBackgroundCheck(backgroundCheckConfiguration) {\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n enableLookup(documents) {\n if (documents == null) {\n this.lookupConfiguration = new LookupConfiguration([]);\n }\n else {\n this.lookupConfiguration = new LookupConfiguration(documents);\n }\n return this;\n }\n add(document) {\n this.documentList.push(document);\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n build() {\n return new Enrollment(this.documentList, this.authorizationToken, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.facialRecognitionSpecification, this.backgroundCheckConfiguration, this.lookupConfiguration, this.sessionId, this.userIdentifier, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class Enrollment {\n constructor(documentList, authorizationToken, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, lookupConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {\n this.documentList = documentList;\n this.authorizationToken = authorizationToken;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.facialRecognitionSpecification = facialRecognitionSpecification;\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n this.lookupConfiguration = lookupConfiguration;\n this.sessionId = sessionId;\n this.userIdentifier = userIdentifier;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport class FacialRecognitionConfigurationBuilder {\n disableHelpPage() {\n this.isHelpPageDisabled = true;\n return this;\n }\n enrollFace() {\n this.isEnrollFace = true;\n return this;\n }\n setScanMinimumMatchLevel(scanMinimumMatchLevel) {\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n return this;\n }\n setReadMinimumMatchLevel(readMinimumMatchLevel) {\n this.readMinimumMatchLevel = readMinimumMatchLevel;\n return this;\n }\n setLookupMinimumMatchLevel(lookupMinimumMatchLevel) {\n this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;\n return this;\n }\n setMaxAttempts(maxAttempts) {\n this.maxAttempts = maxAttempts;\n return this;\n }\n allowClosedEyes() {\n this.isAllowClosedEyes = true;\n return this;\n }\n build() {\n return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts, this.isAllowClosedEyes);\n }\n}\nexport class FacialRecognitionConfiguration {\n constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts, isAllowClosedEyes) {\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.enrollFace = enrollFace;\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n this.readMinimumMatchLevel = readMinimumMatchLevel;\n this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.allowClosedEyes = isAllowClosedEyes;\n }\n}\nexport class BackgroundCheckConfigurationBuilder {\n constructor() {\n this.backgroundCheckType = BackgroundCheckType.RDC;\n }\n disableConsent() {\n this.isDisableConsent = true;\n return this;\n }\n enableMonitoring() {\n this.monitoringEnabled = true;\n return this;\n }\n setBackgroundCheckType(backgroundCheckType) {\n this.backgroundCheckType = backgroundCheckType;\n return this;\n }\n skipView() {\n this.isSkipView = true;\n return this;\n }\n build() {\n return new BackgroundCheckConfiguration(this.backgroundCheckType, this.isDisableConsent, this.monitoringEnabled, this.isSkipView);\n }\n}\nexport class LookupConfiguration {\n constructor(documents) {\n this.documentsList = documents;\n }\n}\nexport class BackgroundCheckConfiguration {\n constructor(backgroundCheckType, disableConsent, monitoringEnabled, skipView) {\n this.disableConsent = disableConsent;\n this.backgroundCheckType = backgroundCheckType;\n this.monitoringEnabled = monitoringEnabled;\n this.skipView = skipView;\n }\n}\nexport class Document {\n constructor(type, readConfig, isHelpPageDisabled, faceScanLevel, faceReadLevel, isExpiredDocumentValidateDisabled, isFrontSideReviewEnabled, isBackSideReviewEnabled, isUploadEnabled, isPhotoQualityDetectionEnabled, minimumAge) {\n this.documentType = type;\n this.readingConfiguration = readConfig;\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.faceScanMinimumMatchLevel = faceScanLevel;\n this.faceReadMinimumMatchLevel = faceReadLevel;\n this.isExpiredDocumentValidateDisabled = isExpiredDocumentValidateDisabled;\n this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;\n this.isBackSideReviewEnabled = isBackSideReviewEnabled;\n this.isUploadEnabled = isUploadEnabled;\n this.isPhotoQualityDetectionEnabled = isPhotoQualityDetectionEnabled;\n this.minimumAge = minimumAge;\n }\n}\nexport class DocumentBuilder {\n setDocumentType(documentType) {\n this.documentType = documentType;\n return this;\n }\n disableHelpPage() {\n this.isHelpPageDisabled = true;\n return this;\n }\n enableReading(readingConfiguration) {\n if (readingConfiguration === null) {\n this.readingConfiguration = new ReadingConfigurationBuilder().build();\n }\n else {\n this.readingConfiguration = readingConfiguration;\n }\n return this;\n }\n disableExpiryValidation() {\n this.isExpiredDocumentValidateDisabled = true;\n return this;\n }\n setFaceScanMinimumMatchLevel(faceScanMinimumMatchLevel) {\n this.faceScanMinimumMatchLevel = faceScanMinimumMatchLevel;\n return this;\n }\n setFaceReadMinimumMatchLevel(faceReadMinimumMatchLevel) {\n this.faceReadMinimumMatchLevel = faceReadMinimumMatchLevel;\n return this;\n }\n enableScanReview(isFrontSideReviewEnabled, isBackSideReviewEnabled) {\n this.isBackSideReviewEnabled = isBackSideReviewEnabled;\n this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;\n return this;\n }\n enableUpload() {\n this.isUploadEnabled = true;\n return this;\n }\n enableAgeVerification(minAge) {\n this.minimumAge = minAge;\n return this;\n }\n /**\n * @deprecated Ignored and enabled by default. Will be removed in a future release\n */\n enablePhotoQualityDetection() {\n this.isPhotoQualityDetectionEnabled = true;\n return this;\n }\n build() {\n return new Document(this.documentType, this.readingConfiguration, this.isHelpPageDisabled, this.faceScanMinimumMatchLevel, this.faceReadMinimumMatchLevel, this.isExpiredDocumentValidateDisabled, this.isFrontSideReviewEnabled, this.isBackSideReviewEnabled, this.isUploadEnabled, this.isPhotoQualityDetectionEnabled, this.minimumAge);\n }\n}\nexport class ReadingConfiguration {\n constructor(forceRead, forceReadIfSupported, timeoutInSeconds) {\n this.forceReading = forceRead;\n this.forceReadingIfSupported = forceReadIfSupported;\n this.timeoutInSeconds = timeoutInSeconds;\n }\n}\nexport class ReadingConfigurationBuilder {\n forceReading(value) {\n this.forceReadingValue = value;\n return this;\n }\n forceReadingIfSupported(value) {\n this.forceReadingIfSupportedValue = value;\n return this;\n }\n forceReadingTimeout(value) {\n this.timeoutInSeconds = value;\n return this;\n }\n build() {\n return new ReadingConfiguration(this.forceReadingValue, this.forceReadingIfSupportedValue, this.timeoutInSeconds);\n }\n}\nexport { AccountRecoveryConfigurationBuilder as AccountRecoveryBuilder };\nexport class AccountRecoveryConfigurationBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n /**\n * Pass the token received from Uqudo to authenticate the SDK\n */\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n /**\n * Pass the enrollment identifier for the account to be recovered\n */\n setEnrollmentIdentifier(identifier) {\n this.enrollmentIdentifier = identifier;\n return this;\n }\n /**\n * You can pass your custom nonce to provide security to the enrollment process\n */\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n /**\n * Whether you want the sdk to run on the rooted devices or not. By default it is false\n */\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n /**\n * To allow user to capture/record screenshot or video of the screen on the device app is installed.\n * Default is screenshot and video recording of the screen is not allowed\n */\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n /**\n * Set this to use the value passed for facialRecognition for Account Recovery\n */\n setMinimumMatchLevel(value) {\n this.minimumMatchLevel = value;\n return this;\n }\n setMaxAttempts(value) {\n this.maxAttempts = value;\n return this;\n }\n allowClosedEyes() {\n this.isAllowClosedEyes = true;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n /**\n * @returns Intent with the configuration and the token needed to authorize the activity to\n * recover the account\n */\n build() {\n return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);\n }\n}\nexport class AccountRecoveryConfiguration {\n constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowClosedEyes) {\n this.appearanceMode = AppearanceMode.SYSTEM;\n this.token = token;\n this.enrollmentIdentifier = enrollmentIdentifier;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.minimumMatchLevel = minimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n this.allowClosedEyes = isAllowClosedEyes;\n }\n}\nexport { FaceSessionConfigurationBuilder as FaceSessionBuilder };\nexport class FaceSessionConfigurationBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n /**\n * Pass the token received from Uqudo to authenticate the SDK\n */\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n /**\n * Pass the enrollment identifier for facial recognition\n */\n setSessionId(identifier) {\n this.sessionId = identifier;\n return this;\n }\n /**\n * You can pass your custom nonce to provide security to the facial recognition process\n */\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n /**\n * Whether you want the sdk to run on the rooted devices or not. By default it is false\n */\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n /**\n * To allow user to capture/record screenshot or video of the screen on the device app is installed.\n * Default is screenshot and video recording of the screen is not allowed\n */\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n /**\n * Set this to use the value passed for facialRecognition for facial recognition\n */\n setMinimumMatchLevel(value) {\n this.minimumMatchLevel = value;\n return this;\n }\n setMaxAttempts(value) {\n this.maxAttempts = value;\n return this;\n }\n allowClosedEyes() {\n this.isAllowClosedEyes = true;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n /**\n * @returns Intent with the configuration and the token needed to authorize the activity to\n * facial recognition\n */\n build() {\n return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);\n }\n}\nexport class FaceSessionConfiguration {\n constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowedClosedEyes) {\n this.appearanceMode = AppearanceMode.SYSTEM;\n this.token = token;\n this.sessionId = sessionId;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.minimumMatchLevel = minimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n this.allowClosedEyes = isAllowedClosedEyes;\n }\n}\nexport class LookupBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n setSessionId(sessionId) {\n this.sessionId = sessionId;\n return this;\n }\n setUserIdentifier(userIdentifier) {\n this.userIdentifier = userIdentifier;\n return this;\n }\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n enableFacialRecognition(facialRecognitionConfiguration) {\n if (facialRecognitionConfiguration === undefined) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfiguration;\n }\n return this;\n }\n enableBackgroundCheck(backgroundCheckConfiguration) {\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setDocumentType(documentType) {\n this.documentType = documentType;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n build() {\n return new Lookup(this.documentType, this.authorizationToken, this.nonce, this.isSecuredWindowsDisabled, this.facialRecognitionSpecification, this.backgroundCheckConfiguration, this.sessionId, this.userIdentifier, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class Lookup {\n constructor(documentType, authorizationToken, nonce, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {\n this.documentType = documentType;\n this.authorizationToken = authorizationToken;\n this.nonce = nonce;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.facialRecognitionSpecification = facialRecognitionSpecification;\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n this.sessionId = sessionId;\n this.userIdentifier = userIdentifier;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport var DocumentType;\n(function (DocumentType) {\n DocumentType[\"BHR_ID\"] = \"BHR_ID\";\n DocumentType[\"GENERIC_ID\"] = \"GENERIC_ID\";\n DocumentType[\"KWT_ID\"] = \"KWT_ID\";\n DocumentType[\"OMN_ID\"] = \"OMN_ID\";\n DocumentType[\"PAK_ID\"] = \"PAK_ID\";\n DocumentType[\"PASSPORT\"] = \"PASSPORT\";\n DocumentType[\"SAU_ID\"] = \"SAU_ID\";\n DocumentType[\"UAE_ID\"] = \"UAE_ID\";\n DocumentType[\"UAE_DL\"] = \"UAE_DL\";\n DocumentType[\"UAE_VISA\"] = \"UAE_VISA\";\n DocumentType[\"UAE_VL\"] = \"UAE_VL\";\n DocumentType[\"QAT_ID\"] = \"QAT_ID\";\n DocumentType[\"NLD_DL\"] = \"NLD_DL\";\n DocumentType[\"DEU_ID\"] = \"DEU_ID\";\n DocumentType[\"SDN_ID\"] = \"SDN_ID\";\n DocumentType[\"SDN_DL\"] = \"SDN_DL\";\n DocumentType[\"SDN_VL\"] = \"SDN_VL\";\n DocumentType[\"GHA_ID\"] = \"GHA_ID\";\n DocumentType[\"NGA_DL\"] = \"NGA_DL\";\n DocumentType[\"NGA_VOTER_ID\"] = \"NGA_VOTER_ID\";\n DocumentType[\"NGA_NIN\"] = \"NGA_NIN\";\n DocumentType[\"GBR_DL\"] = \"GBR_DL\";\n DocumentType[\"SAU_DL\"] = \"SAU_DL\";\n DocumentType[\"ZAF_ID\"] = \"ZAF_ID\";\n DocumentType[\"ZAF_DL\"] = \"ZAF_DL\";\n DocumentType[\"EGY_ID\"] = \"EGY_ID\";\n DocumentType[\"RWA_ID\"] = \"RWA_ID\";\n DocumentType[\"KEN_ID\"] = \"KEN_ID\";\n DocumentType[\"GHA_DL\"] = \"GHA_DL\";\n DocumentType[\"GHA_VOTER_ID\"] = \"GHA_VOTER_ID\";\n DocumentType[\"GHA_SSNIT\"] = \"GHA_SSNIT\";\n DocumentType[\"UGA_ID\"] = \"UGA_ID\";\n DocumentType[\"IND_ID\"] = \"IND_ID\";\n DocumentType[\"OMN_ID_NATIONAL\"] = \"OMN_ID_NATIONAL\";\n DocumentType[\"OMN_ID_RESIDENT\"] = \"OMN_ID_RESIDENT\";\n DocumentType[\"SEN_ID\"] = \"SEN_ID\";\n DocumentType[\"UGA_VOTER_ID\"] = \"UGA_VOTER_ID\";\n DocumentType[\"DZA_ID\"] = \"DZA_ID\";\n DocumentType[\"TUR_ID\"] = \"TUR_ID\";\n DocumentType[\"GBR_ID\"] = \"GBR_ID\";\n DocumentType[\"COD_DL\"] = \"COD_DL\";\n DocumentType[\"OMN_DL\"] = \"OMN_DL\";\n DocumentType[\"OMN_VL\"] = \"OMN_VL\";\n DocumentType[\"COD_VOTER_ID\"] = \"COD_VOTER_ID\";\n DocumentType[\"USA_DL\"] = \"USA_DL\";\n DocumentType[\"QAT_DL\"] = \"QAT_DL\";\n DocumentType[\"BHR_DL\"] = \"BHR_DL\";\n DocumentType[\"PHL_DL\"] = \"PHL_DL\";\n DocumentType[\"RSL_ID\"] = \"RSL_ID\";\n DocumentType[\"IND_PAN\"] = \"IND_PAN\";\n DocumentType[\"SAU_ID_NATIONAL\"] = \"SAU_ID_NATIONAL\";\n DocumentType[\"SAU_ID_RESIDENT\"] = \"SAU_ID_RESIDENT\";\n DocumentType[\"NGA_BVN\"] = \"NGA_BVN\";\n DocumentType[\"LBN_ID\"] = \"LBN_ID\";\n DocumentType[\"LBN_DL\"] = \"LBN_DL\";\n})(DocumentType || (DocumentType = {}));\nexport var BackgroundCheckType;\n(function (BackgroundCheckType) {\n BackgroundCheckType[\"RDC\"] = \"RDC\";\n BackgroundCheckType[\"DOW_JONES\"] = \"DOW_JONES\";\n})(BackgroundCheckType || (BackgroundCheckType = {}));\nexport var AppearanceMode;\n(function (AppearanceMode) {\n AppearanceMode[\"SYSTEM\"] = \"SYSTEM\";\n AppearanceMode[\"LIGHT\"] = \"LIGHT\";\n AppearanceMode[\"DARK\"] = \"DARK\";\n})(AppearanceMode || (AppearanceMode = {}));\nexport class UqudoPlugin {\n init() {\n UqudoId.init();\n }\n setLocale(locale) {\n UqudoId.setLocale({ value: locale });\n }\n async enroll(enrollObj) {\n const enroll = JSON.stringify(enrollObj);\n const response = await UqudoId.enroll({ value: enroll });\n return response;\n }\n async recover(recoverObj) {\n const recover = JSON.stringify(recoverObj);\n const response = await UqudoId.recover({ value: recover });\n return response;\n }\n async faceSession(faceSessionObj) {\n const faceSession = JSON.stringify(faceSessionObj);\n const response = await UqudoId.faceSession({ value: faceSession });\n return response;\n }\n async lookup(lookup) {\n const lookupSession = JSON.stringify(lookup);\n const response = await UqudoId.lookup({ value: lookupSession });\n return response;\n }\n async isFacialRecognitionSupported(documentType) {\n const response = await UqudoId.isFacialRecognitionSupported({ value: documentType });\n return response.value == true;\n }\n async isReadingSupported(documentType) {\n const response = await UqudoId.isReadingSupported({ value: documentType });\n return response.value == true;\n }\n async isLookupSupported(documentType) {\n const response = await UqudoId.isLookupSupported({ value: documentType });\n return response.value == true;\n }\n async isLookupFacialRecognitionSupported(documentType) {\n const response = await UqudoId.isLookupFacialRecognitionSupported({ value: documentType });\n return response.value == true;\n }\n async isEnrollmentSupported(documentType) {\n const response = await UqudoId.isEnrollmentSupported({ value: documentType });\n return response.value == true;\n }\n}\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin","AppearanceMode","BackgroundCheckType","DocumentType"],"mappings":";;;;;;AACK,MAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS,EAAE;AAGnC,MAAM,iBAAiB,CAAC;AAC/B,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;AAC/B,QAAQ,IAAI,CAAC,cAAc,GAAGC,sBAAc,CAAC,MAAM,CAAC;AACpD,KAAK;AACL,IAAI,QAAQ,CAAC,KAAK,EAAE;AACpB,QAAQ,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;AACxC,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK;AACL,IAAI,QAAQ,CAAC,KAAK,EAAE;AACpB,QAAQ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,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AK;AACL,IAAI,MAAM,qBAAqB,CAAC,YAAY,EAAE;AAC9C,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,qBAAqB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;AACtF,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;AACtC,KAAK;AACL;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -110,18 +110,23 @@
|
|
|
110
110
|
this.maxAttempts = maxAttempts;
|
|
111
111
|
return this;
|
|
112
112
|
}
|
|
113
|
+
allowClosedEyes() {
|
|
114
|
+
this.isAllowClosedEyes = true;
|
|
115
|
+
return this;
|
|
116
|
+
}
|
|
113
117
|
build() {
|
|
114
|
-
return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts);
|
|
118
|
+
return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts, this.isAllowClosedEyes);
|
|
115
119
|
}
|
|
116
120
|
}
|
|
117
121
|
class FacialRecognitionConfiguration {
|
|
118
|
-
constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts) {
|
|
122
|
+
constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts, isAllowClosedEyes) {
|
|
119
123
|
this.isHelpPageDisabled = isHelpPageDisabled;
|
|
120
124
|
this.enrollFace = enrollFace;
|
|
121
125
|
this.scanMinimumMatchLevel = scanMinimumMatchLevel;
|
|
122
126
|
this.readMinimumMatchLevel = readMinimumMatchLevel;
|
|
123
127
|
this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;
|
|
124
128
|
this.maxAttempts = maxAttempts;
|
|
129
|
+
this.allowClosedEyes = isAllowClosedEyes;
|
|
125
130
|
}
|
|
126
131
|
}
|
|
127
132
|
class BackgroundCheckConfigurationBuilder {
|
|
@@ -305,6 +310,10 @@
|
|
|
305
310
|
this.maxAttempts = value;
|
|
306
311
|
return this;
|
|
307
312
|
}
|
|
313
|
+
allowClosedEyes() {
|
|
314
|
+
this.isAllowClosedEyes = true;
|
|
315
|
+
return this;
|
|
316
|
+
}
|
|
308
317
|
returnDataForIncompleteSession() {
|
|
309
318
|
this.isReturnDataForIncompleteSession = true;
|
|
310
319
|
return this;
|
|
@@ -318,11 +327,11 @@
|
|
|
318
327
|
* recover the account
|
|
319
328
|
*/
|
|
320
329
|
build() {
|
|
321
|
-
return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);
|
|
330
|
+
return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);
|
|
322
331
|
}
|
|
323
332
|
}
|
|
324
333
|
class AccountRecoveryConfiguration {
|
|
325
|
-
constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {
|
|
334
|
+
constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowClosedEyes) {
|
|
326
335
|
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
327
336
|
this.token = token;
|
|
328
337
|
this.enrollmentIdentifier = enrollmentIdentifier;
|
|
@@ -333,6 +342,7 @@
|
|
|
333
342
|
this.maxAttempts = maxAttempts;
|
|
334
343
|
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
335
344
|
this.appearanceMode = appearanceMode;
|
|
345
|
+
this.allowClosedEyes = isAllowClosedEyes;
|
|
336
346
|
}
|
|
337
347
|
}
|
|
338
348
|
class FaceSessionConfigurationBuilder {
|
|
@@ -386,6 +396,10 @@
|
|
|
386
396
|
this.maxAttempts = value;
|
|
387
397
|
return this;
|
|
388
398
|
}
|
|
399
|
+
allowClosedEyes() {
|
|
400
|
+
this.isAllowClosedEyes = true;
|
|
401
|
+
return this;
|
|
402
|
+
}
|
|
389
403
|
returnDataForIncompleteSession() {
|
|
390
404
|
this.isReturnDataForIncompleteSession = true;
|
|
391
405
|
return this;
|
|
@@ -399,11 +413,11 @@
|
|
|
399
413
|
* facial recognition
|
|
400
414
|
*/
|
|
401
415
|
build() {
|
|
402
|
-
return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);
|
|
416
|
+
return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);
|
|
403
417
|
}
|
|
404
418
|
}
|
|
405
419
|
class FaceSessionConfiguration {
|
|
406
|
-
constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {
|
|
420
|
+
constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowedClosedEyes) {
|
|
407
421
|
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
408
422
|
this.token = token;
|
|
409
423
|
this.sessionId = sessionId;
|
|
@@ -414,6 +428,7 @@
|
|
|
414
428
|
this.maxAttempts = maxAttempts;
|
|
415
429
|
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
416
430
|
this.appearanceMode = appearanceMode;
|
|
431
|
+
this.allowClosedEyes = isAllowedClosedEyes;
|
|
417
432
|
}
|
|
418
433
|
}
|
|
419
434
|
class LookupBuilder {
|
|
@@ -538,6 +553,8 @@
|
|
|
538
553
|
DocumentType["SAU_ID_NATIONAL"] = "SAU_ID_NATIONAL";
|
|
539
554
|
DocumentType["SAU_ID_RESIDENT"] = "SAU_ID_RESIDENT";
|
|
540
555
|
DocumentType["NGA_BVN"] = "NGA_BVN";
|
|
556
|
+
DocumentType["LBN_ID"] = "LBN_ID";
|
|
557
|
+
DocumentType["LBN_DL"] = "LBN_DL";
|
|
541
558
|
})(exports.DocumentType || (exports.DocumentType = {}));
|
|
542
559
|
exports.BackgroundCheckType = void 0;
|
|
543
560
|
(function (BackgroundCheckType) {
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst UqudoId = registerPlugin('UqudoId');\nexport * from './definitions';\nexport { UqudoId };\nexport class EnrollmentBuilder {\n constructor() {\n this.documentList = [];\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n setSessionId(sessionId) {\n this.sessionId = sessionId;\n return this;\n }\n setUserIdentifier(userIdentifier) {\n this.userIdentifier = userIdentifier;\n return this;\n }\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n enableFacialRecognition(facialRecognitionConfiguration) {\n if (facialRecognitionConfiguration === undefined) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfiguration;\n }\n return this;\n }\n enableBackgroundCheck(backgroundCheckConfiguration) {\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n enableLookup(documents) {\n if (documents == null) {\n this.lookupConfiguration = new LookupConfiguration([]);\n }\n else {\n this.lookupConfiguration = new LookupConfiguration(documents);\n }\n return this;\n }\n add(document) {\n this.documentList.push(document);\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n build() {\n return new Enrollment(this.documentList, this.authorizationToken, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.facialRecognitionSpecification, this.backgroundCheckConfiguration, this.lookupConfiguration, this.sessionId, this.userIdentifier, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class Enrollment {\n constructor(documentList, authorizationToken, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, lookupConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {\n this.documentList = documentList;\n this.authorizationToken = authorizationToken;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.facialRecognitionSpecification = facialRecognitionSpecification;\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n this.lookupConfiguration = lookupConfiguration;\n this.sessionId = sessionId;\n this.userIdentifier = userIdentifier;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport class FacialRecognitionConfigurationBuilder {\n disableHelpPage() {\n this.isHelpPageDisabled = true;\n return this;\n }\n enrollFace() {\n this.isEnrollFace = true;\n return this;\n }\n setScanMinimumMatchLevel(scanMinimumMatchLevel) {\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n return this;\n }\n setReadMinimumMatchLevel(readMinimumMatchLevel) {\n this.readMinimumMatchLevel = readMinimumMatchLevel;\n return this;\n }\n setLookupMinimumMatchLevel(lookupMinimumMatchLevel) {\n this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;\n return this;\n }\n setMaxAttempts(maxAttempts) {\n this.maxAttempts = maxAttempts;\n return this;\n }\n build() {\n return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts);\n }\n}\nexport class FacialRecognitionConfiguration {\n constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts) {\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.enrollFace = enrollFace;\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n this.readMinimumMatchLevel = readMinimumMatchLevel;\n this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;\n this.maxAttempts = maxAttempts;\n }\n}\nexport class BackgroundCheckConfigurationBuilder {\n constructor() {\n this.backgroundCheckType = BackgroundCheckType.RDC;\n }\n disableConsent() {\n this.isDisableConsent = true;\n return this;\n }\n enableMonitoring() {\n this.monitoringEnabled = true;\n return this;\n }\n setBackgroundCheckType(backgroundCheckType) {\n this.backgroundCheckType = backgroundCheckType;\n return this;\n }\n skipView() {\n this.isSkipView = true;\n return this;\n }\n build() {\n return new BackgroundCheckConfiguration(this.backgroundCheckType, this.isDisableConsent, this.monitoringEnabled, this.isSkipView);\n }\n}\nexport class LookupConfiguration {\n constructor(documents) {\n this.documentsList = documents;\n }\n}\nexport class BackgroundCheckConfiguration {\n constructor(backgroundCheckType, disableConsent, monitoringEnabled, skipView) {\n this.disableConsent = disableConsent;\n this.backgroundCheckType = backgroundCheckType;\n this.monitoringEnabled = monitoringEnabled;\n this.skipView = skipView;\n }\n}\nexport class Document {\n constructor(type, readConfig, isHelpPageDisabled, faceScanLevel, faceReadLevel, isExpiredDocumentValidateDisabled, isFrontSideReviewEnabled, isBackSideReviewEnabled, isUploadEnabled, isPhotoQualityDetectionEnabled, minimumAge) {\n this.documentType = type;\n this.readingConfiguration = readConfig;\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.faceScanMinimumMatchLevel = faceScanLevel;\n this.faceReadMinimumMatchLevel = faceReadLevel;\n this.isExpiredDocumentValidateDisabled = isExpiredDocumentValidateDisabled;\n this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;\n this.isBackSideReviewEnabled = isBackSideReviewEnabled;\n this.isUploadEnabled = isUploadEnabled;\n this.isPhotoQualityDetectionEnabled = isPhotoQualityDetectionEnabled;\n this.minimumAge = minimumAge;\n }\n}\nexport class DocumentBuilder {\n setDocumentType(documentType) {\n this.documentType = documentType;\n return this;\n }\n disableHelpPage() {\n this.isHelpPageDisabled = true;\n return this;\n }\n enableReading(readingConfiguration) {\n if (readingConfiguration === null) {\n this.readingConfiguration = new ReadingConfigurationBuilder().build();\n }\n else {\n this.readingConfiguration = readingConfiguration;\n }\n return this;\n }\n disableExpiryValidation() {\n this.isExpiredDocumentValidateDisabled = true;\n return this;\n }\n setFaceScanMinimumMatchLevel(faceScanMinimumMatchLevel) {\n this.faceScanMinimumMatchLevel = faceScanMinimumMatchLevel;\n return this;\n }\n setFaceReadMinimumMatchLevel(faceReadMinimumMatchLevel) {\n this.faceReadMinimumMatchLevel = faceReadMinimumMatchLevel;\n return this;\n }\n enableScanReview(isFrontSideReviewEnabled, isBackSideReviewEnabled) {\n this.isBackSideReviewEnabled = isBackSideReviewEnabled;\n this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;\n return this;\n }\n enableUpload() {\n this.isUploadEnabled = true;\n return this;\n }\n enableAgeVerification(minAge) {\n this.minimumAge = minAge;\n return this;\n }\n /**\n * @deprecated Ignored and enabled by default. Will be removed in a future release\n */\n enablePhotoQualityDetection() {\n this.isPhotoQualityDetectionEnabled = true;\n return this;\n }\n build() {\n return new Document(this.documentType, this.readingConfiguration, this.isHelpPageDisabled, this.faceScanMinimumMatchLevel, this.faceReadMinimumMatchLevel, this.isExpiredDocumentValidateDisabled, this.isFrontSideReviewEnabled, this.isBackSideReviewEnabled, this.isUploadEnabled, this.isPhotoQualityDetectionEnabled, this.minimumAge);\n }\n}\nexport class ReadingConfiguration {\n constructor(forceRead, forceReadIfSupported, timeoutInSeconds) {\n this.forceReading = forceRead;\n this.forceReadingIfSupported = forceReadIfSupported;\n this.timeoutInSeconds = timeoutInSeconds;\n }\n}\nexport class ReadingConfigurationBuilder {\n forceReading(value) {\n this.forceReadingValue = value;\n return this;\n }\n forceReadingIfSupported(value) {\n this.forceReadingIfSupportedValue = value;\n return this;\n }\n forceReadingTimeout(value) {\n this.timeoutInSeconds = value;\n return this;\n }\n build() {\n return new ReadingConfiguration(this.forceReadingValue, this.forceReadingIfSupportedValue, this.timeoutInSeconds);\n }\n}\nexport { AccountRecoveryConfigurationBuilder as AccountRecoveryBuilder };\nexport class AccountRecoveryConfigurationBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n /**\n * Pass the token received from Uqudo to authenticate the SDK\n */\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n /**\n * Pass the enrollment identifier for the account to be recovered\n */\n setEnrollmentIdentifier(identifier) {\n this.enrollmentIdentifier = identifier;\n return this;\n }\n /**\n * You can pass your custom nonce to provide security to the enrollment process\n */\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n /**\n * Whether you want the sdk to run on the rooted devices or not. By default it is false\n */\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n /**\n * To allow user to capture/record screenshot or video of the screen on the device app is installed.\n * Default is screenshot and video recording of the screen is not allowed\n */\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n /**\n * Set this to use the value passed for facialRecognition for Account Recovery\n */\n setMinimumMatchLevel(value) {\n this.minimumMatchLevel = value;\n return this;\n }\n setMaxAttempts(value) {\n this.maxAttempts = value;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n /**\n * @returns Intent with the configuration and the token needed to authorize the activity to\n * recover the account\n */\n build() {\n return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class AccountRecoveryConfiguration {\n constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {\n this.appearanceMode = AppearanceMode.SYSTEM;\n this.token = token;\n this.enrollmentIdentifier = enrollmentIdentifier;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.minimumMatchLevel = minimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport { FaceSessionConfigurationBuilder as FaceSessionBuilder };\nexport class FaceSessionConfigurationBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n /**\n * Pass the token received from Uqudo to authenticate the SDK\n */\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n /**\n * Pass the enrollment identifier for facial recognition\n */\n setSessionId(identifier) {\n this.sessionId = identifier;\n return this;\n }\n /**\n * You can pass your custom nonce to provide security to the facial recognition process\n */\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n /**\n * Whether you want the sdk to run on the rooted devices or not. By default it is false\n */\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n /**\n * To allow user to capture/record screenshot or video of the screen on the device app is installed.\n * Default is screenshot and video recording of the screen is not allowed\n */\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n /**\n * Set this to use the value passed for facialRecognition for facial recognition\n */\n setMinimumMatchLevel(value) {\n this.minimumMatchLevel = value;\n return this;\n }\n setMaxAttempts(value) {\n this.maxAttempts = value;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n /**\n * @returns Intent with the configuration and the token needed to authorize the activity to\n * facial recognition\n */\n build() {\n return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class FaceSessionConfiguration {\n constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {\n this.appearanceMode = AppearanceMode.SYSTEM;\n this.token = token;\n this.sessionId = sessionId;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.minimumMatchLevel = minimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport class LookupBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n setSessionId(sessionId) {\n this.sessionId = sessionId;\n return this;\n }\n setUserIdentifier(userIdentifier) {\n this.userIdentifier = userIdentifier;\n return this;\n }\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n enableFacialRecognition(facialRecognitionConfiguration) {\n if (facialRecognitionConfiguration === undefined) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfiguration;\n }\n return this;\n }\n enableBackgroundCheck(backgroundCheckConfiguration) {\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setDocumentType(documentType) {\n this.documentType = documentType;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n build() {\n return new Lookup(this.documentType, this.authorizationToken, this.nonce, this.isSecuredWindowsDisabled, this.facialRecognitionSpecification, this.backgroundCheckConfiguration, this.sessionId, this.userIdentifier, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class Lookup {\n constructor(documentType, authorizationToken, nonce, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {\n this.documentType = documentType;\n this.authorizationToken = authorizationToken;\n this.nonce = nonce;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.facialRecognitionSpecification = facialRecognitionSpecification;\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n this.sessionId = sessionId;\n this.userIdentifier = userIdentifier;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport var DocumentType;\n(function (DocumentType) {\n DocumentType[\"BHR_ID\"] = \"BHR_ID\";\n DocumentType[\"GENERIC_ID\"] = \"GENERIC_ID\";\n DocumentType[\"KWT_ID\"] = \"KWT_ID\";\n DocumentType[\"OMN_ID\"] = \"OMN_ID\";\n DocumentType[\"PAK_ID\"] = \"PAK_ID\";\n DocumentType[\"PASSPORT\"] = \"PASSPORT\";\n DocumentType[\"SAU_ID\"] = \"SAU_ID\";\n DocumentType[\"UAE_ID\"] = \"UAE_ID\";\n DocumentType[\"UAE_DL\"] = \"UAE_DL\";\n DocumentType[\"UAE_VISA\"] = \"UAE_VISA\";\n DocumentType[\"UAE_VL\"] = \"UAE_VL\";\n DocumentType[\"QAT_ID\"] = \"QAT_ID\";\n DocumentType[\"NLD_DL\"] = \"NLD_DL\";\n DocumentType[\"DEU_ID\"] = \"DEU_ID\";\n DocumentType[\"SDN_ID\"] = \"SDN_ID\";\n DocumentType[\"SDN_DL\"] = \"SDN_DL\";\n DocumentType[\"SDN_VL\"] = \"SDN_VL\";\n DocumentType[\"GHA_ID\"] = \"GHA_ID\";\n DocumentType[\"NGA_DL\"] = \"NGA_DL\";\n DocumentType[\"NGA_VOTER_ID\"] = \"NGA_VOTER_ID\";\n DocumentType[\"NGA_NIN\"] = \"NGA_NIN\";\n DocumentType[\"GBR_DL\"] = \"GBR_DL\";\n DocumentType[\"SAU_DL\"] = \"SAU_DL\";\n DocumentType[\"ZAF_ID\"] = \"ZAF_ID\";\n DocumentType[\"ZAF_DL\"] = \"ZAF_DL\";\n DocumentType[\"EGY_ID\"] = \"EGY_ID\";\n DocumentType[\"RWA_ID\"] = \"RWA_ID\";\n DocumentType[\"KEN_ID\"] = \"KEN_ID\";\n DocumentType[\"GHA_DL\"] = \"GHA_DL\";\n DocumentType[\"GHA_VOTER_ID\"] = \"GHA_VOTER_ID\";\n DocumentType[\"GHA_SSNIT\"] = \"GHA_SSNIT\";\n DocumentType[\"UGA_ID\"] = \"UGA_ID\";\n DocumentType[\"IND_ID\"] = \"IND_ID\";\n DocumentType[\"OMN_ID_NATIONAL\"] = \"OMN_ID_NATIONAL\";\n DocumentType[\"OMN_ID_RESIDENT\"] = \"OMN_ID_RESIDENT\";\n DocumentType[\"SEN_ID\"] = \"SEN_ID\";\n DocumentType[\"UGA_VOTER_ID\"] = \"UGA_VOTER_ID\";\n DocumentType[\"DZA_ID\"] = \"DZA_ID\";\n DocumentType[\"TUR_ID\"] = \"TUR_ID\";\n DocumentType[\"GBR_ID\"] = \"GBR_ID\";\n DocumentType[\"COD_DL\"] = \"COD_DL\";\n DocumentType[\"OMN_DL\"] = \"OMN_DL\";\n DocumentType[\"OMN_VL\"] = \"OMN_VL\";\n DocumentType[\"COD_VOTER_ID\"] = \"COD_VOTER_ID\";\n DocumentType[\"USA_DL\"] = \"USA_DL\";\n DocumentType[\"QAT_DL\"] = \"QAT_DL\";\n DocumentType[\"BHR_DL\"] = \"BHR_DL\";\n DocumentType[\"PHL_DL\"] = \"PHL_DL\";\n DocumentType[\"RSL_ID\"] = \"RSL_ID\";\n DocumentType[\"IND_PAN\"] = \"IND_PAN\";\n DocumentType[\"SAU_ID_NATIONAL\"] = \"SAU_ID_NATIONAL\";\n DocumentType[\"SAU_ID_RESIDENT\"] = \"SAU_ID_RESIDENT\";\n DocumentType[\"NGA_BVN\"] = \"NGA_BVN\";\n})(DocumentType || (DocumentType = {}));\nexport var BackgroundCheckType;\n(function (BackgroundCheckType) {\n BackgroundCheckType[\"RDC\"] = \"RDC\";\n BackgroundCheckType[\"DOW_JONES\"] = \"DOW_JONES\";\n})(BackgroundCheckType || (BackgroundCheckType = {}));\nexport var AppearanceMode;\n(function (AppearanceMode) {\n AppearanceMode[\"SYSTEM\"] = \"SYSTEM\";\n AppearanceMode[\"LIGHT\"] = \"LIGHT\";\n AppearanceMode[\"DARK\"] = \"DARK\";\n})(AppearanceMode || (AppearanceMode = {}));\nexport class UqudoPlugin {\n init() {\n UqudoId.init();\n }\n setLocale(locale) {\n UqudoId.setLocale({ value: locale });\n }\n async enroll(enrollObj) {\n const enroll = JSON.stringify(enrollObj);\n const response = await UqudoId.enroll({ value: enroll });\n return response;\n }\n async recover(recoverObj) {\n const recover = JSON.stringify(recoverObj);\n const response = await UqudoId.recover({ value: recover });\n return response;\n }\n async faceSession(faceSessionObj) {\n const faceSession = JSON.stringify(faceSessionObj);\n const response = await UqudoId.faceSession({ value: faceSession });\n return response;\n }\n async lookup(lookup) {\n const lookupSession = JSON.stringify(lookup);\n const response = await UqudoId.lookup({ value: lookupSession });\n return response;\n }\n async isFacialRecognitionSupported(documentType) {\n const response = await UqudoId.isFacialRecognitionSupported({ value: documentType });\n return response.value == true;\n }\n async isReadingSupported(documentType) {\n const response = await UqudoId.isReadingSupported({ value: documentType });\n return response.value == true;\n }\n async isLookupSupported(documentType) {\n const response = await UqudoId.isLookupSupported({ value: documentType });\n return response.value == true;\n }\n async isLookupFacialRecognitionSupported(documentType) {\n const response = await UqudoId.isLookupFacialRecognitionSupported({ value: documentType });\n return response.value == true;\n }\n async isEnrollmentSupported(documentType) {\n const response = await UqudoId.isEnrollmentSupported({ value: documentType });\n return response.value == true;\n }\n}\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin","AppearanceMode","BackgroundCheckType","DocumentType"],"mappings":";;;AACK,UAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS,EAAE;IAGnC,MAAM,iBAAiB,CAAC;IAC/B,IAAI,WAAW,GAAG;IAClB,QAAQ,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;IAC/B,QAAQ,IAAI,CAAC,cAAc,GAAGC,sBAAc,CAAC,MAAM,CAAC;IACpD,KAAK;IACL,IAAI,QAAQ,CAAC,KAAK,EAAE;IACpB,QAAQ,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;IACxC,QAAQ,OAAO,IAAI,CAAC;IACpB,KAAK;IACL,IAAI,QAAQ,CAAC,KAAK,EAAE;IACpB,QAAQ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IAC3B,QAAQ,OAAO,IAAI,CAAC;IACpB,KAAK;IACL,IAAI,YAAY,CAAC,SAAS,EAAE;IAC5B,QAAQ,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IACnC,QAAQ,OAAO,IAAI,CAAC;IACpB,KAAK;IACL,IAAI,iBAAiB,CAAC,cAAc,EAAE;IACtC,QAAQ,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IAC7C,QAAQ,OAAO,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IAAI,MAAM,kCAAkC,CAAC,YAAY,EAAE;IAC3D,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,kCAAkC,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;IACnG,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;IACtC,KAAK;IACL,IAAI,MAAM,qBAAqB,CAAC,YAAY,EAAE;IAC9C,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,qBAAqB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;IACtF,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;IACtC,KAAK;IACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst UqudoId = registerPlugin('UqudoId');\nexport * from './definitions';\nexport { UqudoId };\nexport class EnrollmentBuilder {\n constructor() {\n this.documentList = [];\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n setSessionId(sessionId) {\n this.sessionId = sessionId;\n return this;\n }\n setUserIdentifier(userIdentifier) {\n this.userIdentifier = userIdentifier;\n return this;\n }\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n enableFacialRecognition(facialRecognitionConfiguration) {\n if (facialRecognitionConfiguration === undefined) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfiguration;\n }\n return this;\n }\n enableBackgroundCheck(backgroundCheckConfiguration) {\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n enableLookup(documents) {\n if (documents == null) {\n this.lookupConfiguration = new LookupConfiguration([]);\n }\n else {\n this.lookupConfiguration = new LookupConfiguration(documents);\n }\n return this;\n }\n add(document) {\n this.documentList.push(document);\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n build() {\n return new Enrollment(this.documentList, this.authorizationToken, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.facialRecognitionSpecification, this.backgroundCheckConfiguration, this.lookupConfiguration, this.sessionId, this.userIdentifier, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class Enrollment {\n constructor(documentList, authorizationToken, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, lookupConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {\n this.documentList = documentList;\n this.authorizationToken = authorizationToken;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.facialRecognitionSpecification = facialRecognitionSpecification;\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n this.lookupConfiguration = lookupConfiguration;\n this.sessionId = sessionId;\n this.userIdentifier = userIdentifier;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport class FacialRecognitionConfigurationBuilder {\n disableHelpPage() {\n this.isHelpPageDisabled = true;\n return this;\n }\n enrollFace() {\n this.isEnrollFace = true;\n return this;\n }\n setScanMinimumMatchLevel(scanMinimumMatchLevel) {\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n return this;\n }\n setReadMinimumMatchLevel(readMinimumMatchLevel) {\n this.readMinimumMatchLevel = readMinimumMatchLevel;\n return this;\n }\n setLookupMinimumMatchLevel(lookupMinimumMatchLevel) {\n this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;\n return this;\n }\n setMaxAttempts(maxAttempts) {\n this.maxAttempts = maxAttempts;\n return this;\n }\n allowClosedEyes() {\n this.isAllowClosedEyes = true;\n return this;\n }\n build() {\n return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.lookupMinimumMatchLevel, this.maxAttempts, this.isAllowClosedEyes);\n }\n}\nexport class FacialRecognitionConfiguration {\n constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, lookupMinimumMatchLevel, maxAttempts, isAllowClosedEyes) {\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.enrollFace = enrollFace;\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n this.readMinimumMatchLevel = readMinimumMatchLevel;\n this.lookupMinimumMatchLevel = lookupMinimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.allowClosedEyes = isAllowClosedEyes;\n }\n}\nexport class BackgroundCheckConfigurationBuilder {\n constructor() {\n this.backgroundCheckType = BackgroundCheckType.RDC;\n }\n disableConsent() {\n this.isDisableConsent = true;\n return this;\n }\n enableMonitoring() {\n this.monitoringEnabled = true;\n return this;\n }\n setBackgroundCheckType(backgroundCheckType) {\n this.backgroundCheckType = backgroundCheckType;\n return this;\n }\n skipView() {\n this.isSkipView = true;\n return this;\n }\n build() {\n return new BackgroundCheckConfiguration(this.backgroundCheckType, this.isDisableConsent, this.monitoringEnabled, this.isSkipView);\n }\n}\nexport class LookupConfiguration {\n constructor(documents) {\n this.documentsList = documents;\n }\n}\nexport class BackgroundCheckConfiguration {\n constructor(backgroundCheckType, disableConsent, monitoringEnabled, skipView) {\n this.disableConsent = disableConsent;\n this.backgroundCheckType = backgroundCheckType;\n this.monitoringEnabled = monitoringEnabled;\n this.skipView = skipView;\n }\n}\nexport class Document {\n constructor(type, readConfig, isHelpPageDisabled, faceScanLevel, faceReadLevel, isExpiredDocumentValidateDisabled, isFrontSideReviewEnabled, isBackSideReviewEnabled, isUploadEnabled, isPhotoQualityDetectionEnabled, minimumAge) {\n this.documentType = type;\n this.readingConfiguration = readConfig;\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.faceScanMinimumMatchLevel = faceScanLevel;\n this.faceReadMinimumMatchLevel = faceReadLevel;\n this.isExpiredDocumentValidateDisabled = isExpiredDocumentValidateDisabled;\n this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;\n this.isBackSideReviewEnabled = isBackSideReviewEnabled;\n this.isUploadEnabled = isUploadEnabled;\n this.isPhotoQualityDetectionEnabled = isPhotoQualityDetectionEnabled;\n this.minimumAge = minimumAge;\n }\n}\nexport class DocumentBuilder {\n setDocumentType(documentType) {\n this.documentType = documentType;\n return this;\n }\n disableHelpPage() {\n this.isHelpPageDisabled = true;\n return this;\n }\n enableReading(readingConfiguration) {\n if (readingConfiguration === null) {\n this.readingConfiguration = new ReadingConfigurationBuilder().build();\n }\n else {\n this.readingConfiguration = readingConfiguration;\n }\n return this;\n }\n disableExpiryValidation() {\n this.isExpiredDocumentValidateDisabled = true;\n return this;\n }\n setFaceScanMinimumMatchLevel(faceScanMinimumMatchLevel) {\n this.faceScanMinimumMatchLevel = faceScanMinimumMatchLevel;\n return this;\n }\n setFaceReadMinimumMatchLevel(faceReadMinimumMatchLevel) {\n this.faceReadMinimumMatchLevel = faceReadMinimumMatchLevel;\n return this;\n }\n enableScanReview(isFrontSideReviewEnabled, isBackSideReviewEnabled) {\n this.isBackSideReviewEnabled = isBackSideReviewEnabled;\n this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;\n return this;\n }\n enableUpload() {\n this.isUploadEnabled = true;\n return this;\n }\n enableAgeVerification(minAge) {\n this.minimumAge = minAge;\n return this;\n }\n /**\n * @deprecated Ignored and enabled by default. Will be removed in a future release\n */\n enablePhotoQualityDetection() {\n this.isPhotoQualityDetectionEnabled = true;\n return this;\n }\n build() {\n return new Document(this.documentType, this.readingConfiguration, this.isHelpPageDisabled, this.faceScanMinimumMatchLevel, this.faceReadMinimumMatchLevel, this.isExpiredDocumentValidateDisabled, this.isFrontSideReviewEnabled, this.isBackSideReviewEnabled, this.isUploadEnabled, this.isPhotoQualityDetectionEnabled, this.minimumAge);\n }\n}\nexport class ReadingConfiguration {\n constructor(forceRead, forceReadIfSupported, timeoutInSeconds) {\n this.forceReading = forceRead;\n this.forceReadingIfSupported = forceReadIfSupported;\n this.timeoutInSeconds = timeoutInSeconds;\n }\n}\nexport class ReadingConfigurationBuilder {\n forceReading(value) {\n this.forceReadingValue = value;\n return this;\n }\n forceReadingIfSupported(value) {\n this.forceReadingIfSupportedValue = value;\n return this;\n }\n forceReadingTimeout(value) {\n this.timeoutInSeconds = value;\n return this;\n }\n build() {\n return new ReadingConfiguration(this.forceReadingValue, this.forceReadingIfSupportedValue, this.timeoutInSeconds);\n }\n}\nexport { AccountRecoveryConfigurationBuilder as AccountRecoveryBuilder };\nexport class AccountRecoveryConfigurationBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n /**\n * Pass the token received from Uqudo to authenticate the SDK\n */\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n /**\n * Pass the enrollment identifier for the account to be recovered\n */\n setEnrollmentIdentifier(identifier) {\n this.enrollmentIdentifier = identifier;\n return this;\n }\n /**\n * You can pass your custom nonce to provide security to the enrollment process\n */\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n /**\n * Whether you want the sdk to run on the rooted devices or not. By default it is false\n */\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n /**\n * To allow user to capture/record screenshot or video of the screen on the device app is installed.\n * Default is screenshot and video recording of the screen is not allowed\n */\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n /**\n * Set this to use the value passed for facialRecognition for Account Recovery\n */\n setMinimumMatchLevel(value) {\n this.minimumMatchLevel = value;\n return this;\n }\n setMaxAttempts(value) {\n this.maxAttempts = value;\n return this;\n }\n allowClosedEyes() {\n this.isAllowClosedEyes = true;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n /**\n * @returns Intent with the configuration and the token needed to authorize the activity to\n * recover the account\n */\n build() {\n return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);\n }\n}\nexport class AccountRecoveryConfiguration {\n constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowClosedEyes) {\n this.appearanceMode = AppearanceMode.SYSTEM;\n this.token = token;\n this.enrollmentIdentifier = enrollmentIdentifier;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.minimumMatchLevel = minimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n this.allowClosedEyes = isAllowClosedEyes;\n }\n}\nexport { FaceSessionConfigurationBuilder as FaceSessionBuilder };\nexport class FaceSessionConfigurationBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n /**\n * Pass the token received from Uqudo to authenticate the SDK\n */\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n /**\n * Pass the enrollment identifier for facial recognition\n */\n setSessionId(identifier) {\n this.sessionId = identifier;\n return this;\n }\n /**\n * You can pass your custom nonce to provide security to the facial recognition process\n */\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n /**\n * Whether you want the sdk to run on the rooted devices or not. By default it is false\n */\n enableRootedDeviceUsage() {\n this.isRootedDeviceAllowed = true;\n return this;\n }\n /**\n * To allow user to capture/record screenshot or video of the screen on the device app is installed.\n * Default is screenshot and video recording of the screen is not allowed\n */\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n /**\n * Set this to use the value passed for facialRecognition for facial recognition\n */\n setMinimumMatchLevel(value) {\n this.minimumMatchLevel = value;\n return this;\n }\n setMaxAttempts(value) {\n this.maxAttempts = value;\n return this;\n }\n allowClosedEyes() {\n this.isAllowClosedEyes = true;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n /**\n * @returns Intent with the configuration and the token needed to authorize the activity to\n * facial recognition\n */\n build() {\n return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode, this.isAllowClosedEyes);\n }\n}\nexport class FaceSessionConfiguration {\n constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode, isAllowedClosedEyes) {\n this.appearanceMode = AppearanceMode.SYSTEM;\n this.token = token;\n this.sessionId = sessionId;\n this.nonce = nonce;\n this.isRootedDeviceAllowed = isRootedDeviceAllowed;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.minimumMatchLevel = minimumMatchLevel;\n this.maxAttempts = maxAttempts;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n this.allowClosedEyes = isAllowedClosedEyes;\n }\n}\nexport class LookupBuilder {\n constructor() {\n this.appearanceMode = AppearanceMode.SYSTEM;\n }\n setToken(token) {\n this.authorizationToken = token;\n return this;\n }\n setNonce(nonce) {\n this.nonce = nonce;\n return this;\n }\n setSessionId(sessionId) {\n this.sessionId = sessionId;\n return this;\n }\n setUserIdentifier(userIdentifier) {\n this.userIdentifier = userIdentifier;\n return this;\n }\n disableSecureWindow() {\n this.isSecuredWindowsDisabled = true;\n return this;\n }\n enableFacialRecognition(facialRecognitionConfiguration) {\n if (facialRecognitionConfiguration === undefined) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfiguration;\n }\n return this;\n }\n enableBackgroundCheck(backgroundCheckConfiguration) {\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n return this;\n }\n returnDataForIncompleteSession() {\n this.isReturnDataForIncompleteSession = true;\n return this;\n }\n setDocumentType(documentType) {\n this.documentType = documentType;\n return this;\n }\n setAppearanceMode(appearanceMode) {\n this.appearanceMode = appearanceMode;\n return this;\n }\n build() {\n return new Lookup(this.documentType, this.authorizationToken, this.nonce, this.isSecuredWindowsDisabled, this.facialRecognitionSpecification, this.backgroundCheckConfiguration, this.sessionId, this.userIdentifier, this.isReturnDataForIncompleteSession, this.appearanceMode);\n }\n}\nexport class Lookup {\n constructor(documentType, authorizationToken, nonce, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {\n this.documentType = documentType;\n this.authorizationToken = authorizationToken;\n this.nonce = nonce;\n this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;\n this.facialRecognitionSpecification = facialRecognitionSpecification;\n this.backgroundCheckConfiguration = backgroundCheckConfiguration;\n this.sessionId = sessionId;\n this.userIdentifier = userIdentifier;\n this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;\n this.appearanceMode = appearanceMode;\n }\n}\nexport var DocumentType;\n(function (DocumentType) {\n DocumentType[\"BHR_ID\"] = \"BHR_ID\";\n DocumentType[\"GENERIC_ID\"] = \"GENERIC_ID\";\n DocumentType[\"KWT_ID\"] = \"KWT_ID\";\n DocumentType[\"OMN_ID\"] = \"OMN_ID\";\n DocumentType[\"PAK_ID\"] = \"PAK_ID\";\n DocumentType[\"PASSPORT\"] = \"PASSPORT\";\n DocumentType[\"SAU_ID\"] = \"SAU_ID\";\n DocumentType[\"UAE_ID\"] = \"UAE_ID\";\n DocumentType[\"UAE_DL\"] = \"UAE_DL\";\n DocumentType[\"UAE_VISA\"] = \"UAE_VISA\";\n DocumentType[\"UAE_VL\"] = \"UAE_VL\";\n DocumentType[\"QAT_ID\"] = \"QAT_ID\";\n DocumentType[\"NLD_DL\"] = \"NLD_DL\";\n DocumentType[\"DEU_ID\"] = \"DEU_ID\";\n DocumentType[\"SDN_ID\"] = \"SDN_ID\";\n DocumentType[\"SDN_DL\"] = \"SDN_DL\";\n DocumentType[\"SDN_VL\"] = \"SDN_VL\";\n DocumentType[\"GHA_ID\"] = \"GHA_ID\";\n DocumentType[\"NGA_DL\"] = \"NGA_DL\";\n DocumentType[\"NGA_VOTER_ID\"] = \"NGA_VOTER_ID\";\n DocumentType[\"NGA_NIN\"] = \"NGA_NIN\";\n DocumentType[\"GBR_DL\"] = \"GBR_DL\";\n DocumentType[\"SAU_DL\"] = \"SAU_DL\";\n DocumentType[\"ZAF_ID\"] = \"ZAF_ID\";\n DocumentType[\"ZAF_DL\"] = \"ZAF_DL\";\n DocumentType[\"EGY_ID\"] = \"EGY_ID\";\n DocumentType[\"RWA_ID\"] = \"RWA_ID\";\n DocumentType[\"KEN_ID\"] = \"KEN_ID\";\n DocumentType[\"GHA_DL\"] = \"GHA_DL\";\n DocumentType[\"GHA_VOTER_ID\"] = \"GHA_VOTER_ID\";\n DocumentType[\"GHA_SSNIT\"] = \"GHA_SSNIT\";\n DocumentType[\"UGA_ID\"] = \"UGA_ID\";\n DocumentType[\"IND_ID\"] = \"IND_ID\";\n DocumentType[\"OMN_ID_NATIONAL\"] = \"OMN_ID_NATIONAL\";\n DocumentType[\"OMN_ID_RESIDENT\"] = \"OMN_ID_RESIDENT\";\n DocumentType[\"SEN_ID\"] = \"SEN_ID\";\n DocumentType[\"UGA_VOTER_ID\"] = \"UGA_VOTER_ID\";\n DocumentType[\"DZA_ID\"] = \"DZA_ID\";\n DocumentType[\"TUR_ID\"] = \"TUR_ID\";\n DocumentType[\"GBR_ID\"] = \"GBR_ID\";\n DocumentType[\"COD_DL\"] = \"COD_DL\";\n DocumentType[\"OMN_DL\"] = \"OMN_DL\";\n DocumentType[\"OMN_VL\"] = \"OMN_VL\";\n DocumentType[\"COD_VOTER_ID\"] = \"COD_VOTER_ID\";\n DocumentType[\"USA_DL\"] = \"USA_DL\";\n DocumentType[\"QAT_DL\"] = \"QAT_DL\";\n DocumentType[\"BHR_DL\"] = \"BHR_DL\";\n DocumentType[\"PHL_DL\"] = \"PHL_DL\";\n DocumentType[\"RSL_ID\"] = \"RSL_ID\";\n DocumentType[\"IND_PAN\"] = \"IND_PAN\";\n DocumentType[\"SAU_ID_NATIONAL\"] = \"SAU_ID_NATIONAL\";\n DocumentType[\"SAU_ID_RESIDENT\"] = \"SAU_ID_RESIDENT\";\n DocumentType[\"NGA_BVN\"] = \"NGA_BVN\";\n DocumentType[\"LBN_ID\"] = \"LBN_ID\";\n DocumentType[\"LBN_DL\"] = \"LBN_DL\";\n})(DocumentType || (DocumentType = {}));\nexport var BackgroundCheckType;\n(function (BackgroundCheckType) {\n BackgroundCheckType[\"RDC\"] = \"RDC\";\n BackgroundCheckType[\"DOW_JONES\"] = \"DOW_JONES\";\n})(BackgroundCheckType || (BackgroundCheckType = {}));\nexport var AppearanceMode;\n(function (AppearanceMode) {\n AppearanceMode[\"SYSTEM\"] = \"SYSTEM\";\n AppearanceMode[\"LIGHT\"] = \"LIGHT\";\n AppearanceMode[\"DARK\"] = \"DARK\";\n})(AppearanceMode || (AppearanceMode = {}));\nexport class UqudoPlugin {\n init() {\n UqudoId.init();\n }\n setLocale(locale) {\n UqudoId.setLocale({ value: locale });\n }\n async enroll(enrollObj) {\n const enroll = JSON.stringify(enrollObj);\n const response = await UqudoId.enroll({ value: enroll });\n return response;\n }\n async recover(recoverObj) {\n const recover = JSON.stringify(recoverObj);\n const response = await UqudoId.recover({ value: recover });\n return response;\n }\n async faceSession(faceSessionObj) {\n const faceSession = JSON.stringify(faceSessionObj);\n const response = await UqudoId.faceSession({ value: faceSession });\n return response;\n }\n async lookup(lookup) {\n const lookupSession = JSON.stringify(lookup);\n const response = await UqudoId.lookup({ value: lookupSession });\n return response;\n }\n async isFacialRecognitionSupported(documentType) {\n const response = await UqudoId.isFacialRecognitionSupported({ value: documentType });\n return response.value == true;\n }\n async isReadingSupported(documentType) {\n const response = await UqudoId.isReadingSupported({ value: documentType });\n return response.value == true;\n }\n async isLookupSupported(documentType) {\n const response = await UqudoId.isLookupSupported({ value: documentType });\n return response.value == true;\n }\n async isLookupFacialRecognitionSupported(documentType) {\n const response = await UqudoId.isLookupFacialRecognitionSupported({ value: documentType });\n return response.value == true;\n }\n async isEnrollmentSupported(documentType) {\n const response = await UqudoId.isEnrollmentSupported({ value: documentType });\n return response.value == true;\n }\n}\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin","AppearanceMode","BackgroundCheckType","DocumentType"],"mappings":";;;AACK,UAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS,EAAE;IAGnC,MAAM,iBAAiB,CAAC;IAC/B,IAAI,WAAW,GAAG;IAClB,QAAQ,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;IAC/B,QAAQ,IAAI,CAAC,cAAc,GAAGC,sBAAc,CAAC,MAAM,CAAC;IACpD,KAAK;IACL,IAAI,QAAQ,CAAC,KAAK,EAAE;IACpB,QAAQ,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;IACxC,QAAQ,OAAO,IAAI,CAAC;IACpB,KAAK;IACL,IAAI,QAAQ,CAAC,KAAK,EAAE;IACpB,QAAQ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IAC3B,QAAQ,OAAO,IAAI,CAAC;IACpB,KAAK;IACL,IAAI,YAAY,CAAC,SAAS,EAAE;IAC5B,QAAQ,IAAI,CAAC,SA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AAqB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;IACtF,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;IACtC,KAAK;IACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/ios/Plugin/UqudoId.m
CHANGED
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
dispatch_sync(dispatch_get_main_queue(), ^{
|
|
35
35
|
NSData* data = [enrollObj dataUsingEncoding:NSUTF8StringEncoding];
|
|
36
36
|
id json = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
|
|
37
|
-
|
|
37
|
+
|
|
38
38
|
NSDictionary* documentList = json[@"documentList"];
|
|
39
39
|
NSDictionary* facialRecognitionSpecification = json[@"facialRecognitionSpecification"];
|
|
40
40
|
NSDictionary* backgroundCheckConfiguration = json[@"backgroundCheckConfiguration"];
|
|
41
41
|
NSDictionary* lookupConfiguration = json[@"lookupConfiguration"];
|
|
42
|
-
|
|
42
|
+
|
|
43
43
|
// Config enrollment builder
|
|
44
44
|
UQEnrollmentBuilder *enrollmentBuilder = [[UQEnrollmentBuilder alloc] init];
|
|
45
45
|
enrollmentBuilder.authorizationToken = json[@"authorizationToken"];
|
|
@@ -62,29 +62,35 @@
|
|
|
62
62
|
enrollmentBuilder.returnDataForIncompleteSession = [[json valueForKey:@"isReturnDataForIncompleteSession"] boolValue];
|
|
63
63
|
}
|
|
64
64
|
if (facialRecognitionSpecification) {
|
|
65
|
+
UQFacialRecognitionConfig *config = [[UQFacialRecognitionConfig alloc] init];
|
|
65
66
|
// Enable help page for face recognition
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
config.enableFacialRecognition = YES;
|
|
68
|
+
|
|
68
69
|
// Enable enroll face option
|
|
69
70
|
if (facialRecognitionSpecification[@"enrollFace"]) {
|
|
70
|
-
|
|
71
|
+
config.enrollFace = [[facialRecognitionSpecification valueForKey:@"enrollFace"] boolValue];
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
+
|
|
73
74
|
if (facialRecognitionSpecification[@"scanMinimumMatchLevel"]) {
|
|
74
|
-
|
|
75
|
+
config.scanMinimumMatchLevel = [[facialRecognitionSpecification valueForKey:@"scanMinimumMatchLevel"] integerValue];
|
|
75
76
|
}
|
|
76
|
-
|
|
77
|
+
|
|
77
78
|
if (facialRecognitionSpecification[@"readMinimumMatchLevel"]) {
|
|
78
|
-
|
|
79
|
+
config.readMinimumMatchLevel = [[facialRecognitionSpecification valueForKey:@"readMinimumMatchLevel"] integerValue];
|
|
79
80
|
}
|
|
80
|
-
|
|
81
|
+
|
|
81
82
|
if (facialRecognitionSpecification[@"maxAttempts"]) {
|
|
82
83
|
int maxAttempts = [[facialRecognitionSpecification valueForKey:@"maxAttempts"] intValue];
|
|
83
84
|
if (maxAttempts > 0) {
|
|
84
|
-
|
|
85
|
+
config.maxAttempts = maxAttempts;
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
|
-
|
|
88
|
+
|
|
89
|
+
if (facialRecognitionSpecification[@"allowClosedEyes"]) {
|
|
90
|
+
config.allowClosedEyes = [[facialRecognitionSpecification valueForKey:@"allowClosedEyes"] boolValue];
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
enrollmentBuilder.facialRecognitionConfig = config;
|
|
88
94
|
}
|
|
89
95
|
if(lookupConfiguration){
|
|
90
96
|
NSMutableArray *lookupDocumentTypes = [[NSMutableArray alloc] init];
|
|
@@ -126,7 +132,7 @@
|
|
|
126
132
|
if(documentObject.documentType == UNSPECIFY){
|
|
127
133
|
continue;
|
|
128
134
|
}
|
|
129
|
-
|
|
135
|
+
|
|
130
136
|
UQScanConfig *scanConfig = [[UQScanConfig alloc] init];
|
|
131
137
|
if (document[@"isHelpPageDisabled"]) {
|
|
132
138
|
scanConfig.disableHelpPage = [[document valueForKey:@"isHelpPageDisabled"] boolValue];
|
|
@@ -142,7 +148,7 @@
|
|
|
142
148
|
}
|
|
143
149
|
BOOL isEnabelFrontSideReview = false;
|
|
144
150
|
BOOL isEnabelBackSideReview = false;
|
|
145
|
-
|
|
151
|
+
|
|
146
152
|
if (document[@"isFrontSideReviewEnabled"]) {
|
|
147
153
|
isEnabelFrontSideReview = [[document valueForKey:@"isFrontSideReviewEnabled"] boolValue];
|
|
148
154
|
}
|
|
@@ -154,14 +160,14 @@
|
|
|
154
160
|
scanConfig.enableUpload = [[document valueForKey:@"isUploadEnabled"] boolValue];
|
|
155
161
|
}
|
|
156
162
|
documentObject.scan = scanConfig;
|
|
157
|
-
|
|
163
|
+
|
|
158
164
|
if (document[@"isExpiredDocumentValidateDisabled"]) {
|
|
159
165
|
documentObject.disableExpiryValidation = [[document valueForKey:@"isExpiredDocumentValidateDisabled"] boolValue];
|
|
160
166
|
}
|
|
161
|
-
|
|
167
|
+
|
|
162
168
|
if (document[@"readingConfiguration"]) {
|
|
163
169
|
NSDictionary *readingConfiguration = document[@"readingConfiguration"];
|
|
164
|
-
|
|
170
|
+
|
|
165
171
|
UQReadingConfig *readConfig = [[UQReadingConfig alloc] init];
|
|
166
172
|
readConfig.enableReading = TRUE;
|
|
167
173
|
if (readingConfiguration[@"forceReading"]) {
|
|
@@ -179,10 +185,10 @@
|
|
|
179
185
|
readConfig.forceReadingTimeout = timeoutInSeconds;
|
|
180
186
|
}
|
|
181
187
|
}
|
|
182
|
-
|
|
188
|
+
|
|
183
189
|
documentObject.reading = readConfig;
|
|
184
190
|
}
|
|
185
|
-
|
|
191
|
+
|
|
186
192
|
[enrollmentBuilder add:documentObject];
|
|
187
193
|
}
|
|
188
194
|
builderController.delegate = self;
|
|
@@ -236,14 +242,14 @@
|
|
|
236
242
|
{
|
|
237
243
|
self.pluginCall = call;
|
|
238
244
|
NSString* recoverObj = call.options[@"value"];
|
|
239
|
-
|
|
245
|
+
|
|
240
246
|
@try {
|
|
241
247
|
if (recoverObj != nil && [recoverObj length] > 0) {
|
|
242
248
|
UQBuilderController *builderController = [UQBuilderController defaultBuilder];
|
|
243
249
|
dispatch_sync(dispatch_get_main_queue(), ^{
|
|
244
250
|
NSData *data = [recoverObj dataUsingEncoding:NSUTF8StringEncoding];
|
|
245
251
|
id json = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
|
|
246
|
-
|
|
252
|
+
|
|
247
253
|
// Config account recovery builder
|
|
248
254
|
UQAccountRecoveryBuilder *accountRecoveryBuilder = [[UQAccountRecoveryBuilder alloc] init];
|
|
249
255
|
accountRecoveryBuilder.authorizationToken = json[@"token"];
|
|
@@ -252,18 +258,23 @@
|
|
|
252
258
|
if (json[@"minimumMatchLevel"]) {
|
|
253
259
|
accountRecoveryBuilder.minimumMatchLevel = [[json valueForKey:@"minimumMatchLevel"] intValue];
|
|
254
260
|
}
|
|
255
|
-
|
|
261
|
+
|
|
256
262
|
if (json[@"maxAttempts"]) {
|
|
257
263
|
int maxAttempts = [[json valueForKey:@"maxAttempts"] intValue];
|
|
258
264
|
if (maxAttempts > 0) {
|
|
259
265
|
accountRecoveryBuilder.maxAttempts = maxAttempts;
|
|
260
266
|
}
|
|
261
267
|
}
|
|
262
|
-
|
|
268
|
+
|
|
269
|
+
if (json[@"allowClosedEyes"]) {
|
|
270
|
+
accountRecoveryBuilder.allowClosedEyes = [[json valueForKey:@"allowClosedEyes"] boolValue];
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
|
|
263
274
|
if (json[@"isReturnDataForIncompleteSession"]) {
|
|
264
275
|
accountRecoveryBuilder.returnDataForIncompleteSession = [[json valueForKey:@"isReturnDataForIncompleteSession"] boolValue];
|
|
265
276
|
}
|
|
266
|
-
|
|
277
|
+
|
|
267
278
|
builderController.delegate = self;
|
|
268
279
|
UIViewController *rootViewController = [UIApplication sharedApplication].delegate.window.rootViewController;
|
|
269
280
|
builderController.appViewController = rootViewController;
|
|
@@ -314,14 +325,14 @@
|
|
|
314
325
|
{
|
|
315
326
|
self.pluginCall = call;
|
|
316
327
|
NSString* recoverObj = call.options[@"value"];
|
|
317
|
-
|
|
328
|
+
|
|
318
329
|
@try {
|
|
319
330
|
if (recoverObj != nil && [recoverObj length] > 0) {
|
|
320
331
|
UQBuilderController *builderController = [UQBuilderController defaultBuilder];
|
|
321
332
|
dispatch_sync(dispatch_get_main_queue(), ^{
|
|
322
333
|
NSData *data = [recoverObj dataUsingEncoding:NSUTF8StringEncoding];
|
|
323
334
|
id json = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
|
|
324
|
-
|
|
335
|
+
|
|
325
336
|
UQFaceSessionBuilder *faceSessionBuilder = [[UQFaceSessionBuilder alloc] init];
|
|
326
337
|
faceSessionBuilder.authorizationToken = json[@"token"];
|
|
327
338
|
faceSessionBuilder.sessionId = json[@"sessionId"];
|
|
@@ -329,23 +340,28 @@
|
|
|
329
340
|
if (json[@"minimumMatchLevel"]) {
|
|
330
341
|
faceSessionBuilder.minimumMatchLevel = [[json valueForKey:@"minimumMatchLevel"] intValue];
|
|
331
342
|
}
|
|
332
|
-
|
|
343
|
+
|
|
333
344
|
if (json[@"maxAttempts"]) {
|
|
334
345
|
int maxAttempts = [[json valueForKey:@"maxAttempts"] intValue];
|
|
335
346
|
if (maxAttempts > 0) {
|
|
336
347
|
faceSessionBuilder.maxAttempts = maxAttempts;
|
|
337
348
|
}
|
|
338
349
|
}
|
|
339
|
-
|
|
350
|
+
|
|
351
|
+
if (json[@"allowClosedEyes"]) {
|
|
352
|
+
faceSessionBuilder.allowClosedEyes = [[json valueForKey:@"allowClosedEyes"] boolValue];
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
|
|
340
356
|
if (json[@"isReturnDataForIncompleteSession"]) {
|
|
341
357
|
faceSessionBuilder.returnDataForIncompleteSession = [[json valueForKey:@"isReturnDataForIncompleteSession"] boolValue];
|
|
342
358
|
}
|
|
343
|
-
|
|
359
|
+
|
|
344
360
|
builderController.delegate = self;
|
|
345
361
|
UIViewController *rootViewController = [UIApplication sharedApplication].delegate.window.rootViewController;
|
|
346
362
|
builderController.appViewController = rootViewController;
|
|
347
363
|
[builderController setFaceSession:faceSessionBuilder];
|
|
348
|
-
|
|
364
|
+
|
|
349
365
|
NSInteger appearanceMode = SYSTEM;
|
|
350
366
|
if (json[@"appearanceMode"]) {
|
|
351
367
|
if ([json[@"appearanceMode"] isEqualToString:@"LIGHT"]) {
|
|
@@ -372,7 +388,7 @@
|
|
|
372
388
|
status.message = exception.reason;
|
|
373
389
|
status.statusTask = -1;
|
|
374
390
|
[self sendPluginError:status];
|
|
375
|
-
|
|
391
|
+
|
|
376
392
|
}
|
|
377
393
|
}
|
|
378
394
|
|
|
@@ -399,7 +415,7 @@
|
|
|
399
415
|
dispatch_sync(dispatch_get_main_queue(), ^{
|
|
400
416
|
NSData* data = [lookupObj dataUsingEncoding:NSUTF8StringEncoding];
|
|
401
417
|
id json = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
|
|
402
|
-
|
|
418
|
+
|
|
403
419
|
UQLookupBuilder *lookupBuilder = [[UQLookupBuilder alloc] init];
|
|
404
420
|
lookupBuilder.authorizationToken = json[@"authorizationToken"];
|
|
405
421
|
NSString* nonce = json[@"nonce"];
|
|
@@ -425,21 +441,26 @@
|
|
|
425
441
|
}
|
|
426
442
|
NSDictionary* facialRecognitionSpecification = json[@"facialRecognitionSpecification"];
|
|
427
443
|
if (facialRecognitionSpecification) {
|
|
444
|
+
UQFacialRecognitionConfig *config = [[UQFacialRecognitionConfig alloc] init];
|
|
428
445
|
// Enable help page for face recognition
|
|
429
|
-
|
|
446
|
+
config.enableFacialRecognition = YES;
|
|
430
447
|
// Enable enroll face option
|
|
431
448
|
if (facialRecognitionSpecification[@"enrollFace"]) {
|
|
432
|
-
|
|
449
|
+
config.enrollFace = [[facialRecognitionSpecification valueForKey:@"enrollFace"] boolValue];
|
|
433
450
|
}
|
|
434
451
|
if (facialRecognitionSpecification[@"lookupMinimumMatchLevel"]) {
|
|
435
|
-
|
|
452
|
+
config.facialRecognitionMinimumMatchLevel = [[facialRecognitionSpecification valueForKey:@"lookupMinimumMatchLevel"] integerValue];
|
|
436
453
|
}
|
|
437
454
|
if (facialRecognitionSpecification[@"maxAttempts"]) {
|
|
438
455
|
int maxAttempts = [[facialRecognitionSpecification valueForKey:@"maxAttempts"] intValue];
|
|
439
456
|
if (maxAttempts > 0) {
|
|
440
|
-
|
|
457
|
+
config.maxAttempts = maxAttempts;
|
|
441
458
|
}
|
|
442
459
|
}
|
|
460
|
+
if (facialRecognitionSpecification[@"allowClosedEyes"]) {
|
|
461
|
+
config.allowClosedEyes = [[facialRecognitionSpecification valueForKey:@"allowClosedEyes"] boolValue];
|
|
462
|
+
}
|
|
463
|
+
lookupBuilder.facialRecognitionConfig = config;
|
|
443
464
|
}
|
|
444
465
|
NSDictionary* backgroundCheckConfiguration = json[@"backgroundCheckConfiguration"];
|
|
445
466
|
if (backgroundCheckConfiguration) {
|
|
@@ -558,10 +579,10 @@
|
|
|
558
579
|
[error setValue:status.message forKey:@"message"];
|
|
559
580
|
[error setValue:task forKey:@"task"];
|
|
560
581
|
[error setValue:status.data forKey:@"data"];
|
|
561
|
-
|
|
582
|
+
|
|
562
583
|
NSError *err = nil;
|
|
563
584
|
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:error options:NSJSONWritingPrettyPrinted error:&err];
|
|
564
|
-
|
|
585
|
+
|
|
565
586
|
NSString *jsonString = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
|
|
566
587
|
CAPPluginCallError *capError = [[CAPPluginCallError alloc]init:@"" code:jsonString error:nil data:@{}];
|
|
567
588
|
pluginCall.errorHandler(capError);
|
|
@@ -669,10 +690,10 @@
|
|
|
669
690
|
[parameters setValue:trace.category->name forKey:@"category"];
|
|
670
691
|
[parameters setValue:trace.event->name forKey:@"event"];
|
|
671
692
|
[parameters setValue:trace.status->name forKey:@"status"];
|
|
672
|
-
|
|
693
|
+
|
|
673
694
|
NSString *timeStamp = [self timeStamp:trace.timestamp];
|
|
674
695
|
[parameters setValue:timeStamp forKey:@"timestamp"];
|
|
675
|
-
|
|
696
|
+
|
|
676
697
|
if (TP_NULL != trace.page) {
|
|
677
698
|
[parameters setValue:trace.page->name forKey:@"page"];
|
|
678
699
|
}
|
|
@@ -686,10 +707,10 @@
|
|
|
686
707
|
if (trace.statusMessage) {
|
|
687
708
|
[parameters setValue:trace.statusMessage forKey:@"statusMessage"];
|
|
688
709
|
}
|
|
689
|
-
|
|
710
|
+
|
|
690
711
|
NSError *err = nil;
|
|
691
712
|
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted error:&err];
|
|
692
|
-
|
|
713
|
+
|
|
693
714
|
NSString *jsonString = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
|
|
694
715
|
[self.bridge triggerWindowJSEventWithEventName:@"TraceEvent" data:jsonString];
|
|
695
716
|
}
|