@frankieone/one-sdk 1.9.11 → 1.9.13
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/cli/darwin-amd64/onesdk-cli +0 -0
- package/dist/cli/darwin-arm64/onesdk-cli +0 -0
- package/dist/cli/linux-amd64/onesdk-cli +0 -0
- package/dist/cli/linux-arm64/onesdk-cli +0 -0
- package/dist/cli/windows-amd64/onesdk-cli.exe +0 -0
- package/dist/commit.txt +1 -1
- package/dist/esm/modules/biometrics/definition.d.ts +10 -2
- package/dist/esm/modules/biometrics/definition.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/index.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/index.js +9 -1
- package/dist/esm/modules/biometrics/index.js.map +1 -1
- package/dist/esm/modules/biometrics/vendors/Daon/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/IDVerse/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/IDVerse/index.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/vendors/IDVerse/index.js +1 -0
- package/dist/esm/modules/biometrics/vendors/IDVerse/index.js.map +1 -1
- package/dist/esm/modules/biometrics/vendors/Incode/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/Incode/index.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/vendors/Incode/index.js +8 -2
- package/dist/esm/modules/biometrics/vendors/Incode/index.js.map +1 -1
- package/dist/esm/modules/biometrics/vendors/OcrLabs/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/Onfido/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/Sumsub/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/common/initProcess.d.ts +3 -2
- package/dist/esm/modules/biometrics/vendors/common/initProcess.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/vendors/common/initProcess.js +12 -2
- package/dist/esm/modules/biometrics/vendors/common/initProcess.js.map +1 -1
- package/dist/esm/modules/biometrics/vendors/dummy-biometrics/index.d.ts +1 -1
- package/dist/esm/modules/common/shared/utils/fetchCheckProcessingStatus.d.ts +11 -1
- package/dist/esm/modules/common/shared/utils/fetchCheckProcessingStatus.d.ts.map +1 -1
- package/dist/esm/modules/common/shared/utils/fetchCheckProcessingStatus.js +3 -3
- package/dist/esm/modules/common/shared/utils/fetchCheckProcessingStatus.js.map +1 -1
- package/dist/esm/modules/common/vendors/incode/startCamera.d.ts +4 -1
- package/dist/esm/modules/common/vendors/incode/startCamera.d.ts.map +1 -1
- package/dist/esm/modules/common/vendors/incode/startCamera.js +31 -28
- package/dist/esm/modules/common/vendors/incode/startCamera.js.map +1 -1
- package/dist/esm/modules/form/definition.d.ts +17 -0
- package/dist/esm/modules/form/definition.d.ts.map +1 -1
- package/dist/esm/modules/form/validateConfiguration.d.ts.map +1 -1
- package/dist/esm/modules/form/validateConfiguration.js +14 -2
- package/dist/esm/modules/form/validateConfiguration.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/App.d.ts +3 -1
- package/dist/esm/modules/form/vendors/react/App.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/App.js +2 -1
- package/dist/esm/modules/form/vendors/react/App.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts +4 -7
- package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieReviewDocumentList/FrankieReviewDocumentList.d.ts +1 -2
- package/dist/esm/modules/form/vendors/react/components/view/FrankieReviewDocumentList/FrankieReviewDocumentList.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieReviewDocumentList/FrankieReviewDocumentList.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/layoutMapper.const.d.ts +40 -160
- package/dist/esm/modules/form/vendors/react/constants/layoutMapper.const.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocumentUpload/DocumentUpload.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocumentUpload/DocumentUpload.js +22 -20
- package/dist/esm/modules/form/vendors/react/features/DocumentUpload/DocumentUpload.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/personalDetails.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/ReviewDocUpload/ReviewDocUpload.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/ReviewDocUpload/ReviewDocUpload.js +8 -10
- package/dist/esm/modules/form/vendors/react/features/ReviewDocUpload/ReviewDocUpload.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/docUploadWelcome.config.d.ts +26 -4
- package/dist/esm/modules/form/vendors/react/features/Welcome/docUploadWelcome.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/docUploadWelcome.config.js +6 -5
- package/dist/esm/modules/form/vendors/react/features/Welcome/docUploadWelcome.config.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/hostedBusinessWelcome.config.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/features/Welcome/hostedBusinessWelcome.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/manualWelcome.config.d.ts +2 -8
- package/dist/esm/modules/form/vendors/react/features/Welcome/manualWelcome.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.js +8 -2
- package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useEventContext.d.ts +2 -0
- package/dist/esm/modules/form/vendors/react/hooks/useEventContext.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useEventContext.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useManualWrapperFactory.hook.d.ts +72 -72
- package/dist/esm/modules/form/vendors/react/hooks/useManualWrapperFactory.hook.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/index.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/index.js +3 -2
- package/dist/esm/modules/form/vendors/react/index.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/redux/slices/manualSlice.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/redux/slices/manualSlice.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/utils/docUpload.util.d.ts +5 -0
- package/dist/esm/modules/form/vendors/react/utils/docUpload.util.d.ts.map +1 -0
- package/dist/esm/modules/form/vendors/react/utils/docUpload.util.js +15 -0
- package/dist/esm/modules/form/vendors/react/utils/docUpload.util.js.map +1 -0
- package/dist/esm/modules/frankie-client/DummyFrankieApiClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/DocumentClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/F2/DocumentClientF2.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/F2/TelemetryEventsClientF2.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/TelemetryEventsClient.d.ts +1 -1
- package/dist/esm/modules/idv/definition.types.d.ts +2 -0
- package/dist/esm/modules/idv/definition.types.d.ts.map +1 -1
- package/dist/esm/modules/idv/index.d.ts.map +1 -1
- package/dist/esm/modules/idv/index.js +5 -2
- package/dist/esm/modules/idv/index.js.map +1 -1
- package/dist/esm/modules/idv/vendors/Daon/index.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/Incode/index.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/Mastercard/index.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/OcrLabs/index.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/OcrLabs/index.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/OcrLabs/index.js +1 -0
- package/dist/esm/modules/idv/vendors/OcrLabs/index.js.map +1 -1
- package/dist/esm/modules/idv/vendors/Onfido/index.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/Onfido/index.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/Onfido/index.js +3 -2
- package/dist/esm/modules/idv/vendors/Onfido/index.js.map +1 -1
- package/dist/esm/modules/idv/vendors/Onfido/index.useOneStep.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/Onfido/index.useOneStep.js +25 -10
- package/dist/esm/modules/idv/vendors/Onfido/index.useOneStep.js.map +1 -1
- package/dist/esm/modules/idv/vendors/Sumsub/index.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/Sumsub/index.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/Sumsub/index.js +1 -0
- package/dist/esm/modules/idv/vendors/Sumsub/index.js.map +1 -1
- package/dist/esm/modules/idv/vendors/Truuth/index.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/Truuth/index.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/Truuth/index.js +18 -7
- package/dist/esm/modules/idv/vendors/Truuth/index.js.map +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.js +34 -20
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.js.map +1 -1
- package/dist/esm/modules/meta.json +1 -1
- package/dist/esm/modules/ocr/actions/mount.d.ts +2 -1
- package/dist/esm/modules/ocr/actions/mount.d.ts.map +1 -1
- package/dist/esm/modules/ocr/actions/mount.js +5 -3
- package/dist/esm/modules/ocr/actions/mount.js.map +1 -1
- package/dist/esm/modules/ocr/definition.d.ts +9 -1
- package/dist/esm/modules/ocr/definition.d.ts.map +1 -1
- package/dist/esm/modules/ocr/index.d.ts.map +1 -1
- package/dist/esm/modules/ocr/index.js +10 -1
- package/dist/esm/modules/ocr/index.js.map +1 -1
- package/dist/esm/modules/ocr/vendors/Daon/index.d.ts +1 -1
- package/dist/esm/modules/ocr/vendors/IDVerse/index.d.ts +1 -1
- package/dist/esm/modules/ocr/vendors/IDVerse/index.d.ts.map +1 -1
- package/dist/esm/modules/ocr/vendors/IDVerse/index.js +1 -0
- package/dist/esm/modules/ocr/vendors/IDVerse/index.js.map +1 -1
- package/dist/esm/modules/ocr/vendors/Incode/index.d.ts +1 -1
- package/dist/esm/modules/ocr/vendors/Incode/index.d.ts.map +1 -1
- package/dist/esm/modules/ocr/vendors/Incode/index.js +8 -2
- package/dist/esm/modules/ocr/vendors/Incode/index.js.map +1 -1
- package/dist/esm/modules/ocr/vendors/Onfido/index.d.ts +1 -1
- package/dist/esm/modules/ocr/vendors/Sumsub/index.d.ts +1 -1
- package/dist/esm/modules/ocr/vendors/dummy-ocr/index.d.ts +1 -1
- package/package.json +5 -7
|
@@ -180,10 +180,7 @@ export declare const pagesConfig: {
|
|
|
180
180
|
cta?: import("../appConfig.type").ActionContent;
|
|
181
181
|
} & {
|
|
182
182
|
name: "WELCOME";
|
|
183
|
-
additionalInstructions?:
|
|
184
|
-
name: string;
|
|
185
|
-
minimumRequirement: number;
|
|
186
|
-
})[] | undefined;
|
|
183
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
187
184
|
} & {
|
|
188
185
|
checkbox: import("../appConfig.type").ListInfo;
|
|
189
186
|
}) | (import("../appConfig.type").FontConfig & {
|
|
@@ -225,10 +222,7 @@ export declare const pagesConfig: {
|
|
|
225
222
|
cta?: import("../appConfig.type").ActionContent;
|
|
226
223
|
} & {
|
|
227
224
|
name: "WELCOME";
|
|
228
|
-
additionalInstructions?:
|
|
229
|
-
name: string;
|
|
230
|
-
minimumRequirement: number;
|
|
231
|
-
})[] | undefined;
|
|
225
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
232
226
|
} & {
|
|
233
227
|
checkbox: import("../appConfig.type").ListInfo;
|
|
234
228
|
}) | (import("../appConfig.type").FontConfig & {
|
|
@@ -270,10 +264,7 @@ export declare const pagesConfig: {
|
|
|
270
264
|
cta?: import("../appConfig.type").ActionContent;
|
|
271
265
|
} & {
|
|
272
266
|
name: "WELCOME";
|
|
273
|
-
additionalInstructions?:
|
|
274
|
-
name: string;
|
|
275
|
-
minimumRequirement: number;
|
|
276
|
-
})[] | undefined;
|
|
267
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
277
268
|
} & {
|
|
278
269
|
checkbox: import("../appConfig.type").ListInfo;
|
|
279
270
|
}) | (import("../appConfig.type").FontConfig & {
|
|
@@ -321,10 +312,7 @@ export declare const pagesConfig: {
|
|
|
321
312
|
cta?: import("../appConfig.type").ActionContent;
|
|
322
313
|
} & {
|
|
323
314
|
name: "WELCOME";
|
|
324
|
-
additionalInstructions?:
|
|
325
|
-
name: string;
|
|
326
|
-
minimumRequirement: number;
|
|
327
|
-
})[] | undefined;
|
|
315
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
328
316
|
} & {
|
|
329
317
|
checkbox: import("../appConfig.type").ListInfo;
|
|
330
318
|
}) | (import("../appConfig.type").FontConfig & {
|
|
@@ -342,10 +330,7 @@ export declare const pagesConfig: {
|
|
|
342
330
|
cta?: import("../appConfig.type").ActionContent;
|
|
343
331
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
344
332
|
name: "WELCOME";
|
|
345
|
-
additionalInstructions?:
|
|
346
|
-
name: string;
|
|
347
|
-
minimumRequirement: number;
|
|
348
|
-
})[] | undefined;
|
|
333
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
349
334
|
} & {
|
|
350
335
|
checkbox: import("../appConfig.type").ListInfo;
|
|
351
336
|
}) | (import("../appConfig.type").FontConfig & {
|
|
@@ -366,10 +351,7 @@ export declare const pagesConfig: {
|
|
|
366
351
|
cta?: import("../appConfig.type").ActionContent;
|
|
367
352
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
368
353
|
name: "WELCOME";
|
|
369
|
-
additionalInstructions?:
|
|
370
|
-
name: string;
|
|
371
|
-
minimumRequirement: number;
|
|
372
|
-
})[] | undefined;
|
|
354
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
373
355
|
} & {
|
|
374
356
|
checkbox: import("../appConfig.type").ListInfo;
|
|
375
357
|
}) | (import("../appConfig.type").FontConfig & {
|
|
@@ -390,10 +372,7 @@ export declare const pagesConfig: {
|
|
|
390
372
|
cta?: import("../appConfig.type").ActionContent;
|
|
391
373
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
392
374
|
name: "WELCOME";
|
|
393
|
-
additionalInstructions?:
|
|
394
|
-
name: string;
|
|
395
|
-
minimumRequirement: number;
|
|
396
|
-
})[] | undefined;
|
|
375
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
397
376
|
} & {
|
|
398
377
|
checkbox: import("../appConfig.type").ListInfo;
|
|
399
378
|
}) | (import("../appConfig.type").FontConfig & {
|
|
@@ -417,10 +396,7 @@ export declare const pagesConfig: {
|
|
|
417
396
|
cta?: import("../appConfig.type").ActionContent;
|
|
418
397
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
419
398
|
name: "WELCOME";
|
|
420
|
-
additionalInstructions?:
|
|
421
|
-
name: string;
|
|
422
|
-
minimumRequirement: number;
|
|
423
|
-
})[] | undefined;
|
|
399
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
424
400
|
} & {
|
|
425
401
|
checkbox: import("../appConfig.type").ListInfo;
|
|
426
402
|
});
|
|
@@ -590,10 +566,7 @@ export declare const pagesConfig: {
|
|
|
590
566
|
cta?: import("../appConfig.type").ActionContent;
|
|
591
567
|
} & {
|
|
592
568
|
name: "WELCOME";
|
|
593
|
-
additionalInstructions?:
|
|
594
|
-
name: string;
|
|
595
|
-
minimumRequirement: number;
|
|
596
|
-
})[] | undefined;
|
|
569
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
597
570
|
}) | (import("../appConfig.type").FontConfig & {
|
|
598
571
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
599
572
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -631,10 +604,7 @@ export declare const pagesConfig: {
|
|
|
631
604
|
cta?: import("../appConfig.type").ActionContent;
|
|
632
605
|
} & {
|
|
633
606
|
name: "WELCOME";
|
|
634
|
-
additionalInstructions?:
|
|
635
|
-
name: string;
|
|
636
|
-
minimumRequirement: number;
|
|
637
|
-
})[] | undefined;
|
|
607
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
638
608
|
}) | (import("../appConfig.type").FontConfig & {
|
|
639
609
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
640
610
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -672,10 +642,7 @@ export declare const pagesConfig: {
|
|
|
672
642
|
cta?: import("../appConfig.type").ActionContent;
|
|
673
643
|
} & {
|
|
674
644
|
name: "WELCOME";
|
|
675
|
-
additionalInstructions?:
|
|
676
|
-
name: string;
|
|
677
|
-
minimumRequirement: number;
|
|
678
|
-
})[] | undefined;
|
|
645
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
679
646
|
}) | (import("../appConfig.type").FontConfig & {
|
|
680
647
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
681
648
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -719,10 +686,7 @@ export declare const pagesConfig: {
|
|
|
719
686
|
cta?: import("../appConfig.type").ActionContent;
|
|
720
687
|
} & {
|
|
721
688
|
name: "WELCOME";
|
|
722
|
-
additionalInstructions?:
|
|
723
|
-
name: string;
|
|
724
|
-
minimumRequirement: number;
|
|
725
|
-
})[] | undefined;
|
|
689
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
726
690
|
}) | (import("../appConfig.type").FontConfig & {
|
|
727
691
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
728
692
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -738,10 +702,7 @@ export declare const pagesConfig: {
|
|
|
738
702
|
cta?: import("../appConfig.type").ActionContent;
|
|
739
703
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
740
704
|
name: "WELCOME";
|
|
741
|
-
additionalInstructions?:
|
|
742
|
-
name: string;
|
|
743
|
-
minimumRequirement: number;
|
|
744
|
-
})[] | undefined;
|
|
705
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
745
706
|
}) | (import("../appConfig.type").FontConfig & {
|
|
746
707
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
747
708
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -760,10 +721,7 @@ export declare const pagesConfig: {
|
|
|
760
721
|
cta?: import("../appConfig.type").ActionContent;
|
|
761
722
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
762
723
|
name: "WELCOME";
|
|
763
|
-
additionalInstructions?:
|
|
764
|
-
name: string;
|
|
765
|
-
minimumRequirement: number;
|
|
766
|
-
})[] | undefined;
|
|
724
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
767
725
|
}) | (import("../appConfig.type").FontConfig & {
|
|
768
726
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
769
727
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -782,10 +740,7 @@ export declare const pagesConfig: {
|
|
|
782
740
|
cta?: import("../appConfig.type").ActionContent;
|
|
783
741
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
784
742
|
name: "WELCOME";
|
|
785
|
-
additionalInstructions?:
|
|
786
|
-
name: string;
|
|
787
|
-
minimumRequirement: number;
|
|
788
|
-
})[] | undefined;
|
|
743
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
789
744
|
}) | (import("../appConfig.type").FontConfig & {
|
|
790
745
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
791
746
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -807,10 +762,7 @@ export declare const pagesConfig: {
|
|
|
807
762
|
cta?: import("../appConfig.type").ActionContent;
|
|
808
763
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
809
764
|
name: "WELCOME";
|
|
810
|
-
additionalInstructions?:
|
|
811
|
-
name: string;
|
|
812
|
-
minimumRequirement: number;
|
|
813
|
-
})[] | undefined;
|
|
765
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
814
766
|
});
|
|
815
767
|
required_document_upload: (import("../appConfig.type").FontConfig & {
|
|
816
768
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
@@ -971,10 +923,7 @@ export declare const pagesConfig: {
|
|
|
971
923
|
cta?: import("../appConfig.type").ActionContent;
|
|
972
924
|
} & {
|
|
973
925
|
name: "WELCOME";
|
|
974
|
-
additionalInstructions?:
|
|
975
|
-
name: string;
|
|
976
|
-
minimumRequirement: number;
|
|
977
|
-
})[] | undefined;
|
|
926
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
978
927
|
}) | (import("../appConfig.type").FontConfig & {
|
|
979
928
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
980
929
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1012,10 +961,7 @@ export declare const pagesConfig: {
|
|
|
1012
961
|
cta?: import("../appConfig.type").ActionContent;
|
|
1013
962
|
} & {
|
|
1014
963
|
name: "WELCOME";
|
|
1015
|
-
additionalInstructions?:
|
|
1016
|
-
name: string;
|
|
1017
|
-
minimumRequirement: number;
|
|
1018
|
-
})[] | undefined;
|
|
964
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1019
965
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1020
966
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1021
967
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1053,10 +999,7 @@ export declare const pagesConfig: {
|
|
|
1053
999
|
cta?: import("../appConfig.type").ActionContent;
|
|
1054
1000
|
} & {
|
|
1055
1001
|
name: "WELCOME";
|
|
1056
|
-
additionalInstructions?:
|
|
1057
|
-
name: string;
|
|
1058
|
-
minimumRequirement: number;
|
|
1059
|
-
})[] | undefined;
|
|
1002
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1060
1003
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1061
1004
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1062
1005
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1100,10 +1043,7 @@ export declare const pagesConfig: {
|
|
|
1100
1043
|
cta?: import("../appConfig.type").ActionContent;
|
|
1101
1044
|
} & {
|
|
1102
1045
|
name: "WELCOME";
|
|
1103
|
-
additionalInstructions?:
|
|
1104
|
-
name: string;
|
|
1105
|
-
minimumRequirement: number;
|
|
1106
|
-
})[] | undefined;
|
|
1046
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1107
1047
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1108
1048
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1109
1049
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1119,10 +1059,7 @@ export declare const pagesConfig: {
|
|
|
1119
1059
|
cta?: import("../appConfig.type").ActionContent;
|
|
1120
1060
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1121
1061
|
name: "WELCOME";
|
|
1122
|
-
additionalInstructions?:
|
|
1123
|
-
name: string;
|
|
1124
|
-
minimumRequirement: number;
|
|
1125
|
-
})[] | undefined;
|
|
1062
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1126
1063
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1127
1064
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1128
1065
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1141,10 +1078,7 @@ export declare const pagesConfig: {
|
|
|
1141
1078
|
cta?: import("../appConfig.type").ActionContent;
|
|
1142
1079
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1143
1080
|
name: "WELCOME";
|
|
1144
|
-
additionalInstructions?:
|
|
1145
|
-
name: string;
|
|
1146
|
-
minimumRequirement: number;
|
|
1147
|
-
})[] | undefined;
|
|
1081
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1148
1082
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1149
1083
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1150
1084
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1163,10 +1097,7 @@ export declare const pagesConfig: {
|
|
|
1163
1097
|
cta?: import("../appConfig.type").ActionContent;
|
|
1164
1098
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1165
1099
|
name: "WELCOME";
|
|
1166
|
-
additionalInstructions?:
|
|
1167
|
-
name: string;
|
|
1168
|
-
minimumRequirement: number;
|
|
1169
|
-
})[] | undefined;
|
|
1100
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1170
1101
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1171
1102
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1172
1103
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1188,10 +1119,7 @@ export declare const pagesConfig: {
|
|
|
1188
1119
|
cta?: import("../appConfig.type").ActionContent;
|
|
1189
1120
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1190
1121
|
name: "WELCOME";
|
|
1191
|
-
additionalInstructions?:
|
|
1192
|
-
name: string;
|
|
1193
|
-
minimumRequirement: number;
|
|
1194
|
-
})[] | undefined;
|
|
1122
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1195
1123
|
});
|
|
1196
1124
|
partial_document_upload: (import("../appConfig.type").FontConfig & {
|
|
1197
1125
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
@@ -1352,10 +1280,7 @@ export declare const pagesConfig: {
|
|
|
1352
1280
|
cta?: import("../appConfig.type").ActionContent;
|
|
1353
1281
|
} & {
|
|
1354
1282
|
name: "WELCOME";
|
|
1355
|
-
additionalInstructions?:
|
|
1356
|
-
name: string;
|
|
1357
|
-
minimumRequirement: number;
|
|
1358
|
-
})[] | undefined;
|
|
1283
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1359
1284
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1360
1285
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1361
1286
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1393,10 +1318,7 @@ export declare const pagesConfig: {
|
|
|
1393
1318
|
cta?: import("../appConfig.type").ActionContent;
|
|
1394
1319
|
} & {
|
|
1395
1320
|
name: "WELCOME";
|
|
1396
|
-
additionalInstructions?:
|
|
1397
|
-
name: string;
|
|
1398
|
-
minimumRequirement: number;
|
|
1399
|
-
})[] | undefined;
|
|
1321
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1400
1322
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1401
1323
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1402
1324
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1434,10 +1356,7 @@ export declare const pagesConfig: {
|
|
|
1434
1356
|
cta?: import("../appConfig.type").ActionContent;
|
|
1435
1357
|
} & {
|
|
1436
1358
|
name: "WELCOME";
|
|
1437
|
-
additionalInstructions?:
|
|
1438
|
-
name: string;
|
|
1439
|
-
minimumRequirement: number;
|
|
1440
|
-
})[] | undefined;
|
|
1359
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1441
1360
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1442
1361
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1443
1362
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1481,10 +1400,7 @@ export declare const pagesConfig: {
|
|
|
1481
1400
|
cta?: import("../appConfig.type").ActionContent;
|
|
1482
1401
|
} & {
|
|
1483
1402
|
name: "WELCOME";
|
|
1484
|
-
additionalInstructions?:
|
|
1485
|
-
name: string;
|
|
1486
|
-
minimumRequirement: number;
|
|
1487
|
-
})[] | undefined;
|
|
1403
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1488
1404
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1489
1405
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1490
1406
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1500,10 +1416,7 @@ export declare const pagesConfig: {
|
|
|
1500
1416
|
cta?: import("../appConfig.type").ActionContent;
|
|
1501
1417
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1502
1418
|
name: "WELCOME";
|
|
1503
|
-
additionalInstructions?:
|
|
1504
|
-
name: string;
|
|
1505
|
-
minimumRequirement: number;
|
|
1506
|
-
})[] | undefined;
|
|
1419
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1507
1420
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1508
1421
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1509
1422
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1522,10 +1435,7 @@ export declare const pagesConfig: {
|
|
|
1522
1435
|
cta?: import("../appConfig.type").ActionContent;
|
|
1523
1436
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1524
1437
|
name: "WELCOME";
|
|
1525
|
-
additionalInstructions?:
|
|
1526
|
-
name: string;
|
|
1527
|
-
minimumRequirement: number;
|
|
1528
|
-
})[] | undefined;
|
|
1438
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1529
1439
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1530
1440
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1531
1441
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1544,10 +1454,7 @@ export declare const pagesConfig: {
|
|
|
1544
1454
|
cta?: import("../appConfig.type").ActionContent;
|
|
1545
1455
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1546
1456
|
name: "WELCOME";
|
|
1547
|
-
additionalInstructions?:
|
|
1548
|
-
name: string;
|
|
1549
|
-
minimumRequirement: number;
|
|
1550
|
-
})[] | undefined;
|
|
1457
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1551
1458
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1552
1459
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1553
1460
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1569,10 +1476,7 @@ export declare const pagesConfig: {
|
|
|
1569
1476
|
cta?: import("../appConfig.type").ActionContent;
|
|
1570
1477
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1571
1478
|
name: "WELCOME";
|
|
1572
|
-
additionalInstructions?:
|
|
1573
|
-
name: string;
|
|
1574
|
-
minimumRequirement: number;
|
|
1575
|
-
})[] | undefined;
|
|
1479
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1576
1480
|
});
|
|
1577
1481
|
optional_document_upload: (import("../appConfig.type").FontConfig & {
|
|
1578
1482
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
@@ -1733,10 +1637,7 @@ export declare const pagesConfig: {
|
|
|
1733
1637
|
cta?: import("../appConfig.type").ActionContent;
|
|
1734
1638
|
} & {
|
|
1735
1639
|
name: "WELCOME";
|
|
1736
|
-
additionalInstructions?:
|
|
1737
|
-
name: string;
|
|
1738
|
-
minimumRequirement: number;
|
|
1739
|
-
})[] | undefined;
|
|
1640
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1740
1641
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1741
1642
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1742
1643
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1774,10 +1675,7 @@ export declare const pagesConfig: {
|
|
|
1774
1675
|
cta?: import("../appConfig.type").ActionContent;
|
|
1775
1676
|
} & {
|
|
1776
1677
|
name: "WELCOME";
|
|
1777
|
-
additionalInstructions?:
|
|
1778
|
-
name: string;
|
|
1779
|
-
minimumRequirement: number;
|
|
1780
|
-
})[] | undefined;
|
|
1678
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1781
1679
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1782
1680
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1783
1681
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1815,10 +1713,7 @@ export declare const pagesConfig: {
|
|
|
1815
1713
|
cta?: import("../appConfig.type").ActionContent;
|
|
1816
1714
|
} & {
|
|
1817
1715
|
name: "WELCOME";
|
|
1818
|
-
additionalInstructions?:
|
|
1819
|
-
name: string;
|
|
1820
|
-
minimumRequirement: number;
|
|
1821
|
-
})[] | undefined;
|
|
1716
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1822
1717
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1823
1718
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1824
1719
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1862,10 +1757,7 @@ export declare const pagesConfig: {
|
|
|
1862
1757
|
cta?: import("../appConfig.type").ActionContent;
|
|
1863
1758
|
} & {
|
|
1864
1759
|
name: "WELCOME";
|
|
1865
|
-
additionalInstructions?:
|
|
1866
|
-
name: string;
|
|
1867
|
-
minimumRequirement: number;
|
|
1868
|
-
})[] | undefined;
|
|
1760
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1869
1761
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1870
1762
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1871
1763
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1881,10 +1773,7 @@ export declare const pagesConfig: {
|
|
|
1881
1773
|
cta?: import("../appConfig.type").ActionContent;
|
|
1882
1774
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1883
1775
|
name: "WELCOME";
|
|
1884
|
-
additionalInstructions?:
|
|
1885
|
-
name: string;
|
|
1886
|
-
minimumRequirement: number;
|
|
1887
|
-
})[] | undefined;
|
|
1776
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1888
1777
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1889
1778
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1890
1779
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1903,10 +1792,7 @@ export declare const pagesConfig: {
|
|
|
1903
1792
|
cta?: import("../appConfig.type").ActionContent;
|
|
1904
1793
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1905
1794
|
name: "WELCOME";
|
|
1906
|
-
additionalInstructions?:
|
|
1907
|
-
name: string;
|
|
1908
|
-
minimumRequirement: number;
|
|
1909
|
-
})[] | undefined;
|
|
1795
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1910
1796
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1911
1797
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1912
1798
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1925,10 +1811,7 @@ export declare const pagesConfig: {
|
|
|
1925
1811
|
cta?: import("../appConfig.type").ActionContent;
|
|
1926
1812
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1927
1813
|
name: "WELCOME";
|
|
1928
|
-
additionalInstructions?:
|
|
1929
|
-
name: string;
|
|
1930
|
-
minimumRequirement: number;
|
|
1931
|
-
})[] | undefined;
|
|
1814
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1932
1815
|
}) | (import("../appConfig.type").FontConfig & {
|
|
1933
1816
|
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD" | "START" | "REQUIRED_DOCUMENT_UPLOAD" | "PARTIAL_DOCUMENT_UPLOAD" | "OPTIONAL_DOCUMENT_UPLOAD";
|
|
1934
1817
|
mode: import("../../../definition").ConfigMode;
|
|
@@ -1950,10 +1833,7 @@ export declare const pagesConfig: {
|
|
|
1950
1833
|
cta?: import("../appConfig.type").ActionContent;
|
|
1951
1834
|
} & import("../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
1952
1835
|
name: "WELCOME";
|
|
1953
|
-
additionalInstructions?:
|
|
1954
|
-
name: string;
|
|
1955
|
-
minimumRequirement: number;
|
|
1956
|
-
})[] | undefined;
|
|
1836
|
+
additionalInstructions?: import("../appConfig.type").LisContent<"WELCOME">[] | undefined;
|
|
1957
1837
|
});
|
|
1958
1838
|
};
|
|
1959
1839
|
export declare const localModuleScreen: React_Form_IDS[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layoutMapper.const.d.ts","sourceRoot":"","sources":["../../../../../../../modules/form/vendors/react/constants/layoutMapper.const.ts"],"names":[],"mappings":"AA0BA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,UAAU,CAAC,CAkE/D,CAAC;AAEF,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"layoutMapper.const.d.ts","sourceRoot":"","sources":["../../../../../../../modules/form/vendors/react/constants/layoutMapper.const.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentUpload.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/DocumentUpload/DocumentUpload.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentUpload.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/DocumentUpload/DocumentUpload.tsx"],"names":[],"mappings":"AA4BA,QAAA,MAAM,cAAc,WAAY;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,mDAqTA,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -11,22 +11,23 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
13
|
import clsx from 'clsx';
|
|
14
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
14
|
+
import { useContext, useEffect, useMemo, useState } from 'react';
|
|
15
15
|
import { useSelector, useDispatch } from 'react-redux';
|
|
16
16
|
import FrankieDescription from '../../components/view/FrankieDescription/FrankieDescription.js';
|
|
17
17
|
import Heading from '../../components/view/FrankieHeading/Heading.js';
|
|
18
18
|
import Wrapper from '../../components/view/Wrapper/Wrapper.js';
|
|
19
19
|
import { icons } from '../../constants/icons.js';
|
|
20
20
|
import { numberToText } from '../../constants/numbers.const.js';
|
|
21
|
-
import { useEventHandler } from '../../hooks/useEventContext.js';
|
|
21
|
+
import { EventContext, useEventHandler } from '../../hooks/useEventContext.js';
|
|
22
22
|
import { REDUX_KEYS } from '../../redux/constants/stateKey.enum.js';
|
|
23
23
|
import { pushVisitedModule, popVisitedModule, setCurrentDocumentCategory, selectCurrentDocumentCategory, selectAllUploadedFiles, } from '../../redux/slices/docUploadSlice.js';
|
|
24
24
|
import { selectPageConfig } from '../../redux/slices/moduleSlice.js';
|
|
25
25
|
import { React_Form_IDS } from '../../types/pages.type.js';
|
|
26
|
+
import { getDocUploadConfig } from '../../utils/docUpload.util.js';
|
|
26
27
|
import ProgressCounter from './ProgressCounter.js';
|
|
27
28
|
import UploadBox from './UploadBox.js';
|
|
28
29
|
const DocumentUpload = (props) => {
|
|
29
|
-
var _a, _b;
|
|
30
|
+
var _a, _b, _c, _d, _e;
|
|
30
31
|
const { isEdit, onSubmit, initialIndex } = props !== null && props !== void 0 ? props : {};
|
|
31
32
|
const { pageConfigs } = useSelector(selectPageConfig);
|
|
32
33
|
const { currentModule } = pageConfigs;
|
|
@@ -44,37 +45,38 @@ const DocumentUpload = (props) => {
|
|
|
44
45
|
? pageConfigs[currentDocumentCategory]
|
|
45
46
|
: undefined;
|
|
46
47
|
const { oneSDK, idvEventEmitter } = useEventHandler();
|
|
48
|
+
const { recipe } = (_b = useContext(EventContext)) !== null && _b !== void 0 ? _b : {};
|
|
47
49
|
const [errors, setErrors] = useState({});
|
|
48
50
|
const [currentIndex, setCurrentIndex] = useState(initialIndex !== null && initialIndex !== void 0 ? initialIndex : 0);
|
|
49
51
|
const partialDocuments = useMemo(() => {
|
|
50
|
-
var _a, _b;
|
|
52
|
+
var _a, _b, _c;
|
|
51
53
|
if (currentDocumentCategory !== React_Form_IDS.PARTIAL_DOCUMENT_UPLOAD)
|
|
52
54
|
return [];
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}, [oneSDK, currentDocumentCategory]);
|
|
55
|
+
return getDocUploadConfig((_b = (_a = oneSDK === null || oneSDK === void 0 ? void 0 : oneSDK.session) === null || _a === void 0 ? void 0 : _a.getExtraData()) !== null && _b !== void 0 ? _b : {}, (_c = recipe === null || recipe === void 0 ? void 0 : recipe.form) === null || _c === void 0 ? void 0 : _c.docUpload).partialDocuments;
|
|
56
|
+
}, [currentDocumentCategory, oneSDK === null || oneSDK === void 0 ? void 0 : oneSDK.session, (_c = recipe === null || recipe === void 0 ? void 0 : recipe.form) === null || _c === void 0 ? void 0 : _c.docUpload]);
|
|
56
57
|
const currentPartialDocument = partialDocuments[currentIndex];
|
|
57
58
|
const documents = useMemo(() => {
|
|
58
|
-
var _a, _b;
|
|
59
|
-
const { requestedDocuments, optionalDocuments } = (_b = (_a = oneSDK === null || oneSDK === void 0 ? void 0 : oneSDK.session) === null || _a === void 0 ? void 0 : _a.getExtraData()) !== null && _b !== void 0 ? _b : {};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
var _a, _b, _c;
|
|
60
|
+
const { requestedDocuments, optionalDocuments } = getDocUploadConfig((_b = (_a = oneSDK === null || oneSDK === void 0 ? void 0 : oneSDK.session) === null || _a === void 0 ? void 0 : _a.getExtraData()) !== null && _b !== void 0 ? _b : {}, (_c = recipe === null || recipe === void 0 ? void 0 : recipe.form) === null || _c === void 0 ? void 0 : _c.docUpload);
|
|
61
|
+
switch (currentDocumentCategory) {
|
|
62
|
+
case React_Form_IDS.REQUIRED_DOCUMENT_UPLOAD:
|
|
63
|
+
return requestedDocuments;
|
|
64
|
+
case React_Form_IDS.OPTIONAL_DOCUMENT_UPLOAD:
|
|
65
|
+
return optionalDocuments;
|
|
66
|
+
case React_Form_IDS.PARTIAL_DOCUMENT_UPLOAD:
|
|
67
|
+
return currentPartialDocument === null || currentPartialDocument === void 0 ? void 0 : currentPartialDocument.documents;
|
|
68
|
+
default:
|
|
69
|
+
return [];
|
|
68
70
|
}
|
|
69
|
-
return [];
|
|
70
71
|
}, [
|
|
71
72
|
oneSDK === null || oneSDK === void 0 ? void 0 : oneSDK.session,
|
|
72
|
-
|
|
73
|
+
(_d = recipe === null || recipe === void 0 ? void 0 : recipe.form) === null || _d === void 0 ? void 0 : _d.docUpload,
|
|
73
74
|
currentDocumentCategory,
|
|
75
|
+
currentPartialDocument === null || currentPartialDocument === void 0 ? void 0 : currentPartialDocument.documents,
|
|
74
76
|
]);
|
|
75
77
|
const uploadedFiles = useSelector(selectAllUploadedFiles);
|
|
76
78
|
const minimumRequirement = currentDocumentCategory === React_Form_IDS.PARTIAL_DOCUMENT_UPLOAD
|
|
77
|
-
? Math.min(Math.max((
|
|
79
|
+
? Math.min(Math.max((_e = currentPartialDocument === null || currentPartialDocument === void 0 ? void 0 : currentPartialDocument.minimumRequirement) !== null && _e !== void 0 ? _e : 0, 1), documents === null || documents === void 0 ? void 0 : documents.length)
|
|
78
80
|
: null;
|
|
79
81
|
const total = minimumRequirement !== null && minimumRequirement !== void 0 ? minimumRequirement : documents === null || documents === void 0 ? void 0 : documents.length;
|
|
80
82
|
const remaining = useMemo(() => {
|