idmission-web-sdk 0.0.38 → 0.0.39

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/README.md +29 -0
  2. package/dist/components/common/GuidanceMessage.d.ts +5 -261
  3. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +3 -2
  4. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +5 -2
  5. package/dist/components/customer_flows/CustomerIdentification.d.ts +3 -2
  6. package/dist/components/customer_flows/CustomerVerification.d.ts +3 -2
  7. package/dist/components/customer_flows/FaceValidation.d.ts +3 -2
  8. package/dist/components/customer_flows/IdAndFaceValidation.d.ts +5 -2
  9. package/dist/components/customer_flows/IdValidation.d.ts +3 -1
  10. package/dist/components/customer_identification/CustomerIdentificationCapture.d.ts +4 -2
  11. package/dist/components/customer_identification/CustomerIdentificationWizard.d.ts +4 -2
  12. package/dist/components/customer_verification/CustomerVerificationCapture.d.ts +4 -2
  13. package/dist/components/customer_verification/CustomerVerificationWizard.d.ts +4 -1
  14. package/dist/components/face_liveness/FaceLivenessCapture.d.ts +4 -2
  15. package/dist/components/face_liveness/FaceLivenessWizard.d.ts +4 -2
  16. package/dist/components/id_capture/IdCapture.d.ts +6 -1
  17. package/dist/components/id_capture/IdCaptureWizard.d.ts +4 -2
  18. package/dist/components/selfie_capture/SelfieCapture.d.ts +6 -1
  19. package/dist/sdk2.cjs.development.js +276 -234
  20. package/dist/sdk2.cjs.development.js.map +1 -1
  21. package/dist/sdk2.cjs.production.js +1 -1
  22. package/dist/sdk2.cjs.production.js.map +1 -1
  23. package/dist/sdk2.esm.js +276 -234
  24. package/dist/sdk2.esm.js.map +1 -1
  25. package/dist/sdk2.umd.development.js +276 -234
  26. package/dist/sdk2.umd.development.js.map +1 -1
  27. package/dist/sdk2.umd.production.js +1 -1
  28. package/dist/sdk2.umd.production.js.map +1 -1
  29. package/package.json +7 -6
package/README.md CHANGED
@@ -67,6 +67,7 @@ Render a fullscreen ID capture component that instructs the user to photograph b
67
67
  <tr><td><code>webhooksClientTraceId</code> (optional)</td><td>a customer provided trace id to use when invoking customer-configured webhooks.</td></tr>
68
68
  <tr><td><code>webhooksStripSpecialCharacters</code> (optional)</td><td>boolean flag to indicate whether non-alphanumeric characters should be removed from the submission data when customer-configured webhooks are invoked.</td></tr>
69
69
  <tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Assets table below.</td></tr>
70
+ <tr><td><code>colors</code> (optional)</td><td>object containing any color overrides, for available options consult the Colors table below.</td></tr>
70
71
  <tr><td><code>verbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the Verbiage table below.</td></tr>
71
72
  <tr><td><code>geolocationEnabled</code> (optional)</td><td>boolean flag to indicate whether users should be prompted to share their location. Default is `true`.</td></tr>
72
73
  <tr><td><code>geolocationRequired</code> (optional)</td><td>boolean flag to indicate whether users should be blocked from proceeding if they block location access. Default is `false`.</td></tr>
@@ -87,6 +88,12 @@ Render a fullscreen ID capture component that instructs the user to photograph b
87
88
  <tr><td><code>passportLandscapeGuidesImageUrl</code></td><td>Default: https://websdk-cdn-dev.idmission.com/assets/Shieldout-Passport-Front-SVG-Landscape-2.svg</td></tr>
88
89
  </table>
89
90
 
91
+ **ID Capture Colors**
92
+ <table>
93
+ <tr><td><code>guideBoxUnsatisfiedColor</code></td><td>Default: white</td></tr>
94
+ <tr><td><code>guideBoxSatisfiedColor</code></td><td>Default: green</td></tr>
95
+ </table>
96
+
90
97
  **ID Capture Verbiage**
91
98
 
92
99
  <table>
@@ -152,6 +159,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
152
159
  <tr><td><code>webhooksClientTraceId</code> (optional)</td><td>a customer provided trace id to use when invoking customer-configured webhooks.</td></tr>
153
160
  <tr><td><code>webhooksStripSpecialCharacters</code> (optional)</td><td>boolean flag to indicate whether non-alphanumeric characters should be removed from the submission data when customer-configured webhooks are invoked.</td></tr>
154
161
  <tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Assets table below.</td></tr>
162
+ <tr><td><code>colors</code> (optional)</td><td>object containing any color overrides, for available options consult the Colors table below.</td></tr>
155
163
  <tr><td><code>verbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the Verbiage table below.</td></tr>
156
164
  <tr><td><code>geolocationEnabled</code> (optional)</td><td>boolean flag to indicate whether users should be prompted to share their location. Default is `true`.</td></tr>
157
165
  <tr><td><code>geolocationRequired</code> (optional)</td><td>boolean flag to indicate whether users should be blocked from proceeding if they block location access. Default is `false`.</td></tr>
