idmission-web-sdk 0.0.1
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/LICENSE +21 -0
- package/README.md +398 -0
- package/dist/components/CompositeWizard.d.ts +27 -0
- package/dist/components/Example.d.ts +2 -0
- package/dist/components/GuideOrientationProvider.d.ts +4 -0
- package/dist/components/additional_document_capture/AdditionalDocumentCapture.d.ts +17 -0
- package/dist/components/additional_document_capture/AdditionalDocumentCaptureWizard.d.ts +16 -0
- package/dist/components/additional_document_capture/CapturedDocuments.d.ts +8 -0
- package/dist/components/camera/CameraAccessDeniedOverlay.d.ts +4 -0
- package/dist/components/camera/CameraProvider.d.ts +9 -0
- package/dist/components/camera/CameraVideoTag.d.ts +5 -0
- package/dist/components/common/Page.d.ts +12 -0
- package/dist/components/common/cdn.d.ts +1 -0
- package/dist/components/common/overlay.d.ts +790 -0
- package/dist/components/common/spinner.d.ts +261 -0
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +29 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +37 -0
- package/dist/components/customer_flows/CustomerIdentification.d.ts +23 -0
- package/dist/components/customer_flows/CustomerVerification.d.ts +22 -0
- package/dist/components/customer_flows/FaceValidation.d.ts +21 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +36 -0
- package/dist/components/customer_flows/IdValidation.d.ts +33 -0
- package/dist/components/customer_flows/SignatureKYC.d.ts +14 -0
- package/dist/components/customer_identification/CustomerIdentificationCapture.d.ts +13 -0
- package/dist/components/customer_identification/CustomerIdentificationFailure.d.ts +11 -0
- package/dist/components/customer_identification/CustomerIdentificationSuccess.d.ts +10 -0
- package/dist/components/customer_identification/CustomerIdentificationWizard.d.ts +33 -0
- package/dist/components/customer_verification/CustomerVerificationCapture.d.ts +13 -0
- package/dist/components/customer_verification/CustomerVerificationFailure.d.ts +11 -0
- package/dist/components/customer_verification/CustomerVerificationSuccess.d.ts +10 -0
- package/dist/components/customer_verification/CustomerVerificationWizard.d.ts +33 -0
- package/dist/components/face_liveness/FaceCaptureGuideOverlay.d.ts +6 -0
- package/dist/components/face_liveness/FaceLivenessCapture.d.ts +16 -0
- package/dist/components/face_liveness/FaceLivenessFailure.d.ts +11 -0
- package/dist/components/face_liveness/FaceLivenessSuccess.d.ts +10 -0
- package/dist/components/face_liveness/FaceLivenessWizard.d.ts +33 -0
- package/dist/components/id_capture/DocumentCaptureGuideOverlay.d.ts +14 -0
- package/dist/components/id_capture/FlipIdPrompt.d.ts +9 -0
- package/dist/components/id_capture/IdCapture.d.ts +46 -0
- package/dist/components/id_capture/IdCaptureLoadingOverlay.d.ts +13 -0
- package/dist/components/id_capture/IdCaptureModelsProvider.d.ts +7 -0
- package/dist/components/id_capture/IdCaptureSubmitBtn.d.ts +7 -0
- package/dist/components/id_capture/IdCaptureSuccess.d.ts +18 -0
- package/dist/components/id_capture/IdCaptureWizard.d.ts +56 -0
- package/dist/components/selfie_capture/HighPerformanceSelfieGuidanceModelsProvider.d.ts +34 -0
- package/dist/components/selfie_capture/SelfieCapture.d.ts +20 -0
- package/dist/components/selfie_capture/SelfieCaptureLoadingOverlay.d.ts +12 -0
- package/dist/components/selfie_capture/SelfieGuidanceModelsProvider.d.ts +5 -0
- package/dist/components/signature_capture/SignatureCapture.d.ts +18 -0
- package/dist/components/signature_capture/VideoSignatureCapture.d.ts +9 -0
- package/dist/components/signature_capture/data.d.ts +9 -0
- package/dist/components/signature_kyc/SignatureKYCLoadingOverlay.d.ts +12 -0
- package/dist/components/signature_kyc/SignatureKYCWizard.d.ts +5 -0
- package/dist/components/submission/GeolocationAccessDeniedOverlay.d.ts +5 -0
- package/dist/components/submission/SubmissionProvider.d.ts +16 -0
- package/dist/components/submission/SubmissionSuccess.d.ts +2 -0
- package/dist/contexts/CameraStateContext.d.ts +18 -0
- package/dist/contexts/GuideOrientationContext.d.ts +15 -0
- package/dist/contexts/IdCaptureModelsContext.d.ts +11 -0
- package/dist/contexts/SelfieGuidanceModelsContext.d.ts +14 -0
- package/dist/contexts/SubmissionContext.d.ts +156 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.js +7 -0
- package/dist/lib/barcode/Native.d.ts +1 -0
- package/dist/lib/barcode/Parse.d.ts +53 -0
- package/dist/lib/barcode/Scan.d.ts +3 -0
- package/dist/lib/barcode/ZXing.d.ts +1 -0
- package/dist/lib/camera/Camera.d.ts +59 -0
- package/dist/lib/camera/hooks.d.ts +9 -0
- package/dist/lib/camera/useVideoRecorder.d.ts +7 -0
- package/dist/lib/locales/en/translation.d.ts +2 -0
- package/dist/lib/locales/es/translation.d.ts +50 -0
- package/dist/lib/locales/index.d.ts +60 -0
- package/dist/lib/models/DocumentDetection.d.ts +27 -0
- package/dist/lib/models/FaceDetection.d.ts +5 -0
- package/dist/lib/models/Focus.d.ts +7 -0
- package/dist/lib/models/preloadModels.d.ts +5 -0
- package/dist/lib/tfworker/Actions.d.ts +29 -0
- package/dist/lib/tfworker/Client.d.ts +14 -0
- package/dist/lib/tfworker/TfWorker.d.ts +8 -0
- package/dist/lib/utils/OffscreenCanvasPolyfill.d.ts +0 -0
- package/dist/lib/utils/cropToShoulders.d.ts +2 -0
- package/dist/lib/utils/dataUrlToBase64.d.ts +3 -0
- package/dist/lib/utils/deviceDetection.d.ts +2 -0
- package/dist/lib/utils/getBlobDimensions.d.ts +1 -0
- package/dist/sdk2.cjs.development.js +13219 -0
- package/dist/sdk2.cjs.development.js.map +1 -0
- package/dist/sdk2.cjs.production.js +2 -0
- package/dist/sdk2.cjs.production.js.map +1 -0
- package/dist/sdk2.esm.js +13167 -0
- package/dist/sdk2.esm.js.map +1 -0
- package/dist/sdk2.umd.development.js +17456 -0
- package/dist/sdk2.umd.development.js.map +1 -0
- package/dist/sdk2.umd.production.js +2 -0
- package/dist/sdk2.umd.production.js.map +1 -0
- package/dist/stories/AdditionalDocumentCapture/AdditionalDocumentCapture.stories.d.ts +18 -0
- package/dist/stories/BarcodeReader.stories.d.ts +7 -0
- package/dist/stories/Camera.stories.d.ts +7 -0
- package/dist/stories/CompositeWizard/FaceLivenessAndIdCapture.stories.d.ts +24 -0
- package/dist/stories/CompositeWizard/IdCaptureAndFaceLiveness.stories.d.ts +24 -0
- package/dist/stories/CustomerFlows/CustomerBiometricsEnrollment.stories.d.ts +30 -0
- package/dist/stories/CustomerFlows/CustomerIdAndBiometricsEnrollment.stories.d.ts +29 -0
- package/dist/stories/CustomerFlows/CustomerIdentification.stories.d.ts +28 -0
- package/dist/stories/CustomerFlows/CustomerVerification.stories.d.ts +29 -0
- package/dist/stories/CustomerFlows/FaceValidation.stories.d.ts +29 -0
- package/dist/stories/CustomerFlows/IdAndFaceValidation.stories.d.ts +28 -0
- package/dist/stories/CustomerFlows/IdValidation.stories.d.ts +30 -0
- package/dist/stories/CustomerFlows/SignatureKYC.stories.d.ts +28 -0
- package/dist/stories/DocumentCaptureGuideOverlay/LicenseBack.stories.d.ts +14 -0
- package/dist/stories/DocumentCaptureGuideOverlay/LicenseFront.stories.d.ts +15 -0
- package/dist/stories/DocumentCaptureGuideOverlay/Passport.stories.d.ts +15 -0
- package/dist/stories/FaceLiveness/Capture.stories.d.ts +21 -0
- package/dist/stories/FaceLiveness/Wizard.stories.d.ts +23 -0
- package/dist/stories/FlipIdPrompt.stories.d.ts +15 -0
- package/dist/stories/FrameLoop.stories.d.ts +7 -0
- package/dist/stories/IdCapture/LicenseBackCapture.stories.d.ts +65 -0
- package/dist/stories/IdCapture/LicenseFrontCapture.stories.d.ts +65 -0
- package/dist/stories/IdCapture/PassportCapture.stories.d.ts +65 -0
- package/dist/stories/IdCapture/Wizard.stories.d.ts +89 -0
- package/dist/stories/MultiCamera.stories.d.ts +7 -0
- package/dist/stories/SignatureCapture/SignatureCapture.stories.d.ts +7 -0
- package/dist/stories/SignatureCapture/VideoSignatureCapture.stories.d.ts +7 -0
- package/dist/stories/TokenGeneration.stories.d.ts +7 -0
- package/dist/stories/VideoCapture.stories.d.ts +7 -0
- package/dist/stories/WebSdkExample.stories.d.ts +7 -0
- package/dist/stories/WebWorker.stories.d.ts +7 -0
- package/dist/stories/models/DocumentDetection.stories.d.ts +7 -0
- package/dist/stories/models/FaceDetection.stories.d.ts +9 -0
- package/dist/stories/models/FocusModel.stories.d.ts +7 -0
- package/dist/stories/models/HighPerformanceFaceDetectionMinimal.stories.d.ts +12 -0
- package/dist/stories/models/HighPerformanceFaceDetectionOriginal.stories.d.ts +7 -0
- package/dist/stories/utils/cdnUrl.d.ts +1 -0
- package/dist/stories/utils/getToken.d.ts +8 -0
- package/dist/stories/utils/makeRandomString.d.ts +1 -0
- package/package.json +130 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AdditionalDocumentCaptureWizardProps } from '../../components/additional_document_capture/AdditionalDocumentCaptureWizard';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: AdditionalDocumentCaptureWizardProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const AdditionalDocumentCapture: {
|
|
9
|
+
args: {
|
|
10
|
+
documents: ({
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
} | {
|
|
14
|
+
name: string;
|
|
15
|
+
description?: undefined;
|
|
16
|
+
})[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CompositeWizardProps } from '../../components/CompositeWizard';
|
|
3
|
+
import { FaceLivenessWizardProps } from '../../components/face_liveness/FaceLivenessWizard';
|
|
4
|
+
import { IdCaptureWizardProps } from '../../components/id_capture/IdCaptureWizard';
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: (args: CompositeWizardProps) => JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const FaceLivenessAndIDCapture: {
|
|
11
|
+
args: {
|
|
12
|
+
submissionEnvironment: string;
|
|
13
|
+
faceLivenessProps: FaceLivenessWizardProps;
|
|
14
|
+
idCaptureProps: IdCaptureWizardProps;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
submissionEnvironment: {
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CompositeWizardProps } from '../../components/CompositeWizard';
|
|
3
|
+
import { FaceLivenessWizardProps } from '../../components/face_liveness/FaceLivenessWizard';
|
|
4
|
+
import { IdCaptureWizardProps } from '../../components/id_capture/IdCaptureWizard';
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: (args: CompositeWizardProps) => JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const IDCaptureAndFaceLiveness: {
|
|
11
|
+
args: {
|
|
12
|
+
submissionEnvironment: string;
|
|
13
|
+
faceLivenessProps: FaceLivenessWizardProps;
|
|
14
|
+
idCaptureProps: IdCaptureWizardProps;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
submissionEnvironment: {
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CustomerEnrollmentProps } from '../../components/customer_flows/CustomerIdAndBiometricsEnrollment';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: CustomerEnrollmentProps) => JSX.Element | null;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const CustomerBiometricsEnrollment: {
|
|
9
|
+
args: {
|
|
10
|
+
lang: string;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
cdnUrl: any;
|
|
13
|
+
enrollmentId: string;
|
|
14
|
+
geolocationRequired: boolean;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
lang: {
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
options: readonly ["auto", "en", "es"];
|
|
22
|
+
};
|
|
23
|
+
submissionEnvironment: {
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
options: string[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CustomerEnrollmentProps } from '../../components/customer_flows/CustomerIdAndBiometricsEnrollment';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: CustomerEnrollmentProps) => JSX.Element | null;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const CustomerIDAndBiometricsEnrollment: {
|
|
9
|
+
args: {
|
|
10
|
+
lang: string;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
cdnUrl: any;
|
|
13
|
+
enrollmentId: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
lang: {
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
options: readonly ["auto", "en", "es"];
|
|
21
|
+
};
|
|
22
|
+
submissionEnvironment: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CustomerIdentificationProps } from '../../components/customer_flows/CustomerIdentification';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: CustomerIdentificationProps) => JSX.Element | null;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const CustomerIdentification: {
|
|
9
|
+
args: {
|
|
10
|
+
lang: string;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
cdnUrl: any;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
lang: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: readonly ["auto", "en", "es"];
|
|
20
|
+
};
|
|
21
|
+
submissionEnvironment: {
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CustomerVerificationProps } from '../../components/customer_flows/CustomerVerification';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: CustomerVerificationProps) => JSX.Element | null;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const CustomerVerification: {
|
|
9
|
+
args: {
|
|
10
|
+
lang: string;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
cdnUrl: any;
|
|
13
|
+
enrollmentId: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
lang: {
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
options: readonly ["auto", "en", "es"];
|
|
21
|
+
};
|
|
22
|
+
submissionEnvironment: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FaceValidationProps } from '../../components/customer_flows/FaceValidation';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: FaceValidationProps) => JSX.Element | null;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const FaceValidation: {
|
|
9
|
+
args: {
|
|
10
|
+
lang: string;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
cdnUrl: any;
|
|
13
|
+
debugMode: boolean;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
lang: {
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
options: readonly ["auto", "en", "es"];
|
|
21
|
+
};
|
|
22
|
+
submissionEnvironment: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IdAndFaceValidationProps } from '../../components/customer_flows/IdAndFaceValidation';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: IdAndFaceValidationProps) => JSX.Element | null;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const IdAndFaceValidation: {
|
|
9
|
+
args: {
|
|
10
|
+
lang: string;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
cdnUrl: any;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
lang: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: readonly ["auto", "en", "es"];
|
|
20
|
+
};
|
|
21
|
+
submissionEnvironment: {
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IdValidationProps } from '../../components/customer_flows/IdValidation';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: IdValidationProps) => JSX.Element | null;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const IdValidation: {
|
|
9
|
+
args: {
|
|
10
|
+
lang: string;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
cdnUrl: any;
|
|
13
|
+
captureSignature: boolean;
|
|
14
|
+
captureSignatureVideo: boolean;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
lang: {
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
options: readonly ["auto", "en", "es"];
|
|
22
|
+
};
|
|
23
|
+
submissionEnvironment: {
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
options: string[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FaceValidationProps } from '../../components/customer_flows/FaceValidation';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: FaceValidationProps) => JSX.Element | null;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const SignatureKYC: {
|
|
9
|
+
args: {
|
|
10
|
+
lang: string;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
cdnUrl: any;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
lang: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: readonly ["auto", "en", "es"];
|
|
20
|
+
};
|
|
21
|
+
submissionEnvironment: {
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DocumentCaptureGuideOverlayProps } from '../../components/id_capture/DocumentCaptureGuideOverlay';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: DocumentCaptureGuideOverlayProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const LicenseBack: {
|
|
9
|
+
args: {
|
|
10
|
+
instruction: string;
|
|
11
|
+
portraitGuidesImage: string;
|
|
12
|
+
landscapeGuidesImage: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DocumentCaptureGuideOverlayProps } from '../../components/id_capture/DocumentCaptureGuideOverlay';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: DocumentCaptureGuideOverlayProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const LicenseFront: {
|
|
9
|
+
args: {
|
|
10
|
+
instruction: string;
|
|
11
|
+
portraitGuidesImage: string;
|
|
12
|
+
landscapeGuidesImage: string;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DocumentCaptureGuideOverlayProps } from '../../components/id_capture/DocumentCaptureGuideOverlay';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: DocumentCaptureGuideOverlayProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Passport: {
|
|
9
|
+
args: {
|
|
10
|
+
instruction: string;
|
|
11
|
+
portraitGuidesImage: string;
|
|
12
|
+
landscapeGuidesImage: string;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {};
|
|
15
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FaceLivenessCaptureProps } from '../../components/face_liveness/FaceLivenessCapture';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: FaceLivenessCaptureProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Capture: {
|
|
9
|
+
args: {
|
|
10
|
+
timeoutDurationMs: number;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
submissionEnvironment: {
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FaceLivenessWizardProps } from '../../components/face_liveness/FaceLivenessWizard';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: FaceLivenessWizardProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Wizard: {
|
|
9
|
+
args: {
|
|
10
|
+
timeoutDurationMs: number;
|
|
11
|
+
submissionEnvironment: string;
|
|
12
|
+
instructionImageUrl: string;
|
|
13
|
+
failureImageUrl: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
submissionEnvironment: {
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FlipIdPromptProps } from '../components/id_capture/FlipIdPrompt';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: FlipIdPromptProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const FlipIdPrompt: {
|
|
9
|
+
args: {
|
|
10
|
+
frontPortraitGuidesImage: string;
|
|
11
|
+
frontLandscapeGuidesImage: string;
|
|
12
|
+
backPortraitGuidesImage: string;
|
|
13
|
+
backLandscapeGuidesImage: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IdCaptureProps } from '../../components/id_capture/IdCapture';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: IdCaptureProps & {
|
|
6
|
+
documentDetectionModelUrl: string;
|
|
7
|
+
focusModelUrl: string;
|
|
8
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const LicenseBackCapture: {
|
|
12
|
+
args: {
|
|
13
|
+
instruction: string;
|
|
14
|
+
portraitGuidesImage: string;
|
|
15
|
+
landscapeGuidesImage: string;
|
|
16
|
+
documentDetectionModelUrl: string;
|
|
17
|
+
documentDetectionNonMaxSuppressionEnabled: boolean;
|
|
18
|
+
autoCaptureEnabled: boolean;
|
|
19
|
+
autoCaptureScoreThreshold: number;
|
|
20
|
+
mrzDetectionScoreThreshold: number;
|
|
21
|
+
focusModelUrl: string;
|
|
22
|
+
focusScoreThreshold: number;
|
|
23
|
+
};
|
|
24
|
+
argTypes: {
|
|
25
|
+
documentDetectionModelUrl: {
|
|
26
|
+
control: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
autoCaptureEnabled: {
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
autoCaptureScoreThreshold: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
min: number;
|
|
39
|
+
max: number;
|
|
40
|
+
step: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
mrzDetectionScoreThreshold: {
|
|
44
|
+
control: {
|
|
45
|
+
type: string;
|
|
46
|
+
min: number;
|
|
47
|
+
max: number;
|
|
48
|
+
step: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
focusModelUrl: {
|
|
52
|
+
control: {
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
focusScoreThreshold: {
|
|
57
|
+
control: {
|
|
58
|
+
type: string;
|
|
59
|
+
min: number;
|
|
60
|
+
max: number;
|
|
61
|
+
step: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IdCaptureProps } from '../../components/id_capture/IdCapture';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: IdCaptureProps & {
|
|
6
|
+
documentDetectionModelUrl: string;
|
|
7
|
+
focusModelUrl: string;
|
|
8
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const LicenseFrontCapture: {
|
|
12
|
+
args: {
|
|
13
|
+
instruction: string;
|
|
14
|
+
portraitGuidesImage: string;
|
|
15
|
+
landscapeGuidesImage: string;
|
|
16
|
+
documentDetectionModelUrl: string;
|
|
17
|
+
documentDetectionNonMaxSuppressionEnabled: boolean;
|
|
18
|
+
autoCaptureEnabled: boolean;
|
|
19
|
+
autoCaptureScoreThreshold: number;
|
|
20
|
+
mrzDetectionScoreThreshold: number;
|
|
21
|
+
focusModelUrl: string;
|
|
22
|
+
focusScoreThreshold: number;
|
|
23
|
+
};
|
|
24
|
+
argTypes: {
|
|
25
|
+
documentDetectionModelUrl: {
|
|
26
|
+
control: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
autoCaptureEnabled: {
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
autoCaptureScoreThreshold: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
min: number;
|
|
39
|
+
max: number;
|
|
40
|
+
step: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
mrzDetectionScoreThreshold: {
|
|
44
|
+
control: {
|
|
45
|
+
type: string;
|
|
46
|
+
min: number;
|
|
47
|
+
max: number;
|
|
48
|
+
step: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
focusModelUrl: {
|
|
52
|
+
control: {
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
focusScoreThreshold: {
|
|
57
|
+
control: {
|
|
58
|
+
type: string;
|
|
59
|
+
min: number;
|
|
60
|
+
max: number;
|
|
61
|
+
step: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IdCaptureProps } from '../../components/id_capture/IdCapture';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (args: IdCaptureProps & {
|
|
6
|
+
documentDetectionModelUrl: string;
|
|
7
|
+
focusModelUrl: string;
|
|
8
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const PassportCapture: {
|
|
12
|
+
args: {
|
|
13
|
+
instruction: string;
|
|
14
|
+
portraitGuidesImage: string;
|
|
15
|
+
landscapeGuidesImage: string;
|
|
16
|
+
documentDetectionModelUrl: string;
|
|
17
|
+
documentDetectionNonMaxSuppressionEnabled: boolean;
|
|
18
|
+
autoCaptureEnabled: boolean;
|
|
19
|
+
autoCaptureScoreThreshold: number;
|
|
20
|
+
mrzDetectionScoreThreshold: number;
|
|
21
|
+
focusModelUrl: string;
|
|
22
|
+
focusScoreThreshold: number;
|
|
23
|
+
};
|
|
24
|
+
argTypes: {
|
|
25
|
+
documentDetectionModelUrl: {
|
|
26
|
+
control: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
autoCaptureEnabled: {
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
autoCaptureScoreThreshold: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
min: number;
|
|
39
|
+
max: number;
|
|
40
|
+
step: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
mrzDetectionScoreThreshold: {
|
|
44
|
+
control: {
|
|
45
|
+
type: string;
|
|
46
|
+
min: number;
|
|
47
|
+
max: number;
|
|
48
|
+
step: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
focusModelUrl: {
|
|
52
|
+
control: {
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
focusScoreThreshold: {
|
|
57
|
+
control: {
|
|
58
|
+
type: string;
|
|
59
|
+
min: number;
|
|
60
|
+
max: number;
|
|
61
|
+
step: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|