idmission-web-sdk 1.0.351 → 1.0.353
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +2 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +2 -0
- package/dist/components/customer_flows/CustomerIdentification.d.ts +2 -0
- package/dist/components/customer_flows/CustomerVerification.d.ts +2 -0
- package/dist/components/customer_flows/DocumentCapture.d.ts +2 -0
- package/dist/components/customer_flows/FaceValidation.d.ts +2 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +2 -0
- package/dist/components/customer_flows/IdValidation.d.ts +2 -0
- package/dist/components/customer_flows/SignatureKYC.d.ts +2 -0
- package/dist/components/customer_flows/VideoIdValidation.d.ts +2 -0
- package/dist/components/submission/SubmissionProvider.d.ts +2 -1
- package/dist/contexts/SubmissionContext.d.ts +1 -1
- package/dist/sdk2.cjs.development.js +85 -59
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +85 -59
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +85 -59
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,6 +113,7 @@ Render a fullscreen ID capture component that instructs the user to photograph b
|
|
|
113
113
|
<tr><td><code>webhooksSendInputImages</code> (optional)</td><td>boolean flag to indicate whether raw user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
114
114
|
<tr><td><code>webhooksSendProcessedImages</code> (optional)</td><td>boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
115
115
|
<tr><td><code>webhooksFireOnReview</code> (optional)</td><td>boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. Defaults to false.</td></tr>
|
|
116
|
+
<tr><td><code>sendBase64DocumentsInSwaggerProxy</code> (optional)</td><td>boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false.</td></tr>
|
|
116
117
|
<tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Assets table below.</td></tr>
|
|
117
118
|
<tr><td><code>colors</code> (optional)</td><td>object containing any color overrides, for available options consult the Colors table below.</td></tr>
|
|
118
119
|
<tr><td><code>theme</code> (optional)</td><td>name of an included theme or object containing theme properties.</td></tr>
|
|
@@ -249,6 +250,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
|
|
|
249
250
|
<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. Defaults to true.</td></tr>
|
|
250
251
|
<tr><td><code>webhooksSendInputImages</code> (optional)</td><td>boolean flag to indicate whether raw user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
251
252
|
<tr><td><code>webhooksSendProcessedImages</code> (optional)</td><td>boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
253
|
+
<tr><td><code>sendBase64DocumentsInSwaggerProxy</code> (optional)</td><td>boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false.</td></tr>
|
|
252
254
|
<tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Assets table below.</td></tr>
|
|
253
255
|
<tr><td><code>colors</code> (optional)</td><td>object containing any color overrides, for available options consult the Colors table below.</td></tr>
|
|
254
256
|
<tr><td><code>theme</code> (optional)</td><td>name of an included theme or object containing theme properties.</td></tr>
|
|
@@ -392,6 +394,7 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
|
|
|
392
394
|
<tr><td><code>webhooksSendInputImages</code> (optional)</td><td>boolean flag to indicate whether raw user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
393
395
|
<tr><td><code>webhooksSendProcessedImages</code> (optional)</td><td>boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
394
396
|
<tr><td><code>webhooksFireOnReview</code> (optional)</td><td>boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. Defaults to false.</td></tr>
|
|
397
|
+
<tr><td><code>sendBase64DocumentsInSwaggerProxy</code> (optional)</td><td>boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false.</td></tr>
|
|
395
398
|
<tr><td><code>theme</code> (optional)</td><td>name of an included theme or object containing theme properties.</td></tr>
|
|
396
399
|
<tr><td><code>assets.idCapture</code> (optional)</td><td>object containing any asset overrides, for available options consult the ID Capture Assets table above.</td></tr>
|
|
397
400
|
<tr><td><code>assets.faceLiveness</code> (optional)</td><td>object containing any asset overrides, for available options consult the Face Liveness Assets table above.</td></tr>
|
|
@@ -479,6 +482,7 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
|
|
|
479
482
|
<tr><td><code>webhooksSendInputImages</code> (optional)</td><td>boolean flag to indicate whether raw user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
480
483
|
<tr><td><code>webhooksSendProcessedImages</code> (optional)</td><td>boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
481
484
|
<tr><td><code>webhooksFireOnReview</code> (optional)</td><td>boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. Defaults to false.</td></tr>
|
|
485
|
+
<tr><td><code>sendBase64DocumentsInSwaggerProxy</code> (optional)</td><td>boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false.</td></tr>
|
|
482
486
|
<tr><td><code>theme</code> (optional)</td><td>name of an included theme or object containing theme properties.</td></tr>
|
|
483
487
|
<tr><td><code>assets.idCapture</code> (optional)</td><td>object containing any asset overrides, for available options consult the ID Capture Assets table above.</td></tr>
|
|
484
488
|
<tr><td><code>assets.faceLiveness</code> (optional)</td><td>object containing any asset overrides, for available options consult the Face Liveness Assets table above.</td></tr>
|
|
@@ -543,6 +547,7 @@ Render a fullscreen capture component that performs FaceValidation, and then sto
|
|
|
543
547
|
<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. Defaults to true.</td></tr>
|
|
544
548
|
<tr><td><code>webhooksSendInputImages</code> (optional)</td><td>boolean flag to indicate whether raw user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
545
549
|
<tr><td><code>webhooksSendProcessedImages</code> (optional)</td><td>boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
550
|
+
<tr><td><code>sendBase64DocumentsInSwaggerProxy</code> (optional)</td><td>boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false.</td></tr>
|
|
546
551
|
<tr><td><code>theme</code> (optional)</td><td>name of an included theme or object containing theme properties.</td></tr>
|
|
547
552
|
<tr><td><code>assets.faceLiveness</code> (optional)</td><td>object containing any asset overrides, for available options consult the Face Liveness Assets table above.</td></tr>
|
|
548
553
|
<tr><td><code>colors.faceLiveness</code> (optional)</td><td>object containing any color overrides, for available options consult the Face Liveness Colors table above.</td></tr>
|
|
@@ -599,6 +604,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
|
|
|
599
604
|
<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. Defaults to true.</td></tr>
|
|
600
605
|
<tr><td><code>webhooksSendInputImages</code> (optional)</td><td>boolean flag to indicate whether raw user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
601
606
|
<tr><td><code>webhooksSendProcessedImages</code> (optional)</td><td>boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
607
|
+
<tr><td><code>sendBase64DocumentsInSwaggerProxy</code> (optional)</td><td>boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false.</td></tr>
|
|
602
608
|
<tr><td><code>theme</code> (optional)</td><td>name of an included theme or object containing theme properties.</td></tr>
|
|
603
609
|
<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>
|
|
604
610
|
<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>
|
|
@@ -650,6 +656,7 @@ Render a fullscreen capture component that analyzes frames from the user's front
|
|
|
650
656
|
<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. Defaults to true.</td></tr>
|
|
651
657
|
<tr><td><code>webhooksSendInputImages</code> (optional)</td><td>boolean flag to indicate whether raw user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
652
658
|
<tr><td><code>webhooksSendProcessedImages</code> (optional)</td><td>boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. Defaults to false.</td></tr>
|
|
659
|
+
<tr><td><code>sendBase64DocumentsInSwaggerProxy</code> (optional)</td><td>boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false.</td></tr>
|
|
653
660
|
<tr><td><code>theme</code> (optional)</td><td>name of an included theme or object containing theme properties.</td></tr>
|
|
654
661
|
<tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Assets table below.</td></tr>
|
|
655
662
|
<tr><td><code>colors</code> (optional)</td><td>object containing any asset overrides, for available options consult the Colors table below.</td></tr>
|
|
@@ -781,6 +788,7 @@ Render a fullscreen capture component that performs IDValidation and FaceValidat
|
|
|
781
788
|
<tr><td><code>idCapturePortraitGuidesOnMobile</code> (optional)</td><td>boolean to indicate whether guide images should be rotated on mobile. Defaults to false.</td></tr>
|
|
782
789
|
<tr><td><code>idCaptureRotateLoadingOverlayImageWhenPortrait</code> (optional)</td><td>boolean to indicate whether loading overlay image should be rotated on when mobile guides are rotated. Defaults to true.</td></tr>
|
|
783
790
|
<tr><td><code>faceLivenessLoadingOverlayMode</code> (optional)</td><td>string indicating which face liveness loading overlay screen should be used. Supported values: default and legacy. Defaults to default.</td></tr>
|
|
791
|
+
<tr><td><code>sendBase64DocumentsInSwaggerProxy</code> (optional)</td><td>boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false.</td></tr>
|
|
784
792
|
<tr><td><code>theme</code> (optional)</td><td>name of an included theme or object containing theme properties.</td></tr>
|
|
785
793
|
<tr><td><code>assets</code> (optional)</td><td>object containing any asset overrides, for available options consult the Assets table below.</td></tr>
|
|
786
794
|
<tr><td><code>colors</code> (optional)</td><td>object containing any asset overrides, for available options consult the Colors table below.</td></tr>
|
|
@@ -59,6 +59,8 @@ export interface CustomerBiometricsEnrollmentProps extends PropsWithChildren {
|
|
|
59
59
|
webhooksSendInputImages?: boolean;
|
|
60
60
|
/** Boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. */
|
|
61
61
|
webhooksSendProcessedImages?: boolean;
|
|
62
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
63
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
62
64
|
/** String indicating which loading overlay screen should be used. Supported values: 'default' and 'legacy'. Defaults to 'default'. */
|
|
63
65
|
loadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
64
66
|
/** The duration of time in milliseconds that the user may try to pass the realness check. Defaults to `15000` (15 seconds). */
|
|
@@ -85,6 +85,8 @@ export interface CustomerEnrollmentProps extends PropsWithChildren {
|
|
|
85
85
|
webhooksSendProcessedImages?: boolean;
|
|
86
86
|
/** Boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. */
|
|
87
87
|
webhooksFireOnReview?: boolean;
|
|
88
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
89
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
88
90
|
/** String indicating which ID capture loading overlay screen should be used. Supported values: 'default' and 'legacy'. Defaults to 'default'. */
|
|
89
91
|
idCaptureLoadingOverlayMode?: IdCaptureLoadingOverlayMode;
|
|
90
92
|
/** String to indicate which types of ID documents should be captured. Valid values: `idCard`, `passport`, `idCardOrPassport`, `idCardAndPassport`. Default is `idCardOrPassport`. */
|
|
@@ -30,6 +30,8 @@ export interface CustomerIdentificationProps extends PropsWithChildren {
|
|
|
30
30
|
webhooksSendInputImages?: boolean;
|
|
31
31
|
/** Boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. */
|
|
32
32
|
webhooksSendProcessedImages?: boolean;
|
|
33
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
34
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
33
35
|
/** String indicating which loading overlay screen should be used. Supported values: 'default' and 'legacy'. Defaults to 'default'. */
|
|
34
36
|
loadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
35
37
|
/** The duration of time in milliseconds that the user may try to pass the realness check. Defaults to `15000` (15 seconds). */
|
|
@@ -32,6 +32,8 @@ export interface CustomerVerificationProps extends PropsWithChildren {
|
|
|
32
32
|
webhooksSendInputImages?: boolean;
|
|
33
33
|
/** Boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. */
|
|
34
34
|
webhooksSendProcessedImages?: boolean;
|
|
35
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
36
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
35
37
|
/** String indicating which loading overlay screen should be used. Supported values: 'default' and 'legacy'. Defaults to 'default'. */
|
|
36
38
|
loadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
37
39
|
/** The duration of time in milliseconds that the user may try to pass the realness check. Defaults to `15000` (15 seconds). */
|
|
@@ -18,6 +18,8 @@ export interface DocumentCaptureProps extends PropsWithChildren {
|
|
|
18
18
|
authUrl?: string;
|
|
19
19
|
/** URL to upload captured documents to via Tus. */
|
|
20
20
|
documentServiceUrl?: string;
|
|
21
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
22
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
21
23
|
/** Callback function that fires immediately prior to each document upload, giving the client application an opportunity to specify custom asynchronous logic that captures the document contents before it is exchanged for a document token. The document content and metadata are passed in as parameters and a promise resolving to void or false should be returned. If the returned promise resolves to false, the document will not be uploaded. */
|
|
22
24
|
onBeforeDocumentUpload?: OnBeforeDocumentUpload;
|
|
23
25
|
/** Callback function that fires when progress information is available for a document upload. The progress info and metadata are passed in as parameters. */
|
|
@@ -34,6 +34,8 @@ export interface FaceValidationProps extends PropsWithChildren {
|
|
|
34
34
|
webhooksSendInputImages?: boolean;
|
|
35
35
|
/** Boolean flag to indicate whether processed user-captured images should be included in the submission data when customer-configured webhooks are invoked. */
|
|
36
36
|
webhooksSendProcessedImages?: boolean;
|
|
37
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
38
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
37
39
|
/** String indicating which loading overlay screen should be used. Supported values: 'default' and 'legacy'. Defaults to 'default'. */
|
|
38
40
|
loadingOverlayMode?: SelfieCaptureLoadingOverlayMode;
|
|
39
41
|
/** The duration of time in milliseconds that the user may try to pass the realness check. Defaults to `15000` (15 seconds). */
|
|
@@ -78,6 +78,8 @@ export interface IdAndFaceValidationProps extends PropsWithChildren {
|
|
|
78
78
|
webhooksSendProcessedImages?: boolean;
|
|
79
79
|
/** Boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. */
|
|
80
80
|
webhooksFireOnReview?: boolean;
|
|
81
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
82
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
81
83
|
/** Object to allow documents that have been previously captured to be submitted. Valid keys: `idCardFront`, `idCardBack`, `passport`. */
|
|
82
84
|
precapturedDocuments?: CapturedDocuments & {
|
|
83
85
|
selfie: CapturedDocument;
|
|
@@ -69,6 +69,8 @@ export interface IdValidationProps extends PropsWithChildren {
|
|
|
69
69
|
webhooksSendProcessedImages?: boolean;
|
|
70
70
|
/** Boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. */
|
|
71
71
|
webhooksFireOnReview?: boolean;
|
|
72
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
73
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
72
74
|
/** String indicating which ID capture loading overlay screen should be used. Supported values: 'default' and 'legacy'. Defaults to 'default'. */
|
|
73
75
|
loadingOverlayMode?: IdCaptureLoadingOverlayMode;
|
|
74
76
|
/** String to indicate which types of documents should be captured. Valid values: `idCard`, `passport`, `idCardOrPassport`, `idCardAndPassport`. Default is `idCardOrPassport`. */
|
|
@@ -18,6 +18,8 @@ export interface SignatureKYCProps extends PropsWithChildren {
|
|
|
18
18
|
authUrl?: string;
|
|
19
19
|
/** URL to upload captured documents to via Tus. */
|
|
20
20
|
documentServiceUrl?: string;
|
|
21
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
22
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
21
23
|
/** Callback function that fires immediately prior to each document upload, giving the client application an opportunity to specify custom asynchronous logic that captures the document contents before it is exchanged for a document token. The document content and metadata are passed in as parameters and a promise resolving to void or false should be returned. If the returned promise resolves to false, the document will not be uploaded. */
|
|
22
24
|
onBeforeDocumentUpload?: OnBeforeDocumentUpload;
|
|
23
25
|
/** Callback function that fires when progress information is available for a document upload. The progress info and metadata are passed in as parameters. */
|
|
@@ -70,6 +70,8 @@ export interface VideoIdValidationProps extends PropsWithChildren {
|
|
|
70
70
|
webhooksSendProcessedImages?: boolean;
|
|
71
71
|
/** Boolean flag to indicate whether customer-configured webhooks should be invoked upon ID being marked for manual review. */
|
|
72
72
|
webhooksFireOnReview?: boolean;
|
|
73
|
+
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
74
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
73
75
|
/** Callback function that fires immediately prior to each document upload, giving the client application an opportunity to specify custom asynchronous logic that captures the document contents before it is exchanged for a document token. The document content and metadata are passed in as parameters and a promise resolving to void or false should be returned. If the returned promise resolves to false, the document will not be uploaded. */
|
|
74
76
|
onBeforeDocumentUpload?: OnBeforeDocumentUpload;
|
|
75
77
|
/** Callback function that fires when progress information is available for a document upload. The progress info and metadata are passed in as parameters. */
|
|
@@ -90,6 +90,7 @@ export type SubmissionProviderProps = {
|
|
|
90
90
|
webhooksFireOnReview?: boolean;
|
|
91
91
|
precapturedDocuments?: CapturedDocuments;
|
|
92
92
|
documentServiceUrl?: string;
|
|
93
|
+
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
93
94
|
onSubmit?: (payload: SubmissionRequest) => void;
|
|
94
95
|
onBeforeSubmit?: (req: SubmissionRequest) => Promise<SubmissionRequest>;
|
|
95
96
|
onBeforeLivenessCheck?: (req: LivenessCheckRequest) => Promise<LivenessCheckRequest>;
|
|
@@ -102,4 +103,4 @@ export type SubmissionProviderProps = {
|
|
|
102
103
|
readTextPrompt?: string;
|
|
103
104
|
clientRequestID?: string;
|
|
104
105
|
};
|
|
105
|
-
export declare const SubmissionProvider: ({ action, children, submissionUrl, environment, companyId, enrollmentId, personalData, cardData, bypassAgeValidation, bypassNameMatching, needImmediateResponse, manualReviewRequired, idBackImageRequired, idImageResolutionCheck, verifyIdWithExternalDatabases, deduplicationEnabled, deduplicationSynchronous, idCardForFaceMatch, geolocationEnabled, geolocationRequired, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, webhooksSendInputImages, webhooksSendProcessedImages, webhooksFireOnReview, precapturedDocuments, documentServiceUrl, onSubmit, onBeforeSubmit, onBeforeLivenessCheck, onBeforeDocumentUpload, onDocumentUploadProgress, onDocumentUploaded, onDocumentUploadFailed, onResponseReceived, onRequestFailure, clientRequestID, }: SubmissionProviderProps) => ReactElement;
|
|
106
|
+
export declare const SubmissionProvider: ({ action, children, submissionUrl, environment, companyId, enrollmentId, personalData, cardData, bypassAgeValidation, bypassNameMatching, needImmediateResponse, manualReviewRequired, idBackImageRequired, idImageResolutionCheck, verifyIdWithExternalDatabases, deduplicationEnabled, deduplicationSynchronous, idCardForFaceMatch, geolocationEnabled, geolocationRequired, webhooksEnabled, webhooksClientTraceId, webhooksStripSpecialCharacters, webhooksSendInputImages, webhooksSendProcessedImages, webhooksFireOnReview, precapturedDocuments, documentServiceUrl, sendBase64DocumentsInSwaggerProxy, onSubmit, onBeforeSubmit, onBeforeLivenessCheck, onBeforeDocumentUpload, onDocumentUploadProgress, onDocumentUploaded, onDocumentUploadFailed, onResponseReceived, onRequestFailure, clientRequestID, }: SubmissionProviderProps) => ReactElement;
|
|
@@ -169,7 +169,7 @@ export declare function parseJwt(token: string): Record<string, unknown>;
|
|
|
169
169
|
export declare function determineSubmissionHost(environment: SubmissionEnvironment, token?: string): string;
|
|
170
170
|
export declare function determineSubmissionEndpoint(action: SubmissionAction, hasId: boolean, hasSelfie: boolean): string;
|
|
171
171
|
export declare function liveCheckEndpoint(hasDocumentToMatchFace?: boolean): string;
|
|
172
|
-
export declare function apiHeaders(sessionId?: string): HeadersInit;
|
|
172
|
+
export declare function apiHeaders(sessionId?: string, sendBase64DocumentsInSwaggerProxy?: boolean): HeadersInit;
|
|
173
173
|
export declare function attachMetadataToRequest(request: SubmissionRequest | LivenessCheckRequest, { selfieCaptureAttempts, idFrontCaptureAttempts, idBackCaptureAttempts, geolocationResult, }: {
|
|
174
174
|
selfieCaptureAttempts: CaptureAttemptMetadata[];
|
|
175
175
|
idFrontCaptureAttempts: CaptureAttemptMetadata[];
|
|
@@ -51,7 +51,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
|
|
|
51
51
|
var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
|
|
52
52
|
var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
|
|
53
53
|
|
|
54
|
-
var webSdkVersion = '1.0.
|
|
54
|
+
var webSdkVersion = '1.0.353';
|
|
55
55
|
|
|
56
56
|
function getPlatform() {
|
|
57
57
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -171,9 +171,13 @@ function liveCheckEndpoint(hasDocumentToMatchFace) {
|
|
|
171
171
|
}
|
|
172
172
|
return hasDocumentToMatchFace ? "/v4/customer/match-id-face" : "/v4/customer/live-check";
|
|
173
173
|
}
|
|
174
|
-
function apiHeaders(sessionId) {
|
|
174
|
+
function apiHeaders(sessionId, sendBase64DocumentsInSwaggerProxy) {
|
|
175
|
+
if (sendBase64DocumentsInSwaggerProxy === void 0) {
|
|
176
|
+
sendBase64DocumentsInSwaggerProxy = false;
|
|
177
|
+
}
|
|
175
178
|
var headers = {
|
|
176
179
|
'Content-Type': 'application/json',
|
|
180
|
+
'X-Send-Base64-Documents': sendBase64DocumentsInSwaggerProxy ? '1' : '0',
|
|
177
181
|
Origin: '*'
|
|
178
182
|
};
|
|
179
183
|
if (sessionId) {
|
|
@@ -952,6 +956,8 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
952
956
|
precapturedDocuments = _a.precapturedDocuments,
|
|
953
957
|
_v = _a.documentServiceUrl,
|
|
954
958
|
documentServiceUrl = _v === void 0 ? defaultDocumentServiceUrl : _v,
|
|
959
|
+
_w = _a.sendBase64DocumentsInSwaggerProxy,
|
|
960
|
+
sendBase64DocumentsInSwaggerProxy = _w === void 0 ? true : _w,
|
|
955
961
|
onSubmit = _a.onSubmit,
|
|
956
962
|
onBeforeSubmit = _a.onBeforeSubmit,
|
|
957
963
|
onBeforeLivenessCheck = _a.onBeforeLivenessCheck,
|
|
@@ -963,81 +969,81 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
963
969
|
onRequestFailure = _a.onRequestFailure,
|
|
964
970
|
clientRequestID = _a.clientRequestID;
|
|
965
971
|
var sessionId = useAuthContext()[0].sessionId;
|
|
966
|
-
var
|
|
967
|
-
submissionStatus =
|
|
968
|
-
setSubmissionStatus =
|
|
969
|
-
var _x = React.useState(null),
|
|
970
|
-
submissionRequest = _x[0],
|
|
971
|
-
setSubmissionRequest = _x[1];
|
|
972
|
+
var _x = React.useState(SubmissionStatus.READY),
|
|
973
|
+
submissionStatus = _x[0],
|
|
974
|
+
setSubmissionStatus = _x[1];
|
|
972
975
|
var _y = React.useState(null),
|
|
973
|
-
|
|
974
|
-
|
|
976
|
+
submissionRequest = _y[0],
|
|
977
|
+
setSubmissionRequest = _y[1];
|
|
975
978
|
var _z = React.useState(null),
|
|
976
|
-
|
|
977
|
-
|
|
979
|
+
submissionResponse = _z[0],
|
|
980
|
+
setSubmissionResponse = _z[1];
|
|
978
981
|
var _0 = React.useState(null),
|
|
979
|
-
|
|
980
|
-
|
|
982
|
+
submissionError = _0[0],
|
|
983
|
+
setSubmissionError = _0[1];
|
|
981
984
|
var _1 = React.useState(null),
|
|
982
|
-
|
|
983
|
-
|
|
985
|
+
retrySubmission = _1[0],
|
|
986
|
+
setRetrySubmission = _1[1];
|
|
984
987
|
var _2 = React.useState(null),
|
|
985
|
-
|
|
986
|
-
|
|
988
|
+
livenessCheckRequest = _2[0],
|
|
989
|
+
setLivenessCheckRequest = _2[1];
|
|
987
990
|
var _3 = React.useState(null),
|
|
988
|
-
|
|
989
|
-
|
|
991
|
+
idFrontImage = _3[0],
|
|
992
|
+
setIdFrontImage = _3[1];
|
|
990
993
|
var _4 = React.useState(null),
|
|
991
|
-
|
|
992
|
-
|
|
994
|
+
idBackImage = _4[0],
|
|
995
|
+
setIdBackImage = _4[1];
|
|
993
996
|
var _5 = React.useState(null),
|
|
994
|
-
|
|
995
|
-
|
|
997
|
+
passportImage = _5[0],
|
|
998
|
+
setPassportImage = _5[1];
|
|
996
999
|
var _6 = React.useState(null),
|
|
997
|
-
|
|
998
|
-
|
|
1000
|
+
selfieImage = _6[0],
|
|
1001
|
+
setSelfieImage = _6[1];
|
|
999
1002
|
var _7 = React.useState(null),
|
|
1000
|
-
|
|
1001
|
-
|
|
1003
|
+
signatureData = _7[0],
|
|
1004
|
+
setSignatureData = _7[1];
|
|
1002
1005
|
var _8 = React.useState(null),
|
|
1003
|
-
|
|
1004
|
-
|
|
1006
|
+
signatureVideoUrl = _8[0],
|
|
1007
|
+
setSignatureVideoUrl = _8[1];
|
|
1005
1008
|
var _9 = React.useState(null),
|
|
1006
|
-
|
|
1007
|
-
|
|
1009
|
+
idCaptureVideoUrl = _9[0],
|
|
1010
|
+
setIdCaptureVideoUrl = _9[1];
|
|
1008
1011
|
var _10 = React.useState(null),
|
|
1009
|
-
|
|
1010
|
-
|
|
1012
|
+
idCaptureVideoIdFrontImage = _10[0],
|
|
1013
|
+
setIdCaptureVideoIdFrontImage = _10[1];
|
|
1011
1014
|
var _11 = React.useState(null),
|
|
1012
|
-
|
|
1013
|
-
|
|
1015
|
+
idCaptureVideoIdBackImage = _11[0],
|
|
1016
|
+
setIdCaptureVideoIdBackImage = _11[1];
|
|
1014
1017
|
var _12 = React.useState(null),
|
|
1015
|
-
|
|
1016
|
-
|
|
1018
|
+
idCaptureVideoAudioUrl = _12[0],
|
|
1019
|
+
setIdCaptureVideoAudioUrl = _12[1];
|
|
1017
1020
|
var _13 = React.useState(null),
|
|
1018
|
-
|
|
1019
|
-
|
|
1021
|
+
idCaptureVideoAudioStartsAt = _13[0],
|
|
1022
|
+
setIdCaptureVideoAudioStartsAt = _13[1];
|
|
1020
1023
|
var _14 = React.useState(null),
|
|
1021
|
-
|
|
1022
|
-
|
|
1024
|
+
expectedAudioText = _14[0],
|
|
1025
|
+
setExpectedAudioText = _14[1];
|
|
1023
1026
|
var _15 = React.useState(null),
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
var _16 = React.useState(
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
var _17 = React.useState(
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
var _18 = React.useState(
|
|
1033
|
-
|
|
1034
|
-
|
|
1027
|
+
additionalDocuments = _15[0],
|
|
1028
|
+
setAdditionalDocuments = _15[1];
|
|
1029
|
+
var _16 = React.useState(null),
|
|
1030
|
+
geolocationResult = _16[0],
|
|
1031
|
+
setGeolocationResult = _16[1];
|
|
1032
|
+
var _17 = React.useState(0),
|
|
1033
|
+
geolocationAttempts = _17[0],
|
|
1034
|
+
setGeolocationAttempts = _17[1];
|
|
1035
|
+
var _18 = React.useState(false),
|
|
1036
|
+
geolocationBlocked = _18[0],
|
|
1037
|
+
setGeolocationBlocked = _18[1];
|
|
1035
1038
|
var _19 = React.useState([]),
|
|
1036
|
-
|
|
1037
|
-
|
|
1039
|
+
idFrontCaptureAttempts = _19[0],
|
|
1040
|
+
setIdFrontCaptureAttempts = _19[1];
|
|
1038
1041
|
var _20 = React.useState([]),
|
|
1039
|
-
|
|
1040
|
-
|
|
1042
|
+
idBackCaptureAttempts = _20[0],
|
|
1043
|
+
setIdBackCaptureAttempts = _20[1];
|
|
1044
|
+
var _21 = React.useState([]),
|
|
1045
|
+
selfieCaptureAttempts = _21[0],
|
|
1046
|
+
setSelfieCaptureAttempts = _21[1];
|
|
1041
1047
|
var logIdFrontCaptureAttempt = React.useCallback(function (attempt) {
|
|
1042
1048
|
setIdFrontCaptureAttempts(function (attempts) {
|
|
1043
1049
|
return tslib.__spreadArray(tslib.__spreadArray([], attempts, true), [attempt], false);
|
|
@@ -1353,7 +1359,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1353
1359
|
endpoint = determineSubmissionEndpoint(action, !!(idFrontImage || idBackImage || passportImage), !!selfieImage);
|
|
1354
1360
|
return [4 /*yield*/, fetch(host + endpoint, {
|
|
1355
1361
|
method: 'POST',
|
|
1356
|
-
headers: apiHeaders(sessionId),
|
|
1362
|
+
headers: apiHeaders(sessionId, sendBase64DocumentsInSwaggerProxy),
|
|
1357
1363
|
body: JSON.stringify(payload)
|
|
1358
1364
|
})["catch"](function (e) {
|
|
1359
1365
|
throw new NetworkError(e.message);
|
|
@@ -1476,7 +1482,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1476
1482
|
endpoint = liveCheckEndpoint(!!idCardForFaceMatch);
|
|
1477
1483
|
return [4 /*yield*/, fetch(host + endpoint, {
|
|
1478
1484
|
method: 'POST',
|
|
1479
|
-
headers: apiHeaders(sessionId),
|
|
1485
|
+
headers: apiHeaders(sessionId, sendBase64DocumentsInSwaggerProxy),
|
|
1480
1486
|
body: JSON.stringify(request)
|
|
1481
1487
|
})["catch"](function (e) {
|
|
1482
1488
|
throw new NetworkError(e.message);
|
|
@@ -17823,6 +17829,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
17823
17829
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
17824
17830
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
17825
17831
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
17832
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
17826
17833
|
precapturedDocuments = _a.precapturedDocuments,
|
|
17827
17834
|
_c = _a.loadingOverlayMode,
|
|
17828
17835
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
@@ -17970,6 +17977,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
17970
17977
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
17971
17978
|
webhooksSendProcessedImages: webhooksSendProcessedImages,
|
|
17972
17979
|
webhooksFireOnReview: webhooksFireOnReview,
|
|
17980
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
17973
17981
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
17974
17982
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
17975
17983
|
onDocumentUploaded: onDocumentUploaded,
|
|
@@ -18008,6 +18016,7 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
18008
18016
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
18009
18017
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
18010
18018
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
18019
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
18011
18020
|
_c = _a.loadingOverlayMode,
|
|
18012
18021
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
18013
18022
|
_d = _a.timeoutDurationMs,
|
|
@@ -18079,6 +18088,7 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
18079
18088
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
18080
18089
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
18081
18090
|
webhooksSendProcessedImages: webhooksSendProcessedImages,
|
|
18091
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
18082
18092
|
idCardForFaceMatch: idCardForFaceMatch,
|
|
18083
18093
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
18084
18094
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
@@ -18121,6 +18131,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
18121
18131
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
18122
18132
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
18123
18133
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
18134
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
18124
18135
|
precapturedDocuments = _a.precapturedDocuments,
|
|
18125
18136
|
_c = _a.idCaptureLoadingOverlayMode,
|
|
18126
18137
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
@@ -18298,6 +18309,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
18298
18309
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
18299
18310
|
webhooksSendProcessedImages: webhooksSendProcessedImages,
|
|
18300
18311
|
webhooksFireOnReview: webhooksFireOnReview,
|
|
18312
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
18301
18313
|
precapturedDocuments: precapturedDocuments,
|
|
18302
18314
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
18303
18315
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
@@ -18351,6 +18363,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
18351
18363
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
18352
18364
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
18353
18365
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
18366
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
18354
18367
|
_c = _a.idCaptureLoadingOverlayMode,
|
|
18355
18368
|
idCaptureLoadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
18356
18369
|
_d = _a.idCaptureRequirement,
|
|
@@ -18525,6 +18538,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
18525
18538
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
18526
18539
|
webhooksSendProcessedImages: webhooksSendProcessedImages,
|
|
18527
18540
|
webhooksFireOnReview: webhooksFireOnReview,
|
|
18541
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
18528
18542
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
18529
18543
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
18530
18544
|
onDocumentUploaded: onDocumentUploaded,
|
|
@@ -18997,6 +19011,7 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
18997
19011
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
18998
19012
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
18999
19013
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
19014
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
19000
19015
|
_c = _a.loadingOverlayMode,
|
|
19001
19016
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
19002
19017
|
_d = _a.timeoutDurationMs,
|
|
@@ -19049,6 +19064,7 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
19049
19064
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
19050
19065
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
19051
19066
|
webhooksSendProcessedImages: webhooksSendProcessedImages,
|
|
19067
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
19052
19068
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
19053
19069
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
19054
19070
|
onDocumentUploaded: onDocumentUploaded,
|
|
@@ -19526,6 +19542,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
19526
19542
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
19527
19543
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
19528
19544
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
19545
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
19529
19546
|
_c = _a.loadingOverlayMode,
|
|
19530
19547
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
19531
19548
|
_d = _a.timeoutDurationMs,
|
|
@@ -19577,6 +19594,7 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
19577
19594
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
19578
19595
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
19579
19596
|
webhooksSendProcessedImages: webhooksSendProcessedImages,
|
|
19597
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
19580
19598
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
19581
19599
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
19582
19600
|
onDocumentUploaded: onDocumentUploaded,
|
|
@@ -19619,6 +19637,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
19619
19637
|
authUrl = _a.authUrl,
|
|
19620
19638
|
submissionUrl = _a.submissionUrl,
|
|
19621
19639
|
documentServiceUrl = _a.documentServiceUrl,
|
|
19640
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
19622
19641
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
19623
19642
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
19624
19643
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -19657,6 +19676,7 @@ var SignatureKYC = function SignatureKYC(_a) {
|
|
|
19657
19676
|
clientRequestID: clientRequestID,
|
|
19658
19677
|
documentServiceUrl: documentServiceUrl,
|
|
19659
19678
|
idCardForFaceMatch: idCardForFaceMatch,
|
|
19679
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
19660
19680
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
19661
19681
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
19662
19682
|
onDocumentUploaded: onDocumentUploaded,
|
|
@@ -19712,6 +19732,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
19712
19732
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
19713
19733
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
19714
19734
|
webhooksFireOnReview = _a.webhooksFireOnReview,
|
|
19735
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
19715
19736
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
19716
19737
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
19717
19738
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -19871,6 +19892,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
19871
19892
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
19872
19893
|
webhooksSendProcessedImages: webhooksSendProcessedImages,
|
|
19873
19894
|
webhooksFireOnReview: webhooksFireOnReview,
|
|
19895
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
19874
19896
|
idCardForFaceMatch: idCardForFaceMatch,
|
|
19875
19897
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
19876
19898
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
@@ -19913,6 +19935,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
19913
19935
|
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
19914
19936
|
webhooksSendInputImages = _a.webhooksSendInputImages,
|
|
19915
19937
|
webhooksSendProcessedImages = _a.webhooksSendProcessedImages,
|
|
19938
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
19916
19939
|
_c = _a.loadingOverlayMode,
|
|
19917
19940
|
loadingOverlayMode = _c === void 0 ? 'default' : _c,
|
|
19918
19941
|
_d = _a.timeoutDurationMs,
|
|
@@ -20026,6 +20049,7 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
20026
20049
|
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
20027
20050
|
webhooksSendInputImages: webhooksSendInputImages,
|
|
20028
20051
|
webhooksSendProcessedImages: webhooksSendProcessedImages,
|
|
20052
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
20029
20053
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
20030
20054
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
20031
20055
|
onDocumentUploaded: onDocumentUploaded,
|
|
@@ -20059,6 +20083,7 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
20059
20083
|
authUrl = _a.authUrl,
|
|
20060
20084
|
submissionUrl = _a.submissionUrl,
|
|
20061
20085
|
documentServiceUrl = _a.documentServiceUrl,
|
|
20086
|
+
sendBase64DocumentsInSwaggerProxy = _a.sendBase64DocumentsInSwaggerProxy,
|
|
20062
20087
|
onBeforeDocumentUpload = _a.onBeforeDocumentUpload,
|
|
20063
20088
|
onDocumentUploadProgress = _a.onDocumentUploadProgress,
|
|
20064
20089
|
onDocumentUploaded = _a.onDocumentUploaded,
|
|
@@ -20094,6 +20119,7 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
20094
20119
|
action: SubmissionAction.NONE,
|
|
20095
20120
|
submissionUrl: submissionUrl,
|
|
20096
20121
|
documentServiceUrl: documentServiceUrl,
|
|
20122
|
+
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
20097
20123
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
20098
20124
|
onDocumentUploadProgress: onDocumentUploadProgress,
|
|
20099
20125
|
onDocumentUploaded: onDocumentUploaded,
|