@trulioo/docv-capture-web 2.15.3 → 2.15.7
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/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trulioo/docv-capture-web",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.7",
|
|
4
4
|
"main": "trulioo-docv-capture-web.js",
|
|
5
5
|
"types": "trulioo-docv-capture-web.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"webpack": "5.
|
|
8
|
-
"webpack-cli": "5.1.
|
|
9
|
-
"source-map-loader": "
|
|
10
|
-
"typescript": "5.
|
|
11
|
-
"webpack-dev-server": "4.15.
|
|
7
|
+
"webpack": "5.93.0",
|
|
8
|
+
"webpack-cli": "5.1.4",
|
|
9
|
+
"source-map-loader": "5.0.0",
|
|
10
|
+
"typescript": "5.5.4",
|
|
11
|
+
"webpack-dev-server": "4.15.2",
|
|
12
12
|
"hash.js": "1.1.7",
|
|
13
13
|
"lottie-web": "5.12.2",
|
|
14
14
|
"intl-tel-input": "20.3.0",
|
|
@@ -22,10 +22,10 @@ export declare namespace com.trulioo.docv.core.workflow {
|
|
|
22
22
|
get name(): "COMPLETE";
|
|
23
23
|
get ordinal(): 4;
|
|
24
24
|
};
|
|
25
|
-
static values(): Array<com.trulioo.docv.core.workflow.Sequence>;
|
|
26
|
-
static valueOf(value: string): com.trulioo.docv.core.workflow.Sequence;
|
|
27
25
|
get name(): "WELCOME" | "USER_CONSENT" | "CAPTURE_DOCUMENT" | "CAPTURE_FACE" | "COMPLETE";
|
|
28
26
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
27
|
+
static values(): Array<com.trulioo.docv.core.workflow.Sequence>;
|
|
28
|
+
static valueOf(value: string): com.trulioo.docv.core.workflow.Sequence;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
export declare namespace com.trulioo.docv.core.workflow {
|
|
@@ -96,10 +96,10 @@ export declare abstract class DetectionType {
|
|
|
96
96
|
get name(): "NO_DETECTION";
|
|
97
97
|
get ordinal(): 3;
|
|
98
98
|
};
|
|
99
|
-
static values(): Array<DetectionType>;
|
|
100
|
-
static valueOf(value: string): DetectionType;
|
|
101
99
|
get name(): "DOCUMENT" | "PASSPORT" | "BIOMETRIC_SELFIE" | "NO_DETECTION";
|
|
102
100
|
get ordinal(): 0 | 1 | 2 | 3;
|
|
101
|
+
static values(): Array<DetectionType>;
|
|
102
|
+
static valueOf(value: string): DetectionType;
|
|
103
103
|
}
|
|
104
104
|
export declare interface CaptureResponse {
|
|
105
105
|
readonly imageId: string;
|
|
@@ -123,24 +123,11 @@ export declare interface TruliooImageFeedback {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
export declare interface TruliooCaptureResponse extends CaptureResponse, TruliooImageFeedback {
|
|
126
|
-
readonly imageId: string;
|
|
127
|
-
readonly acceptImage: () => Promise<boolean>;
|
|
128
|
-
readonly verifyImage: () => Promise<TruliooVerifyFeedback>;
|
|
129
|
-
readonly detectionType: DetectionType;
|
|
130
|
-
readonly hasAcceptableQuality: boolean;
|
|
131
|
-
readonly hasBlur: boolean;
|
|
132
|
-
readonly hasDetection: boolean;
|
|
133
|
-
readonly requiresBackCapture: boolean;
|
|
134
|
-
readonly tooClose: boolean;
|
|
135
|
-
readonly tooFar: boolean;
|
|
136
126
|
readonly __doNotUseOrImplementIt: {
|
|
137
127
|
readonly TruliooCaptureResponse: unique symbol;
|
|
138
128
|
} & CaptureResponse["__doNotUseOrImplementIt"] & TruliooImageFeedback["__doNotUseOrImplementIt"];
|
|
139
129
|
}
|
|
140
130
|
export declare interface TruliooManualCaptureResponse extends CaptureResponse {
|
|
141
|
-
readonly imageId: string;
|
|
142
|
-
readonly acceptImage: () => Promise<boolean>;
|
|
143
|
-
readonly verifyImage: () => Promise<TruliooVerifyFeedback>;
|
|
144
131
|
readonly __doNotUseOrImplementIt: {
|
|
145
132
|
readonly TruliooManualCaptureResponse: unique symbol;
|
|
146
133
|
} & CaptureResponse["__doNotUseOrImplementIt"];
|
|
@@ -182,10 +169,10 @@ export declare abstract class TruliooFeedbackState {
|
|
|
182
169
|
get name(): "TOO_FAR";
|
|
183
170
|
get ordinal(): 6;
|
|
184
171
|
};
|
|
185
|
-
static values(): Array<TruliooFeedbackState>;
|
|
186
|
-
static valueOf(value: string): TruliooFeedbackState;
|
|
187
172
|
get name(): "NONE" | "CAPTURING" | "BLUR" | "SUCCESS" | "ERROR" | "TOO_CLOSE" | "TOO_FAR";
|
|
188
173
|
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
174
|
+
static values(): Array<TruliooFeedbackState>;
|
|
175
|
+
static valueOf(value: string): TruliooFeedbackState;
|
|
189
176
|
}
|
|
190
177
|
export declare abstract class ResultCheck {
|
|
191
178
|
private constructor();
|
|
@@ -201,10 +188,10 @@ export declare abstract class ResultCheck {
|
|
|
201
188
|
get name(): "RESULT_CHECK_ACCEPTED";
|
|
202
189
|
get ordinal(): 2;
|
|
203
190
|
};
|
|
204
|
-
static values(): Array<ResultCheck>;
|
|
205
|
-
static valueOf(value: string): ResultCheck;
|
|
206
191
|
get name(): "RESULT_CHECK_UNSPECIFIED" | "RESULT_CHECK_DECLINED" | "RESULT_CHECK_ACCEPTED";
|
|
207
192
|
get ordinal(): 0 | 1 | 2;
|
|
193
|
+
static values(): Array<ResultCheck>;
|
|
194
|
+
static valueOf(value: string): ResultCheck;
|
|
208
195
|
}
|
|
209
196
|
export declare abstract class DocumentExpirationCheck {
|
|
210
197
|
private constructor();
|
|
@@ -220,10 +207,10 @@ export declare abstract class DocumentExpirationCheck {
|
|
|
220
207
|
get name(): "DOCUMENT_EXPIRATION_CHECK_VALID";
|
|
221
208
|
get ordinal(): 2;
|
|
222
209
|
};
|
|
223
|
-
static values(): Array<DocumentExpirationCheck>;
|
|
224
|
-
static valueOf(value: string): DocumentExpirationCheck;
|
|
225
210
|
get name(): "DOCUMENT_EXPIRATION_CHECK_UNSPECIFIED" | "DOCUMENT_EXPIRATION_CHECK_EXPIRED" | "DOCUMENT_EXPIRATION_CHECK_VALID";
|
|
226
211
|
get ordinal(): 0 | 1 | 2;
|
|
212
|
+
static values(): Array<DocumentExpirationCheck>;
|
|
213
|
+
static valueOf(value: string): DocumentExpirationCheck;
|
|
227
214
|
}
|
|
228
215
|
export declare abstract class BackImageRequirement {
|
|
229
216
|
private constructor();
|
|
@@ -239,10 +226,10 @@ export declare abstract class BackImageRequirement {
|
|
|
239
226
|
get name(): "BACK_IMAGE_REQUIREMENT_REQUIRED";
|
|
240
227
|
get ordinal(): 2;
|
|
241
228
|
};
|
|
242
|
-
static values(): Array<BackImageRequirement>;
|
|
243
|
-
static valueOf(value: string): BackImageRequirement;
|
|
244
229
|
get name(): "BACK_IMAGE_REQUIREMENT_UNSPECIFIED" | "BACK_IMAGE_REQUIREMENT_NOT_REQUIRED" | "BACK_IMAGE_REQUIREMENT_REQUIRED";
|
|
245
230
|
get ordinal(): 0 | 1 | 2;
|
|
231
|
+
static values(): Array<BackImageRequirement>;
|
|
232
|
+
static valueOf(value: string): BackImageRequirement;
|
|
246
233
|
}
|
|
247
234
|
export declare class DocumentVerifyResponse {
|
|
248
235
|
constructor(documentDetected: ResultCheck, documentTypeAccepted: ResultCheck, documentCountryAccepted: ResultCheck, documentJurisdictionAccepted: ResultCheck, blur: ResultCheck, glare: ResultCheck, skewed: ResultCheck, bright: ResultCheck, documentExpirationCheck: DocumentExpirationCheck, backImageRequirement: BackImageRequirement);
|
|
@@ -304,4 +291,4 @@ export declare class TruliooCapture {
|
|
|
304
291
|
submitTransaction(): Promise<boolean>;
|
|
305
292
|
static stopOngoingCaptureProcess$default($this: TruliooCapture, cameraController: any/* capture.CameraController */, isManual?: boolean): void;
|
|
306
293
|
}
|
|
307
|
-
export as namespace
|
|
294
|
+
export as namespace com_trulioo_docv_js;
|