@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.
@@ -1,31 +1,15 @@
1
+
2
+
1
3
  /**
2
- * User Information Model for eSign
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: boolean;
7
- isStraight: boolean;
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 {