@incodetech/welcome 1.79.0 → 1.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/incode-utils/src/utils.d.ts +1750 -0
- package/dist/incode-welcome/src/IDV2/CaptureIdCore.d.ts +17 -10
- package/dist/incode-welcome/src/IDV2/IdCaptureV2Manager.d.ts +7 -2
- package/dist/incode-welcome/src/IDV2/assets/tutorials/id-tuto.json.d.ts +4928 -10949
- package/dist/incode-welcome/src/IDV2/capture/Api.d.ts +2 -6
- package/dist/incode-welcome/src/IDV2/capture/CommonIssues.d.ts +4 -4
- package/dist/incode-welcome/src/IDV2/capture/Counter.d.ts +6 -0
- package/dist/incode-welcome/src/IDV2/capture/FrameBorder.d.ts +5 -1
- package/dist/incode-welcome/src/IDV2/capture/IdProcessingStatus.d.ts +4 -0
- package/dist/incode-welcome/src/IDV2/capture/ManualCaptureButton.d.ts +4 -0
- package/dist/incode-welcome/src/IDV2/capture/NeedHelp.d.ts +4 -1
- package/dist/incode-welcome/src/IDV2/capture/WrongSideHint.d.ts +7 -0
- package/dist/incode-welcome/src/IDV2/capture/assets/analyzing-animations/id-laser-h.json.d.ts +280 -0
- package/dist/incode-welcome/src/IDV2/ui/Card.d.ts +2 -2
- package/dist/incode-welcome/src/IDV2/ui/Container.d.ts +8 -3
- package/dist/incode-welcome/src/IDV2/ui/H2.d.ts +5 -0
- package/dist/incode-welcome/src/IDV2/ui/index.d.ts +61 -15
- package/dist/incode-welcome/src/addSpeech.d.ts +6 -6
- package/dist/incode-welcome/src/camera/Webcam.types.d.ts +1 -0
- package/dist/incode-welcome/src/camera/useSelfie.d.ts +1 -1
- package/dist/incode-welcome/src/detection/IdDetectionManager.d.ts +38 -24
- package/dist/incode-welcome/src/detection/detectFace.d.ts +2 -1
- package/dist/incode-welcome/src/detection/useIdDetection.d.ts +4 -1
- package/dist/incode-welcome/src/forms/types.d.ts +2 -1
- package/dist/incode-welcome/src/getFlow.d.ts +1 -0
- package/dist/incode-welcome/src/index.d.ts +1 -0
- package/dist/incode-welcome/src/statsig.d.ts +1 -1
- package/dist/incode-welcome/src/wasmUtils/mlWasmJSApi.d.ts +1 -1
- package/dist/onBoarding.mjs +48737 -37050
- package/dist/onBoarding.umd.js +517 -449
- package/dist/types/src/index.d.ts +76 -0
- package/package.json +1 -1
- package/dist/incode-welcome/src/IDV2/capture/FrontIdHint.d.ts +0 -3
|
@@ -174,4 +174,80 @@ export type FLError<TError = FLErrorStatuses> = {
|
|
|
174
174
|
message: string;
|
|
175
175
|
};
|
|
176
176
|
export type FaceLoginError<TError = FLErrorStatuses> = FLError<TError> | string;
|
|
177
|
+
export type CustomFields = {
|
|
178
|
+
name: string;
|
|
179
|
+
alias: string;
|
|
180
|
+
type: string;
|
|
181
|
+
};
|
|
182
|
+
export type CustomFieldsConfig = {
|
|
183
|
+
title: string;
|
|
184
|
+
customFields: CustomFields[];
|
|
185
|
+
};
|
|
186
|
+
export type Flow = {
|
|
187
|
+
id: string;
|
|
188
|
+
idCaptureAttempts: number;
|
|
189
|
+
idCaptureTimeout: number;
|
|
190
|
+
selfieCaptureAttempts: number;
|
|
191
|
+
selfieCaptureTimeout: number;
|
|
192
|
+
checkAuthorization: boolean;
|
|
193
|
+
checkDocumentScan: boolean;
|
|
194
|
+
checkIdScan: boolean;
|
|
195
|
+
checkLiveness: boolean;
|
|
196
|
+
checkTutorials: boolean;
|
|
197
|
+
checkVoiceConsent: boolean;
|
|
198
|
+
videoSelfieAsSelfie: boolean;
|
|
199
|
+
hasFaceDeduplication?: boolean;
|
|
200
|
+
redirectDekstopToMobile?: boolean;
|
|
201
|
+
enableMultipleOnboardings?: boolean;
|
|
202
|
+
compareIdEnabled: boolean;
|
|
203
|
+
compareOcrEnabled: boolean;
|
|
204
|
+
compareBackIdEnabled: boolean;
|
|
205
|
+
compareBackOcrEnabled: boolean;
|
|
206
|
+
customFieldsConfig: CustomFieldsConfig;
|
|
207
|
+
isStadiumFlow: boolean;
|
|
208
|
+
isKidsFlow: boolean;
|
|
209
|
+
isAdultFlow: boolean;
|
|
210
|
+
addContinueToDesktop: boolean;
|
|
211
|
+
redirectOriginOnly: boolean;
|
|
212
|
+
modules: string[];
|
|
213
|
+
disableSkipPoa: boolean;
|
|
214
|
+
poaTitle?: string;
|
|
215
|
+
poaText?: string;
|
|
216
|
+
documentTitle?: string;
|
|
217
|
+
documentText?: string;
|
|
218
|
+
onlyFront?: boolean;
|
|
219
|
+
onlyBack?: boolean;
|
|
220
|
+
questionsCount: number;
|
|
221
|
+
displayOnboardingResultOnDesktop?: boolean;
|
|
222
|
+
disableLaunchScreen: boolean;
|
|
223
|
+
disableSmsOption: boolean;
|
|
224
|
+
optinEnabled: boolean;
|
|
225
|
+
manualUploadIdCapture: boolean;
|
|
226
|
+
showDocumentChooserScreen?: boolean;
|
|
227
|
+
optinCompanyName: string;
|
|
228
|
+
phoneConfigurationConfig: {
|
|
229
|
+
otpVerification: boolean;
|
|
230
|
+
otpExpirationInMinutes: number;
|
|
231
|
+
};
|
|
232
|
+
signatureConfigurationConfig: {
|
|
233
|
+
title: string;
|
|
234
|
+
subTitle: string;
|
|
235
|
+
};
|
|
236
|
+
emailConfigurationConfig: {
|
|
237
|
+
otpVerification: boolean;
|
|
238
|
+
otpExpirationInMinutes: number;
|
|
239
|
+
};
|
|
240
|
+
disableMandatoryConsentCheck: boolean;
|
|
241
|
+
geolocationConfigurationConfig: {
|
|
242
|
+
allowUserToSkipGeolocation: false;
|
|
243
|
+
};
|
|
244
|
+
combinedConsentConfigurationConfig?: {
|
|
245
|
+
combinedConsents: string;
|
|
246
|
+
};
|
|
247
|
+
useOpenVidu: boolean;
|
|
248
|
+
mergeSessionRecordings: boolean;
|
|
249
|
+
deviceIdleTimeout?: number;
|
|
250
|
+
sardineRiskClientId?: string;
|
|
251
|
+
ageAssurance?: boolean;
|
|
252
|
+
};
|
|
177
253
|
export {};
|
package/package.json
CHANGED