idmission-web-sdk 2.1.35 → 2.1.37

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 (29) hide show
  1. package/dist/components/common/LoaderButton.d.ts +1 -1
  2. package/dist/components/face_liveness/FaceCaptureGuideOverlay.d.ts +6 -2
  3. package/dist/components/face_liveness/FaceLivenessCapture.d.ts +8 -2
  4. package/dist/components/face_liveness/FaceLivenessFailure.d.ts +2 -1
  5. package/dist/components/face_liveness/FaceLivenessWizard.d.ts +6 -2
  6. package/dist/components/id_capture/IdCapture.d.ts +3 -0
  7. package/dist/components/id_capture/IdCaptureStateProvider.d.ts +2 -2
  8. package/dist/components/id_capture/OverrideWrongDocumentTypeGuidanceDialog.d.ts +18 -0
  9. package/dist/components/selfie_capture/SelfieCapture.d.ts +8 -3
  10. package/dist/components/selfie_capture/SelfieCaptureLoadingGraphic.d.ts +14 -1
  11. package/dist/components/selfie_capture/SelfieGuidanceModelsProvider.d.ts +2 -2
  12. package/dist/components/video_id/IdVideoCaptureFlipIdPrompt.d.ts +10 -5
  13. package/dist/components/video_id/IdVideoCaptureGuides.d.ts +11 -3
  14. package/dist/components/video_id/IdVideoCaptureGuidesCommon.d.ts +20 -0
  15. package/dist/lib/locales/es/translation.d.ts +4 -0
  16. package/dist/lib/locales/index.d.ts +4 -0
  17. package/dist/sdk2.cjs.development.js +1984 -1433
  18. package/dist/sdk2.cjs.development.js.map +1 -1
  19. package/dist/sdk2.cjs.production.js +1 -1
  20. package/dist/sdk2.cjs.production.js.map +1 -1
  21. package/dist/sdk2.esm.js +1984 -1433
  22. package/dist/sdk2.esm.js.map +1 -1
  23. package/dist/sdk2.umd.development.js +1984 -1433
  24. package/dist/sdk2.umd.development.js.map +1 -1
  25. package/dist/sdk2.umd.production.js +1 -1
  26. package/dist/sdk2.umd.production.js.map +1 -1
  27. package/dist/themes/index.d.ts +9 -0
  28. package/dist/version.d.ts +1 -1
  29. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import React, { CSSProperties, ReactNode } from 'react';
