@finos_sdk/sdk-ekyc 1.2.9 → 1.3.2
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/android/build.gradle +1 -1
- package/android/src/main/java/finos/sdk/ekyc/EKYCModule.kt +206 -160
- package/dist/EKYCModule.d.ts +9 -9
- package/dist/EKYCModule.js +78 -43
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/package.json +1 -1
- package/dist/src/modules/FinosEKYCModule.d.ts +23 -24
- package/dist/src/modules/FinosEKYCModule.js +42 -60
- package/dist/src/modules/FinosESignModule.d.ts +29 -24
- package/dist/src/modules/FinosESignModule.js +82 -226
- package/dist/src/types/ekycESignType.d.ts +3 -18
- package/dist/src/types/ekycLivenessType.d.ts +11 -2
- package/dist/src/types/ekycLivenessType.js +7 -0
- package/package.json +2 -2
- package/src/modules/FinosEKYCModule.ts +92 -116
- package/src/modules/FinosESignModule.ts +130 -279
- package/src/modules/README.md +21 -2
- package/src/types/ekycESignType.ts +5 -21
- package/src/types/ekycLivenessType.ts +16 -2
|
@@ -1,31 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
|
-
*
|
|
4
|
+
* eSign Initialize Result
|
|
3
5
|
*/
|
|
4
6
|
export interface UserEsignModel {
|
|
5
|
-
/**
|
|
6
|
-
* ID card number (CCCD/CMND)
|
|
7
|
-
*/
|
|
8
7
|
cccd: string;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* User name
|
|
12
|
-
*/
|
|
13
8
|
name: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* Device type (e.g., "Android", "iOS")
|
|
17
|
-
*/
|
|
18
|
-
device: string;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Device ID
|
|
22
|
-
*/
|
|
23
|
-
deviceId: string;
|
|
9
|
+
device?: string;
|
|
10
|
+
deviceId?: string;
|
|
24
11
|
}
|
|
25
12
|
|
|
26
|
-
/**
|
|
27
|
-
* eSign Initialize Result
|
|
28
|
-
*/
|
|
29
13
|
export interface ESignInitResult {
|
|
30
14
|
code: string;
|
|
31
15
|
message: string;
|
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
import { CheckSummaryResponse } from "./ekycOCRType";
|
|
2
2
|
|
|
3
|
+
export enum SDKFaceDetectStatus {
|
|
4
|
+
LEFT = "LEFT",
|
|
5
|
+
RIGHT = "RIGHT",
|
|
6
|
+
STRAIGHT = "STRAIGHT"
|
|
7
|
+
}
|
|
8
|
+
|
|
3
9
|
export interface LivenessConfig {
|
|
4
10
|
appKey: string;
|
|
5
11
|
transactionId?: string;
|
|
6
|
-
usingRandomAction
|
|
7
|
-
|
|
12
|
+
// old fields usingRandomAction and isStraight removed in 1.3.1
|
|
13
|
+
// usingRandomAction: boolean;
|
|
14
|
+
// isStraight: boolean;
|
|
8
15
|
selfieImage: string;
|
|
9
16
|
switchFrontCamera?: boolean;
|
|
17
|
+
// New fields for version 1.3.0
|
|
18
|
+
isActiveLiveness?: boolean;
|
|
19
|
+
autoCapture?: boolean;
|
|
20
|
+
isShowCameraFont?: boolean;
|
|
21
|
+
customActions?: SDKFaceDetectStatus[];
|
|
22
|
+
activeActionCount?: number;
|
|
23
|
+
forceCaptureTimeout?: number;
|
|
10
24
|
}
|
|
11
25
|
|
|
12
26
|
export interface CheckLivenessResponse {
|