idmission-web-sdk 2.2.164 → 2.2.165
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/contexts/AuthStateContext.d.ts.map +1 -1
- package/dist/lib/locales/de.d.ts +3 -1
- package/dist/lib/locales/de.d.ts.map +1 -1
- package/dist/lib/locales/es.d.ts +1 -1
- package/dist/lib/locales/fr.d.ts +3 -1
- package/dist/lib/locales/fr.d.ts.map +1 -1
- package/dist/lib/locales/index.d.ts +21 -7
- package/dist/lib/locales/index.d.ts.map +1 -1
- package/dist/lib/locales/it.d.ts +3 -1
- package/dist/lib/locales/it.d.ts.map +1 -1
- package/dist/lib/locales/ja.d.ts +3 -1
- package/dist/lib/locales/ja.d.ts.map +1 -1
- package/dist/lib/locales/pt.d.ts +3 -1
- package/dist/lib/locales/pt.d.ts.map +1 -1
- package/dist/lib/locales/ru.d.ts +2 -0
- package/dist/lib/locales/ru.d.ts.map +1 -1
- package/dist/lib/locales/zh.d.ts +3 -1
- package/dist/lib/locales/zh.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +218 -151
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +218 -151
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +218 -151
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -233,7 +233,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
233
233
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
234
234
|
};
|
|
235
235
|
|
|
236
|
-
var webSdkVersion = '2.2.
|
|
236
|
+
var webSdkVersion = '2.2.165';
|
|
237
237
|
|
|
238
238
|
function getPlatform() {
|
|
239
239
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -803,6 +803,61 @@ var Spinner = styled__default.default.div(templateObject_1$J || (templateObject_
|
|
|
803
803
|
}, dualRingSpinnerAnimation);
|
|
804
804
|
var templateObject_1$J;
|
|
805
805
|
|
|
806
|
+
var LogLevel;
|
|
807
|
+
(function (LogLevel) {
|
|
808
|
+
LogLevel[LogLevel["Off"] = 0] = "Off";
|
|
809
|
+
LogLevel[LogLevel["Error"] = 1] = "Error";
|
|
810
|
+
LogLevel[LogLevel["Warn"] = 2] = "Warn";
|
|
811
|
+
LogLevel[LogLevel["Info"] = 3] = "Info";
|
|
812
|
+
LogLevel[LogLevel["Debug"] = 4] = "Debug";
|
|
813
|
+
})(LogLevel || (LogLevel = {}));
|
|
814
|
+
var logLevel = LogLevel.Warn;
|
|
815
|
+
function useLogLevel(newLogLevel) {
|
|
816
|
+
React.useEffect(function () {
|
|
817
|
+
var oldLogLevel = logLevel;
|
|
818
|
+
if (newLogLevel === oldLogLevel) return;
|
|
819
|
+
logLevel = newLogLevel;
|
|
820
|
+
return function () {
|
|
821
|
+
logLevel = oldLogLevel;
|
|
822
|
+
};
|
|
823
|
+
}, [newLogLevel]);
|
|
824
|
+
}
|
|
825
|
+
function useDebugLogging(enabled) {
|
|
826
|
+
useLogLevel(enabled ? LogLevel.Debug : logLevel);
|
|
827
|
+
}
|
|
828
|
+
function debug() {
|
|
829
|
+
var parts = [];
|
|
830
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
831
|
+
parts[_i] = arguments[_i];
|
|
832
|
+
}
|
|
833
|
+
if (logLevel < LogLevel.Debug) return;
|
|
834
|
+
console.debug.apply(console, parts); // eslint-disable-line no-console
|
|
835
|
+
}
|
|
836
|
+
function log() {
|
|
837
|
+
var parts = [];
|
|
838
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
839
|
+
parts[_i] = arguments[_i];
|
|
840
|
+
}
|
|
841
|
+
if (logLevel < LogLevel.Info) return;
|
|
842
|
+
console.log.apply(console, parts); // eslint-disable-line no-console
|
|
843
|
+
}
|
|
844
|
+
function warn() {
|
|
845
|
+
var parts = [];
|
|
846
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
847
|
+
parts[_i] = arguments[_i];
|
|
848
|
+
}
|
|
849
|
+
if (logLevel < LogLevel.Warn) return;
|
|
850
|
+
console.warn.apply(console, parts); // eslint-disable-line no-console
|
|
851
|
+
}
|
|
852
|
+
function error() {
|
|
853
|
+
var parts = [];
|
|
854
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
855
|
+
parts[_i] = arguments[_i];
|
|
856
|
+
}
|
|
857
|
+
if (logLevel < LogLevel.Error) return;
|
|
858
|
+
console.error.apply(console, parts); // eslint-disable-line no-console
|
|
859
|
+
}
|
|
860
|
+
|
|
806
861
|
exports.defaultAuthUrl = 'https://portal-api.idmission.com';
|
|
807
862
|
var allowedAuthUrls = ['https://portal-api.idmission.com', 'https://portal-api-uat.idmission.com', 'https://portal-api-demo.idmission.com', 'https://portal-api-dev.idmission.com', 'http://localhost:10000'];
|
|
808
863
|
function setDefaultAuthUrl(url) {
|
|
@@ -840,8 +895,95 @@ var reducer$4 = function reducer(state, action) {
|
|
|
840
895
|
return state;
|
|
841
896
|
}
|
|
842
897
|
};
|
|
898
|
+
function makeValidateSessionRequest(authUrl_1, sessionId_1) {
|
|
899
|
+
return __awaiter(this, arguments, void 0, function (authUrl, sessionId, retryCount) {
|
|
900
|
+
var maxRetries, baseDelay, response, delay_1, error_1, delay_2;
|
|
901
|
+
if (retryCount === void 0) {
|
|
902
|
+
retryCount = 0;
|
|
903
|
+
}
|
|
904
|
+
return __generator(this, function (_a) {
|
|
905
|
+
switch (_a.label) {
|
|
906
|
+
case 0:
|
|
907
|
+
maxRetries = 10;
|
|
908
|
+
baseDelay = 1000 // 1 second
|
|
909
|
+
;
|
|
910
|
+
_a.label = 1;
|
|
911
|
+
case 1:
|
|
912
|
+
_a.trys.push([1, 4,, 6]);
|
|
913
|
+
return [4 /*yield*/, fetch("".concat(authUrl, "/portal.sessions.v1.SessionsService/ValidateSession"), {
|
|
914
|
+
method: 'POST',
|
|
915
|
+
headers: {
|
|
916
|
+
'Content-Type': 'application/json'
|
|
917
|
+
},
|
|
918
|
+
body: JSON.stringify({
|
|
919
|
+
id: sessionId
|
|
920
|
+
})
|
|
921
|
+
})
|
|
922
|
+
// If the request was successful or we've hit max retries, return the response
|
|
923
|
+
];
|
|
924
|
+
case 2:
|
|
925
|
+
response = _a.sent();
|
|
926
|
+
// If the request was successful or we've hit max retries, return the response
|
|
927
|
+
if (response.ok || retryCount >= maxRetries) {
|
|
928
|
+
return [2 /*return*/, response];
|
|
929
|
+
}
|
|
930
|
+
delay_1 = baseDelay * Math.pow(2, retryCount) // Exponential backoff
|
|
931
|
+
;
|
|
932
|
+
return [4 /*yield*/, new Promise(function (resolve) {
|
|
933
|
+
return setTimeout(resolve, delay_1);
|
|
934
|
+
})];
|
|
935
|
+
case 3:
|
|
936
|
+
_a.sent();
|
|
937
|
+
return [2 /*return*/, makeValidateSessionRequest(authUrl, sessionId, retryCount + 1)];
|
|
938
|
+
case 4:
|
|
939
|
+
error_1 = _a.sent();
|
|
940
|
+
// If we've hit max retries, throw the error
|
|
941
|
+
if (retryCount >= maxRetries) {
|
|
942
|
+
throw error_1;
|
|
943
|
+
}
|
|
944
|
+
delay_2 = baseDelay * Math.pow(2, retryCount);
|
|
945
|
+
return [4 /*yield*/, new Promise(function (resolve) {
|
|
946
|
+
return setTimeout(resolve, delay_2);
|
|
947
|
+
})];
|
|
948
|
+
case 5:
|
|
949
|
+
_a.sent();
|
|
950
|
+
return [2 /*return*/, makeValidateSessionRequest(authUrl, sessionId, retryCount + 1)];
|
|
951
|
+
case 6:
|
|
952
|
+
return [2 /*return*/];
|
|
953
|
+
}
|
|
954
|
+
});
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
function validateSession(authUrl, sessionId) {
|
|
958
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
959
|
+
var resp, respText, message, valid, respJson;
|
|
960
|
+
return __generator(this, function (_a) {
|
|
961
|
+
switch (_a.label) {
|
|
962
|
+
case 0:
|
|
963
|
+
return [4 /*yield*/, makeValidateSessionRequest(authUrl, sessionId)];
|
|
964
|
+
case 1:
|
|
965
|
+
resp = _a.sent();
|
|
966
|
+
return [4 /*yield*/, resp.text()];
|
|
967
|
+
case 2:
|
|
968
|
+
respText = _a.sent();
|
|
969
|
+
message = respText;
|
|
970
|
+
valid = false;
|
|
971
|
+
try {
|
|
972
|
+
respJson = JSON.parse(respText);
|
|
973
|
+
message = respJson.message;
|
|
974
|
+
valid = respJson.valid;
|
|
975
|
+
} catch (e) {
|
|
976
|
+
warn('Failed to parse session validation response', e);
|
|
977
|
+
}
|
|
978
|
+
if (!resp.ok) {
|
|
979
|
+
throw new SessionValidationFailedError(new Error(message), authUrl);
|
|
980
|
+
}
|
|
981
|
+
return [2 /*return*/, valid];
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
});
|
|
985
|
+
}
|
|
843
986
|
function useAuthReducer(authUrl, sessionId) {
|
|
844
|
-
var _this = this;
|
|
845
987
|
if (authUrl === void 0) {
|
|
846
988
|
authUrl = exports.defaultAuthUrl;
|
|
847
989
|
}
|
|
@@ -887,51 +1029,17 @@ function useAuthReducer(authUrl, sessionId) {
|
|
|
887
1029
|
type: 'setCheckState',
|
|
888
1030
|
payload: 'RUNNING'
|
|
889
1031
|
});
|
|
890
|
-
(function () {
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
switch (_b.label) {
|
|
895
|
-
case 0:
|
|
896
|
-
_b.trys.push([0, 3,, 4]);
|
|
897
|
-
return [4 /*yield*/, fetch("".concat(authUrl, "/portal.sessions.v1.SessionsService/ValidateSession"), {
|
|
898
|
-
method: 'POST',
|
|
899
|
-
headers: {
|
|
900
|
-
'Content-Type': 'application/json'
|
|
901
|
-
},
|
|
902
|
-
body: JSON.stringify({
|
|
903
|
-
id: resolvedSessionId
|
|
904
|
-
})
|
|
905
|
-
})];
|
|
906
|
-
case 1:
|
|
907
|
-
resp = _b.sent();
|
|
908
|
-
return [4 /*yield*/, resp.json()];
|
|
909
|
-
case 2:
|
|
910
|
-
_a = _b.sent(), valid = _a.valid, message = _a.message;
|
|
911
|
-
if (!resp.ok) {
|
|
912
|
-
dispatch({
|
|
913
|
-
type: 'setError',
|
|
914
|
-
payload: new SessionValidationFailedError(new Error(message), authUrl)
|
|
915
|
-
});
|
|
916
|
-
}
|
|
917
|
-
dispatch({
|
|
918
|
-
type: 'setCheckState',
|
|
919
|
-
payload: valid ? 'PASSED' : 'FAILED'
|
|
920
|
-
});
|
|
921
|
-
return [3 /*break*/, 4];
|
|
922
|
-
case 3:
|
|
923
|
-
e_1 = _b.sent();
|
|
924
|
-
dispatch({
|
|
925
|
-
type: 'setError',
|
|
926
|
-
payload: new SessionValidationFailedError(e_1, authUrl)
|
|
927
|
-
});
|
|
928
|
-
return [3 /*break*/, 4];
|
|
929
|
-
case 4:
|
|
930
|
-
return [2 /*return*/];
|
|
931
|
-
}
|
|
932
|
-
});
|
|
1032
|
+
validateSession(authUrl, resolvedSessionId).then(function (valid) {
|
|
1033
|
+
dispatch({
|
|
1034
|
+
type: 'setCheckState',
|
|
1035
|
+
payload: valid ? 'PASSED' : 'FAILED'
|
|
933
1036
|
});
|
|
934
|
-
})()
|
|
1037
|
+
})["catch"](function (e) {
|
|
1038
|
+
dispatch({
|
|
1039
|
+
type: 'setError',
|
|
1040
|
+
payload: new SessionValidationFailedError(e, authUrl)
|
|
1041
|
+
});
|
|
1042
|
+
});
|
|
935
1043
|
}
|
|
936
1044
|
}, [authUrl, sessionCheckState, resolvedSessionId, sessionId]);
|
|
937
1045
|
return [state, dispatch];
|
|
@@ -982,61 +1090,6 @@ function AuthProvider(_a) {
|
|
|
982
1090
|
}, children));
|
|
983
1091
|
}
|
|
984
1092
|
|
|
985
|
-
var LogLevel;
|
|
986
|
-
(function (LogLevel) {
|
|
987
|
-
LogLevel[LogLevel["Off"] = 0] = "Off";
|
|
988
|
-
LogLevel[LogLevel["Error"] = 1] = "Error";
|
|
989
|
-
LogLevel[LogLevel["Warn"] = 2] = "Warn";
|
|
990
|
-
LogLevel[LogLevel["Info"] = 3] = "Info";
|
|
991
|
-
LogLevel[LogLevel["Debug"] = 4] = "Debug";
|
|
992
|
-
})(LogLevel || (LogLevel = {}));
|
|
993
|
-
var logLevel = LogLevel.Warn;
|
|
994
|
-
function useLogLevel(newLogLevel) {
|
|
995
|
-
React.useEffect(function () {
|
|
996
|
-
var oldLogLevel = logLevel;
|
|
997
|
-
if (newLogLevel === oldLogLevel) return;
|
|
998
|
-
logLevel = newLogLevel;
|
|
999
|
-
return function () {
|
|
1000
|
-
logLevel = oldLogLevel;
|
|
1001
|
-
};
|
|
1002
|
-
}, [newLogLevel]);
|
|
1003
|
-
}
|
|
1004
|
-
function useDebugLogging(enabled) {
|
|
1005
|
-
useLogLevel(enabled ? LogLevel.Debug : logLevel);
|
|
1006
|
-
}
|
|
1007
|
-
function debug() {
|
|
1008
|
-
var parts = [];
|
|
1009
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1010
|
-
parts[_i] = arguments[_i];
|
|
1011
|
-
}
|
|
1012
|
-
if (logLevel < LogLevel.Debug) return;
|
|
1013
|
-
console.debug.apply(console, parts); // eslint-disable-line no-console
|
|
1014
|
-
}
|
|
1015
|
-
function log() {
|
|
1016
|
-
var parts = [];
|
|
1017
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1018
|
-
parts[_i] = arguments[_i];
|
|
1019
|
-
}
|
|
1020
|
-
if (logLevel < LogLevel.Info) return;
|
|
1021
|
-
console.log.apply(console, parts); // eslint-disable-line no-console
|
|
1022
|
-
}
|
|
1023
|
-
function warn() {
|
|
1024
|
-
var parts = [];
|
|
1025
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1026
|
-
parts[_i] = arguments[_i];
|
|
1027
|
-
}
|
|
1028
|
-
if (logLevel < LogLevel.Warn) return;
|
|
1029
|
-
console.warn.apply(console, parts); // eslint-disable-line no-console
|
|
1030
|
-
}
|
|
1031
|
-
function error() {
|
|
1032
|
-
var parts = [];
|
|
1033
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1034
|
-
parts[_i] = arguments[_i];
|
|
1035
|
-
}
|
|
1036
|
-
if (logLevel < LogLevel.Error) return;
|
|
1037
|
-
console.error.apply(console, parts); // eslint-disable-line no-console
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
1093
|
exports.defaultSubmissionUrl = 'https://portal-api.idmission.com/swagger';
|
|
1041
1094
|
function setDefaultSubmissionUrl(url) {
|
|
1042
1095
|
exports.defaultSubmissionUrl = url;
|
|
@@ -3563,7 +3616,7 @@ var es = {
|
|
|
3563
3616
|
'Document is not centered': 'Documento no centrado',
|
|
3564
3617
|
'Document too close please back up': 'Documento muy cerca, favor de alejarse',
|
|
3565
3618
|
'Please hold your ID document steady': 'Por favor, hay que mantener firme su identificación',
|
|
3566
|
-
'Document out of focus
|
|
3619
|
+
'Document out of focus - try improving the lighting': 'Documento no enfocado, hay que tratar de mejorar la iluminación',
|
|
3567
3620
|
'ID card front detected - please flip your ID card': 'Frente de la ID detectado, por favor hay que voltearla',
|
|
3568
3621
|
'ID card back detected - please flip your ID card': 'Reverso de la ID detectado, por favor hay que voltearla',
|
|
3569
3622
|
'ID card detected please scan a passport instead': 'Se ha detectado una credencial, por favor hay que escanear un pasaporte',
|
|
@@ -3690,7 +3743,7 @@ var de = {
|
|
|
3690
3743
|
'Document is not centered': 'Dokument ist nicht zentriert',
|
|
3691
3744
|
'Document too close please back up': 'Dokument ist zu nah, bitte Abstand vergrößern',
|
|
3692
3745
|
'Please hold your ID document steady': 'Ihr Ausweisdokument ruhig halten',
|
|
3693
|
-
'Document out of focus
|
|
3746
|
+
'Document out of focus - try improving the lighting': 'Dokument unscharf - versuchen Sie, die Beleuchtung zu verbessern',
|
|
3694
3747
|
'ID card front detected - please flip your ID card': 'Vorderseite des Ausweises erkannt - bitte Ihren Ausweis umdrehen',
|
|
3695
3748
|
'ID card back detected - please flip your ID card': 'Rückseite des Ausweises erkannt - bitte Ihren Ausweis umdrehen',
|
|
3696
3749
|
'ID card detected please scan a passport instead': 'Ausweis erkannt, bitte stattdessen einen Pass scannen',
|
|
@@ -3773,7 +3826,7 @@ var de = {
|
|
|
3773
3826
|
'Camera ready': 'Kamera bereit',
|
|
3774
3827
|
'Loading guided capture experience...': 'Geführte Erfassung wird geladen...',
|
|
3775
3828
|
'Guided capture experience ready': 'Geführte Erfassung bereit',
|
|
3776
|
-
"Let's Go!":
|
|
3829
|
+
"Let's Go!": "Los geht's!",
|
|
3777
3830
|
'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': 'Wir haben Probleme, die richtige Seite Ihres Ausweises zu erkennen. Möchten Sie dennoch mit der Erfassung fortfahren?',
|
|
3778
3831
|
OK: 'OK',
|
|
3779
3832
|
'Capture with Camera': 'Mit der Kamera aufnehmen',
|
|
@@ -3785,7 +3838,9 @@ var de = {
|
|
|
3785
3838
|
'Upload ID Front': 'Vorderseite der ID hochladen',
|
|
3786
3839
|
'Upload ID Back': 'Rückseite der ID hochladen',
|
|
3787
3840
|
Cancel: 'Abbrechen',
|
|
3788
|
-
'Upload the back of the ID if it is not included in the front image.': 'Laden Sie die Rückseite des Ausweises hoch, wenn diese nicht im Bild der Vorderseite enthalten ist
|
|
3841
|
+
'Upload the back of the ID if it is not included in the front image.': 'Laden Sie die Rückseite des Ausweises hoch, wenn diese nicht im Bild der Vorderseite enthalten ist.',
|
|
3842
|
+
'Camera tampering detected': 'Kamera manipuliert',
|
|
3843
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Leider scheint die Kamera manipuliert zu werden. Bitte prüfen Sie Ihr Gerät und laden Sie die Seite neu.'
|
|
3789
3844
|
};
|
|
3790
3845
|
|
|
3791
3846
|
var fr = {
|
|
@@ -3815,7 +3870,7 @@ var fr = {
|
|
|
3815
3870
|
'Document is not centered': "Le document n'est pas centré",
|
|
3816
3871
|
'Document too close please back up': 'Document trop proche, veuillez sauvegarder',
|
|
3817
3872
|
'Please hold your ID document steady': "Veuillez maintenir fermement votre pièce d'identité",
|
|
3818
|
-
'Document out of focus
|
|
3873
|
+
'Document out of focus - try improving the lighting': "Document flou - essayez d'améliorer l'éclairage",
|
|
3819
3874
|
'ID card front detected - please flip your ID card': "Recto de la carte d'identité détecté - veuillez retourner votre carte d'identité",
|
|
3820
3875
|
'ID card back detected - please flip your ID card': "Verso de la carte d'identité détectée - veuillez retourner votre carte d'identité",
|
|
3821
3876
|
'ID card detected please scan a passport instead': "Carte d'identité détectée, veuillez scanner plutôt un passeport",
|
|
@@ -3830,7 +3885,7 @@ var fr = {
|
|
|
3830
3885
|
'ID card front captured.': "Recto de la carte d'identité capturé.",
|
|
3831
3886
|
'ID card back captured.': "Verso de la carte d'identité capturé.",
|
|
3832
3887
|
'ID Capture Successful': "Capture d'identité réussie",
|
|
3833
|
-
'Verify the entire ID was captured clearly with no glare.': "Vérifiez que l'intégralité de la pièce d
|
|
3888
|
+
'Verify the entire ID was captured clearly with no glare.': "Vérifiez que l'intégralité de la pièce d'identité a été capturée clairement, sans reflet.",
|
|
3834
3889
|
Submit: 'Soumettre',
|
|
3835
3890
|
'Submitting...': 'Soumission en cours...',
|
|
3836
3891
|
'Use your device camera to capture your face': 'Utilisez la caméra de votre appareil pour capturer votre visage',
|
|
@@ -3874,20 +3929,20 @@ var fr = {
|
|
|
3874
3929
|
'Display the back of your ID card...': "Affichez le verso de votre carte d'identité...",
|
|
3875
3930
|
'Display the ID page of your passport...': "Montrez la page d'identité de votre passeport...",
|
|
3876
3931
|
'Please move your face to the center...': 'Veuillez déplacer votre visage vers le centre...',
|
|
3877
|
-
'Searching for ID card...': "Recherche d
|
|
3932
|
+
'Searching for ID card...': "Recherche d'une carte d'identité...",
|
|
3878
3933
|
'Please read the following text aloud': 'Veuillez lire le texte suivant à voix haute',
|
|
3879
|
-
'Video ID has been successfully captured!': '
|
|
3880
|
-
'ID Front Image':
|
|
3881
|
-
'ID Back Image':
|
|
3934
|
+
'Video ID has been successfully captured!': "L'ID vidéo a été capturé avec succès!",
|
|
3935
|
+
'ID Front Image': "Image recto de la pièce d'identité",
|
|
3936
|
+
'ID Back Image': "Image verso de la pièce d'identité",
|
|
3882
3937
|
"We're having some trouble.": 'Nous rencontrons quelques problèmes.',
|
|
3883
3938
|
'On-device capture guidance failed please capture a selfie manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer un selfie manuellement.",
|
|
3884
3939
|
'Verifying...': 'Vérification en cours...',
|
|
3885
3940
|
'Please capture the front of your ID card.': "Veuillez capturer le recto de votre carte d'identité.",
|
|
3886
3941
|
'Please capture the back of your ID card.': "Veuillez capturer le verso de votre carte d'identité.",
|
|
3887
|
-
'Please capture the front of your ID card, or the ID page of your passport.':
|
|
3888
|
-
'Please capture the back of your ID card, or click Done if submitting a passport.':
|
|
3942
|
+
'Please capture the front of your ID card, or the ID page of your passport.': "Veuillez capturer le recto de votre carte d'identité ou la page d'identité de votre passeport.",
|
|
3943
|
+
'Please capture the back of your ID card, or click Done if submitting a passport.': "Veuillez capturer le verso de votre carte d'identité ou cliquer sur Terminé si vous soumettez un passeport.",
|
|
3889
3944
|
'Please capture the ID page of your passport.': "Veuillez capturer la page d'identité de votre passeport.",
|
|
3890
|
-
'On-device capture guidance failed please capture a photo of your ID card manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer une photo de votre pièce d
|
|
3945
|
+
'On-device capture guidance failed please capture a photo of your ID card manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer une photo de votre pièce d'identité manuellement.",
|
|
3891
3946
|
'On-device capture guidance failed please capture a photo of your passport manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer une photo de votre passeport manuellement.",
|
|
3892
3947
|
'On-device capture guidance failed please capture photos of your ID card and passport manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer manuellement des photos de votre carte d'identité et de votre passeport.",
|
|
3893
3948
|
'On-device capture guidance failed please capture photos of your ID card or passport manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer manuellement des photos de votre carte d'identité ou de votre passeport.",
|
|
@@ -3910,7 +3965,9 @@ var fr = {
|
|
|
3910
3965
|
'Upload ID Front': "Télécharger le recto de la pièce d'identité",
|
|
3911
3966
|
'Upload ID Back': "Télécharger le verso de la pièce d'identité",
|
|
3912
3967
|
Cancel: 'Annuler',
|
|
3913
|
-
'Upload the back of the ID if it is not included in the front image.': "Téléchargez le verso de la pièce d'identité si ce n'est pas inclus dans l'image du recto."
|
|
3968
|
+
'Upload the back of the ID if it is not included in the front image.': "Téléchargez le verso de la pièce d'identité si ce n'est pas inclus dans l'image du recto.",
|
|
3969
|
+
'Camera tampering detected': 'Manipulation de la caméra détectée',
|
|
3970
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Nous sommes désolés, mais il semble que la caméra soit manipulée. Veuillez vérifier votre appareil et réessayer en rechargeant la page.'
|
|
3914
3971
|
};
|
|
3915
3972
|
|
|
3916
3973
|
var it = {
|
|
@@ -3933,27 +3990,27 @@ var it = {
|
|
|
3933
3990
|
'Scan the front of ID': 'Scansiona il fronte del documento',
|
|
3934
3991
|
'Scan the back of ID': 'Scansiona il retro del documento',
|
|
3935
3992
|
'Scan the ID page of passport': 'Scansione la pagina identificativa del passaporto',
|
|
3936
|
-
'ID Card Front':
|
|
3937
|
-
'ID Card Back':
|
|
3993
|
+
'ID Card Front': "Fronte documento d'identità",
|
|
3994
|
+
'ID Card Back': "Retro documento d'identità",
|
|
3938
3995
|
Passport: 'Passaporto',
|
|
3939
3996
|
'Document not detected': 'Documento non rilevato',
|
|
3940
3997
|
'Document is not centered': 'Documento non centrato',
|
|
3941
3998
|
'Document too close please back up': 'Documento troppo vicino, allontanarlo',
|
|
3942
|
-
'Please hold your ID document steady':
|
|
3943
|
-
'Document out of focus
|
|
3944
|
-
'ID card front detected - please flip your ID card':
|
|
3945
|
-
'ID card back detected - please flip your ID card':
|
|
3946
|
-
'ID card detected please scan a passport instead':
|
|
3947
|
-
'Passport detected please scan an ID card instead':
|
|
3999
|
+
'Please hold your ID document steady': "Tenere il documento d'identità fermo",
|
|
4000
|
+
'Document out of focus - try improving the lighting': "Documento fuori fuoco - provare a migliorare l'illuminazione",
|
|
4001
|
+
'ID card front detected - please flip your ID card': "Fronte del documento d'identità rilevato - Girare il documento d'identità",
|
|
4002
|
+
'ID card back detected - please flip your ID card': "Retro del documento d'identità rilevato - Girare il documento d'identità",
|
|
4003
|
+
'ID card detected please scan a passport instead': "Documento d'identità rilevato, scansionare un passaporto al suo posto",
|
|
4004
|
+
'Passport detected please scan an ID card instead': "Passaporto rilevato, scansionare una documento d'identità al suo posto",
|
|
3948
4005
|
'Document detected, hold still...': 'Documento rilevato, tenere fermo...',
|
|
3949
|
-
'ID card front detected, hold still...':
|
|
3950
|
-
'ID card back detected, hold still...':
|
|
4006
|
+
'ID card front detected, hold still...': "Fronte documento d'identità rilevato, tenere fermo...",
|
|
4007
|
+
'ID card back detected, hold still...': "Retro documento d'identità rilevato, tenere fermo...",
|
|
3951
4008
|
'Passport detected, hold still...': 'Passaporto rilevato, tenere fermo...',
|
|
3952
4009
|
'Capturing...': 'Acquisizione...',
|
|
3953
4010
|
'Capture failed!': 'Acquisizione non riuscita!',
|
|
3954
|
-
'Please flip your ID card...':
|
|
3955
|
-
'ID card front captured.':
|
|
3956
|
-
'ID card back captured.':
|
|
4011
|
+
'Please flip your ID card...': "Capovolgere il documento d'identità",
|
|
4012
|
+
'ID card front captured.': "Fronte documento d'identità acquisito.",
|
|
4013
|
+
'ID card back captured.': "Retro documento d'identità acquisito.",
|
|
3957
4014
|
'ID Capture Successful': 'Acquisizione documento riuscita',
|
|
3958
4015
|
'Verify the entire ID was captured clearly with no glare.': 'Verificare che tutto il documento sia acquisito chiaramente e senza riflessi.',
|
|
3959
4016
|
Submit: 'Invia',
|
|
@@ -3995,29 +4052,29 @@ var it = {
|
|
|
3995
4052
|
'Uploading...': 'Caricamento...',
|
|
3996
4053
|
'Upload succeeded!': 'Caricamento riuscito!',
|
|
3997
4054
|
'Performing facial recognition, please hold still...': 'Riconoscimento volto in corso, tenere fermo...',
|
|
3998
|
-
'Display the front of your ID card...':
|
|
3999
|
-
'Display the back of your ID card...':
|
|
4055
|
+
'Display the front of your ID card...': "Mostrare il fronte del documento d'identità...",
|
|
4056
|
+
'Display the back of your ID card...': "Mostrare il retro della documento d'identità...",
|
|
4000
4057
|
'Display the ID page of your passport...': 'Mostrare la pagina identificativa del passaporto...',
|
|
4001
4058
|
'Please move your face to the center...': 'Spostare il volto al centro...',
|
|
4002
|
-
'Searching for ID card...':
|
|
4059
|
+
'Searching for ID card...': "Ricerca documento d'identità in corso...",
|
|
4003
4060
|
'Please read the following text aloud': 'Leggere il testo seguente a voce alta',
|
|
4004
|
-
'Video ID has been successfully captured!': '
|
|
4005
|
-
'ID Front Image':
|
|
4006
|
-
'ID Back Image':
|
|
4061
|
+
'Video ID has been successfully captured!': "L'ID video è stato acquisito correttamente!",
|
|
4062
|
+
'ID Front Image': "Immagine fronte documento d'identità",
|
|
4063
|
+
'ID Back Image': "Immagine retro documento d'identità",
|
|
4007
4064
|
"We're having some trouble.": 'Si è verificato un problema.',
|
|
4008
4065
|
'On-device capture guidance failed please capture a selfie manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Scattare un selfie manualmente.",
|
|
4009
4066
|
'Verifying...': 'Verifica...',
|
|
4010
|
-
'Please capture the front of your ID card.':
|
|
4011
|
-
'Please capture the back of your ID card.':
|
|
4012
|
-
'Please capture the front of your ID card, or the ID page of your passport.':
|
|
4013
|
-
'Please capture the back of your ID card, or click Done if submitting a passport.':
|
|
4067
|
+
'Please capture the front of your ID card.': "Acquisire il fronte del documento d'identità.",
|
|
4068
|
+
'Please capture the back of your ID card.': "Acquisire il retro del documento d'identità.",
|
|
4069
|
+
'Please capture the front of your ID card, or the ID page of your passport.': "Acquisire il fronte del documento d'identità o la pagina identificativa del passaporto.",
|
|
4070
|
+
'Please capture the back of your ID card, or click Done if submitting a passport.': "Acquisire il retro del documento d'identità o fare clic su Fatto se si invia un passaporto.",
|
|
4014
4071
|
'Please capture the ID page of your passport.': 'Acquisire la pagina identificativa del passaporto.',
|
|
4015
|
-
'On-device capture guidance failed please capture a photo of your ID card manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire una foto del documento d
|
|
4072
|
+
'On-device capture guidance failed please capture a photo of your ID card manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire una foto del documento d'identità manualmente.",
|
|
4016
4073
|
'On-device capture guidance failed please capture a photo of your passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire una foto del passaporto manualmente.",
|
|
4017
|
-
'On-device capture guidance failed please capture photos of your ID card and passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire delle foto del documento d
|
|
4018
|
-
'On-device capture guidance failed please capture photos of your ID card or passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire delle foto del documento d
|
|
4074
|
+
'On-device capture guidance failed please capture photos of your ID card and passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire delle foto del documento d'identità e del passaporto manualmente.",
|
|
4075
|
+
'On-device capture guidance failed please capture photos of your ID card or passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire delle foto del documento d'identità o del passaporto manualmente.",
|
|
4019
4076
|
'Capture ID page of passport': 'Acquisisci pagina identificativa del passaporto',
|
|
4020
|
-
'Capture back of ID card':
|
|
4077
|
+
'Capture back of ID card': "Acquisisci retro del documento d'identità",
|
|
4021
4078
|
'Downloading...': 'Download in corso...',
|
|
4022
4079
|
'Accessing camera...': 'Accesso alla fotocamera...',
|
|
4023
4080
|
'Camera ready': 'Fotocamera pronta',
|
|
@@ -4035,7 +4092,9 @@ var it = {
|
|
|
4035
4092
|
'Upload ID Front': "Carica il fronte dell'ID",
|
|
4036
4093
|
'Upload ID Back': "Carica il retro dell'ID",
|
|
4037
4094
|
Cancel: 'Annulla',
|
|
4038
|
-
'Upload the back of the ID if it is not included in the front image.': "Carica il retro dell'ID se non è incluso nell'immagine del fronte
|
|
4095
|
+
'Upload the back of the ID if it is not included in the front image.': "Carica il retro dell'ID se non è incluso nell'immagine del fronte.",
|
|
4096
|
+
'Camera tampering detected': 'Manipolazione della fotocamera rilevata',
|
|
4097
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Siamo spiacenti, ma sembra che la fotocamera stia venendo manipolata. Controlla il tuo dispositivo e riprova ricaricando la pagina.'
|
|
4039
4098
|
};
|
|
4040
4099
|
|
|
4041
4100
|
var ja = {
|
|
@@ -4065,7 +4124,7 @@ var ja = {
|
|
|
4065
4124
|
'Document is not centered': 'ドキュメントが中央に合っていません',
|
|
4066
4125
|
'Document too close please back up': 'ドキュメントが近すぎます。遠ざけてください',
|
|
4067
4126
|
'Please hold your ID document steady': '身分証が動かないように押さえてください',
|
|
4068
|
-
'Document out of focus
|
|
4127
|
+
'Document out of focus - try improving the lighting': 'ドキュメントの焦点がぼやけています。照明を調節してください',
|
|
4069
4128
|
'ID card front detected - please flip your ID card': '身分証の正面が検出されました。身分証を裏返してください',
|
|
4070
4129
|
'ID card back detected - please flip your ID card': '身分証の背面が検出されました。身分証を裏返してください',
|
|
4071
4130
|
'ID card detected please scan a passport instead': '身分証が検出されました。パスポートをスキャンしてください',
|
|
@@ -4160,7 +4219,9 @@ var ja = {
|
|
|
4160
4219
|
'Upload ID Front': '身分証明書の表面をアップロード',
|
|
4161
4220
|
'Upload ID Back': '身分証明書の裏面をアップロード',
|
|
4162
4221
|
Cancel: 'キャンセル',
|
|
4163
|
-
'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。'
|
|
4222
|
+
'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。',
|
|
4223
|
+
'Camera tampering detected': 'カメラの操作が検出されました',
|
|
4224
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'カメラの操作が検出されました。デバイスを確認し、ページを再読み込みしてください。'
|
|
4164
4225
|
};
|
|
4165
4226
|
|
|
4166
4227
|
var pt = {
|
|
@@ -4190,7 +4251,7 @@ var pt = {
|
|
|
4190
4251
|
'Document is not centered': 'Documento não está centralizado',
|
|
4191
4252
|
'Document too close please back up': 'Documento muito próximo, recue',
|
|
4192
4253
|
'Please hold your ID document steady': 'Segure seu documento de identificação com firmeza',
|
|
4193
|
-
'Document out of focus
|
|
4254
|
+
'Document out of focus - try improving the lighting': 'Documento fora de foco - tente melhorar a iluminação',
|
|
4194
4255
|
'ID card front detected - please flip your ID card': 'Detectada a frente da carteira de identidade - vire a carteira de identidade',
|
|
4195
4256
|
'ID card back detected - please flip your ID card': 'Detectado o verso da carteira de identidade - vire a carteira de identidade',
|
|
4196
4257
|
'ID card detected please scan a passport instead': 'Detectada a carteira de identidade - escaneie um passaporte em seu lugar',
|
|
@@ -4285,7 +4346,9 @@ var pt = {
|
|
|
4285
4346
|
'Upload ID Front': 'Carregar frente do ID',
|
|
4286
4347
|
'Upload ID Back': 'Carregar verso do ID',
|
|
4287
4348
|
Cancel: 'Cancelar',
|
|
4288
|
-
'Upload the back of the ID if it is not included in the front image.': 'Carregue o verso do ID se não estiver incluído na imagem da frente.'
|
|
4349
|
+
'Upload the back of the ID if it is not included in the front image.': 'Carregue o verso do ID se não estiver incluído na imagem da frente.',
|
|
4350
|
+
'Camera tampering detected': 'Manipulação da câmera detectada',
|
|
4351
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Lamentamos, mas parece que a câmera está sendo manipulada. Verifique seu dispositivo e tente novamente recarregando a página.'
|
|
4289
4352
|
};
|
|
4290
4353
|
|
|
4291
4354
|
var ru = {
|
|
@@ -4410,7 +4473,9 @@ var ru = {
|
|
|
4410
4473
|
'Upload ID Front': 'Загрузить переднюю сторону удостоверения личности',
|
|
4411
4474
|
'Upload ID Back': 'Загрузить заднюю сторону удостоверения личности',
|
|
4412
4475
|
Cancel: 'Отменить',
|
|
4413
|
-
'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней
|
|
4476
|
+
'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней стороны.',
|
|
4477
|
+
'Camera tampering detected': 'Обнаружена манипуляция с камерой',
|
|
4478
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'К сожалению, кажется, что камера подвергается манипуляциям. Пожалуйста, проверьте свое устройство и попробуйте снова, перезагрузив страницу.'
|
|
4414
4479
|
};
|
|
4415
4480
|
|
|
4416
4481
|
var zh = {
|
|
@@ -4440,7 +4505,7 @@ var zh = {
|
|
|
4440
4505
|
'Document is not centered': '文件未置中',
|
|
4441
4506
|
'Document too close please back up': '文件太近,請後退',
|
|
4442
4507
|
'Please hold your ID document steady': '請拿穩證件',
|
|
4443
|
-
'Document out of focus
|
|
4508
|
+
'Document out of focus - try improving the lighting': '文件失焦 - 請嘗試改善燈光',
|
|
4444
4509
|
'ID card front detected - please flip your ID card': '偵測到證件正面 - 請將證件翻面',
|
|
4445
4510
|
'ID card back detected - please flip your ID card': '偵測到證件背面 - 請將證件翻面',
|
|
4446
4511
|
'ID card detected please scan a passport instead': '偵測到證件,請掃描護照',
|
|
@@ -4501,7 +4566,7 @@ var zh = {
|
|
|
4501
4566
|
'Please move your face to the center...': '請將臉部移至中心...',
|
|
4502
4567
|
'Searching for ID card...': '正在搜尋證件...',
|
|
4503
4568
|
'Please read the following text aloud': '請大聲讀出以下文字',
|
|
4504
|
-
'Video ID has been successfully captured!': '已成功拍攝影片 ID
|
|
4569
|
+
'Video ID has been successfully captured!': '已成功拍攝影片 ID!',
|
|
4505
4570
|
'ID Front Image': '證件正面影像',
|
|
4506
4571
|
'ID Back Image': '證件背面影像',
|
|
4507
4572
|
"We're having some trouble.": '發生一些問題。',
|
|
@@ -4535,7 +4600,9 @@ var zh = {
|
|
|
4535
4600
|
'Upload ID Front': '上传身份证正面',
|
|
4536
4601
|
'Upload ID Back': '上传身份证背面',
|
|
4537
4602
|
Cancel: '取消',
|
|
4538
|
-
'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。'
|
|
4603
|
+
'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。',
|
|
4604
|
+
'Camera tampering detected': '檢測到相機被篡改',
|
|
4605
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": '很抱歉,看起來相機被篡改了。請檢查您的設備並重新載入頁面。'
|
|
4539
4606
|
};
|
|
4540
4607
|
|
|
4541
4608
|
var resources = {
|