@finos_sdk/sdk-ekyc 0.0.25 → 0.0.27
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 -7
- package/android/consumer-rules.pro +5 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/android/gradle.properties +40 -0
- package/android/gradlew +252 -0
- package/android/gradlew.bat +94 -0
- package/android/repo/finos/sdk/ekyc/c06/1.1.9/c06-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/c06/1.1.9/c06-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/c06/1.1.9/c06-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/c06/1.1.9/c06-1.1.9.module +130 -0
- package/android/repo/finos/sdk/ekyc/c06/1.1.9/c06-1.1.9.pom +37 -0
- package/android/repo/finos/sdk/ekyc/c06/maven-metadata-local.xml +13 -0
- package/android/repo/finos/sdk/ekyc/ekyc/1.1.9/ekyc-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/ekyc/1.1.9/ekyc-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/ekyc/1.1.9/ekyc-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/ekyc/1.1.9/ekyc-1.1.9.module +221 -0
- package/android/repo/finos/sdk/ekyc/ekyc/1.1.9/ekyc-1.1.9.pom +73 -0
- package/android/repo/finos/sdk/ekyc/ekyc/maven-metadata-local.xml +13 -0
- package/android/repo/finos/sdk/ekyc/faceservice/1.1.9/faceservice-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/faceservice/1.1.9/faceservice-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/faceservice/1.1.9/faceservice-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/faceservice/1.1.9/faceservice-1.1.9.module +130 -0
- package/android/repo/finos/sdk/ekyc/faceservice/1.1.9/faceservice-1.1.9.pom +37 -0
- package/android/repo/finos/sdk/ekyc/faceservice/maven-metadata-local.xml +13 -0
- package/android/repo/finos/sdk/ekyc/liveness/1.1.9/liveness-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/liveness/1.1.9/liveness-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/liveness/1.1.9/liveness-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/liveness/1.1.9/liveness-1.1.9.module +158 -0
- package/android/repo/finos/sdk/ekyc/liveness/1.1.9/liveness-1.1.9.pom +55 -0
- package/android/repo/finos/sdk/ekyc/liveness/maven-metadata-local.xml +13 -0
- package/android/repo/finos/sdk/ekyc/nfc/1.1.9/nfc-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/nfc/1.1.9/nfc-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/nfc/1.1.9/nfc-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/nfc/1.1.9/nfc-1.1.9.module +151 -0
- package/android/repo/finos/sdk/ekyc/nfc/1.1.9/nfc-1.1.9.pom +55 -0
- package/android/repo/finos/sdk/ekyc/nfc/maven-metadata-local.xml +13 -0
- package/android/repo/finos/sdk/ekyc/ocr/1.1.9/ocr-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/ocr/1.1.9/ocr-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/ocr/1.1.9/ocr-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/ocr/1.1.9/ocr-1.1.9.module +144 -0
- package/android/repo/finos/sdk/ekyc/ocr/1.1.9/ocr-1.1.9.pom +43 -0
- package/android/repo/finos/sdk/ekyc/ocr/maven-metadata-local.xml +13 -0
- package/android/repo/finos/sdk/ekyc/qrcode/1.1.9/qrcode-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/qrcode/1.1.9/qrcode-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/qrcode/1.1.9/qrcode-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/qrcode/1.1.9/qrcode-1.1.9.module +158 -0
- package/android/repo/finos/sdk/ekyc/qrcode/1.1.9/qrcode-1.1.9.pom +55 -0
- package/android/repo/finos/sdk/ekyc/qrcode/maven-metadata-local.xml +13 -0
- package/android/repo/finos/sdk/ekyc/sdkcore/1.1.9/sdkcore-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/sdkcore/1.1.9/sdkcore-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/sdkcore/1.1.9/sdkcore-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/sdkcore/1.1.9/sdkcore-1.1.9.module +361 -0
- package/android/repo/finos/sdk/ekyc/sdkcore/1.1.9/sdkcore-1.1.9.pom +139 -0
- package/android/repo/finos/sdk/ekyc/sdkcore/maven-metadata-local.xml +13 -0
- package/android/repo/finos/sdk/ekyc/sdkcorecamera/1.1.9/sdkcorecamera-1.1.9-javadoc.jar +0 -0
- package/android/repo/finos/sdk/ekyc/sdkcorecamera/1.1.9/sdkcorecamera-1.1.9-sources.jar +0 -0
- package/android/repo/finos/sdk/ekyc/sdkcorecamera/1.1.9/sdkcorecamera-1.1.9.aar +0 -0
- package/android/repo/finos/sdk/ekyc/sdkcorecamera/1.1.9/sdkcorecamera-1.1.9.module +221 -0
- package/android/repo/finos/sdk/ekyc/sdkcorecamera/1.1.9/sdkcorecamera-1.1.9.pom +85 -0
- package/android/repo/finos/sdk/ekyc/sdkcorecamera/maven-metadata-local.xml +13 -0
- package/android/settings.gradle +24 -0
- package/package.json +9 -2
- package/src/services/sharingService.ts +7 -0
- package/src/types/SDKTransactionType.ts +0 -0
- package/src/types/ekycC06Type.ts +19 -0
- package/src/types/ekycFaceType.ts +22 -0
- package/src/types/ekycLivenessType.ts +69 -0
- package/src/types/ekycNFCType.ts +47 -0
- package/src/types/ekycOCRType.ts +97 -0
- package/src/types/ekycTransactionType.ts +18 -0
- package/src/types/ekycType.ts +25 -0
- package/src/utils/utils.ts +43 -0
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formatVersion": "1.1",
|
|
3
|
+
"component": {
|
|
4
|
+
"group": "finos.sdk.ekyc",
|
|
5
|
+
"module": "sdkcorecamera",
|
|
6
|
+
"version": "1.1.9",
|
|
7
|
+
"attributes": {
|
|
8
|
+
"org.gradle.status": "release"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"createdBy": {
|
|
12
|
+
"gradle": {
|
|
13
|
+
"version": "8.14.3"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"variants": [
|
|
17
|
+
{
|
|
18
|
+
"name": "releaseVariantReleaseApiPublication",
|
|
19
|
+
"attributes": {
|
|
20
|
+
"org.gradle.category": "library",
|
|
21
|
+
"org.gradle.dependency.bundling": "external",
|
|
22
|
+
"org.gradle.libraryelements": "aar",
|
|
23
|
+
"org.gradle.usage": "java-api"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": [
|
|
26
|
+
{
|
|
27
|
+
"group": "androidx.camera",
|
|
28
|
+
"module": "camera-core",
|
|
29
|
+
"version": {
|
|
30
|
+
"requires": "1.5.0"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"group": "androidx.camera",
|
|
35
|
+
"module": "camera-camera2",
|
|
36
|
+
"version": {
|
|
37
|
+
"requires": "1.5.0"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"group": "androidx.camera",
|
|
42
|
+
"module": "camera-lifecycle",
|
|
43
|
+
"version": {
|
|
44
|
+
"requires": "1.5.0"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"group": "androidx.camera",
|
|
49
|
+
"module": "camera-view",
|
|
50
|
+
"version": {
|
|
51
|
+
"requires": "1.5.0"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"group": "com.google.mlkit",
|
|
56
|
+
"module": "face-detection",
|
|
57
|
+
"version": {
|
|
58
|
+
"requires": "16.1.7"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"group": "org.jetbrains.kotlin",
|
|
63
|
+
"module": "kotlin-stdlib",
|
|
64
|
+
"version": {
|
|
65
|
+
"requires": "1.9.25"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"files": [
|
|
70
|
+
{
|
|
71
|
+
"name": "sdkcorecamera-1.1.9.aar",
|
|
72
|
+
"url": "sdkcorecamera-1.1.9.aar",
|
|
73
|
+
"size": 35424,
|
|
74
|
+
"sha512": "2f7e42579081ed284158559fd59f288545c6b44b7252ef5a51a9e1a8c78628aefbe211f1559abdb349bb48391edcec6c9007a9ffbc3874ac0ccd5b8ea29f6678",
|
|
75
|
+
"sha256": "cb54090c1ac7527a11393870918fb9a424b3505aeff5c5c92c04664bf0427ea1",
|
|
76
|
+
"sha1": "6044160bc863f3d9c8fdbcd2b9718aba4cbe7b79",
|
|
77
|
+
"md5": "dcac1b407aa2fb982b5cd6ab4baf8e52"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "releaseVariantReleaseRuntimePublication",
|
|
83
|
+
"attributes": {
|
|
84
|
+
"org.gradle.category": "library",
|
|
85
|
+
"org.gradle.dependency.bundling": "external",
|
|
86
|
+
"org.gradle.libraryelements": "aar",
|
|
87
|
+
"org.gradle.usage": "java-runtime"
|
|
88
|
+
},
|
|
89
|
+
"dependencies": [
|
|
90
|
+
{
|
|
91
|
+
"group": "org.jetbrains.kotlin",
|
|
92
|
+
"module": "kotlin-parcelize-runtime",
|
|
93
|
+
"version": {
|
|
94
|
+
"requires": "1.9.25"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"group": "finos.sdk.ekyc",
|
|
99
|
+
"module": "sdkcore",
|
|
100
|
+
"version": {
|
|
101
|
+
"requires": "1.1.9"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"group": "com.google.mlkit",
|
|
106
|
+
"module": "barcode-scanning",
|
|
107
|
+
"version": {
|
|
108
|
+
"requires": "17.3.0"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"group": "org.tensorflow",
|
|
113
|
+
"module": "tensorflow-lite",
|
|
114
|
+
"version": {
|
|
115
|
+
"requires": "2.17.0"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"group": "com.google.ai.edge.litert",
|
|
120
|
+
"module": "litert-support",
|
|
121
|
+
"version": {
|
|
122
|
+
"requires": "1.4.0"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"group": "androidx.camera",
|
|
127
|
+
"module": "camera-core",
|
|
128
|
+
"version": {
|
|
129
|
+
"requires": "1.5.0"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"group": "androidx.camera",
|
|
134
|
+
"module": "camera-camera2",
|
|
135
|
+
"version": {
|
|
136
|
+
"requires": "1.5.0"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"group": "androidx.camera",
|
|
141
|
+
"module": "camera-lifecycle",
|
|
142
|
+
"version": {
|
|
143
|
+
"requires": "1.5.0"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"group": "androidx.camera",
|
|
148
|
+
"module": "camera-view",
|
|
149
|
+
"version": {
|
|
150
|
+
"requires": "1.5.0"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"group": "com.google.mlkit",
|
|
155
|
+
"module": "face-detection",
|
|
156
|
+
"version": {
|
|
157
|
+
"requires": "16.1.7"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"group": "org.jetbrains.kotlin",
|
|
162
|
+
"module": "kotlin-stdlib",
|
|
163
|
+
"version": {
|
|
164
|
+
"requires": "1.9.25"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"files": [
|
|
169
|
+
{
|
|
170
|
+
"name": "sdkcorecamera-1.1.9.aar",
|
|
171
|
+
"url": "sdkcorecamera-1.1.9.aar",
|
|
172
|
+
"size": 35424,
|
|
173
|
+
"sha512": "2f7e42579081ed284158559fd59f288545c6b44b7252ef5a51a9e1a8c78628aefbe211f1559abdb349bb48391edcec6c9007a9ffbc3874ac0ccd5b8ea29f6678",
|
|
174
|
+
"sha256": "cb54090c1ac7527a11393870918fb9a424b3505aeff5c5c92c04664bf0427ea1",
|
|
175
|
+
"sha1": "6044160bc863f3d9c8fdbcd2b9718aba4cbe7b79",
|
|
176
|
+
"md5": "dcac1b407aa2fb982b5cd6ab4baf8e52"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "releaseVariantReleaseSourcePublication",
|
|
182
|
+
"attributes": {
|
|
183
|
+
"org.gradle.category": "documentation",
|
|
184
|
+
"org.gradle.dependency.bundling": "external",
|
|
185
|
+
"org.gradle.docstype": "sources",
|
|
186
|
+
"org.gradle.usage": "java-runtime"
|
|
187
|
+
},
|
|
188
|
+
"files": [
|
|
189
|
+
{
|
|
190
|
+
"name": "sdkcorecamera-1.1.9-sources.jar",
|
|
191
|
+
"url": "sdkcorecamera-1.1.9-sources.jar",
|
|
192
|
+
"size": 12566,
|
|
193
|
+
"sha512": "c65b6463220ee0c088a3a681a63a89c1a2f89893d7d8d6c071b967024c43a625a67e2a3dec9715ae42ac0c469b7fa59973bb88d5b78ad5bd04a4c2fe1e054cba",
|
|
194
|
+
"sha256": "e01b65d8a682df85f2764ae5dff556e646ccd65990f089811ee89d15e0348d9b",
|
|
195
|
+
"sha1": "3a8f791e83420c92e3cb2c9bae256ffbdf9e8c44",
|
|
196
|
+
"md5": "fd698f8e4976b4f12b571482da8a2ee9"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "releaseVariantReleaseJavaDocPublication",
|
|
202
|
+
"attributes": {
|
|
203
|
+
"org.gradle.category": "documentation",
|
|
204
|
+
"org.gradle.dependency.bundling": "external",
|
|
205
|
+
"org.gradle.docstype": "javadoc",
|
|
206
|
+
"org.gradle.usage": "java-runtime"
|
|
207
|
+
},
|
|
208
|
+
"files": [
|
|
209
|
+
{
|
|
210
|
+
"name": "sdkcorecamera-1.1.9-javadoc.jar",
|
|
211
|
+
"url": "sdkcorecamera-1.1.9-javadoc.jar",
|
|
212
|
+
"size": 349369,
|
|
213
|
+
"sha512": "4fdc22f5b8a25106e555793548115856d34d311496aac73d535d47732f3657114f3595c919f3ffc754e2935879c6fa92f9aa5e9b89e0e7d7909cca7d5df9cd16",
|
|
214
|
+
"sha256": "1b612d6c306663ee42a9809d95c97d42e4650ed18e273dfc5264e9cb4a4d8ab9",
|
|
215
|
+
"sha1": "f1f06e90de1984e63c3c54ffe2851395796e1228",
|
|
216
|
+
"md5": "47d58806f59b4a1a54d008bad341b666"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
4
|
+
<!-- This module was also published with a richer model, Gradle metadata, -->
|
|
5
|
+
<!-- which should be used instead. Do not delete the following line which -->
|
|
6
|
+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
|
7
|
+
<!-- that they should prefer consuming it instead. -->
|
|
8
|
+
<!-- do_not_remove: published-with-gradle-metadata -->
|
|
9
|
+
<modelVersion>4.0.0</modelVersion>
|
|
10
|
+
<groupId>finos.sdk.ekyc</groupId>
|
|
11
|
+
<artifactId>sdkcorecamera</artifactId>
|
|
12
|
+
<version>1.1.9</version>
|
|
13
|
+
<packaging>aar</packaging>
|
|
14
|
+
<name>SDKCoreCamera</name>
|
|
15
|
+
<description>Android SDK module: SDKCoreCamera</description>
|
|
16
|
+
<url>https://github.com/vnfinosdevops/finos.ekyc.sdk.android</url>
|
|
17
|
+
<dependencies>
|
|
18
|
+
<dependency>
|
|
19
|
+
<groupId>androidx.camera</groupId>
|
|
20
|
+
<artifactId>camera-core</artifactId>
|
|
21
|
+
<version>1.5.0</version>
|
|
22
|
+
<scope>compile</scope>
|
|
23
|
+
</dependency>
|
|
24
|
+
<dependency>
|
|
25
|
+
<groupId>androidx.camera</groupId>
|
|
26
|
+
<artifactId>camera-camera2</artifactId>
|
|
27
|
+
<version>1.5.0</version>
|
|
28
|
+
<scope>compile</scope>
|
|
29
|
+
</dependency>
|
|
30
|
+
<dependency>
|
|
31
|
+
<groupId>androidx.camera</groupId>
|
|
32
|
+
<artifactId>camera-lifecycle</artifactId>
|
|
33
|
+
<version>1.5.0</version>
|
|
34
|
+
<scope>compile</scope>
|
|
35
|
+
</dependency>
|
|
36
|
+
<dependency>
|
|
37
|
+
<groupId>androidx.camera</groupId>
|
|
38
|
+
<artifactId>camera-view</artifactId>
|
|
39
|
+
<version>1.5.0</version>
|
|
40
|
+
<scope>compile</scope>
|
|
41
|
+
</dependency>
|
|
42
|
+
<dependency>
|
|
43
|
+
<groupId>com.google.mlkit</groupId>
|
|
44
|
+
<artifactId>face-detection</artifactId>
|
|
45
|
+
<version>16.1.7</version>
|
|
46
|
+
<scope>compile</scope>
|
|
47
|
+
</dependency>
|
|
48
|
+
<dependency>
|
|
49
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
50
|
+
<artifactId>kotlin-stdlib</artifactId>
|
|
51
|
+
<version>1.9.25</version>
|
|
52
|
+
<scope>compile</scope>
|
|
53
|
+
</dependency>
|
|
54
|
+
<dependency>
|
|
55
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
56
|
+
<artifactId>kotlin-parcelize-runtime</artifactId>
|
|
57
|
+
<version>1.9.25</version>
|
|
58
|
+
<scope>runtime</scope>
|
|
59
|
+
</dependency>
|
|
60
|
+
<dependency>
|
|
61
|
+
<groupId>finos.sdk.ekyc</groupId>
|
|
62
|
+
<artifactId>sdkcore</artifactId>
|
|
63
|
+
<version>1.1.9</version>
|
|
64
|
+
<scope>runtime</scope>
|
|
65
|
+
</dependency>
|
|
66
|
+
<dependency>
|
|
67
|
+
<groupId>com.google.mlkit</groupId>
|
|
68
|
+
<artifactId>barcode-scanning</artifactId>
|
|
69
|
+
<version>17.3.0</version>
|
|
70
|
+
<scope>runtime</scope>
|
|
71
|
+
</dependency>
|
|
72
|
+
<dependency>
|
|
73
|
+
<groupId>org.tensorflow</groupId>
|
|
74
|
+
<artifactId>tensorflow-lite</artifactId>
|
|
75
|
+
<version>2.17.0</version>
|
|
76
|
+
<scope>runtime</scope>
|
|
77
|
+
</dependency>
|
|
78
|
+
<dependency>
|
|
79
|
+
<groupId>com.google.ai.edge.litert</groupId>
|
|
80
|
+
<artifactId>litert-support</artifactId>
|
|
81
|
+
<version>1.4.0</version>
|
|
82
|
+
<scope>runtime</scope>
|
|
83
|
+
</dependency>
|
|
84
|
+
</dependencies>
|
|
85
|
+
</project>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<metadata>
|
|
3
|
+
<groupId>finos.sdk.ekyc</groupId>
|
|
4
|
+
<artifactId>sdkcorecamera</artifactId>
|
|
5
|
+
<versioning>
|
|
6
|
+
<latest>1.1.9</latest>
|
|
7
|
+
<release>1.1.9</release>
|
|
8
|
+
<versions>
|
|
9
|
+
<version>1.1.9</version>
|
|
10
|
+
</versions>
|
|
11
|
+
<lastUpdated>20250911071811</lastUpdated>
|
|
12
|
+
</versioning>
|
|
13
|
+
</metadata>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
pluginManagement {
|
|
2
|
+
includeBuild("../node_modules/@react-native/gradle-plugin")
|
|
3
|
+
repositories {
|
|
4
|
+
gradlePluginPortal()
|
|
5
|
+
mavenCentral()
|
|
6
|
+
mavenLocal()
|
|
7
|
+
google()
|
|
8
|
+
maven { url uri("$projectDir/repo") }
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
plugins { id("com.facebook.react.settings") }
|
|
12
|
+
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
|
|
13
|
+
dependencyResolutionManagement {
|
|
14
|
+
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
|
15
|
+
repositories {
|
|
16
|
+
google()
|
|
17
|
+
mavenCentral()
|
|
18
|
+
mavenLocal()
|
|
19
|
+
maven { url uri("$projectDir/repo") }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
rootProject.name = 'sdkEkycRN'
|
|
23
|
+
include ':app'
|
|
24
|
+
includeBuild('../node_modules/@react-native/gradle-plugin')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos_sdk/sdk-ekyc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"description": "SDK React Native EKYC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
"react-native.config.js",
|
|
10
10
|
"android/src",
|
|
11
11
|
"android/build.gradle",
|
|
12
|
-
"android/
|
|
12
|
+
"android/gradle.properties",
|
|
13
|
+
"android/gradle/wrapper/**",
|
|
14
|
+
"android/gradlew",
|
|
15
|
+
"android/gradlew.bat",
|
|
16
|
+
"android/settings.gradle",
|
|
17
|
+
"android/consumer-rules.pro",
|
|
18
|
+
"android/repo/**",
|
|
19
|
+
"src/**"
|
|
13
20
|
],
|
|
14
21
|
"repository": {
|
|
15
22
|
"type": "git",
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface CheckC06Response {
|
|
2
|
+
resCode?: String;
|
|
3
|
+
resData?: C06CheckResult;
|
|
4
|
+
resMessage?: String;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface C06CheckResult {
|
|
8
|
+
rarResponseId?: string;
|
|
9
|
+
signature?: string;
|
|
10
|
+
verifyStatus?: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface C06Config {
|
|
14
|
+
appKey: string;
|
|
15
|
+
sod: string;
|
|
16
|
+
idCardNumber: string;
|
|
17
|
+
recentLocation: string;
|
|
18
|
+
deviceType?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface CheckFaceResponse {
|
|
2
|
+
requestId?: string;
|
|
3
|
+
result?: FaceVerifyResult;
|
|
4
|
+
status?: string;
|
|
5
|
+
statusCode?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
type?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface FaceVerifyResult {
|
|
11
|
+
conf?: number;
|
|
12
|
+
match?: string;
|
|
13
|
+
matchScore?: number;
|
|
14
|
+
toBeReviewed?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface FaceServiceConfig {
|
|
18
|
+
appKey: string,
|
|
19
|
+
transactionId?: string,
|
|
20
|
+
selfieImage: string,
|
|
21
|
+
idImage: string,
|
|
22
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { CheckSummaryResponse } from "./ekycOCRType";
|
|
2
|
+
|
|
3
|
+
export interface LivenessConfig {
|
|
4
|
+
appKey: string;
|
|
5
|
+
transactionId?: string;
|
|
6
|
+
usingRandomAction: boolean;
|
|
7
|
+
isStraight: boolean;
|
|
8
|
+
selfieImage: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface CheckLivenessResponse {
|
|
12
|
+
metadata?: Metadata;
|
|
13
|
+
result?: LivenessCheckResult;
|
|
14
|
+
status?: string;
|
|
15
|
+
statusCode?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface Metadata {
|
|
19
|
+
requestId?: string;
|
|
20
|
+
transactionId?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface LivenessCheckResult {
|
|
24
|
+
details?: Details;
|
|
25
|
+
summary?: CheckSummaryResponse;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface Details {
|
|
29
|
+
ageRange?: AgeRange;
|
|
30
|
+
liveFace?: LiveFace;
|
|
31
|
+
qualityChecks?: QualityChecks;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface AgeRange {
|
|
35
|
+
confidence?: string;
|
|
36
|
+
high?: number;
|
|
37
|
+
low?: number;
|
|
38
|
+
score?: number;
|
|
39
|
+
value?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface LiveFace {
|
|
43
|
+
confidence?: string;
|
|
44
|
+
score?: number;
|
|
45
|
+
value?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface QualityChecks {
|
|
49
|
+
blur?: QualityCheck;
|
|
50
|
+
bright?: QualityCheck;
|
|
51
|
+
dull?: QualityCheck;
|
|
52
|
+
eyesClosed?: QualityCheck;
|
|
53
|
+
eyewear?: QualityCheck;
|
|
54
|
+
faceOccluded?: QualityCheck;
|
|
55
|
+
hat?: QualityCheck;
|
|
56
|
+
headTurned?: QualityCheck;
|
|
57
|
+
maskPresent?: QualityCheck;
|
|
58
|
+
multipleFaces?: QualityCheck;
|
|
59
|
+
nudity?: QualityCheck;
|
|
60
|
+
readingGlasses?: QualityCheck;
|
|
61
|
+
sunglasses?: QualityCheck;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Common interface for all quality check fields
|
|
65
|
+
export interface QualityCheck {
|
|
66
|
+
confidence?: string;
|
|
67
|
+
score?: number;
|
|
68
|
+
value?: string;
|
|
69
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface NfcConfig {
|
|
2
|
+
appKey: string;
|
|
3
|
+
documentNumber: string;
|
|
4
|
+
birthDate: string; // yyMMdd format
|
|
5
|
+
expireDate: string; // yyMMdd format
|
|
6
|
+
transactionId?: string;
|
|
7
|
+
facePathStorage?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface NFCData {
|
|
11
|
+
signature?: string;
|
|
12
|
+
certificate?: string;
|
|
13
|
+
sod?: string;
|
|
14
|
+
mrz?: string;
|
|
15
|
+
faceImage?: string; // image base64
|
|
16
|
+
cardNumber?: string;
|
|
17
|
+
dateOfBirth?: string;
|
|
18
|
+
issueDate?: string;
|
|
19
|
+
previousNumber?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
sex?: string;
|
|
22
|
+
nationality?: string;
|
|
23
|
+
nation?: string;
|
|
24
|
+
religion?: string;
|
|
25
|
+
hometown?: string;
|
|
26
|
+
address?: string;
|
|
27
|
+
character?: string;
|
|
28
|
+
expiredDate?: string;
|
|
29
|
+
fatherName?: string;
|
|
30
|
+
motherName?: string;
|
|
31
|
+
partnerName?: string;
|
|
32
|
+
nfcInfo: NfcInfo;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface NfcInfo {
|
|
36
|
+
dg1?: string;
|
|
37
|
+
dg2?: string;
|
|
38
|
+
dg13?: string;
|
|
39
|
+
dg14?: string;
|
|
40
|
+
dg15?: string;
|
|
41
|
+
sod?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface NfcError {
|
|
45
|
+
event: string;
|
|
46
|
+
message: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export interface OcrConfig {
|
|
2
|
+
appKey: string;
|
|
3
|
+
transactionId: string;
|
|
4
|
+
idImagePath: string;
|
|
5
|
+
expectedDocumentSide: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface CheckOcrResponse {
|
|
9
|
+
requestId?: string;
|
|
10
|
+
result?: OcrCheckResult;
|
|
11
|
+
status?: string;
|
|
12
|
+
statusCode?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface OcrCheckResult {
|
|
16
|
+
details?: Detail[];
|
|
17
|
+
summary?: CheckSummaryResponse;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface CheckSummaryResponse {
|
|
21
|
+
action?: string;
|
|
22
|
+
details?: Details[];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Detail {
|
|
26
|
+
fieldsExtracted?: FieldsExtracted;
|
|
27
|
+
forgeryChecks?: ForgeryChecks;
|
|
28
|
+
qualityChecks?: QualityChecks;
|
|
29
|
+
ruleChecks?: RuleChecks;
|
|
30
|
+
type?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface Details {
|
|
33
|
+
code?: string;
|
|
34
|
+
message?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface FieldsExtracted {
|
|
38
|
+
dob?: ExtractedField;
|
|
39
|
+
doe?: ExtractedField;
|
|
40
|
+
doi?: ExtractedField;
|
|
41
|
+
gender?: ExtractedField;
|
|
42
|
+
homeTown?: ExtractedField;
|
|
43
|
+
idNumber?: ExtractedField;
|
|
44
|
+
mrzString?: MrzStringField;
|
|
45
|
+
name?: ExtractedField;
|
|
46
|
+
nationality?: ExtractedField;
|
|
47
|
+
permanentAddress?: PermanentAddressField;
|
|
48
|
+
placeOfIssue?: ExtractedField;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Base interface for common extracted fields
|
|
52
|
+
export interface ExtractedField {
|
|
53
|
+
confidence?: string;
|
|
54
|
+
score?: number;
|
|
55
|
+
toBeReviewed?: string;
|
|
56
|
+
value?: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface MrzStringField extends ExtractedField {
|
|
60
|
+
dateOfBirth?: string;
|
|
61
|
+
dateOfExpiry?: string;
|
|
62
|
+
fullName?: string;
|
|
63
|
+
gender?: string;
|
|
64
|
+
idNumber?: string;
|
|
65
|
+
nationality?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface PermanentAddressField extends ExtractedField {
|
|
69
|
+
district?: string;
|
|
70
|
+
province?: string;
|
|
71
|
+
street?: string;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface ForgeryChecks {
|
|
75
|
+
colorPrintout?: CheckField;
|
|
76
|
+
digitalText?: CheckField;
|
|
77
|
+
facePhoto?: CheckField;
|
|
78
|
+
physicalText?: CheckField;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface QualityChecks {
|
|
82
|
+
blackAndWhite?: CheckField;
|
|
83
|
+
blur?: CheckField;
|
|
84
|
+
capturedFromScreen?: CheckField;
|
|
85
|
+
glare?: CheckField;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Common interface for check fields
|
|
89
|
+
export interface CheckField {
|
|
90
|
+
confidence?: string;
|
|
91
|
+
score?: number;
|
|
92
|
+
toBeReviewed?: string;
|
|
93
|
+
value?: string;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Empty interface as per original
|
|
97
|
+
export interface RuleChecks { }
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface SDKTransactionResponse {
|
|
2
|
+
id?: string;
|
|
3
|
+
apiCode?: string;
|
|
4
|
+
apiId?: string;
|
|
5
|
+
applicationId?: string;
|
|
6
|
+
customerId?: string;
|
|
7
|
+
externalId?: string;
|
|
8
|
+
imagePath1?: string;
|
|
9
|
+
imagePath2?: string;
|
|
10
|
+
planId?: string;
|
|
11
|
+
providerCode?: string;
|
|
12
|
+
requestTime?: string;
|
|
13
|
+
statusCode?: string;
|
|
14
|
+
transactionId?: string;
|
|
15
|
+
username?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
customTempData?: any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CheckC06Response } from "./ekycC06Type";
|
|
2
|
+
import { CheckFaceResponse } from "./ekycFaceType";
|
|
3
|
+
import { CheckLivenessResponse } from "./ekycLivenessType";
|
|
4
|
+
import { CheckOcrResponse } from "./ekycOCRType";
|
|
5
|
+
import { SDKTransactionResponse } from "./ekycTransactionType";
|
|
6
|
+
|
|
7
|
+
export interface SDKEkycResult {
|
|
8
|
+
isSdkCheckKey: boolean;
|
|
9
|
+
nfcResponse?: string;
|
|
10
|
+
checkC06Response?: CheckC06Response;
|
|
11
|
+
checkFaceResponse?: CheckFaceResponse;
|
|
12
|
+
ocrResponse?: CheckOcrResponse;
|
|
13
|
+
checkLivenessResponse?: CheckLivenessResponse;
|
|
14
|
+
transactionResponse?: SDKTransactionResponse;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface SDKEkycResultWithEvent {
|
|
18
|
+
data?: SDKEkycResult;
|
|
19
|
+
event?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface SDKEkycResultStringWithEvent {
|
|
23
|
+
data: string;
|
|
24
|
+
event: string;
|
|
25
|
+
}
|