uqudosdk-capacitor 2.2.1
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/LICENSE +21 -0
- package/README.md +20 -0
- package/UqudosdkCapacitor.podspec +19 -0
- package/android/build.gradle +65 -0
- package/android/src/main/AndroidManifest.xml +3 -0
- package/android/src/main/java/io/uqudo/sdk/id/capacitor/UqudoIdPlugin.java +375 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/esm/definitions.d.ts +21 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +318 -0
- package/dist/esm/index.js +491 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +23 -0
- package/dist/esm/web.js +22 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +538 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +541 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/MyTracer.h +6 -0
- package/ios/Plugin/UqudoId.m +518 -0
- package/ios/Plugin/UqudoIdPlugin.h +10 -0
- package/ios/Plugin/UqudoIdPlugin.m +12 -0
- package/ios/Plugin/UqudoIdPlugin.swift +11 -0
- package/package.json +27 -0
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var core = require('@capacitor/core');
|
|
6
|
+
|
|
7
|
+
const UqudoId = core.registerPlugin('UqudoId', {
|
|
8
|
+
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.UqudoIdWeb()),
|
|
9
|
+
});
|
|
10
|
+
class EnrollmentBuilder {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.documentList = [];
|
|
13
|
+
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
14
|
+
}
|
|
15
|
+
setToken(token) {
|
|
16
|
+
this.authorizationToken = token;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
setNonce(nonce) {
|
|
20
|
+
this.nonce = nonce;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
setSessionId(sessionId) {
|
|
24
|
+
this.sessionId = sessionId;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
setUserIdentifier(userIdentifier) {
|
|
28
|
+
this.userIdentifier = userIdentifier;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
enableRootedDeviceUsage() {
|
|
32
|
+
this.isRootedDeviceAllowed = true;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
disableSecureWindow() {
|
|
36
|
+
this.isSecuredWindowsDisabled = true;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
enableFacialRecognition(facialRecognitionConfigurationBuilder) {
|
|
40
|
+
if (facialRecognitionConfigurationBuilder === null) {
|
|
41
|
+
this.facialRecognitionSpecification = new FacialRecognitionConfigurationBuilder().build();
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.facialRecognitionSpecification = facialRecognitionConfigurationBuilder;
|
|
45
|
+
}
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
enableBackgroundCheck(backgroundCheckConfiguration) {
|
|
49
|
+
this.backgroundCheckConfiguration = backgroundCheckConfiguration;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
returnDataForIncompleteSession() {
|
|
53
|
+
this.isReturnDataForIncompleteSession = true;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
enableLookup(documents) {
|
|
57
|
+
if (documents == null) {
|
|
58
|
+
this.lookupConfiguration = new LookupConfiguration([]);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
this.lookupConfiguration = new LookupConfiguration(documents);
|
|
62
|
+
}
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
add(document) {
|
|
66
|
+
this.documentList.push(document);
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
setAppearanceMode(appearanceMode) {
|
|
70
|
+
this.appearanceMode = appearanceMode;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
build() {
|
|
74
|
+
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);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
class Enrollment {
|
|
78
|
+
constructor(documentList, authorizationToken, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, facialRecognitionSpecification, backgroundCheckConfiguration, lookupConfiguration, sessionId, userIdentifier, isReturnDataForIncompleteSession, appearanceMode) {
|
|
79
|
+
this.documentList = documentList;
|
|
80
|
+
this.authorizationToken = authorizationToken;
|
|
81
|
+
this.nonce = nonce;
|
|
82
|
+
this.isRootedDeviceAllowed = isRootedDeviceAllowed;
|
|
83
|
+
this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;
|
|
84
|
+
this.facialRecognitionSpecification = facialRecognitionSpecification;
|
|
85
|
+
this.backgroundCheckConfiguration = backgroundCheckConfiguration;
|
|
86
|
+
this.lookupConfiguration = lookupConfiguration;
|
|
87
|
+
this.sessionId = sessionId;
|
|
88
|
+
this.userIdentifier = userIdentifier;
|
|
89
|
+
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
90
|
+
this.appearanceMode = appearanceMode;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
class FacialRecognitionConfigurationBuilder {
|
|
94
|
+
disableHelpPage() {
|
|
95
|
+
this.isHelpPageDisabled = true;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
enrollFace() {
|
|
99
|
+
this.isEnrollFace = true;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
setScanMinimumMatchLevel(scanMinimumMatchLevel) {
|
|
103
|
+
this.scanMinimumMatchLevel = scanMinimumMatchLevel;
|
|
104
|
+
return this;
|
|
105
|
+
}
|
|
106
|
+
setReadMinimumMatchLevel(readMinimumMatchLevel) {
|
|
107
|
+
this.readMinimumMatchLevel = readMinimumMatchLevel;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
setMaxAttempts(maxAttempts) {
|
|
111
|
+
this.maxAttempts = maxAttempts;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
build() {
|
|
115
|
+
return new FacialRecognitionConfiguration(this.isHelpPageDisabled, this.isEnrollFace, this.scanMinimumMatchLevel, this.readMinimumMatchLevel, this.maxAttempts);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
class FacialRecognitionConfiguration {
|
|
119
|
+
constructor(isHelpPageDisabled, enrollFace, scanMinimumMatchLevel, readMinimumMatchLevel, maxAttempts) {
|
|
120
|
+
this.isHelpPageDisabled = isHelpPageDisabled;
|
|
121
|
+
this.enrollFace = enrollFace;
|
|
122
|
+
this.scanMinimumMatchLevel = scanMinimumMatchLevel;
|
|
123
|
+
this.readMinimumMatchLevel = readMinimumMatchLevel;
|
|
124
|
+
this.maxAttempts = maxAttempts;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
class BackgroundCheckConfigurationBuilder {
|
|
128
|
+
constructor() {
|
|
129
|
+
this.backgroundCheckType = exports.BackgroundCheckType.RDC;
|
|
130
|
+
}
|
|
131
|
+
disableConsent() {
|
|
132
|
+
this.isDisableConsent = true;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
135
|
+
enableMonitoring() {
|
|
136
|
+
this.monitoringEnabled = true;
|
|
137
|
+
return this;
|
|
138
|
+
}
|
|
139
|
+
setBackgroundCheckType(backgroundCheckType) {
|
|
140
|
+
this.backgroundCheckType = backgroundCheckType;
|
|
141
|
+
return this;
|
|
142
|
+
}
|
|
143
|
+
skipView() {
|
|
144
|
+
this.isSkipView = true;
|
|
145
|
+
return this;
|
|
146
|
+
}
|
|
147
|
+
build() {
|
|
148
|
+
return new BackgroundCheckConfiguration(this.backgroundCheckType, this.isDisableConsent, this.monitoringEnabled, this.isSkipView);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class LookupConfiguration {
|
|
152
|
+
constructor(documents) {
|
|
153
|
+
this.documentsList = documents;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
class BackgroundCheckConfiguration {
|
|
157
|
+
constructor(backgroundCheckType, disableConsent, monitoringEnabled, skipView) {
|
|
158
|
+
this.disableConsent = disableConsent;
|
|
159
|
+
this.backgroundCheckType = backgroundCheckType;
|
|
160
|
+
this.monitoringEnabled = monitoringEnabled;
|
|
161
|
+
this.skipView = skipView;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
class Document {
|
|
165
|
+
constructor(type, readConfig, isHelpPageDisabled, faceScanLevel, faceReadLevel, isExpiredDocumentValidateDisabled, isFrontSideReviewEnabled, isBackSideReviewEnabled, isUploadEnabled, isPhotoQualityDetectionEnabled, minimumAge) {
|
|
166
|
+
this.documentType = type;
|
|
167
|
+
this.readingConfiguration = readConfig;
|
|
168
|
+
this.isHelpPageDisabled = isHelpPageDisabled;
|
|
169
|
+
this.faceScanMinimumMatchLevel = faceScanLevel;
|
|
170
|
+
this.faceReadMinimumMatchLevel = faceReadLevel;
|
|
171
|
+
this.isExpiredDocumentValidateDisabled = isExpiredDocumentValidateDisabled;
|
|
172
|
+
this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;
|
|
173
|
+
this.isBackSideReviewEnabled = isBackSideReviewEnabled;
|
|
174
|
+
this.isUploadEnabled = isUploadEnabled;
|
|
175
|
+
this.isPhotoQualityDetectionEnabled = isPhotoQualityDetectionEnabled;
|
|
176
|
+
this.minimumAge = minimumAge;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
class DocumentBuilder {
|
|
180
|
+
setDocumentType(documentType) {
|
|
181
|
+
this.documentType = documentType;
|
|
182
|
+
return this;
|
|
183
|
+
}
|
|
184
|
+
disableHelpPage() {
|
|
185
|
+
this.isHelpPageDisabled = true;
|
|
186
|
+
return this;
|
|
187
|
+
}
|
|
188
|
+
enableReading(readingConfiguration) {
|
|
189
|
+
if (readingConfiguration === null) {
|
|
190
|
+
this.readingConfiguration = new ReadingConfigurationBuilder().build();
|
|
191
|
+
}
|
|
192
|
+
else {
|
|
193
|
+
this.readingConfiguration = readingConfiguration;
|
|
194
|
+
}
|
|
195
|
+
return this;
|
|
196
|
+
}
|
|
197
|
+
disableExpiryValidation() {
|
|
198
|
+
this.isExpiredDocumentValidateDisabled = true;
|
|
199
|
+
return this;
|
|
200
|
+
}
|
|
201
|
+
setFaceScanMinimumMatchLevel(faceScanMinimumMatchLevel) {
|
|
202
|
+
this.faceScanMinimumMatchLevel = faceScanMinimumMatchLevel;
|
|
203
|
+
return this;
|
|
204
|
+
}
|
|
205
|
+
setFaceReadMinimumMatchLevel(faceReadMinimumMatchLevel) {
|
|
206
|
+
this.faceReadMinimumMatchLevel = faceReadMinimumMatchLevel;
|
|
207
|
+
return this;
|
|
208
|
+
}
|
|
209
|
+
enableScanReview(isFrontSideReviewEnabled, isBackSideReviewEnabled) {
|
|
210
|
+
this.isBackSideReviewEnabled = isBackSideReviewEnabled;
|
|
211
|
+
this.isFrontSideReviewEnabled = isFrontSideReviewEnabled;
|
|
212
|
+
return this;
|
|
213
|
+
}
|
|
214
|
+
enableUpload() {
|
|
215
|
+
this.isUploadEnabled = true;
|
|
216
|
+
return this;
|
|
217
|
+
}
|
|
218
|
+
enableAgeVerification(minAge) {
|
|
219
|
+
this.minimumAge = minAge;
|
|
220
|
+
return this;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @deprecated Ignored and enabled by default. Will be removed in a future release
|
|
224
|
+
*/
|
|
225
|
+
enablePhotoQualityDetection() {
|
|
226
|
+
this.isPhotoQualityDetectionEnabled = true;
|
|
227
|
+
return this;
|
|
228
|
+
}
|
|
229
|
+
build() {
|
|
230
|
+
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);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
class ReadingConfiguration {
|
|
234
|
+
constructor(forceRead, forceReadIfSupported, timeoutInSeconds) {
|
|
235
|
+
this.forceReading = forceRead;
|
|
236
|
+
this.forceReadingIfSupported = forceReadIfSupported;
|
|
237
|
+
this.timeoutInSeconds = timeoutInSeconds;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
class ReadingConfigurationBuilder {
|
|
241
|
+
forceReading(value) {
|
|
242
|
+
this.forceReadingValue = value;
|
|
243
|
+
return this;
|
|
244
|
+
}
|
|
245
|
+
forceReadingIfSupported(value) {
|
|
246
|
+
this.forceReadingIfSupportedValue = value;
|
|
247
|
+
return this;
|
|
248
|
+
}
|
|
249
|
+
forceReadingTimeout(value) {
|
|
250
|
+
this.timeoutInSeconds = value;
|
|
251
|
+
return this;
|
|
252
|
+
}
|
|
253
|
+
build() {
|
|
254
|
+
return new ReadingConfiguration(this.forceReadingValue, this.forceReadingIfSupportedValue, this.timeoutInSeconds);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
class AccountRecoveryConfigurationBuilder {
|
|
258
|
+
constructor() {
|
|
259
|
+
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Pass the token received from Uqudo to authenticate the SDK
|
|
263
|
+
*/
|
|
264
|
+
setToken(token) {
|
|
265
|
+
this.authorizationToken = token;
|
|
266
|
+
return this;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Pass the enrollment identifier for the account to be recovered
|
|
270
|
+
*/
|
|
271
|
+
setEnrollmentIdentifier(identifier) {
|
|
272
|
+
this.enrollmentIdentifier = identifier;
|
|
273
|
+
return this;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* You can pass your custom nonce to provide security to the enrollment process
|
|
277
|
+
*/
|
|
278
|
+
setNonce(nonce) {
|
|
279
|
+
this.nonce = nonce;
|
|
280
|
+
return this;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Whether you want the sdk to run on the rooted devices or not. By default it is false
|
|
284
|
+
*/
|
|
285
|
+
enableRootedDeviceUsage() {
|
|
286
|
+
this.isRootedDeviceAllowed = true;
|
|
287
|
+
return this;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* To allow user to capture/record screenshot or video of the screen on the device app is installed.
|
|
291
|
+
* Default is screenshot and video recording of the screen is not allowed
|
|
292
|
+
*/
|
|
293
|
+
disableSecureWindow() {
|
|
294
|
+
this.isSecuredWindowsDisabled = true;
|
|
295
|
+
return this;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Set this to use the value passed for facialRecognition for Account Recovery
|
|
299
|
+
*/
|
|
300
|
+
setMinimumMatchLevel(value) {
|
|
301
|
+
this.minimumMatchLevel = value;
|
|
302
|
+
return this;
|
|
303
|
+
}
|
|
304
|
+
setMaxAttempts(value) {
|
|
305
|
+
this.maxAttempts = value;
|
|
306
|
+
return this;
|
|
307
|
+
}
|
|
308
|
+
returnDataForIncompleteSession() {
|
|
309
|
+
this.isReturnDataForIncompleteSession = true;
|
|
310
|
+
return this;
|
|
311
|
+
}
|
|
312
|
+
setAppearanceMode(appearanceMode) {
|
|
313
|
+
this.appearanceMode = appearanceMode;
|
|
314
|
+
return this;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* @returns Intent with the configuration and the token needed to authorize the activity to
|
|
318
|
+
* recover the account
|
|
319
|
+
*/
|
|
320
|
+
build() {
|
|
321
|
+
return new AccountRecoveryConfiguration(this.authorizationToken, this.enrollmentIdentifier, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
class AccountRecoveryConfiguration {
|
|
325
|
+
constructor(token, enrollmentIdentifier, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {
|
|
326
|
+
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
327
|
+
this.token = token;
|
|
328
|
+
this.enrollmentIdentifier = enrollmentIdentifier;
|
|
329
|
+
this.nonce = nonce;
|
|
330
|
+
this.isRootedDeviceAllowed = isRootedDeviceAllowed;
|
|
331
|
+
this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;
|
|
332
|
+
this.minimumMatchLevel = minimumMatchLevel;
|
|
333
|
+
this.maxAttempts = maxAttempts;
|
|
334
|
+
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
335
|
+
this.appearanceMode = appearanceMode;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
///
|
|
339
|
+
class FaceSessionConfigurationBuilder {
|
|
340
|
+
constructor() {
|
|
341
|
+
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Pass the token received from Uqudo to authenticate the SDK
|
|
345
|
+
*/
|
|
346
|
+
setToken(token) {
|
|
347
|
+
this.authorizationToken = token;
|
|
348
|
+
return this;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Pass the enrollment identifier for facial recognition
|
|
352
|
+
*/
|
|
353
|
+
setSessionId(identifier) {
|
|
354
|
+
this.sessionId = identifier;
|
|
355
|
+
return this;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* You can pass your custom nonce to provide security to the facial recognition process
|
|
359
|
+
*/
|
|
360
|
+
setNonce(nonce) {
|
|
361
|
+
this.nonce = nonce;
|
|
362
|
+
return this;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Whether you want the sdk to run on the rooted devices or not. By default it is false
|
|
366
|
+
*/
|
|
367
|
+
enableRootedDeviceUsage() {
|
|
368
|
+
this.isRootedDeviceAllowed = true;
|
|
369
|
+
return this;
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* To allow user to capture/record screenshot or video of the screen on the device app is installed.
|
|
373
|
+
* Default is screenshot and video recording of the screen is not allowed
|
|
374
|
+
*/
|
|
375
|
+
disableSecureWindow() {
|
|
376
|
+
this.isSecuredWindowsDisabled = true;
|
|
377
|
+
return this;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Set this to use the value passed for facialRecognition for facial recognition
|
|
381
|
+
*/
|
|
382
|
+
setMinimumMatchLevel(value) {
|
|
383
|
+
this.minimumMatchLevel = value;
|
|
384
|
+
return this;
|
|
385
|
+
}
|
|
386
|
+
setMaxAttempts(value) {
|
|
387
|
+
this.maxAttempts = value;
|
|
388
|
+
return this;
|
|
389
|
+
}
|
|
390
|
+
returnDataForIncompleteSession() {
|
|
391
|
+
this.isReturnDataForIncompleteSession = true;
|
|
392
|
+
return this;
|
|
393
|
+
}
|
|
394
|
+
setAppearanceMode(appearanceMode) {
|
|
395
|
+
this.appearanceMode = appearanceMode;
|
|
396
|
+
return this;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* @returns Intent with the configuration and the token needed to authorize the activity to
|
|
400
|
+
* facial recognition
|
|
401
|
+
*/
|
|
402
|
+
build() {
|
|
403
|
+
return new FaceSessionConfiguration(this.authorizationToken, this.sessionId, this.nonce, this.isRootedDeviceAllowed, this.isSecuredWindowsDisabled, this.minimumMatchLevel, this.maxAttempts, this.isReturnDataForIncompleteSession, this.appearanceMode);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
class FaceSessionConfiguration {
|
|
407
|
+
constructor(token, sessionId, nonce, isRootedDeviceAllowed, isSecuredWindowsDisabled, minimumMatchLevel, maxAttempts, isReturnDataForIncompleteSession, appearanceMode) {
|
|
408
|
+
this.appearanceMode = exports.AppearanceMode.SYSTEM;
|
|
409
|
+
this.token = token;
|
|
410
|
+
this.sessionId = sessionId;
|
|
411
|
+
this.nonce = nonce;
|
|
412
|
+
this.isRootedDeviceAllowed = isRootedDeviceAllowed;
|
|
413
|
+
this.isSecuredWindowsDisabled = isSecuredWindowsDisabled;
|
|
414
|
+
this.minimumMatchLevel = minimumMatchLevel;
|
|
415
|
+
this.maxAttempts = maxAttempts;
|
|
416
|
+
this.isReturnDataForIncompleteSession = isReturnDataForIncompleteSession;
|
|
417
|
+
this.appearanceMode = appearanceMode;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
exports.DocumentType = void 0;
|
|
421
|
+
(function (DocumentType) {
|
|
422
|
+
DocumentType["BHR_ID"] = "BHR_ID";
|
|
423
|
+
DocumentType["GENERIC_ID"] = "GENERIC_ID";
|
|
424
|
+
DocumentType["KWT_ID"] = "KWT_ID";
|
|
425
|
+
DocumentType["OMN_ID"] = "OMN_ID";
|
|
426
|
+
DocumentType["PAK_ID"] = "PAK_ID";
|
|
427
|
+
DocumentType["PASSPORT"] = "PASSPORT";
|
|
428
|
+
DocumentType["SAU_ID"] = "SAU_ID";
|
|
429
|
+
DocumentType["UAE_ID"] = "UAE_ID";
|
|
430
|
+
DocumentType["UAE_DL"] = "UAE_DL";
|
|
431
|
+
DocumentType["UAE_VISA"] = "UAE_VISA";
|
|
432
|
+
DocumentType["UAE_VL"] = "UAE_VL";
|
|
433
|
+
DocumentType["QAT_ID"] = "QAT_ID";
|
|
434
|
+
DocumentType["NLD_DL"] = "NLD_DL";
|
|
435
|
+
DocumentType["DEU_ID"] = "DEU_ID";
|
|
436
|
+
DocumentType["SDN_ID"] = "SDN_ID";
|
|
437
|
+
DocumentType["SDN_DL"] = "SDN_DL";
|
|
438
|
+
DocumentType["SDN_VL"] = "SDN_VL";
|
|
439
|
+
DocumentType["GHA_ID"] = "GHA_ID";
|
|
440
|
+
DocumentType["NGA_DL"] = "NGA_DL";
|
|
441
|
+
DocumentType["NGA_VOTER_ID"] = "NGA_VOTER_ID";
|
|
442
|
+
DocumentType["NGA_NIN"] = "NGA_NIN";
|
|
443
|
+
DocumentType["GBR_DL"] = "GBR_DL";
|
|
444
|
+
DocumentType["SAU_DL"] = "SAU_DL";
|
|
445
|
+
DocumentType["ZAF_ID"] = "ZAF_ID";
|
|
446
|
+
DocumentType["ZAF_DL"] = "ZAF_DL";
|
|
447
|
+
DocumentType["EGY_ID"] = "EGY_ID";
|
|
448
|
+
DocumentType["RWA_ID"] = "RWA_ID";
|
|
449
|
+
DocumentType["KEN_ID"] = "KEN_ID";
|
|
450
|
+
DocumentType["GHA_DL"] = "GHA_DL";
|
|
451
|
+
DocumentType["GHA_VOTER_ID"] = "GHA_VOTER_ID";
|
|
452
|
+
DocumentType["GHA_SSNIT"] = "GHA_SSNIT";
|
|
453
|
+
DocumentType["UGA_ID"] = "UGA_ID";
|
|
454
|
+
DocumentType["IND_ID"] = "IND_ID";
|
|
455
|
+
DocumentType["OMN_ID_NATIONAL"] = "OMN_ID_NATIONAL";
|
|
456
|
+
DocumentType["OMN_ID_RESIDENT"] = "OMN_ID_RESIDENT";
|
|
457
|
+
DocumentType["SEN_ID"] = "SEN_ID";
|
|
458
|
+
DocumentType["UGA_VOTER_ID"] = "UGA_VOTER_ID";
|
|
459
|
+
})(exports.DocumentType || (exports.DocumentType = {}));
|
|
460
|
+
exports.BackgroundCheckType = void 0;
|
|
461
|
+
(function (BackgroundCheckType) {
|
|
462
|
+
BackgroundCheckType["RDC"] = "RDC";
|
|
463
|
+
BackgroundCheckType["DOW_JONES"] = "DOW_JONES";
|
|
464
|
+
})(exports.BackgroundCheckType || (exports.BackgroundCheckType = {}));
|
|
465
|
+
exports.AppearanceMode = void 0;
|
|
466
|
+
(function (AppearanceMode) {
|
|
467
|
+
AppearanceMode["SYSTEM"] = "SYSTEM";
|
|
468
|
+
AppearanceMode["LIGHT"] = "LIGHT";
|
|
469
|
+
AppearanceMode["DARK"] = "DARK";
|
|
470
|
+
})(exports.AppearanceMode || (exports.AppearanceMode = {}));
|
|
471
|
+
class UqudoPlugin {
|
|
472
|
+
init() {
|
|
473
|
+
UqudoId.init();
|
|
474
|
+
}
|
|
475
|
+
setLocale(locale) {
|
|
476
|
+
UqudoId.setLocale({ value: locale });
|
|
477
|
+
}
|
|
478
|
+
async enroll(enrollObj) {
|
|
479
|
+
const enroll = JSON.stringify(enrollObj);
|
|
480
|
+
const response = await UqudoId.enroll({ value: enroll });
|
|
481
|
+
return response;
|
|
482
|
+
}
|
|
483
|
+
async recover(recoverObj) {
|
|
484
|
+
const recover = JSON.stringify(recoverObj);
|
|
485
|
+
const response = await UqudoId.recover({ value: recover });
|
|
486
|
+
return response;
|
|
487
|
+
}
|
|
488
|
+
async faceSession(faceSessionObj) {
|
|
489
|
+
const faceSession = JSON.stringify(faceSessionObj);
|
|
490
|
+
const response = await UqudoId.faceSession({ value: faceSession });
|
|
491
|
+
return response;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
class UqudoIdWeb extends core.WebPlugin {
|
|
496
|
+
init() {
|
|
497
|
+
throw new Error('Method not implemented.');
|
|
498
|
+
}
|
|
499
|
+
setLocale(options) {
|
|
500
|
+
console.log('setLocale', options);
|
|
501
|
+
}
|
|
502
|
+
async enroll(options) {
|
|
503
|
+
console.log('enroll', options);
|
|
504
|
+
return options;
|
|
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;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
var web = /*#__PURE__*/Object.freeze({
|
|
517
|
+
__proto__: null,
|
|
518
|
+
UqudoIdWeb: UqudoIdWeb
|
|
519
|
+
});
|
|
520
|
+
|
|
521
|
+
exports.AccountRecoveryConfiguration = AccountRecoveryConfiguration;
|
|
522
|
+
exports.AccountRecoveryConfigurationBuilder = AccountRecoveryConfigurationBuilder;
|
|
523
|
+
exports.BackgroundCheckConfiguration = BackgroundCheckConfiguration;
|
|
524
|
+
exports.BackgroundCheckConfigurationBuilder = BackgroundCheckConfigurationBuilder;
|
|
525
|
+
exports.Document = Document;
|
|
526
|
+
exports.DocumentBuilder = DocumentBuilder;
|
|
527
|
+
exports.Enrollment = Enrollment;
|
|
528
|
+
exports.EnrollmentBuilder = EnrollmentBuilder;
|
|
529
|
+
exports.FaceSessionConfiguration = FaceSessionConfiguration;
|
|
530
|
+
exports.FaceSessionConfigurationBuilder = FaceSessionConfigurationBuilder;
|
|
531
|
+
exports.FacialRecognitionConfiguration = FacialRecognitionConfiguration;
|
|
532
|
+
exports.FacialRecognitionConfigurationBuilder = FacialRecognitionConfigurationBuilder;
|
|
533
|
+
exports.LookupConfiguration = LookupConfiguration;
|
|
534
|
+
exports.ReadingConfiguration = ReadingConfiguration;
|
|
535
|
+
exports.ReadingConfigurationBuilder = ReadingConfigurationBuilder;
|
|
536
|
+
exports.UqudoId = UqudoId;
|
|
537
|
+
exports.UqudoPlugin = UqudoPlugin;
|
|
538
|
+
//# sourceMappingURL=plugin.cjs.js.map
|
|
@@ -0,0 +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,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