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.
Files changed (135) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +398 -0
  3. package/dist/components/CompositeWizard.d.ts +27 -0
  4. package/dist/components/Example.d.ts +2 -0
  5. package/dist/components/GuideOrientationProvider.d.ts +4 -0
  6. package/dist/components/additional_document_capture/AdditionalDocumentCapture.d.ts +17 -0
  7. package/dist/components/additional_document_capture/AdditionalDocumentCaptureWizard.d.ts +16 -0
  8. package/dist/components/additional_document_capture/CapturedDocuments.d.ts +8 -0
  9. package/dist/components/camera/CameraAccessDeniedOverlay.d.ts +4 -0
  10. package/dist/components/camera/CameraProvider.d.ts +9 -0
  11. package/dist/components/camera/CameraVideoTag.d.ts +5 -0
  12. package/dist/components/common/Page.d.ts +12 -0
  13. package/dist/components/common/cdn.d.ts +1 -0
  14. package/dist/components/common/overlay.d.ts +790 -0
  15. package/dist/components/common/spinner.d.ts +261 -0
  16. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +29 -0
  17. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +37 -0
  18. package/dist/components/customer_flows/CustomerIdentification.d.ts +23 -0
  19. package/dist/components/customer_flows/CustomerVerification.d.ts +22 -0
  20. package/dist/components/customer_flows/FaceValidation.d.ts +21 -0
  21. package/dist/components/customer_flows/IdAndFaceValidation.d.ts +36 -0
  22. package/dist/components/customer_flows/IdValidation.d.ts +33 -0
  23. package/dist/components/customer_flows/SignatureKYC.d.ts +14 -0
  24. package/dist/components/customer_identification/CustomerIdentificationCapture.d.ts +13 -0
  25. package/dist/components/customer_identification/CustomerIdentificationFailure.d.ts +11 -0
  26. package/dist/components/customer_identification/CustomerIdentificationSuccess.d.ts +10 -0
  27. package/dist/components/customer_identification/CustomerIdentificationWizard.d.ts +33 -0
  28. package/dist/components/customer_verification/CustomerVerificationCapture.d.ts +13 -0
  29. package/dist/components/customer_verification/CustomerVerificationFailure.d.ts +11 -0
  30. package/dist/components/customer_verification/CustomerVerificationSuccess.d.ts +10 -0
  31. package/dist/components/customer_verification/CustomerVerificationWizard.d.ts +33 -0
  32. package/dist/components/face_liveness/FaceCaptureGuideOverlay.d.ts +6 -0
  33. package/dist/components/face_liveness/FaceLivenessCapture.d.ts +16 -0
  34. package/dist/components/face_liveness/FaceLivenessFailure.d.ts +11 -0
  35. package/dist/components/face_liveness/FaceLivenessSuccess.d.ts +10 -0
  36. package/dist/components/face_liveness/FaceLivenessWizard.d.ts +33 -0
  37. package/dist/components/id_capture/DocumentCaptureGuideOverlay.d.ts +14 -0
  38. package/dist/components/id_capture/FlipIdPrompt.d.ts +9 -0
  39. package/dist/components/id_capture/IdCapture.d.ts +46 -0
  40. package/dist/components/id_capture/IdCaptureLoadingOverlay.d.ts +13 -0
  41. package/dist/components/id_capture/IdCaptureModelsProvider.d.ts +7 -0
  42. package/dist/components/id_capture/IdCaptureSubmitBtn.d.ts +7 -0
  43. package/dist/components/id_capture/IdCaptureSuccess.d.ts +18 -0
  44. package/dist/components/id_capture/IdCaptureWizard.d.ts +56 -0
  45. package/dist/components/selfie_capture/HighPerformanceSelfieGuidanceModelsProvider.d.ts +34 -0
  46. package/dist/components/selfie_capture/SelfieCapture.d.ts +20 -0
  47. package/dist/components/selfie_capture/SelfieCaptureLoadingOverlay.d.ts +12 -0
  48. package/dist/components/selfie_capture/SelfieGuidanceModelsProvider.d.ts +5 -0
  49. package/dist/components/signature_capture/SignatureCapture.d.ts +18 -0
  50. package/dist/components/signature_capture/VideoSignatureCapture.d.ts +9 -0
  51. package/dist/components/signature_capture/data.d.ts +9 -0
  52. package/dist/components/signature_kyc/SignatureKYCLoadingOverlay.d.ts +12 -0
  53. package/dist/components/signature_kyc/SignatureKYCWizard.d.ts +5 -0
  54. package/dist/components/submission/GeolocationAccessDeniedOverlay.d.ts +5 -0
  55. package/dist/components/submission/SubmissionProvider.d.ts +16 -0
  56. package/dist/components/submission/SubmissionSuccess.d.ts +2 -0
  57. package/dist/contexts/CameraStateContext.d.ts +18 -0
  58. package/dist/contexts/GuideOrientationContext.d.ts +15 -0
  59. package/dist/contexts/IdCaptureModelsContext.d.ts +11 -0
  60. package/dist/contexts/SelfieGuidanceModelsContext.d.ts +14 -0
  61. package/dist/contexts/SubmissionContext.d.ts +156 -0
  62. package/dist/index.d.ts +32 -0
  63. package/dist/index.js +7 -0
  64. package/dist/lib/barcode/Native.d.ts +1 -0
  65. package/dist/lib/barcode/Parse.d.ts +53 -0
  66. package/dist/lib/barcode/Scan.d.ts +3 -0
  67. package/dist/lib/barcode/ZXing.d.ts +1 -0
  68. package/dist/lib/camera/Camera.d.ts +59 -0
  69. package/dist/lib/camera/hooks.d.ts +9 -0
  70. package/dist/lib/camera/useVideoRecorder.d.ts +7 -0
  71. package/dist/lib/locales/en/translation.d.ts +2 -0
  72. package/dist/lib/locales/es/translation.d.ts +50 -0
  73. package/dist/lib/locales/index.d.ts +60 -0
  74. package/dist/lib/models/DocumentDetection.d.ts +27 -0
  75. package/dist/lib/models/FaceDetection.d.ts +5 -0
  76. package/dist/lib/models/Focus.d.ts +7 -0
  77. package/dist/lib/models/preloadModels.d.ts +5 -0
  78. package/dist/lib/tfworker/Actions.d.ts +29 -0
  79. package/dist/lib/tfworker/Client.d.ts +14 -0
  80. package/dist/lib/tfworker/TfWorker.d.ts +8 -0
  81. package/dist/lib/utils/OffscreenCanvasPolyfill.d.ts +0 -0
  82. package/dist/lib/utils/cropToShoulders.d.ts +2 -0
  83. package/dist/lib/utils/dataUrlToBase64.d.ts +3 -0
  84. package/dist/lib/utils/deviceDetection.d.ts +2 -0
  85. package/dist/lib/utils/getBlobDimensions.d.ts +1 -0
  86. package/dist/sdk2.cjs.development.js +13219 -0
  87. package/dist/sdk2.cjs.development.js.map +1 -0
  88. package/dist/sdk2.cjs.production.js +2 -0
  89. package/dist/sdk2.cjs.production.js.map +1 -0
  90. package/dist/sdk2.esm.js +13167 -0
  91. package/dist/sdk2.esm.js.map +1 -0
  92. package/dist/sdk2.umd.development.js +17456 -0
  93. package/dist/sdk2.umd.development.js.map +1 -0
  94. package/dist/sdk2.umd.production.js +2 -0
  95. package/dist/sdk2.umd.production.js.map +1 -0
  96. package/dist/stories/AdditionalDocumentCapture/AdditionalDocumentCapture.stories.d.ts +18 -0
  97. package/dist/stories/BarcodeReader.stories.d.ts +7 -0
  98. package/dist/stories/Camera.stories.d.ts +7 -0
  99. package/dist/stories/CompositeWizard/FaceLivenessAndIdCapture.stories.d.ts +24 -0
  100. package/dist/stories/CompositeWizard/IdCaptureAndFaceLiveness.stories.d.ts +24 -0
  101. package/dist/stories/CustomerFlows/CustomerBiometricsEnrollment.stories.d.ts +30 -0
  102. package/dist/stories/CustomerFlows/CustomerIdAndBiometricsEnrollment.stories.d.ts +29 -0
  103. package/dist/stories/CustomerFlows/CustomerIdentification.stories.d.ts +28 -0
  104. package/dist/stories/CustomerFlows/CustomerVerification.stories.d.ts +29 -0
  105. package/dist/stories/CustomerFlows/FaceValidation.stories.d.ts +29 -0
  106. package/dist/stories/CustomerFlows/IdAndFaceValidation.stories.d.ts +28 -0
  107. package/dist/stories/CustomerFlows/IdValidation.stories.d.ts +30 -0
  108. package/dist/stories/CustomerFlows/SignatureKYC.stories.d.ts +28 -0
  109. package/dist/stories/DocumentCaptureGuideOverlay/LicenseBack.stories.d.ts +14 -0
  110. package/dist/stories/DocumentCaptureGuideOverlay/LicenseFront.stories.d.ts +15 -0
  111. package/dist/stories/DocumentCaptureGuideOverlay/Passport.stories.d.ts +15 -0
  112. package/dist/stories/FaceLiveness/Capture.stories.d.ts +21 -0
  113. package/dist/stories/FaceLiveness/Wizard.stories.d.ts +23 -0
  114. package/dist/stories/FlipIdPrompt.stories.d.ts +15 -0
  115. package/dist/stories/FrameLoop.stories.d.ts +7 -0
  116. package/dist/stories/IdCapture/LicenseBackCapture.stories.d.ts +65 -0
  117. package/dist/stories/IdCapture/LicenseFrontCapture.stories.d.ts +65 -0
  118. package/dist/stories/IdCapture/PassportCapture.stories.d.ts +65 -0
  119. package/dist/stories/IdCapture/Wizard.stories.d.ts +89 -0
  120. package/dist/stories/MultiCamera.stories.d.ts +7 -0
  121. package/dist/stories/SignatureCapture/SignatureCapture.stories.d.ts +7 -0
  122. package/dist/stories/SignatureCapture/VideoSignatureCapture.stories.d.ts +7 -0
  123. package/dist/stories/TokenGeneration.stories.d.ts +7 -0
  124. package/dist/stories/VideoCapture.stories.d.ts +7 -0
  125. package/dist/stories/WebSdkExample.stories.d.ts +7 -0
  126. package/dist/stories/WebWorker.stories.d.ts +7 -0
  127. package/dist/stories/models/DocumentDetection.stories.d.ts +7 -0
  128. package/dist/stories/models/FaceDetection.stories.d.ts +9 -0
  129. package/dist/stories/models/FocusModel.stories.d.ts +7 -0
  130. package/dist/stories/models/HighPerformanceFaceDetectionMinimal.stories.d.ts +12 -0
  131. package/dist/stories/models/HighPerformanceFaceDetectionOriginal.stories.d.ts +7 -0
  132. package/dist/stories/utils/cdnUrl.d.ts +1 -0
  133. package/dist/stories/utils/getToken.d.ts +8 -0
  134. package/dist/stories/utils/makeRandomString.d.ts +1 -0
  135. 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,7 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({}: {}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
5
+ };
6
+ export default _default;
7
+ export declare const BarcodeReaderTest: {};
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({}: {}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
5
+ };
6
+ export default _default;
7
+ export declare const CameraTest: {};
@@ -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,7 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ component: () => JSX.Element;
5
+ };
6
+ export default _default;
7
+ export declare const FrameLoopTest: {};
@@ -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
+ };