2
- export type LoaderButtonVariant = 'primary' | 'secondary' | 'positive' | 'negative' | 'warning';
2
+ export type LoaderButtonVariant = 'primary' | 'secondary' | 'positive' | 'negative' | 'warning' | 'outline';
3
3
  export type LoaderButtonColors = {
4
4
  backgroundColor?: string;
5
5
  textColor?: string;
@@ -1,13 +1,17 @@
1
- import { ReactElement } from 'react';
1
+ import React, { ReactElement } from 'react';
2
2
  export type FaceCaptureGuideOverlayVariant = 'satisfied' | 'unsatisfied';
3
+ export declare const FaceCaptureGuideContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
4
  export type FaceCaptureGuideOverlayClassNames = {
4
5
  container?: string;
5
6
  oval?: string;
6
7
  };
8
+ export type FaceGuideStatus = 'ready' | 'processing' | 'success' | 'failure';
7
9
  export type FaceCaptureGuideOverlayProps = {
8
10
  classNames?: FaceCaptureGuideOverlayClassNames;
9
11
  variant?: FaceCaptureGuideOverlayVariant;
12
+ status?: FaceGuideStatus;
10
13
  borderWidth?: number;
11
14
  borderColor?: string;
15
+ borderOpacity?: number;
12
16
  };
13
- export declare const FaceCaptureGuideOverlay: ({ classNames, variant, borderWidth, borderColor, }: FaceCaptureGuideOverlayProps) => ReactElement;
17
+ export declare const FaceCaptureGuideOverlay: ({ classNames, status, borderWidth, borderColor, borderOpacity, }: FaceCaptureGuideOverlayProps) => ReactElement;
@@ -1,7 +1,8 @@
1
- import { ReactElement } from 'react';
1
+ import { ComponentType, ReactElement } from 'react';
2
2
  import { SelfieCaptureClassNames, SelfieCaptureColors, SelfieCaptureVerbiage } from '../selfie_capture/SelfieCapture';
3
3
  import { SelfieProgressPreviewClassNames } from '../common/SelfieProgressPreview';
4
4
  import { CustomerSuppliedVerbiage } from '../../lib/locales';
5
+ import { FaceCaptureGuideOverlayProps } from './FaceCaptureGuideOverlay';
5
6
  export type FaceLivenessCaptureClassNames = SelfieCaptureClassNames & {
6
7
  imagePreview?: SelfieProgressPreviewClassNames;
7
8
  };
@@ -11,6 +12,8 @@ export type FaceLivenessCaptureVerbiage = SelfieCaptureVerbiage & {
11
12
  guidanceRemoveHeadCoveringsText?: CustomerSuppliedVerbiage;
12
13
  guidanceRemoveMaskText?: CustomerSuppliedVerbiage;
13
14
  progressPreviewText?: CustomerSuppliedVerbiage;
15
+ guidanceLivenessCheckFailedText?: CustomerSuppliedVerbiage;
16
+ guidanceLivenessCheckErrorText?: CustomerSuppliedVerbiage;
14
17
  };
15
18
  export type FaceLivenessCaptureProps = {
16
19
  onCapture?: () => void;
@@ -19,9 +22,12 @@ export type FaceLivenessCaptureProps = {
19
22
  onExit?: () => void;
20
23
  timeoutDurationMs?: number;
21
24
  silentFallback?: boolean;
25
+ guidesComponent?: ComponentType<FaceCaptureGuideOverlayProps>;
26
+ disableCapturePreview?: boolean;
27
+ requireVerticalFaceCentering?: boolean;
22
28
  classNames?: FaceLivenessCaptureClassNames;
23
29
  colors?: FaceLivenessCaptureColors;
24
30
  verbiage?: FaceLivenessCaptureVerbiage;
25
31
  debugMode?: boolean;
26
32
  };
27
- export declare const FaceLivenessCapture: ({ onCapture, onSuccess, onTimeout, onExit, timeoutDurationMs, silentFallback, classNames, colors, verbiage: rawVerbiage, debugMode, }: FaceLivenessCaptureProps) => ReactElement;
33
+ export declare const FaceLivenessCapture: ({ onCapture, onSuccess, onTimeout, onExit, timeoutDurationMs, silentFallback, guidesComponent, disableCapturePreview, requireVerticalFaceCentering, classNames, colors, verbiage: rawVerbiage, debugMode, }: FaceLivenessCaptureProps) => ReactElement;
@@ -1,4 +1,4 @@
1
- import { ReactElement } from 'react';
1
+ import React, { ReactElement } from 'react';
2
2
  import { LoaderButtonColors } from '../common/LoaderButton';
3
3
  import { CustomerSuppliedVerbiage } from '../../lib/locales';
4
4
  export type FaceLivenessFailureAssets = {
@@ -33,3 +33,4 @@ export type FaceLivenessFailureProps = {
33
33
  verbiage?: FaceLivenessFailureVerbiage;
34
34
  };
35
35
  export declare const FaceLivenessFailure: ({ canRetry, onRetryClick, onExitClick, assets, classNames, colors, verbiage: rawVerbiage, }: FaceLivenessFailureProps) => ReactElement;
36
+ export declare const ButtonsRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,9 +1,10 @@
1
- import { ReactElement } from 'react';
1
+ import { ComponentType, ReactElement } from 'react';
2
2
  import { FaceLivenessCaptureClassNames, FaceLivenessCaptureColors, FaceLivenessCaptureVerbiage } from './FaceLivenessCapture';
3
3
  import { FaceLivenessSuccessClassNames, FaceLivenessSuccessColors, FaceLivenessSuccessVerbiage } from './FaceLivenessSuccess';
4
4
  import { FaceLivenessFailureAssets, FaceLivenessFailureClassNames, FaceLivenessFailureColors, FaceLivenessFailureVerbiage } from './FaceLivenessFailure';
5
5
  import { LivenessCheckRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
6
6
  import { SelfieCaptureLoadingOverlayMode, SelfieCaptureLoadingOverlayAssets, SelfieCaptureLoadingOverlayClassNames, SelfieCaptureLoadingOverlayColors, SelfieCaptureLoadingOverlayVerbiage } from '../selfie_capture/SelfieCaptureLoadingOverlay';
7
+ import { FaceCaptureGuideOverlayProps } from './FaceCaptureGuideOverlay';
7
8
  export type FaceLivenessAssets = {
8
9
  loadingOverlay?: SelfieCaptureLoadingOverlayAssets;
9
10
  failure?: FaceLivenessFailureAssets;
@@ -40,10 +41,13 @@ export type FaceLivenessWizardProps = {
40
41
  renderCameraFeed?: boolean;
41
42
  releaseCameraAccessOnExit?: boolean;
42
43
  silentFallback?: boolean;
44
+ guidesComponent?: ComponentType<FaceCaptureGuideOverlayProps>;
45
+ disableCapturePreview?: boolean;
46
+ requireVerticalFaceCentering?: boolean;
43
47
  assets?: FaceLivenessAssets;
44
48
  classNames?: FaceLivenessClassNames;
45
49
  colors?: FaceLivenessColors;
46
50
  verbiage?: FaceLivenessVerbiage;
47
51
  debugMode?: boolean;
48
52
  };
49
- export declare const FaceLivenessWizard: ({ onComplete, onSuccess, onTimeout, onExitCapture, onExitAfterFailure, onUserCancel, loadingOverlayMode, timeoutDurationMs, maxRetries, skipSuccessScreen, renderCameraFeed, releaseCameraAccessOnExit, silentFallback, assets, classNames, colors, verbiage, debugMode, }: FaceLivenessWizardProps) => ReactElement;
53
+ export declare const FaceLivenessWizard: ({ onComplete, onSuccess, onTimeout, onExitCapture, onExitAfterFailure, onUserCancel, loadingOverlayMode, timeoutDurationMs, maxRetries, skipSuccessScreen, renderCameraFeed, releaseCameraAccessOnExit, silentFallback, guidesComponent, disableCapturePreview, requireVerticalFaceCentering, assets, classNames, colors, verbiage, debugMode, }: FaceLivenessWizardProps) => ReactElement;
@@ -5,6 +5,7 @@ import { IdCaptureImagePreviewClassNames } from '../common/SelfieProgressPreview
5
5
  import { CustomerSuppliedVerbiage } from '../../lib/locales';
6
6
  import { CapturedDocumentType } from './CapturedDocuments';
7
7
  import { IdCaptureFitGuideClassNames } from './IdCaptureFitGuide';
8
+ import { OverrideWrongDocumentTypeGuidanceDialogClassNames, OverrideWrongDocumentTypeGuidanceDialogVerbiage } from './OverrideWrongDocumentTypeGuidanceDialog';
8
9
  export type IdCaptureAssets = {
9
10
  portraitGuidesImageUrl?: string;
10
11
  landscapeGuidesImageUrl?: string;
@@ -16,6 +17,7 @@ export type IdCaptureClassNames = {
16
17
  guidanceMessage?: string;
17
18
  imagePreview?: IdCaptureImagePreviewClassNames;
18
19
  exitCaptureBtn?: string;
20
+ overrideWrongDocumentTypeGuidanceDialog?: OverrideWrongDocumentTypeGuidanceDialogClassNames;
19
21
  };
20
22
  export type IdCaptureColors = {
21
23
  guideBoxUnsatisfiedColor?: string;
@@ -37,6 +39,7 @@ export type IdCaptureVerbiage = {
37
39
  guidanceNotCenteredText?: CustomerSuppliedVerbiage;
38
40
  guidanceTooCloseText?: CustomerSuppliedVerbiage;
39
41
  guidanceNotDetectedText?: CustomerSuppliedVerbiage;
42
+ overrideWrongDocumentTypeGuidanceDialog?: OverrideWrongDocumentTypeGuidanceDialogVerbiage;
40
43
  };
41
44
  export type IdCaptureProps = {
42
45
  requiredDocumentType?: CapturedDocumentType;
@@ -29,8 +29,8 @@ export type IdCaptureState = {
29
29
  backDetectedFirst: boolean;
30
30
  enableOverrideWrongDocumentTypeDialog: boolean;
31
31
  allowOverrideWrongDocumentTypeAfterMs: number;
32
- allowOverrideFlipRequirement: boolean;
33
- overrideFlipRequirement: boolean;
32
+ allowOverrideWrongDocumentTypeGuidance: boolean;
33
+ overrideWrongDocumentTypeGuidance: boolean;
34
34
  wrongDocumentTypePredictions: number;
35
35
  idCardFrontDetectionScore: number;
36
36
  idCardFrontDetectionThresholdMet: boolean;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { CustomerSuppliedVerbiage } from '../../lib/locales';
3
+ export type OverrideWrongDocumentTypeGuidanceDialogClassNames = {
4
+ container?: string;
5
+ inner?: string;
6
+ message?: string;
7
+ buttonContainer?: string;
8
+ button?: string;
9
+ };
10
+ export type OverrideWrongDocumentTypeGuidanceDialogVerbiage = {
11
+ messageText?: CustomerSuppliedVerbiage;
12
+ buttonText?: CustomerSuppliedVerbiage;
13
+ };
14
+ export type OverrideWrongDocumentTypeGuidanceDialogProps = {
15
+ classNames?: OverrideWrongDocumentTypeGuidanceDialogClassNames;
16
+ verbiage?: OverrideWrongDocumentTypeGuidanceDialogVerbiage;
17
+ };
18
+ export default function OverrideWrongDocumentTypeGuidanceDialog({ classNames, verbiage: rawVerbiage, }: OverrideWrongDocumentTypeGuidanceDialogProps): React.JSX.Element | null;
@@ -1,5 +1,5 @@
1
- import { ReactElement } from 'react';
2
- import { FaceCaptureGuideOverlayClassNames } from '../face_liveness/FaceCaptureGuideOverlay';
1
+ import { ComponentType, ReactElement } from 'react';
2
+ import { FaceCaptureGuideOverlayClassNames, FaceCaptureGuideOverlayProps } from '../face_liveness/FaceCaptureGuideOverlay';
3
3
  import { CustomerSuppliedVerbiage } from '../../lib/locales';
4
4
  import { SelfieCaptureFallbackClassNames } from '../fallback_flows/SelfieCapture';
5
5
  import { Face } from '../../lib/models/FaceDetection';
@@ -26,19 +26,24 @@ export type SelfieCaptureVerbiage = {
26
26
  guidanceMoveBackText?: CustomerSuppliedVerbiage;
27
27
  guidanceMoveForwardText?: CustomerSuppliedVerbiage;
28
28
  guidanceMoveToCenterText?: CustomerSuppliedVerbiage;
29
+ guidanceNoFaceDetectedText?: CustomerSuppliedVerbiage;
29
30
  };
30
31
  export type SelfieCaptureProps = {
31
32
  onGuidanceSatisfied?: () => void;
32
33
  onGuidanceNotSatisfied?: () => void;
34
+ onSelfieCaptureStarted?: () => void;
33
35
  onSelfieCaptured?: (frame: ImageData, face: Face) => void;
34
36
  onTimeout?: () => void;
35
37
  onExit?: () => void;
36
38
  timeoutDurationMs?: number;
37
39
  guidanceMessage?: string;
38
40
  guidanceSatisfied?: boolean;
41
+ guidesComponent?: ComponentType<FaceCaptureGuideOverlayProps>;
42
+ requireVerticalFaceCentering?: boolean;
43
+ shouldCapture?: boolean;
39
44
  classNames?: SelfieCaptureClassNames;
40
45
  colors?: SelfieCaptureColors;
41
46
  verbiage?: SelfieCaptureVerbiage;
42
47
  debugMode?: boolean;
43
48
  };
44
- export declare const SelfieCapture: ({ onGuidanceSatisfied, onGuidanceNotSatisfied, onSelfieCaptured, onTimeout, onExit, timeoutDurationMs, guidanceMessage, guidanceSatisfied, classNames, colors, verbiage: rawVerbiage, debugMode, }: SelfieCaptureProps) => ReactElement;
49
+ export declare const SelfieCapture: ({ onGuidanceSatisfied, onGuidanceNotSatisfied, onSelfieCaptureStarted, onSelfieCaptured, onTimeout, onExit, timeoutDurationMs, guidanceMessage, guidanceSatisfied, guidesComponent, requireVerticalFaceCentering, shouldCapture, classNames, colors, verbiage: rawVerbiage, debugMode, }: SelfieCaptureProps) => ReactElement;
@@ -1,6 +1,19 @@
1
- import React from 'react';
1
+ import React, { SVGProps } from 'react';
2
+ import { FaceGuideStatus } from '../face_liveness/FaceCaptureGuideOverlay';
2
3
  export declare function SelfieCaptureLoadingGraphic({ width, height, className, }: {
3
4
  width?: number;
4
5
  height?: number;
5
6
  className?: string;
6
7
  }): React.JSX.Element;
8
+ export type SelfieCaptureAnimatedMaskProps = SVGProps<SVGSVGElement> & {
9
+ frame?: number;
10
+ borderWidth?: number;
11
+ borderColor?: string;
12
+ borderOpacity?: number;
13
+ verticalAlign?: 'center' | 'top' | 'bottom';
14
+ status?: FaceGuideStatus;
15
+ };
16
+ export declare function SelfieCaptureAnimatedMask({ frame, borderWidth, borderColor, borderOpacity, verticalAlign, status, ...props }: SelfieCaptureAnimatedMaskProps): React.JSX.Element;
17
+ export declare function SelfieCaptureAnimatedMaskWithStatus({ status, ...props }: SelfieCaptureAnimatedMaskProps & {
18
+ status?: FaceGuideStatus;
19
+ }): React.JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { MutableRefObject, ReactElement, ReactNode } from 'react';
3
3
  import { Face } from '../../lib/models/FaceDetection';
4
- type PredictionHandler = (prediction: Face[]) => void;
4
+ export type SelfieGuidancePredictionHandler = (prediction: Face[]) => Promise<void> | void;
5
5
  type SelfieGuidanceModelsState = {
6
6
  start: () => void;
7
7
  stop: () => void;
8
- onPredictionMade: (handler: PredictionHandler) => void;
8
+ onPredictionMade: (handler: SelfieGuidancePredictionHandler) => void;
9
9
  canvasRef: MutableRefObject<HTMLCanvasElement | null>;
10
10
  ready: boolean;
11
11
  error: Error | null;
@@ -3,11 +3,16 @@ export type IdVideoCaptureFlipIdPromptAssets = {
3
3
  frontImageUrl?: string;
4
4
  backImageUrl?: string;
5
5
  };
6
+ export type IdVideoCaptureFlipIdPromptClassNames = {
7
+ frontImageContainer?: string;
8
+ backImageContainer?: string;
9
+ frontImage?: string;
10
+ backImage?: string;
11
+ };
6
12
  export type IdVideoCaptureFlipIdPromptProps = {
7
- className?: string;
8
- imageWidth?: number;
9
- imageHeight?: number;
10
- borderWidth?: number;
13
+ classNames?: IdVideoCaptureFlipIdPromptClassNames;
11
14
  assets?: IdVideoCaptureFlipIdPromptAssets;
15
+ borderWidth?: number;
16
+ borderColor?: string;
12
17
  };
13
- export declare const IdVideoCaptureFlipIdPrompt: ({ className, imageWidth, imageHeight, borderWidth, assets, }: IdVideoCaptureFlipIdPromptProps) => ReactElement;
18
+ export declare const IdVideoCaptureFlipIdPrompt: ({ assets, classNames, borderWidth, borderColor, }: IdVideoCaptureFlipIdPromptProps) => ReactElement;
@@ -1,37 +1,45 @@
1
1
  import React, { ReactElement } from 'react';
2
+ import { IdVideoCaptureFlipIdPromptClassNames } from './IdVideoCaptureFlipIdPrompt';
2
3
  import { CustomerSuppliedVerbiage } from '../../lib/locales';
3
- export type Action = 'SHOW_ID_FRONT' | 'FLIP_ID' | 'SHOW_ID_BACK' | 'READ_TEXT';
4
+ import { IdCardGuideStatus } from './IdVideoCaptureGuidesCommon';
5
+ import { FaceGuideStatus } from '../face_liveness/FaceCaptureGuideOverlay';
6
+ export type Action = 'SHOW_ID_FRONT' | 'FLIP_ID' | 'SHOW_ID_BACK' | 'VERIFY_LIVENESS';
4
7
  export type IdVideoCaptureGuidesAssets = {
5
8
  frontImageUrl?: string;
6
9
  backImageUrl?: string;
7
10
  };
8
11
  export type IdVideoCaptureGuidesClassNames = {
9
12
  container?: string;
13
+ faceGuideContainer?: string;
10
14
  faceGuide?: string;
11
15
  idCardGuideContainer?: string;
16
+ idCardGuideInner?: string;
12
17
  idCardGuideInstructionsContainer?: string;
13
18
  idCardGuideInstructions?: string;
14
19
  idCardGuideImageContainer?: string;
15
20
  idCardGuideImage?: string;
16
- flipIdPromptImage?: string;
21
+ flipIdPrompt?: IdVideoCaptureFlipIdPromptClassNames;
17
22
  };
18
23
  export type IdVideoCaptureGuidesVerbiage = {
19
24
  idFrontInstructionText?: CustomerSuppliedVerbiage;
20
25
  idBackInstructionText?: CustomerSuppliedVerbiage;
21
26
  flipIdInstructionText?: CustomerSuppliedVerbiage;
27
+ verifyLivenessInstructionText?: CustomerSuppliedVerbiage;
22
28
  };
23
29
  export type IdVideoCaptureGuidesProps = {
24
30
  requestedAction?: Action;
25
31
  satisfied?: boolean;
32
+ faceGuideStatus?: FaceGuideStatus;
26
33
  faceGuideBorderWidth?: number;
27
34
  faceGuideBorderColor?: string;
35
+ idCardGuideStatus?: IdCardGuideStatus;
28
36
  idCardGuideBorderWidth?: number;
29
37
  idCardGuideBorderColor?: string;
30
38
  assets?: IdVideoCaptureGuidesAssets;
31
39
  classNames?: IdVideoCaptureGuidesClassNames;
32
40
  verbiage?: IdVideoCaptureGuidesVerbiage;
33
41
  };
34
- export declare const IdVideoCaptureGuides: ({ requestedAction, satisfied, faceGuideBorderWidth, faceGuideBorderColor, idCardGuideBorderWidth, idCardGuideBorderColor, assets, classNames, verbiage: rawVerbiage, }: IdVideoCaptureGuidesProps) => ReactElement;
42
+ export declare const IdVideoCaptureGuides: ({ requestedAction, satisfied, faceGuideStatus, faceGuideBorderWidth, faceGuideBorderColor, idCardGuideStatus, idCardGuideBorderWidth, idCardGuideBorderColor, assets, classNames, verbiage: rawVerbiage, }: IdVideoCaptureGuidesProps) => ReactElement;
35
43
  export declare const IdCardGuideInstructionsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
36
44
  export declare const IdCardGuideInstructions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$textColor" | "$variant" | "$background"> & {
37
45
  $background?: string;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ export declare const IdCardGuideImageContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.HTMLAttributes<HTMLDivElement> & {
3
+ status?: IdCardGuideStatus;
4
+ borderWidth?: number;
5
+ borderRadius?: number;
6
+ borderColor?: string;
7
+ }, {
8
+ $isVisible?: boolean;
9
+ }>> & string & Omit<typeof IdCardBorder, keyof React.Component<any, {}, any>>;
10
+ export declare const IdCardGuideImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {
11
+ $isMirrored?: boolean;
12
+ }>> & string;
13
+ export type IdCardGuideStatus = 'disabled' | 'ready' | 'capturing';
14
+ declare function IdCardBorder({ children, status, borderWidth, borderRadius, borderColor, ...props }: React.HTMLAttributes<HTMLDivElement> & {
15
+ status?: IdCardGuideStatus;
16
+ borderWidth?: number;
17
+ borderRadius?: number;
18
+ borderColor?: string;
19
+ }): React.JSX.Element;
20
+ export {};
@@ -54,6 +54,8 @@ declare const _default: {
54
54
  Exit: string;
55
55
  'Face liveness has been verified!': string;
56
56
  Done: string;
57
+ 'Could not verify your face.': string;
58
+ 'An error occurred while verifying your face.': string;
57
59
  'Customer has been identified!': string;
58
60
  'Customer not found': string;
59
61
  'Additional document capture': string;
@@ -99,5 +101,7 @@ declare const _default: {
99
101
  'Loading guided capture experience...': string;
100
102
  'Guided capture experience ready': string;
101
103
  "Let's Go!": string;
104
+ 'We are having trouble identifying the correct side of your id, do you want to continue with capture anyway?': string;
105
+ OK: string;
102
106
  };
103
107
  export default _default;
@@ -62,6 +62,8 @@ export declare const resources: {
62
62
  Exit: string;
63
63
  'Face liveness has been verified!': string;
64
64
  Done: string;
65
+ 'Could not verify your face.': string;
66
+ 'An error occurred while verifying your face.': string;
65
67
  'Customer has been identified!': string;
66
68
  'Customer not found': string;
67
69
  'Additional document capture': string;
@@ -107,6 +109,8 @@ export declare const resources: {
107
109
  'Loading guided capture experience...': string;
108
110
  'Guided capture experience ready': string;
109
111
  "Let's Go!": string;
112
+ 'We are having trouble identifying the correct side of your id, do you want to continue with capture anyway?': string;
113
+ OK: string;
110
114
  };
111
115
  };
112
116
  };