@incodetech/welcome 1.75.0 → 1.76.0-20240924205952.0
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/incode-utils/src/index.d.ts +1 -0
- package/dist/incode-utils/src/mobile.d.ts +4 -22
- package/dist/incode-utils/src/styles.d.ts +9 -0
- package/dist/incode-utils/src/utils.d.ts +8 -0
- package/dist/incode-utils/src/webcam/webcamUtils.d.ts +3 -1
- package/dist/incode-welcome/src/Phone/renderPhone.d.ts +1 -0
- package/dist/incode-welcome/src/advancedElectronicSignature/AdvancedElectronicSignature.d.ts +1 -21
- package/dist/incode-welcome/src/camera/CaptureDocument.d.ts +1 -2
- package/dist/incode-welcome/src/camera/CapturePreview.d.ts +4 -1
- package/dist/incode-welcome/src/camera/NativeCamera.d.ts +1 -2
- package/dist/incode-welcome/src/camera/SelfieUI.d.ts +3 -0
- package/dist/incode-welcome/src/camera/documentCapture/DocumentCapture.d.ts +4 -0
- package/dist/incode-welcome/src/camera/documentCapture/types.d.ts +13 -0
- package/dist/incode-welcome/src/camera/proofOfAddress/POA.d.ts +4 -0
- package/dist/incode-welcome/src/camera/proofOfAddress/index.d.ts +1 -0
- package/dist/incode-welcome/src/camera/proofOfAddress/types.d.ts +14 -0
- package/dist/incode-welcome/src/create.d.ts +1 -1
- package/dist/incode-welcome/src/detection/detectID.d.ts +3 -1
- package/dist/incode-welcome/src/detection/onboardingAnalytics.d.ts +1 -1
- package/dist/incode-welcome/src/ekyb/Ekyb.d.ts +17 -0
- package/dist/incode-welcome/src/ekyb/index.d.ts +1 -0
- package/dist/incode-welcome/src/ekyc/InformationVerification.d.ts +9 -0
- package/dist/incode-welcome/src/ekyc/InformationVerification.styled.d.ts +12 -0
- package/dist/incode-welcome/src/ekyc/components/Input.d.ts +19 -0
- package/dist/incode-welcome/src/ekyc/utils/index.d.ts +1 -0
- package/dist/incode-welcome/src/ekyc/utils/utils.d.ts +21 -0
- package/dist/incode-welcome/src/faceMatch/FaceMatch.d.ts +1 -2
- package/dist/incode-welcome/src/geolocation/Geolocation.d.ts +4 -0
- package/dist/incode-welcome/src/geolocation/components/BrowserSpecificInstructions.d.ts +4 -0
- package/dist/incode-welcome/src/geolocation/components/GeolocationPermissionAndroidSteps/GeolocationPermissionAndroidSteps.d.ts +4 -0
- package/dist/incode-welcome/src/geolocation/components/GeolocationPermissionAndroidSteps/index.d.ts +1 -0
- package/dist/incode-welcome/src/geolocation/components/GeolocationPermissionAndroidSteps/types.d.ts +5 -0
- package/dist/incode-welcome/src/geolocation/components/GeolocationPermissioniOSSteps/GeolocationPermissioniOSSteps.d.ts +4 -0
- package/dist/incode-welcome/src/geolocation/components/GeolocationPermissioniOSSteps/index.d.ts +1 -0
- package/dist/incode-welcome/src/geolocation/components/GeolocationPermissioniOSSteps/types.d.ts +5 -0
- package/dist/incode-welcome/src/geolocation/components/RenderSteps.d.ts +4 -0
- package/dist/incode-welcome/src/geolocation/components/styles.d.ts +7 -0
- package/dist/incode-welcome/src/geolocation/index.d.ts +1 -0
- package/dist/incode-welcome/src/geolocation/types.d.ts +7 -0
- package/dist/incode-welcome/src/index.d.ts +32 -0
- package/dist/incode-welcome/src/ine/IneCheck.d.ts +9 -0
- package/dist/incode-welcome/src/otp/SMSOTP.d.ts +1 -2
- package/dist/incode-welcome/src/recorder/renderVideoSelfie.d.ts +2 -2
- package/dist/incode-welcome/src/renderEmail.d.ts +1 -0
- package/dist/incode-welcome/src/setup.d.ts +2 -2
- package/dist/incode-welcome/src/signature/Signature.d.ts +1 -2
- package/dist/incode-welcome/src/tutorials/UI.d.ts +3 -3
- package/dist/incode-welcome/src/userData/ProcessId.d.ts +6 -0
- package/dist/incode-welcome/src/userData/UserData.d.ts +7 -0
- package/dist/incode-welcome/src/userData/UserInfo.d.ts +14 -0
- package/dist/incode-welcome/src/wasmUtils/mlWasmJSApi.d.ts +2 -2
- package/dist/incode-welcome/src/watchList/GlobalWatchList.d.ts +1 -1
- package/dist/incode-welcome/src/watchList/types.d.ts +1 -1
- package/dist/onBoarding.mjs +32011 -29074
- package/dist/onBoarding.umd.js +1305 -705
- package/dist/types/src/index.d.ts +0 -7
- package/package.json +1 -1
|
@@ -1,33 +1,15 @@
|
|
|
1
1
|
import UAParser from 'ua-parser-js';
|
|
2
2
|
export declare const setUxType: (type: 'desktop' | 'mobile' | null) => void;
|
|
3
3
|
export declare const getUxType: () => "desktop" | "mobile";
|
|
4
|
+
export declare const isTouchDevice: () => boolean;
|
|
5
|
+
export declare const isTabletWithoutAndroid: () => boolean;
|
|
4
6
|
export declare const mobile: {
|
|
5
7
|
Android: () => boolean;
|
|
6
|
-
S10: () => boolean;
|
|
7
|
-
J7: () => boolean;
|
|
8
|
-
BlackBerry: () => boolean;
|
|
9
8
|
iOS: () => boolean;
|
|
10
|
-
Opera: () => boolean;
|
|
11
|
-
Windows: () => boolean;
|
|
12
|
-
Xiaomi: () => boolean;
|
|
13
|
-
J7Prime: () => boolean;
|
|
14
|
-
J7Star: () => boolean;
|
|
15
|
-
Alcatel1x: () => boolean;
|
|
16
|
-
LenovoVibeB: () => boolean;
|
|
17
|
-
MiA3: () => boolean;
|
|
18
|
-
Redmi7: () => boolean;
|
|
19
|
-
G7: () => boolean;
|
|
20
|
-
HuaweiY9: () => boolean;
|
|
21
|
-
HuaweiP30: () => boolean;
|
|
22
|
-
J4: () => boolean;
|
|
23
|
-
S5: () => boolean;
|
|
24
|
-
E5: () => boolean;
|
|
25
|
-
E5Play: () => boolean;
|
|
26
9
|
isIpad: () => boolean;
|
|
27
|
-
isFBInAppBrowser: () =>
|
|
28
|
-
isInstagramAppBrowser: () =>
|
|
10
|
+
isFBInAppBrowser: () => boolean;
|
|
11
|
+
isInstagramAppBrowser: () => boolean;
|
|
29
12
|
any: () => boolean;
|
|
30
|
-
isIOS12: () => boolean;
|
|
31
13
|
isDesktop: () => boolean;
|
|
32
14
|
isAppleDevice: () => boolean;
|
|
33
15
|
isBrowserSupported: () => boolean;
|
|
@@ -86,4 +86,12 @@ export declare const isFirefox: () => boolean;
|
|
|
86
86
|
export declare function pollUntil<T>(promiseFunc: () => Promise<T>, checkCondition: (response: T) => boolean, interval: number): Promise<T>;
|
|
87
87
|
export declare const validateCPF: (cpf: any) => boolean;
|
|
88
88
|
export declare const maskDate: (value: string) => string;
|
|
89
|
+
export declare const getVideoSelfieModules: (flow: any, { checkIdScan, checkDocumentScan, checkVoiceConsent, questionsCount, showPassport, }: {
|
|
90
|
+
checkIdScan: any;
|
|
91
|
+
checkDocumentScan: any;
|
|
92
|
+
checkVoiceConsent: any;
|
|
93
|
+
questionsCount: any;
|
|
94
|
+
showPassport: any;
|
|
95
|
+
}) => string[];
|
|
96
|
+
export declare const deleteQueryParam: (queryParam: string) => void;
|
|
89
97
|
export {};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
type FacingMode = 'user' | 'environment';
|
|
2
2
|
export declare const killStream: (mediaStream: MediaStream, onlyVideo?: boolean) => void;
|
|
3
|
-
export declare const selfieChecks: ({ confidence, isBright, hasLenses, hasFaceMask, hasClosedEyes }: {
|
|
3
|
+
export declare const selfieChecks: ({ confidence, isBright, hasLenses, hasFaceMask, hasClosedEyes, hasHeadCover }: {
|
|
4
4
|
confidence: any;
|
|
5
5
|
isBright: any;
|
|
6
6
|
hasLenses: any;
|
|
7
7
|
hasFaceMask: any;
|
|
8
8
|
hasClosedEyes: any;
|
|
9
|
+
hasHeadCover: any;
|
|
9
10
|
}) => {
|
|
10
11
|
livenessPassed: boolean;
|
|
11
12
|
brightnessPassed: any;
|
|
12
13
|
lensesPassed: boolean;
|
|
13
14
|
maskPassed: boolean;
|
|
14
15
|
closedEyesPassed: boolean;
|
|
16
|
+
headCoverPassed: boolean;
|
|
15
17
|
hasErrors: boolean;
|
|
16
18
|
};
|
|
17
19
|
export declare const logSelfieChecks: (response: any, checks: any, onLog: any, setNotificationMessage: any, t: any) => void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { emptyFunc } from '../../../incode-utils/src';
|
|
2
|
+
export declare function PhoneNumberOrchestrator(props: any): import("react/jsx-runtime").JSX.Element;
|
|
2
3
|
declare function renderPhone(element: Element, { onSuccess, onError, session, optinEnabled, optinCompanyName, otpVerification, onLog, }: {
|
|
3
4
|
onSuccess: any;
|
|
4
5
|
onError: any;
|
package/dist/incode-welcome/src/advancedElectronicSignature/AdvancedElectronicSignature.d.ts
CHANGED
|
@@ -1,30 +1,10 @@
|
|
|
1
|
-
import { Document } from './types';
|
|
2
1
|
type AdvancedElectronicSignatureProps = {
|
|
3
2
|
uploadDocument: boolean;
|
|
4
3
|
downloadDocument: boolean;
|
|
5
|
-
onBoarding: {
|
|
6
|
-
getAdvancedElectronicSignatureUnsignedDocs: ({ token, }: {
|
|
7
|
-
token: string;
|
|
8
|
-
}) => {
|
|
9
|
-
documents: Document[];
|
|
10
|
-
};
|
|
11
|
-
processAdvancedElectronicSignatureDocs: ({ token, documentRef, }: {
|
|
12
|
-
token: string;
|
|
13
|
-
documentRef: string;
|
|
14
|
-
}) => {
|
|
15
|
-
success: boolean;
|
|
16
|
-
};
|
|
17
|
-
generateAESDocumentUploadUrl: ({ token }: {
|
|
18
|
-
token: string;
|
|
19
|
-
}) => {
|
|
20
|
-
preSignedUrl: string;
|
|
21
|
-
referenceId: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
4
|
onSuccess: () => void;
|
|
25
5
|
onError: () => void;
|
|
26
6
|
token: string;
|
|
27
7
|
};
|
|
28
|
-
declare function AdvancedElectronicSignature({ uploadDocument, downloadDocument,
|
|
8
|
+
declare function AdvancedElectronicSignature({ uploadDocument, downloadDocument, onSuccess, onError, token, }: AdvancedElectronicSignatureProps): import("react/jsx-runtime").JSX.Element;
|
|
29
9
|
export { AdvancedElectronicSignature };
|
|
30
10
|
export default AdvancedElectronicSignature;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export default CameraPaperStatement;
|
|
2
|
-
declare function CameraPaperStatement({
|
|
3
|
-
onBoarding: any;
|
|
2
|
+
declare function CameraPaperStatement({ onSuccess, permission, setPermission, permissionMessage, permissionBackgroundColor, onLog, token, onError, numberOfTries, timeout, hideRetake, }: {
|
|
4
3
|
onSuccess: any;
|
|
5
4
|
permission: any;
|
|
6
5
|
setPermission: any;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export default CapturePreview;
|
|
2
|
-
declare function CapturePreview({ progress, finishCapture, captureSuccessful, onClose, message, fileType, imageBase64, isSelfie, isPassport, isPoa, shouldBlurImage, shouldRotate, ageAssurance, }: {
|
|
2
|
+
declare function CapturePreview({ timesCaptureFailed, numberOfTries, progress, finishCapture, captureSuccessful, onClose, message, fileType, imageBase64, isSelfie, isPassport, isPoa, shouldBlurImage, shouldRotate, ageAssurance, resumeAutocapture, }: {
|
|
3
|
+
timesCaptureFailed?: number;
|
|
4
|
+
numberOfTries?: number;
|
|
3
5
|
progress?: number;
|
|
4
6
|
finishCapture: any;
|
|
5
7
|
captureSuccessful: any;
|
|
@@ -13,4 +15,5 @@ declare function CapturePreview({ progress, finishCapture, captureSuccessful, on
|
|
|
13
15
|
shouldBlurImage?: boolean;
|
|
14
16
|
shouldRotate?: boolean;
|
|
15
17
|
ageAssurance?: boolean;
|
|
18
|
+
resumeAutocapture?: () => void;
|
|
16
19
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export default NativeCamera;
|
|
2
|
-
declare function NativeCamera({
|
|
3
|
-
onBoarding: any;
|
|
2
|
+
declare function NativeCamera({ token, onLog, onSuccess, numberOfTries, onError, documentType, onlyAllowCapture, sendBase64, }: {
|
|
4
3
|
token: any;
|
|
5
4
|
onLog: any;
|
|
6
5
|
onSuccess: any;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export declare const RetryButtonsContainer: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
isDesktop: boolean;
|
|
3
|
+
}, never>;
|
|
1
4
|
export declare const CaptureButtonContainer: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
|
|
2
5
|
export declare const Hidder: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
|
|
3
6
|
export declare const WebcamContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Session } from '../../../../types/src';
|
|
2
|
+
export type DocumentCaptureProps = {
|
|
3
|
+
goNext: VoidFunction;
|
|
4
|
+
sendGeolocation: boolean;
|
|
5
|
+
token: Session;
|
|
6
|
+
flow?: any;
|
|
7
|
+
flowId?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
nodeId?: string;
|
|
11
|
+
nativeCamera?: boolean;
|
|
12
|
+
sendBase64?: boolean;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './POA';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Session } from '../../../../types/src';
|
|
2
|
+
export type ProofOfAddressProps = {
|
|
3
|
+
goNext: VoidFunction;
|
|
4
|
+
sendGeolocation: boolean;
|
|
5
|
+
token: Session;
|
|
6
|
+
flow?: any;
|
|
7
|
+
flowId?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
disableSkipPoa?: boolean;
|
|
11
|
+
nodeId?: string;
|
|
12
|
+
nativeCamera?: boolean;
|
|
13
|
+
sendBase64?: boolean;
|
|
14
|
+
};
|
|
@@ -98,7 +98,7 @@ import processSecondId from './processSecondId';
|
|
|
98
98
|
import processWatchlist from './processWatchlist';
|
|
99
99
|
import publishKeys from './publishKeys';
|
|
100
100
|
import renderQrScanner from './qrScanner/renderQrScanner';
|
|
101
|
-
import renderVideoSelfie from './recorder/renderVideoSelfie';
|
|
101
|
+
import { renderVideoSelfie } from './recorder/renderVideoSelfie';
|
|
102
102
|
import removeFromQueue from './removeFromQueue';
|
|
103
103
|
import renderBackTutorial from './renderBackTutorial';
|
|
104
104
|
import renderCamera from './renderCamera';
|
|
@@ -6,7 +6,7 @@ declare abstract class IdDetectorBase {
|
|
|
6
6
|
protected currentCanvas: IncodeCanvas | null;
|
|
7
7
|
abstract getOnCapturing(onCapturing: any): any;
|
|
8
8
|
abstract detect(canvas: IncodeCanvas): Promise<void>;
|
|
9
|
-
initialize({ onCapturing, onFarAway, onGlare, onBlur, onIDNotDetected, onMaskChange, onDetectionStarted, onSwitchToManualCapture, onIDTypeChange, idType, isFixedMask, isBlurCheckEnabled, isGlareCheckEnabled, pipelineProfile, autocaptureTimeout, }: {
|
|
9
|
+
initialize({ onCapturing, onFarAway, onGlare, onBlur, onIDNotDetected, onMaskChange, onDetectionStarted, onSwitchToManualCapture, onIDTypeChange, onIDSideChange, idType, isFixedMask, isBlurCheckEnabled, isGlareCheckEnabled, pipelineProfile, idDetectedTimeout, autocaptureTimeout, }: {
|
|
10
10
|
onCapturing: any;
|
|
11
11
|
onFarAway: any;
|
|
12
12
|
onGlare: any;
|
|
@@ -16,11 +16,13 @@ declare abstract class IdDetectorBase {
|
|
|
16
16
|
onDetectionStarted: any;
|
|
17
17
|
onSwitchToManualCapture: any;
|
|
18
18
|
onIDTypeChange: any;
|
|
19
|
+
onIDSideChange: any;
|
|
19
20
|
idType: any;
|
|
20
21
|
isFixedMask: boolean;
|
|
21
22
|
isBlurCheckEnabled: boolean;
|
|
22
23
|
isGlareCheckEnabled: boolean;
|
|
23
24
|
pipelineProfile: PipelineProfile;
|
|
25
|
+
idDetectedTimeout: number;
|
|
24
26
|
autocaptureTimeout: number;
|
|
25
27
|
}): Promise<void>;
|
|
26
28
|
protected detectCommon(canvas: IncodeCanvas, pipelineType: WasmPipelineType): Promise<void>;
|
|
@@ -18,7 +18,7 @@ declare class OnboardingAnalytics {
|
|
|
18
18
|
setPipelinesBundle(pipelinesBundle: string): void;
|
|
19
19
|
setSimdIsEnabled(simdIsEnabled: boolean): void;
|
|
20
20
|
setWasmVersion(wasmVersion: string): void;
|
|
21
|
-
getPipelineLogs():
|
|
21
|
+
getPipelineLogs(): object;
|
|
22
22
|
getMotionStatus(): string;
|
|
23
23
|
getAnalysisStatus(): string;
|
|
24
24
|
analyzeFrame(fullImage: string): Promise<void>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const MySelect: ({ register, children, id, defaultValue, className, label, registerOpts, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
register: any;
|
|
4
|
+
children: any;
|
|
5
|
+
id: any;
|
|
6
|
+
defaultValue: any;
|
|
7
|
+
className: any;
|
|
8
|
+
label: any;
|
|
9
|
+
registerOpts: any;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const Ekyb: ({ goNext, verificationFields, flow, token }: {
|
|
12
|
+
goNext: any;
|
|
13
|
+
verificationFields: any;
|
|
14
|
+
flow: any;
|
|
15
|
+
token: any;
|
|
16
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default Ekyb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Ekyb';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default InformationVerification;
|
|
2
|
+
declare function InformationVerification({ goNext, verificationFields: configFields, fieldsCountry, source, token, flow, }: {
|
|
3
|
+
goNext: any;
|
|
4
|
+
verificationFields?: {};
|
|
5
|
+
fieldsCountry?: string;
|
|
6
|
+
source?: any;
|
|
7
|
+
token: any;
|
|
8
|
+
flow: any;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const InformationVerificationTitle: import("styled-components").StyledComponent<"h1", any, {}, never>;
|
|
2
|
+
export const InformationVerificationForm: import("styled-components").StyledComponent<"form", any, {}, never>;
|
|
3
|
+
export const InformationVerificationResults: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export const VerificationContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export const StyledButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
6
|
+
export const Label: import("styled-components").StyledComponent<"label", any, {}, never>;
|
|
7
|
+
export const Input: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
8
|
+
export const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export const CountryWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
export const ErrorMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
11
|
+
export const SkipButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
12
|
+
export const PhoneContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { JSXElementConstructor } from 'react';
|
|
2
|
+
type MyInputProps = {
|
|
3
|
+
Tag?: JSXElementConstructor<any>;
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
readOnly?: boolean;
|
|
8
|
+
register?: any;
|
|
9
|
+
registerOpts?: any;
|
|
10
|
+
defaultValue?: string;
|
|
11
|
+
error?: {
|
|
12
|
+
message: string;
|
|
13
|
+
};
|
|
14
|
+
onBlur?: (e: any) => void;
|
|
15
|
+
onChange?: (e: any) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const errorInputClass = "error-input";
|
|
18
|
+
export declare function Input({ Tag, id, label, type, readOnly, register, registerOpts, defaultValue, error, ...props }: MyInputProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './utils';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const validateBrazilTaxId: (cpfString: any) => boolean;
|
|
2
|
+
export declare function cleanName(name: any): any;
|
|
3
|
+
export declare function formatSSN(value: any): any;
|
|
4
|
+
export declare function getEKYCFields(moduleConfiguration: any): {
|
|
5
|
+
name: string | boolean;
|
|
6
|
+
SSN: string | boolean;
|
|
7
|
+
address: string | boolean;
|
|
8
|
+
'date of birth': string | boolean;
|
|
9
|
+
email: string | boolean;
|
|
10
|
+
phone: string | boolean;
|
|
11
|
+
nationality: string | boolean;
|
|
12
|
+
dlNumber: string | boolean;
|
|
13
|
+
dlState: string | boolean;
|
|
14
|
+
dlExpireAt: string | boolean;
|
|
15
|
+
last4SSN: string | boolean;
|
|
16
|
+
};
|
|
17
|
+
export declare function mapToEKYCvalue(field: string): "user_input" | "poa_document" | "document_scan" | "phone_module_input" | "email_module_input";
|
|
18
|
+
export declare function getEKYCCountry(source: string): "US" | "MX" | "BR";
|
|
19
|
+
export declare function getEKYBfields(moduleConfiguration: {
|
|
20
|
+
[key: string]: boolean | string | number;
|
|
21
|
+
}): any[];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export default FaceMatch;
|
|
2
|
-
declare function FaceMatch({ onSuccess,
|
|
2
|
+
declare function FaceMatch({ onSuccess, token, existingUser, isSecondId }: {
|
|
3
3
|
onSuccess: any;
|
|
4
|
-
onBoarding: any;
|
|
5
4
|
token: any;
|
|
6
5
|
existingUser: any;
|
|
7
6
|
isSecondId: any;
|
package/dist/incode-welcome/src/geolocation/components/GeolocationPermissionAndroidSteps/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './GeolocationPermissionAndroidSteps';
|
package/dist/incode-welcome/src/geolocation/components/GeolocationPermissioniOSSteps/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './GeolocationPermissioniOSSteps';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const Screen: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const AndroidScreen: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const ContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const Heading: import("styled-components").StyledComponent<"h1", any, {}, never>;
|
|
5
|
+
export declare const InstructionsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const ButtonsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const GhostButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Geolocation';
|
|
@@ -55,6 +55,38 @@ export { default as processImss } from './processImss';
|
|
|
55
55
|
export { default as renderUserConsent } from './consents/renderUserConsent';
|
|
56
56
|
export { default as BrowserNotSupported } from './browserNotSupported/BrowserNotSupported';
|
|
57
57
|
export declare const setupDetect: () => Promise<void>;
|
|
58
|
+
export { default as DocumentSelector } from './documentSelector/DocumentSelector';
|
|
59
|
+
export { default as FrontId } from './camera/CaptureFrontId';
|
|
60
|
+
export { default as BackId } from './camera/CaptureBackId';
|
|
61
|
+
export { NotificationProvider } from './camera/Notification';
|
|
62
|
+
export { default as DefaultComponent } from './DefaultComponent';
|
|
58
63
|
export { getOtpStatus } from './getOtpStatus';
|
|
59
64
|
export { getLocationSuggestions } from './getLocationSuggestions';
|
|
60
65
|
export { getFeatureConfig } from './getFeatureConfig';
|
|
66
|
+
export { default as FaceMatch } from './faceMatch/FaceMatch';
|
|
67
|
+
export { default as fetchAssets } from './fetchAssets';
|
|
68
|
+
export { default as CombinedConsent } from './consents/combinedConsent/CombinedConsent';
|
|
69
|
+
export { default as Forms } from './forms/Forms';
|
|
70
|
+
export { default as submitAnswer } from './submitAnswer';
|
|
71
|
+
export { default as getForms } from './getForms';
|
|
72
|
+
export { default as CustomWatchList } from './watchList/CustomWatchList';
|
|
73
|
+
export { default as GlobalWatchList } from './watchList/GlobalWatchList';
|
|
74
|
+
export { PhoneNumberOrchestrator as Phone } from './Phone/renderPhone';
|
|
75
|
+
export { EmailOrchestrator as Email } from './renderEmail';
|
|
76
|
+
export { AdvancedElectronicSignature } from './advancedElectronicSignature/AdvancedElectronicSignature';
|
|
77
|
+
export { default as Curp } from './curp/EnterCurp';
|
|
78
|
+
export { Recorder as VideoSelfie } from './recorder/renderVideoSelfie';
|
|
79
|
+
export { default as Signature } from './signature/Signature';
|
|
80
|
+
export { default as Ekyb } from './ekyb/Ekyb';
|
|
81
|
+
export { default as Ekyc } from './ekyc/InformationVerification';
|
|
82
|
+
export { getEKYBfields, getEKYCCountry, getEKYCFields } from './ekyc/utils';
|
|
83
|
+
export { default as ProcessId } from './userData/ProcessId';
|
|
84
|
+
export { default as UserData } from './userData/UserData';
|
|
85
|
+
export { default as Selfie } from './camera/Selfie';
|
|
86
|
+
export { default as DocumentCapture } from './camera/documentCapture/DocumentCapture';
|
|
87
|
+
export { default as processFace } from './processFace';
|
|
88
|
+
export { default as processFaceSecondId } from './processFaceSecondId';
|
|
89
|
+
export { useModuleEvents, eventModuleNames } from './hooks/useModuleEvents';
|
|
90
|
+
export { default as ProofOfAddress } from './camera/proofOfAddress';
|
|
91
|
+
export { default as Geolocation } from './geolocation';
|
|
92
|
+
export { default as IneCheck } from './ine/IneCheck';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Session } from '../../../types/src';
|
|
2
|
+
type IneCheckProps = {
|
|
3
|
+
goNext: () => void;
|
|
4
|
+
backgroundExecution?: boolean;
|
|
5
|
+
token: Session;
|
|
6
|
+
flow?: any;
|
|
7
|
+
};
|
|
8
|
+
declare function IneCheck({ goNext, backgroundExecution, token, flow }: IneCheckProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default IneCheck;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export default SMSOTP;
|
|
2
|
-
declare function SMSOTP({ token: { token },
|
|
2
|
+
declare function SMSOTP({ token: { token }, onError, onLog, onSuccess, goBack, numberOfTries, isIndianGovernmentValidation, isEmail, }: {
|
|
3
3
|
token: {
|
|
4
4
|
token: any;
|
|
5
5
|
};
|
|
6
|
-
onBoarding: any;
|
|
7
6
|
onError: any;
|
|
8
7
|
onLog: any;
|
|
9
8
|
onSuccess: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export function Recorder(props: any): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export function renderVideoSelfie(element: any, { token, showTutorial, modules, speechToTextCheck, performLiveness, videoSelfieAsSelfie, compareOCREnabled, compareIDEnabled, compareBackOCREnabled, compareBackIDEnabled, useOpenVidu, questionsCount, }: {
|
|
3
3
|
token: any;
|
|
4
4
|
showTutorial?: boolean;
|
|
5
5
|
modules?: string[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { emptyFunc } from '../../incode-utils/src';
|
|
2
|
+
export declare function EmailOrchestrator(props: any): import("react/jsx-runtime").JSX.Element;
|
|
2
3
|
declare function renderEmail(element: Element, { onSuccess, onError, session, optinEnabled, optinCompanyName, otpVerification, onLog, }: {
|
|
3
4
|
onSuccess: any;
|
|
4
5
|
onError: any;
|
|
@@ -10,9 +10,9 @@ type SetupParams = {
|
|
|
10
10
|
apiKey?: string;
|
|
11
11
|
apiURL: string;
|
|
12
12
|
tokboxApiKey?: string;
|
|
13
|
-
options
|
|
13
|
+
options: IncodeOptions;
|
|
14
14
|
customHeaders?: AxiosRequestConfig['headers'];
|
|
15
|
-
fingerprintApiKey
|
|
15
|
+
fingerprintApiKey?: string;
|
|
16
16
|
};
|
|
17
17
|
declare const setup: ({ theme: _theme, clientId, lang, translations, apiKey, apiURL, tokboxApiKey, options, customHeaders, fingerprintApiKey, }: SetupParams) => void;
|
|
18
18
|
export default setup;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
declare function Signature({ onSuccess,
|
|
1
|
+
declare function Signature({ onSuccess, token, type, title, subtitle, initials, sendBase64, canvasBackgroundColor, canvasBorderColor, penColor, onInputChange, showSignatureInput, }: {
|
|
2
2
|
onSuccess: any;
|
|
3
|
-
onBoarding: any;
|
|
4
3
|
token: any;
|
|
5
4
|
type: any;
|
|
6
5
|
title: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const ButtonsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export const StyledButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
3
|
-
export const TutorialSHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const StyledButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
3
|
+
export declare const TutorialSHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default UserInfo;
|
|
2
|
+
declare function UserInfo({ className, label, value }: {
|
|
3
|
+
className?: string;
|
|
4
|
+
label: any;
|
|
5
|
+
value: any;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare namespace UserInfo {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
const label: PropTypes.Requireable<string>;
|
|
10
|
+
const value: PropTypes.Requireable<string>;
|
|
11
|
+
const className: PropTypes.Requireable<string>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
import PropTypes from "prop-types";
|
|
@@ -114,8 +114,8 @@ declare class MlWasmJSApi {
|
|
|
114
114
|
setFaceAttributesEnabled(type: WasmPipelineType, isLensesCheckEnabled: boolean, isMaskCheckEnabled: boolean, isClosedEyesCheckEnabled: boolean, isHeadWearCheckEnabled: boolean): Promise<void>;
|
|
115
115
|
setFaceDetectionMode(type: WasmPipelineType, isVideoSelfie: boolean): Promise<void>;
|
|
116
116
|
setFaceDetectionCallbacks(type: WasmPipelineType, onFarAway: Function, onTooClose: Function, onTooManyFaces: Function, onNoFace: Function, onCapture: Function, onCapturing: Function, onCenterFace: Function, onDark: Function, onBlur: Function, onFaceAngle: Function, onBestShot: Function, onLenses: Function, onMask: Function, onEyesClosed: Function, onHeadWear: Function, onSwitchToManualCapture: Function): Promise<void>;
|
|
117
|
-
setIdCaptureThresholds(type: WasmPipelineType, blurThreshold: number, blurChangeThreshold: number, glareThreshold: number, clsThreshold: number,
|
|
118
|
-
setIdCaptureCallbacks(type: WasmPipelineType, onFarAway: Function, onDetectionStarted: Function, onMaskChange: Function, onBlur: Function, onGlare: Function, onCapturing: Function, onIDNotDetected: Function, onSwitchToManualCapture: Function, onIDTypeChange: Function): Promise<void>;
|
|
117
|
+
setIdCaptureThresholds(type: WasmPipelineType, blurThreshold: number, blurChangeThreshold: number, glareThreshold: number, clsThreshold: number, idDetectedTimeout: number, autocaptureTimeout: number): Promise<void>;
|
|
118
|
+
setIdCaptureCallbacks(type: WasmPipelineType, onFarAway: Function, onDetectionStarted: Function, onMaskChange: Function, onBlur: Function, onGlare: Function, onCapturing: Function, onIDNotDetected: Function, onSwitchToManualCapture: Function, onIDTypeChange: Function, onIDSideChange: Function): Promise<void>;
|
|
119
119
|
setIdCaptureGeometryParams(type: WasmPipelineType, areaDown: number, areaUp: number, areaIOSPassportUp: number, areaIOSPassportDown: number, widthIOSUp: number, widthIOSDown: number, widthDown: number, widthUp: number, windowOuterWidth: number, windowOuterHeight: number, windowInnerWidth: number, windowInnerHeight: number): Promise<void>;
|
|
120
120
|
setIdCaptureConfigParams(type: WasmPipelineType, isFixedMask: boolean, isIPhone14OrHigher: boolean, idType: string, isBlurCheckEnabled: boolean, isGlareCheckEnabled: boolean): Promise<void>;
|
|
121
121
|
getVersions(): Promise<any>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { WatchListProps } from './types';
|
|
2
|
-
declare const GlobalWatchList: ({ onSuccess,
|
|
2
|
+
declare const GlobalWatchList: ({ onSuccess, token }: WatchListProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default GlobalWatchList;
|