@@ -167,6 +175,13 @@ Render a fullscreen capture component that analyzes frames from the user's front
167
175
  <tr><td><code>failureImageUrl</code></td><td>Default: https://websdk-cdn-dev.idmission.com/assets/manual_capture.png</td></tr>
168
176
  </table>
169
177
 
178
+ **Face Liveness Colors**
179
+
180
+ <table>
181
+ <tr><td><code>guidesUnsatisfiedColor</code></td><td>Default: white</td></tr>
182
+ <tr><td><code>guidesSatisfiedColor</code></td><td>Default: green</td></tr>
183
+ </table>
184
+
170
185
  **Face Liveness Verbiage**
171
186
 
172
187
  <table>
@@ -239,8 +254,10 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
239
254
  <tr><td><code>webhooksClientTraceId</code> (optional)</td><td>a customer provided trace id to use when invoking customer-configured webhooks.</td></tr>
240
255
  <tr><td><code>webhooksStripSpecialCharacters</code> (optional)</td><td>boolean flag to indicate whether non-alphanumeric characters should be removed from the submission data when customer-configured webhooks are invoked.</td></tr>
241
256
  <tr><td><code>idCaptureAssets</code> (optional)</td><td>object containing any asset overrides, for available options consult the ID Capture Assets table above.</td></tr>
257
+ <tr><td><code>idCaptureColors</code> (optional)</td><td>object containing any color overrides, for available options consult the ID Capture Colors table above.</td></tr>
242
258
  <tr><td><code>idCaptureVerbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the ID Capture Verbiage table above.</td></tr>
243
259
  <tr><td><code>faceLivenessAssets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Face Liveness Assets table above.</td></tr>
260
+ <tr><td><code>faceLivenessColors</code> (optional)</td><td>object containing any color overrides, for available options consult the Face Liveness Colors table above.</td></tr>
244
261
  <tr><td><code>faceLivenessVerbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the Face Liveness Verbiage table above.</td></tr>
245
262
  <tr><td><code>geolocationEnabled</code> (optional)</td><td>boolean flag to indicate whether users should be prompted to share their location. Default is `true`.</td></tr>
246
263
  <tr><td><code>geolocationRequired</code> (optional)</td><td>boolean flag to indicate whether users should be blocked from proceeding if they block location access. Default is `false`.</td></tr>
@@ -297,8 +314,10 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
297
314
  <tr><td><code>webhooksClientTraceId</code> (optional)</td><td>a customer provided trace id to use when invoking customer-configured webhooks.</td></tr>
298
315
  <tr><td><code>webhooksStripSpecialCharacters</code> (optional)</td><td>boolean flag to indicate whether non-alphanumeric characters should be removed from the submission data when customer-configured webhooks are invoked.</td></tr>
299
316
  <tr><td><code>idCaptureAssets</code> (optional)</td><td>object containing any asset overrides, for available options consult the ID Capture Assets table above.</td></tr>
317
+ <tr><td><code>idCaptureColors</code> (optional)</td><td>object containing any color overrides, for available options consult the ID Capture Colors table above.</td></tr>
300
318
  <tr><td><code>idCaptureVerbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the ID Capture Verbiage table above.</td></tr>
301
319
  <tr><td><code>faceLivenessAssets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Face Liveness Assets table above.</td></tr>
320
+ <tr><td><code>faceLivenessColors</code> (optional)</td><td>object containing any color overrides, for available options consult the Face Liveness Colors table above.</td></tr>
302
321
  <tr><td><code>faceLivenessVerbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the Face Liveness Verbiage table above.</td></tr>
303
322
  <tr><td><code>geolocationEnabled</code> (optional)</td><td>boolean flag to indicate whether users should be prompted to share their location. Default is `true`.</td></tr>
304
323
  <tr><td><code>geolocationRequired</code> (optional)</td><td>boolean flag to indicate whether users should be blocked from proceeding if they block location access. Default is `false`.</td></tr>
@@ -341,6 +360,7 @@ Render a fullscreen capture component that performs FaceValidation, and then sto
341
360
  <tr><td><code>webhooksClientTraceId</code> (optional)</td><td>a customer provided trace id to use when invoking customer-configured webhooks.</td></tr>
342
361
  <tr><td><code>webhooksStripSpecialCharacters</code> (optional)</td><td>boolean flag to indicate whether non-alphanumeric characters should be removed from the submission data when customer-configured webhooks are invoked.</td></tr>
343
362
  <tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Face Liveness Assets table above.</td></tr>
363
+ <tr><td><code>colors</code> (optional)</td><td>object containing any color overrides, for available options consult the Face Liveness Colors table above.</td></tr>
344
364
  <tr><td><code>verbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the Face Liveness Verbiage table above.</td></tr>
345
365
  <tr><td><code>geolocationEnabled</code> (optional)</td><td>boolean flag to indicate whether users should be prompted to share their location. Default is `true`.</td></tr>
346
366
  <tr><td><code>geolocationRequired</code> (optional)</td><td>boolean flag to indicate whether users should be blocked from proceeding if they block location access. Default is `false`.</td></tr>
@@ -377,6 +397,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
377
397
  <tr><td><code>webhooksClientTraceId</code> (optional)</td><td>a customer provided trace id to use when invoking customer-configured webhooks.</td></tr>
