@frankieone/one-sdk 0.0.3-npm → 0.0.4-npm
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/esm/modules/biometrics/definition.d.ts +3 -3
- package/dist/esm/modules/biometrics/events.d.ts +2 -2
- package/dist/esm/modules/biometrics/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/Incode/index.d.ts +3 -3
- package/dist/esm/modules/biometrics/vendors/OcrLabs/index.d.ts +2 -2
- package/dist/esm/modules/biometrics/vendors/Onfido/index.d.ts +5 -5
- package/dist/esm/modules/biometrics/vendors/common/createSession.d.ts +4 -4
- package/dist/esm/modules/biometrics/vendors/common/errors.d.ts +3 -3
- package/dist/esm/modules/biometrics/vendors/common/initProcess.d.ts +4 -4
- package/dist/esm/modules/biometrics/vendors/dummy-biometrics/index.d.ts +2 -2
- package/dist/esm/modules/business/actions/emitEvents.d.ts +2 -2
- package/dist/esm/modules/business/actions/search.d.ts +3 -3
- package/dist/esm/modules/business/actions/upload.d.ts +4 -4
- package/dist/esm/modules/business/definition.d.ts +4 -4
- package/dist/esm/modules/business/events.d.ts +1 -1
- package/dist/esm/modules/common/modules/HOF.d.ts +1 -1
- package/dist/esm/modules/common/modules/ReactiveStore.d.ts +1 -1
- package/dist/esm/modules/common/modules/defineModule.d.ts +1 -1
- package/dist/esm/modules/common/modules/error.d.ts +1 -1
- package/dist/esm/modules/common/modules/eventHub/types.d.ts +2 -2
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.d.ts +1 -1
- package/dist/esm/modules/common/modules/objectUtils.d.ts +1 -1
- package/dist/esm/modules/common/modules/vendorLoading.d.ts +4 -4
- package/dist/esm/modules/common/shared/models/DeviceCheck.d.ts +1 -1
- package/dist/esm/modules/common/shared/models/UBOData.d.ts +3 -3
- package/dist/esm/modules/common/types/Accessors.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKModules/baseParameters.types.d.ts +6 -6
- package/dist/esm/modules/common/types/oneSDKModules/contextObject.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKModules/definition.types.d.ts +2 -2
- package/dist/esm/modules/common/types/oneSDKModules/initialiseFunction.d.ts +2 -2
- package/dist/esm/modules/common/types/oneSDKModules/typeSystem.types.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKVendorWrappers/initialiseFunction.d.ts +1 -1
- package/dist/esm/modules/common/types/recipeConfiguration.types.d.ts +5 -5
- package/dist/esm/modules/common/vendors/form/promisifyForm.d.ts +2 -2
- package/dist/esm/modules/common/vendors/form/useForm.d.ts +4 -4
- package/dist/esm/modules/common/vendors/incode/createEventHandlers.d.ts +4 -4
- package/dist/esm/modules/common/vendors/incode/index.d.ts +1 -1
- package/dist/esm/modules/common/vendors/incode/startCamera.d.ts +3 -3
- package/dist/esm/modules/common/vendors/onfido/index.d.ts +3 -3
- package/dist/esm/modules/common/vendors/onfido/onfido.types.d.ts +1 -1
- package/dist/esm/modules/config/modules.d.ts +18 -18
- package/dist/esm/modules/device/definition.d.ts +2 -2
- package/dist/esm/modules/device/events.d.ts +1 -1
- package/dist/esm/modules/device/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/device/vendors/Sardine.d.ts +6 -6
- package/dist/esm/modules/device/vendors/Threatmetrix/index.d.ts +4 -4
- package/dist/esm/modules/exports.d.ts +1 -1
- package/dist/esm/modules/features.config.d.ts +1 -1
- package/dist/esm/modules/federation/definition.d.ts +2 -2
- package/dist/esm/modules/federation/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/federation/vendors/Singpass.d.ts +5 -5
- package/dist/esm/modules/form/definition.d.ts +7 -7
- package/dist/esm/modules/form/events.d.ts +3 -3
- package/dist/esm/modules/form/validateConfiguration.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/formioSdk.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/index.d.ts +3 -3
- package/dist/esm/modules/form/vendors/formio/transformers/assignFormioDataToIndividualModule.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/transformers/assignIndividualDataToFormioSdk.d.ts +1 -1
- package/dist/esm/modules/form/vendors/legacy/index.d.ts +5 -5
- package/dist/esm/modules/form/vendors/legacy/legacyUIEvents.types.d.ts +5 -5
- package/dist/esm/modules/form/vendors/legacy/loadLegacyUI.d.ts +3 -3
- package/dist/esm/modules/form/vendors/react/App.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/components/base/SharedInput/Input.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/ActionFormField/ActionFormField.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/ActionFormField/ActionFormField.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieAddress/FrankieAddress.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/FrankieAddress/FrankieAddress.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieFormMapper/FrankieFormMapper.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/hostedBusinessConsent.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Main.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Progress.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Review.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/index.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/personalDetails.config.d.ts +392 -392
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js +1 -1
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/hostedBusinessWelcome.config.d.ts +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 +1 -1
- 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 +3 -3
- package/dist/esm/modules/form/vendors/react/hooks/useFormMapper.hook.d.ts +526 -526
- package/dist/esm/modules/form/vendors/react/hooks/useManualConfigFactory.hook.js +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useManualConfigFactory.hook.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.js +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useReviewUpdateFactory.hook.d.ts +6 -6
- package/dist/esm/modules/form/vendors/react/index.d.ts +4 -4
- package/dist/esm/modules/form/vendors/react/model/address.model.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/model/googleAddress.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/idDetails.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/personalDetails.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/review.model.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/types/pages.type.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/utils/layout.util.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/utils/object.util.d.ts +2 -2
- package/dist/esm/modules/frankie-client/ClientsDictionary.d.ts +1 -1
- package/dist/esm/modules/frankie-client/DummyFrankieApiClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/FrankieApiClient.d.ts +2 -2
- package/dist/esm/modules/frankie-client/clients/ApplicantClient.d.ts +4 -4
- package/dist/esm/modules/frankie-client/clients/BusinessClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/FederationClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/IDVClient.d.ts +2 -2
- package/dist/esm/modules/frankie-client/clients/OCRClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/SupportingDocumentsClient.d.ts +3 -3
- package/dist/esm/modules/frankie-client/clients/TelemetryEventsClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/index.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/federation/index.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/idvAndBiometrics/idvSubmission.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/individual/loadIndividual.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/individual/resolveDocumentData.d.ts +2 -2
- package/dist/esm/modules/frankie-client/mocks/individual/resolveIndividualData.d.ts +3 -3
- package/dist/esm/modules/frankie-client/mocks/ocr/ocrSubmission.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/options/simplified/idvFlow.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/options/simplified/ocrFlow.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/options/simplified/preloadedIndividual.d.ts +5 -5
- package/dist/esm/modules/frankie-client/mocks/storage/mockStorage.d.ts +1 -1
- package/dist/esm/modules/idv/actions/mount.d.ts +3 -3
- package/dist/esm/modules/idv/definition.types.d.ts +8 -8
- package/dist/esm/modules/idv/events.types.d.ts +5 -5
- package/dist/esm/modules/idv/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/Incode/index.d.ts +5 -5
- package/dist/esm/modules/idv/vendors/Mastercard/index.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/OcrLabs/endFlow.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/OcrLabs/index.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/OcrLabs/startDummyFlow.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/OcrLabs/startFlow.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/Onfido/index.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/common/checkStatusEventMapping.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframe.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframeEventListener.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.d.ts +7 -7
- package/dist/esm/modules/idv/vendors/common/iframeUtils/updateIndividualModuleState.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/common/initialiseSession.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/common/windowUtils/createWindow.d.ts +1 -1
- package/dist/esm/modules/index.d.ts +4 -4
- package/dist/esm/modules/individual/actions/addReference.d.ts +3 -3
- package/dist/esm/modules/individual/actions/addresses.d.ts +2 -2
- package/dist/esm/modules/individual/actions/consents.d.ts +1 -1
- package/dist/esm/modules/individual/actions/documents.d.ts +2 -2
- package/dist/esm/modules/individual/actions/email.d.ts +2 -2
- package/dist/esm/modules/individual/actions/emitEvents.d.ts +3 -3
- package/dist/esm/modules/individual/actions/phoneNumber.d.ts +2 -2
- package/dist/esm/modules/individual/actions/profileType.d.ts +2 -2
- package/dist/esm/modules/individual/actions/search.d.ts +3 -3
- package/dist/esm/modules/individual/actions/submit.d.ts +5 -5
- package/dist/esm/modules/individual/definition.d.ts +8 -8
- package/dist/esm/modules/individual/events.d.ts +1 -1
- package/dist/esm/modules/meta.json +1 -1
- package/dist/esm/modules/ocr/actions/mount.d.ts +4 -4
- package/dist/esm/modules/ocr/actions/start.d.ts +7 -7
- package/dist/esm/modules/ocr/definition.d.ts +5 -5
- package/dist/esm/modules/ocr/events.d.ts +2 -2
- package/dist/esm/modules/ocr/index.d.ts +11 -11
- package/dist/esm/modules/ocr/vendors/Incode/index.d.ts +3 -3
- package/dist/esm/modules/ocr/vendors/Onfido/index.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/createSession.d.ts +4 -4
- package/dist/esm/modules/ocr/vendors/common/initProcess.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/mutationObserver.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/statusEvaluators.d.ts +5 -5
- package/dist/esm/modules/ocr/vendors/dummy-ocr/index.d.ts +3 -3
- package/dist/esm/modules/sdk/initialisation/componentLoader.d.ts +2 -2
- package/dist/esm/modules/sdk/initialisation/configurationParser.d.ts +1 -1
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.d.ts +3 -3
- package/dist/esm/modules/sdk/types/globalEvents.d.ts +2 -2
- package/dist/esm/modules/sdk/types/oneSDK.d.ts +5 -5
- package/dist/esm/modules/sdk/types/oneSDKParameters.d.ts +2 -2
- package/dist/esm/modules/session/SessionContext.d.ts +1 -1
- package/dist/esm/modules/session/definition.d.ts +3 -3
- package/dist/esm/modules/session/index.d.ts +3 -3
- package/dist/esm/modules/session/types/module.d.ts +1 -1
- package/dist/esm/modules/types.d.ts +13 -13
- package/dist/esm/modules/workflow/definition.types.d.ts +1 -1
- package/dist/esm/modules/workflow/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/esm/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +0 -6
- package/dist/esm/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts.map +0 -1
- package/dist/umd/080b774e0f4f9c679e85.svg +0 -45
- package/dist/umd/0c9574c81d7d87e9ccd3.svg +0 -34
- package/dist/umd/0cd8e74f8a68e0b1ae14.svg +0 -3
- package/dist/umd/10183d99573bcd186235.svg +0 -5
- package/dist/umd/124.js +0 -2
- package/dist/umd/124.js.map +0 -1
- package/dist/umd/1c9c1ef03c6dd661b89b.woff +0 -0
- package/dist/umd/1df3f35eac93c61986b1.svg +0 -60
- package/dist/umd/1f76ff5e84787152adc5.svg +0 -50
- package/dist/umd/2451ce2859277292a2a3.svg +0 -4
- package/dist/umd/24c67c1821feba22f3f7.svg +0 -5
- package/dist/umd/2546128ef2e2d56276b7.svg +0 -5
- package/dist/umd/26a8e1ce5e5578874420.woff2 +0 -0
- package/dist/umd/2f32844e02839dd608a4.svg +0 -4
- package/dist/umd/329d07fd3f40d3967c81.svg +0 -4
- package/dist/umd/32cb4eea6ca1acb9f788.svg +0 -45
- package/dist/umd/3443b53b9b1a00c340f7.svg +0 -27
- package/dist/umd/34fe2370aa5e73787795.svg +0 -30
- package/dist/umd/36ddfb506829cb8cde72.svg +0 -113
- package/dist/umd/396cc7cc5e61acfa8fc8.svg +0 -15
- package/dist/umd/3a660ff8435efa515e98.svg +0 -4
- package/dist/umd/3b687e48c6bb765ed976.svg +0 -5
- package/dist/umd/3d245ccf2dde73ceca07.svg +0 -114
- package/dist/umd/42caa2dd6b4f0de68157.svg +0 -51
- package/dist/umd/463e54e898297e314139.svg +0 -81
- package/dist/umd/4ac349963383ebda508b.svg +0 -50
- package/dist/umd/4db0db393dfe2f9f90c1.svg +0 -60
- package/dist/umd/4ee01199f6f6b7e6fb24.svg +0 -195
- package/dist/umd/4ff338b86cdba19934cf.svg +0 -86
- package/dist/umd/58b74e594849c43b2248.woff2 +0 -0
- package/dist/umd/5c23763467ce9cfda119.svg +0 -41
- package/dist/umd/5ddf80d7ddb1d1c5a0bc.woff +0 -0
- package/dist/umd/6375eb14534238c06a4b.svg +0 -27
- package/dist/umd/6558f8e71743e073c18b.svg +0 -3
- package/dist/umd/67cbc8178ea76ef0d8b4.svg +0 -4
- package/dist/umd/6c874e1a72a4fa9eeed8.woff2 +0 -0
- package/dist/umd/71b71503b4f733079331.svg +0 -3
- package/dist/umd/7f6d57b96337c21c053d.woff +0 -0
- package/dist/umd/8053f51266aa9d864691.svg +0 -4
- package/dist/umd/80929602ea97f94dc18c.svg +0 -65
- package/dist/umd/8a06059b84b1aa2bf661.svg +0 -29
- package/dist/umd/8f10666ff21ef0238370.svg +0 -13
- package/dist/umd/949.js +0 -3
- package/dist/umd/949.js.LICENSE.txt +0 -60
- package/dist/umd/949.js.map +0 -1
- package/dist/umd/9d49ce231cb895b6ef29.svg +0 -50
- package/dist/umd/9dee3446081d7d47623b.svg +0 -4
- package/dist/umd/a96ec21d243a49916487.svg +0 -47
- package/dist/umd/ac457c4800183645b1ad.svg +0 -45
- package/dist/umd/af823d3a76ce1e2e36af.woff +0 -0
- package/dist/umd/aff615d38d2fce3f82b2.svg +0 -83
- package/dist/umd/bc42b55176ae1021b9e4.svg +0 -80
- package/dist/umd/biometrics-dummy.js +0 -2
- package/dist/umd/biometrics-dummy.js.map +0 -1
- package/dist/umd/biometrics-incode.js +0 -2
- package/dist/umd/biometrics-incode.js.map +0 -1
- package/dist/umd/biometrics-ocrlabs.js +0 -2
- package/dist/umd/biometrics-ocrlabs.js.map +0 -1
- package/dist/umd/biometrics-onfido.js +0 -2
- package/dist/umd/biometrics-onfido.js.map +0 -1
- package/dist/umd/c0dede047f9a2b7c1309.svg +0 -51
- package/dist/umd/c16900512bb2f899c7eb.svg +0 -5
- package/dist/umd/c7a05c7d7d1f9347ae1b.svg +0 -53
- package/dist/umd/ce5b46abe62641bddb20.svg +0 -5
- package/dist/umd/d15d58eb544d245877e2.svg +0 -16
- package/dist/umd/d216030199c873b0bf41.woff2 +0 -0
- package/dist/umd/d563d85c23bcbd268d5e.svg +0 -30
- package/dist/umd/d70a547a409868c43a95.svg +0 -43
- package/dist/umd/d9ed930ae3bb52f2abe1.svg +0 -4
- package/dist/umd/dc45d5d9fb4b8959e156.svg +0 -24
- package/dist/umd/dd199fa4125e4ebef289.svg +0 -67
- package/dist/umd/dddc2581e578cfb3b997.svg +0 -195
- package/dist/umd/device-sardine.js +0 -2
- package/dist/umd/device-sardine.js.map +0 -1
- package/dist/umd/device-threatmetrix.js +0 -2
- package/dist/umd/device-threatmetrix.js.map +0 -1
- package/dist/umd/df83da88c151bcf97231.svg +0 -45
- package/dist/umd/e7ac03e5736bea4d6346.svg +0 -53
- package/dist/umd/e84075ff43e508e4fbd5.svg +0 -5
- package/dist/umd/e85b9f93aac09995bad2.svg +0 -80
- package/dist/umd/ef3c33f0d919896ee0bf.svg +0 -25
- package/dist/umd/f22fe25046b4ca4a969a.svg +0 -65
- package/dist/umd/f4a5163b8f91c2c66892.svg +0 -4
- package/dist/umd/f670207e1feb7ec4f6d4.svg +0 -5
- package/dist/umd/f75020be237d9de68d86.svg +0 -192
- package/dist/umd/fc7c8869af28cb1b9c21.svg +0 -5
- package/dist/umd/fdb0a109281e6c12eff6.svg +0 -75
- package/dist/umd/form-formio.js +0 -2
- package/dist/umd/form-formio.js.map +0 -1
- package/dist/umd/form-legacy.js +0 -2
- package/dist/umd/form-legacy.js.map +0 -1
- package/dist/umd/form-react.js +0 -2
- package/dist/umd/form-react.js.map +0 -1
- package/dist/umd/idv-incode.js +0 -2
- package/dist/umd/idv-incode.js.map +0 -1
- package/dist/umd/idv-mastercard.js +0 -2
- package/dist/umd/idv-mastercard.js.map +0 -1
- package/dist/umd/idv-ocrlabs.js +0 -2
- package/dist/umd/idv-ocrlabs.js.map +0 -1
- package/dist/umd/idv-onfido.js +0 -2
- package/dist/umd/idv-onfido.js.map +0 -1
- package/dist/umd/ocr-dummy.js +0 -2
- package/dist/umd/ocr-dummy.js.map +0 -1
- package/dist/umd/ocr-incode.js +0 -2
- package/dist/umd/ocr-incode.js.map +0 -1
- package/dist/umd/ocr-onfido.js +0 -2
- package/dist/umd/ocr-onfido.js.map +0 -1
- package/dist/umd/oneSdk.umd.js +0 -3
- package/dist/umd/oneSdk.umd.js.LICENSE.txt +0 -8
- package/dist/umd/oneSdk.umd.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { ModuleDefinition } from '
|
|
3
|
-
import type { OnfidoCustomUIProps } from '
|
|
1
|
+
import type { EventHub } from '../common';
|
|
2
|
+
import type { ModuleDefinition } from '../common/types';
|
|
3
|
+
import type { OnfidoCustomUIProps } from '../common/vendors/onfido/onfido.types';
|
|
4
4
|
import type { Events } from './events';
|
|
5
5
|
import type { PartialDeep } from 'type-fest';
|
|
6
6
|
export type BiometricsModule = ModuleDefinition<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Document } from '
|
|
2
|
-
import type { IDVStatus } from '
|
|
1
|
+
import type { Document } from '../common/shared/models/Document';
|
|
2
|
+
import type { IDVStatus } from '../frankie-client/clients/IDVClient';
|
|
3
3
|
import type { BiometricsModule } from './definition';
|
|
4
4
|
type Vendor = BiometricsModule['vendorName'];
|
|
5
5
|
export type Events = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Events } from '
|
|
1
|
+
import type { Events } from './events';
|
|
2
2
|
import type { BiometricsModule } from './definition';
|
|
3
3
|
export type { Events };
|
|
4
4
|
declare const _default: import("../common/types").BrandedInitialiseFunction<BiometricsModule>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
2
|
-
eventHub: import("../../../common").EventHub<import("
|
|
2
|
+
eventHub: import("../../../common").EventHub<import("../..").Events>;
|
|
3
3
|
mountElement: HTMLElement;
|
|
4
4
|
}, void, "sync", {
|
|
5
|
-
localEventHub: import("../../../common").EventHub<import("
|
|
5
|
+
localEventHub: import("../../../common").EventHub<import("../..").Events>;
|
|
6
6
|
recipe: {
|
|
7
7
|
biometrics: {
|
|
8
8
|
provider: {
|
|
@@ -10,7 +10,7 @@ export declare const initialise: import("../../../common/types").WrapperInitiali
|
|
|
10
10
|
tx_id: string;
|
|
11
11
|
} | {
|
|
12
12
|
name: "onfido";
|
|
13
|
-
fallback?: "
|
|
13
|
+
fallback?: "standard" | "video";
|
|
14
14
|
sdkVersion?: string;
|
|
15
15
|
customUI?: import("../../../common/vendors/onfido/onfido.types").OnfidoCustomUIProps;
|
|
16
16
|
} | {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './window';
|
|
2
2
|
import './nolint_liveness-v3.2.0.vendor';
|
|
3
|
-
export declare const initialise: import("
|
|
3
|
+
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
4
4
|
eventHub: import("../../../common").EventHub<import("../..").Events>;
|
|
5
5
|
mountElement: HTMLElement;
|
|
6
6
|
}, void, "sync", {
|
|
@@ -12,7 +12,7 @@ export declare const initialise: import("@module/common/types").WrapperInitialis
|
|
|
12
12
|
tx_id: string;
|
|
13
13
|
} | {
|
|
14
14
|
name: "onfido";
|
|
15
|
-
fallback?: "
|
|
15
|
+
fallback?: "standard" | "video";
|
|
16
16
|
sdkVersion?: string;
|
|
17
17
|
customUI?: import("../../../common/vendors/onfido/onfido.types").OnfidoCustomUIProps;
|
|
18
18
|
} | {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Events } from '
|
|
2
|
-
import type { EventHub } from '
|
|
3
|
-
export declare const initialise: import("
|
|
1
|
+
import type { Events } from '../../events';
|
|
2
|
+
import type { EventHub } from '../../../common';
|
|
3
|
+
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
4
4
|
eventHub: EventHub<Events>;
|
|
5
5
|
mountElement: HTMLElement;
|
|
6
6
|
}, void, "sync", {
|
|
@@ -12,9 +12,9 @@ export declare const initialise: import("@module/common/types").WrapperInitialis
|
|
|
12
12
|
tx_id: string;
|
|
13
13
|
} | {
|
|
14
14
|
name: "onfido";
|
|
15
|
-
fallback?: "
|
|
15
|
+
fallback?: "standard" | "video";
|
|
16
16
|
sdkVersion?: string;
|
|
17
|
-
customUI?: import("
|
|
17
|
+
customUI?: import("../../../common/vendors/onfido/onfido.types").OnfidoCustomUIProps;
|
|
18
18
|
} | {
|
|
19
19
|
name: "incode";
|
|
20
20
|
sdkVersion?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Events } from '
|
|
2
|
-
import type { EventHub } from '
|
|
3
|
-
import type { IDVClient } from '
|
|
4
|
-
import type { _DictionaryWrite } from '
|
|
1
|
+
import type { Events } from '../../events';
|
|
2
|
+
import type { EventHub } from '../../../common';
|
|
3
|
+
import type { IDVClient } from '../../../frankie-client/clients/IDVClient';
|
|
4
|
+
import type { _DictionaryWrite } from '../../../../types/index.js';
|
|
5
5
|
/**
|
|
6
6
|
* Creates a session by obtaining an entity ID, token, and vendor parameters from an IDVClient.
|
|
7
7
|
* It will also emit 'session_data_generated' event to the provided event hub.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OneSDKError } from '
|
|
2
|
-
import { IDVStatus } from '
|
|
3
|
-
import type { RecipeParsed } from '
|
|
1
|
+
import { OneSDKError } from '../../../common';
|
|
2
|
+
import { IDVStatus } from '../../../frankie-client/clients/IDVClient';
|
|
3
|
+
import type { RecipeParsed } from '../../../sdk/types';
|
|
4
4
|
export type ErrorMessages = Record<'DEFAULT' | 'INIT_PROCESS' | Extract<IDVStatus, 'PROVIDER_OFFLINE' | 'WAITING_DOC_UPLOAD' | 'WAITING_SELFIE_UPLOAD'>, string>;
|
|
5
5
|
export declare const mkErrors: (recipe: RecipeParsed) => (type: keyof ErrorMessages, ...payload: unknown[]) => OneSDKError<unknown[]>;
|
|
6
6
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Events } from '
|
|
2
|
-
import type { EventHub } from '
|
|
3
|
-
import type { IDVClient } from '
|
|
4
|
-
import type { RecipeParsed } from '
|
|
1
|
+
import type { Events } from '../../events';
|
|
2
|
+
import type { EventHub } from '../../../common';
|
|
3
|
+
import type { IDVClient } from '../../../frankie-client/clients/IDVClient';
|
|
4
|
+
import type { RecipeParsed } from '../../../sdk/types';
|
|
5
5
|
export declare const initProcess: ({ idvClient, recipe, eventHub }: {
|
|
6
6
|
idvClient: IDVClient;
|
|
7
7
|
recipe: RecipeParsed;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const initialise: import("
|
|
1
|
+
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
2
2
|
eventHub: import("../../../common").EventHub<import("../..").Events>;
|
|
3
3
|
mountElement: HTMLElement;
|
|
4
4
|
}, void, "sync", {
|
|
@@ -10,7 +10,7 @@ export declare const initialise: import("@module/common/types").WrapperInitialis
|
|
|
10
10
|
tx_id: string;
|
|
11
11
|
} | {
|
|
12
12
|
name: "onfido";
|
|
13
|
-
fallback?: "
|
|
13
|
+
fallback?: "standard" | "video";
|
|
14
14
|
sdkVersion?: string;
|
|
15
15
|
customUI?: import("../../../common/vendors/onfido/onfido.types").OnfidoCustomUIProps;
|
|
16
16
|
} | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EventHub, ReadonlyAccessors } from '
|
|
2
|
-
import type { Organization_Profile } from '
|
|
1
|
+
import type { EventHub, ReadonlyAccessors } from '../../common';
|
|
2
|
+
import type { Organization_Profile } from '../../common/shared/models/internal';
|
|
3
3
|
import type { Events } from '..';
|
|
4
4
|
type SubscribeAndEmitEventsDeps = {
|
|
5
5
|
emitDataUpdatedFor: ReadonlyAccessors<unknown>[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Events, InternalState } from '
|
|
2
|
-
import type { EventHub, ReactiveStore } from '
|
|
3
|
-
import type { BusinessClient } from '
|
|
1
|
+
import type { Events, InternalState } from './..';
|
|
2
|
+
import type { EventHub, ReactiveStore } from '../../common';
|
|
3
|
+
import type { BusinessClient } from '../../frankie-client/clients/BusinessClient';
|
|
4
4
|
type MkSearchDeps = {
|
|
5
5
|
client: BusinessClient;
|
|
6
6
|
eventHub: EventHub<Events>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Events, InternalState } from '
|
|
2
|
-
import type { EventHub, ReactiveStore } from '
|
|
3
|
-
import type { DocumentType } from '
|
|
4
|
-
import type { SupportingDocumentsClient } from '
|
|
1
|
+
import type { Events, InternalState } from './..';
|
|
2
|
+
import type { EventHub, ReactiveStore } from '../../common';
|
|
3
|
+
import type { DocumentType } from '../../common/shared/models/SupportingDocument';
|
|
4
|
+
import type { SupportingDocumentsClient } from '../../frankie-client/clients/SupportingDocumentsClient';
|
|
5
5
|
type MkUploadDeps = {
|
|
6
6
|
client: SupportingDocumentsClient;
|
|
7
7
|
eventHub: EventHub<Events>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AccessFunction, AccessorsDictionary } from '
|
|
2
|
-
import type { Entity_Documents, Organization_Name, Organization_Profile } from '
|
|
3
|
-
import type { DocumentType } from '
|
|
4
|
-
import type { ModuleDefinition } from '
|
|
1
|
+
import type { AccessFunction, AccessorsDictionary } from '../common';
|
|
2
|
+
import type { Entity_Documents, Organization_Name, Organization_Profile } from '../common/shared/models/internal';
|
|
3
|
+
import type { DocumentType } from '../common/shared/models/SupportingDocument';
|
|
4
|
+
import type { ModuleDefinition } from '../common/types';
|
|
5
5
|
import type { Events } from './events';
|
|
6
6
|
export type BusinessModule = ModuleDefinition<{
|
|
7
7
|
module: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrandedInitialiseFunction, InjectedModuleParameters, ModuleDefinition, ModuleInitialiseFunction } from '
|
|
1
|
+
import type { BrandedInitialiseFunction, InjectedModuleParameters, ModuleDefinition, ModuleInitialiseFunction } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
* This simple function takes a module name and its initialise function and adds extra capabilities to it.
|
|
4
4
|
* - It enforces the type of the module's initialise function, as defined by the Module type definition.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GlobalEvents } from '
|
|
1
|
+
import { GlobalEvents } from '../../sdk/types';
|
|
2
2
|
import { EventHub } from './eventHub';
|
|
3
3
|
export declare const mkErrorEmitter: (globalEventHub: EventHub<GlobalEvents>, options: unknown) => (message: string) => never;
|
|
4
4
|
//# sourceMappingURL=error.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { OneSDKError } from '
|
|
2
|
-
import type { KeyOf, Override } from '
|
|
1
|
+
import type { OneSDKError } from '../../errors/OneSDKError.class';
|
|
2
|
+
import type { KeyOf, Override } from '../../../../types/index.js';
|
|
3
3
|
type DefaultEvents = {
|
|
4
4
|
error: [OneSDKError];
|
|
5
5
|
warning: [{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Modules } from '
|
|
2
|
-
import type { ModuleDefinition } from '
|
|
3
|
-
import { type InjectedState } from '
|
|
4
|
-
import type { Dictionary } from '
|
|
1
|
+
import type { Modules } from '../../config/index.js';
|
|
2
|
+
import type { ModuleDefinition } from '../types';
|
|
3
|
+
import { type InjectedState } from '../types';
|
|
4
|
+
import type { Dictionary } from '../../../types/index.js';
|
|
5
5
|
import type { EventHub } from './eventHub';
|
|
6
6
|
/**
|
|
7
7
|
* Helper Closure function that defines a common logic to load and initialise vendor wrappers
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivityType } from '
|
|
1
|
+
import { ActivityType } from '../../../device';
|
|
2
2
|
export type DeviceCheckType = 'DEVICE' | 'BIOMETRIC';
|
|
3
3
|
export type DeviceActivityType = 'SIGNUP' | 'LOGIN' | 'PAYMENT' | 'CONFIRMATION' | ActivityType;
|
|
4
4
|
export interface DeviceCheckDetails {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dictionary } from "
|
|
1
|
+
import { Dictionary } from "../../../../types/index.js";
|
|
2
2
|
import { RiskLevel } from "./ApplicantSummary";
|
|
3
3
|
import { TAssociationRole } from "./AssociatedParty";
|
|
4
4
|
import { Nullable } from "./general";
|
|
@@ -468,7 +468,7 @@ export type PassedStatusCodes = "PASS" | "FAIL" | "WARN" | null;
|
|
|
468
468
|
export declare class PassedStatus extends Badge {
|
|
469
469
|
constructor(code: PassedStatusCodes);
|
|
470
470
|
get label(): ComposedLabel;
|
|
471
|
-
get type(): "
|
|
471
|
+
get type(): "success" | "fail" | "warn";
|
|
472
472
|
}
|
|
473
473
|
export declare class AdverseMediaStatus extends Badge {
|
|
474
474
|
constructor(code: "NO_MATCH" | "POT_MATCH" | null);
|
|
@@ -478,7 +478,7 @@ export declare class AdverseMediaStatus extends Badge {
|
|
|
478
478
|
export declare class KYCStatus extends Badge {
|
|
479
479
|
constructor(code: PassedStatusCodes);
|
|
480
480
|
get label(): string;
|
|
481
|
-
get type(): "
|
|
481
|
+
get type(): "success" | "fail" | "warn";
|
|
482
482
|
}
|
|
483
483
|
export {};
|
|
484
484
|
//# sourceMappingURL=UBOData.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { FrankieApiClient } from '
|
|
3
|
-
import type { SimplifiedMockOptions } from '
|
|
4
|
-
import type { GlobalEvents, OneSdkContext, RecipeParsed, SdkModes } from '
|
|
5
|
-
import type { SessionContext } from '
|
|
6
|
-
import type { Modules } from '
|
|
1
|
+
import type { EventHub } from '../..';
|
|
2
|
+
import type { FrankieApiClient } from '../../../frankie-client';
|
|
3
|
+
import type { SimplifiedMockOptions } from '../../../frankie-client/mocks/options/simplified/SimplifiedMockOptions.type';
|
|
4
|
+
import type { GlobalEvents, OneSdkContext, RecipeParsed, SdkModes } from '../../../sdk/types';
|
|
5
|
+
import type { SessionContext } from '../../../session/SessionContext';
|
|
6
|
+
import type { Modules } from '../../../types';
|
|
7
7
|
import type { ModuleCategory } from './categories';
|
|
8
8
|
/**
|
|
9
9
|
* ModuleBaseParameters
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonEvents, EventListener, EventsDictionary } from "
|
|
1
|
+
import { CommonEvents, EventListener, EventsDictionary } from "../..";
|
|
2
2
|
/**
|
|
3
3
|
* Module context represents an instance of a module. It is the result of calling the initialise function of that module.
|
|
4
4
|
* Both "Component" and "Flow" are instances of a module which are created by their respective factory functions. The factory function will:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EventHub, EventsDictionary } from '
|
|
2
|
-
import type { Dictionary, EmptyObject, Field } from '
|
|
1
|
+
import type { EventHub, EventsDictionary } from '../../modules/eventHub';
|
|
2
|
+
import type { Dictionary, EmptyObject, Field } from '../../../../types/index.js';
|
|
3
3
|
import type { ModuleCategory } from './categories';
|
|
4
4
|
import type { ModuleContext, ModuleInstance } from './contextObject';
|
|
5
5
|
import type { ModuleInitialiseFunction } from './initialiseFunction';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ModuleDefinition } from '
|
|
2
|
-
import type { Branded, Dictionary } from '
|
|
1
|
+
import type { ModuleDefinition } from './definition.types';
|
|
2
|
+
import type { Branded, Dictionary } from '../../../../types/index.js';
|
|
3
3
|
import type { BaseParameters } from './baseParameters.types';
|
|
4
4
|
import type { ModuleCategory } from './categories';
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Dictionary, KeyOf, NOP, ParameterCount } from '
|
|
1
|
+
import type { Dictionary, KeyOf, NOP, ParameterCount } from '../../../../types/index.js';
|
|
2
2
|
import type { ModuleCategory, ModuleCategoryMapping } from './categories';
|
|
3
3
|
import type { ModuleContext } from './contextObject';
|
|
4
4
|
import type { ModuleDefinition } from './definition.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dictionary } from "
|
|
1
|
+
import { Dictionary } from "../../../../types/index.js";
|
|
2
2
|
import { InjectedState } from "../oneSDKModules";
|
|
3
3
|
/**
|
|
4
4
|
* Definition for a vendor wrapper initialise function. This is the function that is whats exported by all vendor wrappers.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { BiometricsModule } from '
|
|
2
|
-
import type { FormModule } from '
|
|
3
|
-
import type { IDVModule } from '
|
|
4
|
-
import type { OCRModule } from '
|
|
5
|
-
import type { WorkflowModule } from '
|
|
1
|
+
import type { BiometricsModule } from '../../biometrics';
|
|
2
|
+
import type { FormModule } from '../../form/definition';
|
|
3
|
+
import type { IDVModule } from '../../idv/definition.types';
|
|
4
|
+
import type { OCRModule } from '../../ocr';
|
|
5
|
+
import type { WorkflowModule } from '../../workflow/definition.types';
|
|
6
6
|
import type { ProfileTypeEnumerated } from '../shared/models/Profile';
|
|
7
7
|
import type { PartialDeep } from 'type-fest';
|
|
8
8
|
export type RecipeConfiguration = PartialDeep<RecipeNameConfiguration & BiometricsModule['recipeConfiguration'] & DeviceRecipeConfiguration & IDVModule['recipeConfiguration'] & OCRModule['recipeConfiguration'] & FederationRecipeConfiguration & FormModule['recipeConfiguration'] & WorkflowModule['recipeConfiguration']>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Document } from '
|
|
2
|
-
import type { FormModule } from '
|
|
1
|
+
import type { Document } from '../../shared/models/Document';
|
|
2
|
+
import type { FormModule } from '../../../form/definition';
|
|
3
3
|
/**
|
|
4
4
|
* Convert the Form execution into a promise. This function will mount the
|
|
5
5
|
* Form and wait for user completion, resulting in a Document object
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OneSDKError } from '
|
|
2
|
-
import type { EventHub } from '
|
|
3
|
-
import type { Document } from '
|
|
4
|
-
import type { OneSdkContext } from '
|
|
1
|
+
import { OneSDKError } from '../../errors/OneSDKError.class';
|
|
2
|
+
import type { EventHub } from '../../modules/eventHub';
|
|
3
|
+
import type { Document } from '../../shared/models/Document';
|
|
4
|
+
import type { OneSdkContext } from '../../../types';
|
|
5
5
|
type IDVResults = {
|
|
6
6
|
document: Document;
|
|
7
7
|
entityId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Events as BiometricsEvents } from '
|
|
2
|
-
import type { EventHub } from '
|
|
3
|
-
import type { IncodeResponse } from '
|
|
4
|
-
import type { Events as OcrEvents } from '
|
|
1
|
+
import type { Events as BiometricsEvents } from '../../../biometrics';
|
|
2
|
+
import type { EventHub } from '../..';
|
|
3
|
+
import type { IncodeResponse } from './onBoarding.types';
|
|
4
|
+
import type { Events as OcrEvents } from '../../../ocr';
|
|
5
5
|
/**
|
|
6
6
|
* Creates event handlers for a given EventHub.
|
|
7
7
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IncodeConfig, IncodeInstance } from '
|
|
1
|
+
import type { IncodeConfig, IncodeInstance } from './onBoarding.types';
|
|
2
2
|
export { createEventHandlers } from './createEventHandlers';
|
|
3
3
|
export { startCamera } from './startCamera';
|
|
4
4
|
export * from './onBoarding.types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { IncodeInstance, IncodeSuccessResponse } from '
|
|
3
|
-
import type { Events } from '
|
|
1
|
+
import type { EventHub } from '../..';
|
|
2
|
+
import type { IncodeInstance, IncodeSuccessResponse } from './onBoarding.types';
|
|
3
|
+
import type { Events } from '../../../ocr';
|
|
4
4
|
type CameraProps = {
|
|
5
5
|
incode: IncodeInstance;
|
|
6
6
|
token: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Events as BiometricsEvents } from '
|
|
2
|
-
import { type EventHub } from '
|
|
3
|
-
import type { Events as OcrEvents } from '
|
|
1
|
+
import type { Events as BiometricsEvents } from '../../../biometrics';
|
|
2
|
+
import { type EventHub } from '../..';
|
|
3
|
+
import type { Events as OcrEvents } from '../../../ocr';
|
|
4
4
|
export declare const install: ({ sdkVersion }: {
|
|
5
5
|
sdkVersion?: string;
|
|
6
6
|
}) => Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem } from '
|
|
1
|
+
import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem } from '../common/types';
|
|
2
2
|
/**
|
|
3
3
|
* ADDING NEW MODULES
|
|
4
4
|
* 0) Choose an appropriate simple kebab-case name for your module. Ideally just a single word.
|
|
@@ -32,14 +32,14 @@ import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem }
|
|
|
32
32
|
* - The type "Modules" works as a global namespace for all types inferred from all the modules included in the dictionary.
|
|
33
33
|
*/
|
|
34
34
|
declare const Modules: {
|
|
35
|
-
business: BrandedInitialiseFunction<import("
|
|
36
|
-
biometrics: BrandedInitialiseFunction<import("
|
|
37
|
-
device: BrandedInitialiseFunction<import("
|
|
38
|
-
ocr: BrandedInitialiseFunction<import("
|
|
39
|
-
individual: BrandedInitialiseFunction<import("
|
|
40
|
-
session: BrandedInitialiseFunction<import("
|
|
41
|
-
federation: BrandedInitialiseFunction<import("
|
|
42
|
-
idv: BrandedInitialiseFunction<import("
|
|
35
|
+
business: BrandedInitialiseFunction<import("../business").BusinessModule>;
|
|
36
|
+
biometrics: BrandedInitialiseFunction<import("../biometrics").BiometricsModule>;
|
|
37
|
+
device: BrandedInitialiseFunction<import("../device").DeviceModule>;
|
|
38
|
+
ocr: BrandedInitialiseFunction<import("../ocr").OCRModule>;
|
|
39
|
+
individual: BrandedInitialiseFunction<import("../individual").IndividualModule>;
|
|
40
|
+
session: BrandedInitialiseFunction<import("../session").SessionModule>;
|
|
41
|
+
federation: BrandedInitialiseFunction<import("../federation").FederationModule>;
|
|
42
|
+
idv: BrandedInitialiseFunction<import("../idv").IDVModule>;
|
|
43
43
|
form: BrandedInitialiseFunction<import("../form/definition").FormModule>;
|
|
44
44
|
workflow: BrandedInitialiseFunction<import("../workflow/definition.types").WorkflowModule>;
|
|
45
45
|
};
|
|
@@ -48,15 +48,15 @@ export type Modules = ModuleTypeSystem<ConfiguredModules>;
|
|
|
48
48
|
/**
|
|
49
49
|
* Helper function to retrieve the initialise function for a module
|
|
50
50
|
*/
|
|
51
|
-
export declare const getInitialiser: <Name extends "
|
|
52
|
-
business: BrandedInitialiseFunction<import("
|
|
53
|
-
biometrics: BrandedInitialiseFunction<import("
|
|
54
|
-
device: BrandedInitialiseFunction<import("
|
|
55
|
-
ocr: BrandedInitialiseFunction<import("
|
|
56
|
-
individual: BrandedInitialiseFunction<import("
|
|
57
|
-
session: BrandedInitialiseFunction<import("
|
|
58
|
-
federation: BrandedInitialiseFunction<import("
|
|
59
|
-
idv: BrandedInitialiseFunction<import("
|
|
51
|
+
export declare const getInitialiser: <Name extends "ocr" | "idv" | "form" | "biometrics" | "session" | "federation" | "workflow" | "business" | "device" | "individual">(name: Name) => BrandedInitialiseFunction<ExtractDefinitions<{
|
|
52
|
+
business: BrandedInitialiseFunction<import("../business").BusinessModule>;
|
|
53
|
+
biometrics: BrandedInitialiseFunction<import("../biometrics").BiometricsModule>;
|
|
54
|
+
device: BrandedInitialiseFunction<import("../device").DeviceModule>;
|
|
55
|
+
ocr: BrandedInitialiseFunction<import("../ocr").OCRModule>;
|
|
56
|
+
individual: BrandedInitialiseFunction<import("../individual").IndividualModule>;
|
|
57
|
+
session: BrandedInitialiseFunction<import("../session").SessionModule>;
|
|
58
|
+
federation: BrandedInitialiseFunction<import("../federation").FederationModule>;
|
|
59
|
+
idv: BrandedInitialiseFunction<import("../idv").IDVModule>;
|
|
60
60
|
form: BrandedInitialiseFunction<import("../form/definition").FormModule>;
|
|
61
61
|
workflow: BrandedInitialiseFunction<import("../workflow/definition.types").WorkflowModule>;
|
|
62
62
|
}>[Name]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { ModuleDefinition } from '
|
|
1
|
+
import type { EventHub } from '../common';
|
|
2
|
+
import type { ModuleDefinition } from '../common/types';
|
|
3
3
|
import type { ActivityType } from './constants';
|
|
4
4
|
import type { Events } from './events';
|
|
5
5
|
export type DeviceModule = ModuleDefinition<{
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare const initialise: import("
|
|
2
|
-
eventHub: import("
|
|
3
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
1
|
+
export declare const initialise: import("../../common/types").WrapperInitialiseFunction<{
|
|
2
|
+
eventHub: import("../../common").EventHub<import("./..").Events>;
|
|
3
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
4
4
|
}, {
|
|
5
5
|
set<Key extends keyof {
|
|
6
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
6
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
7
7
|
entityId: string;
|
|
8
8
|
}>(key: Key, value: {
|
|
9
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
9
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
10
10
|
entityId: string;
|
|
11
11
|
}[Key]): void;
|
|
12
12
|
}, "async", {
|
|
13
|
-
localEventHub: import("
|
|
13
|
+
localEventHub: import("../../common").EventHub<import("./..").Events>;
|
|
14
14
|
recipe: unknown;
|
|
15
15
|
}> & {
|
|
16
16
|
vendorName: "sardine" | "threatmetrix";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare const initialise: import("
|
|
1
|
+
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
2
2
|
eventHub: import("../../../common/index.js").EventHub<import("../../events.js").Events>;
|
|
3
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
3
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
4
4
|
}, {
|
|
5
5
|
set<Key extends keyof {
|
|
6
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
6
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
7
7
|
entityId: string;
|
|
8
8
|
}>(key: Key, value: {
|
|
9
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
9
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
10
10
|
entityId: string;
|
|
11
11
|
}[Key]): void;
|
|
12
12
|
}, "async", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { IDVStatus } from "
|
|
1
|
+
export { IDVStatus } from "./frankie-client/clients/IDVClient";
|
|
2
2
|
//# sourceMappingURL=exports.d.ts.map
|
|
@@ -34,7 +34,7 @@ declare const features: {
|
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
readonly form: {
|
|
37
|
-
readonly wrappingMode: "div" | "
|
|
37
|
+
readonly wrappingMode: "div" | "shadow" | "iframe";
|
|
38
38
|
readonly font: {
|
|
39
39
|
readonly cdnUrl: "https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap";
|
|
40
40
|
readonly fontFamilyCSSRule: "Inter, sans-serif, Serif";
|