@frankieone/one-sdk 1.7.14-rc.2 → 1.7.14-rc.3
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/dist/cli/darwin-amd64/onesdk-cli +0 -0
- package/dist/cli/darwin-arm64/onesdk-cli +0 -0
- package/dist/cli/linux-amd64/onesdk-cli +0 -0
- package/dist/cli/linux-arm64/onesdk-cli +0 -0
- package/dist/cli/windows-amd64/onesdk-cli.exe +0 -0
- package/dist/commit.txt +1 -1
- package/dist/esm/modules/cli/template/templateIdv.d.ts.map +1 -1
- package/dist/esm/modules/cli/template/templateIdv.js +94 -53
- package/dist/esm/modules/cli/template/templateIdv.js.map +1 -1
- package/dist/esm/modules/cli/template/templateIdvReview.d.ts.map +1 -1
- package/dist/esm/modules/cli/template/templateIdvReview.js +127 -85
- package/dist/esm/modules/cli/template/templateIdvReview.js.map +1 -1
- package/dist/esm/modules/cli/template/templateManualKyc.d.ts.map +1 -1
- package/dist/esm/modules/cli/template/templateManualKyc.js +211 -169
- package/dist/esm/modules/cli/template/templateManualKyc.js.map +1 -1
- package/dist/esm/modules/idv/vendors/Sumsub/index.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/Sumsub/index.js +24 -11
- package/dist/esm/modules/idv/vendors/Sumsub/index.js.map +1 -1
- package/dist/esm/modules/meta.json +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/commit.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ef2b97b9e8b4480c0f4133b451d81c7ffad22a65
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateIdv.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"templateIdv.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAEA,iCAuGW"}
|
|
@@ -1,65 +1,106 @@
|
|
|
1
1
|
const html = String.raw;
|
|
2
|
-
export const templateIdv = html
|
|
3
|
-
|
|
4
|
-
<!-- UTF-8 encoding you page is important as some text in the smart UI might not come out as you expect -->
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>oneSdk onboarding</title>
|
|
8
|
-
<script src="https://assets.frankiefinancial.io/one-sdk/v1/oneSdk.umd.js"></script>
|
|
2
|
+
export const templateIdv = html `<!-- Generated by OneSDK CLI -->
|
|
3
|
+
<!-- More information: https://docs.frankieone.com/v1.14.1/docs/about-onesdk -->
|
|
9
4
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
5
|
+
<!doctype html>
|
|
6
|
+
<html lang="en">
|
|
7
|
+
<head>
|
|
8
|
+
<!-- UTF-8 encoding you page is important as some text in the smart UI might not come out as you expect -->
|
|
9
|
+
<meta charset="utf-8" />
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
11
|
+
<title>OneSDK - IDV</title>
|
|
12
|
+
|
|
13
|
+
<!-- NOTE: You can change the version of OneSDK to the desired version here -->
|
|
14
|
+
<script src="https://assets.frankiefinancial.io/one-sdk/v1/oneSdk.umd.js"></script>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
async function getToken() {
|
|
18
|
+
// WARNING: This is for testing purposes only
|
|
19
|
+
// use server-side code to request the token in production for security reasons
|
|
20
|
+
|
|
21
|
+
const customerId = '<CUSTOMER_ID_HERE>';
|
|
22
|
+
const customerChildId = '<CUSTOMER_CHILD_ID_HERE>';
|
|
23
|
+
const apiKey = '<API_KEY_HERE>';
|
|
24
|
+
const authKey = btoa(
|
|
25
|
+
customerId + ':' + customerChildId + ':' + apiKey,
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
const tokenResponse = await fetch(
|
|
29
|
+
BACKEND_URL[env] + '/auth/v2/machine-session',
|
|
30
|
+
{
|
|
31
|
+
method: 'POST',
|
|
32
|
+
headers: {
|
|
33
|
+
authorization: 'machine ' + authKey,
|
|
34
|
+
'Content-Type': 'application/json',
|
|
35
|
+
},
|
|
36
|
+
body: JSON.stringify({
|
|
37
|
+
permissions: {
|
|
38
|
+
preset: 'one-sdk',
|
|
39
|
+
reference: '<CUSTOMER_REFERENCE_HERE>',
|
|
40
|
+
},
|
|
41
|
+
}),
|
|
42
|
+
},
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
return await tokenResponse.json();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
async function startOneSdk() {
|
|
49
|
+
const sessionToken = await getToken();
|
|
50
|
+
|
|
51
|
+
const oneSdk = await OneSdk({
|
|
52
|
+
session: {
|
|
53
|
+
token: sessionToken,
|
|
54
|
+
},
|
|
55
|
+
mode: 'production',
|
|
56
|
+
recipe: {
|
|
57
|
+
form: {
|
|
58
|
+
provider: {
|
|
59
|
+
name: 'react',
|
|
60
|
+
// NOTE: This is for the autocomplete feature in the form
|
|
61
|
+
// googleApiKey: "<GOOGLE_API_KEY>",
|
|
62
|
+
},
|
|
21
63
|
},
|
|
22
64
|
},
|
|
23
|
-
}
|
|
24
|
-
});
|
|
65
|
+
});
|
|
25
66
|
|
|
26
|
-
|
|
67
|
+
const idv = oneSdk.flow('idv');
|
|
27
68
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
69
|
+
idv.mount('#idv-el');
|
|
70
|
+
idv.on('loading', () => {
|
|
71
|
+
console.log('loading');
|
|
72
|
+
});
|
|
32
73
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
74
|
+
idv.on('results', async ({ checkStatus, document, entityId }) => {
|
|
75
|
+
if (checkStatus) {
|
|
76
|
+
console.log('results succesful');
|
|
77
|
+
} else {
|
|
78
|
+
console.log('no data returned');
|
|
79
|
+
}
|
|
80
|
+
});
|
|
40
81
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
82
|
+
idv.on('error', ({ message, payload }) => {
|
|
83
|
+
console.log('received error');
|
|
84
|
+
console.log(message, payload);
|
|
85
|
+
});
|
|
45
86
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
87
|
+
idv.on('detection_complete', (message) => {
|
|
88
|
+
console.log('capture finished');
|
|
89
|
+
console.log(message);
|
|
90
|
+
});
|
|
50
91
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
92
|
+
idv.on('*', (message) => {
|
|
93
|
+
console.log(message);
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
</script>
|
|
97
|
+
</head>
|
|
57
98
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</html>`;
|
|
99
|
+
<body style="background-color: white" onload="startOneSdk()">
|
|
100
|
+
<div
|
|
101
|
+
id="idv-el"
|
|
102
|
+
style="top: 0; left: 0; width: 100%; height: 100%; display: block"
|
|
103
|
+
></div>
|
|
104
|
+
</body>
|
|
105
|
+
</html>`;
|
|
65
106
|
//# sourceMappingURL=templateIdv.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateIdv.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAA
|
|
1
|
+
{"version":3,"file":"templateIdv.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuGrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateIdvReview.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdvReview.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"templateIdvReview.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdvReview.js"],"names":[],"mappings":"AAEA,uCA0IW"}
|
|
@@ -1,99 +1,141 @@
|
|
|
1
1
|
const html = String.raw;
|
|
2
|
-
export const templateIdvReview = html
|
|
3
|
-
|
|
4
|
-
<!-- UTF-8 encoding you page is important as some text in the smart UI might not come out as you expect -->
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>oneSdk onboarding</title>
|
|
8
|
-
<script src="https://assets.frankiefinancial.io/one-sdk/v1/oneSdk.umd.js"></script>
|
|
2
|
+
export const templateIdvReview = html `<!-- Generated by OneSDK CLI -->
|
|
3
|
+
<!-- More information: https://docs.frankieone.com/v1.14.1/docs/about-onesdk -->
|
|
9
4
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
5
|
+
<!doctype html>
|
|
6
|
+
<html lang="en">
|
|
7
|
+
<head>
|
|
8
|
+
<!-- UTF-8 encoding you page is important as some text in the smart UI might not come out as you expect -->
|
|
9
|
+
<meta charset="utf-8" />
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
11
|
+
<title>OneSDK - IDV+Review</title>
|
|
12
|
+
|
|
13
|
+
<!-- NOTE: You can change the version of OneSDK to the desired version here -->
|
|
14
|
+
<script src="https://assets.frankiefinancial.io/one-sdk/v1/oneSdk.umd.js"></script>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
async function getToken() {
|
|
18
|
+
// WARNING: This is for testing purposes only
|
|
19
|
+
// use server-side code to request the token in production for security reasons
|
|
20
|
+
|
|
21
|
+
const customerId = '<CUSTOMER_ID_HERE>';
|
|
22
|
+
const customerChildId = '<CUSTOMER_CHILD_ID_HERE>';
|
|
23
|
+
const apiKey = '<API_KEY_HERE>';
|
|
24
|
+
const authKey = btoa(
|
|
25
|
+
customerId + ':' + customerChildId + ':' + apiKey,
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
const tokenResponse = await fetch(
|
|
29
|
+
BACKEND_URL[env] + '/auth/v2/machine-session',
|
|
30
|
+
{
|
|
31
|
+
method: 'POST',
|
|
32
|
+
headers: {
|
|
33
|
+
authorization: 'machine ' + authKey,
|
|
34
|
+
'Content-Type': 'application/json',
|
|
21
35
|
},
|
|
36
|
+
body: JSON.stringify({
|
|
37
|
+
permissions: {
|
|
38
|
+
preset: 'one-sdk',
|
|
39
|
+
// NOTE: Replace this with your customer reference
|
|
40
|
+
reference: '<CUSTOMER_REFERENCE_HERE>',
|
|
41
|
+
},
|
|
42
|
+
}),
|
|
22
43
|
},
|
|
23
|
-
|
|
24
|
-
});
|
|
44
|
+
);
|
|
25
45
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
46
|
+
return await tokenResponse.json();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async function startOneSdk() {
|
|
50
|
+
const sessionToken = await getToken();
|
|
51
|
+
|
|
52
|
+
const oneSdk = await OneSdk({
|
|
53
|
+
session: {
|
|
54
|
+
token: sessionToken,
|
|
55
|
+
},
|
|
56
|
+
mode: 'production',
|
|
57
|
+
recipe: {
|
|
58
|
+
form: {
|
|
59
|
+
provider: {
|
|
60
|
+
name: 'react',
|
|
61
|
+
// NOTE: This is for the autocomplete feature in the form
|
|
62
|
+
// googleApiKey: "<GOOGLE_API_KEY>",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
39
65
|
},
|
|
40
|
-
|
|
41
|
-
});
|
|
42
|
-
const review = oneSdk.component('form', {
|
|
43
|
-
name: 'REVIEW',
|
|
44
|
-
type: 'ocr',
|
|
45
|
-
});
|
|
66
|
+
});
|
|
46
67
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
68
|
+
const idv = oneSdk.flow('idv');
|
|
69
|
+
const loading1 = oneSdk.component('form', {
|
|
70
|
+
name: 'LOADING',
|
|
71
|
+
title: { label: 'Loading...' },
|
|
72
|
+
descriptions: [{ label: '' }],
|
|
73
|
+
});
|
|
74
|
+
const loading2 = oneSdk.component('form', {
|
|
75
|
+
name: 'LOADING',
|
|
76
|
+
title: { label: 'Processing results...' },
|
|
77
|
+
descriptions: [
|
|
78
|
+
{
|
|
79
|
+
label:
|
|
80
|
+
"Hold tight, this can take up to 30 seconds. Please do not refresh this page or click the 'back' button on your browser.",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
});
|
|
84
|
+
const review = oneSdk.component('form', {
|
|
85
|
+
name: 'REVIEW',
|
|
86
|
+
type: 'ocr',
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
idv.mount('#idv-el');
|
|
90
|
+
let before = true;
|
|
91
|
+
idv.on('loading', (display) => {
|
|
92
|
+
if (display) {
|
|
93
|
+
if (before) {
|
|
94
|
+
loading1.mount('#loading1');
|
|
95
|
+
}
|
|
96
|
+
} else {
|
|
97
|
+
if (before) {
|
|
98
|
+
loading1.unmount();
|
|
99
|
+
}
|
|
100
|
+
before = false;
|
|
57
101
|
}
|
|
58
|
-
before
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
console.log(display);
|
|
62
|
-
});
|
|
102
|
+
console.log(before);
|
|
103
|
+
console.log(display);
|
|
104
|
+
});
|
|
63
105
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
106
|
+
idv.on('results', async ({ checkStatus, document, entityId }) => {
|
|
107
|
+
if (checkStatus) {
|
|
108
|
+
console.log('results succesful');
|
|
109
|
+
loading2.unmount();
|
|
110
|
+
review.mount('#idv-el');
|
|
111
|
+
} else {
|
|
112
|
+
console.log('no data returned');
|
|
113
|
+
}
|
|
114
|
+
});
|
|
73
115
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
116
|
+
idv.on('error', ({ message, payload }) => {
|
|
117
|
+
console.log('received error');
|
|
118
|
+
console.log(message, payload);
|
|
119
|
+
});
|
|
78
120
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
121
|
+
idv.on('detection_complete', (message) => {
|
|
122
|
+
console.log('capture finished');
|
|
123
|
+
console.log(message);
|
|
124
|
+
loading2.mount('#loading2');
|
|
125
|
+
});
|
|
84
126
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
127
|
+
idv.on('*', (message) => {
|
|
128
|
+
console.log(message);
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
</script>
|
|
132
|
+
</head>
|
|
91
133
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
</html>`;
|
|
134
|
+
<body style="background-color: white" onload="startOneSdk()">
|
|
135
|
+
<div
|
|
136
|
+
id="idv-el"
|
|
137
|
+
style="top: 0; left: 0; width: 100%; height: 100%; display: block"
|
|
138
|
+
></div>
|
|
139
|
+
</body>
|
|
140
|
+
</html>`;
|
|
99
141
|
//# sourceMappingURL=templateIdvReview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateIdvReview.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdvReview.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAA
|
|
1
|
+
{"version":3,"file":"templateIdvReview.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdvReview.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA0I3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateManualKyc.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateManualKyc.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"templateManualKyc.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateManualKyc.js"],"names":[],"mappings":"AAEA,uCAqNW"}
|
|
@@ -1,174 +1,216 @@
|
|
|
1
1
|
const html = String.raw;
|
|
2
|
-
export const templateManualKyc = html
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
export const templateManualKyc = html `<!-- Generated by OneSDK CLI -->
|
|
3
|
+
<!-- More information: https://docs.frankieone.com/v1.14.1/docs/about-onesdk -->
|
|
4
|
+
|
|
5
|
+
<!doctype html>
|
|
6
|
+
<html lang="en">
|
|
7
|
+
<head>
|
|
8
|
+
<!-- UTF-8 encoding you page is important as some text in the smart UI might not come out as you expect -->
|
|
9
|
+
<meta charset="utf-8" />
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
11
|
+
<title>OneSDK - Manual KYC</title>
|
|
12
|
+
|
|
13
|
+
<!-- NOTE: You can change the version of OneSDK to the desired version here -->
|
|
14
|
+
<script src="https://assets.frankiefinancial.io/one-sdk/v1/oneSdk.umd.js"></script>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
async function getToken() {
|
|
18
|
+
// WARNING: This is for testing purposes only
|
|
19
|
+
// use server-side code to request the token in production for security reasons
|
|
20
|
+
|
|
21
|
+
const customerId = '<CUSTOMER_ID_HERE>';
|
|
22
|
+
const customerChildId = '<CUSTOMER_CHILD_ID_HERE>';
|
|
23
|
+
const apiKey = '<API_KEY_HERE>';
|
|
24
|
+
const authKey = btoa(
|
|
25
|
+
customerId + ':' + customerChildId + ':' + apiKey,
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
const tokenResponse = await fetch(
|
|
29
|
+
BACKEND_URL[env] + '/auth/v2/machine-session',
|
|
30
|
+
{
|
|
31
|
+
method: 'POST',
|
|
32
|
+
headers: {
|
|
33
|
+
authorization: 'machine ' + authKey,
|
|
34
|
+
'Content-Type': 'application/json',
|
|
22
35
|
},
|
|
36
|
+
body: JSON.stringify({
|
|
37
|
+
permissions: {
|
|
38
|
+
preset: 'one-sdk',
|
|
39
|
+
// NOTE: Replace this with your customer reference
|
|
40
|
+
reference: '<CUSTOMER_REFERENCE_HERE>',
|
|
41
|
+
},
|
|
42
|
+
}),
|
|
23
43
|
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
return await tokenResponse.json();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async function startOneSdk() {
|
|
50
|
+
const sessionToken = await getToken();
|
|
51
|
+
|
|
52
|
+
const oneSdk = await OneSdk({
|
|
53
|
+
session: {
|
|
54
|
+
token: sessionToken,
|
|
55
|
+
},
|
|
56
|
+
mode: 'production',
|
|
57
|
+
recipe: {
|
|
58
|
+
form: {
|
|
59
|
+
provider: {
|
|
60
|
+
name: 'react',
|
|
61
|
+
// NOTE: This is for the autocomplete feature in the form
|
|
62
|
+
// googleApiKey: "<GOOGLE_API_KEY>",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
oneSdkInstance.on('*', console.log);
|
|
69
|
+
const appContainer = document.querySelector('#idv-el');
|
|
70
|
+
|
|
71
|
+
const welcome = oneSdkInstance.component('form', {
|
|
72
|
+
name: 'WELCOME',
|
|
73
|
+
mode: 'individual',
|
|
74
|
+
type: 'manual',
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
const consent = oneSdkInstance.component('form', {
|
|
78
|
+
name: 'CONSENT',
|
|
79
|
+
mode: 'individual',
|
|
80
|
+
type: 'manual',
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
const personal = oneSdkInstance.component('form', {
|
|
84
|
+
name: 'PERSONAL',
|
|
85
|
+
mode: 'individual',
|
|
86
|
+
type: 'manual',
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
const documents = oneSdkInstance.component('form', {
|
|
90
|
+
name: 'DOCUMENT',
|
|
91
|
+
mode: 'individual',
|
|
92
|
+
type: 'manual',
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
const review = oneSdkInstance.component('form', {
|
|
96
|
+
name: 'REVIEW',
|
|
97
|
+
mode: 'individual',
|
|
98
|
+
type: 'manual',
|
|
99
|
+
verify: true,
|
|
100
|
+
customResult: true,
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
const success = oneSdkInstance.component('form', {
|
|
104
|
+
name: 'RESULT',
|
|
105
|
+
mode: 'individual',
|
|
106
|
+
state: 'SUCCESS',
|
|
107
|
+
type: 'manual',
|
|
108
|
+
cta: {
|
|
109
|
+
label: 'Continue',
|
|
110
|
+
},
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
const failed = oneSdkInstance.component('form', {
|
|
114
|
+
name: 'RESULT',
|
|
115
|
+
mode: 'individual',
|
|
116
|
+
state: 'FAIL',
|
|
117
|
+
type: 'manual',
|
|
118
|
+
cta: {
|
|
119
|
+
label: 'Continue',
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
const partial = oneSdkInstance.component('form', {
|
|
124
|
+
name: 'RESULT',
|
|
125
|
+
mode: 'individual',
|
|
126
|
+
state: 'PARTIAL',
|
|
127
|
+
type: 'manual',
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
const pending = oneSdkInstance.component('form', {
|
|
131
|
+
name: 'RESULT',
|
|
132
|
+
mode: 'individual',
|
|
133
|
+
state: 'PENDING',
|
|
134
|
+
type: 'manual',
|
|
135
|
+
cta: {
|
|
136
|
+
label: 'Continue',
|
|
137
|
+
},
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
const retry = oneSdkInstance.component('form', {
|
|
141
|
+
name: 'RETRY',
|
|
142
|
+
mode: 'individual',
|
|
143
|
+
type: 'manual',
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
welcome.on('form:welcome:ready', () => {
|
|
147
|
+
consent.mount(appContainer);
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
consent.on('form:consent:ready', async () => {
|
|
151
|
+
personal.mount(appContainer);
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
personal.on('form:personal:ready', async () => {
|
|
155
|
+
documents.mount(appContainer);
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
documents.on('form:document:back', async () => {
|
|
159
|
+
personal.mount(appContainer);
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
documents.on('form:document:ready', async () => {
|
|
163
|
+
review.mount(appContainer);
|
|
164
|
+
});
|
|
165
|
+
|
|
166
|
+
review.on('form:review:success', async () => {
|
|
167
|
+
success.mount(appContainer);
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
review.on('form:review:failed', async () => {
|
|
142
171
|
failed.mount(appContainer);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
review.on('form:review:pending', () => {
|
|
175
|
+
pending.mount(appContainer);
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
let retryCount = 0;
|
|
179
|
+
review.on('form:review:partial', async () => {
|
|
180
|
+
if (retryCount < 2) {
|
|
181
|
+
retryCount += 1;
|
|
182
|
+
partial.mount(appContainer);
|
|
183
|
+
} else {
|
|
184
|
+
failed.mount(appContainer);
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
pending.on('form:result:pending', async () => {
|
|
189
|
+
console.log('form result pending');
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
success.on('form:result:success', async () => {
|
|
193
|
+
console.log('form result success');
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
failed.on('form:result:failed', async () => {
|
|
197
|
+
console.log('form result failed');
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
partial.on('form:result:partial', async () => {
|
|
201
|
+
retry.mount(appContainer);
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
welcome.mount(appContainer);
|
|
205
|
+
}
|
|
206
|
+
</script>
|
|
207
|
+
</head>
|
|
208
|
+
|
|
209
|
+
<body style="background-color: white" onload="startOneSdk()">
|
|
210
|
+
<div
|
|
211
|
+
id="idv-el"
|
|
212
|
+
style="top: 0; left: 0; width: 100%; height: 100%; display: block"
|
|
213
|
+
></div>
|
|
214
|
+
</body>
|
|
215
|
+
</html>`;
|
|
174
216
|
//# sourceMappingURL=templateManualKyc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateManualKyc.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateManualKyc.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAA
|
|
1
|
+
{"version":3,"file":"templateManualKyc.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateManualKyc.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAqN3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/idv/vendors/Sumsub/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/idv/vendors/Sumsub/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAc,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAMzD,OAAO,EAAa,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAkDhF,eAAO,MAAM,UAAU;;;;;;;;mBAlDR,CAAC;;;;;;;;;;CAsKf,CAAC"}
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { mkEventHub, OneSDKError } from '../../../common/index.js';
|
|
11
11
|
import { defineWrapper } from '../../../common/modules/defineModule.js';
|
|
12
12
|
import { useFormToReviewResults } from '../../../common/vendors/form/useForm.js';
|
|
13
13
|
import { install } from '../../../common/vendors/sumsub/index.js';
|
|
@@ -15,14 +15,14 @@ import { feat } from '../../../features.config.js';
|
|
|
15
15
|
import { IDVClient, IDVStatus } from '../../../frankie-client/clients/IDVClient.js';
|
|
16
16
|
import { createSession } from '../../../ocr/vendors/common/createSession.js';
|
|
17
17
|
import { checkStatusEventMapping } from '../common/checkStatusEventMapping.js';
|
|
18
|
-
const initProcess = (_a) => __awaiter(void 0, [_a], void 0, function* ({ eventHub,
|
|
18
|
+
const initProcess = (_a) => __awaiter(void 0, [_a], void 0, function* ({ eventHub, idvClient, vendorParameters, entityId, }) {
|
|
19
19
|
try {
|
|
20
20
|
const results = yield idvClient.initProcess({
|
|
21
21
|
isSynchronous: true,
|
|
22
22
|
vendorParameters,
|
|
23
23
|
});
|
|
24
24
|
checkStatusEventMapping({
|
|
25
|
-
eventHub
|
|
25
|
+
eventHub,
|
|
26
26
|
results,
|
|
27
27
|
entityId,
|
|
28
28
|
});
|
|
@@ -42,7 +42,7 @@ const removeVendorSDK = (mountElement) => {
|
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
export const initialise = defineWrapper('sumsub', (shared, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
45
|
-
var _a, _b;
|
|
45
|
+
var _a, _b, _c;
|
|
46
46
|
const { recipe, frankieClient } = shared;
|
|
47
47
|
const { mountElement, eventHub } = options;
|
|
48
48
|
const idvClient = new IDVClient(frankieClient);
|
|
@@ -53,9 +53,25 @@ export const initialise = defineWrapper('sumsub', (shared, options) => __awaiter
|
|
|
53
53
|
const { entityId, token, vendorParameters } = idvSession;
|
|
54
54
|
const containsReviewScreen = feat(`modules.idv.containsReviewScreen.sumsub`);
|
|
55
55
|
const recipeProvideReviewScreen = (_b = (_a = recipe.idv) === null || _a === void 0 ? void 0 : _a.provideReviewScreen) !== null && _b !== void 0 ? _b : feat('recipeDefaults.idv.provideReviewScreen');
|
|
56
|
-
const attachForm = !containsReviewScreen
|
|
56
|
+
const attachForm = (_c = (!containsReviewScreen && recipeProvideReviewScreen)) !== null && _c !== void 0 ? _c : false;
|
|
57
57
|
const privateEventHub = mkEventHub();
|
|
58
|
-
privateEventHub.on('results',
|
|
58
|
+
privateEventHub.on('results', (results) => {
|
|
59
|
+
const levelName = vendorParameters === null || vendorParameters === void 0 ? void 0 : vendorParameters.levelName;
|
|
60
|
+
if (levelName === 'basic-kyc-level') {
|
|
61
|
+
useFormToReviewResults({
|
|
62
|
+
oneSdkInstance: shared.oneSdkInstance,
|
|
63
|
+
localEventHub: eventHub,
|
|
64
|
+
mountElement,
|
|
65
|
+
attachForm: attachForm,
|
|
66
|
+
})(results);
|
|
67
|
+
}
|
|
68
|
+
if (levelName === 'POA_ONLY') {
|
|
69
|
+
eventHub.emit('loading', false, {
|
|
70
|
+
message: 'Completed process successfully',
|
|
71
|
+
});
|
|
72
|
+
eventHub.emit('results', results);
|
|
73
|
+
}
|
|
74
|
+
});
|
|
59
75
|
privateEventHub.on(['input_required', 'processing', 'error'], () => eventHub.emit('loading', false, {
|
|
60
76
|
message: 'Completed process unsuccessfully',
|
|
61
77
|
}));
|
|
@@ -87,16 +103,13 @@ export const initialise = defineWrapper('sumsub', (shared, options) => __awaiter
|
|
|
87
103
|
eventHub.emit('ready', { domElement: mountElement });
|
|
88
104
|
break;
|
|
89
105
|
case 'idCheck.onApplicantStatusChanged':
|
|
90
|
-
if ((payload === null || payload === void 0 ? void 0 : payload.reviewStatus) === '
|
|
106
|
+
if ((payload === null || payload === void 0 ? void 0 : payload.reviewStatus) === 'completed') {
|
|
91
107
|
eventHub.emit('detection_complete');
|
|
92
|
-
}
|
|
93
|
-
else if ((payload === null || payload === void 0 ? void 0 : payload.reviewStatus) === 'completed') {
|
|
94
108
|
eventHub.emit('loading', true, {
|
|
95
109
|
message: 'Retrieving IDV results',
|
|
96
110
|
});
|
|
97
111
|
yield initProcess({
|
|
98
|
-
eventHub,
|
|
99
|
-
privateEventHub,
|
|
112
|
+
eventHub: privateEventHub,
|
|
100
113
|
idvClient,
|
|
101
114
|
vendorParameters,
|
|
102
115
|
entityId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../modules/idv/vendors/Sumsub/index.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../modules/idv/vendors/Sumsub/index.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,UAAU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