378
398
  <tr><td><code>webhooksStripSpecialCharacters</code> (optional)</td><td>boolean flag to indicate whether non-alphanumeric characters should be removed from the submission data when customer-configured webhooks are invoked.</td></tr>
379
399
  <tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Face Liveness Assets table above.</td></tr>
400
+ <tr><td><code>colors</code> (optional)</td><td>object containing any color overrides, for available options consult the Face Liveness Colors table above.</td></tr>
380
401
  <tr><td><code>verbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the Face Liveness Verbiage table above.</td></tr>
381
402
  <tr><td><code>geolocationEnabled</code> (optional)</td><td>boolean flag to indicate whether users should be prompted to share their location. Default is `true`.</td></tr>
382
403
  <tr><td><code>geolocationRequired</code> (optional)</td><td>boolean flag to indicate whether users should be blocked from proceeding if they block location access. Default is `false`.</td></tr>
@@ -412,6 +433,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
412
433
  <tr><td><code>webhooksClientTraceId</code> (optional)</td><td>a customer provided trace id to use when invoking customer-configured webhooks.</td></tr>
413
434
  <tr><td><code>webhooksStripSpecialCharacters</code> (optional)</td><td>boolean flag to indicate whether non-alphanumeric characters should be removed from the submission data when customer-configured webhooks are invoked.</td></tr>
414
435
  <tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Assets table below.</td></tr>
436
+ <tr><td><code>colors</code> (optional)</td><td>object containing any asset overrides, for available options consult the Colors table below.</td></tr>
415
437
  <tr><td><code>verbiage</code> (optional)</td><td>object containing any verbiage overrides, for available options consult the Verbiage table below.</td></tr>
416
438
  <tr><td><code>geolocationEnabled</code> (optional)</td><td>boolean flag to indicate whether users should be prompted to share their location. Default is `true`.</td></tr>
417
439
  <tr><td><code>geolocationRequired</code> (optional)</td><td>boolean flag to indicate whether users should be blocked from proceeding if they block location access. Default is `false`.</td></tr>
@@ -425,6 +447,13 @@ Render a fullscreen capture component that analyzes frames from the user's front
425
447
  <tr><td><code>failureImageUrl</code></td><td>Default: https://websdk-cdn-dev.idmission.com/assets/manual_capture.png</td></tr>
426
448
  </table>
427
449
 
450
+ **Customer Identification Colors**
451
+
452
+ <table>
453
+ <tr><td><code>guidesUnsatisfiedColor</code></td><td>Default: white</td></tr>
454
+ <tr><td><code>guidesSatisfiedColor</code></td><td>Default: green</td></tr>
455
+ </table>
456
+
428
457
  **Customer Identification Verbiage**
429
458
 
430
459
  <table>
@@ -1,264 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare const GuidanceMessageContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
- $top: string;
3
+ $top?: string | undefined;
4
+ }>>;
5
+ export declare const GuidanceMessage: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
+ $background?: string | undefined;
7
+ $textColor?: string | undefined;
4
8
  }>>;
