uqudosdk-capacitor 2.2.1 → 2.3.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 +28 -0
- package/dist/esm/definitions.d.ts +10 -0
- package/dist/esm/index.d.ts +5 -1
- package/dist/esm/index.js +11 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/plugin.cjs.js +9 -27
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +11 -31
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/UqudoId.m +38 -2
- package/ios/Plugin/UqudoIdPlugin.m +2 -0
- package/package.json +40 -1
- package/dist/esm/web.d.ts +0 -23
- package/dist/esm/web.js +0 -22
- package/dist/esm/web.js.map +0 -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.3.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.3.0"
|
|
60
60
|
|
|
61
61
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
62
62
|
testImplementation "junit:junit:$junitVersion"
|
|
@@ -332,6 +332,34 @@ public class UqudoIdPlugin extends Plugin {
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
+
@PluginMethod
|
|
336
|
+
public void isReadingSupported(PluginCall call) {
|
|
337
|
+
try {
|
|
338
|
+
String documentType = call.getString("value");
|
|
339
|
+
if (documentType != null) {
|
|
340
|
+
JSObject ret = new JSObject();
|
|
341
|
+
ret.put("value", DocumentType.valueOf(documentType).getReadingSupported());
|
|
342
|
+
call.resolve(ret);
|
|
343
|
+
}
|
|
344
|
+
} catch (Exception e) {
|
|
345
|
+
sendError(call, SessionStatusCode.UNEXPECTED_ERROR.name(), "Expected document type as argument.", null);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@PluginMethod
|
|
350
|
+
public void isFacialRecognitionSupported(PluginCall call) {
|
|
351
|
+
try {
|
|
352
|
+
String documentType = call.getString("value");
|
|
353
|
+
if (documentType != null) {
|
|
354
|
+
JSObject ret = new JSObject();
|
|
355
|
+
ret.put("value", DocumentType.valueOf(documentType).getFacialRecognitionSupported());
|
|
356
|
+
call.resolve(ret);
|
|
357
|
+
}
|
|
358
|
+
} catch (Exception e) {
|
|
359
|
+
sendError(call, SessionStatusCode.UNEXPECTED_ERROR.name(), "Expected document type as argument.", null);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
335
363
|
private void sendError(PluginCall call, String code, String message, String task) {
|
|
336
364
|
sendError(call, code, message, task, null);
|
|
337
365
|
}
|
|
@@ -18,4 +18,14 @@ export interface UqudoIdPlugin {
|
|
|
18
18
|
}): Promise<{
|
|
19
19
|
value: string;
|
|
20
20
|
}>;
|
|
21
|
+
isFacialRecognitionSupported(options: {
|
|
22
|
+
value: string;
|
|
23
|
+
}): Promise<{
|
|
24
|
+
value: boolean;
|
|
25
|
+
}>;
|
|
26
|
+
isReadingSupported(options: {
|
|
27
|
+
value: string;
|
|
28
|
+
}): Promise<{
|
|
29
|
+
value: boolean;
|
|
30
|
+
}>;
|
|
21
31
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -292,7 +292,9 @@ export declare enum DocumentType {
|
|
|
292
292
|
OMN_ID_NATIONAL = "OMN_ID_NATIONAL",
|
|
293
293
|
OMN_ID_RESIDENT = "OMN_ID_RESIDENT",
|
|
294
294
|
SEN_ID = "SEN_ID",
|
|
295
|
-
UGA_VOTER_ID = "UGA_VOTER_ID"
|
|
295
|
+
UGA_VOTER_ID = "UGA_VOTER_ID",
|
|
296
|
+
DZA_ID = "DZA_ID",
|
|
297
|
+
TUR_ID = "TUR_ID"
|
|
296
298
|
}
|
|
297
299
|
export declare enum BackgroundCheckType {
|
|
298
300
|
RDC = "RDC",
|
|
@@ -315,4 +317,6 @@ export declare class UqudoPlugin {
|
|
|
315
317
|
faceSession(faceSessionObj: FaceSessionConfiguration): Promise<{
|
|
316
318
|
value: string;
|
|
317
319
|
}>;
|
|
320
|
+
isFacialRecognitionSupported(documentType: string): Promise<boolean>;
|
|
321
|
+
isReadingSupported(documentType: string): Promise<boolean>;
|
|
318
322
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { registerPlugin } from '@capacitor/core';
|
|
2
|
-
const UqudoId = registerPlugin('UqudoId'
|
|
3
|
-
web: () => import('./web').then(m => new m.UqudoIdWeb()),
|
|
4
|
-
});
|
|
2
|
+
const UqudoId = registerPlugin('UqudoId');
|
|
5
3
|
export * from './definitions';
|
|
6
4
|
export { UqudoId };
|
|
7
5
|
export class EnrollmentBuilder {
|
|
@@ -453,6 +451,8 @@ export var DocumentType;
|
|
|
453
451
|
DocumentType["OMN_ID_RESIDENT"] = "OMN_ID_RESIDENT";
|
|
454
452
|
DocumentType["SEN_ID"] = "SEN_ID";
|
|
455
453
|
DocumentType["UGA_VOTER_ID"] = "UGA_VOTER_ID";
|
|
454
|
+
DocumentType["DZA_ID"] = "DZA_ID";
|
|
455
|
+
DocumentType["TUR_ID"] = "TUR_ID";
|
|
456
456
|
})(DocumentType || (DocumentType = {}));
|
|
457
457
|
export var BackgroundCheckType;
|
|
458
458
|
(function (BackgroundCheckType) {
|
|
@@ -487,5 +487,13 @@ export class UqudoPlugin {
|
|
|
487
487
|
const response = await UqudoId.faceSession({ value: faceSession });
|
|
488
488
|
return response;
|
|
489
489
|
}
|
|
490
|
+
async isFacialRecognitionSupported(documentType) {
|
|
491
|
+
const response = await UqudoId.isFacialRecognitionSupported({ value: documentType });
|
|
492
|
+
return response.value == true;
|
|
493
|
+
}
|
|
494
|
+
async isReadingSupported(documentType) {
|
|
495
|
+
const response = await UqudoId.isReadingSupported({ value: documentType });
|
|
496
|
+
return response.value == true;
|
|
497
|
+
}
|
|
490
498
|
}
|
|
491
499
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,OAAO,GAAG,cAAc,CAAgB,SAAS,EAAE;IACvD,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;CACzD,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,MAAM,OAAO,iBAAiB;IAA9B;QACU,iBAAY,GAAe,EAAE,CAAC;QAW9B,mBAAc,GAAG,cAAc,CAAC,MAAM,CAAC;IA6EjD,CAAC;IA3EC,QAAQ,CAAC,KAAa;QACpB,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,QAAQ,CAAC,KAAa;QACpB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;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4,9 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var core = require('@capacitor/core');
|
|
6
6
|
|
|
7
|
-
const UqudoId = core.registerPlugin('UqudoId'
|
|
8
|
-
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.UqudoIdWeb()),
|
|
9
|
-
});
|
|
7
|
+
const UqudoId = core.registerPlugin('UqudoId');
|
|
10
8
|
class EnrollmentBuilder {
|
|
11
9
|
constructor() {
|
|
12
10
|
this.documentList = [];
|
|
@@ -456,6 +454,8 @@ exports.DocumentType = void 0;
|
|
|
456
454
|
DocumentType["OMN_ID_RESIDENT"] = "OMN_ID_RESIDENT";
|
|
457
455
|
DocumentType["SEN_ID"] = "SEN_ID";
|
|
458
456
|
DocumentType["UGA_VOTER_ID"] = "UGA_VOTER_ID";
|
|
457
|
+
DocumentType["DZA_ID"] = "DZA_ID";
|
|
458
|
+
DocumentType["TUR_ID"] = "TUR_ID";
|
|
459
459
|
})(exports.DocumentType || (exports.DocumentType = {}));
|
|
460
460
|
exports.BackgroundCheckType = void 0;
|
|
461
461
|
(function (BackgroundCheckType) {
|
|
@@ -490,34 +490,16 @@ class UqudoPlugin {
|
|
|
490
490
|
const response = await UqudoId.faceSession({ value: faceSession });
|
|
491
491
|
return response;
|
|
492
492
|
}
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
init() {
|
|
497
|
-
throw new Error('Method not implemented.');
|
|
498
|
-
}
|
|
499
|
-
setLocale(options) {
|
|
500
|
-
console.log('setLocale', options);
|
|
493
|
+
async isFacialRecognitionSupported(documentType) {
|
|
494
|
+
const response = await UqudoId.isFacialRecognitionSupported({ value: documentType });
|
|
495
|
+
return response.value == true;
|
|
501
496
|
}
|
|
502
|
-
async
|
|
503
|
-
|
|
504
|
-
return
|
|
505
|
-
}
|
|
506
|
-
async recover(options) {
|
|
507
|
-
console.log('recover', options);
|
|
508
|
-
return options;
|
|
509
|
-
}
|
|
510
|
-
async faceSession(options) {
|
|
511
|
-
console.log('faceSession', options);
|
|
512
|
-
return options;
|
|
497
|
+
async isReadingSupported(documentType) {
|
|
498
|
+
const response = await UqudoId.isReadingSupported({ value: documentType });
|
|
499
|
+
return response.value == true;
|
|
513
500
|
}
|
|
514
501
|
}
|
|
515
502
|
|
|
516
|
-
var web = /*#__PURE__*/Object.freeze({
|
|
517
|
-
__proto__: null,
|
|
518
|
-
UqudoIdWeb: UqudoIdWeb
|
|
519
|
-
});
|
|
520
|
-
|
|
521
503
|
exports.AccountRecoveryConfiguration = AccountRecoveryConfiguration;
|
|
522
504
|
exports.AccountRecoveryConfigurationBuilder = AccountRecoveryConfigurationBuilder;
|
|
523
505
|
exports.BackgroundCheckConfiguration = BackgroundCheckConfiguration;
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst UqudoId = registerPlugin('UqudoId', {\n web: () => import('./web').then(m => new m.UqudoIdWeb()),\n});\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(facialRecognitionConfigurationBuilder) {\n if (facialRecognitionConfigurationBuilder === null) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfigurationBuilder;\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 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.maxAttempts);\n }\n}\nexport class FacialRecognitionConfiguration {\n constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, maxAttempts) {\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.enrollFace = enrollFace;\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n this.readMinimumMatchLevel = readMinimumMatchLevel;\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 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}\n///\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 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 || (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}\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class UqudoIdWeb extends WebPlugin {\n init() {\n throw new Error('Method not implemented.');\n }\n setLocale(options) {\n console.log('setLocale', options);\n }\n async enroll(options) {\n console.log('enroll', options);\n return options;\n }\n async recover(options) {\n console.log('recover', options);\n return options;\n }\n async faceSession(options) {\n console.log('faceSession', options);\n return options;\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","AppearanceMode","BackgroundCheckType","DocumentType","WebPlugin"],"mappings":";;;;;;AACK,MAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS,EAAE;AAC1C,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;AAC5D,CAAC,EAAE;AAGI,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,Y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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(facialRecognitionConfigurationBuilder) {\n if (facialRecognitionConfigurationBuilder === null) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfigurationBuilder;\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 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.maxAttempts);\n }\n}\nexport class FacialRecognitionConfiguration {\n constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, maxAttempts) {\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.enrollFace = enrollFace;\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n this.readMinimumMatchLevel = readMinimumMatchLevel;\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 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}\n///\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 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 || (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 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}\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin","AppearanceMode","BackgroundCheckType","DocumentType"],"mappings":";;;;;;AACK,MAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS,E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IAAI,MAAM,kBAAkB,CAAC,YAAY,EAAE;AAC3C,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;AACnF,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;AACtC,KAAK;AACL;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
(function (exports, core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
const UqudoId = core.registerPlugin('UqudoId'
|
|
5
|
-
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.UqudoIdWeb()),
|
|
6
|
-
});
|
|
4
|
+
const UqudoId = core.registerPlugin('UqudoId');
|
|
7
5
|
class EnrollmentBuilder {
|
|
8
6
|
constructor() {
|
|
9
7
|
this.documentList = [];
|
|
@@ -453,6 +451,8 @@ var capacitorUqudoId = (function (exports, core) {
|
|
|
453
451
|
DocumentType["OMN_ID_RESIDENT"] = "OMN_ID_RESIDENT";
|
|
454
452
|
DocumentType["SEN_ID"] = "SEN_ID";
|
|
455
453
|
DocumentType["UGA_VOTER_ID"] = "UGA_VOTER_ID";
|
|
454
|
+
DocumentType["DZA_ID"] = "DZA_ID";
|
|
455
|
+
DocumentType["TUR_ID"] = "TUR_ID";
|
|
456
456
|
})(exports.DocumentType || (exports.DocumentType = {}));
|
|
457
457
|
exports.BackgroundCheckType = void 0;
|
|
458
458
|
(function (BackgroundCheckType) {
|
|
@@ -487,34 +487,16 @@ var capacitorUqudoId = (function (exports, core) {
|
|
|
487
487
|
const response = await UqudoId.faceSession({ value: faceSession });
|
|
488
488
|
return response;
|
|
489
489
|
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
init() {
|
|
494
|
-
throw new Error('Method not implemented.');
|
|
495
|
-
}
|
|
496
|
-
setLocale(options) {
|
|
497
|
-
console.log('setLocale', options);
|
|
490
|
+
async isFacialRecognitionSupported(documentType) {
|
|
491
|
+
const response = await UqudoId.isFacialRecognitionSupported({ value: documentType });
|
|
492
|
+
return response.value == true;
|
|
498
493
|
}
|
|
499
|
-
async
|
|
500
|
-
|
|
501
|
-
return
|
|
502
|
-
}
|
|
503
|
-
async recover(options) {
|
|
504
|
-
console.log('recover', options);
|
|
505
|
-
return options;
|
|
506
|
-
}
|
|
507
|
-
async faceSession(options) {
|
|
508
|
-
console.log('faceSession', options);
|
|
509
|
-
return options;
|
|
494
|
+
async isReadingSupported(documentType) {
|
|
495
|
+
const response = await UqudoId.isReadingSupported({ value: documentType });
|
|
496
|
+
return response.value == true;
|
|
510
497
|
}
|
|
511
498
|
}
|
|
512
499
|
|
|
513
|
-
var web = /*#__PURE__*/Object.freeze({
|
|
514
|
-
__proto__: null,
|
|
515
|
-
UqudoIdWeb: UqudoIdWeb
|
|
516
|
-
});
|
|
517
|
-
|
|
518
500
|
exports.AccountRecoveryConfiguration = AccountRecoveryConfiguration;
|
|
519
501
|
exports.AccountRecoveryConfigurationBuilder = AccountRecoveryConfigurationBuilder;
|
|
520
502
|
exports.BackgroundCheckConfiguration = BackgroundCheckConfiguration;
|
|
@@ -535,7 +517,5 @@ var capacitorUqudoId = (function (exports, core) {
|
|
|
535
517
|
|
|
536
518
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
537
519
|
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
})({}, capacitorExports);
|
|
520
|
+
})(this["uqudosdk-capacitor"] = this["uqudosdk-capacitor"] || {}, capacitorExports);
|
|
541
521
|
//# sourceMappingURL=plugin.js.map
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst UqudoId = registerPlugin('UqudoId', {\n web: () => import('./web').then(m => new m.UqudoIdWeb()),\n});\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(facialRecognitionConfigurationBuilder) {\n if (facialRecognitionConfigurationBuilder === null) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfigurationBuilder;\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 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.maxAttempts);\n }\n}\nexport class FacialRecognitionConfiguration {\n constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, maxAttempts) {\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.enrollFace = enrollFace;\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n this.readMinimumMatchLevel = readMinimumMatchLevel;\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 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}\n///\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 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 || (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}\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class UqudoIdWeb extends WebPlugin {\n init() {\n throw new Error('Method not implemented.');\n }\n setLocale(options) {\n console.log('setLocale', options);\n }\n async enroll(options) {\n console.log('enroll', options);\n return options;\n }\n async recover(options) {\n console.log('recover', options);\n return options;\n }\n async faceSession(options) {\n console.log('faceSession', options);\n return options;\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","AppearanceMode","BackgroundCheckType","DocumentType","WebPlugin"],"mappings":";;;AACK,UAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS,EAAE;IAC1C,IAAI,GAAG,EAAE,MAAM,mDAAe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IAAI,MAAM,MAAM,CAAC,OAAO,EAAE;IAC1B,QAAQ,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACvC,QAAQ,OAAO,OAAO,CAAC;IACvB,KAAK;IACL,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;IAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACxC,QAAQ,OAAO,OAAO,CAAC;IACvB,KAAK;IACL,IAAI,MAAM,WAAW,CAAC,OAAO,EAAE;IAC/B,QAAQ,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAC5C,QAAQ,OAAO,OAAO,CAAC;IACvB,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(facialRecognitionConfigurationBuilder) {\n if (facialRecognitionConfigurationBuilder === null) {\n this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();\n }\n else {\n this.facialRecognitionSpecification = facialRecognitionConfigurationBuilder;\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 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.maxAttempts);\n }\n}\nexport class FacialRecognitionConfiguration {\n constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, maxAttempts) {\n this.isHelpPageDisabled = isHelpPageDisabled;\n this.enrollFace = enrollFace;\n this.scanMinimumMatchLevel = scanMinimumMatchLevel;\n this.readMinimumMatchLevel = readMinimumMatchLevel;\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 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}\n///\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 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 || (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 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}\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,IAAI,CAAC;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AC;IACnE,QAAQ,OAAO,QAAQ,CAAC;IACxB,KAAK;IACL,IAAI,MAAM,WAAW,CAAC,cAAc,EAAE;IACtC,QAAQ,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC3D,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAC;IAC3E,QAAQ,OAAO,QAAQ,CAAC;IACxB,KAAK;IACL,IAAI,MAAM,4BAA4B,CAAC,YAAY,EAAE;IACrD,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,4BAA4B,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;IAC7F,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;IACtC,KAAK;IACL,IAAI,MAAM,kBAAkB,CAAC,YAAY,EAAE;IAC3C,QAAQ,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;IACnF,QAAQ,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,CAAC;IACtC,KAAK;IACL;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/ios/Plugin/UqudoId.m
CHANGED
|
@@ -156,7 +156,6 @@
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
if (document[@"readingConfiguration"]) {
|
|
159
|
-
if (@available(iOS 13, *)) {
|
|
160
159
|
NSDictionary *readingConfiguration = document[@"readingConfiguration"];
|
|
161
160
|
|
|
162
161
|
UQReadingConfig *readConfig = [[UQReadingConfig alloc] init];
|
|
@@ -178,7 +177,6 @@
|
|
|
178
177
|
}
|
|
179
178
|
|
|
180
179
|
documentObject.reading = readConfig;
|
|
181
|
-
}
|
|
182
180
|
}
|
|
183
181
|
|
|
184
182
|
[enrollmentBuilder add:documentObject];
|
|
@@ -455,6 +453,44 @@
|
|
|
455
453
|
}
|
|
456
454
|
}
|
|
457
455
|
|
|
456
|
+
- (void)isFacialRecognitionSupported:(CAPPluginCall*)call{
|
|
457
|
+
self.pluginCall = call;
|
|
458
|
+
NSString* documentType = call.options[@"value"];
|
|
459
|
+
|
|
460
|
+
@try {
|
|
461
|
+
UQDocumentConfig *documentObject = [[UQDocumentConfig alloc] initWithDocumentTypeName:documentType];
|
|
462
|
+
CAPPluginCallResult *result = [[CAPPluginCallResult alloc]init:@{@"value":@(documentObject.isSupportFaceRecognition)}];
|
|
463
|
+
pluginCall.successHandler(result, pluginCall);
|
|
464
|
+
}
|
|
465
|
+
@catch (NSException *exception) {
|
|
466
|
+
NSLog(@"%@", exception.callStackSymbols);
|
|
467
|
+
UQSessionStatus *status =[[UQSessionStatus alloc] init];
|
|
468
|
+
status.statusCode = UNEXPECTED_ERROR;
|
|
469
|
+
status.message = @"Expected document type as argument.";
|
|
470
|
+
status.statusTask = -1;
|
|
471
|
+
[self sendPluginError:status];
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
- (void)isReadingSupported:(CAPPluginCall*)call{
|
|
476
|
+
self.pluginCall = call;
|
|
477
|
+
NSString* documentType = call.options[@"value"];
|
|
478
|
+
|
|
479
|
+
@try {
|
|
480
|
+
UQDocumentConfig *documentObject = [[UQDocumentConfig alloc] initWithDocumentTypeName:documentType];
|
|
481
|
+
CAPPluginCallResult *result = [[CAPPluginCallResult alloc]init:@{@"value":@(documentObject.isSupportReading)}];
|
|
482
|
+
pluginCall.successHandler(result, pluginCall);
|
|
483
|
+
}
|
|
484
|
+
@catch (NSException *exception) {
|
|
485
|
+
NSLog(@"%@", exception.callStackSymbols);
|
|
486
|
+
UQSessionStatus *status =[[UQSessionStatus alloc] init];
|
|
487
|
+
status.statusCode = UNEXPECTED_ERROR;
|
|
488
|
+
status.message = @"Expected document type as argument.";
|
|
489
|
+
status.statusTask = -1;
|
|
490
|
+
[self sendPluginError:status];
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
458
494
|
- (void)didFaceSessionCompleteWithInfo:(nonnull NSString *)jwsString {
|
|
459
495
|
CAPPluginCallResult *result = [[CAPPluginCallResult alloc]init:@{@"value":jwsString}];
|
|
460
496
|
pluginCall.successHandler(result, pluginCall);
|
|
@@ -9,4 +9,6 @@ CAP_PLUGIN(UqudoId, "UqudoId",
|
|
|
9
9
|
CAP_PLUGIN_METHOD(enroll, CAPPluginReturnPromise);
|
|
10
10
|
CAP_PLUGIN_METHOD(recover, CAPPluginReturnPromise);
|
|
11
11
|
CAP_PLUGIN_METHOD(faceSession, CAPPluginReturnPromise);
|
|
12
|
+
CAP_PLUGIN_METHOD(isFacialRecognitionSupported, CAPPluginReturnPromise);
|
|
13
|
+
CAP_PLUGIN_METHOD(isReadingSupported, CAPPluginReturnPromise);
|
|
12
14
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uqudosdk-capacitor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Capacitor plugin for UqudoSDK",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -16,6 +16,45 @@
|
|
|
16
16
|
],
|
|
17
17
|
"author": "uqudo",
|
|
18
18
|
"license": "MIT",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
21
|
+
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..",
|
|
22
|
+
"verify:android": "cd android && ./gradlew clean build test && cd ..",
|
|
23
|
+
"verify:web": "npm run build",
|
|
24
|
+
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
25
|
+
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format",
|
|
26
|
+
"eslint": "eslint . --ext ts",
|
|
27
|
+
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
|
|
28
|
+
"swiftlint": "node-swiftlint",
|
|
29
|
+
"build": "npm run clean && tsc && rollup -c rollup.config.js",
|
|
30
|
+
"clean": "rimraf ./dist",
|
|
31
|
+
"watch": "tsc --watch",
|
|
32
|
+
"prepublishOnly": "npm run build"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@capacitor/android": "next",
|
|
36
|
+
"@capacitor/core": "next",
|
|
37
|
+
"@capacitor/docgen": "^0.0.10",
|
|
38
|
+
"@capacitor/ios": "next",
|
|
39
|
+
"@ionic/eslint-config": "^0.3.0",
|
|
40
|
+
"@ionic/prettier-config": "^1.0.1",
|
|
41
|
+
"@ionic/swiftlint-config": "^1.1.2",
|
|
42
|
+
"eslint": "^7.11.0",
|
|
43
|
+
"prettier": "~2.2.0",
|
|
44
|
+
"prettier-plugin-java": "~1.0.0",
|
|
45
|
+
"rimraf": "^3.0.2",
|
|
46
|
+
"rollup": "^2.32.0",
|
|
47
|
+
"swiftlint": "^1.0.1",
|
|
48
|
+
"typescript": "~4.0.3"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"@capacitor/core": "next"
|
|
52
|
+
},
|
|
53
|
+
"prettier": "@ionic/prettier-config",
|
|
54
|
+
"swiftlint": "@ionic/swiftlint-config",
|
|
55
|
+
"eslintConfig": {
|
|
56
|
+
"extends": "@ionic/eslint-config/recommended"
|
|
57
|
+
},
|
|
19
58
|
"capacitor": {
|
|
20
59
|
"ios": {
|
|
21
60
|
"src": "ios"
|
package/dist/esm/web.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { WebPlugin } from '@capacitor/core';
|
|
2
|
-
import type { UqudoIdPlugin } from './definitions';
|
|
3
|
-
export declare class UqudoIdWeb extends WebPlugin implements UqudoIdPlugin {
|
|
4
|
-
init(): void;
|
|
5
|
-
setLocale(options: {
|
|
6
|
-
value: string;
|
|
7
|
-
}): void;
|
|
8
|
-
enroll(options: {
|
|
9
|
-
value: string;
|
|
10
|
-
}): Promise<{
|
|
11
|
-
value: string;
|
|
12
|
-
}>;
|
|
13
|
-
recover(options: {
|
|
14
|
-
value: string;
|
|
15
|
-
}): Promise<{
|
|
16
|
-
value: string;
|
|
17
|
-
}>;
|
|
18
|
-
faceSession(options: {
|
|
19
|
-
value: string;
|
|
20
|
-
}): Promise<{
|
|
21
|
-
value: string;
|
|
22
|
-
}>;
|
|
23
|
-
}
|
package/dist/esm/web.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { WebPlugin } from '@capacitor/core';
|
|
2
|
-
export class UqudoIdWeb extends WebPlugin {
|
|
3
|
-
init() {
|
|
4
|
-
throw new Error('Method not implemented.');
|
|
5
|
-
}
|
|
6
|
-
setLocale(options) {
|
|
7
|
-
console.log('setLocale', options);
|
|
8
|
-
}
|
|
9
|
-
async enroll(options) {
|
|
10
|
-
console.log('enroll', options);
|
|
11
|
-
return options;
|
|
12
|
-
}
|
|
13
|
-
async recover(options) {
|
|
14
|
-
console.log('recover', options);
|
|
15
|
-
return options;
|
|
16
|
-
}
|
|
17
|
-
async faceSession(options) {
|
|
18
|
-
console.log('faceSession', options);
|
|
19
|
-
return options;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=web.js.map
|
package/dist/esm/web.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,MAAM,OAAO,UAAW,SAAQ,SAAS;IACvC,IAAI;QACF,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IACD,SAAS,CAAC,OAA2B;QACnC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAA2B;QACtC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC/B,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,OAA2B;QACvC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAChC,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,OAA2B;QAC3C,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;CACF"}
|