5
- export declare const GuidanceMessage: import("styled-components").IStyledComponent<"web", {
6
- ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
7
- key?: import("react").Key | null | undefined;
8
- defaultChecked?: boolean | undefined;
9
- defaultValue?: string | number | readonly string[] | undefined;
10
- suppressContentEditableWarning?: boolean | undefined;
11
- suppressHydrationWarning?: boolean | undefined;
12
- accessKey?: string | undefined;
13
- className?: string | undefined;
14
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
15
- contextMenu?: string | undefined;
16
- dir?: string | undefined;
17
- draggable?: (boolean | "true" | "false") | undefined;
18
- hidden?: boolean | undefined;
19
- id?: string | undefined;
20
- lang?: string | undefined;
21
- placeholder?: string | undefined;
22
- slot?: string | undefined;
23
- spellCheck?: (boolean | "true" | "false") | undefined;
24
- style?: import("react").CSSProperties | undefined;
25
- tabIndex?: number | undefined;
26
- title?: string | undefined;
27
- translate?: "yes" | "no" | undefined;
28
- radioGroup?: string | undefined;
29
- role?: import("react").AriaRole | undefined;
30
- about?: string | undefined;
31
- datatype?: string | undefined;
32
- inlist?: any;
33
- prefix?: string | undefined;
34
- property?: string | undefined;
35
- resource?: string | undefined;
36
- typeof?: string | undefined;
37
- vocab?: string | undefined;
38
- autoCapitalize?: string | undefined;
39
- autoCorrect?: string | undefined;
40
- autoSave?: string | undefined;
41
- color?: string | undefined;
42
- itemProp?: string | undefined;
43
- itemScope?: boolean | undefined;
44
- itemType?: string | undefined;
45
- itemID?: string | undefined;
46
- itemRef?: string | undefined;
47
- results?: number | undefined;
48
- security?: string | undefined;
49
- unselectable?: "on" | "off" | undefined;
50
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
51
- is?: string | undefined;
52
- children?: import("react").ReactNode | Iterable<import("react").ReactNode>;
53
- 'aria-activedescendant'?: string | undefined;
54
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
55
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
56
- 'aria-busy'?: boolean | "true" | "false" | undefined;
57
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
58
- 'aria-colcount'?: number | undefined;
59
- 'aria-colindex'?: number | undefined;
60
- 'aria-colspan'?: number | undefined;
61
- 'aria-controls'?: string | undefined;
62
- 'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
63
- 'aria-describedby'?: string | undefined;
64
- 'aria-details'?: string | undefined;
65
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
66
- 'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
67
- 'aria-errormessage'?: string | undefined;
68
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
69
- 'aria-flowto'?: string | undefined;
70
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
71
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
72
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
73
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
74
- 'aria-keyshortcuts'?: string | undefined;
75
- 'aria-label'?: string | undefined;
76
- 'aria-labelledby'?: string | undefined;
77
- 'aria-level'?: number | undefined;
78
- 'aria-live'?: "off" | "assertive" | "polite" | undefined;
79
- 'aria-modal'?: boolean | "true" | "false" | undefined;
80
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
81
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
82
- 'aria-orientation'?: "horizontal" | "vertical" | undefined;
83
- 'aria-owns'?: string | undefined;
84
- 'aria-placeholder'?: string | undefined;
85
- 'aria-posinset'?: number | undefined;
86
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
87
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
88
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
89
- 'aria-required'?: boolean | "true" | "false" | undefined;
90
- 'aria-roledescription'?: string | undefined;
91
- 'aria-rowcount'?: number | undefined;
92
- 'aria-rowindex'?: number | undefined;
93
- 'aria-rowspan'?: number | undefined;
94
- 'aria-selected'?: boolean | "true" | "false" | undefined;
95
- 'aria-setsize'?: number | undefined;
96
- 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
97
- 'aria-valuemax'?: number | undefined;
98
- 'aria-valuemin'?: number | undefined;
99
- 'aria-valuenow'?: number | undefined;
100
- 'aria-valuetext'?: string | undefined;
101
- dangerouslySetInnerHTML?: {
102
- __html: string;
103
- } | undefined;
104
- onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
105
- onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
106
- onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
107
- onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
108
- onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
109
- onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
110
- onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
111
- onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
112
- onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
113
- onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
114
- onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
115
- onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
116
- onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
117
- onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
118
- onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
119
- onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
120
- onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
121
- onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
122
- onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
123
- onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
124
- onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
125
- onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
126
- onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
127
- onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
128
- onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
129
- onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
130
- onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
131
- onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
132
- onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
133
- onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
134
- onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
135
- onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
136
- onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
137
- onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
138
- onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
139
- onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
140
- onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
141
- onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
142
- onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
143
- onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
144
- onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
145
- onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
146
- onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
147
- onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
148
- onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
149
- onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
150
- onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
151
- onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
152
- onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
153
- onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
154
- onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
155
- onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
156
- onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
157
- onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
158
- onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
159
- onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
160
- onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
161
- onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
162
- onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
163
- onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
164
- onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
165
- onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
166
- onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
167
- onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
168
- onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
169
- onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
170
- onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
171
- onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
172
- onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
173
- onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
174
- onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
175
- onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
176
- onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
177
- onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
178
- onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
179
- onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
180
- onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
181
- onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
182
- onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
183
- onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
184
- onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
185
- onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
186
- onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
187
- onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
188
- onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
189
- onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
190
- onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
191
- onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
192
- onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
193
- onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
194
- onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
195
- onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
196
- onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
197
- onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
198
- onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
199
- onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
200
- onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
201
- onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
202
- onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
203
- onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
204
- onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
205
- onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
206
- onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
207
- onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
208
- onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
209
- onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
210
- onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
211
- onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
212
- onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
213
- onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
214
- onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
215
- onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
216
- onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
217
- onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
218
- onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
219
- onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
220
- onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
221
- onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
222
- onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
223
- onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
224
- onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
225
- onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
226
- onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
227
- onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
228
- onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
229
- onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
230
- onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
231
- onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
232
- onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
233
- onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
234
- onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
235
- onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
236
- onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
237
- onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
238
- onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
239
- onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
240
- onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
241
- onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
242
- onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
243
- onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
244
- onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
245
- onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
246
- onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
247
- onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
248
- onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
249
- onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
250
- onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
251
- onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
252
- onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
253
- onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
254
- onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
255
- onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
256
- onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
257
- onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
258
- onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
259
- onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
260
- onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
261
- onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
262
- onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
263
- onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
264
- }>;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { SubmissionEnvironment, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
3
- import { FaceLivenessAssets, FaceLivenessVerbiage } from '../face_liveness/FaceLivenessWizard';
3
+ import { FaceLivenessAssets, FaceLivenessColors, FaceLivenessVerbiage } from '../face_liveness/FaceLivenessWizard';
4
4
  import { NamespacedAdditionalDocumentsVerbiage } from '../additional_document_capture/AdditionalDocumentCaptureWizard';
5
5
  import { AdditionalDocument } from '../additional_document_capture/AdditionalDocumentCapture';
6
6
  import { LangOption } from '../../lib/locales';
@@ -20,6 +20,7 @@ export type CustomerBiometricsEnrollmentProps = {
20
20
  webhooksStripSpecialCharacters?: boolean;
21
21
  timeoutDurationMs?: number;
22
22
  assets?: FaceLivenessAssets;
23
+ colors?: FaceLivenessColors;
23
24
  verbiage?: CustomerBiometricsEnrollmentVerbiage;
24
25
  onBeforeSubmit?: (request: SubmissionRequest) => Promise<SubmissionRequest>;
25
26
  onComplete?: (submissionResponse: SubmissionResponse) => void;
@@ -33,4 +34,4 @@ export type CustomerBiometricsEnrollmentProps = {
33
34
  geolocationRequired?: boolean;
34
35
  debugMode?: boolean;
35
36
  };
36
- export declare const CustomerBiometricsEnrollment: ({ enrollmentId, lang, submissionToken, submissionEnvironment, submissionUrl, companyId, deduplicationEnabled, deduplicationSynchronous, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, timeoutDurationMs, assets, verbiage, onBeforeSubmit, onComplete, onEnrolled, onDenied, onExitAfterFailure, captureSignature, captureSignatureVideo, captureAdditionalDocuments, geolocationEnabled, geolocationRequired, debugMode, }: CustomerBiometricsEnrollmentProps) => ReactElement;
37
+ export declare const CustomerBiometricsEnrollment: ({ enrollmentId, lang, submissionToken, submissionEnvironment, submissionUrl, companyId, deduplicationEnabled, deduplicationSynchronous, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, timeoutDurationMs, assets, colors, verbiage, onBeforeSubmit, onComplete, onEnrolled, onDenied, onExitAfterFailure, captureSignature, captureSignatureVideo, captureAdditionalDocuments, geolocationEnabled, geolocationRequired, debugMode, }: CustomerBiometricsEnrollmentProps) => ReactElement;
@@ -1,10 +1,11 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { CardData, PersonalData, SubmissionEnvironment, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
3
- import { FaceLivenessAssets, FaceLivenessVerbiage } from '../face_liveness/FaceLivenessWizard';
3
+ import { FaceLivenessAssets, FaceLivenessColors, FaceLivenessVerbiage } from '../face_liveness/FaceLivenessWizard';
4
4
  import { IdCaptureAssets } from '../id_capture/IdCaptureWizard';
5
5
  import { AdditionalDocument } from '../additional_document_capture/AdditionalDocumentCapture';
6
6
  import { LangOption } from '../../lib/locales';
7
7
  import { IdValidationVerbiage } from './IdValidation';
8
+ import { IdCaptureColors } from '../id_capture/IdCapture';
8
9
  export type CustomerEnrollmentProps = {
9
10
  enrollmentId: string;
10
11
  lang?: LangOption;
@@ -28,9 +29,11 @@ export type CustomerEnrollmentProps = {
28
29
  idCardFocusScoreThreshold?: number;
29
30
  passportFocusScoreThreshold?: number;
30
31
  idCaptureAssets?: IdCaptureAssets;
32
+ idCaptureColors?: IdCaptureColors;
31
33
  idCaptureVerbiage?: IdValidationVerbiage;
32
34
  faceLivenessTimeoutDurationMs?: number;
33
35
  faceLivenessAssets?: FaceLivenessAssets;
36
+ faceLivenessColors?: FaceLivenessColors;
34
37
  faceLivenessVerbiage?: FaceLivenessVerbiage;
35
38
  onBeforeSubmit?: (request: SubmissionRequest) => Promise<SubmissionRequest>;
36
39
  onComplete?: (submissionResponse: SubmissionResponse) => void;
@@ -44,4 +47,4 @@ export type CustomerEnrollmentProps = {
44
47
  geolocationRequired?: boolean;
45
48
  debugMode?: boolean;
46
49
  };
47
- export declare const CustomerIdAndBiometricsEnrollment: ({ enrollmentId, lang, submissionToken, submissionEnvironment, submissionUrl, companyId, manualReviewRequired, verifyIdWithExternalDatabases, personalData, cardData, deduplicationEnabled, deduplicationSynchronous, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, idAutoCaptureEnabled, idCardAutoCaptureScoreThreshold, mrzDetectionScoreThreshold, passportAutoCaptureScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, idCaptureAssets, idCaptureVerbiage, faceLivenessTimeoutDurationMs, faceLivenessAssets, faceLivenessVerbiage, onBeforeSubmit, onComplete, onEnrolled, onDenied, onExitAfterFailure, captureSignature, captureSignatureVideo, captureAdditionalDocuments, geolocationEnabled, geolocationRequired, debugMode, }: CustomerEnrollmentProps) => ReactElement;
50
+ export declare const CustomerIdAndBiometricsEnrollment: ({ enrollmentId, lang, submissionToken, submissionEnvironment, submissionUrl, companyId, manualReviewRequired, verifyIdWithExternalDatabases, personalData, cardData, deduplicationEnabled, deduplicationSynchronous, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, idAutoCaptureEnabled, idCardAutoCaptureScoreThreshold, mrzDetectionScoreThreshold, passportAutoCaptureScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, idCaptureAssets, idCaptureColors, idCaptureVerbiage, faceLivenessTimeoutDurationMs, faceLivenessAssets, faceLivenessColors, faceLivenessVerbiage, onBeforeSubmit, onComplete, onEnrolled, onDenied, onExitAfterFailure, captureSignature, captureSignatureVideo, captureAdditionalDocuments, geolocationEnabled, geolocationRequired, debugMode, }: CustomerEnrollmentProps) => ReactElement;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { SubmissionEnvironment, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
3
- import { CustomerIdentificationAssets, CustomerIdentificationVerbiage } from '../customer_identification/CustomerIdentificationWizard';
3
+ import { CustomerIdentificationAssets, CustomerIdentificationColors, CustomerIdentificationVerbiage } from '../customer_identification/CustomerIdentificationWizard';
4
4
  import { LangOption } from '../../lib/locales';
5
5
  export type CustomerIdentificationProps = {
6
6
  lang?: LangOption;
@@ -19,9 +19,10 @@ export type CustomerIdentificationProps = {
19
19
  onCaptureGuidanceTimeout?: () => void;
20
20
  onExitAfterFailure?: () => void;
21
21
  assets?: CustomerIdentificationAssets;
22
+ colors?: CustomerIdentificationColors;
22
23
  verbiage?: CustomerIdentificationVerbiage;
23
24
  geolocationEnabled?: boolean;
24
25
  geolocationRequired?: boolean;
25
26
  debugMode?: boolean;
26
27
  };
27
- export declare const CustomerIdentification: ({ lang, submissionToken, submissionEnvironment, submissionUrl, companyId, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, timeoutDurationMs, onBeforeSubmit, onComplete, onCustomerMatched, onCustomerNotMatched, onCaptureGuidanceTimeout, onExitAfterFailure, assets, verbiage, geolocationEnabled, geolocationRequired, debugMode, }: CustomerIdentificationProps) => ReactElement;
28
+ export declare const CustomerIdentification: ({ lang, submissionToken, submissionEnvironment, submissionUrl, companyId, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, timeoutDurationMs, onBeforeSubmit, onComplete, onCustomerMatched, onCustomerNotMatched, onCaptureGuidanceTimeout, onExitAfterFailure, assets, colors, verbiage, geolocationEnabled, geolocationRequired, debugMode, }: CustomerIdentificationProps) => ReactElement;
@@ -1,7 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { SubmissionEnvironment, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
3
3
  import { LangOption } from '../../lib/locales';
4
- import { CustomerVerificationAssets, CustomerVerificationVerbiage } from '../customer_verification/CustomerVerificationWizard';
4
+ import { CustomerVerificationAssets, CustomerVerificationColors, CustomerVerificationVerbiage } from '../customer_verification/CustomerVerificationWizard';
5
5
  export type CustomerVerificationProps = {
6
6
  enrollmentId: string;
7
7
  lang?: LangOption;
@@ -14,6 +14,7 @@ export type CustomerVerificationProps = {
14
14
  webhooksStripSpecialCharacters?: boolean;
15
15
  timeoutDurationMs?: number;
16
16
  assets?: CustomerVerificationAssets;
17
+ colors?: CustomerVerificationColors;
17
18
  verbiage?: CustomerVerificationVerbiage;
18
19
  onBeforeSubmit?: (request: SubmissionRequest) => Promise<SubmissionRequest>;
19
20
  onComplete?: (submissionResponse: SubmissionResponse) => void;
@@ -24,4 +25,4 @@ export type CustomerVerificationProps = {
24
25
  geolocationRequired?: boolean;
25
26
  debugMode?: boolean;
26
27
  };
27
- export declare const CustomerVerification: ({ lang, enrollmentId, submissionToken, submissionEnvironment, submissionUrl, companyId, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, timeoutDurationMs, assets, verbiage, onBeforeSubmit, onComplete, onCustomerMatched, onCustomerNotMatched, onExitAfterFailure, geolocationEnabled, geolocationRequired, debugMode, }: CustomerVerificationProps) => ReactElement;
28
+ export declare const CustomerVerification: ({ lang, enrollmentId, submissionToken, submissionEnvironment, submissionUrl, companyId, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, timeoutDurationMs, assets, colors, verbiage, onBeforeSubmit, onComplete, onCustomerMatched, onCustomerNotMatched, onExitAfterFailure, geolocationEnabled, geolocationRequired, debugMode, }: CustomerVerificationProps) => ReactElement;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { SubmissionEnvironment, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
3
- import { FaceLivenessAssets, FaceLivenessVerbiage } from '../face_liveness/FaceLivenessWizard';
3
+ import { FaceLivenessAssets, FaceLivenessColors, FaceLivenessVerbiage } from '../face_liveness/FaceLivenessWizard';
4
4
  import { LangOption } from '../../lib/locales';
5
5
  export type FaceValidationProps = {
6
6
  lang?: LangOption;
@@ -18,9 +18,10 @@ export type FaceValidationProps = {
18
18
  onDenied?: (submissionResponse: SubmissionResponse | null) => void;
19
19
  onExitAfterFailure?: () => void;
20
20
  assets?: FaceLivenessAssets;
21
+ colors?: FaceLivenessColors;
21
22
  verbiage?: FaceLivenessVerbiage;
22
23
  geolocationEnabled?: boolean;
23
24
  geolocationRequired?: boolean;
24
25
  debugMode?: boolean;
25
26
  };
26
- export declare const FaceValidation: ({ lang, submissionToken, submissionEnvironment, submissionUrl, companyId, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, timeoutDurationMs, onBeforeSubmit, onComplete, onApproved, onDenied, onExitAfterFailure, assets, verbiage, geolocationEnabled, geolocationRequired, debugMode, }: FaceValidationProps) => ReactElement;
27
+ export declare const FaceValidation: ({ lang, submissionToken, submissionEnvironment, submissionUrl, companyId, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, timeoutDurationMs, onBeforeSubmit, onComplete, onApproved, onDenied, onExitAfterFailure, assets, colors, verbiage, geolocationEnabled, geolocationRequired, debugMode, }: FaceValidationProps) => ReactElement;
@@ -1,10 +1,11 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { CardData, PersonalData, SubmissionEnvironment, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
3
- import { FaceLivenessAssets, FaceLivenessVerbiage } from '../face_liveness/FaceLivenessWizard';
3
+ import { FaceLivenessAssets, FaceLivenessColors, FaceLivenessVerbiage } from '../face_liveness/FaceLivenessWizard';
4
4
  import { IdCaptureAssets } from '../id_capture/IdCaptureWizard';
5
5
  import { AdditionalDocument } from '../additional_document_capture/AdditionalDocumentCapture';
6
6
  import { LangOption } from '../../lib/locales';
7
7
  import { IdValidationVerbiage } from './IdValidation';
8
+ import { IdCaptureColors } from '../id_capture/IdCapture';
8
9
  export type IdAndFaceValidationProps = {
9
10
  lang?: LangOption;
10
11
  submissionToken: string;
@@ -25,9 +26,11 @@ export type IdAndFaceValidationProps = {
25
26
  idCardFocusScoreThreshold?: number;
26
27
  passportFocusScoreThreshold?: number;
27
28
  idCaptureAssets?: IdCaptureAssets;
29
+ idCaptureColors?: IdCaptureColors;
28
30
  idCaptureVerbiage?: IdValidationVerbiage;
29
31
  faceLivenessTimeoutDurationMs?: number;
30
32
  faceLivenessAssets?: FaceLivenessAssets;
33
+ faceLivenessColors?: FaceLivenessColors;
31
34
  faceLivenessVerbiage?: FaceLivenessVerbiage;
32
35
  onBeforeSubmit?: (request: SubmissionRequest) => Promise<SubmissionRequest>;
33
36
  onComplete?: (submissionResponse: SubmissionResponse) => void;
@@ -41,4 +44,4 @@ export type IdAndFaceValidationProps = {
41
44
  geolocationRequired?: boolean;
42
45
  debugMode?: boolean;
43
46
  };
44
- export declare const IdAndFaceValidation: ({ lang, submissionToken, submissionEnvironment, submissionUrl, companyId, manualReviewRequired, verifyIdWithExternalDatabases, personalData, cardData, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, idAutoCaptureEnabled, idCardAutoCaptureScoreThreshold, mrzDetectionScoreThreshold, passportAutoCaptureScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, idCaptureAssets, idCaptureVerbiage, faceLivenessTimeoutDurationMs, faceLivenessAssets, faceLivenessVerbiage, onBeforeSubmit, onComplete, onApproved, onDenied, onExitAfterFailure, captureSignature, captureSignatureVideo, captureAdditionalDocuments, geolocationEnabled, geolocationRequired, debugMode, }: IdAndFaceValidationProps) => ReactElement;
47
+ export declare const IdAndFaceValidation: ({ lang, submissionToken, submissionEnvironment, submissionUrl, companyId, manualReviewRequired, verifyIdWithExternalDatabases, personalData, cardData, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, idAutoCaptureEnabled, idCardAutoCaptureScoreThreshold, mrzDetectionScoreThreshold, passportAutoCaptureScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, idCaptureAssets, idCaptureColors, idCaptureVerbiage, faceLivenessTimeoutDurationMs, faceLivenessAssets, faceLivenessColors, faceLivenessVerbiage, onBeforeSubmit, onComplete, onApproved, onDenied, onExitAfterFailure, captureSignature, captureSignatureVideo, captureAdditionalDocuments, geolocationEnabled, geolocationRequired, debugMode, }: IdAndFaceValidationProps) => ReactElement;
@@ -5,6 +5,7 @@ import { NamespacedAdditionalDocumentsVerbiage } from '../additional_document_ca
5
5
  import { AdditionalDocument } from '../additional_document_capture/AdditionalDocumentCapture';
6
6
  import { LangOption } from '../../lib/locales';
7
7
  import { NamespacedSignatureCaptureVerbiage } from '../signature_capture/SignatureCapture';
8
+ import { IdCaptureColors } from '../id_capture/IdCapture';
8
9
  export type IdValidationVerbiage = IdCaptureVerbiage & NamespacedSignatureCaptureVerbiage & NamespacedAdditionalDocumentsVerbiage;
9
10
  export type IdValidationProps = {
10
11
  lang?: LangOption;
@@ -32,9 +33,10 @@ export type IdValidationProps = {
32
33
  captureSignatureVideo?: boolean | (() => Promise<boolean>);
33
34
  captureAdditionalDocuments?: AdditionalDocument[];
34
35
  assets?: IdCaptureAssets;
36
+ colors?: IdCaptureColors;
35
37
  verbiage?: IdValidationVerbiage;
36
38
  geolocationEnabled?: boolean;
37
39
  geolocationRequired?: boolean;
38
40
  debugMode?: boolean;
39
41
  };
40
- export declare const IdValidation: ({ lang, submissionToken, submissionEnvironment, submissionUrl, companyId, manualReviewRequired, verifyIdWithExternalDatabases, personalData, cardData, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, idAutoCaptureEnabled, idCardAutoCaptureScoreThreshold, passportAutoCaptureScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, onBeforeSubmit, onComplete, onApproved, onDenied, assets, verbiage, captureSignature, captureSignatureVideo, captureAdditionalDocuments, geolocationEnabled, geolocationRequired, debugMode, }: IdValidationProps) => ReactElement;
42
+ export declare const IdValidation: ({ lang, submissionToken, submissionEnvironment, submissionUrl, companyId, manualReviewRequired, verifyIdWithExternalDatabases, personalData, cardData, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, idAutoCaptureEnabled, idCardAutoCaptureScoreThreshold, passportAutoCaptureScoreThreshold, idCardFocusScoreThreshold, passportFocusScoreThreshold, onBeforeSubmit, onComplete, onApproved, onDenied, assets, colors, verbiage, captureSignature, captureSignatureVideo, captureAdditionalDocuments, geolocationEnabled, geolocationRequired, debugMode, }: IdValidationProps) => ReactElement;
@@ -1,6 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
- import { SelfieCaptureVerbiage } from '../selfie_capture/SelfieCapture';
2
+ import { SelfieCaptureColors, SelfieCaptureVerbiage } from '../selfie_capture/SelfieCapture';
3
3
  import { SubmissionResponse } from '../../contexts/SubmissionContext';
4
+ export type CustomerIdentificationCaptureColors = SelfieCaptureColors;
4
5
  export type CustomerIdentificationCaptureVerbiage = SelfieCaptureVerbiage;
5
6
  export type CustomerIdentificationCaptureProps = {
6
7
  onCustomerMatched?: (response: SubmissionResponse) => void;
@@ -8,7 +9,8 @@ export type CustomerIdentificationCaptureProps = {
8
9
  onCaptureGuidanceTimeout?: () => void;
9
10
  onExit?: () => void;
10
11
  captureGuidanceTimeoutDurationMs?: number;
12
+ colors?: CustomerIdentificationCaptureColors;
11
13
  verbiage?: CustomerIdentificationCaptureVerbiage;
12
14
  debugMode?: boolean;
13
15
  };
14
- export declare const CustomerIdentificationCapture: ({ onCustomerMatched, onCustomerNotMatched, onCaptureGuidanceTimeout, onExit, captureGuidanceTimeoutDurationMs, verbiage, debugMode, }: CustomerIdentificationCaptureProps) => ReactElement;
16
+ export declare const CustomerIdentificationCapture: ({ onCustomerMatched, onCustomerNotMatched, onCaptureGuidanceTimeout, onExit, captureGuidanceTimeoutDurationMs, colors, verbiage, debugMode, }: CustomerIdentificationCaptureProps) => ReactElement;
@@ -1,10 +1,11 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { SubmissionResponse } from '../../contexts/SubmissionContext';
3
- import { CustomerIdentificationCaptureVerbiage } from './CustomerIdentificationCapture';
3
+ import { CustomerIdentificationCaptureColors, CustomerIdentificationCaptureVerbiage } from './CustomerIdentificationCapture';
4
4
  export type CustomerIdentificationAssets = {
5
5
  instructionImageUrl?: string;
6
6
  failureImageUrl?: string;
7
7
  };
8
+ export type CustomerIdentificationColors = CustomerIdentificationCaptureColors;
8
9
  export type CustomerIdentificationVerbiage = CustomerIdentificationCaptureVerbiage & {
9
10
  loadingOverlayHeadingText?: string;
10
11
  loadingOverlayRemoveEyeCoveringsText?: string;
@@ -27,7 +28,8 @@ export type CustomerIdentificationWizardProps = {
27
28
  onCaptureGuidanceTimeout?: () => void;
28
29
  captureGuidanceTimeoutDurationMs?: number;
29
30
  assets?: CustomerIdentificationAssets;
31
+ colors?: CustomerIdentificationColors;
30
32
  verbiage?: CustomerIdentificationVerbiage;
31
33
  debugMode?: boolean;
32
34
  };
33
- export declare const CustomerIdentificationWizard: ({ onComplete, onCustomerMatched, onCustomerNotMatched, onExitAfterFailure, onCaptureGuidanceTimeout, captureGuidanceTimeoutDurationMs, assets, verbiage, debugMode, }: CustomerIdentificationWizardProps) => ReactElement;
35
+ export declare const CustomerIdentificationWizard: ({ onComplete, onCustomerMatched, onCustomerNotMatched, onExitAfterFailure, onCaptureGuidanceTimeout, captureGuidanceTimeoutDurationMs, assets, colors, verbiage, debugMode, }: CustomerIdentificationWizardProps) => ReactElement;